/*
 Theme Name:   Fondazione
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Visualworks
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

ul, ol {
  margin-left: 0;
}

li {
  list-style-position: inside;
}

.lista {
  padding-top: 20px;
}

.wp-block-media-text__content h2 {
  padding-top: 20px;
}

.gsurvey-likert {
  border: 0px !important;
}

table.gsurvey-likert .gsurvey-likert-choice, table.gsurvey-likert .gsurvey-likert-row-label {
  border: 0px !important;
}

.gsurvey-likert-hover {
  background-color: #ffffff !important;
}

table.gsurvey-likert td.gsurvey-likert-choice.gsurvey-likert-focus {
  background-color: #ffffff !important;
}

table.gsurvey-likert td.gsurvey-likert-choice.gsurvey-likert-selected {
  background-color: #ffffff !important;
}

table.gsurvey-likert td.gsurvey-likert-choice {
  height: 60px !important;
  background-size: 20px 20px !important;
}

table.gsurvey-likert th.gsurvey-likert-choice-label {
    text-align: center;
    background-color: #ffffff !important;
    vertical-align: middle;
    line-height: 2.2 !important;
    padding: 3px 0;
    border: 0px !important;
}

.gfield_label {
  width: 100%;
  padding-bottom: 20px;
}

.gform_confirmation_message_3 {
  text-align: center !important;
}

.generate-columns-container  {
  padding-left: 100px;
  padding-right: 100px;
}

.post h1 {
  display: none;
}

.post-image-above-header .inside-article div.post-image {
  padding-bottom: 20px;
}

.generate-columns .inside-article {
  padding-left: 20px;
  padding-right: 20px;
}

.navigation-branding  {
  width: 100%;
}

.separate-containers .inside-article p {
  padding-top: 20px;
  padding-bottom: 20px;
}

.titolo-slide {
  padding-left: 70px;
  padding-right: 70px;
  font-size: 60px;
  font-weight: bold;
  color: #792524;
}

.rassegna-box {
  padding-top: 20px;
  padding-bottom: 20px;
}

.immagine-rassegna {
  padding-bottom: 20px;
}

.sottotitolo-slide {
  padding-left: 70px;
  padding-right: 70px;
  font-size: 26px;
  font-weight: lighter;
}

.bottone-sostienici {
  padding-right: 20px;
  position: absolute;
  right: 0;
}

.sostienici {
  background: #792524;
  padding-left: 50px;
  padding-right: 50px;
  padding-top: 15px;
  padding-bottom: 15px;
  border-radius: 100px;
  color: #fff !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.sostienici:hover {
  background: #2D2D2D;
  color: #fff !important;
}

.sostienici a {
  color: #ffffff;
}

.sostienici a:hover {
  color: #ffffff;
}

.sostienici a:visited {
  color: #ffffff;
}

.colonna-top {
  padding-left: 0px;
  padding-right: 0px;
}

.btn-primary {
  color: #792524;
  background-color: #ffffff;
  border-color: #ffffff;
}

.btn-primary:hover {
  background-color: #792524;
  border-color: #792524;
}

.btn-primary:focus {
  background-color: #792524;
  border-color: #792524;
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle {
  background-color: #792524;
  border-color: #792524;
}

.box-pagina p {
  padding-top: 10px;
  padding-bottom: 10px;
}

.box-interno {
  padding-bottom: 50px;
}

.footer-widgets {
  padding-left: 80px;
  padding-right: 80px;
}

.footer-bar-align-right .footer-bar {
  text-align: center;
  width: 100%;
  padding-left: 50px;
  padding-right: 50px;
}

.footer-bar-align-right .copyright-bar {
  width: 100%;
  padding-top: 10px;
  text-align: center;
}

.card-interna {
  padding-top: 20px;
  padding-bottom: 20px;
}

.card-bottone {
  margin-top: 20px;
  margin-bottom: 20px;
}

.frase {
  background: #2D2D2D;
  font-size: 18px;
  font-style: italic;
  font-weight: lighter;
  color: #ffffff;
  padding-top: 50px;
  padding-bottom: 50px;
  padding-left: 50px;
  padding-right: 50px;
}

.link-interni {
  background: #ffffff !important;
  font-size: 22px;
  font-weight: lighter;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 145px;
  padding-right: 50px;
}

.link-interni b {
  color: #2D2D2D;
}

.breadcrumb {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  list-style: none;
  background-color: transparent !important;
  border-radius: 0.25rem;
}

p {
  margin-bottom: 0px;
}

.sezione {
  position: relative;
}

.bg-1 {
	background: url("./images/nuto02.jpg") no-repeat fixed;
  color:#fff;
  height: 50vh;
  background-position: center 0px;
  background-size: cover;
}

.bg-2 {
	background: url("./images/germogli-grigio.jpg") no-repeat fixed;
  color:#fff;
  height: 50vh;
  background-position: center 0px;
  background-size: cover;
  transition: all .3s ease;
}

.bg-2:hover {
	background: url("./images/germogli.jpg") no-repeat fixed;
  color:#fff;
  height: 50vh;
  transition: all .5s ease-in-out;
  background-position: center 0px;
  background-size: cover;
}

.bg-3 {
	background: url("./images/nuto05.jpg") no-repeat fixed;
  color:#fff;
  height: 50vh;
  background-position: center 0px;
  background-size: cover;
}

.bg-4 {
	background: url("./images/paraloup-grigio.jpg") no-repeat fixed;
  color:#fff;
  height: 50vh;
  background-position: center 0px;
  background-size: cover;
}

.bg-4:hover {
	background: url("./images/paraloup.jpg") no-repeat fixed;
  color:#fff;
  height: 50vh;
  transition: all .5s ;
  background-position: center 0px;
  background-size: cover;
}

.bg-5 {
	background: url("./images/nuto04.jpg") no-repeat fixed;
  color:#fff;
  height: 50vh;
  background-position: center 0px;
  background-size: cover;
}

.bg-6 {
	background: url("./images/nuto06.jpg") no-repeat fixed;
  color:#fff;
  height: 50vh;
  background-position: center 0px;
  background-size: cover;
}

.bg-7 {
	background: url("./images/nuto07.jpg") no-repeat fixed;
  color:#fff;
  height: 50vh;
  background-position: center 0px;
  background-size: cover;
}

.test-titolo {
  position: absolute;
  top:35%;
  color: #ffffff !important;
  border-left: 5px solid #ffffff;
  padding-left: 20px;
  margin-left: 100px;
  margin-right: 50px;
}

.test-titolo h1 {
  font-size: 60px;
  font-weight: bold;
  margin-bottom: 0px;
}

.test-titolo h2 {
  font-size: 60px;
  font-weight: lighter;
  margin-bottom: 0px;
}

.test-titolo p {
  font-size: 30px;
  font-weight: lighter;
}

.image {
	width: 100%;
  margin-bottom: 50px;
}

.image-head {
	width: 100%;
  margin-bottom: 0px;
}

.image1 {
	background-image: url("./images/nuto01.jpg");
  height: 70vh;
  background-position: right;
  background-size:cover;
}

.site-footer  {
  margin-top: 50px;
}

.link-foot {
  color: #cccccc !important;
}

.link-foot:hover {
  color: #792524 !important;
}

.link-foot:visited {
  color: #ffffff !important;
}

.loghi {
  padding-left: 100px;
  padding-right: 100px;
  padding-top: 50px;
}

.social-box {
  width: 200px;
}

/* Duotone effect */
.duotone1::before,
.duotone1::after,
.duotone2::before,
.duotone2::after {
  content: '';
  position: absolute;
  width: inherit;
  height: inherit;
	opacity: 1;
	transition: opacity .5s ease-in-out;
  left: 0;
}

