@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@200&display=swap');

body {
	font-family: "myriad-pro";
	color: #414042;
}

a, a:hover {
	color: #414042;
	text-decoration: none;
}

.print-only {
	display: none;
}

h1, h2, h3 {
	font-family: "myriad-pro";
}

label {
	font-family: "myriad-pro";
}

.container-fluid p {
	margin: 3em 0;
	text-align: left;
}

#container {
	max-width: 1400px;
	padding: 0;
}

@media screen and (min-width: 901px) {
	#container {
		margin: 50px auto 0;
		padding: 20px;
	}
}

@media screen and (min-width: 1300px) {
	#container {
		margin: 50px auto 0 100px;
		padding: 0;
	}
}


.home .rl-gallery-container {
    /*remove horizontal scroll bar home page*/
    overflow: hidden;
}

.content {
	-webkit-box-flex: 1;
	    -ms-flex-positive: 1;
	        flex-grow: 1;
}

.static-page {
	margin: 0;
	padding: 0;
}

.static-page h1 {
	font-size: 1.8rem;
	margin: 0.5rem 0 1.5rem 0;
	color: #6e6f70;
	padding-left: 3rem;
}

#bg-fill {
	position: fixed;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

#bg-fill video {
	margin: 0;
	padding: 0;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;

	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}

#bg-cover {
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.3);
}

#caption-container {
	/*light*/
	font-family: "myriad-pro";
	line-height: 2.5em;
	color: #FFF;
	position: fixed;
	height: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	max-width: 100%;
	padding: 5em;
	background-color: red;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center; /* FF3.6-15 */
	background: -webkit-linear-gradient(left, rgba(0,0,0,0.8) 0%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: -webkit-gradient(linear, left top, right top, from(rgba(0,0,0,0.8)),to(rgba(0,0,0,0)));
	background: -o-linear-gradient(left, rgba(0,0,0,0.8) 0%,rgba(0,0,0,0) 100%);
	background: linear-gradient(to right, rgba(0,0,0,0.8) 0%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=1 ); /* IE6-9 */
}

#caption-container {
	width: 40%;
}

#caption-content h3 {
	font-weight: 200;
	margin-bottom: 1.5em;
}

.cerno-products {
	list-style: none;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	display: -webkit-flex;
	-webkit-box-align: row;
	    -ms-flex-align: row;
	        align-items: row;
	-webkit-box-flex: space-around;
	    -ms-flex-positive: space-around;
	        flex-grow: space-around;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}

.cerno-category {
	display: flex;
	justify-content: center;
	align-items: center;
	color: #FFF;
	font-size: 1.8em;
}

.cerno-category:hover {
	color: #FFF;
	text-decoration: none;
}

.cerno-category:hover .overlay {
	background-color: rgba(128, 130, 128, 0.25);
	transition: background-color 0.5s;
}

.cat-container {
	position: relative;
	border: 10px solid #ffffff;
}

.cat-container .overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/*display: flex;*/
	/*justify-content: center;*/
	/*align-items: center;*/
	/*background-color: rgba(128, 130, 128, 0.75);*/
	transition: background-color 0.5s;
	font-variant-ligatures: none;
	font-weight: 500;
}

.cat-container .overlay p {
	text-align: right;
	font-size: 1.5rem;
	padding: 1.7rem 25px;
	color: #999;
	letter-spacing: 0.03em;
	text-transform: lowercase;
}

.cerno-product, .cerno-category {
	/*width: 25%;*/
	flex: 0 0 25%;
}

.custom-content {
	padding: 3em;
}

@media (max-width: 1200px) {
	.cerno-product, .cerno-category {
		/*width: 33.33%;*/
		flex: 0 0 33.33%;
	}
}

@media (max-width: 900px) {
	.cerno-product, .cerno-category {
		/*width: 50%;*/
		flex: 0 0 50%;
	}
}

.cerno-product, .cerno-category {
	/*height: 600px;*/
	overflow: hidden;
}

.cerno-product:hover, .cerno-category:hover {
	text-decoration: none;
}

.cerno-product img {
	transition: transform 0.5s;
	overflow: hidden;
	position: relative;
	z-index: -1;
}

.cerno-product:hover img {
	transform: scale(1.025);
	transition: transform 0.25s;
}

.cerno-product img {
/*	background: url("../vesper.jpg");
	background-size: cover;
	background-position: center;*/
	width: 100%;
	height: auto;
}

.cerno-product .name {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	display: -webkit-flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	color: #FFF;
	font-size: 1.25em;
	background-color: #C7C7C7;
	height: 50px;
}

.cerno-product .name p {
	margin: 0;
	padding: 0;
	width: 100%;
	text-align: center;
}

/*  GALLERY  */
#gallery {
	width: 40%;
	/*flex: 2 0 0;*/
	float: left;
}

#gallery img {
	width: 100%;
	height: auto;
	display: inline-block;
}

#details {
	/*flex: 0 0 850px;*/
	/*align-self: flex-start;*/
	display: inline-block;
	width: 60%;
	float: left;
	padding: 4em;
	/*background-color: coral;*/
}

@media(max-width: 900px) {

	#caption-container{
		width: 100%;
	}

	#left-nav {
		-webkit-box-flex: 0;
		    -ms-flex: 0 0 0px;
		        flex: 0 0 0;
		position: static;
		display: none;
	}

	#top-nav {
		display: block;
	}

	#top-nav .nav-links.open {
		padding: 2em 0;
		max-height: 100vh;
	}
}

/*Footer*/
footer {
	display: none;
	margin-top: 30px;
    border-top: 1px solid #ccc;
    padding-top: 22px;
}

@media screen and (min-width: 901px) {
	footer {
		display: block;
	}
}

/* home page gallery */
/*extra whitespace */
.sy-slides-wrap {height: auto !important;}

.home-page-new-products ul {
    list-style: none;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin-top: 20px;
}
.home-page-new-products img {
	width: 310px;
    height: 250px;
    max-width: 100%;
}