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

body {
	margin: 0;
	background-color: #f6f6f6;
}

body {

}

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

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

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: #0f0f0f;
	font-family: 'Nunito Sans', sans-serif;
	font-size: 16px;
	line-height: 1.2;
}

p {
	margin: 1em 0;
	overflow: hidden;
}

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

blockquote {
	text-align: center;
	font-style: italic;
	font-size: 1.75em;
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
	font-weight: bold;
}

cite {
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
}

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


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

.mdl li {
	margin-bottom: 1em;
}

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

h1 {
	font-size: 4em;
    margin: 0;
    font-weight: bold;
}

h2 {
	font-size: 1.75em;
	margin: 0;
	font-weight: bold;
}

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

h4 {
	font-size: 16px;
}

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

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

.topper {
	position: fixed;
	width: 100%;
    z-index: 9999;
   	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;
}

#masthead {
	height: 80vh;
	background-size: cover!important;
	background-position: top!important;
	background-repeat: no-repeat!important;
	margin-top: 157px;
}

#masthead.home {
	height: 80vh;
}

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

ul#menu-top-menu li a,
ul#menu-top-menu-en li a {
	color: #ffffff;
}

ul#menu-top-menu li a:hover,
ul#menu-top-menu li a:visited,
ul#menu-top-menu-en li a:hover,
ul#menu-top-menu-en li a:visited  {
	color: #ffffff;
	text-decoration: underline;
}

ul#menu-top-menu li,
ul#menu-top-menu-en li{
	padding-right: 3em;
}


.socialtop a {
    font-size: 10px;
    margin: 5px;
    color: #ffffff;
}

.top-site-child {
	width: 100%;
	height: auto;
	padding:0; 
	background:#ffffff; 
}

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

.site-branding p {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.6px;
    margin: 5px 0 0 0;
}

.site-branding span {
	color: #ed1c24;
}

.breadcrumbs {
	border-top: 1px solid #f5f5f5;
	border-bottom: 1px solid #f5f5f5;
    padding: 1em 0;
}

.text-header {
	width: 100%;
	padding-bottom: 5em;
	position: relative;
}

.home .text-header {
	padding-bottom: 8em;
}

.text-header-child {
	position: absolute;
	bottom: 0;
	right:0;
}

.text-header-child a {
	display: block;
	padding: 1em;
	min-width: 200px;
	text-align: center;
	transition:0.5s;
}

.text-header-child a:hover {
	padding-bottom: 2em;
	text-decoration: none;
}

.text-header h1 {
	color: #ffffff;
}

.home .text-header h1 {
	padding-bottom: 1em;
}


.blog .text-header h1 {
	color: #0f0f0f;
}

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

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background: #ed1c24;
	color: #ffffff;
	padding: 0.5em 1em;
	cursor:pointer;
	text-align: center;
	text-decoration: none!important;
	overflow:hidden;
	width: fit-content;
	width: intrinsic;
 	width: -moz-max-content;
  	width: -webkit-max-content;
	border: 0;
	display: block;
	text-transform: uppercase;
	border-radius: 50px;
}

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

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: #a71b16!important;
	color: #ffffff!important;
}

a.action {
	width: 100%;
	margin: 0.5em 0;
}

a.action:hover {
	text-decoration: none!important;
}

a.action .box {
	padding: 1.2em;
}

a.action .red {
	font-size: 1.75em;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
	max-height: 100px;
	background: #a71b16;
}

a.action:hover .red,
a.action:hover .green {
	min-height: 65px;
	text-decoration: none!important;
}

a.action .green {
	font-size: 1.75em;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
	max-height: 100px;
}

a.action:hover .green {
	min-height: 65px;
	text-decoration: none!important;
}

a.action .grey {
	text-align: center;
	max-height: 100px;
	padding: 2.1em 0!important;
	transition:0.5s;
	color: #ffffff;
}

a.action:hover .grey {
	font-size: 1.3em;
	padding: 1.5em 0!important;
}

a.action .w-50 {
	width: 50%;
}

