/*
Theme Name: DG-Theme
Theme URI: https://www.nosaresgreen.it/
Author: Liberi cittadini per la salute
Author URI: https://www.nosaresgreen.it/
Description: Theme created by Liberi cittadini per la salute
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;
}

small {
	font-size: 80%;
}

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: 1em;
}

hr {
	box-sizing: content-box;
	height: 0;
}

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;
}

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

p {
	margin: 0 0 1em 0;
	overflow: hidden;
	line-height:2;
}
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;
	line-height:2;
}


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

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: #181818;
}

h1 {
	font-size: 50px;
	margin: 0 0 20px 0;
	text-transform: uppercase;
}

.home h1 {
	font-size: 70px;
}

h1 strong,
h2 strong {
	color: #2c52a5!important;
}

h1 mark {
	position: relative;
}
 
h1 mark::before {
  content: "";
  position: absolute;
  left: 7%;
  bottom: 13px;
  width: 150px;
  height: 15px;
  transform: skew(-12deg) translateX(-22%);
  background: rgba(44, 82, 165, 0.5);
  z-index: -1;
}

.text-header h1,
.text-header h1 mark {
	color: #ffffff!important;
}

h2 {
	font-size: 33px;
	margin: 50px 0 20px 0;
}

h2:first-child,
.wp-block-column h2:first-child {
	margin-top:0!important
}

.text-header h2{
	color: #ffffff;
	margin: 0 0 60px 0;
}

h3 {
	font-size: 23px;
	margin: 30px 0 20px 0;
}

h3:first-child{
	margin: 0 0 20px 0;
}

.box h3 {
	margin-top:0;
}

h4 {
	font-size: 19px;
}

h5 {
	font-size: 19px;
	font-weight: normal;
	margin: 0 0 1em 0;	
}

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

.topper {
	position: fixed;
	width: 100%;
    z-index: 9999;
   	background: transparent;
   	top:0;
}

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

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

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

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

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 #2c52a5;
}

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

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

.lightblue .site-branding img {
	width: 50px;
}

.site-header {
	background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.site-header:after {
	background: #6ab3d4;
	width: 150%;
	height: 200%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 0.6;
	position: absolute;
	z-index: 0;
	transform: rotate(170deg);
	overflow: hidden;
}

.home .site-header{
	height: 100vh;
}

.site-header .boxed {
	z-index: 1;
	position: relative;
}

.site-header .homerow {
	padding: 200px 0 90px 0;
}

.text-header {
	color: #ffffff;
}

.breadcrumbs {
	border-top: 1px solid #f5f5f5;
	border-bottom: 1px solid #f5f5f5;
    padding: 10px;
    text-align: right;
}

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

.video-container 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"],
a.wp-element-button,
a.action:visited,
.action a:visited,
input[type="button"]:visited,
input[type="reset"]:visited,
input[type="submit"]:visited,
a.wp-element-button:visited{
	background: #2c52a5!important;
	color: #ffffff!important;
	padding: 0.5em 1.5em!important;
	cursor:pointer;
	text-align: center;
	text-decoration: none!important;
	overflow:hidden;
	width: auto;
	max-width: fit-content;
	border: 1px solid #2c52a5!important;
	border-radius: 15px!important;
	display: block;
	text-transform: uppercase!important;
	transition: 0.5s!important;
}

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

a.action:hover,
.action a:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
a.wp-element-button:hover{
	background: #181818!important;
	color: #ffffff!important;
	border: 1px solid #181818!important;
}

button.menu-toggle {
	background: transparent;
    padding: 0;
    color: #000!important;
    border: 0!important;
    border-radius: 0px;
    height: 65px;
    min-width: 65px;
    margin: 0;
    box-shadow: none;
	transition: 0.5s
}

button.menu-toggle: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: #181818;
	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: #2c52a5;
	transition:0.5s!important;
	text-decoration: underline;
}


a:hover,
a:focus,
a:active {
	color: #6ab3d4;
	outline: 0;
}

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

.menu-menu-principale-container {
	margin: 0 0 60px 0;
}

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

ul.menu li a {
	font-size: 20px;
	text-transform: uppercase;
	padding: 1em;
	border-bottom: 1px solid #f5f5f5;
	color: #181818;
	display: block;
	text-decoration: none;
}

ul.menu li a:hover{
	background: #f5f5f5;
}

.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: '\f0d7';
font-family: FontAwesome;
margin-left:0.625em;
}

li.menu-item-has-children .sub-menu a:after{
content: 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 {
	margin-bottom:3em; 
	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;
}

/*--------------------------------------------------------------
# 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;
	border-radius:15px;
}

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

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

a.prev, a.next {
	background: #2c52a5;
	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;
    margin: 3em 0;
	height:100%;
}

a.page-numbers, .dots {
	background: #2c52a5;
	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:hover, 
a.next:hover, 
a.page-numbers:hover, 
.dots:hover {
	background: #6ab3d4;
}

.current {
	background: #6ab3d4;
	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;
}

/*--------------------------------------------------------------
## 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 {
	padding: 30px;
	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: #f5f5f5;
}

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 {
	padding: 90px 0;
	border-top:1px solid #f5f5f5;
}

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

.site-footer li {
	margin-bottom: 20px;
}

.site-footer li a {
	color: #181818;
	text-decoration: none;
}
.site-footer li a:hover {
	color: #2c52a5;
}

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

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

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

/*--------------------------------------------------------------
## 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: 1em 1.5em!important;
    border: 1px solid #181818!important;
    width: 100%;
    background: transparent;
    line-height: 1!important;
    box-shadow: none!important;
}

input:focus { border: 1px solid #2c52a5!important;}

textarea {
    height: 100px!important;
}

input[type=checkbox] {
    background-color: transparent;
    box-shadow: none!important;
}

select {
    color: #2c52a5;
    border: 1px solid #2c52a5;
    -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;
    background-color: transparent!important;
    padding: 0.9em 1.5em!important;
    border-radius: 30px;
    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: #181818;
}

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;
}

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 label {
    font-size: 13px;
}

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

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

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


/*--------------------------------------------------------------
## Accordion CSS
--------------------------------------------------------------*/
summary {
	padding: 10px;
	background: #f5f5f5;
	color: #181818;
	font-weight: bold;
	position: relative;
}

