/* Preloader css start  */
#preloader {
  display: grid;
  place-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin: 0;
  background: #fff;
  z-index: 1000;
}
.dark #preloader {
  background: #131022;
}

.ring {
  --f: 1;
  width: 6em;
  height: 6em;
  transform: scale(var(--f));
  opacity: var(--f);
  background: radial-gradient(
      circle at 50% 10%,
      var(--color-primary) calc(10% - 2px),
      transparent calc(10% - 1px)
    ),
    radial-gradient(
      circle at 10%,
      var(--color-secondary) calc(10% - 2px),
      transparent calc(10% - 1px)
    ),
    radial-gradient(
      circle at 50% 90%,
      var(--color-primary) calc(10% - 2px),
      transparent calc(10% - 1px)
    ),
    radial-gradient(
      circle at 90%,
      var(--color-secondary) calc(10% - 2px),
      transparent calc(10% - 1px)
    );
  animation: a 2s ease-in-out infinite;
}

.ring > .ring {
  --f: 0.6;
}

@keyframes a {
  to {
    transform: scale(var(--f)) rotate(1turn);
  }
}
/* Preloader css end  */
/* loader css for all courses page start  */
#loader {
  display: block;
}

#loader .loading {
  height: 100vh;
  width: 100%;
  display: flex;
  /* align-items: center; */
  margin-top: 20%;
  justify-content: center;
  background: transparent;
}

.course-content #loader .pl {
  width: 3em;
  height: 3em;
}

#loader .pl__ring {
  animation: ringA 2s linear infinite;
}

#loader .pl__ring--a {
  stroke: var(--color-secondary);
}

#loader .pl__ring--b {
  animation-name: ringB;
  stroke: var(--color-primary);
}

#loader .pl__ring--c {
  animation-name: ringC;
  stroke: var(--color-secondary);
}

#loader .pl__ring--d {
  animation-name: ringD;
  stroke: var(--color-primary);
}

/* Animations */
@keyframes ringA {
  from,
  4% {
    stroke-dasharray: 0 660;
    stroke-width: 20;
    stroke-dashoffset: -330;
  }

  12% {
    stroke-dasharray: 60 600;
    stroke-width: 30;
    stroke-dashoffset: -335;
  }

  32% {
    stroke-dasharray: 60 600;
    stroke-width: 30;
    stroke-dashoffset: -595;
  }

  40%,
  54% {
    stroke-dasharray: 0 660;
    stroke-width: 20;
    stroke-dashoffset: -660;
  }

  62% {
    stroke-dasharray: 60 600;
    stroke-width: 30;
    stroke-dashoffset: -665;
  }

  82% {
    stroke-dasharray: 60 600;
    stroke-width: 30;
    stroke-dashoffset: -925;
  }

  90%,
  to {
    stroke-dasharray: 0 660;
    stroke-width: 20;
    stroke-dashoffset: -990;
  }
}

@keyframes ringB {
  from,
  12% {
    stroke-dasharray: 0 220;
    stroke-width: 20;
    stroke-dashoffset: -110;
  }

  20% {
    stroke-dasharray: 20 200;
    stroke-width: 30;
    stroke-dashoffset: -115;
  }

  40% {
    stroke-dasharray: 20 200;
    stroke-width: 30;
    stroke-dashoffset: -195;
  }

  48%,
  62% {
    stroke-dasharray: 0 220;
    stroke-width: 20;
    stroke-dashoffset: -220;
  }

  70% {
    stroke-dasharray: 20 200;
    stroke-width: 30;
    stroke-dashoffset: -225;
  }

  90% {
    stroke-dasharray: 20 200;
    stroke-width: 30;
    stroke-dashoffset: -305;
  }

  98%,
  to {
    stroke-dasharray: 0 220;
    stroke-width: 20;
    stroke-dashoffset: -330;
  }
}

