@import url('https://fonts.googleapis.com/css?family=Merriweather:400,700|Montserrat:400,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap');

/*
blue #003478
orange #d87819
*/
body, html {font-size: 16px;} /* override semantic.css*/

body{
  font-family: 'Poppins', serif;
  margin: 0;
}

div.page{
    margin: 60px auto;
    max-width: 1140px;
  line-height: 1.5;
}

div.register{
  margin: 40px 20% 80px;
}

h1, h2, h3, h4, h5, h6, header, .navigation, .logout, input, label, .notify{
  font-family: 'Poppins', sans-serif;
  color: #2f2f2f;
}

h1{
  font-size: 40px;
  color: #d87718;
  font-weight: normal;
  text-align: left;
  margin-bottom: 5%;
}

.index h1{
  font-size: 24px;
  text-align: left;
  margin: 10px 20px;
}

h2{
  font-size: 30px;
  margin-top: 50px;
  font-weight: normal;
}

h3,h4,h5,h6 {
    margin: 35px 0 10px 0;
}
h3 {
    font-size: 25px;
    font-weight: normal;
}
h4 {
    font-size: 20px;
    font-weight: normal;
}
h5 {
    font-size: 18px;
    color: #d87718;
}
h6 {
    font-size: 16px;
}

p {
  line-height: 1.7;
}
a{
  color: #003478;
  text-decoration: none;
  font-weight: 600;
}

a:hover{
  text-decoration: underline;
}

a.nostyle {
    text-decoration: none;
    color: inherit;
    cursor: auto;
}

div.page th{
  font-size: 18px;
  padding: 20px 0px;
  font-family: 'Montserrat', sans-serif;
}

