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

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

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: #3c424f;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

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

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

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

h1 {
	font-size: 37px;
	margin: 0 0 20px 0;
	color: #3c424f;
	font-family: 'Muli bold';
}

h2 {
	font-size: 33px;
	margin: 0 0 20px 0;
	color: #3c424f;
	font-family: 'Muli bold';
}

h3 {
	font-size: 21px;
	margin: 0 0 20px 0;
	color: #ffbb0f;
	font-family: 'Muli regular';
}

h3.widget-title {
    font-size: 1em;
}

h4 {
	color: #3c424f;
	font-size: 19px;
	font-family: 'Muli bold';
}

h5 {
	color: #ffbb0f;
	font-size: 19px;
	font-family: 'Muli bold';
}

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

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

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

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

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

.top-site-child {
	width: 100%;
	height: auto;
}

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

#masthead {
	margin-top: 91px;
	background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}

.header-page {
    padding: 3em;
    height: auto;
    position: relative;
}

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

a.action,
.action a,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background: #ffbb0f;
	color: #3c424f;
	padding: 0.5em 1em;
	font-size: 15px;
	cursor:pointer;
	text-align: center;
	text-decoration: none!important;
	overflow:hidden;
	width: auto;
	border: 0;
	border-radius: 50px;
	font-family: 'Muli semibold';
	text-transform: uppercase;
}

a.action:hover,
.action a:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: #ff9100!important;
	color: #3c424f!important;
}

button.menu-toggle {
	background: #FFBB4D!important;
    padding: 0.5em;
    min-width: 100%!important;
    color: #000000!important;
    border-radius: 0;
}

a.action2,
.action2 a  {
	background: #ffffff;
	color: #3c424f!important;
	padding: 0.5em 1em;
	font-size: 15px;
	cursor:pointer;
	text-align: center;
	text-decoration: none!important;
	overflow:hidden;
	width: auto;
	border: 2px solid #ffffff;
	border-radius: 50px;
	font-family: 'Muli semibold';
	text-transform: uppercase;
}

a.action2:hover,
.action2 a:hover {
	background: #3c424f!important;
	color: #ffffff!important;
	border: 2px solid #3c424f;
}

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

.wp-block-button a {
	font-family: 'Muli semibold';
	font-size: 15px;
}

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

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

.tabella p {
	margin:0;
}

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

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

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

a:hover,
a:focus,
a:active {
	color: #000000;
	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%;
   	font-family: 'Muli bold';
}

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

.main-navigation a {
	display: block;
	text-decoration: none;
	height:100%;
	color: #48acf9;
	text-transform:uppercase;
	font-family: 'Roboto', sans-serif;
}

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

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

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

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

@media screen and (min-width: 801px) {
	.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;
}

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

.textright {
	text-align: right;
}

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

.textcenter {
	text-align: center;
}

.textcenter img {
	margin: 0 auto;
}

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

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

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

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

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

.boxed {
	max-width: 1024px;
	margin: 0 auto;
	width: 100%;
}

#main {
	overflow: hidden;
}

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

.block {
	border: 1px solid #f5f5f5;
	margin-bottom: 2em;
	padding-left: 6em;
	position: relative;
	color: #8e9dae;
}

.block p {
	margin: 0;
}

.block strong {
	color: #3c424f;
}

.text-block:before{
	content:url('/wp-content/themes/dg-theme/icon/right.png');
	position: absolute;
	top: 2em;
	left: 2em;
}

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

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

a.prev, a.next {
	background: #c6c6c6;
	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: #c6c6c6;
	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%; 
}

.postcard {
	overflow: hidden;
	position: relative;
	height: 360px;
	background-position: center!important;
	background-size: cover!important;
}

.postcard .sharedaddy {
	display: none;
}

.postcard .postcard-child {
    color: #ffffff;
    bottom: 0;
    position: absolute;
    margin: 0 auto;
    width: 90%;
}

a.postcard {
	display: block;
}

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

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

.widget_categories,
.widget_archive {
	margin: 0;
	width: 50%;
}

.widget_categories h3,
.widget_archive h3 {
	display: none;
}

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

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

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

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

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

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

.bypostauthor {
	display: block;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.gallery-caption {
	display: block;
}

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

.site-footer {
	font-size: 13px;
}

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

.site-footer aside {
	margin-bottom: 6em;
    margin-top: 3em;
}

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

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

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
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: 0.5em!important;
    width: auto;
    border: 1px solid #f5f5f5;
    width: 100%;
    background: #ffffff;
}

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

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

