﻿/*@media print {
    #scrollBtn,
    header,
    footer {
        display: none !important;
    }
    .subpages {
        display: none;
    }

    #profileModal{
        width:100%;
        height:100%;
        top:0;
        bottom:0;
    }


    * {
        color: black !important;
    }

    a {
        text-decoration: none;
        font-size: 12px !important;
    }*/
    /*.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
                font-weight: normal !important;
            }*/
    /*.subTitle {
        font-size: 14px !important;
    }

    td {
        padding: 5px !important;
    }

    td, span, p, button, #accreditations, #webAddress {
        font-size: 12px !important;
    }

    #legalActions thead th {
        font-size: 12px !important;
    }

    #legalActions table caption {
        font-size: 12px !important;
    }

    div[class^="col-"] {
        width: 90%;
    }

    .subpages {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .pageBanner {
        color: #1B3966;
        padding: 1rem 1rem 0 1rem;
        text-align: left;
    }

    .sectionTitle {
        font-size: 14px;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }

    .pageBannerTitle,
    .facilityType,
    .sectionTitle-border,
    #additionalInfo {
        display: none !important;
    }

    .pageBannerSubTitle {
        font-size: 16px;
        font-weight: normal;
    }

    .collapse:not(.show) {
        display: block !important;
    }

    .accordionRow .accordion-button {
        color: #000 !important;*/
        /*border-left: 1px solid #dee2e6;
                border-bottom: 1px solid #dee2e6;
                border-top: 1px solid #dee2e6;*/
        /*border: none;
        padding: 0 !important;
    }

    .accordion-body {
        padding: 5px !important;
    }

    #FacilityInfoSection .table {
        margin-bottom: 1rem !important;
        border-top-color: black !important;
    }

    #map {
        width: 100%;
        height: 200px !important;
        max-width: 250px !important;
        margin-bottom: 0 !important;
    }

    #streetAddress, #mailAddress, #emergencyActions, #ahcaReports, #consumerGuides {
        margin-top: 0.5rem !important;
    }

    #streetAddress {
        display: table-cell;
    }

    #mailAddress {
        display: table-cell;
        padding-left: 3rem;
    }

    #ahcaReports {
        display: table-cell;
    }

    #consumerGuides {
        display: table-cell;
        padding-left: 3rem;
    }

    i.fa-solid {
        font-size: 13px;
    }

    #servicesTable {
        border-top-color: black !important;
    }

    #legalActions table .OwnershipChange {
        border-top-color: black !important;
        border-bottom-color: black !important;
    }

    #powerplan table {
        border-top-color: black !important;
    }
}*/

/* Preloder */
#jsonLoader {
    display: none;
    position: absolute;
    background: #00000070;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999999;
}

.popupLoader {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 40%;
    left: 50%;
    margin-top: -20px;
    margin-left: -20px;
    border-radius: 60px;
    animation: popuploader 0.8s linear infinite;
    -webkit-animation: popuploader 0.8s linear infinite;
}

@keyframes popuploader {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        border: 4px solid #CA0042;
        /* border: 4px solid #f44336; */
        border-left-color: transparent;
    }

    50% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
        border: 4px solid #CA0042;
        /* border: 4px solid #673ab7; */
        border-left-color: transparent;
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
        border: 4px solid #CA0042;
        border-left-color: transparent;
    }
}

@-webkit-keyframes popuploader {
    0% {
        -webkit-transform: rotate(0deg);
        border: 4px solid #CA0042;
        border-left-color: transparent;
    }

    50% {
        -webkit-transform: rotate(180deg);
        border: 4px solid #CA0042;
        border-left-color: transparent;
    }

    100% {
        -webkit-transform: rotate(360deg);
        border: 4px solid #CA0042;
        border-left-color: transparent;
    }
}

#proximityTable .previewBtn, #locateTable .previewBtn{
    float:right;
    margin-right:15px;
    padding:0;
}
.previewBtn {
    color: #1b3966;
    padding: 0;
}
#profileModal .modal-body {
    padding: 0;
    font-size: 15px;
}
#profileModal #banner {
    background: #1B3966;
    color: white;
    padding: 1.5rem 3rem;
    text-align: center;
}
    #profileModal #banner .pageBannerTitle {
        border-bottom: 2px solid #CD1041;
        padding-bottom: 15px;
        text-transform: uppercase;
        display: inline-block;
        margin-bottom: 1.5rem;
        font-weight: 600;
    }
    #profileModal #banner .facilityName {
        margin-bottom: 1.2rem;
        font-weight: 800;
        text-transform: uppercase;
    }
