/*
Theme Name: DG-Theme
Theme URI: http://www.davidegasparetti.com
Author: Davide Gasparetti
Author URI: http://www.davidegasparetti.com
Description: Theme created by Davide Gasparetti width a huge hand of Underscore_s
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dg-theme
Tags:

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.

DG-Theme is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# H-Tags
# Top Site
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Asides
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
	scroll-behavior:smooth;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template,
.hidden {
	display: none;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: 700;
}

dfn {
	font-style: italic;
}

mark {
	color: #363636;
}

small {
	font-size: 80%;
}

.numeri small {
	font-size: 16px;
}

sub,
sup {#
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
	display: block;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
margin: 0;
}

hr {
	box-sizing: content-box;
	height: 0;
	background: #BFBBBB;
}

.site-footer hr {
	margin-bottom: 3em;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

textarea, input, div, a {
    outline: none!important;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

 *:focus {
   outline: 0;
 }

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #363636;
	font-family: 'Albert Sans', sans-serif;
	font-size: 16px;
	line-height: 1.2;
}

p {
	margin: 0 0 1em 0;
	overflow: hidden;
}
p:last-child {
	margin: 0;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
    padding-left: 1em;
    border-left: 3px solid #c6c6c6;
    font-size: 14px;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {background: none!important;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/

html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	border: 0;
	height: 1px;
	width: 100%;
}

ol {
	list-style: decimal;
	margin: 0 0 1.5em 0;
}

ul {
	margin: 0 0 1.5em 0;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

ul.list,
.content ul {
	list-style: none;
	margin: 2em 0;
	padding: 0;
}

ul.list li,
.content ul li {
	position: relative;
	padding: 0 0 0 2em;
	margin-bottom: 12px;
	line-height: 1;
	text-transform: none;
}
ul.list li:before,
.content ul li:before {
	content: '';
	background:#873122;
	width: 10px;
	height: 10px;
	position: absolute;
	top: 3px;
	left: 0;
}

ol.list {
	margin: 1em 0 1em 1em;
	padding: 0;
}

ol.list li {
	position: relative;
	padding: 0 0 0 10px;
	margin-bottom: 12px;
	line-height: 1;
	text-transform: none;
}

ol.list2 li{
	margin-bottom:1em;
	font-weight:bold;
}

ol.list2,
ol.list2 li:last-child{
	margin-bottom:0;
}

ul.post-categories {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline-block;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

/*--------------------------------------------------------------
# H-Tags
--------------------------------------------------------------*/

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	color: #363636;
	font-weight: 700;
	margin: 0 0 30px 0;
}

h1 {
	font-size: 40px;
	text-transform: uppercase;
}
 
h2 {
	font-size: 33px;
	text-transform: uppercase;
}

.text-header h1 {
	color: #ffffff;
	margin-bottom: 0;
	font-size: 40px;
}

.text-header h2 {
	color: #ffffff;
	margin-bottom: 0;
	font-size: 33px;
}

h2.borderbottom,
h3.borderbottom {
	text-decoration-color: #4C9456;
	text-decoration-line: underline;
    text-decoration-thickness: 4px;
    text-underline-offset: 5px;
    margin-bottom: 30px;
}

.home h2 {
	margin-bottom:0;
}

h3 {
	font-size: 23px;
}

h3 a {
	color: #363636;
	text-decoration: none!important;
}

.card h3 {
	text-transform: uppercase;
}

h4 {
	font-size: 19px;
	margin-bottom: 0;
}

.form h4 {
	color: #873122;
}

h5 {
	font-size: 16px;
	font-weight: 700;
}

/*--------------------------------------------------------------
# Top site
--------------------------------------------------------------*/

.topper {
	position: fixed;
	width: 100%;
    z-index: 9999;
   	top:0;
   	border-bottom: 1px solid #ffffff;
}

.topper.white {
	   	border-bottom: 1px solid #363636;
}

.home .topper {
	   	border-bottom: none;
}

.top-sidebar {
    width: 100%;
    overflow: hidden;
    clear: both;
    position: relative;
    font-size: 80%;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    padding: 10px 0;
}

.top-sidebar a,
.top-sidebar a:visited {
	color: #363636;
}
.top-sidebar a:hover {
	color: #873122;
}

ul#menu-top-menu {
	display: flex;
	list-style:none;
	margin: 0;
	padding: 0;
}

ul#menu-top-menu li a {
	color: #363636;
}

ul#menu-top-menu li a:hover,
ul#menu-top-menu li a:visited  {
	color: #873122;
}

ul#menu-top-menu li:nth-child(1){
	padding-right: 1em;
}

ul#menu-top-menu li:nth-child(2),
ul#menu-top-menu li:nth-child(3),
ul#menu-top-menu li:nth-child(4),
ul#menu-top-menu li:nth-child(5){
	padding-left: 1em;
	padding-right: 1em;
	border-left: 1px solid #60626b;
}


.top-site-child {
	width: 100%;
	height: auto;
	padding:1em 0; 
}

.top-site-child .flex4 a {
	padding: 5px;
	overflow: hidden;
	text-transform: uppercase;
	color: #ffffff;
}
.top-site-child .flex4 div:nth-child(2) a{
	background: #873122;
	color: #ffffff;
	margin-right: 1em;
}
.top-site-child .flex4 div:nth-child(3) a{
	background: #1D3E84;
	color: #ffffff;
}

.white .top-site-child .flex4 a {
    color: #363636;
}

.site-branding img {
	margin: 0 auto;
}

.transparent .logo-black {
	display: none!important;
}
.transparent .logo-white {
	display: block;
}
.white .logo-black {
	display: block;
}
.white .logo-white {
	display: none!important;
}

#masthead, #masthead .slide div div div {
	background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.site-header {
	position: relative;
}

.site-header .homerow {
	margin-top: 150px;
	padding: 90px 0;
	height: auto;
	min-height: 50vh;
	position: relative;
	z-index: 2;
}

.site-header:after {
	background: linear-gradient(rgba(29, 62, 132,0.9),transparent);
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	mix-blend-mode: multiply;
}

.site-header.header-lp:after {
	background:none;
}

.header-blog {
	min-height: 150px;
}

.header-lp {
	min-height: 100vh;
}

.header-lp .slide {
	z-index: 2;
}

.text-header {
	color: #ffffff;
}

.breadcrumbs {
	background: #F5F3EF;
    padding: 10px 0;
    font-size: 15px;
    text-transform: uppercase;
}

.breadcrumbs a,
.breadcrumbs a:visited{
	color:#363636;
}

.breadcrumbs a:hover{
	color:#4C9456;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure the video covers the entire header area */
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

a.action,
.action a,
input[type="button"],
input[type="reset"],
input[type="submit"],
.wp-block-button a.wp-block-button__link,
a.action:visited,
.action a:visited,
button:visited,
input[type="button"]:visited,
input[type="reset"]:visited,
input[type="submit"]:visited,
.wp-block-button a.wp-block-button__link:visited {
	position: relative;
	background: #4C9456!important;
	color: #ffffff!important;
	padding: 0.5em 1em;
	cursor:pointer;
	text-align: center;
	text-decoration: none!important;
	overflow:hidden;
	width: auto;
	max-width: fit-content;
	border: 1px solid #4C9456!important;
	display: block;
	border-radius: 0!important;
	text-transform: uppercase!important;
	font-size: 16px!important;
  	box-shadow: 0 0 0 0 rgba(76, 148, 86, .5);
}

a.action:hover,
.action a:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.wp-block-button a.wp-block-button__link:hover {
    animation: pulse 1.5s;
    color: #ffffff!important;
	background: #4C9456!important;
}

@keyframes pulse {
  0% {
    transform: scale(.85);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(76, 148, 86, 0);
  }
    100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(76, 148, 86, 0);
  }
}

.protected-post-form input[type="submit"] {
	padding: 1em 1.5em; 
}

.text-header a.action {
	margin-top: 1em;
}

a.labeltag,
a.labeltag:visited {
	padding: 10px;
	display: block;
	border-radius: 5px;
	background: #F5F3EF;
	color: #363636;
	margin-right: 10px;
}

