
@import url('https://fonts.googleapis.com/css2?family=Prompt&display=swap');

/* font { */
body {
    font-family: 'Kanit', sans-serif;
    font-family: 'Prompt', sans-serif;
}
/* } font */

.box {
    width: 100%;
    position: relative;
    /* border: 1px solid #bbb; */
    background: #fff;
    /* float: left; */
    box-sizing: border-box;
    border: 1px solid #ccc;
    /* border-radius: 0 0 5px 5px; */
    padding: 0px 0px 0px 0px;
    margin-bottom: 16px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    height: 400px;

}

.container-entity{
    background-color: #b20101;
    height: 40px;
    padding-top: 16px;
}
.t-entity{
    color: #ffffff;
    text-align: center;
    font-size: 17px;
}

.bt-save {
    position: absolute;
    top: 180px;
    right: 5px;
    width: auto;
    height: auto;
    border-radius: 50px;
    background-color: #ffffff;
    color: #000000;
    box-shadow: 1px 1px 3px 1px rgba(72, 68, 67, 0.5);
    z-index: 1;
}

.bt-save:hover {
    background-color: #b41117;
    color: #ffffff;
}
.container-btncheck input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.container-btncheck {
    display: block;
    position: absolute;
    cursor: pointer;
    user-select: none;
    top: 195px;
    right: 5px;
}

.container-btncheck p {
    position: relative;
    padding-top: 5px;
    left: 0;
    height: 25px;
    width: 50px;
    transition: all 0.3s;
    border-radius: 30px;
    background-color: #ffffff;
    color: #000000;
    box-shadow: 1px 1px 3px 1px rgba(39, 37, 37, 0.5);
    text-align: center;
}

.container-btncheck p:hover {
    transform: scale(1.1);
    background-color: #b41117;
    color: #ffffff
}

.container-btncheck input:checked~p {
    background-color: #b41117;
    color:#ffffff
}

.bar {
    content: "";
    left: 0px;
    top: 100%;
    z-index: -1;
    border-left: 3px solid #79a70a;
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #79a70a;
}

.line{
    border-top:2px solid #030d78;
    width: 100%;
}

.logoCompany-img {
    position: absolute;
    top: 40px;
    right: 0;
    width: 80px;
    height: 65px;
    margin: auto;
    z-index: 1;
}

.HostCompany-img {
    width: 100%;
    margin: auto;
    height: 190px;
    cursor: pointer;
}
.HostCompany-img:hover {
    transform: scale(1.03);
}

.boxhost{
    box-sizing: border-box;
    min-height: 35px;

}
.name-hostcompany {
    margin-left: 12px;
    margin-top: 5px;
    text-transform: capitalize;
}

.font-payrate {
    font-size: 15px;
}
.text-payrate {
    padding-top: 5px;
    color: #f70505;
}
.detail-position {
    text-align: center;
    /* padding: 10px 0; */
    font-size: 16px;
    /* white-space: pre-wrap; */
    color: #000000;
}
.state-city {
    text-align: center;
    font-size: 14px;
    padding-right: 2%;
}

.container-localtion {
    /* background-color: #b20101; */
    height: 18px;
    padding-top: 2px;
}
.container-localtion .state-city p{
    color: #000000;
}
/* เส้นวงกลมล้อม ไอคอนfa */
.bd-cercle i {
    border: 3px solid #000000;
    border-radius: 50%;
    padding: 5px;
    width: 2rem;
    font-size: 1rem;
}
.c-redi i {
    border-color: #f70505;
}

@media only screen and (max-width: 599px) {
    .logoCompany-img {
        width: 65px;
        /* Adjust the width for small screens */
        height: 40px;
        /* Adjust the height for small screens */
        top: 33px;
    }

    .HostCompany-img {
        height: 150px;
        /* Adjust the height for small screens */
    }

    .container-btncheck p {
        top: -30px;
        height: 20px;
        width: 35px;
        font-size: 13px;
    }
    .container-entity {
    background-color: #b20101;
    height: 33px;
    padding-top: 9px;
    }
    .box {
        height: 340px;
    }

    .name-hostcompany {
        font-size: 14px;
    }

    .font-payrate {
        font-size: 14px;
    }
    p .font-position{
        font-size: 15px;
        margin-left: 6px;
    }
    .text-payrate{
        font-size: 15px;
    }

    .detail-position {
        font-size: 12px;
        box-sizing: border-box;
    }

    .state-city {
        font-size: 12px;
    }

    .bd-cercle i {
    border: 3px solid #000000;
    border-radius: 50%;
    padding: 5px;
    width: 1.7rem;
    font-size: 0.7rem;
    }
    .c-redi i {
    border-color: #f70505;
    }
}