﻿﻿ /* 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: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.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
-------------------------------------------------- */

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    height: calc(100vh - 120px);
    background-color: #e0d6cf;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.content-centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.timezone.show {
    display: flex !important;
}

.timezone {
    flex-wrap: wrap;
    width: 18.75rem;
    left: auto !important;
    right: 0;
    text-align: center !important;
}

.timezone > .dropdown-item {
    width: 33% !important;
}

input.error {
    border: 1px solid #dc3545;
    background: #f8dcdb;
}

/*** adminto ***/
body[data-layout=horizontal] .content-part {
    overflow-x: hidden;
    clear: both;
    margin-top: 20px;
    padding-top: 70px;
}

.profile-dropdown {
    width: 100px;
    min-width: 100px;
}

.font-11 {
    font-size: 11px !important;
}

.py-20 {
    padding-top: 20px;
    padding-bottom: 20px;
}

.navigation-menu > li > a {
    color: #dee2e6;
    padding-left: 10px;
    padding-right: 10px;
}

.navbar-brand {
    float: left;
    padding-top: 20px;
    padding-bottom: 15px;
}

.width-xxxl {
    min-width: 214px;
}

.width-xxl {
    min-width: 185px;
}

.width-14{
    min-width: 14px;
}

.dealer-image{
    width: 100%;
    max-width: 100px;
}

.table .thead-gray th {
    color: #6c757d;
    background-color: #dee2e6;
    border-color: #dee2e6;
}

.padding-top-ater-round{
    padding-top: 20px;
}

.table-input{
    width: calc(100% - 40px);
    min-width: 20px;
    max-width: 150px;
}

.word-break{
    word-break: break-word;
}

.no-wrap{
    white-space: nowrap;
}

.header-title{
    margin-bottom: 12px;
}

.edit-dealer.checkbox.checkbox-info{
    margin-top:-10px;
}

.list-dealer.checkbox.checkbox-info{
    margin-top:-7px;
}

.table-responsive table caption {
    display: none;
}

.postpone-all-button {
    margin-top: 1rem;
    margin-right: 1rem;
}

.postpone-all-icon {
    display: none;
    font-size: 18px;
}

.quantity {
    max-width: 140px;
    min-width: 135px;
    width: 100%;
}


/* Login */
.login-form {
    width: 340px;
}

.login-forget-form {
    width: 450px;
}

.login-form, .login-forget-form {
    margin: 50px auto;
}

.login-form form, .login-forget-form form {
    background: #ffffff;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    padding: 30px;
}
.login-form h2 {
    margin: 0 0 15px;
}
.form-control, .btn-login {
    min-height: 38px;
    border-radius: 2px;
}
.btn-login {
    font-size: 15px;
    font-weight: bold;
}

@media (max-width: 1700px) {
    .postpone-all-icon {
        display: block;
    }

    .postpone-all-button {
        margin-top: 15px;
    }
}

@media (max-width: 1300px) {
    .postpone-all-button {
        max-width: 140px;
        margin-top: 6px;
    }

    .pause-quantity-container, .pause-change-button-container {
        margin: 0 auto;
    }
}

@media (max-width: 1337px) {
    .pause-quantity-container, .pause-change-button-container {
        margin: 0 auto;
    }
}

@media (max-width: 1080px) {
    .postpone-all-icon {
        font-size: 15px
    }
}

@media (max-width: 991px) {
    .navigation-menu > li > a {
        color: #6c757d;
    }
    body[data-layout=horizontal] .content-part {
        margin-top: 20px;
    }
}


@media (min-width: 1554px) {
    body[data-layout=horizontal] .content-part {
        margin-top: 20px;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand {
        padding-top: 25px;
    }

    .padding-top-ater-round {
        padding-top: 17px;
    }

    .login-form, .login-forget-form {
        width: auto;
    }
    
    /*permission no table */
    #permission-no-tables table,
    #permission-no-tables thead,
    #permission-no-tables tbody,
    #permission-no-tables th,
    #permission-no-tables td,
    #permission-no-tables tr {
        display: block;
    }


    #permission-no-tables thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #permission-no-tables tr { 
        border: 1px solid #ccc;
        margin-bottom: 5px;
    }

    #permission-no-tables tr td:first-child{
        font-weight: bold;
    }
    
    #permission-no-tables td {

        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        white-space: normal;
        text-align:left;
    }

    #permission-no-tables td:before {

        position: absolute;
        content: attr(data-title);
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align:left;
        font-weight: bold;
    }
    /* end permission no table */
}

