/* Carousel > Main */
.block-carousel-main
.block-carousel-main .card {margin:0;}
.block-carousel-main .card-bg {height:650px;overflow: hidden;}
.block-carousel-main .card .card-overlay .card-body {max-width:1170px;margin:0 auto;}
.block-carousel-main .card .card-overlay:before {display:none;}
.block-carousel-main .title-over {text-transform:uppercase;margin-bottom:15px;}
.block-carousel-main .title > * {font-size:100px;margin-bottom:15px;}
.block-carousel-main .subtitle > * {font-size:30px;max-width:450px;margin-bottom:30px;}
.block-carousel-main p {padding-left:90px;max-width:500px;margin-bottom:0;line-height:19px;}
.block-carousel-main a {margin-left:0;max-width:370px;}
.block-carousel-main .carousel-arrows-lr {position:absolute;bottom:60px;left:0;right:0;max-width:1155px;margin:0 auto;}
.block-carousel-main .carousel-arrows-lr .prev {left:0;}
.block-carousel-main .carousel-arrows-lr .next {left: 45px;}
.block-carousel-main .card .points {position:absolute;bottom:60px;right:0;margin:0 auto;max-width:1170px;left:0;right:0;text-align:right;}
.block-carousel-main .card .points .point-title {display:inline-block;vertical-align:middle;font-size:22px;font-weight:bold;text-transform:uppercase;}
.block-carousel-main .card .points .icon30 {display:inline-block;vertical-align:middle;margin-left:6px;}
.block-carousel-main .card .points li + li {margin-left:40px;}

.block-carousel-main .videoContainer {width:100%;height:100%;object-fit:cover;}
.block-carousel-main .videoContainer::before {content:"";position:absolute;top:0;bottom:0;left:0;right:0;z-index:1;}
.block-carousel-main .videoContainer {position:absolute;top:-1px;bottom:-1px;left:-1px;right:-1px;overflow:hidden;-webkit-transition:width .3s;-moz-transition:width .3s;-o-transition:width .3s;transition:width .3s;}
.block-carousel-main .videoContainer .videoBg { position: absolute; top:0; left:0; right:0; bottom:0; object-fit: cover; object-position: center center; width:100%; height:100%;}
.block-carousel-main .videoContainer + .card-overlay {width:100%;height:100%;position:relative;z-index:2;}
.block-carousel-main .videoContainer + .card-overlay .card-body { transform: translate(-50%,0); top: unset; right: unset; left:50%; bottom: 70px; }
.block-carousel-main .videoContainer + .card-overlay .title > * {font-size: 80px;font-weight: 700;margin-bottom: 20px;}
.block-carousel-main .videoContainer + .card-overlay .subtitle > * {font-size:20px;margin-bottom:0;padding:0;max-width:100%;}

/* 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;}

/* Counter */
.block-counter .block-contact > p:last-child {margin-bottom:0;}

/* Counter (stile 2) */
.block-counter-s2 .block-contact > p:last-child {margin-bottom: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; }

/* 3 Column */
.block-2-columns .row.flex {display:flex;flex-wrap:wrap;gap:30px 0;}

/* 3 Column Table + Image */
.block_2_columns_table_image .img-responsive {margin:0 auto;}


