/**
 * Theme Name:     Astra Child
 * Author:         Brainstorm Force
 * Template:       Astra
 * Text Domain:	   astra-child
 * Description:    Astra is fast, fully customizable
 */

 

 /* keyframes */
 @-webkit-keyframes bounce-top {
   0% {
     -webkit-transform: translateY(-45px);
             transform: translateY(-45px);
     -webkit-animation-timing-function: ease-in;
             animation-timing-function: ease-in;
     opacity: 1;
   }
   24% {
     opacity: 1;
   }
   40% {
     -webkit-transform: translateY(-24px);
             transform: translateY(-24px);
     -webkit-animation-timing-function: ease-in;
             animation-timing-function: ease-in;
   }
   65% {
     -webkit-transform: translateY(-12px);
             transform: translateY(-12px);
     -webkit-animation-timing-function: ease-in;
             animation-timing-function: ease-in;
   }
   82% {
     -webkit-transform: translateY(-6px);
             transform: translateY(-6px);
     -webkit-animation-timing-function: ease-in;
             animation-timing-function: ease-in;
   }
   93% {
     -webkit-transform: translateY(-4px);
             transform: translateY(-4px);
     -webkit-animation-timing-function: ease-in;
             animation-timing-function: ease-in;
   }
   25%,
   55%,
   75%,
   87% {
     -webkit-transform: translateY(0px);
             transform: translateY(0px);
     -webkit-animation-timing-function: ease-out;
             animation-timing-function: ease-out;
   }
   100% {
     -webkit-transform: translateY(0px);
             transform: translateY(0px);
     -webkit-animation-timing-function: ease-out;
             animation-timing-function: ease-out;
     opacity: 1;
   }
 }
 @keyframes bounce-top {
   0% {
     -webkit-transform: translateY(-45px);
             transform: translateY(-45px);
     -webkit-animation-timing-function: ease-in;
             animation-timing-function: ease-in;
     opacity: 1;
   }
   24% {
     opacity: 1;
   }
   40% {
     -webkit-transform: translateY(-24px);
             transform: translateY(-24px);
     -webkit-animation-timing-function: ease-in;
             animation-timing-function: ease-in;
   }
   65% {
     -webkit-transform: translateY(-12px);
             transform: translateY(-12px);
     -webkit-animation-timing-function: ease-in;
             animation-timing-function: ease-in;
   }
   82% {
     -webkit-transform: translateY(-6px);
             transform: translateY(-6px);
     -webkit-animation-timing-function: ease-in;
             animation-timing-function: ease-in;
   }
   93% {
     -webkit-transform: translateY(-4px);
             transform: translateY(-4px);
     -webkit-animation-timing-function: ease-in;
             animation-timing-function: ease-in;
   }
   25%,
   55%,
   75%,
   87% {
     -webkit-transform: translateY(0px);
             transform: translateY(0px);
     -webkit-animation-timing-function: ease-out;
             animation-timing-function: ease-out;
   }
   100% {
     -webkit-transform: translateY(0px);
             transform: translateY(0px);
     -webkit-animation-timing-function: ease-out;
             animation-timing-function: ease-out;
     opacity: 1;
   }
 }
 
/* sidebar */

#secondary .sidebar-main {
   border-radius: 20px;
   padding: 5%;
   background-image: linear-gradient(to right bottom, #4d006b, #58007b, #64008b, #6f009c, #7b00ad);
}

#secondary .sidebar-main .widget-title {
   color: white;
   border-bottom: 2px solid #ffd800;
}

 #secondary .sidebar-main .gallery-icon {
   margin: 0 auto;
   max-width : 150px;
   border: none;
} 

#secondary .sidebar-main .textwidget a {
   color: white;
}
#secondary .sidebar-main .textwidget a:hover {
   color: #ffd800;
}



/* kit media */

.gallery-caption {
   visibility: collapse;
}

.elementor-image-gallery .gallery-icon:hover ~ .gallery-caption {
   visibility: visible;
} 



 /* articles*/
.elementor-widget-container .theimran-post-layout-one {
   min-height: 15vh;
   box-shadow: -3px 3px 19px -2px rgba(75,0,125,0.22);
   -webkit-box-shadow: -3px 3px 19px -2px rgba(75,0,125,0.22);
   -moz-box-shadow: -3px 3px 19px -2px rgba(75,0,125,0.22);
   padding: 5px!important;
   border-radius: 5px;
   transition: all .3s ease-in-out;
}

.elementor-widget-container .theimran-post-layout-one:hover {
   transform: scale(1.1);
}

.elementor-widget-container .theimran-post-layout-one h3 {
   min-height: 10vh;
}

.elementor-widget-container .theimran-post-layout-one .theimran-post-layout-one__thumbnail {
   margin-bottom:15px;
   left: 25%;
}


.ast-separate-container {
    width: 100%;
}

/* menus */

