/*
    Theme Name: VAWA MEI
    Theme URI: 
    Description: Custom WordPress themes for VAWA MEI
    Version: 1.0.0
    Author: 
    Author URI: 
    Tags: 
*/

/*------------------------------------*\
    WP Default
\*------------------------------------*/
/* a:hover, a:focus, a:active {
    color: #8D2A4D;
    background-color: rgba(160, 48, 88, 0.2);
} */

#comment-section p{
    margin-bottom: 10px;
}

#comment-section p label {
    display: block;
    font-size: 14px;
}

#comment-section p#form-allowed-tags{
    display: none;
}

#comment-section form#commentform input[type="text"],
#comment-section form#commentform textarea {
  background: #f6f6f6;
  border: 1px solid #cecece;
  border-radius: 3px;
  box-shadow: inset 1px 1px 3px rgba(0,0,0,.12);
  height: auto;
  letter-spacing: 1px;
  outline: none;
  padding: 0 8px;
}

#comment-section form#commentform input[type="text"]{
  width: 30%;
}

#comment-section form#commentform textarea{
    padding: 10px;
    width: 60%;
    height: 120px;
}

#comment-section form#commentform input[type="text"]:focus,
#comment-section form#commentform textarea:focus{
  background: #eef7fc;
  border: 1px solid #75b1d9;
  box-shadow: none;
}

#comment-section h3 {
    margin: 0 0 20px;
    font-size: 18px;
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
}

#comment-section ul li {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}

#comment-section ul li:last-child{
    border: none;
}

#comment-section ul {
    padding: 0;
    margin: 0;
}

#comment-section figure{
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    display: block;
    float: left;
    margin-right: 12px; 
}

#comment-section figure img{
    max-width: 100%;
    height: auto;
}

#comment-section .comment-detail{
    float: left;
}

#comment-section .comment-meta cite{
    font-style: normal;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 22px;
}

#comment-section .comment-meta a{
    font-weight: normal;
    color: #ccc;
}

#respond{
    margin-top: 30px;
}

#comment-section ul li.depth-2 {
  margin-left: 50px;
}

