@media screen and (min-width:800px)
{
       body{margin: 0;
           padding: 0;
           background-color: whitesmoke;
           font-family: 'Cairo', sans-serif;
           background-image: url(../img/pattern36.png);
            background-repeat: repeat;
}

#logo{
    transform: scale(0.85);
    margin: 0 auto;
}

header{
    background: none;
    position: fixed;
    top: 0;
    width: 100%;
    text-align: center;
    height: 160px;
    color: #ccc;
    padding: 0;
    direction: rtl;
    overflow: hidden;
    box-shadow: 8px 0px 20px 1px #222;
    z-index: 2;
}

.head1{
    height: 85px;
    width: 100%;
    text-align: center;
    background-color: #2e2e2e;
   
} 


.head2{
    background-color:rgb(239, 130, 50,0.97);
    height: 75px;
    text-align: center;
    font-size: 30px;
    color: #FFF;
    line-height: 75px;
   
}
footer {
    position: relative;
    width: 100%;
    background: #2e2e2e;
    line-height: 35px;
    border-top: 1px solid #444;
    color: #ccc;
    padding: 15px 50px 15px 30px;
    border-top: 2px solid #EE0000;
    float: right;
    direction: rtl;
    font-size: 12px;
}
        #container
        {
            margin: 0px;
            position: relative;
            width: 99%;
            max-width: 960px;
            margin: 200px auto 50px auto;
            padding:0;
            overflow: hidden;
            box-shadow: 0px 0px 16px #CCC;  
            
        }
#title{

    text-align: right;
    padding: 20px;
    margin: 0 auto;
    font-size: 40px;
    background-color:#FFFFFF; 
    
}

.v{   
    text-align: right;
    direction: rtl;
    box-sizing: content-box;
    margin: 0;
    padding: 0;
}

.listdoc{
    position: relative;
    direction: rtl;
    list-style-type: none;
    list-style-position: inside;
    height: 35px;
    background: linear-gradient(#ef8232, #ff9343);
    line-height: 35px;
    font-size: 15px;
    padding: 15px;
    
}

.listdoc a:any-link{color: #FFF;}
.lst a:any-link{color: #444;}
.lst{background: linear-gradient(#fff, #fff);}
.listdoc a {text-decoration: none;}

.listdoc:hover a:any-link{
    padding: 0 5px 0 5px;
    border-right: 4px solid #FFFFFF;
    text-decoration: underline;
    transition: padding 0.4s,border-right 0.4s;
}

.lst:hover  a:any-link{
    padding: 0 5px 0 5px;
    border-right: 4px solid #444; 
    text-decoration: underline; 
    transition: padding 0.4s,border-right 0.4s;
}
}
@media screen and (max-width:799px)
{
      body{
          margin: 0;
           padding: 0;
           background-color: whitesmoke;
          font-family: 'Cairo', sans-serif;
              background-image: url(../img/pattern36.png);
    background-repeat: repeat;
}
    #logo{
    transform: scale(0.75);
    margin: 0 auto;
}
    
    header{
    background: none;
    position: fixed;
    top: 0;
    width: 100%;
    text-align: center;
    height: 80px;
    color: #ccc;
    padding: 0;
    direction: rtl;
    overflow: hidden;
    box-shadow: 8px 0px 26px 1px #222;
    z-index: 2;
}

.head1{
    width: 50%;
    height: 80px;
    text-align: center;
    background-color: #2e2e2e;
    float: right;
   
} 


.head2{
    width: 50%;
    height: 80px;
    float: right;
    background-color:rgb(239, 130, 50,1);
    text-align: center;
    font-size: 24px;
    color: #FFF;
    line-height: 80px;
   
}    
        #container
        {
            
            margin: 0;
            position: relative;
            width: 90%;
            margin: 120px auto 30px auto;
            padding:0;
            overflow: hidden;
            box-shadow: 0px 0px 16px #CCC;           
        }

.v{   
    text-align: right;
    direction: rtl;
    box-sizing: content-box;
    margin: 0;
    padding: 0;
}

.listdoc{
    position: relative;
    direction: rtl;
    list-style-type: none;
    height: 35px;
    background-color:#ef8232;
    line-height: 40px;
    font-size: 13px;
    padding: 5px 10px 5px 0;
    overflow: hidden;   
}

.listdoc a:any-link{color: #FFF;}
.lst a:any-link{color: #444;}
.lst{background-color: white;}
.listdoc a {text-decoration: none;}
    
.listdoc:hover a:any-link{
    padding: 0 5px 0 5px;
    border-right: 4px solid #FFFFFF;
    text-decoration: underline;
    transition: padding 0.4s,border-right 0.4s;
    }

.lst:hover  a:any-link{
    padding: 0 5px 0 5px;
    border-right: 4px solid #444;
    text-decoration: underline; 
    transition: padding 0.4s,border-right 0.4s;
    }
    
    footer {
    position: relative;
    width: 100%;
    background: #2e2e2e;
    line-height: 35px;
    border-top: 1px solid #444;
    color: #ccc;
    padding: 15px;
    border-top: 2px solid #EE0000;
    float: none;
    text-align: center;
    direction: rtl;
    font-size: 12px;
    box-sizing: border-box;
}
}