div.page td{
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

ul{
  border: none;
  margin-left: 0;
  padding-left: 20px;
}

ul li {
    margin-bottom: 6px;
}

ul ul {
    margin: 10px 0;
}

header{
  overflow: auto;
}

@media handheld, only screen and (max-width: 1200px) {

  div.page {
      padding: 0 3%;
  }
}
@media handheld, only screen and (max-width: 767px) {

  div.page {
      margin: 40px auto;
  }
}

@media handheld, only screen and (max-width: 400px) {

  body {
    font-size: 14px;
}

  h1{
    font-size: 28px;
}

  h2{
    font-size: 24px;
    margin-top: 36px;
  }

  h3,h4,h5,h6 {
      margin: 26px 0 10px 0;
  }

  h3 {
      font-size: 20px;
  }
  h4 {
      font-size: 18px;
  }
  h5 {
      font-size: 16px;
  }
  h6 {
      font-size: 14px;
  }

  div.page {
      margin: 40px 0;
}

}
div.navigation{
  padding: 0 10px;
  text-align: center;
}

.navigation span{
  display: inline-block;
  margin: 0 10px;
  padding-bottom: 5px;
}

.navigation a, a.logout{
  text-decoration: none;
  color: #003478;
}

.navigation span.active, .navigation span:hover, a.logout:hover{
  border-bottom: 4px solid #58595B;
}

.navigation span.active a{
  color: black;
}

a.logout{
  position: absolute;
  top: 30px;
  right: 30px;
}


.notify{
  color: white;
  font-size: 13px;
  position: absolute;
  right: 0;
  width: 260px;
  padding: 10px 20px;
  border-radius: 0 0 0 10px;
  background-color: rgba(0,0,0,0.8);
  box-sizing: border-box;
  z-index: 99;
}

.notify a {
    color: #ff8308;
}

footer{
  color: white;
  background-color: #58595b;
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

footer a{
  color: white;
  text-decoration: underline;
}

div.login{
  width: 100%;
  height: calc(100% - 330px);
}

.login video{
  width: 100%;
  position: absolute;
}

.login .mask{
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: rgba(0,0,0,0.65);
}

div.window{
  max-width: 700px;
  width:85%;
  margin: auto;
  padding: 20px 30px;
  background-color: white;
  line-height: 1.5;
  position: relative;
  top: 40px;
  border-radius: 3px;
  box-shadow: 1px 1px 6px 2px rgba(0,0,0,0.15);
}

.close-button{
  position: absolute;
  right: -40px;
  top: -30px;
  cursor: pointer;
}

.login label{
  display: inline-block;
  font-weight: bold;
  text-align: right;
  width: 120px;
  height: 30px;
  margin-right: 5px;
}


.submit.disabled{
  opacity: .5;
  pointer-events: none;
}

.table > *{
  display: inline-block;
}

img.pull-left{
  float: left;
  margin: 0 10px 10px 0;
}

img.img-polaroid{
  width: 60px;
}

div.media-body{
  margin-bottom: 50px;
  overflow: auto;
}

div.article{
  clear: both;
  padding: 10px 0;
  margin: 10px 0;
  border-top: 1px solid #58595b;
}

div.article::after{
  content: '';
  display: block;
  clear: both;
}

h2 + div.article{
  border: none;
  padding-top: 0;
  margin-top: 0;
}

.article p, .article ul{
  margin-left: 70px;
}
  
div.page tbody tr:nth-child(1),
div.page tbody tr:nth-child(5),
div.page tbody tr:nth-child(7){
  font-style: italic;
}

div.page tbody tr:nth-child(2) td:first-child,
div.page tbody tr:nth-child(3) td:first-child,
div.page tbody tr:nth-child(4) td:first-child,
div.page tbody tr:nth-child(6) td:first-child{
  padding-left: 40px;
}



.mobile-block, .mobile-flex {
  display: none;
}

@media (max-width: 500px),
(max-device-width: 823px) and (orientation: landscape),
(max-device-height: 823px) and (orientation: portrait) {
  .mobile-block {
    display: block;
  }

  .mobile-flex {
    display: flex;
  }



  header {
    font-size: 18px;
    line-height: 24px;
  }

  .navigation span {
    display: block;
  }

  .mobile-hamburger {
    padding: 4px;
    width: 24px;
    height: 24px;
    border-radius: 3px;
    flex-direction: column;
    justify-content: space-evenly;
  }

  .mobile-hamburger div {
    height: 4px;
    border-radius: 2px;
    background-color: #2f2f2f;
  }

  div.navigation {
    display: none;
    position: absolute;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
    top: 55px;
    left: 0;
    z-index: 1000;
  }

  .mobile-hamburger.open + div.navigation {
    display: block;
  }

  a.logout {
    top: 5px;
    right: 5px;
    font-size: 14px;
  }
}

.grid .extra-padding .column:first-child {
  padding-right: 3%;
}

.grid .extra-padding .column:nth-child(2) {
  padding-right: 3%;
  padding-left: 3%;
}

.grid .extra-padding .column:last-child {
  padding-left: 3%;
}

#team_photo {
    float: right;
    margin: 0 0 20px 20px;
    width: 50%;
}
@media handheld, only screen and (max-width: 520px) {
  #team_photo {
      float: none;
      margin: 0 0 20px 0;
      width: 100%;
  }
 
}
/*MAP*/
.sidebar h2 {font-size: 24px}
.sidebar h4 {font-size: 16px}
.no_data {font-size: 13px;}
/*HEADER AND NAV*/
.logo_header {
    display: inline-block;
    margin: 20px 0 20px 0;
    float: left;
}
.logo_brandeis {margin-left: 30px;}
#header_site_name {
    font-family: 'Montserrat';
    color: #003478;
    font-size: 36px;
    font-weight: normal;
    float: right;
    line-height: 1;
    display: inline-block;
    margin: 34px 30px 0 0;
}

#header_site_name:hover {
  text-decoration: none;
}

@media handheld, only screen and (max-width: 1120px) {
  #header_site_name {
      font-size: 26px;
      margin-top: 44px;
  }

}

@media handheld, only screen and (max-width: 940px) {
  #header_site_name {
      font-size: 22px;
  }
  .logo_brandeis {
      margin-left: 15px;
  }
 
}


@media handheld, only screen and (max-width: 830px) {
  #header_site_name {
      font-size: 27px;
      float: none;
      margin-right: 0;
      line-height: 1.4;
      margin-left: 3%;
      margin:15px 3px 15px 3%;
  }
 .logo_header {
   width:auto;
   margin-bottom: 0;
   margin-top: 15px;
 }
 .logo_brandeis {
     margin-left: 30px;
     margin-left: 3%;
 }
}
@media handheld, only screen and (max-width: 740px) {
  #header_site_name {
      font-size: 20px;
  }
}
@media handheld, only screen and (max-width: 560px) {
  #header_site_name {font-size: 20px;  }
}

