*{
  box-sizing: border-box;
  font-family: IRANSans !important;
  /*font-family: iransans;*/
}
body { 
  margin: 0;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
#content{
	box-sizing: border-box;
	margin: 0px;
	padding: 0;
}
#screen{
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  z-index: 10
}
.modal {
  position: fixed;
  top: 50%;
  right: 0;
  bottom: 0;
  left: 50%;
  z-index: 1050;
  display: none;
  overflow: hidden;
  outline: 0;
  transform: translate(-50%, -50%);
  text-align: right;
  direction: rtl;
}
/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
.header {
  overflow: hidden;
  background-color: #d71920;
  padding: 15px;
  height: 80px;
  position: fixed;
  width: 100%;
  z-index: 1000;
  top: 0;
}
#menus-mobile{
    display: none;
    cursor: pointer;
    position: absolute;
}
#menu-mobile-section{
  /*display: none;*/
  right: 100%;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  position: fixed;
  margin: 0;
  padding: 3em 0;
  margin-top: 69px;
  z-index: 10000;
}
#menu-mobile-section h2{
  line-height: 2;
  text-align: center;
  font-size: 1.5em;
}
#menu-mobile-section h2 a{
  color: #fff;
  text-decoration: none;
}
.nav-item > a{
  color: #fff;
  font-size: 1.5em;
  font-weight: 800
}
.header a.logo {
  font-size: 25px;
  font-weight: bold;
}
#top-banner{
  width: 100%;
  margin-top: 0px;

}
#top-banner-mobile{
  display: none;
}
#slogan{
  /*position: absolute;*/
  text-align: center;
  width: 100%;
  padding-top: 2em
}
#slogan .gift, #slogan .slogan{
  position: relative;
  top: 60px;
  left: 0;
  right: 0;
  margin: 0 auto;
  display: block;
}
#slogan .gift{
  width: 38%;
}
#slogan .slogan{
  width: 26%;
  margin-top: -30px
}
#winners-list{
  text-align: center;
  margin-right: auto;
  margin-left: auto;
  /*! width: 50%; */
  display: flex;
  justify-content: center;
}
#winners-list ul{
  padding: 0
}
li.winner {
  background: #bcbec0;
  text-align: right;
  display: block;
  width: 100%;
  padding: 10px 25px;
  text-align: center;
  margin: 2em auto;
  border-radius: 50px;
  transition: 0.5s;
}
li.winner:hover{
  border: 1px solid #d71a21;
  transform: scale(1.1);
  box-shadow: 5px 5px 20px rgb(215 25 32);
}
li.winner span{
  font-size: 1.5em;
  color: #fff;
  /* width: calc(100% - 60px); */
  margin: auto 10px;
}
li.winner img{
  width: 60px;
}
#main-div{
  background-image: url('../img/gift-pattern.png');
  /*width: 100%;*/
  /*height: 100%;*/
  background-size: 600px;
  /*min-height: 500px;*/
  padding-top: 40px
}
#hashtag{
  position: absolute;
  right: 0px;
  text-align: center;
  /*! height: 70px; */
  right: 15px;
}
#hashtag img{
  width: 180px;
}
#menus{
  position: absolute;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
}
.m-item{
  display: inline;
  text-decoration: none;
}
.m-item a{
  color: #fff
}
#jiring{
  left: 2vw;
  position: absolute;
  /*! bottom: 5px; */
}
/*************************************************************/
#raws{
  background: #d71920;
  text-align: center;
  font-size: 2.5em;
  direction: rtl;
  margin-right: auto;
  margin-left: auto;
  width: 60%;
  padding: 5px 10px;
  border-radius: 40px;
  color: #fff;
}
/*#raws +*/ p.caption{
  text-align: right;
  /*font-size: 2.5em;*/
  direction: rtl;
  line-height: 2.5;
  margin-right: auto;
  margin-left: auto;
  width: 60%;
  /*padding: 5px 10px;*/
  /*! border-radius: 40px; */
  /*color: #fff;*/
  /*border: 1px solid gray;*/
  padding: 10px 2em;
  background-color: #f2e9ea;
  border-radius: 1em;
}
#raws img{
  width: 35px
}
#video{
  margin-right: auto;
  margin-left: auto;
  width: 60%;
  margin: 2em auto;
  margin-bottom: 0
}
#video video{
  width: 100%
}
#desc{
  margin-right: auto;
  margin-left: auto;
  width: 60%;
  direction: rtl;
  text-align: right;
  margin-top: 10px;
}
#desc p, #desc div{
  margin-bottom: 1em;
  height: auto;
  text-align: justify;
}
#desc > label{
  font-size: 1.2em;
  font-weight: 800
}
#desc > label:first-child{
  font-size: 1.5em;
}
#score{
  direction: rtl;
  background: #c6c6c6;
  text-align: right;
  margin: 0;
  padding:20px 0;
  margin-right: -15px;
  margin-left: -15px;
  position: relative;
}
#score > div{
  width: 60%;
  margin-left: auto;
  margin-right: 18%;
}
#score > div > p{
  text-align: center;
  font-size: 2em;
  width: calc(100% - 200px);
  display: inline-block;
  color: #706f6f
}
#score img{
  display: inline;
  width: 100px;
}
#question, #myscore{
  direction: rtl;
  text-align: right;
  margin: 0;
  padding:20px 0;
  margin-right: -15px;
  margin-left: -15px;
  position: relative;
}
.acc{
  border-bottom: 1px solid rgba(191, 191, 191, 0.8);
}
.score{
  border-bottom: 1px solid rgba(191, 191, 191, 0.8);
}
.acc:not(:first-child), .score:not(:first-child){
  margin: 10px auto;
}
.acc-q span, .score-q span{
  cursor: pointer;
  margin: auto 5px;
  font-size: 1.5em;
}
.acc-a, .score-a{
  display: none;
  line-height: 2.2;
  margin-top: 10px;
}
.score-a a {
    color: #d71a21;
    text-decoration: none;
    font-size: 18px;
}
#myscore{
  /*background: #c6c6c6;*/
  margin-top: 2em;
}
#question > div, #myscore > div{
  width: 60%;
  margin-left: auto;
  margin-right: 18%;
}
#question > div > p, #myscore > div > p{
  text-align: center;
  font-size: 2em;
  width: calc(100% - 200px);
  display: inline-block;
  color: #d61a20
}
#myscore > div > p{
  width: 100%
}
#myscore > div > div{
    display: flex;
    justify-content: center;
}
#question img, #myscore img{
  /*position: absolute;*/
  display: inline;
  margin-right: 0px;
  width: 100px;
  margin-bottom: 2em
}
 #myscore img{
  width: unset;
 }
