/*
Theme Name: WP Bootstrap WX
Theme URI: https://afterimagedesigns.com/wp-bootstrap-starter/
Author: Afterimage Designs
Author URI: https://afterimagedesigns.com/
Description:  The best WordPress starter theme based on the most powerful frameworks in the world: "_s" (by Automattic, the main people behind WordPress development), Twitter Bootstrap (the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web) and Font Awesome (or Fontawesome, a full suite of 675+ pictographic icons for easy scalable vector graphics on websites). This theme, like WordPress, is licensed under the GPL. You can use this theme as base for your next WordPress theme project and you are allowed to remove the link at the footer or do whatever you want. Your feedback on how we can continuously improve this WordPress Starter Theme Bootstrap will be highly appreciated. Page templates includes Right-sidebar (default page template), Left-Sidebar, Full-Width, Blank with container, Blank without container Page. Other features - Currently using Bootstrap v4.0.0 , Widgetized footer area, WooCommerce ready, Compatible with Contact Form 7, Compatible with Visual Composer, Compatible with Elementor Page Builder. This theme will be an active project which we will update from time to time. Check this page regularly for the updates.
Version: 3.1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wp-bootstrap-starter
Tags: blog, custom-menu, featured-images, threaded-comments, translation-ready, right-sidebar, custom-background, e-commerce, theme-options, sticky-post, full-width-template
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# Woocommerce
# Footer
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

/*

blu dima: #002E70;
azzurro dima:   color:#1e90ff;;
rosso dima: ;#d41317;

*/
@import url('https://fonts.googleapis.com/css?family=Bitter|Encode+Sans+Condensed:200,400,600,800');

html {
   position: relative;
  min-height: 100%;
}

body {
  margin: 0;
  -webkit-font-smoothing: auto;
  margin-bottom: 60px; /* Margin bottom by footer height */
}

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 {
  display: none;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

dfn {
  font-style: italic;
}

mark {
  background: #ff0;
  color: #000;
}

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;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 2.5rem;
}

hr {
  box-sizing: content-box;
  height: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  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-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;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  clear: both;
  color: #24292e;
  font-weight: 600;
  font-family: 'Encode Sans Condensed', sans-serif;
  /*font-weight: bold;*/
  font-size: 54px;
  color:#d41317;
}
h1 {
  font-size: 32px;
  padding-bottom: 10px;
}
h2 {
  font-size: 24px;
  padding-bottom: 0.3em;
  line-height: 1.25;
}
h3 {
  font-size: 18px;
  line-height: 25px;
}
h4 {
  font-size: 16px;
  line-height: 20px;
}
h5 {
  font-size: 14px;
  line-height: 17.5px;
}

p {
  margin-bottom: 1.5em;
}
h1.entry-title {
  font-size: 1.31rem;
  border-bottom: 1px solid #eaecef;
}
h2.entry-title {
  border-bottom: 1px solid #eaecef;
}
h3.widget-title {
  font-size: 1.2rem;
}
p.brand {
  margin:0;
}

p.header-description {
    font-size: 1.2em;
    text-align:left;
    line-height: 1em;
    /*display:none;*/
    color: #d41317;
    font-weight: 600;
    font-family: 'Encode Sans Condensed', sans-serif;
    font-weight: bold;
    font-style: italic;

}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
body {

  background-color:#d4d6d7; /*rgb(212, 214, 215); /* #ffffec; */
  /*background-image:url('watermark_background.png');
  background-size: cover;
  background-size: 100%; */
  font-family: 'bitter', serif;
  /* Fallback for when there is no custom background color defined. */
}

img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */
}

figure {
  margin: 1em 0;
  /* Extra wide images within figure tags don't overflow the content area. */
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
header#masthead {
  margin-bottom: 0;

  /*background-color: #563d7c ;*/
 /* box-shadow: 0 0.5rem 1rem rgba(0,0,0,.05), inset 0 -1px 0 rgba(0,0,0,.1); */
/*  padding: .74rem 1rem; */
}

.navbar-brand a img {
  /*height:200px;*/
}

.navbar-brand > a {
  font-size: 1.1rem;
  outline: medium none;
  text-decoration: none;
  color: #002E70;
  font-weight: 700;
}

.navbar-brand > a:visited, .navbar-brand > a:hover {
  text-decoration: none;
}

#page-sub-header {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 0;
  text-align: left;
  font-size: 1.25rem;
  background-size: cover !important;
  height: 100%;
  /*opacity: 0.5;
    filter: alpha(opacity=50);*/ /* For IE8 and earlier */
}