.actionhome a {
	padding: 1em 0!important;
	color: #0f0f0f;
	display: block;
}

.home .actionhome a {
	color: #ffffff;
}

.actionhome a:hover {
	text-decoration: none;
}

a.actionmenu {
	display: block;
	width: fit-content;
	width: intrinsic;
 	width: -moz-max-content;
  	width: -webkit-max-content;
  	min-width: 165px;
  	transition:0.5s;
  	text-align:center; 
}

a.actionmenu.red {
	padding: 1.3em 2em;
	color: #ffffff;
}

.slide a.actionmenu {
	padding: 0.5em 1em;
}

a.actionmenu.grey {
	padding: 1em 2em;
	color: #ffffff;
}

a.actionmenu:hover {
	text-decoration: none;
}

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

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

.tabella p {
	margin:0;
}

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

.table2 {
	background: #ffffff;
	color: #0f0f0f;
	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 {
	color: #ed1c24;
	background-color: transparent;
	text-decoration: none;
}

a:visited {
	color: #ed1c24;
	text-decoration: underline;
}

a:hover,
a:focus,
a:active {
	color: #0f0f0f;
	outline: 0;
	text-decoration: underline;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

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

.navigation-bar {
    width: auto;
}

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

.main-navigation a {
	display: block;
	text-decoration: none;
	height:100%;
	color: #0f0f0f;
	font-weight: bold;
}

.main-navigation a:hover,
.main-navigation a:active {
		color: #0f0f0f;
}

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

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

.main-navigation ul ul li a {
	padding: 0.625em 1.2em;
}

.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 {
	font-weight: bold;
	border-bottom: 3px solid #ED1C24;
}

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

.textleft {
	text-align: left;
}


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

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

ul#menu-blog {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: space-around;
}

ul#menu-blog li a {
	color: #000000;
	font-weight: bold;
}

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

.boxed,
.wp-block-gallery,
.wp-block-jetpack-tiled-gallery,
.gform_wrapper form {
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
}

.gform_wrapper form {
	max-width: 1200px!important;
}

.boxed2 {
	width: 1000;
	max-width: 1000px;
	margin: 0 auto;
	width: 100%;
}

#main {
	overflow: hidden;
}

.box {
	overflow: hidden;
	padding: 3em;
}

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

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

.box4 {
	padding: 5em;
}

.box5 {
	padding: 3em 6em!important;
	background: #ffffff;
	border-radius: 50px;
}

a.prev, a.next {
	background: #60626b;
	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 auto;
	height:100%;
	width: fit-content;
	width: intrinsic;
 	width: -moz-max-content;
  	width: -webkit-max-content;
}

a.page-numbers, .dots {
	background: #60626b;
	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: #b72224;
}

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

.mdl-testo .caption {
	font-size: 11px;
	width: 233px;
}

