/*
	Theme Name: Tiscogran
	Theme URI: https://www.studio-6.it
	Description: Custom Wordpress theme
	Version: 1.0
	Author: Gabriel Nastase 
	Author URI: http://gabrielnastase.com
	Tags: HTML5, CSS3
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font-family: 'Manrope', sans-serif;
    font-size: 1.6rem;
	color:#767676;
    background-color: #fff;
    font-weight: 400;
}
.hand {
    font-family: 'Herbarium', serif;
    font-weight: normal;
}
.orange {
    color: #f5ae33;
}
/* clear */
.clear {
    clear: both;
    height: 0;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#767676;
	text-decoration:none;
    transition: all 200ms;
}
a:hover {
	color: #333;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
.dark {
    color: #fff;
}
.dark a {
    color: #fff;
}
.dark a:hover {
	color: #f5ae33;
}

h1, h2, h3 {
    font-weight: 700;
}
h1, h2 {
    font-size: 3rem;
}
input:focus {
	outline:0;
}

input, textarea {
    padding: 8px;
    border-radius: 5px;
    border: solid 1px #ede2d1;
    font-size: 1.4rem;
}
.wpcf7-spinner {
    display: block;
    margin: 20px auto!important;
}
.wpcf7-submit {
    background: #634e42;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.8rem;
    padding: 8px 22px;
}
/* Grow */
.hvr-grow {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: all;
  transition-property: all;
}
.hvr-grow:hover, .hvr-grow:focus, .hvr-grow:active {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

/* Shrink */
.hvr-shrink {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: all;
}
.hvr-shrink:hover, .hvr-shrink:focus, .hvr-shrink:active {
  -webkit-transform: scale(0.94);
  transform: scale(0.94);
}

.center {text-align: center;}
.section-title {
    font-size: 8rem;
    margin-bottom: 30px;
}
.bigger {font-size: 5rem;}
.big {font-size: 3.8rem;}
.normal {
    font-weight: normal;
}
p {
    font-size: 1.8rem;
}
h1, h2, h3 {
    font-weight: 700;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.fullwidth, .fullwidth img {
    width: 100%;
}
.wrapper {
	max-width:1150px;
	width:90%;
	margin:0 auto!important;
	position:relative;
}
.outer-wrapper {
    width: 90%;
    margin: 0 auto;
}
.wrap-left {
    padding-left: calc( ( 100% - 1150px ) / 2 )!important;
}
.wrap-right {
    padding-right: calc( ( 100% - 1150px ) / 2 )!important;
}
.padding-right-30 {
    padding-right: 30px;
}

.narrow-wrapper {
    max-width: 600px;
    width:80%;
    margin: 0 auto!important;
}
.flex-container {
	display: flex;
    flex-wrap: wrap;
}
.flex-reverse {
    flex-direction: row-reverse;
}

.box-padding {
    padding: 20px;
}
.big-box-padding {
    padding: 100px 15%;
}
.content-padding {
    padding: 120px 0;
}
.content-padding-s {
    padding: 60px 0;
}
.content-padding-bottom {
    padding-bottom: 120px;
}
.content-padding-top {
    padding-top: 120px;
}
.no-margin {
    margin: 0;
}
.first-content {
        padding-top: 160px;
}
.left {
	float: left;
}
.right {
	float: right;
}
.col-50 {
	width: 50%;
}
.col-25 {
	width: 25%;
}
.col-30 {
	width: 30%;
}
.col-70 {
	width: 70%;
}
.col-75 {
	width: 75%;
}
/* header */
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
	transition: all 300ms ease-out;
}
.header .box {
    background: #fff;
    padding: 5px 0;
}
.header .flex-container {
    align-items: center;
    justify-content: space-between;
}
.nav {
	display: block;
	float: left;
    text-transform: uppercase;
    font-weight: bold;
}
.nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav ul li {
	display: inline-block;
	font-size: 1.4rem;
	margin: 0 10px;
	transition: all 300ms;
}
.nav ul li a {
    color: #000;
}
.nav ul li a:hover {
    color: #767676;
}
.current-menu-item a, .nav ul .current-menu-item a {
    color: #f5ae33;
}

/* logo */
.logo {
	max-width: 120px;
}
.logo img {
    min-width: 120px;
    transition: all 200ms;
}
.header-scroll .logo img {
    min-width: 90px;
}
.btn {
    display: inline-block;
}
.header .btn {
    display: inline-block;
    padding: 7px 20px;
    border: solid 2px #f5ae33;
    border-radius: 5px;
    margin: 0 40px;
}
.header .btn i {
    margin-right: 15px;
}
.header .motivo {
    width: 100%;
    display: block;
}


/* menu btn */

#nav-icon3 {
  width: 25px;
  height: 25px;
  position: relative;
    float: left;
    margin-top: 2px;
  z-index: 999;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

 #nav-icon3 span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #333;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}



/* menu  button */

#nav-icon3 span:nth-child(1) {
  top: 0px;
}

#nav-icon3 span:nth-child(2),#nav-icon3 span:nth-child(3) {
  top: 10px;
}

