﻿/*@font-face {
    font-family: SukhumvitSet;
    src: url(../../plugins/fontawesome-free/webfonts/SukhumvitSet-Light.woff);
}*/
/*
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@100;200&display=swap');*/
/*@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kanit&family=Prompt:wght@300;400&family=Sarabun&display=swap');
*/
@import url('https://fonts.googleapis.com/css2?family=Sarabun&display=swap');

@font-face {
    font-family: 'THSarabunPSK';
    src: url('../../plugins/fontawesome-free/ttf/THSarabun.ttf') format('truetype');
}


.welcome {
    position: relative;
    width: 100%;
    height: 100%;
    background: url(../img/toyota-bg.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-color: #464646;
}

.sw-version {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background-color: darkred;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

.text-white {
    color: white !important;
}

.text-black {
    color: black !important;
}

.text-darkred {
    color: darkred !important;
}

.text-red {
    color: red !important;
}

.text-darkorange {
    color: darkorange !important;
}

.text-orange {
    color: orange !important;
}

.text-yellow {
    color: gold !important;
}

.text-lightgreen {
    color: lightgreen !important;
}

.text-green {
    color: green !important;
}

.text-darkgreen {
    color: darkgreen !important;
}

.text-blue {
    color: blue !important;
}

.text-bold {
    font-weight: 600;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-s {
    font-size: 8pt;
}

.text-italic {
    font-style: italic;
}

.text-m {
    font-size: 10pt;
}

.o-bg-darkred {
    background-color: darkred !important;
}

.o-bg-grey {
    background-color: lightgrey !important;
}

.o-bg-darkgreen {
    background-color: darkgreen !important;
}

.o-bg-green {
    background-color: #01fe01 !important;
}

.o-bg-red {
    background-color: #f41515 !important;
}

.o-bg-blue {
    background-color: blue !important;
}

.o-selected {
    border: 5px solid red;
}

.c-pointer {
    cursor: pointer;
}

.o-txt-r {
    text-align: right;
}

.fnt-500 {
    font-weight: 500;
}

.fnt-600 {
    font-weight: 600;
}

.info-box {
    box-shadow: 0 0 1px rgb(0 0 0 / 13%), 0 1px 3px rgb(0 0 0 / 20%);
    border-radius: .25rem;
    background-color: #fff;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 1rem;
    min-height: 80px;
    padding: .5rem;
    position: relative;
    width: 100%;
    cursor: pointer;
}

.info-box.active {
    border: 1px solid #0b9444;
}

.info-box .info-box-icon {
    border-radius: .25rem;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    font-size: 1.875rem;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    width: 70px;
}

.info-box .info-box-content {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    line-height: 1.8;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding: 0 10px;
}

.info-box .info-box-text, .info-box .progress-description {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    font-size: 20px;
}

.info-box .info-box-number {
    display: block;
    margin-top: .25rem;
    font-weight: 700;
    font-size: 20px;
    color: darkred;
}

.dark-mode .info-box {
/*    background-color: #343a40;
    color: #fff;*/
    background-color: #f7f7f7;
    color: #1b1a1a;
}

.fnt-wg-4 {
    font-weight: 400;
}
.fnt-wg-6 {
    font-weight: 600;
}
.fnt-wg-8 {
    font-weight: 800;
}
.fnt-sz-1{
    font-size:1em;
}
.fnt-sz-2 {
    font-size: 2em;
}

.login-row {
    background-color: white;
    border-radius: 30px;
    box-shadow: 12px 12px 22px rgba(0,0,0,0.1);
}
.login img{
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}
.login h1{
    font-size: 2rem;
    font-weight: 500;
}
.inp {
    height: 50px;
    width: 350px;
    border: none;
    outline: none;
    border-radius: 5px;
    -webkit-box-shadow: 0px 2px 19px 8px rgba(0,0,0,0.19);
    box-shadow: 0px 2px 19px 8px rgba(0,0,0,0.19);
    padding-left: 5px;
    font-size: 26px;
}

.alert-text {
    font-size: 20px;
}

.o-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.o-user.active {
    display: none !important;
}

@media (max-width: 768px){
    .login-row {
        margin-top: 20px;
        margin-bottom: 30px;
        border-top-right-radius: 30px;
    }
    .login img {
        width:100%;
        height:80%;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
        border-bottom-left-radius: 0px;
    }

    .inp {
        width: 70%;
    }
}
@media (max-width: 991px) {
    .login-row {
        margin-top: 20px;
        margin-bottom: 30px;
        border-top-right-radius: 30px;
    }

    .login img {
        width: 100%;
        height: 80%;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
        border-bottom-left-radius: 0px;
    }

    .inp {
        width: 70%;
    }
}
@media (min-width: 992px) {
    .login img {
        width: 100%;
        height: 100%;
    }
}

.card-header .card-tools {
    float: right;
    margin-right: -.625rem;
}

.navbar {
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
}

.navbrand {
    width: 312px;
    margin-top: -3px;
}

.o-main {
    position: absolute;
    width: calc(100% - 330px);
    left: 330px;
    top: 70px;
    transition: 0.5s;
}

@media (min-width: 768px) {
    .navbar {
        top: 0;
        position: sticky;
        z-index: 999;
    }

    .navbar input {
        display: none;
    }

    .navbar .dropdown {
        display: none;
    }

    .navbar-toggler {
        display: none;
    }

    .o-txt-r {
        text-align: right;
    }
}

@media (max-width: 768px) {
    .navbar {
        top: 0;
        position: sticky;
        z-index: 999;
    }

    .navigation {
        width: 330px;
    }

    .navigation.active {
        width: 60px;
        transition: 0.5s;
    }

    .o-main.active {
        width: calc(100% - 60px);
        left: 60px;
        transition: 0.5s;
    }

    .navbar input {
        display: none;
    }

    .navbar .dropdown {
        display: none;
    }

    .navbar-toggler {
        display: none;
    }

    .navbrand {
        width: 100%;
    }

    .o-txt-r {
        text-align: left;
    }
}

@media (min-width: 992px) {
    .navbar {
        top: 0;
        position: sticky;
        z-index: 999;
    }

    .navbar .dropdown {
        display: inline-block;
        top: 1px;
    }
}

.toggle {
    position: relative;
    cursor: pointer;
    display: flex;
    font-size: 1.875rem;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 70px;
}

.navigation.active {
    width: 60px;
}
.o-main.active {
    width: calc(100% - 60px);
    left: 60px;
}
/*.o-user.active {*/
    /*    display: none !important;*/
    /*width: 60px;
    height: 60px;
}*/

.navigation.active:hover {
    width: 330px;
}

.callout.callout-danger {
    border-left-color: #bd2130;
}

.callout.callout-info {
    border-left-color: #117a8b;
}

.callout.callout-warning {
    border-left-color: #d39e00;
}

.callout.callout-success {
    border-left-color: #1e7e34;
}

.callout {
    border-radius: .25rem;
    box-shadow: 0 1px 3px rgb(0 0 0 / 12%), 0 1px 2px rgb(0 0 0 / 24%);
    background-color: #fff;
    border-left: 5px solid #e9ecef;
    margin-bottom: 1rem;
    padding: 1rem;
}

.modal-header{
    background: red;
    color: white;
}
.required:after{
    content : " *";
    color: red;
}

.dealer-header {
    background: rgb(60,1,52);
    background: linear-gradient(90deg, rgba(60,1,52,1) 0%, rgba(255,6,6,0.6702031154258579) 100%, rgba(0,212,255,1) 100%);
    text-align: center;
    color: white;
}

.pager {
    padding-left: 0;
    margin: 20px 0;
    text-align: center;
    list-style: none;
}

.pager .disabled > a, .pager .disabled > a:hover, .pager .disabled > a:focus, .pager .disabled > span {
    color: #999;
    cursor: not-allowed;
    background-color: #fff;
}

.pager .previous > a, .pager .previous > span {
    float: left;
}

.pager .first > a, .pager .first > span {
    float: left;
}

.pager li > a, .pager li > span {
    display: inline-block;
    padding: 5px 14px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 15px;
}

    .pager li > a:hover, .pager li > a:focus {
        text-decoration: none;
        background-color: #eee;
    }

.pager .next > a, .pager .next > span {
    float: right;
}

.pager .last > a, .pager .last > span {
    float: right;
}

.master-form {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: darkred;
    color: white;
}

.master-form li {
    list-style: none;
    display: flex;
    text-align:center;
}

.master-form li .master-title{
    width: 120px;
    font-weight: 700;
}

.master-form .icon-form {
    display:flex;
    font-size: 36px;
    justify-content: center;
    align-items: center;
}

.master-form .icon-text {
    padding: 20px;
    background-color: white;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    text-align: center;
}

.card-header-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tooltip-inner {
    background-color: #2f4fff;
    box-shadow: 0px 0px 4px black;
    opacity: 1 !important;
}

.tooltip.bs-tooltip-right .tooltip-arrow::before {
    border-right-color: #2f4fff !important;
}

.tooltip.bs-tooltip-left .tooltip-arrow::before {
    border-left-color: #2f4fff !important;
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: #2f4fff !important;
}

.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #2f4fff !important;
}

.table-th-center {
    text-align: center;
    vertical-align: middle;
}

.table-td-center {
    text-align: center;
    vertical-align: middle;
}

.tr-hover:hover {
    background-color: gold;
    font-weight: 600;
}


.tbl-container {
    max-width: fit-content;
    max-height: fit-content;
}

.tbl-fixed {
    overflow-x: scroll;
    overflow-y: scroll;
    height: fit-content;
}

.height70vh {
    height: 70vh;
}