/* general mixins */
#getquote {
    width: 100%;
    height: 590px;
}

@media screen and (max-width: 1280px) {
    .move-right {
        transition: all 0.3s ease 0s;
        -webkit-transition: all 0.3s ease 0s;
        -moz-transition: all 0.3s ease 0s;
        -o-transition: all 0.3s ease 0s;
        overflow-x: hidden;
        position: relative;
        left: -320px;
    }

    #hide-menu.shown {
        display: block;
    }

    #hide-menu.hidden {
        display: none;
    }

    .mobile-menu {
        display: block;
        padding: 10px;
        margin: 16px 15px 15px;
    }

        .mobile-menu:hover {
            background: #f2f2f2;
        }

        .mobile-menu .icon {
            font-size: 2.1875em;
        }

    .slope-bg .wrapper {
        width: 98%;
    }

    .menu-bar {
        transition: all 0.3s ease 0s;
        -webkit-transition: all 0.3s ease 0s;
        -moz-transition: all 0.3s ease 0s;
        -o-transition: all 0.3s ease 0s;
        background: #6ea516;
        position: fixed;
        right: -320px;
        width: 320px;
        z-index: 11;
        height: 100%;
    }

        .menu-bar.shown {
            right: 0px;
        }

        .menu-bar ul.menu li {
            position: relative;
            width: 100%;
            border-bottom: #7dbc19 solid 1px;
        }

            .menu-bar ul.menu li a {
                text-align: left;
                padding: 13px 15px;
                border: none;
                color: white;
            }

                .menu-bar ul.menu li a:hover, .menu-bar ul.menu li a.active {
                    background: #015aaa;
                    color: white;
                }

            .menu-bar ul.menu li ul {
                position: relative;
                border-radius: 0;
                -moz-border-radius: 0;
                -o-border-radius: 0;
                -ms-border-radius: 0;
                -webkit-border-radius: 0;
                box-shadow: none;
                -moz-box-shadow: none;
                -o-box-shadow: none;
                -webkit-box-shadow: none;
                background: #7dbc19;
                padding-bottom: 0;
            }

                .menu-bar ul.menu li ul li:hover {
                    background: #86c91b;
                    color: white;
                }

                    .menu-bar ul.menu li ul li:hover a {
                        border: none;
                    }

            .menu-bar ul.menu li:hover ul {
                border-radius: 0;
                -moz-border-radius: 0;
                -o-border-radius: 0;
                -ms-border-radius: 0;
                -webkit-border-radius: 0;
            }

    .box-grid .box:hover .box-img, .box-grid .box:hover figure {
        top: -84%;
    }
}

@media screen and (max-width: 1050px) {
    .wrapper {
        width: 99%;
    }

    .logo {
        float: left;
        text-align: center;
    }

        .logo a {
            float: left;
        }

    .box-grid .box:hover .box-img, .box-grid .box:hover figure {
        top: -79%;
    }
}

@media screen and (max-width: 920px) {
    .box-grid .box:hover .box-img, .box-grid .box:hover figure {
        top: -71%;
    }
}

