﻿
/* Set padding to keep content from hitting the edges */


body{
    min-height:100vh;
}
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}


//...........................scroll-bar............................//
/* width */
::-webkit-scrollbar {
    width: 5px !important;
}
/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgba(193,193,193,1) !important;
    border-radius: 10px !important;
}
/* Handle */
::-webkit-scrollbar-thumb {
    background: rgba(193,193,193,1) !important;
    border-radius: 10px !important;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgba(122, 134, 154, 1) !important;
    cursor: pointer !important;
}








/* Set width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    max-width: 280px;
}*/

    input[type=date]::-webkit-inner-spin-button {
        -webkit-appearance: none;
        display: none;
    }

textarea {
    resize: vertical;
}

* {
    margin: 0;
    padding: 0;
}

h1 {
    text-align: center;
    font-size: 16px;
}

/* Back to article bar */
.back {
    background-color: #111;
    color: #fefefe;
    text-align: center;
    padding: 0.5em 0;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

    .back a {
        color: #888;
        text-decoration: none;
    }

        .back a:hover, .back a:focus {
            color: #eee;
        }

.field-validation-error {
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.1em;
}

.validation-summary-valid {
    display: none;
}

.imgcontainer img {
    width: 100%;
}

.imgcontainer {
    width: 100%;
    height: 100%;
    background: #444;
    margin: 0 auto;
}

    .imgcontainer img.wide {
        max-width: 100%;
        max-height: 100%;
        height: auto;
    }

    .imgcontainer img.tall {
        max-height: 100%;
        max-width: 100%;
        width: auto;
    }


.page-sidebar {
    height: 100vh;
}

.x-navigation-minimized {
    border-right: 0px solid #E04B4A;
}


.x-navigation li a{
    cursor:pointer;
}

@media screen and (min-width: 768px) {
    .rwd-break {
        display: none;
    }
}

@media only screen and (max-width: 450px) {
    [class*="col-"] {
        width: 100%;
    }

    .imgLogo {
        width: 90% !important;
    }
}

@media screen and (min-width: 1200px) /* Desktop */ {

    .mb-control {
        width: 30px !important;
    }

    embed {
        width: 1100px;
    }

    .mobile-search-result {
        border: none;
        margin: 0px;
    }

    .slide-row {
        margin-top: 0px;
        height: 275px;
    }

    .slide-carousel {
        margin-top: 0px;
    }

    .imgResult {
        padding-top: 1%;
        padding-left: 1%;
        padding-bottom: 1%;
        padding-right: 1%;
        max-height: 250px;
        min-width: 200px;
    }
}

@media screen and (max-width: 979px) /* Tablet */ {

    embed {
        width: 600px;
    }

    .mobile-search-result {
        border: none;
        margin: 0px;
    }

    .slide-row {
        margin-top: 0px;
        height: 275px;
    }

    .slide-carousel {
        margin-top: 0px;
    }

    .imgResult {
        padding-top: 1%;
        padding-left: 15%;
        padding-bottom: 1%;
        padding-right: 1%;
        max-height: 250px;
        min-width: 200px;
    }
}

@media screen and (max-width: 500px) /* Mobile */ {

    embed {
        width: 400px;
    }

    .mobile-search-result {
        border: solid 1px;
        margin: 5px;
    }

    .slide-row {
        margin-top: 10px;
        height: 300px;
    }

    .item {
        max-height: 160px;
    }

    .slide-carousel {
        margin-top: 10px;
    }

    .imgResult {
        padding-top: 0%;
        padding-left: 15%;
        padding-bottom: 0%;
        padding-right: 1%;
        max-height: 150px;
        min-width: 200px;
    }
}

@media screen and (max-width: 400px) /* Mobile */ {

    embed {
        width: 300px;
    }

    .mobile-search-result {
        border: solid 1px;
        margin: 5px;
    }

    .slide-row {
        margin-top: 10px;
        height: 300px;
    }

    .item {
        max-height: 160px;
    }

    .slide-carousel {
        margin-top: 10px;
    }

    .imgResult {
        padding-top: 0%;
        padding-left: 15%;
        padding-bottom: 0%;
        padding-right: 1%;
        max-height: 150px;
        min-width: 200px;
    }
}

@media screen and (max-width: 350px) /* Mobile */ {

    embed {
        width: 280px;
    }

    .mobile-search-result {
        border: solid 1px;
        margin: 5px;
    }

    .slide-row {
        margin-top: 10px;
        height: 200px;
    }

    .item {
        max-height: 160px;
    }

    .slide-carousel {
        margin-top: 10px;
    }

    .imgResult {
        padding-top: 0%;
        padding-left: 15%;
        padding-bottom: 0%;
        padding-right: 1%;
        max-height: 150px;
        min-width: 200px;
    }
}


#contentDiv {
   /* height: 1150px;*/
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    opacity: 0.7;
    z-index: 2;
    min-height: 100vh;
    /*background: url(../../../../Content/Images/uploading.gif) no-repeat center center fixed;*/
}

table tr th {
    text-align: center;
}

table tr td {
    text-align: center;
}



#txtSearch {
    border-color: black;
}



/*Index page styles*/

.page-content {
    border-left: 1px solid #3e4a61;
    height:auto !important;
}


.data-table-wrapper {
    overflow: scroll;
    max-height: 426px;
}

.pill {
    text-align: center;
    padding: 2px 8px 2px 8px;
    color: white;
    border-radius: 12px;
    font-weight: 600;
    white-space: nowrap;
}


th {   
    text-align: left !important;
    max-height: 35px !important;
}

td {
    text-align: left !important;
    max-height: 35px !important;
    white-space: nowrap;
}

.btn {
    height: 30px;
}

.form-control:disabled, .form-control[readonly] {
    background-color: white;
    opacity: 1;
    color: black;
}





.addtional-filters {
    margin-bottom: 10px;
}



.btn-filter {
    cursor: pointer !important;
    margin-top: -4px;
}

a {
    cursor: pointer !important;
}

.col-header {
    cursor: pointer !important;
    color: black;
}

u {
    /*text-decoration-color: red;*/
}

#pager {
    margin-top: 27px;
    float: right;
}

select {
    color: #6c757d !important;
    text-align-last: left;
    border-radius: 3px !important;
    background-color: #F9F9F9 !important;
}

option {
    direction: ltr;
    text-align: left;
}

.total-result {
    margin-top: 20px;
    color: #aeaeae;
    padding: 3px 6px 3px 6px;
}


.input-group-addon {
    cursor: pointer;
}

.btn-add {
    font-size: 15px !important;
}


.toast {
    border: 2px solid #007bff;
    border-radius:5px;
}

.toast-header {
    background-color: #007bff54;
}

.toast-body {
    background-color: rgb(181 239 213 / 0.75);
}


th {
    white-space: nowrap;
    background: white;
    position: sticky;
    top: -7px; /* Don't forget this, required for the stickiness */
    bottom: 0px;
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);
    z-index: 20;
}

th a {
   color:darkgray;
   font-weight:bold;
}

.page-item.active .page-link {
    background-color: #aeaeae;
}

.drp-multiple{
    height:75px;
}

.page-item.active .page-link {
    border-color: #aeaeae;
}

.navbar-brand {
    color: black !important;
}


.navbar {
    border: 1px solid gray;
    background-color: white;
}

.nav-link {

    color:black !important;
}


.hide-user {
    display: none;
    margin-top: 5px;
}

.current-user  {
   margin-top:5px;
}

.current-user:hover + .hide-user {
    display: block;
    color: grey;
}

#navbarCollapse{
    font-size:14px;
}