/*
Theme Name: Brooklyn - Squid
Description: Child theme for Brooklyn WordPress theme
Author: Squidart
Author URI: http://squidart.co.za
Template: brooklyn
Version: 1.4.0

License URI: http://opensource.org/licenses/mit-license.php
*/

/********** IMPORT RESPONSIVE BEHAVIOURS **********/
@import "assets/theme-spacing.css?v=1.4.31";

h2 { margin-bottom: 10px; }
h3 { margin-bottom: 12px; }
p, dd, pre, ul, ol, dl { margin-bottom: 12px; }


/* Custom Hero CSS */
.hero-title { line-height: unset; }

/* Fix gap between hero img and body */
#ut-custom-hero .wpb_column.vc_column_container.vc_col-sm-5.vc_col-has-fill {
    margin-bottom: -1px;
}

.hero-title.vc_section .vc_col-has-fill>.vc_column-inner {
    /* padding-top: 0px!important;
    padding-left: 0;
    padding-right: 0;
    background-color: transparent !important */
}
.hero-title h1 {
    /* color: #ffffff; */
    line-height: 0.9em !important;
}

.hero-title h1::after {
    content: "";
    display: block;
    width: 100px;
    height: 10px;
    background: #dc3628;
    margin-top: 28px;
}

@media (min-width: 768px) and (max-width: 1024px){
    .hero-title {
        line-height: unset !important;
    }
}
@media (max-width: 767px) {
    .hero-title {
        line-height: unset !important;
    }
}


/* #header-section .ha-header-front { padding: 0px 35px } */

#ut-custom-hero section { min-height: 350px; }

@media (max-width: 940px) {
    #ut-custom-hero section { min-height: 280px; }
}

@media (max-width: 768px) {
    #ut-custom-hero section { min-height: 230px; }
}

@media (max-width: 480px) {
    #ut-custom-hero section { min-height: 200px; }
}


#ut-custom-hero .hero-content { padding: 0px 35px; }
    #ut-custom-hero section.gallery-hero { min-height: 232px; }

#primary h1.page-title  {
    font-family: "Montserrat";
    margin-bottom: 0.5em;
}

.footer.ut-footer-has-widgets { padding: 0 0 0;}
.footer-logo {
    max-width: 202px;
    margin-bottom: 6px;
}

.footer p.subscribe {
    margin: 10px 0 6px 0;
}

a.footer-navigation-link {
    color: #ffffff !important;
    font-weight: 300;
    line-height: 1.75em;
    display: block;
  }

/* Info section Images */
#main-content .info-image-col .vc_column-inner {
/* 	padding: 0; */
/* 	doesnt match page pillar */
}
.event-text {
    color: #ffffff;
}
.text-accent {
    display: none;
	width: 100px;
	height: 10px;
	/* background: #e07a41; */
	background: #dc3628;
}
.legal-section {
    margin-bottom: 50px;
}
.legal-section p, .legal-section li {
    line-height: 1.45em;
}
.legal-section h2 {
    font-size: 20px;
}
.legal-section ol {
    margin-left: 35px;
}
/* About Us / Accomodation Gallery */
#custom-gallery {	
	padding-left: 30px;
	padding-right: 30px;
}
#custom-gallery.vc_row.vc_row-flex>.vc_column_container>.vc_column-inner {
	padding-left: 10px;
	padding-right: 10px;
}
/* Our Artists Page */
ul.custom-artist-list {
  list-style: none;
  margin-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 2fr));
  gap: 40px;
}
ul.custom-artist-list li a {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: space-between;
    justify-content: center;
    height: 100%;
}
ul.custom-artist-list li a:hover {
    -webkit-box-shadow: 0 15px 15px -10px rgba(0, 0, 0, .15);
    box-shadow: 0 15px 15px -10px rgba(0, 0, 0, .15);
}
ul.custom-artist-list li img {
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    object-fit: cover;
}
ul.custom-artist-list span {
    font-size: 18px;
    font-weight: 400;
    margin: 20px 0;
}
/* Artist Taxonomy Page */ 
#ut-sitebody.tax-artists #header-section:not(.ut-hero-passed) {
  visibility: visible;
}
.tax-artists #ut-custom-hero {
	background: #ffffff;
}
/* Popup CSS ***************************************************************************/
.no-scroll {
    overflow: hidden;
    padding-right: 17px; /* Adjust for scrollbar width */
}
.ha-header {
    z-index: 3 !important;
}
section#newsletter-popup {
    display: none;
    position: fixed;
    z-index: 10; /* header is 10000 */
    background-color: #000000CC;
    top: 0px;
    width: 100vw;
    height: 100vh;
    left: 0px;
}

