/*
Theme Name: British Art Club
Text Domain: bac-theme
Version: 1.0
Requires at least: 4.7
Requires PHP: 5.2.4
Description: 
Author: 
Author URI:
Theme URI: https://wordpress.org/themes/british-art-club/
*/

body{
    scroll-behavior: smooth;
}
html{
    margin-top:0px!important;
}
/* set global colours & fonts*/
:root{
    --primary-color: #274c77; /*#e2113b;*/
    --secondary-color: #dcedf6;
    --third-color: #a8441d;
    --forth-color: #faf8f4;
    --fifth-color:#d8d6ba;
}
html *
{
    font-family: "ff-tisa-web-pro",serif;
}
.font-primary{
    font-family: "ivypresto-display",serif;
}
.font-secondary{
    font-family: "ff-tisa-web-pro",serif;
}
.font-third, .font-third *, h1, h1 *, h2, h2 *, h3, h3 *{
    font-family: "brother-1816-printed",sans-serif;
}
.font-forth{
    font-family: "league-gothic",sans-serif;
}
.text-primary{
    color: var(--primary-color) !important;
}
.text-secondary{
    color: var(--secondary-color) !important;
}
.text-third{
    color: var(--third-color) !important;
}
.text-forth{
    color: var(--forth-color) !important;
}
.text-fifth{
    color: var(--fifth-color) !important;
}
.bg-primary{
    background: var(--primary-color) !important;
}
.border-primary{
    border-color: var(--primary-color) !important;
}
.bg-secondary{
    background: var(--secondary-color) !important;
}
.bg-third{
    background: var(--third-color) !important;
}
.bg-forth{
    background: var(--forth-color) !important;
}
.bg-fifth{
    background: var(--fifth-color) !important;
}
.current-menu-item > a, .current-menu-ancestor > a, .active, .current-menu-item > a span, .current-menu-ancestor > a span, .active{
    color: var(--primary-color);
}
.current-menu-item.text-black > a, .current-menu-ancestor.text-black > a, .active, .current-menu-item.text-black > a span, .current-menu-ancestor.text-black > a span, .active{
    color: #000000;
}
.footer-nav .current-menu-item > a, .footer-nav .current-menu-ancestor > a, .footer-nav .active, .footer-nav .current-menu-item > a span, .footer-nav .current-menu-ancestor > a span{
    color: #FFF !important;
}
.custom-btn-outline-primary/*, .custom-btn-primary:hover*/{
    color: var(--primary-color) !important;
    background-color: #FFF !important;
    border-color: var(--primary-color) !important;
    opacity: 1;
}
.custom-btn-outline-primary-transparent/*, .custom-btn-primary:hover*/{
    color: var(--primary-color) !important;
    background-color:transparent !important;
    border-color: var(--primary-color) !important;
    opacity: 1;
}
.custom-btn-outline-primary:hover, .custom-btn-outline-primary.active, .custom-btn-outline-primary-transparent:hover, .custom-btn-primary{
    color: #FFF !important;
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    opacity: 1;
}
.custom-btn-primary:hover{
    color: var(--primary-color) !important;
    background-color: transparent !important;
    border-color: var(--primary-color) !important;
    opacity: 1;
}
.custom-btn-outline-secondary/*, .custom-btn-secondary:hover*/{
    color: var(--secondary-color) !important;
    background-color: #FFF !important;
    border-color: var(--secondary-color) !important;
    opacity: 1;
}
.custom-btn-outline-secondary-transparent/*, .custom-btn-secondary:hover*/{
    color: var(--secondary-color) !important;
    background-color:transparent !important;
    border-color: var(--secondary-color) !important;
    opacity: 1;
}
.custom-btn-outline-secondary:hover, .custom-btn-outline-secondary.active, .custom-btn-outline-secondary-transparent:hover, .custom-btn-secondary{
    color: #FFF !important;
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    opacity: 1;
}
.custom-btn-secondary:hover{
    color: var(--secondary-color) !important;
    background-color: transparent !important;
    border-color: var(--secondary-color) !important;
    opacity: 1;
}
.custom-btn-outline-third/*, .custom-btn-third:hover*/{
    color: var(--third-color) !important;
    background-color: #FFF !important;
    border-color: var(--third-color) !important;
    opacity: 1;
}
.custom-btn-outline-third-transparent/*, .custom-btn-third:hover*/{
    color: var(--third-color) !important;
    background-color:transparent !important;
    border-color: var(--third-color) !important;
    opacity: 1;
}
.custom-btn-outline-third:hover, .custom-btn-outline-third.active, .custom-btn-outline-third-transparent:hover, .custom-btn-third{
    color: #FFF !important;
    background-color: var(--third-color) !important;
    border-color: var(--third-color) !important;
    opacity: 1;
}
.custom-btn-third:hover{
    color: var(--third-color) !important;
    background-color: transparent !important;
    border-color: var(--third-color) !important;
    opacity: 1;
}
.custom-btn-outline-forth/*, .custom-btn-forth:hover*/{
    color: var(--forth-color) !important;
    background-color: #FFF !important;
    border-color: var(--forth-color) !important;
    opacity: 1;
}
.custom-btn-outline-forth-transparent/*, .custom-btn-forth:hover*/{
    color: var(--forth-color) !important;
    background-color:transparent !important;
    border-color: var(--forth-color) !important;
    opacity: 1;
}
.custom-btn-outline-forth:hover, .custom-btn-outline-forth.active, .custom-btn-outline-forth-transparent:hover, .custom-btn-forth{
    color: var(--primary-color) !important;
    background-color: var(--forth-color) !important;
    border-color: var(--forth-color) !important;
    opacity: 1;
}
.custom-btn-forth:hover{
    color: var(--forth-color) !important;
    background-color: transparent !important;
    border-color: var(--forth-color) !important;
    opacity: 1;
}
.custom-btn-paypal{
    background-color: #ffc439 !important;
    border:1px solid #ffc439 !important;
    opacity: 1;
}
.custom-btn-stripe{
    background-color: #fff !important;
    border:1px solid #0A2540 !important;
    opacity: 1;
}
.custom-btn-paypal:hover, .custom-btn-stripe:hover{
    background-color:transparent !important;
}
.custom-btn-primary:focus, .custom-btn-outline-primary:focus{
    box-shadow: 0 0 0 0 !important
}
/* font sizes */
.fs-7{
    font-size:12px !important;
}
/* article heading sizes */
h2{
    font-size: 26px;
}
h3{
    font-size: 24px;
}
h4{
    font-size: 22px;
}
/* remove blue bg from dropdown click */
.dropdown-item:active{
    color: #1e2125;
    background-color: #e9ecef;
}

