/*------------------------------
    PRELOADER
-------------------------------*/

.terms-btn-mobile {
    display: none !important;
}

@media only screen and (max-width: 767px) {
    .terms-btn-mobile {
        display: inline-block !important;
    }
}

.preeloader {
    background: rgba(255, 255, 255, 1) none repeat scroll 0 0;
    height: 100%;
    position: fixed;
    width: 100%;
    z-index: 999999;
}

.preloader-spinner {
    width: 60px;
    height: 60px;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: absolute;
}

.preloader-spinner img {
    width: 100%;
}


/*----------------------------------
    MEDIUM LAYOUT: 1280px
-----------------------------------*/

@media only screen and (min-width: 992px) and (max-width: 1200px) {
    .welcome-text h3 {
        font-size: 32px;
    }
}


/*----------------------------------
    TABLET LAYOUT: 768px
------------------------------------*/

@media (min-width: 768px) and (max-width: 991px) {
    .section-padding {
        padding: 80px 0;
    }
    .padding-top {
        padding-top: 80px;
    }
    .area-title h2 {
        font-size: 40px;
    }
    .welcome-text h3 {
        font-size: 30px;
    }
    .subscriber-form form {
        width: 60%;
    }
}


/*----------------------------------
    MOBILE LAYOUT: 320px
-----------------------------------*/

@media only screen and (max-width: 767px) {
    /* Inner-scroll: welcome-text-area scrolls within the full-height main-area */
    .welcome-text-area {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        padding-top: 15px;
        padding-bottom: 30px;
        box-sizing: border-box;
        /* Required so the flex container can actually shrink and scroll */
        min-height: 0;
    }

    .section-padding {
        padding: 80px 0;
    }
    .area-title {
        margin-bottom: 25px;
    }
    .area-title h2 {
        font-size: 28px;
    }
    .area-title::after {
        display: none;
    }
    .padding-top {
        padding-top: 50px;
    }
    .service-area.padding-bottom,
    .gallery-area.padding-bottom {
        padding-bottom: 20px;
    }
    .welcome-text h1 {
        font-size: 40px;
        letter-spacing: 5px;
    }
    .welcome-text h3 {
        font-size: 20px;
    }
    .clock-countdown {
        width: 260px;
    }
    .clock-countdown .days-counter {
        margin-top: auto;
    }
    .clock-countdown .days-counter .digit {
        font-size: 70px;
    }
    .clock-countdown .days-counter .txt {
        font-size: 18px;
    }
    .clock-countdown .hour-counter {
        font-size: 18px;
    }
    .clock-countdown .hour-counter::before {
        left: 82%;
    }
    .clock-countdown .hour-counter::after {
        right: 82%;
    }
    .clock-countdown .hour-counter .border::after,
    .clock-countdown .hour-counter .border::before {
        height: 80px;
    }
    .subscriber-form form {
        width: 100%;
    }
    .subscriber-form form button {
        width: auto;
    }
    .social-book-mark {
        display: none;
    }
    .information-contact {
        display: none;
    }
    .terms-btn-mobile {
        display: inline-block;
        width: 95%;
        text-align: center;
        margin: 0;
    }
    .home-button {
        margin-top: inherit;
    }
    .home-button a {
        margin: 0 8px;
        min-width: 120px;
    }
    .left-contact-content,
    .terms-content,
    .right-details-content {
        left: -100% !important;
        width: 100% !important;
        padding: 0 20px !important;
    }
    .right-details-content {
        left: auto !important;
        right: -100% !important;
    }
    .left-contact-content.content-open,
    .terms-content.terms-open {
        left: 0 !important;
    }
    .right-details-content.content-open {
        right: 0 !important;
    }
}


/*----------------------------------
    WIDE MOBILE LAYOUT: 480px
-----------------------------------*/

@media only screen and (min-width: 480px) and (max-width: 767px) {
    .section-padding {
        padding: 50px 0;
    }
    .area-title h2 {
        font-size: 40px;
    }
    .welcome-text h3 {
        font-size: 26px;
    }
    .welcome-text h1 {
        font-size: 60px;
    }
    .clock-countdown {
        margin-bottom: 40px;
        width: auto;
        max-width: 460px;
    }
    .home-button {
        margin-top: 60px;
    }
    .home-button a {
        font-size: 15px;
        letter-spacing: 2px;
        margin-left: 20px;
        padding: 15px 30px;
        display: inline-block !important;
    }
}


/*----------------------------------
    SMALL MOBILE: max 479px
-----------------------------------*/

@media only screen and (max-width: 479px) {
    .clock-countdown .days-counter .digit {
        font-size: 60px;
    }
    .clock-countdown .days-counter .txt {
        font-size: 16px;
    }
    .clock-countdown .hour-counter {
        font-size: 16px;
    }
    .clock-countdown .hour-counter .border::after,
    .clock-countdown .hour-counter .border::before {
        height: 70px;
    }
    .progress-container {
        margin: 15px auto 60px auto !important;
        width: 85%;
    }
}


/*----------------------------------
    TINY MOBILE: max 360px
-----------------------------------*/

@media only screen and (max-width: 360px) {
    .welcome-text h1 {
        font-size: 28px;
        letter-spacing: 3px;
        margin-bottom: 5px;
    }
    .clock-countdown {
        width: 220px;
    }
    .clock-countdown .days-counter .digit {
        font-size: 48px;
    }
    .clock-countdown .days-counter .txt {
        font-size: 14px;
        top: 1em;
    }
    .clock-countdown .hour-counter {
        font-size: 14px;
        word-spacing: 4px;
    }
    .clock-countdown .hour-counter .border::after,
    .clock-countdown .hour-counter .border::before {
        height: 60px;
    }
    .home-button {
        margin-top: 5px !important;
    }
    .progress-container {
        margin: 10px auto 60px auto !important;
        width: 90%;
    }
}
