@media screen and (-webkit-min-device-pixel-ratio:0) {
    #modal-container {
        -webkit-transform: scale(0);
    }
    #modal-container.one {
        -webkit-transform: scale(1);
    }
    #modal-container.one .modal-background .form-modal-login {
        -webkit-transform: scale(1);
    }
    #modal-container.one.out {
        -webkit-transform: scale(0);
    }
    #modal-container-user {
        -webkit-transform: scale(0);
    }
    #modal-container-user.one {
        -webkit-transform: scale(1);
    }
    #modal-container-user.one .modal-background-user .form-modal-login-user {
        -webkit-transform: scale(1);
    }
    #modal-container-user.one.out {
        -webkit-transform: scale(0);
    }
}
#modal-container {
    position: fixed;
    display: table;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    transform: scale(0);
    z-index: 99999;
}
.modal-active {
    overflow: hidden;
}
.modal-close {
    color: black;
    background-color: #fff;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    line-height: 24px;
    font-size: 12px;
    position: absolute;
    padding-left: 0px;
    cursor: pointer;
    transition: 0.3s;
    border: 1px solid transparent;
    z-index: 99;
    right: 2px;
    top: 2px;
}
.modal-close:hover {
    color: #ff7e00;
    border: 1px solid #ff7e00;
    background-color: transparent;
}
#modal-container.one {
    transform: scaleY(0.01) scaleX(0);
    animation: unfoldIn 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
#modal-container.one .modal-background .form-modal-login {
    transform: scale(0);
    animation: zoomInLogin 0.5s 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
#modal-container.one .modal-background .modal-close {
    transform: scale(0);
    animation: zoomInLogin 0.5s 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
#modal-container.one.out {
    transform: scale(1);
    animation: unfoldOut 1s 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
#modal-container.one.out .modal-background .form-modal-login {
    animation: zoomOutLogin 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
#modal-container.one.out .modal-background .modal-close {
    animation: zoomOutLogin 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
#modal-container .modal-background {
    display: table-cell;
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
    vertical-align: middle;
}
#modal-container .modal-background .form-modal-login {
    background: white;
    display: inline-block;
    /*border-radius: 3px;*/
    font-weight: 300;
    position: relative;
    /*border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;*/
}
#modal-container-user {
    position: fixed;
    display: table;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    transform: scale(0);
    z-index: 99999;
}
.modal-close-user {
    color: black;
    background-color: #fff;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    line-height: 24px;
    font-size: 12px;
    position: absolute;
    right: 2px;
    top: 2px;
    padding-left: 0px;
    cursor: pointer;
    transition: 0.3s;
    border: 1px solid transparent;
    z-index:99;
}
.modal-close-user:hover {
    color: #ff7e00;
    border: 1px solid #ff7e00;
    background-color: transparent;
}
#modal-container-user.one {
    transform: scaleY(0.01) scaleX(0);
    animation: unfoldIn 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
#modal-container-user.one .modal-background-user .form-modal-login-user {
    transform: scale(0);
    animation: zoomInLogin 0.5s 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
#modal-container-user.one .modal-background-user .modal-close-user {
    transform: scale(0);
    animation: zoomInLogin 0.5s 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
#modal-container-user.one.out {
    transform: scale(1);
    animation: unfoldOut 1s 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
#modal-container-user.one.out .modal-background-user .form-modal-login-user {
    animation: zoomOutLogin 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
#modal-container-user.one.out .modal-background-user .modal-close-user {
    animation: zoomOutLogin 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
#modal-container-user .modal-background-user {
    display: table-cell;
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
    vertical-align: middle;
}
#modal-container-user .modal-background-user .form-modal-login-user {
    background: white;
    display: inline-block;
    /*border-radius: 3px;*/
    font-weight: 300;
    position: relative;
    /*border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;*/
}


