/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.18.2
*/

/*************** ADD CUSTOM CSS HERE. ***************/
@font-face {
  font-family: 'Crimson Text';
  font-weight: 400;
  src: url('./assets/fonts/crimson-text/CrimsonText-Regular.ttf')  format('truetype'), /* Safari, Android, iOS */
}

@font-face {
  font-family: 'Crimson Text';
  font-weight: 500;
  src: url('./assets/fonts/crimson-text/CrimsonText-Regular.ttf')  format('truetype'), /* Safari, Android, iOS */
}

@font-face {
  font-family: 'Crimson Text';
  font-weight: 600;
  src: url('./assets/fonts/crimson-text/CrimsonText-SemiBold.ttf')  format('truetype'), /* Safari, Android, iOS */
}

@font-face {
  font-family: 'Crimson Text';
  font-weight: 700;
  src: url('./assets/fonts/crimson-text/CrimsonText-Bold.ttf')  format('truetype'), /* Safari, Android, iOS */
}

@font-face {
  font-family: 'Crimson Text';
  font-weight: bold;
  src: url('./assets/fonts/crimson-text/CrimsonText-Bold.ttf')  format('truetype'), /* Safari, Android, iOS */
}


:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-grey: #cccccc;
    --FontAwesome: 'Font Awesome 5 Free';
    --font-html-size: 62.5%;
}

html {
    font-size: var(--font-html-size);
        font-family: 'Crimson Text' !important;
}

body {
    font-size: 1.4rem !important;
    font-family: 'Crimson Text' !important;
    font-weight:400;
}

h1,
.h1 {
    font-size: 2.6rem;
}

h2,
.h2 {
    font-size: 2.4rem;
}

h3,
.h3 {
    font-size: 2.1rem;
}

.top-title h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2.4rem;
}

p {
    margin-bottom: 1.5rem;
}

.button {
    font-size: 1em;
}

#main {
    min-height: 50rem;
}

label {
    color: var(--color-black);
    font-size: 1.4rem;
    font-weight: 500;
}

.select-resize-ghost,
.select2-container .select2-choice,
.select2-container .select2-selection,
input[type='date'],
input[type='email'],
input[type='number'],
input[type='password'],
input[type='search'],
input[type='tel'],
input[type='text'],
input[type='url'],
select,
textarea {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
    color: #333;
    font-size: 1.4rem;
    height: 2.507em;
    max-width: 100%;
    padding: 0 0.75em;
    transition: color 0.3s, border 0.3s, background 0.3s, opacity 0.3s;
    vertical-align: middle;
    width: 100%;
    font-family: 'Crimson Text';
}

.swal2-popup.swal2-modal {
    font-size: 1em;
}
form .button {
    font-size: 1.4rem;
    font-weight: 500;
    text-transform: initial;
    font-family: 'Crimson Text';
}

form .button:not(.icon) > i {
    margin-left: 0;
    margin-right: 0.4em;
    font-size: 1.2rem;
}

.col-child-center > .col-inner {
    margin-left: auto !important;
    margin-right: auto !important;
}

.col-child-left > .col-inner {
    margin-left: auto !important;
    margin-right: 0 !important;
}

.col-child-right > .col-inner {
    margin-left: 0 !important;
    margin-right: auto !important;
}

.page-wrapper {
    padding-top: 7rem;
}

.box-category .box-text.is-large .header-title {
    font-size: 1.8rem;
}

.box.box-blog-post,
.box.product-small {
    border-right: 1px solid #fff;
}

.product-small.box .box-text {
    font-size: 1.4rem;
}

.product-small.box .box-text .product-title {
    margin-bottom: 0.5rem;
}

.product-small.box  .woocommerce-Price-currencySymbol {
    margin-left: .4rem;
}

.box-blog-post .box-text {
    font-size: 1em;
}

.box-blog-post .box-text .post-title.is-large {
    font-size: 1.6rem;
}

.box-blog-post .box-text .post-title + .is-divider {
    display: none;
}
/*************** HEADER ***************/

#header #masthead .nav.nav-left.nav-spacing-medium > li {
    margin: 0 15px;
}

#header #masthead .header-nav-main li a {
    font-size: 1.6rem;
}

#header #masthead .icon-search {
    font-size: 1.8rem !important;
}

#header #masthead .header-cart-link .cart-icon {
    font-size: 1.2rem;
}

#header #masthead .account-link .icon-user::before {
    content: '\f007';
    font-family: var(--FontAwesome);
    font-weight: 400;
}

#header .nav-dropdown-default {
    padding: 1rem 0;
    min-width: 20rem;
}

#header .header-search-dropdown .nav-dropdown-default {
 	left:auto ;
	right:-3rem;
    padding: 2rem 0;
    border-radius: 0.4rem;
}

#header .header-search-dropdown .nav-dropdown-default li {
    padding: 0 1.2rem;
}

#header .header-search-dropdown  input{
    height: 4rem;
    background: #f5f5f5;
    border-radius: .4rem 0 0 .4rem;
    border-right: 0;
	box-shadow:none
}

