﻿.mt-30 {
    margin-top: 30px;
}

.card {
    width: 100%;
}

.form-group {
    margin-bottom: 0.5rem;
}

.form-control {
    height: 35px;
    font-size: 0.775rem;
    padding: 0.425rem 0.75rem;
}

.form-control-label {
    font-size: 0.7rem;
}

button.search-button {
    height: 35px;
    min-height: 35px;
    max-height: 35px;
    display: flex;
    align-items: center;
    min-width: 40px;
    padding: 0px;
    justify-content: center;
}


a.btn.btn-dark.search-button {
    height: 35px;
    min-height: 35px;
    max-height: 35px;
    display: flex;
    align-items: center;
    min-width: 40px;
    padding: 0px;
    justify-content: center;
}

.footer {
    background: #f7fafc;
    padding: 0.5rem 1.5rem;
    position: fixed;
    width: calc(100% - 250px);
    left: 250px;
    bottom: 0px;
    z-index: 10;
}

.table td {
    padding: 0.5rem;
}

.action-button {
    color: black;
    padding: 5px 2px;
    border-radius: 5px;
    margin: 0px 5px;
    font-size: 16px;
}

.card-header {
    padding: 10px 10px;
}

.card-body {
    padding: 1rem;
}

.custom-control-label::before {
    left: -2rem;
}

.custom-control-input {
    left: 16px;
}

.nav-tabs .nav-link {
    font-size: 13px;
    font-weight: 600;
}

.btn {
    padding: 0.425rem 1.25rem;
}

table tr td .dropdown-menu a {
    color: black;
}

table tr td {
    border: 1px solid #ededed !important;
}

@media screen and (max-width:800px) {
    .table tr {
        display: block;
        width: 100%;
        border: 1px solid #ddd;
        margin-bottom: 10px;
    }

    .table td {
        width: 100%;
        border: 1px solid #ddd !important;
        border-collapse: collapse;
        padding: 0px !important;
        min-height: 35px;
        display: flex;
        align-items: center;
    }

    .table td {
        white-space: normal !important;
    }

    .table td::before {
        width: 50%;
        height: 33px;
        align-items: center;
        display: flex;
        background: #efefef;
        padding-left: 10px;
        font-weight: 600;
        margin-right: 10px;
        min-width: 50%;
    }
    .table thead {
        display: none;
    }
    .table tbody {
        margin-top: 15px;
    }
    .footer {
        width: 100%;
        left: 0px;
    }

    button.search-button {
        height: 35px;
        min-height: 35px;
        max-height: 35px;
        display: flex;
        align-items: center;
        min-width: 40px;
        padding: 0px;
        justify-content: center;
        margin-top: 0px;
        margin-bottom: 10px;
    }

    a.search-button {
        height: 35px;
        min-height: 35px;
        max-height: 35px;
        display: flex;
        align-items: center;
        min-width: 40px;
        padding: 0px;
        justify-content: center;
        margin-top: 0px;
        margin-bottom: 10px;
    }

    .navbar-collapse.collapsing {
        display: none;
    }
}



.modal {
    z-index: 1072;
}

.modal-header {
    padding: 0.75rem;
    align-items: center;
    background: #1c1f22;
    color: white;
}

.modal-title {
    color: white;
}

.modal-header button {
    color: white;
}

.modal-footer {
    background: #f0f0f0;
}

.close > span:not(.sr-only) {
    color: white;
}

.modal-body {
    padding: 0.5rem;
}

.modal-footer {
    padding: 0.2rem;
    border-top: 1px solid #ddd;
}


.company-footer {
    color: orangered;
}

    .company-footer:hover {
        color: rgb(186, 54, 6);
    }

.footer-bottom {
    position: fixed;
    bottom: 0px;
    width: 100%;
    background: white;
    font-size: 12px;
}

.bg-secondary {
    background-color: #f7fafc !important;
}

.btn-primary {
    color: #fff;
    background-color: #5e72e4;
    border-color: #5e72e4;
    box-shadow:,;
}

.bg-gradient-dark {
    background: linear-gradient(87deg, #212529 0, #212229 100%) !important;
}

.custom-bg-grey {
    background-color: #f3f3f3 !important;
}

.fill-default {
    fill: #f3f3f3 !important;
}

.modal.show {
    opacity: 1;
    display: block;
}

.select2-container.select2-container--open {
    z-index: 9999 !important;
}

@media screen and (max-width:800px) {
    ul .nav {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: scroll;
        overflow-y: hidden;
        white-space: nowrap;
    }
}

.main-content .navbar-top {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1;
    background-color: transparent;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.app-logo {
    width: 150px;
    margin: auto;
}

    .app-logo img {
        width: 100%;
    }

.sub-ul {
    list-style-type: none;
    padding-left: 27px;
}

    .sub-ul .nav-link {
        color: #8c8c8c;
    }

.right-light {
    position: absolute;
    right: 0px;
    color: #ababab;
    font-size: 0.75rem;
}



.pl-24 {
    padding-left: 24px !important;
}

a {
    color: orangered;
}

.company-footer {
    color: orangered;
}

    .company-footer:hover {
        color: rgb(186, 54, 6);
    }

.navbar-nav .nav-link svg {
    margin-right: 10px;
    margin-top: -1px;
}

.navbar-vertical.navbar-expand-xs .navbar-nav > .nav-item > .nav-link.active {
    color: black;
}

.sub-ul {
    display: none;
}

.navbar-vertical.navbar-expand-xs > [class*=container] {
    justify-content: flex-start;
}

.navbar-vertical.navbar-expand-xs::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}

.navbar-vertical.navbar-expand-xs::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
}

