html {
	font-size: var(--font-size);
	line-height: 1.4em;
}
body {
	color: var(--color-text);
	background: var(--color-background);
	font-size: 1em;
	font-family: var(--font);
	font-weight: 400;
	margin: 0;
	padding: 0;
	width: 100%;
	min-width: 320px;
}
* {
	box-sizing: border-box;
}
div {
	margin: 0;
	padding: 0;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-title);
	font-weight: 700;

	margin: 0;
	padding: 0.6em 0 0.3em;

}
h1 {
	font-size: 3.1em;
	line-height: 1.1em;
	font-weight: 700;
	text-transform: uppercase;
	/*padding: 1.2em 0 0.6em;*/
}
h2 {
	font-size: 3.1em;
	line-height: 1.1em;
	font-weight: 400;
	text-transform: uppercase;
	/*padding: 1.0em 0 0.5em;*/
}
h3 {
	font-size: 1.6em;
	line-height: 1.4em;
	padding: 0.6em 0 0;
}
h4 {
	font-size: 1.8em;
	line-height: 1.1em;
	/*padding: 0.6em 0 0.3em;*/
}
h5 {
	font-size: 1.2em;
	/*padding: 0.4em 0 0.2em;*/
}
h6 {
	font-size: 1.0em;
	/*padding: 0.2em 0 0.1em;*/
}
p {
	padding: 0.2em 0;
	margin: 0;
}


.xl { width: 100%; max-width:  100%;  }
.lg { width: 100%; max-width: 1200px; }
.md { width: 100%; max-width:  900px; }
.sm { width: 100%; max-width:  600px; }
.xs { width: 100%; max-width:  300px; }

a, a:visited, .btn-link {
	color: var(--color-primary);
	text-decoration: none;
}
a:hover, .btn-link:hover {
	color: var(--color-primary);
	text-decoration: underline;
}
a:hover img {
	opacity: 0.5;
}

#gral {
	width: 100%;
	min-width: 320px;
}


/* HEADER */
#header {
	position: fixed;
	color: var(--header-color);
	background: var(--header-background);
	width: 100%;
	z-index: 1000;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
}

#header .container-xl {
	width: 100%;
	height: 5em;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}
.btnMenu {
	font-size: 2em;
	cursor: pointer;
}
.btnMenu:hover {
	color: var(--color-primary);
}
/* /HEADER */


/* MENU */
.menu {
	font-size: 1.2rem;
	display: none;
	color: var(--menu-color);
	background: var(--menu-background);
	width: 100%;
	max-width: 380px;
	max-height: 100vh;
	overflow: auto;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1500;
	text-transform: uppercase;
	padding-bottom: 1.3rem;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);

}
.menu .logo {
	margin: 1.3rem;
}
.menu .close {
	padding: 1.3rem;
	color: var(--menu-color);
	opacity: 100;
}
.menu .close:hover {
	cursor: pointer;
	color: var(--color-primary);
}
.menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.menu ul li {
	margin: 0;
	padding: 0;
}
.menu ul li a, .menu ul li a:visited {
	display: block;
	padding: 0.6rem 1.3rem;
	color: var(--menu-color);
}
.menu ul li a:hover {
	color: var(--menu-over-color);
	background: var(--menu-over-background);
	text-decoration: none;
}
/* /MENU */


#content {
	padding-top: 5em;
}


/* FOOTER */
#footer {
	font-size: 1em;
	background: #000;
	color: var(--footer-color);
	padding: 1.5em 0;
}
#footer .container-xl {
	padding: 0 1.2em;
}
#footer .sentences {
	margin: 0 auto;
}
#footer .sentence1 {
	text-align: center;
	font-size: 1.76em;
	line-height: 1.20em;
	margin-bottom: 0.3em;
}
#footer .sentence2 {
	text-align: center;
	font-size: 2.88em;
	line-height: 1.05em;
	color: #666666;
}
#footer .bottom {
	padding-top: 1.5em;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
}
#footer .bottom .email {
	text-align: left;
	font-size: 1.2em;
}
#footer .bottom .socialNetworks {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 0.5em;
	font-size: 1.2em;
	line-height: 1.2;
}
#footer .bottom .socialNetworks img {
	width: 2em;
}

#footer .bottom .directions {
	text-align: start;
}
#footer .bottom .directions .country {
	font-size: 1.0em;
	text-transform: uppercase;
}
#footer .bottom .directions .address {
	font-size: 0.98em;
}
#footer .bottom .directions .city {
	font-size: 1.1em;
}
#footer .bottom a, #footer .bottom a:visited {
	color: var(--footer-color)
}
#footer .bottom a:hover {
	color: var(--footer-color);
	text-decoration: none;
}
#footer .bottom a:hover {
	opacity: 0.6;
}
/* /FOOTER */
.preview {
	text-transform: uppercase;
	position: fixed;
	background: #000;
	padding: 0.3em 0.5em;
	font-size: 0.7em;
	line-height: 1em;
	color: #fff;
	opacity: 0.6;
	z-index: 3000;
}
.preview.topLeft, .preview.bottomLeft { left: 1em; }
.preview.topRight, .preview.bottomRight { right: 1em; }
.preview.topLeft, .preview.topRight { top: 1em; }
.preview.bottomLeft, .preview.bottomRight { bottom: 1em; }


