kmm* {
    margin: 0;
    padding: 0;
    
}
body {
    background: #E6EAE9 url("https://cbox.im/i/8XHAZ.png"); 
    color: #2D2D36;
    font-family:  Tajawal , sans-serif;  font-size:15px;
    overflow-x:hidden;
    direction: rtl;
}
#menu {
    background: #ff0000;
    height: 60px;
    padding: 0 5px 0;
    text-align: center;
}
.navbar-header{
     position: relative;
     display: none;
     
}
.navbar-toggle{
     float: right;
      padding: 9px 10px;
      margin-top: 8px;
      margin-right: 15px;
      margin-bottom: 8px;
      background-color: transparent;
      background-image: none;
      border: 1px solid transparent;
      border-radius: 4px;
      cursor:pointer;
      /*display: none;*/
}
#navbar{
    display: block;
}
.navbar-toggle:focus {
  outline: 0;
}
.navbar-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: #fff;
}
.navbar-toggle .icon-bar + .icon-bar {
  margin-top: 4px;
}
ul {
    list-style: none;
}
ul li {
    display: inline-block;
    width: 84px;
    text-align: center;
}
ul li a {
    color: #fff;
    width: 100%;
    line-height: 60px;
    text-decoration: none;
}
ul li.active {
    background: #fff;
}
ul li.active a {
    color: #384047;
}
select {
    width: 94%;
    margin: 11px  0 11px 2%;
    float: left;
}
h1 {
    margin: 40px 0 10px;
    text-align: center;
    color: #384047;
}
p {
    text-align: center;
    color: #777;
}
/** Start Coding Here **/
.logo 
{
  width: 340px;
  margin: 1rem auto;
  display: block; text-indent: -9999px;
  -moz-border-radius: 1em 3em 1em 1em;
   border-radius: 1em 3em 1em 1em;
  }
  
/** 
Modify CSS to hide links on small width and show button and select
Also hides select and button on larger width and show s links
**/
@media only screen and (max-width: 10px) {
    .navbar-header{
        display: block;
    }
    .navbar-header:after{
        content:"";
        display: table;
        clear:both;
    }
    a,p{
    line-height: initial;
    }
    #navbar{
        width:100%;
        background:#000;
        position: relative;
        top: 12px;
        left: -7px;
        display: none;
    }
    #menu {
            width:100%;
            display: block;
            font-size:1.25em;
            text-align: center;
        }
    /*    #navbar.js {
            display: none;
        }*/
        ul {
            width:100%;
            list-style:none;
        }
        ul:after{
            content: "";
            display: table;
            clear: both;
        }
        li {
            width:100%;
            border-right:none;
        }
          
        #menu .nav li {
            display:block;
            width:100%;
            float:none;
            padding: 10px;
            border-radius: 0px;
            border-bottom: 1px solid #eee;
          }
        ul li a {
            line-height: 20px;
        }
        
    }
    #container {
width: 99%;
margin: auto;
    }
    /* ttt*/
    .button3 {
        background-color: #976E45;
        border: none;
        color: white;
        padding: 9px 15px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 13px;
        font-weight: 600;
        margin: 4px 2px;
        cursor: pointer;
      }
      
.popup:not(:target){
    display: none;
  }
  
  .popup:target{
    width: 100%;
    height: 100vh;
    
    display: flex;
   
    position: fixed;
    top: 0;
    right: 0;  
  }
  
  .popup::before{
    content: "";
    box-sizing: border-box;
    width: 100%;
    background: #fff;
  
    position: fixed;
    left: 0;
    top: 50%;
  }
  
  .popup::after{
    content: "";
    width: 0;
    height: 2px;
    background: #fff;
  
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -1px;
  }
  
  .popup__container{
    box-sizing: border-box;  
    padding: 5% 15%;
  
    height: calc(100vh - 40px); /* 1 */
    margin: auto; /* 1 */
    overflow: auto; /* 1 */
    overscroll-behavior: contain; /* 1 */
  }
  
  .popup__title{
    --rTitleMarginBottom: 1.5rem;
    font-size: 1.5rem;
  }
  
  .popup__close{
    width: 2rem;
    height: 2rem;
  
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
  
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    background-image: url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjMDAwMDAwIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gICAgPHBhdGggZD0iTTE5IDYuNDFMMTcuNTkgNSAxMiAxMC41OSA2LjQxIDUgNSA2LjQxIDEwLjU5IDEyIDUgMTcuNTkgNi40MSAxOSAxMiAxMy40MSAxNy41OSAxOSAxOSAxNy41OSAxMy40MSAxMnoiLz4gICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPjwvc3ZnPg==);
  }
  p {
      color: #000;
  }
  .popup::before{
    will-change: height, top;
    animation: open-animation .6s cubic-bezier(.5, .01, 0, .80) .5s both;
  }
  
  .popup::after{
    will-change: width, opacity;
    animation: line-animation .6s cubic-bezier(0.30, 0.04, 0, .20) both;
  }
  
  @keyframes line-animation{
  
    0%{
      width: 0;
      opacity: 1;
    }
  
    99%{
      width: 100%;
      opacity: 1;
    }
  
    100%{
      width: 100%;
      opacity: 0;
    }  
  }
  
  @keyframes open-animation{
  
    0%{
      height: 0;
      top: 50%;
    }
  
    100%{
      height: 100vh;
      top: 0;
    }
  }
  
  .popup__container{
    animation: fade .5s ease-out 1.3s both;
  }
  
  @keyframes fade{
  
    0%{
      opacity: 0;
    }
  
    100%{
      opacity: 1;
    }
  }
  .r-title{
    margin-top: var(--rTitleMarginTop, 0) !important;
    margin-bottom: var(--rTitleMarginBottom, 0) !important;
}
.screen-reader{
  width: var(--screenReaderWidth, 1px) !important;
  height: var(--screenReaderHeight, 1px) !important;
  padding: var(--screenReaderPadding, 0) !important;
  border: var(--screenReaderBorder, none) !important;
  position: var(--screenReaderPosition, absolute) !important;
  clip: var(--screenReaderClip, rect(1px, 1px, 1px, 1px)) !important;
  overflow: var(--screenReaderOverflow, hidden) !important;
}
.popup__content {
padding: 10px 0;
}
.well {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    font-size: larger;
    direction: ltr;
    line-height: 29px;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 5%);
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 5%);
}