/*
Theme Name: mega
Description:
Author:
Author URI:
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/








.title .pull-text-left {
    margin-left: -100px;
}

.title .pull-text-right {
    margin-right: -100px;
}

@media only screen and (max-width: 640px) {

    .title .pull-text-left {
        margin-left: 0px;
    }
    
    .title .pull-text-right {
        margin-right: 25px;
    }
    
    .title .after {
        margin-left: 25px;
    }
    .title .before {
        margin-left: 25px;
    }
    
}





.push-text-right {
    padding-left: 50px;
}


.fusion-is-sticky .fusion-header-v6-content {
    height: 111px;
}


.subtitle {
    font-size: 28px !important;
}


/* ROW STYLES ========================================= */



@media only screen and (max-width: 640px) {
    .no-margin-left > div,
    .no-margin-right > div {
        margin-left: -30px !important;
        margin-right: -30px !important;
        width: 100vw !important;
    }
}

@media only screen and (min-width: 641px) and (max-width: 1500px) {
    .no-margin-left > div {
        margin-left: -20px !important;
    }
    
    .no-margin-right > div {
        margin-right: -20px !important;
    }
}

/* ========================================= END ROW STYLES  */



/* HEADER STYLES ========================================= */

.fusion-header-has-flyout-menu .fusion-header-v6-content {
    height: 150px;
    justify-content: flex-end !important;
}

.fusion-header-has-flyout-menu .fusion-header-v6-content .fusion-logo {
    position: absolute !important;
    left: 50px;
}

@media only screen and (min-width: 1600px) {
    .fusion-header-has-flyout-menu .fusion-header-v6-content .fusion-logo {
        left: calc( (100vw - 1500px) / 2);
    }
}

.fusion-social-links-header {
    margin: 0px 20px !important;
}

.fusion-social-networks .fusion-social-network-icon {
    margin: 5px !important;
}

.fusion-social-networks .fusion-social-networks-wrapper {
    margin: 0px !important;
}

.fusion-social-links-header, .fusion-flyout-menu-icons {
    display: none !important
}

.menu-lang ul li {
    list-style: none;
    display: inline;
}
.menu-lang ul li a {
    color: #ffffff;
    font-family: "Rubik-SemiBold";
}


/* ========================================= END HEADER STYLES  */


/* SHAPE STYLES ========================================= */