details div {
	padding: 1em;
	background: white;
	position: relative;
}

summary:after{
	content: '\002B';
    color: #181818;
    font-weight: bold;
    float: right;
    margin-left: 5px;
    position: absolute;
    top: 12px;
    right: 16px;
}
details[open] summary:after{
	content: '-';
}

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

/* The Modal (background) */
.modal {
  visibility: hidden; /* Hidden by default */
  position: fixed; /* Stay in place */
  transition: opacity 1s ease-in-out;
  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: #fff; /* Fallback color */
}

.modal.open {
  visibility: visible!important;
  opacity: 1;
}

.modal-content {
    padding: 90px 0 0 0;
	position:relative;
}

.modal-content a {
	transition:0s!important;
}

/* The Close Button */
.close {
color: #181818;
position: absolute;
top: 1em;
right: 1em;
font-size: 35px;
height:35px;
width:35px;
font-weight: bold;
	cursor:pointer;
}

.close:hover {
  -webkit-transform: rotate(360deg)!important;
          transform: rotate(360deg)!important;
	text-decoration:none;
}

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

/* Style the tab */
.tab {
  overflow: hidden;
  border-top: 1px solid #f5f5f5;
  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: #2c52a5;
    text-transform: none;
	background: #ffffff;
	cursor: pointer;
	border-bottom: 1px solid #f5f5f5;
}

.tab button:hover {
  border-bottom: 1px solid #6ab3d4;
  background: #ffffff!important;
  color:#2c52a5!important;
}

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

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

.tab button.first:hover {
	color: #2c52a5!important;
	border-bottom: 1px solid #6ab3d4!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: 60px;
}

.homerow {
height: auto;
position: relative;
overflow: hidden;
padding: 90px 0; 
}

