h1 {
  margin-top: 1em;
}
h4 {
  margin-top: 1em;
}

a:not(.trp-language-item):hover {
  transform: scale(1.05) translateY(-1px);
  filter: drop-shadow(1px 1px 6px rgba(0, 0, 0, 0.5));
}

.rev_slider_wrapper {
  background-color: #0b254b !important;
}

body:not(.home).scheme_original .menu_main_nav > li > a:hover {
  color: #00d2c6;
}

body.home.scheme_original .menu_main_nav > li > a:hover {
  color: white !important;
}

.trp-floating-switcher {
    right: 1vw !important;
    cursor: pointer;
    box-shadow: 0 0px 8px 0 #0b254b36 !important;
    border: 1px solid #0b254b36 !important;
    border-bottom: 0px !important; 
  }
.trp-language-item-name { line-height: 1.3em !important; }
.wp-block-heading:not(.sc_title) {
  color: #008ae2 !important;
}

.fg-panel-button.fg-panel-button-close  {
  width: 70px !important;
  height: 70px !important;
}

.fg-panel-button.fg-panel-button-close:hover, .fg-panel-thumbs-button:hover  {
  color: black !important;
}

.fg-panel-button.fg-panel-button-close svg {
  width: 50px;
  height: 50px;
}

.button-whatsapp {
  margin: 0px auto !important;
  text-align: center;
  width: fit-content;
}
.button-whatsapp a {
  background-color: #25D366;
  color: white;
  font-size: 2.6rem;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  display: flex;
  align-items: center;
  letter-spacing: -1px;
  text-shadow: 1px 1px #0baf48;
}
.button-whatsapp a::before {
	content: "";
	display: inline-block;
	width: 2.6rem;
	height: 2.6rem;
  margin-bottom: -4px;
	margin-right: 10px;
  filter: drop-shadow(1px 1px #0baf48);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' %3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12c0 1.85.5 3.58 1.36 5.07L2 22l5.09-1.34A9.94 9.94 0 0 0 12 22c5.52 0 10-4.48 10-10S17.52 2 12 2zm0 18a7.94 7.94 0 0 1-4.06-1.11l-.29-.17-3.02.79.81-2.94-.19-.3A7.95 7.95 0 1 1 20 12a8 8 0 0 1-8 8zm4.29-5.7c-.24-.12-1.42-.7-1.64-.78-.22-.08-.38-.12-.54.12-.16.24-.62.78-.76.94-.14.16-.28.18-.52.06-.24-.12-1-.37-1.9-1.17-.7-.62-1.18-1.4-1.32-1.64-.14-.24-.02-.37.1-.49.11-.11.24-.28.36-.42.12-.14.16-.24.24-.4.08-.16.04-.3-.02-.42-.06-.12-.54-1.3-.74-1.78-.2-.48-.4-.4-.54-.4-.14 0-.3-.02-.46-.02s-.42.06-.64.3c-.22.24-.84.82-.84 2s.86 2.32.98 2.48c.12.16 1.7 2.6 4.12 3.64.58.25 1.03.4 1.38.51.58.18 1.1.16 1.52.1.46-.07 1.42-.58 1.62-1.14.2-.56.2-1.04.14-1.14-.06-.1-.22-.16-.46-.28z'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
}

.button-whatsapp a:hover {
  background-color: #128C7E;
  color: white !important;
  transform: scale(1.015) translateY(-2px);
  filter: drop-shadow(1px 1px 6px #044c43) !important;
}

.button-whatsapp a:hover {
  text-shadow: 1px 1px #044c43;
}

.button-whatsapp a:hover::before {
  filter: drop-shadow(1px 1px #044c43) !important;
}

.button-whatsapp a::before {
  width: 1.4em;
  height: 1.4em;
}

.button-whatsapp.button-whatsapp-small {
  margin-left: 0 !important;
}

.button-whatsapp.button-whatsapp-small a {
  font-size: 1.4em;
  letter-spacing: -0.5px;
  text-align: left;
}

.button-whatsapp.button-whatsapp-small a:hover {
  filter: drop-shadow(1px 1px 3px #044c43) !important;
}

.top_panel_title_inner {
    position: relative;      /* anchor for the waves */
    overflow: hidden;        /* clip waves to the stripe */
}

/* both wave layers share this base */
.top_panel_title_inner::before,
.top_panel_title_inner::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 200%;
    background-repeat: repeat-x;
    background-size: 50% 100%; /* one wave tile = 100% of the stripe */
    pointer-events: none;
    animation: wave-drift 9s linear infinite;
}

.top_panel_title_inner::before {
    height: 85px;
}

.top_panel_title_inner::after {
    height: 45px;
}

/* back wave – taller, slower, more transparent */
.top_panel_title_inner::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 70' preserveAspectRatio='none'%3E%3Cpath d='M0,35 C150,65 300,5 450,30 C550,48 650,10 750,25 C900,45 1050,15 1200,35 L1200,70 L0,70 Z' fill='rgba(255,255,255,0.4)'/%3E%3C/svg%3E");
    animation-duration: 11s;
}

/* front wave – shorter, faster, reversed direction */
.top_panel_title_inner::after {
    height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 70' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C200,55 400,8 600,32 C800,56 1000,10 1200,30 L1200,70 L0,70 Z' fill='rgba(255,255,255,0.3)'/%3E%3C/svg%3E");
    animation-direction: reverse;
    animation-duration: 7s;
}

@keyframes wave-drift {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); } /* shifts exactly one tile = seamless loop */
}

