@font-face {
	font-family: 'iransans';
	src: url('/font/iransans-webfont.ttf');
}
 html,body {
    margin:0;
    padding:0;
    direction:rtl;
    font-family: 'iransans';
}

body {
  margin: 0 8%;
}

*, ::after, ::before {
  box-sizing: border-box;
}

a:link, a, a:visited {
color: var(--color7);
}


:root {
--color1: #000000;
--color2: #202020;
--color3: #282828;
--color4: #404040;
--color5: #606060;
--color6: #707070;
--color7: #808080;
--color8: #909090;
--color9: #A0A0A0;
--color10: #B0B0B0;
--color11: #C0C0C0;
--color12: #D0D0D0;
--color13: #E0E0E0;
--color14: #F0F0F0;
--color15: #F9F9F9;
--color16: #FFFFFF;
}


:root {
  --opacity1: #00000025;
  --opacity2: #00000050;
  --opacity3: #00000075;
  --opacity4: #00000090;
  --opacity5: #00000095;
}

:root {
--origin10: #ea1212;
  --origin15: #c11313

}



h1 {
font-size: 1.8em;
  line-height: 1.1;
}

h2 {
font-size: 1.4em;
  line-height: 1.2;
}

h3 {
font-size: 1.3em;
  line-height: 1.6;
}

h4 {
font-size: 1.2em;
  line-height: 1.1;
}


h5 {
font-size: 1.1em;
  line-height: 1.1;
}


h6 {
font-size: 1em;
  line-height: 1.1;
}

figure {
  margin: 0;
  padding: 0;
  line-height: 0;
}


.small {
font-size: .8em;
}

.medium {
font-size: .9em;
}


.wrapper {
display: flex;
  flex-wrap: wrap;
  margin-top: 3%;
  justify-content: space-between;
}




.content-titr {
border-right: 3px solid var(--origin10);
padding-right: 15px;
  margin-top: 5%;
  margin-right: 15px;
}

.primary-titr {
  border-bottom: 3px solid var(--origin10);
  width: 200px;
  text-align: center;
  margin: 4% auto 0 auto;
  padding-bottom: 1%;
}


ul{
    list-style-type: none;
}


header {
display: flex;
align-items: center;
border-bottom: 1px solid var(--color13);
padding: .9% 2%;
}

.menu {
display: none;
}

.logo-place {
flex: 1;
}

.menu-place {
flex: 4;
justify-content: center;
display: flex;
margin-bottom: -54px;
}

.date {

color: var(--color5);
  font-family: tahoma;
  text-align: center;
  margin: 10px 0;
}
.socialplace
{
  text-align: center;
}


.dropdown ul li {
border-left: 1px solid var(--color13);
line-height: 1.4em;
min-width: 90px;
  text-align: center;
font-weight: normal;
}

.dropdown ul a:link, .dropdown ul a:visited {
color: var(--color5);
}



.first-item article {
  position: relative;
  text-align: center;
  flex: 1;
}

.first-item article:nth-child(2) {
margin-right: 1%;
}

.first-item img {
  width: 100%;
  object-fit: cover;
  height: 350px;
}

.first-item article h2 {
  position: absolute;
  bottom: 0;
  background-color: var(--opacity5);
  width: 100%;
  margin: 0;
  padding: 1%;
  z-index: 1;
  height: 70px;
}

.first-item article::after {
  content: '';
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: var(--opacity5);
  transition: .4s ease-in-out;
}
.first-item article:hover::after {
  background-color: unset;
}

.first-item article h2 a {
  color: var(--color16);
}

.second-item h2, .first-item h2, .fourth-item h2 {
  font-size: 1.1em;
  font-weight: normal;
  text-align: center;
}


.second-item article {
  border: 1px solid var(--color13);
}

.article-image figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.wrapper article figure img:hover {
  opacity: .8;
}


.second-item h2 a {
  color: var(--color5);
}

.second-item article {
flex: 1;
}

.second-item article {
margin-right: 1%;
}

.second-item article:nth-child(1) {
margin-right: unset;
}


.third-item {
  flex: 3;
  margin-left: .9%;
  margin-top: 0;
  border: 1px solid var(--color13);
}

.third-item .col-4 {
  background-color: var(--color14);
  height: 230px;
  width: 100%;
  display: flex;
  margin: 1%;
}

.third-item div {
  padding: 2%;
}

