

body {
    font-family: "Open Sans", Sans-serif !important;
    color: var(--PrimaryTextColour);
}

h1 {
    font-size: 2.2rem;
    font-weight: 300;
    font-family: "Work Sans", Sans-serif;
    color: var(--PrimaryTextColour);
}

.bg-primary {
    background-color: var(--grey) !important;
}

body:not(.loginPage) .container-fluid.h-100 {
    background: #fff;
}


td.icon-cell {
    text-align: center;
}

.full-width {
    width: 100%;
}

.homepageCard {
    border: none;
    background-color: var(--PrimaryTextColour);
    color: var(--yellow); 
}

.sortable-selected {
    background-color: #f9c7c8;
    border: solid red 1px;
}
.homepageCard .card-img {
    overflow: hidden;
}

.homepageCard:hover {
    background-color: var(--primaryButtonColour);
    color: var(--white) !important;
}

.homepageCard img {    
    transition: transform .5s;
}

.homepageCard:hover img {
    transform: scale(1.2);   
}

.text-align-center {
    text-align: center;
}

.btn-primary {
    background-color: var(--primaryButtonColour);
    border: none;
}

.btn-primary:hover {
    background-color: var(--primaryButtonHoverColour);        
}

.btn-primary2 {
    background-color: var(--SecondPrimaryButtonColour);
    color: var(--white);
    border: none;
}

.btn-primary2:hover {
    color: var(--white);
    background-color: var(--SecondPrimaryButtonHoverColour);
}

.btn-primary3 {
    background-color: var(--TertiaryPrimaryButtonColour);
    color: var(--white);
    border: none;
}

.btn-primary3:hover {
    color: var(--white);
    background-color: var(--TertiaryPrimaryButtonHoverColour);
}

a, a:hover {
    color: var(--primaryButtonColour);
    text-decoration: none;
}

.whiteSection {
    background-color: var(--white);
}

.darkSection{
    background-color: var(--primaryColour);
}

.darkSection a, a:hover {
    color: var(--white);
}

.veryDarkSection {
    background-color: var(--PrimaryTextColour);
    color: var(--SecondaryTextColour);
}

.c-sidebar-brand {
    background-color: var(--primaryColour) !important;
}

    .c-sidebar-brand img {
        width: 100%;
    }

.c-sidebar {
    box-shadow: none !important;
    background-color: var(--primaryColour) !important;
}

.c-sidebar-brand-full{
    padding: 20px;
}

.c-sidebar-nav-link:hover {
    background-color: var(--primaryButtonColour) !important;
}

.c-active {
    background: rgba(255,255,255,.3) !important;
}

.nav-pills .nav-link.active {
    background-color: var(--primaryButtonColour) !important;
}

.page-link {
    color: var(--primaryButtonColour) !important;
}

.page-item.active .page-link {
    background-color: var(--primaryButtonColour) !important;
    border-color: var(--primaryButtonColour) !important;
    color: var(--white) !important;
}


.footerInfo {
    margin-top: 30px;
}

div.dataTables_wrapper div.dataTables_length select {
    min-width: 60px;
}

.dropdown-item.active {
    background-color: var(--primaryButtonColour);
}

.horizontalScroll {
    overflow-x: scroll;
}

.field-validation-error {
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #e55353;
}

.valid {
    background-color: #f5fff5;
    border: solid 1px #d2f8d2;
    color: #000;
}

.input-validation-error {
    background-color: #ffeded;
    border: solid 1px #e55353;
}

.fiv-cla {
    font-size: 2em;
    margin-right: 10px;
}

#documentsTableContainer {
    margin-bottom: 20px;
}

.checkboxLarge {
    transform: scale(1.5);
}

.checkboxForm {
    transform: scale(1.5);
    margin-top: 15px;
    border-color: #e4e7ea;
}

.displayNone {
    display: none;
}

.displayBlock {
    display: block;
}

.connectionTypeChoice {
    margin-top: 15px;
    cursor: pointer;
}

    .connectionTypeChoice p {
        padding-top: 15px;
        font-size: 160%;
    }

