/*
 * Theme Name: Educational Goal
 * Author: Officine Sostenibili società benefit
 */

 /* Show it is fixed to the top */
 body {
   background-color: white;
     font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
 }


 h1, h2, h3, h4, h5, h6 {
  color: #666666
 }


 h1 {
   font-size: 4rem;
 }

  h2 {
   font-size: 3.5rem;
 }




 a {
   color: #F7BB50;
   text-decoration: none;
 }

 a:hover {
   color:#136b6d;
 }

 strong {
  font-weight: bold;
}

b {
    font-weight: bold;
}

mark {
    padding: 0;
}

.navbar-light .navbar-toggler {
  color: rgba(0,0,0,.5);
  border-color: #fff;
}

/* Navbar dropdown
========================================================*/
/*Set background of dropdown parent*/


/*Set color of dropdown parent and child links*/
.dropdown a{
  color: var(--bs-dark);
}

.dropdown-item.active, .dropdown-item:active {
  background-color: #f4dfa1;
  text-decoration: none;

}

/*Set the background of parent on hover*/


/*Set background of dropdown menu*/
.dropdown-menu {
  background:  #fff;
}

/* Desktop: apertura al passaggio del mouse */
@media (min-width: 992px) {
  .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
  }
  
  .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}


.nav-link {
  display: block;
  padding-top: 2px !important;
}

.navbar-light .navbar-nav .nav-link {
  color: #5f6e73;
  text-transform: uppercase;
}

.active{
  color: #2e83b7 !important;

}


.page-header {
  height: 80px;
  background-image: url("/educational/wp-content/themes/educational_goal/img/bg-page-header.png");
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
  text-transform: uppercase;

}

.page-inner-header {

  border-top: #020710 solid 1px;
  text-transform: lowercase;

}

.title-inner-page {
 
  color: #68a4c8;


}

.home-cta {
  font-size: clamp(1.2rem, 4vw, 2rem);
  color: #F7BB50;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.home-cta-small {
  font-size: clamp(1rem, 4vw, 1.5rem);
  color: #F7BB50;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.testo-cartellone {
  color: #74787a;
  font-size: 1.50rem;
}

.testo-icone-home {
  color: #666666;
  text-transform: lowercase;

}

.card-title-cartellone {
  font-size: 1.75rem;
}

.page-footer {
  height: 20px;
  background-image: url("/educational//wp-content/themes/educational_goal/img/bg-page.png");
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
  text-transform: uppercase;

}

.title_line {
  border-top: 1px solid #222222 !important;
  width: 120px;
}

.wp-caption {
	border:1px solid #dedede;
	border-radius:4px;
	padding:5px;
	box-shadow: 0 1px 4px #dedede;
}

.wp-caption-text{
	text-transform:uppercase;
	font-weight:bold;
	margin:10px 0 0;
	background:#EFEFEF;
	padding:5px;
  min-height: 120px;
}

.text_caption_small p {
    font-size: 1rem;
    text-align: left;
    color: #3d6467;
}

.wp-block-separator.is-style-wide {
  border: 0;
    border-top: 1px solid #F7BB50;
        background: transparent;
    
}

.end-column {
  margin-bottom: 0 !important;
}

 .bg-custom {
    background-color: #f2c70d;
    
}

 .bg-custom-uno {
	 color: #fff;
    background-color: #6fc1ea;
    
}

 .bg-custom-due {
    background-color: #da4745;
    
}

 .btn-primary {
    color: #2e83b7;
    background-color: #f4dfa1;
    border-color: #e5c34f;
}

 .btn-primary:hover {
    color: #fff;
    background-color:#e5c34f;
    border-color: #f4dfa1;
}


.btn-secondary:hover {
  background-color: #edb95e;
  border-color: #edb95e;

}

.btn-video-home {
  color: #fff;
  background-color:#d53d3b;
  border-color: #d53d3b;
}

.btn-video-home:hover {
  color: #fff;
  background-color:#2e83b7;
  border-color: #2e83b7;
}


.offcanvas-nav .form-inline { display: none}
.is-hidden {  visibility: hidden;}


 .wp-block-columns {
  display: flex;
}

.wp-block-column {
  flex: 1;
}