@keyframes unfoldIn {
    0% {
        transform: scaleY(0.005) scaleX(0);
    }
    50% {
        transform: scaleY(0.005) scaleX(1);
    }
    100% {
        transform: scaleY(1) scaleX(1);
    }
}
@keyframes unfoldOut {
    0% {
        transform: scaleY(1) scaleX(1);
    }
    50% {
        transform: scaleY(0.005) scaleX(1);
    }
    100% {
        transform: scaleY(0.005) scaleX(0);
    }
}
@keyframes zoomInLogin {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes zoomOutLogin {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}








.form-modal-login{
    position:relative;
    width:450px;
    height:auto;
    margin-top: 0em;
}

.form-modal-login button{
    cursor: pointer;
    position: relative;
    text-transform: capitalize;
    font-size:1em;
    z-index: 2;
    outline: none;
    background:#fff;
    transition:0.2s;
}

.form-modal-login .btn{
    border-radius: 20px;
    border: 1px solid transparent;
    font-size: 1.2em;
    padding: 0.8em 1em 0.8em 1em!important;
    transition: 0.5s;
    margin-bottom: 0.5em;
    background-color: #ff7e00;
    color: white;
    font-family: 'kanit', sans-serif !important;
}

.form-modal-login-modal .login , .form-modal-login .signup{
    background: #ff7e00;
    color: #fff;
}

.form-modal-login .login:hover , .form-modal-login .signup:hover{
    background: #fff;
    color: #ff7e00;
    border: 1px solid #ff7e00;
}

.form-toggle {
    position: relative;
    width:100%;
    height:auto;
}

/*.form-toggle button{
    width: 50%;
    float: left;
    padding: 0.5em;
    margin-bottom: 1.5em;
    border: none;
    transition: 0.2s;
    font-size: 1.1em;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
}*/

/*#login-toggle.active, #signup-toggle.active {
    background-color: #1998de;
    color: white;
    font-weight: 700;
    font-size: 18px;
}*/

.form-toggle button{
    width: 50%;
    float: left;
    padding: 0.5em;
    margin-bottom: 1.5em;
    border: none;
    transition: 0.2s;
    font-size: 16px;
    font-weight: 100;
    background-color: #1998de;
    color: white;
}

.form-toggle button:hover {
    background-color: #0e80bf;
}

#login-toggle.active, #signup-toggle.active {
    background-color: white;
    color: #000000;
    font-weight: 700;
    font-size: 18px;
}

.form-toggle button:nth-child(1){
    /*border-bottom-right-radius: 20px;*/
}

.form-toggle button:nth-child(2){
    /*border-bottom-left-radius: 20px;*/
}

.form-modal-login form{
    padding-left: 50px;
    padding-right: 50px;
}

#login-form , #signup-form, #forget-form{
    position:relative;
    width:100%;
    height:auto;
    padding-bottom:1em;
}
#signup-form, #forget-form{
    display: none;
}
#signup-form {
    overflow-y: auto;
    height: 510px;
    overflow-x: hidden;
}
#login-form button , #signup-form button, #forget-form button{
    margin-top: 0.5em;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
#login-form button:disabled , #signup-form button:disabled, #forget-form button:disabled{
    cursor: no-drop;
    background-color: #b2b1b1;
}

.form-modal-login input{
    width: 87%;
    padding: 1.2em 1.7em 1.2em 1.7em;
    margin-top: 0.6em;
    margin-bottom: 0.6em;
    border-radius: 20px;
    border: none;
    background: #ebebeb;
    outline: none;
    transition: 0.4s;
    font-family: 'kanit', sans-serif !important;
}

.form-modal-login input:focus , .form-modal-login input:active{
    transform:scaleX(1.02);
}

.form-modal-login input::-webkit-input-placeholder{
    color:#222;
}


.form-modal-login p{
    font-size: 14px;
    text-align: center;
}

.form-modal-login p a{
    color: #1998de;
    text-decoration: none;
    transition: 0.2s;
}

.form-modal-login p a:hover{
    color:#222;
}

.form-modal-login i {
    position: absolute;
    left:10%;
    top:50%;
    transform:translateX(-10%) translateY(-50%);
}

.-box-sd-effect:hover{
    box-shadow: 0 4px 8px hsla(210,2%,84%,.2);
}