select {
    color: #1d1d1d;
    border: 1px solid #f5f5f5;
    -webkit-appearance: none;
    background-image: url('/wp-content/themes/dg-theme/icon/select-icon.png')!important;
	background-position-y: center;
    background-position-x: 95%;
    background-repeat: no-repeat!important;
    background-size: 20px;
	background-color: transparent;
	border-radius: 50px;
	padding: 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: #000000;
}

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

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

.gform_wrapper textarea {
    height: 100px!important;
    border: 0px;
    border-right: 1px solid #ffffff;
    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: 1em!important;
}

.gform_wrapper li {
    margin-top: 0!important;
    line-height: 1;
}

.gform_wrapper select {
	margin: 12px 0 12px 15px!important;
}

.gfield_checkbox input {
	margin-top: 0!important;
}

.gfield_checkbox label, 
label.gfield_consent_label {
    font-style: italic;
    font-size: 13px;
}

/*--------------------------------------------------------------
## Accordion CSS
--------------------------------------------------------------*/


/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  background-color: #000000;
  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;
}

.active, .accordion:hover {
  background-color: #ccc;
  color: #ffffff!important;
}

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

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

/*--------------------------------------------------------------
## 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;
overflow: hidden;
padding: 60px 0; 
}

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

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

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

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

.w-20 {
	width: 20%;
}

.w-25 {
	width: 24%;
}

.w-30 {
	width: 30%;
}

.w-40 {
	width: 40%;
}

.w-50 {
	width: 46%;
}

.w-60 {
	width: 60%;
}

.w-75 {
	width: 70%;
}

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

.slide {
    display: none; /* Hide the images by default */
    width: 100%;
}

.slideshow-container {
	position: relative;
}


.slideshow-container .navigation-arrow {
    overflow: hidden;
    display: block;
    position: absolute;
    bottom: 50%;
    width: 100%;
}

.slideshow-container .prev,
.slideshow-container .next {
    cursor: pointer;
    width: auto!important;
    padding: 0!important;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    background: none!important;
    color: #ffffff!important;
    margin: 0 10px!important;
}

.slideshow-container .prev {
  left: 0; /* Position the "next button" to the right */
}


.slideshow-container .next {
  right: 0; /* Position the "next button" to the right */
  position: absolute;
}

.slideshow-container .prev:hover,
.slideshow-container .next:hover {
  color: #ededed!important; /* On hover, add a black background color with a little bit see-through */
  background: none!important;
}

.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
  margin: 0 auto;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* The dots/bullets/indicators */

.dotsrow {
    text-align: center;
	margin-top: -4.1em;
    padding: 0 0 2em 0;
    overflow: hidden;
    clear: both;
   	position: relative;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: transparent;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  border: 2px solid #ffffff;
}

.active, .dot:hover {
  background-color: #717171;
}

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

.wp-block-media-text .wp-block-media-text__media {
    grid-area: media-text-media;
    margin: 0;
    padding-right: 1em;
    border-right: 10px solid #003d8e;
}

.wp-block-media-text {
    grid-template-columns: 60% 40%;
    font-size: 1.2em;
}

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

.black {
background: #1d1d1d;
color: #ffffff;
}

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

.pale {
background: #dde2e6;
}

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

.blu {
	background: #48acf9;
	color: #ffffff;
}

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

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

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

.green a.action {
	background: #ffffff;
	color: #000000;
}

.orange {
	background:#FFBB4D;
	color: #ffffff;
}

.orange a, .orange a:hover, .orange a:visited{
	color: #ffffff;
}

.grey {
	background: #878787;
}

.grey a, .grey a:hover, .grey a:visited{
	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;
}

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

.single-lp figure,
.wp-block-image {
	margin:0;
}

li#field_1_2 {
    margin-bottom: 10px;
}

.cta a{
	text-transform: uppercase;
	border-bottom: 4px solid #ff9100;
	font-weight: 700;
	font-family: 'Muli bold';
}

.small {
	font-size: 14px;
}

.nomargin {
	margin: 0!important;
}

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

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

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

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

.uppercase {
	text-transform: uppercase;
}

.mobile, .loopmobile {
	display: none;
}

.desktop {
	display: block;
}

.evidenza {
    margin: 2em 0;
}

.evidenza p{
	overflow: hidden;
    font-size: 1.5em;
    font-weight: normal;
    line-height: 1.2;
}

.evidenza h4 {
	font-size: 2em;
}

.evidenza .titleevidenza {
    margin: 0;
    padding-right: 15px;
    width:30%;
    color: #003d8e;
}

.evidenza .titleevidenza p {
	font-style: italic;
}

.evidenza .testoevidenza {
	padding-left: 15px;
	border-left: 10px solid #003d8e;
	width: 70%;
}

