@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Highlight table row if it has the class clickable */
.clickable tbody tr:hover {
    cursor: pointer;
    background-color: #D6D6D6;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;

}

.Invert{
    visibility:hidden;
}

button:hover + .Invert, .Invert:hover {
    visibility: visible;
}

.dtsp-panesContainer {
    display: none;
}

.thread :hover{
    cursor: pointer;
    -webkit-filter: brightness(60%);
}

.hover_overlay :hover {
    cursor: pointer;
}


/***************************Image Gallery*********************************/

div.gallery {
    margin: 5px;
    border: 1px solid #ccc;
    float: left;
    width: 180px;
}

    div.gallery:hover {
        border: 1px solid #777;
    }

    div.gallery img {
        width: 100%;
        height: auto;
    }

div.desc {
    padding: 15px;
    text-align: center;
}


/***************************Responsive************************************/
@media (min-width: 34em) {
    .card-columns {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

@media (min-width: 48em) {
    .card-columns {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }
}

@media (min-width: 62em) {
    .card-columns {
        -webkit-column-count: 4;
        -moz-column-count: 4;
        column-count: 4;
    }
}

@media (min-width: 75em) {
    .card-columns {
        -webkit-column-count: 4;
        -moz-column-count: 4;
        column-count: 4;
    }
}

@media (max-width: 540px) {
    .Invert {
        display: block;
        visibility: visible;
    }
    #footer {
        display: none;
        visibility: hidden;
    }
    .dtsp-panesContainer {
        display:block;
    }
    .navbar-collapse {
        max-height: 300px;
        overflow-y: scroll;
    }
}

@media (max-height: 540px) {
    .Invert {
        display: block;
        visibility: visible;
    }
    #footer {
        display: none;
        visibility: hidden;
    }
    .dtsp-panesContainer {
        display: block;
    }
    .navbar-collapse {
        max-height: 300px;
        overflow-y: scroll;
    }
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

/***************************UNIT DETAILS******************************/
div.modal-dialog.modal-dialog-centered {
    max-width: 70% !important
}

/***************************NOCOMMSDASHBOARD***************************/
#region:hover {
    background-color: rgb(0 0 0 / 8%) !important;
    cursor: pointer;
}

/*#unit::before {
    top: 0px;
    bottom: 0;
    position: absolute;
    content: "\25CF";
    background-color: #f92d3300;
    left: -70px;
    margin-left: -1.5px;
    color: #f92d33;
    font-size: 50px;
    text-shadow: -2px 0 #ac1c21, 0 2px #ac1c21, 2px 0 #ac1c21, 0 -2px
}*/

#unit:hover {
    background-color: rgb(0 0 0 / 8%) !important;
    cursor: pointer;
}


#UnitList > .card-body::before {
    top: 60px;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 6px;
    border-radius: 40rem;
    background-color: #f92d33;
    left: 1.6rem; 
}

#UnitList > .card-body {
    padding-left: 2rem !important;
}
/***************************SCROLLBARS********************************/
-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}
-webkit-scrollbar {
    width: 12px;
    background-color: #F5F5F5;
}
-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #555;
}

/***************************DASHBOARDS********************************/
.center {
    text-align: center;
    border: 3px solid green;
    vertical-align: middle
}

.dashheader {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    width: 100%;
    height: 100px;
    /*padding: 15px 32px;*/
    text-align: center;
    text-decoration: none;
    /*display: inline-block;*/
    font-size: 20px;
    /*margin: 4px 2px;*/
    cursor: pointer;
}

.dashheaderc {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    width: 50%;
    height: 100%;
    /*padding: 15px 32px;*/
    text-align: center;
    text-decoration: none;
    /*display: inline-block;*/
    font-size: 40px;
    /*margin: 4px 2px;*/
    cursor: pointer;
}

.dash_left {
    background-color: purple;
}

.dash_centre {
    background-color: blue;
}

.dash_right {
    background-color: green;
}

.dash {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    width: 50%;
    height: 60px;
    /*padding: 15px 32px;*/
    text-align: center;
    text-decoration: none;
    /*display: inline-block;*/
    font-size: 20px;
    /*margin: 4px 2px;*/
    cursor: pointer;
}

.dashc {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    width: 50%;
    height: 40px;
    /*padding: 15px 32px;*/
    text-align: center;
    text-decoration: none;
    /*display: inline-block;*/
    font-size: 40px;
    /*margin: 4px 2px;*/
    cursor: pointer;
    vertical-align: middle;
}

.vbutton {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    width: 100%;
    height: 100%;
    /*padding: 15px 32px;*/
    text-align: center;
    text-decoration: none;
    display: inline-block;
    /*vertical-align: middle;*/
    font-size: 20px;
    /*margin: 4px 2px;*/
    cursor: pointer;
}

.vbuttonn {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    width: 100%;
    height: 100%;
    /*padding: 15px 32px;*/
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 40px;
    /*margin: 4px 2px;*/
    cursor: pointer;
}

.vbutton_grey {
    background-color: gray;
}

.vbutton_lgrey {
    background-color: lightgray;
}

.vbutton_orange {
    background-color: orange;
}

.vbutton_purple {
    background-color: purple;
}

.vbutton_yellow {
    background-color: yellow;
    color: black;
}

.vbutton_blue {
    background-color: blue;
}

.vbutton_red {
    background-color: red;
}

.vbutton_green {
    background-color: green;
}

.vbutton_brown {
    background-color: #8C4404
}

.vbutton_black {
    background-color: black
}

.finactive {
    opacity: 1;
}

.dashtable {
    border-collapse: collapse;
    width: 100%;
}

.dashth, .dashtd, .dashtr {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

/**********************TOAST*********************/
.toast {
    display: none;
    color: #fff;
    z-index: 1;
    position: absolute;
    top: 2rem;
    border-radius: 1rem;
    right: 0px;
}

.toast-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 1rem;
    font-size: 2.5rem;
}

.toast-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-left: 1rem;
}

    .toast-body p {
        margin-bottom: 0;
    }

.toast-visible {
    display: flex !important;
    flex-direction: row;
    animation: fadein 1.5s;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/**********************FOOTER*********************/


footer {
    position: fixed;
    bottom: 0;
    background-color: #232324;
}


 
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
