﻿
body {
    /*background-color: #e4e4e4;*/
}

img {
    max-width: 100%;
    vertical-align: middle;
    display: inline-block;
}

.spacer-100 {
    width: 100px;
    height: 100px;
}

.spacer-60 {
    width: 60px;
    height: 60px;
}

.spacer-30 {
    width: 30px;
    height: 30px;
}

.spacer-15 {
    width: 15px;
    height: 15px;
}

.carousel {
    position: relative;
    display: flex;
    overflow: hidden;
    width: 100%;
    height: 600px;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    flex: 1;
    /*-webkit-mask-image: linear-gradient( to bottom, transparent 0%, #f9f8f6 12%, #f9f8f6 88%, transparent 100% );*/
    /*mask-image: linear-gradient( to bottom, transparent 0%, #f9f8f6 18%, #f9f8f6 80%, transparent 100%)*/
    -webkit-mask-image: linear-gradient(180deg, hsla(0, 0%, 100%, 0), #f9f8f6 40%, #f9f8f6 60%, transparent 100%);
    mask-image: linear-gradient(180deg, hsla(0, 0%, 100%, 0), #f9f8f6 40%, #f9f8f6 60%, transparent 100%);
}

.carousel-horizontal {
    position: relative;
    z-index: 200;
    display: flex;
    overflow: hidden;
    width: 100%;
    height: 60px;
    justify-content: flex-start;
    align-items: center;
    background-color: #000000;
}

/*.track-horizontal {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: absolute;
    white-space: nowrap;
    will-change: transform;
    animation: carousel-horizontal 40s linear infinite;
}*/

/*.carousel-horizontal-large {
    position: relative;
    z-index: 200;
    display: flex;
    overflow: hidden;
    width: 100%;
    height: 300px;
    justify-content: flex-start;
    align-items: center;
    flex: 0 0 auto;
}*/

.carousel-text {
    margin-right: 8vw;
    flex: 0 0 auto;
    color: #ffffff;
    text-transform: uppercase;
}

.track-horizontal-alt {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.track-horizontal-alt {
    position: absolute;
    white-space: nowrap;
    will-change: transform;
    animation: carousel-horizontal-alt 40s linear infinite;
}

.icon-container {
    display: flex;
    width: 100%;
    max-width: 340px;
    height: auto;
    /* aspect-ratio: 4 / 3; */
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    /* border: 1px solid #eaeaea; */
    background-color: #ffffff;
    overflow: hidden;
}

/*.icon-container-alt {
    display: flex;
    width: 494px;
    height: 280px;
    padding-right: 2px;
    padding-left: 2px;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    border-radius: 8px;*/
/* border: 1px solid #eaeaea; */
/* background-color: #ffffff; */
/*overflow: hidden;
}*/

.col {
    position: relative;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex: 1;
}

    .col.small {
        width: 41%;
        flex: 0 0 auto;
    }

.header-quaternary {
    max-width: 100%;
    font-size: 14px;
    letter-spacing: 1px;
    color: #000000;
    padding: 2px 4px;
}

.header-secondary {
    max-width: 100%;
    font-size: 40px;
    line-height: 120%;
}

.carousel-section {
    width: 100%;
    /*background: #000;*/
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

    .carousel-section.small {
        padding: 30px 0;
    }

.container, .home-procedures-container {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}


.flex-vertical {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* margin-top: 30px; */
}

.flex-horizontal {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

    .flex-horizontal.flex-left {
        justify-content: flex-start;
    }

.track-vertical {
    position: relative;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex: 1;
    position: absolute;
    white-space: nowrap;
    will-change: transform;
    animation: carousel-vertical 40s linear infinite;
}

.track-vertical-alt {
    position: absolute;
    white-space: nowrap;
    will-change: transform;
    animation: carousel-vertical-alt 40s linear infinite;
}

.carousel-cover {
    position: absolute;
    left: 0%;
    top: 0%;
    right: 0%;
    bottom: 0%;
    z-index: 10;
    /*background-image: linear-gradient(180deg, transparent 60%, #000), linear-gradient(180deg, #000, transparent 40%);*/
    background-image: linear-gradient(180deg, hsla(0, 0%, 100%, 0) 70%, #f9f8f6), linear-gradient(180deg, #f9f8f6, hsla(0, 0%, 100%, 0) 30%);
}

/*.carousel-cover-horizontal {
    position: absolute;
    left: 0%;
    top: 0%;
    right: 0%;
    bottom: 0%;
    z-index: 10;
    background-image: linear-gradient(90deg, #000, transparent 20%), linear-gradient(-90deg, #000, transparent 20%);*/
/* background-image: linear-gradient(270deg, hsla(0, 0%, 100%, 0) 70%, #e4e4e4), linear-gradient(270deg, #e4e4e4, hsla(0, 0%, 100%, 0) 30%); */
/*}*/

@keyframes carousel-vertical {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
    }
}

@keyframes carousel-vertical-alt {
    from {
        transform: translateY(-50%);
    }

    to {
        transform: translateY(0%);
    }
}

/*@keyframes carousel-horizontal {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes carousel-horizontal-alt {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0%);
    }
}*/

@media (max-width: 767px) {
    .container, .home-procedures-container {
        padding-right: 15px;
        padding-left: 15px;
        width: 100%;
    }

    .carousel {
        height: 400px;
        margin: 0 5px;
    }

    .icon-container {
        max-width: 100%;
        height: 150px;
        aspect-ratio: 4 / 3;
    }

    .spacer-30 {
        height: 15px;
    }

    /*.carousel-horizontal-large {
        height: 160px;
    }*/

    .icon-container-alt {
        width: 260px;
        height: 150px;
    }

    .spacer-30 {
        width: 15px;
        height: 15px;
    }

    .carousel-section {
        padding: 50px 0;
    }

    [class*="milenia-multicolor-col"] .milenia-square-image[data-bg-image-src] {
        min-height: 26rem;
    }
}

.track-vertical, .track-vertical-alt {
    width: 100%;
}

.video-banner {
    position: relative;
    display: inline-block;
    z-index: 999;
}

.video-bg {
    width: 100%;
    display: block;
}

.video-play-btn {
    position: relative;
    display: block;
}

.play-icon {
    /*top: 50%;
    left: 50%;*/
    position: absolute;
    transform: translate(96%, -48%);
    font-size: 40px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 0px 25px;
    cursor: pointer;
    margin-left: 30px;
    z-index: 0;
}

#home-testimonial-video .milenia-icon-box {
    position: relative;
    overflow: hidden;
    min-height: 290px;
    max-width: 214px;
    border-radius: 10px;
}

.video-box-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.15);
    z-index: 2;
}

#home-testimonial-video .milenia-aligner-inner {
    position: relative;
    z-index: 3;
}

#home-testimonial-video .milenia-grid-item {
    transition: transform .3s ease;
}

    #home-testimonial-video .milenia-grid-item:nth-child(odd) {
        transform: translateY(40px);
    }