.third-item figure img {
  width: 340px;
  height: 210px;
  object-fit: cover;
  margin: 3%;
  border: 1px solid var(--color13);
  padding: 1.5%;
  border-radius: 5px;
  background-color: var(--color16);
}

.third-item h3 {
  text-align: right;
}

.third-item h3 a {
  color: var(--color4);
}

.third-item div p {
  color: var(--color5);
}


.search {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5%;
  border: 1px solid var(--color12);
  background-color: var(--color14);
}

.sidebar {
  flex: 1;
  border: 1px solid var(--color13);
  padding: 1%;
}


#txtsearch {
  outline: none;
  border: none;
  width: 100%;
  background-color: var(--color14);
  height: 45px;
  padding: 3%;
}

aside .search i {
  margin: auto;
  color: var(--color7);
}


.poll-section h3 {
margin-bottom: 3%;
}




.sidebar section {
  margin-top: 10%;
}

.aside-first-item ul, .aside-second-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

aside.sidebar ul li {
  border-bottom: 1px solid var(--color13);
  padding: 4% 0;
  line-height: 1.1;
}

.icon-faq::before {
  content: '\f0e6';
  font-size: 1.1em;
  padding-left: 15px;
  color: var(--color9);
}


form[id^="form"] div.poll-container fieldset li input[type="email"], form[id^="form"] div.poll-container fieldset li input[type="text"], form[id^="form"] div.poll-container fieldset li textarea {
  background-color: unset;
}

html:lang(fa) form[id^="form"] div.poll-container input[type="text"] {
  background-color: unset;
}


form[id^="form"] fieldset li {
align-items: center;
  border-radius: 5px;
  margin: .5% 0;
}


.icon-clock::before {
  content: '\e856';
  padding-left: 5%;
}


form[id^="form"] {
  text-align: center;
border-radius: 4px;
}




form[id^="form"] fieldset {
  background-color: unset;
}

aside section ul li:last-child {
  border-bottom: none;
}


.fourth-item article {
  position: relative;
  flex: 1;
  margin-right: 1%;
}

.fourth-item article:nth-child(1) {
margin-right: unset;
}

.fourth-item article h2 {
  position: absolute;
  bottom: 0;
  background-color: var(--opacity5);
  color: var(--color1);
  width: 100%;
  padding: 2%;
  text-align: center;
  height: 75px;
  margin: auto;
}

.fourth-item article h2 a {
  color: var(--color16);
}


.content {
  flex: 3;
}

.top-content {
  margin: 0 1%;
  display: flex;
  background-color: var(--color14);
  padding: 1%;
  border-radius: 2px;
}

.top-content section {
  color: var(--color11);
  flex: 1;
}

.top-content section:nth-child(2) {
  text-align: left;
}

.top-content section a {
  padding: 0 1.5%;
  border-left: 1px solid var(--color12);
}

.top-content section a:last-child {
border-left: unset;
}

.content h1 {
  color: var(--color6);
  line-height: 1.3;
}

.master-container-content {
  text-align: justify;
  margin: 2%;
}

.master-container-content h4 {
  padding: 2%;
  border-radius: 10px;
  background: var(--color14);
  font-weight: normal;
}

.index-pic img {
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  display: block;
  border-radius: 5px;
  padding: 3%;
  width: 80%;
}

.content-body {
  line-height: 2.5;
}

.content-body h2 {
  margin-top: 5%;
}

.content-body a:visited, .content-body a:link {
  color: var(--origin10);
}

.content-body img {
  border-radius: 20px;
  border: 2px solid #e3e0e0;
  padding: 4px;
  max-width: 65%;
  transition: .5s ease-out;
  display: block;
  margin: 2% auto;
}

.tag-place {
  display: flex;
  margin: 3% 0;
}

.tag-place span {
  background-color: var(--origin10);
  padding: 1%;
}

.tag-place span:nth-child(2) {
  background-color: var(--color13);
  margin: 0 .5%;
}

.tag-place a {
  background-color: var(--color13);
  margin: 0 .5%;
  color: var(--color1);
padding: 1%;
}




.archive article {
  justify-content: unset;
  border: 1px solid var(--color14);
  padding: .4%;
  align-items: center;
  background: var(--color15);
  flex-wrap: nowrap;
  margin: 1% 0;
}

.archive article:hover {
  background-color: var(--color14);
}


.archive article figure img {
  width: 100px;
  height: 60px;
  object-fit: cover;
}

.archive article h6 {
  background: unset;
  margin: 0;
  line-height: 1.2;
  padding: 2%;
  font-weight: normal;
}

