/*
 *
 *  * The MIT License
 *  *
 *  * Copyright 2016 CloudSeven.
 *  *
 *  * Permission is hereby granted, free of charge, to any person obtaining a copy
 *  * of this software and associated documentation files (the "Software"), to deal
 *  * in the Software without restriction, including without limitation the rights
 *  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 *  * copies of the Software, and to permit persons to whom the Software is
 *  * furnished to do so, subject to the following conditions:
 *  *
 *  * The above copyright notice and this permission notice shall be included in
 *  * all copies or substantial portions of the Software.
 *  *
 *  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 *  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 *  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 *  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 *  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 *  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 *  * THE SOFTWARE.
 *
 */

/*
 * Het bestand responsivness.css betreft enkel de responsiveness voor de website op
 * verschillende apparaten met verschillende scherm maten. Deze moet altijd als laatste
 * worden geladen in een html/php bestand zodat deze alle andere CSS bestanden kan overschrijven.
*/

/*================================================================
=     Special element hiding/alignment for all non-desktops      =
==================================================================*/

@media (max-width: 1024px) {
    .navbar-header {
        float: none;
    }

    .navbar-left, .navbar-right {
        float: none !important;
        text-align: center;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }

    .navbar-collapse.collapse {
        display: none !important;
        height: 375px !important;
    }

    .navbar-nav {
        float: none !important;
        margin-top: 8px;
    }

    .navbar-nav > li {
        float: none;
    }

    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .collapse.in {
        display: block !important;
    }

    .features {
        margin: 0;
    }

    .our-clients {
        margin: 0;
    }

    .contact {
        margin: 0;
    }

    .portal {
        margin: 0;
    }

    .formAlign {
        height: 20px;
    }

    .brand {
        width: auto;
        height: 30px;
        margin-top: 15px;
        margin-left: 0;
    }

    .clientsHeader {
        font-size: 2em;
    }

    .clientsSubtext {
        font-size: 1.2em;
    }

    .carousel-inner {
        width: 100%;
        height: 600px;
    }

    .carousel {
        margin-top: 0;
    }

    .clientQuote {
        width: auto;
    }

    .carousel-inner > .item > img {
        left: calc(50% - 30px);
    }

    .offerText, .offerSubText, .offerScrollDown {
        margin: 0 0 30px;
    }
}

@media only screen and (max-width: 1600px) {
    .hideArrows {
        display: none !important;
    }

}

@media only screen and (min-width: 1440px) and (max-width: 1600px) {
    .centerCustomer {
        margin-left: calc(100vw - 70%);
    }
}

/*===========================================
=     Page layout media queries             =
=============================================*/

/*==========  Mobile First Method  ==========*/

/* Custom, iPhone 6s(+) Retina */
@media only screen and (min-width: 300px) and (max-width: 480px) {
    .first-image-header {
        font-size: 2.5em;
        line-height: 50px;
    }

    #home {
        height: 120vh;
    }

    .btn-chevron {
        top: calc(120vh - 30px);
    }

    #offers {
        top: 50px;
        height: 540px;
    }

    .offerText, .offerSubText, .offerscrolldown {
        margin-bottom: 10px;
    }

    .benefitTitle {
        font-size: 1.8em;
    }

    .benefitDetails {
        font-size: 1.1em;
    }

    .featureHeader {
        font-size: 25px;
    }

    .featureSubtext {
        font-size: 14px;
    }

    .col-xs-11 {
        width: 85%;
    }

    #features {
        height: 2150px;
    }

    #features > .row.text-left > .col-xs-11:nth-child(1) > ul {
        width: 100%;
        height: 100px;
    }

    #features > .row.text-left > .col-xs-11:nth-child(1) > ul > li {
        width: 100%;
        height: 100px;
    }

    #features > .row.text-left > .col-xs-11:nth-child(2) > ul {
        width: 100%;
        height: 210px;
    }

    #features > .row.text-left > .col-xs-11:nth-child(2) > ul > li {
        width: 100%;
        height: 210px;
    }

    #features > .row.text-left > .col-xs-11:nth-child(n+3) > ul {
        width: 100%;
        height: 110px;
    }

    #features > .row.text-left > .col-xs-11:nth-child(n+3) > ul > li {
        width: 100%;
        height: 110px;
    }

    .dropdown-submenu > .dropdown-menu {
        width: 180px;
    }

    #features > .row.text-left > .col-xs-11:nth-child(2) {
        margin-top: 50%;
    }

    #features > .row.text-left > .col-xs-11:nth-child(3) {
        margin-top: 70%;
    }

    #features > .row.text-left > .col-xs-11:nth-child(n+4) {
        margin-top: 40%;
    }

    #contact {
        margin-top: 20%;
    }

    .contactHeader {
        font-size: 1.7em;
    }

    .contactSubtext {
        font-size: 1.0em;
    }
}

