html {
  height: 100%;
}
body {
  color: #fff;
  height: 100%;
  width: 100%;
  background-color: #000;
}
a {
  text-decoration: none;
  color: #ffffff;
}
.clear {
  height: 1px;
  clear: both;
}
#body {
  background-color: #000;
  background-image: url("images/bg1.jpg");
  background-size: cover;
  background-position: center;
  height: 100%;
  width: 100%;
  position: relative;
  
  -webkit-animation-name:ani1;
  animation-name:ani1;
  
  -webkit-animation-duration:3s;
  animation-duration:3s;
  -webkit-animation-fill-mode:both;
  animation-fill-mode:both;
}
@-webkit-keyframes ani1{
0% {
    opacity: 0.5; 
  }
  100% {
    opacity: 1;
  }
}
@keyframes ani1{
0% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
.pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent url("images/10.png") center center repeat; /* overlay pattern, change to 01.png - 10.png */
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85); /* overlay background color and opacity */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000;
  perspective: 1000;
}
.overlay {
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijk0JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 94%, rgba(0,0,0,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(94%,rgba(0,0,0,1)), color-stop(100%,rgba(0,0,0,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 94%,rgba(0,0,0,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 94%,rgba(0,0,0,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 94%,rgba(0,0,0,1) 100%); /* IE10+ */
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 94%,rgba(0,0,0,1) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); /* IE6-8 */
}
.overlay {
  filter: none;
}
.overlay {
  background-size: 200% 200%;
  -webkit-animation: gradient-animation 15s ease infinite; /* gradient animation time */
  -moz-animation: gradient-animation 15s ease infinite; /* gradient animation time */
  animation: gradient-animation 15s ease infinite; /* gradient animation time */
}
@-webkit-keyframes gradient-animation {
  0%{background-position:50% 0%}
  50%{background-position:51% 100%}
  100%{background-position:50% 0%}
}
@-moz-keyframes gradient-animation {
  0%{background-position:50% 0%}
  50%{background-position:51% 100%}
  100%{background-position:50% 0%}
}
@keyframes gradient-animation { 
  0%{background-position:50% 0%}
  50%{background-position:51% 100%}
  100%{background-position:50% 0%}
}

#site-title {
  background: transparent url("images/logo-GD1.png") no-repeat right center;
  height: 70px;
  width: 190px;
  margin: 0 auto;
  padding-right: 17px;
  line-height: 33px;
  cursor: default;
  direction: rtl;
  font-weight: 700;
}
#site-title h2 {
  padding-right: 23px;
}
#site-title h1 span {
  display: none;
}


header {
  position: relative;
  text-align: center;
  width: 100%;
  font-family: "IRANSans-bold";
  padding: 30px 0;
  line-height: 30px;
}
@font-face{
  font-family:'IRANSans-bold';
  src:
  url(./fonts/IRANSans-bold.eot?#) format("eot"),
  url(./fonts/IRANSans-bold.woff2) format("woff2"),
  url(./fonts/IRANSans-bold.woff) format("woff");
}
@font-face{
  font-family:'IRANSans';
  src:
  url(./fonts/IRANSans.eot?#) format("eot"),
  url(./fonts/IRANSans.woff2) format("woff2"),
  url(./fonts/IRANSans.woff) format("woff");
}
@font-face{
  font-family:'IRANSans-Light';
  src:
  url(./fonts/IRANSans-Light.eot?#) format("eot"),
  url(./fonts/IRANSans-Light.woff2) format("woff2"),
  url(./fonts/IRANSans-Light.woff) format("woff");
}
#navbar-top {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.19);
  height: 30px;
  margin-top: 20px;
  font-family: "IRANSans";
}
#navbar-top li {
  float: right;
  padding: 0 30px;
}
#navbar-top li:hover {
  background-color: rgba(255, 255, 255, 0.30);
}
#navbar-top a {
  color: #fff;
}
#res-menu {
  background: url("images/menu.png") no-repeat;
  height: 30px;
  width: 30px;
  display: none;
  cursor: pointer;
  clear: both;
}
@media only screen and (max-width: 662px) {
  #res-menu {
    display: block;
    float: right;
    margin: 0 14px;
  }
  #navbar-it {
    display: none;
    clear: both;
  }
  #navbar-it li {
    float: none;
  }
  #navbar-it {
    border-top: 1px solid #fff;
  }
}
.message-site {
  position: relative;
  clear: both;
  width: 90%;
  text-align: justify;
  direction: rtl;
  margin: 0 auto 5px;
  padding: 10px;
  font-family: "IRANSans-Light";
  line-height: 25px;
  background: transparent url("images/gd-mb.png") no-repeat scroll left bottom;
}
.mess-s-r {
  background-color: rgba(195, 41, 41, 0.39);
  border: 1px solid #7E0000;
}
.mess-s-r span {
  border-left: 1px solid #C02525;
}
.mess-s-g {
  background-color: rgba(41, 195, 92, 0.4);
  border: 1px solid #049B00;
}
.mess-s-g span {
  border-left: 1px solid #25C027;;
}
.mess-s-b {
  background-color: rgba(41, 152, 195, 0.4);
  border: 1px solid #006C7E;
}
.mess-s-b span {
  border-left: 1px solid #25A5C0;
}
.mess-s-p {
    background-color: rgba(204, 55, 181, 0.4);
    border: 1px solid #AB00BD;
}
.mess-s-p span {
    border-left: 1px solid #C3159C;
}
.mess-s-o {
    background-color: rgba(231, 151, 48, 0.4);
    border: 1px solid #BC5D00;
}
.mess-s-o span {
    border-left: 1px solid #DD6704;
}
.message-site span {
  float: right;
  padding-left: 7px;
  font-family: "IRANSans";
  cursor: default;
}
.message-site strong {
  padding-right: 15px;
}
.close-messa {
  background: url("images/close.png") no-repeat;
  height: 16px;
  width: 16px;
  float: left;
  position: absolute;
  top: -6px;
  left: -5px;
  cursor: pointer;
  border-radius: 100%;
  -moz-border-radius: 100%;
  -webkit-border-radius: 100%;
}
#content-1 {
  position: relative;
  width: 90%;
  direction: rtl;
  margin: 50px auto 0;
  text-align: center;
  line-height: 40px;
}
#content-1 p:first-of-type {
  font-family: "IRANSans-bold";
  font-weight: 700;
}
#content-1 p:last-of-type {
  font-family: "IRANSans-Light";
}
#content-1 ul {
  font-family: "IRANSans-Light";
}
footer {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.19);
  clear: both;
  margin-top: 20px;
  font-family: "IRANSans";
  position: relative;
  line-height: 30px;
  text-align: center;
}
#iran-fl {
  background: url("images/iran.png") no-repeat;
  width: 120px;
  height: 120px;
  position: absolute;
  top: 0px;
  left: 0px;
}
#monas {
  background: url("images/hazrat-fatemeh.png") no-repeat;
  width: 240px;
  height: 120px;
  position: absolute;
  top: 8px;
  left: 12px;
  background-size: 80%;
}
#slide {
  width: 90%;
  position: relative;
  margin: -10px auto 5px;
  display: block;
  clear: both;
  text-align: center;
}
#slide img {
  height: auto;
  width: 100%;
}