/*
    Theme Name: UPPA 4.0
    Theme URI: https://www.uppa.it
    Author: UPPA WEB TEAM
    Author URI: https://www.uppa.it
    Description: Tema per UPPA
    Version: 4.0
    Text Domain: https://www.uppa.it
*/

/* Bootstrap Reboot v4.3.1 */

*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}select{word-wrap:normal}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}


.container,
.container-lg,
.container-md,
.container-sm,
.container-xl {
  max-width: 1000px !important;
}

::-moz-selection {
  color: #fff;
  background: #FF6C00;
}

::selection {
  color: #fff;
  background: #FF6C00;
}

/* START WORDPRESS */
.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.alignnone {
  margin: 5px 0px 5px 0px;
  max-width: 100%;
  height: auto;
  clear: both;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
  max-width: 100%;
  height: auto;
  clear: both;
}

.alignright {
  float: right;
  margin: 5px 0px 5px 0px;
  max-width: 100%;
  height: auto;
  clear: both;
}

.alignleft {
  float: left;
  margin: 5px 10px 5px 0px;
  max-width: 100%;
  height: auto;
  clear: both;
}

a img.alignright {
  float: right;
  margin: 5px 0 5px 0px;
  max-width: 100%;
  height: auto;
  clear: both;
}

a img.alignnone {
  margin: 5px 0px 5px 0px;
  max-width: 100%;
  height: auto;
  clear: both;
}

a img.alignleft {
  float: left;
  margin: 5px 0px 5px 0px;
  max-width: 100%;
  height: auto;
  clear: both;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
  clear: both;
}

.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: 100%;
  clear: both;
}

.wp-caption p.wp-caption-text {
  font-size: 0.8em;
  line-height: 1em;
  margin: 0;
  color: #777;
}

.wp-block-image img{ height: auto; }


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

.wp-block-columns {
  margin-bottom: 10px !important;
}

.wp-block-columns figure {
  margin-top: 5px;
}

/* END WORDPRESS */

/* START SIDEBAR */

.widget2 {
  background: #FF6C00;
  color: #fff;
  padding: 25px 15px;
  font-size: 1.05em;
  font-weight: 700;
  line-height: 1.1em;
  margin-bottom: 15px;
}

.widget2-image {
  margin-bottom: 20px;
}

.widget2>a:link,
.widget2>a:hover,
.widget2>a:visited,
.widget2>a:active,
.widget2>a:focus {
  color: #fff;
  text-align: center;
  border: 1.5px solid #fff;
  padding: 7px 10px;
  border-radius: 30px;
  font-size: 1em !important;
  line-height: 1em !important;
  display: block;
  margin-top: 10px;
}

.banner-uppa-w {
  margin-bottom: 15px;
}

/* END SIDEBAR */

/* ----------------------------------------------------------------
    Optin
-----------------------------------------------------------------*/
.optin-wrap {
  display: block;
}

.col-md-8.col-xs-12.optin-text-wrap {
  padding: 15px;
}

.optin-immagine {
  position: relative;
  min-height: 160px;
}

.optin-wrap {
  padding: 0px;
  margin-bottom: 10px;
}

.optin-wrap.pianto,
.optin-wrap.autosvezzamento,
.optin-wrap.copia-di-prova,
.optin-wrap.capricci{
  background: #FF6C00;
}

.optin-wrap.febbre {
  background: #82557A;
}

.optin-wrap.montessori,
.optin-wrap.pidocchi,
.optin-wrap.antisoffocamento {
  background: #FAB715;
}

.optin-wrap.covid,
.optin-wrap.primo-anno,
.optin-wrap.allattamento,
.optin-wrap.babywearing,
.optin-wrap.cosleeping,
.optin-wrap.gravidanza,
.optin-wrap.infografica-latte,
.optin-wrap.esantematiche {
  background: #00A5CB;
}

.optin-wrap.touchpoints,
.optin-wrap.famiglie-veg{
  background: #5E5D9E;
}

