/* style login */

.form {
    background: rgba(19, 35, 47, 0.9);
    /* background: black; */
    padding: 40px;
    max-width: 600px;
    margin: 40px auto;
    border-radius: 4px;
    box-shadow: 0 4px 10px 4px rgba(19, 35, 47, 0.3);
}

.tab-group_login {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.tab-group_login:after {
    content: "";
    display: table;
    clear: both;
}

.tab-group_login li a {
    display: block;
    text-decoration: none;
    padding: 15px;
    background: rgba(160, 179, 176, 0.25);
    color: #a0b3b0;
    font-size: 20px;
    float: left;
    width: 50%;
    text-align: center;
    cursor: pointer;
    transition: .5s ease;
}

.tab-group_login li a:hover {
    background: #252fb4;
    color: #ffffff;
}

.tab-group_login .active a {
    background: #0465d0;
    color: #ffffff;
}

.tab-content>div:last-child {
    display: none;
}

h3.login {
    text-align: center;
    color: #ffffff;
    font-weight: 300;
    margin: 0 0 40px;
}

label.login {
    font-weight: normal;
    position: absolute;
    transform: translateY(6px);
    left: 13px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.25s ease;
    -webkit-backface-visibility: hidden;
    pointer-events: none;
    font-size: 22px;
}

label.login .req {
    margin: 2px;
    color: #1ab188;
}

label.login.active {
    transform: translateY(50px);
    left: 2px;
    font-size: 14px;
}

label.login.active .req {
    opacity: 0;
}

label.login.highlight {
    color: #ffffff;
}

input.login {
    font-size: 22px;
    display: block;
    width: 100%;
    /* height: 100%; */
    padding: 5px 10px;
    background: none;
    background-image: none;
    border: 1px solid #a0b3b0;
    color: #ffffff;
    border-radius: 0;
    transition: border-color .25s ease, box-shadow .25s ease;
}

input.login:focus {
    outline: 0;
    border-color: #1ab188;
}

.field-wrap {
    position: relative;
    margin-bottom: 40px;
}

.top-row:after {
    content: "";
    display: table;
    clear: both;
}

.top-row>div {
    float: left;
    width: 48%;
    margin-right: 4%;
}

.top-row>div:last-child {
    margin: 0;
}

.button {
    border: 0;
    outline: none;
    border-radius: 0;
    padding: 15px 0;
    font-size: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    background: #0465d0;
    color: #ffffff;
    transition: all 0.5s ease;
    -webkit-appearance: none;
}

.button:hover,
.button:focus {
    background: #252fb4;
}

.button-block {
    display: block;
    width: 100%;
}

.forgot {
    margin-top: -20px;
    text-align: right;
}


/*Modal*/

.h4 {
    font-size: 40px;
    font-weight: bold;
    color: #fff;
    font-family: 'Kanit', sans-serif;
}

.close {
    color: #424242;
    transform: scale(1)
}


/* .modal-content {
    font-weight: bold;
    background: #252FB4;
} */

.form-control_login {
    margin: 1em 0;
}

.form-control_login_login:hover,
.form-control_login:focus {
    box-shadow: none;
    border-color: #fff;
    /* background: linear-gradient(to bottom right, #072667, #1c61f2); */
    background: #072667;
    /* color: #C6C6D2; */
    color: #F5F1EA;
}

.username,
.password {
    border: none;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 2px solid #eee;
    padding-left: 0;
    font-weight: normal;
    background: transparent;
    /* color: #F5F1EA; */
    color: #fff;
}

.form-control_login::-webkit-input-placeholder {
    color: #eee;
}

.form-control_login:focus::-webkit-input-placeholder {
    font-weight: bold;
    color: #fff;
}

.form-popup {
    display: none;
    position: absolute;
    top: 15%;
    /* bottom: 20%; */
    left: 95%;
    align: center;
    border: 3px solid #bcbcbc;
    z-index: 9;
    background-color: #fff;
    width: 880px;
    height: 450px;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}


/* ANIMATIONS ================ */

@-webkit-keyframes inputHighlighter {
    from {
        background: #5264AE;
    }
    to {
        width: 0;
        background: transparent;
    }
}

@-moz-keyframes inputHighlighter {
    from {
        background: #5264AE;
    }
    to {
        width: 0;
        background: transparent;
    }
}

@keyframes inputHighlighter {
    from {
        background: #5264AE;
    }
    to {
        width: 0;
        background: transparent;
    }
}

div.b {
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align-last: center;
}

div.test {
    /* ส่วนของ การแสดงเส้น  */
    border-color: whitesmoke;
    border-style: solid;
    border-width: thin;
    /* จบส่วนของ การแสดงเส้น  */
}


/* css หน้า home */

a.click {
    font-size: 15px;
    color: #1c1c1c;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 12px 0 10px;
    background: #ffffff;
    display: block;
}

.leftimg {
    padding: 0px;
    align-content: center;
}

@media only screen and (max-width: 1000px) {
    .leftimg {
        display: none;
    }
    .owl-carousel {
        columns: col-sm-2;
    }
}

.frame-content {
    border: 1px;
    width: 100%;
    height: auto;
    /* align: center; */
    background-color: #ffffff;
    padding: 30px;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    /* box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; */
    margin-bottom: 20px;
    border-radius: 10px;
}