#header .header-search-dropdown .submit-button {
    height: 4rem;
    background: #f5f5f5;
    border-radius:  0 .4rem .4rem 0;
    border-left: 0;
	color:#000;
		box-shadow:none
}


#header .header-search-dropdown .submit-button i {
    font-size: 1.4rem !important;
}


#header .header-search-dropdown .submit-button .icon-search {
    font-size: 1.4rem !important;
}

.cart-popup-inner .widget_shopping_cart_content .price-wrapper {
    font-size: 1em;
    opacity: 1;
}

a.icon-remove,
a.remove {
    border: 1px solid;
    border-radius: 100%;
    color: #000;
    display: block;
    font-size: 15px !important;
    font-weight: 700;
    height: 20px;
    line-height: 18px !important;
    text-align: center;
    width: 20px;
}

.nav-dropdown-default .nav-column li > a,
.nav-dropdown.nav-dropdown-default > li > a {
    border: none;
    padding: 0.6rem 0;
}
.nav-column > li > a,
.nav-dropdown > li > a,
.nav-vertical-fly-out > li > a,
.nav > li > a {
    color: #000;
}
.header-nav .icon-angle-down {
    opacity: 1;
}

.header-nav .icon-angle-down:before {
    content: '\f107';
    font-weight: bold;
    font-family: var(--FontAwesome);
}

.page-wrapper .entry-header .entry-title {
    margin-bottom: 1.2rem;
    text-align: center;
    font-weight: 500;
}
/*************** END HEADER ***************/

/*************** FOOTER ***************/
#footer {
    border-top: 1px solid #e8e8e1;
}

#footer form .form-fields-wrapper {
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--color-black);
    max-width: 30rem;
}

#footer form .form-fields-wrapper input,
#footer form .form-fields-wrapper button {
    border: none;
    height: 4rem;
    margin: 0;
    box-shadow: none;
    padding: 0;
}

#footer form .form-fields-wrapper button {
    margin-left: 1rem;
}

#footer form .form-fields-wrapper button i {
    font-size: 2.4rem;
}

#footer .follow-icons a {
    color: var(--color-black);
}

/*************** END FOOTER ***************/

/*************** SHOP PAGE ***************/
.woocommerce .yith-wcan-filters {
    margin-bottom: 0rem;
}
.woocommerce .yith-wcan-filters.horizontal  .filters-container form {
    text-align: center;
}

.yith-wcan-filters .filter-color a {
    width: 100%;
}
.yith-wcan-filters .filter-items .filter-item:hover,
.yith-wcan-filters .filter-items .filter-item.active {
    background: var(--color-black);
    color: var(--color-white);
    padding: 0 0.5rem;
    border-radius: 0.4rem;
}

.yith-wcan-filters .filter-items .filter-item:hover a,
.yith-wcan-filters .filter-items .filter-item.active a {
    color: inherit !important;
    width: 100%;
    display: block;
}

.yith-wcan-filters .color-design .filter-items .filter-item:hover,
.yith-wcan-filters .color-design .filter-items .filter-item.active {
    background: transparent;
    color: var(--color-white);
    padding: 0;
    border-radius: 0.4rem;
}

.yith-wcan-filters .show-more {
    width: 100%;
    display: block;
    text-align: center;
    cursor: pointer;
}

.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item.filter-has-1-column {
    display: inline-block;
    margin: 0 5px 0px;
    vertical-align: top;
    width: calc(100% - 10px);
}

.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item.color .term-color {
    width: 100%;
    border-radius: 0.6rem;
}

.yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter .filter-title.collapsable {
    border: 1px solid #d7d7d7;
    border-radius: 4px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 10px;
    margin-right: 0;
    padding: 5px 30px 5px 10px;
    background: #f5f5f5;
}

.yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter .filter-title.collapsable + .filter-content {
    min-width: 20rem;
    padding: 1rem;
}

.yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter .filter-title.collapsable.opened,
.yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter .filter-title.collapsable.opened + .filter-content {
    border: 1px solid rgb(0 0 0 / 10%);
    box-shadow: 0 0 7px 0 rgb(0 0 0 / 20%);
}

.yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter .filter-title.collapsable:after {
    right: 10px;
}
/*************** END  SHOP PAGE ***************/

/*************** HOME PAGE ***************/
.instagram-section .slider .img {
    max-width: 25% !important;
}

/*************** END HOME PAGE ***************/

/*************** BLOG ARCHIVE ***************/
.blog-archive .archive-page-header .page-title {
    margin-bottom: 0;
    font-weight: 500;
}

.blog-archive .archive-4-col .box-blog-post .box-text {
    background: #f4f4f4;
    padding: 1rem 1.5rem;
}

/*************** END BLOG ARCHIVE ***************/

/*************** BLOG SINGLE  ***************/

.blog-single {
    padding-bottom: 0;
}

