/*@media (min-width: 1200px) {
.container {
    width: 1300px;
}
}*/

@media (min-width: 768px) {
    .navbar-left>li>a {
        padding-top: 9px;
        padding-bottom: 0;
        padding-left: 0;
        padding-right: 10px;
    }
    .navbar-right {
        margin-right: 0;
    }
    ul.nav li.dropdown:hover>ul.dropdown-menu {
        display: block;
    }
    .navbar-left>li.dropdown,
    .navbar-left>li.noDropdown {
        font-family: AauxProOTBlack;
        font-size: 16px;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-top: 9px;
        margin-bottom: 9px;
        border-left: 2px solid white;
        padding-left: 9px;
    }
    .navbar-left>li:first-child {
        border-left: none;
        padding-left: 0;
    }
    .logo_mobile {
        display: none;
    }
    .logo_desktop {
        display: block;
    }
  .carousel-caption {
    right: 10%;
    left: 10%;
    /* padding-bottom: 30px; */
    height: 100%;
    padding: 0;
    top: 0;
  }
  .carousel_header {
    position: absolute;
    top: -18%;
    width: 100%;
    text-align: center;
  }
  .carousel-caption .p_section {
    position: absolute;
    top: 70%;
    width: 100%;
    text-align: center;
  }
  a.carousel_link {
    position: absolute;
    bottom: 40px;
    width: 100%;
    text-align: center;
    left: 0;
    color: #ffffff;
  }
}


/*Hamburger Menu*/

@media (max-width: 767px) {
    .logo {
        position: absolute;
        z-index: 999;
    }
    .navbar-default {
        background-color: transparent;
        border-color: transparent;
    }
    .navbar-default .navbar-collapse,
    .navbar-default .navbar-form {
        background-color: lightgrey;
        /*margin-top: 2em;*/
        border-top: solid 1px grey;
    }
    .navbar-right>li>a>img {
        border-left: none !important;
        border-right: none;
        background-color: grey;
        margin-bottom: 1em;
    }
    .navbar-default .navbar-nav>li>a {
        color: #525050;
    }
    .navbar-nav>li {
        border-bottom: solid 1px grey;
    }
    .navbar-right>li {
        border-bottom: none;
    }
    .navbar-right {
        display: inline-flex;
    }
    .first_grade {
        padding-left: 0;
    }
    .navbar-collapse {
        padding-left: 0;
    }
    .navbar-right>li>a {
        padding-left: 15px;
    }
    .navbar-nav {
        margin-top: 0px;
        margin-right: 0px;
        margin-left: 1px;
    }
    .navbar-default .navbar-toggle .icon-bar {
        background-color: black;
    }
    .navbar-default .navbar-toggle {
        border: none;
    margin-right: 0;
    }
    .dropdown-submenu>a:after {
        border-left-color: grey;
    }
    .dropdown>a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #555555;
        margin-top: 8px;
        transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        /* IE 9 */
        -webkit-transform: rotate(90deg);
    }
    .navbar-default .navbar-toggle:hover,
    .navbar-default .navbar-toggle:focus {
        background-color: transparent;
    }
    .navbar-toggle .icon-bar {
        width: 40px;
        height: 5px;
        margin-bottom: 7px;
    }
    .dropdown-menu>li {
        width: 100%;
    }
    ul.second_grade {
        /*background-color: grey !important;*/
        padding-top: 3px;
        padding-bottom: 3px;
    }
    ul.second_grade>li>a {
        color: #f5f5f5 !important;
    }
    .nav_pipe {
        display: none;
    }
    .logo_mobile {
        display: block;
        margin: 15px 0;
    }
    .logo_desktop {
        display: none;
    }
  .has-feedback label.sr-only~.form-control-feedback,
  .glyphicon-search {
    top: -60px;
    right: 50px;
    position: absolute;
    width: 34px;
  }
  .glyphicon-search:before {
    font-size: 25px;
  }
  .logo_mobile img {
    max-width: 218px;
  }
}


/*@media (min-width: 1401px) {
  .first_grade {
      padding-left: 20%;
  }
}
@media (min-width:768px) and (max-width: 1400px) {
  .first_grade {
      padding-left: 2%;
  }
}*/

@media (min-width:768px) and (max-width: 992px) {
    .carousel-inner>.item>img {
        min-width: 100%;
        height: 30em;
        object-fit: cover;
    }
    .carousel_header {
    font-family: AauxProOTBlack;
    font-size: 50px;
    letter-spacing: 0.5px;
    line-height: 115%;
  }
}