#question > p, #myscore > p, #score p{
  width: 50%;
  margin-right: auto;
  margin-left: auto;
}
.score-q, .acc-q {
    font-size: 20px !important;
}
#question p span, #score p span, #myscore p span{
  font-size: 2em;
}
#question ul li, #myscore ul li{
  list-style: none;
}
#footer{
  background: #6d6e71;
  margin: 0;
  padding: 40px 10px;
  width: 100%;
  margin-bottom: -16px;
  position: absolute;
  /* bottom: 0; */
  left: 0;
  right: 0;
}
#footer > div{
  width: 70%;
  margin-left: 12%;
  margin-right: auto;
  padding: 0;
  direction: rtl;
  position: relative;
}
#footer div img{
  width: 50px;
  margin: 0;
  margin: 5px
}
#phone {
  position: absolute;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  color: #fff;
  margin: 15px 0;
}
#phone span{
  margin: auto 10px;
}
#top-message{
  text-align: center;
  color: red;
  font-size: 2.0em;
  margin-top: 2em;
  margin-bottom: 0em;
}
/*************************************************************/
#webAddress{
  color: #fff;
  margin: 10px auto;
  /*width: 100%;*/
  display: block;
  text-align: right;
  font-size: 1.5em;
  text-decoration: none;
  padding-right: 15px;
}
.phone{
  color: #fff;
  float: right;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.phone:first-child{
  right: 0;
}
.phone:nth-child(2){
  right: 150px;
}
#social{
  position: relative;
}
#social a:hover{
  transform: scale(1.2);
}

