   * {
       font-family: shabnam;
       padding: 0px;
       margin: 0px;
       border: none;
       outline: 0;
   }

.col-index{
    margin-top: 50px;
    background-color: #EFEFEF;
    border-radius: 7px;
    direction: rtl;
}
.link-page ul li{
    display: inline-block;
    padding:7px;
}
.link-page ul li a{
    text-decoration: none;
    color: black;
}
.link-page ul li a:hover{
 color: #003179;
    transition: 1s;
    
}
/** start most visited **/
.visited{
    display: flex;
}
.visited div{
    text-align: center;
       padding: 10px 0px 10px 10px;
}
.img-visited{
    width: 100%;
    height: 200px;
    border-radius: 7px;
}
.link-visited{
    text-decoration: none;
    text-align: center;
    color: black;
    font-weight: bold;
    direction: rtl;
    
}
.link-visited:hover{
    color:#003179;
    transition: 1s;
}
/** start news **/

.div-title-news{
    margin-top: 25px;
    display: flex;
    flex-direction: row-reverse;
}
.title-news{
    width: 150px;
    text-align: center;
    background-color: #003179; 
    padding: 10px;
    border-radius: 7px 7px 0px 0px;
    color: #fff;
}
.div-news{
    border: 2px solid #EFEFEF;
}
.col-news{
       padding: 10px;
    display: flex;
    flex-direction: row-reverse;
}
.col-news:hover{
    transition: 2s;
    background-color: #EFEFEF;
}
.img-news{
    width: 200px;
    height: 160px;
    border-radius: 7px;
}
.link-news{
    display: flex;
    flex-direction: row-reverse;
}
.link-news a{
    text-decoration: none;
     color:#003179;
    font-weight: bold;
    text-align: right;
    direction: rtl;
    float: right;
    padding-right: 15px;
    display: block;
    
}
.link-news a:hover{
 border-bottom: 3px solid  #003179; 
    transition: 0.7s;
    color:  #003179;
    margin-right: 15px;
}
.p-news p{
    text-align: right;
    direction: rtl;
     padding: 10px;
    margin-bottom: 0px !important;
}
.link-more{
       direction: rtl;
     padding: 10px;
    color: #003179;
    text-decoration: none;
    font-weight: bold;
}
.link-more:hover{
 background-color:  #003179;
    color: #EFEFEF;
    transition: 1s;
    border-radius: 7px;
    
}
.div-link-news-more{
    margin-top: 30px;
    text-align: center;
}
.div-link-news-more a{
    background: #003179;
    padding: 10px;
    color: #fff;
    border-radius: 7px;
    text-decoration: none;
    border:3px solid #003179;
}
.div-link-news-more a:hover{
    background: #EFEFEF;
    color: #003179;
    transition: 1s;
}
.link-number{
    display: flex;
        justify-content: center;
    margin-top: 20px;
    
}
.link-number ul li{
    display: inline;
    direction: rtl;
    text-align: right;
}
.link-number ul li a{
    text-decoration: none;
    padding: 10px;
    color: #003179;
    font-weight: bold;

}
.link-number ul li a:hover{
    background-color: #003179;
    color: #EFEFEF;
    border-radius: 5px;
    transition: 1s;
    
}
.div-title-news-visited{
     border-bottom: 3px solid #EFEFEF;
        display: flex;
    flex-direction: row-reverse;
}
.title-news-visited{
        width: 150px;
    text-align: center;
    background-color: #003179; 
    padding: 10px;
    border-radius: 7px 7px 0px 0px;
    color: #fff;
   
}




  @media only screen and (max-width:1120px) {
      .visited {
    flex-wrap: wrap;
}
      .img-visited{
          height: 250px;
      }
      .width-visited{
          width: 50% !important;
      }
      .link-visited{
          font-size: 18px;
      }
}
 @media only screen and (max-width:650px) {
     .col-news{
         flex-direction: column;
     }
     .img-news {
    height:250px !important;
    width: 100%;
}
     .link-news a{
         margin-top: 5px;
         font-size: 20px;
     }
     .p-news p,.link-more{
         font-size: 17px;
     }
     
}

@media only screen and (max-width:512px) {
    
    
    .width-visited{
        width: 100% !important;
    }
    
}