a.labeltag:hover {
	background: #873122;
	color: #ffffff;
}

a.labeltag.current {
	background: #1D3E84;
	color: #ffffff;
}

button.menu-toggle {
	background: #4C9456!important;
    padding: 0.5em 0;
    color: #ffffff!important;
    border: 0!important;
    border-radius: 0px;
    width: 70px;
    height: 70px;
    margin: 0;
    right: 0;
    box-shadow: none;
    position: absolute;
    top: -35px;
}

button.menu-toggle i:hover {
  -webkit-transform: rotate(360deg)!important;
          transform: rotate(360deg)!important;
}

/*--------------------------------------------------------------
# Tabella
--------------------------------------------------------------*/

.tabella {
	overflow: scroll;
	margin: 0 auto;
}

.tabella p {
	margin:0;
}

.table1 {
	width: 100%;
	border-collapse: collapse;
}

.table2 {
	background: #ffffff;
	color: #363636;
	border-collapse: collapse;
	width: 100%;
}

.pacchetto {
	text-transform:uppercase;
	font-size:12px;
	font-weight: normal;
}

td, th {
	padding: 0.5em;
}

tbody tr {
    background-color: rgba(218, 223, 225, 0.1);
}

tbody tr:nth-child(even) {
    background-color: rgba(218, 223, 225, 0.3);
}

tbody tr td:nth-child(1) {
    text-align: left;
}

.table1 tbody tr td:nth-child(2),
.table1 tbody tr td:nth-child(3),
.table1 tbody tr td:nth-child(4),
.table1 tbody tr td:nth-child(5) {
  background-color: rgba(241, 164, 149, 0.2);
  text-align: center;
}

thead tr th:nth-child(1) {
    text-align: left;
}

.table2 thead tr th:nth-child(1) {
    text-transform:uppercase;
}

.table2 tbody tr td {
	text-align: left;
	width: 50%;
}

.table2 tbody tr td:nth-child(1),
.table2 tbody tr td:nth-child(2) {
	background-color: rgba(241, 164, 149, 0.2);
}


.table1 th,
.table2 th {
	border-bottom: 3px solid #ffffff;
}

.table1 thead tr th:nth-child(3),
.table1 tbody tr td:nth-child(3) {
	border-left: 3px solid #ffffff;
	border-right:3px solid #ffffff;
}

.table1 thead tr th:nth-child(5),
.table1 tbody tr td:nth-child(5),
.table2 tbody tr td:nth-child(2){
	border-left: 3px solid #ffffff;
}


/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a,
a:visited {
	color: #873122;
	transition:0.5s!important;
	text-decoration: none;
}


a:hover,
a:focus,
a:active {
	color: #4C9456;
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

.navigation-bar {
	width: auto;
    border-top: 1px solid #ffffff;
}

.white .navigation-bar {
	border-top: 1px solid #363636;
}

.home .navigation-bar {
	border-top: none;
}

.main-navigation {
    clear: both;
    display: block;
    width:100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
	width: 100%;
}

.main-navigation li {
    float: left;
    position: relative;
    text-align: center;
    height: auto;
    padding:0;
    font-size: 0.85em;
}

.main-navigation a {
	display: block;
		text-decoration-color: transparent;
		text-decoration-line: underline;
	    text-decoration-thickness: 4px;
	height:100%;
	color: #ffffff;
	text-transform:uppercase;
	padding: 1em 60px;
	border-right: 1px solid #ffffff;
}

.home .main-navigation ul {
    margin: 1em 0;
	overflow:hidden;
}

.home .main-navigation a {
	padding: 0 35px;
	border-right: 1px solid #363636;
	color:#363636;
}

.white .main-navigation a {
	border-right: 1px solid #363636;
}

.main-navigation li:first-child a {
	padding: 1em 60px 1em 0;
}
.home .main-navigation li:first-child a {
	padding: 0 35px 0 0;
}
.main-navigation li:nth-child(6) a{
	padding: 1em 0 1em 60px;
	border-right: 0px;
}
.home .main-navigation li:nth-child(6) a{
	padding: 0 35px;
	border-right: 1px solid #363636;
}
.home .main-navigation li:nth-child(7) a{
	padding: 0 0 0 35px;
	border-right: 0px;
}

.main-navigation a:hover,
.main-navigation a:active {
		color: #ffffff;
		text-decoration-color: #4C9456;
		text-decoration-line: underline;
	    text-decoration-thickness: 4px;
	}

.main-navigation ul ul {
	background: #ffffff;
    float: left;
    position: absolute;
    top: 43px;
    left: -999em;
    width: 250px;
    opacity:1;
}

.main-navigation ul ul li {
	width: 100%;
	clear: both;
	text-align:left; 
	border-bottom:1px solid #F5F3EF; 
	padding:0;
}

.main-navigation ul ul li a {
	padding: 0.625em 1.2em!important;
	color: #000;
	border: none!important;
}
.main-navigation ul ul li a:hover {
	color: #873122;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
		text-decoration-color: #4C9456;
		text-decoration-line: underline;
	    text-decoration-thickness: 4px;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 800px) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

.site-main .comment-navigation {
	margin: 2em 0 2em;
	overflow: hidden;
}

.posts-navigation,
.post-navigation {
    overflow: hidden;
    background: #ffffff;
    color: #ffffff;
	padding: 0 2.5em;
    width: 100%;
    margin: 3em 0;
}

.comment-navigation .nav-previous, .posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 25%;
}

.comment-navigation .nav-next, .posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	width: 25%;
}

.posts-navigation .nav-previous a,
.post-navigation .nav-previous a, .posts-navigation .nav-next a,
.post-navigation .nav-next a {
	margin: 0;
    font-size: 1em;
    margin-bottom: 1em;
	text-decoration: none;
	display: block;
	height: auto;
	position: relative;
	line-height: 1.1;
}

.posts-navigation .nav-previous a::before,
.post-navigation .nav-previous a::before {
	content: "\f053";
	font-family: FontAwesome;
    position: absolute;
    left: -2em;
    top: 25%;
}

.posts-navigation .nav-next a::after,
.post-navigation .nav-next a::after {
	content: "\f054";
	font-family: FontAwesome;    
	position: absolute;
    right: -2em;
    top: 25%;
}

li.menu-item-has-children a:after{
content: ' ▾';
}

li.menu-item-has-children .sub-menu a:after{
content: none;
}

li.menu-item-has-children a:after:hover{
text-decoration: none;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.textright {
	text-align: right;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.textcenter {
	text-align: center;
}

.textcenter img {
	margin: 0 auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	overflow: hidden;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

#secondary .widget_categories ul {
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
}

#secondary .widget_categories ul li {
    list-style: none;
    display: flex;
    align-content: center;
    align-items: center;
    line-height: 1;
    margin-bottom: 0;
}

#secondary .widget_categories ul li:before {
    content: "■";
    margin-right: 10px;
    font-size: 30px;
}

.blog-sidebar p {
	margin: 0 1em 0 0;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

.boxed {
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
}
.boxed2 {
	max-width: 780px;
	margin: 0 auto;
	width: 100%;
}

#main {
	overflow: hidden;
}

.box {
	overflow: hidden;
	padding: 2em;
	position: relative;
}

.box2 {
	margin-bottom: 2em!important;
}

.box3 {
	padding-right: 2em;
	overflow: hidden;
}

.card {
	border-radius: 20px;
	overflow: hidden;
	position: relative;
}

.card.blogpost .box p:first-child{display:none;}

a.prev, a.next {
	background: #873122;
	color: #ffffff;
	font-size: 0.625em;
	padding: 0.625em!important;
border:0;
cursor:pointer;
display:block;
margin:0 1em!important;
text-align: center;
text-decoration:none;
width: 100px!important;
float: left;
border-radius: 0!important;
}

nav.pagination {
    clear: both;
    overflow: hidden;
	height:100%;
	margin-bottom: 3em;
}

