/*
Theme Name: S4G Theme Child
Theme URL: http://aionsigma.com/
Description: S4G main theme customization
Author: Radu Ancuta
Author URL: http://aionsigma.com/
Template: astra
Version: 1.0.0
Text Domain: s4g-theme-child
*/

/*
body {
    font-family: "Lato", Sans-serif !important;
}
*/


/* Donor page scroll arrow */
.scroll-wrapper {margin-top: -80px;}
.scroll {
    font-weight: 600;
    font-size: 60px;
    color: #859ab8aa;
    text-align: center;
    width: 100%;

    -webkit-animation: scrolling 1.7s ease infinite;
    -moz-animation: scrolling 1.7s ease infinite;
    -o-animation: scrolling 1.7s ease infinite;
    animation: scrolling 1.7s ease infinite;
}

@keyframes scrolling {
  0% {
    transform: translate(0);
  }
  50% {
    transform: translate(0,5px);
}
  100% {
    transform: translate(0);
  }
}

/* ********************* */

/* Main page ambassadors grid */
.elementor-slideshow__footer {
    display: none;
}

#AmbassadorsGrid .elementor-image-gallery .gallery-item img {
    object-fit: cover;
    object-position: center;
    vertical-align: middle;
}
/* ********************* */

/* Donors testimonials */
#Donnors .elementor-image-box-content {
    background-color: #fff;
    padding: 25px 28px;
}

#Donnors .elementor-image-box-img img {
    width: 120px;
}

#Donnors .elementor-image-box-title {
    margin-top: 0px;
    margin-bottom: 0px;
}

#Donnors .elementor-image-box-description {
    margin-top: 7px !important;
}

#Donnors .elementor-image-box-content:before {
    width: 22px;
    height: 22px;
    background-color: #fff;
    content: "";
    position: absolute;
    left: 118px;
    transform: rotate(135deg);
}

@media (max-width: 767px) {
    #Donnors .elementor-image-box-content:before {
        left: unset;
        top: 147px;
    }
}
/* ********************* */

/* Why donate and what next sections */
.WhyNumber {
    position: relative !important;
    top: 20px;
    z-index: 1;
    left: 24px;
    margin: 0px !important;
    height: 0px;
}

.WhyNumber h2 {
    color: #fff !important;
}

@media (max-width: 767px) {
    #WhyDonate .WhyNumber {
        left: 50%;
        width: 20px;
    }
    #WhyDonate .WhyNumber h2 {
        margin-left: -6px;
    }

    #WhatNext .elementor-icon-box-wrapper {
        display: flex;
    }

    #WhatNext .elementor-icon-box-content {
        padding-left: 10px;
    }

    #WhatNext .elementor-icon-box-icon {
        margin-top: 5px;
    }

    #WhatNext .WhyNumber {
        top: 17px;
        left: 15px;
    }
}

@media (min-width: 768px) {
    #WhatNext .elementor-icon-box-icon {
        margin-top: -20px !important;
    }

    #WhatNext .WhyNumber {
        top: -7px;
        left: 16px;
    }
}

/* ********************* */

/* FAQ section */
.elementor-toggle-icon {
    font-size: 22px;
    width: 32px !important;
    height: 31px;
    text-align: center !important;
    margin-top: -5px;
}

.elementor-toggle-icon-opened,
.elementor-toggle-icon:hover .elementor-toggle-icon-closed {
    background-color: #FF822E;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.elementor-toggle-icon-opened {
    padding-top: 3px;
}

.elementor-toggle-icon-closed {
    padding-top: 5px;
}

.elementor-toggle-icon-opened i:before,
.elementor-toggle-icon:hover i:before {
    color: #fff !important;
}

/* ********************* */

/* Donation form section */
.nf-form-fields-required {
    display: none;
}

.nf-response-msg {
    text-align: center;
}

.donate-bulk-link {
    padding-top: 10px;
}

.donate-bulk-link a:hover,
.donate-bulk-link a {
    color: #fff !important;
    text-decoration: underline;
}

#SignUpForm .nf-after-form-content,
#DonationForm .nf-after-form-content {
    text-align: center;
}

@media (max-width: 800px) {
    .donate-bulk-link {
        text-align: center;
    }
}

@media (min-width: 768px) and (max-width: 800px) {
    #DonationForm .submit-container {
        text-align: center;
    }
}

.fix-error-message {
    margin-bottom: 0px !important;
}

@media (min-width: 801px) {
    #DonationForm .phone-entry {
        min-height: 150px;
    }

    #DonationForm .phone-entry .nf-field {
        position: absolute;
        bottom: 0px;
    }
}

#DonationForm .one-half {
    margin-top: 25px;
}

#DonationForm .entrepreneurlist-wrap select.ninja-forms-field:focus {
    background: buttonface;
}

/* ********************* */

/* Shop */

/* header*/
.site-header {
    display: none !important;
}

#ShopMainHeader {
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 999;
}

/* cart */

#ShopCartContainer .elementor-column {
    min-height: 0px !important;
}

#ShopCart {
    position: fixed;
    top: 120px;
    right: 50px;
    z-index: 999;
    width: unset;
}

#ShopCart .elementor-button-text {
    position: absolute;
    right: 120%;
    background: #292929;
    padding: 9px 13px;
    color: #fff;
    display: none;
    opacity: 0;
    transition: opacity 0.3s linear;
}