.sc_title_underline::after {
    border-color: #008ae2;
}

.sc_title_underline.sc_align_center:after {
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  transform: translateX(-50%);
}

.sc_title.sc_title_separator {
  display: flex;
  word-break: keep-all;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  font-size: 14px;
}

.sc_title.sc_title_separator:before, .sc_title.sc_title_separator:after {
  background-color: #008ae2;
  display: inline-block;
  height: 1px;
  width: 100%;
  position: relative;
  align-self: center;
  margin: 0px 10px;
}

.sc_title.sc_title_separator.sc_title_separator_left:before {
  content: "";
}

.sc_title.sc_title_separator.sc_title_separator_center:before,
.sc_title.sc_title_separator.sc_title_separator_center:after {
  content: "";
}

.sc_title.sc_title_separator.sc_title_separator_right:after {
  content: "";
}

.dive-site-block {
  padding: 0px 16px;
}

.dive-site-block img {
  object-fit: cover;
  height: 200px;
}

.wp-block-accordion-panel {
  padding-top: 10px;
  padding-left: 20px;
  border-left: 4px solid #f0f0f0;
}

.wp-block-accordion-item {
  padding-bottom: 2.3em;
}

.wp-block-accordion-item .wp-block-accordion-heading {
  margin-top: 0px;
  margin-bottom: 20px;
}

.wp-block-accordion-item .wp-block-accordion-heading button {
  background: grey;
  padding: 14px 20px;
  box-sizing: border-box;
  text-decoration: none;
  position: relative;
  border-radius: 5px;
  border: 1px solid #f0f0f0;
  background-color: #f8f8f8;
  color: #666;
}

.sc_services_wrap {
  gap: 0px;
  margin-bottom: 0px;
}

.sc_services_wrap .sc_services_item {
  text-align: center;
  letter-spacing: 1.5px;
  color: #00080f;
  border-right: 1px #e4e7e8 solid;
  border-top: 1px #e4e7e8 solid;
  border-bottom: 1px #e4e7e8 solid;
}

.sc_services_wrap .sc_services_item a {
  padding: 4.8em 2.5em;
  display: block;
}

.sc_services_wrap .sc_services_item a:hover {
  background-color: #fbfbfb;
  transform: inherit;
  filter: inherit;
}

.sc_services_wrap .sc_services_item:hover h6 {
  color: #20c7ca !important;
}

.sc_services_wrap .sc_services_item .wp-block-heading {
  display: none;
}

.sc_services_wrap .sc_services_item:first {
  border-left: 1px #e4e7e8 solid;
}

.sc_services_wrap .sc_services_item *, .sc_services_item .sc_icon:before {
  transition: all 0.2s ease-in-out !important;
}

.banner-stripe {
  background-color: #0B254B;
  color: white !important;
  padding: 4.45rem 20px 7rem 20px;
  margin: 0px;
}

#sb_instagram {
  background-color: #0B254B;
  margin-top: -4rem;
}

.blockquote-home {
  text-align: center;
  background-image:url("/wp-content/uploads/2016/06/bg_services-1.jpg");
  color: #ffffff;
  font-size: 20px;
  margin: 0px;
}

.blockquote-home {
  font-style: italic !important;
}


.book-your-dive {
  position: relative;
  background-image: url("/wp-content/uploads/2017/05/17992325_10213392759237797_689680280360944725_n-2.png");
  background-size: cover;
  height: 40vw;
  max-height: 550px;
  min-height: 200px;
}

.book-your-dive h1.wp-block-heading:not(.sc_title) {
  color: white !important;
  margin-top: 0px;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-self: center;
  justify-self: center;
  filter: drop-shadow(2px 4px 2px black);
  font-size: 250%;
  wite-space: nowrap;
  max-width: 90%;
}

.book-your-dive .wp-block-advanced-link-block-advanced-link {
  cursor: pointer;
  display: block;
  height: 100%;
  width: 100%;
}

.book-your-dive .wp-block-advanced-link-block-advanced-link:after,
.book-your-dive .wp-block-advanced-link-block-advanced-link h1,
.book-your-dive .wp-block-advanced-link-block-advanced-link .sc_button.sc_button_style_filled {
  transition: all 0.2s !important;
  z-index: 2;
}