@media (max-width: 999px){
.numero {
  display: block;
}
}
.border-cartellone {
  background-image: url('img/border.png');
  background-repeat: no-repeat;
  background-position: right; 
}

@media (max-width: 600px) {
  .border-cartellone {
    background-image: url('img/border-sm.jpg');

  }
}


.border-sezione-index {
  background-image: url('img/border-sezione-index.jpg');
  background-repeat: no-repeat;
  background-position: top right; 
}

@media (max-width: 600px) {
  .border-sezione-index {
    background-image: url('img/border-sezione-index-sm.jpg');

  }
}



.wpcf7
{
    background-color: #f3f5f2;
    border: none;
    padding: 1rem;
}


input[type="text"],
input[type="email"],
input[type="tel"],
textarea
{
    background-color: #fff;
    color: #000;
    width: 100%;
    border: none;
    margin-top: 10px;
    padding: 10px;
}

textarea {
  max-height: 200px;
}
::placeholder {
  font-size: 0.8em;
}

.wpcf7-submit {
  background-color: #71bbe4;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 1rem;
}

.wpcf7-submit:hover {
 background-color: #f4d430;
}

section.slide-option {
	margin:0 0 50px 0;
	.no-marg { margin:0 0 0 0; }
}

div.highway-slider {
	justify-content:center;
	width:100%;
	height:150px;
	div.highway-barrier {
		overflow:hidden;
		position:relative;
	}
	ul.highway-lane {
		display:flex;
		height:100%;
		li.highway-car {
			flex:1;
			display:flex;
			justify-content:center;
			align-items:center;
		
			color:#343434;
		}
	}
}

@keyframes translatestf {
	0% { transform:translateX(100%);  }
	100% { transform:translateX(-500%);  }
}
#stffull div.highway-barrier {
	ul.highway-lane {
		width:500%;
		li.highway-car {
			animation:translatestf 30s linear infinite;
			h4 { font-size:28px; }
		}
	}
}

