@import "/assets/components/bootstrap/css/bootstrap.min.css" layer(lib);

html{
	scroll-behavior: smooth;
}

h1,h2{
	font-stretch: condensed;
}

h1{
	margin: 32px 0;
	font-size: 29px;
	line-height: 36px;
}

@media (min-width: 1200px){

	h1{
		margin: 48px 0;
		font-size: 44px;
		line-height: 60px;
	}

}

h2{
	margin: 24px 0;
	font-size: 22px;
	line-height: 28px;
}

@media (min-width: 1200px){

	h2{
		margin: 32px 0;
		font-size: 30px;
		line-height: 36px;
	}

}

p{
	margin: 16px 0;
}

@media (min-width: 1200px){

	p{
		margin: 20px 0;
	}

}

img{
	max-width: 100%;
}

/*select{
	display: inline-block;
	min-width: 10px;
	max-width: 70%;
}*/

table{
	max-width: 100%;
}

input.error{
	border: 1px solid brown !important;
}
/*
[href^="http"]:after{
	margin-left: .4em;
	content: "\f08e";
	font-family: FontAwesome;
}
*/

section{
	margin: 64px 0;
}

/* grid */

.grid{
	display: -webkit-flex;
	display: flex;
	margin-top: -1em !important;
	margin-bottom: -1em !important;
	/* -webkit-justify-content: space-between; */
	/* justify-content: space-between; */
	-webkit-align-items: stretch;
	align-items: stretch;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
}

.grid__item{
	padding-top: 1em;
	padding-bottom: 1em;
}

nav,
.nav,
.navbar{
	font-size: 16px;
	line-height: 1.5;
}

.required-star{
	color: brown;
}

.thumbnail{
	/*display: -webkit-flex;*/
	/*display: flex;*/
	display: block;
	position: relative;
	aspect-ratio: 4 / 3;
	padding: 0;
	background-color: #eee;
	/*background-image: url(/assets/images/company-logo_gray.png);*/
	background-position: 50% 50%;
	background-repeat: no-repeat;
	-webkit-background-size: 50%;
	background-size: 50%;
	border: 0;
	border-radius: 4px;
	overflow: hidden;
}
 @supports not (aspect-ratio: 1 / 1){
 	.thumbnail{
		padding: 75% 0 0;
 	}
 }

.thumbnail__image{
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	margin: auto !important;
	object-fit: cover;
}

.thumbnail .lazy-image{
	filter: blur(5px);
}

 .thumbnail_ratio_1by1{
 	aspect-ratio: 1 /1;
 }
 @supports not (aspect-ratio: 1 / 1){
 	.thumbnail_ratio_1by1{
 		padding-top: 100%;
 	}
 }

 .thumbnail_ratio_2by1{
 	aspect-ratio: 2 /1;
 }
 @supports not (aspect-ratio: 1 / 1){
 	.thumbnail{
		padding-top: 50%;
 	}
 }

.page-body,
.page-footer{
	/*background-color: #fff;*/
}

/* tape */

.tape{
	background-color: #fff;
}

.tape:nth-child(even){
	/*background-color: #fff;*/
}

.tape:nth-child(odd){
	/* background-color: #eee; */
	/*background-color: rgba(0,0,0,.6);*/
	/*color: #fff;*/
}

.tape_bg_transparent{
	background-color: rgba(0,0,0,.6);
	color: #fff;	
}

.tape_divided:not(:last-child){
	border-bottom: 1px solid #ddd;
}

.tape_size_large{
	padding-top: 40px;
	padding-bottom: 40px;
}

@media (min-width: 1200px){

	.tape_size_large{
		padding-top: 64px;
		padding-bottom: 64px;
	}

}

.tape_size_medium{
	padding-top: 32px;
	padding-bottom: 32px;
}

@media (min-width: 1200px){

	.tape_size_medium{
		padding-top: 40px;
		padding-bottom: 40px;
	}

}

.tape_size_small{
	padding-top: 16px;
	padding-bottom: 16px;
}

@media (min-width: 1200px){

	.tape_size_small{
		padding-top: 20px;
		padding-bottom: 20px;
	}

}

/* cards */

.cards{
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

/* card */

.card{
	display: -webkit-flex;
	display: flex;
	/*height: 100%;*/
	margin: 0;
	-webkit-flex-direction: column;
	flex-direction: column;
	/*color: #333;*/
	font-size: 16px;
}

.card .thumbnail{
	margin: 0;
	/* padding: 0; */
	border-radius: 4px 4px 0 0;
}

.card__image{
	overflow: hidden;
}

.card__header{
	padding: 15px;
}

.card__body{
	-webkit-flex-grow: 1;
	flex-grow: 1;
}

.card__footer{
	padding: 15px;
}

/**/

.text-center{
	text-align: center;
}

.page-copyright-tape{
	background-color: #000 !important;	
	color: #fff;
}

.page-copyright{}

.price{
	color: #007bb6;
	font-size: 1.2em;
}

.old-price{
	color: gray;
}

.price .fa, .old-price .fa {
    font-size: .8em;
}

/* jGrow */

.ms2-message-success,
.msoc-message-success{
	background-color: yellowgreen;
}
.ms2-message-error,
.msoc-message-error{
	background-color: tomato;
}
.ms2-message-info,
.msoc-message-info{
	background-color: black;
}

:first-child{
	margin-top: 0;
}
:last-child{
	margin-bottom: 0;
}