
body {
  color: #000;
}

.node-detail ul{
   padding-left: 20px;
}
.node-detail ul li{
   list-style: disc;
}

.article-detail .post-thumbnail {
  margin: 10px 0 22px;
}

.field--name-field-media-oembed-video {
    position: relative;
    width: 100%; /* The container takes up full width */
    padding-top: 56.25%; /* 16:9 aspect ratio (9/16 = 0.5625) */
    overflow: hidden;
}

.node--view-mode-teaser-1 .post-content {
  min-height: 181px;
}

.field--name-field-media-oembed-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Fill the container */
    border: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.slick-slider .field--name-field-media-oembed-video {
    padding-top: 68.4%; /* 724:496 aspect ratio */
}

.node--type-article.post-block.video:after {
   display: none!important;
}

.slick-slider .slick-dots {
    width: 250px;
    left: CALC(50% - 125px);
    right: CALC(50% - 125px);
}

.node--view-mode-slider-2 .post-content .post-title {
  font-size: 40px;
  color: #FFF;
}

/* Modal CSS */
.modal {
  display: none; 
  position: fixed; 
  z-index: 9999; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  background-color: rgba(0, 0, 0, 0.8); /* Background overlay */
  justify-content: center;
  align-items: center;
  overflow: hidden; /* No scrollbars */
}

.modal-content {
  position: relative;
  width: 80%; /* Set to 80% of the screen width for desktop */
  max-width: 1200px; /* Limit max width to 1200px */
  aspect-ratio: 16 / 9; /* Keep the aspect ratio of 16:9 */
  background: #000;
}

iframe#youtubeVideo {
  position: absolute; 
  top: 0;
  left: 0;
  width: 100%;  /* Full width of the modal content */
  height: 100%; /* Full height of the modal content */
  border: none; /* Remove iframe borders */
  z-index: 1; /* Ensure iframe stays behind the close button */
}

.close {
  opacity: 1;
  color: #fff!important;
  position: absolute;
  top: -30px;
  right: -30px;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 2; /* Ensure close button stays on top of the iframe */
}

/* Responsive Design Adjustments */
@media (max-width: 768px) {
  .modal-content {
    width: 95%; /* Full width on smaller screens */
    max-width: 95%;
  }

  .close {
    font-size: 28px; /* Slightly smaller font size for close button */
  }
}

.slick-slider .video-post .post-action {
  display:block!important;
}

.node-detail .field--name-field-video {
  margin-bottom: 20px;
}

.node--view-mode-teaser-5 {
  background: #fff;
  margin-bottom: 20px;
}

.slick-slider .post-title, .slick-slider .post-meta, .slick-slider .post-created, .slick-slider .post-body {
  color: white; /* Inner color of the text */
  text-shadow: 
      -1px -1px 0 #000, /* Top-left shadow */
       1px -1px 0 #000, /* Top-right shadow */
      -1px  1px 0 #000, /* Bottom-left shadow */
       1px  1px 0 #000; /* Bottom-right shadow */
}

.slick-slider .post-meta, .slick-slider .post-created {
  letter-spacing: 1.5px;
}

.node--view-mode-slider-2 .post-content {
  top: auto;
  margin-top: 0;
  bottom: 17px;
}

.node--view-mode-slider-2:after {
  background: rgba(0, 0, 0, 0.6);
}

.slick-active.slick-center .node--view-mode-slider-2:after {
    background: rgba(0, 0, 0, 0.1);
}

.menu-another, .gva-search-region {
  display: none!important;
}

body.frontpage .gsc-column.col-lg-9 .nav.nav-tabs,
body.frontpage .gsc-column.col-lg-12 .nav.nav-tabs {
  display: none!important;
}

.field--name-body a, .field--name-body a:active, .field--name-body a:visited {
  text-decoration-style: dashed !important;
  text-decoration-line: underline;
  font-weight: normal;
  color: #EE5646;
}

.field--name-body, .post-summary {
  font-size: 105%;
  color: #000;
}

.post-summary {
  font-size: 120%;
  margin-bottom: 20px;
  border-bottom: 1px solid #000;
  padding-bottom: 20px;
  font-style: italic; 

}

.post-content {
  font-size: 120%;
}

.post-block .post-author {
  text-transform: none;
}

.field--name-body, .post-summary {
  line-height: normal;
}

.category-list ul > li a, .posts-list-number .post-block .post-title a, .tags-list .item-list > ul > li a, .post-block .post-title a, .node--view-mode-teaser-3.small-post .post-title a {
  font-size: 17px;
}

.block .block-title > span {
  font-size: 21px;
}

.node--view-mode-teaser-3.small-post .post-meta .post-author {
  display: inline-block;
}

.post-block .post-meta {
  font-size: 12px;
}

.hand {
  cursor: hand;
  cursor: pointer;
}

.post-title span {
  font-weight: bold;
}

.gva-view-mlayout-2 .item-first .post-block .post-content .content-inner .post-title a {
    font-size: 21px;
    line-height: 21px;
}

#page-main-content #block-gavias-batiz-titolodellapagina {
  background: transparent;
  padding: 0;
}

#page-main-content #block-gavias-batiz-titolodellapagina h1 {
  font-size: 22px; 
  background: #D03632;
  padding: 10px;
  color: #FFF;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: -13px;
}

.gsc-tabs-views-ajax.style-3 .list-links-tabs .wtitle {
  text-transform: none;  
}

body.vocabulary-authors #page-main-content .field--name-field-author,
body.vocabulary-category #page-main-content .post-categories {
  display: none!important;
}