.border-light{
    border-color: #e0e0e0 !important;
}
img{
    max-width:100%;
    height:auto;
}
#article-content a, #info-page-content a, #content.artforsale a{
    color: var(--primary-color) !important;
}
#article-content a:hover, #info-page-content a:hover, #content.artforsale a:hover, nav a:hover{
    color: var(--primary-color) !important;
    opacity: 0.5;
}
a:hover, .newsletter-btn:hover, .media-pack:hover{
    color: var(--primary-color) !important;
}
/*
#article-newsletter-body h3{
    font-family: "ivypresto-display",serif;
    color: var(--primary-color) !important;
}
#article-newsletter-body p {
    font-family: "ff-tisa-web-pro",serif;
    color: var(--primary-color) !important;
}
#article-newsletter{
    border-color: var(--primary-color) !important;
    color: black !important;
}
*/
.nav-social-outer a:hover{
    color: var(--third-color) !important;
}
.subs-btn:hover, .newsletter-cta:hover, .newsletter-subs-btn:hover, #stack-nav-sticky, #stack-nav-sticky:hover{
    color: #FFF;
    opacity: 1 !important;
}
.newsletter-btn:hover{
    opacity: 1;
}
body a img:hover, body a .background:hover, .image-hover:hover, .artist-img:hover{
    opacity:0.8;
}
.Bap-menu {
    color: #d91831 !important;
}
.background{
    background-position-x:center !important;
    background-position-y:top !important;
    background-size: 100% !important;
    -o-background-size: 100% !important;
    -moz-background-size: 100% !important;
    /*-webkit-background-size: 100% !important;*/
}
.portfolio-background{
    background-size: cover !important;
    -o-background-size: cover !important;
    -moz-background-size: cover !important;
    -webkit-background-size: cover !important;
    padding-bottom: 100%;
    background-repeat: no-repeat !important;
    background-position-x:center !important;
    background-position-y:center !important;
}
/* breadcrumb nav */
#breadcrumbs, #breadcrumbs a, #breadcrumbs span{
    text-decoration: none;
    font-size: 12px;
    color: #c3c3c3;
}
/* dropdown separator for nav*/
.dropdown-separator{
    width: calc(100% - 2rem);
}
.dropdown-separator a{
    height:0px;
    overflow:hidden;
    border-top: 1px solid #dee2e6!important;
    margin: 0rem 1rem;
    padding: 0px;
}
/* split dropdown into 3 columns if top level menu item class is set to dropdown-columns */
@media(min-width:992px){
    .dropdown-columns .dropdown-menu {
        -moz-column-count: 3;
        -moz-column-gap: 20px;
        -webkit-column-count: 3;
        -webkit-column-gap: 20px;
        column-count: 3;
        column-gap: 20px;
        width: calc(100vw - 4.5rem);
        max-width: calc(1400px - 4.5rem);
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
    }
}
.dropdown-columns ul.dropdown-menu li a{
    font-weight:700;
}
#menu-main-1 .edge ul {
    right:0;
    left:auto;
}
@media(min-width:992px){
    #menu-main-1 > li{
        float:left;
    }
}
hr{
    opacity: 0.5;
}

