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

/*************** ADD CUSTOM CSS HERE.   ***************/

:root {
    --ah-beige: #E8CFB7;
    --ah-beige-medium: #F5E3D6;
    --ah-beige-light: #F9F1EB;

    --ah-blue: #364563;

	--ah-gold: #99844C;
    --ah-gold-medium: #C6BA9D;
    --ah-gold-light: #E2DBCC;
}

.ah-text-beige, .ah-text-beige h1, .ah-text-beige h2, .ah-text-beige h3, .ah-text-beige h4, .ah-text-beige h5, .ah-text-beige h6, .ah-text-beige p, .ah-text-beige li {
    color: var(--ah-beige);
}
.ah-bg-beige {
    background-color: var(--ah-beige);
}
.ah-bg-beige-light {
    background-color: var(--ah-beige-light);
}

.ah-text-blue {
    color: var(--ah-blue);
}
.ah-bg-blue {
    background-color: var(--ah-blue);
}

.ah-text-gold, .ah-text-gold h1, .ah-text-gold h2, .ah-text-gold h3, .ah-text-gold h4, .ah-text-gold h5, .ah-text-gold h6, .ah-text-gold p, .ah-text-gold li {
    color: var(--ah-gold);
}
.ah-bg-gold {
    background-color: var(--ah-gold);
}
.ah-bg-gold-medium {
    background-color: var(--ah-gold-medium);
}
.ah-bg-gold-light {
    background-color: var(--ah-gold-light);
}


.dark, .dark p, .dark td, .footer .dark a {
    color: #fff;
}

.nav-uppercase>li>a,
.button span {
	letter-spacing: 1.5px !important;
}