@media screen and (max-width: 820px) { /* .slidesjs-container, .slidesjs-control, .slidesjs-control img { min-height: 250px; }*/
    .booking-form {
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
    }

        .booking-form .tabs li.last {
            border-right: #013f77 solid 1px;
        }

    .con-box {
        width: 98%;
        border-right: none;
        border-bottom: #eeeff1 solid 1px;
    }

    .slope-bg {
		/* PC
        background: url("images/side-slopes.png") no-repeat scroll -179px center rgba(0, 0, 0, 0);
		*/
    }

    hgroup {
        text-align: center;
    }

        hgroup h1, hgroup h2, hgroup h3, hgroup h4, hgroup h5, hgroup h6 {
            margin: 0 0 0px 0;
        }

            hgroup h1.title, hgroup h2.title, hgroup h3.title, hgroup h4.title, hgroup h5.title, hgroup h6.title {
                margin: 10px 0 0 0;
            }

    .bread-crumb {
        margin-top: 0;
        text-align: center;
    }

        .bread-crumb.left-align {
            float: left;
        }

    .wrapper {
        width: 96%;
    }

    .right-align, .left-align {
        clear: both;
        float: none;
    }

    .top-links {
        text-align: center;
    }

        .top-links .icon-link {
            float: left;
            text-align: center;
            width: 45.7%;
        }

    .brd-header.full {
        width: 100%;
    }

    .progress-bar {
        width: 100%;
    }

    .grid-content {
        height: 65px;
        text-align: center;
    }

        .grid-content i {
            float: none;
            width: 100%;
        }

        .grid-content h4 {
            display: none;
        }

    .da-slide h2 {
        width: 100%;
        font-size: 23px;
    }

    .da-slide p {
        margin: 10px 0;
        font-size: 15px;
        width: 84%;
    }

    .da-slide .da-img {
        display: none;
    }

    .box-grid {
        margin-bottom: 0;
    }

        .box-grid .box {
            width: 100%;
        }

            .box-grid .box:before {
                background: none;
            }

            .box-grid .box:hover .box-img, .box-grid .box:hover figure {
                right: 0;
                top: 0;
            }

            .box-grid .box:hover a {
                display: none;
            }

            .box-grid .box:hover h4 {
                background: none;
                margin: 4px 0 0 14px;
                width: auto;
            }

            .box-grid .box .box-img, .box-grid .box figure img {
                max-width: 283px;
                right: 30.7%;
                transition: all 0.3s ease 0s;
                -webkit-transition: all 0.3s ease 0s;
                -moz-transition: all 0.3s ease 0s;
                -o-transition: all 0.3s ease 0s;
            }

    .brd-header {
        width: 100%;
    }

    .bg-animate {
        background-size: cover;
    }

    .thumb-slider.full-caption ul {
        float: none;
    }

        .thumb-slider.full-caption ul li {
            float: none;
            width: 100%;
            margin-bottom: 10px;
        }

            .thumb-slider.full-caption ul li figure {
                overflow: hidden;
            }

                .thumb-slider.full-caption ul li figure img {
                    width: 100%;
                }

                .thumb-slider.full-caption ul li figure figcaption {
                    top: -100%;
                }

    .plan-features .plans {
        margin: 0 auto;
        float: none;
        width: 96%;
    }

        .plan-features .plans.active {
            width: 96%;
            margin: 0 auto;
        }

        .plan-features .plans:hover {
            width: 98%;
            margin: 0 auto;
        }

    .msg-box {
        text-align: center;
    }

    .tree li.sub-tree:after {
        border: none;
    }

    .tree li.sub-tree ul li.last-child:after {
        height: 121%;
        left: -75px;
        top: 27px;
        transform: rotate(28deg);
    }

    footer {
        text-align: center;
    }
}

@media screen and (min-width: 820px) and (max-width: 920px) {
    #getquote {
        height: 780px;
    }
}

@media screen and (min-width: 1051px) and (max-width: 1074px) {
    #getquote {
        height: 780px;
    }
}

@media screen and (max-width: 768px) {
    .popup-bg .pop-container, .popup-bg .pop-container.large-size, .popup-bg .pop-container.small-size {
        width: 95%;
    }

    .sec-logo {
        display: none;
    }

    .slidesjs-pagination, #slides .slidesjs-navigation {
        display: none !important;
    }
}

@media screen and (max-width: 640px) {
    .sec-logo {
        display: none;
    }
}
@media screen and (max-width: 640px) {
    #dp-popup .dp-applied {
        width:100% !important;
    }
}