.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding: 15px 0;
    font-size: 1.2rem;
}

.price-block {
    display: flex;
    align-items: flex-end;
    text-align: left;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: bold;
    font-family: serif;
    line-height: 1;
    margin-right: 5px;
}

.price-details {
    font-size: 1rem;
    line-height: 1.1;
    display: inline-block;
    padding-bottom: 5px;
}

    .price-details small {
        font-size: 0.6rem;
        text-transform: capitalize;
    }

.description-text {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
}



@media (max-width: 767px) {
    #home-testimonial-video .milenia-icon-box {
        min-height: 60vh;
        max-width: 100%;
    }

    #home-testimonial-video .milenia-grid-item:nth-child(odd) {
        transform: translateY(0px);
    }

    #procedures-carousel .milenia-entities--style-15 {
        margin-top: -50px;
    }

    .milenia-entities--style-15 .milenia-entity-media {
        height: 16.875rem;
    }

    #procedures-carousel .milenia-tabbed-carousel {
        margin-top: 50px;
    }

    #procedures-carousel .milenia-entities--style-15 .milenia-entity-content .milenia-entity-body ul li {
        font-size: 0.85rem;
        line-height: 1rem;
    }

    #procedures-carousel .milenia-entities--style-15 .milenia-entity-content .milenia-entity-body ul li {
        margin-left: 10px;
    }
}


@media (min-width: 992px) {

    #procedures-carousel .milenia-tabbed-carousel {
        margin-top: 80px;
    }

    #procedures-carousel .milenia-entities--style-15 {
        margin-top: -80px;
    }

    #procedures-carousel .milenia-grid-item .milenia-entity-content {
        margin-top: 105px;
    }

    #social-section {
        padding-top: 10rem;
    }
}



#locations .milenia-entities--style-5 .milenia-entity-content {
    background: transparent;
}



#procedures-carousel .milenia-entities--style-15 .milenia-entity-content .milenia-entity-body ul li:before {
    font-family: "FontAwesome";
    content: "\f00c";
    padding-right: 10px;
    position: relative;
}

@media (min-width: 768px) and (max-width: 1024px) {

    .hero {
        margin-top: 5rem;
    }
}