a.page-numbers, .dots {
	background: #1D3E84;
	color: #ffffff;
	font-size: 0.625em;
	padding: 0.625em 1em!important;
	border:0;
	cursor:pointer;
	display:block;
	margin:0 1em!important;
	text-align: center;
	text-decoration:none;
	width: auto;
	float: left;
	border-radius:100%; 
}


a.prev.page-numbers, 
a.next.page-numbers {
	color: #1D3E84;
	background: none;
	padding: 0.625 0!important;
	margin: 0!important;
}

a.prev.page-numbers:hover, 
a.next.page-numbers:hover {
	color: #873122;
	background: none;
}
 
a.page-numbers:hover, 
.dots:hover {
	background: #873122;
}

.page-numbers.current {
	background: #873122;
	color: #ffffff;
	font-size: 0.625em;
	padding: 0.625em 1em!important;
	border:0;
	cursor:pointer;
	display:block;
	margin:0 1em;
	text-align: center;
	text-decoration:none;
	width: auto;
	float: left;
	border-radius:100%; 
}

.background-overlay {
    background: rgba(0,0,0,0.4);
    display: block;
    height: 100%;
    padding: 1em;
    position: relative;
}

.columns2 {
	columns: 2;
	column-gap: 2em;
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/

.sticky {
	display: block;
}


.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/

#secondary {
	height: fit-content;
	height: intrinsic;
 	height: -moz-max-content;
  	height: -webkit-max-content;
}

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/

#comments {
padding: 1em;
background: #F5F3EF;
}

ol.comment-list li {
margin: 1em 0 1em 0;
padding: 2em;
border-top: 1px solid #ffffff;
border-bottom: 1px solid #ffffff;
}

.comment-meta {
background: #ffffff;
padding: 1em;
}

a.comment-reply-link, #comments a.url {
text-decoration: underline;
}

.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
width: auto;
margin: 1em!important;
float: left;
overflow: hidden;
vertical-align: top;
display: inline-block;
text-align: center;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
## Footer CSS
--------------------------------------------------------------*/

.site-footer {
	font-size: 15px;
	padding: 60px 0;
}

.site-footer ul {
	padding: 0;
	margin: 0;
	list-style: none;
	text-transform: uppercase;
}

.site-footer ul li a,
.site-footer ul li a:visited {
	color: #363636;
}
.site-footer ul li a:hover {
	color: #873122;
}

.site-footer aside {
    margin-bottom: 3em;
    overflow: hidden;
}

.footer-sidebar aside:last-child {
	margin-bottom: 0;
}

.site-footer h3 {
	font-size: 23px;
}

.site-info {
overflow:hidden;
padding: 1em;
width: 100%;
font-size: 12px;
}

.site-info a {
	color: #363636;
}

/*--------------------------------------------------------------
## Contact Form CSS
--------------------------------------------------------------*/

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
input[type="password"],
textarea {
    padding: 0.8em 1em!important;
    border: 0px!important;
    box-shadow: none!important;
    width: 100%;
    background: #F5F3EF!important;
    line-height: 1!important;
    color: #363636!important;
}

textarea {
    height: 100px!important;
}

input[type=checkbox] {
    background-color: transparent;
}

select {
    color: #363636;
    border: 0px;
    -webkit-appearance: none;
    background-image: url(/wp-content/themes/dg-theme/icon/select.svg)!important;
    background-position-y: center!important;
    background-position-x: 95%!important;
    background-repeat: no-repeat!important;
    background-size: 17px!important;
    padding: 0.9em 3em 0.9em 1.5em!important;
    border-radius: 30px;
    background-color: #F5F3EF;
}

.blog-sidebar select {
	min-width: 300px;
}

.formnewsletter input[type="text"],
.formnewsletter input[type="email"] {
	background: #ffffff;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #363636;
}

input[type="search"] {
	width: 90%;
	margin-right: 1em;
	float: left;
}

.gform_required_legend {
	display: none;
}

.gform_wrapper h1, .gform_wrapper h2, .gform_wrapper h3 {
	font-weight: 700!important;
	color: #873122;
	font-size: 23px;
}

label.gfield_label {
    font-weight:300!important;
}

.gform_confirmation_message {
	background: green;
	padding: 2em;
	color: #ffffff;
	margin-top: 2em;
}

.gfield_checkbox li label {
    font-size: 1em!important;
    margin-bottom: 0;
}

.gfield_checkbox li  {
    margin-bottom: 0;
}

.gfield_checkbox label {
    font-size: 13px;
}

.gfield_checkbox input[type=checkbox] {
    background-color: transparent;
    margin-top: 0!important;
}

.ginput_container.ginput_container_consent input {
    border: none!important;
    box-shadow: none!important;
    background: #F5F3EF!important;
}

.formnewsletter ul li.gfield,
.formnewsletter .ginput_container_consent {
	margin-top: 0!important;
	text-transform: none;
}

.formnewsletter input[type="text"],
.formnewsletter input[type="email"] {
	background: #ffffff!important;
}

.gform-theme--api, .gform-theme--foundation {
	--gform-theme-form-row-gap: 10px!important;
}

.gform-theme--foundation .gform_footer,
.gform-theme--foundation .gform_page_footer {
	display: block!important;
	margin-right: 10px;
	float: right;
}
.gform-theme--foundation .gform_page_footer input {
	float: right;
}

 .gform-theme--foundation .ginput_address_zip {
    inline-size: 100%!important;
}

.formnewsletter input[type="submit"] {
	float: right;
}

.formnewsletter .gform_footer {
	margin-top: 0;
}

/*--------------------------------------------------------------
## Accordion CSS
--------------------------------------------------------------*/
.accordionblock{
  margin-bottom: 1em;
}

/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  color: #ffffff!important;
  cursor: pointer;
  padding: 1em 3em 1em 1em;
  width: 100%;
  text-align: left;
  outline: none;
  transition: 0.4s;
  border-radius: 0;
  position: relative;
  border-radius: 20px;
}

.accordion.red {
	background: #873122;
	border: 1px solid #873122;
}
.accordion.blue {
	background: #1D3E84;
	border: 1px solid #1D3E84;
}

.accordion:after {
    content: '\002B';
    color: #fff;
    float: right;
    margin-left: 5px;
    position: absolute;
    top: 12px;
    font-size: 35px;
    right: 16px;
}

.show .accordion:after {
    content: '-';
    top: 7px;
}

.accordion:hover {
  background-color: #363636!important;
  color: #ffffff!important;
  border: 1px solid #363636;
}
.accordion:hover:after {
  color: #ffffff!important;
}

.accordion h3 {
	margin-bottom: 0;
	color: #ffffff;
	font-weight: 400;
}

.accpanel {
	padding: 4em 1em 1em 1em;
    display: none;
    overflow: hidden;
    font-size: 16px;
    color: #363636;
    border-radius: 20px;
    margin-top: -3em;
}

.accpanel2 {
    display: none;
    margin-top: 1em;
}

.accpanel p{
  margin: 0 0 1em 0;
}

.show .accpanel,
.show .accpanel2 {
  display: block;
}

.accordionblock a {
	color: #363636;
	text-decoration: underline;
}

.accordionblock a #accordinob {
	display: none;
}
 
.accordionblock a:hover {
	color: #873122;
	text-decoration: underline;
}

.accordionblock.show #accordinoa {
	display: none;
}
.accordionblock.show #accordinob {
	display: block;
}

/*--------------------------------------------------------------
## PopUp CSS
--------------------------------------------------------------*/

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 99999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #F5F3EF;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 2em;
  width: 50%; /* Could be more or less, depending on screen size */
  color: #2b2b2b;
  overflow: hidden;
}

.modal-content a,
.modal-content h3,
.modal-content {
  color: #2b2b2b!important;
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/*--------------------------------------------------------------
## Tab CSS
--------------------------------------------------------------*/

/* Style the tab */
.tab {
  overflow: hidden;
  border-top: 1px solid #F5F3EF;
  padding: 0;
  margin-bottom: 2em;
}

/* Style the buttons that are used to open the tab content */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0.625 1em;
    transition: 0.3s;
    color: #60626b;
    text-transform: none;
	background: #ffffff;
	cursor: pointer;
	border-bottom: 1px solid #F5F3EF;
}

