/*!
Theme Name: Exclusivia 2021
Theme URI: https://exclusivia.com
Author: Jeremy Francis
Author URI: https://jeremyfrancis.dev
Description: Custom Theme for Exclusivia
Version: 2.4.0
Requires at least: 5.0
Tested up to: 5.5
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: exclusivia-2021
*/

/* Don't overwrite this file. Compile "/assets/main.(less|scss)" to "/assets/css/main.css" */


/* From http://codex.wordpress.org/CSS */
:root{--ex-red:#BF1028;--ex-red-2:#900;}
.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto
}
body>.content  {
    width: 100%;
    max-width: 1060px;
    box-sizing: border-box;
    float: none;
    margin: 0 auto;
    padding: 2em 10%;
}
.wp-caption {
	max-width: 96%; /* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}
.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}
.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.bypostauthor {
	font-weight: bold;
}
.ex-logo {
	font-family: 'Playfair Display', serif;
	font-weight:900;
	text-transform:none!important;
}
.top-nav {
	position: relative;
    float: left;
    font-size: 1em;
    text-transform: uppercase;
    margin: -0.2em .5em 0;
    max-width: 160px;
    line-height: .85em;
    transform: scale(.85);
}
.top-nav:after {
	content:"";
	display:block;
	height:2px;
	width:0px;
	background:#bf1028;
	position:absolute;
	bottom:0em;
	left:50%;
	transform:translateX(-50%);
	-moz-transition:all 0.35s ease-in-out;
	-webkit-transition:all 0.35s ease-in-out;
}
.top-nav:hover {
	text-decoration:none;
}
.top-nav:hover:after {
	width:120%;
	-moz-transition:all 0.35s ease-in-out;
	-webkit-transition:all 0.35s ease-in-out;
}
.top-nav i {
	font-size: 1.25em;
    float: left;
    margin: -0.15em .25em .5em 0;
}
.mobile-search {
	display:none;
}
#ex-search {
	position: relative;
    top: -.5em;
}
.ex-form-close {
	display:none;
}
.frm_form_field {
    display: block;
    clear: left;
	box-sizing:border-box;
}
.frm_save_draft  {
    float: left;
    font-size: .65em;
}
.frm_none_container label, .frm_none_container .frm_primary_label, .frm_hidden {
	display:none;
}
.frm_pos_hidden {
    visibility: hidden;
}
.frm_half {
	width: 50%;
    float: left;
    clear: unset;
}
.frm_first {
    float: left;
    padding: 0 1em 0 0;
}
.frm_dropzone {
    width: 50%;
    min-width: 300px;
}
.frm_dropzone .dz-message {
    padding: 1em;
    text-align: center;
}
.frm_checkbox label {
	display:inline-block;
}
@media only screen and (min-height: 620px) and (max-width:1050px) {
	.top-nav span{
		display:none;
	}
}
@media only screen and (max-width:880px) { 
	body * {
		
	}
	.nav-bar .menu-button, .nav-bar .mobile-filters-button {
		top: -9px;
	}
	.top-nav {
		margin: -0.2em .25em 0;
	}
	.top-nav span{
		display:none;
	}
	#ex-search {
		display:none;
		position: fixed;
    	top: 0;
    	left: 0;
    	right: 0;
    	bottom: 0;
    	padding: 5em 3em;
    	box-sizing: border-box;
    	z-index: 1;
	}
	#ex-search form {
    	display: block;
    	position: fixed;
    	background: #fff;
    	padding: 10vh 4em;
    	top: 20%;
    	left: 50%;
    	transform: translateX(-50%);
    	width: 75%;
    	border: 1px solid #ccc;
	}
	#ex-search form .ex-form-close {
		display:table;
    	position: absolute;
    	top: -2em;
    	right: -1em;
    	font-size: 1.25em;
	}
	#ex-search:before {
		content: "";
    	position: fixed;
    	top: 0;
    	right: 0;
    	bottom: 0;
    	left: 0;
    	background: rgba(255,255,255,.7);
    	display: block;
    	width: 100%;
    	z-index: 0;
		-webkit-backdrop-filter: blur(5px);
	    backdrop-filter: blur(5px);
	}
	.mobile-search {
		display: table;
    	float: left;
    	font-size: 1.75em;
    	margin: -.2em 0;
	}
}
@media only screen and (max-width:475px) {
	.nav-bar .nav-bar__contents {
    	position: fixed;
    	bottom: 0;
    	background: #fff;
    	padding: 1.65em 1em;
    	box-shadow: 0px -2em 2em -2em;
    	left: 0;
	} 
	.ex-nav-contain {
    	float: left;
    	display: table;
    	margin-right: 4em;
	}
	#ex-search form {
		top:35%;
		padding: 10vh 2em;
	}
	#ex-search:before {
		top:55px;
		bottom: 65px;
	}
}
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}