.optin-wrap.linguaggio {
  background: #4D272C;
}

.optin-immagine.linguaggio {
  background: url('/wp-content/themes/uppa/img/speciali/linguaggio.jpg') no-repeat center center;
  background-size: cover;
}

.optin-immagine.antisoffocamento {
  background: url('/wp-content/themes/uppa/img/speciali/antisoffocamento.jpg') no-repeat center center;
  background-size: cover;
}

.optin-immagine.pianto {
  background: url('/wp-content/themes/uppa/img/speciali/pianto.jpg') no-repeat center center;
  background-size: cover;
}

.optin-immagine.touchpoints {
  background: url('/wp-content/themes/uppa/img/speciali/touchpoints.jpg') no-repeat center center;
  background-size: cover;
}

.optin-immagine.babywearing {
  background: url('/wp-content/themes/uppa/img/speciali/babywearing.jpg') no-repeat center center;
  background-size: cover;
}

.optin-immagine.pidocchi {
  background: url('/wp-content/themes/uppa/img/speciali/pidocchi.jpg') no-repeat center center;
  background-size: cover;
}

.optin-immagine.gravidanza {
  background: url('/wp-content/themes/uppa/img/speciali/gravidanza.jpg') no-repeat center center;
  background-size: cover;
}

.optin-immagine.esantematiche {
  background: url('/wp-content/themes/uppa/img/speciali/esantematiche-1.jpg') no-repeat center center;
  background-size: cover;
}

.optin-immagine.montessori {
  background: url('/wp-content/themes/uppa/img/speciali/montessori.jpg') no-repeat center center;
  background-size: cover;
}

.optin-immagine.primo-anno {
  background: url('/wp-content/themes/uppa/img/speciali/primo-anno.jpg') no-repeat center center;
  background-size: cover;
}

.optin-immagine.febbre {
  background: url('/wp-content/themes/uppa/img/speciali/raffreddore.jpg') no-repeat center center;
  background-size: cover;
}

.optin-immagine.autosvezzamento {
  background: url('/wp-content/themes/uppa/img/speciali/autosvezzamento.jpg') no-repeat center center;
  background-size: cover;
}

.optin-immagine.copia-di-prova {
  background: url('/wp-content/themes/uppa/img/speciali/copia-di-prova.jpg') no-repeat center center;
  background-size: cover;
}

.optin-immagine.infografica-latte {
  background: url('/wp-content/themes/uppa/img/speciali/infografica-latte.jpg') no-repeat center center;
  background-size: cover;
}

.optin-immagine.cosleeping {
  background: url('/wp-content/themes/uppa/img/speciali/cosleeping.jpg') no-repeat center center;
  background-size: cover;
}

.optin-immagine.allattamento {
  background: url('/wp-content/themes/uppa/img/speciali/allattamento.jpg') no-repeat center center;
  background-size: cover;
}

.optin-immagine.covid {
  background: url('/wp-content/themes/uppa/img/speciali/covid.jpg') no-repeat center center;
  background-size: cover;
}

.optin-immagine.capricci {
  background: url('/wp-content/themes/uppa/img/speciali/capricci.jpg') no-repeat center center;
  background-size: cover;
}

.optin-immagine.famiglie-veg {
  background: url('/wp-content/themes/uppa/img/speciali/famiglie-veg.jpg') no-repeat center center;
  background-size: cover;
}

.optin-titolo {
  color: #fff;
  font-size: 1.8em;
  font-weight: 900;
  font-family: 'Roboto Slab', serif;
  line-height: 1.2em;
  margin-bottom: 5px;
}

.optin-testo {
  font-size: 1em;
  line-height: 1.2em;
  color: #fff;
}

.optin-intestazione {
  color: #fff;
  padding: 5px;
  border: 1.5px solid #fff;
  display: inline-block;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
  font-size: 0.9em;
  font-weight: 700;
}