/* SLIDERS */
ul.pf {
	background: #000;
	width: 100%;
	position: relative;
	height: 0;
	padding-bottom: 49.48%;
}
ul.pf li {
	background: #000;
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}
ul.pf li img {
	width: 100%;
	display: block;
}
ul.pf li img.portrait {
	display: none;
}
/* /SLIDERS */


/* GRID */
.row {
	margin-top: 0.5em;
}
.row > div {
	margin-bottom: 30px;
}
.row.withText > div {
	margin-bottom: 2em;
}
.row img {
	max-width: 100%;
}
.row a, .row a:visited, h2 a, h2 a:visited {
	color: var(--color-text);
	text-decoration: none;
}
.row a:hover, h2 a:hover {
	color: var(--color-primary);
	text-decoration: none;
}
.row h4 {

}
/* /GRID */

/* CONTENTS */
#content {
	padding-bottom: 2em;
	min-height: calc(100vh - 13.2em);
}
.page-item.active .page-link {
	background-color: var(--color-primary);
	border-color: var(--color-primary);
}
.page-link:hover {
	color: var(--color-primary);
}
/*
.content h3 {
	font-size: 1.5em;
}
*/
.content .img {
	margin: 1.5em 0 0;
	text-align: center;
}
.content .img img {
	display: block;
	max-width: 100%;
}
.content h3 {
	padding: 0;
	margin: 0 0 0.4em 0;
}
.content .epigrafe {
	/*background: rgba(0, 0, 0, 0.8);*/
	/*color: #fff;*/
	padding: 5px;
	margin: -1.5em 0 1.5em 0;
}
.content .img, .content .text, .content .Vcontainer {
	margin: 0 0 1.5em 0;
}
.content .gridPre {
	margin: 0 -15px -30px;
}
.content .row.gridContent {
	margin: 1.5em 0;
	/*
	margin-top: 1.5em;
	margin-bottom: 1.5em;
	*/
}
.gridContent .box {

}
.gridContent .box img {
	max-width: 100%;
}
/* /CONTENTS */

.important p {
	padding: 0 0 1em;
	font-size: 1.6em;
	line-height: 1.3em;
}
.gVideo {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 75%;
	display: block;
}
.thVideo {
	position: absolute;
	width: 100%;
	height: 100%;
	display: flex;
	overflow: hidden;
	justify-content: center;
	align-items: center;
}
.thVideo img {
	width: 100%;
}

/* FILTER */
.filterCont {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 1em;
}
.filter {
	color: #fff;
	background: #000;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	text-transform: uppercase;
	font-size: 1.1em;
}
.filter .title {
	padding: 0 1em;
}
.filter label {
	padding: 0 0.5em;
	margin: 0;
}
.filter .it {
	padding: 0.5em;
}
.filter select {
	margin: 0;
	padding: 0.5em;
	border: 0;
	font-size: 1em;
	line-height: 1em;
}
/* /FILTER */



@media (max-width: 1200px) {
	#footer {
		font-size: 0.8em;
	}
	#footer .container-xl {
		max-width: 900px;
	}
	#content {
		min-height: calc(100vh - 10.6em);
	}
}

@media (max-width: 960px) {
	h1, h2 {
		font-size: 2em;
	}

	#footer .container-xl {
		max-width: 900px;
	}
	#footer .sentences {
		font-size: 0.8em;
	}

	#footer .bottom .email {
		width: 100%;
		text-align: center;
		padding: 0.5em 0 1.2em;
	}
	#content {
		min-height: calc(100vh - 14.3em);
	}
}
@media (max-width: 740px) {
	#footer .sentences {
		font-size: 1em;
		max-width: 420px;
	}
	#content {
		min-height: calc(100vh - 16.4em);
	}
	.filter {
		flex-direction: column;
	}
	.filter .title {
		padding: 0.5em 0;
	}
	.filter .it {
		width: 100%;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.filter .it label {
		margin-right: 0.5em;
	}
}
@media (max-width: 480px) {
	#footer .sentences {
		max-width: 310px;
		font-size: 0.7em;
	}
	#footer {
		font-size: 0.8em;
	}
	#footer .bottom {
		flex-direction: column;
	}
	#footer .bottom .socialNetworks {
		width: 100%;
		text-align: center;
		padding: 0.5em 0 1.2em;
	}
	#footer .snUser {
		display:  none;
	}
	#footer .bottom .directions {
		width: 100%;
		text-align: center;
		padding: 0.5em 0;
	}
	#content {
		min-height: calc(100vh - 22.1em);
	}
}
@media (orientation: portrait) {
	ul.pf {
		padding-bottom: 144.44%;
	}
	ul.pf li img.portrait {
		display: block;
	}
	ul.pf li img.landscape {
		display: none;
	}
}