@media only screen and (width: 375px) {
    #features > .row.text-left > .col-xs-11:nth-child(2) > ul {
        width: 100%;
        height: 170px;
    }

    #features > .row.text-left > .col-xs-11:nth-child(2) > ul > li {
        width: 100%;
        height: 170px;
    }

    .dropdown-submenu > .dropdown-menu {
        width: 225px;
    }
}

/* Galaxy S5 */
@media only screen and (width: 360px) {
    #features {
        height: 2175px;
    }

    .dropdown-submenu > .dropdown-menu {
        width: 212px;
    }

    #features > .row.text-left > .col-xs-11:nth-child(2) > ul {
        width: 100%;
        height: 160px;
    }

    #features > .row.text-left > .col-xs-11:nth-child(2) > ul > li {
        width: 100%;
        height: 160px;
    }
}

/* Extra Small Devices, Phones */
@media only screen and (min-width: 380px) and (max-width: 480px) {
    #features {
        height: 1750px;
    }

    #features > .row.text-left > .col-md-5 > ul {
        width: 100%;
        height: 120px;
    }

    #features > .row.text-left > .col-md-5 > ul > li {
        width: 100%;
        height: 120px;
    }

    .dropdown-submenu > .dropdown-menu {
        width: 295px;
    }

    #features > .row.text-left > .col-xs-11 {
        left: 0;
    }

    #features > .row.text-left > .col-xs-11:nth-child(n+2) {
        margin-top: 30%;
    }

}

/* Small Devices, Tablets - Limited */
@media only screen and (min-width: 768px) and (max-width: 1000px) {
    .col-md-2 {
        margin-right: 10%;
    }

    .col-md-offset-4 {
        margin-left: 24.999998%;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width: 768px) {
    #home > .horver-center-a > .horver-center-b > .row > .col-md-4 {
        margin-right: 25px;
    }

    .benefitCentering {
        padding-top: 0;
        padding-bottom: 12.5%;
    }

    h2 {
        font-size: 1.5em;
    }

}

@media only screen and (max-width: 768px) and (orientation: landscape) {
    #features > div.row.text-left > div:nth-child(-n+9) {
        display: none;
    }

    .landscapewarning {
        display: block;
    }
}

/* Only tablets correction */
@media only screen and (width: 768px) {
    #features {
        height: 1550px;
    }

    #features > .row.text-left > .col-md-5 > ul {
        width: 100%;
        height: 120px;
    }

    #features > .row.text-left > .col-md-5 > ul > li {
        width: 100%;
        height: 120px;
    }

    .dropdown-submenu > .dropdown-menu {
        width: 295px;
    }

    #features > .row.text-left > .col-sm-6 {
        left: 12.5%;
    }

    #features > .row.text-left > .col-sm-6:nth-child(n+2) {
        margin-top: 16%;
    }
}

