/*
Theme Name: tema
Theme URI: https://wordpress.org/themes/twentysixteen/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: Twenty Sixteen is a modernized take on an ever-popular WordPress layout Ã¢â‚¬â€ the horizontal masthead with an optional right sidebar that works perfectly for blogs and websites. It has custom color options with beautiful default color schemes, a harmonious fluid grid using a mobile-first approach, and impeccable polish in every detail. Twenty Sixteen will make your WordPress look beautiful everywhere.
Version: 1.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready, blog
Text Domain: twentysixteen
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
@font-face {
  font-family: 'MyWebFont';
  src: url('../tema/font/PlayfairDisplay-Regular.ttf')  format('truetype');
}
@font-face {
  font-family: 'MyWebFont';
  src: url('../tema/font/PlayfairDisplay-Black.ttf')  format('truetype');
  font-weight:bold;
}
a, body, html, div, p, input, ul, li, span,textarea {
	border:0;
	padding:0;
	margin:0;
	box-shadow:none;
	-webkit-appearance:none;
	outline:0;
	text-decoration:none;
	color:black;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 15px;
	line-height: 25px;
	font-family: 'MyWebFont';
	list-style: none;font-weight: bold;
	letter-spacing:0.5px;
}
.left-link {
	position: relative;
	width: calc(100% - 60px);
	z-index:2;
	display: block;
	padding: 22.5px 30px 21.5px 30px;
}
.right-link {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 33.33%;
	z-index:2;
}
.counter {
float: right;
}
.left-h {
float: left;
}
.header-single {
position: fixed;
top: 0;
left: 0;
right: 0;
padding: 22.5px 30px;
z-index: 10;
}
.row {
    border-bottom: 1px solid black;
}
a.full-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}
.row:hover {
	z-index:1;
}
.img img {
    display: block;
    width:auto;
    margin: 0 auto;
    max-height: calc(80vh - 71px);
    max-width: 65vw;
}
.img {
    position: fixed;
    top: calc(50% - 41px);
    transform: translate(-50%,-50%);
    display: none;
    pointer-events: none;
    left: 50%;
    opacity: 1;
}
body {
    overflow-x: hidden;
}
.col {
    float: left;
    width: 33.33%;
}
.col.colc {
    text-align: center;
}
.img-s img {
    display: block;
    width: 21px;
}

.img-s {
    margin-bottom: 25px;
}

.container {
    padding-top: 30px;
}
.col.colr {
    text-align: right;
}
.col50 {
    width: calc(50% - 15px);
    float: left;
    margin-right: 30px;
}
.right.col50 {
    margin-right: 0;
    float: right;
}
.text p {
    margin-bottom: 25px;
}
.clear {
    clear: both;
}
.padder {
	padding:30px;
}
li.current-menu-item a {
    color: rgb(85,85,85);
}
/*.row:first-of-type {
    border-top: 1px solid black;
}*/
.row:hover * {
    color: rgb(85,85,85);
}
.menu-h a {
    font-weight: bold;
}
header#masthead {
    position: fixed;
    bottom: 0;
    z-index: 3;
    left: 0;
    right: 0;
    height: 70px;
    background: white;
    
    padding-left:30px;
    padding-right:30px;
    transition: transform 0.8s ease;
    transform: translate(0,100%);
}
.menu-h a:hover {
    color: rgb(85,85,85);
}
.logo:hover svg #hoverlogo {
    fill: rgb(85,85,85);
}
main#main {
    padding-bottom: 70px;
}
.logo svg {
    display: block;
    width: 21px;
	height:auto;
}
.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding-top: 0;
}
.menu-h {
    float: right;
    padding-top: 22.5px;
    width: calc(50% + 20px);
    margin-right: -30px;
}
#menu-mainmenu {text-align: center;display: flex;justify-content: space-evenly;width: 100%;}
.menu-h li {
	display: inline-block;
	vertical-align:middle;
	margin-left: 0;
}
.fixed-left .left.col50 {
    position: fixed;
    left: 30px;
    top: 30px;
    width: calc(50% - 45px);
}
.img-gallery {
    height: 65vh;
    width: 100% !important;
}
.img-gallery img {
    display: none !important;
}
.bx-pager.bx-default-pager {
    display: none;
}
a.left-link {
    cursor: initial;
}