.ast-above-header-bar {
   border: none;
}


/* bibliotheque */

.elementor-tab-content li a, .elementor-tab-content p a  {
   text-decoration: underline;
}


/* woocommerce */

.product-category img {
   border-radius: 15px;
   max-width: 450px;
   margin: 0 auto!important;
}

.product-category img:hover {
   -webkit-animation: bounce-top 0.9s both;
   animation: bounce-top 0.9s both;
}

.astra-shop-thumbnail-wrap img {
   border-radius: 15px;
   max-width: 250px;
   border: 4px solid black; 
}

.woocommerce-checkout .col-1 {
   max-width: 100%;
}

.woocommerce a.button, .woocommerce-page .button {
   background: rgba(255, 255, 255, 0.72)!important;
   color: #4d006b!important;
   border: 1px solid rgba(77, 0, 107, 0.1)!important;

}

.woocommerce a.button:hover, .woocommerce-page .button:hover {
   background: #4d006b!important;
   color:#ffd800!important;
   border: none!important;
   
}

.woocommerce table.shop_table thead, .woocommerce-page table.shop_table thead {
   background: #7b007a;
   color: white;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active:before {
   background: #4d006b;
}

.woocommerce-products-header h1 {
   color: #4d006b;
   font-weight: 700;
   text-align: center;
   margin-bottom: 2%;
  
}

.woocommerce-MyAccount-content .col-1, .woocommerce-MyAccount-content .col-2, #customer_login .col-1, #customer_login .col-2 {
   max-width: 100%;
}

.woocommerce-MyAccount-navigation {
   border: 2px solid #4d006b;
   margin-bottom: 5%;
   font-weight: 700;
}

.woocommerce-MyAccount-navigation li:hover {
   background:#4d006b;
   color:#fff!important;
}

.woocommerce-MyAccount-content a {
   color:#4d006bbb;
}

.woocommerce-MyAccount-content .woocommerce-Address .woocommerce-Address-title {
   background-image: linear-gradient(to right bottom, #4d006b, #58007b, #64008b, #6f009c, #7b00ad);
   border-radius: 15px;
   border: none;
   
}

.woocommerce-MyAccount-content .woocommerce-Address .woocommerce-Address-title h3 {
   color: #fff!important;
   font-weight: 700;
}

.woocommerce-MyAccount-content .woocommerce-Address .woocommerce-Address-title a {
   color: #fff!important;
}

.woocommerce-message, .woocommerce-info, .woocommerce-error {
   border-top-color: #4d006b;
   background: #4d006b18;
}

/* .woocommerce .woocommerce-Addresses address, .woocommerce .woocommerce-MyAccount-content address, .woocommerce .woocommerce-customer-details address, .woocommerce-account .woocommerce-Addresses address, .woocommerce-account .woocommerce-MyAccount-content address, .woocommerce-account .woocommerce-customer-details address {
   border: none;
} */

.woocommerce .woocommerce-Addresses address, .woocommerce .woocommerce-MyAccount-content address, .woocommerce .woocommerce-customer-details address, .woocommerce-account .woocommerce-Addresses address, .woocommerce-account .woocommerce-MyAccount-content address, .woocommerce-account .woocommerce-customer-details address {
   border: none;
}




/* menus */

.ast-mobile-popup-drawer .ast-mobile-popup-inner {
right: unset;

}



/* queries */

@media (max-width: 768px) {

   #kit-media-gal {
      display: flex;
   }

   .elementor-widget-container .theimran-post-layout-one {
      min-height: 8vh;
      box-shadow: -3px 3px 19px -2px rgba(75,0,125,0.22);
      -webkit-box-shadow: -3px 3px 19px -2px rgba(75,0,125,0.22);
      -moz-box-shadow: -3px 3px 19px -2px rgba(75,0,125,0.22);
      padding: 10px!important;
      border-radius: 10px;
      text-align: center;

   }

   .elementor-widget-container .theimran-post-layout-one h3 {
      min-height: 2vh;
   }
   
   .elementor-widget-container .theimran-post-layout-one .theimran-post-layout-one__thumbnail {
      margin-bottom:15px;
      left: 30%;
   }

}

@media (min-width: 922px) {

   #homepage-div  {
      width: 70%;
      border-right: none;
      margin: 0 auto;
   }

   .ast-right-sidebar #primary, .ast-right-sidebar #secondary, .ast-primary-header-bar {
    border-right: none;
    border-left: none;
    border-bottom: none;
   }

   .single-post .site-content > .ast-container{
      max-width: 100%;
   }

   .woocommerce-loop-category__title {
      width: 40%;
      margin: 0 auto;
   }
   
   .woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
      margin: 0 auto;
   }

}

@media (min-width: 993px) {
   .ast-right-sidebar #secondary {
       padding-left: 0;
   }
   }

.ast-right-sidebar {
   padding-left: 0;
}





 