@media screen and (max-width: 480px) { /*.slidesjs-container { min-height: 250px; }*/
    .slope-bg {
        background: none;
    }

        .slope-bg .logo {
            margin-left: 10px;
        }

    #slides .slidesjs-navigation, .slidesjs-pagination {
        bottom: 50%;
    }

    a.slidesjs-stop, a.slidesjs-play {
        left: 10%;
    }

    a.slidesjs-next {
        left: 6%;
    }

    .logo {
        width: 68%;
        padding: 15px 0;
    }

        .logo img {
            width: 100%;
        }

    .mobile-menu {
        margin: 0;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        position: relative;
        right: 15px;
        width: auto;
        height: auto;
        top: 10px;
    }
        .mobile-menu .fa {
            margin: 0;
            font-size: 2em;
            color: #082e86;
        }
    /*.booking-form .tabs li { width: 18.4%; }*/
    .box-grid .box .box-img, .box-grid .box figure img {
        right: 8.7%;
    }

    .box-grid .box:hover ul {
        background: #6ea516;
        display: block;
        float: left;
        margin: 37px 0 0;
        padding: 6px 15px;
        z-index: 15;
        position: relative;
        min-height: 141px;
    }

    .box-grid .box:hover h4 {
        background: #015aaa;
        margin: 0;
        width: 100%;
    }

    .hgroup {
        margin-top: 33%;
        text-align: center;
    }

        .hgroup .bread-crumb {
            text-align: center;
            width: 94%;
        }

    .sub-header.contact-us, .sub-header.about-us, .sub-header {
        min-height: inherit !important;
    }

    #getquote {
        height: 780px;
    }
    .news_content {
        width:100%;
    }
    .news_close {
        position: absolute;
        right: 0;
        top: 0;
        width: auto;
        margin-right: 0;
        padding: 0 2px;
    }
    .news_close a.close img {
    width: 14px;
}
    .news_prefix {
        width: auto;
        min-width: 110px;
        font-size: 12px;
        position: absolute;
        left: 0;
        z-index: 0;
        top: 0;
    }
        .news_prefix img {
            width: 12px;
            margin-right: 3px;
        }
    .tickercontainer {
        width:100%;
        padding:0;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .news_text li {
/*        background: rgb(102, 196, 47); */
        background:#7EC14A;
        position: relative;
    }
    .news_text li a {
        font-size:12px;
        padding-left:20px;
    }
        .news_text li a:before {
            left:0 !important;
        }
    .booking-form {
        margin-top:0;
    }
    .booking-form .tab-content .tabconpad {
        height: 83px;
    }
    .booking-form .tabs li {
        width:50%;
        margin:0;
    }
    .booking-form .input-icon {
        height: 40px;
            padding: 3px 0;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
        .booking-form .tab-content.safari .input-icon select, .booking-form .tab-content.safari .label-select select {
            text-indent: 0;
            padding: 8px;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
        }
    #date1, #date2 {
        background-position: 6px 4px;
        height: 31px;
        line-height: 31px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .switch-label {
            font-size: 13px;
    }
    div#dp-popup {
        left: 0 !important;
        width: 100% !important;
        /*top: 0 !important;
        height: 100vh !important;
        position:fixed !important;*/
        /*overflow: hidden;
        overflow-y: scroll;*/
    }
    #dp-popup .dp-applied {
        width:100% !important;
    }
    table.jCalendar th {
        height:30px;
    }
    table.jCalendar td {
        height: 27px;
        width: calc(100%/7);
    }
    div.dp-popup h2 {
        font-size: 15px !important;
        padding: 14px 0 !important;
        background: #6EA516;
        color: #ffffff !important;
        box-sizing: border-box;
        margin: 0 !important;
    }
    div.dp-popup a {
        margin-top: 6px;
        color: #fff;
    }
    .booking-form .tab-content input[type='submit'] {
        width:200%;
    }
    .booking-form .clm-2 br {
    display: none;
}
    
}

@media screen and (max-width: 320px) {
    body {
        min-width: 320px;
    }
    
    #topsec .clm-2 {
        width: 100%;
        padding: 0;
    }
    .booking-form .tab-content input[type='submit'] {
        margin:0;
    }
    .booking-form .tab-content .tabconpad {
        height: 144px;
    }
}
