/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/enamul-hoque/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, forked by Elementor team
Author: Enamul Hoque Mohon
Author URI: https://enamul-hoque.github.io/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/** [Table of Contents]

    - Nav Menu Widget
    - Basic Gallery: Equal Height
    - Contact Form 7 Widget
    - Utility Class: Image Box Button
	- WooCommerce
**/



/**
 * General Sytling
 */
 a,
 button {
     -webkit-transition: all 0.3s ease 0s;
     transition: all 0.3s ease 0s;
 }
 
 p:last-child {
     margin-bottom: 0;
 }

.hfe-site-logo img {
  display: block;
}

body:not(.page-template-elementor_header_footer) .site-main {
    padding: 90px 0;
}
 
 
 /**
  * Widget: Icon List
  */
 .elementor-icon-list-text {
     -webkit-transition: color .25s;
     transition: color .25s;
 }
 
 
 /**
  * Blog Posts Widget.
  */
 .post_grid {
     display: -ms-grid;
     display: grid;
     -ms-grid-columns: (1fr)[1];
     grid-template-columns: repeat(1, 1fr);
     gap: 20px;
 }
 @media screen and (min-width: 768px) {
     .post_grid {
         display: -ms-grid;
         display: grid;
         -ms-grid-columns: (1fr)[2];
         grid-template-columns: repeat(2, 1fr);
         gap: 20px;
     }
 }
 @media screen and (min-width: 1025px) {
     .post_grid {
         display: -ms-grid;
         display: grid;
         -ms-grid-columns: (1fr)[3];
         grid-template-columns: repeat(3, 1fr);
         gap: 20px;
     }
 }
 
 .post_grid--item {
     position: relative;
     z-index: 0;
 }
 
 .post_grid--img > img {
     display: block;
 }
 
 .post_grid--link {
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
 }
 
 .post_grid--meta {
     margin: 0;
     padding: 0;
     list-style: none;
 }
 
 .post_grid--heading {
     margin: 0;
     -webkit-transition: color .25s;
     transition: color .25s;
 }
 
 .post_grid--pagination {
     text-align: center;
 }
 
 
 /** - Nav Menu Widget **/
 @media (max-width: 1024px) {
     .elementor-widget-navigation-menu {
         position: static;
     }
     
     .hfe-nav-menu__toggle:not(.hfe-active-menu) + .hfe-dropdown {
         display: none;
     }
 
     .hfe-dropdown {
         width: auto !important;
         left: 10px !important;
         right: 10px;
         box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
     }
 }
 
 
 /** Basic Gallery: Equal Height **/
 .bg_equalHeight .gallery-icon > a {
     display: block;
     position: relative;
     z-index: 0;
 }
 
 .bg_equalHeight .gallery-icon > a:before {
     content: "";
     display: block;
     padding-bottom: 100%;
 }
 
 .bg_equalHeight .gallery-icon > a > img {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     -o-object-fit: cover;
        object-fit: cover;
 }
 
 .bg_equalHeight .gallery-icon > a:after {
     content: "";
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background-color: transparent;
     -webkit-transition: background .25s ease-in-out;
     transition: background .25s ease-in-out;
     z-index: 1;
 }
 
 .bg_equalHeight .gallery-icon > a:hover:after {
     background-color: rgba(0, 0, 0, 0.55);
 }
 
 
 /** Contact Form 7 Widget **/
 .webex-contact-form br {
     display: none;
 }
 
 .webex-contact-form p {
     margin: 0;
 }
 
 .webex-contact-form label {
     display: block;
 }
 
 .webex-contact-form .wpcf7-form-control-wrap {
     display: block;
     margin-bottom: 20px;
 }
 
 .webex-contact-form .wpcf7-form-control {
     margin-top: 5px;
     outline: 0;
 }
 
 .webex-contact-form textarea.wpcf7-form-control {
     height: 120px;
 }
 
 .webex-contact-form .wpcf7-not-valid-tip {
     padding-top: 6px;
     font-size: 14px;
 }
 
 .webex-contact-form .wpcf7-submit {
     color: #fff;
     background-color: #000;
     border-width: 0;
     text-align: inherit;
 }
 
 .webex-contact-form .wpcf7-spinner {
     display: none;
 }
 
 .webex-contact-form .wpcf7-form .wpcf7-response-output {
     margin: 25px 0 0;
 }

 @media (min-width: 768px) {
    .webex-cf-group {
        display: -ms-grid;
        display: grid;
        grid-auto-columns: minmax(0, 1fr);
        grid-auto-flow: column;
        gap: 20px;
        width: 100%;
    }
}

/** Utility Class: Image Box Button **/
.image-box-button {
    position: relative;
    z-index: 1;
}

.image-box-button .elementor-image-box-img > a:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.image-box-button .elementor-image-box-description:after {
    content: "Learn More >";
    display: block;
    margin-top: 20px;
    padding: 15px 10px;
    background-color: var(--e-global-color-primary);
    border-radius: 8px;
    -webkit-transition: opacity .25s ease-in-out;
    transition: opacity .25s ease-in-out;
}

