:root{
    --bg: var({{}});
}

@font-face {
    font-family: 'Kanit';
    font-style: normal;
    font-weight: 100;
    src: url('./font/Kanit/Kanit-Regular.ttf'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
body{
    background-color: #d7d7d7;
    font-family: 'Kanit';
}

.border-1{
    /* border: 1px solid #000000; */
    border: 1px;
}

.box-logo{
    background-color: #000000;
    /* background-image: url('background/Untitled-2-01.jpg'); */
    padding: 0px 0px 0px 0px;
    text-align: center;
}

.img-logo {
    /* width: auto;
    height: 15%;
    top: 21px; */
    width: auto;
    height: 10%;
    top: 61px;
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
}

.img-logo-2{
    /* width: auto;
    height: 15%;
    top: 834px; */
    width: auto;
    height: 10%;
    top: 780px;
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
}

.box-user-img{
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    top: -95px;
    height: 150px;
}

.img-user{
    width: 200px;
    height: 200px;
    /* top: 100px; */
    object-fit: cover;
    border-radius: 50%;
    /* border: 2px solid #2C59AB; */
    box-shadow: 0 1px 1px rgb(0 0 0 / 11%), 0 2px 2px rgb(0 0 0 / 11%), 0 4px 4px rgb(0 0 0 / 11%), 0 6px 8px rgb(0 0 0 / 11%), 0 8px 16px rgb(0 0 0 / 11%);
}

.bg-white{
    background-color: #ffffff;
    text-align: center;
}

.text-name-th{
    font-size: 26px;
    color: #073763;
    font-weight: 900;
    text-align: center;
}

.text-name-en{
    font-size: 21px;
    color: #cccccc;
    font-weight: 900;
    text-align: center;
}

.text-rank{
    /* font-size: 20px; */
    font-size: 20px;
    color: #073763;
    font-weight: 900;
    text-align: center;
}

.box-img-qrcode{
    justify-content: center;
    align-items: center;
    text-align: end;
    border-right: 3px solid #d7d7d7;
    padding-right: 10px;
}

.img-qrcode{
    /* width: 200px; */
    width: 100px;
    height: auto;
    
}

.box-contact{
    justify-content: center;
    color: #666666;
    font-size: 13px;
    padding-top: 0px;
    padding-left: 10px;
    /* left: 0; */
}

.box-after-company{
    width: 100%;
    height: 10px;
    background-color: #2C59AB;
    margin-top: 15px;
    margin-bottom: 10px;
}

.box-company{
    text-align: center;
    align-items: center;
    justify-content: center;
}

.text-company-th{
    font-size: 22px;
    color: #073763;
    font-weight: 600;
    text-align: start;
}

.text-company-en{
    font-size: 16px;
    color: #666666;
    font-weight: 100;
    text-align: start;
}

.text-company-email{
    font-size: 16px;
    color: #666666;
    font-weight: 300;
    text-align: start;
}

.box-map{
    margin-top: 10px;
    margin-bottom: 30px;
    padding: 5px;
    width: 107%;
    height: 225px;
    border: 1px solid #868686;
    text-align: center;
    /* vertical-align: none; */
}

.box-map2{
    margin-top: 10px;
    margin-bottom: 30px;
    padding: 5px;
    width: 107%;
    /* border: 1px solid #868686; */
    color: #ffffff;
    vertical-align: none;
}


.box-btn-save{
    text-align: center;
    margin-bottom: 20px;
}

.btn-save{
    background-color: #ffffff;
    color: #1e1d1d;
    /* border-radius: 50%; */
    border-radius: 25px;
    padding: 5px 10px 5px 10px;
    border: 1px solid #666666;
}

@media  screen and (max-width: 780px) {

   .mt-5{
        margin-top: 0px !important;
   }
   
   .mb-5{
        margin-bottom: 0px !important;
   }

   .img-logo {
        width: 70%;
        height: auto;
        top: 17px;
        /* width: auto;
        height: 26%;
        top: -21px; */
        margin: auto;
        position: absolute;
        left: 0;
        right: 0;
    }

    .img-logo-2{
        width: 70%;
        height: auto;
        top: 788px;
        /* width: auto;
        height: 26%;
        top: 835px; */
        margin: auto;
        position: absolute;
        left: 0;
        right: 0;
    }
    
    .box-img-qrcode{
        justify-content: center;
        align-items: center;
        text-align: center;
        padding-right: 10px;
        border-right: 2px solid #d7d7d7;
    }
    
    .img-qrcode{
        width: 125px;
        height: auto;
    }
    
    .box-contact{
        margin: auto;
        width: 100%;
        padding: 10px;
    }

    .res-width-qrcode{
        width: 40%;
        right: 1px;
        align-items: center;
    }

    .res-width-contact{
        width: 60%;
        
    }
    
    
  }