@font-face {
  font-family: 'iran';
  src: url('fonts/iran.ttf');
  font-weight: normal;
  font-style: normal
}

@font-face {
  font-family: 'yekan';
  src: url('fonts/Yekan.eot');
  src: url('fonts/Yekan.eot#iefix') format('embedded-opentype'),
    url('fonts/Yekan.woff') format('woff'), url('fonts/Yekan.ttf') format('truetype'), url('fonts/Yekan.svg#CartoGothicStdBook') format('svg');
  font-weight: normal;
  font-style: normal;
}

html {
  direction: rtl !important;
}

a,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: inherit;
  text-decoration: none;
  font-size: inherit
}
a:hover{
  color: inherit;
  text-decoration: none
}
.row {
  margin-right: 0;
  margin-left: 0;
  align-items: flex-start;
}

body {
  background-color: whitesmoke;
  text-align: right;
  font-family: iran;
  padding-top: 75px;
  font-size: 15px;
  font-weight: normal;
  line-height: normal;
  color: #333;
}

.container {
  padding-right: 10px;
  padding-left: 10px;
}

* {
  text-decoration: none;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.padd0 {
  padding-left: 0;
  padding-right: 0;
}

.padd5 {
  padding-left: 5px;
  padding-right: 5px;
}

.mbot5 {
  margin-bottom: 5px
}

.mbot10 {
  margin-bottom: 10px;
}

.mbot15 {
  margin-bottom: 15px
}
.mbot20 {
  margin-bottom: 20px
}

.relative {
  position: relative;
}

/*#header {*/
  /*background-color: white;*/
  /*height: 65px;*/
  /*border-bottom: 1px solid #dadada;*/
  /*position: fixed;*/
  /*padding: 12px;*/
  /*width: 100%;*/
  /*top: 0;*/
  /*z-index: 10;*/
/*}*/

#header .logo {
  position: absolute;
  height: 48px;
  top: -4px;
  right: 0;
}

.error {
	position: fixed;
	right: 20%;
	left: 20%;
	top: 40%;
	padding: 15px 8px;
	text-align: center;
	background: rgba(250, 50, 50, 0.95);
	border-radius: 6px;
	border: 1px solid rgba(50, 50, 50, 0.5);
	color: white;
	text-shadow: 0 0 1px white;
	box-shadow: 0 0 10px rgba(50, 50, 50, 0.5);
	display: none;
  z-index: 11100;
  background-image: url('../img/rbck.png')
}
.success {
	position: fixed;
	right: 20%;
	left: 20%;
	top: 40%;
	padding: 15px 8px;
	text-align: center;
	background: rgba(14, 172, 14, 0.95);
	border-radius: 6px;
	border: 1px solid rgba(50, 50, 50, 0.5);
	color: white;
	text-shadow: 0 0 1px black;
	box-shadow: 0 0 10px rgba(50, 50, 50, 0.5);
	display: none;
	z-index: 11100;
  background-image: url('../img/rbck.png')
}
header{
  height: 60px;
  position: fixed;
  width: 100%;
  top: 0;
  background-color: white;
  border-bottom: 1px solid #c0c0c0;
  z-index: 10;
}
header .logo{
  height: 58px;
  margin-right: 20px;
  float: right;
}
/*header nav ul{*/
  /*float: right;*/
  /*margin: 0;*/
  /*margin-top: 14px*/
/*}*/
/*header nav li{*/
  /*display: inline-block;*/
  /*margin-right: 15px*/
/*}*/
.stack{
  background-color: white;
  position: relative;
  border: 1px solid #ffdbbc;
}
.stack .thumbnail{
  height: 250px;
  background-position: center;
  background-size: cover
}
.stack .caption{
  position: absolute;
  bottom: 0;
  background-color: #f060a5e6;
  width: 100%;
  padding: 5px 10px 0 5px;
  color: white;
  font-size: .9em;
}
.swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
  bottom: 0 !important;
}
.pagination>li>a, .pagination>li>span {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #FFC107;
  text-decoration: none;
  background-color: #19598e;
  border: 1px solid #ddd;
  font-family: iransansweb;
}
footer{
 background-color: #363636;
 padding: 15px 5px
}
.box{
  background-color: white;
  border-radius: 4px;
  border: 1px solid #fbe4ef;
  margin-bottom: 20px
}
.box .title{
  border-bottom: 1px solid #eba1c3
}
.box .title span{
  padding: 5px 10px;
  border-bottom: 3px solid #f05fa2;
  display: inline-block;
}
.box .content{
  padding:10px 5px;
  
}
.box .content ul{
  margin: 0;
  padding: 0
}
.box .content li{
  margin: 0;
  padding: 0;
  list-style-type: none;
  padding: 5px 0;
  border-bottom: 1px solid rgb(238, 238, 238);
}
.box .content li .thumbnail{
  width: 65px;
  height: 45px;
  float: right;
  background-size: cover;
  border:2px solid #f39ac4
}
.box .content li .caption{
  font-size: 0.8em;
    padding-top: 10px;
    margin-right: 70px;
    color: #666
}
footer li{
  color: #eee;
  font-size: .8em;
  list-style-type: none;
  margin-bottom: 5px;
  padding: 2px 0
}