#profileModal .btn-close {
    position: absolute;
    right: 10px;
    top: 8px;
    opacity: 1;
    background-color: #CD1041;
    background: #CD1041 url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    font-size: 15px;
    border-radius: 50%;
    padding: 10px;
    stroke-width: 6px;
}
#profileContent{
    /*padding:0 2rem;*/
}
#profileModal #map {
    width: 100%;
    height: 250px;
    max-width: 300px;
    position: relative;
}

#profileModal #FacilityClosed {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#profileModal .sectionTitle {
    font-weight: 600;
    color: #183866;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 0.7rem;
}

#profileModal .sectionTitle-border {
    background-color: #CD1041;
    height: 3px;
    margin-bottom: 1rem;
    width: 4.5rem;
}

#profileModal .subTitle {
    font-weight: 800;
    color: #183866;
}

#profileModal #FacilityInfoSection .table,
#profileModal #services .table,
#profileModal #powerplan .table {
    border-top: 3px solid #1B3966;
    vertical-align: middle;
}
    #profileModal #FacilityInfoSection .table tbody a {
        color: #0d6efd !important;
        text-decoration: underline;
    }
#profileModal #emergencyActions .table thead {
    background-color: #183866;
    color: white;
}
#profileContent td {
    text-align: left;
    font-weight: normal;
}
#profileContent table tr th:nth-child(1), #profileContent tbody td:nth-child(1) {
    text-transform: capitalize;
}

#profileContent .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #fff;
    --bs-table-accent-bg: white;
}

#profileContent .table-striped > tbody > tr:nth-of-type(even) {
    background-color: #E8EEF9;
}

#profileContent .table tbody td:nth-child(1) {
    vertical-align: middle;
}

/********** legalActions ***********/
#profileModal #legalActions table {
    text-align: center;
}

    #profileModal #legalActions table thead {
        background-color: #1B3966;
        color: white;
        text-align: center;
    }

    #profileModal #legalActions table .OwnershipChange {
        text-align: center;
        border-top: 3px solid #1B3966;
        border-bottom: 3px solid #1B3966;
        background-color: white;
    }

        #profileModal #legalActions table .OwnershipChange td {
            font-weight: 700;
            padding: 1rem 0;
            text-align: center;
        }
    #profileModal #legalActions table tbody td {
        text-align: center;
    }
    #profileModal #legalActions table a{
        color: #0d6efd !important;
        text-decoration: underline;
    }
    /********** webAddress ***********/
    #profileModal #webAddress a {
        color: #747474;
        font-weight: 500;
        text-decoration: none;
    }

    #profileModal #webAddress a:hover {
        text-decoration: underline;
    }

#profileModal #webAddress i.fa-globe {
    color: #183866;
}

#profileModal #addressesModal table {
    text-align: center;
}

    #profileModal #addressesModal table thead {
        background-color: #1B3966;
        color: white;
        text-align: center;
    }

/********** Address Results ***********/

#profileModal .address li {
    display: flex;
    margin-top: calc(15px/2);
    margin-bottom: 0rem;
}

    #profileModal .address li span.icon-container {
        align-content: center;
        align-items: center;
        display: flex;
        width: 1.5em;
        color: #183866;
    }

#profileModal #offsiteAddress {
    margin-top: 0 !important;
}

#profileModal #emergencyAddress {
    margin-top: 0.5rem !important;
}

#profileModal #otherAddress {
    margin-top: 0.5rem !important;
}

#profileModal #SurgeryCenterAddress {
    margin-top: 0.5rem !important;
}

#profileModal #UrgentCareAddress {
    margin-top: 0.5rem !important;
}
#profileModal .address .item {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    width: 45% !important;
}
#profileModal .address .item {
    display: flex;
    /*margin-top: calc(15px/2);
    margin-bottom: 2rem;*/
}

    #profileModal .address .item span.icon-container {
        align-content: center;
        align-items: center;
        display: flex;
        width: 100%;
        color: #183866;
        justify-content: center;
        flex-wrap: wrap;
        max-width: 2rem;
    }

    #profileModal .address .item h6 {
        color: #235298;
        margin-bottom: 0.5px;
        font-weight: 600;
        font-size: 16px;
    }

        #profileModal .address .item h6 a {
            text-decoration: none;
            color: #CD1041;
        }

            #profileModal .address .item h6 a:hover {
                text-decoration: underline;
            }

