/*
Theme Name: GBS Child
Theme URI: https://www.gbs-group.it/
Author: Global Business Solution S.r.l.
Author URI: https://www.gbs-group.it/
Description: GBS Custom WordPress Theme. This theme is not available for you to download or buy.
Template: gbs
Version: 1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

/*********** HEADER START ***********/

ul#primary-menu{
  display: block;
}

/*********** PRIMARY HEADER START ***********/

#striscia-competion h3.title-h3 {
  font-size: 50px;
}
/*
h3.title-h3 {
  font-size: 90px;
  font-weight: 900;
  line-height: 0.9;
  color: var(--custom-color-2);
}
*/






/*********** FOOTER END ***********/




/*generiche*/

div#navigation-bar > .navigation-content > .site-branding > figure.logo-container  > a > svg {
    display: block;
}

figure a img {
    transition:opacity 0.25s ease
}

figure a:hover img {
    opacity: 0.8;
}

.gap-150 {
  gap: 150px;
}

.gap-75 {
  gap: 75px;
}

.no-br br {
  display: none;
}

.programma-giorno br {
  display: none;
}

.bordo-paragrafi {
  width: 8px;
  margin: auto -4px auto -4px;
  background-color: var(--custom-color-2);
  height: 100%;
}
.bordo-paragrafi.dashed {
    width: 4px;
    margin: auto -2px auto -2px;
    background-color: var(--custom-color-2);
    background: linear-gradient(to top, transparent 50%, var(--custom-color-2) 50%);
    background-size: 8px 20px;
    height: 100%;
}
.bordo-rules {
    width: 30px;
    border: 4px solid;
    margin: auto -15px auto -15px;
    border-color: var(--accent-color);
    border-right: 0;
    /* background-color: var(--custom-color-2); */
    height: 100%;
    margin: auto;
}


.sfondo-decorazione {
    background-repeat: no-repeat;
    background-size: contain;
}
.sfondo-decorazione.decorazione-sx {
    background-position:left;
}
.sfondo-decorazione.decorazione-dx {
    background-position:right;
}

a.btn.circle {
    padding: 5px;
    width:38px;
    height:38px;
    display: flex;
    align-items: center;
    justify-content: center;
}
a.btn.circle span {
  font-size:1.5em;
  line-height:1;
}


/*image fit*/
.fit-left,
.fit-right,
.fit-left-small,
.fit-right-small {
    position:relative;
}

.fit-left img,
.fit-right img,
.fit-left-small img,
.fit-right-small img {
    max-width: none;
    position: absolute;
    object-fit: cover; 
}

.fit-left img,
.fit-left-small img {
    right:0;
}
.fit-right img,
.fit-right-small img {
    left:0;
}

/*small*/
.fit-left img,
.fit-right img {
    width:calc(100% + ((100vw - var(--w-container)) / 2) + var(--padding-singolo));
}

/*small*/
.fit-left-small img,
.fit-right-small img {
    width: calc(100% + ((100vw - var(--w-container-stretto)) / 2) + var(--padding-singolo));
}




/*visore*/

.logo-mobile{
  display: none;
  visibility: hidden;
}

section#visore {
    display: flex;
    height: calc(100dvh - var(--header-height));
    max-height:1000px;
    min-height:600px;
}
section#visore > .w-container {
    height: 100%;
}
section#visore > figure.sfondo-visore {
  height: 100%;
  width: auto;
  right: 0;
  top: 0;
}

@media(min-width:968px){
  section#visore > figure.sfondo-visore {
    display: flex;
    flex-direction: row;
    justify-content: end;
  }
  section#visore > figure.sfondo-visore >  img {
    width: 90%;
    height: 100%;
    object-fit: cover;
}

}
section#visore > figure.sfondo-visore >  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/*  video  */
section#video {
  background: linear-gradient(180deg, rgba(0,0,0,1) 80%, rgba(242,237,228,1) 50%);
}

