﻿@font-face {
    font-family: 'Kanit-ExtraLight';
    src: url('../plugins/font/Kanit/Kanit-ExtraLight.ttf') format('truetype');
}

@font-face {
    font-family: 'Kanit-Light';
    src: url('../plugins/font/Kanit/Kanit-Light.ttf') format('truetype');
}

:root {
    --first-color: #58BAF9;
    --font-color: #333;
}

body {
    font-family: 'Kanit-ExtraLight';
    background-color: #FFF;
}

.section {
    padding: 60px 0;
}

ul {
    list-style: none;
    margin: 0;
}

a {
    text-decoration: none;
}

/* ---------------------------------------------------------------------------------
    HEADER
--------------------------------------------------------------------------------- */

#header {
    width: 100%;
    border-bottom: 1px solid #143F6B;
    background-color: #143F6B;
    position: fixed;
    top: 0;
    left: 0;
    transition: all 0.5s;
    z-index: 10000;
}

.scroll-header {
    /* background-color: #143F6B !important;
    border-bottom: 1px solid #143F6B !important; */
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.nav-tnw {
    height: 4rem;
    display: flex;
    padding-left: 1rem;
    justify-content: space-between;
    align-items: center;
}

#header .logo {
    width: 40px;
    height: 40px;
}

.nav-item a:hover, .nav-tnw__link.active, .nav-item.active:focus, .nav-item li:hover > a, .nav-link:hover, .nav-link.active {
    color: var(--first-color);
}

.alert-tnw__message.active:hover {
    color: #FFF;
    background-color: #E86A00;
}

.alert-tnw__message.active {
    color: #FFF;
    background-color: var(--first-color);
}

.getstarted-user, .getstarted-user:hover {
    color: #333;
    transition: 0.3s;
    font-size: .955rem;
}

.nav-tnw__toggle {
    display: inline-flex;
    font-size: 1.25rem;
    cursor: pointer;
}

.nav-tnw__close {
    font-size: 1.5rem;
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    cursor: pointer;
}

.nav-tnw__list {
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
}

.nav-tnw__link {
    color: #333;
    font-weight: 500;
    transition: .3s;
}

.nav-tnw__link:hover {
    color: var(--first-color);
}

.show-menu {
    right: 0;
}

.nav-register-link {
    font-size: 1.3rem;
    font-weight: 600;
    color: #FFF;
    /*background-color: #58BAF9;*/
    padding: .475rem .75rem;
    border-radius: .55rem;
}

.nav-register-link:hover {
    color: #FFF;
    background-color: #F06445;
}

@media screen and (min-width: 996px) {
    .nav-tnw {
        height: calc(3rem + 1.5rem);
    }

    .nav-tnw__toggle,
    .nav-tnw__close {
        display: none;
    }

    .nav-tnw__list {
        flex-direction: row;
        column-gap: .88rem;
    }

    .nav-tnw__menu {
        margin-left: auto;
    }
}

/* ---------------------------------------------------------------------------------
    CONTENT
--------------------------------------------------------------------------------- */

.bg-bluedark {
    background-color: #143F6B;
}

.content-tnw {
    
    height: calc(100vh - 120px);
}

.validation-form-label {
    color: #FF0000;
    font-size: .815rem;
}

/* ---------------------------------------------------------------------------------
    CONTENT LOGIN
--------------------------------------------------------------------------------- */

.content-tnw .content-tnw_login {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* ---------------------------------------------------------------------------------
    CONTENT INNER
--------------------------------------------------------------------------------- */

.content-tnw .content-tnw_login .content-tnw_inner {
    width: 100%;
    margin: 0 auto 3rem;
    position: relative;
}

/* ---------------------------------------------------------------------------------
    CONTENT FIRST
--------------------------------------------------------------------------------- */

.content-tnw .content-tnw_login .content-tnw_inner:first-child:after {
    content: "";
    right: 0;
    top: 0;
    position: absolute;
    width: 1px;
    height: 100%;
    background-color: #E5E5E5;
    content: none;
}

.content-tnw .content-tnw_login .content-tnw_inner .content-tnw__first {
    height: 400px;
    margin-top: 4rem;
    position: relative;
}

.content-tnw .content-tnw_login .content-tnw_inner .content-tnw__first h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #FFF;
    margin-bottom: 0;
}

