@font-face{
    font-family: poppins;
    src: url("../font/Poppins-Regular.woff");

    font-family: kanit;
    src: url("../font/Kanit-Light.woff");

    font-family: Sriracha;
    src: url("../font/Sriracha-Regular.woff");

    font-family:Thonburi;
    src: url("../font/SF Thonburi Regular.woff");

    font-family:san;
    src: url("../font/PTSans-Regular.woff");
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
    font-family: poppins;
    font-size: 14px;
    font-weight: 300;
    color: #414141;

}

a{
    cursor: pointer;
}
.main{
    position: relative;
    width: 100%;
    height: 100%; 
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
}
.head{
    z-index: 10;
    display: flex;
    justify-content:center;
    align-items: center;
    width: 100%;
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(255,255,255,0.9);
    backdrop-filter: blur(2px);
    /* background-color: rgba(57, 46, 30, 0.6); */
    border-bottom: 1px solid rgba(255,255,255,1);
    box-shadow: 0px 3px 10px -4px rgba(0,0,0,0.1);
    transition: .3s ease;
    padding: 0;
    overflow-x: unset;
}
.boxlogo{
    width: 30%;
    height: 80px;
    align-content: center;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.boxlogo img.logo{
    height: 50px;
    object-fit: cover;
    object-position: center;
}
.menu {
    width: 100%;
    height: 80px;
    align-content: center;
    /* background-color: #de991a; */
    z-index: 20;
}
.logout{
        width: 28px;
        height: 28px;
        vertical-align: middle;
        align-items: center;
    }
    ul{
        width: 100%;
        height: 45px;
        display: flex;
        justify-content: center;
        align-items: center;
        /* background-color: #ff7a7a; */
    }
    ul li{
        list-style: none;
        margin-left: 10px;
        margin-right: 10px;
        padding-left: 20px;
        padding-right: 20px;
        height: 45px;
        align-content: center;
        /* background-color: cadetblue; */
        cursor: pointer;
        a{
            text-decoration: none;
            cursor: pointer;
            /* color: #fff; */
        }
        a:hover{
            color: #8b8b8b;
        }
    }

.landing{
    position: relative;
    width: 100%;
    height: 600px;
    /* background-color: #d57500; */
}
.landing .boxtext{
        position: absolute;
        top: 56%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: 100%;
        height: 400px;
        align-content: center;
        z-index: 3;
}
.landing .boxtext h1{
    font-size: 3rem;
    color: #fff;
    font-family: kanit;
}
.landing .boxtext p{
    font-size: 40px;
    color: #ffb300;
    font-family: kanit;
}
.landing img.picland{
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    object-fit: cover;
    object-position:center;
    cursor: pointer;
    transition: .3s ease;

}
.landing img.picland:hover{
    transition: .3s ease;
    filter: brightness(80%); 
}
.bar{
    width: 48px;
    height: 48px;
    position: fixed;
    left: 0;
    top: 0;
    cursor: pointer;
    display: none;
}
.midpage{
    width: 100%;
    height: auto;
    /* background-color: rgb(120, 79, 9); */
    display: flex;
    flex-direction: column;
    align-items: center;
}
.midpage2{
    width: 100%;
    height: auto;
    /* background-color: rgb(242, 239, 234); */
    display: flex;
    flex-direction: column;
    align-items: center;
}
.namehead{
    width: 80%;
    margin-top: 10px;
    /* background-color: cadetblue; */
    align-content: center;
}
.namehead h1{
    width: 100%;
    font-size: 50px;
    color: #414141;
    font-family: san;
    font-weight: bold;
    text-align: left;
    /* letter-spacing: 10px; */
    margin-top: 10px;
}
.line{
    width: 80%;
    height: 2px;
    /* background-color: rgba(55, 55, 55, 0.5); */
    background-image: linear-gradient(90deg, rgba(55, 55, 55, 0.819), rgba(255,255,255,0)); 
}
.boxabout{
    width: 80%;
    height: auto;
    display: flex;
    /* background-color: #00a0ab; */
}
.boxtextabout{
    width: 100%;
    height: auto;
    padding: 10px;
    position: relative;
    /* background-color: #ab6f00; */
    h2{
        text-align: left;
        color: #4c4c4c;
        font-family: kanit;
        font-size: 18px;
    }
}
.boxtextabout img{
    width: 80%;
    height: 400px;
    object-fit: cover;
    object-position: center;
}
.boxtextabout2{
    width: 80%;
    height: auto;
    padding: 10px;
    margin-top: -10px;
    /* background-color: #ab6f00; */
}
.boxtextabout2 img{
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border: 4px solid rgba(255,255,255,0.8);
    margin-top: 10px;
    margin-bottom: 10px;

}
.boxtextabout2 h2{
        text-align: left;
        color: #414141;
        font-family: kanit;
        font-size: 18px;
}
.whbox{
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    /* background-color: cadetblue; */
}
.boxwhy{
    width: 210px;
    height: 400px;
    border-radius: 3px;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 10px;
    /* background-color: chocolate; */
}
.boxwhya{
    width: 210px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(226, 181, 0);
    img{
        width: 100px;
        height: 100px;
    }
}
.boxwhyb{
    width: 210px;
    height: 200px;
    background-color: #2b2b2b;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    h2{
        font-size: 20px;
        color: #fff;
        font-family: poppins;
    }
    p{
        font-size: 17px;
        color: #fff;
        font-family: sriracha;
    }
}
@media only screen and (max-width:440px){
    .boxwhy{
        width: 100%;
        height: auto;
        justify-content: center;
        display: flex;
    }
}
@media only screen and (max-width:510px){
    .namehead{
        width: 100%;
        margin-left: 20px;
    }
    .namehead h1{
        width: 100%;
        font-size: 30px;
        color: #414141;
        font-family: san;
        font-weight: bold;
        text-align: left;
        /* letter-spacing: 10px; */
        margin-top: 10px;
    }
    .line{
        width: 100%;
        margin-left: 20px;
    }
}
.foot{
    width: 100%;
    height: auto;
    /* background-color: rgb(242, 239, 234); */
    display: flex;
}
.address{
    width: 80%;
    display: flex;
    justify-content: center;
    /* background-color: #ab6f00; */
}
@media only screen and (max-width:1078px){
    .address{
        width: 100%;
        /* background-color: cadetblue; */
        flex-direction: column;
        align-items: center;
    }
}
@media only screen and (max-width:525px){
    .boxmail button{
        width: 100%;
    }
    .addct button{
        width: 100%;
    }
    .addct form textarea{
        height: 80px;
    }
}
.addct{
    width: 800px;
    height: auto;
    padding: 20px;
    margin-left: 10px;
    margin-right: 10px;
    /* background-color: burlywood; */

}
.addct h1{
    font-family: kanit;
    font-size: 20px;
    text-align: left;
    font-weight: 400;
}
.addct h2{
    font-family: kanit;
    font-size: 15px;
    text-align: left;
    font-weight: 350;
}
.addct input{
    font-family: kanit;
}
.addct input::placeholder{
    font-family: kanit;
}
.addct textarea{
    width: 100%;
    text-align: left;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.2);
    outline: none;
    font-family: kanit;
}
.addct textarea::placeholder{
    font-family: kanit;
}
.boxmail{
    width: 800px;
    height: auto;
    /* background-color: cadetblue;   */
    padding: 20px; 
}
@media only screen and (max-width:938px){
    .addct{
        width: 100%;
    }
    .boxmail{
        width: 100%;
    }
}
form{
    text-align: left;
    overflow-x: hidden;
}
form h1{
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1px;
    text-align: left;
}
form input{
        width: 350px;
        height: 45px;
        margin-bottom: 20px;
        background:none;
        border: none;
        border-bottom: 1px solid rgba(0,0,0,0.2);
        text-align: left;
        outline: none;
}
form input::placeholder{
    text-align: left;
}
form button{
    border: none;
    width: 170px;
    height: 45px;
    background-color: rgb(232, 232, 232);
    font-size: 16px;
    cursor: pointer;
    transition: .3s ease;
    margin-top: 20px;
    margin-right: 20px;
}
form button:hover{
    background-color: rgba(0,0,0,0.05);
    transition: .3s ease;
}
.first{
    width: 500px;
    height: 200px;
    /* background-color: #8b8b8b; */
    align-content: center;
    padding: 10px;
}
.first h1{
    font-size: 30px;
    font-family: kanit;
    color: rgb(73, 118, 120);
}
.first h2{
    font-family: kanit;
    font-size: 18px;
    margin-top: -10px;
}
.boxpro{
    width: 80%;
    height:auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    /* background-color: #ab6f00; */
}
@media only screen and (min-width:1815px){
    .boxpro{
        width: 70%;
    }
}
.boxpic{
    width: 380px;
    height: 300px;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    position: relative;
    /* background-color: rgb(95, 95, 95); */
    overflow: hidden;
}
.boxpic .imgpro{
    width: 380px;
    height: 300px;
    object-fit:cover;
    cursor: pointer;
    transition: .3s ease-in-out;
}
.boxpic img.imgpro2{
    width: 100%;
    height: auto;
    object-fit:cover;
    cursor: pointer;
    transition: .3s ease-in-out;
}
.boxpic img.delpicpro{
    width: 24px;
    height: 24px;
    position: absolute;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    right: 5px;
    top: 5px;
    z-index: 1;
}
.boxpic img.delpicpro:hover{
    filter: brightness(100%);
}
.boxpic img:hover{
    transform: scale(1.05);
    filter: brightness(80%);
    transition: .3s ease-in-out;
}
/* /////////////////////////////////////////////////////////// */
.boxpicall{
    width: 250px;
    height: 150px;
    margin-right: 5px;
    margin-bottom: 5px;
    position: relative;
    /* background-color: rgb(95, 95, 95); */
    overflow: hidden;
}
.boxpicall h1{
    position: absolute;
    color: #fff;
    font-size: 14px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.5);
    font-family: san;
    display: flex;
    align-items: center;
    right: 3px;
    top: 3px;
    z-index: 2;
    cursor: pointer;
}
.boxpicall img{
    width: 100%;
    height: 100%;
    object-fit:cover;
    cursor: pointer;
    transition: .3s ease-in-out;
}
.boxpicall img.delpicpro{
    width: 24px;
    height: 24px;
    position: absolute;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    right: 5px;
    top: 5px;
    z-index: 1;
}
.boxpicall img.delpicpro:hover{
    filter: brightness(100%);
}
.boxpicall img:hover{
    transform: scale(1.05);
    filter: brightness(80%);
    transition: .3s ease-in-out;
}
/* /////////////////////////////////////////////////////////// */
.boxproservice{
    width: 80%;
    height:auto;
    /* margin-right: 10px; */
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    /* background-color: cadetblue; */
}
.midpagepro{
    width: 100%;
    height: auto;
    margin-top: 20px;
    /* background-color: rgb(242, 239, 234); */
    display: flex;
    flex-direction: column;
    align-items: center;
    h1{
        font-size: 25px;
        letter-spacing: 0px;
    }
}
.nameproduct{
    width: 80%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: -15px;
    margin-bottom: 20px;
    /* background-color: #d57500; */
    img{
        width: 38px;
        height: 38px;
        vertical-align: middle;
    }
}
.nameproduct form{
    /* background-color: #ab6f00; */
    display: flex;
    align-items: center;
    button{
        margin-top: 0px;
        width: 100px;
        height: 45px;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
    }
}
.nameproduct label{
    /* background-color: cadetblue; */
    align-items: center;
    text-align: center;
    margin-left: 30px;
    cursor: pointer;
    font-family: kanit;
    border: 1px dashed;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    transition: .3s ease;
    font-size: 28px;
    padding-left: 40px;
    padding-right: 40px;
}.nameproduct label:hover{
    transition: .3s ease;
    background-color: #6bafcc25;
}
.nameproduct h1{
    font-size: 24px;
    font-family: kanit;
    text-align: left;
}
.mover{
    position: relative;
    z-index: 0;
    overflow: visible;
}
.mover:hover{
    .boxover{
        display: block;
    }
}
img.chevdown{
    position: absolute;
    width: 34px;
    height:34px;
    margin-top: -7px;
    border-radius: 50%;
    z-index: 11;
}

