﻿/* Makes both content sides responsive */
#sideBar {
    float: right;
    max-width: 240px;
    padding-left: 2%;
    width: 40%;
}

#leftContent {
    float: none;
    width: auto;
    overflow: hidden;
}



@media all and (max-width: 1065px) {
    .productsLast {
        float: left;
    }

    .piecetab {
        position: relative;
        border-left: none;
        padding: 12px;
    }
}

@media all and (max-width: 980px) {
    #nav {
        margin: 0 !important;
    }
}

@media all and (max-width: 950px) {
    #searchBar {
        /*margin-top: -145px;*/
    }
}


@media all and (max-width: 920px) {

    #sectionLinks {
        width: 100%;
    }

        #sectionLinks li {
            width: 95%;
        }

    #photos {
        float: none;
    }

    .productsLast {
        float: right;
    }

    /*#slideshowNav ul {
        width: auto;
        height: 70px;
    }*/

    /*#slideshowNav li {
        border-bottom: none;
        padding: 0;
    }*/

    /*#slideshowNav li a {
            font-size: 13px;
            float: left;
            padding: 14%;
        }*/


    #imgTXT {
        bottom: 30px;
    }

    #Larrow, #Rarrow {
        top: 50%;
    }
}

@media all and (max-width: 780px) {

    /*#slideshow {
        height: 390px;
    }*/

    #NavPolitics {
        float: none;
        margin-top: auto;
    }


    #conception {
        margin: 0;
    }

    p#top {
        margin-top: -100px;
    }
}

@media all and (max-width: 735px) {

    /*#slideshow {
        height: 370px;
    }*/

    #footer {
        /*height: 742px;*/
    }

    #mainTXT {
        margin: 0;
        width: initial;
    }
}

@media all and (max-width: 680px) {
    /*#slideshow {
        height: 350px;
    }*/
}

@media all and (max-width: 750px) {


    /*#slideshow {
        height: 320px;
    }*/


    #imgTXT li {
        font-size: 20px;
    }

    .media {
        display: none;
        overflow: hidden !important;
        width: 750px;
    }

    #breadCrub {
        float: none;
    }

    #topTools {
        padding-bottom: 10px;
    }

    #addthis {
        padding-top: 10px;
        padding-bottom: 10px;
        float: none;
    }

    #sideBar {
        display: none;
    }

    #sideOptions {
        float: none;
    }

        #sideOptions li {
            padding: 15px 20px;
            width: 93%;
        }

    /* Slideshow */
    /*#slideshowNav {
        display: none;
    }*/

    /*#slideshow img {
        top: 0;
    }*/

    /*#imgTXT {
        bottom: 20px;
    }*/

    /*#Larrow, #Rarrow {
        top: 40%;
    }*/
}

@media screen and (max-width: 750px ) {
    /* MAIN NAV */
    #navMain #menu1, #navMain #menu2 {
        display: none;
    }

    #header #menu1, #header #menu2 {
        display: none;
    }

    .slicknav_menu {
        display: block;
        width: 100%;
        background: #d9d9d9; /* Old browsers */
        /* Linear gradient for all broswer */
        /*border-bottom: 1px solid gray;
        border-top: 1px solid #4A4A4A;*/
        /*box-shadow: 1px 1px 20px #313131;*/
        /*margin: -5px 0 10px 0;
        *zoom: 1;*/
    }

    .slicknav_btn {
        margin: 0 !important;
        height: 50px;
    }

    .js .slicknav_menu {
        background: url(/app_Themes/images/BG_TopNav.jpg) repeat-x;
        border-bottom: 4px solid #ff6e1f;
        display: block;
        width: 100%;
        z-index: 100;
    }

    #NavPolitics {
        margin: 6px 0;
    }

    #clienteleTop {
        float: left;
        margin: 60px 0 20px 0;
        width: 100%;
    }
    /* Search Bar */
    #searchBar {
        float: right;
        margin: 10px 0 15px;
        position: absolute;
        top: 90px;
        right: 15px;
    }

    #social {
        margin: 2px 0 0 20px;
        float: left;
    }

    #language .langselector li li a {
        height: 35px;
        line-height: 35px;
        font-size: 18px;
    }

        #language .langselector li li a:hover {
            color: #fff;
        }

    #navTop a {
        font-size: 18px;
        margin: 0 30px 0 0;
        width: 55px;
    }

    #logo {
        clear: both;
        /*height: 40px;*/
    }

    .mobile {
        display: none;
    }

    #logo img {
        /*width: 55%;*/
        position: absolute;
        top: 13px;
    }

    #navTop {
        margin-right: -10px;
        margin-top: 15px;
    }
}

@media all and (max-width: 500px) {
    #logo img {
        width: 55%;
        position: absolute;
        top: 13px;
    }

    #searchBar {
        /*margin: 40px 0 15px;*/
    }
}

@media all and (max-width: 550px) {
    /*#slideshow {
        height: 240px;
    }*/

    .spacebox span {
        -webkit-column-count: 2; /* Chrome, Safari, Opera */
        -moz-column-count: 2; /* Firefox */
        column-count: 2;
    }

    .spacebox label {
        font-size: small;
    }

    div.panel {
        padding: 0;
    }
}