.blog-single .entry-content {
    padding-bottom: 0;
}
.blog-single .entry-image img {
    width: auto;
}

.blog-single .entry-image {
    text-align: center;
}

.blog-single .entry-title {
    font-weight: 500;
}

.blog-single .full_width_style .entry-content {
    padding: 0 15rem;
}

.blog-single .full_width_style .gallery {
    margin: 0 -15rem;
}

.blog-single .full_width_style .gallery-item {
    padding: 0 !important;
    flex-basis: 25%;
    max-width: 25%;
}

.blog-single .full_width_style .gallery-item image {
    width: 100%;
}

/*************** END BLOG SINGLE ***************/

/*************** END SINGLE PRODUCT ***************/

.single-product .related {
    border: none;
}
.single-product .related .product-section-title {
    text-align: center;
    font-size: 1.5rem;
}

.single-product .related > .row {
    max-width: 100%;
}

.single-product .product-gallery .flickity-slider > .col {
    flex-basis: 20%;
    max-width: 20%;
    padding: 0 0.5rem;
}

.single-product .product-thumbnails a {
    padding: 0.5rem;
}

.single-product .product-thumbnails .is-nav-selected a,
.single-product .product-thumbnails a:hover {
    border-color: rgba(0, 0, 0, 1);
}

.single-product .product-gallery .flickity-slider > .col img {
    transform: translateY(0px);
    margin-bottom: 0;
}

.single-product .product-info .product-title {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    text-transform: capitalize;
}

.single-product .product-info .amount {
    font-size: 22px;
    font-weight: 600;
    margin-right: 15px;
}

.single-product .product-info .amount .woocommerce-Price-currencySymbol {
    font-size: 22px;
    font-weight: 600;
    margin-right: 15px;
	    margin-left: .4rem;
}

.single-product .product-info .quantity input {
    width: 4.5rem;
    max-width: 4.5rem;
    height: 4.5rem;
    background-color: var(--color-white);
}

.single-product .product-info .single_add_to_cart_button {
    background-color: var(--color-white);
    color: var(--color-black);
    min-height: 4.5rem;
    box-shadow: none;
    border-color: var(--color-black);
    font-weight: bold;
}

.single-product .product-info .single_add_to_cart_button:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

/*************** END SINGLE PRODUCT ***************/

/*************** CART PAGE ***************/
.woocommerce-cart .quantity input {
    min-width: 3.6rem;
    height: 3.6rem;
}

/*************** END CART PAGE ***************/

/*************** CHECKOUT PAGE ***************/
#payment_method_cod {
    display: inline-block !important;
}
/*************** END CHECKOUT PAGE ***************/

@media only screen and (min-width: 850px) {
    .single-product .product-images,
    .single-product .product-thumbnails {
        width: 85% !important;
    }
    #header #masthead .nav.nav-left {
        justify-content: center;
    }
}

@media only screen and (max-width: 1200px) {
    #header #masthead .nav.nav-left.nav-spacing-medium > li {
        margin: 0 .8rem;
    }
    #header #masthead .header-nav-main li a {
        font-size: 1.2rem;
    }

    #logo {
        width: 12rem !important;
    }
}
@media only screen and (max-width: 849px) {
    /*************** ADD TABLET CSS HERE  ***************/
    .blog-single .full_width_style .entry-content {
        padding: 0 1.5rem;
    }

    #logo {
        width: 20rem !important;
    }

    .off-canvas-left.mfp-ready .mfp-content, .off-canvas-right.mfp-ready .mfp-content {
        background-color: hsla(0, 0%, 100%, 1);
    }

    .off-canvas .nav-vertical>li a {
       font-size: 1.4rem;
       color: var(--color-black);
       text-transform: uppercase;
    }

    .mfp-ready .mfp-close {
        opacity: 1;
        color: var(--color-white);
    }

    .blog-single .full_width_style .gallery {
        margin: 0rem;
    }

    .blog-single .full_width_style .gallery-item {
        flex-basis: 50%;
        max-width: 50%;
    }

    .single-product .product-info .cart {
        display: flex;
        align-items: center;
    }

    .single-product .product-info .single_add_to_cart_button {
        width: 100%;
    }

    .single-product .product-info .product-title,
    .single-product .price-wrapper .price {
        text-align: center;
    }
	
		
	.instagram-section .slider .img {
		max-width: 33.34% !important;
	}
}

@media only screen and (max-width: 549px) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
	
	.instagram-section .slider .img {
		max-width: 50% !important;
	}
}

@media only screen and (max-width: 400px) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .blog-single .full_width_style .gallery-item {
        flex-basis: 100%;
        max-width: 100%;
    }

    .single-product .product-info .cart {
        flex-wrap: wrap;
        justify-content: center;
    }

    .single-product .product-info .quantity input {
        width: 4rem;
        max-width: 4rem;
        height: 4rem;
        background-color: var(--color-white);
    }

    .single-product .product-info .single_add_to_cart_button {
        min-height: 4rem;
    }
}