#page-sub-header div.container-fluid{
  height:650px !important;
}

body:not(.theme-preset-active) #page-sub-header h1 {
  line-height: 1.6;
  font-size: 4rem;
  color: #563e7c;
  margin: 0 0 1rem;
  border: 0;
  padding: 0;
}

#page-sub-header p {
  margin-bottom: 0;
  line-height: 1.4;
  font-size: 1.25rem;
  font-weight: 300;
}
body:not(.theme-preset-active) #page-sub-header p {
color: #212529;
}
a.page-scroller {
  color: #333;
  font-size: 2.6rem;
  display: inline-block;
  margin-top: 2rem;
}

@media screen and (min-width: 768px) {
  body:not(.theme-preset-active) #page-sub-header h1 {
    font-size: 3.750rem;
  }
  body:not(.theme-preset-active) #page-sub-header {
    font-size: 1.25rem;
  }
}
@media screen and (min-width: 992px) {
  #page-sub-header p {
    max-width: 43rem;
    margin: 0 auto;
  }
}
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
#masthead nav {
  padding-left: 0;
  padding-right: 0;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
  text-transform: uppercase;
  color: #002E70;
  padding: 0.5rem;
  font-weight: 600;
  font-size: 1.2em;/*0.875rem;*/
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover,
body:not(.theme-preset-active) #masthead .navbar-nav > li.current_page_item > a {

  /*color: #fff;*/
 /* font-weight: 600;*/
  /*background: #f9f9f9;*/

}

.navbar-brand {
  height: auto;
}

.navbar-toggle .icon-bar {
  background: #000 none repeat scroll 0 0;
}

.dropdown-menu .dropdown-toggle::after {
  border-bottom: 0.3em solid transparent;
  border-left: 0.3em solid;
  border-top: 0.3em solid transparent;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

.dropdown-item {
  line-height: 1.2;
  padding-bottom: 0.313rem;
  padding-top: 0.313rem;
}

.dropdown-menu {
  min-width: 12.500rem;
}

.dropdown .open .dropdown-menu {
  display: block;
  left: 12.250em;
  top: 0;
}

.dropdown-menu .dropdown-item {
  white-space: normal;
  background: transparent;
  line-height: 1.6;
}
.dropdown-menu .dropdown-item:hover {
  background: transparent;
}

@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none;
  }
}
@media screen and (min-width: 769px) {
  .dropdown-menu li > .dropdown-menu {
    right: -9.875rem;
    top: 1.375rem;
  }

}
@media screen and (max-width: 991px) {
  .navbar-nav .dropdown-menu {
    border: medium none;
    margin-left: 1.250rem;
    padding: 0;
  }

  .dropdown-menu li a {
    padding: 0;
  }

  #masthead .navbar-nav > li > a {
    padding-bottom: 0.625rem;
    padding-top: 0.313rem;
  }

  .navbar-light .navbar-toggler {
    border: medium none;
    outline: none;
    
  }

}
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
  overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  float: left;
  width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  float: right;
  text-align: right;
  width: 50%;
}
.comment-content.card-block {
  padding: 20px;
}

.navigation.post-navigation {
  padding-top: 1.875rem;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
  border: 1px solid #ddd;
  border-radius: 0.938rem;
  display: inline-block;
  padding: 0.313rem 0.875rem;
  text-decoration: none;
}

.post-navigation .nav-next a::after {
  content: " \2192";
}

.post-navigation .nav-previous a::before {
  content: "\2190 ";
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
  background: #eee none repeat scroll 0 0;
}

#menu-menu-principale {
  text-align:right;
}
/*--------------------------------------------------------------
# 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;
  word-wrap: normal !important;
  /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  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: 0.313rem;
  line-height: normal;
  padding: 0.938rem 1.438rem 0.875rem;
  text-decoration: none;
  top: 0.313rem;
  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;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

a img.alignright {
  float: right;
  margin: 0.313rem 0 1.25rem 1.25rem;
}

a img.alignnone {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

a img.alignleft {
  float: left;
  margin: 0.313rem 1.25rem 1.25rem 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption.alignnone {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

.wp-caption.alignleft {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

.wp-caption.alignright {
  margin: 0.313rem 0 1.25rem 1.25rem;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: "";
  display: table;
  table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
  margin: 0 0 1.5em;
  font-size: 0.875rem;
  /* Make sure select elements fit in widgets. */
}
.widget select {
  max-width: 100%;
}