.homerow2 {
height: auto;
position: relative;
overflow: hidden;
padding: 0 0 90px 0; 
}

.homerow3 {
height: auto;
position: relative;
overflow: hidden;
padding: 90px 0 0 0; 
}

.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;
}

.flex3 a:first-child {
	margin-right: 1em;
}

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

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

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

.w-10 {
	width: 10%;
}

.w-25 {
	width: 24%;
}

.w-30 {
	width: 30%;
}

.w-40 {
	width: 40%;
}

.w-50 {
	width: 46%;
}

.w-60 {
	width: 60%;
}

.w-70 {
	width: 70%;
}

.w-75 {
	width: 75%;
}

.w-85 {
	width: 85%;
}

.w-90 {
	width: 90%;
}

.grid {
	display: grid!important;
	column-gap: 2em;
	row-gap: 2em;
	grid-template-columns: auto;	
}

.site-footer .grid {
	column-gap: 5em;
}

.grid-item {
	display: block;
	overflow: hidden;
}

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

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

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

.grid-4 {
	grid-template-columns: 1fr 1fr 1fr 1fr;
}

.grid-6  {
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}

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

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

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

.columns-2 {
	columns: 2;
	column-gap: 60px;
}

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

.slick-lightbox{position:fixed;top:0;left:0;z-index:9999;width:100%;height:100%;background:black;-webkit-transition:opacity 0.5s ease;transition:opacity 0.5s ease}.slick-lightbox .slick-loading .slick-list{background-color:transparent}.slick-lightbox .slick-prev{left:15px}.slick-lightbox .slick-next{right:15px}.slick-lightbox-hide{opacity:0}.slick-lightbox-hide.slick-lightbox-ie{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0)}.slick-lightbox-hide-init{position:absolute;top:-9999px;opacity:0}.slick-lightbox-hide-init.slick-lightbox-ie{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0)}.slick-lightbox-inner{position:fixed;top:0;left:0;width:100%;height:100%}.slick-lightbox-slick-item{text-align:center;overflow:hidden}.slick-lightbox-slick-item:before{content:'';display:inline-block;height:100%;vertical-align:middle;margin-right:-0.25em}.slick-caption-bottom .slick-lightbox-slick-item .slick-lightbox-slick-item .slick-lightbox-slick-caption{position:absolute;bottom:0;left:0;text-align:center;width:100%;margin-bottom:20px}.slick-caption-dynamic .slick-lightbox-slick-item .slick-lightbox-slick-item .slick-lightbox-slick-caption{display:block;text-align:center}.slick-lightbox-slick-item-inner{display:inline-block;vertical-align:middle;max-width:90%;max-height:90%}.slick-lightbox-slick-img{margin:0 auto;display:block;max-width:90%;max-height:90%}.slick-lightbox-slick-caption{margin:10px 0 0;color:white}.slick-lightbox-close{position:absolute;top:15px;right:15px;display:block;height:20px;width:20px;line-height:0;font-size:0;cursor:pointer;background:transparent;color:transparent;padding:0;border:none}.slick-lightbox-close:focus{outline:none}.slick-lightbox-close:before{font-family:"slick";font-size:20px;line-height:1;color:white;opacity:0.85;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:'×'}

.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: #f5f5f5;
    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;
    bottom: -60px;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}
.slick-dots li {
    position: relative;
    display: inline-block;
    width: auto;
    height: auto;
    padding: 0;
    cursor: pointer;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 48px;
    height: 48px;
    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: 10px;
    line-height: 0;
    position: absolute;
	width: 10px;
    height: 10px;
    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;
}

.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: #181818;
color: #ffffff;
}

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

.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;
}

.lightblue {
	background: #6ab3d4;
}

.pale {
background: #f5f5f5;
}

