/* 
	Autore: University of Teramo
*/

@import url('https://fonts.cdnfonts.com/css/helvetica-neue-55');

:root {
  --verde: #378A40;
  --highlight: #EFB54F;
  --secondary: #9EC043;
  --light-green: #f5faed;
  --font: 'Helvetica Neue', sans-serif;
  --font_bold: 'Helvetica Neue Bold', sans-serif;
  --font_black: 'Helvetica Neue Black', sans-serif;
}

.iub__us-widget {
  display: none !important;
}

a.iubenda-tp-btn.iubenda-cs-preferences-link {
  display: none !important;
}

button.iubenda-tp-btn.iubenda-cs-preferences-link {
  display: none !important;
}

a.iubenda-cs-brand-badge {
  display: none !important;
}

/* COLUMNS UTILITIES */

.grid {
  display:grid;
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 80px;
}

@media(max-width:768px){

  .grid-2 {
    grid-template-columns: 1fr !important;
    place-items: center !important;
    gap: 20px;
  }

  .grid-3 {
    grid-template-columns: 1fr !important;
    place-items: center !important;
    gap: 20px;
  }
    
}

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
  font-family: var(--font);
}

body {
  -webkit-animation: caricamento 1s ease-in-out forwards;
  -moz-animation: caricamento 5s ease-in-out forwards;
  -o-animation: caricamento 1s ease-in-out forwards;
  animation: caricamento 1s ease-in-out forwards;
}

@keyframes caricamento {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes caricamento {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-moz-keyframes caricamento {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  } 
}

*:focus, *:hover {
  outline: none;
  outline-offset: unset;
}

b, strong {
  font-weight: 700;
  font-family: var(--font_bold);
}

*, *:before, *:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;

}

h1, h1 span {
  font-weight: 800;
  font-family: var(--font_bold);
}

h1 span {
  /* font-style: italic; */
  color: var(--highlight);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all .3s ease-in-out;
  font-family: var(--font);
}

a:hover {
  text-decoration: none;
}

a.iubenda-tp-btn.iubenda-cs-preferences-link {
  display: none !important;
}

p {
  font-size:16px;
  line-height:1.5;
  margin-bottom: 20px;
  color: var(--verde);
}

h1,h2,h3,h4,h5,h6 {
  margin-bottom: 20px;
}

img {
  max-width: 100%;
  object-fit: cover;
  height: auto;
}

.abslink {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
}

.container {
  width: 100%;
  position: relative;
  max-width: 1340px;
  margin: 0 auto;
}

.full-width-container {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}


.flex-container{
  display:flex !important;
}

.align-center {
  align-items:center;
}

.col-footer {
  position: relative;
  display: flex;
  column-gap: 80px;
  align-items: flex-start;
  justify-content: center;
}

.widget-footer {
  width: 25%;
}

.widget ul {
  list-style: none;
  line-height: 24px;
}

.widget ul li a {
  color:black;
  text-decoration: underline;
}

/* HEADER MAIN */

.page:not(.home) main, .blog main {
  margin-top: 260px;
}

header.mobile{
  display: none;
}

main {
  margin-top: 136px;
}

.header-content {
  background: #45a24f;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  margin: 0 auto;
  transition: all .3s ease-in-out;
  transform: translateX(-50%);
  left: 50%;
  position: fixed;
  z-index: 11;
}

.menu-main-container ul {
  display: flex;
  list-style: none;
  gap: 15px;
}

.menu-main-container li a {
  text-decoration: none;
  color: white;
  text-transform: lowercase;
  font-size: 28px;
  padding: 0 20px;
}

.current-menu-item a {
  color: var(--highlight) !important;
}

.fixed-header {
  background: white;
}

.logo img {
  width: 100%;
  margin-top: 15px;
  height: 98px;
  object-fit: contain;
  transition: all .3s ease-in-out;
}

.fixed-header .logo img {
  max-width: 200px;
  filter: none;
}

/* .fixed-header .header-content {
  background: white;
  padding:15px 40px;
  border-radius: 8px;
  top: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
} */

