/*
สีเขียวหลัก #00A390
สีplacholder #b3b3b3
สีlabel #3A3A3C
*/

body{
    /*background-color: #FFF;*/    
    color: #212529; /*#636366*/
    font-size: 1em;
    font-family: 'Kanit', sans-serif;
    /*font-weight: 300;*/

    /*Disable Text Selection Highlighting*/
    user-select: none; /* supported by Chrome and Opera */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */

}

.container{
    padding:10px;
    /*margin-bottom: 2rem*/
}
.layout-container{
    background-color: #F0F0F0;
}
.layout-container .form-group{
    margin-bottom: 10px
}
.item-container{
    background-color: white ;
    padding: 15px 15px 15px 15px;
    box-shadow: 0rem 0.1rem rgba(0,0,0,.075)!important;
    border-radius: 0.2em;
    margin-top: 15px;
    margin-bottom: 15px
}
.item-list{
    padding : 1rem;
    border-bottom: .5px solid #DDD;
}

.help-block {
    font-size: 0.8em;
    padding-top: 1em;   
}
.btn-custom{
    /*border-radius: 1.25rem;*/
    border-width: 0.5px;
    border-color: #00A390;
    color:inherit;
}
.btn.btn-custom {
    padding: 0.5em; 
    font-size: 0.9em;
}
.btn-custom.active{
    background-color: #00A390;
    color:#FFF;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.075) , 0px 0px 0px rgba(255,255,255, 0);
}
.btn-next {
    background-color : #FFD60C;
}
.btn-green, .btn-green:visited
{
    background-color: #00A390;
    color:#fff;
}
.btn-green:hover, .btn-green:focus
{
    background-color: #00A390;    
    color:#fff;
}

.btn-yellow, .btn-yellow:visited
{
    background-color: #FFD60C;
}
.btn-yellow:hover, .btn-yellow:focus
{
    background-color: #FFD60C;   
}

/* สี bg ช่อง input calendar*/
.datepicker{
    background-color: #f8f9fa !important;
}

.row-car-type-select {
    border-bottom: 1px solid #eee;
    padding: 1rem;
}

.bg-danger{
    background-color: #F2DEDE !important;
}

.bg-main-light{
    background-color: rgba(0, 163, 144,0.2);
}

.bg-main{
    background-color: #00A390;
}

.text-color-main-light{
    color: rgba(0, 163, 144,0.2);
}
.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;        
    text-align: center;
    padding: 0.5rem;
}
.topper {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;        
    text-align: center;
    padding: 0.5rem;
}

.header_reserve{
    background-color: #00A390;
    color:#FFF
}

.badge-orange {
    color: #fff;
    background-color: #F67A2A;
}

.cut-text{
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/** =========================================================== **/
/** Color Style
/** =========================================================== **/
.text-color-main{
    color: #00A390
}

/** =========================================================== **/
/** Font Style
/** =========================================================== **/
.fs-normal{
    font-size : 1rem;
}
.fs-semi{
    font-size : 0.9rem;
}
.fs-small{
    font-size : 0.8rem;
}

/** =========================================================== **/
/** Override Bootstrap Old Style
/** =========================================================== **/

/*Remove form control border except bottom*/ 
.form-control {
    /*        border: 0;
            border-bottom: 1px solid #ced4da;
            border-radius: 0;
            padding:0;
            background-color: transparent;*/
    color: #212529;
    /*background-color: #f8f9fa;*/
    /*border-color: #f8f9fa;*/
    font-size: 1rem;

    /*background-color: #fff;*/
    /*border: 1px solid #ced4da;*/
    border: 1px solid #ced4da;

}


/*Remove Border when focus*/
.form-control:focus {
    border: 1.5px solid #00A390;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.075) , 0px 0px 0px rgba(255,255,255, 0);
    background-color: transparent;
}

/*Style Label*/
.my-custom-control-label {
    /*position: absolute;*/       
    /*top:0%;*/
    font-size: 0.9rem;
    color:#00A390;
    /*color:#2C2C2E;*/
    /*margin-bottom: 0;*/ 
    /*vertical-align: middle;*/ 
}

/*Placeholder Style*/
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    font-size: 80%;
    color: red;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    font-size: 80%;
}

::-ms-input-placeholder { /* Microsoft Edge */
    font-size: 80%;
}

/*dropdown style*/
.dropdown-toggle::after { 
    content: none; 
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url('../../images/caret-down.png') 95% / 10px no-repeat;
}

/*input-group style*/
.input-group-text{
    color: #b3b3b3;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

.btn-group{
    display: flex;
}

.custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    border-color: #00A390;
    background-color: #00A390;
}

.custom-control-label::before {
    top: -0.05rem;
    left: -1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border: #00A390 solid 1px;
}

.custom-control-label {
    position: relative;
    margin-bottom: 0; 
    vertical-align: middle; 
    font-size: 0.9rem;
    padding-left: .5rem;
    padding-top: .15rem
}

.custom-control-label::after {
    top: -0.05rem;
    left: -1.5rem;
    width: 1.5rem;
    height: 1.5rem;    
}
.table{
    color:#212529
}

/** =========================================================== **/
/** Override Modal Old Style
/** =========================================================== **/

/** start modal full screen **/

.modal-full .modal-content {
    min-height: 100vh;
    margin-top: 60px
}

.modal-top .modal-content {
    margin-top: 0px
}

.modal-bottom {    
    display: flex;
    align-items: flex-end;
    min-height: calc(100%);
}

.animate-bottom{
    animation: animatebottom .4s;
}

@keyframes animatebottom {
    from {
        bottom: -300px;
        opacity: 0;
    }

    to {
        bottom: 0;
        opacity: 1;
    }
}

.modal-header {
    display:block;
    border-bottom-color: #EEEEEE;
    background-color: #FAFAFA;
} 

.modal-content {
    border-radius: 0;
}

.modal-dialog {
    margin :0;
    min-width: 100%;
}


/** =========================================================== **/
/** List style
/** =========================================================== **/

.row_style{
    padding-top :0.5em;
    padding-bottom :0.5em;
    font-family: 'thaisans_neuebold'; 
    border-bottom: 0.5px solid #DDD; 
    font-size: 1.1em; 
    color: #5e5e5e;
}
.my-custom-scrollbar {
    position: relative;
    overflow: auto;
}
.div-wrapper-scroll-y {
    display: block;
}

/*************************
* Floating Label Config *
*************************/
/*.form-group {
    position: relative;
}

.form-control-placeholder {
    position: absolute;
    top:0;
    padding: 10px 0 0 0px !important;
    transition: all 200ms;
    opacity: 0.8;
}

.form-control:focus + .form-control-placeholder,
.form-control:active + .form-control-placeholder,
.form-control:valid + .form-control-placeholder {
    font-size: 80%;
    transform: translate3d(0, -80%, 0);
    opacity: 1;
    color:#00A390
}
*/

/** =========================================================== **/
/** tool tip
/** =========================================================== **/

.tool_tip {
    /* font */
    font-family: Kanit;
    font-size: 0.8rem;
    font-weight: bold;
    color: #FFF;
    line-height: 25px;
    /* background */
    background-color: #000;
    border-radius: 7px;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    /* positioning */
    float: left;
    position: relative;
    padding: 7px 11px 4px;
    width:90%;
    margin-left: 10px; /* distance between error tip and element it points to */
}

.tool_tip:after {
    content: " ";
    position: absolute;
    right: 30px;
    top: -15px;
    border-top: none;
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
    border-bottom: 15px solid black;
}


