@import url('fonts.css');
@import url('colorStyle.css');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* background-color: rgb(134, 133, 133)!important; */
}

/* @keyframes flyIn_personal {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0px);
    }
    
} */
body{
    animation: flyIn_personal  2s forwards;
}


.list-doctors{
    padding: 1rem;
    position: -ms-page;
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
}
.list-doctors .col1{
    /* background-color: violet; */
    width: 49%;
}
.list-doctors .col2{
    /* background-color: rgb(238, 179, 130); */
    width: 49%;
}
.list-doctors .item{
    border-radius: 0.5rem;
    position: relative;
    padding: 0.5rem;
    display: flex;
    align-items: end;
    /* animation: flyIn_personal  1.5s forwards; */
    z-index: -1;
   
}


.list-doctors .item img {
    border-bottom-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    border-top-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
    border: 5px solid var(--titel-color2);
    width: 180px; /* عرض مشخص */
    height: 220px; /* ارتفاع مشخص */
    object-fit: unset; /* یا `contain` */
}

.list-doctors .item .info{
    background-color: var(--color-box);
    border-top-left-radius: 2rem;
    width: 100%;
    padding: 0.5rem;
    padding-right: 1rem;
    transition: all 0.5ms;
    

}

.list-doctors .item .info label{
    font-size: 1rem; 
    color: var( --titel-color2);
    margin-top: 0.3rem;
}



.form_serch{
     
    border-radius: 0.5rem;
    margin-top: 2rem;
    /* animation: flyIn_personal  1.5s forwards; */
   
  
  }
  .form_body{
    display: flex;
  
    background-color: var(--titel-color2);
    padding: 0.5rem;
    padding-left: 0.9rem;
    padding-right: 0.9rem;
    justify-content: space-between;
    align-items: center;
    border-radius: 0.5rem;
  }
  .form-box{
    width: 75%;
    background-color: #eee;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: none;
    font-size: 0.9rem!important;
    
   
  }
  option{
    font-size: 0.9rem;
  }

  .form_serch label{

   color: #eee;
    font-size: 0.9rem!important;
  }
  .serch{
    border-radius: 0.5rem;
    padding: 0.5rem;
    border: none;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    font-size: 0.9rem!important;
 
  }
  .page_list_doctor{
    border-radius: 0.5rem!important;
    direction: ltr!important;
    margin-top: 1rem;
    
  }
  .list_page{
    background-color:#3F51B5;
    width: 100%;
    padding-top: 0.8rem!important;
   
  }

/* 
===============================responsive============================= */
@media only screen and (max-width: 1200px){
    
.list-doctors .item img{
    border-top-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
    border:3px solid var(--titel-color2);
    width: 140px;
    height: 170px;
}
.list-doctors .item .info label{
        font-size: 0.8rem!important; 
        margin-top: 0.3rem;
}


.form-box{
    width: 70%;
    background-color: #eee;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: none;
    font-size: 0.9rem!important;
   
  }


}
@media only screen and (max-width: 991px){
    
    .list-doctors{
        
        flex-direction: column;
        justify-content: center;
        margin-top: 3rem;
        margin: 0 auto!important;
        
    }
    .list-doctors .item img{
        border-top-left-radius: 2rem;
        border-bottom-right-radius: 2rem;
        border:3px solid var(--titel-color2);
        width: 150px;
        height: 190px;
    }
    
    .list-doctors .col1{
        /* background-color: violet; */
        width: 100%;
    }
    .list-doctors .col2{
        /* background-color: rgb(238, 179, 130); */
        width: 100%;
    }
    .form-box{
        width: 55%;
        background-color: #eee;
        padding: 0.3rem;
        border-radius: 0.3rem;
        border: none;
        font-size: 0.9rem!important;
       
      }
      .form_serch label{

        color: #eee;
         font-size: 0.8rem!important;
       }
       .serch{
         border-radius: 0.3rem;
         padding: 0.3rem;
         border: none;
         padding-left: 0.5rem;
         padding-right: 0.5rem;
         font-size: 0.8rem!important;
      
       }

       option{
        font-size: 0.7rem!important;
      }

      select{
        font-size: 0.7rem!important;
      }
}@media only screen and (max-width: 700px){
    .form-box{
        width: 50%;
        background-color: #eee;
        padding: 0.3rem;
        border-radius: 0.3rem;
        border: none;
        font-size: 0.9rem!important;
       
      }
      .serch{
        border-radius: 0.3rem;
        padding: 0.3rem;
        border: none;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        font-size: 0.8rem!important;
     
      }

      .list_page{
        background-color:#3F51B5;
        width: 100%;
        padding-top: 0.8rem!important;
       
      }

}

@media only screen and (max-width: 550px){
    .form_body{
        flex-direction: column;
      
        background-color: var(--titel-color2);
        padding: 0.5rem;
        padding-left: 0.9rem;
        padding-right: 0.9rem;
        justify-content: space-between;
        align-items: center;
        border-radius: 0.2rem;
      }
      .form-box{
        width: 100%;
        background-color: #eee;
        padding: 0.2rem;
        border-radius: 0.3rem;
        border: none;
       
        font-size: 0.9rem!important;
       
      }
      .form_serch label{

        color: #eee;
         font-size: 1rem!important;
         margin-bottom: 1rem;
       }
       .serch{
         border-radius: 0.5rem;
         padding: 0.3rem;
         border: none;
         width: 100%;
         margin-top: 1rem;
         font-size: 0.8rem!important;
      
       }
      


    .list-doctors .item img{
        border-top-left-radius: 2rem;
        border-bottom-right-radius: 2rem;
        border:3px solid var(--titel-color2);
        width: 135px;
        height: 180px;
    }
    .list-doctors .item .info label{
            font-size: 0.8rem!important; 
            color: var( --titel-color2);
            margin-top: 0.3rem;
    }
}
@media only screen and (max-width: 450px){
    .list-doctors .item img{
        border-top-left-radius: 2rem;
        border-bottom-right-radius: 2rem;
        border:3.5px solid var(--titel-color2);
        width: 120px;
        height: 150px;
    }
    .list-doctors .item .info label{
            font-size: 0.7rem; 
            color: var(--titel-color2);
            margin-top: 0.3rem;
    }
}

main h4{
  font-size: 1.6rem!important;
}
@media only screen and (max-width: 1400px){
  main h4{
  font-size: 1.5rem!important;
}
}

@media only screen and (max-width: 1200px){
  main h4{
  font-size: 1.4rem!important;
}
}
@media only screen and (max-width: 600px){
  main h4{
  font-size: 1.2rem!important;
}
}