.archive article h6 a:link, .archive article h6 a:visited {
  color: var(--color7);
}


i{
  cursor: pointer;
}


 a:link ,a , a:visited{
    text-decoration: none;
}

.menu i {
        display: none;
    
}



textarea {
    border: 1px solid #dfddde;
    border-radius: 0;
    width: 90%;
    padding: 2%;
    margin: 2%;
    text-indent: 0;
}





button {
    cursor: pointer;
    text-align: center;
    transition: all 0.5s ease-in-out;
    padding: 2%;
    font-weight: bold;
}

form[id^="form"] .poll-container fieldset li i {
  color: var(--color9);
}


.question {
min-height: 120px;
padding: 1%;
border-radius: 5px;
border: solid 1px var(--color13);
}



div.poll-reply .comment {
  padding: 1% 1%;
  color: var(--color5);
}

.bubbles ul, .question ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8em;
  display: flex;
  color: var(--color5);
align-items: center;
}

.bubbles > div li, .question > div li {
 padding: 1%;
}

.bubbles ul li:nth-child(2), .question > div li:nth-child(2) {
  padding-top: 20px;
  color: var(--color10);
}


.bubbles {
    width: 95%;
  position: relative;
  min-height: 120px;
  padding: 1%;
  border-radius: 5px;
border: var(--color12) solid 1px;
  margin-top: 17px;
  float:left
}

.bubbles::before {
  content: '';
  position: absolute;
  border-style: solid;
  border-width: 0 15px 15px;
  border-color:var(--color12) transparent;
  display: block;
  width: 0;
  z-index: 0;
  top: -15px;
  right: 20px;
}
.bubbles::after {
  content: '';
  position: absolute;
  border-style: solid;
  border-width: 0 15px 15px;
  border-color: #FFFFFF transparent;
  display: block;
  width: 0;
  z-index: 1;
  top: -14px;
  right: 20px;
}

.icon-profile::before {
  color: var(--color12);
}


.up {
  cursor: pointer;
  position: fixed;
  bottom: 33px;
  left: 20px;
  z-index: 9999;
  border-radius: 50px;
  width: 50px;
  height: 50px;
  transition: .3s ease-out;
  right: unset;
  border: 1px solid var(--color12);
  
}


.up i {
    transition: .3s ease-out;
    margin: 13px 15px 0 0px;
    position: absolute;
  font-size: .6em;
}




form[id^="form"] div.poll-container input[type=button] {
    font-family: 'iransans';
  background-color: var(--origin10);
}


form[id^="form"] li, form[id^="form"] ul {
    padding: 0;
}
form[id^="form"] fieldset li input, input[type="text"], form[id^="form"] fieldset li textarea{
    border: unset;
    border-radius: unset;
}

aside.sidebar ul li {
  border-bottom: 1px solid var(--color13);
  padding: 4% 0;
  line-height: 1.1;
}

aside.sidebar ul li:hover {
  background-color: var(--color14);
}

form[id^="form"] fieldset input:focus ,form[id^="form"] fieldset input:peachholder{
  border: unset;
}
form[id^="form"] fieldset li input[type="email"]:focus,
form[id^="form"] fieldset li input[type="text"]:focus, 
form[id^="form"] fieldset li textarea:focus {
    outline: none;
  border:unset;
}


form[id^="form"] .poll-container fieldset li:last-child {
width: 100% !important;
}






.message {
    font-size: 1em;
    width: 99.7%;
    border: 2px solid #789d64;
    display: none;
    margin-top: 40px;
    float: right;
}
.message > div {
    text-align: center;
    width: 85%;
    padding: 25px;
}
form[id^="form"] input[type="email"]{
	text-align: right;
}


#txtsearch {
    background-color: transparent;
    padding: 0px;
    margin-top: 0px;
    border: 0px;
    height: 30px;
    float: left;
    text-align: left;
   
    font-size: 0.9em;
    padding: 2px 0px 0px 5px;
    text-align:right;
    font-family: 'iransans';
}



.poll form[id^="form"] fieldset li {
    width: 100%;
  text-align: right;
  border-radius: unset;
}


.poll form[id^="form"] input[type="button"], input[type="reset"], form[id^="form"] button {
  font-size:unset;
  background-color: var(--origin10);
}
.poll form[id^="form"] input[type="button"]:hover, input[type="reset"], form[id^="form"] button:hover {

  background-color: var(--origin15);
}

