/*
	Theme Name: Temotex - 2020
	Theme URI: https://www.temotex.com
	Description: Temotex Srl
	Version: 1.0
	Author: Filippo Montanari
	Author URI: https://www.linkedin.com/in/filippomontanari/
*/
:focus {
    outline: none;
}
html { font-size: 62.5%; }
body {
	font: 2.4rem 'Nunito Sans', sans-serif;
	color: #505050;
}
a {
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
	color: #5f9dd2;
}
a:hover {
	color: #0c83c4;
}
h1 {
	font-size: 4rem;
}
h2 {
	font-size: 3rem;
}
h3 {
	font-size: 2.8rem;
}
p {
	margin-bottom: 1.5rem;
}
iframe, embed, object, video {
	max-width: 100%;
}
header {
    padding: 10px 0;
    z-index: 100;
    background: #fff;
	top: 0;
}
section {
	overflow: hidden;
	position: relative;
}
blockquote:not(.tiktok-embed) {
	position: relative;
    background: #fff;
    border-left: 2px solid #cd2c58;
    padding: 2rem 1rem 2rem 3rem;
    margin: 0 0 2rem 1rem;
}
blockquote:not(.instagram-media):not(.twitter-tweet):not(.tiktok-embed):after {
    font: 900 2.3rem/4rem 'Font Awesome 5 Free';
	content: "\f10e";
    background-color: #fff;
    opacity: 1;
    z-index: 0;
    position: absolute;
    top: calc(50% - 20px);
    left: -20px;
    width: 40px;
    height: 40px;
	text-align: center;
	transform: scaleX(-1);
	color: #cd2c58;
}
blockquote p:last-child {
    margin: 0;
}

#mega-menu-wrap-primary-menu .mega-menu-toggle.mega-menu-open + #mega-menu-primary-menu {
    top: 52px;
}

.messaggio-in-evidenza {
	background: #5d9cd4;
	color: #fff;
}
.messaggio-in-evidenza p:last-of-type { margin: 0; }
.messaggio-in-evidenza a { color: #fff; }

.video-container {
	position: relative;
	top: 0;
	bottom: 0;
	width: 100%;
	height: 30vh; 
	overflow: hidden;
}
.video-container video {
    width: 100vw;
    height: 30vh;
    position: absolute;
    object-fit: cover;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    overflow: hidden;
}
.headline {
	color: #5f9dd2;
	font-size: 4rem;
}
.single-prodotto .headline {
	text-transform: uppercase;
}
.related, .product-list {
	border-top: 1px solid #989898;
}
.related .h2 {
	font-size: 4rem;
	color: #5f9dd2;
}
.related .small {
	font-size: 1.6rem;
}
.prodotto-template-default .mega-menu-item-25>a.mega-menu-link {
	color: #5f9dd2 !important;
}
.related-items a, .entries a {
	font-size: 2.3rem;
}
.related-items a:hover, .entries a:hover {
	text-decoration: none;
}
.product-list .h2 {
	color: #5f9dd2;
	font-size: 4rem;
}
.intro img, .carousel-item img {
	min-height: 400px;
	object-fit: cover;
}
.nav-products ul {
	list-style-type: none;
	font-size: 2.4rem;
	padding: 0;
	margin: 0;
}
.nav-products ul li.menu-item-type-taxonomy {
	padding-top: .4rem;
	padding-bottom: .4rem;
}
.nav-products ul li.menu-item-type-taxonomy>a {
	text-transform: uppercase;
	font-weight: 900;
	position: relative;
	padding-right: 5rem;
}
.nav-products ul li.menu-item-type-taxonomy>a:after {
	content: '';
	display: block;
	border: 2px solid #969696;
	border-width: 0 2px 2px 0;
	width: 1.5rem;
	height: 1.5rem;
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	position: absolute;
	top: .5rem;
	right: 2rem;
}
.nav-products ul li.menu-item-type-taxonomy.toggled>a {
	color: #000;
}
.nav-products ul li.menu-item-type-taxonomy.toggled>a:after {
	-moz-transform: rotate(225deg);
	-webkit-transform: rotate(225deg);
	-o-transform: rotate(225deg);
	-ms-transform: rotate(225deg);
	transform: rotate(225deg);
	border-color: #000;
	top: 1.5rem;
}
.nav-products ul ul {
	display: none;
}
.nav-products ul li li {
	padding-left: 2rem;
}
.nav-products ul li a {
	color: #969696;
	display: block;
}
.nav-products ul li a:hover {
	color: #000;
	text-decoration: none;
}

/* FOOTER */
.legal {
	background: #f6f7f7;
	color: #000;
	padding: 1.5rem 0;
	font-size: 1.3rem;
	line-height: normal;
}
.legal a {
	color: #000;
}
.legal ul {
	margin-bottom: 0;
}

/* embed center alignment */
.twitter-tweet { margin:auto !important; display: block; }
.iframe-container { text-align: center; }
.embed-responsive {
	position: relative;
	display: block;
	height: 0;
	padding: 0;
	overflow: hidden;
	margin-bottom: 2.5rem;
}
.embed-responsive .embed-responsive-item,
.embed-responsive iframe {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.embed-responsive-16by9 {
	padding-bottom: 56.25%;
}

.carousel-indicators {
	bottom: 20px;
}
.carousel-indicators li {
    width: 18px;
    height: 18px;
    border-radius: 50%;
	opacity: 1;
	margin: 0 8px;
	border: 1px solid #5f9dd2;
	box-sizing: border-box;
}
.carousel-indicators .active {
	background-color: #5f9dd2;
}
.carousel-item .dida {
	position: absolute;
	background: #fff;
	border-radius: 40px;
	font-size: 25px;
	font-weight: bold;
	color: #0060a0;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	top: 45%;
	right: 10%;
	padding: 10px 30px;
	max-width: 275px;
}

.gallery-item a {
	position: relative;
	display: block;
}
.gallery-item a:hover {
	opacity: .9;
} 
.gallery-item a:after {
	content: '';
	display: block;
	width: 4rem;
	height: 4rem;
	background: url(images/lente.svg) no-repeat center center/contain;
	pointer-events: none;
	position: absolute;
	bottom: 1.5rem;
	right: 1.5rem;
}

.btn-primary {
	background: #6c9dcd;
	border-radius: 0;
	font-size: 2rem;
	text-transform: uppercase;
	border: 0;
}
:hover.btn-primary {
	background: #2c70b4;
}

@media (min-width: 576px) {

} /* end min-width: 576px */

@media (min-width: 768px) {
	.home .intro img {
		height: 88vh;
	}
	.admin-bar .sticky-top {
		top: 32px;
	}
	.product-list aside {
		border-right: 1px solid #989898;
	}
	.video-container {
		height: 70vh;
	}
	.video-container video {
        width: 100vw;
        height: 70vh;
        position: absolute;
        object-fit: cover;
        top: 0;
        left: 50%;
        transform: translate(-50%, 0);
        overflow: hidden;
	}
} /* end min-width: 768px */

@media (min-width: 992px) {
	
} /* end min-width: 992px */

@media (min-width: 1200px) {
	
} /* end min-width: 1200px */

/* WP STANDARD */
.aligncenter,
div.aligncenter {
    display: block;
	margin: 0 auto;
}
.alignright {
    float:right;
}
.alignleft {
    float: left;
}

a img.alignright {
    float: right;
}

a img.alignleft {
    float: left;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.wp-caption {
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}
.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}