.mover .boxover{
    position: absolute;
    left: 0%;
    margin-top: 10px;
    transform: translate(-50%,);
    width: 200px;
    height: auto;
    background-color: rgba(255, 255, 255,0.9);
    border: 1px solid rgba(255,255,255,1);
    border: 1px solid rgba(0,0,0,0.1);
    backdrop-filter: blur(4px);
    z-index: 20;
    transition: .3s ease;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    overflow: hidden;
    display: none;
}
.boxover div{
    width: 100%;
    height: auto;
    cursor: pointer;
    color: #414141;
    transition: .3s ease;
    z-index: 2;
}
.boxover div:hover{
    transition: .3s ease;
    background-color: rgb(223, 223, 223);
}
.boxover div h2{
    height: 45px;
    text-align: left;
    color: #414141;
    align-content: center;
    margin-left: 10px;
    transition: .3s ease;
}
.boxover div a{
    color: #414141;
}
.profesh1{
    width: 80%;
    display: flex;
    flex-direction: column;
}
.profesh1 h1{
    text-align: left;
    margin-top: -15px;
    margin-left: 20px;
    font-size: 18px;
    font-family: kanit;
    font-weight: 400;
}
.adform{
    position: fixed;
    top: 120px;
    right: -300px;
    width: 300px;
    height: 85vh;
    background-color: rgba(255,255,255,0.9);
    box-shadow: 0px 0px 10px -7px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0);
    backdrop-filter: blur(2px);
    z-index: 2;
    transition: .3s ease-in-out;
    h1{
        font-size: 18px;
        margin-top: 10px;
        font-family: kanit;
        font-weight: 400;
    }
}
.adform img.hid{
    width: 48px;
    height: 48px;
    position: absolute;
    top: 0px;
    right: 0px;
    cursor: pointer;
}
.adform form{
    width: 100%;
    height: auto;
    padding: 10px;
    text-align: center;
    overflow: hidden;
    label{
        background-color: #efe9df;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 20px;
        padding-bottom: 20px;
        color: #414141;
        font-family: kanit;
        cursor: pointer;
        transition: .3s ease;
        border-radius: 5px;
        border: 1px dashed rgba(0,0,0,0.5);
    }
    label:hover{
        transition: .3s ease;
        background-color: #ffffff;
    }
}
.adform form input{
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    border: 1px solid rgba(0,0,0,0.2);
    font-family: kanit;
}
.adform form textarea{
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    border: 1px solid rgba(0,0,0,0.2);
    font-family: kanit;
    text-align: left;
    outline: none;
}
.boxnameduc{
    width: 100%;
    height: 35px;
    align-content: center;
    /* background-color: cadetblue; */
    h2{
        text-align: left;
        margin-left: 10px;
        font-family: kanit;
        font-size: 17px;
    }a{
        text-decoration: none;
        font-family: kanit;
        font-size: 17px;
    }
    a:hover{
        color: #de991a;
    }
}
.boxnameduc img{
    width: 24px;
    height: 24px;
    vertical-align:middle;
    cursor: pointer;
}
.maininbox{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    /* overflow-x: hidden; */
}
.inbox {
    width: 80%;
    height: auto;
    display: flex;
    justify-content: center;
    /* background-color: #ab6f00; */
}