.tab button:hover {
  border-bottom: 1px solid #7FCDCD;
  background: #ffffff!important;
  color:#60626b!important;
}

/* Create an active/current tablink class */
.tab button.active {
	border-bottom: 1px solid #7FCDCD;
	background: #363636;
	color: #ffffff;
}

.tab button.first {
	border-right: 1px solid #F5F3EF;
	 padding: 0.625 1em;
	 color: #60626b!important;
	 background: #F5F3EF!important;
	 cursor: pointer;
}

.tab button.first:hover {
	color: #60626b!important;
	border-bottom: 1px solid #7FCDCD!important;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 2em;
  border-top: none;
}

/*--------------------------------------------------------------
## Row CSS
--------------------------------------------------------------*/

.row {
height: auto;
position: relative;
}

.row2 {
height: auto;
position: relative;
overflow: hidden;
padding-bottom: 30px;
}

.homerow {
height: auto;
position: relative;
overflow: hidden;
padding: 60px 0;
z-index: 3;
}

.homerow2 {
height: auto;
position: relative;
overflow: hidden;
padding: 0 0 60px 0;
z-index: 3;
}

.homerow3 {
height: auto;
position: relative;
overflow: hidden;
padding: 60px 0 0 0;
z-index: 3;
}

.rowloop {
	height: auto;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.flex {
	display: flex;
	flex-wrap:wrap;
	justify-content:space-between;
}

.flex2 {
	display: flex;
	flex-wrap:wrap;
	justify-content:space-around;
}

.flex3,
.flex4 {
	display: flex;
	flex-wrap:wrap;
}

.flex-end {
	justify-content:flex-end;
}

.flex-start {
	justify-content:flex-start;
}

ul.flex3 {
	padding: 0;
	margin: 0;
	list-style: none;
}

ul.flex3 li {
	padding: 0 0 1em 0;
	margin: 0;
}

.flex4 div:first-child {
	margin-right: 1em;
}

.wrapcenter {
	align-content:center;
	align-items:center;
}

.wrapstart {
	align-items:flex-start;
}

.wrapend {
	align-items:flex-end;
}

.grid {
	display: grid;
	grid-column-gap: 1em;
	grid-row-gap: 1em;
}
.grid-auto {
	 grid-template-columns: auto auto;
}
.grid-2 {
	 grid-template-columns: 1fr 1fr;
}
.grid-3 {
	 grid-template-columns: 1fr 1fr 1fr;	
}

.w-10 {
	width: 10%;
}

.w-20 {
	width: 19%;
}

.w-25 {
	width: 24%;
}

.w-30 {
	width: 30%;
}

.w-40 {
	width: 40%;
}

.w-50 {
	width: 46%;
}

.w-60 {
	width: 60%;
}

.w-65 {
	width: 65%;
}

.w-70 {
	width: 70%;
}

.w-75 {
	width: 75%;
}

.w-85 {
	width: 85%;
}

.w-90 {
	width: 90%;
}

.w-100 {
	width: 100%;
}

.w-100 .w-50 {
	width: 50%!important;
}

/*--------------------------------------------------------------
## Slideshow Slick
--------------------------------------------------------------*/

.slick-slider
{
    position: relative;

    display: block;
    box-sizing: border-box;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;

    display: block;
    overflow: hidden;

    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;

    display: block;
    margin-left: auto;
    margin-right: auto;
}
.slick-track:before,
.slick-track:after
{
    display: table;

    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;

    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;

    height: auto;

    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}

@charset 'UTF-8';
/* Slider */
.slick-loading .slick-list
{
    background: #fff url('/wp-content/themes/dg-theme/slick/ajax-loader.gif') center center no-repeat;
}

/* Icons */
@font-face
{
    font-family: 'slick';
    font-weight: normal;
    font-style: normal;

    src: url('/wp-content/themes/dg-theme/slick/fonts/slick.eot');
    src: url('/wp-content/themes/dg-theme/slick/fonts/slick.eot?#iefix') format('embedded-opentype'), url('/wp-content/themes/dg-theme/slick/fonts/slick.woff') format('woff'), url('/wp-content/themes/dg-theme/slick/fonts/slick.ttf') format('truetype'), url('/wp-content/themes/dg-theme/slick/fonts/slick.svg#slick') format('svg');
}
/* Arrows */
.slick-prev,
.slick-next
{
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    min-width: auto;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: #303030;
    border: none;
    outline: none;
    z-index: 999;
    width: 32px;
    height: 32px;
}

.slide button,
.slide button:hover,
.slide button:visited,
.slide button:focus {
	padding: 0;
	background: transparent!important;
}

.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus
{
    color: transparent;
    outline: none;
    background: #F5F3EF;
    border: none;
}
.slick-prev:hover:before,
.slick-prev:focus:before,
.slick-next:hover:before,
.slick-next:focus:before
{
    opacity: 1;
}
.slick-prev.slick-disabled:before,
.slick-next.slick-disabled:before
{
    opacity: .25;
}

.slick-prev:before,
.slick-next:before
{
    font-family: 'slick';
    font-size: 22px;
    line-height: 0.3;
    color:#303030;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-prev
{
    left: 0;
}
[dir='rtl'] .slick-prev
{
    right: 25px;
    left: auto;
}
.slick-prev:before
{
    content: url('/wp-content/themes/dg-theme/icon/002-back.svg');
}
[dir='rtl'] .slick-prev:before
{
    content: url('/wp-content/themes/dg-theme/icon/001-next.svg');
}

.slick-next
{
    right: 0;
}
[dir='rtl'] .slick-next
{
    right: auto;
    left: 25px;
}
.slick-next:before
{
    content: url('/wp-content/themes/dg-theme/icon/001-next.svg');

}
[dir='rtl'] .slick-next:before
{
    content: url('/wp-content/themes/dg-theme/icon/002-back.svg');
}

/* Dots */
.slick-dotted.slick-slider
{
    margin-bottom: 30px;
}

.slick-dots
{
    position: absolute;
    display: block;
    width: 100%;
    padding: 0;
    margin: 1em 0;
    list-style: none;
    text-align: center;
}

.site-header .slick-dots {
    margin: 0;
    position: relative;
    bottom: 0!important;
}

.header-lp .slick-dots {
	bottom: 0 !important;
    margin: 0 auto;
    width: 100%;
    position: absolute;
}

.slick-dots li {
    position: relative;
    display: inline-block;
    width: auto;
    height: auto;
    padding: 0!important;
    cursor: pointer;
}
.slick-dots li:before {
    content: none!important;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 30px;
    height: 30px;
    padding: 0;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: 0 0;
    position: relative;
}
.slick-dots li button:hover,
.slick-dots li button:focus {
    outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
    opacity: 1;
}


.slick-dots li button:before {
    font-family: 'slick';
    font-size: 15px;
    line-height: 0;
    position: absolute;
	width: 15px;
    height: 15px;
    left: 0;
    right: 0;
    margin: 0 auto;
    content: '•';
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: rgba(0, 0, 0, 0.5);
}

.slick-dots li.slick-active button:before {
    color: black!important;
}

.site-header .slick-dots {
	bottom: 4em;
}

.site-header .slick-dots li button:before {
    color: white!important;
}

.evidenza.fade-in {
  -moz-transition: all 500ms linear;
  -webkit-transition: all 500ms linear;
  -o-transition: all 500ms linear;
  transition: all 500ms linear;
  -moz-transform: translate3d(-100px, 0px, 0px);
  -webkit-transform: translate3d(-100px, 0px, 0px);
  -o-transform: translate(-100px, 0px);
  -ms-transform: translate(-100px, 0px);
  transform: translate3d(-100px, 0px, 0px);
}

.evidenza.fade-in.in-view {
  -moz-transform: translate3d(0px, 0px, 0px);
  -webkit-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  transform: translate3d(0px, 0px, 0px);
}

/*--------------------------------------------------------------
## Background CSS
--------------------------------------------------------------*/

.black {
background: #363636;
color: #ffffff;
}

.black a, .black a:hover, .black a:visited, .black button,
.black h2, .black h3, .black h4, .black h5 {
	color: #ffffff;
}

.blackbg-1-2 {
    background: linear-gradient(to bottom, #363636, #363636 50%, transparent 50%);
}
.blackbg-2-1 {
    background: linear-gradient(to top, #363636, #363636 50%, transparent 50%);
}

.blackish {
	background: rgba(0, 0, 0, 0.9);
	color: #ffffff;
}

.black input,
.black textarea,
.black select {
	border: 1px solid #ffffff;
}

.blackish a, .blackish a:hover, .blackish a:visited, .blackish button,
.blackish h1, .blackish h2, .blackish h3, .blackish h4, .blackish h5 {
	color: #ffffff;
}

.pale {
background: #F5F3EF;
}

.palebg-1-2 {
    background: linear-gradient(to bottom, #F5F3EF, #F5F3EF 50%, transparent 50%);
}
.palebg-2-1 {
    background: linear-gradient(to top, #F5F3EF, #F5F3EF 50%, transparent 50%);
}

.boxpale {
	padding: 1em;
	background: #F5F3EF;
}

.white {
	background: #ffffff;
}
.white a, .white a:hover, .white a:visited, .white button,
.white h1, .white h2, .white h3, .white h4, .white h5 {
	color: #363636;
}

.whitish {
	background: rgba(255,255,255,0.9);
}

.blue {
background: #1D3E84;
color: #ffffff;
}
.blueish {
	background: rgba(29, 62, 132, 0.9);
	color: #ffffff;
}
.blue a, .blue a:hover, .blue a:visited, .blue button,
.blue h2, .blue h3, .blue h4, .blue h5, .blueish a, .blueish a:hover, .blueish a:visited, .blueish button,
.blueish h2, .blueish h3, .blueish h4, .blueish h5 {
	color: #ffffff;
}

.bluebg-1-2 {
    background: linear-gradient(to bottom, #1D3E84, #1D3E84 50%, transparent 50%);
}
.bluebg-2-1 {
    background: linear-gradient(to top, #1D3E84, #1D3E84 50%, transparent 50%);
}

.red {
background: #873122;
color: #ffffff;
}
.redish {
	background: rgba(135, 49, 34, 0.9);
	color: #ffffff;
}

.red a, .red a:hover, .red a:visited, .red button,
.red h2, .red h3, .red h4, .red h5,
.redish a, .redish a:hover, .redish a:visited, .redish button,
.redish h2, .redish h3, .redish h4, .redish h5 {
	color: #ffffff;
}

.red ul.list li:before,
.content .red ul li:before {
	content: '';
	background: #ffffff;
}

.redbg-1-2 {
    background: linear-gradient(to bottom, #873122, #873122 50%, transparent 50%);
}
.redbg-2-1 {
    background: linear-gradient(to top, #873122, #873122 50%, transparent 50%);
}

.green {
background: rgba(76, 148, 86, 0.9);
color: #ffffff;
}
.green a, .green a:hover, .green a:visited, .green button,
.green h2, .green h3, .green h4, .green h5,
.greenish a, .greenish a:hover, .greenish a:visited, .greenish button,
.greenish h2, .greenish h3, .green h4, .greenish h5{
	color: #ffffff;
}
.greenish {
background: #4C9456;
color: #ffffff;
}

.greenbg-1-2 {
    background: linear-gradient(to bottom, #4C9456, #4C9456 50%, transparent 50%);
}
.greenbg-2-1 {
    background: linear-gradient(to top, #4C9456, #4C9456 50%, transparent 50%);
}

.lightgreen {
	background:#90d950;
}

.brown {
background: #443B3B;
color: #ffffff;
}
.brown a, .brown a:hover, .brown a:visited, .brown button,
.brown h2, .brown h3, .brown h4, .brown h5 {
	color: #ffffff;
}
.brownbg-1-2 {
    background: linear-gradient(to bottom, #443B3B, #443B3B 50%, transparent 50%);
}
.brownbg-2-1 {
    background: linear-gradient(to top, #443B3B, #443B3B 50%, transparent 50%);
}

.blue ul.list li:before,
.blueish ul.list li:before,
.red ul.list li:before,
.redish ul.list li:before,
.green ul.list li:before,
.greenish ul.list li:before,
.green ul.list li:before,
.greenish ul.list li:before {
	background:#ffffff;
}

.element-background {
	height: 350px;
    overflow: hidden;
    background-size: cover!important;
    background-position: center!important;
    background-repeat: no-repeat!important;
    transition: 0.5s;
}

.post-type-archive-servizi .element-background {
	height: 350px;
    overflow: hidden;
    background-size: cover!important;
    background-position: 70%!important;
    background-repeat: no-repeat!important;
    transition: 0.5s;
}

.element-background-2 {
    height: 450px;
   	overflow: hidden;
    background-size: cover!important;
    background-position: center!important;
    background-repeat: no-repeat!important;
}

.element-background-3 {
    height: 212px;
   	overflow: hidden;
    background-size: cover!important;
    background-position: center!important;
    background-repeat: no-repeat!important;
}

.element-background:hover,
.element-background-2:hover,
.element-background-3:hover {
	transform: scale(1.2);
}

.background {
    background-size: cover!important;
    background-position: center!important;
    background-repeat: no-repeat!important;
}

.background-top {
    background-size: cover!important;
    background-position: top!important;
    background-repeat: no-repeat!important;
}

.bg-1-2 {
	background-size: 50%!important;
    background-position: bottom!important;
}
.bg-2-1 {
	background-size: 50%!important;
    background-position: top!important;
}

/*--------------------------------------------------------------
## Custom CSS
--------------------------------------------------------------*/

.revealer {
	cursor:pointer;
}

.reveal {
	display:none;
}
.reveal.show {
	display:block;
}

.justify {
	text-align:justify;
}

.slide-lp {
	height: 100vh;
	display: flex;
	flex-wrap: wrap;
	justify-content:space-between;
	align-items: flex-start;
	padding: 150px 0 90px 0;
	row-gap:30px;
}

.margin0 {
	margin:0!important;
	padding: 0!important;
}

hr.hr-green {
	border: none;
    background: #4c9456;
    height: 7px;
}
.certificazioni {
	display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1em;
    row-gap: 1em;
    align-items: center;
}

label {
	margin-bottom: 10px;
	color: #873122;
	font-weight: bold;
	display: block;
}

iframe {
	border: none;
}

.multiple-slide-2 img {
	width: 450px!important;
}

.multiple-slide-3 {
	margin-bottom: 90px!important;
}
.multiple-slide-3 .slick-dots{
	margin-top: 2em;
} 

.multiple-slide-3 .card,
.multiple-slide-4 .card {
	margin: 0 1em;
}

.multiple-slide-4 .slick-dots {
	position: relative;
}
.multiple-slide-4 img {
	margin-bottom: 20px;
}

.whatsapp {
	background: url(/wp-content/themes/dg-theme/icon/whatsapp-g.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	width: 100px;
	height: 100px;
	position: fixed;
	bottom: 40px;
	right: 2em;
	z-index: 10;
}

.numeri {
	text-transform: uppercase;
}

.numero {
	clear: both;
	display: block;
	font-size: 55px;
	font-weight: bold;
}

.home .numero {
	font-size:90px;
}

.home .grid-3 .numero {
	font-size:40px;
}

.numeri .w-20:last-child .numero:after {
	content: '%';
}

.green.gye {
  max-height: 35px;
}

.marquee {
  width: 100vw;
  margin: 0 auto;
  overflow: hidden;
  white-space: nowrap;
}
.marquee img {
  display: inline-block;
  position: relative;
  left: 100%;
  animation: marquee 30s linear infinite;
}
.marquee:hover img {
  animation-play-state: paused;
}

.marquee img:nth-child(1) {
  animation-delay: 0s;
}
.marquee img:nth-child(2) {
  animation-delay: 1.2s;
}
.marquee img:nth-child(3) {
  animation-delay: 2.5s;
}
.marquee img:nth-child(4) {
  animation-delay: 3.7s;
}
.marquee img:nth-child(5) {
  animation-delay: 4.8s;
}
.marquee img:nth-child(6) {
  animation-delay: 5.9s;
}
.marquee img:nth-child(7) {
  animation-delay: 7s;
}


@keyframes marquee {
  0%   { left: 100%; }
  100% { left: -100%; }
}

.acf-map {
    width: 100%;
    height: 400px;
    border: #F5F3EF solid 1px;
    margin: 20px 0;
}

.acf-map img {
   max-width: inherit !important;
}

.nomargin {
	margin: 0!important;
}

.entry-header img {
    margin: 1em auto;
}

.entry-meta,
.entry-meta a {
	overflow: hidden;
	font-weight: normal;
	color: #7FCDCD;
	padding: .5em 0;
	font-style: italic;
}

.anchor {
    display: block;
    height: 141px;
    margin-top: -141px;
    visibility: hidden;
}

.icon {
	display: flex;
	font-size: 2em;
	align-item:center;
	align-content:center;
}

.iconsocial svg {
    margin-right: 10px;
}

.uppercase {
	text-transform: uppercase;
}

.mobile, .loopmobile {
	display: none;
}

.desktop {
	display: block;
}

.border-bottom {
	border-bottom: 1px solid #F5F3EF;
}

.blogpost{
	margin-bottom: 3em;
}

.flex4 .blogpost div:first-child {
	margin-right: 0;
}

.flex4 .blogpost {
	margin: 0 0.5em 3em 0.5em;
}

.blogpost a {
	display: block;
	overflow: hidden;
	text-decoration:underline;
}

.blogpost ul.post-categories {
	list-style: none;
	padding: 0;
	margin: 0 0 1em 0;
	text-decoration: none;
	font-weight: bold;
}
.blogpost ul.post-categories li a {
	text-decoration: none;
}


/*--------------------------------------------------------------
## Sezioni CSS
--------------------------------------------------------------*/

section {
	overflow: hidden;
	position: relative;
}

section#news {
	border-top:1px solid #F5F3EF; 
}

.single-product #page {
	border-bottom:1px solid #F5F3EF; 
}

.mdl-blocchi-ripetibili .box {
    margin-bottom: 1em;
}

.mdl-blocchi-ripetibili .box:last-child {
    margin-bottom: 0;
}

.mdl-post-correlati h3 {
	text-transform: none;
}

.mld-img-bkg-testo {
	background-size: cover!important;
    background-position: center!important;
    background-repeat: no-repeat!important;
}

.mdl-testo-sfondo-colorato .box {
  position: relative;
  z-index: 1;
}

.mdl-testo-sfondo-colorato .columns2 {
  column-rule: 1px solid white;
  column-gap:4em;
}

.mdl-testo-sfondo-colorato .element-background {
 margin-top: -10%;
 z-index: 0;
 position: relative;
}

.mdl-blocchi-icona-testo ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mdl-blocchi-icona-testo ul li {
	padding: 0;
	border-right: 1px solid #ffffff;
}


.mdl-blocchi-icona-testo ul li:last-child {
	border-right: 0;
}

.mdl-blocchi-icona-testo img {
	margin-bottom: 1em;
}

.mdl-blocchi-icona-testo hr {
	height: 7px;
	width: 60px;
}

.mdl-blocchi-icona-testo a {
	color: #60626b;
}

.mdl-titolo-testo {
	border-bottom: 1px solid #F5F3EF;
}

.mdl-titolo-testo ul,
.mdl-testo-testo-rosso ul {
	padding:0;
}

.mdl-titolo-testo ul li,
.mdl-testo-testo-rosso ul li {
	list-style: none;
    display: flex;
    align-content: center;
    align-items: center;
    line-height: 1;
    margin-bottom: 10px;
}

.mdl-testo-testo-rosso {
	border-bottom: 1px solid #F5F3EF;
}

.wp-block-buttons .wp-block-button {
    display: block;
    margin: 0;
    padding-bottom: 60px;
}

.wp-block-button a {
	text-transform: uppercase;
	text-decoration: none;
}

.wp-block-button a:hover {
	background: #ffffff!important;
	color: #7FCDCD!important;
}

.mdl-cta h3 {
 	margin-bottom: 0;
}

.mdl-cta p{
 	margin-top: 0.s5em;
 	margin-bottom: 0;
}

.mdl-flip .box {
	color: #ffffff;
	min-height: 360px;
	position: relative;
}

.mdl-flip .box .flip-text {
	z-index: 2;
}

.mdl-flip .box h3 {
	color: #ffffff;
	text-transform: uppercase;
	transition: 0.5s;
	z-index: 1;
}

.mdl-flip .box .flip-text span {
	display: none;
	transition: 0.5s;
	z-index: 1;
}

.mdl-flip .box:hover .flip-text span {
	display: block;
}

.mdl-flip .box:hover h3 {
	display: none;
}

.mdl-flip .box:hover {
	background: #1D3E84!important;
}

.mdl-flip {
	position: relative;
}

.mdl-flip:after {
	background: linear-gradient(rgba(29, 62, 132,0.9),transparent);
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	mix-blend-mode: multiply;
	content: '';
}

.page-template-page-about #fascia-3 .box {
	margin-bottom: 10px;
}

.number {
	float: left;
	margin-right: 1em;
	font-weight: bold;
	line-height: 1.5;
	font-size: 33px;
}

.page-template-page-about #fascia-5 hr {
	width: 60px;
	height: 4px;
	margin: 0 auto 1em auto;
	background: #4C9456;
}
.page-template-page-about #fascia-6 img {
	margin: 5px;
}

.page-template-page-aziende #fascia-1 .box img {
	margin-bottom: 10px;
}
.page-template-page-aziende #fascia-3 {
	position: relative;
    margin-top: -100px;
    z-index: 1;
}
.page-template-page-aziende #fascia-6 .w-30 h3 {
	text-transform: uppercase;
	margin: 10px 0;
}
.page-template-page-aziende .element-background-2 {
	position: relative;
    margin-top: -155px;
    z-index: -1;
}

.page-template-page-privati .element-background-2 {
	position: relative;
    margin-top: -300px;
    z-index: -1;
}
.page-template-page-privati #fascia-2 img {
    margin-bottom: 20px;
}
.page-template-page-privati #fascia-2 .box h3 {
    text-transform: uppercase;
}
.page-template-page-privati #fascia-4 {
    margin-top: -90px;
}
.page-template-page-privati #fascia-6 {
    margin-bottom: -110px;
    z-index: 1;
}

.page-template-page-privati #fascia-7 .homerow {
    padding: 200px 0 90px 0;
}


/*--------------------------------------------------------------
## Fonts
--------------------------------------------------------------*/

.flex4 i {
	margin-right: 10px;
}

i.menu {
	content: url('/wp-content/themes/dg-theme/icon/menu.svg');
	width: 20px;
}

a svg.phone-f {
	margin-right: 10px;
	width: 15px;
	height: 15px;
}

a svg.phone-f path{	fill: #363636;
}

a:hover svg.phone-f path {
	fill: #873122;
}

i.phone {
	content: url('/wp-content/themes/dg-theme/icon/phone.svg');
	width: 15px;
}
i.phone-w {
	content: url('/wp-content/themes/dg-theme/icon/phone-w.svg');
	width: 20px;
}
i.email {
	content: url('/wp-content/themes/dg-theme/icon/email.svg');
	width: 15px;
}
i.email-w {
	content: url('/wp-content/themes/dg-theme/icon/email-w.svg');
	width: 20px;
}

i.faq {
	content: url('/wp-content/themes/dg-theme/icon/faq.svg');
	width: 10px;
}
i.faq-w {
	content: url('/wp-content/themes/dg-theme/icon/faq-w.svg');
	width: 10px;
}

i.user {
	content: url('/wp-content/themes/dg-theme/icon/user.svg');
	width: 15px;
}
i.user-w {
	content: url('/wp-content/themes/dg-theme/icon/user-w.svg');
	width: 15px;
}

i.facebook {
	content: url('/wp-content/themes/dg-theme/icon/facebook.png');
	width: 25px;
}
i.facebook-w {
	content: url('/wp-content/themes/dg-theme/icon/facebook-w.svg');
	width: 11px;
}
i.instagram {
	content: url('/wp-content/themes/dg-theme/icon/instagram.png');
	width: 25px;
}
i.instagram-w{
	content: url('/wp-content/themes/dg-theme/icon/instagram-w.svg');
	width: 25px;
}
i.youtube {
	content: url('/wp-content/themes/dg-theme/icon/youtube.png');
	width: 25px;
}
i.youtube-w {
	content: url('/wp-content/themes/dg-theme/icon/youtube-w.svg');
	width: 25px;
}
i.linkedin {
	content: url('/wp-content/themes/dg-theme/icon/linkedin.png');
	width: 25px;
}
i.linkedin-w {
	content: url('/wp-content/themes/dg-theme/icon/linkedin-w.svg');
	width: 25px;
}
/*--------------------------------------------------------------
## Woocommerce
--------------------------------------------------------------*/

.woocommerce .woocommerce-ordering {
    margin: 0 0 3em;
}

.woocommerce div.product {
    overflow: hidden;
}

.woocommerce ul.products {
	padding: 0 20px;
}

.woocommerce-product-details__short-description h2 {
	font-size: 17px;
}

.woocommerce-product-details__short-description p {
	margin: 10px 0 1em 0;
}

.woocommerce-product-details__short-description {
	margin-bottom: 3em;
}

.woocommerce-product-details__short-description:before {
	content: 'Caratteristiche';
	clear: both;
	font-size: 17px;
	margin: 0 0 0 0;
	font-family: 'Montserrat',sans-serif;
	font-weight: bold;
}

.woocommerce-content {
	margin-top
}

.woocommerce .panel {
	background: #ffffff;
	margin: 2em 0 4em 0;
}

.woocommerce-tabs {
	border-top: 1px solid #c6c6c6!important;
    padding: 1em 0 0 0;
    margin-top: 3em;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    list-style: none;
    padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: 0;
    background-color: white;
    display: inline-block;
    position: relative;
    z-index: 0;
    border-radius: 0;
    margin: 0;
    padding: 0 1em;
	font-size: 21px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	padding: 0 0 0 0;
	font-weight: lighter;
}

.woocommerce-tabs li.active a {
	border-bottom: 7px solid #81CD85;
}


.woocommerce div.product .woocommerce-tabs ul.tabs li:nth-child(1) {
    border-right: 1px solid #c6c6c6;
    padding-left: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li:nth-child(2){
    border-right: 1px solid #c6c6c6;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li:after,
.woocommerce div.product .woocommerce-tabs ul.tabs li:before,
.woocommerce div.product .woocommerce-tabs ul.tabs:before {
	content: none;
	border: none;
}

.woocommerce table.shop_attributes th {
	text-align: left;
}

.woocommerce table.shop_attributes td p {
    padding: 8px;
}

.woocommerce-tabs tbody tr {
    background-color: #ffffff;
}

.woocommerce ul.products li.product a img {
    margin: 0;
    width: 100%;
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce button.button.alt,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	background: #F6EA1E;
	color: #303030;
	padding: 0.9em 1.5em;
	cursor:pointer;
	text-align: center;
	text-decoration: none!important;
	overflow:hidden;
	width: fit-content;
	width: intrinsic;
 	width: -moz-max-content;
  	width: -webkit-max-content;
	display: block;
	text-transform: uppercase;
	border-radius: 30px;
	font-weight: bold;
	transition: 0.5s;
	border: 1px solid #F6EA1E;
	font-size: 14px;
}

.woocommerce button.button.alt {
	padding: 0.7em 1.5em;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce #payment #place_order {
	padding: 0.7em 1.5em;
	font-size: 18px;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
	background: #009640!important;
	color: #ffffff!important;
	border: 1px solid #009640;
}

.woocommerce ul.products li.product .button {
    margin-top: 0;
    float: right;
}

.woocommerce ul.products li.product.purchasable .button {
	position: relative;
	padding: 0;
	width: 30px;
	height: 30px;
	border-radius: 5px;
}

.woocommerce ul.products li.product.purchasable .button:before {
	content: url('/wp-content/themes/dg-theme/icon/cart.svg');
    width: 16px;
    height: 16px;
    position: absolute;
	top: 7px;
    right: 0;
    left: 0;
    margin: 0 auto;
}

.woocommerce a.button.added::after, .woocommerce button.button.added::after, .woocommerce input.button.added::after {
    font-family: WooCommerce;
    content: "\e017";
	position: absolute;
    background: #81CD85;
    width: 30px;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 0;
    margin-left: 0;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    padding-top: 8px;
    color: #ffffff;
}

.wooocommerce .single-product ul {
	padding:0; 
	list-style: none;
}

.woocommerce-Tabs-panel--description ul li {
	list-style: none;
    display: flex;
    align-content: center;
    align-items: center;
    line-height: 1;
}

.woocommerce-Tabs-panel--description ul li:before {
	content: "■";
	margin-right: 10px;
	font-size: 30px;
}

li.product {
    box-shadow: 0px 0px 10px 0px #787878;
    padding: 16px!important;
    transition: 0.5s;
    border: 1px solid #F5F3EF;
}

li.product:hover{
    box-shadow: 0px 0px 15px 0px #787878;
}

li.product p.product_category_title{
	font-size: 14px;
	color: #787878;
	margin: 0 0 1em 0;
	padding: 0 0 1em 0;
	border-bottom: 1px solid #F5F3EF;
}

.woocommerce ul.products li.product .price {
    color: #81CD85;
    display: block;
    font-weight: 400;
	margin-top: 0.4em;
    font-size: 14px;
    width: fit-content;
    float: left;
}

.woocommerce div.product p.price, .woocommerce div.product span.price {
    color: #81CD85;
    font-size: 2em;
    margin: 32px 0;
}

.woocommerce li.product-type-external span.price {
	display: none!important;
}

#order_review_heading {
	margin-top: 2em!important;
}

.woocommerce-MyAccount-navigation {
	padding: 0;
	border-right:2px solid #f2f2f2;
}

.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin-bottom: 0;
}

.woocommerce-MyAccount-navigation ul li a {
	color: #303030;
	line-height: 1;
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	align-items: center;
}

.woocommerce-MyAccount-navigation ul li a:before {
	content: '□';
	margin-right: 10px;
	font-size: 2em;
    line-height: 1;
}

.woocommerce-MyAccount-navigation ul li a:hover {
	text-decoration: none;
}

.woocommerce-MyAccount-navigation ul li a:hover:before {
	text-decoration: none;
	content: '■';
}

.woocommerce nav.woocommerce-pagination ul li,
.woocommerce nav.woocommerce-pagination ul {
	border: 0px;
}

.single-product .product_meta {
	margin-top: 3em;
}

.woocommerce #content table.cart td.actions .input-text, .woocommerce table.cart td.actions .input-text, .woocommerce-page #content table.cart td.actions .input-text, .woocommerce-page table.cart td.actions .input-text {
    width: 200px;
}

/*--------------------------------------------------------------
## Mobile
--------------------------------------------------------------*/

@media screen and (min-width: 1001px) and (max-width: 1200px) {

.main-navigation a {
	padding: 0 34px;
}

.main-navigation li:first-child a {
	padding: 0 34px 0 0;
}
.main-navigation li:nth-child(6) a,
.main-navigation li:last-child a{
	padding: 0 0 0 34px;
}

.boxed {
	max-width: 980px;
}

.site-branding img {
    margin: 0;
}
	
.home .main-navigation a {
    padding: 0 1em!important;
    font-size: 13px!important;
}


}

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


.main-navigation a {
	padding: 0 1em;
}

.main-navigation li:first-child a {
	padding: 0 1em 0 0;
}
.main-navigation li:nth-child(6) a,
.main-navigation li:last-child a{
	padding: 0 0 0 1em;
}


.text-header h1, .text-header h2 {
	font-size: 35px;
}

h2 {
	font-size: 27px;
}

.boxed {
	max-width: 780px;
}

.site-branding img {
    margin: 0;
}
	
.home .main-navigation a {
    padding: 0 10px!important;
    font-size: 11px!important;
}
	
	.home .numero {
	font-size: 40px!important;
}
	
.grid-3{
	 grid-template-columns: 1fr;
}

}

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