.text-hidden {
    text-indent: -999999px !important;
    font-size: 0;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.at4-visually-hidden{
    position: absolute;
    clip: rect(1px,1px,1px,1px);
    padding: 0;
    border: 0;
    overflow: hidden;
}

.wrapper-btn-relative { position: relative; }
.wrapper-btn-relative a { text-decoration: none; }
.btn.btn-absolute {
    position: absolute;
    bottom: 50px;
    right: 15px;
    z-index: 3;
}

/*gravity form*/
body .gform_wrapper .gform_heading h3.gform_title{
    font-size: 34px;
    line-height: 44px;
    color: #3d1152;
    font-weight: 400;
}

body .gform_wrapper .gform_heading span.gform_description{
    width: 100%;
    margin-bottom: 1rem;
}

body .gform_wrapper .gform_body .gform_fields li.gfield{
    width: 100% !important;
    max-width: 100% !important;
    margin: 0px 0px 10px;
    padding: 0;
}

body .gform_wrapper .gform_body .gform_fields li.gfield span:last-of-type{
    margin: 0;
}

body .gform_wrapper .gform_body .gform_fields li.gfield input[type="text"],
body .gform_wrapper .gform_body .gform_fields li.gfield input[type="email"],
body .gform_wrapper .gform_body .gform_fields li.gfield textarea,
body .gform_wrapper .gform_body .gform_fields li.gfield select{
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-image: none;
    background-clip: padding-box;
    border: 1px solid #003e52;
    border-radius: 0.25rem;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

body .gform_wrapper .gform_body .gform_fields li.gfield select {
    height: 36px;
}

body .gform_wrapper .gform_body .gform_fields li.gfield input[type="text"]:focus,
body .gform_wrapper .gform_body .gform_fields li.gfield input[type="email"]:focus,
body .gform_wrapper .gform_body .gform_fields li.gfield textarea:focus,
body .gform_wrapper .gform_body .gform_fields li.gfield select:focus{
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

body .gform_wrapper .gform_body .gform_fields li.gfield .gform_wrapper.gform_validation_error input[type="text"],
body .gform_wrapper .gform_body .gform_fields li.gfield .gform_wrapper.gform_validation_error input[type="email"]{
    border-color: #8D2A4D;
    -webkit-box-shadow: 0px 0px 12px -1px rgba(0, 0, 0, 0.14);
    -moz-box-shadow: 0px 0px 12px -1px rgba(0, 0, 0, 0.14);
    box-shadow: 0px 0px 12px -1px rgba(0, 0, 0, 0.14);
}

body .gform_wrapper .gform_body .gform_fields li.gfield input[type="checkbox"]{
    margin: 3px;
}

body .gform_wrapper .gform_body .gform_fields li.gfield input[type="checkbox"]:focus{
    -webkit-box-shadow: inset 0px 0px 10px 0px rgba(0, 123, 255, 0.5);
    -moz-box-shadow: inset 0px 0px 10px 0px rgba(0, 123, 255, 0.5);
    box-shadow: inset 0px 0px 10px 0px rgba(0, 123, 255, 0.5);  
}

body .gform_wrapper .gform_footer{
    padding: 0;
    margin: 30px 0px 0px;
}

body .gform_wrapper .gform_footer input[type="submit"]{
    width: 100%;
    max-width: 195px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    text-decoration: none;
    color: #8D2A4D;
    border: 2px solid #8D2A4D;
    background-color: white;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 0.7rem 0.75rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

body .gform_wrapper .gform_footer input[type="submit"]:hover,
body .gform_wrapper .gform_footer input[type="submit"]:focus{
    text-decoration: none;
    background-color: rgba(160, 48, 88, 0.2);
    border-color: #8D2A4D;
    color: #8D2A4D;
}

body .gform_wrapper div.validation_error{
    display: none;
}

body .gform_wrapper li.gfield.gfield_error, 
body .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning{
    border: none;
    background: transparent;
    margin: 0;
    padding: 0;
}

body .gform_wrapper .gfield_description.validation_message{
    margin: 0;
    padding: 0;
    font-style: italic;
    text-transform: uppercase;
    font-size: 13px;
    color: #8D2A4D;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 700;
    margin-bottom: 5px;
}

body .gform_wrapper .gfield_description.validation_message:before{
    content: "\f071";
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-right: 7px;
}

/*------------------------------------*\
    Rewrite main style
\*------------------------------------*/
body.logged-in .header.fixed {
    margin-top: 32px;
}

.tertiary-nav-box ul{
    padding: 14px 0 13px;
}

.tertiary-nav-box ul li{
    padding: 0 10px;
}

@media (max-width: 1200px){
    .tertiary-nav-box ul li {
        padding: 0 5px !important;
    }   

    .tertiary-nav-box ul li a{
        font-size: 12px;
    }
}

/*fix low contrast*/
.mobile-nav , .mobile-nav nav ul li a, 
.mobile-nav nav ul li span,
.mobile-nav .tertiary-nav ul li a { 
    background: #1c3961; 
}

.mobile-nav nav ul ul.sub-menuNav {
    background: #1c3961;
}

.mobile-nav nav ul ul.sub-menuNav li a {
    color: #fff;
}

.mobile-nav .tertiary-nav-box ul {
    background: #1c3961;
}

.hero-home,
.hero-subpages{
    background-color: #003e52;
}

.home-faq,
.feature-card,
.header,
.header.scrolled.fixed{
    background-color: #251f53;
}

.header:not(.fixed){
    background-color: #251f53;
}

.btn.btn-dark{
    background-color: #2c6070;
}

.card-container.card-container-bg-black {
    background-color: #000000;
    border-radius: 4px;
}

.card-container .download-link{
    background-color: #fff;
}

p.filter-gold {
    color: #ffc843;
    font-family: "Source Sans Pro", sans-serif;
    margin: 8px 0 0;
    font-style: italic;
    font-size: 15px;
}

/*fix Accessibility style*/
.feature-card header h4 {
    color: #ffc843;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.05em;
}

/*menu*/
.main-nav ul li.current-page-parent a,
.main-nav ul li.current-page-ancestor a,
.tertiary-nav ul li.current-page-parent a,
.tertiary-nav ul li.current-page-ancestor a {
    border-color: #ffc843;
}

.main-nav ul li.current-menu-item ul li a,
.main-nav ul li.current-page-parent ul li a,
.main-nav ul li.current-page-ancestor ul li a{
    border-color: transparent;
}

.main-nav ul ul li.current-menu-item a{
    font-weight: bold;
}

.header.fixed.scrolled .head-top{
  display: none;
}

.header.scrolled.fixed {
    padding: 10px 0;
}

.search-main .search-main--act
 input[type="submit"] {
    width: 50px;
    min-width: initial;
    text-indent: -9999px;
    z-index: 99;
    position: relative;
    cursor: pointer;
}

.search-main .search-main--act
 input[type="submit"]{
   background:transparent !important;
 }

.search-main label{
    display: none;
    color: #ffffff;
    background-color: #1c3961;
}

.head-top {
    padding-top: 5px;
}

.tertiary-nav ul {
    padding: 7px 0 17px;
}

.hero-home--act .item .text,
.hero-home--act .item{
    color: #fff;
    text-decoration: none;
}

.basic-card h5,
.home-news-box .desc h3 a,
.basic-card h3 a{
    color: #3d1152;
    font-weight: 400;
    text-decoration: none;
}

.basic-card h5{
    margin-bottom: 1.6rem;
    font-size: 24px;
    line-height: 30px;
}

.hero-home--act .item:hover,
.home-news-box .desc h3 a:hover,
.basic-card h3 a:hover{
    background: transparent;
}

.data-viz--hero-desc .alignleft {
    margin: 0 2rem 0 0;
}

.home-testi{
    position: relative;
}

.home-testi:before {
    content: '';
    position: absolute;
    display: block;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: -moz-linear-gradient(left, rgba(255,255,255,1) 50%, rgba(255,255,255,1) 56%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(255,255,255,1) 50%,rgba(255,255,255,1) 56%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(255,255,255,1) 50%,rgba(255,255,255,1) 56%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */
}

.basic-card {
    display: block;
    text-decoration: none;
    font-weight: normal;
}

.basic-card:hover{
    background: #fff;
    text-decoration: none;
    color: #003040;
    cursor: pointer;
}

form{
    margin: 0;
}

.home-faq:before{
    height: 100.1%;
}

/*------------------------------------*\
    WP theme style
\*------------------------------------*/
/*rewrite heading fix, letter spacing fix*/
.title-page {
    color: #3d1152;
    font-weight: 400;
    font-family: "Source Serif Pro", serif;
    font-size: 44px;
    line-height: 54px;
    margin-bottom: 20px;
}

.subtitle-page {
    font-size: 19px;
    line-height: 30px;
    color: #3d1152;
    font-weight: 400;
    font-family: "Source Serif Pro", serif;
}

.hero-subpages p.title {
    font-weight: bold;
    color: #ffc843;
    font-family: "Source Sans Pro", sans-serif;
    margin-bottom: 30px;
}

.about-mission--desc h2,
.about-ourwork h2,
.home-data-viz h2{
    font-size: 34px;
    line-height: 40px;
}

.about-mission--desc h2 {
    color: #260a31;
    margin-bottom: 15px;
}

.about-ourwork h2 {
    color: white;
    margin-bottom: 40px;
}

.home-data-viz h2 {
    margin-bottom: 25px;
}

@media screen and (min-width: 48em) {
    .about-mission--desc h2,
    .about-ourwork h2,
    .home-data-viz h2 {
      font-size: 44px;
      line-height: 54px; 
    } 

    .home-data-viz h2 {
        margin-bottom: 50px;
    }
}

.home-faq .home-faq-head h3 {
    color: #ffc843;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
    font-size: 16px;
    line-height: 24px;
}

.individual-post-content h1{
    margin-bottom: 20px
}

.single-program-overview h5,
.main h5.filter-result {
    letter-spacing: 1.6px;
}

.grant-card .circle span{
    letter-spacing: 2.25px;
}

.grant-card-head p.desc-title {
    font-size: 26px;
    color: #260a31;
    font-family: "Source Serif Pro", serif;
    line-height: 30px;
}

#filter-form .btn.dropdown-toggle, #filter-form-reports .btn.dropdown-toggle{
    letter-spacing: 2.5px;
}

/*visualizer*/
.visualizer-chart svg text,
#report-content svg text,
.slide-chart svg text{
    font-family: "Source Sans Pro", sans-serif !important;
    font-weight: 600;
    font-size: 15px;
}

.visualizer-chart svg > g:last-child > g:last-child,
.visualizer-front svg > g:last-child > g:last-child{ pointer-events: none }
div.google-visualization-tooltip { pointer-events: none }
/*homepage*/
.home-news-box .thumb{
    max-width: 370px;
    overflow: hidden;
}

.reg-training .desc .date{
    text-transform: uppercase;
    font-weight: 600;
}

.home-news-box{
    border-radius: 4px;
}

.home-news-box p {
    line-height: 24px;
    color: #003040;
    font-weight: normal;
}

.home-news-box p.card-title {
    font-weight: 700;
    text-decoration: underline;
    color: #8D2A4D;
}

/*about*/
.about-mission{
    z-index: 4;
}

.post-about-action li figure,
.post-about-action li p{
    display: inline-block;
    vertical-align: middle;
}

.post-about-action li p{
    margin: 0;
}

/*Listing page*/
.row-listing-with-download .col-lg-4.col-md-6,
.row-listing-with-download .col-md-4{
    margin-bottom: 25px;
}

.row-listing-with-download .basic-card{
    margin-bottom: 0px;
    padding-bottom: 75px;
}

.thumb-card{
    margin-bottom:0;
}

.card-container{
  position: relative;
}

body.single-post_program .card-container.program-report{
  background-color: #000; /*fallback background*/
}

.program-overview .card-container.program-report .feature-card p{
  color: #fff;
}

.card-container .download-link,
.card-container .action{
    position: absolute;
    bottom: 50px;
    left: 55px;
    z-index: 3;
}

.card-container .action{
  right: 55px;
  left: initial;
  bottom: 80px;
}

.program-overview .card-container .action{
  bottom: 50px;
}

.program-overview .card-container.program-report .feature-card{
  padding-bottom: 60px; 
      display: block;
    text-decoration: none;
}

.program-overview .card-container.program-report .download-link{
 left: 50px;
 bottom: 30px;
}

@media screen and (max-width: 993px){
  .feat-card-foo .datetime{
    padding-bottom: 50px;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .card-container .action{
    right: initial;
    left: 45px;
    bottom: 55px;
  }

  .program-overview .card-container .action,
  .program-overview .card-container.program-report .download-link{
    left: 30px;
    bottom: 30px;
  }
}

.card-container .download-link{
    color: #8D2A4D;
    cursor: pointer;
}

.card-container .download-link:hover{
    color: #d81b60;
    text-decoration: none;
}

.card-container .feature-card + .download-link{
  color: #ffffff;
  left: 65px;
  bottom: 65px;
  background-color: transparent;
}

.row-listing .basic-card h5{
    margin-bottom: 0.5rem;
}

.hide-contain .contain{
    display: none;
}

/* FILTER */
#wp-advanced-search label,
#faq-filter label{
    display: none;
}

.hero-search .label-text {
    line-height: 1.6em;
}

#filter-form #wp-advanced-search,
#filter-form #wpas-tax_grant_programs,
#filter-form #wpas-search_query,
#filter-form #faq-filter{
    position: relative;
    width: 100%;
    min-height: 1px;
    display: flex;
}

#filter-form #wpas-tax_grant_programs{
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    display: block\9;
    float: left\9;
}

#filter-form #wpas-search_query{
    -ms-flex: 0 0 63.666667%;
    flex: 0 0 63.666667%;
    max-width: 63.666667%;
    background: rgba(0,62,82,0.5);
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 75px;
    border-radius: 3px;
    margin-left: 2%;
    display: block\9;
    float: right\9;
}

#filter-form.search-trainings-form-topic #wpas-search_query {
    -ms-flex: 0 0 42.5%;
    flex: 0 0 42.5%;
    max-width: 42.5%;
}

