






@media (max-width: 1027px) and (min-width: 901px){


 .region-primary-menu .menu-item {
     width: 49.7% !important;
}

}



@media (max-width: 854px) and (min-width: 461px){


 .region-primary-menu .menu-item {
     width: 32% !important;
}

}




@media (max-width: 926px) and (min-width: 320px) {
    
    
    

.title {
    height: fit-content;
    font-weight: 400;
    font-size: 111%;
}


    
.field--type-image img, .field--name-user-picture img {
    margin: 0;
}

    
    .node .field--type-image {
        margin:0;
    }
    
    article img {
     width: auto;
     height: auto;
     margin: 0; 
}

  .views-field.views-field-title.block-cfo-title, .views-field.views-field-title.title-page-karassi-2 a {
        color: #333;
        font-weight: 300;
        line-height: 1.8;
        font-size: 103% ;
    }
    
    
    div#page-wrapper {
    overflow: scroll;
}



.clearfix.menu a {
    padding: 0.7em 1em !important;
    
   
}

  .region-primary-menu .menu a {
       border-bottom: 1px solid aliceblue;
  }
  
  
  /*
  
 .region-primary-menu .menu-item {
  font-size: 100%;
}

*/

.views-view-responsive-grid__item-inner img {
    height: 8rem;
}


             
   .views-view-responsive-grid__item-inner .views-field.views-field-title {
      line-height:1.8;
      font-size: 100%
      padding: 0 2px 5px 2px;
}



/*     sidebar       */



  .views-view-responsive-grid__item {
        margin-bottom: 1rem;
    }
    
    
    td.views-field.views-field-title {
        line-height: 2.1;
        width: 50%;
}




/*   color    */

.views-view-responsive-grid__item a {
    color: #333;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.9;
}



/*            */

.views-field.views-field-title.title-page-karassi-2 {
  font-size: 84%;
  
}

.view.view-byanat-wmwaqf.view-id-byanat_wmwaqf.view-display-id-block_1 .views-field.views-field-title {
 font-size: 68%;

}




/*          دورات شرعية    */


nav#block-dedew-dwratshryt li {
    float: none;
    text-align: center;
    padding: 6px;
    /* font-weight: 400; */
    display: block;
    border: 1px solid #ececec;
    margin-left: 11px;
    font-size: 102%;
    width: fit-content;
    margin-top: 6px;
    width: 100%;
   
}


nav#block-dedew-dwratshryt a{
   color: #400754;
   font-size: 1rem;
    margin: auto;
    text-align: center;
  }


 nav#block-dedew-dwratshryt ul.clearfix.menu {
    height: 108px;
    background: white;
    box-shadow: none;
    border-bottom: 3px solid #5a9d44;
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 2rem;
}



/*  دورات شرعية    */


.view.view--alaklyl-fy-astnbat.view-id-_alaklyl_fy_astnbat.view-display-id-page_1 .views-view-responsive-grid__item .views-field.views-field-title {
  width: 100%;
  height: 6rem;
  font-size: 93%;
  
}


.view.view--alaklyl-fy-astnbat.view-id-_alaklyl_fy_astnbat.view-display-id-page_1 .views-view-responsive-grid__item a {
    color: #333;
    font-weight: normal;
    line-height: 1.7;
    color: #333;
    font-size: 100%;
    
  }

#block-dedew-drwswmhadrat .clearfix.menu a {
   margin-right: 1rem;
}




}