a.optin-bottone:link,
a.optin-bottone:hover,
a.optin-bottone:active,
a.optin-bottone:focus,
a.optin-bottone:visited {
  padding: 12px 0px;
  border-radius: 30px;
  font-weight: 900;
  font-size: 1.2em;
  display: block;
  text-align: center;
  margin-top: 15px;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.20);
  color: #fff;
}

/* ----------------------------------------------------------------
    Optin awareness
-----------------------------------------------------------------*/
.optin-mockup-copia-prova{ padding: 20px; }
.optin-mockup-copia-prova > .row > .col-11{ padding-top: 10px; }
.optin-mockup-copia-prova p{ max-width: 150px; padding: 0; margin: 5px 0 30px 0; font-size: .9em; font-family: Roboto, serif; color: #fff; }
.optin-mockup-copia-prova a.optin-bottone{ background-color: transparent; color: #333; border: 2px solid #333; font-family: Roboto, serif;font-weight: 900;padding: 6px 18px;display: inline-block;font-size: .9em; margin-bottom: 10px; }
.optin-mockup-copia-prova .optin-titolo{ color: #fff; font-family: Roboto, serif; line-height: 1.1em; font-size: 1.3em; margin-top: 10px; }
.optin-mockup-copia-prova img{ position: absolute; bottom: -5px; right: -20px; height: 65%; max-height: 195px; }
@media only screen and (min-width: 768px){
    .optin-mockup-copia-prova{ padding: 30px 40px; }
    .optin-mockup-copia-prova > .row > .col-11{ padding-top: 20px; }
    .optin-mockup-copia-prova a.optin-bottone{ font-size: 1em; }
    .optin-mockup-copia-prova p{ max-width: 100%; font-size: 1.2em }
    .optin-mockup-copia-prova img{ height: 100%; bottom: 0; right: 0; max-height: 90%; }
    .optin-mockup-copia-prova .optin-titolo{ line-height: 1.1em; font-size: 1.6em; }
}

/* ----------------------------------------------------------------
    Optin shop
-----------------------------------------------------------------*/

.optin-text-wrap.libro-speciale{ background-color: #fff; padding-right: 30px; }
    .optin-corpo-libro{ align-items: center; border: 2px solid #ea7448; }
    .optin-titolo.libro-speciale { font-size: 1.2em; }
    .autore-libro { color: #00a5cb; font-weight: 700; font-size: 0.8em; margin: 10px 0; }
    @media only screen and (min-width: 768px) {
        .col-8.libro-speciale {
            padding-left: 10px;
            font-size: 110%;
        }
    }

.optin-approfondimento-shop.new-style .optin-corpo-libro{ font-family: 'Roboto', serif; border: 0; padding: 30px 0 0 20px; }
.optin-approfondimento-shop.new-style.img-left .optin-corpo-libro{ flex-direction: row-reverse; padding:  30px 0 0 0; }
.optin-approfondimento-shop.new-style .optin-titolo.libro-speciale { font-size: 1.4em; color: #fff; }
.optin-approfondimento-shop.new-style .optin-testo{ max-width: 300px; font-weight: 300; font-size: 1.1em; font-family: 'Roboto', serif; margin: 0; color: #fff; }
.optin-approfondimento-shop.new-style .autore-libro{ display: none; color: #fff; font-family: 'Roboto', serif; font-weight: 300; font-size: .8em; font-style: italic; }
.optin-approfondimento-shop.new-style .optin-text-wrap{ opacity: 0; background-color: transparent; margin-bottom: 30px; z-index: 1; text-align: left; padding-right: 15px; }
.optin-approfondimento-shop.new-style.img-left .optin-text-wrap{ text-align: right; padding-right: 20px; }

.optin-approfondimento-shop.new-style .col-6:not(.optin-text-wrap){ right: 30px; position: absolute; top: 0; bottom: 0; transform: translate3d(120%, 0, 0); }
.optin-approfondimento-shop.new-style.img-left .col-6:not(.optin-text-wrap){ right: auto; left: 30px; transform: translate3d(-120%, 0, 0); }

.optin-approfondimento-shop.new-style .col-6:not(.optin-text-wrap) > img{ width: auto; height: 100%; max-width: unset; }
.optin-approfondimento-shop.new-style.img-left .col-6:not(.optin-text-wrap) > img{ float: right; }

.optin-approfondimento-shop.new-style.img-left .optin-bottone{ float: right; }

@media only screen and (min-width: 768px) {
    .optin-approfondimento-shop.new-style .optin-titolo.libro-speciale { font-size: 1.8em; }
    .optin-approfondimento-shop.new-style .optin-corpo-libro,
    .optin-approfondimento-shop.new-style.img-left .optin-corpo-libro{ padding: 0 0 0 40px; }
    .optin-approfondimento-shop.new-style .autore-libro{ display: block; font-size: 1em; }

    .optin-approfondimento-shop.new-style .optin-text-wrap{ right: auto; margin-bottom: 0; padding: 20px 0; }
    .optin-approfondimento-shop.new-style.img-left .optin-text-wrap{ padding-right: 40px; }
    
    .optin-approfondimento-shop.new-style .col-6:not(.optin-text-wrap){ position: initial; right: initial; top: initial; bottom: initial; }
    .optin-approfondimento-shop.new-style.img-left .col-6:not(.optin-text-wrap){ position: relative; left: -40px; }

    .optin-approfondimento-shop.new-style .col-6:not(.optin-text-wrap) > img{ width: 100%; height: auto; }

    .optin-approfondimento-shop.new-style.img-left .optin-bottone{ float: initial; }
}


/* START ARCHIVE */
.table-archive-uppa {
  display: grid;
}

h3.uppa-title-categoria {
  font-size: 1.55em;
  line-height: 1.2em;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: #000;
  font-family: 'Roboto Slab', serif;
}

.table-archive-uppa p {
  font-size: 1em;
  line-height: 1.25;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1rem;
}

.table-archive-uppa .immagine-categoria {
  margin-bottom: 0.5rem;
}

ul.categoria-uppa-listing {
  display: inline-block;
  margin: 5px 0px;
  padding: 0px;
}

.categoria-uppa-listing>li.cat-item {
  float: left;
  list-style: none;
}

.categoria-uppa-listing>.current-cat {
  display: none;
}

li.cat-item a:link,
li.cat-item a:hover,
li.cat-item a:active,
li.cat-item a:visited {
  padding: 6px 20px;
  color: #fff;
  background: #FF6C00;
  float: left;
  word-wrap: break-word;
  margin-right: 8px;
  display: inline-block;
  border-radius: 50px;
  font-weight: 700;
  margin-bottom: 5px;
}

.archive-no-right-border:after {
  display: none !important;
}

#category-row {
  margin-top: 15px;
}

.pagination-category {
  text-align: center;
  margin: 0 20px;
}

.page-numbers {
  color: #555;
  padding: 5px;
}

.page-numbers.current {
  font-weight: 700;
}

a.page-numbers:link,
a.page-numbers:hover,
a.page-numbers:active,
a.page-numbers:visited,
a.page-numbers:focus {
  color: #555;
}

/* ----------------------------------------------------------------
Page
-----------------------------------------------------------------*/
.image-page-full-width {
  width: 100%;
  margin-bottom: 15px;
  height: 200px;
}

.autore-articoli {
  font-family: 'Karla', sans-serif;
  margin-bottom: 15px;
  border-bottom: 1px solid #ddd;
  color: #000;
  font-weight: 700;
  padding-bottom: 15px;
}

.autore-articoli:last-child {
  border-bottom: 0px;
  margin-bottom: 0px;
  padding-bottom: 0px;
}

.immagine-autore-single {
  margin: 0px 7px 0px 0px;
  width: 200px;
  float: left;
}

.qualifica_author_uppa::first-letter {
	text-transform: uppercase;
}

.autore-articoli-wrap {
  margin-top: 15px;
}

.button-autori-uppa,
.button-staff-uppa {
  color: #fff;
  padding: 15px;
  font-size: 1.3em;
  line-height: 1.4;
  text-align: center;
  font-weight: 700;
  margin-right: 5px;
}

.button-autori-uppa {
  background: #FF6C00;
}

.button-staff-uppa {
  background: #00a5cb;
}

.single-redattori-icon-container>.single-redattori-icon:last-child {
  margin-bottom: 2em;
}

/* Footer */
.uppa-footer {
  background: #FF6C00;
  padding: 50px 0px;
  color: #fff;
  margin-top: 40px;
  font-size: 0.73em;
}

body.home .uppa-footer { margin-top: -15px; }

svg.uppa-social-icon {
  width: 30px;
  height: 30px;
  fill: #ffffff;
  margin-right: 3px;
}

.uppa-footer a:link,
.uppa-footer a:visited,
.uppa-footer a:active,
.uppa-footer a:hover,
.uppa-footer a:focus,
.menu a:link,
.menu a:visited,
.menu a:active,
.menu a:hover,
.menu a:focus {
  color: #fff;
}

.honcode {
  font-size: smaller;
  margin-top: 10px;
}

.honcode img {
  display: block;
  margin-top: 10px;
  max-width: 40px;
  width: 100%;
}

.uppa-footer ul {
  font-size: 1.8em;
  padding: 0px;
  margin-top: -5px;
}

.uppa-footer ul li {
  list-style: none;
  border-bottom: 1px solid #fff;
  padding: 5px 0px;
  font-size: 0.8em;
}

@media (min-width: 768px) {

  /* Speciali */
  .optin-wrap {
    display: flex;
  }

  .optin-immagine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .col-md-8.col-xs-12.optin-text-wrap {
    padding: 20px 25px;
  }

  /* Footer */
  .uppa-footer {
    font-size: 0.9em;
  }
	
	body.home .uppa-footer { margin-top: 40px; }

  /* Archive */
  .table-archive-uppa:after {
    position: absolute;
    border-right: 1px solid #ddd;
    height: 380px;
    top: 0;
    right: 0;
    content: "";
    display: inline-block;
  }

  .table-archive-uppa {
    margin-bottom: 4em;
  }

  .table-archive-uppa p {
    border: 0px;
  }

  /* Page */
  .image-page-full-width {
    height: 300px;
  }
}

@media (min-width: 992px) {

  /* Footer */
  .uppa-footer {
    font-size: 0.95em;
  }

  svg.uppa-social-icon {
    width: 35px;
    height: 35px;
  }

  /* Page */
  .image-page-full-width {
    height: 400px;
    margin-bottom: 20px;
  }
}

@media (min-width: 1200px) {

  /* Footer */
  .uppa-footer {
    font-size: 1em;
  }

  svg.uppa-social-icon {
    width: 40px;
    height: 40px;
  }
}




























.toggle {
  display: block;
}

#logo {
  display: block;
  padding: 0px;
  float: left;
}

/* Since we'll have the "ul li" "float:left"
 * we need to add a clear after the container. */

nav:after {
  content: "";
  display: table;
  clear: both;
}

/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:reltive" */
nav ul {
  float: right;
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
  width: 100%;
}



/* Positioning the navigation items inline */
nav ul li {
  margin: 0px;
  display: inline-block;
  float: left;
  border-bottom: 1px solid #fff;
}

/* Styling the links */
nav a {
  display: block;
  padding: 10px 0px;
  color: #fff;
  font-size: 1em;
}

nav ul li.yellow a {
  color: #FFEC3B !important;
}
nav ul li.opacityNavLink a {
  opacity: .8;
}

nav ul.menu li:last-child {
  border: 0px;
}


/* Media Queries
--------------------------------------------- */

@media all and (min-width: 767.99px) {
  .toggle {
    display: block;
  }

}

/* @media all and (max-width : 768px) { */

#logo {
  display: block;
  padding: 0;
  width: 100%;
  text-align: left;
  float: none;
}

nav {
  margin: 0;
}

.uppa-header-mobile-container {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  align-items: center;
}

.uppa-header-mobile-container #logo,
.uppa-header-mobile-container .uppa-header-mobile-btns {
  width: 50%;
}

/* Hide the navigation menu by default */
/* Also hide the  */
.toggle+a,
header nav .uppa-menu-container {
  display: none;
}

/* Stylinf the toggle lable */
.toggle {
  padding: 14px 20px;
  color: #FFF;
  font-size: 17px;
  text-decoration: none;
  border: none;
}

/* Display Dropdown when clicked on Parent Lable */
[id^=drop]:checked+.hamburger+.uppa-menu-container {
  display: block;
}

/* Change menu item's width to 100% */
nav ul li {
  display: block;
  width: 100%;
}

nav ul ul .toggle,
nav ul ul a {
  padding: 0 40px;
}

nav ul ul ul a {
  padding: 0 80px;
}

nav ul li ul li .toggle,
nav ul ul a,
nav ul ul ul a {
  padding: 14px 20px;
  color: #FFF;
  font-size: 17px;
}


/* Hide Dropdowns by Default */
nav ul ul {
  float: none;
  position: static;
  color: #ffffff;
}

/* Hide menus on hover */
nav ul ul li:hover>ul,
nav ul li:hover>ul {
  display: none;
}

/* Fisrt Tier Dropdown */
nav ul ul li {
  display: block;
  width: 100%;
}

nav ul ul ul li {
  position: static;
}

/*}*/

@media all and (max-width : 330px) {

  nav ul li {
    display: block;
    width: 94%;
  }

}

.search-container {
	display: inline-block;
    margin: 0rem auto;
    position: relative;
    width: 100%;
}

@media all and (min-width: 330px) {
  	/* SEARCH */
	.search-container {
	  margin: 1rem auto;

	}

}

input#s {
  margin: 0 auto;
  width: 100%;
  height: 35px;
  padding: 0 15px;
  font-size: 1rem;
  border-radius: 50px;
  border: 1px solid #fff;
  outline: none;
  display: inline-block;
}

.search-container label {
  position: absolute;
  right: 0;
  margin: 3px 15px 0 0;
}

input#s::placeholder {
  color: #FF6C00;
}

#searchform>label>input#searchsubmit {
  display: none;
}

input#s:focus {
  border: 1px solid #fff;
  transition: 0.35s ease;
  color: #FF6C00;
}

input#s:focus::-webkit-input-placeholder {
  transition: opacity 0.45s ease;
  opacity: 0;
}

input#s:focus::-moz-placeholder {
  transition: opacity 0.45s ease;
  opacity: 0;
}

input#s:focus:-ms-placeholder {
  transition: opacity 0.45s ease;
  opacity: 0;
}

.search-icon {
  position: relative;
  width: 20px;
  fill: #FF6C00;
}


/* ----------------------------------------------------------------
    Stampa
-----------------------------------------------------------------*/

@media print {
  body {
    background: #fff;
    color: black;
    margin: 0;
  }

  header,
  footer,
  .optin-wrap,
  .uppa-share-button,
  .related-posts,
  .d-print-none {
    display: none;
  }

}

/* ---- lazy load immagine articolo */
.single.single-post .uppa-image-wrap .lazy-hidden,
.single.single-post .uppa-image-wrap .entry img.lazy-hidden,
.single.single-post .uppa-image-wrap img.thumbnail.lazy-hidden{ background-color: #efefef; max-height: 220px; }

@media (min-width: 992px) {
	.single.single-post .uppa-image-wrap .lazy-hidden,
	.single.single-post .uppa-image-wrap .entry img.lazy-hidden,
	.single.single-post .uppa-image-wrap img.thumbnail.lazy-hidden{ max-height: unset; }
}
/* ---- lazy load immagine articolo */