h1 {
	font-size: 30px!important;
}

h2 {
	font-size: 25px!important;
}

h3 {
	font-size: 20px!important;
}

h4 {
	font-size: 16px!important;
}

.top-sidebar {
	display: none;
}

.topper {
	padding: 0;
}

.site-branding {
    width: auto;
    margin: 0;
    padding: 10px;
    display: inline;
    float: left;
    z-index: 1;
    position: relative;
}

.site-branding img {
    margin: 0 auto;
    width: 240px;
}

.top-site {
	padding: 0.7em 0 0 0;
	display: block;
	overflow: hidden;
	min-height: 70px;
}

.top-site-child {
    padding: 0;
}

.top-site-child .flex4 {
	display: none;
}

.site-header .homerow {
	margin-top: 72px;
	padding: 90px 1em;
}

.dotsrow {
    margin-top: -4em;
    padding: 1em 0;
}

.header-lp,
.slide-lp {
		height:auto;
	}
	

	
	
	.slide-lp .text-header {
		padding:1em;
		margin-top:100px;
	}

.navigation-bar {
	width: 100%;
    padding: 2.2em 0;
    position: absolute;
    right: 0;
    top: 0;
    height: auto;
    z-index: 0;
}

.menu-menu-principale-container {
	background: #ffffff;
	position: relative;
	width: 100%;
	top: 35px;
}
	
	.home .main-navigation ul {
		margin:0;
	}