section#newsletter-popup .vc_row.vc_column-gap-0.ut-row-has-filled-cols,
section#newsletter-popup .vc_row.vc_column-gap-0 {
    background-color: rgb(255 255 255);
    position: absolute;
    z-index: 20000; /* header is 10000 */
    width: 100%;
    max-width: 600px;
    margin: 0 !important;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/* #popupFormContent input {
    display: block !important;
    margin-bottom: 15px !important;
    margin-top: 5px !important;
} */
#newsletter-popup label, 
#newsletter-popup span {
    display: block;
}
#newsletter-popup label { margin-bottom: 14px; }

#openPopupBtn {
    background: #FFFFFF;
    color: #151515;
    padding: 6px 8px;
    display: block;
    width: fit-content;
    margin-top: 4px;
    cursor: pointer;
}

#openPopupBtn:hover {
    background: #dc3628;
    color: #FFFFFF;
}

#closePopupBtn { cursor: pointer; }
.woocommerce ul.products {
  margin: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}


th, td {
    padding: 5px 0px;
}

/* Woocommerce CSS ***************************************************************************/
.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
    margin-bottom: 10px;
}
.woocommerce ul.products li.product a {
    max-width: 100%;
}
.woocommerce ul.products li.product a.button {
    /* margin: 10px 0; */
    /* background-color: #151515; */
    /* color: #FFFFFF; */
    margin-bottom: 10px;
    margin-top: auto;
}
.woocommerce ul.products li.product a.button:hover {
    background-color: #dc3628;
    color: #FFFFFF;
}
.ut-header-cart-mobile {
    display: none !important;
}
/* Custom product Loop */
.woocommerce .products ul,.woocommerce ul.products {
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
.woocommerce ul.products::before {
    content: "";
    display: none;
}
.woocommerce ul.products li.first, .woocommerce-page ul.products li.first { clear: unset }
.woocommerce ul.products li.last, .woocommerce-page ul.products li.last { margin: 0 3.8% 2.992em 0; }

.woocommerce ul.products li.first:nth-child(4n+1), .woocommerce-page ul.products li.first:nth-child(4n+1){ clear: both; }
.woocommerce ul.products li:nth-child(4n+4), .woocommerce-page ul.products li:nth-child(4n+4) { margin-right: 0; }

.woocommerce ul.products li.product {
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* Contactform 7 ***************************************************************************/
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #dc3628;
    background: #dc3628;
    color: #fff;
    margin: 1em 0 0;
}

.wpcf7 select {
    margin-bottom: 20px;
}
/* Product Filter CSS ***************************************************************************/

section#form-section {
    padding-top: 0;
}

#form-section.vc_section .vc_col-has-fill>.vc_column-inner {
    padding-top: 0 !important;
}

#form-section.vc_section .wpb_content_element { margin-bottom: 0; }



@media screen and (min-width:768px){
    /* #product-filter .vc_col-sm-3:nth-child(5) {
        display: flex;
        flex-wrap: wrap;
    }
    #product-filter .vc_col-sm-3 {
        width: 40%;
    }
    #product-filter .vc_col-sm-3:nth-child(5) {
        width: 20%;
    }
    #product-filter .vc_col-sm-3:nth-child(1) .vc_column-inner, 
    #product-filter .vc_col-sm-3:nth-child(3) .vc_column-inner { padding: 0px 10px 0px 40px; }
    #product-filter .vc_col-sm-3:nth-child(2) .vc_column-inner,
    #product-filter .vc_col-sm-3:nth-child(4) .vc_column-inner { padding: 0px 10px; }
    #product-filter .vc_col-sm-3:nth-child(5) .vc_column-inner { padding: 0px 40px 0px 10px; }
    .woocommerce .products ul,.woocommerce ul.products {
        justify-content: unset;
    } */
    
}
/* Tablet / Laptop */
/* @media screen and (min-width:1151px){
    #product-filter .vc_col-sm-3 {
        width: 22%;
    }
    #product-filter .vc_col-sm-3:nth-child(5) {
        width: 12%;
    }
    #product-filter .vc_col-sm-3:nth-child(1) .vc_column-inner { padding: 0px 10px 0px 40px; }
    #product-filter .vc_col-sm-3:nth-child(2) .vc_column-inner,
    #product-filter .vc_col-sm-3:nth-child(3) .vc_column-inner,
    #product-filter .vc_col-sm-3:nth-child(4) .vc_column-inner { padding: 0px 10px; }
    #product-filter .vc_col-sm-3:nth-child(5) .vc_column-inner { padding: 0px 40px 0px 10px; }
} */

#product-filter {
    display: flex;
    column-gap: 40px;
    justify-content: space-between;
    align-items: flex-start;
}

.product-filter-column {
    display: flex;
    flex-wrap: wrap;
    /* align-items: flex-start; */
    justify-content: space-between;
}


.fake-column { display: none; }
.vc_section #product-filter .vc_col-has-fill.vc_col-sm-3 .vc_column-inner { padding-top: 0px !important; }
.vc_section #product-filter .vc_column-inner .wpb_content_element { margin-bottom: 0px; }

.product-filter-column h4 {
    margin-top: 8px;
    margin-bottom: 6px;
    flex-basis: 100%;
}