#ShopCart .elementor-button-text:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: solid transparent;
    border-width: 10px;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    border-left-color: #292929;
}

#ShopCart #hfe-menu-cart__toggle_button {
    box-shadow: 0 0 10px 0 rgba(0,0,0,.2);
    transition: transform 0.2s ease-in-out;
}

#ShopCart #hfe-menu-cart__toggle_button:hover {
    transform: scale(1.1);
}

#ShopCart #hfe-menu-cart__toggle_button:hover .elementor-button-text:after {
    right: -19px;
}

#ShopCart #hfe-menu-cart__toggle_button:hover .elementor-button-text {
    display: block;
    opacity: 1;
}

#ShopCart .elementor-button-icon {
    margin: 15px;
}

#ShopCart .elementor-button-icon[data-counter="0"] {
    display: none;
}

#ShopCart .elementor-button-icon[data-counter]:before {
    right: -20px;
    top: 40px;
    height: 30px;
    width: 30px;
    font-size: 16px;
    padding-top: 3px;
}

@media (max-width: 767px) {
    #ShopCart {
        right: 20px;
    }

    #ShopCart .elementor-button-icon {
        font-size: 30px;
    }

    #ShopCart .elementor-button-icon[data-counter]:before {
        top: 30px;
        height: 24px;
        width: 24px;
        font-size: 14px;
        padding-top: 0px;
    }
}

/* products grid */

#S4GWoocommerce .woocommerce-product-gallery__trigger {
    right: unset;
    left: .5em;
}

#S4GWooDetails span.onsale,
#S4GWoocommerce span.onsale {
    right: 10px;
    top: 10px;
    left: unset;
    width: 50px;
    height: 50px;
    transform: unset;
    border-radius: 50px;
    text-shadow: unset;
    line-height: 50px;
    background-color: #1E57BE;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 400;
}

#S4GWooDetails .woocommerce ul.products,
#S4GWoocommerce .woocommerce ul.products {
    grid-gap: 40px;
}

#S4GWooDetails .price del,
#S4GWoocommerce .price del {
    color: #555;
}

#S4GWooDetails .price ins,
#S4GWoocommerce .price ins {
    color: #57bf6d;
    text-decoration: none;
}

#S4GWoocommerce div.entry-summary p.price {
    font-size: 36px;
}

#S4GWoocommerce div.entry-summary .price del {
    opacity: 0.5;
}

#S4GWoocommerce div.entry-summary .price del .amount {
    font-size: 20px;
    color: #ababab;
}

/* Product page */
#S4GWoocommerce .flex-viewport {
    margin-bottom: 20px;
}

#S4GWoocommerce .flex-control-thumbs li {
    margin-right: 3%;
    margin-bottom: 15px;
    width: 22%;
}


#S4GWooDetails .woocommerce-tabs ul.tabs li a {
    color: #999;
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
    margin-top: -1px;
    margin-bottom: -1px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 90%;
    padding: 10px;
}

#S4GWooDetails .woocommerce-tabs ul.tabs li::after,
#S4GWooDetails .woocommerce-tabs ul.tabs li.active::after,
#S4GWooDetails .woocommerce-tabs ul.tabs li::before,
#S4GWooDetails .woocommerce-tabs ul.tabs li.active::before,
#S4GWooDetails .woocommerce-tabs ul.tabs li.active {
    border: unset;
    box-shadow: unset;
}

#S4GWooDetails .woocommerce-tabs ul.tabs li.active a {
    color: #13aff0;
    border-color: #13aff0;
}

#S4GWooDetails .woocommerce-tabs ul.tabs {
    display: block;
    position: relative;
    width: 100%;
    border-top: 1px solid;
    border-bottom: 1px solid;
    margin-bottom: 20px;
    text-align: center;
    border-color: #eaeaea;
}

#S4GWooDetails .woocommerce-tabs ul.tabs::before {
    border: unset;
}

#S4GWooDetails .woocommerce-tabs .panel h2:first-child {
    font-size: 18px;
    color: #000;
}

#S4GWooDetails .woocommerce-tabs .panel {
    color: #929292;
    font-size: 15px;
}

/* #S4GWoocommerce .price,
#S4GWoocommerce .price .amount {
    display: inline-flex;
    flex-direction: row-reverse;
} */

#S4GWooDetails li.product {
    text-align: center;
    width: 30%;
    margin-left: 10px;
    margin-right: 10px;
}

#S4GWooDetails li.product .button {
    background-color: transparent;
    border: 3px double #e4e4e4;
    color: #848494;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.1em;
    padding: 5px 12px;
    border-radius: 0px;
}

#S4GWooDetails li.product .button:hover {
    background-color: transparent;
    color: #13aff0;
    border-color: #13aff0;
}

#S4GWooDetails li.product a {
    color: #333;
}

#S4GWooDetails li.product a:hover{
    color: #13aff0;
}

#S4GWooDetails li.product .price ins {
    font-size: 18px;
    font-weight: 400;
}

/* ********************* */

/* Lori password protected page */
.post-password-form {
  width: 30vw;
  height: 30vh;
  text-align: center;
  margin: 15vh auto;
}

.post-password-form label {
  display: inline-flex;
}

.post-password-form input {
  margin-left: 10px;
}

.post-password-form input[type="submit"] {
  margin-left:15px;
  color: #CC3366 !important;
}
