/**
 * Theme Name: Vin Website Builder
 * Description: For Winery and Craft Beverage
 * Author: Vin
 * Author URI: https://vinagency.com
 * Template: blocksy
 * Text Domain: blocksy
 */

/*

		Elements
		Forms
		Layout
		Util
		Header
		Footer
		Posts
		Components
		Overrides

*/


/* =Elements */

img,
a img {
color:transparent !important;
text-indent: -9999px;
}
svg,
svg * {
box-sizing: content-box;
}


/* =Forms */

input, select, textarea {
border-radius: 0;
}


/* =Layout */

.table {
display: table;
width:100%;
height: 100%;
}
.cell {
display: table-cell;
width:100%;
height: 100%;
}
.vert-align {
vertical-align: middle;
}
.extra-narrow {
max-width:480px;
}
.narrow {
max-width: 640px;
}
.medium {
max-width: 860px;
}
.wide {
max-width: 1100px;
}
.extra-wide {
max-width: 1440px;
}
.hr-small-wrap {
margin-left: auto;
margin-right: auto;
}
.extra-narrow {
margin-left: auto;
margin-right: auto;
}
.narrow {
margin-left: auto;
margin-right: auto;
}
.medium {
margin-left: auto;
margin-right: auto;
}
.wide {
margin-left: auto;
margin-right: auto;
}
.extra-wide {
margin-left: auto;
margin-right: auto;
}

@media only screen and (max-width: 540px){/* mobile */

	.padded,
	.extra-narrow,
	.narrow,
	.medium,
	.wide,
	.extra-wide,
	.full {
	padding-left:30px;
	padding-right:30px;
	}
}

@media only screen and (min-width:541px) and (max-width:999px ){/* tablet */

	.padded,
	.extra-narrow,
	.narrow,
	.medium,
	.wide,
	.extra-wide,
	.full {
	padding-left:60px;
	padding-right:60px;
	}
}

@media only screen and (min-width: 1000px){/* all desktop */

	.padded,
	.extra-narrow,
	.narrow,
	.medium,
	.wide,
	.extra-wide,
	.full {
	padding-left:60px;
	padding-right:60px;
	}
}


/* =Header */

/* mobile menu align left */
body [class*=ct-toggle] {
margin-inline-start:0;
}



/* =Footer */

span.divider {
display: inline-block;
margin: 0 5px;
opacity: .5;
}

/* Footer extras */

.footer-extras {
text-transform:uppercase;
font-size:12px;
letter-spacing:.05em;
}
.footer-extras a {
text-decoration:none;
}
@media only screen and (max-width: 769px){
	span.divider.divider-mobile-break {
	font-size: 0;
	display: block;
	height: 1em;
	}
}



/* =Util */

.no-deco,
.no-deco a {
text-decoration:none;
}
.white,
.white a,
.white a:link,
.white a:visited,
.white a:hover,
.white a:focus {
color:#fff;
}
.flex-vertical-align {
justify-content:center !important;
}


/* =Posts */

.single-wine .page-description,
.single-wine .entry-meta,
.single-wine main > .hero-section {
display: none;
}

/* Wine */

.wine .post-navigation .ct-image-container img {
position: relative;
height:auto;
width: auto;
}
.wine .post-navigation figure {
border-radius: 0;
}
.wine .post-navigation [class*="nav-item"]:hover figure::after {
opacity: 0;
display: none;
}

body .entry-card.wine img {
position: relative;
height:350px;
width:100%;
display: block;
object-fit: contain;
}
.entry-card.wine [class*="ct-image-container"] [class*="ct-ratio"] {
display: none;
}
body .wine .ct-featured-image .ct-image-container img, 
body .wine .ct-featured-image .ct-image-container picture
element {
position: relative;
left: auto;
right: auto;
display: inline-block;
height: 75vh;
object-fit: contain;
}
body .wine .ct-featured-image [class*="ct-image-container"] {
display: block;
}


/* =Components */

/* aos */

body [data-aos='fade-up']{
transform:translate3d(0, 30px, 0)
}
body [data-aos='fade-down']{
transform:translate3d(0, -30px, 0)
}
body [data-aos='fade-right']{
transform:translate3d(-30px, 0, 0)
}
body [data-aos='fade-left']{
transform:translate3d(30px, 0, 0)
}
body [data-aos='slide-up']{
transform:translate3d(0, 30px, 0)
}
body [data-aos='slide-down']{
transform:translate3d(0, -30px, 0)
}
body [data-aos='slide-right']{
transform:translate3d(-30px, 0, 0)
}
body [data-aos='slide-left']{
transform:translate3d(30px, 0, 0)
}


/* posts category nav */

.nav-post-categories {
margin-top: -1.5em;
padding: 0 20px 0;
text-align: center;
}
.nav-post-categories ul {
list-style: none;
padding: 0;
}
.nav-post-categories li {
display: inline-block;
margin:0 5px;
}
.nav-post-categories a {
text-decoration: none;
display: inline-block;
padding: 10px;
font-size: 14px;
text-transform: uppercase;
letter-spacing: 1px;
}

/* Post navigation */

body .post-navigation .item-title {
font-size: 1rem;
font-weight: normal;
}
body .post-navigation::after {
display: none;
}

/* Post sharing */

body .ct-share-box[data-type="type-1"] a{
border:none;
}

/* XDebug */

.xdebug-error.xe-notice th,
.xdebug-error.xe-notice td {
font-size:15px;
background-color: transparent;
padding: 10px;
border:none;
border-top:1px solid #ccc;
}

/* WP admin bar*/

body #wp-admin-bar-blocksy_preview_hooks {
display: none;
}


/* =Overrides */

body .button:hover,
body .submit:hover,
body .ct-button:hover,
body .entry-tags a:hover,
body .added_to_cart:hover,
body input[type="submit"]:hover,
body .wp-block-file .wp-block-file__button:hover,
body div:not(.is-style-outline)>.wp-block-button__link:hover,
body .forminator-design--none .forminator-button:hover,
body button[type="submit"]:not(.qubely-block-btn-anchor):hover {
transform:none;
}

/* fix spacing on li last-child */
.wp-block-navigation__container li {
margin-bottom: 0 !important;
}
body .kt-image-overlay-wrap {
background-color: transparent;
}

/* lightbox */

body .glightbox-container .gnext,
body .glightbox-container .gprev,
body .glightbox-container .gclose {
opacity:.7;
transition: .5s all ease;
scale:1;
}
body .glightbox-container .gnext:hover,
body .glightbox-container .gnext:focus-visible,
body .glightbox-container .gprev:hover,
body .glightbox-container .gprev:focus-visible,
body .glightbox-container .gclose:hover,
body .glightbox-container .gclose:focus-visible {
opacity:1;
transition: .5s all ease;
scale:1.1;
}

