/*

[Responsive Stylesheet]

Project: ZeeHost - Responsive HTML5 WHMCS Hosting Template
Version: 1.0
Author : themelooks.com

[Table of contents]

1. MEDIA QUERIES
    - 1-1 LARGE DEVICES, WIDE SCREENS
    - 1-2 MEDIUM DEVICES, DESKTOPS
    - 1-3 SMALL DEVICES, TABLETS
    - 1-4 SMALL DEVICES, SMARTPHONES
    - 1-5 CUSTOM, IPHONE RETINA

*/

/*------------------------------------*\
    1. MEDIA QUERIES
\*------------------------------------*/
/* 1-1 LARGE DEVICES, WIDE SCREENS */
@media screen and (max-width: 1200px) {
    /* SERVICE AREA */
    #service.service-primary {
        height: auto;
    }
    #service .bx-pager {
        width: 970px;
    }

    /* BLOG AREA */
    .post-item > .row > .col-md-2 {
        padding: 0;
    }

    /* BLOG PAGE */
    #blogPage .post-item > .row > .col-md-2 {
        padding: 0;
    }
}

@media screen and (min-width: 993px) and (max-width: 1200px) {
    /* SLIDER AREA */
    .slider-img .slider-img-slider {
        left: 100.3px;
    }
    .slider-img .slider-img-inner {
        left: 101.3px;
    }
}

/* 1-2 MEDIUM DEVICES, DESKTOPS */
@media screen and (max-width: 991px) {
    .header--nav {
        position: absolute;
        left: 0;
        top: 100%;
        width: 100%;
        background-color: #fff;
        max-height: 320px;
        overflow-y: scroll;
        flex: unset;
        padding: 0 50px;
        border-top: 1px solid #e3e3e3;
        z-index: 99;
    }

    .header--nav .nav > .dropdown > .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 0 30px 0;
    }

    .header--search-bar {
        display: none;
    }

    /* SLIDER AREA */
    #slider {
        height: auto;
        min-height: 0;
        margin-top: 100px;
        padding: 100px 0;
    }
    .slider-img .slider-img-slider {
        left: 46.3px;
    }

    /* FEATUER AREA */
    .feature-item:nth-last-child(3),
    .feature-item:nth-last-child(4) {
        margin-bottom: 30px;
    }

    /* PRICEING AREA */
    .pricing-table .pricing-item {
        margin-bottom: 50px;
    }
    .pricing-table .pricing-item:last-child {
        margin-bottom: 0;
    }

    /* PRICING DETAILS */
    .pricing-details-item.head {
        display: none;
    }
    .pricing-details-item.body {
        margin-bottom: 20px;
    }
    .pricing-details-item.body:last-child {
        margin-bottom: 0;
    }
    .pricing-details-item .heading h3 {
        padding-right: 20px;
        border-left-width: 1px;
        color: #222;
        background-color: #fff;
        font-size: 18px;
        text-align: right;
    }
    .pricing-details-item.body .content li {
        border-left: 1px solid #e9e9e9;
        text-align: right;
    }
    .pricing-details-item.body .content li .labelText {
        float: left;
        font-weight: 500;
    }
    .pricing-details-item.body .content .action-btn {
        border-left: 1px solid #e9e9e9;
    }

    /* EXTRA FEATURE AREA */
    .extra-feature-img {
        text-align: center;
    }

    /* BLOG AREA */
    .post-item {
        margin-bottom: 55px;
    }
    .post-item:last-child {
        margin-bottom: 0;
    }
    .post-item:before {
        top: auto;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 1px;
        margin-left: 0;
    }
    .post-item > .row,
    .post-item > .row > div {
        display: block;
    }
    .post-item > .row > .col-md-2 {
        padding: 0 15px;
    }
    .post-item:nth-child(even) .post-meta {
        margin-left: 0;
    }
    .post-meta {
        display: table;
        width: 100%;
        height: 100%;
        margin: 35px 0;
    }
    .post-item:nth-child(even) .post-meta {
        margin: 35px 0 30px;
    }
    .post-meta .date,
    .post-meta .comments {
        width: 50%;
        display: table-cell;
        vertical-align: middle;
        padding: 0;
    }
    .post-meta .date {
        font-size: 18px;
    }
    .post-meta .date i.fa,
    .post-meta .comments span {
        display: inline-block;
    }
    .post-meta .date i.fa {
        margin: 0 10px 0 0;
    }
    .post-meta .comments {
        padding: 25px;
        font-size: 18px;
    }

    /* FOOTER AREA */
    .footer-widgets .about,
    .footer-widgets .useful-links,
    .footer-widgets .recent-posts {
        margin-bottom: 50px;
    }

    /* ABOUT PAGE - TEAM */
    .team-item {
        margin-bottom: 50px;
    }
    .team-item:nth-last-child(1),
    .team-item:nth-last-child(2) {
        margin-bottom: 0;
    }
    .team-item img {
        width: 100%;
    }

    /* AFFILIATE PAGE - COUNTER */
    #aCounter {
        padding-bottom: 50px;
    }
    .aCounter > .container > .row > div {
        margin-bottom: 50px;
    }
    .aCounter > .container > .row > div:last-child {
        margin-bottom: 0;
    }

    .a-pricing-item {
        margin-bottom: 50px;
    }
    .a-pricing-item:last-child {
        margin-bottom: 0;
    }

    /* DEDICATED PRICING AREA */
    #dedicatedPricing table {
        border: 0;
    }
    #dedicatedPricing table thead {
        display: none;
    }
    #dedicatedPricing table tr {
        margin-bottom: 10px;
        display: block;
        border-bottom: 2px solid #ddd;
        background-color: #fff;
    }
    #dedicatedPricing table tbody tr:nth-child(even) td {
        background-color: #fff;
    }
    #dedicatedPricing table td {
        display: block;
        text-align: right;
        font-size: 13px;
        border-bottom: 1px dotted #ccc;
    }
    #dedicatedPricing table td:last-child {
        border-bottom: 0;
    }
    #dedicatedPricing table td span.labelText {
        float: left;
        text-transform: uppercase;
        font-weight: bold;
    }

    /* DOMAIN PRICING AREA */
    #domainPricing table {
        border: 0;
    }
    #domainPricing table thead {
        display: none;
    }
    #domainPricing table tr {
        margin-bottom: 10px;
        display: block;
        border-bottom: 2px solid #ddd;
        background-color: #fff;
    }
    #domainPricing table tbody tr:nth-child(even) td {
        background-color: #fff;
    }
    #domainPricing table td {
        display: block;
        text-align: right;
        font-size: 13px;
        border-bottom: 1px dotted #ccc;
    }
    #domainPricing table td:last-child {
        border-bottom: 0;
    }
    #domainPricing table td span.labelText {
        float: left;
        text-transform: uppercase;
        font-weight: bold;
    }

    /* BLOG PAGE */
    .blog-page-content + .blog-page-sidebar {
        margin-top: 100px;
    }

    /* COLOR SWITCHER */
    #open-switcher,
    #close-switcher,
    #switcher-color {
        display: none;
    }

    /* RESPONIVE-COLUMNS */
    .res-col > .col-md-4:nth-last-child(2),
    .res-col > .col-md-4:nth-last-child(3) {
        margin-bottom: 30px;
    }
}