#filter-form #wpas-tax_grant_programs select{
    max-width: 100%;
}

#filter-form #wpas-search_query input[type="text"]{
    background: transparent;
    display: inline-block;
    width: auto;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-size: 15px;
    color: white;
    font-family: "Source Serif Pro",serif;
    font-weight: 600;
    height: 42px;
    width: 70%;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    vertical-align: top;
    border-radius: 2px;
    margin-top: 16px\9;
}

#filter-form #wpas-submit{
    position: inherit;
    top: 1.05rem;
    right: 7rem !important;
}

#filter-form #wpas-submit input[type="submit"]{
    width: auto;
    min-width: 106px;
    height: 42px;
    padding-top: 6px;
    padding-bottom: 6px;    
    color: #ffc843;
    background-color: rgba(255,255,255,0.2);
    max-width: 195px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    border: 2px solid #ffffff;
    border-radius: 0.25rem;
    cursor: pointer;
}

#filter-form #wpas-submit input[type="submit"]:hover{
    text-decoration: none;
    background-color: rgba(255,255,255,0);
    border-color: white;
    color: #ffc843; 
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #fff;
}

::-moz-placeholder { /* Firefox 19+ */
  color: #fff;
}

:-ms-input-placeholder { /* IE 10+ */
  color: #fff;
}

:-moz-placeholder { /* Firefox 18- */
  color: #fff;
}

/* Additional Jan 2018 */
#filter-form-reports .dropup .dropdown-toggle::after {
     display: inline-block;
     width: 0;
     height: 0;
     margin-left: 0.255em;
     vertical-align: 0.255em;
     content: "";
     border-top: 0.3em solid;
     border-right: 0.3em solid transparent;
     border-bottom: 0;
     border-left: 0.3em solid transparent;
}

#filter-form-reports .btn.dropdown-toggle {
    position: relative;
}

.filter-row form .wpas-html:not(:first-of-type),
.find-by form .wpas-html:not(:first-of-type){
    width: 25px;
    margin-left: -25px;
    z-index: 99;
    display: none;
}

.filter-row form .wpas-taxonomy-field.disabled + .wpas-html:not(:first-of-type),
.find-by form .wpas-taxonomy-field.disabled + .wpas-html:not(:first-of-type),
#faq-filter #wpas-tax_grant_programs.disabled + .wpas-html:not(:first-of-type){
    display: block;
}

.filter-row form .wpas-html:not(:first-of-type) a.field-clear,
.find-by form .wpas-html:not(:first-of-type) a.field-clear{
    width: 15px;
    height: 15px;
    line-height: 0;
    overflow: hidden;
    color: #ffc843;
    background-color: #003e52;
    border-radius: 50%;
    display: none;
    margin-top: 28px;
    text-align: center;
}

.filter-row form .wpas-html:not(:first-of-type) a.field-clear.active,
.find-by form .wpas-html:not(:first-of-type) a.field-clear.active{
    display: block;
}

.filter-row form .wpas-html:not(:first-of-type) a.field-clear:hover,
.find-by form .wpas-html:not(:first-of-type) a.field-clear:hover,
#filter-form-reports .btn.dropdown-toggle.disabled:hover,
#filter-form .btn.dropdown-toggle.disabled:hover{
    background-color: #003e52;
}

#filter-form-reports .btn.dropdown-toggle.disabled,
#filter-form .btn.dropdown-toggle.disabled {
    opacity: 1;
}

.filter-row form .wpas-html:nth-of-type(7) {
    width: 106px;
    margin-left: -106px;
}

.find-by .filter-resources form .wpas-html:nth-of-type(6),
.find-by.filter-cat-only form .wpas-html:nth-of-type(4){
    width: 130px;
    margin-left: -130px;
}

.filter-row form .wpas-html a.search-clear,
.find-by form .wpas-html a.search-clear{
    width: 106px;
    height: 42px;
    padding-top: 6px;
    padding-bottom: 6px;
    background-color: #4a7582;
    color: #ffc843;
    display: block;
    text-align: center;
    margin-top: 16px;
    max-width: 195px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    border: 2px solid #ffffff;
    border-radius: 0.25rem;
    cursor: pointer;
    text-decoration: none;
    display: none;
}

.filter-row form .wpas-html a.search-clear.active, 
.find-by form .wpas-html a.search-clear.active{
    display: block;
}

.find-by form .wpas-html a.search-clear{
    margin-top: 17px;
    margin-right: 20px;
}

.filter-row form .wpas-html a.search-clear:hover,
.find-by form .wpas-html a.search-clear:hover{
    background-color: #1a5264;
}

.filter-row form #wpas-tax_grant_programs,
.find-by form #wpas-tax_grant_programs,
.filter-row form #wpas-tax_report_types,
.find-by form #wpas-tax_resource_type,
.filter-row form #wpas-search_query,
.find-by form #wpas-search_query{
    position: relative;
}

/*.filter-row form #wpas-tax_grant_programs.disabled:before,
.find-by form #wpas-tax_grant_programs.disabled:before, 
.filter-row form #wpas-tax_report_types.disabled:before,
.find-by form #wpas-tax_resource_type.disabled:before,
.filter-row form #wpas-search_query.disabled:before,
.find-by form #wpas-search_query.disabled:before{
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 99;
}*/
#filter-form #wpas-search_query input[type="text"]::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: white;
}

#filter-form #wpas-search_query input[type="text"]::-moz-placeholder { /* Firefox 19+ */
  color: white;
}

