﻿/*****************************************************/
/*
    file_name: styles for generic notification pages
    author: Xuan Huynh
*/
/*****************************************************/
.notify-box {
    width: calc(55%);
    height: calc(25%);
    margin-left: auto;
    margin-right: auto;
    margin-top: calc(8%);
    margin-bottom: calc(2%);
    border-radius: 3px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    flex-direction: column;
    -webkit-flex-direction: column;
    justify-content: center;
    -webkit-align-content: center;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

.notify-box__i--white {
    color: #fff;
}
.notify-box__message {
    color: #fff;
    text-align: center;
    vertical-align: middle;
    margin-left: 5px;
    padding-right:30px;
}

.notify-description {
    text-align: center;
    margin-bottom: calc(5%);
    font-size: 18px;
}

.redirect-box {
    background-color: rgb(93, 154, 235);
    width: calc(16%);
    height: calc(5%);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    color: #fff;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border-radius: 20px;
    margin-bottom: calc(5%);
    padding:10px;
}
/*#region Huyen MOD*/
.notify-box__input input[type=text] {
    border: unset;
    border-bottom: 1px solid #BE1C2F;
    border-radius: 20px;
    font-size: 18px;
    color: black;
    padding: 5px 20px;
    -webkit-box-shadow: unset;
    box-shadow: unset;
    width: 100%;
    outline: none;
}
.btn-reset {
    background-color: transparent;
    border: 1px solid #fff;
    color:#fff;
}
    .btn-reset:hover {
        background-color: #fff;
        color: rgb(128, 20, 33);
    }
.forgot-password-form{
    padding:20px;
}
/*#endregion*/

/*#region responsive*/
@media screen and (min-width:1600px) {
    .notify-box__i--white {
        font-size: 48px;
    }
}
@media screen and (max-width:1600px) {
    .redirect-box {
        padding: 9px;
    }
    .notify-box__message {
        margin-left: 0px;
        padding-right: 30px;
    }
    .notify-box__i--white {
        font-size: 48px;
    }
}
@media screen and (max-width:1366px) {
    .notification-title {
        font-family: 'Montserrat', sans-serif;
        color: #47515E;
        font-size: 30px;
        font-weight: bold;
    }
    .notification-instruction {
        color: #8492A6;
        font-size: 20px;
    }
    .notification-content .ttl-btn-red {
        margin-top: 35px;
        font-size: 14px;
    }
}
@media screen and (max-width:1280px) {
    /*TODO*/
}
@media screen and (max-width:1024px) {
    .redirect-box {
        width: calc(22%);
        padding: 9px;
    }
}
@media screen and (max-width:800px) {
    .redirect-box {
        width: calc(27%);
        padding: 9px;
    }
    .notify-box__message {
        font-size: 1.2em!important;
    }
    .notify-box {
        width: calc(76%);
        height: 250px !important;
        padding: 10px;
    }
    .notify-box__i--white {
        font-size: 32px;
    }
}
@media screen and (max-width: 512px) {
    .notify-box__message {
        font-size: 0.8em !important;
    }
    .notify-box {
        width: calc(78%);
        height: 250px !important;
        padding:10px;
    }
    .redirect-box {
        width: calc(56%);
        padding: 6px;
    }
}
/*#endreion*/
/* new generic layout*/
.notification-page { 
    background-color: #F3F3F3;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
}

.notification-image img {
    width: 30vw;
    /*width: 50vw;*/
    filter: drop-shadow(1px 2px 2px black);
}
#NewsReleasePopup .notification-image img {
    width: 25vw;
}
#NewsReleasePopup .modal-dialog {
    margin: 10px auto;
}
/*.notification-content {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    padding-left: 20px;
    padding-right: 20px;
}*/
    .notification-content .form-control {
        height: 45px;
        border-radius: 5px;
        border: 1px solid #47515E;
        background: #F3F3F3;
        margin-top:5px;
    }
        .notification-content .form-control:focus {
            border-color: #47515E;
            outline: 0;
            -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(105, 86, 86, 0.25098039215686274);
            box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(105, 86, 86, 0.25098039215686274);
        }