/* style buttons with site colours */
.btn-outline-third {
    color: var(--third-color) !important;
    background-color: #FFF;
    border-color: var(--third-color) !important;
}
.btn-outline-third:hover {
    color: #FFF !important;
    background-color: var(--third-color) !important;
    border-color: var(--third-color) !important;
}

/* remove outline from clicked button */
.btn:focus, #search-input-desktop:focus, .form-control:focus{
    box-shadow: 0 0 0 0rem #FFF !important;
}

.offcanvas.show .menu-item {
    text-align: left;
    line-height: 2.5;
    font-size: 2.5vh;
    margin: 0px;
}
.navbar-toggler:focus, #search-input-desktop:focus{
    box-shadow: none;
}

/* mkt stack */
.modal-dialog{
    top: 30%;
    transform: translate(0%,-30%) !important;
}
#hero-copy {
    /*font-family:'Open Sans',sans-serif;*/
    font-family: "brother-1816-printed",sans-serif;
    font-size: 27px;
    line-height: 38px;
    font-weight: bolder;
}
.btn-close, #body-copy, #body-copy span, #header-copy, #stack-hide, #stack-mobile-nav, .subs-btn, .nl-btn, #menu-cb-main-nav-1 li a, .newsletter-subs-btn, #newsletter-subs-body-copy, p.mktfont{
    font-family: "brother-1816-printed",sans-serif;
    font-weight: 400;
}
#hero-copy{
    text-transform: uppercase !important;
}
.btn-close, #stack-hide{
    font-family:'Open Sans',sans-serif;
}
.subs-btn, .newsletter-btn, .newsletter-cta{
    font-family: "brother-1816-printed",sans-serif;
    text-transform: uppercase !important;
    font-weight: 700;
    letter-spacing: 1px;
}
#stack-popup, #stack-footer{
    color: #000;
}
#header-copy{
    font-size:12px;
}
#nav-sticky div{
    padding:0px;
    line-height:18px;
}
#gift-img{
    bottom:-40px;
    left:230px;
}
@media(max-width:576px){
    #gift-img{
        left:42vw;
    }
}
:focus-visible {
    outline: none;
}
#newsletter-submit-footer, #newsletter-submit-homepage{
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
    padding:8px 15px !important;
    width: 155px;
}
#newsletter-email, #newsletter-email-footer{
    border: 1px solid transparent;
}
#newsletter-email:focus, #newsletter-email-footer:focus{
    border-color: var(--primary-color);
}
#newsletter-submit-footer:hover, #newsletter-submit-homepage:hover{
    background: transparent !important;
    color: var(--primary-color) !important;
}
#stack-nav, #stack-mobile-nav, #stack-homepage, #stack-homepage-top{
    background: var(--primary-color);
    border-color: var(--primary-color);
}
#stack-nav:hover, #stack-mobile-nav:hover{
    background: #FFF;
    color: var(--primary-color);
}
.nav-link{
    color:inherit !important;
}/*end mkt stack */