#return{
  text-align: center;
  margin: 30px auto;
}
#return a{
    background: #d61a20;
    border-radius: 40px;
    color: #fff;
    font-size: 0.5em;
    padding: 10px 30px;
    text-decoration: none;
}
@media only screen and (max-width: 1270px) {
  #main-div{
    padding-top: 20px
  }
  #raws{
    font-size: 1.6em
  }
  .nav-item > a{
    font-size: 1.2em;
  }
}
@media only screen and (max-width: 1024px) {
  #top-message{
    font-size: 3.5em
  }
  #winners-list{
    width: 100%
  }
  #winners-list ul{
    padding: 0
  }
  .winner span{
      font-size: 2em;
  }
  .winner img{
    width: 190px
  }
  .nav-item > a{
    font-size: 1em;
    font-weight: 600;
  }
}
#menus-mobile img{
  width: 70%
}
@media only screen and (max-width: 900px) {
  #hashtag img{
    width: 140px
  }
  .nav-link{
    padding: .5rem 0.5rem;
  }
  #raws{
    font-size: 1.3em
  }
  #score > div > p{
    width: calc(100% - 110px)
  }
  #phone{
    position: relative;
  }
  #social{
    text-align: center;
  }
  #top-message{
    font-size: 2.5em
  }
}
@media only screen and (max-width: 769px) {
  #webAddress{
    text-align: center;
  }
  #raws + p{
    width: 100%;
    margin-top: 0;
  }
  p.caption{
    width: 90%
  }
  .modal{
    width: 95%;
    padding: 29px 0;
  }
  .modal *{
    font-size: 14px;
  }
  #menus{
    display: none;
  }
  #menus-mobile{
    display: block;
  }
  #menus-mobile, #hashtag, #jiring{
    top: 50%;
    transform: translateY(-50%);
    /*width: 30%*/
  }
  .header{
    height: 70px
  }
  #jiring{
    display: none;
  }
  #slogan .gift{
    width: 60%
  }
  #slogan .slogan{
    width: 50%
  }
  #top-banner{
    display: none;
  }
  #top-banner-mobile{
    display: block;
    width: 100%;
    /*padding-top: 65px;*/
  }
  #raws{
    font-size: 1.5em
  }
  #raws img{
    width: 30px
  }
  #video, #raws, #desc, #score > div, #question > div, #footer > div{
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }
  li.winner{
    padding: 10px 20px;
    margin: 1.5em auto;
  }
  li.winner img{
    width: 60px
  }
  #score > div, #question > div{
    padding: 0 1em;
  }
  #phone{
    position: relative;
    font-size: 1.2em
  }
  #social{
    text-align: center;
  }
  #top-message{
    font-size: 1.8em;
    margin-top: 2em;
  }
  #return{
    margin: 20px auto;
    /*! width: max-content; */
  }
  #return a{
    font-size: 11px;
    padding: 10px 30px;
    width: 100px;
  }
  #myscore > div {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  li.winner img{
    width: 40px
  }
}
@media only screen and (max-width: 570px) {
  #hashtag img{
    width: 30%
  }
  #hashtag{
    text-align: right;
  }
  #jiring img{
    width: 70%;
  }
  #raws{
    font-size: 14px;
  }
  #score > div > p, #question > div > p{
    width: max-content
  }
  #phone{
    display: flex;
    width: 100%;
    text-align: center;
    position: relative;
    margin: 0;
    /*! margin: 10px auto; */
  }
   #footer #social{
    display: block;
    width: 100%;
    text-align: center;
    margin: 13px auto;
  }
  #top-message{
    font-size: 1.3em
  }
  li.winner{
    padding: 5px 20px;
    margin: 1em auto;
  }
  li.winner img{
    width: 60px
  }
}
@media only screen and (max-width: 470px) {
  #top-message{
    margin-top: 2.5em
  }
  #slogan .gift{
    width: 100%
  }
  #slogan .slogan{
    width: 60%
  }
  #score img, #question img{
    width: 80px
  }
  #phone{
    font-size: 1em
  }
  #score > div > p, #question > div > p{
    width: calc(100% - 90px);
    font-size: 1.5em;
  }
  li.winner span{
    font-size: 1.5em
  }
}

@media only screen and (max-width: 370px) {
  #top-message{
    margin-top: 3em
  }
  #raws img{
    width: 20px;
  }
  #score img, #question img{
    width: 60px
  }
  #score > div > p, #question > div > p{
    width: calc(100% - 80px);
    font-size: 1.2em;
  }
  li.winner{
    padding: 5px 20px;
  }
  li.winner span{
    font-size: 1em
  }
  #question > div, #myscore > div {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  #myscore > div > ul{
    padding-right: 10px;
  }
  li.winner img {
      width: 40px;
  }
  #top-message{
    font-size: 1em
  }
  #phone span{
    font-size: 14px
  }
  #footer div img{
    width: 35px
  }
}
.code{
  direction: ltr;
  font-size: 1em !important;
}
b.date{
  direction: rtl;
}
.code{
  color: #d71a21;
  cursor: pointer;
  transition: 0.5s;
  text-decoration: none;
  text-decoration-color: red;
}
.code:hover{
  text-decoration: none;
  transform: scale(1.2);
  color: tomato;
}