﻿@font-face {
    font-family: 'AvenirNextProDemi';
    src: url('https://allete.blob.core.windows.net/versiris/Content/Fonts/AvenirNextProDemi/font.woff2') format('woff2'), url('https://allete.blob.core.windows.net/versiris/Content/Fonts/AvenirNextProDemi/font.woff') format('woff'), url('https://allete.blob.core.windows.net/versiris/Content/Fonts/AvenirNextProDemi/AvenirNextLTPro-Demi.otf') format('opentype');
}

@font-face {
    font-family: 'MontRegular';
    src: url('https://allete.blob.core.windows.net/versiris/Content/Fonts/MontRegular/font.woff2') format('woff2'), url('https://allete.blob.core.windows.net/versiris/Content/Fonts/MontRegular/font.woff') format('woff'), url('https://allete.blob.core.windows.net/versiris/Content/Fonts/MontRegular/Mont-Regular.otf') format('opentype');
}

@font-face {
    font-family: 'LinotypeFeltpenProMedium';
    src: url('https://allete.blob.core.windows.net/versiris/Content/Fonts/LinotypeFeltpenProMedium/font.woff2') format('woff2'), url('https://allete.blob.core.windows.net/versiris/Content/Fonts/LinotypeFeltpenProMedium/font.woff') format('woff'), url('https://allete.blob.core.windows.net/versiris/Content/Fonts/LinotypeFeltpenProMedium/FeltpenPro-Medium.otf') format('opentype');
}

/*Setting the default fonts*/
body {
    font-family: 'MontRegular', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'AvenirNextProDemi', sans-serif;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-top: 100px !important;
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

.home-header {
    margin-top: 1rem; /* Default for devices smaller than 500px */
}

@media (min-width: 500px) {
    .home-header {
        margin-top: 10rem; /* For devices 500px wide and larger */
    }
}

/*Scale down 90%*/
.scale-down-70 {
    transform: scale(0.7); /* Adjust the scale value as needed */
    transform-origin: center; /* Adjust the origin as needed */
}

@media (max-width: 991px) {
    .scale-down-70 {
        transform: scale(1); /* Revert to 100% scaling */
    }
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

.gradientLine {
    width: 100px;
    height: 13px;
    margin-top: -45px;
}

/*Adding additional spacing utility*/
@media (min-width: 992px) {
    .mt-lg-10 {
        margin-top: 10rem !important;
    }
}

/*Bamboo HR Icon*/
.bamboohr-link .icon-container {
    margin-left: .5rem;
}

    .bamboohr-link .icon-container img {
        width: 16px;
        height: 16px;
        position: relative;
        top: -1px;
    }

/*Fixing pointer events for active navbar links*/
.dropdown-menu .active > .dropdown-item, .dropdown-menu .dropdown-item.active {
    pointer-events: auto;
}

/*Custom divider for footer*/
.divider-container {
    width: 100%;
    padding: 0 !important;
    margin: 0;
    box-sizing: border-box;
}

#footer-hr {
    display: block;
    width: 100%;
    height: auto;
}

/*<!-- Page loading styles -->*/
.page-loading {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: all .4s .2s ease-in-out;
    transition: all .4s .2s ease-in-out;
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
}

[data-bs-theme="dark"] .page-loading {
    background-color: #0b0f19;
}

.page-loading.active {
    opacity: 1;
    visibility: visible;
}

.page-loading-inner {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    text-align: center;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: opacity .2s ease-in-out;
    transition: opacity .2s ease-in-out;
    opacity: 0;
}

.page-loading.active > .page-loading-inner {
    opacity: 1;
}

.page-loading-inner > span {
    display: block;
    font-size: 1rem;
    font-weight: normal;
    color: #9397ad;
}

[data-bs-theme="dark"] .page-loading-inner > span {
    color: #fff;
    opacity: .6;
}

.page-spinner {
    display: inline-block;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: .75rem;
    vertical-align: text-bottom;
    border: .15em solid #b4b7c9;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner .75s linear infinite;
    animation: spinner .75s linear infinite;
}

[data-bs-theme="dark"] .page-spinner {
    border-color: rgba(255,255,255,.4);
    border-right-color: transparent;
}

@-webkit-keyframes spinner {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/*Nav logo resizing*/
#nav-logo {
    width: 100%;
    max-width: 225px;
}

@media (max-width: 576px) {
    #nav-logo {
        max-width: 200px;
    }
}