/*--------------------------------------------------------------
## 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;
	margin-top: 3em;
}

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

.site-info {
text-align: center;
overflow:hidden;
padding: 1em;
width: 100%;
font-size: 12px;
border-top: 4px solid #ffffff;
}

.footer-sidebar {
	flex:1;
	width: fit-content;
	width: intrinsic;
 	width: -moz-max-content;
  	width: -webkit-max-content;
  	margin-right: 3em;
  	margin-bottom: 3em;
}

#footer-sidebar1 {
	min-width: 300px;
	margin-right: 7em;
}

#footer-sidebar4 {
	margin-right: 0;
}

#footer-sidebar5 {
	width: fit-content;
	width: intrinsic;
 	width: -moz-max-content;
  	width: -webkit-max-content;
  	margin: 0 auto 2em auto;
}

#footer-sidebar5 img {
	margin: 0 10px;
}

/*--------------------------------------------------------------
## 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"],
textarea {
    padding: 1em 0!important;
    border: 0px;
    border-bottom: 1px solid #ed1c24;
    width: 100%;
    background: transparent;
}

input[type="password"] {
	padding: 1em 0!important;
	border:0px;
    border-bottom: 1px solid #ed1c24;
    width: 90%;
    background: transparent;
    float: left;
    margin-right: 2em;
}


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

select {
    color: #60626b;
    border-bottom: 1px solid #ed1c24;
    -webkit-appearance: none;
    background-image: url('/wp-content/themes/dg-theme/icon/select.svg')!important;
	background-position-y: center;
    background-position-x: 95%;
    background-repeat: no-repeat!important;
    background-size: 20px;
	background-color: transparent;
	border-radius: 0px;
	padding: 13px 1em!important;
}

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: #0f0f0f;
	border: 0px;
    border-bottom: 2px solid #ed1c24!important;
}

input[type="search"] {
	padding: 3px;
	width: 100%;
	margin-bottom: 1em;
}


.gform_wrapper h1, .gform_wrapper h2, .gform_wrapper h3 {
	font-weight: 700!important;
}

.gform_wrapper textarea {
    height: 100px!important;
    border: 0px;
    border-bottom: 1px solid #ed1c24;
    border-radius: 0px;
    margin-top: 10px;
}

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: 12px!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;
}

.gform_footer input[type="submit"] {
	float: right;
	border-radius: 0;
	border: 2px solid #82171b;
	color: #0f0f0f;
	padding: 1em 2em;
	background: transparent;
	text-transform: none;
	font-weight: bold;
	text-align: center;
	margin:0!important;
}

.gform_footer input[type="submit"]::before {
	content: '⟶';
	padding: 1em 2em;
	border: 2px solid #82171b;
	background: #82171b;
	text-align: center;
}

.gform_wrapper form,
.form .homerow {   
	padding: 3em 3em 3em;
    background: #ffffff;
    border-radius: 50px;
    overflow: hidden;
}

.form .homerow #gform_1 {
	padding:0;
	border-radius: 0; 
}

.form #gform_wrapper_1 {
	margin-top: 0;
	margin-bottom: 0;
}

.formdownload ul.gfield_checkbox li {
    display: inline-flex!important;
    align-items: center;
}

.formdownload ul.gfield_checkbox li input[type=checkbox] {
	margin-right: 10px;
}

.formdownload ul.gfield_checkbox li label {
	display: flex!important;
	flex-wrap:wrap;
	align-items: center;
	aling-content: center;
}

.formdownload ul.gfield_checkbox li label:before {
	content:url(/wp-content/themes/dg-theme/icon/pdf.svg);
	width: 32px;
	height: 32px;
	margin-right: 10px;
}

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

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

.accordion:after {
    content: '\002B';
    color: #ffffff;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.accactive, .accordion:hover {
  background-color: #0f0f0f;
  color: #ffffff!important;
}

.accordion.accactive:after {
    content: "\2212";
}

.accpanel {
  padding: 1em;
  background-color: #f5f5f5;
  display: none;
  overflow: hidden;
}

/*--------------------------------------------------------------
## 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: #f5f5f5;
  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 #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: #60626b;
    text-transform: none;
	background: #ffffff;
	cursor: pointer;
	border-bottom: 1px solid #f5f5f5;
}

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

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

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

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

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

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

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

.row2 {
	padding: 0 0 30px 0;
	margin-bottom: 30px;
}

.row3 {
	padding: 60px 0 0 0;
}

.homerow {
height: auto;
position: relative;
padding: 60px 0; 
}

.homerow2 {
height: auto;
position: relative;
padding: 0 0 60px 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;
}

ul.flex3 li:nth-child(1) {
	border-bottom: 7px solid #ed1c24;
}

ul.flex3 li:nth-child(2) {
	margin: 0 5%;
	border-bottom: 7px solid #f0e2bd;
}

ul.flex3 li:nth-child(3) {
	border-bottom: 7px solid #60626b;
}

ul.flex3 li:nth-child(4) {
	border-bottom: 7px solid #0f0f0f;
	margin-left: 5%;
}

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

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

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

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

.w-10 {
	width: 10%;
}

.w-25 {
	width: 24%;
}

.w-30 {
	width: 30%;
}

.w-40 {
	width: 40%;
}

.w-50 {
	width: 46%;
	position: relative;
}

.w-60 {
	width: 60%;
}

.w-75 {
	width: 70%;
}

.w-85 {
	width: 85%;
}

.w-90 {
	width: 90%;
}

/*--------------------------------------------------------------
## 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: #0f0f0f;
    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:#0f0f0f;
    -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.png');
}
[dir='rtl'] .slick-prev:before
{
    content: url('/wp-content/themes/dg-theme/icon/001-next.png');
}

.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.png');

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

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

.slick-dots
{
    position: absolute;
    bottom: -25px;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}
.slick-dots li
{
    position: relative;

    display: inline-block;

    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;

    cursor: pointer;
}
.slick-dots li button
{
    font-size: 0;
    line-height: 0;

    display: block;

    width: 20px;
    height: 20px;
    padding: 5px;

    cursor: pointer;

    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}
.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: 6px;
    line-height: 20px;

    position: absolute;
    top: 0;
    left: 0;

    width: 20px;
    height: 20px;

    content: '•';
    text-align: center;

    opacity: .25;
    color: black;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.slick-dots li.slick-active button:before
{
    opacity: .75;
    color: black;
}

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

.slider-nav {
	margin-top: 2em;
}

.slider-nav h3 {
	padding: 0 12px;
	margin: 0 auto;
	position: relative;
}

.slider-nav .slick-current {
    text-align: center!important;
    position: relative;
	border-bottom: 7px solid #ed1c24;
	width: fit-content;
	width: intrinsic;
 	width: -moz-max-content;
  	width: -webkit-max-content;
}

.slider button {
	background: none!important;
	border-radius:0!important;
}

#referenze .multiple-slide {
	padding: 0 3em;
}


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

.black {
background: #0f0f0f;
color: #ffffff!important;
}

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

.black a:visited {
	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;
}

.pale {
background: #dadddd;
}

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

.grey {
	background: #313745;
	color: #ffffff!important;
}

.mdl-testo-sfondo-colorato .grey {
	background: rgba(49,55,69,0.95);
}

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

.white {
	background: #ffffff;
	color: #0f0f0f!important;
}

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

.red {
	background: #ed1c24;
	color: #ffffff;
}

.mdl-testo-sfondo-colorato .red {
	background: rgba(130,23,27,0.95);
}

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

.green {
	background: #314545;
	color: #ffffff;
}

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

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

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

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

.menu-fornitura {
	margin-top: 1.5em;
	position: relative;
}

.menu-fornitura:before {
	content: '';
	width: 20px;
	border-bottom: 2px solid #ffffff;
	top: -10px;
	position: absolute;
}

.blogpost {
	margin-bottom: 3em;
}

.blogpost p,
.blogpost h3 {
	margin: 0 0 1em 0!important;
}

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

.nomargin {
	margin: 0!important;
}

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

.post .entry-content {
	padding: 2em; 
}

.jp-carousel-info {
    display: none;
}

.entry-meta,
.entry-meta a {
	overflow: hidden;
	font-weight: normal;
	color: #ed1c24;
	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: 30px;
}

.uppercase {
	text-transform: uppercase;
}

.mobile, .loopmobile {
	display: none;
}

.desktop {
	display: block;
}

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

h3.border-bottom,
h2.border-bottom {
	border-bottom: 3px solid #000000;
	width: fit-content;
	width: intrinsic;
 	width: -moz-max-content;
  	width: -webkit-max-content;
    padding: 0 10px 5px 10px;
    text-align: center;
    margin: 0 auto;
}

.label {
	left: 0;
    right: 0;
    z-index: 1;
    position: absolute;
    top: 0;
    font-size: 130px;
    color: transparent;
    -webkit-text-stroke: 1px #dadddd;
    mix-blend-mode: multiply;
    overflow: hidden;
}

.tax-tipologia .mdl-testo-video .label {
	display: none;
}

.so-widget-sow-google-map {
	margin-bottom: 3em;
}

.carousel-loghi .slick-slide img {
    display: block;
    width: 100px;
}

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

section {
	overflow: hidden;
}

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

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

.mdl-testo-video {
	position: relative;
}

.mdl-testo-video h4 {
    font-size: 1.5em;
    color: #ED1C24;
}

.mdl-testo,
.mdl-testo div.boxed,
.mdl-testo div.boxed2 {
	position: relative;
	padding: 2em 0;
}

.mdl-testo .boxed::after,
.mdl-testo-video .boxed::after {
	content: '';
    width: 150px;
    position: absolute;
    background-color: #DADDDD;
    height: 150px;
    top: -23px;
    display: block;
    left: -15%;
    z-index: -1;
}

.mdl-testo .boxed2::after {
	content: '';
    width: 150px;
    position: absolute;
    background-color: #DADDDD;
    height: 150px;
    top: -23px;
    display: block;
    left: -20%;
    z-index: -1;
}

.mdl-testo p {
	font-size: 18px;
	line-height: 1.3;
}

.mdl-slide .slide4::after {
	content: '';
    width: 100px;
    position: absolute;
    background-color: #DADDDD;
    height: 110%;
    top: -15px;
    display: block;
    left: -15%;
    z-index: -1;
}


.mdl-slide .slide3::after {
	content: '';
    width: 100px;
    position: absolute;
    background-color: #ed1c24;
    height: 100px;
    top: 0;
    display: block;
    left: -5%;
    z-index: -1;
}

.mdl-slide .w-60 {
	padding: 2em 2em 2em 9em;
}

.mdl-slide .w-60::after {
	content: url('/wp-content/themes/dg-theme/icon/quote.svg');
    width: 100px;
    position: absolute;
    height: 100px;
    top: 20px;
    display: block;
    left: 20px;
    opacity: 0.1;
}

.mdl-slide .w-60 h2{
	margin-bottom: 0;
}

.mdl-testo.mdl-testo-r .boxed::after,
.mdl-testo.mdl-testo-r .boxed2::after {
    background-color: #ed1c24;
}

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

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

.mdl-testo-sfondo-colorato ul {
    margin: 1em 0 1.5em 1em;
    padding: 0 0 0 1em;
    columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
}

.mdl-testo-sfondo-colorato a span {
	padding: 1em;
}

.mdl-testo-sfondo-colorato a:hover {
	text-decoration: none;
}

.mdl-testo-sfondo-colorato a:after {
	content: '+';
	font-weight: bold;
    font-size: 3em;
    background: #dadddd;
    padding: 0 11px;
    height: 50px;
    line-height: 1;
    display: -webkit-inline-box;
    transition:0.5s;
}

.mdl-testo-sfondo-colorato #grey a:after {
	color: #313745;
}

.mdl-testo-sfondo-colorato #red a:after {
	color: #82171b;
}

.mdl-testo-sfondo-colorato a:hover:after {
	text-decoration: none;
	  transform: scale(180deg);
}

.mdl-scacchiera .w-50 {
	width: 50%;
}

.mdl-testo p, 
.mdl-testo-video p,
.mdl-slide p,
.mdl-scacchiera p,
#tipologie p,
.prodotti p {
	text-align: justify;
}

.mdl-cta p {
	text-align: center;
}

.bg-color {
	width: 300px;
	height: 300px;
	background:url('/wp-content/themes/dg-theme/icon/bg-color.png');
	background-repeat-y: repeat;
	background-size: 120%;
	background-size: contain;
	position: absolute;
	z-index: -1;
}

#grey .bg-color {
	right: 10%;
    top: -5%;
}

#red .bg-color {
	left: 10%;
    top: -5%;
}

#settori a,
#tipologie a {
	color: #ffffff!important;
	height: 300px;	
	border-radius: 10px;
	position: relative;
}

#settori .text-settori-home a,
#settori .text-settori-home a:visited {
	color: #ed1c24!important;
	margin-bottom: 0;
}

#tipologie ul {
	list-style: none!important;
	padding: 0!important;
	margin:0!important;
}

#tipologie ul li {
	margin-bottom: 1em;
}

#settori a {
	margin-bottom: 2em;
}

#settori a h3,
#tipologie a h2 {
	color: #ffffff!important;
	margin: 0 auto;
	text-align: center;
	padding: 1em;
	z-index: 1;
}

#settori a:hover,
#tipologie a:hover,
#settori a:visited,
#tipologie a:visited {
	color: #ffffff!important;
	text-decoration: none;
}

#tipologie .w-50 {
	width: 48%;
}

#tipologie ul {
	margin:0;
	padding: 0;
	list-style: none;
}

#tipologie a .tipologie-child {
    position: absolute;
    top: 30px;
    padding: 1em;
    background: red;
    left: 280px;
    min-width: 160px;
}

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

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

.boxed,
.wp-block-gallery,
.wp-block-jetpack-tiled-gallery,
.page-template-page-contatti #gform_1 {
	max-width: 950px;
}

.boxed2 {
	max-width: 900px;
}

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

.site-branding p {
    font-size: 9.2px;
}

a.actionmenu,
a.actionmenu.red,
a.actionmenu.black {
    width: auto!important;
    padding: 10px!important;
    min-width: auto;
}

#masthead {
	margin-top: 124px;
}

.main-navigation li {
	padding: 0 10px;
}

}

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

.boxed,
.wp-block-gallery,
.wp-block-jetpack-tiled-gallery,
.page-template-page-contatti #gform_1 {
	max-width: 790px;
}

.boxed2 {
	max-width: 700px;
}

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

.site-branding p {
    font-size: 11px;
}

.main-navigation li {
    padding: 0 0.3em;
}

.desktop {
	display: none;
}

#masthead {
	margin-top: 90px;
}

.homerow {
	padding: 30px 0;
}

.homerow2 {
padding: 0 0 30px 0; 
}

.buttonmobile {
    width: 200px;
    float: right;
}

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

.loopmobile {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
}

}

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

h1 {
	font-size: 2em;
}

h3.border-bottom, h2.border-bottom {
	max-width: 300px;
}

#masthead {
	height: 50vh;
	margin-top: 100px;
}

.top-sidebar {
	padding:5px;
}

.topper {
	padding: 0;
}

.site-branding {
    width: 200px;
    margin: 0;
    padding: 10px;
}

.site-branding p {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: -0.1px;
    margin: 5px 0 0 0;
}

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

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

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

.home #masthead {
    margin-top: 135px!important;
}

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

.main-navigation {
	padding:0;
    position: absolute;
    top: 100px;
}

.navigation-bar {
	top: 0;
	position: absolute;
	width: 100%;
}

.main-navigation ul {
	background: #ed1c24;
}

.main-navigation li {
    float: none;
    background: #ed1c24;
    padding: 0;
}

button.menu-toggle {
	right: 0;
    position: absolute;
    display: flex;
    height: 100px;
    border-radius: 0px!important;
    background: #ed1c24;
    align-items: center;
    align-content: center;
    top: -64px;
    padding: 1em 3em;
}

button.menu-toggle:before {
	content: '☰';
	font-size: 25px;
	font-weight: normal;
}

.toggled button.menu-toggle:before {
	content: 'X';
	font-size: 25px;
}

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

.main-navigation a {
padding: 10px;
color: #ffffff!important;
}

.main-navigation .toggleon a {
	color: #ffffff!important;
}

.main-navigation li.toggleon li a {
	color: #000000!important;
}

li.toggleon a:after {
	content: 'x';
}

.main-navigation ul ul {
	width: 100%;
    z-index: 99999;
    top: 42px;
    right: 0;
}

.main-navigation li.no-mobile ul {
	display: none!important;
}

.main-navigation ul ul li{
	background: #ffffff;
	width: 100%;
}

.main-navigation ul ul li a {
	padding: 10px;
	color: #000000!important;
	text-align: center;
	width:100%;
}

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

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

li.no-mobile a:after {
	content: none;
}

.breadcrumbs{
	padding: 0.625em;
}

.site-content {
    padding: 0;
}

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

.flex,
.flex4 {
	display: block;
}

.flex2 {
	justify-content: space-around
}

.homerow, .homerow2 {
	padding: 1em 0;
}

.w-75,
.w-60,
.w-50,
.column1-2,
.column2-2,
.column1-3,
.column2-3,
.column3-4 {
	width: 100%;
	margin-bottom: 1em;
}

.w-40,
.w-30,
.w-25 {
	width: 46%;
}

#tipologie .w-50,
.mdl-scacchiera .w-50,
#footer-sidebar .w-30,
.form .w-25,
section#tipologie .w-30{
	width: 100%;
}

.mdl-blocchi-icona-testo .w-25,
.column1-4 {
	width: 46%;
	margin-bottom: 1em;
}

.rowloop .w-50 {
width: 46%;
}

#referenze .w-25,
.blogpost.w-30,
.mdl-slide .w-60,
.mdl-slide .w-40,
.mdl-testo .w-30 {
	width: 100%;
}

.mdl-slide .w-60:after {
	width: 50px;
	height:50px;
}

.mdl-slide .w-60 {
    padding: 1em 1em 1em 3em;
}

.mdl-testo img.alignright {
    float: none;
    width: 100px;
    margin: 0;
}

blockquote, q {
	padding: 0 1em;
}

.site-footer {
	padding: 0;
}

.site-footer aside {
    margin-bottom: 0;
}

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

.footer-sidebar {
	margin-right: 2em!important;
	width: auto;
}

.footer-sidebar img {
	max-width: 200px;
}

.site-info {
    margin-bottom: 39px;
    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: 99999;
}

.buttonmobile {
    width: 100%;
}

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

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

.fade {
	width: 100%;
}

.post .entry-content {
	padding: 1em;
}

.box, 
.box2,
.box3, 
.box4,
.box5 {
	padding: 1em!important;
}

a.action {
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	margin-bottom: 10px;
	font-size: 14px;
}

a.action::after,
a.action2::after,
a.action3::after {
    margin: 0 auto;
}

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

.accordion:after {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  font-size: 13px;
  color: #0f0f0f;
  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;
}

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

#tipologie a .tipologie-child {
    position: relative;
    top: -20px;
	width: fit-content;
	width: intrinsic;
 	width: -moz-max-content;
  	width: -webkit-max-content;
    left: 0;
    margin: 0 auto;
}

#tipologie ul li {
	margin-bottom: 0;
}

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

.mdl-blocchi-ripetibili .block {
    margin-left: 0;
    margin-right: 0;
}

.mdl-blocchi-ripetibili .label {
    right: 0;
}

.mdl-testo {
	padding: 0;
	margin-bottom: 1em;
}

.mdl-testo div.boxed, .mdl-testo div.boxed2 {
	padding: 0 1em;
}

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

.modal-content {
    width: 90%;
}

.box5 {
    padding: 2em;
    border-radius: 20px;
}

.mdl-cta .rowloop {
	display: inline-flex;
}

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

.mdl-testo::after {
	height: 50%;
	top: -10px;
	left: -4%;
}

.mdl-testo-sfondo-colorato ul {
    columns: 1;
    -webkit-columns: 1;
    -moz-columns: 1;
}

.mdl-testo-video h3 {
    margin-bottom: 10px;
}

.mdl-testo-video h2 {
    margin-bottom: 2em;
}

.mdl-scacchiera .box4 {
	padding: 1em!important;
}

#tipologie img {
    margin: 0 auto;
}

.slider-nav h3 {
	font-size: 16px;
}

.label {
	font-size: 80px;
}

.gform_wrapper form, .form .homerow {
    padding: 3em 2em 3em 2em;
}

.formdownload ul.gfield_checkbox li {
   width: 100%!important;
}

}

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

#tipologie a .tipologie-child {
	position: absolute;
	top:30px;
	left: 280px;
}

#tipologie img {
    margin: 0;
}

}

.wp-block-button__link {
    color: #fff;
    background-color: #ed1c24;
    border-radius: 9999px;
    box-shadow: none;
    cursor: pointer;
    display: inline-block;
    font-size: 1.125em;
    padding: calc(0.667em + 2px) calc(1.333em + 2px);
    text-align: center;
    text-decoration: none;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

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