/*
 Theme Name:   Onyx Theme
 Theme URI:    https://understrap.com
 Description:  Understrap Child Theme by Francesco
 Author:       the Understrap Contributors, Francesco Rossi
 Author URI:   https://github.com/understrap/understrap-child/graphs/contributors
 Template:     understrap
 Version:      1.2.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  understrap-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
 GitHub Theme URI: understrap/understrap-child
*/
:root {
    --bs-link-color: #9f9f9f!important;
    --bs-btn-color: #9f9f9f!important;
    --bs-primary-rgb: #545454!important;
    --bs-btn-border-color: #363636!important;
    --bs-btn-hover-bg: #414141!important;
    --bs-btn-bg: #3c3c3c!important;
  }
  
  
  /* DEBUG */
  .red{
    background-color: red;
  }
  .yellow{
    background-color: yellow;
  }
  .blu{
    background-color: #002bff;
  }
  .green{
    background-color: green;
  }
 
  
  /* Navbar */
.custom-logo-link img{
    height: 79px!important;
    width: 183.6px!important;
}
.nav-logo-text{
  height: 80px!important;
  margin-left: 10px;
}
.active{
    background-color: #393731;
    border-radius: 25px;
}
.active .nav-link{
    color: rgb(227, 227, 227);
}
.nav-link{
  color: #121212;
}
.nav-item:hover{
    background-color: #393731;
    border-radius: 25px;
    transition: background-color 0.5s ease;
}
.menu-item{
  margin-left: 3px;
  margin-right: 3px;
  color: #121212!important;
}
.navbar{
    background-color: #edededbb!important;
    backdrop-filter: blur(6px);
    z-index: 20;
    position:fixed;
    top: 0;
    width: 100%;
    height: 100px;
}

@media (max-width: 767.98px) {
  .nav-link{
    text-align: center;
  }
  .menu-item{
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 1.5rem;
  }
  .navbar-collapse{
    background-color: #edededbb;
    backdrop-filter: blur(6px);
    border-radius: 6px;
    margin-top: 3px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
}
.pll-parent-menu-item{
  background-color: transparent;
}


/* Footer */


.footer-social a, .footer-social a:visited, .footer-social a:active{
    font-size: 2rem;
    text-decoration: none;
    color: rgb(23, 23, 23);
    margin: 10px;
  }
  
  
  #wrapper-footer{
    height: 120px;
    width: 100%;
    background-color: rgba(var(--bs-primary-rgb));
    z-index: 10;
  }

  /* Home */
  .bg-hero{
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 0px;
  top: 0px;
  box-sizing: content-box;
  min-height: 1000px;
  padding-top: 100px;
  }
  .home-hero{
  height: 100vh;
  position: relative;
  box-sizing: content-box;
  overflow:hidden;
  padding-bottom: 0!important;
  }