footer .title{
  color: white;
    font-size: .9em;
    list-style-type: none;
    border-bottom: 1px solid #999;
    margin-bottom: 15px;
}
footer .title span{
  display: inline-block;
    padding: 4px 8px;
    border-bottom: 3px solid #999;
}
footer .social img{
  width: 50px;
  cursor: pointer;
  margin: 5px
}

footer .social {
  color: white;
  font-size: .8em
}
footer .subscribe{
  font-size: .7em;
  color: white;
}
footer .subscribe input{
  width: 90%;
  margin: 30px auto 20px;
  font-size: 1em;
}
footer .subscribe button{
  padding: 5px 30px;
  margin: auto;
  display: block
}
.port{
  background-color: white;
  border: 1px solid #dedcdc;
  padding: 5px;
  margin-bottom: 10px;
  position: relative;
}
.port .thumbnail{
  width: 160px;
  height: 110px;
  float: right;
  background-position: center;
  background-size: cover;
  border: 1px solid #e2e0e0;
  margin-left: 10px;
}
.port .caption{
  font-size: .9em;
  margin-top:10px;
}
.port .sum{
  font-size: .7em;
  margin-top: 7px;
  text-align: justify;
  padding-left: 5px;
  color: #666;
}
.port .date{
  position: absolute;
  right: 8px;
  top: 9px;
  font-size: .62em;
  padding: 1px 3px 0;
  background-color: #ffffffde;
  border-radius: 3px;
}
.port .grp{
  position: absolute;
  right: 9px;
  top: 95px;
  font-size: .62em;
  padding: 1px 3px 0;
  background-color: #ffffffde;
  border-radius: 3px;
}
#go-top{
  position: fixed;
  bottom: 9px;
  right: 16px;
  background-color: #f05fa2;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 2px #000000a6;
  text-align: center;
  font-size: 1.7em;
  cursor: pointer;
}
.paw{
  background-color: white;
    height: max-content;
    padding: 5px;
    font-size: .9em;
    border-radius: 3px;
    color: #444;
    border: 1px solid #e2e2e2;
    margin-bottom: 10px
}
.post .text{
  padding: 0 12px
}
.post .time{
    text-align: left;
    font-size: .85em;
    color: #666;
}


#nav {
  position: fixed;
  width: 100%;
  right: 0;
  left: 0;
  top: 0;
  height: 50px;
  z-index: 100;
  background-color: #f5f5f5;
  text-align: right;
  font-family: iran
}

/*#nav .logo {*/
  /*position: fixed;*/
  /*height: 90px;*/
  /*width: 90px;*/
  /*background-color: #fff;*/
  /*top: 2px;*/
  /*left: 4px;*/
  /*border-radius: 50%;*/
/*}*/

/*#nav .logo img {*/
  /*height: 70px;*/
  /*width: 70px;*/
/*}*/
.menubtn{
  font-size: 2.5em;
  position: relative;
  top: 6px;
  right: 8px;
}
.menu {
  display: inline-block;
  transition: all 0.3s ease;
  z-index: 1000;
  text-align: right;
  margin-right: 30px;
}

.menu ul {
  padding: 0px;
  margin: 0px;
  list-style: none;
  position: relative;
  display: inline-table;
  z-index: 1000;
}

.menu>li>ul.sub-menu {
  min-width: 10em;
  padding: 4px 0;
  z-index: 1000;
}

.menu ul li {
  padding: 0px;
  position: relative;
}

.menu>ul>li {
  display: inline-block;
  margin: 0 5px;
  font-size: .9em;
  padding: 8px 0 12px;
}

.menu>ul>li>a>i {
  margin-right: 7px;
  position: relative !important;
  font-size: .9em
}

.menu>ul>li:HOVER>a {
  color: #000a0f
}

.menu ul li a {
  display: block;
  text-decoration: none;
  color: #01263bd0
}

.menu ul li>a {
  height: 29px;
  padding: 6px;
}

.menu ul li a i {
  position: absolute;
  left: 2px;
  top: 3px;
}

.menu ul ul {
  display: none;
  position: absolute;
  top: 100%;
  min-width: 160px;
  z-index: 1000;
  background-color: #f5f5f5;
  box-shadow: 0 2px 1px #00000078
}