.palebg-2-1 {
background: #f5f5f5;
background: linear-gradient(0deg, #f5f5f5 50%, #fff 50%);
}

.palebg-1-2 {
background: #f5f5f5;
background: linear-gradient(0deg, #fff 50%, #f5f5f5 50%);
}

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

.grey {
	background: #60626b;
	color: #ffffff;
}

.grey a, .grey a:hover, .grey a:visited, .grey h2, .grey h3, .grey h4{
	color: #ffffff;
}

.white {
	background: #ffffff;
}

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

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

.element-background-2 {
    margin-bottom: 1em;
    height: 100px;
   	overflow: hidden;
    background-size: cover!important;
    background-position: center!important;
    background-repeat: no-repeat!important;
}

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

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

.timeline {
	padding-left:10px;
	padding-top:10px;
}

.timeline-child {
    padding-left: 2em;
    padding-bottom: 2em;
    border-left: 1px solid #2c52a5;
}

.data-timeline {
	padding: 0.5em 1em;
    background: #2c52a5;
    display: block;
	color:#fff;
	font-weight:bold;
    width: fit-content;
    border-radius: 10px;
	position:relative;
}

.data-timeline:before{
	content:'';
	height:1px;
	border-bottom:1px solid #2c52a5;
	position:absolute;
	top:0;
	left: -35px;
    width: 50px;
}

.data-timeline:after{
	content:'';
	height:10px;
	width:10px;
	background:#2c52a5;
	position:absolute;
	top:-4px;
	left: -38px;
    border-radius: 100px;
}

.testo-timeline {
	padding: 1em 0 0 0;
    display: block;
}

.wp-element-caption {
	font-size:70%;
}

.wp-block-embed__wrapper {
	text-align: center;
}

.wp-block-embed-youtube iframe {
	max-width: 800px;
	width:100%!important;
	height:450px!important;
	border-radius: 30px;
	margin: 0 auto;
}

a.ytp-impression-link {
	display: none;
}

.file-download {
	position: relative;
	margin-bottom: 2em;
	position: relative;
	padding: 0 0 1px 3.5em;
	transition: 0.5s;
	text-decoration: none;
	min-height: 40px;
}

.file-download:before {
	position: absolute;
	content: url(/wp-content/themes/dg-theme/icon/download-w.svg);
	display: block;
	border-radius: 100%;
	background: #181818;
	display: flex;
	align-items: center;
	align-content: center;
	justify-content: space-around;
	width: 40px;
	height: 40px;
	top: 0;
	left: 0;
	transition: 0.5s;
}

.file-download:hover{
	color: #2c52a5;
	text-decoration: underline;
}

.file-download:visited{
	color: #2c52a5;
	text-decoration: none;	
}
.file-download:hover:before,
.file-download:visited:before{
	background: #2c52a5;
}

.acf-map {
    width: 100%;
    height: 400px;
    border: #f5f5f5 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: #6ab3d4;
	padding: .5em 0;
	font-style: italic;
}

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

.uppercase {
	text-transform: uppercase;
}

.mobile, .loopmobile {
	display: none;
}

.desktop {
	display: block;
}

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

.blogpost{
	margin-bottom: 2em;
	padding: 2em;
	background: #f5f5f5;
	border-radius: 30px;
}

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

.blogpost h3 a {
	text-decoration: none;
}
/*--------------------------------------------------------------
## Sezioni CSS
--------------------------------------------------------------*/

section {
	overflow: hidden;
}

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

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

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

i.phone {
	content: url('/wp-content/themes/dg-theme/icon/phone.svg');
	width: 20px;
}
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: 20px;
}
i.email-w {
	content: url('/wp-content/themes/dg-theme/icon/email-w.svg');
	width: 20px;
}

i.facebook {
	content: url('/wp-content/themes/dg-theme/icon/facebook.svg');
	width: 35px;
}
i.facebook-w {
	content: url('/wp-content/themes/dg-theme/icon/facebook-w.svg');
	width: 35px;
}
i.instagram {
	content: url('/wp-content/themes/dg-theme/icon/instagram.svg');
	width: 20px;
}
i.instagram-w{
	content: url('/wp-content/themes/dg-theme/icon/instagram-w.svg');
	width: 20px;
}
i.youtube {
	content: url('/wp-content/themes/dg-theme/icon/youtube.svg');
	width: 20px;
}
i.youtube-w {
	content: url('/wp-content/themes/dg-theme/icon/youtube-w.svg');
	width: 20px;
}
i.linkedin {
	content: url('/wp-content/themes/dg-theme/icon/linkedin.svg');
	width: 20px;
}
i.linkedin-w {
	content: url('/wp-content/themes/dg-theme/icon/linkedin-w.svg');
	width: 20px;
}


span.icon {
	padding: 0 0 2px 2em;
	position: relative;
	display: block;
	line-height:1.3;
}
span.phone:before{
	position: absolute;
	top: 0;
	left: 0;
	content: url('/wp-content/themes/dg-theme/icon/phone.svg');
	width: 20px;
	height: 20px;
}
span.email:before{
	position: absolute;
	top: 0;
	left: 0;
	content: url('/wp-content/themes/dg-theme/icon/email.svg');
	width: 20px;
	height: 20px;
}
span.map-pin:before{
	position: absolute;
	top: 0;
	left: 0;
	content: url('/wp-content/themes/dg-theme/icon/map-pin.svg');
	width: 20px;
	height: 20px;
}

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

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

.boxed {
	max-width: 980px;
}

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

.site-header,
.home .site-header {
	height: auto;
	padding-top: 150px;
	padding-bottom: 90px;
}

.home .site-header .w-50 {
	width: 70%;
}
	.site-header .homerow{
		padding:0;
	}

}

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