.hasLogin {
    position: relative;
    display: inline-block;
    text-align: left;
    float: right;
    margin-right: 15px;
}

.hasLogin-menu {
    margin: 1px 0 0 0;
    padding: 6px 0;
    list-style: none;
    position: absolute;
    top: 125%;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    border-radius: 3px;
    background: #006ab0;
    transition: opacity .25s linear, top .25s linear;
}

.hasLogin.is-open .hasLogin-menu {
    opacity: 1;
    visibility: visible;
    top: 100%;
}

.hasLogin-item {
    padding: 6px 12px;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color .25s linear;
}

.hasLogin-item:hover {
    background-color: #0581d4;
}

.button-login {
    -webkit-appearance: none;
    margin: 0;
    border: 0;
    overflow: visible;
    font: inherit;
    text-transform: none;
    display: inline-block;
    vertical-align: middle;
    text-decoration: none;
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.button-login:hover, .button-login:focus {
    outline: none;
    text-decoration: none;
}

.button-login:not(:disabled) {
    cursor: pointer;
}

/**
 * Component: Button
 * Modifier: Dropdown
 * --------------------------------------------------
 */
.button-login-menu {
    padding: 4px 35px 5px 12px;
    color: white;
    font-size: 14px;
    border-radius: 5px;
    transition: background-color .2s linear;
    margin-top: 5px;
}

.button-login-menu:after {
    content: "";
    position: absolute;
    top: 21px;
    right: 11px;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-top-color: #E6E9ED;
}

.button-non-login-menu {
    padding: 4px 12px 5px 12px;
    background-color: #006ab0;
    color: white;
    font-size: 14px;
    border-radius: 5px;
    transition: background-color .2s linear;
    margin-top: 5px;
}

.button-non-login-menu:hover {
    background-color: #0581d4;
}

div.hasLoginBG {
    width: 100%;
    background-color: #0FAAE0;
    text-align: center;
    position: relative;
    top: 0;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    z-index: 99;
    font-family: 'kanit', sans-serif !important;
}

div.hasLoginBG {
    height: 53px;
    border-bottom: 3px solid #ff9126;
}
.header-user-my-profile {
    width: 30px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    vertical-align: inherit;
    margin-right: 5px;
}

body.sticky-header {
    padding-top: 100px;
}

body.sticky-header div.hasLoginBG {
    position: fixed;
    box-shadow: 0 2px 5px #0579B7;
    transition: all 0.4s ease;
}

.form-error {
    border: 1px solid red !important;
    color: red !important;
}

.div-form-danger {
    background-color: #ff6767;
    width: 100%;
    height: auto;
    color: white;
    margin-top: 72px;
    border-radius: 10px;
}

.div-form-danger > span {
    float: right;
    right: 10px;
    position: relative;
    cursor: pointer
}

.div-form-danger-forget {
    background-color: #ff6767;
    width: 100%;
    height: 25px;
    color: white;
    margin-top: 0px;
    border-radius: 10px;
}

.div-form-danger-forget > span {
    float: right;
    right: 10px;
    position: relative;
    cursor: pointer
}

.div-form-success-forget {
    background-color: #55c553;
    width: 100%;
    height: auto;
    color: white;
    margin-top: 0px;
    border-radius: 10px;
}

.div-form-success-forget > span {
    float: right;
    right: 10px;
    position: relative;
    cursor: pointer
}

#form-login > .div-form-danger {
    margin-top: 0px;
}