.notification-title {
    color: #47515E;
    font-size: 30px;
    font-weight: 700;
}
.notification-instruction {
    color: #8492A6;
    font-size: 24px;
}
.notification-content .ttl-btn-red {
    margin-top:35px;
    font-size:20px;
}
.notification-content .ttl-btn--redwhite-swipe:hover {
    color: #be1c2f !important;
    background: linear-gradient(to right, #f3f3f3 50%, #be1c2f 50%);
    background-size: 250% 150%;
    background-position: left bottom;
}

/*#region new responsive*/
@media screen and (max-width: 1366px) {
    .notification-content {
        font-family: 'Montserrat', sans-serif;
        line-height: 1.7;
        padding-left: 20px;
        padding-right: 90px;
    }
        .notification-content .ttl-btn-red {
            margin-top: 35px;
            font-size: 14px;
        }
}

@media screen and (max-device-width: 800px) and (max-device-height: 1280px) {
    .notification-page {
        display: block;
        font-family: 'Montserrat', sans-serif;
    }

    .error-page .notification-image img {
        width: 100vw !important;
        height: 60vh;
    }

    .error-page .notification-content {
        background-color: #F3F3F3;
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-align: center;
        -moz-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        flex-direction: column;
        padding-bottom: 5rem;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: calc(40vh - 50px);
    }

    .error-page .notification-title {
        color: #073A93;
        font-size: 2.5rem;
        font-weight: 700;
        padding: 20px;
        position: relative;
    }

        .error-page .notification-title:before {
            content: ' ';
            top: 0;
            left: 25%;
            width: 50%;
            position: absolute;
            border-top: 2px solid #ddd;
        }

    .error-page .notification-instruction {
        color: #489BFF;
        font-size: 1.8rem;
        padding: 0 50px;
    }
}

@media screen and (max-device-width: 600px) and (max-device-height: 960px) {
    .error-page .notification-title {
        font-size: 1.8rem;
    }

    .error-page .notification-instruction {
        font-size: 1.1rem;
    }
}

@media screen and (max-device-width: 552px) {
    #ForgotPasswordPopUp .modal-dialog .modal-header .close,
    #GenericNotificationPopup .modal-dialog .modal-header .close,
    #GenericNotificationPopup_CTV .modal-dialog .modal-header .close {
        font-size: 30px !important;
    }
    #ForgotPasswordPopUp .modal-dialog .modal-body .notification-page,
    #GenericNotificationPopup .modal-dialog .modal-body .notification-page,
    #GenericNotificationPopup_CTV .modal-dialog .modal-body .notification-page {
        border-radius: 5px;
        padding-bottom: 20px;
    }
    .notification-image img {
        width: 35vw !important;
    }
    .notification-content {
        padding-right: 38px;
    }
    .notification-title {
        font-size: 15px !important;
    }
    .notification-instruction {
        padding-right: 0px !important;
        font-size: 12px !important;
    }
    .notification-content .form-control {
        height: 25px !important;
        font-size: 9px !important;
    }
    .notification-content .ttl-btn-red {
        margin-top: 15px !important;
        font-size: 12px !important;
    }
}

@media screen and (max-device-width: 414px) and (min-device-width: 414px) and (max-device-height: 896px) and (min-device-height: 896px) {
    .error-page .notification-image img {
        width: 100vw !important;
        height: 55vh;
    }

    .error-page .notification-content {
        height: auto;
    }

    .error-page .notification-title {
        font-size: 1.5rem;
    }

    .error-page .notification-instruction {
        padding: 0 10px;
    }
}

@media screen and (max-device-width: 414px) and (max-device-height: 896px) {
    .error-page .notification-instruction {
        padding: 0 10px;
    }
}

@media screen and (max-device-width: 375px) and (min-device-width: 375px) and (max-device-height: 812px) and (min-device-height: 812px) {
    .error-page .notification-image img {
        width: 100vw !important;
        height: 45vh;
    }

    .error-page .notification-content {
        height: auto;
    }

    .error-page .notification-title {
        font-size: 1.5rem;
    }

    .error-page .notification-instruction {
        padding: 0 20px;
    }
}

@media screen and (max-device-width: 360px) and (max-device-height: 640px) {
    .error-page .notification-title{
        font-size: 1.5rem;
    }

    .error-page .notification-instruction {
        font-size: 0.9rem;
    }
}

@media screen and (max-device-width: 320px) and (max-device-height: 480px) {
    .error-page .notification-content {
        padding-bottom: 0;
    }
}
/*#endregion*/


/*#region pop-up forms*/
#ForgotPasswordPopUp, #GenericNotificationPopup, #AccountActivationPopUp,
#GenericNotificationPopup_CTV, #AccountActivationPopUp_CTV {
    padding-left: 5% !important;
    padding-right: 5% !important;
}

    #ForgotPasswordPopUp .modal-dialog,
    #GenericNotificationPopup .modal-dialog,
    #AccountActivationPopUp .modal-dialog,
    #GenericNotificationPopup_CTV .modal-dialog,
    #AccountActivationPopUp_CTV .modal-dialog {
        width: auto;
        margin: unset !important;
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }
    #ForgotPasswordPopUp .modal-body,
    #GenericNotificationPopup .modal-body,
    #AccountActivationPopUp .modal-body,
    #GenericNotificationPopup_CTV .modal-body,
    #AccountActivationPopUp_CTV .modal-body {
        padding: 0;
    }
    #NewsReleasePopup .modal-dialog .modal-content {
        background-color: #f3f3f3;
    }
