/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

/* ==========================================
   NÚT ĐĂNG KÝ
========================================== */

.custom-register-button {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 76px;

    margin-top: 25px;

    background: linear-gradient(90deg, #ff9900, #ff6f1a);

    color: #fff !important;

    border-radius: 13px;

    text-decoration: none !important;

    box-shadow: 0 4px 10px rgba(0,0,0,.15);

    transition: all .25s ease;
}

.custom-register-button:hover {
    transform: translateY(-2px);

    color: #fff !important;

    box-shadow: 0 7px 18px rgba(0,0,0,.22);
}

.custom-register-button .register-content {
    display: flex;
    flex-direction: column;
    align-items: center;

    line-height: 1.2;
}

.custom-register-button .register-content strong {
    font-size: 22px;
    font-weight: 700;

    color: #fff;
}

.custom-register-button .register-content small {
    margin-top: 5px;

    font-size: 15px;

    color: #fff;
}

.custom-register-button .register-arrow {
    position: absolute;

    right: 18px;
    top: 50%;

    transform: translateY(-50%);

    font-size: 30px;

    color: #fff;
}


/* ==========================================
   POPUP
========================================== */

.techome-popup {
    position: fixed;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    z-index: 999999;

    display: none;

    align-items: center;
    justify-content: center;
}

.techome-popup.active {
    display: flex;
}


/* Nền tối */

.techome-popup-overlay {
    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,.60);
}


/* Khung popup */

.techome-popup-content {
    position: relative;

    z-index: 2;

    width: 92%;
    max-width: 560px;

    max-height: 90vh;

    overflow-y: auto;

    padding: 28px 30px;

    background: #fff;

    border-radius: 12px;

    box-shadow: 0 10px 40px rgba(0,0,0,.30);
}


/* Nút X */

.techome-popup-close {
    position: absolute;

    right: 15px;
    top: 10px;

    width: 35px;
    height: 35px;

    border: none !important;

    background: transparent !important;

    color: #333;

    font-size: 30px;

    line-height: 30px;

    cursor: pointer;

    padding: 0 !important;

    margin: 0 !important;
}

.techome-popup-close:hover {
    background: transparent !important;

    color: #ff6f1a;
}


/* Tiêu đề */

.techome-popup-title {
    text-align: center;

    font-size: 24px;

    font-weight: 700;

    color: #222;

    margin-bottom: 5px;
}


/* Mô tả */

.techome-popup-subtitle {
    text-align: center;

    font-size: 14px;

    color: #777;

    margin-bottom: 22px;
}


/* ==========================================
   CONTACT FORM 7
========================================== */

.techome-contact-form label {
    display: block;

    font-size: 15px;

    font-weight: 600;

    color: #333;

    margin-bottom: 6px;
}

.techome-contact-form input[type="text"],
.techome-contact-form input[type="email"],
.techome-contact-form input[type="tel"],
.techome-contact-form select,
.techome-contact-form textarea {

    width: 100%;

    margin-top: 5px;

    padding: 12px 14px;

    min-height: 45px;

    border: 1px solid #d8d8d8;

    border-radius: 3px;

    background: #fff;

    font-size: 15px;

    box-shadow: none;
}

.techome-contact-form textarea {
    min-height: 120px;
}

.techome-contact-form input:focus,
.techome-contact-form select:focus,
.techome-contact-form textarea:focus {

    border-color: #ff8a00;

    outline: none;

    box-shadow: 0 0 0 2px rgba(255,138,0,.10);
}


/* Nút gửi */

.techome-contact-form input[type="submit"] {

    background: #000;

    color: #fff;

    border: none;

    padding: 12px 28px;

    font-size: 15px;
    width: 100%;
    font-weight: 500;

    border-radius: 5%;

    cursor: pointer;

    transition: .2s;
}

.techome-contact-form input[type="submit"]:hover {

    background: #ff7a00;

    color: #fff;
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 549px) {

    .techome-popup-content {

        width: 94%;

        max-height: 90vh;

        padding: 25px 18px;

        border-radius: 10px;
    }

    .techome-popup-title {
        font-size: 21px;
    }

    .techome-popup-subtitle {
        font-size: 13px;
    }

    .custom-register-button {
        min-height: 70px;
    }

    .custom-register-button .register-content strong {
        font-size: 20px;
    }

    .custom-register-button .register-content small {
        font-size: 14px;
    }

}

/* Hiệu ứng khi rê chuột */
.techome-contact-form input[type="submit"]:hover {
    background: #ff7a00;
    color: #fff;
}