/* Medium Devices, Desktops */
@media only screen and (width: 1024px) {
    .img-responsive {
        padding-top: 25%;
    }

}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    #features {
        height: 1000px;
    }

    #features > .row.text-left > .col-md-5 > ul {
        width: 100%;
        height: 100px;
    }

    #features > .row.text-left > .col-md-5 > ul > li {
        width: 100%;
        height: 100px;
    }

    .dropdown-submenu > .dropdown-menu {
        width: 335px;
    }

    #features > .row.text-left > .col-md-5:nth-child(3), #features > .row.text-left > .col-md-5:nth-child(4) {
        margin-top: 11%;
    }

    #features > .row.text-left > .col-md-5:nth-child(5), #features > .row.text-left > .col-md-5:nth-child(6) {
        margin-top: 11%;
    }

    #features > .row.text-left > .col-md-5:nth-child(7), #features > .row.text-left > .col-md-5:nth-child(8) {
        margin-top: 11%;
    }

    #features > .row.text-left > .col-md-5:nth-child(9) {
        margin-top: 11%;
        left: 12.5%;
    }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width: 1200px) {
    .col-lg-offset-3 {
        margin-left: 29%;
    }

    .col-lg-offset-4 {
        margin-left: 31%;
    }

    #home > .horver-center-a > .horver-center-b > .row > .col-lg-offset-2 {
        margin-left: 13.3%;
    }

    .first-image-header {
        width: 700px;
    }

    .first-image-subtext {
        width: 700px;
    }

    .benefitDetails {
        width: 570px;
    }

    #features > .row.text-left > .col-lg-3 {
        width: 24%;
    }
}

/* Large Devices, Wide Screens Correction */
@media only screen and (min-width: 1200px) and (max-width: 1350px) {
    .dropdown-submenu > .dropdown-menu {
        width: 195px !important;
    }

    #features {
        height: 1150px !important;
    }

    #features > .row.text-left > .col-lg-3:nth-child(4), #features > .row.text-left > .col-lg-3:nth-child(5), #features > .row.text-left > .col-lg-3:nth-child(6) {
        margin-top: 16% !important;
    }

    #features > .row.text-left > .col-lg-3:nth-child(7), #features > .row.text-left > .col-lg-3:nth-child(8), #features > .row.text-left > .col-lg-3:nth-child(9) {
        margin-top: 12% !important;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1600px) {
    #features {
        height: 1000px;
    }

    #features > .row.text-left > .col-lg-3:nth-child(4), #features > .row.text-left > .col-lg-3:nth-child(5), #features > .row.text-left > .col-lg-3:nth-child(6) {
        margin-top: 13%;
    }

    #features > .row.text-left > .col-lg-3:nth-child(7), #features > .row.text-left > .col-lg-3:nth-child(8), #features > .row.text-left > .col-lg-3:nth-child(9) {
        margin-top: 10%;
    }

    #features > .row.text-left > .col-lg-3:nth-child(2) > ul {
        width: 100%;
        height: 160px;
    }

    #features > .row.text-left > .col-lg-3:nth-child(2) > ul > li {
        width: 100%;
        height: 160px;
    }

    #features > .row.text-left > .col-lg-3:nth-child(1) > ul, #features > .row.text-left > .col-lg-3:nth-child(n+3) > ul {
        width: 100%;
        height: 110px;
    }

    #features > .row.text-left > .col-lg-3:nth-child(1) > ul > li, #features > .row.text-left > .col-lg-3:nth-child(n+3) > ul > li {
        width: 100%;
        height: 110px;
    }

    .dropdown-submenu > .dropdown-menu {
        width: 250px;
    }
}

@media only screen and (width: 1440px) {
    .col-lg-offset-4 {
        margin-left: 24%;
    }
}

/* 2560p screens and larger*/
@media only screen and (min-width: 2560px) {
    .col-lg-offset-4 {
        margin-left: 35.555%;
    }

    #home > .horver-center-a > .horver-center-b > .row > .col-lg-3 {
        width: 330px;
    }

    .benefitCentering {
        padding-top: 8%
    }

    .benefitCaption, .benefitTitle, .benefitDetails {
        font-size: 1.9em;
    }

    .dropdown-submenu > .dropdown-menu {
        width: 500px;
    }

    #clientCarousel > .row > .col-lg-offset-1 {
        margin-left: 0;
    }

    #success > .successPage > .col-lg-offset-2 {
        margin-left: 50%;
    }
}