/* footer CSS */
.footer, .sub{
    background:var(--secondary-color);
}
.footer-nav-outer{
    background:var(--primary-color);
}
.footer-nav a, .foot-social-outer a{
    padding: 0 !important;
    color: #fff !important;
}
.footer-nav-outer a:hover{
    opacity: 0.8;
}

#footer-nav li:not(:first-child){
    border-left:1px solid var(--secondary-color);
}
.footer-privacy li:not(:last-child){
    border-right:2px solid var(--secondary-color);
}
.foot-social-outer a, .nav-social-outer a{
    width:35px;
    height:35px;
    border-radius:20px;
    font-size:20px;
    line-height:33px;
    background: var(--primary-color);
    color: var(--secondary-color) !important;
    border:none;
}
.foot-social-outer a:hover{
    color: var(--primary-color) !important;
    background:transparent !important;
}
.btn-link:focus{
    outline: none;
    box-shadow: none;
}
.form-control:focus{
    border-color: var(--primary-color);
}
#copy-link-success{
    filter: drop-shadow(0px 0px 13px #e3e3e3);
}
.newsletter-img-mob{
    max-height:150px;
    max-width: 90%;
}

/* subcategories on category page style for mobile */
@media(max-width:767px){
    #subcategory-list{
        -moz-column-count: 3;
        -moz-column-gap: 30px;
        -webkit-column-count: 3;
        -webkit-column-gap: 30px;
        column-count: 3;
        column-gap: 30px;
    }
}
@media(max-width:550px){
    #subcategory-list{
        -moz-column-count: 2;
        -moz-column-gap: 30px;
        -webkit-column-count: 2;
        -webkit-column-gap: 30px;
        column-count: 2;
        column-gap: 30px;
    }
}
.homepage-subs-leaderboard-section-3{
    border-top: 1px solid black;
}
@media(min-width:992px){
    .homepage-subs-leaderboard-section-3{
        border-left: 1px solid black;
        border-top: none;
    }
}
/*homepage images*/
.home-3col-img{
    height: 250px;
}
.home-2col-img{
    height: 350px;
}
.category-list-img{
    height: 250px;
}
.category-side-img{
    height: 80px;
}
@media(min-width:767px){
    .home-3col-img{
        height: 100px;
    }
    .home-2col-img{
        height: 250px;
    }
    .category-list-img{
        height: auto;
    }
    .category-side-img{
        height: auto;
    }
}
@media(min-width:992px){
    .home-3col-img{
        height: 280px;
    }
    .home-2col-img{
        height: 350px;
    }
    .category-list-img{
        height: 170px;
    }
    .category-side-img{
        height: 70px;
    }
}
@media(min-width:1200px){
    .home-2col-img{
        height: 420px;
    }
}
.object-cover{
    object-fit: cover;
    object-position: 50% 0;
}
.max-width-1400{
    max-width:1400px;
    width:100%;
}
.nowrap{
    white-space: nowrap;
}
.wrap ul .wrap a{
    white-space: normal;
    padding-left: 2.5em;
    text-indent:-1.5em;
}
.menu-bold *{
    font-weight: 700;
}
.dropdown-menu{
    border-radius: 0px;
}
@media(min-width:767px){
    .margin-top-60{
        margin-top: -60px;
    }
}