#filter-form #wpas-search_query input[type="text"]:-ms-input-placeholder { /* IE 10+ */
  color: white;
}

#filter-form #wpas-search_query input[type="text"]:-moz-placeholder { /* Firefox 18- */
  color: white;
}

/* SELECT STYLE */
.hero-search #filter-form #wpas-tax_grant_programs,
.hero-search #filter-form #wpas-tax_topic {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px; }
  @media screen and (min-width: 62em) {
    .hero-search #filter-form #wpas-tax_grant_programs,
    .hero-search #filter-form #wpas-tax_topic {
      border-left: 1px solid #336575;
     } 
  }

#filter-form #wpas-tax_grant_programs,
#filter-form #wpas-tax_topic {
  padding: 0;
  margin: 0;
  border: none;
  width: 100%;
  background-color: #003e52;
  background: #003e52;
  color: #ffc843;
  position: relative;
  }

  #filter-form .btn.dropdown-toggle,
  #filter-form-reports .btn.dropdown-toggle {
    height: 100%;
    height: 75px\9;
    border-radius: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border: 0;
    padding: 0 35px 0 17px;
    background-color: #003e52;
    color: #ffc843;
    }

    #filter-form-reports .btn.dropdown-toggle {
        height: 75px; }
  #filter-form .dropdown-menu.show,
  #filter-form-reports .dropdown-menu.show {
    height: 250px !important;
    min-height: 250px !important;
    max-height: 250px !important;
    border-radius: 0;
    border: 0;
    padding: 0;
    margin: 0;
    -webkit-box-shadow: 0 0 9px 0px rgba(0,0,0,.1);
    -moz-box-shadow: 0 0 9px 0px rgba(0,0,0,.1);
    -ms-box-shadow: 0 0 9px 0px rgba(0,0,0,.1);
    -o-box-shadow: 0 0 9px 0px rgba(0,0,0,.1);
    box-shadow: 0 0 9px 0px rgba(0,0,0,.1);
    }

  #filter-form-reports .dropdown-menu.show {
    min-width: 280px;
  }

  #filter-form .dropdown-menu.open.show .dropdown-menu.inner,
  #filter-form-reports .dropdown-menu.open.show .dropdown-menu.inner {
    display: block;
    max-height: 100% !important; }
  #filter-form .bootstrap-select.btn-group .dropdown-menu li,
  #filter-form-reports .bootstrap-select.btn-group .dropdown-menu li {
    margin-bottom: 0; }
  #filter-form .dropdown-menu.open.show .dropdown-menu.inner li:before,
  #filter-form-reports .dropdown-menu.open.show .dropdown-menu.inner li:before {
    display: none; }
  #filter-form .bootstrap-select.btn-group .dropdown-menu li a,
  #filter-form-reports .bootstrap-select.btn-group .dropdown-menu li a {
    padding: 15px 20px;
    display: block;
    font-weight: 400;
    color: #003e52; }
  #filter-form .bootstrap-select.btn-group .dropdown-menu li a:hover,
  #filter-form .bootstrap-select.btn-group .dropdown-menu li a:focus,
  #filter-form .bootstrap-select.btn-group .dropdown-menu li a:active,
  #filter-form-reports .bootstrap-select.btn-group .dropdown-menu li a:hover,
  #filter-form-reports .bootstrap-select.btn-group .dropdown-menu li a:focus,
  #filter-form-reports .bootstrap-select.btn-group .dropdown-menu li a:active {
    background-color: #ebf0f1;
    color: #003e52; }
  #filter-form .bootstrap-select.btn-group .dropdown-menu li a:hover span,
  #filter-form .bootstrap-select.btn-group .dropdown-menu li a:focus span,
  #filter-form .bootstrap-select.btn-group .dropdown-menu li a:active span,
  #filter-form-reports .bootstrap-select.btn-group .dropdown-menu li a:hover span,
  #filter-form-reports .bootstrap-select.btn-group .dropdown-menu li a:focus span,
  #filter-form-reports .bootstrap-select.btn-group .dropdown-menu li a:active span {
    text-decoration: underline;
  }
.form-control{
    color: #000 !important;
}
  /*#filter-form #wpas-tax_grant_programs select {
    padding: 5px 8px;
    height: 75px;
    width: 96%;
    color: #ffc843;
    text-transform: uppercase;
    font-weight: 600;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: #003E52;
    background-image: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
     }*/
    #filter-form #wpas-tax_grant_programs select:focus {
      outline: none; }

  #filter-form .btn.dropdown-toggle span,
  #filter-form-reports .btn.dropdown-toggle span{
    line-height: 75px
  }

  /*tools and resources*/
#filter-form.filter-resources .btn.dropdown-toggle{
    border-radius: 0;
}

#filter-form.filter-resources #wpas-tax_resource_type{
    border-left: 1px solid #336575;
}

#filter-form.filter-resources #wpas-tax_resource_type .btn.dropdown-toggle{
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;    
}

#filter-form.filter-resources #wpas-tax_grant_programs,
#filter-form.filter-resources #wpas-tax_resource_type{
    -ms-flex: 0 0 28%;
    flex: 0 0 28%;
    max-width: 28%;
    display: block\9;
    float: left\9;
}

#filter-form.filter-resources #wpas-search_query{
    -ms-flex: 0 0 41%;
    flex: 0 0 41%;
    max-width: 41%;
}

#filter-form-reports{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    display: flex;
}

.filter-row #filter-form-reports form{
    display: flex;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.filter-row form .wpas-html:first-of-type{
    display: flex;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 7%;
    flex: 0 0 7%;
    max-width: 7%;
    align-items: center;
    font-size: 15px;
    font-family: "Source Serif Pro", serif;
    font-weight: 600;
    border: none;
}

.filter-row form #wpas-tax_grant_programs,
.filter-row form #wpas-tax_report_types,
.filter-row #wpas-search_query{
    display: flex;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 31%;
    flex: 0 0 31%;
    max-width: 31%;
    border-left: 1px solid #336575;
}

.filter-row form #wpas-tax_grant_programs,
.filter-row form #wpas-tax_report_types,
.filter-row form #wpas-date_y{
  background-color: #003e52;
  background: #003e52;
  color: #ffc843;
  position: relative;
}

.filter-row form #wpas-tax_grant_programs select,
.filter-row form #wpas-tax_report_types select,
.filter-row form #wpas-date_y select{
    padding: 20px 25px;
    width: 96%;
    color: #ffc843;
    text-transform: uppercase;
    font-weight: 600;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: transparent;
    background-image: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    }

    .select-style select:focus,
    .filter-row form #wpas-tax_grant_programs select:focus,
.filter-row form #wpas-tax_report_types select:focus,
.filter-row form #wpas-date_y select:focus {
      outline: none; }
    @media screen and (min-width: 48em) {
      .filter-row form #wpas-tax_grant_programs select,
.filter-row form #wpas-tax_report_types select,
.filter-row form #wpas-date_y select {
        height: 75px; } }
.filter-row #wpas-search_query input[type="text"]{
    background: transparent;
    display: inline-block;
    width: auto;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-size: 15px;
    color: white;
    font-family: "Source Serif Pro",serif;
    font-weight: 600;
    height: 42px;
    width: 100%;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    vertical-align: top;
    border-radius: 2px;
    margin: 16px 0;
}

