/*!
Theme Name: vintage
Author: made in 13
Author URI: https://madein13.com
Version: 1.0.0
Text Domain: vintage
*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color:#212529;
	font-family: 'Lato', sans-serif;
	font-style: normal;
	font-weight:400;	
}

h1, h2, h3, h4 {
	clear:both;
	font-family: 'Lora', serif;
	font-weight:500;
	letter-spacing:0.05rem;
	text-transform:uppercase;
}

.small {
	font-size:0.8rem;
}

.x-small {
	font-size:0.6875rem;
}

strong, b {
	font-weight:700;	
}

hr.transparent {
	margin:0.5rem 0;
	opacity:0;	
}


/* =Placeholder text
----------------------------------------------- */
::-webkit-input-placeholder {
	color:#939393;
}

.site-footer ::-webkit-input-placeholder {
	color:#fff;
}

:-moz-placeholder {
	color:#939393;
}

.site-footer :-moz-placeholder {
	color:#fff;
}

::-moz-placeholder {
	color:#939393;
	opacity: 1; /* Since FF19 lowers the opacity of the placeholder by default */
}

.site-footer ::-moz-placeholder {
	color:#fff;
	opacity: 1; /* Since FF19 lowers the opacity of the placeholder by default */
}

:-ms-input-placeholder {
	color: #939393;
}

.site-footer :-ms-input-placeholder {
	color:#fff;
}


/* Search
--------------------------------------------- */
.search-form,
.woocommerce-product-search {
	position:relative;
}

.search-form label,
.woocommerce-product-search label {
	width:100% !important;
}

.search-form .search-field,
.woocommerce-product-search .search-field {
	border:none;
	font-size:1.2rem !important;
	padding:1rem;
	width:100% !important;
}

.search-form .search-submit,
.woocommerce-product-search [type="submit"] {
	display:none;
}


/* Links
--------------------------------------------- */
a, 
a:visited {
	color:#212529;
	font-weight:500;
	text-decoration:none;
}

a:hover,
a:focus,
a:active {
	color:#aaa;
}


/* backgrounds
--------------------------------------------- */
.bg-dark {
	background:#212529;
}

.bg-red {
	background:#74243c;
}


/* Nav
--------------------------------------------- */
.navbar {
	padding-top:2.1rem;
	padding-bottom:2.1rem;
}

	@media (max-width: 575.98px) {
		.navbar {
			padding-top:1.2rem;
			padding-bottom:1.2rem;
		}
	}

.navbar-brand {
    left:50%;
	margin:0;
	padding:0;
    position:absolute;
	transform:translateX(-50%);
}

.navbar-brand img {
	max-width:115px;
	object-fit:contain;
}

	@media (max-width: 991.98px) {
		.navbar-brand img {
			max-width:100px;
		}
	}

	@media (max-width: 575.98px) {
		.navbar-brand img {
			max-width:80px;
		}
	}

.navbar-nav .nav-link,
.navbar-nav .nav-link:visited {
	color:#212529;
	margin-left:0.625rem;
	margin-right:0.625rem;
	font-size:0.7rem;
	font-weight:700;
	text-transform:uppercase;
}

.dropdown-item {
	font-size:0.8rem;
}

	@media (min-width: 1200px) {
		.navbar-nav .nav-link span {
			display:block;
		}
	}

	@media (max-width: 575.98px) {
		.nav-item.search {
			display:none;
		}
	}