.widget_search .search-form input[type="submit"] {
  display: none;
}

.nav > li > a:focus,
.nav > li > a:hover {
  background-color: #eee;
  text-decoration: none;
}
.half-rule {
  width: 6rem;
  margin: 2.5rem 0;
}
.widget_categories .nav-link {
  display: inline-block;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
#content.site-content {
  padding-bottom: 1rem;
  padding-top: 1rem;
}

.sticky .entry-title::before {
  content: '\f08d';
  font-family: "Font Awesome\ 5 Free";
  font-size: 1.563rem;
  left: -2.5rem;
  position: absolute;
  top: 0.375rem;
  font-weight: 900;
}

.sticky .entry-title {
  position: relative;
}

.single .byline,
.group-blog .byline {
  display: inline;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

.page-template-blank-page .entry-content,
.blank-page-with-container .entry-content {
  margin-top: 0;
}

.post.hentry {
  margin-bottom: 4rem;
}

.posted-on, .byline, .comments-link {
  color: #9a9a9a;
}

.entry-title > a {
  color: inherit;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

.comment-body .pull-left {
  padding-right: 0.625rem;
}

.comment-list .comment {
  display: block;
}

.comment-list {
  padding-left: 0;
}

.comments-title {
  font-size: 1.125rem;
}

.comment-list .pingback {
  border-top: 1px solid rgba(0, 0, 0, 0.125);
  padding: 0.563rem 0;
}

.comment-list .pingback:first-child {
  border: medium none;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.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 {
  background: #f1f1f1 none repeat scroll 0 0;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 0.313rem 0.313rem 0;
  text-align: center;
}
.wp-caption img[class*="wp-image-"] {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 100%;
  padding: 0;
  width: auto;
}
.wp-caption .wp-caption-text {
  font-size: 0.688rem;
  line-height: 1.063rem;
  margin: 0;
  padding: 0.625rem;
}

.wp-caption-text {
  text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
  margin-bottom: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
}
.gallery-item .gallery-columns-2 {
  max-width: 50%;
}
.gallery-item .gallery-columns-3 {
  max-width: 33.33333%;
}
.gallery-item .gallery-columns-4 {
  max-width: 25%;
}
.gallery-item .gallery-columns-5 {
  max-width: 20%;
}
.gallery-item .gallery-columns-6 {
  max-width: 16.66667%;
}
.gallery-item .gallery-columns-7 {
  max-width: 14.28571%;
}
.gallery-item .gallery-columns-8 {
  max-width: 12.5%;
}
.gallery-item .gallery-columns-9 {
  max-width: 11.11111%;
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugin Compatibility
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Woocommerce
--------------------------------------------------------------*/
.woocommerce-cart-form .shop_table .coupon .input-text {
  width: 8.313rem !important;
}

.variations_form .variations .value > select {
  margin-bottom: 0.625rem;
}

.woocommerce-MyAccount-content .col-1,
.woocommerce-MyAccount-content .col-2 {
  max-width: 100%;
}

/*--------------------------------------------------------------
## Elementor
--------------------------------------------------------------*/
.elementor-page article .entry-footer {
  display: none;
}

.elementor-page.page-template-fullwidth #content.site-content {
  padding-bottom: 0;
  padding-top: 0;
}

.elementor-page .entry-content {
  margin-top: 0;
}

article#post-21 .entry-header {
  display:none;
}

article#post-21 .entry-content h3{
    font-size: 28px;
    text-align:center;
    line-height: 1em;
}

/*--------------------------------------------------------------
## Visual Composer
--------------------------------------------------------------*/
.vc_desktop article .entry-footer {
  display: none;
}

.vc_desktop #content.site-content {
  padding-bottom: 0;
  padding-top: 0;
}

.vc_desktop .entry-content {
  margin-top: 0;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer#colophon {
  font-size: 85%;
  position: absolute;
  bottom: -5%;
  width: 100%;
  /*height: 80px;*/ /* Set the fixed height of the footer here */
  /*line-height: 60px; */ /* Vertically center the text there */
  background-color: rgba(192, 195, 197, 1); /*#1e90ff; */
}

body:not(.theme-preset-active) footer#colophon {
  color: #002E70;
  /*background-color: #1e90ff;*/
}

#footer-widget.bg-light {
 background-color:  #002E70 !important; 
 color: #fff;
}

.navbar-dark .site-info {
  color: #fff;
}
.copyright {
  font-size: 0.875rem;
  margin-bottom: 0;
  text-align: center;
}

