@font-face {
  font-family: iransans;
  src: url('../../fonts/IRANSans-web.woff');
}

body {
    margin: 0;
    font-family: 'IranSansWeb';
  }
 
  .sidebar {
    position: fixed;
   left: -250px;
    width: 250px;
    height: 100%;
    background:#ffeb3b;
    transition: all .5s ease;
  }
  
  .sidebar header {
    font-size: 22px;
    color:black;
    text-align: center;
    line-height: 70px;
    background:#3949ab ;
    user-select: none;
  }
  
  .sidebar ul a {
    display: block;
    height: 100%;
    width: 100%;
    font-size: 20px;
    color:black;
    box-sizing: border-box;
    border-top: 1px solid rgb(78, 78, 78);
    border-bottom: 1px solid black;
    transition: .4s;
    text-decoration: none;
    
  }
  
  .sidebar ul li {
    list-style: none;
  }
  
  ul li:hover a {
    padding-left: 50px;
  }
  
  .sidebar ul a i {
    margin-right: 16px;
  }
  
  #check {
    display: none;
  }
  
  label #btn,
  label #cancel {
    position: absolute;
    cursor: pointer;
    border-radius: 3px;
  }
  
  label #btn {
    left:1px;
    top: 18px;
    font-size: 22px;
    color:black;
    padding: 1px 6px;
    transition: all .5s;
   
  }
  
  label #cancel {
    z-index: 1111;
    left: -195px;
    top: 17px;
    font-size: 19px;
    color:black;
    padding: 0px 6px 1px 3px;
    transition: all .5s ease;
   
  }
  
  #check:checked~.sidebar {
    left: 0;
  }
  
  #check:checked~label #btn {
    left: 250px;
    opacity: 0;
    pointer-events: none;
  }
  
  #check:checked~label #cancel {
   left: 195px;
  }
/* bad ax menu بعد از منو */
.mySlides {
  display: none;
}


/* ظرف اسلایدر */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}


/* دکمه های بعدی و قبلی اسلایدها */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  color:black;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;

}

.klik2,
.klik {
  cursor: pointer;
  width: auto;
  padding: 16px;
  position: absolute;
  color: red;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.klik {
  right: 0;
  border-radius: 3px 0 0 3px;
  margin: 0;
}

.klik:hover,
.klik2:hover {
  background-color: blue;

}

/* موقعیت قرار گیری دکمه بعدی */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
  margin: 0;
}

/* رنگ زمینه دکمه های اسلاید بعد و قبل وقتی ماوس رفت روش */
.prev:hover,
.next:hover {
  background-color:rgba(255, 255, 255, 0.655);

}

/* انیمیشن بین اسلایدها 
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}*/


@-webkit-keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}

@keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}


#matn {
  direction: rtl;
  margin: 2em;
  color: white;
  margin-top: -30em;
}

.btn {
  cursor: pointer;
  color: black;
  position: relative;
  padding: 10px 20px;
  background: white;
  font-size: 28px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  transition: all 1s;

  &:after,
  &:before {
    content: " ";
    width: 10px;
    height: 10px;
    position: absolute;
    border: 0px solid #fff;
    transition: all 1s;
  }

  &:after {
    top: -1px;
    left: -1px;
    border-top: 5px solid#b70012;
    ;
    border-left: 5px solid #b70012;
    ;
  }

  &:before {
    bottom: -1px;
    right: -1px;
    border-bottom: 5px solid #78000c;
    border-right: 5px solid #78000c;
  }

  &:hover {
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    background: rgba(0, 0, 0, .5);
    color: white;

    &:before,
    &:after {
      width: 100%;
      height: 100%;
      border-color: white;
    }
  }
}
/* .mySlides {
  display: none;
  
}


/* ظرف اسلایدر */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}


/* دکمه های بعدی و قبلی اسلایدها */
.prev,.next {
  cursor: pointer;
  position: absolute;
  top: 60%;
  width: auto;
  padding: 12px;
  color:white;
  background-color: rgb(78, 78, 78);
  font-weight: bold;
  font-size: 55px;
  transition: 0.6s ease;
  border-radius: 50px 50px;
  user-select: none;
height: 80px;
margin-block: auto;

}

