/*
	Theme Name: Boscoserve
	Theme URI: https://boscoserve.it
	Description: Interfaccia personalizzata 
	Version: 1.0
	Author: Gabriel Nastase
	Author URI: http://gabrielnastase.com
	Tags: Blank, 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:500 11px/1.4 'Montserrat', Helvetica, Arial, sans-serif;
	color:#333;
	background: #fff;
	font-size: 1.6rem;
}
/* clear */
.clear {
    clear: both;
    height: 0;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color: #333;
	text-decoration:none;
	transition: all 300ms;
}
a:hover {
	color:#9ABF38;
}
a.green {
	color: #9ABF38;
}
a.green:hover {
	color: #327c0c;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
.dark {
	color: #fff;
}
.dark a {
	color: #fff;
}
.dark a:hover {
	color: #9ABF38;
}
.dark-grey {
	background-color: #333333;
}
.bg-green {
	background-color: #086634;
}
.bg-lightgreen {
	background-color: #00800014;
}
.bg-lightgrey {
	background-color: #EAEAEA;
}
.green {
	color: #086634;
}
.bg-verde-deschis {
	background-color: rgb(244,248,233);
}

.green-open {
	color: #9ABF38!important;
}
.green-open a {
	color: #9ABF38!important;
}
.center{
	text-align: center;
}
  
/* montserrat-500 - 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: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/montserrat-v25-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-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: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/montserrat-v25-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  

/* Shrink */

.shrink {
  display: inline-block;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: -webkit-transform;
  transition-property: transform;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}

.shrink:hover {
  -webkit-transform: scale(0.9);
  -ms-transform: scale(0.9);
  transform: scale(0.9);
}

/* Grow */

.grow {
  display: inline-block;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: -webkit-transform;
  transition-property: transform;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}

.grow:hover {
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
}

/* Icon 1 */

/* 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;
	display: none;
  }
  
   #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%;
  }
/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

h1, h2, h3 {
	font-family: 'Montserrat';
	font-weight: 700;
}
h1, h2 {
	font-size: 4rem;
}
.bigger {
	font-size: 6rem;
}
.biggest {
	font-size: 9rem;
}
.uppercase {
	text-transform: uppercase;
}
.normal {
	font-weight: normal!important;
}
.flex-container {
	display: flex;
}
.gap-s {
	gap: 2%;
}
.rounded, .rounded img  {
	border-radius: 15px;
}

/* wrapper */
.wrapper {
	max-width:1150px!important;
	width:95%;
	margin:0 auto!important;
	position:relative;
}
.narrow-wrapper {
	max-width:720px!important;
	width:95%;
	margin:0 auto!important;
	position:relative;
}
.content-padding {
	padding: 100px 0;
}
.content-padding-s {
	padding: 50px 0;
}

.wrap-left {
	padding-left: calc( ( 100% - 1150px ) / 2 )!important;
}
.wrap-right {
	padding-right: calc( ( 100% - 1150px ) / 2 )!important;
}

.no-gap {
	gap: 0;
}
.no-margin {
	margin: 0!important;
}
.no-margin-bottom {
	margin-bottom: -50px;
}
.box-padding {
	padding: 60px;
}
/* header */

.header {
	padding: 0;
    background: #fff;
	position: fixed;
	width: 100%;
	z-index: 900;
}
.header .flex-container {
	justify-content: space-between;
}
.header-scroll {
	background: #fff;
	box-shadow: 0 0 5px rgba(0, 0, 0, .15);
}
.header .flex-container {
	justify-content: space-between;
	align-items: center;
}

/* logo */
.logo {
	max-width: 140px;
	transition: all 300ms;
	margin-left: 40px;
}
.logo-img {
	transition: all 300ms;
}
.header-scroll .logo {
	max-width: 100px;
}
.header-scroll .nav .button {
	padding: 20px 60px;
}

/* nav */
.nav {
	font-weight: 700;
	align-items: center;
}

.nav ul li {
	list-style: none;
	display: inline-block;
	margin-right: 25px;
	position: relative;
}

.nav ul li a {
	color: #333;
	font-size: 1.4rem;
	text-transform: uppercase;
	transition: all 300ms;
}
.nav ul li a:hover {
	color: #086634;
}

.nav ul .current_page_item a {color: #9ABF38;}

.nav ul .sub-menu {
	display: block;
	position: absolute;
	top: -500px;
	left: 0;
	text-align: left;
	margin-left: 0;
	padding-left: 0;
	transition: all 500ms ease-out;
	background: #fff;
	min-width: 280px;
	box-shadow: 2px 2px 10px rgba(0,0,0,.15);
	padding: 10px;
	opacity: 0;
	transition-delay: 500ms;
}
.nav ul li:hover .sub-menu {
	opacity: 1;
	top: 20px;
	transition: all 300ms ease-out;
}
.nav ul .sub-menu li {
    display: block;
}
.nav ul .sub-menu li a {
	color: #212147;
	display: block;
	padding: 10px 10px!important;
}

.nav ul .sub-menu li a:hover {color:#9ABF38;}
.nav ul .sub-menu .current_page_item a {color:#9ABF38;}
.nav .button {
	background-color: #8FBB20;
	padding: 60px;
	transition: all 300ms;

}
.nav .button a {
	color: #01381b;;
}
.nav .button:hover a, .nav .button a:hover {
	color: #fff;
}
.nav .button:hover{
	background-color: #086634;
}
.sect{
	background-color: #333;
}
/* sidebar */
.sidebar {

}
/* footer */
.footer {
	font-size: 1.2rem;
}
.footer .flex-container {
	justify-content: space-between;
}
.footer .flex-container li {
	padding-right: 30px;
}
.footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.logo-footer {max-width: 160px;}



.wp-block-table td {
    padding: 10px;
}
/*------------------------------------*\
    PAGES
\*------------------------------------*/
	p.has-arrow  {
		display: block;
		width: 85%;
	}
	.has-arrow .arrow {
		color: #086634;
		font-weight: bold;
		float: right;
	}

/*------------------------------------*\
    IMAGES
\*------------------------------------*/


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

@media only screen and (max-width:1280px) {
	.nav .button {
		padding: 60px 20px;
	}
	.nav ul li {
		margin-right: 15px;
	}
	.logo  {
		margin-left: 0;
	}
	.bigger {
		font-size: 4.6rem;
	}
	h1, h2 {
		font-size: 3rem;
	}
	.box-padding {
		padding: 30px;
	}
}

@media only screen and (max-width:1150px) {
	.wrap-left {
		padding-left: 2.5%!important;
	}
	.wrap-right {
		padding-right: 2.5%!important;
	}
	.wrapper {
		max-width: 95%!important;
	}
}

@media only screen and (max-width:1000px) {
	.nav {
		display: none;
		position: fixed;
		top: 100px;
		left: 0px;
		width: 100%;
		height: auto;
		background: rgba(3, 51, 26, 0.95);
		text-align: center;
		padding: 60px 0 0 0;
		color: rgb(255, 255, 255);
		z-index: 700;
	}
	#nav-icon3 {
		display: block;
		margin-right: 2.5%;
	}
	.nav ul {
		padding: 0;
	}
	.nav ul li {
		display: block;
		margin: 15px 0;
	}
	.nav ul li a {
		color: #fff;
	}
	.nav ul li a:hover {
		color: #8FBB20;
	}
	.header .logo {
		max-width: 100px;
	}
	.nav .button {
		padding: 20px 0;
		display: block;
		margin-top: 30px;
	}
	.bigger {
		font-size: 4rem;
	}
	h1, h2 {
		font-size: 2.8rem;
	}
	.content-padding {
		padding: 60px 0;
	}
	.wp-block-buttons>.wp-block-button.wp-block-button__width-25 {
		width: 50%;
	}
}
@media only screen and (max-width:780px) {
	.wrap-left-mobile {
		padding-left: 2.5%;
	}
	.header .logo {
		max-width: 70px;
	}
	.nav {
		top: 70px;
	}
	.align-left-mobile {
		text-align: left;
	}
	.wp-block-cover {
		min-height: 50vh!important;
	}
	.wp-block-cover .content-padding {
		padding-top: 100px;
		padding-bottom: 40px;
	}
	.bigger {
		font-size: 3rem;
	}
	h1, h2 {
		font-size: 2.4rem;
	}
	.home-tagline {
		padding-left: 2.5%;
		padding-right: 2.5%;
	}
	.home-tagline h2 {
		font-size: 2rem;
	}
	.bg-lightgrey-mobile {
		background-color: #f2f2f2;
	}
	.reverse {
		flex-direction: column-reverse;
	}
}



/*------------------------------------*\
    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;
	}
}