.filter-row form{
    position: relative;
}

.filter-row #wpas-submit{
    position: absolute;
    right: 0;
    top: 16px;
    z-index: 999;
}

.filter-row #wpas-submit.disabled{
    z-index: 1;
}

#filter-form .disabled .btn.dropdown-toggle:after, 
#filter-form-reports .disabled .btn.dropdown-toggle:after{
    display: none;
}

.filter-row #wpas-submit input[type="submit"]{
    width: auto;
    min-width: 106px;
    height: 42px;
    padding-top: 6px;
    padding-bottom: 6px;
    color: #ffc843;
    background-color: rgba(255,255,255,0.2);
    max-width: 195px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    border: 2px solid #ffffff;
    border-radius: 0.25rem;
    cursor: pointer;
    z-index: 999;
}

.filter-row #wpas-submit input[type="submit"]:hover{
text-decoration: none;
    background-color: rgba(255,255,255,0);
    border-color: white;
    color: #ffc843; 
}

@media screen and (max-width: 1199px) {
    /*filter resources*/
    .hero-search .label-text,
    #filter-form #wpas-search_query input[type="text"]{
        padding-left: 10px;
        padding-right: 10px;
    }

    #filter-form #wpas-submit{
        right: 15px;
    }

    .hero-search .label-text span{
        font-size: 15px;
    }

    #filter-form.filter-resources #wpas-search_query{
        -ms-flex: 0 0 43%;
        flex: 0 0 43%;
        max-width: 43%;
        margin-left: 1%;
    }

    /*filter reports*/
    .filter-row form #wpas-tax_grant_programs, 
    .filter-row form #wpas-tax_report_types{
        -ms-flex: 0 0 28%;
        flex: 0 0 28%;
        max-width: 28%;
    }

    .filter-row #wpas-search_query{
        -ms-flex: 0 0 37%;
        flex: 0 0 37%;
        max-width: 37%;
    }

    .filter-row #wpas-search_query input[type="text"],
    .filter-row form .wpas-html:first-of-type{
        font-size: 14px;
    }

    .filter-row #wpas-submit input[type="submit"]{
        min-width: 80px;
        font-size: 15px;
    }

    .filter-row form .wpas-html:nth-of-type(7){
        width: 82px;
        margin-left: -78px;
    }

    .filter-row form .wpas-html a.search-clear{
        width: 80px;
    }

    .find-by .filter-resources form .wpas-html:nth-of-type(6), 
    .find-by.filter-cat-only form .wpas-html:nth-of-type(4){
        width: 120px;
        margin-left: -120px;
    }
}

@media screen and (max-width: 992px) {
    /*filter report*/
    .filter-row:before{
        display: none;
    }

    .filter-row #filter-form-reports form{
        flex-wrap: wrap;
    }

    .filter-row form #wpas-tax_grant_programs, 
    .filter-row form #wpas-tax_report_types{
        -ms-flex: 0 0 43%;
        flex: 0 0 43%;
        max-width: 43%;
    }

    .filter-row #wpas-search_query{
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        border-left: none;
        border-top: 1px solid #336575;
        position: relative;
    }

    .filter-row #wpas-search_query:before,
    .filter-row #wpas-search_query:after{
        content: "";
        position:absolute;
        display: block; 
        width: 400px;
        height: 1px;
        background-color: #336575;
        left: -400px;
        top: -1px;
    }

    .filter-row #wpas-search_query:after{
        left: initial;
        right: -400px;
    }

    #filter-form-reports .btn.dropdown-toggle span,
    #filter-form-reports .btn.dropdown-toggle{
        height: 75px;
        line-height: 75px;
    }

    .filter-row #wpas-search_query input[type="text"]{
        padding: 0;
    }

    .filter-row #wpas-submit,
    .filter-row form .wpas-html:nth-of-type(7){
        top:initial;
        bottom: 16px;
    }

    .filter-row form .wpas-html:nth-of-type(7){
        position: absolute;
        right: -2px;
    }

    .filter-row form .wpas-html a.search-clear,
    .find-by form .wpas-html a.search-clear{
        width: 106px;
    }

    .find-by form .wpas-html a.search-clear{
        margin-top: 18px;
    }

    .filter-row form .wpas-html:first-of-type{
        -ms-flex: 0 0 14%;
        flex: 0 0 14%;
        max-width: 14%;
    }

    .filter-row #wpas-submit input[type="submit"]{
        min-width: 106px;
        font-size: 16px;
        margin-right: -2px;
    }

    .filter-row form .wpas-html:nth-of-type(7){
        width;
        width: 106px;
        margin-left: -106px;
    }
}

@media screen and (max-width: 991px) {
    /*filter resources*/
    .hero-search .label-text,
    #filter-form,
    #filter-form.filter-resources #wpas-tax_grant_programs, 
    #filter-form.filter-resources #wpas-tax_resource_type,
    #filter-form.filter-resources #wpas-search_query{
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;    
        margin: 0;
        border: none;
        border-radius: 0;
    }

    #filter-form #wp-advanced-search, 
    #filter-form #wpas-tax_grant_programs, 
    #filter-form #wpas-search_query, 
    #filter-form #faq-filter{
        flex-wrap: wrap;
    }

    #filter-form #wpas-submit{
        top: initial;
        bottom: 15px;
    }

    /*filter faq*/
    .hero-search #filter-form #wpas-tax_grant_programs,
    .hero-search #filter-form #wpas-tax_topic,
    #filter-form #wpas-search_query,
    #filter-form.search-trainings-form-topic #wpas-search_query{
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;    
        margin: 0;
        border: none;
        border-radius: 0;
    }

    /*filter report*/
    .filter-row form .wpas-html:first-of-type{
        -ms-flex: 0 0 14%;
        flex: 0 0 14%;
        max-width: 14%;
    }
}
@media screen and (max-width: 989px) {
    #filter-form #wpas-submit {
        position: absolute;
        top: 1.05rem;
        right: 7rem !important;
    }
}
@media screen and (max-width: 767px) {
    #filter-form #wpas-submit input[type="submit"]{
        min-width: 99px;
    }

    .filter-row{
        padding: 25px 0;
    }

    /*filter reports*/
    .filter-row #wpas-search_query:before,
    .filter-row #wpas-search_query:after{
        display: none;
    }

    .filter-row form #wpas-tax_grant_programs, 
    .filter-row form #wpas-tax_report_types,
    .filter-row #wpas-search_query,
    .filter-row form .wpas-html:first-of-type{
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .filter-row #wpas-search_query input[type="text"]{
        padding: 1.5rem;
        max-width: 100%;
    }

    .find-by form .wpas-html:not(:first-of-type){
        flex: none;
        width: 42px;
        margin-left: -42px;
        }

        .filter-row form .wpas-html:nth-of-type(7) {
    width: 106px;
    margin-left: -106px;
}

    .filter-row form .wpas-html a.search-clear{
        line-height: 54px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-left: none;
        background-color: #163c4f;
        margin: 0;
        padding: 0;
        height: initial;
        }
}