/* 1-3 SMALL DEVICES, TABLETS */
@media screen and (max-width: 767px) {
    /* HEADER AREA */
    .header--social {
        display: none;
    }

    .header--navbar-head {
        float: left;
        margin: 0;
    }

    .header--nav {
        max-height: 320px;
        margin-top: 58px;
        border-top-color: #e9e9e9;
        box-shadow: 0 0 0px rgba(0, 0, 0, 0.14), 0 2px 3px rgba(0, 0, 0, 0.28);
    }
    .is-sticky .header--nav {
        box-shadow: none;
    }
    .header--nav .nav {
        margin-left: -15px;
    }
    .header--nav .nav > li:before {
        margin-left: 15px;
    }
    .header--nav .nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .header--nav .nav > .dropdown:hover > .dropdown-menu {
        display: none;
    }
    .header--nav .nav > .dropdown.open > .dropdown-menu {
        display: block;
        padding: 0 0 0 15px;
    }

    .header--search-bar {
        display: none;
    }

    /* DOMAIN SEARCH AREA */
    .ds--form-ext {
        margin-top: 0;
    }

    .ds--form-ext label {
        float: left;
        display: block;
        width: 33.33333%;
        margin-top: 25px;
        text-align: center;
    }

    /* FEATUER AREA */
    .feature-item {
        margin-bottom: 30px;
    }
    .feature-item:nth-last-child(2) {
        margin-bottom: 30px;
    }

    /* COUNTER AREA */
    #counter > .container > .row > div {
        margin-bottom: 70px;
    }
    #counter > .container > .row > div:last-child,
    #counter > .container > .row > div:nth-last-child(2) {
        margin-bottom: 0;
    }

    /* CONTACT AREA */
    #contactForm {
        padding-left: 0;
    }

    /* CONTACT ACTIONS */
    #contactActions > .container > .row > div {
        margin-bottom: 60px;
    }
    #contactActions > .container > .row > div:last-child {
        margin-bottom: 0;
    }

    /* FOOTER WIDGETS */
    .footer-widgets .payment-methods {
        text-align: center;
    }
    .footer-widgets .social-links {
        float: none;
        text-align: center;
    }
    .footer-widgets .social-links ul {
        display: inline-block;
    }

    /* ABOUT DESCRIPTION */
    .about-description .about-desc-img {
        margin-bottom: 35px;
    }
    .about-description .row {
        display: block;
    }
    .about-description .row > div {
        display: block;
    }

    /* ABOUT PAGE */
    .team-item:nth-last-child(2) {
        margin-bottom: 50px;
    }
    .team-social-links .nav li {
        float: left;
    }

    ul.timeline:before {
        display: none;
    }
    ul.timeline > li {
        margin-bottom: 0px;
        position: relative;
        width: 100%;
        float: left;
        clear: left;
    }
    ul.timeline > li > .timeline-badge {
        left: 28px;
        margin-left: 0;
        top: 16px;
    }
    ul.timeline > li > .timeline-panel {
        float: right;
        width: 100%;
        overflow: hidden;
    }
    .timeline > li:nth-child(odd) > .timeline-panel,
    .timeline > li:nth-child(even) > .timeline-panel {
        margin: 0;
    }
    ul.timeline > li > .timeline-panel:before {
        border-left-width: 0;
        border-right-width: 15px;
        left: -15px;
        right: auto;
    }
    ul.timeline > li > .timeline-panel:after {
        border-left-width: 0;
        border-right-width: 14px;
        left: -14px;
        right: auto;
    }
    .timeline > li.timeline-inverted {
        float: left;
        clear: left;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .timeline > li.timeline-inverted > .timeline-badge {
        left: 28px;
    }

    /* FAQ PAGE */
    .faq-categories {
        margin-bottom: 30px;
    }
    .faq-categories ul li a:before {
        display: none;
    }

    /* DOMAIN PRICING AREA */
    #pricingTable2 > .container {
        padding: 0 15px;
    }

    /* SLIDER AREA */
    .slider-item-content-holder + .slider-item-img-holder,
    .slider-item-img-holder + .slider-item-content-holder {
        margin: 45px auto 90px;
    }

    /* BLOG DETAILS PAGE */
    .blog-page-sidebar + .blog-page-content {
        margin-top: 40px;
    }
    .full-post > .row > div {
        float: none;
    }
    .full-post .post-author-metadata {
        margin-bottom: 0;
    }
    .post-social-links {
        margin-bottom: 15px;
    }
    .post-social-links ul {
        text-align: left;
    }
    .post-social-links li {
        margin-left: 0;
        margin-right: 2px;
    }

    /* VPS SLIDER */
    .vps-slider-holder2 {
        padding: 70px 0 60px;
    }
    #vpsSlider2:before {
        left: -50px;
        width: 50px;
    }
    #vpsSlider2:after {
        right: -50px;
        width: 50px;
    }

    /* CONTACT PAGE */
    .contact-social-links {
        margin-bottom: 40px;
    }
}