.klik ,.klik2{
  cursor: pointer;
  width: auto;
  padding: 36px;
  position: absolute;
  color: red;
  font-weight: bold;
  font-size: 25px;
  transition: 0.6s ease;
  border-radius:80%;
  user-select: none;
}

.klik {
  right: 0;
  border-radius: 3px 0 0 3px;
  margin: 0;
}

.klik:hover,
.klik2:hover {
  background-color: white;

}

/* موقعیت قرار گیری دکمه بعدی */
.next {
  right: 0;
  border-radius:50px 50px;
  margin: 0;
}

/* رنگ زمینه دکمه های اسلاید بعد و قبل وقتی ماوس رفت روش */
.prev:hover,
.next:hover {
  background-color:rgba(255, 255, 255, 0.655);

}
@-webkit-keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}

@keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}



.navbar {
  background: #3949ab;
  direction: rtl;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  padding: 0;
  align-items: center;
list-style: none;
text-align: center;
}
#logotop {
  width: 4em;
  height: 4em;
 
 
}
.navbar h2 {
  font-size: 1.3em;
}
@media screen and (max-width:560px) {
  #logotop {
      width: 3em;
      height: 3em;
 
  }
}

@media screen and (max-width:850px) {
  .navbar{
      grid-template-columns: repeat(2,1fr);
  }
}
@media screen and (max-width:550px) {
  .navbar{
      grid-template-columns: repeat(2,1fr);
      height: 10em;
  }
  .navbar h2{
      font-size: small;
  }
  ul.menu li a{
      font-size: 16px !important;
  }
  #about1{
      display: none;
  }
}
@media screen and (max-width:400px) {
  .navbar{
      grid-template-columns: repeat(1,1fr);
      height: 11em;
  }
  .navbar h2{
      font-size: smaller;
  }
  ul.menu li a{
      font-size: 15px !important;
      display: grid;
    grid-template-columns: repeat(1,1fr);
  }
  #about1{
      display: none;
  }
}
@media screen and (max-width:300px) {
  .navbar{
      grid-template-columns: repeat(1,1fr);
      height: 11em;
  }
  .navbar h2{
      font-size: 8px;
  }
  ul.menu li a{
      font-size: 10px !important;
  }
  #about1{
      display: none;
  }
} 
#icon1 ul li{
  list-style: none;
  direction: rtl;
}
#foot1 a{
  text-decoration: none;
  color: gray;
}
#foot1 a:hover{
  color: white;
}
#icon1 *{
  direction: rtl;
  text-align: center;
  padding: 1px;
  text-decoration: none;
  transition: 0.5s;
} */
#clinik {
  font-size: 1.5em;

} 

ul.menu li {
  display: inline-block;
  list-style: none;
}


ul.submenu {
  display: none;
}

ul.menu li i {
  vertical-align: middle;
  /* margin-right: 4px; */
}

ul.menu li a {
  display: inline-block;
  padding: 5px;
  color:white;
  text-decoration: none;
  transition: all 0.2s;
  font-weight: bold;
  font-size: .8em;

}

ul.menu li a:hover {
  background: rgb(78, 78, 78);
  color: white;
}

ul.menu li:hover ul.submenu {
  display: block;
  background: #a2a2a2;

}

ul.submenu li {
  display: block;
  border-bottom: 1px solid #fff;
}

ul.submenu {
  display: none;
  width: 160px;
  position: absolute;
  top: 42px;
  background: #a2a2a2;
}

ul.submenu li {
  display: block;

}

ul.submenu li a {
  display: block;
}

ul.menu li:hover ul.submenu {
  display: block;
  background: #a2a2a2;
  color: white;
}

ul.menu li {
  display: inline-block;
  list-style: none;
  transition: all 0.4s;
  position: relative;
} 