.content-tnw .content-tnw_login .content-tnw_inner .content-tnw__first h3 {
    font-size: 1rem;
    font-weight: 500;
    color: #E2EAF5;
    margin-bottom: 1.5rem;
}

/* .content-tnw .content-tnw_login .content-tnw_inner .content-tnw__first h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #FFF;
    margin-bottom: 0;
}

.content-tnw .content-tnw_login .content-tnw_inner .content-tnw__first h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #E2EAF5;
    margin-bottom: 1.5rem;
} */

.img-1 {
    width: 360px;
    z-index: 100;
    position: absolute;
    top: 60px;
    left: -50px;
}

.img-2 {
    width: 270px;
    z-index: 10;
    position: absolute;
    display: none;
}

.img-3 {
    width: 330px;
    z-index: 1;
    position: absolute;
    display: none;
}

/* .img-1 {
    width: 360px;
    position: absolute;
    bottom: -100px;
    left: 0;
}

.img-2 {
    width: 270px;
    position: absolute;
    top: 50px;
    right: -10px;
}

.img-3 {
    width: 330px;
    position: absolute;
    bottom: -100px;
    right: -60px;
} */

/* ---------------------------------------------------------------------------------
    CONTENT LAST
--------------------------------------------------------------------------------- */

.content-tnw .content-tnw_login .content-tnw_inner .content-tnw__last  {
    width: 100%;
    margin: -230px auto 0 auto;
    padding: 20px;
    background-color: #FFF;
    border-radius: 10px;    
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.content-tnw .content-tnw_login .content-tnw_inner .content-tnw__last .content-tnw_title {
    font-size: 1.6rem;
    font-weight: 500;
    text-align: center;
    margin-top: 1rem;
}

.content-tnw .content-tnw_login .content-tnw_inner .content-tnw__last .content-tnw_version {
    color: #8391A2;
    font-size: .875rem;
    font-weight: 500;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* ---------------------------------------------------------------------------------
    CONTENT LAST INPUT
--------------------------------------------------------------------------------- */

.content-tnw .content-tnw_login .content-tnw_inner .content-tnw__last .content-tnw_input-icon {
    position: relative;
}

.content-tnw .content-tnw_login .content-tnw_inner .content-tnw__last .content-tnw_input-icon i {
    font-size: 1.2rem;
    position: absolute;
    left: 6px;
    top: 9px;
    padding: 9px 8px;
    color: #D8D6DE;
    transition: .3s;
}

.content-tnw .content-tnw_login .content-tnw_inner .content-tnw__last .content-tnw_input-icon input[type=text],
.content-tnw .content-tnw_login .content-tnw_inner .content-tnw__last .content-tnw_input-icon input[type=password] {
    width: 100%;
    font-size: .875rem;
    border: 1px solid #EEF0F7;
    border-radius: 10px;
    outline: none;
    padding: 16px 8px 16px 45px;
    box-sizing: border-box;
    transition: .3s;
}

.content-tnw .content-tnw_login .content-tnw_inner .content-tnw__last .content-tnw_input-icon input[type=text]:focus,
.content-tnw .content-tnw_login .content-tnw_inner .content-tnw__last .content-tnw_input-icon input[type=password]:focus {
    border-color: #58BAF9;
    box-shadow: 0 0 8px 0 #8FD1FB;
}

.content-tnw .content-tnw_login .content-tnw_inner .content-tnw__last .content-tnw_input-icon input[type=text]:focus +i,
.content-tnw .content-tnw_login .content-tnw_inner .content-tnw__last .content-tnw_input-icon input[type=password]:focus +i {
    color: #58BAF9;
}

.content-tnw .content-tnw_login .content-tnw_inner .content-tnw__last .btn-tnw_login {
    width: 100%;
    padding-top: 16px;
    padding-bottom: 16px;
    border-radius: 10px;
}

.content-tnw .content-tnw_login .content-tnw_inner .content-tnw__last .content-tnw-resetpassword {
    color: #333;
    font-size: .875rem;
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-decoration: none;
    cursor: pointer;
}

.content-tnw .content-tnw_login .content-tnw_inner .content-tnw__last .content-tnw-testlogin {
    font-size: .875rem;
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-decoration: none;
    cursor: pointer;
}

@media screen and (min-width: 490px) {
    .content-tnw .content-tnw_login .content-tnw_inner .content-tnw__last {
        width: 90%;
    }
}

@media screen and (min-width: 768px) {

    .content-tnw .content-tnw_login .content-tnw_inner .content-tnw__first  {
        margin-top: 0;
    }

    .content-tnw .content-tnw_login .content-tnw_inner .content-tnw__first h1 {
        font-size: 3rem;
    }
    
    .content-tnw .content-tnw_login .content-tnw_inner .content-tnw__first h3 {
        font-size: 1.2rem;
    }

    .img-1 {
        top: 277px;
    }

    .img-3 {
        width: 500px;
        display: block;
        top: 310px;
        right: -35px;
    }

    .content-tnw .content-tnw_login .content-tnw_inner .content-tnw__last {
        width: 60%;
    }
}

@media screen and (min-width: 992px) {
    .content-tnw .content-tnw_login .content-tnw_inner .content-tnw__last {
        width: 55%;
    }
}

@media screen and (min-width: 1024px) {

    .content-tnw .content-tnw_login .content-tnw_inner .content-tnw__first h1 {
        font-size: 2rem;
    }

    .img-1 {
        width: 300px;
        top: 120px;
    }

    .img-2 {
        display: block;
        width: 240px;
        top: 50px;
        right: -20px;
    }

    .img-3 {
        width: 250px;
        top: 250px;
        right: -20px;
    }

    .content-tnw .content-tnw_login {
        flex-direction: row;
    }

    .content-tnw .content-tnw_login .content-tnw_inner .content-tnw__last {
        margin: 0 auto;
        width: 80%;
    }
}

@media screen and (min-width: 1200px) {
    .content-tnw .content-tnw_login .content-tnw_inner .content-tnw__first h1 {
        font-size: 3rem;
    }

    .img-1 {
        width: 350px;
    }

    .img-2 {
        width: 250px;
    }

    .img-3 {
        width: 330px;
    }
    
    .content-tnw .content-tnw_login .content-tnw_inner .content-tnw__last {
        width: 70%;
    }
}

@media screen and (min-width: 1400px) {
    .content-tnw .content-tnw_login .content-tnw_inner .content-tnw__last {
        margin: 0 auto;
        width: 60%;
    }
}

/* ---------------------------------------------------------------------------------
    PACKAGE
--------------------------------------------------------------------------------- */

.title-header {
    margin-bottom: 3rem;
}

.title-header h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
}

.title-header p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0;
}

.package {
    font-size: .95rem;
    color: #677788;
}

.package i {
    color: #BBBDC1;
    font-size: 2rem;
    width: 50px;
    margin-top: .5rem;
    text-align: center;
}

.package h1 {
    font-size: 2rem;
    font-weight: 600;
    margin: 2rem auto;
}

.package h5 {
    font-size: .95rem;
    font-weight: 500;
    color: #FFF;
    background-color: #58BAF9;
    padding: 7px 10px;
}

.package .package-title {
    font-size: .95rem;
    font-weight: 600;
    color: #677788;
}

.package p {
    margin-bottom: 0;
}

/* ---------------------------------------------------------------------------------
    FOOTER
--------------------------------------------------------------------------------- */

.footer {
    padding: 60px 0;
    background-color: #E9ECF5;
    border: 1px solid #EDF2F9;
}

.footer .logo-img {
    width: 250px;
    height: 250px;
}

.footer ul li {
    margin-bottom: .7rem;
}

.footer .link-footer {
    color: #000;
    font-size: .955rem;
}

.footer .link-footer:hover {
    color: #58BAF9;
}