.boxed {
	max-width: 780px;
}

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

.site-header,
.home .site-header {
	height: auto;
	padding-top: 150px;
	padding-bottom: 90px;
}

.home .site-header .w-50 {
	width: 70%;
}

	.site-header .homerow{
		padding:0;
	}

}

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

h1 {
	font-size: 40px;
}

.home h1 {
    font-size: 60px;
}

h1 mark::before {
	width: 100px;
	left: 17%;
}

h2 {
	font-size: 30px;
}

.home .site-header {
	height: auto;
	padding-top: 120px;
	padding-bottom: 60px;
}

.site-header .homerow {
    padding: 120px 0 0 0;
}
	
.site-header:after {
    width: 250%;
}

.top-sidebar {
	display: none;
}

.topper {
	padding: 0;
}

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

.site-branding img {
    margin: 0 auto;
    width: 60px;
}
	
.lightblue .site-branding img {
	width: 30px;
}

.top-site {
	padding: 0;
	display: block;
}

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

.text-header {
	padding: 1em;
	width: 100%!important;
    margin: 0 auto;
}

.home .site-header a.action {
	margin: 0 auto 1em auto;
}

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

.breadcrumbs{
	padding: 0.625em!important;
}

.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-60,
.w-50,
.w-40,
.w-30,
.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-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 {
width: 46%;
}

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

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

.site-footer {
	padding: 0;
}

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

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

.desktop {
	display: none;
}

.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: 9;
}

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

.buttonmobile a {
    display: block;
    text-decoration: none;
    padding: 10px;
    text-align: center;
    font-size: 16px;
}

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

.fade {
	width: 100%;
}

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

.box {
	padding: 1em;
}

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

.accordion {
	padding: 1em;
	border: 1px solid #ededed;
	text-align:center; 
}

.accordion:after {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  font-size: 13px;
  color: #181818;
  float: right;
  margin-left: 5px;
}

.accordion.active:hover {
  background-color: #ededed;
}

.accordion.active:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}

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

.multiple-slide .slick-list {
    margin: 0 30px;
}

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

.columns-2 {
	columns: 1;
}

.wp-block-heading {
	margin-top: 1em;
}

.file-download {
	margin-bottom: 0;
	min-height: auto;
}
	
	.indirizzo-menu {
		padding:0 1em;
	}

.menu-menu-principale-container {
    margin: 0 0 30px 0;
}	

.wp-block-embed-youtube iframe {
	height:300px!important;
}

.page-id-158 section {
	padding: 0;
}

section.dg-group {
	padding: 0 1em;
}

}




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