/*form reports responsive*/
@media screen and (max-width: 767px) {
    .filter-row #wpas-search_query #search_query {
        border: 2px solid #ffffff;
        height: 58px;
        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 4px;
    }

    .filter-row #wpas-submit {
        bottom: 16px;
    }

    .filter-row #wpas-submit input[type="submit"] {
        height: 58px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-left: none;
        background-color: #163c4f;
    }

    #filter-form .btn.dropdown-toggle, #filter-form-reports .btn.dropdown-toggle {
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width: 497px) {
    .find-by form .wpas-html:not(:first-of-type){
        width: 35px;
        margin-left: -35px;
    }
}

@media screen and (max-width: 485px) {
    .filter-row #wpas-search_query {
        width: auto !important;
    }

    .filter-row #wpas-submit {
        float: none;
        overflow: hidden;
        text-align: left;
        width: 69px;
    }

    .filter-row #wpas-search_query input[type="text"] {
        padding-right: 8px;
        padding-left: 8px;
    }

    .filter-row #wpas-submit input[type="submit"] {
        font-size: 13px;
        min-width: auto;
    }
}

@media screen and (max-width: 350px) {
    .filter-row #wpas-search_query #search_query {
    }
}

@media screen and (max-width: 48em) {
    #filter-form-reports .dropdown-toggle::after  {
        position: absolute;
        right: 10px;
        top: 50%;
    }

    #filter-form-reports {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .filter-row form {
        display: flex;
        flex-wrap: wrap;
    }

    .filter-row #wpas-search_query {
        flex-basis: 0;
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
    }

    #filter-form-reports .dropdown-menu.show {
        width: 100%;
    }
}

/*pagination*/
.pagination {
  margin: 20px 0;
  text-align: center;
  display: block;
}

.pagination span,
.pagination a{
  font-weight: bold;
  font-size: 14px;
  border: none;
  background-color: transparent;
  padding: 3px 8px;
  color: #003e52;
  display: inline-block;
}

.pagination span.current,
.pagination a.current{
  color: #8D2A4D;
}

.pagination ul.page-numbers li{
    margin: 0;
    padding: 0;
    display: inline-block;
}

.pagination ul.page-numbers li:before{
    display: none;
}

/*FAQ cat page*/
.text-uppercase.filter-result{
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  font-family: "Source Serif Pro", serif;
  color: #003e52;
}

.text-uppercase.filter-result h3 {
    display: inline;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    font-family: "Source Serif Pro", serif;
    color: #003e52;
}

#accordion .card-header,
#accordion .card,
#accordion .card-body{
    border: none;
    background: transparent;
    margin: 0;
    padding: 0;
}

#accordion .card{
    margin-bottom: 25px;
}

#accordion .card-header{
    padding: 0 30px 0 50px;
}

#accordion .card-header:before{
    content: "Q:";
    position: absolute;
    left: 0;
    top: 0;
}

#accordion .card-body{
    margin-top: 25px;
}

#accordion .card-header:before,
#accordion .card-body .answer{
    font-weight: 600;
    font-family: "Source Serif Pro", serif;
    font-size: 34px;
    line-height: 40px;
    color: #3d1152;
}

#accordion .card-body .answer{
    line-height: 36px;
}

#accordion .card-header p.card-header-title {
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    font-family: "Source Serif Pro", serif;
    color: #003e52;
}

#accordion button.btn-title{
    text-align: left;
    border: none;
    background: transparent;
    padding: 0;
    font-weight: 400;
    font-family: "Source Serif Pro", serif;
    font-size: 28px;
    line-height: 36px;
    color: #3d1152;
    cursor: pointer;
}

#accordion .card-body .answer{
    -ms-flex: 0 0 5.5%;
    flex: 0 0 5.5%;
    max-width: 5.5%;
}

#accordion .card-body .desc{
    -ms-flex: 0 0 94.5%;
    flex: 0 0 94.5%;
    max-width: 94.5%;
}

#accordion button.btn-title:after{
    content: "\f106";
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 34px;
    line-height: 40px;
    color: #3d1152;
}

#accordion button.btn-title.collapsed:after{
    content: "\f107";
}

#accordion .card-header {
  padding-right: 0;
}

#accordion button.btn-title {
  width: 100%;
  padding-right: 30px;
}

/*single grant*/
.single-program-overview{
    padding-top: 0;
}

.single-program-overview .home-news-box .btn.btn-absolute {
    bottom: 34px;
    right: 45px;
}

.link-wdg{
/*    position: absolute;*/
    top: 50px !important;
    position: sticky !important;
}

.link-wdg ul li:first-child{
    background: #003e52;
}

.link-wdg ul li:after{
    content: '';
    position: absolute;
    top: 27px;
    left: 0;
    background: #fff;
    width: 18px;
    height: 2px;
    display: none;
}

/*.link-wdg ul li.active a{
    background-color: #144d60;
}*/

.link-wdg ul li a:hover, .link-wdg ul li a:focus {
    background-color: #144d60;
    text-decoration: none;
}

.link-wdg ul li.active:after{
    display: block;
}

.top-title-figure {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 20px;
}

.icon-title .circle {
    width: 95px;
    height: 95px;
    overflow: hidden;
    margin: 0 auto 1rem;
    text-align: center;
    background-color: #3d1754;
    color: white;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    background-image: url("assets/img/bg-transparent-circle.png");
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: cover;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 9999px; 
}

@media screen and (min-width: 48em) {
    .icon-title .circle {
        float: left;
        margin: 0;
        margin-right: 22px; 
    }
}

.match-img-height{
    text-align: center;
    overflow: hidden;
    border-radius: 4px;
}

.form-instruction-card .col-lg-6.col-md-6{
    margin-bottom: 25px;
}

/*landing training*/
.box-training .date-time{
    font-family: "Source Serif Pro", serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.box-training .box-excerpt{
    margin-bottom: 1.6rem;
}

/*single training*/
#form-trainings h3.gform_title {
    font-size: 34px;
    line-height: 44px;
    color: #3d1152;
    font-weight: 400;
}

#form-trainings .gform_wrapper span.gform_description{
    width: 100%;
    margin-bottom: 1rem;
}

#form-trainings .gform_wrapper .top_label .gfield_label.gfield_label_before_complex{
    display: none;
}

#form-trainings .gform_wrapper .field_sublabel_above .ginput_complex.ginput_container label,
#form-trainings .gform_wrapper .top_label .gfield_label{
    display: inline-block;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 700;
    margin: 0px 0px 5px;
    color: #003e52;
    text-transform: uppercase;
    font-size: 15px;
}   

#form-trainings .gform_wrapper.gf_browser_chrome ul.gform_fields li.gfield,
#form-trainings .gform_wrapper.gf_browser_chrome ul.gform_fields li.gfield span{
    width: 100% !important;
    max-width: 100% !important;
    margin: 0px 0px 10px;
    padding: 0;
}

#form-trainings .gform_wrapper.gf_browser_chrome ul.gform_fields li.gfield span:last-of-type{
    margin: 0;
}

#form-trainings .top_label div.ginput_complex.ginput_container.gf_name_has_1, 
#form-trainings .top_label div.ginput_complex.ginput_container.gf_name_has_2, 
#form-trainings .top_label div.ginput_complex.ginput_container.gf_name_has_3{
    width: 100% !important;
}

#form-trainings input[type="text"],
#form-trainings input[type="email"],
#form-trainings textarea{
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-image: none;
    background-clip: padding-box;
    border: 1px solid #003e52;
    border-radius: 0.25rem;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