.cover-fan img:first-child {
    transform: rotate(-7deg);
    margin-left: 30px;
    max-height: 250px;
    margin-top: 20px;
}
.cover-fan img:nth-child(2) {
    transform: rotate(7deg);
    max-height: 250px;
    margin-left: 240px;
    margin-top: 20px;
}
.cover-fan img:nth-child(3) {
    margin-left: 135px;
    max-height: 275px;
    margin-top: 7px;
}
.cover-fan {
    margin: 0 auto;
    height: 300px;
}
.cover-fan img {
    position: absolute;
    filter: drop-shadow(0px 0px 2px rgba(0,0,0,0.2));
}
.cover-fan .free-delivery{
    position: absolute;
    height: 125px;
    width: 125px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-top: 165px;
    margin-left: 30px;
    filter: drop-shadow(0 0 2px black);
}
#newsletter-bar-main{
    max-height: 0px;
    transition: max-height 0.5s ease-in;
    overflow: hidden;
}
#newsletter-bar-main.show{
    max-height: 300px;
}
@media(min-width:1000px){
    #newsletter-bar-main.show{
        max-height: 165px;
    }
}
#newsletter-bar-main.show img{
    bottom: 0 !important;
}
@media(max-width:1270px){
    #newsletter-bar-main img{
        display:none !important;
    }
}
#gdpr-toggle{
    bottom:64px !important;
}
#stack-nav-sticky-copy{
    font-size: 13px;
}
#stack-nav-sticky-cta{
    font-size: 11px;
}
@media(min-width:400px){
    #stack-nav-sticky-copy{
        font-size: 15px;
    }
    #stack-nav-sticky-cta{
        font-size: 13px;
    }
}
@media(min-width:600px){
    #stack-nav-sticky-copy{
        font-size: 18px;
    }
    #stack-nav-sticky-cta{
        font-size: 15px;
    }
    #gdpr-toggle{
        bottom: 55px !important;
    }
}

ul.multi-color-dividers>li:not(:first-child){
    border-left: 1px solid #fbd174;
    /*border-left: 1px solid black;*/
}/*
ul.multi-color-dividers>li:nth-child(2){
    border-color: #11fa15;
}
ul.multi-color-dividers>li:nth-child(3){
    border-color: #fadf11;
}
ul.multi-color-dividers>li:nth-child(4){
    border-color: #ff0000;
}
ul.multi-color-dividers>li:nth-child(5){
    border-color: #0000ff;
}*/
.nav-join-now a, .nav-upload-artwork a{
    border: 3px solid var(--primary-color);
    padding: calc(0.2rem - 3px) calc(1rem - 3px) calc(0.2rem - 3px) calc(1rem - 3px) !important;
    margin-top: 0.3rem;
    margin-bottom: 0.3rem;
    color: var(--primary-color) !important;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0.5;
    z-index: 1;
}
#homepage-carousel .carousel-item{
    background-repeat: no-repeat;
    background-size: cover;
}
@media(min-width:768px){
    #reasons-top .reason-to-join:nth-child(1), #reasons-bottom .reason-to-join:nth-child(1){
        border-right: 1px solid #edf3ee;
    }
}
#reasons-top .reason-to-join, #reasons-bottom .reason-to-join{
    border-top: 1px solid #edf3ee;
}
.artist-card-image{
    width: 100% !important;
    padding-bottom: 100% !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
}
#artist-search .artist-card-image, #artwork-search .artwork-card-image{
    width: 100% !important;
    padding-bottom: 100% !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
    border: 1px solid var(--third-color);
}
.header-dropdown-profile-picture>.dropdown-toggle{
    display: flex;
    align-items: center;
}
.header-dropdown-profile-picture>.dropdown-toggle::after{
    display: flex !important;
    align-items: center;
}
.header-dropdown-profile-picture ul a span{
    white-space: nowrap;
}
.header-dropdown-profile-picture ul{
    left:auto;
    right:0;
}

