/* Custom styles for the FSS API Search page */
  #fss-api-search-container {
    margin: 0 auto;
    width: 1000px;
  }

  #block-fss-content{
    background-color:#FFF;
    padding-top: 50px;
  }
  
  #fss-api-search-input {
    width: 70%;
    padding: 10px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
   
  #fss-api-search-results table {
    background: #F7F1EB;
    border-right: 1px solid #231F20;
    border-bottom: 1px solid #231F20;
    margin-top: 31px;
    width: 100%;
    border-collapse:collapse;
  }
  
  #fss-api-search-results table tr {
    border-top: 1px solid #231F20;
    width: 100%;
  }
  
  #fss-api-search-results table th {
    background: #007E8A;
    border-left: 1px solid #231F20;
    color: #fff;
    font-family: 'Baloo';
    font-size: 18px;
    line-height: 18px;
    padding: 10px;
    text-align:center;
    font-weight: 400;
  }
  
  #fss-api-search-results table td {
    border-left: 1px solid #231F20;
    color: #231F20;
    font-family: 'Nunito Sans SemiBold';
    font-size: 15px;
    line-height: 22px;
    padding: 5px;
    vertical-align: baseline;
  }

  *:not('.block-fss-footer-blocks') p {
    color: #231F20;
    font-family: 'Nunito Sans SemiBold';
    font-size: 15px;
    line-height: 22px;
  }

  form#formcontact [type=checkbox], 
  form#formcontact [type=radio] {
    margin:15px 0 0;
   }

  details summary {
    list-style: none;
  }

  details h3 {
    margin: 0;
  }
  .clear {
    clear:both;
  }
  #fss-api-search-container fieldset{
    border:none;
    padding: 0;

  }

  .api-search-info-block {
    width: 100%;
    padding:30px 0 100px 0;
    background-color: #F7F4EF;
}
.api-search-info-block span{
    margin: 0 auto;
    display:block;
    width:1000px;
}
.api-search-info-block h2{
    color: #425563;
}

#fss-api-search-container h2{
  font-family: 'Arvo';
  font-size: 24px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.75;
  letter-spacing: normal;
  color: #425563;
}

main.usa-section {
    background-color: #FFF;
    padding: 0;
}

  .x-dropdown-1 {
    width: 300px;
    font: inherit;
    font-size: 15px;
    border: 1px solid gray;
    line-height: 1.5em;
    padding: 0.5em 3.5em 0.5em 1em;
    background-color: #fff;
    margin-top: 5px;
    box-sizing: border-box;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%), linear-gradient(to right, #bbb, #bbb);
    background-position: calc(100% - 27px) calc(1em + 1px), calc(100% - 17px) calc(1em + 1px), calc(100% - 3.5em) 0.25em;
    background-size: 10px 10px, 10px 10px, 1px 2em;
    background-repeat: no-repeat;
    color: #231F20;
  }

.x-checkbox-small {
    width: 16px;
    height: 16px;
    margin-right: 10px !important;
    vertical-align: text-bottom;
}

.x-checkbox-medium {
    width: 25px;
    height: 25px;
    margin-right: 10px !important;
    vertical-align: sub;
    margin: 3px 3px 3px 4px;
}

.x-label-small {
    font-size: 16px;
    font-weight: normal;
    vertical-align: initial;
    display: initial;
}

.x-label-medium {
    font-size: 20px;
    font-weight: normal;
    vertical-align: initial;
    display: initial;
}

.x-button-medium {
    padding-left: 15px;
    padding-right: 15px;
    height: 40px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    color: #ffffff;
    background: #0A376E;
    border: 1px solid #0A376E;
    border-radius: 10px;
    cursor: pointer;
    margin-right: 10px;
}

.x-button-medium:last-of-type{
  margin-right:0;
}

.x-button-medium:hover {
outline: orange solid 2px;
outline-offset: 5px;
}

.x-button-medium:focus {
outline: orange solid 2px;
outline-offset: 5px;
}

.x-legend-1 {
    border: none;
    margin-bottom: 5px;
    font-size: 20px;
}

.x-table th {
    background: #007E8A !important;
}

#ContactInfo {
width: 100%;
height: 100%;
opacity: .98;
top: 0;
left: 0;
display: none;
position: fixed;
background-color: #313131;
overflow: auto;
z-index: 100;
}

#popupContact {
position: absolute;
left: 50%;
top: 12%;
margin-left: -150px;
/*	font-family: raleway, sans-serif;*/
background-color: white;
}

.formcontact {
max-width: 290px;
min-width: 250px;
padding: 10px 20px 10px 20px;
/* padding: 10px 50px; */
/* border:2px solid gray; */
/* border-radius: 10px; */
/* font-family: raleway;*/
background-color: #fff;
font-weight: bold
   
}

#ErrorSummary h4 {
  font:inherit;
  margin:0;
  padding:0
}

h3#contactus {
  font-weight: 700;
  margin: 0;
  padding: 0;
  display: inline-block;
}