section#video .video-player {
    width:100%;
    max-width:calc(1920px - 180px);
    height: auto;
    min-height: 450px;
    aspect-ratio: 16 / 9;
    border-radius: 40px;
    position:relative;
    margin-top: -10dvh;
    z-index:10;
}
section#video .video-player:before{
  content:"Watch the video";
  position:absolute;
  z-index:10;
  color:rgb(255 255 255 / 40%);
  right:40px;
  bottom: 30px;
  font-family: var(--family-h2);
  font-size: var(--size-h2);
  line-height: var(--lineH-h2);
  font-weight: var(--weight-h2);
  letter-spacing: var(--spacing-h2);
  transition: color 0.5s ease;
}
section#video .video-player:hover:before {
    color: rgb(255 255 255 / 0%);
    margin-bottom: -100px;
    transition: 0.5s;
}
/*generico*/
.video-player > video {
  width: 100%;
  height:100%;
  vertical-align: middle;
  object-fit: cover;
}
.video-player > video:not(.control-visible)::-webkit-media-controls {
  display: none;
}
.video-overlay-play-button {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 10px calc(50% - 70px);
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  opacity: 1;
  cursor: pointer;
  background: rgb(16 16 16 / 55%);
}
.video-overlay-play-button {
  backdrop-filter: blur(5px);
  --webkit-backdrop-filter: blur(5px);
  transition: all 0.5s ease;
}
.video-overlay-play-button:hover {
  background: rgb(16 16 16 / 55%);
  backdrop-filter: blur(0px);
  --webkit-backdrop-filter: blur(0px);
  transition: all 0.5s ease;
}
.video-overlay-play-button.is-hidden {
  display: none;
}
.video-player svg.video-overlay-play-button circle {
  fill: #ffffff00;
  stroke-width: 5px;
  stroke: rgb(255 255 255 / 85%);
  transition: all 0.5s ease;
}
.video-player svg.video-overlay-play-button:hover circle{
  fill:rgb(255 255 255 / 85%);
  stroke-width: 5px;
  stroke: rgb(255 255 255 / 85%);
}
.video-player svg.video-overlay-play-button polygon {
  fill: rgb(255 255 255 / 85%);
  transition: all 0.5s ease;
}
.video-player svg.video-overlay-play-button:hover polygon{
  fill: #000000eb;
}

/*  join  */
section#join .sfondo-decorazione {
    background-position: 12.5%  center;
}

section#striscia-join > .contenuto {
    min-height: 600px;
}
section#striscia-join > .contenuto > div.col-30-flex {
    padding-left:75px;
}


/*programma*/
section#striscia-competion {
    background-image:  url(/wp-content/uploads/2024/04/national.png), url(/wp-content/uploads/2024/04/international.png);
    background-repeat: no-repeat;
    background-position: left bottom, right bottom;
    background-size:300px;
    min-height: 600px;
    display: flex;
    align-items: center;
}

section#striscia-competion > .contenuto .giorni{
  gap: 20px;
  flex-wrap:wrap;
  flex-direction: row;
  margin-top: 30px;
  }

section#striscia-competion .giorno {
  border: 1px solid var(--custom-color-2);
  padding: 20px;
  width: 40%;
  min-width:220px;
  flex-grow:1;
}
section#striscia-competion > .contenuto > .col-40-flex:nth-child(1) {
  order:1;
}
section#striscia-competion > .contenuto > .col-40-flex:nth-child(2) {
  order:3;
}
section#striscia-competion > .contenuto > .separatore {
   order:2;
}

/*gallery*/
section#gallery-accademy > .contenuto > .gallery{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: auto;
    gap: 10px;
    width: 100%;
    max-width: calc(1920px - 180px);
    height: auto;
    position: relative
}


.dashicons-facebook-alt:before {
  content: "\f305" !important;
}

/*rules*/
.regola:nth-last-child(1) {
  border-bottom:none;
}

.regola {
 border-bottom: 2px dashed #A79075;
 margin-bottom:20px;
 padding-bottom:20px;
}

/*premi*/
.classifica {
    gap: 40px;
}
.classifica .single-classifica:not(:last-child) .testo-classifica{
    border-right: 2px dashed #A79075;
    padding-right:40px;
}
.classifica .single-classifica .testo-alternativo * {
    color: var(--text-color-alt) !important;
    padding: 0;
    margin: 0;
    list-style: inside;
}
.classifica .single-classifica ul li:before {
    content:none;
}
.classifica .single-classifica ul li::marker {
    content: '- ';
}
.classifica .single-classifica figure.icona-classifica img {
    max-width: 70px;
}


/*internazionale*/
.classifica-internazionale .classifica {
    gap: 40px;
}
.classifica-internazionale .classifica .single-classifica:not(:last-child) .testo-classifica{
    border-right: 2px dashed #A79075;
    padding-right:40px;
}

/*popup*/

div.dialog-content {
    display: inline-block;
    width: var(--w-container);
    min-width: 300px;
    min-height: 400px;
    background-color: var(--custom-color-3);
    border-radius:30px;
}

button.fancybox-button.fancybox-close-small {
    color:white;
    border:1px solid;
    background-color: var(--custom-color-2);
    border-color: var(--custom-color-2);
    border-radius:30px;
    transition:0.3s ease-in-out;
    margin:20px;
}

button.fancybox-button.fancybox-close-small:hover {
    transition:0.3s ease-in-out;
}

.info-popup {
  border-top: 1px dashed;
  border-color: var(--custom-color-2);
  padding-top: 20px;
  margin-top: 20px;
}

.corpo-popup .border-top {
  border-top: 2px dotted var(--custom-color-2);
  padding-top: 20px;
}

/*prefooter*/