.shape001:after,
.shape002:after,
.shape003:after,
.shape004:after,
.shape005:after,
.shape006:after {
    font-family: 'shapes' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.shape001:after {
    content: "\e901";
    position: absolute;
    top: -200px;
    right: 20%;
    font-size: 350px;
    color: var(--awb-color1);
}
@media only screen and (max-width: 1024px) {
    .shape001:after {
        font-size: 200px;
        top: -100px;
    }
}

.shape002:after {
    content: "\e902";
    position: absolute;
    bottom: -150px;
    left: 60%;
    font-size: 300px;    
    color: var(--awb-color2);
}

.shape003:after {
    content: "\e903";
    position: absolute;
    bottom: 350px;
    right: 50px;
    font-size: 350px;    
    color: var(--awb-color1);
    transform: rotate(45deg);
}

.shape004:after {
    content: "\e900";
    position: absolute;
    bottom: -450px;
    left: -100px;
    font-size: 600px;    
    color: var(--awb-color1);
}

.shape005:after {
    content: "\e900";
    position: absolute;
    top: 150px;
    left: calc( ( (100vw - 1560px) / 2 * -1 ) - 50px);
    font-size: 20vw;    
    color: var(--awb-color4);
}
@media only screen and (max-width: 1560px) {
    .shape005:after {
        left: -50px;
    }
}
@media only screen and (max-width: 1024px) {
    .shape005:after {
        display: none;
    }
}

@media only screen and (max-width: 1024px) {
    .shape006:after {
        content: "\e900";
        position: absolute;
        top: -50px;
        /*left: calc( 100vw - 250px );*/
        right: -250px;
        font-size: 250px;    
        color: var(--awb-color4);
    }
}

/* ========================================= END SHAPE STYLES  */





.listing {
    margin-right: 25px !important;
}

@media only screen and (min-width: 1500px) {
    .listing {
        margin-right: 150px !important;
    }
}




/* RUNNING TEXT STYLES ========================================= */

.running-container {
    width: calc(100vw + 100px);
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box; /* Ensure padding and borders are included in the width */
    display: flex;
    align-items: center;
    margin-left: -50px !important;
    margin-right: -50px !important;
}

.running {
    display: flex;
    white-space: nowrap;
    animation: scroll 20s linear infinite;
    
    font-family: "Rubik-SemiBold";
    font-size: 224px;
    color: var(--awb-color4);
}

@media only screen and (max-width: 800px) {
    .running-container {
        margin-left: -30px;
        margin-right: -30px;
    }
    .running {
        font-size: 78px;
    }
}

.running span {
    padding-right: 2rem; /* Adjust spacing between the messages */
}

@keyframes scroll {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ========================================= END RUNNING TEXT STYLES */



/* VIDEO STYLES ========================================= */

@media only screen and (min-width: 800px) {
    .placeholder-video-container {
        position: absolute !important;
        height: 100vh !important;
        display: flex !important;
        align-items: center !important;
    }

    .placeholder-video-container .fusion-column-wrapper {
        max-width: 70% !important;
        max-height: calc(100vh - 350px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }


    .placeholder-video-container .play {
        position: absolute;
        width: 150px;
        height: 150px;
        top: calc(100vh / 2 - 75px);
        left: calc(100vw / 2 - 75px);
        z-index: 100;

        display: none !important;
    }

    .placeholder-video {
        border: solid 10px #ffffff;
        z-index: 90;
        /*height: auto !important;*/
        /*max-height: calc(100% - 250px) !important;*/
        display: inline-block !important;
        position: relative;
    }

    .placeholder-video video {
        max-height: calc(100vh - 350px) !important;

    }
    
    .placeholder-video .video-wrapper {
        z-index: 90;
        overflow: visible !important;
    }
    
    .placeholder-video::after {
        background-color: #000000;
        width: 100%;
        height: 100%;
        opacity: 0.5;

        z-index: 200 !important;
        position: absolute;
        content: " ";
        top: 0;
        left: 0;
        
        display: none;
    }
    
    .placeholder-video-container .fusion-column-wrapper:hover .placeholder-video::after, 
    .placeholder-video-container .fusion-column-wrapper:hover .play {
        display: block !important;
    }

    .placeholder-video .video-wrapper::before,
    .placeholder-video .video-wrapper::after {
        content: " ";
        background: url('images/scotch.svg'); /* Adjust image path and properties */
        position: absolute;
        background-size: contain;
        background-repeat: no-repeat;
        opacity: 0.7;
        
        width: 150px;
        height: 125px;
        z-index: 100;        
    }
    .placeholder-video .video-wrapper::before {
        top: calc((125px / 2) * -1);
        right: calc((150px / 2) * -1);
    }
    .placeholder-video .video-wrapper::after {
        bottom: calc((125px / 2) * -1);
        left: calc((150px / 2) * -1);
    }

}

@media only screen and (min-width: 1600px) {
    .placeholder-video-container .fusion-column-wrapper {
        max-width: 50% !important;
    }
}

@media only screen and (max-width: 800px) {

    .placeholder-video-container {
        height: 60vh;
    }

    .placeholder-video,
    .placeholder-video .video-wrapper,
    .placeholder-video .video-wrapper video {
        height: 100%;
    }


    .placeholder-video {
        border: solid 10px #ffffff;
    }

    .placeholder-video-container .fusion-column-wrapper .play {
        width: 125px;
        height: 125px;
        position: absolute;
        bottom: calc((125px / 2) * -1);
        right: -25px;

    }
}


/* Fullscreen container style */

.video-container-wrapper {
    display: none !important;
}

#video-container {
    /*position: fixed;*/ /* Ensure it covers the entire viewport */
    /*top: 0;
    left: 0;*/
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    background: #000; /* Black background to fill space around video */
    z-index: 9999; /* Ensure it’s on top */
}
iframe {
    width: 100%;
    height: 100%;
    border: none;
}
/* Optional button style */
#fullscreen-btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 10px 20px;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* ========================================= END VIDEO STYLES */



.fontawesome-icon.fb-icon-element.circle-yes {
    transform: skew(-10deg, 0deg);
}
.fontawesome-icon.fb-icon-element.circle-yes::before {
    transform: skew(0deg, 0deg);
}




.socials > div {
    flex-direction: row !important;
    justify-content: center !important;
}
.socials > div i {
    margin-right: 10px !important;
    margin-left: 10px !important;
}





.share-video {
    position: absolute !important;
    z-index: 110 !important;
}

@media only screen and (min-width: 800px) {
    .share-video {
        top: 70vh !important;
        right: 25px !important;
    }
}
@media only screen and (min-width: 1600px) {
    .share-video {
        top: 70vh !important;
        right: 10vw !important;
    }
}








/* MODAL STYLES ========================================= */


#openModalBtn {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: fadeIn 0.5s;
    border-radius: 25px !important;
}

.modal .modal-content .modal-header {
    border-bottom: 2px solid var(--awb-color1);
}

.modal .modal-content .modal-header .modal-title {
    color: var(--awb-color1);
    font-size: 28px;
    line-height: 1.2;
    font-family: "Rubik-SemiBold";
}

.modal-main {
    display: flex;
    justify-content: center;
    padding: 25px;
}

.close-modal {
    color: #ffffff !important;
    float: right;
    font-size: 28px !important;
    line-height: 28px !important;
    font-weight: bold;
    cursor: pointer;
    
    background-color: var(--awb-color1) !important;
    border-radius: 50%;
    padding: 5px 10px;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


.modal i {
    background-color: var(--awb-color1);
    color: #ffffff;
    border-radius: 50%;
    transform: skew(-10deg, 0deg);
    width: 60px;
    height: 60px;
    
    overflow: hidden;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.modal i::before {
    color: #ffffff;
    font-size: 30px;
}

/* ========================================= END MODAL STYLES  */




/* COOKIE STYLES ========================================= */

.cky-notice .cky-title {
    font-family: "Rubik-SemiBold";
}

.cky-btn {
    font-family: "Rubik-SemiBold";
    background-color: var(--awb-color1) !important;
    color: #ffffff !important;
    border-color: var(--awb-color1) !important;
    transform: skew(-10deg, 0deg);
    border-radius: 10px !important;
}
.cky-btn:hover {
    background-color: var(--awb-color3) !important;
    border-color: var(--awb-color3) !important;
}

.cky-preference-content-wrapper .cky-show-desc-btn {
    color: var(--awb-color1) !important;
}

.cky-switch input[type="checkbox"]:checked {
    background-color: var(--awb-color1) !important;
}

.cky-modal.cky-modal-open [data-cky-tag="detail-powered-by"], .cky-revisit-bottom-left {
    display: none !important;
}

/* ========================================= END COOKIE STYLES  */




.yt-video {
    width: 100vw !important;
    height: 100vh !important;
}




.text {
  /*position: fixed;*/
  top: 10px;
}

.highlight {
  color: #E84C05;
}




.football-player::before {
    content: " ";
    background-image: url("https://mega.blocknote.dev/wp-content/uploads/2024/08/football-scaled.jpg");
    background-size: cover;
    background-position: right;
    height: 100%;
    width: 35vw;
    position: absolute;
    top: 0px;
    left: 0px;
}


.swimming::before {
    content: " ";
    background-image: url("https://mega.blocknote.dev/wp-content/uploads/2024/08/swim-scaled.jpg");
    background-size: cover;
    background-position: right;
    height: 100%;
    width: 35vw;
    position: absolute;
    top: 0px;
    right: 0px;  
}


.push-image-to-right-side {
    position: absolute !important;
    top: 0px !important;
    right: calc( ( (100vw - 1560px) / 2 * -1) ) !important;
    width: calc( (100vw - 1560px) / 2 + 150px ) !important;
    max-width: calc( (100vw - 1560px) / 2 + 150px ) !important;
}


@media only screen and (max-width: 1700px) {
    .volleyball,
    .runners {
        display: none !important;
    }
}
@media only screen and (min-width: 1700px) {
    .volleyball {
        position: absolute !important;
        top: 50px !important;
        right: calc( ( (100vw - 1560px) / 2 * -1) - 50px ) !important;
        width: 350px !important;
    }
    .runners {
        position: absolute !important;
        top: 50px !important;
        left: calc( ( (100vw - 1560px) / 2 * -1) - 50px ) !important;
        width: 450px !important;
    }
}


.flip-cards {
    position: absolute !important;
    top: -50px !important;
    right: 0px !important;
    z-index: 999 !important;
    
    background-color: #ffffff !important;
    color: #002f39 !important;
    border-radius: 50% !important;
    width: 125px !important;
    height: 125px !important;
    text-align: center;
    
    /* Initial transform with skewX */
    transform: skewX(-10deg);
    transition: transform 0.3s ease !important; /* Smooth transition effect */
}
.flip-cards:hover {
    /* Combine scale and skew in one transform */
    transform: scale(1.2) skewX(-10deg) !important;
}
@media only screen and (max-width: 1100px) {
    .flip-cards {
        top: 50px !important;
    }
}



/* BOXES STYLES ========================================= */

.boxes > div {
    margin-top: -150px !important;
    margin-bottom: -150px !important;
}

.box001, .box002, .box003, .box004, .box005 {
    padding: 25px;
    margin: 50px 40px !important;
    /*width: calc(var(--awb-col-width) - 40px) !important;*/
}

@media only screen and (max-width: 1180px), (orientation: portrait) {
    .box001, .box002, .box003, .box004, .box005 {
        margin: 40px 30px !important;
        /*width: calc(var(--awb-col-width) - 30px) !important;*/
    }
}


.box001 .title:not(.subtitle) *, .box002 .title:not(.subtitle) *, .box003 .title:not(.subtitle) *, .box004 .title:not(.subtitle) *, .box005 .title:not(.subtitle) * {
    font-size: 30px !important;
}

@media only screen and (max-width: 1024px) {
    .box001 .subtitle *, .box002 .subtitle *, .box003 .subtitle *, .box004 .subtitle *, .box005 .subtitle * {
        font-size: 18px !important;
    }
    .box001 .title:not(.subtitle) *, .box002 .title:not(.subtitle) *, .box003 .title:not(.subtitle) *, .box004 .title:not(.subtitle) *, .box005 .title:not(.subtitle) * {
        font-size: 22px !important;
    }
}



@keyframes rotate-one {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(10deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes rotate-two {
  0% {
    transform: rotate(10deg);
  }
  50% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(10deg);
  }
}

@keyframes rotate-three {
  0% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-5deg);
  }
}

.box002:hover, .box004:hover, .box005:hover {
  animation: rotate-one; /* referring directly to the animation's @keyframe declaration */
  animation-duration: 1s; /* don't forget to set a duration! */
}

.box003:hover {
  animation: rotate-two; /* referring directly to the animation's @keyframe declaration */
  animation-duration: 1s; /* don't forget to set a duration! */
}

.box001:hover {
  animation: rotate-three; /* referring directly to the animation's @keyframe declaration */
  animation-duration: 1s; /* don't forget to set a duration! */
}


.box001 {
    background-color: #ffffff;
    border: solid 10px #E84C05;
    
    transform: rotate(-5deg);
}

.box002 {
    background-color: #1E5C66;
    border: solid 10px #ffffff;
}
.box002::before,
.box002::after {
    content: " ";
    background: url('images/scotch.svg'); /* Adjust image path and properties */
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
    
    width: 100px;
    height: 75px;
    z-index: 100;
}
.box002::before {
    top: calc((75px / 2) * -1);
    right: calc((100px / 2) * -1);
}
.box002::after {
    bottom: calc((75px / 2) * -1);
    left: calc((100px / 2) * -1);
}

.box003 {
    background-color: #ffffff;
    border: solid 10px #B4C3BD;
    
    margin-top: 100px !important;
    transform: rotate(10deg);
}
.box003::before {
    content: " ";
    background: url('images/scotch.svg'); /* Adjust image path and properties */
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
    
    width: 100px;
    height: 75px;
    z-index: 100;
    
    top: calc((75px / 2) * -1);
    right: 50%;
    
    transform: rotate(45deg);    
}

.box004 {
    background-color: #E84C05;
    border: solid 10px #ffffff;
}
.box004 * {
    z-index: 100;
}
.box004::after {
    content: url("images/box.svg");
    width: calc(100% + 10px);
    position: absolute;
    bottom: -100px;
    left: 0px;
    height: 100px;
}

.box005 {
    background-color: #B4C3BD;
    border: solid 10px #ffffff;
}


/* ========================================= END BOXES STYLES */



/* PRELOADER STYLES ========================================= */

#preloader {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: #06242f;
    top: 0;
    left: 0;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-overlay {
    max-width: 100%;
    max-height: 100%;
}

.preloader-overlay video {
    width: 350px;
    margin-left: auto;
    margin-right: auto;
}

body.loading #preloader {
    display: flex;
}

body.loaded #preloader {
    /*display: none;*/
}