#ForgotPasswordPopUp .modal-header,
#GenericNotificationPopup .modal-header,
#AccountActivationPopUp .modal-header,
#GenericNotificationPopup_CTV .modal-header,
#AccountActivationPopUp_CTV .modal-header {
    padding-top: 15px;
    padding-right: 25px;
    padding-left: 0px;
    padding-bottom: 0px;
    border-bottom: none;
    border-radius: 5px 5px 0px 0px;
    background: #f3f3f3;
}
#NewsReleasePopup .modal-header {
    padding-bottom: 0px;
    border-radius: 5px 5px 0px 0px;
}
#ForgotPasswordPopUp .modal-dialog .modal-body .notification-page,
#GenericNotificationPopup .modal-dialog .modal-body .notification-page,
#AccountActivationPopUp .modal-dialog .modal-body .notification-page,
#GenericNotificationPopup_CTV .modal-dialog .modal-body .notification-page,
#AccountActivationPopUp_CTV .modal-dialog .modal-body .notification-page,
#NewsReleasePopup .modal-dialog .notification-page {
    border-radius: 5px;
}
#ForgotPasswordPopUp .modal-dialog .modal-header .close,
#GenericNotificationPopup .modal-dialog .modal-header .close,
#AccountActivationPopUp .modal-dialog .modal-header .close,
#GenericNotificationPopup_CTV .modal-dialog .modal-header .close,
#AccountActivationPopUp_CTV .modal-dialog .modal-header .close,
#NewsReleasePopup .modal-dialog .modal-header .close {
    font-size: 40px;
}
/*#endregion*/

/*#region customize checkbox in release note*/
.checkbox-release {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 0px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-weight: normal;
}
    .checkbox-release input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border: 1px solid #cacaca;
}

.checkbox-release:hover input ~ .checkmark {
    background-color: #ddd;
}

.checkbox-release input:checked ~ .checkmark {
    background-color: #2196F3;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-release input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-release .checkmark:after {
    left: 6px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
#NewsReleasePopup .notification-instruction, #NewsReleasePopup .notification-title {
    border-top: none;
    padding: 0px;
}
#NewsReleasePopup .modal-footer {
    height: 80px;
    background-color: #be1c2f;
    width: 100%;
    text-align: center !important;
    padding: 7px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
.sub-header-release {
    font-weight: bold;
    font-size: 18px;
}
.release-item {
    font-size:16px;
    padding-left:20px;
    padding-top: 10px;
}
@media screen and (max-width:1024px) {
    .checkbox-release .checkmark:after {
        left: 5px;
        top: 2px;
        width: 5px;
        height: 8px;
        border: solid white;
        border-width: 0 3px 3px 0;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    .checkmark {
        position: absolute;
        top: 0;
        left: 0;
        height: 16px;
        width: 16px;
        background-color: #eee;
        border: 1px solid #cacaca;
    }
    .checkbox-release {
        font-size: 12px;
        padding-left: 20px;
        margin-top: 20px;
    }
    .sub-header-release {
        font-weight: bold;
        font-size: 16px;
    }
    .release-item {
        font-size: 14px;
        padding-left: 20px;
    }
    #NewsReleasePopup .notification-instruction, #NewsReleasePopup .notification-title {
        font-size: 25px;
    }
}
@media screen and (max-width:768px) {
    #NewsReleasePopup .notification-content {
        text-align: left;
        align-items:flex-start;
        -webkit-align-items:flex-start;
        padding-left:10px;
    }
    #NewsReleasePopup .notification-title, #NewsReleasePopup .notification-instruction, #ForgotPasswordPopUp .notification-title {
        padding: 0;
        border: none;
    }
    .release-item {
        font-size: 12px;
        padding-left: 20px;
    }
    .sub-header-release {
        font-weight: bold;
        font-size: 14px;
    }
    #ForgotPasswordPopUp .notification-image img {
        width: 40vw;
    }
}
@media screen and (max-width:640px) {
    #NewsReleasePopup .notification-image, #NewsReleasePopup .notification-title {
        text-align: center;
    }
    #NewsReleasePopup .notification-image img {
        width: auto;
        height: 15vh;
    }
    .sub-header-release {
        font-weight: bold;
        font-size: 14px;
    }
    .release-item {
        font-size: 12px;
        padding-left: 20px;
    }
    #NewsReleasePopup .modal-dialog .notification-page {
        flex-direction:column;
        -webkit-flex-direction:column;
    }
    #NewsReleasePopup .notification-content {
        padding:0;
    }
    #NewsReleasePopup .modal-dialog .modal-header .close {
        font-size: 30px;
    }
}
/*#endregion*/

a.subscribe-btn-premium {
    border-radius: 5px;
    font-size: 16px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    outline: none !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    padding: 10px 30px;
    border: none;
    -webkit-box-shadow: 3px 4px 10px 0px rgb(0 0 0 / 40%);
    -moz-box-shadow: 3px 4px 10px 0px rgba(0,0,0,0.4);
    box-shadow: 3px 4px 10px 0px rgb(0 0 0 / 40%);
    position: relative;
    overflow: hidden;
    display: inline-block;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    letter-spacing: 2.5px;
    background: #be1c2f;
    margin-top: 20px;
}