@media (max-width: 400px) {
    #nav-logo {
        max-width: 170px;
    }
}

.company-logo {
    position: absolute; /* Absolute positioning allows for centering within the jarallax-img */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the logo based on its own size */
    width: 50%; /* Adjust the initial width as needed for your logo size */
    max-width: 100%; /* Ensure logo shrinks proportionally on smaller screens */
}

/*Custom select Dropdown that works in both dark and light modes*/

[data-bs-theme=dark] .custom-select select:not([data-bs-theme=light]) {
    color: rgba(255, 255, 255, .7);
    background-color: #10141e;
    border-color: rgba(255, 255, 255, .18);
}

[data-bs-theme=dark] .custom-select select:hover:not([data-bs-theme=light]) {
    background-color: #10141e;
    color: rgba(255, 255, 255, .9);
}

label.custom-select {
    position: relative;
    display: inline-block;
    width: 100%;
}

.custom-select select {
    min-height: calc(1.6em + 1.57rem + calc(var(--si-border-width)* 2));
    padding: .785rem 1.125rem;
    font-size: 1rem;
    border-radius: var(--si-border-radius-lg);
    max-width: unset;
    width: 100%;
}

/*Hero Video*/
.video-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: var(--si-white);
    background-color: #1e9cca;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: relative;
    width: 100%;
    padding-top: 52.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

    .hero-video video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/*CSS for logo images*/
.brand-logo {
    border: none !important;
    background: rgba(255, 255, 255, 0.1);
    display: flex; /* enables flexbox */
    align-items: center; /* centers children vertically */
    justify-content: center; /* centers children horizontally */
    height: 150px;
}

.brand-logo-partner {
    height: 250px; /* specific height for partner logos */
}

.logo-image {
    width: 90%; /* use the full width of the parent element */
    height: 100%; /* use the full height of the parent element */
    object-fit: contain; /* scales the image to fit within the dimensions while maintaining the aspect ratio */
}

/*Contact Us Fill Screen*/
.fill-width {
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: -15px;
}

/*Include CSS for flip effect*/
.flip-card {
    background-color: transparent;
    perspective: 1000px;
    height: 75vw;
    width: 75vw;
    max-height: 350px;
    max-width: 350px;
    position: relative;
}

.flip-card-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front {
    transition: opacity 0.6s;
}

.flip-card:hover .flip-card-front {
    opacity: 0;
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-size: cover !important;
}

    .flip-card-front h4, .flip-card-back p {
        position: relative;
        z-index: 1;
        color: white;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        text-align: left;
        max-width: 265px;
    }

.flip-card-back {
    transform: rotateY(180deg);
}

.partner-flip-card-back {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-size: cover !important;
}

    .partner-flip-card-back img {
        border-radius: 10px;
    }

.partner-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 15px;
    padding-top: 10px;
    position: relative;
}

.card-portfolio-meta {
    opacity: 0;
    transition: opacity 0.35s ease-in-out;
}

.partner-link {
    color: inherit;
    text-decoration: none;
}

    .partner-link:hover {
        color: var(--si-heading-link-hover-color);
        text-decoration: none;
    }

.flip-card:hover + .partner-card-body .card-portfolio-meta,
.partner-card-body:hover .card-portfolio-meta {
    opacity: 1;
}

.flip-card:hover + .partner-card-body .partner-link,
.partner-card-body:hover .partner-link {
    color: var(--si-heading-link-hover-color);
}

.partner-page .flip-card:hover,
.partner-page .flip-card:hover + .partner-card-body .partner-link,
.partner-page .partner-card-body:hover .partner-link {
    cursor: pointer;
}

.partner-card {
    height: 20vw;
    max-height: 250px;
}