nav.nav-hasLoginBG {
    flex: 0 1 100%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

nav.nav-hasLoginBG a {
    color: white;
    text-decoration: none;
}

nav.nav-hasLoginBG a:hover {
    color: rgba(255, 255, 255, 0.7);
}

nav.nav-hasLoginBG ul.ul-hasLoginBG {
    list-style: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
    margin-top: 0px;
    margin-bottom: -20px;
    width: 1200px;
    margin-left: 0;
}

nav.nav-hasLoginBG ul.ul-hasLoginBG li.li-hasLoginBG-text-link {
    margin-right: 25px;
    position: relative;
}
nav.nav-hasLoginBG ul.ul-hasLoginBG li.li-hasLoginBG-text-link > span {
    color: #000;
    letter-spacing: 0.5px;
}
nav.nav-hasLoginBG ul.ul-hasLoginBG li.li-hasLoginBG-text-link.active:before {
    content: '';
    border: 10px solid transparent;
    z-index: 1001;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translate(-50%, -.5em);
    border-top-width: 0;
    border-bottom-color: #ff9126;
}
div.div-ul-header {
    width: 100%;
    position: relative;
    margin-top: 5px;
}

div.div-li-left-header {
    display: inline-flex;
    float: left;
    line-height: 38px;
}

div.div-li-right-header {
    float: right;
    right: 0;
    margin-top: -5px;
}

.type-account-register {
    text-align: left;
    display: grid;
}

.type-account-register input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.type-account-register input[type="radio"] + .radio-label:before {
    content: '';
    background: #f4f4f4;
    border-radius: 100%;
    border: 1px solid #b4b4b4;
    display: inline-block;
    width: 1.4em;
    height: 1.4em;
    position: relative;
    top: -0.2em;
    margin-right: 1em;
    vertical-align: top;
    cursor: pointer;
    text-align: center;
    transition: all 250ms ease;
}

.type-account-register input[type="radio"]:checked + .radio-label:before {
    background-color: #3197EE;
    box-shadow: inset 0 0 0 4px #f4f4f4;
}

.type-account-register input[type="radio"]:focus + .radio-label:before {
    outline: none;
    border-color: #3197EE;
}

.type-account-register input[type="radio"]:disabled + .radio-label:before {
    box-shadow: inset 0 0 0 4px #f4f4f4;
    border-color: #b4b4b4;
    background: #b4b4b4;
}

.type-account-register input[type="radio"] + .radio-label:empty:before {
    margin-right: 0;
}

.type-account-register input[type="radio"] + .radio-label {
    cursor: pointer;
    font-size: 14px;
}

.type-account-register input[type="radio"] + .radio-label:not(:last-child) {
    margin-bottom: -10px;
}

.type-account-register > p {
    text-align: left;
    font-weight: bold;
}

#login-user-form, #signup-user-form, #forget-user-form, #sendmail-user-from {
    position: relative;
    width: 100%;
    height: auto;
    padding-bottom: 1em;
}

#signup-user-form {
    overflow-y: auto;
    height: 550px;
    overflow-x: hidden;
}

#signup-user-form, #forget-user-form, #sendmail-user-from {
    display: none;
}

.form-modal-login-user {
    position:relative;
    width:500px;
    height:auto;
    margin-top: 0em;
}

.form-modal-login-user button{
    cursor: pointer;
    position: relative;
    text-transform: capitalize;
    font-size:1em;
    z-index: 2;
    outline: none;
    background:#fff;
    transition:0.2s;
}

.form-modal-login-user .btn {
    border-radius: 30px;
    border: 1px solid transparent;
    font-size: 1.2em;
    padding: 0.8em 1.2em 0.8em 1.2em !important;
    transition: 0.5s;
    margin-bottom: 0.5em;
    background-color: #ff7e00;
    color: white;
    font-family: 'kanit', sans-serif !important;
}

.form-modal-login-user input{
    width: 87%;
    padding: 1.2em 1.7em 1.2em 1.7em;
    margin-top: 0.6em;
    margin-bottom: 0.6em;
    border-radius: 20px;
    border: none;
    background: #ebebeb;
    outline: none;
    transition: 0.4s;
    font-family: 'kanit', sans-serif !important;
}

.form-modal-login-user input:focus , .form-modal-login-user input:active{
    transform:scaleX(1.02);
}

.form-modal-login-user input::-webkit-input-placeholder{
    color:#222;
}