body#wrapper {
    opacity: 0;
    visibility: hidden;
}

/* ========================================= END PRELOADER STYLES */



/* VIDEO LIST STYLES ========================================= */

.video-list-item {
    border: solid 10px #ffffff;
}

.video-list-item.fusion-video,
.video-list-item.fusion-video .video-shortcode {
    width: 100% !important;
    max-width: 100% !important;
    height: 500px !important;
    max-height: 500px !important;
}
.video-list-item.fusion-video .video-shortcode iframe {
    width: 100% !important;
    max-width: 100% !important;
    height: 480px !important;
    max-height: 480px !important;
}

.video-play-button {
    position: absolute !important;
    top: calc(50% - 75px) !important;
    left: calc(50% - 75px) !important;
    width: 150px !important;
}


@media only screen and (max-width: 700px) {
    .video-list-item.fusion-video,
    .video-list-item.fusion-video .video-shortcode {
        height: 400px !important;
        max-height: 400px !important;
    }
    .video-list-item.fusion-video .video-shortcode iframe {
        height: 380px !important;
        max-height: 380px !important;
    }
}

/* ========================================= END VIDEO LIST STYLES */




/* POSTER SLIDER STYLES ========================================= */

.poster-slider .awb-swiper:not(.swiper-fade) .swiper-wrapper .swiper-slide .fusion-image-wrapper {
    border: none !important;
}