.item-first .views-field-rendered-entity-1,
.items-second .views-field-rendered-entity,
.items-third .views-field-rendered-entity,
.search-help-link {
  display: none!important;
}

.gva-view-mlayout-1 .items-third .item-post {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    float: left;
    width: 100%;
}

.gva-view-mlayout-1 .items-third .item-post, .gva-view-mlayout-1 .items-second .item-post  {
  min-height: 147px;
}

.gva-view-mlayout-1 .items-third > .content-inner {
    padding: 18px;
    background: #fff;
    position: relative;
    float: left;
    width: 100%;
    z-index: 9;
}

@media (min-width: 575px) {
  .gva-view-mlayout-1 .items-third .item-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border: 0;
  }
}

.item-first .node--view-mode-teaser-3 .post-image {
    position: relative;
    text-align: center;
    z-index: 1;
    display: block;
    float: none;
    width: 100%;
}

.item-first .post-block .post-title a {
    font-size: 23px!important;
    line-height: 23px!important;
}

.node--view-mode-teaser-5 .post-content .post-title a {
    font-size: 23px!important;
    line-height: 23px!important;
}

.item-first .post-block .post-body {
    display: block;
}

.widget.gsc-block-drupal.title-align-left .block-title {
  color: #D03632 !important;
  border-top-color: #D03632 !important;
  font-weight: bold !important;
}

.block.red .block-title, .block.red .list-links-tabs, .block.red .wtitle, .list-links-tabs.red .block-title, .list-links-tabs.red .list-links-tabs, .list-links-tabs.red .wtitle {
    color: #D03632 !important;
    border-top-color: #D03632 !important;
    font-weight: bold !important;
}

input[type="search"] {
    -webkit-appearance: none;
    padding: 4px;
    position: relative;
    top: 2px;
}

.site-branding-logo img {
  
}

.gva-view-mlayout-1 .item-first {
  width: 50%;
}

.gva-view-mlayout-1 .items-second, .gva-view-mlayout-1 .items-third {
    float: left;
    width: 25%;
    padding-left: 9px;
    position: relative;
}

.gva-view-mlayout-1 .items-third {
    padding-left: 18px;
}

.audiofield ol {
  display: none!important;
}

.audiofield-player {
  margin-bottom: 5px;
}

.audiofield-audiojs   {
  width: 100%;
  /* margin-top: -10px; */
  /* margin-bottom: 18px; */
  top: -23px;
  position: relative;
}

.audio-teaser .audiofield-audiojs   {
  top: 0px; 
}

.audiofield-audiojs {
  display: flex;
  align-items: center;
}

.play-pauseZ {
  flex: 0 0 auto; /* Maintain a small, fixed size */
  margin-right: 10px; /* Add some space between play-pause and scrubber */
}

.scrubberZ {
  flex: 1; /* Let this take as much space as possible */
  margin-right: 10px; /* Add some space between scrubber and time */
}

.timeZ {
  flex: 0 0 auto; /* Maintain default width needed */
}

.audiofield-audiojs .playZ {
    background: url(/libraries/audiojs/player-graphics.gif) no-repeat;
}

.audiofield-audiojs {
  background: #D03632;
}

.audiofield-audiojs .progressZ {
    background: #000;
}

.audiofield-audiojs .loadedZ {
    background: #CCC;
}

.sm2-bar-ui  {
  font-size: 21px;
  width: 100%;
  max-width: 100%;
  position: relative;
  top: -20px;
}

.audio-teaser .sm2-bar-ui   {
  top: 0px; 
  font-size: 12px;
}

.audio-teaser {
  margin-bottom: -5px;
}


.sm2-playlist, .sm2-menu {
  display: none!important;  
}

.sm2-bar-ui .sm2-main-controls,
.sm2-bar-ui .sm2-playlist-drawer {
  background-color: #d03632;
}
.sm2-bar-ui .sm2-inline-texture {
  background: transparent;
}

.antimaka-inverted .gva-view-mlayout-1 .item-first {
    width: 60%;
    float: right;
    padding-right: 0px!important;
}

.antimaka-inverted .gva-view-mlayout-1 .items-second {
    float: left;
    width: 40%;
    padding-left: 0px;
    padding-right: 9px;
    position: relative;
}

.posts-list-number .post-block .number {
    width: 50px;
    line-height: 50px;
    height: 50px;
}

.posts-list-number .post-block .post-title {
    padding: 0;
    padding-left: 70px;
}

@media (max-width: 700px) {
  .antimaka-inverted .gva-view-mlayout-1 .item-first {
      width: 50%;
      clear: none;

  }
  
  .antimaka-inverted .gva-view-mlayout-1 .items-second {
      float: left;
      width: 50%;
      clear: none;
  }
}

@media (max-width: 998px) {
  .gva-view-mlayout-1 .item-first {
    width: 100%;
    margin-bottom: 18px;
  }
  
  .gva-view-mlayout-1 .items-second, .gva-view-mlayout-1 .items-third {
    width: 50%;
  }
  
  .gva-view-mlayout-1 .items-third {
    padding-left: 9px;
    margin-left: -9px; 
  }

}

@media (max-width: 767px) {
    .node--view-mode-slider-2 .post-content .post-action {
        display: block;
    }
}

@media (max-width: 574px) {
  .gva-view-mlayout-1 .item-first, .gva-view-mlayout-1 .items-second,
  .gva-view-mlayout-1 .items-third,
  .antimaka-inverted .gva-view-mlayout-1 .item-first, .antimaka-inverted .gva-view-mlayout-1 .items-second {
    width: 100%;
    margin-bottom: 0;
    float: none;
    margin-left: 0px;
  }
}
