﻿/* 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: #004d71
}
.notifyNo {
    position: absolute;
    background: red;
    color: white;
    width: 25px!important;
    height: 26px;
    width: 21px;
    top: -14px;
    right: -8px;
    padding: 0px 9px;
    border-radius: 50%;
}

.btn-info {
    background: none !important;
    color: #fff;
    background-color: #004d71 !important;
    border-color: #1861ac;
    font-size: 12px;
}

.btn-primary {
    background: none !important;
    color: #fff;
    background-color: #337ab7 !important;
    border-color: #2e6da4;
    font-size: 12px;
}

.btn-success {
    background: none !important;
    color: #fff;
    background-color: #48A14D !important;
    border-color: #39853d;
    font-size: 12px;
}

.btn-danger {
    background: none !important;
    color: #fff;
    background-color: #B33F40 !important;
    border-color: #913334;
    font-size: 12px;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #004d71;
    border-color: #1861ac;
}

header {
    background: none !important;
    background-color: #004d71 !important;
    margin-bottom: 1rem !important;
}

.nav-item dropdown {
    color: white;
}

.navbar-nav a.dropdown-item:hover {
    background-color: #004d71 !important;
}

.bg-primary {
    background: none;
    background-color: #004d71 !important;
    color: white !important;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
    color: white !important;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 12px;
}

@media (min-width: 768px) {
    html {
        font-size: 12px;
    }
}

@media (min-width: 1080px) {
    html {
        font-size: 14px;
    }
}

.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;
    font-family: 'Poppins', sans-serif;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 55px !important; /* Vertically center the text there */
    font-size: small;
}

@media(max-width: 767px) {
    .footer {
        position: absolute;
        bottom: -120px;
        width: 100%;
        white-space: nowrap;
        line-height: 55px !important; /* Vertically center the text there */
        font-size: small;
    }
}

.container {
    max-width: 98% !important;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
    color: #004d71 !important;
}

div.dt-button-collection button.dt-button:active:not(.disabled),
div.dt-button-collection button.dt-button.active:not(.disabled),
div.dt-button-collection div.dt-button:active:not(.disabled),
div.dt-button-collection div.dt-button.active:not(.disabled),
div.dt-button-collection a.dt-button:active:not(.disabled),
div.dt-button-collection a.dt-button.active:not(.disabled) {
    background: none !important;
    color: #fff;
    background-color: #004d71 !important;
    border-color: #1861ac;
}

/* Datatables 
    -------------------------------------------------- */
.table.dataTable tbody td.active, .table.dataTable tbody tr.active td {
    background-color: #0075b0 !important;
}

.table {
    /* border: 1px solid #EDF3F9 !important;*/
    border-bottom: 1px solid #EDF3F9 !important;
    border-collapse: collapse;
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}

    .table th {
        background-color: #e6e6e6;
        color: #575962;
        text-align: left;
        font-weight: bold;
    }

    .table tr {
        border: none;
        font-weight: 300;
        direction: ltr;
    }

    .table td {
        border-right: solid 1px #EDF3F9;
        border-left: solid 1px #EDF3F9;
        vertical-align: middle;
    }

/* Data Tables stripes */
.table-striped > tbody > tr:nth-child(odd) > td {
    background-color: #f3f7fb;
}

.table-striped > tbody > tr:nth-child(even) > td {
    background-color: #ffffff;
}

/* Data Tables Search Filters */
.dataTables_wrapper .dataTables_filter {
    float: right;
    text-align: right
}

    .dataTables_wrapper .dataTables_filter input {
        border: 1px solid #aaa;
        border-radius: 3px;
        padding: 5px;
        background-color: transparent;
        margin-left: 3px;
        font-size: 12px;
        font-family: 'Poppins', sans-serif;
    }

.dataTables_filter label {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
}

div.dt-buttons {
    position: relative;
    float: left !important;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: white;
}

/*.dt-buttons > button {
    background: none !important;
    background-color: #004d71 !important;
    color: white;
    font-size: 12px;
}*/

/*button.dt-button {
    background: none !important;
    background-color: #337ab7 !important;
}*/


.dataTables_info {
    float: left;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 12px;
}

/* Data Tables Pagination */
.dataTables_paginate {
    float: right;
    text-align: right;
    padding-top: 0.25em;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    box-sizing: border-box;
    display: inline-block;
    min-width: 1.5em;
    padding: 0.5em 1em;
    margin-left: 2px;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 2px;
    background-color: #ecf2f7;
    color: #40748e !important;
    padding: 3px 7px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 12px;
    border: 1px solid;
    border-color: #e3e4e5;
}

    .dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
        color: white !important;
        background-color: #40748e;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
        cursor: default;
        color: #40748e !important;
        background-color: #ecf2f7;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
        color: #40748e !important;
        background-color: #DCE9F3;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button:active {
        outline: none;
        background-color: #ecf2f7;
    }