.inboxbox{
    position: relative;
    width: 900px;
    height:auto;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0px 3px 5px -2px rgba(0,0,0,0.2);
}
.inboxbox h3{
    font-family: kanit;
    font-size: 15px;
    width: 100px;
    height: 40px;
    display: flex;
    align-items: center;
    border-radius: 5px;
    cursor: pointer;
    right: 10px;
    top: -40px;
    position: absolute;
    background-color: #1e1e1e;
    transition: .3s ease;
    color: #fff;
    a{
        font-size: 15px;
        color: #fff;
        font-family: kanit;
        text-decoration: none;
    }
}
.inboxbox h3:hover{
    background-color: #3c3c3c;
    transition: .3s ease;
}
.inboxbox table{
    width: 100%;
    /* border: 1px solid rgba(0,0,0,0.5); */
    tr td{
        /* border: 1px solid rgba(0,0,0,0.5); */
        height: 35px;
        font-family: kanit;
        font-weight: 400;
        img.delmail{
            width: 24px;
            height: 24px;
            cursor: pointer;
        }
        h2{
            font-family: kanit;
            text-align: left;
            margin-left: 5px;
            a{
                font-family: kanit;
            }
            a:hover{
                color: #ab6f00;
            }
        }
    }
}
.bglogin{
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 49;
    background-color: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: .3s ease-in-out;
}
.login{
    width: 300px;
    height: 300px;
    background-color: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,1);
    box-shadow: 0px 0px 5px -2px rgba(0,0,0,0.2);
    position: fixed;
    top: 100px;
    right:-400px;
    z-index: 50;
    border-radius: 10px;
    align-content: center;
    opacity: 0;
    visibility: hidden;
    transition: .3s ease-in-out;
    .key{
        width: 48px;
        height: 48px;
        border-radius: 50%;
        border:1px solid rgba(0,0,0,0.3);
        padding: 5px;
    }
}
.login form{
    width: 100%;
    padding: 10px;
}
.login form input{
    width: 100%;
    padding-left: 20px;
}
.login form button{
    width: 100%;
    height: 55px;
    margin-top: -10px;
    background-color: #d57500;
    color: #fff;
    font-size: 18px;
}
.login form button:hover{
    background-color: #e88d1d;
}
.login img.x{
    width: 38px;
    height: 38px;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    transition: .3s ease;
}
.login img.x:hover{
    transition: .3s ease;
    transform: rotate(90deg);
}
.bgcomplete{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.2);
    z-index: 49;
    opacity: 1;
    visibility: visible;
    cursor: pointer;
    transition: .5s ease;
}
.boxcomplete{
    z-index: 50;
    width: 350px;
    height: 200px;
    background-color:#fff;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 1;
    visibility: visible;
    cursor: pointer;
    transition-delay: .2s ease;
}
.boxcomplete img{
    width: 100px;
    height: 100px;
}
.boxcomplete h1{
    font-size: 20px;
    font-family: kanit;
}
.bocadmin{
    width: 100%;
    display: flex;
    justify-content: center;
}
.bocform{
    width: 80%;
    display:flex;
    justify-content: center;
    margin-bottom: 20px;
    /* background-color: cadetblue; */
}
.bocform form{
    width: 350px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 15px;
    box-shadow: 0px 3px 15px -9px;
    border: 1px solid rgba(255,255,255,1);
    position: relative;
    padding: 10px;
    overflow: visible;
}
.bocform form img{
    width: 78px;
    height: 78px;
    background: none;
    box-shadow: 0px 0px 8px -4px;
    backdrop-filter: blur(2px);
    border: 4px solid rgba(255, 255, 255, 1);
    border-radius: 50%;
    padding: 5px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%,-50%);
    transition: .3s ease;
    cursor: pointer;
    z-index: 0;
}