.fixed-header .menu-main-container li a {
  color: var(--verde);
}

.fixed-header .current-menu-item a {
  color: var(--highlight) !important;
}


header.mobile {
  display: none;
}

.left-menu {
  position: fixed;
  display: none;
}

@media(max-width:768px){
  header.mobile {
    display: block;
    background: var(--verde);
    z-index: 100000;
    position: relative;
  }

.menu-main-container {
  width: 100%;
}

  .header-content-mobile {
    background: var(--verde);
    width: 100%;
    display:flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px 10px 20px;
    margin: 0 auto;
    transition: all .3s ease-in-out;
    transform: translateX(-50%);
    left: 50%;
    position: fixed;
  }

  .left-menu {
    transform: translateX(-100%);
    transition: .5s ease-in-out;
  }

  .left-menu .menu-main-container ul {
    display: flex;
    list-style: none;
    gap: 15px;
    flex-direction: column;
    height: 100vh;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: var(--verde);
    width: 100%;
    display: none;
  }


.logo img {
  height: 58px;
  object-fit: contain;
  transition: all .3s ease-in-out;
}

  .left-menu.active {
    transform: translateX(0%);
    z-index: 100;
    position: fixed;
    left: 0;
    width: 100%;
  }

  .left-menu.active .menu-main-container ul {
    opacity: 1;
    display: flex;
  }

  .menu-icon span {
    display: block;
    background: white;
    height: 3px;
    width: 25px;
    transition: .4s ease-in-out;
  }

  .menu-icon {
    display: flex;
    flex-direction: column;
    gap:5px;
    cursor: pointer;
  }

  .menu-icon.active span:nth-child(3){
    rotate: -135deg;
    position: relative;
    left: 0px;
    top: -16px;
  }


  .menu-icon.active span:nth-child(1){
    rotate: -45deg;
    position: relative;
  }

  .menu-icon.active span:nth-child(2){
  opacity: 0;
  }


  /* .overlay-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background: #000000a3;
    width: 100%;
    height: 100vh;
  }

  .overlay-menu.active {
    display: block;
  } */

  main {
    margin-top: 0;
}

header.desk {
  display: none;
}
}

/* FRONT PAGE */

.full-slide {
  width: 100%;
  height: 80dvh;
  display: flex;
  align-items: flex-end;
  object-fit: cover;
  padding-bottom: 80px;
  background-position: center;
	position:relative;
}

.full-slide:after {
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(0deg, #000000e8, transparent);
    right: 0;
    bottom: 0;
    position: absolute;
}

@media(max-width:768px){
  .full-slide {
    padding-left: 0px;
    background-position: center;
    position: relative;
    padding-bottom: 20px;
  }

  .full-slide:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

}

.full-slide h1 {
  color: white;
  font-size: clamp(48px, 10vw, 90px);
  line-height: 1;
  position: relative;
  z-index: 10;

}

.home .large {
  max-width: 1000px;
}

.home section:has(.large){
  background: #f5faed;
}

.large p, .large{
  font-size: 2.5rem;
  color: green;
  text-align: center;
}

.large {
  padding: 140px 0;
}

.home .large p:last-child {
  font-family: var(--font_black);
  font-style: italic;
  font-weight: 700;
}

.row {
  background: var(--secondary);
  border-radius:0 50px 50px 0;
  max-width: 90% !important;
  margin-bottom:20px;
  position:relative;
}

.row-reverse {
  width:100% !important;
  border-radius: 50px 0px 0px 50px !important;
  background:white !important;
}

.row-reverse .row_content{
  flex-direction: row-reverse;
  padding: 30px 60px 60px;
}

.row_content {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  max-width: 1080px;
  gap: 140px;
  padding: 60px;
}

.last_row_content {
  padding: 60px 60px 60px 0px;
}

.row_content h2 {
  font-size: 8rem;
  line-height: 70px;
  position: relative;

  left: 0;
  color: white;
  font-family: var(--font_black);
  font-weight: 900;
}

.row_content h2 span{
  font-family: var(--font_black);
  font-weight: 900;
}

.row_content p {
  color: white;
  font-size: 2.2rem;
  font-style: italic;
}

.row-reverse h2 {
  color:var(--secondary);
}

.verde {
  background:transparent;
  position:relative;
}

.verde:before {
  content: '';
  position: absolute;
  top: 0px;
  left: 10%;
  width: 90%;
  height: 95%;
  background: var(--verde);
  z-index: -1;
  border-radius: 50px 0px 0px 50px;
}

.verde h2 {
  bottom: -10px !important
}

.row-reverse .row_content p {
  color: var(--verde);
  font-size: 2rem;
  bottom: -70px;
  position: relative;
}

.slider-section {
  background: var(--secondary);
  padding: 100px 0;
  margin-top: 140px;
}

.single-slider h4, .single-slider a{
  color: white;
}

.single-slider img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.slick-initialized .slick-slide {
  padding: 40px;
}

.single-slider h4{
  color: white;
  font-size: 28px;
}

.single-slider a {
  text-decoration: underline;
  font-size: 22px;
}

.people {
  font-size: clamp(52px, 10vw, 78px);
  color: white !important;
  text-align: center;
  margin-bottom: 40px;
  font-family: var(--font_bold);
}

.people-slider img, .people .single img {
  border-radius: 30px;
}

.programs .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 2fr;
  grid-gap: 60px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 160px;  
}