.book-your-dive .wp-block-advanced-link-block-advanced-link:after {
  position: absolute;
  content: "";
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  opacity: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.book-your-dive .wp-block-advanced-link-block-advanced-link:hover:after {
  opacity: 1;
}

.book-your-dive .wp-block-advanced-link-block-advanced-link:hover h1 {
  cursor: pointer;
  display: block;
  filter: drop-shadow(2px 4px 0px black) drop-shadow(2px 4px 6px #008ae2);
  transition: all 0.2s !important;
}

.book-your-dive .wp-block-advanced-link-block-advanced-link:hover .sc_button.sc_button_style_filled {
  background-color: #008ae2 !important;
  border-color: #008ae2 !important;
  color: white !important;
  transition: all 0.2s !important;
}

.book-your-dive .sc_button.sc_button_style_filled {
  position: absolute;
  right: 0px;
  bottom: 0px;
  width: 62px;
  height: 62px;
  display: block;
  padding: 0px !important;
  text-align: center;
  font-size: 0px !important;
}

.book-your-dive .sc_button.sc_button_style_filled:after {
  right: 0px !important;
  left: 0px !important;
  display: inline;
  text-align: center;
  width: auto;
  margin: 0;
  position: absolute;
  font-size: 42px !important;
  top: 50%;                     /* center relative to the anchor */
  transform: translateY(-50%);  /* offset by half its own height */
}

.grid-videogallery iframe {
  height: 50vw;
  max-height: 320px;
}
 

.wpcf7-form-control.wpcf7-text, .wpcf7-form-control.wpcf7-textarea {
  width: 100% !important;
}

.wpcf7-textarea {
  height: 150px !important;
}

.wp-block-media-text:not(.has-media-on-the-right)>.wp-block-media-text__content {
  padding-left: 20px;
}

.wp-block-media-text.has-media-on-the-right>.wp-block-media-text__content {
  padding-left: 0px !important;
}

.top_panel_title .page_title {
  height: 40px;
  display: block;
}

.menu_button.icon-menu {
  font-size: 40px !important;
}

.widget_area.sidebar,
.widget_area.sidebar .widget_area_inner.sidebar_inner,
.widget_area.sidebar .widget_area_inner.sidebar_inner aside {
  background-color: #f4f6f8;
  border: none;
  border-radius: 4px !important;
}

.widget_area.sidebar .widget_area_inner.sidebar_inner {
  padding: 30px !important;
}

.sidebar_outer aside, .sidebar aside+aside {
  margin-top: 2.5em;
}

.widget_area.sidebar .widget_title {
  margin-bottom: 0.75em;
}

.widget_area_inner.sidebar_inner ul {
  padding-left: 10px;
}

.widget_area.sidebar .widget_title,
.widget_area_inner.sidebar_inner ul li:before {
  color: #00080f !important;
}

.widget_area_inner.sidebar_inner ul li a {
  color: #008ae2 !important;
  filter: none;
}

.widget_area_inner.sidebar_inner ul li a:hover {
  color: black !important;
}

.button-whatsapp.button-whatsapp-small a {
  padding: 12px 16px;
  font-size: 1.2em;
}

.articles-impegno {
  margin: 0 auto;
}

.articles-impegno li {
  border: 1px #f0f0f0 solid;
  border-radius: 4px;
  padding: 20px;
  overflow: hidden;
}

.articles-impegno .wp-block-latest-posts__post-title {
  font-size: 24px;
  font-weight: bold;
}

.articles-impegno a:hover {
  filter: none;
}

.articles-impegno li .wp-block-latest-posts__featured-image {
  margin: -20px -20px 20px -20px;
  overflow: hidden;
}

.articles-impegno li .wp-block-latest-posts__featured-image a {
  width: 100%;
  display: block;
  height: 150px;
  max-height: 150px;
  position: relative;
}

.articles-impegno li .wp-block-latest-posts__featured-image a:after {
  position: absolute;
  content: "";
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25);
  z-index: 1;
  transition: all 0.2s ease-in-out !important;
}

.articles-impegno li .wp-block-latest-posts__featured-image a:hover:after {
  opacity: 0;
}

.articles-impegno li .wp-block-latest-posts__featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post_subtitle.entry-subtitle {
  font-weight: bold;
  font-size: 1.6rem;
  display: block;
  margin-bottom: 20px;
  font-family: 'Twemoji Country Flags', Lato, sans-serif !important;
}

.post_info_item.post_info_posted, .post_featured {
  pointer-events: none;
  font-family: 'Twemoji Country Flags', Lato, sans-serif !important;
}

.post_breadcrumbs a {
  font-weight: bold;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 20px;
  font-family: 'Twemoji Country Flags', Lato, sans-serif !important;
}

.post_breadcrumbs a:hover {
  filter: none;
  transform: none;
}

#rev_slider_2_1,
.rev_slider_wrapper[data-alias="sliderblog"] {
  max-height: 400px;
}

.rev_slider_wrapper[data-alias="sliderblog"] .tp-bgimg {
  background-position: center !important;
}