#form-trainings input[type="text"]:focus,
#form-trainings input[type="email"]:focus,
#form-trainings textarea:focus{
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

#form-trainings .gform_wrapper.gform_validation_error input[type="text"],
#form-trainings .gform_wrapper.gform_validation_error input[type="email"]{
    border-color: #8D2A4D;
    -webkit-box-shadow: 0px 0px 12px -1px rgba(0, 0, 0, 0.14);
    -moz-box-shadow: 0px 0px 12px -1px rgba(0, 0, 0, 0.14);
    box-shadow: 0px 0px 12px -1px rgba(0, 0, 0, 0.14);
}

#form-trainings .gform_wrapper .gform_footer{
    padding: 0;
    margin: 30px 0px 0px;
}

#form-trainings input[type="submit"]{
    width: 100%;
    max-width: 195px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    text-decoration: none;
    color: #8D2A4D;
    border: 2px solid #8D2A4D;
    background-color: white;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 0.7rem 0.75rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#form-trainings .gform_wrapper div.validation_error{
    display: none;
}

#form-trainings .gform_wrapper li.gfield.gfield_error, 
#form-trainings .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning{
    border: none;
    background: transparent;
    margin: 0;
    padding: 0;
}

#form-trainings .gform_wrapper .gfield_description.validation_message{
    margin: 0;
    padding: 0;
    font-style: italic;
    text-transform: uppercase;
    font-size: 13px;
    color: #8D2A4D;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 700;
    margin-bottom: 5px;
}

#form-trainings .gform_wrapper .gfield_description.validation_message:before{
    content: "\f071";
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-right: 7px;
}

/*confirmation training*/
body.training-confirmation .individual-post-content .ar-breadcrumb{
    display: none;
}

/*landing report*/
.hero-report article.desc h2{
    font-weight: 400;
    letter-spacing: 0.1em;
    border-bottom: 2px solid #ffc843;
    padding-bottom: 13px;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 24px;
    font-family: "Source Serif Pro", serif;
    color: #003e52;
}

.hero-report .desc .tagline {
    margin: 30px 0 40px;
    font-size: 34px;
    font-weight: 400;
    line-height: 44px;
    color: #3d1152;
    font-family: "Source Serif Pro", serif;
}

.hero-report article.desc a{
    text-decoration: none;
}

.feature-card header h3{
  color: #ffc843;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.feature-card p.card-title {
    margin-bottom: 1.6rem;
    font-size: 24px;
    line-height: 30px;
    color: white;
    font-weight: 400;
    font-family: "Source Serif Pro", serif;
}

.basic-card .card-title {
    margin-bottom: 1.6rem;
    font-size: 24px;
    line-height: 30px;
    color: #3d1152;
    font-weight: 400;
    font-family: "Source Serif Pro", serif;
}

.basic-card header h3,
.basic-card header p.header-title {
    color: #003e52;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.05em;
    margin-bottom: 1.6rem;
    line-height: 30px;
    font-family: "Source Serif Pro", serif;
}

/*single reports*/
.space-btw p.download-text {
    margin-bottom: 0;
    line-height: 25px;
    font-size: 19px;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 400;
    color: #003e52;
}

/*featured resources*/
.featured-resources-img,
.latest-training-img{
    overflow: hidden;
    border-radius: 4px;
}

.featured-resources-img img,
.latest-training-img img,
.single-program-overview figure img {
    height: 100%;
    max-width: none;
}

/*404*/
.page-not-found{
    text-align: center;
    font-family: "Source Serif Pro", serif;
}

.page-not-found h1{
    font-size: 60px;
    margin-bottom: 0;
}

/*loop*/
.basic-loop{
    margin-top: 40px;
}

.basic-loop h2,
.basic-loop h2 a{
    font-weight: 400;
    font-size: 28px;
    line-height: 38px;
    color: #3d1152;
    text-decoration: none;
}

.basic-loop h2 a:hover{
    background-color: transparent;
}

/*template reports*/
.single-item.slider .visualizer-actions{
    display: none;
}

.single-item.slider .slick-prev:before, 
.single-item.slider .slick-next:before{
    color: #8D2A4D;
}

.slide-chart figure{
    padding: 40px;
    max-width: 445px;
}

.feature-card h3 a{
    margin-bottom: 1.6rem;
    font-size: 24px;
    color: white;
    font-weight: 400;
    text-decoration: none;
}

.feature-card h3 a:hover{
    background: transparent;
}

.feature-card .download-link{
    color: #fff;
}

.feature-card .download-link:hover{
    color: #ffc843; 
}

.feature-card header p.header-title,
.program-overview .card-container.program-report .feature-card p.header-title {
    color: #ffc843;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.05em;
    font-family: "Source Serif Pro", serif;
    line-height: 24px;
}

/*custom breadcrumb*/
.cat-breadcrumb {
    background-color : #0b2b3a;
    color: #fff;
    padding: 20px 0;
}

.cat-breadcrumb a{
    color: #fff;
    font-weight: normal;
    text-decoration: none;
}

.cat-breadcrumb a:hover{
    background: transparent;
    color: #ffc843;
}

.cat-breadcrumb i{
    margin: 0 5px;
}

.cat-breadcrumb span.post-menu.menu-single{
    color: #ffc843;
    font-weight: 600;
}

/*footer*/
.foo-part-logos .item img{
    max-width: 155px\9;
    max-height: 55px\9
}

#signup-form {
    overflow: hidden;
}

#signup-form ul li:before{
    display: none;
}

#signup-form .gform_wrapper,
#signup-form .gform_wrapper ul.gform_fields li.gfield,
#signup-form .gform_wrapper .top_label div.ginput_container,
#signup-form .gform_wrapper .gform_footer {
    padding: 0;
    margin: 0;
    clear: none;
    width: auto;
}

#signup-form .gform_wrapper ul.gform_fields li.gfield{
    width: 100% !important;
    max-width: 100% !important;
}

#signup-form .gform_wrapper .gform_footer{
    max-width: 158px;
    border: none;
    position: absolute;
    right: 2px;
    top: 2px;
    border-radius: 0;
}

#signup-form .gform_wrapper form{
    width: 100%;
    float: left;
}

#signup-form .gform_wrapper .top_label .gfield_label,
#signup-form .gform_ajax_spinner{
    display: none;
}

#signup-form input[type="text"]{
    background-color: rgba(255, 255, 255, 0.4);
    height: 54px;
    font-family: "Source Serif Pro", serif;
    border: none;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    width: 100%;
    color: #495057;
    border: 2px solid white;
    border-radius: 0.25rem;
}

#signup-form input[type="submit"]{
    cursor: pointer;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    text-decoration: none;
    background-color: #14859c;
    width: 158px;
    height: 50px;
    border: none;
    color: #ffc843;
    margin: 0;
    display: inline-block;
    padding: 0.375rem 0.75rem;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#form-trainings input[type="submit"]:hover,
#form-trainings input[type="submit"]:focus{
    text-decoration: none;
    background-color: rgba(160, 48, 88, 0.2);
    border-color: #8D2A4D;
    color: #8D2A4D;
}

/*form error style*/
#signup-form .gform_wrapper li.gfield.gfield_error{
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

