/*
Theme Name: Classnow
Theme URI: https://classnow.ir
Author: ali mahmoudi
Author URI: https://classnow.ir
Description: Designer Ali Mahmoudi.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain: twentythirteen

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
/* ----------------------------------------------- variables ----------------------------------------- */
:root {
  --colorPrimary: rgba(255, 211, 105, 1);
  --colorDarkCard: rgba(41, 44, 45, 1);
  --colorDarkBack: rgba(29, 31, 32, 1);
  --colorText: rgba(22, 22, 29, 1);
}
/* ----------------------------------------------- preloader search ----------------------------------------- */
.lds-ellipsis {
  /* display: inline-block; */
  position: relative;
  width: 50px;
  height: 40px;
}
.lds-ellipsis div {
  position: absolute;
  top: 13px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--colorPrimary);
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 6px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 20px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 23px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(15px, 0);
  }
}

/* ----------------------------------------------- preloader and content ----------------------------------------- */
.preloader{
  position: fixed;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255 , 255 , 255 , 1);
  opacity: 1;
  z-index: 50000;
  flex-direction: column;
}
.spinner1:before{
  content: "";
  position: absolute;
  top : 50% ;
  left: 50%;
  height: 100px;
  width: 100px;
  margin-top:  -50px;
  margin-left: -50px;
  border-radius: 50%;
  border : 4px solid transparent ;
  border-top-color: var(--colorPrimary);
  border-bottom-color: var(--colorPrimary);
  animation: my_spinner  1s ease-in-out infinite;
}
@keyframes my_spinner{
  to{
    transform : rotate(360deg);
  }
}
.preloader img{
  animation: loading_logo  1s linear infinite;
}
@keyframes loading_logo {
  0% {
    transform: scale(0.7);
  }
  50% {
    transform: scale(1);
  }

  100% {
    transform: scale(0.7);
  }
}
/* ----------------------------------------------- index ----------------------------------------- */
.new-tv-index::-webkit-scrollbar-track{
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  background-color: #fff;
}

.new-tv-index::-webkit-scrollbar{
  width: 10px;
  background-color: #fff;
}