@keyframes ringC {
  from {
    stroke-dasharray: 0 440;
    stroke-width: 20;
    stroke-dashoffset: 0;
  }

  8% {
    stroke-dasharray: 40 400;
    stroke-width: 30;
    stroke-dashoffset: -5;
  }

  28% {
    stroke-dasharray: 40 400;
    stroke-width: 30;
    stroke-dashoffset: -175;
  }

  36%,
  58% {
    stroke-dasharray: 0 440;
    stroke-width: 20;
    stroke-dashoffset: -220;
  }

  66% {
    stroke-dasharray: 40 400;
    stroke-width: 30;
    stroke-dashoffset: -225;
  }

  86% {
    stroke-dasharray: 40 400;
    stroke-width: 30;
    stroke-dashoffset: -395;
  }

  94%,
  to {
    stroke-dasharray: 0 440;
    stroke-width: 20;
    stroke-dashoffset: -440;
  }
}

@keyframes ringD {
  from,
  8% {
    stroke-dasharray: 0 440;
    stroke-width: 20;
    stroke-dashoffset: 0;
  }

  16% {
    stroke-dasharray: 40 400;
    stroke-width: 30;
    stroke-dashoffset: -5;
  }

  36% {
    stroke-dasharray: 40 400;
    stroke-width: 30;
    stroke-dashoffset: -175;
  }

  44%,
  50% {
    stroke-dasharray: 0 440;
    stroke-width: 20;
    stroke-dashoffset: -220;
  }

  58% {
    stroke-dasharray: 40 400;
    stroke-width: 30;
    stroke-dashoffset: -225;
  }

  78% {
    stroke-dasharray: 40 400;
    stroke-width: 30;
    stroke-dashoffset: -395;
  }

  86%,
  to {
    stroke-dasharray: 0 440;
    stroke-width: 20;
    stroke-dashoffset: -440;
  }
}
/* loader css end  */
/* hero area css start  */
.banner-content-five .form-inner-five {
  overflow: hidden;
}
/* hero area css end  */
/* counter area css start  */
.counter-section-five .row .col-lg-3:last-child > .count-five {
  border: 0;
}
/* counter area css end  */

/* footer css start  */
/* .footer-design-3 .dis-footerTop .dis-ratings p,
.dis-footerTop .footer-details p {
  color: var(--paragraph-color);
} */

.footer-design-3
  .dis-footerTop
  .certificate_code_validator
  form
  input[type="text"] {
  width: 100%;
}
/* .footer-design-3
  .dis-footerTop
  .certificate_code_validator
  form
  input[type="submit"] {
  background: var(--color-primary) !important;
}
.footer-design-3
  .dis-footerTop
  .certificate_code_validator
  form
  input[type="submit"]:hover{
    color: var(--color-primary);
  } */