.main-navigation li {
    float: none;
    border-bottom: 1px solid #F5F3EF;
    background: #ffffff;
    color: #303030;
    padding: 0;
}

.main-navigation li:first-child,
.main-navigation li:last-child {
    padding: 0;
}

.main-navigation a,
.main-navigation a:hover {
padding: 16px!important;
color: #303030;
}

.main-navigation li.red a {
	background: #873122;
	color: #ffffff!important;
}
.main-navigation li.blue a {
	background: #1D3E84;
	color: #ffffff!important;
}

.main-navigation ul ul {
	width: 100%;
    z-index: 99999;
    top: 0;
    position: relative;
}

.main-navigation ul ul li a {
    padding: 16px;
    text-align: center;
    color: #303030!important;
    background: #ffffff!important;width: 100%;
}

.main-navigation ul li > ul,
.main-navigation ul li.focus > ul {
    display: none!important;
}

.main-navigation ul li.toggleon > ul {
    display: block!important;
}

.breadcrumbs{
	padding: 0.625em;
}

.site-content {
    padding: 0;
}

#footer-sidebar {
    padding: 2em 1em;
}

.flex,
.flex4 {
	display: block;
}

.flex2 {
	justify-content: space-around
}

.homerow {
	padding: 2em 0;
}

.homerow2 {
	padding: 0 0 2em 0;
}

