/*
 Theme Name:   Nextawards Child
 Template:     nextawards
 Version:      1.0.0
 Author:       Marco Zoni
*/

/* color brand */
  --brand: #0a54cf;        /* link, button */
  --brand-dark: #0b328f;   /* link, button hover, footer */
  --brand-grey: #e9e9e9;   /* link footer */
  --brand-wpcf7: #fafbff;  /* background-wpcf7 input, area */
  
 

/* ! Body                                               -- Body --*/
a {
  text-decoration: none !important;
}
.text-content a,
.comment-content a {
  text-decoration: none;
}

/* ! Header                                             --Header --*/
.header {
  box-shadow: 0 4px 20px;
  padding-bottom: 10px;
}

.header__content {
  border-bottom: 1px solid #fff !important;    
}
.header li a {
  font-variant: small-caps;
  font-family: Lato;
  font-size: 18px;
  color: #0a54cf;
  text-decoration: none;
  padding: 16px 16px 2px 16px;
}

.header li a::after {
  content: "";
  border-bottom: 1px solid #0a54cf;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  transition: 0.3s;
}

.header li a:hover:after {
  width: 100%;
}

.header__quick a span{
    border:2px solid var(--site-bg);
}
.header__quick a span:hover{
    border:2px solid #0a54cf;
}
span.icon-fb,
span.icon-in{
    width: 24px;
    height: 24px;
}

.header__quick ul li a::after {
  border-bottom: none;
}

.wp-image-210,
.wp-image-212,
.wp-image-213,
.wp-image-218,
.wp-image-219,
.wp-image-205,
.wp-image-229,
.wp-image-230,
.wp-image-231 {
  padding: 2px;
  border: 3px solid black;
}

/* ! Button                                             -- Button --*/
.wp-block-button .wp-block-button__link, .evi a {
    border-radius: 4px !important;
}

/* ! Button Arrow                                       -- Button Arrow --*/
.button-arrow {
  position: relative;
}
.button-arrow:after {
  content: " ";
  height: 50px;
  width: 40px;
  position: absolute;
  left: 50%;
  top: 40px;
  transform: translateX(-50%);
  background: url(img/down-arrow.svg) no-repeat center center;
  z-index: -1;
  animation: discoverArrowOut 2.8s infinite;
}

/* Pagina Siti Vetrina & Restyling               --Siti Vetrina & Restyling--*/

.page-id-847 .wp-block-media-text__content {
    padding-left: 0px;
}
.page-id-898 .wp-block-media-text__content {
    padding-left: 0px;
}

/* Pagina Contatti                                         -- Contatti --*/

.card__contatti {
    min-width: 320px;
}
/* ! Form Contact */
.wpcf7 {
  padding: 30px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #0a54cf;
}
input.wpcf7-text {
  background: #fafbff;
  border-radius: 5px;
}
textarea.wpcf7-textarea {
  background: #fafbff;
  border-radius: 5px;
}
input.wpcf7-submit {
  background: #0a54cf;
  border-radius: 5px;
  margin-top: 40px;
}
.wpcf7-list-item input {
  margin: 10px 10px 0 0;
  background: #fff;
  display: inline;
  appearance: value;
  -webkit-appearance: checkbox;
}

/* ! Footer                                             -- Footer --*/
footer {
  margin-left: -3%;
  margin-right: -3%;
  padding: 2% 15% 1% 15%;
  width: 106%;
  color: #e5e5e5;
  background: #0b328f;
}
footer a{
    color: #e9e9e9;
}
footer .grid p{
    font-size: 14px;
}
footer a:hover{
    color: #fff;
}

footer hr {
  margin-left: -15%;
  margin-right: -15%;
  width: 130%;
}
hr {
  border: none;               /* Rimuove il bordo predefinito */
  height: 1px;                /* Imposta lo spessore della riga */
  background-color: #e9e9e9;  /* Scegli il colore desiderato */
}
/* Animation on scroll */
.fade {
  opacity: 0;
  transform: translateY(60px);
  transition: 1s ease-in-out;
  will-change: transform, opacity;
}
.fadeIn {
  opacity: 1;
  transform: translateY(0px);
}

/* Animation on load                                -- Animation on load --*/
@keyframes fade-load {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.load {
  opacity: 0;
  animation: fade-load cubic-bezier(0.385, 0.135, 0.15, 0.86) 0.8s forwards;
}

/* ! Smartphone                                         -- Smartphone --*/
@media (max-width: 768px){
    
    body{
        padding: 0 4vw 0 4vw;
    }
  .wp-block-cover .wp-block-cover__image-background {
    display: none;
  }
  img.wp-image-356 {
    width: 100%;
  }
  .home  h1, .home h2 {
    font-size: 42px !important;
    }
  .home.cover {
        margin: 0;
        padding: 0;
    }
}

/* Arrow animation                                      -- Arrow animation --*/
@keyframes discoverArrowOut {
  0% {
    opacity: 0;
    -webkit-transform: translate(-50%, -180%);
    transform: translate(-50%, -180%);
  }
  50%,
  70% {
    -webkit-transform: translate(-50%, -65%);
    transform: translate(-50%, -65%);
    opacity: 1;
  }
  100% {
    -webkit-transform: translate(-50%, 25%);
    transform: translate(-50%, 25%);
    opacity: 0;
  }
}