.upload-image-text{
    color: white;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
.portfolio-type input[type=radio], .register-user-type input[type=radio], .register-set-interval input[type=radio]{
    display:none;
}
.portfolio-type div:nth-child(1) label{
    border-radius:8px 0px 0px 8px;
}
.portfolio-type div:nth-child(2) label{
    border-radius:0px 8px 8px 0px;
}
.portfolio-type input[type="radio"]+label{
    border:1px solid var(--primary-color);
} 
.portfolio-type input[type="radio"]:checked+label{
    color:#fff;
    background:var(--primary-color);
    box-shadow: 0 0 3px var(--primary-color);
} 
.register-user-type div:nth-child(2) label{
    border-radius:13px 0px 0px 13px !important;
}
.register-user-type div:nth-child(3) label{
    border-radius:0px 13px 13px 0px !important;
}
.register-user-type input[type="radio"]+label, .register-set-interval input[type="radio"]+label{
    border:1px solid var(--forth-color);
    text-align:center;
    width:100%;
    background: var(--forth-color);
} 
.register-user-type input[type="radio"]:checked+label, .register-set-interval input[type="radio"]:checked+label{
    color:#fff;
    background:var(--primary-color);
    box-shadow: 0 0 3px var(--primary-color);
    border-color:var(--primary-color);
}
.loading-overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:#e6e6e6;
    opacity:0.4;
    display:flex;
    justify-content:center;
    align-items:center;
    top:0;
    left:0;
}
@media(min-width:767px){
    .filter-menu{
        position:relative!important;
        visibility:visible!important;
        transform: none !important;
        z-index:1 !important;
        width:100% !important;
    }
    .filter-menu-outer .offcanvas-backdrop{
        display:none;
    }
    body:not(.modal-open){
        overflow-y:scroll !important;
        padding-right:0 !important;
    }
}
.sold-roundel{
    border-radius:50%;
    position:absolute;
    background:var(--primary-color);
    width:60px;
    height:60px;
    display:flex;
    justify-content:center;
    align-items:center;
    bottom:5px;
    right:5px;
}
.sold-roundel p{
    margin:0;
    color:#fff;
    text-transform:uppercase;
    font-weight:700;
    text-align:center;
}
.faq-popup{
    position:fixed;
    z-index:1000;
    bottom:0;
    max-width:400px;
    right:0;
}
/* scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius:3px;
}
/* Handle */
::-webkit-scrollbar-thumb {
    background: #888; 
    border-radius:3px;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555; 
}
@media(min-width:992px){
    #scrollcollapse{
        height: 132px;
        transition: all 0.5s ease-in-out;

    }
}
.height-0{
    height: 0px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}
input, textarea{
    padding:5px;
}
.dropdown-menu-position-absolute .navbar-nav .dropdown-menu{
    position: absolute;
}
#menu-profile-picture-dropdown-buyer li ul, #menu-profile-picture-dropdown-seller li ul{
    right:0;
    left:auto;
}
@media(max-width:992px){
    .position-absolute-mobile{
        position:absolute;
        top:50%;
        right:0;
        transform: translateY(-50%);
    }
    .header-dropdown-profile-picture>a>span{
        height:30px;
        width:30px;
    }
    #navbar-top{
        transform:translateY(0px)!important;
    }
}
@media(max-width:767px){
    .testimonial-headshot{
        max-width:150px;
    }
}
.dropdown-menu-child-no-padding .dropdown-menu .menu-item{
    padding-left:0px!important;
    padding-right:0px!important;
}
.badge {
    position: relative;
}
.badge .badge-info {
    visibility: hidden;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    font-weight:300;
    
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    top: 90%;
    left: 50%;
    transform:translateX(-50%);
}

.badge:hover .badge-info {
    visibility: visible;
}
.nav-browse-art>a>span{
    color: var(--primary-color) !important;
}
.artwork-card p{
    word-wrap: break-word;
}
@media(min-width:767px){
    .filter-menu-outer .offcanvas{
        transition:none !important;
    }
}
.cursor-pointer{
    cursor: pointer;
}