@media handheld, only screen and (max-width: 380px) {
 .logo_header {
  width:41%;
 }
}
/*FOOTER*/
.blue-row {background-color: #003478;color: white;}
footer .ui.padded .extra-footer-padding{padding: 2%;}

footer .gridrow.footer_container {
  padding: 2%;
  width:100%;
  max-width: 100%;
  background-color: #003478;
  color: white;
}
.footer-contact-item {display: flex;    margin-bottom: 18px;}
.footer-contact-icon {
  flex-basis: 33px;
  flex-shrink: 0;
  padding-top: 4px;
}
.footer-contact-content {
  font-size: 14px;
  font-weight: 300;
}
.footer-links {
  text-decoration: none;
  font-weight: 300;
}
.footer-links:hover {
  text-decoration: underline;
  color: white;
}
footer .gridrow.sub-footer  {
  background-color: #012b65;
  padding: 2%;
  max-width: 100%;
  width:100%;
  font-size: 13px;
}
footer .gridrow.sub-footer a {
  font-weight: 300;
}
.explore-links p {
  margin: 0 0 10px 0;
}
.explore-links a {
  font-size: 14px;
  font-weight: 300;
  text-decoration: none;
}

.explore-links a:hover {
  text-decoration: underline;
  color: white;
}

.subscribe-input {
  width: 60%;
  border: 1px solid white;
  height: 30px;
}
.subscribe-btn {
  border: 1px solid white;
  background-color: #002c60;
  color: white;
  font-size: 13px;
  height: 30px;
  font-family: 'Poppins'; 
  vertical-align: top;
}

.footer-header {
  font-size: 18px;
  border-bottom: 2px solid #386196;
  padding-bottom: 8px;
  color: white;
  margin-bottom: 20px;
}

.disclaimer-links {
  text-align: right;
}

.disclaimer-links a {
  margin-right:5%;
}

.disclaimer-links a:last-child {
  margin-right: 0;
}


@media handheld, only screen and (max-width: 960px) {

  footer .ui.padded .extra-footer-padding {padding: 1rem 0;}
}

@media handheld, only screen and (max-width: 767px) {

  .disclaimer-links a {
    text-align: left;
    margin-bottom: 10px;
    display: block;
  }

  footer .gridrow.footer_container {
    padding: 6% 0;
  }

  footer .gridrow.sub-footer  {
    padding: 2% 0;
  }
}
/*box*/
.box_header {
    font-size: 24px;
    background-color: #b6b6b6;
    color: white;
    padding: 10px 18px;
    margin-bottom: 35px;
}
.box_item {
    margin-top: 18px;
    overflow: auto;
    margin-bottom: 20px;
    display: flex;
}

.boxes .box_item:last-child {
  margin-bottom: 34px;
}


.box_icon {
    margin-right: 20px;
    padding-top: 4px;
    flex-grow:0;
    flex-shrink:0;
    flex-basis:40px;
}


.box_link a {
    color: #d87819;
    font-size: 24px;
    font-weight: normal;
}
.box_link a:hover {
  text-decoration: none;
}

.box_desc {
    font-weight: 300;
    font-size: 20px;
    color: #2f2f2f;
}

@media handheld, only screen and (max-width: 900px) {

  .box_link a {
      font-size: 18px;
  }
  .box_icon {
      flex-basis:30px;
      margin-right: 15px;
  }
}

@media handheld, only screen and (max-width: 767px) {

  .box_link a {
      font-size: 24px;
  }
  .box_icon {
      flex-basis:40px;
      margin-right: 20px;
  }
}
/*NAVIGATION*/
.topnav {
  overflow: hidden;
  background-color: #003478;
  text-align: center;
}
.alignment {
    display: inline-block;
}
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 16px 26px;
  text-decoration: none;
  font-size: 20px;
  font-weight: normal;
}

.topnav .icon {
    display: none;
  }