.bocform form input{
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
}
.bocform form button{
    width: 100%;
    height: 55px;
    margin-top: -30px;
    background-color: #d57500;
    color: #fff;
    cursor: pointer;
}
.bocform form button:hover{
    background-color: #e88d1d;
}
.submit{
    width: 100%;
    height: 55px;
    background-color: #d57500;
    color: #fff;
    cursor: pointer;
}
.submit:hover{
    background-color: #e88d1d;
}
.main iframe{
    border-radius: 15px;
    box-shadow: 0px 0px 10px -5px;
    
}
.landcover{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.piccover{
    width: 80%;
    height: auto;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 40px;
    display: flex;
    z-index: 0;
    position: relative;
    /* background-color: #ab6f00; */
}
.krobcover{
    width: 300px;
    height: 100px;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 3px 5px 10px -4px;
    border-radius: 5px;
}
.boxcover{
    width: 100%;
    height: 100px;
    position: relative;
    z-index: 1;
    border-radius: 5px;
    overflow: hidden;
}
.boxcover:hover{
     h2{
        opacity: 100;
        bottom: 0px;
        transition: .3s ease;
    }
}
.boxcover img{
    width: 300px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    z-index: 1;
    transition: .3s ease;
    border-radius: 5px;
}
.boxcover img:hover{
    filter: brightness(80%);
    transition: .3s ease;
}
.boxcover h2{
    position: absolute;
    font-family: kanit;
    color: #fff;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 35px;
    align-content: center;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(1px);
    cursor: pointer;
    transition: .3s ease;
    z-index: 2;
    opacity: 0;
}
.krobcover h3{
    width: 20px;
    height: 20px;
    position: absolute;
    z-index: 2;
    background-color: rgb(0, 198, 0);
    border:1px solid #fff;
    border-radius: 50%;
    left: -10px;
    top: -10px;
}
.krobcover img.delcover{
    width: 24px;
    height: 24px;
    position: absolute;
    z-index: 2;
    background-color: rgba(255,255,255,1);
    right: -10px;
    top: -10px;
    border-radius: 50%;
    cursor: pointer;
    transition: .3s ease;
}
.krobcover img.delcover:hover{
    transition: .3s ease;
    transform: scale(1.2);
}
.adland{
    width:500px;
    /* background-color: #ab6f00; */
    border: 1px dashed;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}

.adland label{
    font-family: kanit;
    font-size: 18px;
    background-color: #efefef;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 5px;
    cursor: pointer;
}
.adland button{
    width: 150px;
    border-radius:5px;
    height: 45px;
    margin-bottom: 20px;
}
img.opadform{
    width: 55px;
    height: 55px;
    position: fixed;
    top: 120px;
    right: 20px;
    cursor: pointer;
    opacity: 70%;
}
.alertmail{
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 90;
}
.alertmail img{
    width: 28px;
    height: 28px;
    cursor: pointer;
    border-radius: 50%;
    transition: .3s ease;
}
.alertmail img:hover{
    background-color: #d2d1d1;
    padding: 2px;
    transition: .3s ease;
}
.alertmail h2{
    position: absolute;
    top: 0;
    left: 90%;
    transform: translate(-50%,-50%);
    color: #fff;
    background-color: red;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
}
.bgmail{
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    background-color: rgba(0,0,0,0.4);
    z-index: 90;
    opacity: 1;
    visibility: visible;
    transition: .3s ease;
}
.inboxmail{
    width: 400px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: #fff;
    position: fixed;
    z-index: 100;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top-left-radius: 20px;
    padding: 20px;
    box-shadow: 0px 5px 15px -10px;
    transition-duration: 5s;
    transition: .3s ease;
    opacity: 1;
    visibility: visible;
}
.inboxmail h1{
    text-align: left;
    font-size: 20px;
    font-family: kanit;
    font-weight: 400;
    margin-bottom: 20px;
}
.inboxmail h2{
    text-align: left;
    font-family: kanit;
    font-size: 16px;

}
.inboxmail img{
    width: 24px;
    height: 24px;
    vertical-align: middle;
}
.bgdel{
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0,0,0,0.4);
    z-index: 90;
    /* opacity: 0;
    visibility: hidden; */
    transition: .3s ease;
}
.delcom{
    width: 400px;
    height: 150px;
    position:fixed;
    top: 50%;
    left: 50%;
    z-index: 90;
    border-radius: 20px;
    background-color: #1a1a1a;
    transform: translate(-50%,-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    /* opacity: 0;
    visibility: hidden; */
    transition: .3s ease;
}
.delcom button{
    width: 100px;
    height: 35px;
    border-radius: 20px;
    font-size: 14px;
}
.delcom h1{
    color: #fff;
    font-family: kanit;
    font-size: 18px;
}
.bgpop{
    background-color: rgba(0,0,0,0.4);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 90;
    transition: .3s ease;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
}
.bgpop img{
    position: absolute;
    max-width: 90%;
    max-height: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    cursor: pointer;
}
.allpic{
    background-color: rgb(114, 164, 177);
    height: 40px;
    width: 200px;
    align-content: center;
    align-items: center;
    color: #fff;
    cursor: pointer;
    transition: .3s ease;
    box-shadow: 0px 0px 3px 0 rgba(0,0,0,0.2);
    border-radius: 5px;
    margin-top: -40px;
    margin-bottom: 70px;
    display: flex;
}
.allpic:hover{
    background-color: rgb(98, 168, 185);
    box-shadow: 0px 3px 3px 0 rgba(0,0,0,0.2);
    transition: .3s ease;
    transform: scale(1.03);
}
.allpic a{
    color: #fff;
    text-decoration: none;
    text-align: center;
}
.contactalert{
    width: 250px;
    height: auto;
    position: fixed;
    right:-250px;
    top: 60px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(2px);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.1);
    transition: .3s ease-in-out;
    border-radius: 15px;
    overflow: hidden;
}
.contactalert .boxal{
    width: 100%;
    height:45px;
    align-content: center;
    text-align: left;
    background-color: rgba(255,255,255,1);
    border-bottom: 0.1px solid rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    h2{
        margin-left: 20px;
        margin-right: 5px;
        font-family: kanit;
    }
}
.boxal:hover{
    background-color:rgb(225, 225, 225);
}
.boxal a{
    text-align: left;
    cursor: pointer;
    text-decoration: none;
}
.bbproduct{
    width: 800px;
    height: auto;
    position: relative;
    /* background-color: #ab6f00; */
}
.bbproduct input{
    width: 100%;
    margin-bottom: 0px;
}
.bbproduct form{
    display: flex;
    flex-direction: column;
    background-color: #e8eff2;
    padding: 10px;
    border-radius: 15px;
}
.bbproduct button{
    font-size: 12px;
    height: 30px;
    width: 100px;
    border-radius: 20px;
    margin-top: 5px;
    background-color: #d57500;
    color: #fff;
}
.bbproduct form textarea{
    width: 100%;
    height: 100px;
    border: 1px solid rgba(0,0,0,0.1);
    align-content: center;
    text-align: left;
    padding: 5px;
}
.margintop{
    width: 100%;
    height: 10px;
    margin-top: 80px;
    /* background-color: #ab6f00; */
    z-index: 0;
}
/* ///////////////////////////////RESPONSIVE////////////////////////////////////////// */
@media only screen and (min-width:1000px){
    .boxtextabout img{
        width: 800px;
        height: 500px;
    }
}
@media only screen and (max-width:1000px){
    .boxproservice{
        width: 80%;

    }
    .boxproservice .boxpic{
        width: 100%;
        height: 400px;
        background-color: #4c4c4c;
        .imgpro{
            width: 100%;
            height: 400px;
        }
    }
    .boxpro .boxpic{
        width: 80%;
        height: 500px;
        .imgpro{
            width: 100%;
            height:100%;
        }
    }
}
@media only screen and (max-width:630px){
    .boxproservice{
        width: 100%;

    }
    .boxproservice .boxpic{
        width: 100%;
        height: 400px;
        background-color: #4c4c4c;
        .imgpro{
            width: 100%;
            height: 400px;
        }
    }
}
@media only screen and (max-width:865px){
    .boxtextabout img{
        width: 100%;
    }
    .boxpic{
        width: 100%;
        height: 400px;
    }
   .imgpro{
        width: 100%;
        height: 100%;
        background-color: #ab6f00;
    }

    .boxproservice{
        width: 100%;

    }
    .boxproservice .boxpic{
        width: 100%;
        height: 400px;
        background-color: #4c4c4c;
        .imgpro{
            width: 100%;
            height: 400px;
        }
    }
}
@media only screen and (max-width:510px){
    iframe{
        width: 90%;
        height: 300px;
    }
    .boxproservice .boxpic{
        width: 100%;
        height: 300px;
        background-color: #4c4c4c;
        .imgpro{
            width: 100%;
            height: 400px;
        }
    }
    .nameproduct{
        width: 100%;
        /* background-color: #ab6f00; */
        h1{
            font-size: 20px;
        }
        form button{
            font-size: 11px;
            width: 80px;
            height: 36px;
        }
    }
    .nameproduct label{
        padding-left: 10px;
        padding-right: 10px;
    }
    .boxpic{
        width: 100%;
    }
    .imgpro{
        width: 100%;
    }
    .landing{
        width: 100%;
        height: 300px;
    }
    .landing .boxtext{
        position: absolute;
        top: 56%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: 500px;
        height: 200px;
        background-image: linear-gradient(90deg, rgba(18, 16, 14, 0.819), rgba(255,255,255,0));
        align-content: center;
        align-items: center;
        z-index: 3;
    }
    .landing .boxtext h1{
        font-size: 24px;
        margin-top: 50px;
    }
    .first{
        width: 100%;
        height: 200px;
        /* background-color: #8b8b8b; */
        align-content: center;
        padding: 10px;
    }
    .first h1{
        font-size: 30px;
        font-family: kanit;
        color: rgb(73, 118, 120);
    }
    .first h2{
        font-family: kanit;
        font-size: 18px;
        margin-top: -10px;
    }
}
@media only screen and (max-width:1204px){
    .menu{
        width: 100%;
    }
}
@media only screen and (max-width:1024px){
    .menu{
        width: 100%;
    }
}
/* //////////////////////////////Head Menu//////////////////////////////////// */

