/*--Popup--*/
#popup.showing {
    z-index: 999999999 !important;
    right: 25%;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-name: bounceIn;
    animation-name: bounceIn;
    visibility: visible;
}
#popup.hiding{
    z-index: -1 !important;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-name: bounceOut;
    animation-name: bounceOut;
}

#popup {
    margin-bottom: 0;
    visibility: hidden;
    transition: 1s;
}
@-webkit-keyframes bounceIn {
    from,
    20%,
    40%,
    60%,
    80%,
    to {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    0% {
        opacity: 0;
        -webkit-transform: scale3d(0.3, 0.3, 0.3);
        transform: scale3d(0.3, 0.3, 0.3);
    }

    20% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1);
        transform: scale3d(1.1, 1.1, 1.1);
    }

    40% {
        -webkit-transform: scale3d(0.9, 0.9, 0.9);
        transform: scale3d(0.9, 0.9, 0.9);
    }

    60% {
        opacity: 1;
        -webkit-transform: scale3d(1.03, 1.03, 1.03);
        transform: scale3d(1.03, 1.03, 1.03);
    }

    80% {
        -webkit-transform: scale3d(0.97, 0.97, 0.97);
        transform: scale3d(0.97, 0.97, 0.97);
    }

    to {
        opacity: 1;
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

@keyframes bounceIn {
    from,
    20%,
    40%,
    60%,
    80%,
    to {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    0% {
        opacity: 0;
        -webkit-transform: scale3d(0.3, 0.3, 0.3);
        transform: scale3d(0.3, 0.3, 0.3);
    }

    20% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1);
        transform: scale3d(1.1, 1.1, 1.1);
    }

    40% {
        -webkit-transform: scale3d(0.9, 0.9, 0.9);
        transform: scale3d(0.9, 0.9, 0.9);
    }

    60% {
        opacity: 1;
        -webkit-transform: scale3d(1.03, 1.03, 1.03);
        transform: scale3d(1.03, 1.03, 1.03);
    }

    80% {
        -webkit-transform: scale3d(0.97, 0.97, 0.97);
        transform: scale3d(0.97, 0.97, 0.97);
    }

    to {
        opacity: 1;
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

@-webkit-keyframes bounceOut {
    20% {
        -webkit-transform: scale3d(0.9, 0.9, 0.9);
        transform: scale3d(0.9, 0.9, 0.9);
    }

    50%,
    55% {
        opacity: 1;
        -webkit-transform: scale3d(1.1, 1.1, 1.1);
        transform: scale3d(1.1, 1.1, 1.1);
    }

    to {
        opacity: 0;
        -webkit-transform: scale3d(0.3, 0.3, 0.3);
        transform: scale3d(0.3, 0.3, 0.3);
    }
}

@keyframes bounceOut {
    20% {
        -webkit-transform: scale3d(0.9, 0.9, 0.9);
        transform: scale3d(0.9, 0.9, 0.9);
    }

    50%,
    55% {
        opacity: 1;
        -webkit-transform: scale3d(1.1, 1.1, 1.1);
        transform: scale3d(1.1, 1.1, 1.1);
    }

    to {
        opacity: 0;
        -webkit-transform: scale3d(0.3, 0.3, 0.3);
        transform: scale3d(0.3, 0.3, 0.3);
    }
}


/*@keyframes fadeInLeft {*/
    /*from {*/
        /*opacity: 0;*/
        /*-webkit-transform: translate3d(-500%, 0, 0);*/
        /*transform: translate3d(-500%, 0, 0);*/
    /*}*/

    /*to {*/
        /*opacity: 1;*/
        /*margin-left: 0;*/
        /*-webkit-transform: translate3d(0, 0, 0);*/
        /*transform: translate3d(0, 0, 0);*/
    /*}*/
/*}*/

/*.fas{*/
    /*color: #8dc63f;*/
/*}*/
.popup {
    padding: 15px;
    position: fixed;
    bottom: 15%;
    width: 450px;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .16) !important;
    z-index: 2147483634 !important;
    overflow: auto;
    color: #ffffff !important;
    background:#0e3357;
    -webkit-backface-visibility: visible !important;
    backface-visibility: visible !important;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    /*font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;*/
    /*border: 15px solid #dcb965;*/
}

.popup span {
    margin: -11px -11px 0 0;
    float: right;
    right: 20px;
    cursor: pointer;
    width: 12px;
    height: 12px;
    padding: 4px 14px 15px 6px;
    border-radius: 3px;
    position: absolute;
}
.popup span i{
    position: absolute;
    left: 4px;
    bottom: 2px;
}
.popup span:hover {
    opacity: 1;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    /*transform: rotate(90deg);*/
    transition: .5s;

}

.popup .title {
    color: #ffffff;
    text-align: center;
    margin-left: 8px;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    padding-right: 32px;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: normal;
    width: 100%;
}

.popup p {
    text-align: left;
    font-size: 14px;
    margin-left: 10px;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: normal;
    color: white;
    line-height: 2.2em;
}
.popup p strong{
    color: #f3b931;
    font-size: 18px;

}
.popup p img{
    margin-right: 5px;
}

.popup input {
    margin: 3px 0 !important;
    padding: 8px 5px;
    text-align: left;
    border-radius: 3px !important;
    background: white;
    color: rgba(0, 0, 0, 0.87);
    vertical-align: middle;
    width: 100% !important;
    height: auto !important;
    min-width: 0;
    min-height: 0;
    max-width: none;
    max-height: none;
    text-shadow: none !important;
    box-shadow: none !important;
    background-clip: padding-box !important;
    line-height: 1 !important;
    letter-spacing: normal !important;
    outline: 0 none !important;
    border: solid 1px #1a3d94 !important;
    font-size: 14px;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: normal;
}

.popup textarea {
    margin: 1px 0 !important;
    padding: 6px 3px;
    text-align: left;
    border-radius: 3px !important;
    background: white;
    color: rgba(0, 0, 0, 0.87);
    vertical-align: middle;
    width: 100% !important;
    height: 80px !important;
    min-width: 0;
    min-height: 0;
    max-width: none;
    max-height: none;
    text-shadow: none !important;
    box-shadow: none !important;
    background-clip: padding-box !important;
    line-height: 1 !important;
    letter-spacing: normal !important;
    outline: 0 none !important;
    border: solid 1px #1a3d94 !important;
    font-size: 14px;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: normal;
}

form {
    width: 100%;
    display: table;
    margin: 0 auto;
}

.download {
    color: #020202;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    margin: 7px 0 !important;
    padding: 7px 0;
    border-radius: 3px !important;
    background: #dcb965;
    width: 100%;
    border: solid 2px #f3b931 !important;
    font-size: 14px;
}

.download:hover {
    background: #526788;
}

.attention {
    margin-top: 16px;
    text-align: center;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: normal;
}

#dang-ky {
    z-index: 9999999;
    margin-bottom: -500px;
    color: #0a0a0a;
    position: fixed;
    font-weight: 600;
    bottom: 0;
    right: 50px;
    padding: 4px 20px 2px 20px;
    cursor: pointer;
    border-radius: 10px 10px 0 0;
    transition: 1s;
    background: #dcb965;
    border: 1px solid;
}

#dang-ky.showing {
    margin-bottom: 0;
    transition: 1s;
    font-size: 15px;
}
@media (max-width: 991px) {
    #popup.showing {
        right: 18%;

    }
}
@media (max-width: 768px) {
    #popup.showing {
        right: 15%;
        height: 500px;

    }
    .text-pop img, .text-pop .attention a{
        display: none;
    }
}
@media (max-width: 480px) {

}
@media (max-width: 668px) {
    #pop {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .popup {
        width: 100%;
        right: auto !important;
        bottom: 3px;
    }
    }

    .popup .title {
        text-align: center !important;
    }

    .popup input {
        width: 100% !important;
    }

    .download {
        width: 100%;
    }

    /*#dang-ky {*/
        /*right: auto;*/
    /*}*/

.attention a {
    color: #fff !important;
    font-size: 17px;
    font-weight: 600;
}
/*.text-pop p i{*/
    /*color: #8dc63f;*/
/*}*/
.text-pop img{
    width: 100%;
    border: 1px solid #f3b931;
}
.popup form select {
    display: inline-block;
    width: 100%;
    padding: 5px 15px;
}
/*--//Popup--*/