.dropdown {
  float: left;
  overflow: hidden;
}


.dropdown-content {
  display: none;
  margin-top: 54px;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
      color: black;
      padding: 18px 24px;
      text-decoration: none;
      display: block;
      font-size: 18px;
      text-align: left;
      border-bottom: 1px solid #eee;
}


.topnav a:hover {
  background-color: #144c96;
  color: white;
}

.topnav .active {
  background-color: #144c96;
}


.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

.login_section {
    float: left;
    overflow: auto;
    margin-left: 35px;
}
.login_section a {
    color: #ff8308;
    font-size: 16px;
}
.login_section a:hover {
    color: #ff8308;
}
.login_section img {
    vertical-align: middle;
    margin-right: 10px;
}

@media screen and (max-width: 945px) {
  .topnav a {
      padding: 12px 16px;
      font-size: 16px;
  }

  .dropdown-content {
    margin-top: 46px;
  }
}

@media screen and (max-width: 715px) {
  .topnav a {
      padding: 10px 14px;
    font-size: 14px;
  }
  .login_section {
      margin-left: 10px;
  }

  .dropdown-content {
    margin-top: 42px;
  }
}
@media screen and (max-width: 615px) {
  .login_section {
      margin-left: 0;
      margin-right: 10px;
      float: right;
  }
  .topnav.responsive .login_section {
      margin-left: 0;
      margin-right: 0;
      float: none;
      position: absolute;
      top: 0;
      right: 50px;
  }

  .login_section a {
    font-size: 14px;
  }
  .topnav.responsive .login_section a {
    color:#ff8308;
  }
  .alignment {
      display: block;
  }
  .topnav a:not(:first-child),  .dropdown a {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }

  .topnav a:hover,.dropdown-content a:hover {
    background-color: #144c96;
  }
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
    color: white;
    font-size: 16px;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {
    position: relative;
    margin-top: 0;
    display: block;
    background-color: #003478;
    box-shadow: none;
  }


  .topnav a, .dropdown-content a {
      border-top: 1px solid #0d3262;
      border-bottom: 1px solid #0c4083;
      font-size: 16px;
  }

  .dropdown-content a {
    padding: 12px 16px 12px 40px;
  }
}

/*CUSTOM ANALYSIS*/
.stats_container {
    background-color: #003478;
    color: white;
    text-align: center;
    padding: 30px 3%;
    overflow: auto;
  }

.stats {
    overflow: auto;
    margin: 0 auto;
    width: 93%;
    max-width: 800px;
    display: inline-block;
}
.stat {
    float: left;
        max-width: 200px;
        width: 24%;
        margin-right: 13%;
  }

.stats .stat:last-child {
  margin-right: 0;
}
.stat_number {
    font-size: 66px;
    text-align: left;
    margin-bottom: 15px;
    line-height: 1.1;
}

.stat_desc {
    text-align: left;
}

.quote {
    font-family: 'EB Garamond';
    font-size: 36px;
    color: #d87819;
    max-width: 750px;
    margin: 0 auto 13px auto;
    line-height: 1.3;
    text-align: center;
}
.qoute_note {
    text-align: center;
    font-size: 18px;
    max-width: 750px;
    margin: 0 auto 66px auto;
}

.analysis_intro {
    margin-left: auto;
    margin-right: auto;
    max-width: 950px;
    margin-top: 40px;
}

#intro_photo {
    float: right;
    margin: 0 0 20px 30px;
    width: 40%;
    max-width: 259px;
}
@media handheld, only screen and (max-width: 767px) {

  .stats {
      width: 100%;
  }
  .stat {
      width: 28%;
      margin-right: 8%;
  }

}

@media handheld, only screen and (max-width: 600px) {
  .quote {
      font-size: 28px;
  }
 
}

@media handheld, only screen and (max-width: 500px) {

  .stats {
      width: 100%;
  }
  .stat {
      width: 70%;
      float: none;
      max-width: none;
      margin-right: auto;
      margin-left: auto;
      margin-bottom: 30px;
  }
  .stat_desc, .stat_number {
      text-align: center;
  }
  .stats .stat:last-child {
      margin-right: auto;
  }
}
/*ABOUT ESTIMATES*/
.splash-container {
height: 320px;
background-repeat: no-repeat;
background-position: center;
background-size:cover;
/*display: flex;
flex-direction: column;
align-items: center;*/
}