.copyright a, footer#colophon a {
  color: inherit;
}

@media screen and (max-width: 767px) {
  #masthead .navbar-nav > li > a {
    padding-bottom: 0.938em;
    padding-top: 0.938em;
  }
}

/*--------------------------------------------------------------
# DDM Custom
--------------------------------------------------------------*/
h1.entry-title {
  font-weight: 600;
  font-size: 3em;
  padding-bottom:0;
}
h1.entry-title img {
  margin-right: 1em;
}

p.slogan {
  text-align:center;
  font-family: 'Encode Sans Condensed', sans-serif;
  font-size:3em;
}

div.card {
	padding: 1em;
	-webkit-box-shadow: 10px -8px 13px 0px rgba(148,139,148,1);
	-moz-box-shadow: 10px -8px 13px 0px rgba(148,139,148,1);
	box-shadow: 10px -8px 13px 0px rgba(148,139,148,1);
  text-align: center;
}

div.card img.card-img-top {
	width:100%;
	display:block;
}

div.card h3 a {
  font-size: 1.2em;
  color: #002E70;
  font-weight: 800;
}

#masthead {
  height:222px;
}

#masthead > div.top-menu {
  height:102px;
  background-color:#d4d6d7;
  display:flex;
  justify-content: center;
  align-items:center;
}

#masthead > div.top-logo {
  height:108px;
  display:flex;
  align-items: center;
  }

#masthead > div.top-logo > div.container > div.navbar  {
  position:absolute;
}

#masthead  div.top-logo  div.container  nav.navbar  div.navbar-brand {
  /*position:relative;
  top:-28px;
  left:0px;*/
}

#masthead  div.top-logo  div.container  nav.navbar  p.header-description {
  font-size:1.8em !important;
  margin-bottom:0;
  }

#page-sub-header {
  padding:1em 0 !important;
}

#page-sub-header .images-box {
  position:relative;
  
}

#page-sub-header .images .images-box p  {
    position:absolute;
    text-align:left;
}

#page-sub-header .images-box .first  {
  z-index:500;
  top:0%;
  left:0%;
}

#page-sub-header .images-box .second  {
  z-index: 300;
  margin-top:10%;
  left:20%;
}

#page-sub-header p img {
  -webkit-box-shadow: 10px 10px 73px 0px rgba(0,0,0,0.75);
  -moz-box-shadow: 10px 10px 73px 0px rgba(0,0,0,0.75);
  box-shadow: 10px 10px 73px 0px rgba(0,0,0,0.75)
}

#page-sub-header a {
  text-decoration: none;
}

ul#menu-menu-principale {
  width:100%;

}

ul#menu-menu-principale li {
  text-align:center;
  width:25%;

}

ul#menu-menu-principale li a {
  color: #45484e !important;
  font-size:1em !important;
}

ul#menu-menu-principale li.active a {
  background-color: #1d5377;
  color:#fff !important;
}

ul#menu-menu-principale li a {
  vertical-align: middle;
-webkit-transform: perspective(1px) translateZ(0);
transform: perspective(1px) translateZ(0);
box-shadow: 0 0 1px rgba(0, 0, 0, 0);
position: relative;

-webkit-transition-property: color;
transition-property: color;
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
}

ul#menu-menu-principale li a:before {
content: "";
position: absolute;
z-index: -1;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: #2098D1;
-webkit-transform: scaleY(0);
transform: scaleY(0);
-webkit-transform-origin: 50%;
transform-origin: 50%;
-webkit-transition-property: transform;
transition-property: transform;
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
-webkit-transition-timing-function: ease-out;
transition-timing-function: ease-out;
  }
ul#menu-menu-principale li a:hover:before {
  transform: scaleY(1);
}
div#home-bottom {
  margin: 2em 0;
  height:340px;
  background-color:#06517b;
}

div#home-bottom {
  
}

div#home-bottom ul li {
    width:100%;
    padding: 5px 10px 5px 40px;
    margin:0 0 20px 0;
    margin-left: -20px;
    -moz-box-shadow: -2px 2px 0 rgba(0,0,0,0.1);
    -webkit-box-shadow: -2px 2px 0 rgba(0,0,0,0.1);
    -o-box-shadow: -2px 2px 0 rgba(0,0,0,0.1);
    box-shadow: -2px 2px 0 rgba(0,0,0,0.1);
    background:orange;
    position:relative;
}

