/*home page carousel align top*/
.home .carousel-inner div > h2 {margin-top:-5px}
.home .carousel-inner .col-md-4 {margin-bottom: 24px}
.home .carousel-inner div.slider-text  {height:auto;margin-bottom: 1em;min-height:0}
.home .carousel-inner  .hip-slide-content {height:200px;margin-bottom: 1.6em;min-height:0;}
/*.home #rotator2  a:not(:first-child) { display: none; }*/
.home #rotator { margin-left: -15px; margin-right: -15px; }
@media (max-width:991px){.home .carousel-inner div.slider-text , .home .carousel-inner  .hip-slide-content {min-height:0;height:auto}}
@media (min-width:992px){.home .carousel-inner  .hip-slide-content {height:340px}}
@media (min-width:1201px){.home .carousel-inner  .hip-slide-content {height:300px}}
@media (min-width:1327px){.home .carousel-inner  .hip-slide-content {height:250px}}


/*MENU*/
/*thicken nav font*/
ul.nav  li a {font-family: 'HelveticaNeueW02-45Ligh';color:#ccc}
ul.nav  li.current-menu-item a,
ul.nav  li a:hover{color:rgb(255,255,255)}
.nav-justified>li>a {margin-bottom: 0}
.nav-pills>li+li {margin-left: 0}
@media (max-width: 992px) {
#branding{border-bottom: 0px solid transparent}}

 /*FORMS*/
 /*todo: remove right padding on smaller viewport then uncomment below*/
/* .gform_body .col-md-6 {padding-left:0;padding-right:30px}
 #gform_wrapper_4 li.col-md-12 {padding-left:0;padding-right:30px}*/
 #gform_3 input {margin-bottom: 0}
select option[value="Other Grants"] { display: none; }





 /*PANELS*/
 /*pagination*/
.page-id-2634  .page-nav,
.page-id-2645 .shortcode-event-sldier ol,
.page-id-2649 .page-nav

{margin-bottom: 24px}

 /*buttons same as submits*/
#gform_submit_button_1,
.btn,
/*button,*/
input[type='submit'],
#gform_submit_button_3,
#gform_submit_button_1:hover,
.btn:hover,
input[type='submit']:hover,
#gform_submit_button_3:hover,
#gform_submit_button_1:active,
.btn:active,
input[type='submit']:active,
#gform_submit_button_3:active
{
  position: relative;
  font-family: 'HelveticaNeueW02-45Ligh';
  font-size:17px;
  padding:6px 12px 6px 12px;
  line-height: 1.4;
  font-weight: 700;
  height:auto;
  color:#000;
  background-color: rgb(9,195,204);
  transition: ease-in-out 0.2s;
}

.hbspt-form input[type='submit']{
  padding:6px 12px 6px 12px;
  font-weight:700;
}

/*  */

 #gform_submit_button_1:hover,
 .btn:hover,
 input[type='submit']:hover,
 #gform_submit_button_3:hover,
 #gform_submit_button_1:hover,
 input[type='submit']:hover,
 #gform_submit_button_3:hover,
 #gform_submit_button_1:active,
 .btn:active,
 input[type='submit']:active,
 #gform_submit_button_3:active
 {
  text-decoration: underline;
 }


/*normalize footer*/
#text-7 + br {display: none}
#text-5 {margin-bottom: 32px}

/*COPYRIGHTS*/

/*panels*/
.a-post-1 {position: relative}
.featured-image-caption {width:auto;text-align: right;overflow: hidden;white-space: normal;padding:0;margin-bottom:0;line-height: 1.2em;height:auto; font-size: 12px;padding:5px;margin-bottom:-15px}
.a-post-1 .featured-image-caption{margin-top:44px; }

/*marquees and what we support*/
.header-copyright,
.post-previews-shortcode-copyright,
.page-id-2634 .post-previews-shortcode-copyright
{
display:block!important;position:relative;
width:auto;margin:0;top:4px;right:0!important;
text-align:right!important;
z-index: 1!important;
overflow:visible!important;height:0!important;
padding:0px!important;
font-family: Helvetica, Arial, sans-serif;
color:gray;
font-size:12px;
line-height:1.6em;
}

/*home and similar*/
.page-id-2624  p.header-copyright,
.page-id-2634 p.header-copyright
{color:white!important;}

/*home and similar mobile*/
.page-id-2624 .shortcode-image-block .mobile-view .header-copyright,
.page-id-2634 .shortcode-image-block .mobile-view .header-copyright,
html body .shortcode-post-preview  p.post-previews-shortcode-copyright
{color:gray!important}

html body .shortcode-post-preview  p.post-previews-shortcode-copyright
{right:5px!important}


/*mobile*/
.shortcode-image-block .mobile-view .header-copyright,
.page-id-2634 .shortcode-image-block .mobile-view .post-previews-shortcode-copyright
{top: 100%!important;right:5px;}

.marquee .header-copyright,
.disable-margin .header-copyright,
.disable-margin .wp-caption-text {
    height:auto!important;
    background: #fff;
    right: 0!important;
    padding: 1rem!important;
    text-align: initial!important;
    color: #000;
}

/*GRIDS*/
/*grids: standardize and minimize overlap, given fixed heights and matched verticals*/
/* .page-id-2634  .shortcode-posts-1 .inner-posts .col-md-4 * {height:auto}*/
.a-post-1 h3,
.a-post-1 h2,
.a-post-1 .post-title,
.list-news .post-title 
{font-size: 19px !important; margin: 10px 0 !important;letter-spacing: normal}
#shortcode-posts-1-1 > div.inner-posts > div,
#content > div > div{margin-right: -15px;margin-left: -15px}

/*search*/

.search-results #main .section h1 {margin-bottom: 32px}

/*events*/
#main > header > div > div >  .event-details {padding:15px;font-family: 'HelveticaNeueW02-45Ligh';min-height: 150px}
#main > header > div > div >  .event-date-box {font-size: 25px;font-family: 'HelveticaNeueW02-45Ligh';min-height: 150px}

/*cal*/
.overlay-event {position: relative}
#main  div.overlay-event div.event-plus {text-align:center}
#main  div.overlay-event div.event-plus .copyx {display: none}
.addthisevent_dropdown {border:0px solid transparent!important/*needed to override inline css*/;border-radius:0!important;padding:0 0 0 0}

/*article-filters*/
#article-filters { margin-top:2em;margin-bottom: 1em;display:flex; align-items: flex-end;}
#article-filters div {display: inline-block;*display:inline;zoom:1;vertical-align: bottom;margin-right: 1em}
#article-filters label {display: block;width:100%;padding-bottom: 0;margin-bottom: 0;font-family: 'HelveticaNeueW02-45Ligh';font-weight: normal}
#article-filters input, #article-filters select {width: 100%;margin-bottom: 0em;font-size: 16px;font-family: 'HelveticaNeueW02-45Ligh';font-weight: normal}
#article-filters input[type="submit"] {font-size:17px;margin-top: 20px;}
#article-filters div.article-filters__container {
    display: flex;
    margin-right: 0;
}

#article-filters input[type="submit"]{
  font-family: "HelveticaNeueW02-45Ligh", Helvetica, Arial, sans-serif;
  font-weight: bold;
}