.form-modal-login-user .login , .form-modal-login-user .signup{
    background: #1998de;
    color: #fff;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.form-modal-login-user i.fa-spinner {
    position: relative;
    margin-right: 15px
}
.form-modal-login-user .login:hover , .form-modal-login-user .signup:hover{
    background: #fff;
    color: #1998de;
    border: 1px solid #1998de;
}

.form-modal-login-user form {
    padding-left: 50px;
    padding-right: 50px;
}

.form-modal-login-user i {
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateX(-10%) translateY(-50%);
}

.modal-close > i, .modal-close-user > i {
    left: 30%;
    top: 47%;
    font-size: 15px;
}

.form-toggle-user {
    position: relative;
    width:100%;
    height:auto;
}

.form-toggle-user button{
    width: 50%;
    float: left;
    padding: 0.5em;
    margin-bottom: 1.5em;
    border: none;
    transition: 0.2s;
    font-size: 16px;
    font-weight: 100;
    background-color: #1998de;
    color: white;
}

.form-toggle-user button:hover {
    background-color: #0e80bf;
}

#login-user-toggle.active, #signup-user-toggle.active {
    background-color: white;
    color: #000000;
    font-weight: 700;
    font-size: 18px;
}

.menu-toggle {
    right: 13px;
    margin-left: 0px;
}

.header-logo-mobile {
    margin-top: -9px;
    width: 250px;
    margin-left: -2px;
}

#form-login-user .div-form-danger {
    margin-top: 0px;
}

#login-user-form .social-login {
    margin-bottom: 10px;
    margin-top: -10px;
}

.social-login a > .btn > i {
    left: 7%;
}

#form-signup-user .div-form-danger {
    margin-top: 0px;
}

.form-modal-login-user p a {
    color: #0FAAE0;
    text-decoration: none;
}

.form-modal-login-user p a:hover {
    color: #0e6280;
}

.txt-recomment-signup {
    font-size: 14px;
}

.btn-social-login-register {
    font-size: 15px !important;
}

/* SCROLL BAR MODAL */
#signup-user-form::-webkit-scrollbar {
    background-color:#fff;
    width:16px
}

#signup-user-form::-webkit-scrollbar-track {
    background-color:#fff
}

#signup-user-form::-webkit-scrollbar-thumb {
    background-color:#babac0;
    border-radius:16px;
    border:4px solid #fff
}

#signup-user-form::-webkit-scrollbar-button {
    display:none
}
/* SCROLL BAR MODAL */

.form-toggle button.reset-password, .form-toggle-user button.reset-password {
    width: 100%;
    display: none;
}

.form-modal-login-user .btn.btn-organier-login {
    font-size: 14px;
    padding: 10px 15px !important;
    margin-top: 10px;
    margin-bottom: 10px;
    transition: 0.3s;
}
.form-modal-login-user .btn.btn-organier-login:hover {
    background: #fff;
    color: #ff7e00;
    border: 1px solid #ff7e00;
}
/* RESPONSIVE */
@media (max-width: 1024px) {
    #modal-container, #modal-container-user {
        top: -6px;
    }
}
@media (max-width: 450px) {
    /*.modal-close {
        right: 5px;
        top: -35px;
    }*/
    #login-user-form .social-login a > .btn {
        font-size: 15px;
    }
    /*#modal-container-user.one {
        height: calc(100% + 10%) !important;
    }
    .form-modal-login-user {
        margin-top: -15%;
    }*/
    .modal-background-user {
        -webkit-transition: all 0.3s ease !important;
        -o-transition: all 0.3s ease !important;
        transition: all 0.3s ease !important;
        display: block;
    }
}
@media (max-width: 375px) {
    .social-login a .btn-google-login {
        margin-top: 0px;
    }
    #login-user-form .social-login a .btn {
        width: 210px;
    }
}
@media (max-width: 320px) {
    #signup-user-form {
        height: 500px;
    }
    #login-user-form .social-login a > .btn {
        font-size: 12px;
    }
    #login-user-form .social-login a .btn {
        width: 200px;
    }
}
@media only screen and (max-width:500px){
    .form-modal-login{
        width:100%;
    }
    .form-modal-login-user{
        width:100%;
    }
}