.splash-container.estimates_page {
background-image:url("../img/splash_estimates.jpg");
}

.splash-container.analysis_page {
background-image:url("../img/splash_analysis.jpg");
height: 220px;
}

.splash_title {
    color: white;
    font-size: 40px;
    padding: 30px 20px;
    background-color: #d87819;
    display: inline-block;
    margin-left: 10%;
}
.splash_text {
    color: white;
    font-size: 60px;
    margin: 60px 0 0 10%;
    line-height: 1.1;
}

@media handheld, only screen and (max-width: 450px) {
  .splash-container {
      height: 170px;
  }
  .splash_title {
      font-size: 24px;
      padding: 14px 10px;
  }
  .splash_text {
      font-size: 24px;
      margin: 20px 0 0 10%;
  }
}
/* PUBLICATIONS */
 .side_nav {margin-bottom: 50px}

 @media handheld, only screen and (min-width: 1400px) {
    .side_nav {
      position: absolute;
      left: -200px;
    }
 }
  .pub_view_more .sign {
    font-size: 25px;
    vertical-align: top;
  }

  .pub_view_more a {
    border: 2px solid #003478;
    padding: 12px;
    font-weight: normal;
    font-size: 18px;
    display: inline-block;
    background-color: #fafafa;
  }

  .pub_view_more a:hover {
    box-shadow: 0 0 0 1px #003478;
    text-decoration: none;
  }
  .pub_section_container {
    width: 100%;
    overflow: auto;
  }

  .pub_inner_container {
    max-width: 950px;
    padding: 0 2%;
  }

  .page_title {
    margin: 80px auto 2px auto; /* overflow auto from pub_section_container causing scroll bars*/
  }

  .generic_section {
    margin: 4% auto;
  }

  .gridrow.generic_posts .sixcol {
    width: 46%;
  }

  .gridrow.generic_posts .sixcol:first-child {
    margin-right: 8%;
  }

  .post {
    border-bottom: 2px solid #d6d6d6;
    margin-bottom: 40px;
  }

  .post_image {
    margin-bottom: 20px;
  }
  .post_link {
    margin-bottom: 18px;
  }

  .post_link a {
    font-size: 20px;
    font-weight: normal;
    line-height: 1.3;
  }

  .post_desc {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.4;
  }

  .post_button {
    text-align: right;
    margin-bottom: 35px;
  }

  .post_button a {
    color: #d87819;
    font-weight: normal;
    border: 2px solid #d87819;
    padding: 5px;
    font-size: 14px;
    display: inline-block;
  }

  .post_button a:hover {
    box-shadow: 0 0 0 1px #d87819;
    text-decoration: none;
  }

  @media handheld, only screen and (max-width: 767px) {
    .gridrow.generic_posts .post {
      border-bottom: 2px solid #d6d6d6;
    }

    .gridrow.generic_posts .post:last-child {
      border-bottom: 2px solid #d6d6d6;
    }

    .gridrow.generic_posts .sixcol {
      width: 100%;
      margin-right: 0;
    }
    .page_title {
      margin-top: 40px;
    }
  }


  @media handheld, only screen and (max-width: 500px) {
    .pub_view_more .sign {
      font-size: 18px;
    }
    .pub_view_more a {
      padding: 8px;
      font-size: 14px;
    }
  }

  @media handheld, only screen and (max-width: 400px) {
    .post_desc {
        font-size: 14px;
      }

      .post_link {
          margin-bottom: 14px;
          font-size: 16px;
      }

      .post_button {
          margin-bottom: 22px;
      }
      .pub_section_container {
        margin-bottom: 20px;
      }
  }
  /*Estimates*/
  .pop_estimates {margin-bottom: 3%;}

  /*infographics*/

  .infobg {
    background-color: #f2f2f2;
  }

  .info_section {
    margin: 5% auto;
  }

  .info-container {
    display: flex;
    width: 100%;
    margin-bottom: 8%;
  }
  .info-item {
    flex: 1;
    position: relative;
    margin-right: 6%;
    display: flex;
    flex-direction: column;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    max-width: 265px;
    cursor: pointer;
  }
  .info-item:last-child {
    margin-right: 0;
  }

  .info-descr {
    padding: 5%;
    background-color: #003478;
    flex-grow: 1;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: white;
  }

  .info-item.placeholder, .info-item.placeholder .info-descr {
    box-shadow: none;
    background-color: transparent;
  }

  @media handheld, only screen and (max-width: 750px) {
   

      .info-descr {
        font-size: 16px;
    }

  }


  @media handheld, only screen and (max-width: 450px) {

    .info-descr {
        font-size: 14px;
    }

    /*
    .info-item {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .info-container {
        display: block;
    }
    */
  }