@media (max-width: 767px) {
    .partner-card {
        height: 61vw;
        max-height: 250px;
    }
}

/*lightGallery image hover effects*/
#lightGallery a img {
    transition: transform 0.3s ease;
    cursor: pointer;
}

#lightGallery a:hover img {
    transform: scale(1.05);
}

.customIcons {
    width: 24px;
    height: 24px;
}

@media (min-width: 992px) {
    .footer-pad {
        padding: inherit;
        margin-right: 40px;
    }
}

/*Solar Contact Info*/
.img-container {
    position: relative;
    width: 100%;
}

    .img-container img {
        width: 100%;
    }

.overlay-img {
    position: absolute;
    right: 15%;
    top: -10%;
}

.overlay-text {
    position: absolute;
    right: 9%;
    top: 53%;
    transform: translateY(-50%);
    font-size: 7em;
    color: white;
    font-weight: 600;
}

.under-text {
    position: absolute;
    right: 16%;
    top: 70%;
    font-size: 2em;
    font-weight: 600;
    color: var(--text-color, white);
}

.contact-link {
    color: var(--link-color, white);
    text-decoration: none;
}

    .contact-link:hover {
        color: var(--link-hover-color, #6366f1);
    }

@media (min-width: 769px) {
    .mobile-only {
        display: none;
    }
}

.navbar-nav .nav-item a[href="/Blog"].active {
    pointer-events: auto;
    cursor: pointer;
    color: inherit; /* Ensure it inherits the color from the parent */
}

/* Media query for tablets and small desktops */
@media (min-width: 769px) and (max-width: 1400px) {
    .overlay-img {
        right: 22%;
        top: -5%;
        max-width: 40%;
    }

    .overlay-text {
        right: 18%;
        top: 54%;
        font-size: 6vw;
    }

    .under-text {
        right: 22%;
        top: 71%;
        font-size: 2vw;
    }
}

.why-versiris-text {
    font-size: clamp(1rem, 1.5vw + 1rem, 4rem);
}

/* Media query for mobile devices */
@media (max-width: 767px) {
    .overlay-img {
        right: 13%;
        top: -30px;
        max-width: 50%;
    }

    .overlay-text {
        right: 12%;
        top: 53%;
        font-size: 7vw;
    }

    .under-text {
        right: 10%;
        top: 72%;
        font-size: 3vw;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only a {
        color: white;
        text-decoration: none;
    }

    .remove-margin-mobile {
        margin: unset !important;
    }

    .remove-mt-mobile {
        margin-top: 1.5rem !important;
    }
}

/*Our Process Page*/

#logo-container {
    position: relative;
    top: 0;
}

#logo {
    position: absolute;
    top: 0;
    transition: top 0.3s ease-in-out;
    max-width: 85%;
}

@media (max-width: 560px) {
    #logo {
        display: none;
    }

    #logo-container {
        display: none; /* Hide the logo container */
    }

    .process-step {
        opacity: 1 !important; /* Ensure all steps are fully visible */
    }

        .process-step.active {
            opacity: 1; /* Ensure active steps are fully visible */
        }

    #steps-container {
        flex: 0 0 100%; /* Make steps container full width */
        max-width: 100%; /* Ensure it doesn't exceed full width */
    }
}

@media (max-height: 835px) {
    #logo {
        display: none;
    }
    
    .process-step {
        transition: none !important; /* Disable transitions */
        opacity: 1 !important; /* Ensure all steps are fully visible */
    }

        .process-step.active {
            transition: none !important; /* Disable transitions */
            opacity: 1 !important; /* Ensure active steps are fully visible */
        }
}

.process-step {
    display: flex;
    flex-direction: column;
    opacity: 0.5;
    transition: opacity 0.3s ease-in-out;
}

    .process-step.active {
        opacity: 1;
    }

.step-indicator {
    position: relative;
    width: 175px;
    height: 115px;
    background: url('https://allete.blob.core.windows.net/versiris/Content/Images/OurProcess/Steps_Oval.png') no-repeat;
    background-size: cover;
}

    .step-indicator span {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-transform: uppercase;
        font-size: 1.2rem;
        font-weight: 800;
        color: white;
    }

