.start_page {
    height: 100vh;
}
.teacher-card span .activ {
    border-radius: 100%;
    margin: 1px;
    height: 8px;
    width: 8px;
    background: #00a355;
}
.teacher-card span .inactiv {
    border-radius: 100%;
    margin: 1px;
    height: 8px;
    width: 8px;
    background: red;
}
    #teachers-list {
        width: 100%;
        float: right;
        border-radius: 8px;
       /* box-shadow: rgb(23 43 99 / 30%) 0 2px 10px;
        background: white;*/
        text-align: center;
    }
    .teacher-card {
            cursor: pointer;
        overflow: hidden;
        background: #fdddddb8;
        width: calc((48% - 1px) / 2) !important;
        display: inline-flex;
        margin: 2px 2px 6px 2px;
        border-radius: 8px;
        border: 1px solid;
        box-shadow: rgb(23 43 99 / 30%) 0 2px 10px;
        height: 13em;
        margin-top: 10px;
    }
    .teacher-card img:hover {
        transform: scale(1.09);
        transition: transform 0.8s;
    }
    .teacher-card img {
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
       
         width: 40%;
        max-height: 160px;
        transition: transform 0.2s;
    }



p.name_teacher {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 0em;
}
.des_teacher {
        font-size: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}


    .teacher-card span {
        background: #ffe4c433;
        color: #333;
        text-decoration: none;
        display: inline-table;
        width: 100%;

    }
    .teacher-card span:hover {
        background-color: #f1dc8d;
        color: #000;
        border-radius: 8px;
        display: inline-table;
        box-shadow: 2px 2px 15px #ff7878;
    }
    @media only screen and (min-device-width: 120px) and (max-device-width: 700px) {
        .teacher-card {
            width: calc((98% - 5px) / 2) !important;
        }
        .teacher-card img {
            width: 50%;
        }
        .des_teacher {
    
    -webkit-line-clamp: 3;
        }

    }





.filter-option.selected {
    background-color: #000; /* تغيير خلفية العنصر عند التحديد */
    color: white; /* تغيير لون النص إلى أبيض */
}
.filter-option.selected2 {
    background-color: #000; /* تغيير خلفية العنصر عند التحديد */
    color: white; /* تغيير لون النص إلى أبيض */
    
}

.filter-option:active {
    background-color: lightblue; /* تغيير خلفية العنصر عند التنشيط وعندما يكون في الفوكس */
    color: white; /* تغيير لون النص إلى أبيض */
}

.filter-option {
      text-align: center;
    border: 1px solid #000;
    min-width: max-content;
    text-align: center;
    cursor: alias;
    margin: 3px;
    padding: 8px;
    border-radius: 50px;
}
.mada {
    display: flex;
}
.prev,.next {
    margin-top: 17px;
    padding: 2px;

}


div#subject-filter {
        padding: 5px 8px;
    display: flex;
 overflow-x: auto; /* تمكين التمرير الأفقي عند الحاجة */
    overflow-y: hidden; /* إخفاء شريط التمرير العمودي */
    scrollbar-width: none; /* إخفاء شريط التمرير في متصفحات معينة مثل فايرفوكس */
    -ms-overflow-style: none; /* إخفاء شريط التمرير في إنترنت إكلورر */}
    
    
div#level-filter {
 padding: 5px 8px;
    display: flex;
    overflow-x: auto; /* تمكين التمرير الأفقي عند الحاجة */
    overflow-y: hidden;
    scrollbar-width: none;
}

.clear-input-container {
  position: relative;
  display: inline-block;
      text-align: center;
    width: 100%;
}

.clear-input-button {   
    position: absolute;
    right: 21%;
    top: 29%;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 2px;
    cursor: pointer;
     display: none;
}

.clear-input-button:hover {
  background: darkgray;
}

.clear-input--touched:focus + .clear-input-button,
.clear-input--touched:hover + .clear-input-button,
.clear-input--touched + .clear-input-button:hover {
  display: inline-flex;
}
input#search-input {
    border-radius: 9px;
    font-size: 1em;
    background: whitesmoke;
    width: 50%;
    padding: 10px;
    text-align: center;
}

span#teachers-count {
    
    
}

.serarching {
    max-width: max-content;
    background: whitesmoke;
    /* border-style: inset; */
    font-size: 23px;
    display: inherit;
    padding: 4px;
}


   @media (max-width : 767px) {
     .prev,.next {
    display: none;
 }   
 
 
   }