.image-box-button:hover .elementor-image-box-description:after {
    opacity: 0.75;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
}

.image-box-button :is(.elementor-image-box-wrapper, .elementor-image-box-content, .elementor-image-box-description) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.image-box-button .elementor-image-box-wrapper {
    min-height: 100%;
}
.image-box-button .elementor-image-box-content {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}
.image-box-button .elementor-image-box-description {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

/** WooCommerce **/
.woocommerce-products-header__title {
    margin: 0 0 50px;
    font-family: "Oswald", sans-serif;
    font-size: 36px;
    line-height: 40px;
    font-weight: 700;
    letter-spacing: 0.72px;
    text-align: center;
}

ul.products:after {
    content: "";
    display: block;
    clear: both;
}
ul.products > li.product {
    border: 1px solid rgb(43, 48, 59);
    border-radius: 6px;
    -webkit-transition: border-color .25s;
    transition: border-color .25s;
}
ul.products > li.product:hover {
    border-color: rgba(201, 29, 29, 0.5);
}
ul.products > li.product > a:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
ul.products > li.product > a > img {
    border-radius: 6px 6px 0 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 10px 25px 0;
    color: rgb(242, 242, 242);
    font-family: "Oswald", sans-serif;
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    text-transform: uppercase;
}

.woocommerce-loop-description {
    padding: 11px 25px 0;
    color: var(--e-global-color-text);
    font-family: "Source Sans 3", sans-serif;
    font-size: 14px;
    line-height: 22px;
}

.woocommerce .price {
    margin: 0 !important;
    padding: 17px 0 28px 25px;
    color: rgb(242, 242, 242) !important;
    font-family: "Oswald", sans-serif;
    font-size: 24px !important;
    line-height: 32px;
    letter-spacing: 0.48px;
}

.woocommerce .summary .price {
    padding-top: 0;
    padding-left: 0;
}

.woocommerce ul.products li.product .button {
    position: absolute;
    right: 25px;
    bottom: 22px;
    padding: 10px 20px;
    color: #fff;
    background-image: linear-gradient(135deg, rgb(201, 29, 29), rgb(221, 60, 60));
    font-family: "Oswald", sans-serif;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.28px;
    font-weight: 400;
    text-transform: uppercase;
    border-radius: 4px;
}

.woocommerce-breadcrumb,
.woocommerce-result-count,
.woocommerce-ordering,
.product_meta,
.woocommerce div.product .woocommerce-tabs ul.tabs,
section.related.products {
    display: none;
}

table.variations tbody tr th.label {
    display: none !important;
}

table.variations tbody tr td.value {
    background-color: transparent;
}

.woocommerce div.product form.cart .reset_variations {
    display: none !important;
}

.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item {
    display: inline-block;
    margin: 0 10px 8px 0;
    padding: 0 7px;
    color: rgb(143, 150, 163);
    background-color: transparent;
    border: 1px solid rgb(43,48,59);
    border-radius: 4px;
    box-shadow: none;
    font-family: "Oswald", sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.24px;
    text-transform: uppercase;
}
.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item:hover {
    border-color: rgba(201, 29, 29, 0.5);
}
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item.selected:not(.no-stock) {
    color: #fff;
    background-color: var(--e-global-color-primary);
    border-color: var(--e-global-color-primary);
}

.woocommerce-variation-price {
    padding-bottom: 30px;
}

.woocommerce .quantity .qty {
    margin-right: 10px;
    padding: 10px;
    color: #fff;
    background-color: transparent;
    border-color: rgb(43, 48, 59);
    border-radius: 4px;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt {
    color: #fff;
    font-family: "Oswald", sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    letter-spacing: 0.28px;
    text-transform: uppercase;
    background-image: linear-gradient(135deg, rgb(201, 29, 29), rgb(221, 60, 60));
    border-radius: 4px;
    padding: 13px 30px;
}

.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name, table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name {
    color: #fff;
    font-size: 17px;
    font-weight: 500;
}

.wc-block-components-formatted-money-amount {
    color: #fff;
}

.wc-block-components-button:not(.is-link) {
    color: #fff;
    font-family: "Oswald", sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    letter-spacing: 0.28px;
    text-transform: uppercase;
    background-image: linear-gradient(135deg, rgb(201, 29, 29), rgb(221, 60, 60));
    border-radius: 4px;
    padding: 13px 30px;
}

.woocommerce form .form-row .input-text, .woocommerce form .form-row select,
:where(.woocommerce) .select2-container .select2-selection--single .select2-selection__rendered {
    color: #fff;
    background-color: rgb(26, 29, 35);
    border-color: rgb(56, 47, 56);
    box-shadow: none;
    outline: 0;
}

.woocommerce-info {
    color: #fff;
    border-top-color: #000;
    background-color: #111416;
}

@media (max-width: 768px) {
    .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
        width: 100%;
    }

    .woocommerce ul.products li.product .price {
        font-size: 20px;
    }
}