.grid-program img {
  height: 170px;
  object-fit: contain;
  width: 100%;
}

.grid-program h3 {
  margin-top: 20px;
  color: var(--verde);
  font-size: 1.7rem;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--font_bold);
  margin-top: 0;
}

.programs h2 {
  font-size: 8rem;
  line-height: 70px;
  font-family: var(--font_black);
  font-weight: 900;
  margin: 80px 0 120px 0;
}

.programs h2 span {
  font-family: var(--font_black) !important;
  font-weight: 900 !important;
}

.loop-single-post {
  position: relative;
  background: var(--secondary);
  color: white;
  border-radius: 30px;
}

.loop-single-post img {
  width: 100%;
  object-fit: cover;
  height: 240px;
  border-radius: 30px 30px 0 0;
}

.single-post-content {
  padding: 20px;
}

.single-post-content h3 {
  font-size: 26px;
  margin: 0px 0px 20px;
  font-family: var(--font_bold);
  font-weight: 700;
}

.single-post-content a {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  padding: 20px 40px;
  text-decoration: underline;
  font-size: 20px;
  text-decoration: none;
  text-transform: uppercase;
}

.single-post-content p {
  color: white;
  font-size: 1.35rem;
}

.loop-single-post:even{
  background:var(--primary);
  color: #fff;
  border-radius: 0 0 20px 20px;
}

.events {
  font-size: clamp(78px, 10vw, 38px);
  color: var(--highlight) !important;
  text-align: center;
  margin-bottom: 40px;
  font-family: var(--font_bold);
}

.latest-posts-row img {
  height: 300px;
}

/* PAGES */

/* .page:not(.home) .header-content {
  position: inherit;
  width: 100%;
  max-width: 100%;
  transform: translate(0px, 0px);
  padding: 10px 40px;
} */

.page:not(.home)  header {
  width: 100%;
  background-color: var(--verde);
}

.page:not(.home) h1, .custom-title.blog {
  font-size: 15rem;
  margin-top: 120px;
  color: var(--verde) !important;
  text-align: left;
  line-height: 130px;
  margin-bottom: 140px;
}
/* 
.custom-title.blog {
  font-size: 15rem;
  margin-top: 120px;
  color: var(--verde) !important;
  text-align: left;
  line-height: 130px;
  margin-bottom: 140px;
  position: relative;
  top: 130px;
} */


.single-title {
  font-size: clamp(48px, 10vw, 88px);
}

.page:not(.home) h1 span{
font-weight: 800;
font-family: var(--font_bold);
}

/* about page */

.about div:nth-child(1) h1 ~ .large {
  margin: 0 auto 40px;
  padding: 0 0 60px;
}

