/*
Theme Name: yektacrowd
Theme URI: https://avnteam.ir
Author: AVN TEAM
Text Domain: aboutyektanet
Description: New theme for about yektanet
*/
@font-face {
  font-family: "iransansxv";
  src: url("fonts/IRANSansXV.woff") format("woff-variations"), /* will be the standard and works in Safari now */ url("fonts/IRANSansXV.woff") format("woff");
  /* for the other supporting browsers */
  font-weight: 100 1000;
  font-display: fallback;
}
@font-face {
  font-family: iransansx;
  src: url("fonts/IRANSansX-Regular.woff") format("woff");
}
@font-face {
  font-family: iransansx;
  src: url("fonts/IRANSansX-Bold.woff") format("woff");
  font-weight: 700;
}
img {
  max-width: 100%;
}
body {
  direction: rtl;
  font-family: iransansx, tahoma;
  -moz-font-feature-settings: "ss02";
  -webkit-font-feature-settings: "ss02";
  font-feature-settings: "ss02";
  background-color: #fff;
}
@supports (font-variation-settings: normal) {
  body {
    font-family: "iransansxv", tahoma;
  }
  .custom-input {
    font-family: "iransansxv", tahoma;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
h1,
h2,
h3,
h4 {
  font-weight: bold;
}
a {
  text-decoration: none;
}
ul,
li {
  list-style: none;
}
.admin-bar .header {
  margin-top: 32px;
}
.header {
  background: rgba(255, 255, 255, 0.904);
  box-shadow: 0px 8px 27.1px 0px rgba(228, 229, 241, 0.12);
  border-bottom: 4px solid #178E60;
  padding: 16px 0;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 999;
}
.header .register {
  margin-right: auto;
}
.header .register a {
  background-color: #25B499;
  color: #fff !important;
  border-radius: 5px;
}
.header .register a:hover {
  background-color: #178E60;
}
.header .navbar-brand {
  display: flex;
  align-items: center;
}
.header .navbar-brand img {
  max-width: 55%;
}
.header .navbar-brand .brandname {
  display: inline-block;
  margin-right: 5px;
  color: #fff;
  font-weight: 700;
  font-size: 24px;
}
.header .custom-navbar ul {
  display: flex;
}
.header .custom-navbar ul li a {
  padding: 15px;
  display: inline-block;
  color: #1f2937;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
}
.header .custom-navbar ul li a:hover {
  color: #25B499;
}
.header .custom-navbar ul .current_page_item a {
  font-weight: 900;
}
.header .custom-navbar ul .menu-item-has-children {
  position: relative;
}
.header .custom-navbar ul .menu-item-has-children::before {
  content: "\f107";
  font-family: "Font Awesome 6 Pro";
  font-weight: 600;
  color: #000;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.header .custom-navbar ul .menu-item-has-children > a {
  padding-left: 30px;
}
.header .custom-navbar ul .menu-item-has-children > a:hover {
  color: #fff;
}
.header .custom-navbar ul .menu-item-has-children .sub-menu {
  display: none;
  transition: all 0.2s;
  position: absolute;
  background-color: #fff;
  box-shadow: 0px 9px 31.5px 0px rgba(227, 232, 239, 0.171);
  min-width: 170px;
  border-radius: 4px;
}
.header .custom-navbar ul .menu-item-has-children .sub-menu li a {
  color: #FF963E;
  font-weight: 400;
  font-size: 14px;
  transition: all 0.2s;
  display: block;
  border-radius: 8px;
  margin: 8px;
}
.header .custom-navbar ul .menu-item-has-children .sub-menu li a:hover {
  font-weight: 700;
  background-color: #FF963E;
  color: #fff;
}
.header .custom-navbar ul .menu-item-has-children:hover > a {
  background-color: #25B499;
  border-radius: 8px;
}
.header .custom-navbar ul .menu-item-has-children:hover .sub-menu {
  display: block;
}
.header .custom-navbar ul .login-btn {
  margin-right: auto;
}
.header .custom-navbar ul .login-btn a {
  display: flex;
  align-items: center;
  background-color: #FF963E;
  color: #25B499;
  border-radius: 8px;
}
.header .custom-navbar ul .login-btn a img {
  margin-left: 5px;
}
.header.fixanimation {
  top: -150px;
  transition: all 0.2s;
}
.header.fixtop {
  background-color: #fbfbfb;
  box-shadow: 0px 4px 33.3px 0px rgba(218, 218, 218, 0.58);
  position: fixed;
  top: 0;
}
.header.fixtop .custom-navbar ul {
  display: flex;
}
.header.fixtop .custom-navbar ul li a {
  color: #25B499;
}
.header.fixtop .custom-navbar .menu-item-has-children {
  position: relative;
}
.header.fixtop .custom-navbar .menu-item-has-children::before {
  content: "\f107";
  font-family: "Font Awesome 6 Pro";
  font-weight: 600;
  color: #FF963E;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.header.fixtop .custom-navbar .menu-item-has-children > a {
  padding-left: 30px;
}
.header.fixtop .custom-navbar .menu-item-has-children .sub-menu {
  display: none;
  transition: all 0.2s;
  position: absolute;
  background-color: #fff;
  box-shadow: 0px 9px 31.5px 0px rgba(227, 232, 239, 0.171);
  min-width: 170px;
  border-radius: 4px;
}
.header.fixtop .custom-navbar .menu-item-has-children .sub-menu li a {
  color: #FF963E;
  font-weight: 400;
  font-size: 14px;
  transition: all 0.2s;
  display: block;
  border-radius: 8px;
  margin: 8px;
}
.header.fixtop .custom-navbar .menu-item-has-children .sub-menu li a:hover {
  font-weight: 700;
  background-color: #FF963E;
}
.header.fixtop .custom-navbar .menu-item-has-children:hover > a {
  background-color: #FF963E;
  border-radius: 8px;
}
.header.fixtop .custom-navbar .menu-item-has-children:hover .sub-menu {
  display: block;
}
main {
  margin-top: 87px;
}
.box {
  background-color: #fff;
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 30px;
}
.box .thumb {
  position: relative;
}
.box .thumb img {
  height: 0;
  width: 0;
  background-position: center;
  background-size: cover;
  padding: 56.25% 0 0 100%;
}
.box .av-meta {
  position: absolute;
  bottom: 15px;
  right: 15px;
  left: 15px;
  display: flex;
  justify-content: space-between;
  color: #fff;
}
.box .av-meta div {
  background-color: rgba(0, 0, 0, 0.501);
  padding: 3px 8px;
  border-radius: 8px;
}
.box .av-meta div a {
  color: #fff;
}
.box .av-meta div a:hover {
  color: #1ECEBC;
}
.box .content {
  flex-basis: calc(100% - 30% - 30px);
  padding: 30px;
}
.box .content .title-sec {
  margin-bottom: 15px;
}
.box .content .title-sec h2 {
  font-size: 18px;
  line-height: 1.8;
  font-weight: 900;
}
.box .content .title-sec h2 a {
  color: #1f2937;
  transition: all 0.2s;
}
.box .content .title-sec h2 a:hover {
  color: #178E60;
}
.box .content .desc-sec {
  font-size: 14px;
  line-height: 1.8;
}
.box .content .read-more {
  text-align: center;
  margin-top: 15px;
}
.box .content .read-more a {
  background-color: #25B499;
  color: #fff;
  display: block;
  padding: 10px ;
  line-height: normal;
  border-radius: 8px;
  transition: all 0.2s;
}
.box .content .read-more a:hover {
  background-color: #178E60;
}
.wraper {
  max-width: 50%;
  margin: 0 auto;
}
.wraper img {
  margin: 30px 0px 15px 0px;
}
.wraper .thumb img {
  margin: 0;
}
.wraper .desc-sec {
  line-height: 2 !important;
}
.wraper .desc-sec h1,
.wraper .desc-sec h2,
.wraper .desc-sec h3,
.wraper .desc-sec h4,
.wraper .desc-sec h5 {
  margin-top: 15px;
}
.wraper .desc-sec ul li {
  list-style: disc;
  margin: 10px 30px 10px 0px ;
}
.wraper .desc-sec ol li {
  list-style: persian;
  margin: 10px 30px 10px 0px ;
}
.single-item {
  margin-top: 30px;
}
.single-item table {
  border-collapse: collapse;
}
.single-item table tr:first-of-type td {
  text-align: center;
  background-color: #eee;
}
.single-item table tr:first-of-type td b {
  font-weight: bold;
}
.single-item table tr td {
  font-size: 12px;
  border: 1px solid #eee;
  padding: 10px;
  font-weight: normal;
  text-align: right;
}
.single-item table tr td b {
  font-weight: normal;
}
.commentsec {
  padding: 30px;
}
.commentsec label {
  display: block;
  margin-bottom: 5px;
}
.commentsec input,
.commentsec textarea {
  width: 100%;
  border: 1px solid #D7DDE4;
  height: 40px;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-family: inherit;
}
.commentsec input[type="checkbox"],
.commentsec textarea,
.commentsec input[type="submit"] {
  height: auto;
}
.commentsec input[type="checkbox"],
.commentsec input[type="submit"] {
  width: auto;
}
.commentsec .comment-form-cookies-consent {
  display: flex;
  align-items: center;
}
.commentsec .comment-form-cookies-consent input[type="checkbox"] {
  margin-bottom: 0;
  margin-left: 5px;
}
.commentsec .comment-form-cookies-consent label {
  margin-bottom: 0;
}
.commentsec .submit {
  margin-top: 15px;
  background-color: #07312D;
  border: 0;
  border-radius: 8px;
  transition: all 0.2s;
  color: #fff;
  cursor: pointer;
}
.commentsec .submit:hover {
  background-color: #178E60;
}
.footer {
  margin-top: 100px;
}
.footer .top-footer {
  background-color: #eee;
  padding: 30px 0;
}
.footer .widget .widgettitle {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 15px;
}
.footer .widget li {
  position: relative;
  padding-right: 15px;
}
.footer .widget li::before {
  content: '';
  width: 5px;
  height: 5px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #07312D;
}
.footer .widget a {
  color: #1f2937;
  font-size: 14px;
  transition: all 0.2s;
}
.footer .widget a:hover {
  color: #25B499;
}
.footer .textwidget {
  font-size: 13px;
  line-height: 1.8;
  color: #1f2937;
}
.footer .contact .flex {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.footer .contact .flex svg {
  margin-left: 5px;
}
.footer .contact .flex:last-child {
  margin-bottom: 0;
}
.footer .fast-links #menu-footer-menu {
  column-count: 4;
  text-align: center;
}
.footer .fast-links #menu-footer-menu li {
  position: relative;
  margin-bottom: 30px;
}
.footer .fast-links #menu-footer-menu li:last-of-type::before {
  display: none;
}
.footer .fast-links #menu-footer-menu li:nth-child(7)::before {
  display: none;
}
.footer .fast-links #menu-footer-menu li::before {
  content: "";
  width: 4px;
  height: 40px;
  position: absolute;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #178E60;
}
.footer .fast-links #menu-footer-menu a {
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  color: #6c6c6d;
  transition: all 0.2s;
}
.footer .fast-links #menu-footer-menu a:hover {
  color: #25B499;
}
.footer .sub-footer {
  background-color: #e7e7e7;
  padding: 15px 0;
}
.footer .sub-footer .copyright {
  font-size: 12px;
}
.section {
  margin-top: 150px;
  text-align: center;
}
.section .error {
  font-size: 150px;
  color: #008B62;
  text-shadow: 1px 1px 1px #00593E, 2px 2px 1px #00593E, 3px 3px 1px #00593E, 4px 4px 1px #00593E, 5px 5px 1px #00593E, 6px 6px 1px #00593E, 7px 7px 1px #00593E, 8px 8px 1px #00593E, 25px 25px 8px rgba(0, 0, 0, 0.2);
}
.page-tt {
  margin: 2rem 0;
  font-size: 20px;
  font-weight: 600;
  color: #444;
}
.back-home {
  display: inline-block;
  border: 2px solid #222;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.75rem 1rem 0.6rem;
  transition: all 0.2s linear;
  box-shadow: 0 15px 15px -11px rgba(0, 0, 0, 0.4);
  background: #222;
  border-radius: 6px;
}
.back-home:hover {
  background: #222;
  color: #ddd;
}
#breadcrumbs {
  border-radius: 5px;
  margin-top: 150px;
  display: block;
  background-color: #fff;
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.12);
  padding: 10px 15px;
  font-size: 14px;
}
@keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(242, 193, 34, 0.3), 0 0 0 0.05em rgba(242, 193, 34, 0.3), 0 0 0 0.1em rgba(242, 193, 34, 0.3), 0 0 0 0.2em rgba(242, 193, 34, 0.3);
  }
  to {
    box-shadow: 0 0 0 0.3em rgba(242, 193, 34, 0.3), 0 0 0 0.3em rgba(242, 193, 34, 0.3), 0 0 0 0.4em rgba(242, 193, 34, 0.3), 0 0 0 0.5em transparent;
  }
}
.wp-pagenavi a,
.wp-pagenavi span {
  display: inline-block;
}
/*responsive*/
@media only screen and (max-width: 768px) {
  .wraper {
    max-width: 100%;
  }
  .side-content {
    margin-bottom: 30px;
  }
  .navbar-collapse {
    display: none;
    position: absolute;
    top: 100%;
    background-color: #fff;
    right: 0;
    left: 0;
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.1);
  }
  .navbar-collapse.av-show {
    display: block;
  }
  .navbar-toggler {
    width: 40px;
    height: 40px;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    border: 1px solid #ccc;
    color: #000;
    font-size: 18px;
    border-radius: 5px;
  }
  #menu-header {
    flex-direction: column;
  }
  .header .register {
    margin: 15px;
    width: 100%;
  }
  .header .register a {
    display: block !important;
    text-align: center;
    width: 94%;
  }
}