/* footer css end  */
/* contact page css start  */
.a2n_contact .form-control {
  border-color: #dce0eb !important;
  color: #685f78 !important;
  font-size: 15px;
  min-height: 44px;
  padding: 6px 15px !important;
  border-radius: 6px !important;
}
.a2n_contact form p {
  margin: 0 !important;
}
.a2n_contact .form-control:focus {
  border-color: #e9ecef !important;
}
.a2n_contact input[type="submit"].a2n_submit {
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: 5px;
  color: #fff;
  padding: 12px 10px;
  min-width: 200px;
}
.a2n_contact input[type="submit"].a2n_submit:hover {
  background: #ff3448;
  color: #fff;
}
/* contact page css end  */
/* cart and checkout page css start  */
.shop-cart .section-wrapper .cart-top table thead tr {
  color: var(--color-secondary);
  background: var(--color-primary);
}
.padding-tb {
  padding: 70px 0;
}
@media (min-width: 992px) {
  .padding-tb {
    padding: 110px 0;
  }
}
.shop-cart .section-wrapper .cart-top {
  margin-bottom: 40px;
  box-shadow: 0 0 10px rgba(136, 136, 136, 0.1);
}
.shop-cart .section-wrapper .cart-top table {
  font-weight: 700;
}
.shop-cart .section-wrapper .cart-top table thead tr th {
  color: #fff;
  padding: 18px;
  border: none;
}
.shop-cart .section-wrapper .cart-top table thead tr th:nth-child(3) {
  text-align: center;
}
.shop-cart .section-wrapper .cart-top table tbody tr {
  border-bottom: 1px solid #ecf0f3;
  border-right: none;
  border-left: none;
  border-top: none;
}
.shop-cart .section-wrapper .cart-top table tbody tr td {
  padding: 10px;
  border: none;
}
@media (min-width: 768px) {
  .shop-cart .section-wrapper .cart-top table tbody tr td {
    padding: 20px;
  }
}
.shop-cart .section-wrapper .cart-top table tbody tr td.product-item {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}
.shop-cart .section-wrapper .cart-top table tbody tr td.product-item .p-thumb {
  width: 50px;
  margin: auto;
}
@media (min-width: 768px) {
  .shop-cart
    .section-wrapper
    .cart-top
    table
    tbody
    tr
    td.product-item
    .p-thumb {
    width: 85px;
  }
}
.shop-cart
  .section-wrapper
  .cart-top
  table
  tbody
  tr
  td.product-item
  .p-content {
  width: calc(100% - 85px);
  padding-left: 10px;
}
.shop-cart
  .section-wrapper
  .cart-top
  table
  tbody
  tr
  td.product-item
  .p-content
  a {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
  color: var(--color-secondary);
}
.shop-cart .section-wrapper .cart-top table tbody tr td:last-child {
  text-align: right;
}
.shop-cart .section-wrapper .cart-bottom {
  box-shadow: 0 0 10px rgba(136, 136, 136, 0.1);
  margin-bottom: 15px;
  overflow: hidden;
}
.shop-cart .section-wrapper .cart-bottom .cart-checkout-box {
  padding: 20px 30px;
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.shop-cart .section-wrapper .cart-bottom .cart-checkout-box .coupon {
  max-width: 340px;
  display: flex;
}
.shop-cart .section-wrapper .cart-bottom .cart-checkout-box .coupon input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ecf0f3;
  -webkit-border-radius: 3px 0 0 3px;
  -moz-border-radius: 3px 0 0 3px;
  border-radius: 3px 0 0 3px;
  margin-bottom: 0px;
}
.woocommerce-cart
  .woocommerce
  .section-wrapper
  button.button[name="apply_coupon"] {
  color: var(--color-primary) !important;
  border-color: var(--color-primary);
  background: transparent;
  border: 1px solid;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.woocommerce-cart
  .woocommerce
  .section-wrapper
  button.button[name="apply_coupon"]:hover {
  background: var(--color-primary) !important;
  color: #fff !important;
}
.woocommerce-cart .woocommerce a.checkout-button.button {
  border-radius: 3px;
  padding: 10px 30px;
  color: #fff;
  border: 1px solid;
  width: auto;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
}
.woocommerce-cart .woocommerce .section-wrapper button.button,
.woocommerce-cart .woocommerce a.checkout-button.button {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff !important;
  transition: all 0.3s ease;
}
.woocommerce-cart .woocommerce a.checkout-button.button:hover {
  color: var(--color-primary) !important;
  background: transparent !important;
}
.woocommerce-cart .woocommerce .section-wrapper button.button:hover {
  color: var(--color-primary) !important;
  background: transparent !important;
}
.shop-cart .section-wrapper .cart-bottom .cart-checkout-box .cart-checkout {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}
@media (min-width: 992px) {
  .shop-cart .section-wrapper .cart-bottom .cart-checkout-box .cart-checkout {
    max-width: 390px;
    text-align: right;
    margin-top: 0;
  }
}
.shop-cart .section-wrapper .cart-bottom .shiping-box {
  padding: 30px 20px;
  border-top: 1px solid #fff;
}
.woocommerce .cart-collaterals,
.woocommerce-page .cart-collaterals {
  width: 100%;
}
.shop-cart .section-wrapper .cart-bottom .shiping-box .cart-overview h3 {
  margin-bottom: 30px;
  color: var(--color-secondary);
}
.shop-cart .section-wrapper .cart-bottom .shiping-box .cart-overview ul {
  margin: 0;
  padding: 0;
}
.shop-cart .section-wrapper .cart-bottom .shiping-box .cart-overview ul li {
  list-style: none;
  border: 1px solid #ecf0f3;
  padding: 8px 20px;
  border-radius: 3px;
  margin-bottom: 15px;
  background-color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.shop-cart
  .section-wrapper
  .cart-bottom
  .shiping-box
  .cart-overview
  ul
  li
  .pull-right {
  color: var(--color-primary);
  margin: 0px;
}
@media (max-width: 767px) {
  .shop-cart
    .section-wrapper
    .cart-top
    table
    tbody
    tr
    td.product-item
    .p-content {
    display: none;
  }
}
.woocommerce-info,
.woocommerce-message {
  border-top-color: var(--color-primary) !important;
}
.woocommerce-info::before,
.woocommerce-message::before {
  color: var(--color-primary);
}
.woocommerce .button.wc-backward {
  border-color: var(--color-primary) !important;
  color: var(--color-primary) !important;
}
.woocommerce .button.wc-backward:hover {
  background: var(--color-primary) !important;
  color: #fff !important;
}
.woocommerce .button.wc-forward {
  border: 1px solid;
  background: transparent;
  border-color: var(--color-primary) !important;
  color: var(--color-primary) !important;
}
.woocommerce .button.wc-forward:hover {
  background: var(--color-primary) !important;
  color: #fff !important;
}
.woocommerce-checkout .woocommerce #payment #place_order,
.woocommerce-checkout .woocommerce .section-wrapper button.button {
  border-color: var(--color-primary);
  background: var(--color-primary) !important;
  color: #fff !important;
  transition: all 0.3s ease;
}
.woocommerce-checkout .woocommerce #payment #place_order:hover,
.woocommerce-checkout .woocommerce .section-wrapper button.button:hover {
  background: transparent !important;
  color: var(--color-primary) !important;
}
.shop-cart .section-wrapper .cart-top .col-1,
.shop-cart .section-wrapper .cart-top .col-2 {
  max-width: 100%;
}
.woocommerce form .form-row {
  display: block;
}
.woocommerce .section-wrapper {
  background: transparent;
  padding: 0;
}
@media (max-width: 575px) {
  .shop-cart .section-wrapper .cart-top {
    overflow-x: scroll;
  }
}
/* cart and checkout page css end  */
/* log in register page css  */
.pageheader-section {
  background: url("../../design_3/img/ban-bg.png") var(--color-secondary);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 88px 0;
  position: relative;
}
.pageheader-section > .container .pageheader-content .breadcrumb li a {
  color: #fff;
}
.pageheader-section > .container .pageheader-content .breadcrumb li::before {
  color: #fff;
}
.pageheader-section::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  /* background: rgba(0, 33, 71, 0.9); */
}

.pageheader-section > .container {
  position: relative;
  z-index: 2;
}

.pageheader-section > .container .pageheader-content h2 {
  color: var(--color-primary);
}

.pageheader-section > .container .pageheader-content .breadcrumb {
  background-color: transparent;
}

.pageheader-section > .container .pageheader-content .breadcrumb li {
  color: var(--color-primary);
}

.pageheader-section > .container .pageheader-content .breadcrumb li::before {
  color: var(--color-primary);
}

.pageheader-section > .container .pageheader-content ol li:first-child::before {
  content: "";
}

.page-template-foy-login .login-section {
  padding: 120px 10px;
}

.page-template-foy-login .login-section > div {
  background: #f2f3f5;
  padding: 60px 50px 56px;
  border-radius: 7px;
  max-width: 450px;
}

@media (max-width: 575px) {
  .page-template-foy-login .login-section > div {
    padding: 30px 20px 26px;
  }
}

.page-template-foy-login .login-section .custom-login-form h2 {
  text-align: center;
}

.page-template-foy-login .account-wrapper #loginform input[type="text"],
.page-template-foy-login .account-wrapper #loginform input[type="password"] {
  width: 100%;
  border: 2px solid rgba(8, 76, 148, 0.2) !important;
  height: 58px;
  border-radius: 4px;
  padding: 0 18px;
  margin-bottom: 12px;
}

