/*
Theme Name: Del Conte Group V. 4.0
Theme URI:
Author: Claudio Nasuelli
Author URI:
Description: Starter Theme with Font Awesome and Bootstrap 4
Version: 0.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, sticky-post, translation-ready
Text Domain: nx

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.
*/

@font-face {
    font-family: 'Calibri';
    src: url('fonts/calibri-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Calibri';
    src: url('fonts/calibri-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Calibri', sans-serif;
}

h1,h2,h3,h4,h5,h6 {
    font-weight: 700;
}

.admin-bar .fixed-top{top:30px}

body{
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  padding-top: 115px;
  color:#00006a;
  font-family: 'Calibri', Arial, sans-serif;
}
body.home{padding-top: 0px;}

body.page{background: #f0f4f8;}

.main-content{
  flex:1;
}

h1,h2,h3,h4,h5,h6{padding-top: 20px; color: #00006a;}

.seo-title{position: absolute!important; top:-1000px!important;}

/* CODICE DETTAGLIO BOX */
.dettagli-testo{
display:none;
margin-top:15px;
padding:15px;
background:#f7f9fc;
border:1px solid #ddd;
border-radius:6px;
}

.box-chi-siamo{max-width: 1200px!important; margin: 0 auto!important;}

.servizio-box.active .dettagli-testo{
display:block;
}

/* Banner Compilianz Accessibility*/

.cmplz-information {
  display: none!important;
}

.cmplz-links ul{
  list-style-type: none!important;
}

/* Salta il Contenuto*/

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
  text-decoration: none;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* per oscurare ai lettori recaptcha dentro il form */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


a{color:#00006a;}
a:hover{color: #0000c8;}

.privacy {
	max-width: 800px!important;
	margin: 0 auto!important;

	}

.animate{
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.treedom {
  width: auto!important;
  max-width: 900px!important;
  margin: 0 auto!important;
}

.mappa{margin-top: -40px!important;}

.footer-testi a{color:#fff;}
.footer-testi a:hover{color:#fff;}

.btn-primary {background-color: #31BE80; border-color:#31BE80}



/* Menu
---------------------------------------------- */
.home.navbar-transparent .bg-light { background: linear-gradient(
  87deg
  , rgb(0, 0, 106) 0%, rgb(0, 0, 0) 100%) !important;}

.home.navbar-transparent.is-scrolled .bg-light {

      background: linear-gradient(
  87deg
  , rgb(0, 0, 106) 0%, rgb(0, 0, 0) 100%) !important;
      transition: opacity 0.4s ease-in-out;

  }

.navbar-transparent.is-scrolled .navbar-brand img{/*width:68px;*/}


.bg-light{background: linear-gradient(87deg, rgb(0, 0, 106) 0%, rgb(0, 0, 0) 100%) !important;
  filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#00006a",endColorstr="#000000",GradientType=1);
}
.page .bg-light{background: linear-gradient(87deg, rgb(0, 0, 106) 0%, rgb(0, 0, 0) 100%) !important;
  filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#00006a",endColorstr="#000000",GradientType=1);
}
.single .bg-light{background: linear-gradient(87deg, rgb(0, 0, 106) 0%, rgb(0, 0, 0) 100%) !important;
  filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#00006a",endColorstr="#000000",GradientType=1);
}
.error404 .bg-light{background: linear-gradient(87deg, rgb(0, 0, 106) 0%, rgb(0, 0, 0) 100%) !important;
  filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#00006a",endColorstr="#000000",GradientType=1);
}



/*.navbar-brand img{height: 88px;}*/

.navbar-brand img{height: auto!important;}

img {height: auto;}

/* Helpers
-------------------------------------------------------- */

.margin-bottom{ margin-bottom: 40px;}

.seo-title{position: absolute; top:-1000px;}

.ombra-box{box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);}

.ombra-doc img{box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);}

/* il menu aperto */
.dropdown-menu {
    font-weight:bold;
    font-family: 'Calibri', Arial, sans-serif;
    font-size:16px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem;
    padding: .5rem 0;
    margin: .125rem 0 0;
    color: #00006a;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border-top: 3px solid #00006a;
    box-shadow: 0px 5px 8px 0px rgba(50, 50, 50, 0.59);
}

/* Colori finestra menu aperta
---------------------------------------------- */
.dropdown-item{color:#00006a;}
.dropdown-item:focus,
.dropdown-item:hover {
 color:#fff;
 text-decoration:none;
 background-color:#00006a;
}
.dropdown-item.active,
.dropdown-item:active {
 color:#fff;
 text-decoration:none;
 background-color:#00006a;
}


/* Sliders
---------------------------------------------- */
.carousel,
.carousel-inner,
.carousel-item{height: 100vh; padding-top: 0px;}

.slider-big h3{text-transform: uppercase; font-size: 48px; font-weight: bold; max-width: 70%; text-shadow: 3px 3px 8px #000; margin: auto;}
.slider-big .carousel-text p{font-weight: bold; font-size: 28px; max-width: 6700px; text-shadow: 3px 3px 8px #000;}

.noestratto { position: relative; max-width: 700px; margin: auto; font-size: 20px; text-shadow: 3px 3px 8px #000; margin: auto;}

.carousel-caption {
 bottom:200px;
}

/* Colori pulsanti del menu
-------------------------------------------------------- */

.navbar-light .navbar-nav .nav-link {

color: #fff!important;
padding: 5px 6px;
margin-left: 3px;
border-radius: 4px;
line-height: 48px;
display: inline-block;
font-weight:bold;
font-family: 'Calibri', Arial, sans-serif;
font-size:16px;
text-transform: uppercase;

}

.navbar-light .navbar-nav .nav-link:hover{color: #b5d532;}

.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show>.nav-link {
 color:#00006a;
}

/* Colori titoli pagine
-------------------------------------------------------- */
.display-4 {color: #00006a; text-transform: uppercase;}

/* Colori pulsante
-------------------------------------------------------- */

.btn-primary:hover {
 color:#fff;
 background-color:#188b73;
 border-color:#b5d532;
}

/* COLORI TITOLI HOME page
____________________________________ */
.delconte-title  {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0 0 5px 0;
  letter-spacing: 2px;
  color: #000006;
  font-family: 'Calibri', Arial, sans-serif;
}

.delconte-title ::after {
  content: "";
  width: 120px;
  height: 3px;
  display: inline-block;
  margin: 4px 10px;
  background: rgb(27,133,65);
  background: -moz-linear-gradient(90deg, rgba(27,133,65,1) 0%, rgba(27,133,65,1) 33%, rgba(255,255,255,1) 33%, rgba(255,255,255,1) 66%, rgba(238,31,39,1) 66%, rgba(238,31,39,1) 100%);
  background: -webkit-linear-gradient(90deg, rgba(27,133,65,1) 0%, rgba(27,133,65,1) 33%, rgba(255,255,255,1) 33%, rgba(255,255,255,1) 66%, rgba(238,31,39,1) 66%, rgba(238,31,39,1) 100%);
  background: linear-gradient(90deg, rgba(27,133,65,1) 0%, rgba(27,133,65,1) 33%, rgba(255,255,255,1) 33%, rgba(255,255,255,1) 66%, rgba(238,31,39,1) 66%, rgba(238,31,39,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#1b8541",endColorstr="#ee1f27",GradientType=1);
}

.section-title {
    margin: 0;
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Calibri', Arial, sans-serif;
    color: #00006a;
}


/* ! -- BLOCCO GRIGIO BOX HOME PAGE */

.panel-brown{background: #f0f4f8;}
.wp-block-media-text{max-width: 1200px; margin: 0 auto;}
.panel-intro{padding: 100px 0 50px 0;background:#f0f4f8;}
.panel-intro p,
.panel-brown h3,
.panel-brown h4,
.panel-brown p,
.panel-brown ul{color:#00006a;}
.panel-brown h3{font-size: 36px;margin-bottom: 10px;}


/* BOX PRODOTTI */

.xnoi .box {
    color: #00006a;
    border-radius: 4px;
    border-bottom: solid 10px #00006a;
    background: #fff;
    margin: 10px;
    padding-top: 23px;
}
.xnoi .box h4{font-weight: bold;}

/* VIDEO PLAYER*/
.controlBar {
  background-color: #00006a!important;
}


/* Gutenberg
-------------------------------------------------------- */
.wp-block-cover{margin-bottom: 20px;}

@media (min-width: 768px) {
  .min-height{height: 600px; margin: 100px 0!important}
  .min-height .wp-block-media-text__media img{height: 600px; object-fit: cover;}
}



.max-width{max-width: 800px;margin: 0 auto}


.wp-block-columns h3{font-size: 32px;margin-bottom: 20px;}
.wp-block-columns h2{margin-bottom: 20px;}
.wp-block-columns li{font-size: 18px;margin-bottom: 8px;}

.wp-block-image{margin-bottom: 20px!important;}

.mt-big{margin-top: 100px}
.mb-big{margin-bottom: 100px}

.wpcf7-submit{padding: 15px 40px; display: inline-block;background: #4f9c4a; color: #fff;}

/* Comments
-------------------------------------------------------- */
#comments{margin-bottom: 40px;}
.comments{padding-top: 40px;}
.comments textarea{width: 100%;}
.comments label{ min-width: 80px;}
.comments ul,
.comments ol{list-style-type: none;}
.comment-author img{border-radius: 999px; width:50px;}
.comment .reply{border-bottom:  1px solid #ccc; margin-bottom: 30px;padding-bottom: 10px;}


/* Input & textarea
-------------------------------------------------------- */
input,
textarea{padding: 5px 10px; border: 3px solid #ccc; width: 100%; border-radius: 4px}
label{width: 100%}

/* Pulsante accettazione
-------------------------------------------------------- */
input[type="checkbox" i] {
    background-color: initial;
    cursor: default;
    -webkit-appearance: checkbox;
    box-sizing: border-box;
    margin: 1px 23px 1px 1px;
    padding: initial;
    border: initial;
}


/* Widgets
-------------------------------------------------------- */
.widget_search .screen-reader-text{display: block;}
.widget_search #s{width:70%;float:left;}
.widget_search #searchsubmit{width:30%;float:left;background: #fff;}


/* pagination
-------------------------------------------------------- */
.pagination{margin-bottom:40px}
.page-numbers{display: inline-block;padding: 10px 15px;border: 1px solid #ddd;margin-right:4px;}

/* general wordpress style
-------------------------------------------------------- */
.post img{max-width: 100%; height:auto;}



/* WordPress Core Styles
-------------------------------------------------------------- */
 .gallery-caption{padding:5px; font-size: 10px;}
 .bypostauthor{border-left: 3px solid #ddd;padding-left: 20px;}

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

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

.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: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}



/* -------------------------------------------------------------------------------- */
/* ! Gutemberg */
/* -------------------------------------------------------------------------------- */
.main-content{overflow: hidden;}

.wp-block-image,
.wp-block-columns,
.wp-block-cover,
.wp-block-gallery,
.wp-block-text-columns,
.wp-block-button,
.wp-block-quote,
.wp-block-quote.is-large,
.wp-block-code,
.wp-block-audio,
.wp-block-video,
.wp-block-preformatted,
.wp-block-verse,
.wp-block-separator,
.wp-block-categories,
.wp-block-categories-list,
.wp-block-latest-posts,
.wp-block-embed-twitter,
.wp-block-embed-youtube,
.wp-block-embed-facebook,
.wp-block-embed-wordpress,
.wp-block-embed-vimeo,
.wp-block-media-text {
  margin-bottom: 40px;}

/* -------------------------------------------------------------------------------- */
/* ! General */
/* -------------------------------------------------------------------------------- */
/* .container-block-editor h1,
.container-block-editor h2,
.container-block-editor h3,
.container-block-editor h4,
.container-block-editor p {
  margin-bottom: 35px; } */

.has-small-font-size {
  font-size: 13px;
  line-height: 23px; }

.has-large-font-size {
  font-size: 36px;
  line-height: 54px; }

.has-larger-font-size {
  font-size: 42px;
  line-height: 63px; }


.wp-block-cover{height: auto;}

/* -------------------------------------------------------------------------------- */
/* ! Code */
/* -------------------------------------------------------------------------------- */
.wp-block-code {
  border: 1px solid #ddd;
  padding: 20px; }

.wp-block-code {
  overflow: auto; }

/* -------------------------------------------------------------------------------- */
/* ! Video */
/* -------------------------------------------------------------------------------- */
.wp-block-video {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  padding-top: 25px;
  height: 0; }

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

.wp-block-embed-youtube .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  padding-top: 25px;
  height: 0; }

.wp-block-embed-youtube .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; }

.wp-block-embed-vimeo .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  padding-top: 25px;
  height: 0; }

.wp-block-embed-vimeo .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; }

/* -------------------------------------------------------------------------------- */
/* ! Performatted */
/* -------------------------------------------------------------------------------- */
.wp-block-preformatted {
  overflow: hidden; }

/* -------------------------------------------------------------------------------- */
/* ! Pullquote */
/* -------------------------------------------------------------------------------- */
.wp-block-pullquote blockquote {
  border: none; }

.wp-block-pullquote p {
  font-weight: bold; }



  @media only screen and (min-width: 960px) {
    body .alignfull {
      width: auto;
      max-width: 1000%;
      margin-right: calc(50% - 50vw);
      margin-left: calc(50% - 50vw);
    }
    body .alignwide {
      width: auto;
      max-width: 1000%;
      margin-right: calc(25% - 25vw);
      margin-left: calc(25% - 25vw);
    }
    .alignwide img,
    .alignfull img {
      display: block;
      margin: 0 auto;
    }
  }

  /* ICONE IN SEZIONE CONTATTI
--------------------------------------------------*/

i.fa.icnmassi {font-size:22px;transition: 0.7s;width: 45px;height: 45px;line-height: 45px;color: #fff;background:#00006a;margin-right: 15px;text-align: center;border-radius: 9999px;float: left;}
i.fa.icnmassi:hover {transition: 0.7s;color: #fff;background:#0000c8;}

#hide{display:none;margin-left:24px;}

/* TASTO MORE */
.more-link span {
    display: none !important;
}

/* CONTACT FORM 7 100% width
------------------------------------------------ */
textarea {width: 100%;}
.wpcf7-list-item-label input{padding-left: 9px;}
.wpcf7-email{width:100% !important;}
span.wpcf7-form-control-wrap:nth-child(2) > input:nth-child(1){width:100% !important;}

/*.wpcf7-submit {width:100px;margin-left: 15px;}*/
.wpcf7-submit {width:auto!important; margin-left: 15px;color:#fff;text-transform: uppercase;font-size: 13px;font-weight: 510;padding: 10px 15px;background: #00006a;transition: 0.7s;}
.wpcf7-submit:hover {width:auto!important;margin-left: 15px;color:#fff;text-transform: uppercase;font-size: 13px;padding: 10px 15px;font-weight: 510;background: #0000c8;;transition: 0.7s;}

.wpcf7-tel {width:100%;}

select.wpcf7-form-control {width:100% !important;}
textarea.wpcf7-form-control {height:110px;}

input, textarea {padding: 5px 10px;border: 3px solid #00006a!important;margin-top: 5px;background: #f5f5f5;border-radius:5px;}
select.wpcf7-form-control {width: 100% !important;margin-top: 7px;border:0px;height: 35px;}

.nome, .email, .oggetto, .messaggio {padding-left:0px;}
span.wpcf7-list-item {display: inline-block;margin: 0 0 0 0;} /*toglie il margin al tasto di accettazione*/
div.wpcf7 .wpcf7-submit:disabled {margin-left: 0;} /*toglie il margin al tasto di INVIO*/

  /* ------------------------------------------------------------------------- *
        /* 2.6 Footer */
        /* ------------------------------------------------------------------------- */
        .footer { margin: 0; width: 100%;

          background: rgb(0,0,106);
          background: -moz-linear-gradient(90deg, rgba(0,0,106,1) 44%, rgba(0,0,0,1) 100%);
          background: -webkit-linear-gradient(90deg, rgba(0,0,106,1) 44%, rgba(0,0,0,1) 100%);
          background: linear-gradient(90deg, rgba(0,0,106,1) 44%, rgba(0,0,0,1) 100%);
          filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00006a",endColorstr="#000000",GradientType=1);

          color: #fff; }
        .footer p{margin: 0; font-size: 16px!important;}

        .footer a{color:#fff!important; line-height: 2rem!important;}

        .footer hr{border-color:#fff;margin-bottom: 5px;}
        .footer .container{ padding: 20px; }

         .footer__logos img{margin:0px auto;width:200px;height: auto; margin-bottom:12px;}
        /*.footer__loghi img{margin:0px 20px;width:200px;height: auto; margin-top:12px;}*/
        .footer__loghi img{margin:0 auto; width:160px;height: auto; margin-top:12px;}
        .footer__menu{list-style-type: none;padding: 0;margin: 5px 0 0 0; margin-top: 23px; text-align: right;}
        .footer__menu li{display: inline-block;vertical-align: top; text-transform: uppercase;}
        .footer__menu li a{padding: 10px;}
        .footer__menu li ul{font-size: 12px; margin-top: 10px;padding: 0;}
        .footer__menu li ul li{display: block;}

        .footer__social{margin-right: 0px;}
        .footer__social{list-style-type: none;padding: 0;margin: 0px 0 15px 0;}
        .footer__social li{display:inline-flex;}
        .footer__social li a{padding: 0px 10px 10px 0;font-size: 22px;}

        .footer__bottom{
          background: transparent;

          padding-top: 5px;}

        .alignright { float: right; margin-bottom: 10px; margin-left: 20px; max-width: 97%; height: auto; }
        .alignleft { float: left; margin-right: 20px; margin-bottom: 10px; max-width: 97%; height: auto; }

        .pre-footer ul{list-style-type: none; padding: 0;}
        .pre-footer ul li a{padding: 4px;display: block;color:#999;font-size: 18px;margin-bottom: 15px;}
        .pre-footer ul li a:hover{color:#FD204D}


  /* ----------------------------------------------
  PER MENU A RISOLUZIONI RIDOTTE
  -------------------------------------------------*/
  @media (max-width:1200px){

    .home.navbar-transparent  .bg-light {
    background: linear-gradient(87deg, rgb(0, 0, 106) 0%, rgb(0, 0, 0) 100%) !important;
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#00006a",endColorstr="#000000",GradientType=1);
    }

    .home.navbar-transparent.is-scrolled .bg-light {
      background: linear-gradient(87deg, rgb(0, 0, 106) 0%, rgb(0, 0, 0) 100%) !important;
      filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#00006a",endColorstr="#000000",GradientType=1);
      }

      #toggle {
        display: block;
        width: 45px!important;
        height: 35px!important;
        margin: 30px 1px 1px 10px;
        background: transparent!important;
        
      }

    #toggle span:after,
    #toggle span:before {
      content: "";
      position: absolute;
      left: 0;
      top: -9px;
    }
    #toggle span:after{
      top: 9px;
    }
    #toggle span {
      position: relative;
      display: block;
    }

    #toggle span,
    #toggle span:after,
    #toggle span:before {
      width: 100%;
      height: 3px;
      background-color: #fff;
      transition: all 0.3s;
      backface-visibility: hidden;
      border-radius: 2px;
    }

    /* on activation */
    #toggle.on span {
      background-color: transparent;
    }
    #toggle.on span:before {
      transform: rotate(45deg) translate(5px, 5px);
    }
    #toggle.on span:after {
      transform: rotate(-45deg) translate(7px, -8px);
    }
    #toggle.on + #header {
      opacity: 1;
      visibility: visible;
    }
  }

  /* ----------------------------------------------
  Tablet
  -------------------------------------------------*/
  @media (max-width:998px){

    .home.navbar-transparent  .bg-light {
    background: linear-gradient(87deg, rgb(0, 0, 106) 0%, rgb(0, 0, 0) 100%) !important;
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#00006a",endColorstr="#000000",GradientType=1);
    }

    .home.navbar-transparent.is-scrolled .bg-light {
      background: linear-gradient(87deg, rgb(0, 0, 106) 0%, rgb(0, 0, 0) 100%) !important;
      filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#00006a",endColorstr="#000000",GradientType=1);
      }

    #toggle {
      display: block;
      width: 35px;
      height: 30px;
      margin: 30px 1px 1px 10px;
      /*margin: 30px auto 10px;*/
    }

    #toggle span:after,
    #toggle span:before {
      content: "";
      position: absolute;
      left: 0;
      top: -9px;
    }
    #toggle span:after{
      top: 9px;
    }
    #toggle span {
      position: relative;
      display: block;
    }

    #toggle span,
    #toggle span:after,
    #toggle span:before {
      width: 100%;
      height: 3px;
      background-color: #fff;
      transition: all 0.3s;
      backface-visibility: hidden;
      border-radius: 2px;
    }

    /* on activation */
    #toggle.on span {
      background-color: transparent;
    }
    #toggle.on span:before {
      transform: rotate(45deg) translate(5px, 5px);
    }
    #toggle.on span:after {
      transform: rotate(-45deg) translate(7px, -8px);
    }
    #toggle.on + #header {
      opacity: 1;
      visibility: visible;
    }
  }

  /* ----------------------------------------------
  Smartphone
  -------------------------------------------------*/
  @media (max-width:767px){

    /*--------DA AGGIUNGERE IN LOCAL */

    .riducivideo {height: 5px!important;}
    .sparisco{display: none!important;}
    .riduci{height: 35px!important; }

    /* ------------------ */

    .navbar-brand img{width:250px; height: 69px;}

  .home.navbar-transparent  .bg-light {
    background: linear-gradient(87deg, rgb(0, 0, 106) 0%, rgb(0, 0, 0) 100%) !important;
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#00006a",endColorstr="#000000",GradientType=1);
    }

    .home.navbar-transparent.is-scrolled .bg-light {
      background: linear-gradient(87deg, rgb(0, 0, 106) 0%, rgb(0, 0, 0) 100%) !important;
      filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#00006a",endColorstr="#000000",GradientType=1);
      }

    #toggle {
      display: block;
      width: 35px;
      height: 30px;
      margin: 1px 1px 1px 10px!important;
      /*margin: 30px auto 10px;*/
    }

    #toggle span:after,
    #toggle span:before {
      content: "";
      position: absolute;
      left: 0;
      top: -9px;
    }
    #toggle span:after{
      top: 9px;
    }
    #toggle span {
      position: relative;
      display: block;
    }

    #toggle span,
    #toggle span:after,
    #toggle span:before {
      width: 100%;
      height: 3px;
      background-color: #fff;
      transition: all 0.3s;
      backface-visibility: hidden;
      border-radius: 2px;
    }

    /* on activation */
    #toggle.on span {
      background-color: transparent;
    }
    #toggle.on span:before {
      transform: rotate(45deg) translate(5px, 5px);
    }
    #toggle.on span:after {
      transform: rotate(-45deg) translate(7px, -8px);
    }
    #toggle.on + #header {
      opacity: 1;
      visibility: visible;
    }
  }
