﻿@import "catalogue.css";
@import "slider.css";
/* Desktop Styling */

:root {
    --searchlightblue: #01456a;
}

@media screen and (min-width: 768px) {
    html {
        font-size: 14px;
    }

    .list-group-large {
        display: block !important;
    }

    .list-group-small {
        display: none !important;
    }
    .sidebar-expanded {
        position: relative;
        width: 230px;
    }

    #macroDiv {
        white-space: pre-wrap;
    }

    .sidebar-collapsed {
        width: 60px;
    }

    .fixed-bottom {
        display: none !important;
    }

    #catalogueCarousel {
        display: block;
    }

    .body-collapsed {
        margin-left: 230px !important;
    }

    .body-expanded {
        margin-left: 60px !important;
    }

}
/*mobile & default*/
.navbar-brand {
    width: 150px;
}

.top-nav {
    position: fixed;
    background-color: white;
    z-index: 15;
    width: 100%;
    height: 56px;
}

#catalogueCarousel {
    display: none;
}

.list-group-small {
    display: block;
}

.list-group-large {
    display: none;
}

/* Sidebar sizes when expanded and expanded */
.sidebar-collapsed {
    display: none;
}

.sidebar-expanded {
    z-index: 10;
}

.bg-searchlightblue {
    background-color: var(--searchlightblue);
}

#searchForm {
    margin-top: auto;
}

.search-bar {
    max-width: 360px;
}

#topSearchButton {
    border: none;
    position: absolute;
    background: none;
    right: 25px;
    height: 38px;
}

.search-bar input::-ms-clear {
    display: none;
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

.deviceListContainer {
    height: 40px;
    border: none;
    background-color: #f8f9fa;
    text-align: center;
}

    .deviceListContainer:focus {
        outline: 0;
    }

    .deviceListContainer:hover {
        outline: 0;
        background-color: #f0f1f2;
        cursor: pointer;
    }

.deviceListItem {
    cursor: pointer;
}

.refreshButton {
    margin: auto;
    margin-top: 10px;
}

.date-format {
    outline: none;
    border: none;
    height: 40px;
    background-color: #f8f9fa;
    width: 220px;
    text-align: center;
}

    .date-format:hover {
        background-color: #f0f1f2;
        cursor: pointer;
    }

.refresh-btn {
    outline: none;
    border: none;
    height: 40px;
    background-color: #f8f9fa;
    width: 64px;
    text-align: center;
}

    .refresh-btn:hover {
        background-color: #f0f1f2;
        cursor: pointer;
    }

.topdiv {
    width: 100%;
    text-align: center;
}

.percitem {
    width: 100px;
}
.modal-open {
    overflow: hidden;
}

.table-img {
    float: right;
    width: 30%;
    height: 90%;
    object-fit: contain;
}

    .table-img:hover {
        cursor: pointer;
    }

.table-txt {
    width: 45%;
    float: left;
}

.prev-overlay {
    width: 100%;
    height: 100%;
    background: rgba(00,00,00,0.7);
    z-index: 2000;
    position: absolute;
    top: 0px;
    left: 0px;
}

.prev-overlayC {
    width: 60vw;
    height: 50vh;
    background: white;
    border-radius: 10px;
    left: 50%;
    position: fixed;
    transform: translate(-50%, 10%);
}

.prev-icon {
    float: right;
    font-size: 20px;
    padding: 5px;
}

    .prev-icon:hover {
        cursor: pointer;
    }

.prev-img {
    object-fit: contain;
    position: relative;
    width: 98%;
    height: 90%;
    left: 1%;
}

/* Provide sufficient contrast against white background */
a {
    color: #559abf;
}

a:focus {
    color: #015C8D;
}

.btn-outline-primary {
    color: var(--searchlightblue);
    border-color: var(--searchlightblue);
}

.btn-outline-primary:not(:disabled):not(.disabled).active, .btn-outline-primary:not(:disabled):not(.disabled):active, .show > .btn-outline-primary.dropdown-toggle {
    color: #fff;
    background-color: var(--searchlightblue);
    border-color: var(--searchlightblue);
}

.btn-primary {
    color: #fff;
    background-color: var(--searchlightblue);
    border-color: var(--searchlightblue);
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: var(--searchlightblue);
    border-color: var(--searchlightblue);
}

/* Sticky footer styles
-------------------------------------------------- */

html {
    font-size: 16px;
}

#sidebar-container {
    padding-top: 56px !important;
}

.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-row {
    padding-top: 56px;
    margin-left: 0;
    margin-right: 0;
}

#sidebar-container {
    min-height: 100vh;
    background-color: #003b5a;
    padding: 0;
    transition: 0.3s;
    position: fixed;
    -webkit-transition: 0.3s;
}

/* Menu item*/
#sidebar-container .list-group a {
    padding-top: 10px;
    padding-bottom: 10px;
    color: #5f90ab;
}

#sidebar-container .list-group .active {
    color: #015C8D !important;
    background-color: white !important;
    border-color: white !important;
    border-radius: 3px;
}


