* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: myFont;
}

@font-face {
    font-family: myFont;
    src: url(../css/font/IBMPlexSansThai-Regular.woff),
        url(../css/font/IBMPlexSansThai-Regular.ttf);

}


nav {
    display: flex;
    margin: 1rem 0 0 2rem;
    justify-content: center;
}

.menu-above {
    display: flex;
}

.menu-left-above {
    display: flex;
    align-items: center;
    gap: 50px;
    background-color: #aaaaaa;
    /* padding: 3px 100px 3px 20px; */
    border-radius: 80px;
}

.menu-left-above img {
    pointer-events: none;
    cursor: default;
}

.menu-logo {
    width: 200px;
    height: 80px;
    background-color: none;
    pointer-events: none;
    cursor: default;
}

.menu-left-above a {
    text-decoration: none;
    background-color: none;
    color: inherit;
    /* font-size: 1.5em; */
    font-weight: bold;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}


.menu-left-above li {
    list-style: none;
    background-color: none;
}

.menu-above-right img {
    width: 70px;
    height: 70px;
}

.menu-above-right {
    display: flex;
    align-items: center;

}


.menu-ms {
    font-size: 1.5em;
    display: flex;
    align-items: center;
    padding-right: 10px;
}
.menu-ms:hover {
    font-size: 1.6em;
    text-decoration: underline;
    color: rgb(146, 231, 207);
}

.img-menu {
    padding-right: 10px;
    width: 50px;
    height: 50px;
}

.btncontact{
    position: fixed;
    right: 40px;
    bottom: 20px;
    z-index: 1000;
}  

.content-logo img {
    width: 200px;
    height: 200px;
}


.collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    bottom: 0px;
}

.collapse.show {
    max-height: 400px;
    /* ปรับตามเนื้อหา */
}

.toggle-button {
    background-color: #ff7700;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    padding: 3px 40px 3px 40px;
    transition: all 0.5s;
    display: flex;
    align-items: center;
    margin-left: 1px;
    margin-bottom: -11px;
}

.toggle-button:hover {
    background-color: rgb(255, 140, 0);
    width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 3px 4px 10px rgba(0, 0, 0, 0.25);
}

.content-logo {
    padding: 10px;
    background-color: #ff7700;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.line-logo-contract {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    margin-right: 5px;
}

.collapse {
    border-radius: 10px;
}

.login-form {
    text-decoration: none;
    background-color: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
}

.login-form:hover p {
    width: 30px;
}

.tablestyle {
    display: flex;
    justify-content: center;
    align-items: center;
}

.table-bordered th,
.table-bordered td {
    text-align: center;
    border: 1px solid #dee2e6;
}

.status-green {
    color: green !important;
    font-weight: bold;
    background-color: #00ff00;
}
.status-orange {
    color: rgb(173, 112, 0);
    font-weight: bold;
    background-color: #ffa600;
}
.status-red {
    color: red !important;
    font-weight: bold;
}
.status-gray {
    color: rgb(83, 83, 83) !important;
    background-color: #808080;
}
/* .pagination li {
    margin-right: 1rem;
    border-style: groove;  /* ช่องว่างระหว่างปุ่ม */
    /* padding: 2px 10px 2px 10px;
} */ */


.prev{
    cursor: not-allowed;
    color: #000000;
}
.next{
    cursor: not-allowed;
    color: #000000;
}
.box-info2 {
    font-size: 2rem;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 80px;
    font-weight: 700;
}
.websub {
    margin: 0px 0px 0px 0px ;
}
.box-link span {
    white-space: nowrap;
    color: #000;
    font-weight: bold;
      display: block;
  overflow: hidden;

  text-overflow: ellipsis;
  max-width: 100%;
}
.box-link span:hover{
    white-space: nowrap;
    color: #a33131;
    font-weight: bold;
}

.box-link{
  padding: 10px;
  padding-right: 8%;
  flex-grow: 1;
  display: block;
  max-width: 100%;
  border-radius: 5px;
  background-color: white;
}
.box-link:hover{
    box-shadow: 3px 3px 10px rgba(0, 0,0, 0.3)
}

.info-box{
    background-color: #efefef;
    margin: 10px -15px 10px -15px;
    padding: 10px 18px 10px 18px;
    display: column;
    justify-content: center;
    align-items: center;
}
.menu-ms img{
    width: 50px;
    height: auto;
}

#ของเอิธpppppppppkjkjlkjljljljljljkljljlkjlkjjljkljkljkljljlkjlkjlkjlkjllkjlkjlkjlkjlkjlkjlkjkljkjlkjlkjlkj
.editinview a{
    display: flex;
    margin-right: 0px;
    margin-left: auto;
    width: fit-content;
}
.details{
    background-color: #18133e;
    margin-top: 10px;
    padding: 10px;
}
.detailshead{
    display: flex;
}
.topright{
    margin-right: 0px;
    margin-left: auto;
    display: flex;
}

.dropbtn{
    margin-right: 60px;
}
.dropbtn .btn-n{
    width: 45px;
    height: 35px;
    background-color: #CFC9FF;
    border-radius:  10px;
}
.backicon{
    height: fit-content;
}
.detailscontent{
    font-size: 16px;
}
.mainwork h6{
    font-weight: bold;
}
.bodycontent{
    margin-top: 20px;
    margin-left: 20px;
}
.blockcontent{
    margin-bottom: 10px;
    background-color: #ebebeb;
    padding: 5px;
    border-radius: 10px;
}
.footercontent{
    display: flex;
    margin-left: 20px;
    margin-top: 20px;
    gap: 100px;
}

.subhead{
    background-color: #eeeeee;
    padding-top: 30px;
}
.subcard:hover{
    background-color: #eeeeee;
    cursor: pointer;

}
.subwork{
    font-size: 14px;
}
.subwork h6{
    font-weight: bold;
}

.marginB15{
    margin-bottom: 25px;
}
.subsec{
    margin-bottom: 15px;
}


.headlogo {
    margin-left: 100px;
}

.text-subwork{
    color: #ffffff;
}
.detailshead h3{
    display: flex;
    justify-self: center;
    align-items: center;
}
input.form-control.grogform {
    width: 150%;
}
input.form-control.grogf{
    width: 100%;
}
select#account-role {
    width: 150%;
}
.dqr {
    display: flex
;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
}
.hshs {
    display: flex;
    align-items: center;
    flex-direction: column;
}
.fc-day-grid-event .fc-content {
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
}
.testsee{
    width: 60px;
    height: 40px;
    transform: translate(70px,26px);
}
.yyy {
    display: inline-flex;
}
input.form-control.groform {
    width: 162%;
}
.btn-register {
    display: flex;
    justify-content: center;
    align-items: center;
}
input.form-control.grform {
    width: 120%;
}
.testseee{
    width: 60px; 
    height: 40px;
    transform: translate(23px,26px);
}
p#strengthText {
    display: flex;
    justify-content: center;
}