.poster-slider-wrapper .fusion-image-carousel {
    margin: 0px 50px !important;
}

.poster-slider-wrapper .awb-swiper-button-prev, .poster-slider-wrapper .awb-swiper-button-next {    
    display: none !important;
}



.custom-prev,
.poster-slider-wrapper .awb-swiper-button-prev {
    position: absolute !important;
    left: 0px !important;
    top: calc(50% - 40px) !important;
}
.custom-next,
.poster-slider-wrapper .awb-swiper-button-next {
    position: absolute !important;
    right: 0px !important;
    top: calc(50% - 40px) !important;
}

.custom-prev i,
.awb-swiper-button-prev i,
.custom-next i,
.awb-swiper-button-next i {
    font-family: 'mega-ico' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    font-size: 40px !important;
    color: #ffffff;
    opacity: 0.8;
    background-color: none !important;
}

@media only screen and (max-width: 700px) {
    .custom-prev i,
    .awb-swiper-button-prev i,
    .custom-next i,
    .awb-swiper-button-next i {
        font-size: 20px !important;
    }
    .custom-prev,
    .poster-slider-wrapper .awb-swiper-button-prev {
        top: calc(50% - 20px) !important;
    }
    .custom-next,
    .poster-slider-wrapper .awb-swiper-button-next {
        top: calc(50% - 20px) !important;
    }
}