.clickable a.left-link {
    cursor: pointer;
}
.back-arrow {position: absolute;top: 22px;left: 30px;cursor: pointer;display:none;}
.single .back-arrow {
	display:block;
}
.back-arrow svg {
width: 40px;
height: auto;
}
.gallery {
    margin-top: 17.5vh;
}
.splash {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: white;
    z-index: 100;
	transition:opacity 0.8s ease;
}
.remove .splash {
	opacity:0;
	pointer-events:none;
}
.table {
    height: 100%;
    display: table;
    width: 100%;
}
#solo-fill-c {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: block;
}
.testo-galleria {
    position: fixed;
    top: 50%;
    left: 50%;
    max-width: 34vw;
    background: white;
    z-index: 100000;
    transform: translate(-50%,-50%);
    transition: opacity 0.5s 0.5s;
    opacity: 0;
	border:1px solid black;
}
.animate .testo-galleria {
    opacity: 1;
}
.animate .remove.testo-galleria {
	opacity:0;
	pointer-events:none;
	transition: opacity 0.5s;
}
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 40px;
    cursor: pointer;
}
.single main#main {
    top: 0;
}
.inner-testo-g {
    padding: 30px;
    overflow: auto;
    max-height: 50vh;
}

.inner-testo-g p {
    margin-bottom: 20px;
}

.inner-testo-g p:last-of-type {
    margin-bottom: 0;
}

.inner-testo-g::-webkit-scrollbar {
    width: 5px;
}
 
.inner-testo-g::-webkit-scrollbar-track {
   
}
 
.inner-testo-g::-webkit-scrollbar-thumb {
  background-color: black;
}
.splash * {
    -webkit-backface-visibility: hidden;
}
.table-cell {
    display: table-cell;
    vertical-align: middle;
}

.splash svg {
    width: 2.5vw;
    height: auto;
    display: block;
    margin: 0 auto;
}
.testo-galleria * {
    color: black !important;
}
.inner-splash {
    position: relative;
    height: 100%;
}
svg#solo-fill {
    position: absolute;
    bottom: 0;
    left: 0;
}
.animate div#solo-fill-c-i {
	height:100%;
}
div#solo-fill-c-i {
    height: 0;
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
    width: 100%;
    bottom: 0;
    transition: height 2s;
}
.showmenu header#masthead {
    transform: translate(0,0);
}
main#main {
    opacity: 0;
	top:90px;
	position:relative;
    transition: all 0.8s ease;
}
.text a:hover {
    color: rgb(85,85,85);
}
.back-arrow:hover path {
fill: rgb(85,85,85);
}
.animate main#main {
    opacity: 1;
	top:0;
}
.page-id-19 .testo-galleria {
    transition: opacity 0.5s;
}
@media all and (max-width:767px) {
	a, body, html, div, p, input, ul, li, span, textarea {
	    font-size: 15px;
	    line-height: 20px;
	}
	.col.colmobile {
	    display: block !important;
	    text-align: right;
	    width: calc(43.33% + 15px);
	    margin-left: 0;
	}
	.left-link {
	    padding: 15px;
	    width: calc(100% - 30px);
	}

	header#masthead {
	    padding: 0 15px;
	    height: 56px;
	}

	.logo {
	    padding-top: 13px;
	    float: left;
	    position: relative;
	    transform: translate(0,0);
	    left: 0;
	    top: 0;
	}

	.menu-h {
	    padding-top: 17px;
	}

	.col.colr {
	    display: none;
	}

	.col.coll {
	    width: calc(56.66% - 15px);
	    text-align: left;
	}
	.img {
	    display: block !important;
	    position: relative;
	    transform: translate(-50%,0);
	    margin-top: 20px;
	}
	.splash svg {
	    width: 10vw;
	}
	main#main {
	    padding-bottom: 56px;
	}

	.logo svg {
	    width: 20px;
		height:auto;
	}
	.padder {
	    padding: 15px;
	}

	.img-s img {
	    width: 20px;
	}

	.col50 {
	    width: 100% !important;
	    float: none;
	    position: relative !important;
	    top: 0 !important;
	    left: 0 !important;
	}

	.text.right.col50 {
	    padding-top: 30px;
	}
	.col.colc {
	    margin-left: 15px;
	    text-align:right;
	    display: none;
	}
	ul#menu-mainmenu li {
	    margin-left: 20px;
	    display: inline-block;
	}

	.menu-h {
	    width: 70%;
	    text-align: right;
	    margin-right: 0;
	}

	ul#menu-mainmenu {
	    display: block;
	    table-layout: initial;
	    text-align: right;
	}
	.back-arrow {
	    display: none !important;
	}
	.testo-galleria {
	    width: calc(100% - 30px);
	    max-width: calc(100% - 20px);
	}

	.inner-testo-g {
	    padding: 20px;
	    padding-top: 40px;
		-webkit-overflow-scrolling: touch;
	}
}