/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media (min-width: 1939px){
  .parallax{
    background-size: contain;
  }
}
@media (max-width: 1144px){
  .custom-row-1 .column2 .location{
    margin-top: 10px;
    display: flex;
    flex-wrap: nowrap;
    padding-left: 0px;
    padding-right: 0px;
    margin-top: 10px;
  }
  .custom-row-1 .column2 h2{
    padding: 0px 0px 0px 20px;
  }
}
@media (max-width: 1034px){
  .owl-carousel.newsandevents-bk .owl-prev {
      width: 25px;
      height: 35px;
      position: absolute;
      top: 43%;
      left: -15px;
      display: block !important;
  }
  .owl-carousel.newsandevents-bk .owl-next {
      width: 25px;
      height: 35px;   
      position: absolute;
      top: 43%;
      right: -15px;
      display: block !important;
  }
}
@media (max-width: 1051px){
  .section-index-3 .custom-column {
    width: 100%;
  }
  .custom-row-1 .column2 {
    background-color:#043174;
    padding: 30px !important;
  }
  .custom-row-1 .column2 .location{
    /* border: solid 1px red; */
    width: 100%;
  }
}
@media (max-width: 1023px){
  .section-cong-col-2{
    display: none;
  }
  .section-cong-2 .section-cong-col-1{
    width: 100%;
    text-align:center;
  }
  .cong_tab_content div{
    text-align: left;
    /* padding-left: 10px; */
    padding-right: 10px;
  }

  .cong_tab_content h2{
    text-align: left;
    /* padding-left: 10px; */
  }

  .calendar-of-events .main-calendar{
    width: 100%;
    max-width: 600px;
    height: auto;
  }
}
@media (max-width: 991px) {
  .section-index-5 .gallery-text{
    display: none;
  }
  .tab-content-main div .tab_header_alc_btn span {
    font-size: .9rem;
  }
}


@media screen and (max-width: 800px){
  .owl-carousel.newsandevents-bk .owl-prev {
      left: -40px !important;
  }

  .owl-carousel.newsandevents-bk .owl-next {
      right: -40px !important;
  }

  .owl-carousel.newsandevents .owl-prev {
      left: -40px !important;
  }

  .owl-carousel.newsandevents .owl-next {
      right: -40px !important;
  }
}
@media (max-width: 810px){
  .navbar ul.navbar-nav li.nav-item, a.nav-link{
    margin: 0 5px 0 5px;
  }
}
@media (max-width: 768px){
  .custom-row-2 .column2-1, .custom-row-2 .column2-2{
    display: none;
  } 
  .div-accordion{
    display: block;
  }
  .section-5th-sub-3{
    display: none!important;
  }
  .div-accordion-5th-district{
    display: block!important;
  }
  .tab-content-main div .tab_header_alc_btn span {
    font-size: .8rem;
  }
  .tab-content-main div .tab_header_alc_btn{
    /* border: solid 1px red; */
    padding: 2px;
    text-align: center;
  }
  .tab-content-main div .tab_header_alc_btn:nth-child(1), .tab-content-main div .tab_header_alc_btn:nth-child(3), .tab-content-main div .tab_header_alc_btn:nth-child(4){
    width: 100%;
    max-width: 120px;
  }
  .sub_tab_content:nth-child(1n+2) {
    width: 100%;
    max-width: 800px;
    padding: 20px 0px;
  }
  .calendar-of-events .main-calendar{
    width: 100%;
    max-width: 500px;
    height: auto;
  }
}