.page-template-foy-login
  .account-wrapper
  #loginform
  .login-submit
  input[type="submit"] {
  color: var(--color-secondary);
  background: var(--color-primary);
  width: 100%;
  letter-spacing: normal;
  font-family: inherit;
  height: 55px;
  line-height: 55px;
  padding: 0 36px;
  overflow: hidden;
  position: relative;
  border: 0;
  font-size: 15px;
  transition: all 0.5s ease;
  font-weight: 500;
  border-radius: 4px;
  z-index: 0;
  cursor: pointer;
}

.page-template-foy-login
  .account-wrapper
  #loginform
  .login-submit
  input[type="submit"]:after {
  content: "";
  background: #eebd05;
  position: absolute;
  transition: all 0.3s ease-in;
  z-index: -1;
  height: 100%;
  left: -35%;
  top: 0;
  transform: skew(30deg);
  transition-duration: 0.6s;
  transform-origin: top left;
  width: 0;
}

.page-template-foy-login
  .account-wrapper
  #loginform
  .login-submit
  input[type="submit"]:hover:after {
  height: 100%;
  width: 135% !important;
}
.page-template-foy-register .login-section {
  padding: 120px 10px;
}

.page-template-foy-register .login-section > div {
  background: #f2f3f5;
  padding: 60px 50px 56px;
  border-radius: 7px;
  max-width: 450px;
}