/* Submenu item*/
#sidebar-container .list-group .sidebar-submenu a {
    height: 45px;
    padding-left: 30px;
}

.sidebar-submenu {
    font-size: 0.9rem;
}

/* Separators */
.sidebar-separator-title {
    background-color: #003b5a;
    height: 35px;
}

.sidebar-separator {
    background-color: var(--searchlightblue);
    height: 25px;
}

.logo-separator {
    background-color: var(--searchlightblue);
    height: 60px;
}

/* Closed submenu icon */
#sidebar-container .list-group .list-group-item[aria-expanded="false"] .submenu-icon::after {
    content: "\f078";
    font-family: 'Font Awesome 5 Free';
    display: inline;
    text-align: right;
    padding-left: 10px;
}
/* Opened submenu icon */
#sidebar-container .list-group .list-group-item[aria-expanded="true"] .submenu-icon::after {
    content: "\f053";
    font-family: 'Font Awesome 5 Free';
    display: inline;
    text-align: right;
    padding-left: 10px;
}

.nav-link img {
    width: 25px;
}

.nav-link span {
    display: none;
}

.active span {
    display: inline;
}


.search-bar {
    display: flex;
}

.search {
    align-self: center;
}



.top-nav-icon {
    color: var(--searchlightblue);
}

top-nav-white {
    color: white;
}

.no-wrap {
    flex-wrap: nowrap;
}

.logo-header img {
    max-height: 35px;
    width: auto;
}

.close-filter {
    position: absolute;
    left: 1rem;
    background: none;
    border: none;
    top: 1rem;
}

.apply-filter {
    background: none;
    border: none;
    color: var(--searchlightblue);
    font-weight: 700;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.filter-modal-header {
    display: flex;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem;
    outline: 0;
}

.filter-title {
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

.filter-input {
    display: flex;
}

.filter-input filter-text {

}

.filter-input filter-checkbox{
}

.filter-input filter-number {
}

.testReturn {
    width: 250px;
    max-height: 250px;
    overflow-y: scroll;
}

.testBtn {
    border: none;
    border-radius: 5px;
    width: 80px;
    padding: 3px;
}

.testBtn:hover {
    background: #ffffff;
}

.testStatus {
    padding: 3px;
    border-radius: 5px;
    width: 80px;
    text-align: center;
    background: orange;
}

.testData {

}

.popup-div {
    position: fixed;
    left: 50%;
    margin-left: -50px;
    top: 20%;
    background: white;
    border: 1px solid black;
    padding: 20px;
    border-radius: 5px;
    width: 330px;
}
.popup-div-title {
    font-family: inherit;
}
.popup-div-hr {
    width: 100%;
}
.popup-div-btn {
    float: right;
}
.popup-div-input {
    width: 100%;
}

.limiter {
    width: 100%;
    margin: 0 auto;
}

.container-table100 {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 33px 30px;
}

.wrap-table100 {
    width: 100%;
}

table {
    border-spacing: 1;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

    table * {
        position: relative;
    }

    table td, table th {
        padding-left: 8px;
    }

    table thead tr {
        height: 60px;
        background: var(--searchlightblue);
    }

    table tbody tr {
        height: 50px;
    }

        table tbody tr:last-child {
            border: 0;
        }

    table td, table th {
        text-align: left;
    }

        table td.l, table th.l {
            text-align: right;
        }

        table td.c, table th.c {
            text-align: center;
        }

        table td.r, table th.r {
            text-align: center;
        }

.nav-item .active {
    background-color: var(--searchlightblue) !important;
    color: white !important;
}


.tab-content {
    border: 2px solid #AFAFAF;
    border-radius: 3px;
}
#macro-table {
    width: 100%;
}

.select2 {
    width: 100%!important;
}


.table100-head th {
    font-size: 18px;
    color: #fff;
    line-height: 1.2;
    font-weight: unset;
}

tbody tr:nth-child(even) {
    background-color: #f5f5f5;
}

tbody tr {
    font-size: 15px;
    color: #808080;
    line-height: 1.2;
    font-weight: unset;
}

    tbody tr:hover {
        color: #555555;
        background-color: #f5f5f5;
        cursor: pointer;
    }

.column {
    width: 260px;
    padding-left: 40px;
}

@media screen and (max-width: 992px) {
    table {
        display: block;
    }

        table > *, table tr, table td, table th {
            display: block;
        }

        table thead {
            display: none;
        }

        table tbody tr {
            height: auto;
            padding: 37px 0;
        }

            table tbody tr td {
                padding-left: 40% !important;
                margin-bottom: 24px;
            }

                table tbody tr td:last-child {
                    margin-bottom: 0;
                }

                table tbody tr td:before {
                    font-size: 14px;
                    color: #999999;
                    line-height: 1.2;
                    font-weight: unset;
                    position: absolute;
                    width: 40%;
                    left: 30px;
                    top: 0;
                }

    .column {
        text-align: left;
    }

    .column {
        width: 100%;
    }

    tbody tr {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .container-table100 {
        padding-left: 15px;
        padding-right: 15px;
    }
}