@media (max-width: 767px) {
    #article-filters {
        display: block;
    }
    #article-filters div {
        display: block;
    }
    #article-filters div.article-filters__container > div {
        flex-grow: 1;
    }

}

/*hide social stream controller*/
.dcsns-toolbar {display: none}
.dcwss.dc-wall .stream li .section-intro {letter-spacing: normal;font-weight: normal}

/*letterspacing*/
.a-post-1 .share-this-link .fa {letter-spacing: normal}


.publication-authors {display: inline-block;*display:inline;zoom:1;border-left:1px solid gray;margin-left: -10px;margin-top:.6em;padding-left:10px;}
.publication-date-and-author {overflow: hidden;line-height: 1.2em;padding-top: 1em;padding-bottom:1em}
.publication-date {display: inline-block;*display:inline;zoom:1;padding-left:1px;padding-right:10px;margin-right:10px;}
.publication-sep {display: none;}
.publication-authors span:not(:last-child):after {
    content: "";
    border-right: 1px solid gray;
    margin-right: 5px;
    padding: 0.667px 5px;
}

.page-id-2649 header + .section {padding-bottom:0px!important;}
.page-id-2649 #article-filters {margin-left:8%;margin-right:8%}








/*form at bottom*/
#bottom input {border-radius: 0px!important;border:0px solid transparent!important}

