/* Carousel > Main */
.block-carousel-main.carousel-container {padding:0;}
.block-carousel-main .carousel-arrows-lr {display:none;;}
.block-carousel-main .card-bg {height:800px;max-height:100vh;}
.block-carousel-main .carousel-content-over {position:absolute;top:50%;left:0;right:0;transform:translate(0,-50%);}
.block-carousel-main h1 {font-size:35px;font-weight:500;margin:0;}
.block-carousel-main h1 * {color:var(--color-white);margin:0;}
.block-carousel-main .btn {margin-top:50px;}
.block-carousel-main .img-logo {width:530px;margin:200px auto 50px;transition:all .9s ease-in-out;}
.block-carousel-main .content {opacity:0;visibility:hidden;transition:opacity .9s ease-in-out;}
.block-carousel-main.animated .img-logo {width:360px;margin-top:0;}
.block-carousel-main.animated .content {opacity:1;visibility:visible;}

/* 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; }

/* Blocks > 2 Columns */
.block-2-columns .row.flex {gap:30px 0;}

/* Blocks > Carousels > Services */
.block-carousel-services .carousel-container {padding:0;}
.block-carousel-services .carousel-container .carousel-arrows-lr .prev {top:-30px;left:unset;right:45px;transform:translate(0,-100%);}
.block-carousel-services .carousel-container .carousel-arrows-lr .next {top:-30px;transform:translate(0,-100%);}
.block-carousel-services .card-service .section-title h4 {margin-bottom:10px;}
.block-carousel-services .card-service .icon {width:110px;height:110px;margin-bottom:35px;}

/* Blocks > Carousels > Team */
.block-carousel-team .carousel-container {margin-top:30px;}
.block-carousel-team .btn-bottom {margin-top:60px;}

/* Blocks > CTA */
.block-call-to-action .row.flex {gap:30px 0;}
.block-call-to-action .section-title h3 {margin-bottom:15px;}

/* Blocks > 3 Columns */
.block-3-columns .row.flex {gap:30px 0;}
.block-3-columns .section-title h3 {margin-bottom:0;}

/* Blocks > Team Founders */
.block-team-founder .founders-container .row + .row {margin-top:60px;}
.block-team-founder .founders-container .text-container {margin-top:60px;}

/* Blocks > List Team */
.block-list-team .team-container {margin-top:30px;}
.block-list-team .team-container > .row {gap:60px 0;}
.block-list-team .team-container .card {margin:0;}

/* Blocks > List Services */
.block-list-services .services-container {margin-top:30px;}
.block-list-services .services-container .row.flex {gap:50px 0;}
.block-list-services .services-container .card {margin:0;}

/* Blocks > Contacts + Gmap */
.map-container {--map-height:450px;height:var(--map-height);position:relative;background-color:var(--color-grey-light);}
.map-container iframe {width:100%;height:var(--map-height);border:0;z-index:1;position:relative;}
.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;}
.list-contacts > li {display:flex;align-items:flex-start;color:var(--color-black);word-break:break-word;justify-content:center;}
.list-contacts > li + li {margin-top:20px;}
.list-contacts > li div[class*="icon-"] {display:block;flex-shrink:0;margin-right:10px;}
.list-social {display:flex;flex-wrap:wrap;gap:10px;}
.list-social .icon {display:block;width:30px;height:30px;}
.block-contacts-and-gmap .section-title > *:last-child {margin-bottom:0;}
.block-contacts-and-gmap .list-contacts, .block-contacts-and-gmap .list-social {margin-top:60px;}

/* Blocks > 2 Columns > Contacts + Gmap */
.block-2-columns-contacts-and-gmap.pl-0 .container-fluid {padding-left:0;}
.block-2-columns-contacts-and-gmap.pr-0 .container-fluid {padding-right:0;}
.block-2-columns-contacts-and-gmap.pl-0 .row.flex {margin-left:0;}
.block-2-columns-contacts-and-gmap.pr-0 .row.flex {margin-right:0;}
.block-2-columns-contacts-and-gmap .map-container {--map-height:750px;}
.block-2-columns-contacts-and-gmap .text-container {padding:90px 0;}
.block-2-columns-contacts-and-gmap .list-contacts, .block-2-columns-contacts-and-gmap .list-social {margin-top:60px;}

/* Blocks > Form 2 columns */
.block-form-2-columns .row.flex {gap:30px 0;}


/* 
------------------------------------------
Responsive 
------------------------------------------
*/