.custom-prev:hover i,
.awb-swiper-button-prev:hover i,
.custom-next:hover i,
.awb-swiper-button-next:hover i {
    opacity: 1;
}

.awb-swiper-button-prev,
.awb-swiper-button-prev:hover,
.awb-swiper-button-next,
.awb-swiper-button-next:hover{
    background-color: rgba(255, 255, 255, 0) !important;
}

.awb-icon-angle-left:before {
    content: "\e901" !important;
}
.awb-icon-angle-right:before {
    content: "\e900" !important;
}

/* ========================================= END POSTER SLIDER STYLES */



/* PERSON SLIDER STYLES ========================================= */

.head-slider img,
.body-slider img,
.leg-slider img,
.floor-slider img {
    width: 500px !important;
    height: auto !important;
    max-height: 100% !important;
}

@media only screen and (max-width: 700px) {
    .head-slider img,
    .body-slider img,
    .leg-slider img,
    .floor-slider img {
        width: 300px !important;
        height: auto !important;
        max-height: 100% !important;
    }
}

.person-slider .awb-swiper:not(.swiper-fade) .swiper-wrapper {
    padding: 0px !important;
}
.person-slider.fusion-image-carousel {
    margin-bottom: 0px !important;
}
.person-slider.fusion-carousel-border .fusion-image-wrapper {
    border: none !important;
}

.person-slider-wrapper .awb-swiper-button-prev, .person-slider-wrapper .awb-swiper-button-next {    
    display: none !important;
}

.person-slider-wrapper .fusion-image-carousel {
    margin: 0px 50px !important;
}

/* ========================================= END PERSON SLIDER STYLES */




.poster-video .poster-play {
    position: absolute;
    top: calc(50% - 75px);
    left: calc(50% - 75px);
    width: 150px;
    height: 150px;
}

.poster-video video{
    border: solid 10px #ffffff;
}





#imageCanvas,
#previewCanvas {
    display: none !important;
}


#mergeImages {
    position: absolute !important;
    top: -250px !important;
    left: 0px !important;
    z-index: 999 !important;
    
    background-color: #ffffff !important;
    color: #002f39 !important;
    border-radius: 50% !important;
    width: 125px !important;
    height: 125px !important;
    text-align: center;
    
    /* Initial transform with skewX */
    transform: skewX(-10deg);
    transition: transform 0.3s ease !important; /* Smooth transition effect */
}
#mergeImages:hover {
    /* Combine scale and skew in one transform */
    transform: scale(1.2) skewX(-10deg) !important;
}
@media only screen and (max-width: 1100px) {
    #mergeImages {
        top: 50px !important;
    }
}