/*videos*/




.videos-container {
  display: flex;
  width: 100%;
  margin-bottom: -3%;
}
.video-item {
  flex: 1;
  position: relative;
  margin-right: 6%;
  display: flex;
  flex-direction: column;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  max-width: 348px;
  cursor: pointer;
}
.video-item:last-child {
  margin-right: 0;
}

.video-descr {
  padding: 5%;
  background-color: #003478;
  flex-grow: 1;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: white;
}


@media handheld, only screen and (max-width: 750px) {
    .video-descr {
      font-size: 16px;
  }
}


@media handheld, only screen and (max-width: 450px) {

  .video-descr {
      font-size: 14px;
  }
}

/*articles and reports*/
.articles_reports {
  background-image: url(../img/bg_articles.jpg);
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100%;
  overflow: auto;
  padding-bottom: 10px;
}

.ap_header {
  font-size: 65px;
  margin: 35px auto;
  text-align: center;
  color: white;
  line-height: 1;
}
.ap_content_container {
  width: 85%;
  max-width: 1200px;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  margin: auto;
}

.ap_year {
  font-size: 50px;
  line-height: 1;
  display: inline-block;
  padding: 25px 35px;
  color: #afafaf;
  font-weight: normal;
}
.ap_year.active {
  background-color: #d87819;
  color: white;
}

.ap_year:hover {
  text-decoration: none;
  color: #777;
}

.ap_year.active:hover {
  background-color: #e67b10;
  color: white;
}
.ap_posts {
  padding: 5%;
}
/*
.ap_posts .ap_section .post:last-child {
  border-bottom: 0;
}
*/


.gridrow.ap_section {
  width: 100%;
  max-width: 100%;
}

.gridrow.ap_section .sixcol {
  width: 46%;
}

.gridrow.ap_section .sixcol:first-child {
  margin-right: 8%;
}

@media handheld, only screen and (max-width: 767px) {
  .ap_posts .ap_section .post {
    border-bottom: 2px solid #d6d6d6;
  }

  .ap_posts .ap_section .post:last-child {
    border-bottom: 2px solid #d6d6d6;
  }

  .gridrow.ap_section .sixcol {
      width: 100%;
      margin-right: 0;
  }
}

@media handheld, only screen and (max-width: 650px) {
  .ap_year {
    padding: 20px 24px;
    font-size: 30px;
  }

  .ap_header {
      font-size: 50px;
  }
}

@media handheld, only screen and (max-width: 500px) {
  .ap_year {
    padding: 16px 20px;
    font-size: 20px;
  }

  .ap_header {
      font-size: 30px;
  }
  .ap_content_container {
      width: 90%;
  }
}

/*DATA PAGE*/

#data_page .far {
    margin: 0 6px;
  } /*font awesome icon*/

/* TABS */
.section_title {
  font-size: 34px;
  line-height: 1;
  display: table;
  padding: 18px 24px;
  color: white;
  background-color: #353535;
  margin-bottom: 30px;
}

.section_year {
  font-size: 34px;
  line-height: 1;
  display: inline-block;
  padding: 18px 24px;
  color: #afafaf;
  margin-bottom: 60px;
  font-weight: normal;
}
.section_year.active {
  background-color: #d87819;
  color: white;
  animation: fadeIn ease 1s;
}

@keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

.section_year:hover {
  text-decoration: none;
  color: #777;
}

.section_year.active:hover {
  background-color: #e67b10;
  color: white;
}



