body{
    direction: rtl;     
    word-wrap: break-word;
    background-image: url(../images/backgroundimag.png);
}
header{
    height: 200px;
    background-image: url(../images/heder.png);
    
    background-repeat: no-repeat;
    width: 90%;
    margin: auto;
    align-content: center;
}

.cheder{   
    font-size: 40px;
    position: sticky;
    top: 0px;
    margin-bottom: 0px;
    background-color: rgba(0, 0, 0, 0.5);
    width: max-content;
    color: white;
}

.cheder:hover{
    font-size: 50px;
}

main{
    width: 90%;
    margin: auto;
    background-color:rgb(229, 220, 239,0.95);
    border-radius: 10px;
}
nav{
    width: 90%;
    margin:auto;
    position: sticky;
    top: 0px;
    background-color:transparent;
}
#time{
    display: flex;
    flex-direction: row-reverse;
    font-size: 20px;
    color: blue;
}

#idhorisentalmenu{
    
    list-style-type: none;
    display: flex;
    height:40px;
    padding: 0px;
    font-size: 20px;     
    color: white;    
}
#idhorisentalmenu li a{
    color: white;
    text-decoration: none;    
}

#idhorisentalmenu li{    
    
    width: 120px;
    height: 40px;     
    background-color: rgba(0, 0, 70, 0.8);     
    text-align: center;     
    align-content: center;
    box-sizing: border-box;
    border-top: 4px groove rgb(0, 26, 255);
    border-bottom: 4px groove rgb(0, 26, 255); 
    cursor: pointer;   
}
#idhorisentalmenu li:hover{
    background-color: rgba(2, 2, 46, 0.5);     
    border: 4px groove white;    
    box-sizing: border-box;
}
#idhorisentalmenu li:hover .csubmenu1{
    display: block;    
}
.csubmenu1{
    margin-top: 5px; 
    width: 170px; 
    list-style-type: none;
    padding: 0px;
    position: absolute;
    font-size: 20px;
    margin-right:-5px;
    display: none;
    
}
#idhorisentalmenu li .csubmenu1 li{
    width: 100%;
    
}
.csubmenu2{
    display: block;
    width: 100%;
    display: none;
    margin-top: -27px;
    margin-right: 102%;
    list-style-type: none;
    padding: 0px;
}
#idhorisentalmenu li .csubmenu1 li:hover .csubmenu2{
    display: block;
}
footer{
    color: white;   
    width: 90%;
    margin-top: 50px;
    margin-right: 5%;
    background-color: rgba(19, 19, 27);
}

#iddall{
    width: 100%;
    display: flex;   
    flex-wrap: wrap;    
    justify-content: space-between;
}
#iddpedarlist{
    width: 70%;
}

#iddhashie{
    width: 28%;   
}
.cdnewlike{
    font-size: 40px;
    color: blue;
}
.cdajza{  
    font-size: 14px;
    width: 100%;  
    display: flex;   
    flex-wrap: wrap;    
    justify-content: space-around;
    justify-content: flex-start;
}
#iddsabettablighat{
    width: 100%;
    height: 1026px; 
}
#iddtablighat{
    position: sticky;
    top: 0px;
    width: 100%;
    box-sizing: border-box;
    border: 2px solid black; 
    height: 500px;     
}

#iddvisited{
    height: 100px;
    width: 100%;
    margin-top: 74px; 
    box-sizing: border-box;
    border: 2px solid black;   
}
.cdyekamoozesh{
    width: 19%;
    height: 224px;
    margin-bottom: 10px;    
    border: 2px solid black;   
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}
.cdonvanlist{
    height: 82px;
    font-size: 18px;
    text-align:center;
    align-content: center;  
    background-color:rgb(150, 155, 215,0.4);
}

.cdtozihat{
    height: 134px;
    font-size: 16px;
    border: 2px solid black; 
    border-left: 0px;
    border-right: 0px;    
    border-radius: 10px;
    background-color: transparent; 
    text-align: justify;    
    overflow: hidden; 
    padding: 6px;
    padding-top: 0px;
    margin-top: 0px;
}
.cdtozihat h1{
    padding: 2px;
    margin: 0px;
    font-size: 20px;
    text-align: justify;
    word-spacing: 0px;
}

.cdtozihat a{
    text-decoration: none;    
    color:blue;   
}
.newsvavisited{
    font-size: 15px;    
    text-align: center;
    color: blue;
    height: 30px;
    background-color:rgb(0, 0, 0,0.8);
}

.newsvavisited a{
    text-decoration: none; 
    color: blue;  
}
#iddmarque{
    height: 438px;
}

#marque{
    height: 438px; 
}

#newsonvan{
    font-size: 20px;  
}
footer{
    text-align: center;
}
.disablee{
    font-size: 12px;
    color: red;
}
@media only screen and (max-width: 505px){
    
    header{
        height: 80px;
        background-size: 70% 100%;
    }
    .cheder{
        font-size: 14px;
    }
    .cheder:hover{
        font-size: 30px;
    }
    #idhorisentalmenu{
        font-size: 9px;
        height:62px;
        align-items: center;
        width: 100%;
    }     
    #idhorisentalmenu li{ 
        width:82px ;
    }
    .csubmenu1{
        width: 80px;
        font-size: 10px;
        margin-top: 10px;
        margin-right:-4px;
    }
    .csubmenu2{
        width: 70px;
        margin-top: -38px;
      margin-right: 105%;
    }  
    #time{
        font-size: 14px;
    }

    .cdyekamoozesh{
        width: 38%;
        height: 208px;
    }
    .cdonvanlist{
        font-size: 12px;
    }
    .cdtozihat h1{
        font-size: 10px;
    }
    .cdtozihat{
        height: 118px;
    }
    .newsvavisited{
        font-size: 9px;
    }

    .cdajza{
        font-size: 8px;
    }
    #idisearch{
        width: 40px;
    }
    .cdnewlike{
        font-size: 10px;
    }  
    #iddsabettablighat{
        height: 2256px;
    }
    #iddtablighat{
        height: 294px;
        top: 50px;
    }
    #iddmarque{
        height:230px;            
    }
    #marque{
        height:230px;        
    } 
    #newsonvan{
        font-size: 9px;
    }
}



