
body {
    font-family: 'Kanit' !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #363636;
}
a, a:focus{outline: 0 !important; box-shadow: 0 0 0 0rem rgba(0,123,255,.25) !important;}
h5{line-height: 1.5;}
/* Change style of bootstrap */
.red{
    color: red;
}
.form-control, .custom-file-label{
    color: #8d9297;
    font-weight: 300;
    height: calc(2em + .75rem + 2px);
}
label{
    color: #495057;
    font-weight: 400;
    margin-bottom: 0.25rem;
}
.form-control:focus, .btn-primary.focus, 
.btn-primary:focus, .btn-primary:not(:disabled):not(.disabled).active:focus, 
.btn-primary:not(:disabled):not(.disabled):active:focus, .show>.btn-primary.dropdown-toggle:focus{
    box-shadow: 0 0 8px 0 #EAB907;
}
.custom-file-input, select.form-control{
    cursor: pointer;
}
.custom-file-input:lang(en)~.custom-file-label::after{
    content: "เลือกไฟล์";
}
/* Change style of bootstrap */

.font-weight-light{
    font-weight: 300;
}
.font-weight-regular{
    font-weight: 400;
}
.font-weight-regular-italic{
    font-weight: 400;
    font-style: italic;
}
.font-weight-medium{
    font-weight: 500;
}
.color-white{
    color: #FFFFFF;
}
.border-2{
    border: 2px solid #FFFFFF;
    padding: 15px;
}

.bg-white-gradient{
   background-color: rgba(255, 255, 255, 0.85);
}
.box-logo{
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    align-items: center;
    padding: 4rem 3rem;
}
.bg-gray-gradient{
    background-color: rgba(52, 58, 64, 0.6);
    color: #fff;
}
.logo{
    width: 170px;
    margin: 0 auto;
}
.register-bg{
    min-height: 100vh;
    background-color: #FFFFFF;
}
.register-bg .box-left{
    min-height: 100vh;
    /* background-image: url('../../assets/images/doeb.jpg'); */
    background-size: cover;
    background-position: center;
    position: sticky;
    top:0;
    width: 100%;
}
.register-bg .form-title{
    position: sticky;
    background-color: #ffffff;
    box-shadow: 0 0 15px 1px rgb(210, 214, 222);
    color: #495057;
    z-index: 1000;
    top: 0;
    width: 100%;
}
.form-input{
    /* margin-top: 76.8px; */
    position: relative;
    z-index:0;
}
.link-login{
    color: #24efde;
    background-color: #FFFFFF;
    border: 0;
}
.link-login:before{
    color: #FFFFFF;
    background-color:#24efde;
}

/* Login page */
#login-page{
    /* background-color: #f8f9fa; */
    /* background-image: url("../../../assets/images/gdx.gif"); */
    /* background-image: url("../../assets/images/petroleam-gif-1.gif"); */
    background-position: bottom;
    height: 100vh;
}
#login-page .box-sign{
    display: table;
    height: 100vh;
    margin: 0 auto;
    max-width: 500px;
    width: 100%;
    padding: 0 15px;
}
#login-page .box-sign .center-sign {
    display: table-cell;
    padding-top: 20px;
    vertical-align: middle;
}
#login-page .box-sign .panel-sign {
    background: transparent;
}
.panel {
    margin-bottom: 0px;
    background: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: none;
}
.panel-body {
    background-color: #D2D6DE;
    padding: 33px 33px 15px;
    opacity: 0.90;
}
@media (max-width:320px){
    .panel-body {
        background-color: #D2D6DE;
        padding: 5px 20px 5px;
        opacity: 0.90;
    }
}
.title-login:after {
    content: '';
    background-color: #006eff;
    height: 3px;
    position: relative;
    max-width: 100px;
    display: block;
    width: 100%;
    margin: 0.5rem auto;
}
.background-images{
    background-image: url("../../../images/bgHome/bg_gdx.png");
    background-size: cover;
    /* background-repeat: no-repeat;
    
    background-position: center; */
    
}
.background-img{
    background-image: url("../../../images/Untitled-4.jpg");
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 450px;
    background-color: #cac4ae;
    
}
.backg-color{background-color: white;}

.bg_slideBar {
    height: 450px;
    width: 100%;
  }

.img-button {
    height: 300px;
    background-position: center;
   
}
.img-button-dgx {
    height: 230px;
    background-position: center;
   
}

.box6{
    position:inherit; 
    width: 35%;height: 100%;
}
.box6:after{
    background:rgba(0,0,0,.7);
    position:absolute;
    top:0;left:-30%;
    bottom:0;
    right:70%;
    transform:skew(20deg) translateX(-75%)
}
.box6:hover:after{
    transform:skew(20deg) translateX(0)
}

