/******************************************************************
Theme Name: BSKB Post Grant Proceedings Custom Theme
Theme URI: http://www.postgrantproceedings.com.com
Description: Custom WordPress theme developed for BSKB Post Grant Proceedings.
Author: H2
Author URI: http: //www.h2.com
Version: 1.0
License: GNU General Public License & MIT
License URI: http: //www.gnu.org/licenses/gpl-2.0.html
Tags: Blank, HTML5, CSS3
******************************************************************/

/* FONTS */

/* @import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i'); */

/* FONTS */

@font-face { font-family: "Open Sans"; src: url("fonts/OpenSans-Light-webfont.eot"); src: url("fonts/OpenSans-Light-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/OpenSans-Light-webfont.woff") format("woff"), url("fonts/OpenSans-Light-webfont.ttf") format("truetype"), url("fonts/OpenSans-Light-webfont.svg#open_sanslight") format("svg"); font-weight: 200; font-style: normal; }
@font-face { font-family: "Open Sans"; src: url("fonts/OpenSans-LightItalic-webfont.eot"); src: url("fonts/OpenSans-LightItalic-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/OpenSans-LightItalic-webfont.woff") format("woff"), url("fonts/OpenSans-LightItalic-webfont.ttf") format("truetype"), url("fonts/OpenSans-LightItalic-webfont.svg#open_sanslightitalic") format("svg"); font-weight: 200; font-style: italic; }
@font-face { font-family: "Open Sans"; src: url("fonts/OpenSans-Regular-webfont.eot"); src: url("fonts/OpenSans-Regular-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/OpenSans-Regular-webfont.woff") format("woff"), url("fonts/OpenSans-Regular-webfont.ttf") format("truetype"), url("fonts/OpenSans-Regular-webfont.svg#open_sansregular") format("svg"); font-weight: 400; font-style: normal; }
@font-face { font-family: "Open Sans"; src: url("fonts/OpenSans-Italic-webfont.eot"); src: url("fonts/OpenSans-Italic-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/OpenSans-Italic-webfont.woff") format("woff"), url("fonts/OpenSans-Italic-webfont.ttf") format("truetype"), url("fonts/OpenSans-Italic-webfont.svg#open_sansitalic") format("svg"); font-weight: 400; font-style: italic; }
@font-face { font-family: "Open Sans"; src: url("fonts/OpenSans-Semibold-webfont.eot"); src: url("fonts/OpenSans-Semibold-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/OpenSans-Semibold-webfont.woff") format("woff"), url("fonts/OpenSans-Semibold-webfont.ttf") format("truetype"), url("fonts/OpenSans-Semibold-webfont.svg#open_sanssemibold") format("svg"); font-weight: 600; font-style: normal; }
@font-face { font-family: "Open Sans"; src: url("fonts/OpenSans-SemiboldItalic-webfont.eot"); src: url("fonts/OpenSans-SemiboldItalic-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/OpenSans-SemiboldItalic-webfont.woff") format("woff"), url("fonts/OpenSans-SemiboldItalic-webfont.ttf") format("truetype"), url("fonts/OpenSans-SemiboldItalic-webfont.svg#open_sanssemibolditalic") format("svg"); font-weight: 600; font-style: italic; }
@font-face { font-family: "Open Sans"; src: url("fonts/OpenSans-Bold-webfont.eot"); src: url("fonts/OpenSans-Bold-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/OpenSans-Bold-webfont.woff") format("woff"), url("fonts/OpenSans-Bold-webfont.ttf") format("truetype"), url("fonts/OpenSans-Bold-webfont.svg#open_sansbold") format("svg"); font-weight: 700; font-style: normal; }
@font-face { font-family: "Open Sans"; src: url("fonts/OpenSans-BoldItalic-webfont.eot"); src: url("fonts/OpenSans-BoldItalic-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/OpenSans-BoldItalic-webfont.woff") format("woff"), url("fonts/OpenSans-BoldItalic-webfont.ttf") format("truetype"), url("fonts/OpenSans-BoldItalic-webfont.svg#open_sansbolditalic") format("svg"); font-weight: 700; font-style: italic; }