@media screen and (max-height: 700px) {
    /* SLIDER AREA */
    .slider-img > img {
        max-height: 85%;
    }
    .slider-img .slider-img-slider,
    .slider-img .slider-img-inner {
        top: 8%;
        height: 100%;
    }
    .slider-img-slider .owl-controls {
        bottom: 33%;
    }
}

/* 1-4 SMALL DEVICES, SMARTPHONES */
@media screen and (max-width: 480px) {
    /* HEADER AERA */
    .header--logo {
        float: none;
        display: block;
        text-align: center;
    }
    .header--logo a {
        display: inline-block;
    }

    .header--info ul {
        float: none;
        text-align: center;
    }
    .header--info ul li {
        float: none;
        margin-right: 0;
        padding-right: 0;
        border: none;
    }

    /* SLIDER AREA */
    .slider-content ul li {
        width: 100%;
    }

    /* SUBSCRIBE AERA */
    #subscribeForm .input-box {
        width: 100%;
    }

    /* COUNTER AREA */
    #counter > .container > .row > div {
        width: 100%;
        float: none;
    }
    #counter > .container > .row > div:nth-last-child(2) {
        margin-bottom: 70px;
    }

    /* FEEDBACK AREA */
    .clients-holder {
        width: 280px;
    }
    .clients-holder:before,
    .clients-holder:after {
        display: none;
    }

    /* LOGIN AREA */
    #loginForm p.help-block a {
        float: none !important;
        display: block;
    }

    /* VPS SLIDER */
    .vps-slider-holder2 {
        padding: 50px 0 30px;
    }
    #vpsSlider2:before,
    #vpsSlider2:after {
        display: none;
    }
    .vps-slider-stage .stage img {
        display: none;
    }
}

/* 1-5 CUSTOM, IPHONE RETINA */
@media screen and (max-width: 380px) {
    /* VPS PRICING AREA */
    #vpsPricing .action a {
        margin-bottom: 20px;
    }

    /* DOMAIN SEARCH AREA */
    .ds--form-ext label {
        width: 50%;
    }

    .ds--form-input .btn--default {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media screen and (max-width: 320px) {
    /* SLIDER AREA AREA */
    .slider-item h2 {
        font-size: 21px;
        line-height: 25px;
    }

    .slider-item a.read-more {
        padding: 5px 15px;
    }

    .slider-item a.read-more img {
        height: 30px;
    }
}