@keyframes translateinfinite {
	100% { transform:translateX(calc(-180px * 18));  }
}
#infinite div.highway-barrier {

	
	&::before,
	&::after {
		content: " ";
		position:absolute;
		z-index:9;
		width:240px;
		height:100%;	
	}
	&::before {
		top:0;left:0;
		background: linear-gradient(to right, #f2f7fa 0%, rgba(255,255,255,0) 100%);
	}
	&::after {
		top:0;right:0;
		background: linear-gradient(to left, #f2f7fa 0%, rgba(255,255,255,0) 100%);
	}
	ul.highway-lane {
		width:calc(180px * 24);
		li.highway-car {
			width:240px;
			animation:translateinfinite 30s linear infinite;
			span.fab {
				font-size:65px;
			}
		}
	}
}


@media (max-width: 699px){
  .masonry-grid-item {
    animation: none !important ;
  }
} 


.single_advisor_profile {
    position: relative;
    margin-bottom: 50px;
    -webkit-transition-duration: 500ms;
    transition-duration: 500ms;
    z-index: 1;
    border-radius: 15px;
    -webkit-box-shadow: 0 0.25rem 1rem 0 rgba(47, 91, 234, 0.125);
    box-shadow: 0 0.25rem 1rem 0 rgba(47, 91, 234, 0.125);
}
.single_advisor_profile .advisor_thumb {
    position: relative;
    z-index: 1;
    border-radius: 15px 15px 0 0;
    margin: 0 auto;
    padding: 30px 30px 0 30px;
    background-color: #e9e8e9;
    overflow: hidden;
}
.single_advisor_profile .advisor_thumb::after {
    -webkit-transition-duration: 500ms;
    transition-duration: 500ms;
    position: absolute;
    width: 150%;
    height: 80px;
    bottom: -45px;
    left: -25%;
    content: "";
    background-color: #ffffff;
    -webkit-transform: rotate(-15deg);
    transform: rotate(-15deg);
}
@media only screen and (max-width: 575px) {
    .single_advisor_profile .advisor_thumb::after {
        height: 160px;
        bottom: -90px;
    }
}
.single_advisor_profile .advisor_thumb .social-info {
    position: absolute;
    z-index: 1;
    width: 100%;
    bottom: 0;
    right: 30px;
    text-align: right;
}
.single_advisor_profile .advisor_thumb .social-info a {
    font-size: 14px;
    color: #020710;
    padding: 0 5px;
}
.single_advisor_profile .advisor_thumb .social-info a:hover,
.single_advisor_profile .advisor_thumb .social-info a:focus {
    color: #3f43fd;
}
.single_advisor_profile .advisor_thumb .social-info a:last-child {
    padding-right: 0;
}
.single_advisor_profile .single_advisor_details_info {
    position: relative;
    z-index: 1;
    padding: 30px;
    text-align: right;
    -webkit-transition-duration: 500ms;
    transition-duration: 500ms;
    border-radius: 0 0 15px 15px;
    background-color: #ffffff;
}
.single_advisor_profile .single_advisor_details_info::after {
    -webkit-transition-duration: 500ms;
    transition-duration: 500ms;
    position: absolute;
    z-index: 1;
    width: 50px;
    height: 3px;
    background-color: #ffc340;
    content: "";
    top: 12px;
    right: 30px;
}
.single_advisor_profile .single_advisor_details_info h6 {
    margin-bottom: 0.25rem;
    -webkit-transition-duration: 500ms;
    transition-duration: 500ms;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .single_advisor_profile .single_advisor_details_info h6 {
        font-size: 14px;
    }
}
.single_advisor_profile .single_advisor_details_info p {
    -webkit-transition-duration: 500ms;
    transition-duration: 500ms;
    margin-bottom: 0;
    font-size: 14px;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .single_advisor_profile .single_advisor_details_info p {
        font-size: 12px;
    }
}
.single_advisor_profile:hover .advisor_thumb::after,
.single_advisor_profile:focus .advisor_thumb::after {
    background-color: #ffc340;
}
.single_advisor_profile:hover .advisor_thumb .social-info a,
.single_advisor_profile:focus .advisor_thumb .social-info a {
    color: #ffffff;
}
.single_advisor_profile:hover .advisor_thumb .social-info a:hover,
.single_advisor_profile:hover .advisor_thumb .social-info a:focus,
.single_advisor_profile:focus .advisor_thumb .social-info a:hover,
.single_advisor_profile:focus .advisor_thumb .social-info a:focus {
    color: #ffffff;
}
.single_advisor_profile:hover .single_advisor_details_info,
.single_advisor_profile:focus .single_advisor_details_info {
    background-color: #ffc340;
}
.single_advisor_profile:hover .single_advisor_details_info::after,
.single_advisor_profile:focus .single_advisor_details_info::after {
    background-color: #ffffff;
}
.single_advisor_profile:hover .single_advisor_details_info h6,
.single_advisor_profile:focus .single_advisor_details_info h6 {
    color: #ffffff;
}
.single_advisor_profile:hover .single_advisor_details_info p,
.single_advisor_profile:focus .single_advisor_details_info p {
    color: #ffffff;
}

/* Allinea il separator WordPress allo stile Bootstrap <hr> */
.wp-block-separator {
  margin-top: 1.5rem;   /* my-4 => 1.5rem sopra */
  margin-bottom: 1.5rem;/* my-4 => 1.5rem sotto */
  border: 0;            /* reset WP default */
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important; /* stile Bootstrap */
  opacity: 1;
}

.footer-bottom {
  background: #31110F;
  color: #f5f5f5;
  padding: 2rem 0;
  font-size: 0.85rem;
}

.footer-bottom a {
 color: #fff;

}

@media (max-width: 988px){
  .wp-caption {
    /* Force the box to be 100% */
    width: 100% !important;
  }
  .container .wp-caption img {
    /* Scale down if too big */
    max-width: 99.03225806%; /* 614/620 */
    height: auto;
  }
}

.ratio > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}

.video-responsive .wp-block-embed__wrapper { position: relative; width: 100%; padding-top: 56.25%; /* 16:9 */ } .video-responsive .wp-block-embed__wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

@media (max-width: 600px) {
  body {
    padding-top: 10px;

  }
}


@media (max-width: 600px) {

  .navbar-light .navbar-nav .nav-link {
    border-right-style: hidden !important;

  }
.border-right-home {
 border-right-style: hidden !important;
}
.news-wrap {
  width: 90%;
}
.home-claim {
  font-size: 1.6rem;
}

}


.grecaptcha-badge{visibility: collapse !important;}