#profileModal .address :not(.item) h6 {
    color: #235298;
    margin-bottom: 0.5px;
    font-weight: 600;
    font-size: 16px;
}

    #profileModal .address :not(.item) h6 a {
        text-decoration: none;
        color: #CD1041;
    }

        #profileModal .address :not(.item) h6 a:hover {
            text-decoration: underline;
        }

#profileModal #emergencyAddress h6 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

    #profileModal #emergencyAddress h6 a {
        text-decoration: none;
    }

        #profileModal #emergencyAddress h6 a:hover {
            text-decoration: underline;
        }

#profileModal #offsiteAddress h6 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

    #profileModal #offsiteAddress h6 a {
        text-decoration: none;
    }

        #profileModal #offsiteAddress h6 a:hover {
            text-decoration: underline;
        }

#profileModal #otherAddress h6 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

    #profileModal #otherAddress h6 a {
        text-decoration: none;
    }

        #profileModal #otherAddress h6 a:hover {
            text-decoration: underline;
        }

#profileModal #SurgeryCenterAddress h6 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

    #profileModal #SurgeryCenterAddress h6 a {
        text-decoration: none;
    }

        #profileModal #SurgeryCenterAddress h6 a:hover {
            text-decoration: underline;
        }

#profileModal #UrgentCareAddress h6 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

    #profileModal #UrgentCareAddress h6 a {
        text-decoration: none;
    }

        #profileModal #UrgentCareAddress h6 a:hover {
            text-decoration: underline;
        }
#profileModal #toggleAddressBtn {
    display: block;
    border-color: #CD1041;
    background-color: #CD1041;
    color: white;
    width: auto;
}

#profileModal .hiddenAddresses {
    display: none !important;
}



/********** Services/Characteristics ***********/
#profileModal #services span {
    display: inline-block;
    margin-right: 5px;
    position: relative;
}

    #profileModal #services span::after {
        content: ',';
    }

    #profileModal #services span:last-child::after {
        content: none;
    }

    #profileModal #services span.dateGS::after {
        display: none;
    }

/********** Emergency Power Plan Summary ***********/
#profileModal #powerplan span {
    display: inline-block;
    margin-right: 5px;
    position: relative;
}

    #profileModal #powerplan span::after {
        content: ',';
    }

    #profileModal #powerplan span:last-child::after {
        content: none;
    }

/********** Facility Info/Interest ***********/
#profileModal .accordionRow td[colspan="2"] {
    padding: 0;
}

#profileModal .accordionRow .table {
    border-top: none !important;
}

#profileModal .accordionRow .accordion-item {
    border-radius: 0;
    border: 0;
}

#profileModal .accordionRow .accordion-button {
    font-weight: 600;
    border-radius: 0 !important;
    background-color: #3D76CB;
    color: white;
    font-size: 15px;
}

#profileModal .accordionRow .accordion-button::after {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    content: "";
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff' %3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform .2s ease-in-out;
}

#profileModal .accordionRow .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff' %3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}
#profileModal .accordionRow thead {
    background-color: inherit !important;
    color: inherit !important;
}
#profileModal .primaryBtn {
    color: #CD1041;
    font-weight: 600;
}

#profileModal #suspendStamp {
    position: absolute;
    background-image: url('/images/suspended.png');
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 28rem;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
}
#profileModal #OtherFacilityInfoSection section .subTitle::after {
    display: inline-block;
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    content: "";
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform .2s ease-in-out;
}
#profileModal #OtherFacilityInfoSection section .subTitle.collapsed::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' fill='%23183866' %3e%3cpath fill-rule='evenodd' d='M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z'/%3e%3c/svg%3e");
}

#profileModal #OtherFacilityInfoSection section .subTitle:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' fill='%23183866' %3e%3cpath fill-rule='evenodd' d='M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z'/%3e%3c/svg%3e");
}
#profileModal .addressesTable thead {
    background-color: #1B3966;
    color: white;
    text-align: center;
}