.siteTypeBanner {
    width: 30%;
    left: 35%;
    height: 50px;
    position: fixed;
    top: -2px;
    z-index: 10000;
    color: var(--white);
    text-align: center;
    font-size: 150%;
    padding-top: 7px;
}

    .siteTypeBanner.dev {
        background-color: #FB6962;
        border: solid 2px #A90000;
    }

    .siteTypeBanner.live {
        background-color: #79DE79;
        border: solid 2px #0CC078;
    }

#submitting-quote-request {
    font-size: 125%;
}


.nested-sortable, .nested-1, .nested-2, .nested-3 {
    margin-top: 5px;
    color: black !important;
}

.nested-1 {
    background-color: #e6e6e6;
}

.nested-2 {
    background-color: #cccccc;
}

.nested-3 {
    background-color: #b3b3b3;
}

.nested-4 {
    background-color: slategray;
}

.nested-5 {
    background-color: #b3b3b3;
}

.nested-6 {
    background-color: cornsilk;
}

.nested-7 {
    background-color: lavender;
}

.col-pad {
    padding-right: 0;
    margin-right: 15px;
}

#mapped {
    width: 100%;
    height: 100%;
    border: chartreuse;
    border-style: solid;
}

#notMapped {
    width: 100%;
    height: 100%;
    border: #a90000;
    border-style: solid;
}


.nav-tabs .nav-link:hover {
   color: var(--primaryButtonColour);
}

.accordion-button {
    background-image: url('/img/close-icon.png');   
    cursor: pointer;    
    background-repeat: no-repeat;
    background-size: 25px;
    background-position: right 15px top 8px;
}

.accordion-button.collapsed {
    background-image: url('/img/open-icon.png');
}


@media (max-width: 632px) {
    div#dataTable_wrapper {
        overflow-x: scroll;
    }
}

@media print {
    body *{
        visibility: hidden !important;
    }
    .printable, .printable * {
        visibility: visible !important;
    }
    .printable{
        position: relative;
        padding: 10px 10px 10px 10px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Custom SweetAlert2 styling for the main confirmation popup */
.swal-custom-popup {
    /* Example: Make the whole popup slightly smaller */
    width: 30em !important; /* Adjust as needed */
    max-width: 90% !important;
    font-size: 0.9em !important; /* Smaller overall text */
    border-radius: 8px; /* Softer corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Softer shadow */
}

.swal-custom-title {
    font-size: 1.2em !important; /* Smaller title font */
    font-weight: 600; /* Slightly bolder */
    color: #4CAF50; /* A soft green for the title */
}

.swal-custom-html-container {
    font-size: 0.85em !important; /* Smaller content font */
    color: #555;
}

/* Custom button styling (when buttonsStyling: false is set) */
.swal-custom-confirm-button {
    /* Soft green button */
    background-color: #8BC34A !important; /* Your soft green */
    color: white !important;
    border: none !important;
    border-radius: 5px !important; /* Softer button corners */
    padding: 0.6em 1.5em !important;
    font-size: 0.9em !important; /* Smaller button text */
    transition: background-color 0.2s ease-in-out;
}

.swal-custom-confirm-button:hover {
    background-color: var(--primaryButtonColour) /* #7CB342 !important; /* Slightly darker green on hover */
}

.swal-custom-cancel-button {
    /* Soft grey button */
    background-color: #BDBDBD !important; /* Your soft grey */
    color: white !important;
    border: none !important;
    border-radius: 5px !important;
    padding: 0.6em 1.5em !important;
    font-size: 0.9em !important;
    transition: background-color 0.2s ease-in-out;
}

.swal-custom-cancel-button:hover {
    background-color: #A4A4A4 !important; /* Slightly darker grey on hover */
}

/* Custom SweetAlert2 styling for Toast notifications */
.swal-custom-toast {
    font-size: 0.8em !important; /* Smaller font for toast */
    min-width: unset !important; /* Let content dictate width */
    max-width: 300px !important; /* Max width for toast */
    padding: 0.75em 1em !important;
    border-radius: 5px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Ensure the timer progress bar also looks good */
.swal2-timer-progress-bar {
    background: rgba(0,0,0,0.1) !important; /* A softer progress bar */
}