.menu ul li:hover>ul {
  display: block;
}

.menu ul ul>li {
  position: relative;
}

.menu ul ul>li a {
  padding: 10px 12px 6px 6px;
  height: auto;
  color: #333;
  font-size: .9em
}

.menu ul ul>li a:hover {
  background-color: #f5f5f5;
  color: rgb(255, 93, 170);
}

.menu ul ul>li i {
  top: 14px;
  left: 5px;
}
.menu ul ul ul {
  position: absolute;
  right: 100%;
  top: 0;
  z-index: 1000;
}


#rightmenu {
  position: fixed;
  width: 300px;
  right: -350px;
  height: 100%;
  top: 0;
  background-color: white;
  z-index: 101;
  border-left: 1px solid #e6e4e4;
  box-shadow: 0 0 2px #f5f5f5;
  max-width: 70%;
  display: none;
  transition: .3s
}
#rightmenu .inner {
  width: 100%;
  height: calc(100% - 36px);
  position: relative;
  top: 36px;
  overflow-y: scroll;
}
#rightmenu.open {
  right: 0 !important;
}
#rightmenu .mclose {
  font-size: 1.8em;
  position: absolute;
  left: 7px;
  top: 10px;
  color: #303030;
  cursor: pointer;
}


.sidemenu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidemenu li {
  position: relative;
}

.sidemenu li a {
  padding: 5px 5px 5px 5px;
  display: block;
  color: #616161;
  border-bottom: 1px solid #e8e8e8;
  transition: all 0.3s ease;
  text-decoration: none
}

.sidemenu li a:hover {
  background: rgb(245, 245, 245);
  padding: 5px 11px 5px 5px;
}

.sidemenu li a i {
  margin-left: 5px
}

.sidemenu .current>a {
  background: rgb(245, 245, 245);
}

/* lvl2 */
.sidemenu ul,
.sidemenu ul ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: none
}

.sidemenu ul li a {
  padding: 2px 15px 2px 30px;
  border-bottom: 0px;
  font-size: .9em
}

.sidemenu ul li ul li a {
  padding: 2px 30px 2px 30px;
  border-bottom: 0px;
  font-size: .9em
}

.sidemenu ul li a:hover {
  padding: 2px 15px 2px 35px;
  border-bottom: 0px;
  border-right: 5px solid rgb(210, 210, 210);
}

.sidemenu ul li ul li a:hover {
  padding: 2px 30px 2px 35px;
  border-bottom: 0px;
  border-right: 5px solid rgb(210, 210, 210);
}

.ddBtn {
  padding: 5px 15px;
  position: absolute;
  left: 0;
  top: 0;
  color: rgb(104, 104, 104);
  cursor: pointer;
}

.ddBtn:after {
  content: "+";
}

.ddBtnActive {
  padding: 5px 15px 6px 15px;
}

.ddBtnActive:after {
  content: "-";
}

.ddBtn2 {
  padding: 5px 15px;
  position: absolute;
  left: 0;
  top: 0;
  color: rgb(104, 104, 104);
  cursor: pointer;
}

.ddBtn2:after {
  content: "+";
}

.ddBtn2Active {
  padding: 5px 15px 6px 15px;
}

.ddBtn2Active:after {
  content: "-";
}


.comment {
  background: #f0f0f0;
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 4px;
  overflow: hidden;
}
.children {
  border-right: 2px solid #32b9bc;
  margin-right: 56px;
}
.avatar {
  border-radius: 50%;
}
.comment-meta a {
  color: #18898c;
  font-size: 14px;
  text-decoration: none;
}


.left-head-comment, .right-head-comment{
  display: flex;
}
.head-comment{
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  width: 100%;
  font-size: 11px;
  background-color: #e8e9eb;
  border-radius: 2px 2px 0 0;
  height: 37px;
  line-height: 37px;
}.main-head-comment{
   display: flex;
   justify-content: space-between;
   margin: 20px 0;
   width: 100%;
   flex-direction: column;
 }