#signup-form .gform_wrapper div.validation_error{
    padding: 0;
    margin:0 0 5px;
    border: none;
    font-size: 13px;
    font-weight: normal;
    text-align: left;
    color: #8D2A4D;
}

#signup-form .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.gfield_description{
    border: none;
    color: #8D2A4D;
    font-size: 13px;
    font-weight: normal;
    padding: 0;
    margin: 0;
}

#signup-form .gform_confirmation_message{
    margin-top: 10px;
}

#newsletter-head,
#newsletter-head-mobile {
    overflow: hidden;
}

#newsletter-head .gform_wrapper,
#newsletter-head .gform_wrapper ul.gform_fields li.gfield,
#newsletter-head .gform_wrapper .top_label div.ginput_container,
#newsletter-head .gform_wrapper .gform_footer,
#newsletter-head-mobile .gform_wrapper,
#newsletter-head-mobile .gform_wrapper ul.gform_fields li.gfield,
#newsletter-head-mobile .gform_wrapper .top_label div.ginput_container,
#newsletter-head-mobile .gform_wrapper .gform_footer {
    padding: 0;
    margin: 0;
    clear: none;
    width: auto;
}

#newsletter-head .gform_wrapper ul.gform_fields li.gfield,
#newsletter-head-mobile .gform_wrapper ul.gform_fields li.gfield{
    width: 100% !important;
    max-width: 100% !important;
}

#newsletter-head .gform_wrapper .top_label .gfield_label,
#newsletter-head-mobile .gform_wrapper .top_label .gfield_label{
    display: none;
    color: #ffffff;
    background-color: #1c3961;
}

#newsletter-head .gform_wrapper .top_label .gfield_label .gfield_required,
#newsletter-head-mobile .gform_wrapper .top_label .gfield_label .gfield_required {
    color: #ffffff;
    background-color: #1c3961;
}

#newsletter-head input[type="text"],
#newsletter-head-mobile input[type="text"]{
    background-color: #4d7886;
    height: 52px;
    color: #ffffff !important;
    padding-right: 113px;
    font-family: "Source Serif Pro", serif;
    border: none;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    width: 100%;
    color: #495057;
    border: 2px solid white;
    border-radius: 0.25rem;
}

#newsletter-head .gform_wrapper .gform_footer,
#newsletter-head-mobile .gform_wrapper .gform_footer{
    max-width: 120px;
    border: none;
    position: absolute;
    right: 2px;
    top: 2px;
    border-radius: 0;
}

#newsletter-head input[type="submit"],
#newsletter-head-mobile input[type="submit"]{
    cursor: pointer;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9em;
    width: 120px;
    height: 48px;
    border: none;
    color: #fff;
    background-color: #003e52;
    margin: 0;
    display: inline-block;
    padding: 0.375rem 0.75rem;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#newsletter-head .gform_wrapper li.gfield.gfield_error,
#newsletter-head-mobile .gform_wrapper li.gfield.gfield_error{
    background: transparent;
    border: none;
    padding: 0;
    margin: 0 !important;
}

#newsletter-head .gform_wrapper .gfield_error input[type=text],
#newsletter-head-mobile .gform_wrapper .gfield_error input[type=text]{
    margin: 0 !important;
}

#newsletter-head .gform_wrapper div.validation_error,
#newsletter-head .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.gfield_description,
#newsletter-head-mobile .gform_wrapper div.validation_error,
#newsletter-head-mobile .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.gfield_description{
    display: none;
}

#newsletter-head .gform_wrapper li.gfield.gfield_error input[type="text"],
#newsletter-head-mobile .gform_wrapper li.gfield.gfield_error input[type="text"]{
    border-color: #8D2A4D;
}

#newsletter-head .gform_confirmation_message,
#newsletter-head-mobile .gform_confirmation_message{
    height: 52px;
    background-color: #003e52;
    border: 1px solid #4d7886;
    border-top: transparent;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 16px 0 11px;
    text-align: center;
}

#newsletter-head #gform_confirmation_wrapper_8 .gform_confirmation_message,
#newsletter-head-mobile #gform_confirmation_wrapper_8 .gform_confirmation_message{
    border: none;
}

/*tooltip*/
.tooltip-inner {
  max-width: 450px !important;
}

span.text-tooltip{
  border-bottom: 1px dotted #858585;
  cursor: help;
}

/*search page*/
.no-result a {
    font-weight: 700 !important;
    text-decoration: underline !important;
    color: #8D2A4D !important;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

.no-result a:hover{
    color: #8D2A4D !important;
    background-color: rgba(160, 48, 88, 0.3) !important;
}

/*------------------------------------*\
    Update after lauch
\*------------------------------------*/
/*update search main*/
@media screen and (max-width: 992px){
    .search-main .form-control,
    .search-main .search-main--act,
    .search-main .search-main--act .fa{
        height: 56px;
        line-height: 60px;
    }   

    .tertiary-nav-box .gform_wrapper ul.gform_fields,
    .tertiary-nav-box .gform_wrapper ul.gform_fields li{
      padding: 0 !important;
      margin: 0 !important;
    }

    #newsletter-head input[type="text"],
    #newsletter-head-mobile input[type="text"]{
      height: 56px;
    }

    #newsletter-head input[type="submit"],
    #newsletter-head-mobile input[type="submit"]{
      height: 52px;
    }
}

.printversion {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: white;
    text-decoration: none;
    text-align: right;
}

.printversion a{
    color: #003e52;
    text-decoration: none;
}

.printversion a:hover{
    background: transparent;
    text-decoration: underline;
}

.page-break { display: none; }

.btn.btn-dark.blue {
    background-color: #14859c;
    width: 100%;
}

.btn.btn-dark.blue:hover,
.btn.btn-dark.blue:active{
    background-color: #327991;
}

/*Accessibility*/
.mobile-nav nav ul li a:active, .mobile-nav nav ul ul.sub-menuNav li a:hover, .mobile-nav nav ul ul.sub-menuNav li a:focus, .mobile-nav nav ul ul.sub-menuNav li a:active {
    color: white;
    background-color: #0a5c79;
    text-decoration: none;
}

.tertiary-nav ul li a:hover, .tertiary-nav ul li a:focus, .tertiary-nav ul li a:active,
.tertiary-nav-box ul li a:hover, .tertiary-nav-box ul li a:focus, .tertiary-nav-box ul li a:active {
/*     color: #ffc843;
  background-color: #1c3961; */
	outline: 2px dotted;
	outline-offset: 5px;
}

.main-nav ul li > a:hover, .main-nav ul li > a:focus, .main-nav ul li > a:active {
    color: #ffc843;
    text-decoration: none;
    background-color: transparent;
}

.foo-address a:hover, .foo-address a:focus, .foo-address a:active {
    background-color: #003e52;
    color: #ffc843;
}

.main-nav ul li ul a:focus, .main-nav ul li ul a:active {
    background-color: #ebf0f1;
    text-decoration: underline;
    color: #003e52;
}

.cat-breadcrumb a:hover, .cat-breadcrumb a:focus, .cat-breadcrumb a:active {
    background: #0b2b3a;
    color: #ffc843;
}

.filter-row form .wpas-html a.search-clear, .find-by form .wpas-html a.search-clear{ background-color: #1a5264; }