div#home-bottom ul li:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  border-bottom: solid 15px transparent;
  border-right: solid 20px #000;
    /*
    content: "";
      height: 0;
      width: 0;
      display: block;
      position: absolute;
      top: 3px;
      right: 0;
    
      // Drop Shadow
      border-top: 29px solid rgba(0, 0, 0, .3);
      border-bottom: 29px solid rgba(0, 0, 0, .3);
      border-left: 29px solid rgba(0, 0, 0, .3);
      border-right: 29px solid transparent;
      */

}

#menu-menu-servizi li {
	border-bottom: 3px solid #d41317;
}

#menu-menu-servizi li a {
	min-height:70px;
	line-height: 70px;
	padding: 0 0 0 130px;
	color: #002E70;
	font-weight: 600; 
  text-decoration: none;
	font-family: 'Encode Sans Condensed', sans-serif;
}

#menu-menu-servizi li a {
	background-color: transparent;
	background-repeat:no-repeat;
	background-position: left center;
}

#menu-menu-servizi li#menu-item-100 a {
	background-image: url('/wp-content/uploads/2018/11/comunicazione_unica_impresa_menu.png');
} 

#menu-menu-servizi li#menu-item-114 a {
	background-image: url('/wp-content/uploads/2018/11/suap_menu.png');
} 

#menu-menu-servizi li#menu-item-103 a {
	background-image: url('/wp-content/uploads/2018/11/xblr_menu.png');
} 

#menu-menu-servizi li#menu-item-109 a {
	background-image: url('/wp-content/uploads/2018/11/fattura_pa_menu.png');
} 

#menu-menu-servizi li#menu-item-108 a {
	background-image: url('/wp-content/uploads/2018/11/conservazione_fatture_gse_menu.png');
} 

#menu-menu-servizi li#menu-item-107 a {
	background-image: url('/wp-content/uploads/2018/11/unadoc_menu.png');
} 

#menu-menu-servizi li#menu-item-110 a {
	background-image: url('/wp-content/uploads/2018/11/firma_digitale_menu.png');
} 

#menu-menu-servizi li#menu-item-112 a {
	background-image: url('/wp-content/uploads/2018/11/legal_mail_posta_certificata_menu.png');
} 

#menu-menu-servizi li#menu-item-115 a {
	background-image: url('/wp-content/uploads/2018/11/contratto_locazione_menu.png');
} 

#menu-menu-servizi li#menu-item-117 a {
	background-image: url('/wp-content/uploads/2018/11/servizio_estero_menu.png');
} 

#menu-menu-servizi li#menu-item-111 a {
	background-image: url('/wp-content/uploads/2018/11/telemaco_menu.png');
} 

#menu-menu-servizi li#menu-item-118 a {
	background-image: url('/wp-content/uploads/2018/11/legal_entity_identifier_italy_menu.png');
} 

#menu-menu-servizi li#menu-item-104 a {
	background-image: url('/wp-content/uploads/2018/11/camera_commercio_menu.png');
} 

#menu-menu-servizi li#menu-item-105 a {
	background-image: url('/wp-content/uploads/2018/11/catasto_menu.png');
} 

#menu-menu-servizi li#menu-item-106 a {
	background-image: url('/wp-content/uploads/2018/11/agenzia_territorio_menu.png');
} 

#menu-menu-servizi li#menu-item-101 a {
	background-image: url('/wp-content/uploads/2018/11/pubblici_uffici_menu.png');
} 

#menu-menu-servizi li#menu-item-113 a {
	background-image: url('/wp-content/uploads/2018/11/pratiche_fuori_piazza_menu.png');
} 

#menu-menu-servizi li#menu-item-116 a {
	background-image: url('/wp-content/uploads/2018/11/secure_drive_menu.png');
} 

#menu-menu-servizi li#menu-item-102 a {
	background-image: url('/wp-content/uploads/2018/11/altri_servizi_menu.png');
} 

/* GDPR 100x36 */
#menu-menu-servizi li#menu-item-545 a {
	background-image: url('/wp-content/uploads/2019/04/gdpr_crop-1-e1554646401794.png');
} 

/* SPID */
#menu-menu-servizi li#menu-item-547 a {
	background-image: url('/wp-content/uploads/2019/04/spid_crop-1-e1554646537140.png');
} 

/* Successioni online */ 
#menu-menu-servizi li#menu-item-546 a {
	background-image: url('/wp-content/uploads/2019/04/successioni_online_crop-1-e1554646614466.png');
} 