@media handheld, only screen and (max-width: 670px) {
  .section_year, .section_title{
    font-size: 20px;
    padding: 10px 14px;
    margin-bottom: 20px;
  }

  .section_year {
    margin-bottom: 30px;
  }

}



@media handheld, only screen and (max-width: 410px) {
  #data_page .section_year, #data_page .section_title {
    font-size: 16px;
    padding: 8px 8px;
  }

}
/*ACCORDION (USED ON FAQS)*/
.site_accordion {
  margin: 5px 0 19px 0;
}

.site_accordion_title {
  color: #003478;
  cursor: pointer;
  font-size:20px;
  transition: background-color 0.5s ease;
}

.site_accordion_title:before {
  content: url("../img/icons/arrow_closed.png");
  margin-right: 20px;
}

.site_accordion_title_open {
}

.site_accordion_desc_open {
  display: block !important;
}

.site_accordion_title_open:before {
  content: url("../img/icons/arrow_open.png");
}

.site_accordion_desc {
  display: none;
  padding: 15px 1.5% 15px 37px;
  max-width: 900px;
  font-size: 18px;
  line-height: 1.9;
  overflow: auto;
}

.site_accordion_desc p {line-height: 1.9;}

.site_accordion_desc h2, .site_accordion_desc h3, .site_accordion_desc h4, .site_accordion_desc h5, .site_accordion_desc h6 {margin-top: 0;}

@media handheld, only screen and (max-width: 600px) {
  .site_accordion {
      margin-bottom: 10px;
  }
  .site_accordion_title:before {
      top: 2px;
      position: relative;
    }

  .site_accordion_title {
    font-size:16px;
  }

  .site_accordion_desc {
    font-size: 14px;
    line-height: 1.9;
  }
}

