﻿@import url('colors.css');
@import url('typography.css');

.modal-backdrop {
    background-color: transparent !important;
    pointer-events: none;
}
/* Modal dialog size */
.modal-dialog.custom-size {
    max-width: 90vw;
    height: 90vh;
    margin: auto;
}

    /* Modal content fills the dialog */
    .modal-dialog.custom-size .modal-content {
        height: 100%;
        border: none;
        border-radius: 8px;
        overflow: hidden;
    }

    /* Modal body and iframe fill remaining space */
    .modal-dialog.custom-size .modal-body {
        padding: 0;
        height: 100%;
    }

    .modal-dialog.custom-size iframe {
        width: 100%;
        height: 100%;
        border: none;
        display: block;
    }

.bg-dark-green {
    background-color: var(--primary-color);
}
.padding-100 {
    padding-left: 100px !important;
    padding-right: 100px !important;
}
.min-height-300 {
    min-height:200px;
}
.background-color-white {
    background-color: white;
}
.background-border-1-secondary {
    border: 1px solid var(--secondary-color);
}
.background-color-primary-10 {
    background-color: var(--primary-color-10);
}
.background-color-primary-40 {
    background-color: var(--primary-color-40);
}
.background-color-primary-60 {
    background-color: var(--primary-color-60);
}
.background-color-primary-100 {
    background-color: var(--primary-color);
}

.background-color-secondary-10 {
    background-color: var(--secondary-color-10);
}

.background-color-secondary-40 {
    background-color: var(--secondary-color-40);
}

.background-color-secondary-60 {
    background-color: var(--secondary-color-60);
}

.background-color-secondary-100 {
    background-color: var(--secondary-color);
}
.background-additional-services {
    background-color: var(--additional-services-background);
}
.box-shadow-black-02 {
    box-shadow: 0 15px 30px 0 rgba(0, 0, 0, .2)
}
.bold {
    font-weight: bold;
}
.nav-link:focus, .nav-link:hover {
    color: var(--primary-color)!important;
}
#MainContentPage1{
    display:flex;
    align-items:center;
    justify-content:center;
}
.bg-primary-color {
    background-color: var(--primary-color)!important;
}
.bg-secondary-color {
    background-color: var(--secondary-color) !important;
}
.hero-section {
    height: 450px;
    background: url('../JPG/BackgroundCoverLP.jpg') center/cover no-repeat;
    /*transition: background 0.4s ease;*/
    position: relative;
    background-position: center;
    overflow: hidden;
    
}
.hero-section-icon {
    height: 450px;
    background: url('../JPG/BackgroundCoverLPwithico.jpg') center/cover no-repeat;
    /*transition: background 0.4s ease;*/
    position: relative;
    background-position: center;
    overflow: hidden;
}
    .hero-section .right-content {
        display: none;
    }
    .hero-section:hover {
        cursor: pointer;
        background: linear-gradient(90deg, rgba(0, 59, 110, 0.5), rgba(0, 59, 110, 0.7)), url('../JPG/BackgroundCoverLP.jpg') center/cover no-repeat;
    }
.hero-section-icon:hover {
    cursor: pointer;
    background: linear-gradient(90deg, rgba(0, 59, 110, 0.5), rgba(0, 59, 110, 0.7)), url('../JPG/BackgroundCoverLPwithico.jpg') center/cover no-repeat;
}
        .hero-section:hover .right-content {
            display: block;
        }

    .hero-section .hero-section-overlay {
        display: none;
        position: absolute;
        height: 100%;
        inset: 0;
    }
    .hero-section .hero-section-overlay-text {
        display:none;
    }
    .hero-section:hover .hero-section-overlay {
        position: absolute;
        height: 100%;
        inset: 0;
        display: block;
    }
    .hero-section:hover .hero-section-overlay-text {
        display: block;
    }
.hero-section-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(0,0,0,0.5), rgba(0,0,0,0.2));
    z-index: 1;
    display:none;
}

.hero-section-overlay-text {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    text-align: center;
    padding: 0 1rem;
}

    .hero-section .left-content {
        width:50%;
        height: 100%;
    }
    .hero-section .right-content {
        width: 50%;
        height: 100%;
        padding:50px;
    }

#mapModal {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, #888, #000);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
}

    #mapModal.show {
        opacity: 1;
        visibility: visible;
    }
    #mapModal.removeshow {
        opacity: 0!important;
        visibility: hidden!important;
    }
    #mapModal iframe {
        pointer-events: none;
    }

footer p a {
    color: var(--white);
    text-decoration: none;
}

    footer p a:hover {
        text-decoration: underline;
    }


@media (max-width: 1024px) {
    .hero-section .left-content {
        display:none;
    }
    .hero-section .right-content {
       width: 70%;
       margin: 50px auto;
    }
    .hero-section {
        height: unset;
        min-height: 200px;
    }
}
@media (max-width: 768px) {
    .bg-primary-color .row {
        margin-left: unset;
    }
        .bg-primary-color .row .col-md-4 {
            border-left: none;
            border-right: none;
            border-bottom: 1px solid hsla(0,0%,100%,.2);
        }

    #OnpeakImg {
        content: url(../assets/images/OnpeakOfficialVendor.jpg);
    }
}
@media (min-width: 768px) {
    .bg-primary-color .row .col-md-4 {       
        border-bottom: none;
    }
        .bg-primary-color .row .col-md-4:nth-of-type(2) {
            border-left: 1px solid hsla(0,0%,100%,.2);
            border-right: 1px solid hsla(0,0%,100%,.2);           
        }
}
@media (max-width: 560px) {
    .hero-section {
        height: unset;
        min-height: 200px;
    }
    .padding-100 {
        padding-left: 30px!important;
        padding-right: 30px!important;
    }
}
@media (min-width: 300px) and (max-width: 560px) {
    header picture img {
        width: 100%;
    }
    .right-content a {
        font-size: 1rem;
    }    
}