@font-face {
    font-family: 'LexendDecaBold';
    src: url('fonts/LexendDeca-Bold.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}
.LexendDecaBold, .LexendDecaBold h2, .LexendDecaBold h3, .LexendDecaBold h4, .LexendDecaBold p {
    font-family: 'LexendDecaBold', Verdana, sans-serif;
    font-weight: 600;
}

@font-face {
    font-family: 'LexendDeca';
    src: url('fonts/LexendDeca-Medium.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}
.LexendDeca, .LexendDeca h3, .LexendDeca h4, .LexendDeca p {
    font-family: 'LexendDeca', Verdana, sans-serif;
}

@font-face {
    font-family: 'McAvenel';
    src: url('fonts/McAvenel-Black.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
.McAvenel, .McAvenel h3, .McAvenel h4 {
    font-family: 'McAvenel', Verdana, sans-serif;
}

html, body {
    -webkit-font-smoothing: antialiased;  /* For WebKit (Chrome, Safari) */
    -moz-osx-font-smoothing: grayscale;   /* For macOS Firefox */
    text-rendering: optimizeLegibility;   /* Improves kerning and ligatures */
    font-kerning: normal;                 /* Ensures font kerning is on */
    font-family: "LexendDeca", Arial, Tahoma, sans-serif;
}

h1, h2 {
    font-family: "McAvenel", Arial, Tahoma, sans-serif;
    /* Fix a Flatsome bug H doesnt follow editor line-height*/
    line-height: inherit; 
}
h1, h2, h3, h4 {
    line-height: inherit !important; 
}

h1, h2, h3, h4 {
    letter-spacing: 4px;
}

p {
	letter-spacing: 1px !important;
}

.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 {
	box-shadow: none !important;
}
.button.is-underline:before {
    bottom: 10px !important;
}
.button {
    padding:4px 40px 4px 40px;
    min-width: 220px;
}

.button.primary {
    background-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--secondary);
}
.button.secondary {
    background-color: var(--wp--preset--color--secondary);
    color: var(--wp--preset--color--primary);
}

#masthead {
    border-bottom: solid 2px black;
}
#header #masthead .logo img {
    max-width: 100px;
}

.sub-menu.nav-dropdown {
    margin-left: -30px !important;
    padding-top: 49px !important;
    transition: padding-top 0.3s;
}
.stuck .sub-menu.nav-dropdown {
    padding-top: 14.5px !important;
}
.sub-menu.nav-dropdown .row {
    border-top: solid 2px black;
    border-bottom: solid 2px black;
}
.sub-menu.nav-dropdown ul {
    padding-left: 45px;
    margin-top: 45px;
}
.menu-item-has-block .sub-menu.nav-dropdown .col-inner ul li {
    margin-bottom: 10px;
    align-items: center;
    display: flex !important;
    flex-flow: row wrap;
    margin-left: 0 !important;
}
.menu-item-has-block .nav-dropdown .col-inner ul:not(.nav.nav-vertical) li:not(.tab):not([class^=bullet-]) {
    margin-left: 0 !important;
}
.sub-menu.nav-dropdown ul li a {
    padding: 10px 0;
    color: black;
    font-weight: 700;
}
.sub-menu.nav-dropdown ul li a {
	letter-spacing: 1.5px !important;
}
.sub-menu.nav-dropdown ul li a:hover {
    color: var(--ah-gold)
}

#main > #content > .banner {
    padding-top: calc(100vh - 139px);
}


.social-icons a {
	display: block;
	margin-bottom: 6px;
}
i.icon-instagram::after {
	content: 'INSTAGRAM';
	font-family: 'LexendDeca', Verdana, sans-serif;
	margin-left: 6px;
}
i.icon-facebook::after {
	content: 'FACEBOOK';
	font-family: 'LexendDeca', Verdana, sans-serif;
	margin-left: 6px;
}
i.icon-instagram,
i.icon-facebook {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
}

.absolute-footer {
    display: none;
}

.footer-widget .widget {
    padding: 0 !important;
}

.footer-widget .is-divider {
    display: none;
}

.footer-widget .menu-item {
    border: none;
}
.footer-widget .menu-item a {
    text-decoration: underline;
	text-transform: uppercase;
}

.footer .widget-title,
.footer-widget  .widget-title {
	margin-bottom: 1.3em;
	display: block;
}

section {
    padding-bottom: 50px !important;
}

@media (min-width: 850px) {
    .container {
        padding-left: 25px;
        padding-right: 25px;
    }
}
.underline {
    text-decoration: underline;
}


/* Header col 1 */
.flex-col.logo {
    min-width: 176px;
}

/* Header col 2 */
.flex-col.hide-for-medium.flex-left.flex-grow {
    display: flex;
    justify-content: center;
}

/* Header col 3 */
.flex-col.hide-for-medium.flex-right {
    min-width: 176px;
}

.header-nav.nav {
    width: auto;
}

.header-search {
    display: flex !important;
}

.header-search a i {
    display: none;
}

.header-search a {
    /* display: inline-block !important; */
    width: 21px;
    height: 21px;
    padding: 0 !important;
    /* background: orange; */
}
.header-search a::after {
    content: '';
    display: inline-block;
    width: 21px;
    height: 21px;
    background-image: url('icons/ah-icon-search.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

.slider-nav-light .flickity-page-dots .dot {
    background-color: var(--ah-beige) !important;
}
.slider-nav-light .flickity-page-dots .dot {
    border-color: var(--ah-beige) !important;
}
.testimonials .testimonials .slider-nav-light .flickity-prev-next-button .arrow, 
.testimonials .slider-nav-light .flickity-prev-next-button svg {
    fill: var(--ah-beige) !important;
    color: var(--ah-beige) !important;
    display: none !important;
}
.testimonials .flickity-button.flickity-prev-next-button {
    display: flex;
    justify-content: center;
    align-items: center;
}
.testimonials .flickity-button.flickity-prev-next-button.next::after {
    content: '';
    display: inline-block;
    width: 21px;
    height: 21px;
    background-image: url('icons/ah-arrow-right.svg');
    background-repeat: no-repeat;
    background-size: contain;
}
.testimonials .flickity-button.flickity-prev-next-button.previous::after {
    content: '';
    display: inline-block;
    width: 21px;
    height: 21px;
    background-image: url('icons/ah-arrow-left.svg');
    background-repeat: no-repeat;
    background-size: contain;
}
.newsletter-footer {
	margin-top: 40px;
}
.newsletter-footer input[type="email"] {
	background: transparent;
	border: 0;
	border-bottom: 1px solid white;
}
.newsletter-footer input[type="submit"] {
	border: solid 1px white;
}
.newsletter-footer .col {
	padding-bottom: 0;
}

.icon-height-fix .ux-logo {
    min-height: 145px;
    display: flex;
    align-items: center;
}

1.icon-instagram::after {
	content: 'INSTAGRAM';
}


/*
* Ticker Swiper
*/
.swiper-wrapper {
    align-items: center;
}

.swiper-ticker .swiper-wrapper{
    transition-timing-function:linear !important;
}

.swiper-ticker .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
    display: block;

    max-height: 240px !important;
    max-width: 240px !important;
    /* border: solid 1px red; */
}

.swiper-ticker img {
    padding: 5px;
    height: 100% !important;
    width: 100% !important;
	object-fit: contain;
}




/*
* History Swiper
*/
.swiper-history .slide {
    width: 100%;
    display: flex;
    height: auto;
    width: auto;
    align-self: flex-start;
    cursor: grab;
}
@media(max-width: 600px) {
    .swiper-history .slide {
        flex-wrap: wrap;
        width: 300px;
    }
}

.swiper-history .slide .right {
    height: auto;
    width: 300px;
}
.swiper-history .slide .right img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.swiper-history .slide .left {
    padding: 25px;
    height: auto;
    width: 300px;
    font-size: 12px;
}
.swiper-history .slide h3, .swiper-history .slide p {
    color: #000;
}
.swiper-history .slide h3 {
    margin-top: 0;
    font-size: 2.4em;
}
.swiper-history .swiper-pagination {
    pointer-events: none;
    top: auto;
    bottom: -30px;
}
.swiper-history .swiper-pagination-bullet {
    background-color: var(--ah-beige);
    pointer-events: all;
}
.swiper-history .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: var(--ah-beige);
}

.swiper-history .swiper-navigation {
    position: absolute;
    text-align: center;
    transition: .3s opacity;
    transform: translate3d(0, 0, 0);
    z-index: 10;
    top: auto;
    bottom: -30px;
    left: 0;
    width: 100%;
    max-width: 500px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}
.swiper-history .swiper-button-next, 
.swiper-history .swiper-button-prev {
    position: initial;
    height: 20px;
    color: var(--ah-beige);
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px;
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
}


.hats-gallery-item.hidden {
    display: none;
}
.hats-gallery-item img {
    width: 100%;
    height: auto;
}
.hats-gallery-item .details {
    position: absolute;
    left: 15px;
}
.hats-gallery-item h4 {
    margin-bottom: 0px;
	letter-spacing: 1.5px !important;
}

.hats-load-more {
    margin-top: 50px;
}

.hats-load-more .white-hover.is-outline:hover {
    background-color: var(--ah-gold) !important;
    border-color: var(--ah-gold) !important;
    color: #fff !important;
}

.lookbook-filter {
    margin-bottom: 40px;
    text-align: center;
	letter-spacing: 1px !important;
}

.lookbook-filter div {
    cursor: pointer;
    display: none;
    padding: 4px 10px;
    border-right: 1px;
}
.lookbook-filter div.active {
    border-bottom: solid 1px black;
}

.lb-visible {
    visibility: visible;
    display: block;
}
.lb-hidden {
    visibility: hidden;
    display: none;
}

/*
* Size Guide E8CFB7
*/
.size-guide-chart {
    background: #F5E3D6;
    padding: 80px 40px 30px;
}
.size-guide-chart h2 {
    font-family: 'LexendDecaBold', Verdana, sans-serif;
    text-align: center;
}
.size-guide-chart p {
    font-family: 'LexendDeca', Verdana, sans-serif;
    text-align: center;
    max-width: 637px;
    margin: 0 auto;
    margin-bottom: 50px;
}
.table-size {
    border-collapse: collapse; 
    border: 1px solid black;
    margin-bottom: -1px;
}
.table-size th {
    border: 1px solid black;
    background-color: #E8CFB7;
    padding: 20px 30px;
    width: 70px;
}
.table-size .labels {
    width: 75px;
}
.table-size td {
    border: 1px solid black;
    background: #F5E3D6;
    padding: 20px 30px;
    color: #000;
}

@media(max-width: 870px) {
    .size-guide-chart {
        font-size: 12px !important;
        padding: 40px 20px 15px;
    }
    .table-size .labels {
        width: 65px;
    }
    .table-size th, .table-size td {
        padding: 10px 15px;
    }
}
@media(max-width: 600px) {
    .size-guide-chart {
        font-size: 12px;
        padding: 30px 20px 15px;
    }
    .table-size .labels {
        width: 55px;
    }
    .table-size th, .table-size td {
        padding: 5px 8px;
    }
    .table-size td {
        font-size: 10px !important;
    }
}


.anatomy {
    padding-top: 100px;
}
.anatomy h2 {
    margin-bottom: 40px;;
}
.anatomy-image {
    max-width: 796px;
    margin: 0 auto;
    position: relative;
    margin-bottom: 50px;
}
.anatomy-point {
    height: 36px;
    width: 36px;
    border-radius: 999px;
    background-color: #99844C;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
    position: absolute;
    cursor: pointer;
}
.anatomy-point:hover {
	background-color: #E2DBCC;
}
.anatomy h3 {
    font-family: 'LexendDecaBold', Verdana, sans-serif;
    text-align: center;
}
.anatomy p {
    font-family: 'LexendDeca', Verdana, sans-serif;
    text-align: center;
    max-width: 637px;
    height: 55px;
    margin: 0 auto;
    margin-bottom: 50px;
}

@media(max-width: 870px) {
    .anatomy {
        padding-top: 60px;
    }
    .anatomy-point {
        height: 26px;
        width: 26px;
    }
}


#sbi_load a, #sbi_load button {
    background-color: var(--wp--preset--color--primary) !important;
    color: var(--wp--preset--color--secondary) !important;
padding: 4px 40px 4px 40px !important;
    min-width: 220px;
    border: 1px solid transparent;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    display: inline-block !important;
    font-weight: bolder !important;
    letter-spacing: .03em !important;
    line-height: 2.4em !important;
    margin-top: 0 !important;
    max-width: 100% !important;
    min-height: 2.5em !important;
    position: relative !important;
    text-align: center !important;
    text-decoration: none;
    text-rendering: optimizeLegibility;
    text-shadow: none !important;
    text-transform: uppercase !important;
    transition: transform .3s, border .3s, background .3s, box-shadow .3s, opacity .3s, color .3s;
    vertical-align: middle !important;
}
#sbi_load {
	margin-top: 60px;
}