/* GENERAL STYLES */ 

* { box-sizing: border-box; color: inherit; font-family: inherit;  -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; }
html, body { -webkit-oveflow-scrolling: touch; } 
body { width: 100%; overflow-X: hidden; overflow-Y: scroll; margin: 0; padding: 0; background: #ccc; color: #666; font-family: "Open Sans",sans-serif; }
a[href], a[href] img { border: 0; outline: 0; text-decoration: none !important; }

/* STRUCTURAL STYLES & WORDPRESS CORE */

.alignnone { margin: 0 0 .5em; }
.aligncenter, div.aligncenter { display: block; margin: .5em auto .5em auto; }
.alignright { float: right; margin: .5em 0 1.5em 1.5em; }
.alignleft { float: left; margin: .5em 1.5em 1.5em 0; }
.clear { zoom: 1; }
.clear:before, .clear:after, .gallery:after { content: ''; display: block; clear: both; width: 0; height: 0; }

/* BASIC STRUCTURAL STYLES */

#wrapper { max-width: 1600px; min-height: 100vh; margin: 0 auto; padding: 0; background: #fff; }
.reverse { color: #fff; }
.reverse a[href], .reverse a[href]:link, .reverse a[href]:visited { color: #fff !important; }
.reverse h1, .reverse h2, .reverse h3, .reverse h4 { color: #fff !important; }
.row { padding: 80px 10%; padding: 5vw 10%; }
.row.half-padding { padding: 40px 10%; padding: 2.5vw 10%; }
.row.intro { padding: 80px 15%; padding: 5vw 15%; }
.row.seminar { padding: 80px 15% 80px 18.75%; padding: 5vw 15% 5vw 18.75%; }
.row > *:first-child { margin-top: 0 !important; }
.row > *:last-child { margin-bottom: 0 !important; }

@media screen and (min-width: 1600px) { 
  .row { padding: 80px 160px; }
  .row.half-padding { padding: 40px 160px; }
  .row.intro { padding: 80px 240px; }
  .row.seminar { padding: 80px 160px 80px 300px; }
}

@media screen and (max-width: 1023px) { 
  .row, .row.intro, .row.seminar { padding: 80px 40px; }
  .row.half-padding { padding: 40px; }
}

@media screen and (max-width: 750px) { 
  .row, .row.intro, .row.seminar { padding: 40px 20px; }
  .row.half-padding { padding: 20px; }
}

@media print {
  .reverse * { color: #000 !important; }
}

/* HEADER */

header { position: relative; min-height: 96px; }
header a[href]#logo img { display: block; width: 21.8755vw; max-width: 350px; min-width: 175px; height: auto; }
header > div { position: absolute; z-index: 500; display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1600px; }
header > img.strip, header > video.strip { display: block; width: 100%; height: auto; }

@media screen and (min-width: 1024px) {
  header > div {  padding-right: 3.75%; }
  .home header > div { background: -moz-linear-gradient(top, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 20%, rgba(0,0,0,0.5) 75%, rgba(0,0,0,0) 100%); background: -webkit-linear-gradient(top, rgba(0,0,0,1) 0%,rgba(0,0,0,1) 20%,rgba(0,0,0,0.5) 75%,rgba(0,0,0,0) 100%); background: linear-gradient(to bottom, rgba(0,0,0,1) 0%,rgba(0,0,0,1) 20%,rgba(0,0,0,0.5) 75%,rgba(0,0,0,0) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#00000000',GradientType=0 ); }
}

@media screen and (max-width: 1023px) {
  header { background: url("images/header-generic.jpg") top left repeat-y; background-size: 100% auto; }
  header > div { position: static; padding-right: 40px; }
  header > img.strip[src*="header-generic.jpg"] { display: none; }
}

@media screen and (max-width: 750px) {
  header > div { padding-right: 20px; }
}

@media print { 
  header { display: none; }
}

/* NAVIGATION (GENERAL + SUPPORT) */

nav { display: flex; flex-direction: column; align-items: flex-end; }
nav a[href] { color: #fff !important; transition: .2s ease-in opacity; }
nav a[href]:link, nav a[href]:link { opacity: .75; } 
nav a[href]:hover, nav a[href]:active, nav li:hover > a[href] { opacity: 1; } 
nav ul { list-style-type: none; margin: 0; padding: 0; }

nav div#support { margin-bottom: .5em; font-size: 9.75pt; font-size: .8125vw; }
nav div#support a[href] { line-height: 24px; line-height: 1.5vw; }
nav div#support img { width: 1.5vw; max-width: 24px; min-width: 16px; height: auto; vertical-align: top; }
nav div#support li { padding: 0 .5em; }
nav div#support div, nav div#support ul, nav div#support li { display: inline-block; }
nav div#support div.widget_nav_menu + div.widget_nav_menu:before { content: "\25A0"; color: rgba(255,255,255,.5); margin: 0 .5em; line-height: 24px; line-height: 1.5vw; }
nav div#support ul#menu-social li { padding: 0 .25em; }
nav div#support ul#menu-social li:last-child { padding-right: .5em; }
nav div#support ul#menu-welcome li + li { border-left: 1px solid rgba(255,255,255,.5); }

nav ul#menu-main-menu-header > li > a[href] { font-size: 15.75pt; font-size: 1.3125vw; font-weight: 600; }
nav ul#menu-main-menu-header > li.selected > a[href] { opacity: 1; }

nav form#SearchForm { position: relative; top: .5vw; display: flex; width: 1.6vw; min-width: 18px; overflow: hidden;  border: 1px solid transparent;  border-radius: .5em; transition: .5s ease-in all; }
nav form#SearchForm:hover { width: 15vw; border: 1px solid #fff; }
nav form#SearchForm input[type="image"] { width: 1.5vw; max-width: 24px; min-width: 16px; height: auto; vertical-align: top; opacity: .5; transition: .2s ease-in all; }
nav form#SearchForm:hover input[type="image"] { opacity: 1; }
nav form#SearchForm input[type="text"] { width: 0; height: 1.5vw; max-height: 24px; min-height: 16px; border: 0; padding: 0 0 0 .125em; color: #fff; background: transparent; line-height: 1.5vw; }
nav form#SearchForm:hover input[type="text"] { width: 12vw; }

@media screen and (min-width: 1024px) { 
  nav a[href]#menu { display: none; }
  nav ul#menu-main-menu-header > li { display: inline-block; }
  nav ul#menu-main-menu-header > li > a[href] { padding-bottom: 12px; }
  nav ul#menu-main-menu-header > li + li { margin-left: 2em; }
  nav ul#menu-main-menu-header > li.mobile, nav ul#menu-main-menu-header > li.footer { display: none; }
  nav ul#menu-main-menu-header > li.menu-item-has-children > ul { position: absolute; z-index: -5; min-width: 11.25%; max-width: 360px; height: 0; overflow: hidden; margin-top: 10.5px; border: 1px solid transparent; padding: 0; background: rgba(0,0,0,.75); background: -moz-linear-gradient(top, rgba(0,0,0,1) 10%, rgba(0,0,0,.75) 50%); background: -webkit-linear-gradient(top, rgba(0,0,0,1) 10%,rgba(0,0,0,.75) 50%);  background: linear-gradient(to bottom, rgba(0,0,0,1) 10%,rgba(0,0,0,.75) 50%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#00000000',GradientType=0 ); opacity: 0; }
  nav ul#menu-main-menu-header > li.menu-item-has-children:hover > a[href] { background: url("images/arrow-hollow-up.png") bottom center no-repeat; background-size: 24px 12px; }
  nav ul#menu-main-menu-header > li.menu-item-has-children:hover > ul { height: auto; border: 1px solid #fff; padding: 20px; padding: 1.25vw; opacity: 1; }
  nav ul#menu-main-menu-header > li.menu-item-has-children > ul a[href] { display: block; margin-bottom: .5em; font-size: 13.5pt; font-size: 1.125vw; line-height: 1.1; }  
}

@media screen and (min-width: 1140px) {
  nav ul#menu-main-menu-header > li.menu-item-has-children > ul { margin-top: 11px; }
}

@media screen and (min-width: 1600px) {
  nav div#support { font-size: 9.75pt; }
  nav div#support a[href] { line-height: 24px; }
  nav div#support ul + ul:before { line-height: 24px; }
  nav ul#menu-main-menu-header > li > a[href] { font-size: 15.75pt; }
  nav ul#menu-main-menu-header > li.menu-item-has-children:hover > ul { padding: 20px; }
  nav ul#menu-main-menu-header > li.menu-item-has-children > ul a[href] { font-size: 13.5pt; }
  nav form#SearchForm:hover { width: 240px; }
  nav form#SearchForm:hover input[type="text"] { width: 192px; }
}

@media screen and (max-width: 1023px) {
  nav { position: absolute; top: 87px;  z-index: 1000; width: 100%; height: auto; background: #1e3866; box-shadow: 0px .5em .5em rgba(0,0,0,.4); }
  a[href]#menu { display: block; position: relative; width: 40px; height: 40px }
  a[href]#menu span { display: block; position: absolute; left: 5px; width: 30px; height: 4px; background: #fff; opacity: .5; transition: .1s ease-in all; }
  a[href]#menu span:nth-child(1) { top: 9px; transform: rotate(0); }
  a[href]#menu span:nth-child(2) { top: 18px; }
  a[href]#menu span:nth-child(3) { top: 27px; transform: rotateY(0); }
  a[href]#menu:hover span { opacity: 1; }
  nav div#support { display: none; }
  nav ul#menu-main-menu-header { width: 100%; height: 0; overflow: hidden; padding: 0; opacity: 0; transition: .2s ease-in opacity; }
  nav ul#menu-main-menu-header > li > a[href] { font-size: 15.75pt; }
  nav ul#menu-main-menu-header > li.menu-item-has-children > ul { display: none; padding: 20px; }
  nav ul#menu-main-menu-header > li.menu-item-has-children > ul a[href] { font-size: 13.5pt; }
  body.open a[href]#menu span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  body.open a[href]#menu span:nth-child(2) { width: 0; }
  body.open a[href]#menu span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }  
  body.open nav ul#menu-main-menu-header { height: auto; padding: 30px; opacity: 1; }
}

/* ADDRESS */

#address { background: #1e3766; }

@media screen and (min-width: 1024px) {
  #address { display: none; }
}

/* FOOTER */

footer { border-top: 10px solid #f2f2f2; font-size: 14px; font-size: 10.5pt; font-size: .875vw; }
footer a[href], footer li, footer p { line-height: 1.4; }
footer div.address { display: flex; align-items: flex-end; justify-content: space-between; }
footer div.address a[href].logo { color: #1e3866 !important; font-size: 13.5pt; font-size: 1.125vw; font-style: italic; }
footer div.address img { width: 8vw; max-width: 128px; min-width: 84px; height: auto; }
footer div.address p { margin: 0; text-align: right; }
footer sup { font-size: 75%; }

@media screen and (min-width: 1600px) {
  footer { font-size: 10.5pt; }
  footer div.address a[href].logo { font-size: 13.5pt; }
}

@media screen and (max-width: 1023px) {
  footer { font-size: 10.5pt; }
  footer div.address a[href].logo { font-size: 13.5pt; }
}

@media screen and (max-width: 750px) {
  footer div.address { flex-direction: column; }
  footer div.address p { text-align: left; }
}

@media print {
  footer div.address { display: none; }
}


/* MAIN CONTENT STYLES */

main { color: #666; font-size: 16.5pt; font-size: 1.25vw; line-height: 1.6; }
main article img { max-width: 100%; height: auto; }
main a[href]:link, main a[href]:visited { color: #7d0929; }
main a[href]:hover, main a[href]:active { color: #1e3866; }
main h1, .aia-uspto-links main h2, .ptab-statistics main h2, .resources main h2 { margin: 0 0 .8em; color: #1e3866; font-size: 36pt; font-size: 3vw; font-weight: 300; line-height: 1.1; }
main h2 { margin: 0 0 .4em; color: #1e3866; font-size: 27pt; font-size: 2.25vw; font-weight: 700; line-height: 1.1; }
main h1 + h2 { margin: -.8em 0 .8em; font-size: 24pt; font-size: 2vw; font-weight: 300; }
main h3 { margin: 1.6em 0 .2em; color: #1e3866; font-size: 22.5pt; font-size: 1.875vw; font-weight: 700; line-height: 1.1; }
main h1 + h3 { margin: -.9em 0 .8em; font-size: 25.25pt; font-size: 2.1vw; font-weight: 100;  }
main h4 { margin: 0 0 .8em; color: #1e3866; font-size: 16.5pt; font-size: 1.375vw; font-weight: 700; line-height: 1.1; }
main h4 + h4 { margin-top: -.2em; }
main iframe { display: block; margin: 0 auto; }
main li { margin: 0 0 .2em; }
main object, main video { display: block; margin: 0 auto 1.6em; }
main ol, main ul { padding-left: 1em; }
main ol, main p, main table, main ul { margin: 0 0 1.6rem; }
main sub, main sup { font-size: 75%; }
main table { margin: 0 0 1.6em; width: 100%; padding: 0; border-collapse: collapse; }
main td, main th { vertical-align: top; }
main *.text-small, main *.text-small h4 { font-size: 13.5pt; font-size: 1.125vw; }
main *.bio { background: #f2f2f2; }
main *.intro { background: #f2f2f2; text-align: center; }

main .column-sidebar { display: flex; flex-flow: row wrap; align-items: flex-start; justify-content: space-between; }
main .column-sidebar > h1 { width: 100%; }
main .column-sidebar > div.content { width: 67.5%;}
main .column-sidebar > div.photo, main .column-sidebar > div.sidebar { width: 27.5%; }
main .column-sidebar > div.photo img { display: block; margin: 0 auto; width: 100%; max-width: 350px; height: auto; }


main .column-two, main .column-two-centered, main .column-three, main .column-four { display: flex; flex-flow: row wrap; align-items: flex-start; justify-content: space-between; }
main .column-two > div { width: 46%; }
main .column-two-centered { justify-content: space-around; }
main .column-two-centered > div { width: 28%; }
main .column-three > div { width: 28%; }
main .column-three > div.span-two { width: 64%; }
main .column-four > div { width: 21.25%; }

main .column-two > h1, main .column-two > h3 { width: 100%; }

@media screen and (min-width: 751px) {
  .multicol { column-count: 2; -moz-column-count: 2; -webkit-column-count: 2; column-gap: 4em; -moz-column-gap: 4em; -webkit-column-gap: 4em; }
  .multicol p { display: table; }
}

@media screen and (min-width: 1600px) { 
  main { font-size: 16.5pt; }
  main h1, .aia-uspto-links main h2, .ptab-statistics main h2 { font-size: 31.5pt; }
  main h2 { font-size: 27pt; }
  main h1 + h2 { font-size: 24pt; }
  main h3 { font-size: 22.5pt; }
  main h1 + h3 { font-size: 25.25pt; }
  main h4 { font-size: 16.5pt; }
  main *.text-small, main *.text-small h4 { font-size: 13.5pt;  }
}

@media screen and (max-width: 1023px) { 
  main { font-size: 12pt; }
  main h1, .aia-uspto-links main h2, .ptab-statistics main h2 { font-size: 22.875pt; }
  main h2 { font-size: 19.625pt; }
  main h1 + h2 { font-size: 17.5pt; }
  main h3 { font-size: 16pt; }
  main h1 + h3 { font-size: 18.375pt; }
  main h4 { font-size: 12pt; }
  main *.text-small, main *.text-small h4 { font-size: 9.8125pt;  }
  
  main .column-sidebar, main .column-three { flex-direction: column; }
  main .column-sidebar > div, main .column-two > div, main .column-two-centered > div, main .column-three > div { width: 100% !important; }
  main .column-sidebar > div + div, main .column-three > div + div { margin-top: 1.6em; }
}


@media print {
  main { color: #000 !important; }
}

/* GENERAL FORM STYLES */

main div.wpcf7-mail-sent-ok { margin: 1em 0; border: 1px solid #0f0; background: #9f9; padding: 1em; color: #000 !important; font-weight: bold; }
main div.wpcf7-recaptcha { margin-bottom: 1.6em; }
main div.wpcf7-validation-errors { margin: 1em 0; border: 1px solid #f00; background: #f99; padding: 1em; color: #000 !important; font-weight: bold; }
main span.wpcf7-list-item { display: block; }
main span.wpcf7-acceptance label { text-indent: -1.5em; }
main div[data-class="wpcf7cf_group"] { margin-bottom: 1.6em; }

main input[type="file"] { }
main input[type="submit"] { display: inline-block; margin: 0 1em 1.6em 0; border: 0; padding: .5em 1em; color: #fff; background: #7d0929; font-size: 16.5pt; font-size: 1.375vw; line-height: 1; text-align: center; opacity: 1; transition: .2s ease-in all; }
main input[type="submit"]:hover { background: #296ba3; }
main input[type="submit"]:disabled { background: #666; opacity: .5; }
main input[type="email"], main input[type="tel"], main input[type="text"], main select, main textarea { display: block; box-sizing: border-box; width: 100%; border: 1px solid #ccc; padding: 1em; background: #fff; color: #666; font-size: 13.5pt; font-size: 1.125vw; line-height: 1.2; }
main label { display: block; margin-top: .5em; }
main textarea { min-height: 5em; }

@media screen and (min-width: 1600px) { 
  main input[type="submit"] { font-size: 16.5pt; }
  main input[type="text"], main select, main textarea { font-size: 13.5pt; }
}

@media screen and (max-width: 1023px) {
  main input[type="submit"] { font-size: 12pt; }
  main input[type="text"], main select, main textarea { font-size: 10pt; }
}

@media screen and (max-width: 750px) {
  main input[type="submit"] { width: 100%; max-width: 400px; }
}

/* BUTTONS */

a[href].buttonesque { display: block; width: 40%; margin: 0 auto .8em; padding: 1em; color: #fff !important; font-size: 18pt; font-size: 1.5vw; line-height: 1; text-align: center; transition: .2s ease-in background; }
a[href].buttonesque:link, a[href].buttonesque:visited { background: #296ba3; }
a[href].buttonesque:hover, a[href].buttonesque:active { background: #7d0929; }
div.sidebar a[href].buttonesque { width: 100%; }

@media screen and (min-width: 1600px) { 
  a[href].buttonesque { font-size: 18pt; }
}

@media screen and (max-width: 1023px) {
  a[href].buttonesque { font-size: 14pt; }
}

@media screen and (max-width: 750px) {
  a[href].buttonesque { width: 100%; max-width: 400px; }
}



/* DISCLAIMER */

.disclaimer { font-size: 9pt; font-size: .75em; }

@media screen and (min-width: 1600px) { 
  .disclaimer { font-size: 9pt; }
}

@media screen and (max-width: 1023px) {
  .disclaimer { font-size: 7.5pt; }
}

/* HOME - SPOTLIGHT */

#spotlight { background: #1e3866; }
#spotlight:nth-of-type(even) { background: #7d0929; }
#spotlight h2 { font-size: 31.5pt; font-size: 2.625vw; font-weight: 400; }

@media screen and (min-width: 1600px) { 
  #spotlight h2 { font-size: 31.5pt; }
}

@media screen and (max-width: 1023px) { 
  #spotlight h2 { font-size: 22.875pt; }
}

@media screen and (max-width: 750px) { 
  #spotlight { padding-left: 20px; background-image: none; text-align: left;  }
}

/* H2 SEARCH */

main #SearchResultBox ul { list-style-type: none; margin: 0; padding :0; }
main #SearchResultBox li { margin-bottom: 1em; }
main #SearchResultBox p { margin-bottom: 0; }
main #SearchResultBox p.PageTitle { font-weight: bold; }
main #SearchResultBox p.PageLink { font-size: 75%; }
main form#SearchForm { display: flex; flex-flow: row nowrap; justify-content: flex-start; align-items: stretch;  margin-bottom: 2em; }
main #SearchForm input[type="submit"]#SearchSubmit { display: block; margin: 0; border: 1px solid #ccc; padding: 1em; font-size: 13.5pt; font-size: 1.125vw; line-height: 1.2; }

@media screen and (min-width: 1600px) { 
  main #SearchForm input[type="submit"]#SearchSubmit { font-size: 13.5pt; }
}

@media screen and (max-width: 1023px) {
  main #SearchForm input[type="submit"]#SearchSubmit { font-size: 10pt; }
}

/* MULTIMEDIA */

div.wp-video { margin: 0 auto 2em; }

/* PAGINATION */

div.pagination a[href] { padding: .25em .5em; color: #fff !important; transition: .2s ease-in background; }
div.pagination a[href]:link, div.pagination a[href]:visited { background: #296ba3; }
div.pagination a[href]:hover, div.pagination a[href]:active { background: #7d0929; }

div.pagination span.page-numbers.current { padding: .25em .5em; background: #7d0929;  color: #fff !important; }



/* GRID */

.grid { width: 100%; margin: 0; padding: 0; font-size: 75%; border-collapse: collapse; }
.grid tbody td { border-bottom: 1px solid #ccc; line-height: 1.4; }
.grid tbody th { border-bottom: 1px solid #ccc; color: #163a67; line-height: 1.4%; }
.grid td, .grid th { padding: 12px 10px 12px 6px; vertical-align: top; text-align: left; }
.grid thead th { background: #036; color: #fff; }
.grid thead a { color: #fff !important; }


/* GDPR COOKIE PERMISSION */

div#cp-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 6000; background: rgba(0,0,0,.5); }
div#cp-inner { position: fixed; top: 50%; left: 50%; width: 60vw; padding: 2rem; background: #fff; color: #000; box-shadow: 0 0 1rem rgba(0,0,0,.5); transform: translate(-50%,-50%); }
div#cp-inner a[href].buttonesque { display: inline-block; width: 25%; }
div#cp-inner div#cp-options { text-align: center; }
div#cp-inner p#cp-question { text-align: center; }
div#cp-inner p#cp-question a[href] { text-decoration: underline !important; }
div#cp-inner p#cp-question strong { font-size: 150%; }
div#cp-inner span#cp-no a[href].buttonesque { background-color: #666 !important; }

@media screen and (max-width: 1023px) {
  div#cp-inner { position: static; width: 100%; padding: 1rem; transform: none; }
  div#cp-inner a[href].buttonesque { width: 40%; }
}