.box6 img{
    width:100%;
    height:auto
}
.box6:hover{
    background-color: #000;
}
/* @media(max-width:414px) {
    .box6:hover{
        background-color:#0000 ;
    }
@media(max-width:375px) and (min-width: 320px){
    .box6:hover{
        background-color: #0000;
    }
  } */
.box6:hover img{
    opacity:.5
}
.box6 .box-content{
    padding:30px;
    text-align:right;
    position:absolute;
    top:0;
    right:0;
    z-index:1
}
.box6 .icon,.box7 .icon{
    padding:0;
    list-style:none
}
.box10 .icon li a,.box11,.box12,.box13,.box14,.box6 .icon li a,.box7,.box7 .icon li a,.box8,.box8 .icon li a{
    text-align:center
}
.box6 .title{
    font-size:20px;
    font-weight:900;
    color:#fff;
    margin:0 0 10px;
    transform:scale(0)
}
.box6:hover .title{
    transform:scale(1)
}
.box6 .icon li,.box6 .post{
    opacity:0;
    transform:translateX(40px);
    transition:all .35s ease 0s
}
.box6 .post{
    display:block;
    font-size:42px;
    color:#fff;
    margin-bottom:5px
}
.box6 .icon{
    display:inline-block;
    margin:0
}
.box6:hover .icon li,.box6:hover .post{
    opacity:1;
    transform:translateX(0)
}
.box6:hover .icon li:first-child{
    transition-delay:.1s
}
.box6:hover .icon li:nth-child(2){
    transition-delay:.2s
}
.box6 .icon li a{
    display:block;
    width:35px;
    height:35px;
    line-height:35px;
    background:#fff;
    font-size:18px;
    color:#605f5f;
    margin-bottom:5px;
    transition:all .35s ease
}
.box6 .icon li a:hover{
    background:#605f5f;
    color:#fff
}
@media only screen and (max-width:990px){
    .box6{
        margin-bottom:30px
    }
}

.size-img {
    width: 100%;
    height: fit-content;
}
@media (min-width: 320px) {
    .size-img {
        width: 100%;
        height: auto;
    }
}

.gdxMenu{
    margin-left: 0%;
}

.gdxMenu a{
    /* margin-left:13%; */
    border-radius:0px;
    color: white;
}

.lcMenu{
    margin-left: 0%;
}

.lcMenu a{
    /* margin-left:55%; */
    border-radius:0px;
    color: white;
}


 a .icon{
    text-align: left;
    margin-left: 35px;
}

 a .inner{
    text-align:right;
    margin-right:30px;
}

.inner h1{
    font-size:36px;
}

.gdxMenu .row .inner{
    padding-right: 0px;
    margin: 25px 0px;
}

.bg-position{
    /* margin-bottom: 30px; */
    position: relative;
    border-radius: 10px;
    border: initial;
    width: 100%;
}

.bg-img-doc1{
    background-image: linear-gradient(#F9D86B, #CB9E07);
}

.bg-img-doc2{
    background-image: linear-gradient(#E29175, #CB6340);
}
.bg-img-doc3{
    background-image: linear-gradient(#A2B87F,#7A8469);
}
.bg-img-doc4{
    background-image: linear-gradient(#01CAB1,#01A28E);
}
.bg-img-doc5{
    background-image: linear-gradient(#73BBF2,#3080BE);
}
.bg-img-doc6{
    background-image: linear-gradient(#6B74F0,#0000D4); 
}
.bg-img-doc7{
    background-image: linear-gradient(#F9A96B,#CB5507);
}
.bg-img-doc8{
    background-image: linear-gradient(#8BA889,#49654E);
}
.row .inner{
    padding-right: 0px;
    margin: 75px 0px;
}

a .row .inner h6{
    text-align: right;
    font-weight: 400;
    color: white;
    font-size: 0.9rem;
}

.intro-button{
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
}

.intro-button h5{
    max-width: 230px;
    width: 100%;
    margin: 0px auto;
    padding: 10px 15px;
    color: white;
    font-weight: 400;
    font-size: 1.05rem;
}

.bg-txt-doc1{
    background-color: #EEC439;
}
.bg-txt-doc2{
    background-color: #FEAF94;
}
.bg-txt-doc3{
    background-color: #B4D187;
}
.bg-txt-doc4{
    background-color: #60E4D4;
}
.bg-txt-doc5{
   background-color: #87C7F7;
    padding: 5px;
    line-height: 1.1;
    font-size: 15px;
}
.bg-txt-doc6{
    background-color: #7E81FD; 
}
.bg-txt-doc7{
    background-color: #F89667;
}
.bg-txt-doc8{
    background-color: #b1ccaf;
}

.pt-30{
    padding-top: 30px;
}

.p-20{
    padding: 20px;
}

.ml-0{
    margin-left: 0;
}