.prefooter span.dashicons {
  border: 1px solid var(--custom-color-2);
  padding: 10px;
  display: inline !important;
  border-radius: 30px;
  margin: 0;
}

.single-classifica .gap-20px {
  flex-direction: column;
  min-height: 200px;
}

/*single expert*/

figure.img-expert {
  aspect-ratio: 1 / 1;
  border-radius: 9999px;
  overflow: hidden;
  padding: 20px;
  border: 2px solid var(--custom-color-2);
}

figure.img-expert img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9999px;
}

#striscia-join ul {
  list-style: disc;
}


/*form contatto*/

div#form-contatto .radio p {
  display: flex;
  text-align: left;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
}

.file span.wpcf7-form-control-wrap {
  display: grid!important;
  width: 100%!important;
  margin: 7px 0;
}

.wpcf7 input, .wpcf7 select, .wpcf7 textarea {
  border: 1px solid #00000030;
}

.selezioni span.wpcf7-form-control.wpcf7-checkbox.wpcf7-validates-as-required {
  display: flex;
  flex-direction: column;
  align-items: baseline;
}

.wpcf7 input:-webkit-autofill {
  padding: 10px 10px;
}

.dati-form p {
  font-size: 14px;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
  border-radius: 999px;
  background-color: var(--custom-color-2);
  border-color: var(--custom-color-2);
  color: white;
  font-weight: 500;
}

.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea, .wpcf7 select,.wpcf7 input, .wpcf7 select, .wpcf7 textarea {
  background-color: white;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner {
  cursor: pointer;
}

/*header popup*/

div#diramazione {
  background-color: var(--custom-color-3);
  border-radius: 20px;
  min-width: 300px;
  max-width: 700px;
  width: 100%;
}

.candidatura {
  border: 1px solid var(--custom-color-2);
  color: white;
  padding: 30px;
}

div#diramazione {
  cursor: default;
}

div.dialog-content {
    overflow-x: hidden;
}

.corpo-popup .bordo {
  border-left: 0;
  border-right: 0;
  border-top: 3px dotted var(--custom-color-2);
  border-bottom: 3px dotted var(--custom-color-2);
}

.dati-form span.wpcf7-list-item-label {
  font-weight: 600;
}

.img-badge img {
  max-height: 200px;
}

/* menu */

ul#primary-menu {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    border: 1px solid var(--accent-color);
    border-radius: 200px;
    height: 100%;
    margin-bottom: 12%;
    justify-content: center;
}
nav#site-navigation {
    display: contents;
}

nav#site-navigation {}

div#lingue {
    margin-right:10px;
}

ul#primary-menu {
    display: flex;
    gap:6px;
	margin-top:10px;
}

#primary-menu > li.wpml-ls-menu-item > a{
	border:1px solid #000000;
}

.site-menu {
    justify-content: space-between;
}



/*-------------------language-switcher-------------------*/
header .language-switcher {
    position:relative;
    opacity: 0.8;
    transition:opacity 0.25s ease;
    margin-right:20px;
}
header .language-switcher:hover {
    opacity: 1;
}
header .language-switcher:after {
    content: '\e5cf';
    font-family: 'Material Icons';
    font-weight: 300;
    font-style: normal;
    font-size:24px;
    color: var(--accent-color);;
    right:0px;    
    position: absolute;
    pointer-events: none; 
}
header .language-switcher select {
    background:transparent!important;
    color: var(--text-color-header);
    border:0px;
    font-size: 15px;
    line-height: 1;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Add some styling */
    padding:10px 20px;
}
header.transparet .language-switcher select {
    background:transparent!important;
    color: var(--text-color-header-transparent);
}
/* IE11 hide native button (thanks Matt!) */
header .language-switcher select::-ms-expand {
    display: none;
}
header .language-switcher select option {
    color: var(--text-color);
    font-size:16px;
}


/*mod 2025*/

.galleria .owl-item {
    height: 400px;
    border-radius:20px;
    overflow:hidden
}

.galleria .owl-item img{
    object-fit:cover;
    height:100%;
}


section#gallery-accademy .owl-nav i {
    font-size: 25px;
    color: var(--accent-color);
    padding: 10px 15px;
    border-radius:50px;
    background: #f9f9f9;
    border:1px solid var(--accent-color);
}

section#gallery-accademy .owl-nav {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 40%;
    margin-bottom: 30px;
    /* max-width: var(--w-container-large); */
    width: calc(100% + 30px);
    margin-left:-15px;
    padding: 0 50px 0 0;
}



@media (max-width: 600px) {
section#gallery-accademy    .owl-nav {
        top:40%
    }
}


section#gallery-accademy .owl-nav button.disabled {
    opacity:0;
}


.corpo-popup ul li {
    color:white;
}

.corpo-popup ul  {
    margin:0;
}