/*Podcast*/
#podcast {
    background: linear-gradient(to right, #206a91, #1e9cc9);
    color: white;
    text-align: center;
    padding: 20px;
}

    #podcast a {
        text-decoration: none;
        color: white;
    }

    #podcast img {
        max-width: 400px;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    #podcast h2, #podcast h3, #podcast p {
        margin: 0;
        padding: 10px 0;
        color: white; /* Ensures h2 is white */
    }

    #podcast h2 {
        margin-bottom: 5px; /* Reduce the gap below the h2 */
        padding-top: 30px;
        font-family: 'Over the Rainbow', serif;
        font-size: 48px;
    }

.links {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.logos {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 10px 0;
}

#podcast .logo {
    width: 50px; /* Adjust the size as needed */
    height: auto;
}

#podcast .suncast-logo {
    width: 300px; /* Adjust the size as needed */
    height: auto;
    position: relative;
    top: 40px; /* Adjust to overlap into the row below */
    margin-top: -55px; /* Reduce the gap above the logo */
}

@media (max-width: 1200px) {
    #podcast {
        padding: 15px;
    }

        #podcast h2 {
            font-size: 36px;
        }

        #podcast img {
            width: 350px;
        }

        #podcast .suncast-logo {
            width: 250px;
        }
}

@media (max-width: 900px) {
    #podcast {
        padding: 10px;
    }

        #podcast h2 {
            font-size: 28px;
        }

        #podcast img {
            width: 300px;
        }

        #podcast .suncast-logo {
            width: 200px;
        }
}

@media (max-width: 600px) {
    #podcast {
        padding: 5px;
    }

        #podcast h2 {
            font-size: 24px;
        }

        #podcast img {
            width: 200px;
        }

        #podcast .suncast-logo {
            width: 100px;
        }

        #podcast .logo {
            width: 30px;
        }
}

/* Custom CSS for the Right Angled Blue Section */
.angled-blue-section {
    background: linear-gradient(to bottom right, #206a91, #1e9cca);
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 45% 100%);
    overflow: hidden;
}

.stat-number {
    color: var(--si-primary) !important;
}

.stat-line {
    display: block;
    line-height: 1.4;
}

/* CSS for the clickable boxes using background images */
.clickable-box-wrapper {
    position: relative;
    padding-top: 100%; /* Creates a 1:1 aspect ratio based on width */
}

.clickable-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: background-image 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center; /* Vertically center content */
    justify-content: center; /* Horizontally center content */
    text-align: center;
    color: #FFFFFF; /* Default text color for boxes */
    padding: 0.5rem; /* Reduced padding as box size will change */
    font-size: 0.9rem; /* Adjust font size to fit smaller boxes if needed */
    line-height: 1.2;
}

    .clickable-box h3 {
        color: #FFFFFF !important;
    }

/* Responsive adjustments for clickable box text to fit 3 columns better on medium screens */
@media (min-width: 500px) and (max-width: 767.98px) {
    .clickable-box h3 {
        font-size: 0.75rem !important; /* Makes heading text smaller */
        line-height: 1.1; /* Slightly tightens line spacing for the heading */
    }

    .clickable-box {
        padding: 0.4rem; /* Slightly reduces overall padding of the box content */
    }
}

/* Default blue background for all boxes when nothing is selected, or for the active box */
.box-blue-bg {
    background-image: url('https://allete.blob.core.windows.net/versiris/Content/Images/Qualifications/COLORTILE.png');
}

/* Black and white background for inactive boxes */
.box-bw-bg {
    background-image: url('https://allete.blob.core.windows.net/versiris/Content/Images/Qualifications/B&WTILE.png');
}

/* Style for the active (clicked) box */
.clickable-box.active {
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.5); /* Add a glow */
    transform: translateY(-3px); /* Subtle lift effect */
}

