/* Simple */
.block-simple .buttons-group {display:flex;flex-wrap:wrap;gap:0 60px;}
.block-simple .buttons-group .btn {margin-top:15px;}
.block-simple.text-center .buttons-group {justify-content:center;}

/* Carousel > Main */
.block-carousel-main .carousel-arrows-lr {display:none;}
.block-carousel-main .card {margin:0;}
.block-carousel-main .card-bg {height:820px;}
.block-carousel-main .card .card-overlay:before {display:none;}
.block-carousel-main .card .card-overlay .card-body {max-width:100%;padding:0 100px;}
.block-carousel-main .pre-title {color:#fff;}
.block-carousel-main h1 {font-size:80px;color:#fff;margin:0;font-weight:400;text-transform:uppercase;}
.block-carousel-main .btn {margin-top:40px;}

/* Carousel > taxonomy */
.block-carousel-taxonomy {padding:0;}
.block-carousel-taxonomy .card-body {padding:30px;}
.block-carousel-taxonomy .carousel-cards-tall .card {border:0;margin:0;}
.block-carousel-taxonomy .carousel-cards-tall .card .card-bg:before{content:"";width:100%;height:100%;position:absolute;top:0;left:0;right:0;bottom:0;background:-moz-linear-gradient(top,rgba(0,0,0,0) 40%,rgba(0,0,0,.35) 100%);background:-webkit-linear-gradient(top,rgba(0,0,0,0) 40%,rgba(0,0,0,.35) 100%);background:linear-gradient(to bottom,rgba(0,0,0,0) 40%,rgba(0,0,0,.35) 100%)}
.block-carousel-taxonomy .carousel-cards-tall .card:hover .card-content {opacity:1;bottom:40px;transition:.3s ease-in-out all;}
.block-carousel-taxonomy .carousel-cards-tall .card:hover .card-content p {opacity:1;transition:.3s ease-in-out all;}
.block-carousel-taxonomy .carousel-cards-tall .card .card-content {position:absolute;bottom:0;padding:0 30px;color:#ffffff;transition:.3s ease-in-out all;width:100%;}
.block-carousel-taxonomy .carousel-cards-tall .card .card-content h4 {font-size:24px;margin-bottom:30px;}
.block-carousel-taxonomy .carousel-cards-tall .card .card-content p {opacity:0;transition:.3s ease-in-out all;}
.block-carousel-taxonomy .carousel-cards-tall .card-bg {height:575px;}
.block-carousel-taxonomy .carousel-cards-tall .card .card-overlay .card-body {max-width:1170px;margin:0 auto;}

/* Carousel > gallery */
.block-carousel-gallery .card { margin-bottom:0; }
.block-carousel-gallery .card .card-bg { height:300px; }
.block-carousel-gallery.background-contain .card .card-bg {background-size:contain !important;}

/* Carousel > gallery video and image */
.block-carousel-gallery-video-and-image .card { margin-bottom:0; }
.block-carousel-gallery-video-and-image .card .card-bg { height:300px; }
.block-carousel-gallery-video-and-image .card .card-bg .icon-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background-image:url(/wp-content/themes/ocean/assets/icons/icon-play.svg); }
.block-carousel-gallery-video-and-image.background-contain .card .card-bg {background-size:contain !important;}

/* Grid > Gallery */
.block-grid-gallery .row-gallery {display:flex;flex-wrap:wrap;gap:30px 0;}
.block-grid-gallery .image-box {width:100%;background-repeat:no-repeat;background-position:center center;background-size:cover;}
.block-grid-gallery .image-box img {width:100%;}

/* Counters */
.block-counter .row-counters {display:flex;flex-wrap:wrap;gap:30px 0;}

/* List taxonomy (stile 3) */
.block-list-taxonomy-s3 .content { padding:40px 40px 10px 40px; }
.block-list-taxonomy-s3 .content .card { background-color:transparent; border:unset; margin-bottom:0; }
.block-list-taxonomy-s3 .content .card .bg-card { z-index:8;position:absolute;top:0;right:0;bottom:0;left:0; }
.block-list-taxonomy-s3 .content .card .text { z-index:9;position:relative;padding:40px 0 10px 20px; }
/* z-index:8;position:absolute;top:0;right:0;bottom:0;left:0; */

/* List cards */
.block-list-cards {margin:30px 0 0;}
.block-list-cards h4 {font-size:24px;margin:15px 0 5px;}
.block-list-cards p {font-size:16px;margin:0;}

/* 2 Column text and video full width */
.block-2-columns-text-and-video-full-width .block-video {position:absolute;background-repeat:no-repeat;top:0;height:100%;z-index:0;width:50%;background-position:center center;}
.block-2-columns-text-and-video-full-width .block-video .wrap video { width:100%;height:412px;object-fit:cover; }
.block-2-columns-text-and-video-full-width.half-left .block-video {position:absolute;background-repeat:no-repeat;top:0;height:100%;z-index:0;width:40%;background-position:center center;}
.block-2-columns-text-and-video-full-width.half-right .block-video {position:absolute;background-repeat:no-repeat;top:0;height:100%;z-index:0;width:40%;background-position:center center;}

/* 2 Column text gallery and image full width */
.block-2-columns-text-gallery-and-image-full-width .block-gallery-image {text-align:center;margin-top: 30px;}
.block-2-columns-text-gallery-and-image-full-width .block-gallery-image > div { background-size:cover;background-position:center;background-repeat:no-repeat; width:100%; min-width:125px; height:100px; }

/* 2 Columns text + image */
.block-2-columns-image-text .row.flex {gap:30px 0;margin-left:-25px;margin-right:-25px;}
.block-2-columns-image-text .row.flex > div[class*="col-"] {padding-left:25px;padding-right:25px;}

/* Text Slide */
.block-text-slide .section-title + .marquee0, .block-text-slide .marquee0 + .btn {margin-top:120px;}
.block-text-slide .marquee0 > div {max-height:100px;}
.block-text-slide .marquee0 > div > div {top:0 !important;}
.block-text-slide .title {display:inline-block;vertical-align:middle;font-family:'the-seasons', sans-serif;font-size:70px;font-weight:700;text-transform:uppercase;}
.block-text-slide .title span {font-size:50px;position:relative;bottom:8px;}

/* List > Spaces */
.block-list-spaces .section-title {margin-bottom:60px;}
.block-list-spaces .row-spaces {display:flex;flex-wrap:wrap;gap:60px 0;}
.block-list-spaces .row-spaces .card {margin:0;}
.block-list-spaces .card .section-title {margin:0;}
.block-list-spaces .specifications-details {margin-top:20px;}

/* Accordion + Image */
.block-accordion-and-image .row.flex {margin-left:-25px;margin-right:-25px;}
.block-accordion-and-image .row.flex > div[class*="col-"] {padding-left:25px;padding-right:25px;}
.block-accordion-and-image .panel-group {margin:0;}
.block-accordion-and-image .img-responsive {width:100%;}

/* Form Contacts > 2 columns */
.block-form-contacts-2-columns .media-contacts {margin-top:60px;}
.block-form-contacts-2-columns .media-contacts .block {display:flex;align-items:center;}
.block-form-contacts-2-columns .media-contacts .block + .block {margin-top:15px;}
.block-form-contacts-2-columns .media-contacts .block div[class*="icon-"] {flex-shrink:0;vertical-align:middle;}
.block-form-contacts-2-columns .media-contacts .block .text {flex-grow:1;padding-left:20px;}
.block-form-contacts-2-columns .list-social {display:flex;flex-wrap:wrap;gap:15px;margin-top:60px;}
.block-form-contacts-2-columns .list-social > li > a {display:block;}
.block-form-contacts-2-columns .list-social .icon {width:30px;height:30px;vertical-align:middle;}

/* Google Map */
.block-gmap .map-container {height:600px;position:relative;background-color:#f1f1f1;}
.block-gmap .map-container iframe {width:100%;height:600px;border:0;z-index:1;position:relative;}
.block-gmap .map-container .cookie-accept-text {position:absolute;top:50%;transform:translate(0,-50%);left:0;right:0;margin:0 auto;text-align:center;z-index:0;}

/* Section Columns */
.section-columns .section-title {text-align:left;}
.section-columns .col-inner {margin-bottom:40px;text-align:left;}
.section-columns .col-inner img {width:100%;aspect-ratio:4/3;object-fit:cover;object-position:center;}
.section-columns .col-inner .pre-title {font-size: 18px;color: #A5998D;text-transform: uppercase;margin-bottom:15px;}
.section-columns .col-inner .title > * {font-size:30px;margin-bottom:12px;line-height:1.25em;}

/* 
------------------------------------------
Responsive 
------------------------------------------
*/

/* Smartphone */
@media only screen and (max-width:767px) and (min-width:320px) {

  /* Carousel > Main */
  .block-carousel-main .card .card-overlay .card-body {padding:0 15px;}
  .block-carousel-main .card-bg {height:400px;}
  .block-carousel-main h1 {font-size:30px;}

  /* Carousel > taxonomy */
  .block-carousel-taxonomy .carousel-cards-tall .card-bg {height:250px;}
  .block-carousel-taxonomy .carousel-cards-tall .card .card-content p {opacity:1;transition:none;}
  .block-carousel-taxonomy .carousel-cards-tall .card .card-content, .carousel-cards-tall .card:hover .card-content {bottom:20px;padding:0 60px;transition:none;}
  .block-carousel-taxonomy .carousel-cards-tall .card .card-bg:before {background-color: rgba(0,0,0,.2);}

  /* 2 Column text and video full width */
  .block-2-columns-text-and-video-full-width .block-video {position:relative;background-repeat:no-repeat;top:0;height:100%;z-index:0;width:100%;height:300px !important;background-position:center center;}	
  .block-2-columns-text-and-video-full-width .block-video video { height:300px !important; }
  .block-2-columns-text-and-video-full-width.half-right .block-video {width:100%;position: relative;height:240px;margin-bottom:50px;}
  .block-2-columns-text-and-video-full-width.half-left .block-video {width:100%;position: relative;height:240px;margin-bottom:50px;}

  /* 2 Column text gallery and image full width */
  .block-2-columns-text-gallery-and-image-full-width .block-gallery-image {text-align:center;margin-top: 30px;}
  .block-2-columns-text-gallery-and-image-full-width .block-gallery-image > div { background-size:cover;background-position:center;background-repeat:no-repeat; width:100%; min-width:125px; height:100px; }
  .block-2-columns-text-gallery-and-image-full-width .block-gallery-image { margin-top:20px; }

  /* 2 Columns text + image */
  .block-2-columns-image-text .row.flex {gap:20px 0;margin-left:-15px;margin-right:-15px;}
  .block-2-columns-image-text .row.flex > div[class*="col-"] {padding-left:15px;padding-right:15px;}
  
  /* Text Slide */
  .block-text-slide .section-title + .marquee0, .block-text-slide .marquee0 + .btn {margin-top:30px;}
  .block-text-slide .marquee0 > div {max-height:43px;}
  .block-text-slide .title {font-size:30px;}
  .block-text-slide .title span {font-size:20px;bottom:3px;}

  /* Grid > Gallery */
  .block-grid-gallery .row-gallery {gap:20px 0;margin-left:-10px;margin-right:-10px;}
  .block-grid-gallery .row-gallery > div[class*="col-"] {padding-left:10px;padding-right:10px;}

  /* Counters */
  .block-counter .row-counters {gap:20px 0;}

  /* Accordion + Image */
  .block-accordion-and-image .row.flex {margin-left:-15px;margin-right:-15px;}
  .block-accordion-and-image .row.flex > div[class*="col-"] {padding-left:15px;padding-right:15px;}
  .block-accordion-and-image .img-responsive {margin-top:30px;}

  /* Form Contacts > 2 columns */
  .block-form-contacts-2-columns .media-contacts {margin-top:20px;}
  .block-form-contacts-2-columns .list-social {margin-top:20px;}
  .block-form-contacts-2-columns .form-contact {margin-top:30px;}

  /* Google Map */
  .block-gmap .map-container {height:400px;}
  .block-gmap .map-container iframe {height:400px;}

  /* List > Spaces */
  .block-list-spaces .section-title {margin-bottom:30px;}

}

/* Smartphone Landscape 
@media only screen and (min-width:480px) and (max-width:767px){
}
*/

/* Tablet */
@media only screen and (min-width:768px) and (max-width:991px) {

  /* Carousel > Main */
  .block-carousel-main .card .card-overlay .card-body {padding:0 30px;}
  .block-carousel-main .card-bg {height:500px;}
  .block-carousel-main h1 {font-size:50px;}
  .block-carousel-main .btn {margin-top:20px;}

  /* Carousel > Taxonomy */
  .block-carousel-taxonomy {padding-top:25px;} 
  .block-carousel-taxonomy .carousel-cards-tall .card-bg {height:250px;}
  .block-carousel-taxonomy .carousel-cards-tall .card .card-content p {opacity:1;transition:none;}
  .block-carousel-taxonomy .carousel-cards-tall .card .card-content, .carousel-cards-tall .card:hover .card-content {bottom:20px;padding:0 60px;transition:none;}
  .block-carousel-taxonomy .carousel-cards-tall .card .card-bg:before {background-color: rgba(0,0,0,.2);}

  /* 2 Column text and video full width */
  .block-2-columns-text-and-video-full-width .block-video {position:relative;background-repeat:no-repeat;top:0;height:100%;z-index:0;width:100%;height:260px;background-position:center center;}
  .block-2-columns-text-and-video-full-width.half-right .block-video {width:100%;position: relative;height:400px !important;margin-bottom:50px;}
  .block-2-columns-text-and-video-full-width.half-left .block-video {width:100%;position: relative;height:400px !important;margin-bottom:50px;}	
  .block-2-columns-text-and-video-full-width .block-video video { height:400px!important; }  

  /* 2 Columns text + image */
  .block-2-columns-image-text .row.flex {margin-left:-15px;margin-right:-15px;}
  .block-2-columns-image-text .row.flex > div[class*="col-"] {padding-left:15px;padding-right:15px;}

  /* Text Slide */
  .block-text-slide .section-title + .marquee0, .block-text-slide .marquee0 + .btn {margin-top:60px;}
  .block-text-slide .marquee0 > div {max-height:72px;}
  .block-text-slide .title {font-size:50px;}
  .block-text-slide .title span {font-size:30px;}

  /* Accordion + Image */
  .block-accordion-and-image .row.flex {margin-left:-15px;margin-right:-15px;}
  .block-accordion-and-image .row.flex > div[class*="col-"] {padding-left:15px;padding-right:15px;}
  .block-accordion-and-image .img-responsive {margin:50px auto 0;width:500px;}

  /* Form Contacts > 2 columns */
  .block-form-contacts-2-columns .media-contacts {margin-top:30px;}
  .block-form-contacts-2-columns .list-social {margin-top:30px;}
  .block-form-contacts-2-columns .form-contact {margin-top:30px;}

  /* Google Map */
  .block-gmap .map-container {height:400px;}
  .block-gmap .map-container iframe {height:400px;}

  /* List > Spaces */
  .block-list-spaces .section-title {margin-bottom:40px;}

}

/* Tablet Landscape */
@media only screen and (min-width:992px) and (max-width:1199px) {

  /* Carousel > Main */
  .block-carousel-main .card .card-overlay .card-body {padding:0 45px;}
  .block-carousel-main .card-bg {height:650px;}
  .block-carousel-main h1 {font-size:60px;}

  /* Carousel > Taxonomy */
  .block-carousel-taxonomy .carousel-cards-tall .card .card-content p {opacity:1;transition:none;}
  .block-carousel-taxonomy .carousel-cards-tall .card .card-content, .carousel-cards-tall .card:hover .card-content {bottom:20px;padding:0 25px;transition:none;}
  .block-carousel-taxonomy .carousel-cards-tall .card .card-bg:before {background-color: rgba(0,0,0,.2);}  

  /* 2 Columns text + image */
  .block-2-columns-image-text .row.flex {margin-left:-15px;margin-right:-15px;}
  .block-2-columns-image-text .row.flex > div[class*="col-"] {padding-left:15px;padding-right:15px;}

  /* Text Slide */
  .block-text-slide .section-title + .marquee0, .block-text-slide .marquee0 + .btn {margin-top:60px;}
  .block-text-slide .marquee0 > div {max-height:85px;}
  .block-text-slide .title {font-size:60px;}
  .block-text-slide .title span {font-size:40px;}

  /* Accordion + Image */
  .block-accordion-and-image .row.flex {margin-left:-15px;margin-right:-15px;}
  .block-accordion-and-image .row.flex > div[class*="col-"] {padding-left:15px;padding-right:15px;}

  /* List > Spaces */
  .block-list-spaces .section-title {margin-bottom:50px;}

}

/* Laptop 13' - 1366x768 Non-Retina */
@media only screen and (min-width:1200px) and (max-width:1366px) {

  /* Carousel > Main */
  .block-carousel-main .card-bg {height:650px;}
  
}

/* Laptop 4:3 - 1440x1080 */
@media only screen and (min-width:1367px) and (max-width:1440px) {
}