.about .large {
	padding:0;
 /* padding: 60px 0; */
  margin-bottom: 120px;
  font-size: 1.5rem;
  text-align: left;
}

.about h2 {
  font-family: var(--font_bold);
  font-weight: 800;
}

.about .large p {
  text-align: left;
}

.members {
  margin-top: 80px;
}

.full-width-container p {
  font-size: 1.5rem;
}

.about .col2 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  column-gap: 60px;
  margin-bottom: 100px;
}

.about .col2 > * {
  width: 50%;
}

.about .col2 .large {
  padding: 0;
  margin: 0;
}

.about .col2 img {
  width: 100%;
  border-radius: 30px;
}

@media (max-width:767px) {

  .about div:nth-child(1) .large {
    margin: 0;
    padding: 0px 0 40px;
  }

  .page:not(.home) main, .blog main {
    margin-top: 120px;
  }

  .about .large {
	  margin-bottom:80px !important;
    font-size: 1.3rem;
  }

  .about h2 {
    text-align: left !important;
    font-size: 2rem !important;
    padding: 40px 0 0 !important;
  }

  .about .full-width-container .large {
    padding: 20px 20px;
  }

  .about .container.large.grid.grid-3 {
    margin-bottom: 0;
    padding: 0 20px !important;
  }

  .about .col2 {
    flex-direction: column;
    row-gap: 20px;
  }

  .about .col2 > * {
    width: 100%;
  }

  .about .col2.col2-rev {
    flex-direction: column-reverse;
  }

  .full-width-container ~ h2 {
    margin-bottom: 40px;
  }

  .col2 ~ h2 {
    padding-top: 0 !important;
  }

  .about .last-large {
    padding-top: 20px;
  }

}

/* OUTPUTS */

.docs {
  background: var(--verde);
  padding: 15px 12px;
  color: white;
  font-size: 20px;
  margin-bottom: 20px;
  border-radius: 15px;
  text-align: center;
}

.outputs-programs {
  margin-top: 80px;
}

.outputs-programs .grid-program {
  position: relative;
  background: #92ff7020;
  border-radius: 15px;
}

.icon-summary::marker {
  font-size: 0;
}

.grid-program details {
  padding: 20px;
}

.programs .grid-program {
  position: relative;
}

/* PREFOOTER */

.pre-footer {
  margin: 120px auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.small {
	text-align:center !important;
	font-size:13px;
	margin-bottom:100px;
}

/* FOOTER */

#footer {
  background: var(--verde);
  color: white;
  padding: 60px 0;
}

#footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}


#footer li {
  margin: 0px 0 12px;
}

#footer a {
  color: white;
  font-weight: 600;
  transition: all .3s ease-in-out;
}

#footer a:hover {
  color: var(--highlight);
}

#footer h4 {
  font-size: 24px;
  font-weight: 800;
  font-family: var(--font_bold);
}

#footer p {
  color: white;
}

#footer .post-date {
  font-size: 12px;
  display: block;
  margin-top: 4px;
}

/* PEOPLE PAGE */

.people h5 {
 color: var(--highlight) !important;
 text-align: left;
 font-size: 36px;
}

.people p:not(.small) {
  text-align: left;
}

.custom-margin-m {
  margin-top: 150px;
}

.indipendent {
	color: var(--verde);
    text-align: left;
    line-height: 90px;
    word-break: break-word;
	margin-top:50px;
	font-size:5rem;
}

@media (max-width: 767px) {

  .people .members {
    place-items: flex-start !important;
  }

}

/* SINGLE */

.img-articolo-home {
  height: 500px;
  object-fit: cover;
  margin-bottom: 20px;
  width: 100%;
  border-radius: 20px;
}

.article-item .flex-container {
  column-gap: 60px;
}

.article-item .wrap-article {
  margin-top: 50px;
}

#article-page .single-title {
  font-size: clamp(48px, 10vw, 60px);
  color: var(--highlight);
  line-height: 1;
}

.content-article p {
  color: #333;
  line-height: 1.7;
  font-size: 18px;
}