@media (max-width: 575px) {
  .page-template-foy-register .login-section > div {
    padding: 30px 20px 26px;
  }
}

.page-template-foy-register .login-section .account-wrapper h3 {
  text-align: center;
}

.page-template-foy-register .account-wrapper input[type="text"],
.page-template-foy-register .account-wrapper input[type="email"],
.page-template-foy-register .account-wrapper input[type="password"] {
  width: 100%;
  border: 2px solid rgba(8, 76, 148, 0.2) !important;
  height: 58px;
  border-radius: 4px;
  padding: 0 18px;
  margin-bottom: 12px;
}

.page-template-foy-register .account-wrapper .form-group input[type="submit"] {
  color: var(--color-secondary);
  background: var(--color-primary);
  width: 100%;
  letter-spacing: normal;
  font-family: inherit;
  height: 55px;
  line-height: 55px;
  padding: 0 36px !important;
  overflow: hidden;
  position: relative;
  border: 0;
  font-size: 15px;
  transition: all 0.5s ease;
  font-weight: 500;
  border-radius: 4px;
  z-index: 0;
  cursor: pointer;
}

.page-template-foy-register
  .account-wrapper
  .form-group
  input[type="submit"]:after {
  content: "";
  background: #eebd05;
  position: absolute;
  transition: all 0.3s ease-in;
  z-index: -1;
  height: 100%;
  left: -35%;
  top: 0;
  transform: skew(30deg);
  transition-duration: 0.6s;
  transform-origin: top left;
  width: 0;
}

.page-template-foy-register
  .account-wrapper
  .form-group
  input[type="submit"]:hover:after {
  height: 100%;
  width: 135% !important;
}
/* log in register css end   */
/* Header Css Starts */
.header-navbar-rht > li > a {
  color: #fff;
}
/* Header Css Ends */
/* Single Course css Starts */
.popup-gallery {
  z-index: 9;
}
/* Single Course css Ends */
/* blog pageheader css start  */
.page-banner .page-breadcrumb {
  margin-top: 15px;
}
.page-banner .page-breadcrumb ol li,
.page-banner .page-breadcrumb .breadcrumb-item + .breadcrumb-item:before {
  color: #fff;
}
.page-banner .page-breadcrumb ol li:last-child {
  padding-right: 0 !important;
}
.page-banner .page-breadcrumb ol li a {
  color: var(--color-primary);
}
/* blog pageheader css end  */

/* single product css start */
.single .highlight_text {
  border: 1px solid #ddcdcd;
  padding: 15px;
  border-radius: 10px;
  margin: 0;
}
.single .overview-sec h1 {
  font-size: 2rem;
  margin: 10px 0;
}
.single .overview-sec h2 {
  font-size: 1.3rem;
}
.single .overview-sec h3 {
  font-size: 1.3rem;
}
.single .overview-sec ul li {
  list-style: disc;
}
.single .overview-sec ol li {
  list-style: initial;
}
#sidebar {
  margin: 0;
  padding: 0;
}
/* single product css end */
/* back to tp css start  */
.scrollToTop {
  position: fixed;
  bottom: -30%;
  right: 5%;
  z-index: 9;
}
.scrollToTop i {
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 5px;
  color: #fff;
  font-size: 1.5rem;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
  background-color: var(--color-primary);
  text-align: center;
}
.scrollToTop i:hover {
  transform: translateY(-5px);
  box-shadow: 0px 5px 20px 0px rgba(241, 97, 38, 0.5);
}
/* back to tp css end  */
/* dark mode css start */
.dark h1,
.dark h2,
.dark h3,
.dark h4,
.dark h5,
.dark h6,
.dark p,
.dark .card-body {
  color: #b9b7c0 !important;
}
/* dark mode css end */