/* ///////////////////////// New CSS //////////////////////////// */
.maintest{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* background-color: #ceaf00; */
}
.coverpage{
    width: 100%;
    height: 600px;
    position: relative;
    z-index: 0;
}
.coverpage img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.coverpage .textpr{
    position: absolute;
    width: 500px;
    height: 400px;
    top: 56%;
    left: 50%;
    transform: translate(-50%,-50%);
    align-content: center;
    z-index: 0;
    background-image: linear-gradient(90deg, rgba(18, 16, 14, 0.819), rgba(255,255,255,0));
}
.textpr h1{
    font-size: 3rem;
    color: #fff;
    font-family: kanit;
}
.textpr p{
    font-size: 40px;
    color: #ffb300;
    font-family: kanit;
}
.content{
    width: 100%;
    height: 100px;
    /* background-color: #ab6f00; */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content .titlename{
    width: 80%;
    margin-top: 0px;
    /* background-color: cadetblue; */
    align-content: center;
}
.content .titlename h1{
    width: 100%;
    font-size: 50px;
    color: #414141;
    font-family: san;
    font-weight: bold;
    text-align: left;
    align-content: center;
    letter-spacing: 10px;
}
.newline{
    width: 80%;
    height: 2px;
    margin-top:10px;
    /* background-color: rgba(55, 55, 55, 0.5); */
    background-image: linear-gradient(90deg, rgba(55, 55, 55, 0.819), rgba(255,255,255,0)); 
}
.contentpro{
    width: 100%;
    height: 100px;
    /* background-color: #ab6f00; */
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contentpro .titlename{
    width: 80%;
    margin-top: 10px;
    /* background-color: cadetblue; */
    align-content: center;
    h1{
        width: 100%;
        font-size: 25px;
        color: #414141;
        font-family: san;
        font-weight: bold;
        text-align: left;
        align-content: center;
    }
}
/* ////////////////////////////////////////////////////////////// */
@media only screen and (min-width:1815px){
    .content{
        width: 70%;
    }
    .content .titlename{
        width: 100%;
    }
    .boxabout{
        width: 70%;
    }
    .newline{
        width: 100%;
    }
    .contentpro{
        width: 70%;
        .titlename {
            width: 100%;
        }
    }
    .midpage{
        width: 70%;
    }
    .nameproduct{
        width: 100%;
    }
    .boxproservice{
        width: 100%;
    }
    .midpagepro{
        width: 70%;
    }
    .profesh1{
        width: 100%;
    }
    .boxpic img.imgpro2{
        width: 800px;
    }
}
/* ///////////////////////////////////////////////////////////////////// */
@media only screen and (max-width:1051px){
    .profesh1{
        width: 100%;
    }
    .bbproduct{
        width: 90%;
    }
    .boxlogo{
        width: auto;
        height: 80px;
        align-content: center;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    .boxlogo img.logo{
        height: 50px;
        object-fit: contain;
    }
    .head{
        position: fixed;
        height: auto;
        flex-direction: column;
        transition: .5s ease;
    }
    .menu{
        margin-top:80px;
        width: 100%;
        opacity: 0;
        visibility: hidden;
        height:0;
    }
    ul{
        flex-direction: column;
        width: 100%;
        height: 100%;
        z-index: 0;
        text-align: left;
    }
    ul li{
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        transition: .3s ease;
        text-align: left;
        /* background-color: #ab6f00; */
    }
    ul li:hover{
        transition: .3s ease;
        background-color: rgba(255,255,255,0.3);
    }
    img.chevdown{
        position: absolute;
        width: 34px;
        height:34px;
        margin-left: 80px;
        margin-top: 2px;
        border-radius: 0;
        z-index: 11;
    }
    .bar{
        display: block;
        position: absolute;
        left: 0;
        top: 0;
    }
    .boxover{
        position: absolute;
        margin-left: 130px;
        width: 200px;
        background-color: rgba(255, 255, 255,0.9);
        border: 1px solid rgba(255,255,255,1);
        border: 1px solid rgba(0,0,0,0.1);
        backdrop-filter: blur(4px);
        z-index: 1;
        transition: .3s ease;
        border-top-right-radius: 15px;
        border-top-left-radius: 15px;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
        overflow: hidden;
        display: none;
        align-content: center;
    }
    .boxover div{
        text-align: left;
    }
    .boxover div h2{
        height: 50px;
        display: flex;
        align-items: center;
        margin-left: 0;
        /* background-color:#ab6f00; */
    }
    .boxabout{
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* background-color: #8b8b8b; */
    }
    .boxtextabout2{
        width: 90%;
        /* background-color: #716c61; */
    }
    .boxtextabout{
        width: 90%;
        /* background-color: #ab6f00; */
    }
    .contentpro .titlename{
        width: 90%;
    }
    .content .titlename{
        width: 90%;
    }
    .newline{
        width: 90%;
    }
    .nameproduct{
        width: 90%;
    }
}
@media only screen and (max-width:510px){
    .boxpicall{
        width: 40%;
    }
    .contentpro .titlename{
        width: 90%;
    }
    .content .titlename{
        width: 90%;
        h1{
            font-size: 25px;
        }
    }
    .newline{
        width: 90%;
    }
    .coverpage{
        height: 300px;
    }
    .coverpage .textpr{
        width: 300px;
        height: 150px;
        top: 63%;
        display: flex;
        flex-direction: column;
    }
    .textpr h1{
        font-size: 2rem;
        color: #fff;
        font-family: kanit;
    }
    .textpr p{
        font-size: 25px;
        color: #ffb300;
        font-family: kanit;
    }
    .boxpic{
        height: 300px;
    }
    .boxabout{
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .boxtextabout2{
        width: 100%;
        /* background-color: #ffae00; */
    }
    .boxtextabout{
        width: 100%;
        /* background-color: #ab6f00; */
    }
    .inbox{
        width: 100%;
    }
    .inboxbox{
        width: 100%;
    }
    .inboxmail{
        width: 90%;
    }
    .adland{
        width: 90%;
    }
    .piccover{
        width: 90%;
    }
    .bbproduct{
        width: 90%;
        position: relative;
    }
    .bbproduct input{
        width: 90%;
    }
    .bbproduct button{
        font-size: 12px;
        height: 30px;
        width: 60px;
        border-radius: 20px;
    }
    .bbproduct form{
        flex-direction: column;
    }
    .bbproduct form textarea{
        width: 100%;
        height: 100px;
        padding: 5px;
    }
    .boxcomplete{
        width: 90%;
    }
    .delcom{
        width: 90%;
    }
    .boxpro .boxpic{
        width: 90%;
        height: 300px;
        .imgpro{
            width: 100%;
            height:100%;
        }
    }
}
@media only screen and (max-width:1500px){
    .boxpro{
        width: 100%;
    }
}

