


/**
 * 11.2 - <= 1200
 */

@media screen and (max-width: 1200px) {

    .site-content.home .home-intro {
        width: 100%;
    }
    .site-content.news .info_box {
        width: 100%;
    }
    .site-content.legend .home_legend {
        width: 100%;
    }

}


/**
 * 11.2 - <= 1024
 */

@media screen and (max-width: 1024px) {


    /* ON/OFF */

    #site-header .top-bar .top-links {
        display: none;
    }
    #site-header .top-bar  form.search-form {
        display: none;
    }
    #site-header #main-navigation {
        display: none;
    }
    body #top .side-nav-background,
    body.no-page-mega-menu #top .side-nav-background,
    body.sticky-side-nav #top .side-nav-background,
    body.sticky-side-nav.sticky #top .side-nav-background {
        display: none;
    }
    #site-sidebar-menu,
    body.page-top-image #site-sidebar-menu,
    body.page-top-image.page-excerpt #site-sidebar-menu {
        display: none;
    }

    body {

    }

    .content-aligning {
        padding: 0 30px;
    }

    h1, h2, h3, h4, h5, h6, .head {
        margin-bottom: 40px;
        font-size: 2.4rem;
    }


    html {
        position: relative;
        width: 100%;
        height: 100%;
    }
    body {
        position: absolute;
        background-color: #ccc;
        width: 100%;
        height: 100%;
    }
    body #site-wrapper {
        position: absolute;
        width: 100%;
        height: 100%;
    }
    body #site-wrapper #site {
        position: absolute;
        background-color: #fff;
        width: 100%;
        height: calc(100% - 100px);
        top: 100px;
        right: 0;
        overflow-y: scroll;
        visibility: visible;
        transition: all 0.3s ease-in;
    }
    body.openmenu #site-wrapper #site {
        right: 350px;
        transform: scale(0.85);
        opacity: 0.55;
        overflow-y: hidden;
        /*
        -webkit-filter: grayscale(100%);
        filter: grayscale(100%);
        */
        /*
        transform: perspective(400px) rotateY(5deg);
        */
        pointer-events: none;
    }
    .main-content-wrapper {
        overflow: hidden;
    }


    #site-header,
    body.sticky #site-header.sticky-header {
        position: fixed;
        height: 100px;
        transition: top .2s, height .2s;
    }
    body.sticky-init.sticky #site-header.sticky-header {
        height: 70px;
        transition: top .2s, height .2s;
    }
    #site-header .logo-top {
        top: 50%;
        transform: translate(0, -50%);
    }
    #site-header .logo-top img.logo,
    body.sticky-init #site-header .logo-top img.logo {
        margin-top: 0;
        height: 40px;
    }
    #site-header .top-bar,
    body.sticky-init #site-header .top-bar {
        padding-top: 0;
        width: auto;
        right: 70px;
        top: 50%;
        height: auto;
        transform: translate(0, -50%);
    }
    #site-header .nav-bar {
        position: absolute;
        width: auto;
        height: 100%;
        bottom: 0;
        right: 0;
    }

    /**
     * 7.5 - Mobile navigation
     */

    body #toggle-mobile-menu,
    .toggle-mobile-menu {
        display: block;
        position: absolute;
        z-index: 33;
        right: 0;
        top: 50%;
        transform: translate(0, -50%);
        width: 42px;
        height: 46px;
        overflow: hidden;
        text-indent: 100%;
        white-space: nowrap;
        color: transparent;
        cursor: pointer;

        transition: all .5s;
    }
    body #toggle-mobile-menu span,
    body #toggle-mobile-menu span:before,
    body #toggle-mobile-menu span:after {
        position: absolute;
        width: 30px;
        height: 4px;
        background-color: #002F52;
    }
    body #toggle-mobile-menu span,
    .toggle-mobile-menu span {
        top: 20px;
        left: 5px;
    }
    body #toggle-mobile-menu span:before,
    body #toggle-mobile-menu span:after,
    .toggle-mobile-menu span:before,
    .toggle-mobile-menu span:after {
        content: '';
        left: 0;

        -webkit-transition: transform 0.2s linear;
        transition: transform 0.2s linear;
    }
    body #toggle-mobile-menu span:before,
    .toggle-mobile-menu span:before {
        bottom: 10px;
    }
    body #toggle-mobile-menu span:after,
    .toggle-mobile-menu span:after {
        top: 10px;
    }
    body.openmenu #toggle-mobile-menu span,
    .tabs-button.show .toggle-mobile-menu span {
        background-color: rgba(255, 255, 255, 0);
    }
    body.openmenu #toggle-mobile-menu span:before,
    .tabs-button.show .toggle-mobile-menu span:before {
        -webkit-transform: translateY(10px) rotate(-45deg);
        transform: translateY(10px) rotate(-45deg);
    }
    body.openmenu #toggle-mobile-menu span:after,
    .tabs-button.show .toggle-mobile-menu span:after {
        -webkit-transform: translateY(-10px) rotate(45deg);
        transform: translateY(-10px) rotate(45deg);
    }

    #mobile-navigation {
        position: fixed;
        display: block;
        z-index: 224;
        top: 100px;
        left: 0;
        height: calc(100% - 100px);
        width: 100%;
        text-align: left;

        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;

        pointer-events: none;
    }
    body.openmenu #mobile-navigation {
        pointer-events: auto;
    }
    #mobile-navigation .nav-content {
        position: absolute;
        top: 0;
        right: -360px;
        bottom: 0;
        width: 360px;
        z-index: -1;
        overflow: hidden;
        background-color: #203243;
        transition: right .3s ease-in;
    }
    body.openmenu #mobile-navigation .nav-content {
        right: 0;
    }
    #mobile-navigation ul.menu {
        list-style: none;
        margin-top: 50px;
        margin-left: 0;
        padding: 0 20px;
        text-align: left;
    }
    #mobile-navigation ul.menu > .menu-item {
        position: relative;
        display: block;
        padding: 15px 0 15px 0;
        overflow: hidden;
    }
    #mobile-navigation .menu > .menu-item > a  {
        position: relative;
        display: block;
        padding-left: 40px;
        color: #fff;
        font-size: 1.25rem;
        transition: color .3s;
    }
    #mobile-navigation .menu > .menu-item > a:hover,
    #mobile-navigation .menu > .menu-item.current-menu-item > a,
    #mobile-navigation .menu > .menu-item.current_page_parent > a,
    #mobile-navigation .menu > .menu-item.current-page-ancestor > a {
        color: #3CA8D0;
    }
    #mobile-navigation .menu > .menu-item > a:before {
        content: "";
        position: absolute;
        width: 30px;
        height: 1px;
        top: 50%;
        left: 0;
        background-color: #3CA8D0;
        transform-origin: right;
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
        -webkit-transition: transform 0.2s ease-out;
        transition: transform 0.2s ease-out;
    }
    #mobile-navigation .menu > .menu-item a:hover:before,
    #mobile-navigation .menu > .menu-item.current-menu-item a:before,
    #mobile-navigation .menu > .menu-item.current_page_parent a:before,
    #mobile-navigation .menu > .menu-item.current-page-ancestor a:before {
        transform-origin: left;
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
    }

    #mobile-navigation form.search-form {
        position: relative;
        display: block;
        margin: 30px 60px;
    }
    #mobile-navigation form.search-form > input {
        float: none;
        width: 100%;
        padding: 0 10px;
        line-height: 35px;
    }
    #mobile-navigation form.search-form > button {
        position: absolute;
        top: 0;
        right: 0;
        margin-left: 0;
    }

    #mobile-navigation .link.download,
    #mobile-navigation .link.phone {
        display: block;
        margin-left: 60px;
        color: #fff;
        font-weight: 400;
    }
    #mobile-navigation .icon.phone {
        padding-left: 38px;
    }
    #mobile-navigation .icon.download:before {
        font-size: 20px;
        line-height: 1;
    }
    #mobile-navigation .icon.phone:before {
        font-size: 15px;
    }
    #mobile-navigation .top-member {
        margin-left: 60px;
        max-width: 240px;
    }
    #mobile-navigation .top-member .link,
    #mobile-navigation .top-member .button {
        display: block;
        margin-top: 20px;
    }
    #mobile-navigation .top-member .link {
        color: #fff;
        font-weight: 400;
    }
    #mobile-navigation .top-member a.button.register {
        background: #fff;
        color: #203243;
    }
    #mobile-navigation .top-member a.button.logout {
        background: #ED6241;
    }





    #top .site-top-image {
        padding-bottom: 50%;
    }




    body.page:not(.front-page) #site-wrapper {
        padding-top: 100px;
    }
    .site-content.home {
        margin-top: 0;
        height: 600px;
    }
    .site-content.item-1 {
        margin-top: 60px;
    }

    .main-content {
        padding-top: 30px;
    }
    .site-content.background-img .main-content {
        padding-top: 90px;
    }
    .site-content.background-img .main-content > .widget:last-child {
        margin-bottom: 90px;
    }

    .light-box-wrapper .light-box-item .light-box-link .light-box-image {
        border-color: #666;
    }

    /* Widget */
    .widget {
        position: relative;
        margin-bottom: 60px;
    }
    .site-content.bg-light-blue .main-content > .widget:last-child,
    .site-content.bg-beige .main-content > .widget:last-child,
    .site-content.bg-blue .main-content > .widget:last-child,
    .site-content.bg-red .main-content > .widget:last-child,
    .site-content .main-content > .widget:last-child {
        margin-bottom: 60px;
    }

    /* Widget-1 */


    /* Widget-3 */
    .widget-3 .accordion-tab {
        margin-left: 0;
        width: 100%;
    }

    /* Widget-8 */


    /* Widget-11 */

    /* Widget-11 */
    .widget-12 .grid__col .grid__col--12-of-12 .text-block {
        padding-right: 10%;
    }

    /* Widget-13 */

    /* Widget-16 */


    /* Widget-19 */


    /* Widget-20 */


    /* Widget-21 */


    #site-bottom-contact .bottom-contact-box .text-block {
        margin-bottom: 30px;
    }

    #site-footer .footer-line ul.footer-menu li {
        margin-left: 25px;
    }
    #site-footer .footer-line .copy {
        margin-left: 20px;
    }


}


/**
 * 11.2 - <= 900
 */

@media screen and (max-width: 900px) {

    h1, h2, h3, h4, h5, h6, .head {
        font-size: 2rem;
    }

    .header-large-dropdown-wrapper {
        height: auto;
    }
    #header-large-dropdown {
        height: auto;
    }
    #header-large-dropdown .desc {
        margin-bottom: 30px;
    }

    /* Widget */
    .widget {

    }

    /* Widget-1 */

    /* Widget-3 */

    /* Widget-8 */

    /* Widget-11 */

    /* Widget-11 */

    /* Widget-13 */

    /* Widget-16 */

    /* Widget-19 */

    /* Widget-20 */

    /* Widget-21 */

}