.homerow3 {
	padding: 2em 0 0 0;
}

.w-90,
.w-85,
.w-75,
.w-70,
.w-65,
.w-60,
.w-50,
.w-40,
.w-30,
.w-25,
.w-25 {
	width: 100%!important;
	margin-bottom: 1em;
}

.w-90:last-child,
.w-85:last-child,
.w-75:last-child.
.w-70:last-child,
.w-65:last-child,
.w-60:last-child,
.w-50:last-child,
.w-40:last-child,
.w-30:last-child,
.w-25:last-child {
	margin-bottom: 0;
}

.rowloop .w-50,
.rowloop .w-25,
.rowloop .w-20 {
width: 46%!important;
}

.w-100 .w-50 {
	width: 100%!important;
	margin-bottom: 0;
}

.w-10 {
	width: 46%;
}

.site-footer {
	padding: 0;
}

.site-info {
    margin-bottom: 39px;
    font-size: 12px;
}

.site-info img {
    width: 150px;
    margin: 0 auto;
}

.desktop {
	display: none!important;
}

.mobile {
    display: block;
}

.loopmobile {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 99999;
}

.buttonmobile {
    width: 50%;
    float: left;
}

.buttonmobile a {
    display: block;
    text-decoration: none;
    padding: 10px;
    text-align: center;
    font-size: 16px;
    background: #4C9456!important;
}