/* 
------------------------------------------
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;top:50%;transform:translate(0,-60%);}
  .block-carousel-main .card .card-bg {height:540px;}
  .block-carousel-main .title > * {font-size:52px;line-height:initial;}
  .block-carousel-main .subtitle > * {font-size:22px;margin-bottom:20px;}  
  .block-carousel-main p {padding-left:0;max-width:100%}
  .block-carousel-main a {margin-left:0;}
  .block-carousel-main .carousel-arrows-lr {left:15px;bottom:100px;}
  .block-carousel-main .card .points {bottom:84px;max-width:initial;text-align:left;}
  .block-carousel-main .card .points .list-inline {margin:0 10px 0 0;text-align: right;}
  .block-carousel-main .card .points li {margin:10px 0 0;}
  .block-carousel-main .card .points li + li {margin:0;}
  .block-carousel-main .card .points .icon30 {width:20px;height:20px;}

  .block-carousel-main .card .videoContainer, 
  .block-carousel-main .card .videoContainer + .card-overlay {height:460px;}
  .block-carousel-main .card .videoContainer { background-color:#000; }
  .block-carousel-main .card .videoContainer > video {position: relative !important;  top: unset !important; bottom: unset !important; left: unset !important; right: unset !important; overflow: unset !important; -webkit-transition: unset !important; -moz-transition: unset !important; -o-transition: unset !important; transition: unset !important; transform: unset !important; width:100% !important; min-width:unset !important; min-height:unset !important; }  
  .block-carousel-main .card .videoContainer + .card-overlay .card-body { transform: unset; top: unset; right: 0; left:0; bottom: 20px;}
  .block-carousel-main .card .videoContainer + .card-overlay .title > * {font-size:40px; line-height: 34px; margin-bottom: 10px;}

  /* 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);}

  /* Counter */
  .block-counter img {margin:40px 0;}
  .block-counter .list > div:first-child {margin-top:0;}
  .block-counter .block-title { text-align: left; }  

  /* Counter (stile 2) */
  .block-counter-s2 img {margin:40px 0;}
  .block-counter-s2 .list > div:first-child {margin-top:0;}
  .block-counter-s2 .block-title { text-align: left; }  

  /* 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; }

}

/* 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 60px;top:45%;transform:translate(0,-55%);}
  .block-carousel-main p {padding-left:0;max-width:100%}
  .block-carousel-main a {margin-left:0;}
  .block-carousel-main p {max-width:350px;}
  .block-carousel-main .card .points {bottom:45px;max-width:initial;text-align:left;}
  .block-carousel-main .card .points .list-inline {margin:0;text-align: right;padding-right:60px;}
  .block-carousel-main .carousel-arrows-lr {left:30px;}
  .block-carousel-main .carousel-arrows-lr .prev { left:30px; }
  .block-carousel-main .carousel-arrows-lr .next { left:75px; }
  .block-carousel-main .card .points li {margin:10px 0 0;}
  .block-carousel-main .card .points li + li {margin:0;}
  .block-carousel-main .card .points .icon30 {width:20px;height:20px;}

  .block-carousel-main .videoContainer > video {position: relative !important;  top: unset !important; bottom: unset !important; left: unset !important; right: unset !important; overflow: unset !important; -webkit-transition: unset !important; -moz-transition: unset !important; -o-transition: unset !important; transition: unset !important; transform: unset !important; width:100% !important; min-width:unset !important; min-height:unset !important; }  
  .block-carousel-main .videoContainer + .card-overlay .card-body { transform: translate(-50%,0); top: unset; right: unset; left:50%; bottom: 70px; }  

  /* 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);}

  /* Counter */
  .block-counter img {margin:40px 0;}
  .block-counter .block-title { text-align: left; }
  .block-counter .col-xs-12 .block-data:first-child { margin-top:40px; }  

  /* Counter (stile 2) */
  .block-counter-s2 img {margin:40px 0;}
  .block-counter-s2 .block-title { text-align: left; }
  .block-counter-s2 .col-xs-12 .block-data:first-child { margin-top:40px; } 

  /* 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; }  

}

/* Tablet Landscape */
@media only screen and (min-width:992px) and (max-width:1199px) {

  /* Carousel > Main */
  .block-carousel-main .carousel-arrows-lr {left:30px;}
  .block-carousel-main .card .card-overlay .card-body {padding:0 30px;}
  .block-carousel-main .card-bg {height:550px;}
  .block-carousel-main .title > * {font-size:80px;}
  .block-carousel-main .subtitle > * {font-size:30px;}  
  .block-carousel-main p {padding:0;}
  .block-carousel-main a {margin:0;}
  .block-carousel-main .card .points {right:30px;bottom:30px;}

  /* 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);}  

}

/* Laptop 13' - 1366x768 Non-Retina */
@media only screen and (min-width:1200px) and (max-width:1366px) {

  /* Carousel > Main */
  .block-carousel-main .card .card-overlay .card-body {padding:60px;}
  
}

/* Laptop 4:3 - 1440x1080 */
@media only screen and (min-width:1367px) and (max-width:1440px) {
}