@media all and (max-width: 495px) {

    /*#slideshow {
        height: 225px;
    }*/

    .homeimg {
        display: none;
    }

    body {
        background-position: top center, center 100px;
    }

    #sidenav {
        display: none;
    }

    #navTop {
        background: url(/App_Themes/Images/langArrow.png) no-repeat 103px 16px;
    }

        #navTop:hover {
            background: url(/App_Themes/Images/langArrow_Hover.png) no-repeat 103px 16px;
        }

    #nav {
        position: initial;
        width: 100%;
    }

        #nav ul {
            margin: 20px 0 0;
            width: 100%;
        }

            #nav ul li {
                cursor: pointer;
                display: inline-block;
                width: 100%;
            }

                #nav ul li:hover a {
                    color: white;
                }

        #nav li {
            border-right: none;
            border-bottom: 1px solid gray;
            margin-bottom: 0;
            padding: 15px 0;
            width: 100%;
        }

            #nav li:first-child {
                border-top: 1px solid gray;
                padding-top: 15px;
            }

            #nav li:nth-child(9) {
                border-bottom: none;
            }

        #nav ul li:nth-child(7) ul:nth-child(2) {
            padding: 0;
        }

        #nav ul li:nth-child(6) ul:nth-child(2), #nav ul li:nth-child(3) ul:nth-child(2) {
            padding: 0;
            width: 100%;
        }

        #nav ul li:hover ul li {
            padding: 15px 0;
        }

    li#navCarriere {
        border-bottom: none;
    }

        li#navCarriere:hover a {
            text-shadow: 1px 1px 3px rgb(211, 0, 0);
        }

    /* Sub nav */
    #nav ul li ul {
        position: relative;
        padding: 0;
        margin: 0;
        max-width: 482px;
        width: 100%;
    }

    #nav ul li:hover ul li {
        padding: 10px 0;
        margin: 0;
        background: #3C3C3C;
        border-bottom: 1px solid rgb(83, 83, 83);
        text-align: center;
    }

        #nav ul li:hover ul li:first-child {
            border-top: 1px solid rgb(141, 141, 141);
            margin-top: 15px;
        }

        #nav ul li:hover ul li:last-child {
            margin-bottom: -15px;
        }

    #nav ul li:nth-child(7) ul:nth-child(2) {
        width: 100%;
    }

    #nav ul li:hover ul li a {
        font-size: 18px;
        font-family: Signika_light;
        z-index: 999999999;
        display: block;
    }

    #nav ul li.navLast {
        border-bottom: none;
    }

    #nav ul li:hover ul li:hover {
        background: rgb(71, 71, 71);
    }

        #nav ul li:hover ul li:hover a {
            color: white;
        }


    #imgTXT li {
        font-size: 16px;
    }

        #imgTXT li:first-child {
            width: auto;
        }

    #sideOptions li {
        width: 90%;
    }

    #sideBar {
        display: none;
    }
    /* Footer */

    #footer a, #footer p {
        font-size: 12px;
    }

    p#top a {
        font-size: 20px;
    }

    p#top {
        margin-top: -100px;
    }

    #NavBottom ul {
        width: 280px;
    }

        #NavBottom ul li a {
            font-size: 16px;
        }

    #bot {
        text-align: center;
    }
}

@media all and (max-width: 435px) {

    /*#slideshow {
        height: 195px;
    }*/


    #cadre {
        height: auto !important;
    }

    .map {
        width: 100% !important;
        overflow: hidden;
        /*display: none;*/
    }
}

@media all and (max-width: 550px) {

    #clienteleTop b {
        display: none;
    }

    #clienteleTop {
        margin: 20px 0 50px 0;
    }

    /*#slideshow {
        display: none;
    }*/


    #mainTXT {
        margin: 30px auto 0;
        padding: 0;
        width: 90%;
    }

    #sideOptions li {
        width: 87%;
    }
}

@media all and (max-width: 370px) {
    p#copyright, #conception, #conception a, #footer p {
        font-size: 12px;
    }

    #searchBar input[type="text"] {
        /*max-width: 300px;
        width: 67%;*/
        /*width: auto !important;*/
        height: 24px;
        /*position: absolute;*/
    }

    .iconSearch {
        /*margin-right: 15px;*/
        right: 0;
    }
}

@media all and (max-width: 350px) {
    #NavBottom ul {
        width: 260px;
    }

        #NavBottom ul li a {
            font-size: 14px;
        }
}

@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {

    /* Force table to not be like tables anymore */
    #leftContent table:not(.nofloat), #leftContent table:not(.nofloat) thead, #leftContent table:not(.nofloat) tbody, #leftContent table:not(.nofloat) th, #leftContent table:not(.nofloat) td, #leftContent table:not(.nofloat) tr {
        width: -webkit-fill-available;
        display: block;
        float: left;
        height: auto;
        clear: both;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    #leftContent tr:not(.unigrid-head) th {
        position: absolute;
        top: -9999px;
        left: -9999px;
        height: 0;
    }

    #leftContent table:not(.nofloat) th {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }

        #leftContent table:not(.nofloat) th:before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
        }
}