/*MISC*/
.clearfix:after {visibility: hidden;display: block;content: "";clear: both;height: 0;} /*clear fix*/
.restrict_width {max-width: 850px !important; }
.relative {position: relative; }
.hide {display: none;}
.list_spacing {
    border: none;
    margin-left: 0;
    padding-left: 20px;
}
.list_spacing li {
    margin-bottom: 6px;
}
.nudge_right {margin-right: 7px;}
.small_link_orange {color: #d87819;font-size: 14px;}

/*flex forms*/
.place_asterisk:before {color: #A71930;content: "* ";}
.form_item {
    display: flex;
    max-width: 460px;
}
.form_labels, .empty_label {
    flex-grow: 0;
    flex-shrink: 0;
    /* flex-basis: 130px; */
    margin-right: 10px;
    padding-top: 12px;
}
.form_control, .submit_control {
  flex-grow: 1;
}
.form_control input[type="text"], 
.form_control    input[type="password"], 
 .form_control   input[type="datefield"], 
 .form_control   input[type="file"], 
 .form_control   input[type="email"]  {
  font-size: 14px;
  padding: 10px;
  margin: 5px 0px;
  width: 100%;
}

.submit_control   input[type="submit"] {
    background-color: #003478;
    color: white;
    font-size: 20px;
    padding: 10px 24px;
    border: none;
    margin-top: 10px;
}

.bold_labels .form_labels {font-weight: bold;}
.right_labels .form_labels {text-align: right;}

@media handheld, only screen and (max-width: 500px) {
  .right_labels .form_labels {
      text-align: left;
  }
  .form_labels {
    flex-basis: 100%;
  }
  .empty_label {display: none;}
  .submit_control {width:100%;}

  .form_item {
    flex-wrap: wrap;
  }
}
/*spacing*/
.no_margin {margin:0 !important;}
.no_margintop {margin-top:0;}
.no_marginbottom {margin-bottom:0 !important;}
.no_paddingtop {padding-top:0 !important;}
.margin_top {margin-top:20px;}
.margin_bottom {margin-bottom:20px;}
.margin_left {margin-left:20px;}
.margin_right {margin-right:20px;}
.flex {display: flex;}
/*location*/
.div_center {margin-left: auto;margin-right: auto;}
.content_middle {text-align:center;}
.indent {margin-left: 20px;margin-top: 3px;}
.content_right {text-align:right;}
.content_left {text-align:left;}

/*text*/
.no_bold {font-weight: normal;}
.deemphasize {color: #555555;}
.disclaimertext {font-size:13px;}
/* ==================================================================================================================== */
/* ! The 1140px Grid V2 by Andy Taylor \ http://cssgrid.net \ http://www.twitter.com/andytlr \ http://www.andytlr.com   */
/* ==================================================================================================================== */

.custom_container .onecol, 
.custom_container .twocol, 
.custom_container .threecol, 
.custom_container .fourcol, 
.custom_container .fivecol, 
.custom_container .sixcol, 
.custom_container .sevencol, 
.custom_container .eightcol, 
.custom_container .ninecol, 
.custom_container .tencol, 
.custom_container .elevencol {
    /*margin-bottom: 30px;*/
}

.onecol:after, .twocol:after, .threecol:after, .fourcol:after, .fivecol:after, .sixcol:after, .sevencol:after, .eightcol:after, .ninecol:after, .tencol:after, .elevencol:after {
  visibility: hidden;display: block;content: "";clear: both;height: 0;
  } /*clear fix*/

.onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol, .sevencol, .eightcol, .ninecol, .tencol, .elevencol {
  float: left;
  min-height: 1px;
  margin-right: 3.8%;
}

.nested_fw {} /*use this class when the framework is nested in containers that already have padding/margin applied*/

.nested_fw .gridrow {min-width: 0;}

.gridrow {
    max-width: 1140px;
    /*min-width: 680px;*/
    padding: 30px 0;
    /*overflow: hidden;*/
    width: 100%;
}

.gridrow:after {visibility: hidden;display: block;content: "";clear: both;height: 0;} /*use clear fix instead of overflow:hidden*/

.blue_row {background-color: #003478;color: white;}

.no_padding_row {padding:0;}
.no_side_padding_row {padding-left:0;padding-right:0;}



.withborder {
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

/*.border {
  border: 1px solid #e5e5e5;
}*/

.onecol {width: 4.85%;}
.twocol {width: 13.45%;}
.threecol {width: 22.05%;}
.fourcol {width: 30.75%;}
.fivecol {width: 39.45%;}
.sixcol {width: 48%;}
.sevencol {width: 56.75%;}
.eightcol {width: 65.4%;}
.ninecol {width: 74.05%;}
.tencol {width: 82.7%;}
.elevencol {width: 91.35%;}
.twelvecol {width: 100%;float: left;}
.lastcol {margin-right: 0px;}
.featurecol {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  background-color: #f6f6f6;
  padding: 20px;
}
img, object, embed {max-width: 100%;}
img {height: auto;}

/* Mobile */

@media handheld, only screen and (max-width: 767px) {

  .gridrow, .container {
    width: 100%;
    min-width: 0;
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 0px;
    padding-right: 0px;
  }
  
  .no_padding_row .onecol, .no_padding_row .twocol, .no_padding_row .threecol, .no_padding_row .fourcol, .no_padding_row .fivecol, .no_padding_row .sixcol, .no_padding_row .sevencol, .no_padding_row .eightcol, .no_padding_row .ninecol, .no_padding_row .tencol, .no_padding_row .elevencol, .no_padding_row .twelvecol {
    padding-left: 0;
    padding-right: 0; 
  }

  .no_side_padding_row .onecol, .no_side_padding_row .twocol, .no_side_padding_row .threecol, .no_side_padding_row .fourcol, .no_side_padding_row .fivecol, .no_side_padding_row .sixcol, .no_side_padding_row .sevencol, .no_side_padding_row .eightcol, .no_side_padding_row .ninecol, .no_side_padding_row .tencol, .no_side_padding_row .elevencol, .no_side_padding_row .twelvecol {
    padding-left: 0;
    padding-right: 0; 
  }

  .onecol,  .twocol,  .threecol,  .fourcol,  .fivecol,  .sixcol,  .sevencol,  .eightcol,  .ninecol,  .tencol,  .elevencol,  .twelvecol {
    width: auto;
    float: none;    
    margin-bottom: 40px;
    margin-left: 0px;
    margin-right: 0px;  
    padding-left: 20px;
    padding-right: 20px;
  }
  .lastcol {margin-bottom: 0;}
}