.index-quest{

}
.main-answer{
  width: 90%;
}
.comment{

  margin-bottom: 25px;
}
.title-answer{
  color: #0b87fe;

  padding: 10px;
}
.main-quest{
  box-shadow: 0 2px 3px rgba(0,0,0,.15);
}
.title-question img{
  width: 30px;
  height: 30px;
}
.title-question {
  display: flex;
  padding: 20px;
}
.title-question h4{

  padding:0 5px;
  font-size: 1rem;
}
.form{
  padding: 20px 0;
}
.all-comments{
  background: #fff;
  margin: 20px 0;
  box-shadow: 0 0 6px 0 rgba(0,0,0,.09);
}
.header-question {
  display: flex;
  color: #434343;
  padding: 15px 5px 0 0;
}
.box-comment {
  max-width: calc(100% - 20px);
  width: calc(100% - 20px);
  max-width: 760px;
  height: 150px;
  max-height: 150px;
  outline: none;
  padding: 5px;
  margin: 10px;
  border-radius: 3px;
}
.submit-button a {
  padding: 5px 10px;
  background-color: #0b87fe;
  color: white;
  float: left;
  margin: 10px 20px;
  border-radius: 5px;
  box-shadow: 1px 1px 1px grey;
}
.text-quest {
  color: #555;

  padding: 17px 15px 23px;
  font-size: 12.7px;
  line-height: 25px;
}
.text-answer {
  color: #555;
  padding: 17px 15px 23px;
  font-size: 12.7px;
  line-height: 25px;
}
.right-head-comment img{
  width: 30px;
  height: 30px;
  margin: 3px 0 0 2px;
  padding: 2px;
}
.text-answer p{
  padding: 0 10px 10px 10px;
  color: #434343;
}
.header-question img {
  width: 20px;
  height: 20px;
  margin: 5px 0;
  padding: 6px;
}
.form .label, .form .checkbox-input + label, .form .option-input + label, .form .text-input, .form .textarea, .form .select, .customSelect, .form .message, .form .button {
  padding: 0.5rem 0.9rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  line-height: normal;
  border-radius: 0;
  border: none;
  background: none;
  display: block;
}
.form .field {
  width: 100%;
  margin: 0 0 1.5em 0;
}
@media screen and (min-width: 40em) {
  .form .field.half {
    width: calc(50% - 1px);
  }
}

.form .label {
  font-weight: bold;
  color: #434343;
  padding-top: 0;
  padding-left: 0;
  letter-spacing: 0.025em;
  font-size: 1rem;
  line-height: 1.25;
  position: relative;
  z-index: 100;
}
.required .form .label:after, .form .required .label:after {
  content: " *";
  color: #E8474C;
  font-weight: normal;
  font-size: 0.75em;
  vertical-align: top;
}

.form .checkbox-input + label, .form .option-input + label, .form .text-input, .form .textarea, .form .select, .customSelect {
  font: inherit;
  line-height: normal;
  width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  color: #535353;
  position: relative;
  font-size: 1rem;

  border: 1px solid gainsboro;
}
.form input{
  height: 40px;
}
.form .button {
  font: inherit;
  line-height: normal;
  cursor: pointer;
  background: #E8474C;
  color: white;
  font-weight: bold;
  width: auto;
  margin-left: auto;
  font-weight: bold;
  padding-left: 2em;
  padding-right: 2em;
}
.form .textarea {
  max-width: 100%;
}
.form .checkbox-input + label:placeholder, .form .option-input + label:placeholder, .form .text-input:placeholder, .form .textarea:placeholder, .form .select:placeholder, .customSelect:placeholder {
  color: white;
}
.form .checkbox-input + label:-webkit-autofill, .form .option-input + label:-webkit-autofill, .form .text-input:-webkit-autofill, .form .textarea:-webkit-autofill, .form .select:-webkit-autofill, .customSelect:-webkit-autofill {
  box-shadow: 0 0 0px 1000px #111111 inset;
  -webkit-text-fill-color: white;
  border-top-color: #111111;
  border-left-color: #111111;
  border-right-color: #111111;
}
.form .checkbox-input + label:not(:focus):not(:active).error, .form .option-input + label:not(:focus):not(:active).error, .form .text-input:not(:focus):not(:active).error, .form .textarea:not(:focus):not(:active).error, .form .select:not(:focus):not(:active).error, .customSelect:not(:focus):not(:active).error, .error .form .checkbox-input + label:not(:focus):not(:active), .form .error .checkbox-input + label:not(:focus):not(:active), .error .form .option-input + label:not(:focus):not(:active), .form .error .option-input + label:not(:focus):not(:active), .error .form .text-input:not(:focus):not(:active), .form .error .text-input:not(:focus):not(:active), .error .form .textarea:not(:focus):not(:active), .form .error .textarea:not(:focus):not(:active), .error .form .select:not(:focus):not(:active), .form .error .select:not(:focus):not(:active), .error .customSelect:not(:focus):not(:active) {
  background-size: 8px 8px;
  background-image: linear-gradient(135deg, rgba(232, 71, 76, 0.5), rgba(232, 71, 76, 0.5) 25%, transparent 25%, transparent 50%, rgba(232, 71, 76, 0.5) 50%, rgba(232, 71, 76, 0.5) 75%, transparent 75%, transparent);
  background-repeat: repeat;
}

@media all and (max-width: 991px){
  #rightmenu {
    display: inherit
  }
}