.evidenza .w-40 {
	width: 40%;
	padding: 0 1em 0 0;
}

.evidenza .w-60{
	width: 60%;
	padding: 0 0 0 1em;
}

.evidenza h2,.evidenza h3 {
	color: #003d8e;
}

.borderright {
	border-right: 10px solid #003d8e;
}

.borderleft {
	border-left: 10px solid #003d8e;
}

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


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

section {
	overflow: hidden;
}

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

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

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

.mdl_blocchi_icona_testo ul li {
	padding: 1em;
}

.mdl_blocchi_icona_testo ul li:last-child {
	border-right: 0;
}

.mdl_blocchi_icona_testo img {
	margin-bottom: 1em;
}

.mdl-testo-testo-bianco {
	background-position:center!important;
	background-size:cover!important;
}

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

.mdl-testo-testo-bianco ul li {
	display: flex;
	margin-bottom: 1em;
	font-size: 15px;
	color: #8e9dae;
}

.mdl-testo-testo-bianco ul li:before {
	content:url('/wp-content/themes/dg-theme/icon/check.png');
	margin-right: 1em;
	height: 32px;
	width: 32px;
}

.baloon, .baloon2 {
	font-family: 'Pangolin', cursive;
	font-size: 21px;
	color: #3c424f;
	padding: 1em 3em;
	position: relative;
}

.baloon {
    padding-top: 0.5em;
    background: url(/wp-content/themes/dg-theme/icon/baloon.svg);
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    padding-bottom: 3em;
}

.baloon2 {
    padding-top: 3em;
    background: url(/wp-content/themes/dg-theme/icon/baloon2.svg);
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    padding-bottom: 0.5em;
}


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

@font-face {
font-family: 'Muli regular';
src: url("/wp-content/themes/dg-theme/fonts/muli/muli-regular.eot");
src:
url("/wp-content/themes/dg-theme/fonts/muli/muli-regular.woff") format("woff"),
url("/wp-content/themes/dg-theme/fonts/muli/muli-regular.otf") format("opentype");
}

@font-face {
font-family: 'Muli bold';
src: url("/wp-content/themes/dg-theme/fonts/muli/muli-bold.eot");
src:
url("/wp-content/themes/dg-theme/fonts/muli/muli-bold.woff") format("woff"),
url("/wp-content/themes/dg-theme/fonts/muli/muli-bold.otf") format("opentype");
}

@font-face {
font-family: 'Muli semibold';
src: url("/wp-content/themes/dg-theme/fonts/muli/muli-semibold.eot");
src:
url("/wp-content/themes/dg-theme/fonts/muli/muli-semibold.woff") format("woff"),
url("/wp-content/themes/dg-theme/fonts/muli/muli-semibold.otf") format("opentype");
}

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

@media screen and (min-width: 801px) and (max-width: 1260px) {
.boxed {
	max-width: 750px;
	margin: 0 auto;
	width: 100%;
}

.baloon, .baloon2 {
	background: none;
	background-color: #ffffff;
	border:1px solid #f5f5f5;
	border-radius: 150px;
	padding: 2em;
}

}

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

section {
	padding: 1em;
}

.topper {
	padding: 0;
}

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

.cta {
	display: none;
}

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

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

#masthead {
    margin-top: 60px;
}

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

.navigation-bar {
	top: 0;
}

.main-navigation li {
    float: none;
    border-bottom: 1px solid #ededed;
    background: #df193c;
    padding: 0;
}

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

.main-navigation ul ul {
	width: 100%;
    z-index: 99999;
    top: 43px;
}
.main-navigation ul ul li{
	background: #ffffff;
}

.main-navigation ul ul li a {
	padding: 10px;
	color: #000000;
}

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

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

.site-content {
    padding: 0;
}

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

.flex {
	display: block;
}

.flex2 {
	justify-content: space-around
}

.homerow {
	padding: 1em 0;
}

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

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

.w-20 {
	width: 50%;
}

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

.widget_categories,
.widget_archive {
	width: 100%;
}

.site-info {
    margin-bottom: 46px;
    font-size: 12px;
    text-align: center;
}

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

.block {
	padding-left:5em!important;
}

.text-block:before {
	top:1em;
	left: 1em;
}

a.action,
a.action2 {
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	margin-bottom: 10px;
	display: block;
}

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

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

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

.underline {
	background: none!important;
}

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

.mdl_blocchi_icona_testo ul li {
	padding: 0.5em;
}

.wp-block-buttons {
    margin: 1em;
}

.baloon, .baloon2 {
	background: none;
	background-color: #ffffff;
	border:1px solid #f5f5f5;
	border-radius: 100px;
	padding: 2em;
}

}