.buttonmobile img {
    margin: 0 auto 5px;
}

.fade {
	width: 100%;
}

.post .entry-content {
	padding: 0;
}

a.action,
.action a,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	width: fit-content;
}

.panel {
  display: none;
  overflow: scroll;
}

#cookie-law-info-bar {
    font-size: 12px;
    margin-bottom: 44px;
}

.mdl_blocchi_icona_testo ul li {
	border: 0;
}

section,
.post,
.woocommerce .site-content {
	padding: 0 1em;
}

.woocommerce ul.products[class*=columns-] li.product, 
.woocommerce-page ul.products[class*=columns-] li.product {
    width: 100%;
}

.numeri .w-20 {
	margin-bottom: 2em;
	width: 30%;
}
.numero {
    font-size: 40px;
}

.page-template-page-about #fascia-2,
.page-template-page-aziende #fascia-2,
.page-template-page-privati #fascia-3 {
	padding: 0;
}
.page-template-page-about #fascia-2 .homerow {
	padding: 2em;
}
.page-template-page-about #fascia-6 .rowloop div {
	width: 50%;
	padding: 5px;
}
.page-template-page-about #fascia-6 img {
	margin: 0;
}

.page-template-page-aziende #fascia-2 .row,
.page-template-page-privati #fascia-3 .homerow,
.page-template-page-privati #fascia-3 .row {
	padding:0 1em;
}

.page-template-page-privati #fascia-1 .box {
	font-size: 13px;
}

.whatsapp {
	width: 50px;
	height: 50px;
	bottom: 50px;
	right: 5px;
}

.columns2 {
	columns: 1;
}

.site-footer .flex4 div:first-child {
	margin-right: 1em;
    width: 60px;
    float: left;
}

.footer-sidebar aside {
    margin-bottom: 2em;
}
	
.blog-sidebar select {
	margin-top: 1em;
}

a.iubenda-cs-preferences-link,
a.iubenda-tp-btn {
	margin: 16px 16px 50px 16px!important;
}

#footer-sidebar2 {
	margin-bottom: 2em;
}

.flex4 .blogpost {
	margin: 0 0 2em 0;
}

.realizzazione a.background {
	min-height: 350px;
}

.wp-block-media-text__media img {
	margin-bottom: 2em!important;
}

.mdl-testo-sfondo-colorato {
	padding: 0;
}
.mdl-testo-sfondo-colorato .box {
	margin: 0 auto;
	width: 90%;
}
	
.home .numero {
	font-size: 30px!important;
}
	
}

@media screen and (max-width: 480px) {
.blog-sidebar {
	display: block;
}

a.labeltag, a.labeltag:visited {
    max-width: fit-content;
    margin: 10px 10px 5px 0;
    float: left;
}

.grid-2,
.grid-3{
	 grid-template-columns: 1fr;
}

.home .numero {
	font-size: 30px!important;
}
	
}


/* gform placeholders*/
.site-footer .formnewsletter ::-webkit-input-placeholder { color:#363636; }
.site-footer .formnewsletter :-moz-placeholder { opacity: 1; color:#363636; } /* Firefox 18- */
.site-footer .formnewsletter ::-moz-placeholder { opacity: 1; color:#363636; } /* firefox 19+ */
.site-footer .formnewsletter :-ms-input-placeholder { color:#363636; } /* ie */
input:-moz-placeholder { color:#FFF; }