.poll form[id^="form"] p{
    font-weight:bold
}



footer {
  display: flex;
  justify-content: space-between;
  margin: 3% 0;
  border-top: 1px solid var(--color13);
}

footer section {
  margin-top: 4%;
  flex: 1;
}

footer h3 {
  text-align: center;
  color: var(--color5);
}

footer ul {
  list-style: none;
  margin: 5px;
}

footer ul li {
  padding: 3% 0;
  line-height: 1.2;
}

footer ul li a {
  color: var(--color7);
}


footer ul li::before {
    content: '\e801';
    color: var(--color3);
    font-family: 'webfont';
    padding-left: 5px;
}

.footer-logo-item {
  text-align: center;
}

.footer-logo-item div {
  padding: 4%;
}

.footer-logo-item div:nth-child(3) {
  color: var(--color7);
  font-size: 0.9em;
}

.footer-logo-item div i {
  color: var(--color7);
}




.tag-place a{
   background: var(--color13);
color: var(--color1);
padding: 1%;
margin: 0 .5%;
  }






form[id^="form"] fieldset li input[type="password"],
form[id^="form"] fieldset li input {
    color: var(--color8);
}


@media (max-width: 1360px) {


  body {
  margin: 0 3%;
  }





}





/* Under 1024px	*/
@media (max-width: 1024px) {
  
  body {
  margin: 0 1%;
  }
  
  .master-container-content h4 {
  font-weight: normal;
  }
  
  
  
  .archive article {
  flex-wrap: unset;
  }
  
 

 
  
  .third-item {
  flex: unset;
    margin-left: unset;
  }
  
  .sidebar {
    flex: unset;
    width: 100%;
margin-top: 3%;
  }
  

}





/* Under 800px	*/
@media (max-width: 820px) {
  
  
  .second-item article , .fourth-item article {
  flex: unset;
    width: 49%;
margin-top: 1%;
    margin-right: unset;
}
  
  
  
  .menu {
  display: inline;
}
  
  
   .menu-place {
display: none;
right: -450px;
    position: absolute;
top: 80px;
  }
 .dropdown ul li {
  border-left: unset;
  text-align: right;
    width: 100%;
}
  
  .dropdown ul {
  width: 100%;
}
  
  .dropdown {
  width: 100%;
  }
  
  .menu i {
  display: block;
}
  




  
  .icon-menu-1 {
  color: var(--origin10);
  }
  
  
    .master-container-content h4 {
line-height: 1.7em;
  }
  
  
  
  .content h1 {

    margin: 5%;
    font-size: 1.6em;
}

  

  
 
  
  .third-item .col-4 {
  align-items: center;
  }
 
  
  footer section:nth-child(2) {
  flex: 3;
  }


}




/* Under 640px	*/
@media (max-width: 620px) {
  

  
  .content h1 {
  line-height: 1.6em;
  }
  

  
  
  .master-container-content h4 {
  padding: 4%;
line-height: 1.7em;
  }
  
  
  
  .third-item .col-4 {
  height: auto;
    flex-wrap: wrap;
justify-content: center;
  }

  
  .archive article {
  flex-wrap: nowrap;
  }
  
  
  .first-item article {
  width: 100%;
    flex: unset;
  }
  
  .first-item article:nth-child(2) {
  margin-right: unset;
  margin-top: 1%;
}
  
  .third-item div {
  font-size: .9em;
    margin-right: 2%;
  }
  
 
  
  
  footer {
  flex-wrap: wrap;
  }
  
  footer section , footer section:nth-child(2) {
  flex: unset;
  }
  

}


/* Under 550px	*/
@media (max-width: 500px) {
  
  .third-item figure img {
  margin: 3% auto 3% auto;
  }
  

  .menu {
  flex: 1;
  }
  
  .logo-place {
  flex: 2;
  }
  
  .date {
 
text-align: center;
    font-size: .65em;
  }
  

      .top-content {
  font-size: .6em;
  align-items: center;
  }
  
  
  
  
   
  .content-body {
  padding: 3%;
  }
  

  
  
  .second-item article, .fourth-item article {
  width: 100%;
  }
  
  .third-item .col-4 {
  display: flex;
flex-wrap: wrap;
    height: unset;
  }
  
  .third-item .col-4 {
  justify-content: center;
  }
  
  .third-item div {
  text-align: justify;
  }

  
  .logo-place img {
    width: 140px;
  }
  
  .date {
  font-size: .62em;
  }
  
}


  