/* Smartphone */
@media only screen and (max-width:767px) and (min-width:320px) {

  /* Carousel > Main */
  .block-carousel-main .card-bg {height:450px;}
  .block-carousel-main h1 {font-size:25px;}
  .block-carousel-main .btn {margin-top:30px;}
  .block-carousel-main .img-logo {width:300px;margin-bottom:30px;}
  .block-carousel-main.animated .img-logo {width:200px;}

  /* 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; }

  /* Blocks > Carousels > Services */
  .block-carousel-services .carousel-container {padding-top:30px;}
  .block-carousel-services .carousel-container .carousel-arrows-lr .prev {top:0;}
  .block-carousel-services .carousel-container .carousel-arrows-lr .next {top:0;}
  .block-carousel-services .card-service .icon {width:60px;height:60px;margin-bottom:15px;}

  /* Blocks > Carousels > Team */
  .block-carousel-team .col-xs-12 {padding:0 !important;}
  .block-carousel-team .carousel-container {margin:0;padding:0;}
  .block-carousel-team .carousel-container .carousel-arrows-lr {display:none;}
  .block-carousel-team .btn-bottom {margin-top:30px;}

  /* Blocks > CTA */
  .block-call-to-action {text-align:center;}
  .block-call-to-action .text-right {text-align:center;}

  /* Blocks > 3 Columns */
  .block-3-columns .row.flex {gap:0;}
  .block-3-columns .section-title {margin-bottom:5px;}
  .block-3-columns .text {margin-top:15px;}

  /* Blocks > Team Founders */
  .block-team-founder .founders-container .row.flex {gap:20px 0;}
  .block-team-founder .founders-container .row + .row {margin-top:40px;}
  .block-team-founder .founders-container .text-container {margin-top:0;}
  
  /* Blocks > List Team */
  .block-list-team .team-container {margin-top:0;}
  .block-list-team .team-container > .row {gap:30px 0;}

  /* Blocks > List Services */
  .block-list-services .services-container {margin-top:0;}
  .block-list-services .services-container .row.flex {gap:30px 0;}

  /* Blocks > Contacts + Gmap */
  .list-contacts > li + li {margin-top:10px;}
  .block-contacts-and-gmap .list-contacts, .block-contacts-and-gmap .list-social {margin-top:30px;}

  /* Blocks > Contacts + Gmap */
  .block-2-columns-contacts-and-gmap {padding-left:var(--section-padding-x) !important;padding-right:var(--section-padding-x) !important;}
  .block-2-columns-contacts-and-gmap .container-fluid {padding-left:15px !important;padding-right:15px !important;}
  .block-2-columns-contacts-and-gmap .row.flex {margin-left:-15px !important;margin-right:-15px !important;}
  .block-2-columns-contacts-and-gmap .row.flex > div[class*="col-"] {padding-left:15px !important;padding-right:15px !important;}
  .block-2-columns-contacts-and-gmap .map-container {--map-height:300px;margin-left:-15px;margin-right:-15px;}
  .block-2-columns-contacts-and-gmap .text-container {padding:50px 0;}
  .block-2-columns-contacts-and-gmap .list-contacts, .block-2-columns-contacts-and-gmap .list-social {margin-top:30px;}

  .list-contacts > li {justify-content:start;}

}

/* 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-bg {height:600px;}
  .block-carousel-main h1 {font-size:30px;}
  .block-carousel-main .btn {margin-top:30px;}
  .block-carousel-main .img-logo {margin-bottom:30px;}

  /* 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; }  

  /* Blocks > CTA */
  .block-call-to-action {text-align:center;}
  .block-call-to-action .text-right {text-align:center;}

  /* Blocks > Carousels > Services */
  .block-carousel-services .carousel-container {padding-top:30px;}
  .block-carousel-services .carousel-container .carousel-arrows-lr .prev {top:0;}
  .block-carousel-services .carousel-container .carousel-arrows-lr .next {top:0;}

  /* Blocks > Team Founders */
  .block-team-founder .founders-container .row + .row {margin-top:40px;}
  .block-team-founder .founders-container .text-container {margin-top:0;}

  /* Blocks > List Team */
  .block-list-team .team-container {margin-top:10px;}
  .block-list-team .team-container > .row {gap:40px 0;}

  /* Blocks > List Services */
  .block-list-services .services-container {margin-top:10px;}
  .block-list-services .services-container .row.flex {gap:30px 0;}

  /* Blocks > Contacts + Gmap */
  .block-contacts-and-gmap .list-contacts, .block-contacts-and-gmap .list-social {margin-top:40px;}

  /* Blocks > Contacts + Gmap */
  .block-2-columns-contacts-and-gmap {padding-left:var(--section-padding-x) !important;padding-right:var(--section-padding-x) !important;}
  .block-2-columns-contacts-and-gmap .container-fluid {padding-left:15px !important;padding-right:15px !important;}
  .block-2-columns-contacts-and-gmap .row.flex {margin-left:-15px !important;margin-right:-15px !important;}
  .block-2-columns-contacts-and-gmap .row.flex > div[class*="col-"] {padding-left:15px !important;padding-right:15px !important;}
  .block-2-columns-contacts-and-gmap .map-container {--map-height:600px;margin-left:-30px;margin-right:-30px;}
  .block-2-columns-contacts-and-gmap .text-container {padding:90px 0;}
  .block-2-columns-contacts-and-gmap .list-contacts, .block-2-columns-contacts-and-gmap .list-social {margin-top:40px;}

  .list-contacts > li {justify-content:start;}

}

/* Tablet Landscape */
@media only screen and (min-width:992px) and (max-width:1199px) {

  /* Carousel > Main */
  .block-carousel-main .card-bg {height:700px;}

  /* 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);}  

  /* Blocks > Team Founders */
  .block-team-founder .founders-container .text-container {margin-top:0;}

  /* Blocks > Contacts + Gmap */
  .block-2-columns-contacts-and-gmap .map-container {--map-height:600px;}
  .block-2-columns-contacts-and-gmap .text-container {padding:60px 0;}

}

/* Laptop 13' - 1366x768 Non-Retina */
@media only screen and (min-width:1200px) and (max-width:1366px) {  
}

/* Laptop 4:3 - 1440x1080 */
@media only screen and (min-width:1367px) and (max-width:1440px) {
}