#nav-icon3 span:nth-child(4) {
  top: 20px;
}

#nav-icon3.open span:nth-child(1) {
  top: 18px;
  width: 0%;
  left: 50%;
}

#nav-icon3.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon3.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
#nav-icon3.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}
.intro {
    position: relative;
    width: 100%;
    background-color: #fff;
    background-image: url(img/bg-header.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: bottom;
    z-index: 1;
    opacity: 1;
    transition: all 800ms ease-out;
    padding: 200px 0;
    min-height: 100vh;
}


/* sidebar */
.sidebar {
    background-color: rgba(255,255,255,.97);
    position: fixed;
    z-index: 900;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    text-align: center;
    padding-top: 200px;
}
.sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 2rem;
    margin: 15px 0;
    font-weight: 700;
}
.sidebar ul li {
    margin: 20px 0;
}

/* footer */
.footer {
    margin: 0;
    font-size: 1.2rem;
    background: url(img/Shape-19.png);
    background-repeat: no-repeat;
    background-size: 75%;
    background-position: top center;
}
.footer p {
    font-size: 1.2rem;
}
/*------------------------------------*\
    PAGES
\*------------------------------------*/

.page-header {
    padding: 150px 0 50px 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
    background-attachment: fixed;
    background-image: url(img/fetta-01.svg);
}


.date {
    color: #e78e00;
    margin-top: 15px;
}
.continua {
    color: #e67d05;
    margin-top: 15px;
    margin-top: 20px;
    display: block;
}

.flex-3 .articolo {
    width: 31%;
    margin: 15px 1.16%;
}

table td {
    font-size: 1.4rem;
    padding: 15px;
}
.fancybox-image {
    border-radius: 10px!important;
}
.bg-grano {
    background-image: url(img/bg-grano.jpg);
    background-size: 100%;
    background-position: bottom;
    background-repeat: no-repeat;
}
.bg-black {
    background-color: #1f1e17;
}
.bg-motivi {
    background-image: url(img/motivi.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: bottom;
}
.strappo-bianco-su {
    position: relative;
    margin-bottom: -20px;
    z-index: 100;
}
.strappo-bianco-giu {
    position: relative;
    margin-top: -20px;
    z-index: 120;
}
.wp-block-button__link {
    font-weight: 700;
}
/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/
/* manrope-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/manrope-v15-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* manrope-700 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/manrope-v15-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  @font-face {
    font-family: 'Herbarium';
    src: url('fonts/herbarium.woff2') format('woff2'),
         url('fonts/herbarium.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width:1000px) {

    .wrap-left {
        padding-left: 5%!important;
    }
    .wrap-right {
        padding-right: 5%!important;
    }
    .header .nav {
        display: none;
    }
    .big {
        font-size: 3rem;
    }
    .loghi img {
        height: auto!important;
    }
    .content-padding-s {
        padding: 20px 0;
    }
    .wp-block-cover .hand {
        margin: 0;
    }

    
}
@media only screen and (max-width:782px) {

    .content-padding {
        padding: 40px 0;
    }
    .first-content {
        padding-top: 120px;
    }
    .wrap-left {
        padding-right: 5%;
    }
    .wrap-right {
        padding-left: 5%;
    }
    .logo img {
        min-width: 90px;
    }

    .header-scroll .logo img {
        min-width: 60px;
    }
    .header .btn {
        margin: 0;
        margin-right: 20px;
    }
    .reverse {
        flex-direction: column-reverse;
    }
    .strappo-bianco-su {
        margin-bottom: -10px;
    }
    .narrow-wrapper {
        width: 90%;
    }


}
@media only screen and (max-width:600px) {

  

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	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 .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