@media (max-width: 575.98px) {
    .w-xs-100 {width: 100%;}
    .postpone-all-icon {
        font-size: 15px;
    }

    .table {
        font-size: 11px;
    }

    .postpone-all-button {
        margin-top: 17px;
    }
}
/* hide first column on dealers table*/
.dealers-table thead th:first-child, .dealers-table tbody td:first-child {
    display: none;
    visibility:hidden;
}

/* search box */
.search-box{
    padding-top: 0.5px;
}

input.search-query {
    padding-left:10px;
    line-height: 30px;
}

form.form-search {
    position: relative;
}

form.form-search:before {
    content:'';
    display: block;
    width: 14px;
    height: 14px;
    background-position: -48px 0;
    position: absolute;
    top:8px;
    left:8px;
    opacity: .5;
    z-index: 1000;
}

/*sort*/
.nameasc th > a[data-column-name="name"]:after,
.namedesc th > a[data-column-name="name"]:after,
.codeasc th > a[data-column-name="code"]:after,
.codedesc th > a[data-column-name="code"]:after,
.activeasc th > a[data-column-name="active"]:after,
.activedesc th > a[data-column-name="active"]:after {
    color: #34b8e0;
    display: inline-block;
    width: 1em;
    text-align: center;
    line-height: 1.2em;
    left: -1.2em;
}

.nameasc th > a[data-column-name="name"]:after,
.codeasc th > a[data-column-name="code"]:after,
.activeasc th > a[data-column-name="active"]:after {
    content: "\25B2"; /* down up */
}

.namedesc th > a[data-column-name="name"]:after,
.codedesc th > a[data-column-name="code"]:after,
.activedesc th > a[data-column-name="active"]:after {
    content: "\25BC"; /* down down */
}


.w-10 {
    width: 10% !important;
}

.w-15 {
    width: 15% !important;
}

.w-20 {
    width: 20% !important;
}

.label {
    display: inline;
    padding: .2em .6em .3em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}

.label-primary {
    background-color: #35b8e0;
}

.label-success {
    background-color: #5cb85c;
}

.label-warning {
    background-color: #f0ad4e;
}

.select2-container .select2-selection--multiple .select2-selection__choice {
    background-color: #35b8e0;
    padding: 0;
    padding-left: 20px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    border-right: none;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover, 
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus {
    background-color: #096d8c;
}

.select2-container--default .select2-results__option--selected {
    background-color: #5897fb !important;
    color:white !important;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    padding:0;
}


.btn-expand-permissions{
    font-size: 12px;
}

.btn-expand-permissions.collapsed[data-toggle="collapse"] .expand-text {
    display: inline-block;
}

.btn-expand-permissions.collapsed[data-toggle="collapse"] .collapse-text {
    display: none;
}

.btn-expand-permissions[data-toggle="collapse"] .collapse-text {
    display: inline-block;
}

.btn-expand-permissions[data-toggle="collapse"] .expand-text {
    display: none;
}

.navbar-custom {
    height: auto;
    background-color: #6b0101 !important;
}

.display-ul-list ul {
    padding-left: 0;
    display: inline;
    list-style-type: none;
}

.display-ul-list ul li {
    display: inline-block;
}

.temp-block {
    display: none;
}

.temp-block.show {
    display: block;
}

.temp-text{
    color: #cccccc;
    background-color: #b1b1b1;
}

#iframeLoader, .alert-load-iframe-failed {
    position:absolute;
    left: 50%;
    top: 50%;
    width: 100px;
    height: 100px;
    transform: translate(-50%,-50%);
}

#iframeLoader {
    background:#ffffff;
}

iframe {
    width: 1px;
    min-width: 100%;
    border: 0;
    overflow: hidden;
}

#topnav {
    top:0;
}

body.enlarged {
    min-height: auto;
}

.alert-load-iframe-failed {
    width: auto;
}