#page-sub-header div.servizi-in-evidenza p {
  font-size: 2em;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 2.5em;
  font-family: 'Encode Sans Condensed', sans-serif;

}

#page-sub-header div.servizi-in-evidenza p a {
  color: #fff;
  text-decoration: none;
  }

  .site-info a.credits {
    margin-right: 100px;
  }

div#home-bottom ul.servizi li a {
  color:#fff;
  font-size: 800;
}

div#home-bottom ul.servizi li.s1 {
 background-image: linear-gradient(to right, #ec6b23 , #f9c016); 
}

div#home-bottom ul.servizi li.s2 {
 background-image: linear-gradient(to right, #de1f26 , #df1c76); 
}

div#home-bottom ul.servizi li.s3 {
 background-image: linear-gradient(to right, #9ccb3b , #71b543); 
}

.bg-light {
  background:transparent !important;
}

@keyframes bgcolor {
  0% {
    background-color: #065178;
  }

  35% {
    background-color: #3190CE;
  }

  70% {
    background-color: #EC6C22;
  }

  100% {
    background-color: #DE1F26;
  }
}

div#page-sub-header {
  -webkit-animation: bgcolor 30s infinite;
  animation: bgcolor 30s infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
}

div#page-sub-header div.col-xl-5 {
  text-align: left;
}

div#page-sub-header h1 {
  color:#d4d6d7;
  text-align: left;
  font-weight: 800;
  line-height: 1em !important;

}

div#page-sub-header h1 a {
  color: #d4d6d7;
  text-shadow: 1px 1px 20px rgba(70, 70, 70, .7);
}

div#page-sub-header p.btn {
  margin-top: 0;
}

div#page-sub-header p.btn a {
  font-weight: 600;
  font-size: 1.2em;
}

div#page-sub-header p {
  color:#d4d6d7 !important;
  text-align:left;
  font-size:.7em;
  margin:2em 0; 
}

div.row.box div p a {
  margin-top: 10px;
}

aside div.menu-menu-servizi-container > select {
    display:none;
  }

/*--------------------------------------------------------------
# Media Query
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Notebook
--------------------------------------------------------------*/
@media only screen and (max-width: 1280px) {
  html {
    font-size: 95%;
  }
}

@media screen and (max-width: 1199px) {
  .navbar-dark .dropdown-item {
    color: #fff;
  }
  #page-sub-header div.container-fluid{
    height:25em !important;
  }
  .navbar-nav .dropdown-menu {
    background: transparent;
    box-shadow: none;
    border: none;
  }

  .navbar-toggler {
    font-size: 1.85em;
    
  }
  .navbar-light .navbar-toggler {
    border-color: rgba(0, 47, 112, 1);

  }
  .navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 46, 112, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }
  #masthead {
    height: 150px;
  }

    #masthead > div.top-menu {
        height: 20px !important;
    }

    #main-nav {
        position: absolute;
        z-index:9999 !important;
        right:0;
        top:135px;
        background: #d4d6d7;
    }
   
   #main-nav ul#menu-menu-principale li {
    text-align: right;
    width: 100%;
    }
}
/*--------------------------------------------------------------
## Netbook
--------------------------------------------------------------*/
@media only screen and (max-width: 1024px) {
  html {
    font-size: 90%;
  }
    #page-sub-header div.container-fluid{
        height:25em !important;
    }

    div#masthead > div.top-menu {
        height: 20px;
    }
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 960px) {
  html {
    font-size: 85%;
  }

      img.wp-post-image {
        display:none;
    }
  
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 768px) {
  html {
    font-size: 80%;
  }
  p.header-description {
    /*font-size:1.1em;*/
    display:none;
    width:100%;
    font-size: 18em;
  }
  .navbar-brand {
    width:70%;
  }

  .navbar-brand a img{
    /*width:50%;*/
  }

  aside div.menu-menu-servizi-container > ul {
    display:none;
  }


  aside div.menu-menu-servizi-container > select {
    display:inline-block;
  }

    #page-sub-header div.container-fluid{
        height:35em !important;
    }


}

/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 480px) {
  html {
    font-size: 75%;
  }
    p.header-description {
    font-size:.95em;
  }

  #page-sub-header div.container-fluid{
  height:10em !important;
  }
}

/*--------------------------------------------------------------
## big Screens
--------------------------------------------------------------*/
@media only screen and (min-width: 1200px) {
  div#home-bottom ul li {
    width:50%;
  }
}