.dataTables_wrapper .dataTables_paginate .ellipsis {
    padding: 0 1em
}


thead input {
    width: 100%;
    font-size: smaller;
}

thead th {
    cursor: pointer;
}

#listtable_filter {
    text-align: right;
}

    #listtable_filter .form-control-sm {
        width: 280px;
    }

/* Forms */
.pls_edit_label {
    margin-bottom: 0.5px;
    font-weight: 700;
}


/* Views */
.pls-box {
    /*margin: 10px;*/
    padding: 15px;
    background: #f0f0f0;
    border-radius: 5px;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, .05);
}


/**
 * ----------------------------------------
 * IFrames
 * ----------------------------------------
 */

.iframe-container {
    height: calc(100vh - 152px);
}

.iframe-content {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

.shiny-iframe {
    height: 100%; /*temp hack*/
    width: 100%;
    padding: 0;
    margin: 0;
}

@media(max-width: 992px) {
    .full-width {
        margin-top: 2px;
        margin-bottom: 2px;
        width: 100%;
        font-size: 14px;
    }

    .smallText {
        font-size: 14px;
    }
}

@media(max-width: 769px) {
    /*.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, .col-auto, 
      .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm, .col-sm-auto, 
      .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md, .col-md-auto, 
      .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, .col-lg-auto,
      .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, .col-xl-auto {
        position: relative;
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
        text-align: center;
    }*/
    .col-lg-4, .col-md-4, .col-sm-12, .col-xs-12 {
        position: relative;
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
        text-align: center;
    }
}

@media(min-width: 769px) {
    .sa-flag {
        float: right !important;
    }
}

/*@media(max-width: 768px) {
    .col-12, .col-sm-4, .col-sm-8, .col-md-5, .col-lg-9 {
        position: relative;
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
        text-align: left;
    }
}*/

.sorting {
    background: url('../images/interface/tables/sort_both.png') no-repeat 100%;
    padding-right: 24px !important;
    vertical-align: middle;
    align-content: flex-end;
}

table.dataTable thead .sorting_asc {
    background: url("http://cdn.datatables.net/1.10.0/images/sort_asc.png") no-repeat center right;
    background-color: #e6e6e6;
}

table.dataTable thead .sorting_desc {
    background: url("http://cdn.datatables.net/1.10.0/images/sort_desc.png") no-repeat center right;
    background-color: #e6e6e6;
}

table.dataTable thead .sorting {
    background: url("http://cdn.datatables.net/1.10.0/images/sort_both.png") no-repeat center right;
    background-color: #e6e6e6;
}

.swal2-title {
    font-size: 1.0rem !important;
}

/**
 * ----------------------------------------
 * Print Div
 * ----------------------------------------
 */

.printDiv {
    border: 1px solid black;
    width: 290mm;
}

    .printDiv .MainHeading {
        text-decoration: underline;
        color: black !important;
        font-weight: bold;
    }

    .printDiv .printTable {
        background-color: white;
        font-family: Arial;
        font-size: 13px;
        color: black;
    }

        .printDiv .printTable tr td {
            padding: 10px;
            border: 1px solid black;
        }

        .printDiv .printTable tr th {
            padding: 10px;
            border: 1px solid black;
        }

    .printDiv .printHeading {
        color: black !important;
        font-weight: bold;
    }

    .printDiv .line {
        border-bottom: 2px solid black;
    }

@media print {
    .noPrint {
        display: none;
    }

    .printDiv {
        border: 0px solid black;
    }
}

/**
 * ----------------------------------------
 * Project Files Document Categories
 * ----------------------------------------
 */

/* Style the tab */
.tab {
    float: left;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
    width: 20%;
    height: 700px;
    overflow-y: auto; 
    margin-bottom: 50px;
}

    /* Style the buttons inside the tab */
    .tab button {
        display: block;
        background-color: inherit;
        color: black;
        padding: 10px 16px;
        width: 100%;
        border: none;
        outline: none;
        text-align: left;
        cursor: pointer;
        transition: 0.3s;
        font-size: 12px;
    }

        /* Change background color of buttons on hover */
        .tab button:hover {
            background-color: #ddd;
        }

        /* Create an active/current "tab button" class */
        .tab button.active {
            background-color: #ccc;
        }

/* Style the tab content */
.tabcontent {
    float: left;
    padding: 0px 12px;
    border: 1px solid #ccc;
    width: 80%;
    border-left: none;
    height: 700px;
    overflow-y: auto;
    margin-bottom: 50px;
}

/* Dropdown container (hidden by default). Optional: add a lighter background color and some left padding to change the design of the dropdown content */
.dropdown-container {
    display: none;
    background-color: white;
    padding-left: 8px;
}

/* Optional: Style the caret down icon */
.fa-caret-down {
    float: right;
    padding-right: 8px;
}