.teach-filters-cont{
    display: flex;
    align-items: center;
    padding: 20px 40px;
    border-radius: 16px;
    background: #E4E7EC;
    gap: 64px;
    margin-bottom: 24px;
}
.teach-filter{
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 320px;
}
.filter-name{
    color: #333;
    font-family: Montserrat;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.teach-filter select{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 10px 14px;
    border: 1px solid #99B3E6;
    border-radius: 8px;
    color: #D0D5DD;
    font-family: Montserrat;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.teach-filter select::-ms-expand {
    display: none;
}
.facult-cont{}
.facult-hero{
    display: flex;
    flex-direction: column;
    gap: 31px;
    padding: 32px 40px;
    border-radius: 16px;
    background: #99B3E6;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.07);
    margin-bottom: 20px;
}
.facult-hero-name{
    color: #FFF;
    font-variant-numeric: lining-nums proportional-nums;
    font-family: var(--desktop-h3-font);
    font-size:  var(--desktop-h3-size);
    font-weight: var(--desktop-h3-weight);
    font-style: normal;
    line-height: 110%;
}
.facult-hero-decanat{
    display: flex;
    align-items: center;
    gap: 20px;
}
.facult-hero-decan{
    display: flex;
    justify-content: space-between;
    padding: 16px 32px;
    border-radius: 16px;
    background: #fff;
    width: 680px;
    gap: 16px;
}
.facult-hero-decan-card{
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.facult-hero-decan-img{
    width: 32px;
    height: 32px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}
.facult-hero-decan-info{}
.facult-hero-decan-name{
    color: #333;
    font-family: Montserrat;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.facult-hero-decan-post{
    color: #99B3E6;
    font-family: Montserrat;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.facult-hero-decan-contacts{
    display: flex;
    flex-direction: column;
    color: #667085;
    font-family: Montserrat;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    flex: 0 0 auto;
}
.facult-hero-decan-contacts a{
    color: #667085;
    font-family: Montserrat;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.facult-hero-decanat-contacts{
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px 32px;
    background: #fff;
    border-radius: 16px;
    width: 720px;
}
.facult-hero-dec-con-name{
    color: #333;
    font-family: Montserrat;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.facult-hero-dec-con-place{
    display: flex;
    gap: 40px;
    align-items: center;
    color: #667085;
    font-family: Montserrat;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.facult-hero-dec-con-place a{
    color: #667085;
    font-family: Montserrat;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.facult-hero-dec-con-face{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.facult-hero-dec-con-face-card{
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.facult-hero-dec-con-face-card-img{
    height: 32px;
    width: 32px;
}
.facult-hero-dec-con-face-card-info{}
.facult-hero-dec-con-face-name{
    color: #333;
    font-family: Montserrat;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.facult-hero-dec-con-face-post{
    color: #99B3E6;
    font-family: Montserrat;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.facult-hero-dec-con-face-contacts{
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.facult-hero-dec-con-face-contacts a{
    color: #667085;
    font-family: Montserrat;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.facult-hero-dec-zams{
    display: flex;
    column-gap: 80px;
    row-gap: 16px;
    flex-wrap: wrap;
    padding: 0 32px;
}
.facult-hero-dec-zam-card{
    display: flex;
    gap: 16px;
    align-items: center;
}
.facult-hero-dec-zam-img{
    width: 32px;
    height: 32px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}
.facult-hero-dec-zam-info{}
.facult-hero-dec-zam-name{
    color: #FFF;
    font-family: Montserrat;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.facult-hero-dec-zam-post{
    color:#FFF;
    font-family: Montserrat;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.kaf-cont{
    margin: 0 40px;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.07);
    background: #fff;
}
.kaf-name{
    color: #181D27;
    font-family: var(--desktop-h5-font);
    font-size:  var(--desktop-h5-size);
    font-weight: var(--desktop-h5-weight);
    font-style: normal;
    line-height: normal;
    margin-bottom: 8px;
}
.kaf-desc{
    color: #98A2B3;
    font-family: var(--desktop-body-font);
    font-size:  var(--desktop-body-size);
    font-weight: var(--desktop-body-weight);
    font-style: normal;
    line-height: normal;
    margin-bottom: 24px;
}
.kaf-workers-cont{}
.kaf-workers-closed{
    display: flex;
    gap: 80px;
}
.kaf-workers-closed-teach-cont{
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.kaf-workers-closed-teach-list{
    display: flex;
    flex-wrap: wrap;
    /* flex-direction: row-reverse; */
}
.kaf-workers-closed-teach-img{
    height: 40px;
    width: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    /* border: 1px solid red; */
}
.kaf-workers-closed-teach-img:not(:last-child){
    margin-right: -10px;
}
.kaf-workers-closed-teach-inf{
    display: flex;
    gap: 144px;
    align-items: center;
}
.kaf-workers-teach-count{
    color: #98A2B3;
    font-family: Montserrat;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.kaf-workers-closed-open-btn{
    display: flex;
    align-items: center;
    color: #36C;
    font-family: Montserrat;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    cursor: pointer;
    gap: 5px;
}
.kaf-workers-open{
    display: none;
    flex-direction: column;
    gap: 24px;
}
.kaf-workers-open-cont{
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.kaf-workers-open-cont .rec-card{
    flex: 0 0 420px;
    padding: 15px 0;
}
.kaf-workers-open-btn-cont{
    display: flex;
    width: 80%;
    justify-content: flex-end;
}
.kaf-workers-open-close-btn{
    color: #98A2B3;
    font-family: Montserrat;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    cursor: pointer;
}

.kaf-workers-cont #openCheck:checked ~ .kaf-workers-closed{
    display: none;
}
.kaf-workers-cont #openCheck:checked ~ .kaf-workers-open{
    display: flex;
}
.kaf-workers-cont .openCheck:checked ~ .kaf-workers-closed{
    display: none;
}
.kaf-workers-cont .openCheck:checked ~ .kaf-workers-open{
    display: flex;
}
.kaf-workers-cont #openCheck2:checked ~ .kaf-workers-closed{
    display: none;
}
.kaf-workers-cont #openCheck2:checked ~ .kaf-workers-open{
    display: flex;
}

.rec-card-img {
    overflow: hidden;
}

@media screen and (max-width: 1600px) {
    .facult-hero-decanat{
        flex-wrap: wrap;
    }
    .facult-hero-decan{
        width: 100%;
        justify-content: flex-start;
        align-items: center;
        gap: 32px;
    }
    .facult-hero-decanat-contacts{
        width: 100%;
    }
    .facult-hero-dec-con-face{
        justify-content: flex-start;
        align-items: center;
        gap: 32px;
    }
    .facult-hero-dec-zams{
        row-gap: 20px;
    }
    .kaf-workers-closed{
        flex-direction: column;
        gap: 20px;
    }
    .kaf-workers-closed-teach-inf{
        justify-content: space-between;
        padding-right: 150px;
    }
}
@media screen and (max-width: 1280px) {
    .teach-filters-cont{
        flex-wrap: wrap;
        row-gap: 20px;
    }
}
@media screen and (max-width: 1024px) {
    .facult-hero{
        padding: 20px;
    }
    .facult-hero-decan{
        padding: 12px 20px;
    }
    .facult-hero-decanat-contacts{
        padding: 12px 20px;
    }
    .kaf-cont{
        margin: 0 20px;
    }
    .teach-filter{
        width: 100%;
    }
    .default-select{
        width: 100%;
    }
}
@media screen and (max-width: 768px) {
    .facult-hero-decanat{
        align-items: flex-start;
    }
    .facult-hero-decan{
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 12px;
    }
    .facult-hero-decanat-contacts{
        padding: 12px;
    }
    .facult-hero-dec-con-place{
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .facult-hero-dec-con-face{
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .teach-filters-cont{
        padding: 20px;
    }
    .facult-hero-dec-zams{
        padding: 0;
    }
    .facult-hero-decan-img{
        flex: 0 0 32px;
    }
    .facult-hero-dec-con-face-card-img{
        flex: 0 0 32px;
    }
    .facult-hero-dec-zam-img{
        flex: 0 0 32px;
    }
    .kaf-cont{
        margin: 0;
    }
    .kaf-workers-closed-teach-inf{
        padding-right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}