.navbar-vertical.navbar-expand-xs::-webkit-scrollbar-thumb {
    background-color: #000000;
}

.custom-control-label::before {
    left: -1.5rem;
}

.custom-control-label::after {
    top: 0.25rem;
    left: -1.55rem;
}

.nav-tabs .nav-link.active {
    color: #ffffff;
    border-color: #050505 #1e1e1e #2a2a2a;
    background-color: #212529;
}

.navbar-brand-img-m {
    width: 30px;
}

.nav-link {
    padding: 0.75rem 0.75rem;
}

    .nav-link:hover {
        color: #000;
    }


.custom-radio .custom-control-input:checked ~ .custom-control-label::before {
    border-color: #212529;
}

.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #212529;
}

.table .thead-dark th {
    color: white;
    background-color: #212529;
    border-right: 1px solid #ddd;
}

.menu-footer {
    position: fixed;
    width: 245px !important;
    left: 0px;
    text-align: center;
    bottom: 0px;
    color: white;
    font-size: 13px;
    min-width: 245px !important;
    background: #212529;
    padding: 8px 5px;
    text-wrap: nowrap;
}

.navbar-toggler {
    display: none;
}

table tr td a {
    color: #5e72e4 !important;
}

.select2-search {
    padding: 5px !important;
    border: 1px solid #ddd !important;
}

.select2-dropdown {
    max-height: 200px !important;
    overflow-y: scroll !important;
}

.select2-search__field {
    border: 1px solid #ddd !important;
    box-shadow: inset 0px 0px 3px #ddd !important;
    border-radius: 5px !important;
    background: whitesmoke !important;
}

.select2-selection {
    padding: 0.5rem !important;
    height: 35px !important;
    font-size: 12px !important;
    box-shadow: 1px 1px 3px #ddd !important;
    border: 0px !important;
}

.custom-radio-ml label {
    margin-right: 10px;
}

span.select2-selection__arrow {
    height: 30px;
    position: absolute;
    top: 1px;
    right: 1px;
    width: 20px;
    display: block;
}

.navbar .container-fluid {
    padding-left: 15px !important;
}

span.select2-selection__arrow b {
    border-color: #888 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    width: 0;
}

.filter-block {
    display: flex;
    width: 100%;
    justify-content: end;
    align-items: flex-end;
}

.custom-dropdown {
    position: relative;
    display: inline-block;
}

    .custom-dropdown .dropdown-menu {
        display: none;
        position: absolute;
        background-color: white;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        list-style: none;
        padding: 0;
        margin: 0;
        z-index: 1000;
        left: 0px;
    }

        .custom-dropdown .dropdown-menu li {
            padding: 0px 10px;
        }

            .custom-dropdown .dropdown-menu li a {
                text-decoration: none;
                color: black;
                display: block;
            }

            .custom-dropdown .dropdown-menu li:hover {
                background-color: #f1f1f1;
            }

.card .table-responsive {
    min-height: calc(100vh - 285px);
}

@media screen and (max-width:800px) {

    .table td::before {
        content: attr(data-label);
        width: 50%;
        background: #efefef;
        font-weight: 600;
        padding-left: 10px;
        margin-right: 10px;
        display: flex;
        align-items: center;
        min-height: 33px;
        min-width: 50%;
    }
    
}

.save-buttons {
    display: flex;
    white-space: nowrap;
    margin-top: 0px !important;
}

.nav.nav-tabs {
    width: 100%;
    white-space: nowrap;
    overflow-x: auto;
    display: flex;
    flex-wrap: nowrap;
    overflow-y: hidden;
}

.btn {
    line-height: 28px;
    max-height: 44px;
}

.highcharts-credits {
    display: none;
}

.m-block {
    display: none;
}

.zindex-3 {
    z-index: 3;
}

.select2-selection__rendered {
    white-space: nowrap !important;
    overflow: hidden !important;
    margin-right: 10px !important;
}

.times.close-link {
    display: none;
}