/* Hover effect */
.duotone:hover::before,
.duotone:hover::after {
	opacity: 0;
}

/* Section 1 */
.duotone1::before {
	background-color: rgb(121, 37, 36);
  mix-blend-mode: screen;
}

.duotone1::after {
  mix-blend-mode: lighten;
	background-color: rgb(25, 37, 80);
}

/* Section 2 */
.duotone2::before {
	background-color: rgb(237, 240, 14);
  mix-blend-mode: darken;
}

.duotone2::after {
  mix-blend-mode: lighten;
	background-color: rgb(73, 25, 80);
}

.newsletter-box {
  padding-top: 50px
}

.titolo-social {
  color: #792524;
}

.newsletter-box h2 {
  color: #792524;
}

.gform_wrapper .gform_footer {
  text-align: center;
}

.ginput_container input {
  border-radius: 100px;
  padding-left: 20px !important;
  padding-right: 20px !important;
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

button, html input[type="button"], input[type="reset"], input[type="submit"], a.button, a.button:visited, a.wp-block-button__link:not(.has-background) {
  color: #ffffff;
  background-color: #792524;
  border-radius: 100px;
  padding-left: 50px;
  padding-right: 50px;
  margin: 0 auto;
}

.ginput_container input {
  float: left;
}

.gfield_consent_label {
  float: left;
  width: 98%;
  margin-top: -7px;
  padding-left: 5px;
}

@media (max-width:980px) {

  .image {
    width: 100%;
    margin-bottom: 0px;
  }

  .generate-columns-container  {
    padding-left: 20px;
    padding-right: 20px;
  }

  .generate-columns .inside-article {
    padding-left: 0px;
    padding-right: 0px;
  }

  .footer-bar-align-right .footer-bar {
    text-align: center;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .bottone-sostienici {
    padding-right: 0px;
  }

  .sostienici {
    background: #792524;
    margin-top: 10px;
    margin-right: 10px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 100px;
    color: #fff !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

  .footer-widgets {
    padding-left: 20px;
    padding-right: 20px;
  }

  .titolo-slide {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 30px;
    font-weight: bold;
    color: #792524;
  }

  .sottotitolo-slide {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 16px;
    font-weight: lighter;
  }

  .social-stream {
    padding-left: 20px;
    padding-right: 20px;
  }

  .logo-footer {
    width: 50vw;
    margin: 0 auto;
  }

  .test-titolo {
    margin-left: 20px;
    margin-right: 20px;
  }

  .test-titolo h1 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 0px;
  }

  .test-titolo h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 0px;
  }

  .test-titolo p {
    font-size: 18px;
    font-weight: lighter;
  }

  .frase {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .link-interni {
    background: #ffffff !important;
    font-size: 18px;
    font-weight: lighter;
    padding-top: 30px;
    padding-bottom: 0px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

.post-navigation  {
  margin-top: 50px !important;
}

.nav-previous {
  float: left;
  width: 40%;
}

.nav-next {
  float: right;
  width: 40%;
  text-align: right;
}

.nav-next .next:before {
  float: right;
  margin-left: 5px;
  margin-top: 3px;
}

@media (min-width: 769px) {
    nav .main-nav .mega-menu {
        position: static;
    }

    nav .main-nav .mega-menu > ul {
        position: absolute;
        width: 80%;
        left: 10% !important;
    }

    nav .main-nav .mega-menu > ul > li > a {
        font-weight: bold;
    }

    nav .main-nav .mega-menu>ul>li {
        display: inline-block;
        width: 25%;
        vertical-align: top;
    }

    nav .main-nav .mega-menu.mega-menu-col-2>ul>li {
        width: 50%;
    }

    nav .main-nav .mega-menu.mega-menu-col-3>ul>li {
        width: 33.3333%;
    }

    nav .main-nav .mega-menu.mega-menu-col-5>ul>li {
        width: 20%;
    }

    nav .main-nav .mega-menu > ul > li:hover > a,
    nav .main-nav .mega-menu > ul > li:focus > a,
    nav .main-nav .mega-menu > ul > li[class*="current-"] > a,
    nav .main-nav .mega-menu ul ul {
        background-color: transparent !important;
        color: #ffffff;
    }

    nav .main-nav .mega-menu ul .sub-menu {
        position: static;
        display: block;
        opacity: 1;
        visibility: visible;
        width: 100%;
        box-shadow: 0 0 0;
        left: 0;
        height: auto;
    }

    nav .main-nav .mega-menu ul.toggled-on .sub-menu {
        pointer-events: auto;
    }

    nav .main-nav .mega-menu .sub-menu .menu-item-has-children .dropdown-menu-toggle {
        display: none;
    }

}