.footer-below,
.footer_sub_content-inner .textwidget {font-family: 'HelveticaNeueW02-45Ligh';}

 #header_content  ::-webkit-input-placeholder {color: #aaa;}
 #header_content  ::-moz-placeholder { /* Firefox 18- */color: #aaa;}
 #header_content  ::-moz-placeholder {  /* Firefox 19+ */ color: #aaa; }
 #header_content  ::-ms-input-placeholder {  color: #aaa; }

 ::-webkit-input-placeholder {color: #a9a9a9;font-family: 'HelveticaNeueW02-45Ligh';}
 ::-moz-placeholder { /* Firefox 18- */color: #a9a9a9;font-family: 'HelveticaNeueW02-45Ligh';}
 ::-moz-placeholder {  /* Firefox 19+ */ color: #a9a9a9;font-family: 'HelveticaNeueW02-45Ligh'; }
 ::-ms-input-placeholder {  color: #a9a9a9;font-family: 'HelveticaNeueW02-45Ligh'; }
 .placeholder {  color: #a9a9a9;font-family: 'HelveticaNeueW02-45Ligh';  }


/*blog padding*/

.single-blog .section {padding: 20px 5% !important }/*important required to override important*/

.page-id-2646 div.partner-content {display:none!important}


/*no panel copyrights*/
#shortcode-posts-1-1 > div.inner-posts   div > .featured-image-caption {display:none!important}



/*headers
starts at 325 for .white-header h1 surgewp.css line 279*/
/*overlay event starts at 425*/
/*fImage starts at 175*/

/* for grantees list page featured image: */
.page-template-theme-grantlists .header.image_block { min-height:600px!important }

@media (min-width:1500px){
.fImage {height:205px!important}
.header.image_block, .fImage-single {min-height:600px!important}
.overlay-general.overlay-bottom {margin-top:385px!important}
.page-id-2643 .pull-left .overlay-general {margin-top:100px!important}
.overlay-event {}
.white-header h1 {margin-top:400px!important}
}
@media (min-width:1600px){
.fImage {height:235px!important}
.header.image_block, .fImage-single {min-height:675px!important}
.overlay-general.overlay-bottom {margin-top:460px!important}
.page-id-2643 .pull-left .overlay-general {margin-top:200px!important}
.overlay-event {margin-top:475px!important}
.white-header h1 {margin-top:475px!important}
}
@media (min-width:1700px){
.fImage {height:265px!important}
.header.image_block, .fImage-single {min-height:750px!important}
.overlay-general.overlay-bottom {margin-top:535px!important}
.page-id-2643 .pull-left .overlay-general {margin-top:300px!important}
.overlay-event {margin-top:525px!important}
.white-header h1 {margin-top:550px!important}
}
@media (min-width:1800px){
.fImage {height:295px!important}
.header.image_block, .fImage-single {min-height:825px!important}
.overlay-general.overlay-bottom {margin-top:610px!important}
.page-id-2643 .pull-left .overlay-general {margin-top:400px!important}
.overlay-event {margin-top:575px!important}
.white-header h1 {margin-top:625px!important}

}
@media (min-width:1900px){
.fImage {height:325px!important}
.header.image_block, .fImage-single {min-height:900px!important}
.overlay-general.overlay-bottom {margin-top:685px!important}
.page-id-2643 .pull-left .overlay-general {margin-top:500px!important}
.overlay-event {margin-top:625px!important}
.white-header h1 {margin-top:700px!important}

.home .image_block {min-height:700px!important}

}
@media (min-width:2000px){
.fImage {height:355px!important}
.header.image_block, .fImage-single {min-height:975px!important}
.overlay-general.overlay-bottom {margin-top:760px!important}
.page-id-2643 .pull-left .overlay-general {margin-top:600px!important}
.overlay-event {margin-top:675px!important}
.white-header h1 {margin-top:775px!important}


.home .image_block {min-height:800px!important}
}

@media (min-width:2100px){
.home .image_block {min-height:900px!important}
}








.shortcode-image-block .image-bg{height: 400px!important;}

/*@media (max-width:992px){.home .carousel-inner  .hip-slide-content {height:340px}}*/

/* THESE ITEMS HELP MAKE ABSOLUTE HAMBURGER
.header_content-inner {position:relative}
#toggle-main-menu {z-index: 1;top:0px!important;position:absolute!important;right:-60px!important;display:block}
*/

.custom-shortcode header.image_block {
    padding: 3em;
}

.custom-shortcode header.image_block a.btn-shortcode {
    margin: 0 15px;
}

@media screen and (max-width: 767px) {
    .shortcode-image-block .marquee {
        /* padding-top: 137px; */
    }
    .custom-shortcode .image-bg {
        margin-bottom: 0!important;
    }
    .custom-shortcode .custom-button-container {
        margin-top: 3em;
    }
    .custom-shortcode .custom-button-container a.btn-shortcode {
        width: 100%;
    }
}

/*blog with left overlay* -- matches bottom overlay in surge wp*/

.page-id-2643 .pull-left .overlay-general {margin-bottom:25px }

.page-id-2643 .pull-left .overlay-general h3 {
  font-size: 25px;
  text-transform: none;
  font-weight: bold;
}

.page-id-2643 .pull-left .overlay-general,
.page-id-2643 .pull-left .overlay-general p {
  font-size: 23px;
}



.padding {width:100%;}

#top-sticky-wrapper {position:fixed!important;z-index:100!important;width:100%;background-color:#000;}

#branding  {background-color:black;overflow:visible;width:100%;}
 #toggle-main-menu {z-index:9999}



 /*grants / resources form*/
 #field_5_2,#field_5_8 {width:100%;padding-right:45px} /*inquiry*/
  #field_5_2 select,  #field_5_2 input, #field_5_2 textarea {width:50%} /*inquiry*/
  #field_5_8 select,  #field_5_8 input, #field_5_8 textarea {width:50%} /*inquiry*/


  #gform_fields_5 {display:block;float:left;clear:both;width:100%!important}
  #gform_submit_button_5 {margin-left:15px;margin-bottom:20px}


@media (max-width:992px){
#field_5_2,#field_5_8 {width:100%;padding-right:15px} /*inquiry*/
  #field_5_2 select,  #field_5_2 input, #field_5_2 textarea {width:100%} /*inquiry*/
  #field_5_8 select,  #field_5_8 input, #field_5_8 textarea {width:100%} /*inquiry*/
}



 .gform_body .validation_message {margin-top: -11px;margin-bottom:6px;color:red!important;font-weight:bold!important;font-family:Arial, Helvetica;font-size:90%!important;}

 #gform_5 > div.validation_error {padding:15px;color:red!important;font-weight:bold!important;font-family:Arial, Helvetica;font-size:90%!important;}




 /*not so bold post titles*/
div.a-post-content > div > a > h3 {font-family:'Helvetica Neue', Helvetica, Arial, sans-serif!important;font-weight:normal!important}
/*chrome for windows slider height*/
.hip-slide-inner {min-height:340px!important}

#scroll-anchor-1 > div {display:inline-block!important;*display:inline;zoom:1;vertical-align:bottom;float:none}
#scroll-anchor-1 br {display:none}
#scroll-anchor-1 > input {margin-bottom:10px!important; font-weight: bold;}















 #caption {display: none}
 #video_box{position:relative;}

/*
#holder #hotspot a#hotlink, #holder #hotspot2 a#hotlink2 {
    display: block;
    font-size: 20px!important;
    line-height: 9em!important;
    width: 100%;
    text-align: center;
    font-family: Arial;
    padding-top: 6.7%!important;
    color:transparent!important;
    text-decoration:none!important;
    overflow:hidden!important;
    text-indent:-9999px!important;
    background-color:transparent!important;
    opacity:0!important;
    -webkit-opacity:0;
    -moz-opacity:0;
    filter: alpha(opacity=0);
    border:0px solid transparent;
    }

    #hotspot, #hotspot2 {
    position: absolute;
    z-index: 98;
    bottom: -1000px;
    right: 4.1%;
    width: 13.8%;
    height: 7.6%!important;
    min-width: 13.4%!important;
    min-height: 39px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -webkit-transition: opacity 1s ease-in-out;
    overflow: hidden;
    background-color: transparent;
    display: block;
    font-size: 14px;
    text-indent:-9999px!important;
    font-family:Arial;
    font-size: 20px!important;
    line-height: 1em!important;
    background-color:transparent!important;
    color:transparent!important;
}

#holder #hotspot2 {left:11.6%;right:auto!important}
*/

#holder img {width:100%!important}
#holder, #outer {border:0px solid transparent;}
#holder {position: relative;overflow: hidden}
#outer {position:absolute;width:100%;}

/*footer form*/
#footer_sub_content .gform_body .validation_message {margin-top:2px!important; margin-bottom:-3px!important}
#footer_sub_content .validation_error {color:red!important;margin-bottom:1em!important}


/*hide anti-spam form field*/
body .gform_wrapper .gform_validation_container {display: none!important;}

/*may stories hide extra p*/
.page-id-2640 #main > div.container > div.shortcode-image-block > p,
/*may stories hide grantees p*/
.page-id-2639 #main > div.container > p {display:none}
/*grantees and partners nav*/
.page-id-2646 .pagination,
.page-id-2639 .pagination,
.page-id-2649 .pagination {margin:61px 0!important;}

.stories-template-default {
margin-top: 0px!important;
}


/* CS Overlays */
.single-stories .fImage.fImage-single,
.single-publications .fImage.fImage-single {
position: relative;
}
.overlay-general.cs-overlay {
position: absolute;
    width: 90%;
    text-align: left;
    left: 5%;
    display: none;
}


.overlay-general.cs-overlay h3{
    text-transform: none !important;
font-size: 25px;
    text-transform: none;
    font-weight: bold
}

.overlay-general.cs-overlay.cs-overlay-1{
    top: 10px;
}
.overlay-general.cs-overlay.cs-overlay-2{
    top: 110px;
}
.overlay-general.cs-overlay.cs-overlay-3{
    top: 210px;
}

.overlay-general.cs-overlay.cs-overlay-4{
    bottom: 210px;
}
.overlay-general.cs-overlay.cs-overlay-5{
    bottom: 110px;
}
.overlay-general.cs-overlay.cs-overlay-6{
    bottom: 10px;
}
.overlay-general.cs-overlay.cs-overlay-left {
    text-align: left;
}
.overlay-general.cs-overlay.cs-overlay-center {
    text-align: center;
}
.overlay-general.cs-overlay.cs-overlay-right {
    text-align: right;
}
.overlay-general.cs-overlay.just-text-white {
	background-color: transparent !important;
    padding: 0;
}
.overlay-general.cs-overlay.just-text-black {
	background-color: transparent !important;
    padding: 0;
}
.overlay-general.cs-overlay.just-text-white h3 {
	color: #ffffff !important;

}
.overlay-general.cs-overlay.just-text-black h3 {
    color: #000000 !important;
}

/* for the custom "button" image shortcode type */
header.image_block.img__cta .btn {
    position: absolute;
    left: 5%;
    bottom: 5%;
}