.content-article p a {
  color: var(--verde);
  transition: all .3s ease-in-out;
}

.content-article p a:hover {
  color: var(--highlight);
}

.wrap-article {
  width: 70%;
}

.wrap-article .gallery-item img {
  height: 300px;
  border-radius: 20px;
  margin-bottom: -13px;
  border: none !important;
  padding: 4px;
}

.sidebar-blog { 
  width: 30%; 
  margin-top: 50px; 
}

.widget {
  background: var(--light-green);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 40px;
}

.widget .titolo-widget {
  font-size: 22px;
  color: var(--verde);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.widget ul li a {
  text-decoration: none;
  transition: all .3s ease-in-out;
}

.widget ul li a:hover {
  color: var(--verde);
}

.widget ul li {
  margin-bottom: 15px;
}

.widget .post-date {
  display: block;
  font-size: 14px;
  color: #888;
}

/* .news {
  margin: 50px auto;
} */

.blog .the-content {
  display: flex;
  column-gap: 60px;
}

.blog .grid-2 {
  width: 70%;
}

body .fixed-header .header-content {
  background: white;
  padding: 10px 40px;
  border-radius: 10px;
  top: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  position: fixed !important;
  width: 95%;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 767px) {

  .left-menu {
    display: flex;
  }

  .row_content h2 {
    font-size: 6.5rem;
    bottom:0;
  }

  .row-reverse .row_content {
    gap:40px;
    flex-direction: column;
  }

  .row-reverse .row_content p, .row_content p {
    padding: 0 25px;
  }
  
  .large p{
    font-size: 1.5rem;
  }

  .large {
    padding: 100px 20px;
  }

  .programs h2, .indipendent {
    font-size: 6.5rem;
    line-height: 60px;
    margin: 80px 0 100px 0;
	font-family: var(--font_black);
    font-weight: 900;
	word-wrap: break-word;
  }
	
	.indipendent {
		font-size:3rem !important;
		 line-height: 45px;
	}

  .programs .container {
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 40px;
  }

  .row {
    width: 100% !important;
    max-width: 100% !important;
  }

  .row_content{
    gap: 40px;
    flex-direction: column;
  }

  .row-reverse .row_content {
    padding: 30px 60px 100px;
}

  .verde:before {
    left: 0;
    width: 100%;
  }

  .verde .row_content, .verde .row-reverse .row_content {
    gap:40px !important;
  }

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

  .pre-footer {
    margin: 60px auto;
    flex-wrap: wrap;
    gap: 30px;
  }

  .col-footer {
    flex-direction: column;
    gap: 25px;
  }

  .logo-ist {
    width: 44%;
  }

  .slick-prev {
    left: -5px !important;
  }

  .slick-next {
    right: -5px !important;
  }

  .page:not(.home) h1, .custom-title.blog {
    font-size: 10rem;
    margin-top: 0;
    color: var(--verde) !important;
    text-align: left;
    line-height: 90px;
    margin-bottom: 50px;
    position: relative;
    top: 50px;
  }
/* 
 .custom-title.blog {
    font-size: 10rem;
    margin-top: 0;
    color: var(--verde) !important;
    text-align: left;
    line-height: 90px;
    margin-bottom: 120px;
    position: relative;
    top: 130px;
} */

  .sidebar-blog {
    width: 100%;
    margin-top: 50px;
  }

  .single h5, .single p {
    text-align: left !important;
  }

  .the-content {
    flex-direction: column;
  }

  .blog .grid-2 {
    width: 100%;
}

  .flex-container {
    flex-direction: column;
  }

  .wrap-article {
    width: 100%;
  }

  .widget-footer {
    width: 100%;
  }

  .custom-margin-m-single {
    margin-top: 100px;
  }

  .img-articolo-home {
    height: auto;
  }

  .wrap-article .gallery-item img {
    height: 200px;
  }

  .news {
    margin: 70px auto;
  }

  #extrapolation {
    line-height:90px;
    bottom: -100px;
  }

}


@media (max-height:991px) {



}