.error-code-title, .error-exception-message {
    text-align: center;
}

.error-code-title {
    font-size: 44px;
}

.error-exception-message{
    font-size: 22px;
}


.logoutDialog {
    position: absolute;
    height: 200px;
    z-index: 9999;
}

.progress-bar-animated {
    -webkit-animation: progress-bar-stripes 1s linear infinite;
    animation: progress-bar-stripes 1s linear infinite;
    animation-name: progress-bar-stripes;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-delay: 0s;
    animation-iteration-count: infinite;
    animation-direction: normal;
    animation-fill-mode: none;
    animation-play-state: running;
}

.menu-header{
    border-bottom: 2px solid #ebeff2;
    font-weight: bold;
}

#active-pauses{
    display:table-header-group;
}

[type=checkbox][readonly=readonly]::before {
    background: rgba(255,255,255,.5);
    content: '';
    opacity: .8;
    display: block;
    height: 20px;
    width: 20px;
}

.nav-logo {
    font-weight: bold;
    text-transform: uppercase;
}
.nav-logo img {
    max-height: 35px;
}

.btn-danger-jt {
    background-color: #f52308 !important;
    border-color: #ffffff !important;
}

.nav-item-jt {
    background-color: #775c44 !important;
    border-color: #775c44 !important;
}
.nav-item-jt:hover {
    background-color: #6d4b34 !important;
    border-color: #6d4b34 !important;
}
.nav-link-jt{
    color: white!important;
}
.nav-pills .nav-link-jt.active, .nav-pills .show > .nav-link-jt{
    background-color: #51382a !important;
    border-color: #51382a !important;
}
.btn-info-jt {
    background-color: #51382a !important;
    border-color: #51382a !important;
}

.btn-secondary-jt {
    background-color: #775c44 !important;
    border-color: #775c44 !important;
}

.btn-increment-jt, .btn-decrement-jt {
    background-color: #e5b17f !important;
    border-color: #e5b17f !important;
}

.btn-primary-jt {
    background-color: #170236 !important;
    border-color: #170236 !important;
}

#topnav .has-submenu.active>a  {
    color: #aad1ff !important;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgb(237, 227, 221);
}

.bg-info-jt {
    background-color: #775c44 !important;
}

.checkbox-info input[type=checkbox]:checked+label::before,
.btn-info,
#dealersListView .page-pre .page-link,
#dealersListView .page-next .page-link{ 
    background-color: #51382a !important;
    border-color: #51382a !important;
    color: #fff;
}

.btn-info:hover {
    background-color: #6d4b34 !important;
    border-color: #6d4b34 !important;
}

.datepicker table,
.timepicker table{
    width: 100%!important;
}

#main-view-data .fixed-table-body{
    overflow: unset!important;
}

.table-responsive.with-overflow{
    overflow: visible!important;
}

.table-responsive.with-overflow .fixed-table-body{
    min-height: 400px;
}

.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading{
    z-index: 995!important;
}

.checkbox input[type=checkbox]:checked+label::after
{
    content:" ";
}
.pauses-input,
.pauses-input-round{
    pointer-events: none;
    background-color: inherit!important;
}

/*Fixing last element for only one element in menu list for adminto template*/
.navigation-menu>li:only-child.last-elements .submenu{
    left: 0;
}
/*Fixing last element for only one element in menu list for adminto template*/
.navigation-menu>li:only-child.has-submenu.last-elements>.submenu:before{
    left: 16px;
    right: auto;
}

.settings-container{
    position: sticky;
    height: calc(100vh - 120px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}

#dealersListView .fixed-table-pagination{
    bottom: -75px;
    left: 0;
}

#dealersListView .page-item{
    display: none;
}

#dealersListView .page-pre .page-link{
    border-radius: .25rem;
    margin-right: 10px;
}

#dealersListView .page-next .page-link{
    border-radius: .25rem;
    margin-left: 10px;
}

#dealersListView .page-item.page-pre,
#dealersListView .page-item.page-next,
#dealersListView .page-item.active{
    display: block;
}

#dealersListView .page-item.active .page-link{
    background-color: #fff;
    border-color: #fff;
    color: #495057;
    min-width: 75px;
    text-align: center;
}