.product-filter-column input[type="checkbox"] {
    margin: 2px 5px 0 0;
}
.product-filter-column input[type="number"] {
    /* margin: 0 0px 10px 10px; */
    margin: 0;
    width: calc(100% - 75px);
}
#sort-by {
    margin: 0 0 25px 0;
}
.product-filter-column input, 
.product-filter-column label {
    color: #151515;
}
.product-filter-column label {
    display: flex;
    align-items: center;
    flex-basis: 100%;
    margin-bottom: 4px;
}
.product-filter-column label.stretch {
    justify-content: space-between;
}

.product-filter-column label span {
  /* margin-top: 11px; */
}
.product-filter-column select {
    margin-top: 0px;
    width: fit-content;
}
.product-filter-column button /* search */ {
    line-height: 21px;
    text-transform: none;
    font-size: 18px;
    width: max-content;
}
#form-section .wpb_column.vc_column_container.vc_col-sm-12.vc_col-has-fill:nth-child(2) {
    display: none;
}

@media screen and (max-width:1090px){

    #product-filter {
        flex-wrap: wrap;
    }

    .product-filter-column {
        flex: 1 0 21%;
    }

    .product-filter-column button {
        margin-top: 10px;
    }

}

@media screen and (max-width:930px){

    .product-filter-column {
        flex: 1 0 31%;
    }

    .product-filter-column button {
        margin-top: 10px;
    }

}


/* WooCommerce pages ***************************************************************************/

@media screen and (max-width:768px){

    .single-product .main-content-background, 
    .woocommerce-cart .main-content-background, 
    .woocommerce-checkout .main-content-background, 
    .woocommerce-account .main-content-background {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .blog .main-content-background, 
    .archive .main-content-background, 
    .search-results .main-content-background {
        padding-top: 40px;
        padding-bottom: 40px;
    }

}


/* Desktop */
@media screen and (max-width:768px){
    .accommodation-top-image {
        min-height: 240px;
    }
}

/* Product From CSS *****************************************************************************/
.form-section {
    margin-top: 20px;
}
#form-div {
    display: none;
}
.wpcf7-spinner {
    display: none;
}
.form-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    column-gap: 20px;
}
button, 
input[type="submit"]:not(.hero-btn), 
input[type="button"]:not(.hero-btn),
.woocommerce ul.products li.product a.button,
.form-button {
    font-family: sans-serif;
    font-weight: 400;
    border: none !important;
    /* vertical-align: baseline; /* Improves appearance and consistency in all browsers */
    vertical-align: middle; /* Improves appearance and consistency in all browsers */
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    margin-bottom: 10px;
    line-height: 24px;
    background: #151515;
    color: #FFFFFF;
    padding: 8px 12px;
    text-transform: capitalize;
    text-align: center;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background-clip: padding-box;
    -webkit-appearance: none;
    /* width: auto; */
    width: 150px;
    max-width: 100%;
    outline: none !important;
    
    -webkit-transition: all 300ms cubic-bezier(0.215, 0.610, 0.355, 1.000);
    -o-transition: all 300ms cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transition: all 300ms cubic-bezier(0.215, 0.610, 0.355, 1.000); /* easeOutCubic */
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    -o-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); /* easeOutCubic */
}
button:hover, 
button:focus, 
button:active, 
.form-button:hover, 
.form-button:focus, 
.form-button:active, 
input[type="button"]:not(.hero-btn):hover, 
input[type="button"]:not(.hero-btn):focus, 
input[type="button"]:not(.hero-btn):active, 
input[type="submit"]:not(.hero-btn):hover, 
input[type="submit"]:not(.hero-btn):focus, 
input[type="submit"]:not(.hero-btn):active {
    color: #FFFFFF;
    background: #dc3628;
    border: none;
}
/* Events From CSS *****************************************************************************/
#events-section input,
#events-section .wpcf7-not-valid-tip {
    color: #ffffff;
}

/* Spacing Overides */
#custom-gallery .wpb_content_element {
    margin-bottom: 20px;
}

.vc_section .vc_col-has-fill>.vc_column-inner,
.vc_column_container>.vc_column-inner,
.wpb-content-wrapper .vc_section .vc_col-has-fill>.vc_column-inner {
    /* padding-top: 20px!important; */
}

.ut-vc-80.vc_section,.ut-vc-80.vc_section.vc_section-has-fill {
    /* padding-top: 20px!important; */
    /* padding-bottom: 20px!important; */
}

.vc_section.vc_section-has-fill,
.vc_section.vc_section-has-fill+.vc_section,
.vc_section.vc_section-has-fill+.vc_row-full-width+.vc_section {
    /*   padding-top: 35px */
    /* padding-top: 20px!important; */
}

.vc_icon_element,
.wpb_button,
.wpb_content_element,
ul.wpb_thumbnails-fluid>li {
    /*   margin-bottom: 40px */
    /* margin-bottom: 20px!important; */
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button {
    border-radius: 0;
}