.new-tv-index::-webkit-scrollbar-thumb{
  background-color: #404040;
}
.bg-roadmap{
  background: linear-gradient(180deg, #FC427B 38.6%, rgba(243, 245, 252, 0) 100%)
}
/* ----------------------------------------------- swiperjs ----------------------------------------- */
.swiper{
  padding-bottom: 30px !important;
}
.swiper-button-prev , .swiper-button-next{
  transition: all 0.5s;
  color : var(--colorPrimary); 
}
.swiper-button-prev-slider:hover{
  transform: translateX(-5px);
}
.swiper-button-next-slider:hover{
  transform: translateX(5px);
}
@media only screen and (min-width:768px){
  .swiper-button-prev , .swiper-button-next{
    display: block !important ;
  }
} 
.swiper-pagination{
  margin-bottom: -5px !important;
}
.swiper-pagination-bullet-active{
  background: var(--colorPrimary) !important;
  width: 20px !important;
  border-radius: 5px !important;
}
/* ----------------------------------------------- /swiperjs ----------------------------------------- */
/* -------- card customer ------- */
.card-customer{
  width: 100%;
  display: flex;
  justify-content: center;
}
.card-customer-content{
  padding :10px;
  width: 90%;
  max-width: 800px;
}
.customer-content-img{
  display: flex;
  flex-direction: column;
  justify-content: right;
  align-items: center;
  margin-bottom: 15px;
}
.customer-img {
  width: 64px !important;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--colorPrimary);
  margin-bottom: 10px;
}
.customer-user-name{
  font-size: 1rem;
  font-weight: 600;
  color:#8395a7;
  margin-top: 10px;
}
.customer-job{
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color:#8395a7;
  margin-top: 5px;
}
.customer-body{
  font-size: 1rem;
  font-weight: 400;
  color:#576574;
  text-align: justify;
  line-height: 2rem;
  margin-bottom: 20px;
}
/* -------- single product ------- */
.added_to_cart.wc-forward {
  display: none !important;
}
.dark .woocommerce-breadcrumb{
  background-color : var(--colorPrimaryDarkCard) !important;
  color : #fff;
}
.woocommerce-breadcrumb{
  background-color: #fff !important;
  width: 100% !important;
  padding: 20px !important;
  margin-bottom: 15px !important;
  border: 1px solid var(--colorText);
  border-radius: 8px !important;
}
.woocommerce-breadcrumb a{
  color : var(--colorPrimary);
}
.star-rating{
 display: flex;
 align-items: center;
}
.star-rating span{
  width: fit-content !important;
}
.woocommerce .star-rating span{
  color : #facc15;
  width: fit-content !important;
}
.card-related{
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  background-color: white;
  padding:10px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 400;
}
.course-detail .title{
  font-size: 1rem;
}
.woocommerce .woocommerce-Tabs-panel{
  margin: 0 !important;
}
.course-detail p{
  margin-bottom: 0;
}
.single-related-product h2{
  font-size : 1rem
}
.single-head{
  font-size : 1rem !important;
}
.entry-summary{
  display: none !important;
}
/* -------- comment single product ------- */
#reviews{
  width: 100%;
}
#reply-title{
  color: var(--colorPrimary);
  font-size: 1.2rem;
  font-weight: 700;
}
.comment-form-comment{
  display: flex;
  flex-direction: column;
}
.comment-respond label{
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 5px;
}
.dark .comment-respond label{
  color : #fff !important;
}
.commentlist{
  padding: 0 !important;
}
.commentlist li{
  padding:10px !important;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 400;
  padding: 30px !important;
  border : 1px solid #e5e7eb !important;
}
.dark .commentlist li{
  border : 1px solid var(--colorPrimary) !important;
}
.commentlist img{
  border-radius: 50%;
  width: 40px !important;
  position: unset !important;
  top: 5px !important;
  margin-left: 8px !important;
}
.commentlist .comment-text{
  margin-right: 20px !important;
  margin-top: 20px !important;
  border : none !important ;
}
.dark .commentlist .comment-text .meta , .dark .commentlist .comment-text.description p {
  color : #fff !important;
}
.commentlist .description p{
  padding-right: 10px;
  margin-bottom: 0 !important;
  font-size: 0.9rem;
  font-weight: 400;
  color : #3b3838;
  line-height: 30px;
}
.commentlist .children{
  margin-top: 10px !important;
  border-radius: 10px;
}
.commentlist .children li{
  margin: 0 20px 0 !important;
}
.commentlist .comment-text{
  margin-top: 0 !important;
}
.woocommerce-pagination .current{
  background-color: var(--colorPrimary) !important;
  color: #fff !important ;
}
.comment-respond form{
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px !important;
}
.comment-notes{
  width: 100% !important;
}
.comment-form-author{
  width: 50% !important;
  margin-bottom: 10px;
}
.comment-form-author label{
  margin-left: 10px !important;
}
.comment-form-author input{
  width: 100% !important;
  border-radius: 10px !important;
  border : solid 1px #e5e7eb !important; 
  padding: 5px 10px !important;
  margin-left: 10px !important;
}
.dark .comment-form-author input{
  background-color: var(--colorPrimaryDarkBack) !important;
}
.comment-form-email{
  width: 50% !important;
  margin-bottom: 10px;
}
.comment-form-email label{
  margin-right: 10px !important;
}
.comment-form-email input{
  width: 100% !important;
  border-radius: 10px !important;
  border : solid 1px #e5e7eb !important; 
  padding: 5px 10px !important;
  margin-right: 10px !important;
}
.dark .comment-form-email input{
  background-color: var(--colorPrimaryDarkBack) !important;
}
.comment-respond .comment-form-comment{
  width: 100% !important;
  margin-bottom: 10px;
}
.woocommerce p.stars a{
  margin-left: 10px;
  font-size: 2rem;
  color : #facc15;
}
.comment-respond .comment-form-rating{
  margin-bottom: 10px;
}
.dark .comment-respond .comment-form-rating label{
  color:#fff !important;
}
.comment-respond textarea{
  border-radius: 10px;
  border: solid 1px #e5e7eb !important;
  padding: 20px !important;
  height: 200px !important;
}
.dark .comment-respond textarea{
  background-color: var(--colorPrimaryDarkBack) !important;
}
.comment-respond textarea:focus{
  border: solid 1px var(--colorPrimary) !important;
  background-color: rgb(255, 253, 253);
}
.comment-respond .form-submit{
  width: 100%;
  display: flex;
  justify-content: flex-end;
}
.comment-respond .submit{
  justify-content: flex-end;
  background-color: var(--colorPrimary) !important;
  color: #fff !important;
  border-radius: 5px !important;
  padding : 0.618em 1em;
  font-weight: 700;
  line-height: 1;
}
.comment-respond .submit:hover{
  cursor: pointer;
  opacity : 0.8;
}
.must-log-in{
  background-color: #FFC312;
  padding: 15px;
}
/* ----------------------------------------------- cart ----------------------------------------- */
.cart-container{
  width: 100% !important;
  display: flex;
  flex-direction: column;
}
@media only screen and (min-width:768px){
  .cart-container{
    flex-direction: row;
  }
}
.product-remove a{
  margin: auto;
}
.product-thumbnail a img{
  margin: auto; 
}
.woocommerce table.shop_table{
  border:none !important;
  text-align: center;
}
.woocommerce .cart-collaterals .cart_totals {
  width: 100% !important;
}
.woocommerce .cart-collaterals .cart_totals h2{
  text-align: center;
}
.woocommerce .cart-collaterals .shop_table{
  background-color: white !important;
}
.woocommerce .wc-proceed-to-checkout{
  width: 100% !important;
  display: flex;
  justify-content: flex-end;
}
.woocommerce .wc-proceed-to-checkout a{
  background-color: var(--colorPrimary) !important;
  width: 100% !important;
  text-align: center;
  padding: 15px !important;
}
.woocommerce .woocommerce-cart-form .coupon{
  border : 1px solid var(--colorPrimary) !important;
  padding: 10px !important;
  border-radius: 10px !important;
}
#coupon_code{
  border : none !important;
  outline: none !important;
  padding: 10px;
  background-color: #f3f4f6;
  width: fit-content;
}
#coupon_code:focus{
  border : none !important;
}
.woocommerce .woocommerce-cart-form .coupon button[name="apply_coupon"]{
  margin-right: 5px !important;
  background-color : var(--colorPrimary) !important;
  color : #fff !important;
}
.woocommerce .woocommerce-cart-form .button[name="update_cart"]{
  background-color : var(--colorPrimary) !important;
  color :#fff !important;
  margin-top : 10px !important;
}
.woocommerce .return-to-shop .wc-backward{
  background-color : var(--colorPrimary) !important;
  color :#fff !important;
  padding: 20px !important;
}
/* ----------------------------------------------- check out ----------------------------------------- */
.woocommerce .checkout_coupon{
  background-color: white !important;
  text-align: center !important;
}
.woocommerce .checkout_coupon button{
  background-color : var(--colorPrimary) !important;
  color : white !important ;
  padding: 20px !important;
}
.checkout-container{
  display: flex;
  flex-direction: column;
  background-color: white;
  padding : 20px;
}
@media only screen and (min-width:768px){
  .checkout-container{
    flex-direction: row;
  }
}
#customer_details .woocommerce-billing-fields h3{
  font-size: 1.2rem;
  font-weight: 600;
}
#customer_details .woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper input{
  background-color: #f3f4f6;
  padding : 8px;
}
#customer_details{
  margin-bottom: 10px !important;
}
@media only screen and (min-width:768px){
  #customer_details{
    margin-bottom: 0px !important;
    margin-left: 10px !important;
  }
}
.checkout-container .total{
  padding: 20px;
  background-color: #e4e4e7;
}
.checkout-container .total h3{
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
}
.woocommerce-checkout-review-order .woocommerce-checkout-review-order-table{
  background-color: white;
}
#payment{
  background-color: #e4e4e7 !important;
}
#payment .payment_box{
  background-color: white !important;
}
#payment .payment_box::before{
  border : 1em solid white !important ;
  border-left-color: transparent !important ;
  border-right-color: transparent !important ;
  border-top-color: transparent !important ;
}
#payment button{
  background-color: var(--colorPrimary) !important;
  width: 100% !important;
  padding: 15px !important;
}
/* ----------------------------------------------- woocammerce messages ----------------------------------------- */
/* --woocommerce-message--*/
.woocommerce .woocommerce-message{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px !important;
  width: 100% !important;
  border : none;
  background-color: var(--colorPrimary);
  color : #fff !important;
}
.woocommerce .woocommerce-message::before{
  top:unset !important;
  color : #fff !important;
}
.woocommerce .woocommerce-message a{
  font-family: dana !important;
  background-color: #fff;
  order: 2;
  color : #515151 !important ;
  font-weight:  700 !important;
  padding:.618em 1em !important;
  cursor: pointer !important;
}
/* --woocommerce-info--*/
.woocommerce .woocommerce-info{
  margin-bottom: 10px !important;
  width: 100% !important;
  border : none;
  background-color: var(--colorPrimary) !important;
  color : #fff !important;
}
.woocommerce .woocommerce-info::before{
  color : #fff !important;
}
.woocommerce .woocommerce-info a{
  font-family: dana !important;
  background-color: #fff;
  order: 2;
  color : #515151 !important ;
  font-weight:  700 !important;
  padding:.618em 1em !important;
  cursor: pointer !important;
}
.woocommerce .woocommerce-info .showcoupon{
  font-weight:  700 !important;
  font-size : 0.9rem !important;
  background-color: unset;
  color : unset !important ;
  padding: 0 !important;
}
/* --woocommerce-error--*/
.woocommerce .woocommerce-error{
  margin-bottom: 10px !important;
  width: 100% !important;
  border : none;
  background-color: #b81c23 !important;
  color : #fff !important;
}
.woocommerce .woocommerce-error::before{
  color : #fff !important;
}
.woocommerce .woocommerce-error a{
  font-family: dana !important;
  background-color: #fff;
  order: 2;
  color : #515151 !important ;
  font-weight:  700 !important;
  padding:.618em 1em !important;
  cursor: pointer !important;
}
/* ----------------------------------------------- dashboard ----------------------------------------- */
.dashboard-container{
  display: flex;
  flex-direction: column;
}
@media only screen and (min-width:768px){
  .dashboard-container{
    flex-direction: row;
  }
}
.dashboard-nav{
  border-radius: 10px;
  background-color: #1c1c1c;
  margin-bottom: 10px;
}
@media only screen and (min-width:768px){
  .dashboard-nav{
    margin-bottom: 0px;
    margin-left:10px
  }
}
.dashboard-nav ul{
  list-style: none;
  padding : 0 ;
  margin : 8px;
}
.dashboard-nav ul li:hover{
  background-color: #64748b;
}
.dashboard-nav ul li.active{
  background-color: #282828;
}
.dashboard-nav ul li a{
  display: flex;
  align-items: center;
  color : #c3c3c3;
  width: 100%;
  padding: 15px;
  position: relative;
}
.dashboard-nav ul li.active a{
  display: flex;
  align-items: center;
  color : #fff;
}
.woocommerce-MyAccount-navigation ul li.active a:after{
  content: '';
  display: block!important;
  position: absolute;
  top: 10px;
  bottom: 10px;
  right: -2px;
  width: 4px;
  background: #fff;
  border-radius: 10px;
  height: auto;
  border: none;
  opacity: 1;
}
.dashboard-nav ul li a svg{
  margin-left: 5px;
}