.nav-link .cart-totals {
	background:transparent;
	top:0;
	font-size:0.8rem;
	right:0;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item:active,
.dropdown-item.active {
	background:#fff;
    color:#aaa;
}

	@media (max-width: 1199.98px) {
		.navbar-nav .nav-link,
		.navbar-nav .nav-link:visited {
			font-size:1.1rem;
			padding-top:0.8rem;
			padding-bottom:0.8rem;
		}
		.dropdown-menu {
			border:none;
		}
		.dropdown-item {
			font-size:1.2rem;
			padding-top:0.5rem;
			padding-bottom:0.5rem;
		}
		.nav-link svg {
			height:22px;
			width:22px;
		}
	}


/* Structure
--------------------------------------------- */
	@media (max-width: 1199.98px) {
		.container-fluid {
			padding-left:2rem;
			padding-right:2rem;
		}
	}

	@media (max-width: 575.98px) {
		.container-fluid {
			padding-left:1.5rem;
			padding-right:1.5rem;
		}
		.navbar .container-fluid {
			padding-left:0.5rem;
			padding-right:0.5rem;
		}
	}

.block {
	margin-top:5rem;
}

	@media (max-width: 991.98px) {
		.block {
			margin-top:4rem;
		}
	}

.py-2x {
	padding-top:0.9rem !important;
	padding-bottom:0.9rem !important;
}

.py-4x {
	padding-top:2.5rem !important;
	padding-bottom:2.5rem !important;
}

.py-6 {
	padding-top:5rem;
	padding-bottom:5rem;
}

	@media (max-width: 991.98px) {
		.py-6 {
			padding-top:4rem;
			padding-bottom:4rem;
		}
	}


/* Posts and pages
--------------------------------------------- */
	@media (min-width: 1200px) {
		.page-title {
			font-size: 1.75rem !important;
		}
	}

.page-title {
    font-size: calc(1.3rem + .6vw) !important;
}

.post,
.page {
	margin:0;
}

.sticky {
	display: block;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin:0;
}

body:not(.woocommerce-page) .entry-content h2 {
	font-size: 1.4rem;
	margin-top:2rem;
}

body:not(.woocommerce-page) .entry-content h3 {
	font-size: 1.2rem;
	margin-top:2rem;
}

.entry-content p:last-of-type {
	margin-bottom:0;
}

.entry-content ul,
.entry-content ol {
	margin:1.5rem 0;
}

.entry-footer {
	margin-top:1rem;
}

.entry-footer .cat-links,
.entry-footer .tags-links {
	display:block;
	margin-top:0.5rem;
}

body:not(.woocommerce-page) .entry-content a,
.entry-footer .cat-links a,
.entry-footer .tags-links a {
	border-bottom:1px solid #74243c;
	color:#74243c;
	padding-bottom:1px;
	text-decoration:none;
}
      
.custom-table {
	border-collapse:collapse;
	display:table;
	margin:0 0 1.5em;
	table-layout:fixed;	
	white-space: nowrap;
	width:100%;			
}

.custom-table td, 
.custom-table th {
	border:1px solid rgba(0,0,0,.1);
	overflow: hidden;
	padding:0.5rem 1rem;
	text-align:center;
	text-overflow:ellipsis;
	vertical-align:middle;
	white-space:nowrap;
}

.custom-table td p:last-of-type, 
.custom-table th p:last-of-type  {
	margin-bottom:0;
}

	@media (max-width: 575px){
		.custom-table {
			display:block;
			overflow-x:auto;
			-webkit-overflow-scrolling:touch;
			width:100%;
		}
	}

.blog .entry-footer,
.archive .entry-footer {
	display:none;
}

.edit-link  {
	display:none;
}


/* Carousels
--------------------------------------------- */
.hero .container {
	position:relative;
}

.hero.carousel-item {
	height:380px;
}

.hero.carousel img {
	height:400px;
	object-fit:cover;
	object-position:50% 50%;
	width:100%;	
}

	@media (min-width: 768px) {
		.hero.carousel img {
			height:450px;
		}
	}

	@media (min-width: 1200px) {
		.hero.carousel img {
			height:600px;
		}
	}

	@media (min-width: 1900px) {
		.hero.carousel img {
			height:700px;
		}
	}

	@media (min-width: 2200px) {
		.hero.carousel-item,
		.hero.carousel img {
			height:1000px;
		}
	}

.hero.carousel .carousel-caption {
    left:0;
	padding-bottom:0;
    right:0;
}

	@media (min-width: 992px) {
		.hero.carousel .carousel-caption {
			padding-bottom:4rem;
		}
	}


/* Promotion Box
--------------------------------------------- */
	@media (min-width: 992px) {
		.promotion-box {
			left:50%;
			position:absolute;
			top:50%;
			transform:translate(-50%,-50%);
			width:100%;
		}
	}


/* Social share
--------------------------------------------- */
.social-share a {
	text-decoration:none;
}

.social-share li {
	list-style:none;
	margin-right:1rem;
}

.social-share li:last-child {
    margin-right:0;
}

.social-share .facebook svg,
.social-share .twitter svg,
.social-share .pinterest svg,
.social-share .wishlist svg {
	fill:#74243c;
}


/* Contact Forms
-------------------------------------------------- */
.modal.contact-form .modal-body {
	padding-bottom:0;
}

.modal.contact-form .wpcf7 {
	padding:0.5rem 0.5rem 0 0.5rem;
}

	@media (min-width: 768px) {
		.wpcf7 {
			font-size:0.875rem;
		}
	}

.wpcf7 label {
	margin-bottom:1rem;
	width:100%;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type=submit],
.wpcf7 textarea {
	background:#eee;
	border:1px solid #eee;
	padding:0.5rem;
	width:100% !important;
}

.wpcf7 textarea {
	height:150px;
	margin-bottom:0;
	padding:1rem;
}

.wpcf7-list-item-label {
	margin-left:0.5rem;
}

.wpcf7 input[type=submit] {
	background:#212529;
	border:1px solid #212529;
	color:#fff;
	margin:0;
	padding:0.8rem 1rem;
	text-transform:uppercase;
}

.wpcf7 input[type=submit]:hover {
	background:#3e3e3e;
	border:1px solid #3e3e3e;
}

.wpcf7 select {
	padding:0.5rem;
}

.wpcf7-form-control-wrap {
	display:block !important;
}

div.wpcf7-response-output {
    position:relative;
    display:inline-block;
    margin:0;
    padding:0 !important;
}

div.wpcf7-validation-errors {
    padding:1rem;
}

.wpcf7 form .wpcf7-response-output {
	margin-top:-0.5rem;
	margin-bottom:1.5rem;
	padding:1rem;
}


/* Media
--------------------------------------------- */
img {
	height:auto;
	max-width:100%;
}

.object-fit {
	height:100%;
	object-fit:cover;
	width:100%;	
}

video {
	height:auto !important;
	width:100% !important;
}

.videoOuterWrapper {
	border-top:1px solid #ddd; 
	margin-top:3rem;
	padding-top:2.5rem;	
}

.videoWrapper {
	height:0;
	padding-bottom:56.25%; /* 16:9 */
	position:relative;
}

.videoWrapper iframe {
	height:100%;
	left:0;
	position:absolute;
	top:0;
	width:100%;
}

figcaption,
.wp-caption-text {
	color:#000;
	display:block;
	font-size:0.813rem;
	font-weight:500;
	line-height:1.2;
	margin-top:1rem;
}

figcaption a,
.wp-caption-text a {
	color: inherit;
}

/* GALLERIES */

.gallery {
	display: flex;
	flex-wrap: wrap;
	margin: 3em 0 3em -0.8em;
	width: calc(100% + 1.6em);
}

.gallery-item {
	margin: 0.8em 0;
	padding: 0 0.8em;
	width: 100%;
}

.gallery-caption {
	display: block;
	margin-top: 0.8em;
}


/* =Alignments
----------------------------------------------- */
.alignfull {
	margin-top:2rem;
	margin-right: auto;
	margin-bottom:2rem;
	margin-left: auto;
	max-width:100%;
}

.alignnone,
.aligncenter {
	margin:2rem auto;
}

.alignleft {
	float:left;
	margin:0.3rem 2rem 2rem 0;
}

.alignright {
	float:right;
	margin:0.3rem 0 2rem 2rem;
}

	@media (max-width: 600px) {
		.alignleft,
		.alignright {
			display:block;
			float:none;
			margin:1.5rem auto 1.5rem 0;
		}
	}

.aligncenter,
.aligncenter img {
	margin-left:auto;
	margin-right:auto;
}


/* Footer
--------------------------------------------- */
.site-footer .heading {
	font-family: 'Lora', serif;
	text-transform:uppercase;
}

.site-footer .newsletter input {
	background:transparent;
	border:1px solid #f6f6f6;
	border-radius:0;
	color:#f6f6f6;
	height:50px;
	line-height:50px;
	padding:0 1rem;
}

.site-footer .newsletter .btn-outline-light {
	height:50px;
	line-height:50px;
	padding:0 1.5rem;
}

	@media (min-width: 576px) {
		.site-footer .newsletter input {
			font-size:0.875rem;
			width:350px;
		}
	}

.site-footer .newsletter .btn-outline-light {
	border-left:none;
}

.site-footer p {
	font-size:0.9rem;
}

.site-footer ul {
	list-style:none;
	margin:0;
	padding:0;
}

.site-footer li {
	font-size:0.9rem;
	margin:0.8rem 0;
}

.site-footer a,
.site-footer a:visited {
	color:#f6f6f6;
	font-weight:400;
}