@media screen and (max-width:1200px) {
    .filter-block button.search-button {
        margin-bottom: 0px;
    }

    .filter-block a.search-button {
        margin-bottom: 0px;
    }

    .navbar {
        padding: 0.3rem 1rem;
    }

    .navbar-toggler {
        display: block !important;
    }

    .sidenav.show {
        transform: translateX(0px);
    }

    .navbar-white {
        background: #212529 !important;
    }

    .m-none {
        display: none;
    }

    .m-block {
        display: block;
    }

    .card-header .save-buttons .btn {
        padding: 11px 8px;
        background: transparent;
        color: black;
        border: none;
        box-shadow: none;
        margin: 0px;
    }

        .card-header .save-buttons .btn svg {
            font-size: 18px;
            margin: 5px 0px;
        }

    .m-block.fa-trash {
        font-size: 18px;
        margin: 13px 8px;
        color: #ff3939;
    }

    .m-block {
        font-size: 18px;
        margin: 13px 8px;
        color: black;
    }

        .m-block.img {
            margin: 0px;
            line-height: 27px;
        }

            .m-block.img img {
                width: 21px;
            }

    .footer .col-xl-12 {
        padding: 0px;
    }

    .modal-dialog {
        min-width: 95% !important;
    }

    .footer {
        width: 100% !important;
        left: 0px;
    }

    .times.close-link {
        color: white;
        position: absolute;
        right: 14px;
        top: 8px;
        z-index: 10;
        font-size: 20px;
        display: block;
        background: transparent;
        border: none;
    }
}

.bootstrap-select .dropdown-toggle .filter-option {
    color: #8898b2;
}

.bootstrap-select button {
    background: white;
    border: 0px;
    font-size: 12px;
    height: 35px;
    line-height: 22px;
    font-weight: 400;
}

    .bootstrap-select button:hover {
        background: white;
    }


.capture-button {
    font-size: 10px !important;
    height: 35px;
    max-height:35px;
}

#screenshots img {
    width: 100%;
}

#canvas {
    width:100%;
}

.Metersubmitted {
    width: fit-content;
    margin: auto;
    padding: 0px 10px;
    border-radius: 5px;
}

.Metersubmitted p {
    margin:0px;
}

.select2-container .select2-selection {
    display: flex;
    align-items: center;
}
.select2-container .select2-selection--multiple {
    display:block;
    align-items: center;
    max-height: 150px;
    min-height: 32px;
    height: fit-content !important;
}
select.form-control[multiple] {
    min-height: 35px;
    max-height: 150px;
    height: fit-content !important;
}
@media screen and (max-width:1200px) {
    .pyc-7 {
        padding-top: 30vh !important;
    }
}


@media screen and (max-width: 800px) {
    .table.ticketindex-table tr td::before {
        max-width: 160px;
    }
}

.ui-datepicker .ui-datepicker-header {
    background: black;
}

.ui-datepicker .ui-datepicker-prev .ui-icon {
    color: white !important;

}

.ui-datepicker .ui-datepicker-next .ui-icon {
    color: white !important;
}

.ui-state-active, .ui-widget-content .ui-state-active {
    border: 1px solid #020202;
    background: black !important;
    color: #ffffff !important;
}

.ui-datepicker-trigger {
    border: none;
    background: transparent;
    cursor: pointer;
    margin-left: 4px;
    position: absolute;
    right: 20px;
    bottom: 12px;
}

.select2-selection__choice {
    margin-right: 10px;
    padding: 5px;
}

.select2-selection__choice__remove {
    margin-right: 10px;
    background: black !important;
    color: white !important;
    border: 0px !important;
}

.select2-selection__rendered {
    overflow-y: auto !important;
    margin-bottom: 2px !important;
    padding: 10px !important;
    display: block !important;
    min-height: 20px;
    max-height: 100px;
}

  /*  .select2-selection__rendered::-webkit-scrollbar {
        display: none;
    }*/

.select2-container .select2-search--inline .select2-search__field {
    width: 100% !important;
    height: 30px !important;
    margin: 0px !important;
    border-radius: 0px !important;
    vertical-align: middle !important;
    padding: 5px;
}

.select2-selection--multiple .select2-search--inline {
    display: none !important;
}

/* Show search input only when dropdown is open */
.select2-container--open .select2-selection--multiple .select2-search--inline {
    display: inline-block !important;
    padding: 0px !important; /* Adjust as needed */
    width: 100%;
}


.TimeOutModal {
    display: none;
    margin-top: 15px;
    width: 360px !important;
    position: fixed;
    top: 40px;
    left: 37%;
    z-index: 9999;
    user-select: none;
}

    .TimeOutModal .alert {
        text-align: center;
    }

        .TimeOutModal .alert .MsgBox #CountDownHolder {
            display: block;
            font-size: 320%;
            font-weight: bold;
        }

        .TimeOutModal .alert .MsgBox .button-block {
            display: block;
            margin-top: 10px;
        }

            .TimeOutModal .alert .MsgBox .button-block .btn {
                padding: 5px 15px;
                margin-right: 10px;
            }




#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ddd;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn.btn-dark .m-block {
    color:white;
    margin:5px;
}

@media screen and (max-width:1200px) {
    .save-buttons .btn.btn-dark .m-block {
        color: black;
    }

        .save-buttons .btn.btn-dark .m-block.img {
            margin: 0px;
        }
}