/* All mobile phone and small laptop devices */
@media only screen and (min-width: 200px) and (max-width: 1024px) {
    .clientsHeader {
        font-size: 2em;
    }

    .clientsSubtext {
        font-size: 1.2em;
    }

    .carousel-inner {
        width: 100%;
        height: 600px;
    }

    .carousel {
        margin-top: 0;
    }

    .clientQuote {
        width: auto;
    }

    .carousel-inner > .item > img {
        left: calc(50% - 30px);
    }
}

@media only screen and (min-width: 1025px) and (max-width: 1200px) {
    #clientCarousel > .row > .col-lg-offset-2 {
        margin-left: 0;
    }

    #clientCarousel > .row > .col-lg-4 {
        /*margin-left: 0;*/
    }
}

/* Special 4K (UltraHD) resolution */
@media only screen and (width: 3840px) {
    #success > .successPage > .col-lg-offset-2 {
        margin-left: 18%;
    }

    h2 {
        font-size: 6em;
    }

    h2 small {
        font-size: 65%;
    }

    .first-image-header {
        font-size: 7em;
        width: 35%;
        line-height: 120px;
    }

    .first-image-subtext {
        font-size: 3.5em;
        width: 55%;
        line-height: 100px;
    }

    #home > .horver-center-a > .horver-center-b > .row > .col-lg-3 {
        width: 600px;
    }

    .btn-success {
        height: 116px;
        width: 532px;
        font-size: xx-large;
    }

    .btn-info {
        width: 348px;
        height: 116px;
        font-size: xx-large;
    }

    .offerText, .offerSubText, .offerScrollDown {
        font-size: xx-large;
    }

    .benefitCentering {
        font-size: xx-large;
        padding-top: 3%;
        padding-bottom: 3%;
    }

    .benefitDetails {
        line-height: 100px;
        width: auto;
    }

    .benefitsImage {
        width: 60%;
    }

    #features {
        height: 1500px;
        font-size: xx-large;
    }

    .featureSubtext {
        line-height: 100px;
    }

    .multi-level {
        height: auto;
    }

    .dropdown-submenu > .dropdown-menu {
        width: 780px;
    }

    .finalSection {
        font-size: xx-large;
    }

    .clientsSubtext {
        line-height: 100px;
    }

    .contactSubtext {
        line-height: 100px;
    }

    .carousel-inner {
        width: auto;
        height: 700px;
    }

    .clientQuote {
        width: 100%;
    }

    .carouselControl {
        padding: 85px;
    }

    .glyphicon-menu-left, .glyphicon-menu-right {
        font-size: 2.7em;
        top: 30px;
    }

    #contact {
        margin-top: 5%;
    }

    #contact > .container {
        width: 3000px;
    }

    .form-control {
        height: 175px;
    }

    .btn-primary {
        width: 348px;
        height: 116px;
        font-size: xx-large;
    }

    input[type=radio] + label span {
        background: url("../assets/img/radioButtons@4K.png") left top no-repeat;
        width: 100px;
        height: 100px;
    }

    input[type=radio]:checked + label span {
        background: url("../assets/img/radioButtons@4K.png") -100px top no-repeat;
    }

    .radioText {
        margin-left: 80px;
        font-size: 1.3em;
    }

    form > .row:nth-child(2) > .form-group:nth-child(1), form > .row:nth-child(2) > .form-group:nth-child(2) {
        margin-top: 50px;
    }

    .radioLabel {
        font-size: 1.3em;
    }
}

/* 1440p screen */
@media only screen and (width: 2560px) {
    #features {
        height: 850px;
    }

    #features > .row.text-left > .col-md-5 {
        margin-left: 8%
    }

    .centerCustomer {
        margin-left: 100px;
        margin-right: 0px;
    }

    .hideArrows {
        padding-top: calc(12.5% - 175px) !important;
    }

}