/* Basic styling for the expanded content section */
.expanded-content-row {
    padding: 2rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    color: var(--bs-body-color); /* Uses Bootstrap's text color variable */
}

    /* Style for the icon image in expanded content */
    .expanded-content-row .header-icon {
        width: 50px; /* Adjust size as needed */
        height: auto;
        vertical-align: middle; /* Align with text */
        margin-right: 15px; /* Space between icon and text */
        margin-bottom: 5px; /* Small space below icon if text wraps */
    }

    /* Increase font size for the main heading in expanded content and flex for icon alignment */
    .expanded-content-row .expanded-heading {
        font-size: 2.2rem; /* Example: Larger size for main heading in expanded content */
        display: flex; /* Use flexbox to align icon and text */
        align-items: center; /* Center items vertically */
    }

/* Styling for the circular images and their gradient border */
.circles-column {
    position: relative; /* Essential for absolute positioning of children */
    padding-top: 4vw; /* Adjusted to vw for responsiveness */
    padding-bottom: 4vw; /* Adjusted to vw for responsiveness */
    min-height: 50vw; /* Ensure column has enough height for dynamic circles on larger screens */
}

.circle-image-wrapper {
    position: absolute;
    width: 20vw; /* Dynamic width based on viewport width */
    height: 20vw; /* Maintain aspect ratio based on viewport width */
    border-radius: 50%;
    overflow: hidden; /* Important for circular clipping of the image itself */
    /* Initial positioning for fallback, will be overridden by media queries */
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease, height 0.3s ease, top 0.3s ease, left 0.3s ease; /* Added transition */
}

.circle-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    padding: 5%; /* Percentage-based padding to scale border thickness with circle size */
    background: linear-gradient(to right, #206a91, #1e9cca); /* Your blue gradient */
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none; /* Allows clicks to pass through */
}

.circle-image-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Prevents squishing and maintains aspect ratio */
    border-radius: 50%;
}

/* Specific positioning for the circles on medium and large screens */
@media (min-width: 1880px) {
    .circles-column {
        padding-top: 75px;
        padding-bottom: 75px;
        min-height: 940px;
    }

    .circle-image-wrapper {
        width: 376px;
        height: 376px;
    }

        .circle-image-wrapper:nth-child(1) {
            top: -56px;
            left: 94px;
        }

        .circle-image-wrapper:nth-child(2) {
            top: 414px;
            left: 94px;
        }
}

@media (min-width: 992px) and (max-width: 1879.98px) {
    .circles-column {
        padding-top: 4vw;
        padding-bottom: 4vw;
        min-height: 50vw;
    }

    .circle-image-wrapper {
        width: 20vw;
        height: 20vw;
    }

        .circle-image-wrapper:nth-child(1) {
            top: -3vw;
            left: 8vw;
        }

        .circle-image-wrapper:nth-child(2) {
            top: 22vw;
            left: 8vw;
        }
}

@media (max-width: 991.98px) {
    .circles-column {
        display: none !important;
        min-height: auto;
        padding-top: 1rem;
        padding-bottom: 1rem;
        overflow: hidden;
    }
}

/* Styling for the new "WHY CHOOSE US" section icons */
.why-choose-us-section {
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.why-choose-icon {
    width: 130px;
    height: 130px;
    object-fit: contain;
    margin-bottom: 0.5rem !important;
}

.py-4.text-white p {
    color: #FFFFFF !important;
    font-size: 1rem;
    line-height: 1;
}

.py-4.text-white h2 {
    color: #FFFFFF !important;
}

.why-choose-text-line {
    display: block;
    line-height: 1.1;
}

.lead-lg {
    font-size: 1.5rem;
    line-height: 1.6;
}

.text-content-column {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.graphic-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

.company-graphic {
    max-width: 80%;
    height: auto;
    display: block;
}

@media (min-width: 768px) {
    .lead-lg {
         font-size: 1.8rem; 
    }

    .text-content-column {
        padding-left: 1vw;
        padding-right: 4vw;
    }
}

.content-details ul li {
    list-style-position: inside;
}

.content-details ul {
    padding-left: .3em;
}

.pop-on-hover {
    transition: transform 0.2s ease-in-out;
}

    .pop-on-hover:hover {
        transform: scale(1.10);
    }