@media (max-width:991px) {
    .thumbnail {
        margin-bottom: 15px;
        min-height: 176px;
    }
    .top-buffer {
    margin-top: 15px;
  }
}

@media (max-width:767px) {
    .carousel-inner>.item>img {
        height: 17em;
        object-fit: cover;
        object-position: left;
    }
  .carousel-caption {
    left: 5%;
    right: 5%;
    bottom: 25px;
  }
    .footer_navi_item {
        display: none;
    }
    .first_grade {
        padding-left: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    .logorow {
        display: none;
    }
    .congress_mobile {
        display: block;
        padding-bottom: 10px;
    }
    .carousel_header,
    .carousel_header p {
        font-size: 29px;
    }
    input[type="text"] {
        font-size: 20px;
        padding: 0;
    }
    .top-buffer-logo {
        margin-top: 0px;
    }
    .grey_bg {
        padding-left: 0;
        padding-right: 0;
    }
    .has-feedback .form-control {
    padding-right: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
    border-radius: 0;
    margin-bottom: 15px;
    display: none;
  }
  .thumbnail {
    min-height: 140px;
  }
  .thumbnail>img {
    width: auto;
    height: 39px;
  }
  .infobox_grey .thumbnail>img {
    width: auto;
    height: 59px;
  }
  .infobox_grey .thumbnail {
    min-height: 140px;
  }
  .infobox_sponsor .thumbnail>img {
    width: auto;
    height: 100%;
  }
  .infobox_sponsor .carousel .item,
  .imgContainer {
    width: 100%;
  }
  #c18 iframe {
    width: 100%!important;
    margin-top: 15px;
  }
}

@media (min-width:768px) {
    .logorow {
        display: block;
    }
    .congress_mobile {
        display: none;
    }
    .navbar-right>li {
        border-right: solid 1px white;
    }
    .navbar-right>li:first-child {
        border-left: solid 1px white;
    }
    #c18 iframe {
      margin-top: 30px;
     }
}

@media (max-width:474px) {
    .thumbnail>hr {
        margin-top: 0;
        margin-bottom: 15px;
    }
}

@media (max-width:574px) {
    .carousel-indicators {
        display: none;
    }
}

@media (min-width:991px) and (max-width:1200px) {
    .carousel_header {
        font-size: 49px;
    }
}

@media ( min-width: 767px) {
       input[type="text"].form-control, input[type="text"]#mailformsword {
    height: 60px;
    font-size: 45px;
    text-align: center;
    /*display: none;*/
    font-weight: 100;
    border-style: none;
    border-bottom: thin solid black;
    outline: none;
    color: #555;
    padding: 3px;
    width: 100%;
    position: relative;
    ;
    top: 0;
    right: 0;
    background: none;
    z-index: 3;
    cursor: pointer;
}
}

@media (max-width:766px) and (min-width:401px) {
       input[type="text"].form-control, input[type="text"]#mailformsword {
    height: 60px;
    font-size: 40px;
    text-align: center;
    /*display: none;*/
    font-weight: 100;
    border-style: none;
    border-bottom: thin solid black;
    outline: none;
    color: #555;
    padding: 3px;
    width: 100%;
    position: relative;
    ;
    top: 0;
    right: 0;
    background: none;
    z-index: 3;
    cursor: pointer;
}
}
@media (max-width:400px) {
     input[type="text"].form-control, input[type="text"]#mailformsword {
    height: 60px;
    font-size: 30px;
    text-align: center;
    /*display: none;*/
    font-weight: 100;
    border-style: none;
    border-bottom: thin solid black;
    outline: none;
    color: #555;
    padding: 3px;
    width: 100%;
    position: relative;
    ;
    top: 0;
    right: 0;
    background: none;
    z-index: 3;
    cursor: pointer;
}
    
    .p_section>hr {
        margin-top: 5px;
        margin-bottom: 5px;
    }
}

@media (max-width:766px) {
    .google_map {
       margin-top: -15px;
    }    
}

@media (max-width:474px) {
  .infobox_grey>.thumbnail>hr {
    border-color: #525050;

  }
     .infobox_red>.thumbnail>hr {
        margin-bottom: 20px;
    }
}
@media (min-width:475px) {
  .infobox_grey>.thumbnail>hr {
    border-color: #525050;
    margin-bottom: 8px;
  }   
}

@media (min-width: 1200px) {
  .tx-powermail {
    width: 65%;
  }
}