.formcontact a {
  color:#0000EE; 
  font-weight:700;
}

.form-header {
  text-align: center;
}

/*#contactus {*/
/* background-color: #FEFFED;*/
/* padding: 20px 35px; */
/* margin: -10px -50px; */
/*text-align: center;
border-radius: 10px 10px 0 0;*/
/*font-size: xx-large;*/
/*}*/

.conditionalRequired:before {
    content: "\00b1";
    color: #000000;
    font-weight: normal;
}

.x-button-small {
    padding-left: 15px;
    padding-right: 15px;
    height: 30px;
    font-size: 16px;
    font-weight: normal;
    margin-top: 10px;
    color: #ffffff;
    background: #0A376E;
    border: 1px solid #0A376E;
    border-radius: 10px;
    cursor: pointer;
}

.x-button-small:hover,
.x-button-small:focus {
outline: orange solid 2px;
outline-offset: 3px;
}

.x-expand-collapse-button {
    border: none;
    cursor: pointer;
    background-color: #ffffff;
    color: #425563;
    font-size: 14px;
    font-weight: bold;
    font-family: Arial;
}

.x-expand-collapse-button:hover,
.x-expand-collapse-button:focus {
text-decoration: underline;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    border: 0;
    clip: rect(0,0,0,0)
}

.x-legend-contact {
    border: none;
    margin-bottom: 5px;
    /* font-size: 16px; */
    font-weight: bold;
}


.btn-contact-us {
    border: none;
    text-decoration: underline;
    cursor: pointer;
    background-color: #F7F1EB;
    color: #7C174B;
    font-size: 15px;
    line-height: 20px;
    font-weight: bold;
}

.btn-contact-us:hover,
.btn-contact-us:focus {
color: #005961 !important;
}

.conditionalRequired:before {
  content: "\00b1";
  color: #000000;
  font-weight: normal;
}

div#fss-api-search-container {
  padding-bottom: 35px;
}

#fss-api-search-results-list{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; 
  align-items: stretch;
  column-gap: 30px;
  row-gap: 40px;
  margin-top: 40px;
}

#fss-api-search-results .view-grid_card{
  width: 48%;
}

#fss-api-search-results .view-grid_card:nth-child(3n){
  margin-right:0;
}

#fss-api-search-results .view-grid_card:nth-child(6n+1)
{
  border-color: #246A65;
}
#fss-api-search-results .view-grid_card:nth-child(6n+2){
  border-color: #74A7E3;
}

#fss-api-search-results .view-grid_card:nth-child(6n+3){
  border-color:#F8C600;
}
#fss-api-search-results .view-grid_card:nth-child(6n+4){
  border-color:#AB7100;
}

#fss-api-search-results .view-grid_card:nth-child(6n+5){
  border-color:#369F94;
}
#fss-api-search-results .view-grid_card:nth-child(6n+6){
  border-color:#2B5AB9;
}

#fss-api-search-results .view-grid_card h3{
  font-family: 'Arvo';
  font-size: 18px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.28;
  letter-spacing: normal;
  color: #000;
  margin-top: 18px;
  margin-bottom: 18px;
}

.fss-api-search-results h2{
    font-size: 40px;
    padding-left:0px; 
    text-align:left;  
    color:#242424;
}

details summary,
details summary span,
a{
  color: #003087;
  text-decoration: underline;
}

details summary:hover,
details summary:hover span,
a:hover{
   color:#800080;
  text-decoration: underline;
  text-decoration-thickness: 3px;
}


@media (min-width: 960px) and (max-width: 1100px){
  .usa-nav__close{
    display:none;
  }

  .usa-layout-docs__main{
    margin:0 auto;
  }

  #fss-api-search-container{
    max-width:90%;
  }
}

@media all and (max-width: 59.9375em){
  .usa-layout-docs__main{
    margin:0 auto;
  }

  #fss-api-search-container{
    max-width:90%;
  }

  #fss-api-search-results-list{
    column-gap: 20px;;
  }

  .api-search-info-block span.more-info-block{
    max-width: 90%;
    margin:0 auto;
    width: auto;
  }

  .api-search-info-block span{
    margin:0 auto;
    width: auto;
  }
}

@media all and (max-width: 750px){
  .x-dropdown-1, #or{
    display:block;
  }
  #or{
    padding-left: 120px;
    padding-top: 6px;
  }
  #fss-api-search-select-2 + br,
  #fss-api-search-select-3 + br{
    display:none;
  }

  .api-search-info-block{
    padding-left:14px;
    padding-right:14px;
  }

  .api-search-info-block span{
    width:auto;
  }

  .api-search-info-block span li:not(:first-child){
    margin-top:15px;
  }

  #fss-api-search-results .view-grid_card{
    width:100%;
  }

  .fss-api-search-results h2{
    font-size: 30px;
  }
  #block-fss-content{
    padding-top:30px;
  }
}