﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

/*a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}*/

/* Provide sufficient contrast against white background */
/*a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}*/

/* Sticky footer styles
-------------------------------------------------- */
/*html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}*/

/* Sticky footer styles
-------------------------------------------------- */
/*html {
  position: relative;
  min-height: 100%;
}

body {*/
  /* Margin bottom by footer height */
  /*margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;*/ /* Vertically center the text there */
/*}*/


body {

    font-size:0.9rem;

}


.bodyx {
    font-size: 0.8rem;
}


/*ADD ON*/
/*Carousel item darken*/
.carousel-item:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.2);
}


        
/*        
.main-sidebar{
    width : 300px !important;
}

@media (min-width: 768px) 
    {
        body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper, body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-footer, body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header {
            margin-left: 300px !important;
        }
}


.sidebar-mini .main-sidebar .nav-link, .sidebar-mini-md .main-sidebar .nav-link, .sidebar-mini-xs .main-sidebar .nav-link {
    width: calc(300px - 0.5rem * 2) !important;
}
*/


/** GLOBAL **/
.readonly {
    background-color: #e9ecef !important;
}

#notifications {
    position:fixed; 
    top: 5px; 
    right: 0; 
    z-index:9999; 
    min-width: 250px;
}


.overviewIcons
{
    max-height: 140px !important;
    /*max-width: 140px !important;*/
}


/* Custom Tooltip Styling */
.custom-tooltip-disabled {
    display: none;
    position: absolute;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    margin-top: -35px;
    margin-left: -40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

    .custom-tooltip-disabled::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: #333 transparent transparent transparent;
    }


@media screen and (min-width:1181px)
{
    .p-90px {
        padding: 30px 90px 30px 90px !important;
    }
}



.staticDashboardCircle {
    width: 120px;
    line-height: 120px;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    border: 1px solid #999999;
    margin: 0 auto;
    /*background-color: #fff;*/
}
staticDashboard p{
    font-size: 1.2rem;
    font-weight: bold;
}




/**Container for the dynamic list tables, forms and pagination*/
.dynamicListContainer
{

}


.test{
    font-family: 'Times New Roman';
}

/*.p{
    font-family: 'Trebuchet MS';
    color: #ff0000;
}
span{
    color: #0026ff;
}
*/


/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* Modal Base Container */
.nmodal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    isolation: isolate;
}

/* Modal Content Container */
.nmodal-content {
    width: 85%;
    min-width: 700px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    padding: 24px;
    position: relative;
    z-index: 10000;
}

/* Modal Header */
.nmodal-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eaeaea;
}

/* Modal Body */
.nmodal-body {
    margin-bottom: 24px;
}

    .nmodal-body p {
        margin: 8px 0;
        line-height: 1.5;
    }

    /* Table Styles */
    .nmodal-body table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
    }

    .nmodal-body th,
    .nmodal-body td {
        border: 1px solid #000;
        padding: 10px;
        text-align: left;
    }

    .nmodal-body th {
        background-color: #f8f8f8;
    }

/* Footer with Buttons */
.nmodal-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #eaeaea;
}

    .nmodal-footer button {
        margin: 0 8px;
        padding: 8px 16px;
    }

/* Media query for print/PDF */
@media print {
    /* Overall modal container */
    .nmodal {
        position: relative;
        background-color: transparent;
        height: auto;
        display: block;
        width: 100%;
        z-index: 1;
    }

    /* Modal Base Container */
    .nmodal {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: 9999;
        isolation: isolate;
    }

    /* Modal Content Container */
    .nmodal-content {
        width: 85%;
        min-width: 700px;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
        padding: 24px;
        position: relative;
        z-index: 10000;
    }

    /* Modal Header */
    .nmodal-header {
        text-align: center;
        margin-bottom: 20px;
        padding-bottom: 12px;
        border-bottom: 1px solid #eaeaea;
    }

    /* Modal Body */
    .nmodal-body {
        margin-bottom: 24px;
    }

        .nmodal-body p {
            margin: 8px 0;
            line-height: 1.5;
        }

        /* Table Styles */
        .nmodal-body table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }

        .nmodal-body th,
        .nmodal-body td {
            border: 1px solid #000;
            padding: 10px;
            text-align: left;
        }

        .nmodal-body th {
            background-color: #f8f8f8;
        }

    /* Footer with Buttons */
    .nmodal-footer {
        text-align: center;
        margin-top: 24px;
        padding-top: 16px;
        border-top: 1px solid #eaeaea;
    }

        .nmodal-footer button {
            margin: 0 8px;
            padding: 8px 16px;
        }

    /* Media query for print/PDF - Landscape orientation */
    @media print {
        /* Overall modal container */
        .nmodal {
            position: relative;
            background-color: transparent;
            height: auto;
            display: block;
            width: 100%;
            z-index: 1;
        }

        /* Modal content */
        .nmodal-content {
            width: 100%;
            min-width: 0;
            max-width: none;
            box-shadow: none;
            border-radius: 0;
            padding: 0;
            margin: 0;
            z-index: 1;
            /* Landscape orientation specific */
            page-break-before: always;
            /*size: landscape;*/
        }

        /* Adjust font size across the entire modal for print */
        .nmodal * {
            font-size: 80% !important; /* Reduce font size by 20% */
        }

        /* Landscape specific layout - utilize wider page */
        .nmodal-body {
            margin-right: 0;
            padding-right: 0;
        }

            /* Adjust table to use landscape space efficiently */
            .nmodal-body table {
                width: 98%;
                margin-right: 0;
            }

            /* Make table cells more compact */
            .nmodal-body th,
            .nmodal-body td {
                padding: 5px;
            }

        /* Hide the footer with buttons */
        .nmodal-footer {
            display: none;
        }

        /* Make header more compact */
        .nmodal-header {
            margin-bottom: 10px;
            padding-bottom: 5px;
        }

        /* Adjust paragraph spacing */
        .nmodal-body p {
            margin: 5px 0;
            line-height: 1.3;
        }

        /* Attempt to force landscape mode in browsers */
        @page {
            size: landscape;
        }
    } 
} 