.image-side{
  min-height: 50vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 0;
}
.hero-logo{
    margin-top: 100px;
    filter: drop-shadow(5px 5px 5px #222);
}
.image-fade-l, .image-fade-r{
  
  height: 100%;
  width: 100%;
  margin: 0;
  min-height: 50vh;
}
.image-fade-r{

}
.storia-descrizione{
  padding: 5%;
}

.home-cont{
  margin-bottom: 0;
  padding-top: 0;
  margin-top: 0!important;
  overflow: hidden;
}
@media (max-width: 767.98px) {
  .image-fade-l, .image-fade-r{
    background: linear-gradient(-90deg, rgba(255,255,255,0) 1%, rgba(255,255,255,0) 10%);
  }
  .storia-descrizione{
    padding: 10%;
  }
}
.btn-contact{
  background-color: #5c5d4e;
  color: #e0e0e0;
}
.btn-contact:hover, .btn-contact:focus, .btn-contact:active{
  background-color: #696a5a!important;
  color: white;
}

    /* Common */
  .text-shadow{
    text-shadow: 2px 2px 6px #000000;;
  }
  .bg-image{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }
  .page-title{
    font-size: 3rem;
    text-shadow: 2px 2px 7px #000000;
    font-family:'Roboto Flex', sans-serif;
  }
  .fix-min-height{
    min-height: 60vh;
  }
.type-review{
  text-align: center;
}
.type-review .entry-content{
  font-style: italic;
}
.title-404{
  height: 40vh;
}
.btn-404{
  background-color: #393731;
}
.btn-404:hover, .btn-404:focus, .btn-404:active{
  background-color: #3a3a31!important;
}
    /* Biography */
.video-container{
  height: 50vh;
  overflow: hidden;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}
.video-container>.col-12{
  margin: 0;
  padding: 0;
}
.video-endpage{
  pointer-events: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-bio-side{
  min-height: 60vh!important;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 0;
}
.bio-page{
  min-height: 50vh;
}

@media (max-width: 992px) {
  .image-bio-side{
    display: none;
  }
}
@media (min-width: 991.98px) {
  .img-bio-desktop{
    display: hidden;
    height: 0;
  }
}



/* Services */
.service-col{
  height: 400px;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  vertical-align: middle;
  border-radius: 15px;
  padding: 0;

}
.service-helper{
  background: #00000048;
  transition-property: all;
  transition-duration: .3s;
  transition-timing-function: ease;
}
.service-title{
  text-align: center;
  width: 100%;
  margin: auto auto;
  font-size: 2.5rem;
  color: rgb(237, 237, 237);
  text-shadow: 2px 2px 7px #000000;
  transition-property: all;
  transition-timing-function: ease;
  transition-duration: .3s;
}
.service-col:hover .service-title {
  font-size: 3rem;
}
.service-col:hover .service-helper, .widget-bg-image:hover .service-helper{
  backdrop-filter: blur(3px);
}

.background-holder {
  overflow: hidden;
  margin: 0 auto;
  position: absolute;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}



/* Blog */
.article-list{
  margin: 30px 10px;
  text-decoration: none;
  background: #f3f3f3ae;
  border-radius: 7px;
  transition: transform .2s ease-in-out;
}
.article-list img{
  border-radius: 10px;
}
.list-article, .list-article:active, .list-article:hover, .list-article:visited{
  text-decoration: none!important;
  color: #121212;
}
.list-title {
  margin-left: 7px;
  margin-top: 15px;
}
.list-description{
  margin-left: 7px;
  margin-top: 10px;
}
.thumb-list{
  padding-left: 0;
  padding-right: 0;
}
.article-list:hover{
  transform: scale(1.01);
}
.thumb-list img{
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
@media (max-width: 767.98px) {
  .thumb-list img{
    border-top-right-radius: 10px;
    border-bottom-left-radius: 0;
  }
} 

/* Contact */
.social-link, .social-link:visited, .social-link:active{
  color: #121212;
  text-decoration: none;
  font-size: 3rem;
}
.btn-outline-primary, .wpcf7 input[type=submit]{
  background-color: #a09287;
  border: 0;
  color: black;
}
.wpcf7-submit:hover, .wpcf7-submit:focus, .wpcf7-submit:active{
  background-color: #696a5a!important;
}
.wpcf7-response-output{
  border-radius: 10px;
}
.acf-map{
  border-radius: 10px;
}
.contact-container{
  position: relative;
  margin: 0;
  padding: 0;
}
.contact-container video{
  position: absolute;
  bottom: 0;
}
/* Widget Services */
.widget-bg-image{
  height: 200px;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  vertical-align: middle;
  border-radius: 15px;
  padding: 0;
}
.widget-bg-image .service-title{
  font-size: 2rem;
}
.widget-bg-image:hover .service-title{
  transform: scale(1.1);
}
	
.grecaptcha-badge { visibility: hidden; }

/* Common */ 
.wrapper{
  overflow: hidden;
}
.grecaptcha-badge { visibility: hidden; }




/* CUSTOM PART */ 


/* Home */ 
.home-area-btn{
    text-decoration: none;
    border: 2px solid rgba(80, 80, 80, 0);
    border-radius: 10px;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 2rem;
    background-color: #7c7c7cb9;
    color: #f4f4f4;
    transition-property: all;
    transition-timing-function: ease;
    transition-duration: .3s;
    line-height: 90px;
}
.home-area-btn:hover{
    font-size: 2.2rem;
    color: white;
    background-color: #7c7c7cde;
  }


/* Event Form */ 
.event-form-style{

}
.event-form-style > .wpcf7{
width: 100%;
max-width: 1200px;
}
.wpcf7 input[type=text], .wpcf7 input[type=tel], .wpcf7 input[type=email], .wpcf7 input[type=your-email], .wpcf7 textarea{
  border: 0;
  border-radius: 0;
  border-bottom: 0.5px solid #b5b5b5;
}
.eacf7-form-styler-minimal{
padding: 0!important;
}