@media (max-width: 767px){
  a.nav-link:before {
    top: -2px !important;
  }
  .navbar ul.navbar-nav li.nav-item, a.nav-link{
    padding: 5px;
  }
  .content-alc-2 div i {
    background-color: #fff;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 25px;
    position: absolute;
    right: 50%;
    top: -25px;
    transform: translate(50%, 50%);
    color: gray;
}
  .content-alc-2 div p span {
      font-family: "DroidSerif";
      font-size: 17px;
      font-weight: bold;
      color: #043174;
  }

  .content-alc-2 div p {
      font-family: "Bol";
      font-size: 12px;
      font-weight: bold;
      color: gray;
  }

  .content-alc-2 div p .span-2 {
      font-family: "Lig";
      font-size: 11px;
      color: gray;
  }

  .section-5th-sub-col-content-alc-2 .content-alc-2 div {
      border: solid 1.5px gray;
      text-align: center;
      padding-top: 5px;
  }
  .panel-5th-district .section-5th-sub-col-content-alc-2 .content-alc-2 {
    width: 100%;
    height: auto;
    max-width: 295px;
    padding: 2px;
    position: relative;
  }
  .panel-5th-district .section-5th-sub-col-content-alc-2 {
    display: flex;
    flex-wrap: nowrap;
    margin-top: 23px;
    justify-content: center;
  }
  .section-cong-2{
    width: 100%;
    /* border: solid 1px red; */
    margin-bottom: 55px;
    justify-content: center;
  }
  .section-cong-col-1-sub-div{
    background-image: url("../images/cong-message.PNG");
    background-size: contain;
    background-repeat: no-repeat;
    height: 100%;
    background-position: center;
    overflow: scroll;
    padding: 0px; 
  }
  .section-cong-col-1-sub-div-2{
    background: rgba(255, 255, 255, 0.6);
    height: 100%;
    padding: 10px; 
    overflow: scroll;
  }
  .section-cong-2{
    display: flex;
    flex-wrap: wrap;
    display: relative;
    width: 100%;
  }
  .section-cong-2 .section-cong-col-1 img{
    /* position: relative; */
    display: none;
  }
  .section-cong-col-1-sub-div{
    display: block;
  }
  .section-proj-2 .section-proj-2-col{
    padding: 30px 0 0 0;
    width: 100%;
  }
  .section-proj-2-col .tablink_proj {
    padding: 0;
  }
  .active-link-proj span:before {
    color: red;
    content: '>';
    font-size: 35px;
    position: absolute;
    top: -17px;
    left: 0px;
  }
  .section-legis-2-sub-1-content{
    position: relative!important;
    transform: none;
    left: 0!important;
    padding: 20px 15px 15px 15px;
    background-color: #213871;
  }
  .section-legis-3 .section-legis-3-sub-1{
    background-color: #213871;
  }
  .tab-kontol-sub-col{
    width: 100%!important;
  }
  .tab-link-status-panel{
    padding: 20px 20px 0 20px;
  }
  .section-contact-5-row .section-contact-5-col{
    width: 100%;
  }

  .navbar ul.navbar-nav li.nav-item a.nav-link:hover:before {
    width: 50%;
    transition: .5s ease all;
}
  a.active-link:before {
      color: red !important;
      width: 50%;
      transition: .5s ease all;
  }
  a.nav-link:before {
    left: 0 !important;
    right: 0 !important;
    margin-left: auto;
    margin-right: auto;
  }
  .email{
    margin-bottom: 11px!important;
  }
}

@media (max-width: 635px){
.owl-carousel.newsandevents-bk .owl-prev {
    top: 20%!important;
    left: 20px!important;
  }
.owl-carousel.newsandevents-bk .owl-next {
    top: 20%!important;
    right: 20px!important;
  }

}
@media (max-width: 600px){
  .calendar-of-events .main-calendar{
    width: 100%;
    max-width: 600px;
    height: auto;
  }
  /* .section-index-4 .heading-index-4{
    margin-bottom: 20px;
  } */
  #d-view{
    display: none;
  }
  
  #m-view{
    display: block;
  }
}
@media (min-width: 601px){
  #m-view{
    display: none;
  }
}
@media (max-width: 425px){
  .section-index-sub-1-content h1{
    font-size: 30px!important;
    color: gray;
    font-family: "DroidSerif";
  }
  .section-index-4 h2{
    font-family: "DroidSerif";
    font-size: 30px!important;
    color: gray;
  }
  .section-index-6 h2{
    font-family: "DroidSerif";
    font-size: 30px!important;
    color: gray;
    padding-bottom: 5px!important;
  }
  .custom-row-1 .column2 h2 {
    font-family: "DroidSerif";
    font-size: 30px!important;
  }
  .section-5th-sub-col-content-alc-3 .content-alc-3{
    width: 100%;
  }
  .tab_header .tab_btn{
    width: 100%;
  }
  .custom-row-1 .column2 .location .left{
    padding-left: 0px!important;
    padding-top: 10px;
  }
  .custom-row-1 .column2 .location .right{
      padding-right: 0px!important;
      padding-top: 10px;
  }
  .week-event-2{
    position: absolute;
    border: solid 1px black;
    top: 8px;
    right: 2px;
    background-color: black;
    border-radius: 50%;
    height: 100%;
    width: 100%;
    max-width: 130px;
    max-height: 126px;
    padding: 11px;
  }
  .week-event-2 p .span-1{
    color: #fff;
    font-family: "Bol";
    font-size: 15px;
  }
  .week-event-2 p .span-2, .week-event-2 span{
    color: #fff;
    font-family: "Lato-Reg";
    font-size: 11px;
  }
  .parallax{
    height: 140px !important;
    width: 100%;
    /* border: solid 1px red; */
  }
  .section-legis-3 .section-legis-3-sub-1 .tab_link_kontol span{
    font-size: 15px;
  }
  .section-legis-3 .section-legis-3-sub-1 .container{
    padding-left: 0px!important;
    padding-right: 0px!important;
  }
}