﻿/* 
    Own CSS styles
*/

.sidebar .nav-item .nav-link {
    padding: 5px 15px;
}

footer.sticky-footer {
    padding: 1rem 0;
}

.input-sm {
    height: 31px;
}

select.input-sm {
    padding-top: 3px;
}

.input-group > .form-control:not(:first-child), .input-group > .custom-select:not(:first-child) {
    border-top-right-radius: 0.35rem;
    border-bottom-right-radius: 0.35rem;
}

.input-group > .input-group-prepend > .btn, .input-group > .input-group-prepend > .input-group-text, .input-group > .input-group-append:not(:last-child) > .btn, .input-group > .input-group-append:not(:last-child) > .input-group-text, .input-group > .input-group-append:last-child > .btn:not(:last-child):not(.dropdown-toggle), .input-group > .input-group-append:last-child > .input-group-text:not(:last-child) {
    border-top-left-radius: 0.35rem;
    border-bottom-left-radius: 0.35rem;
}

.custom-control-label {
    padding-top: 4px !important;
}

.small-space {
    height: 8px;
}

.btn-xs {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    border-radius: 0.35rem;
    line-height: 1;
}

.btn-placepicker {
    height: 31px;
    border-radius: 0;
    border-top-left-radius: 0.35rem;
    border-bottom-left-radius: 0.35rem;
}

table.dataTable tbody tr td {
    word-wrap: break-word;
    word-break: break-all;
}

tr {
    cursor: default;
}

tbody > tr:hover {
    background-color: #f2f2f2;
    /*color: white;*/
}

tbody > tr.selected:hover {
    background-color: #6b8ae5;
    /*color: white;*/
}

tr.selected {
    background-color: #6b8ae5;
    color: white!important;
}

tr.selected > td {
    color: white !important;
}

tr.selected > td > font {
    color: white!important;
}

tr.selected > td > a {
    color: white !important;
}

tr.selected > td > i {
    color: white!important;
}

.list-group-item.active:not(.ChargerListItem) > i {
    color: white !important;
}

button:disabled {
    cursor: not-allowed;
    color: #ffffff !important;
    background-color: #C0C0C0 !important;
    border-color: #C0C0C0 !important;
}

.btn-gold {
  color: #ffffff;
  background-color: #dcb24e;
  border-color: #dcb24e;
}

.btn-gold:hover {
  color: #ffffff;
  background-color: #c59f46;
  border-color: #c59f46;
}

.btn-gold:focus {
  color: #ffffff;
}

.btn-pink {
  color: #ffffff;
  background-color: #d4008d;
  border-color: #d4008d;
}

.btn-pink:hover {
  color: #ffffff;
  background-color: #c59f46;
  border-color: #c59f46;
}

.btn-pink:focus {
  color: #ffffff;
}

.btn-outline-gold {
    color: #c59f46;
    border-color: #c59f46;
}

.btn-outline-gold:hover {
    color: #fff;
    background-color: #c59f46;
    border-color: #c59f46;
}

.btn-outline-gold:focus, .btn-outline-gold.focus {
    box-shadow: 0 0 0 0.2rem rgba(246, 194, 62, 0.5);
}

.btn-outline-gold.disabled, .btn-outline-gold:disabled {
    color: #c59f46;
    background-color: transparent;
}

.btn-outline-gold:not(:disabled):not(.disabled):active, .btn-outline-gold:not(:disabled):not(.disabled).active,
.show > .btn-outline-gold.dropdown-toggle {
    color: #fff;
    background-color: #c59f46;
    border-color: #c59f46;
}

.btn-outline-gold:not(:disabled):not(.disabled):active:focus, .btn-outline-gold:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-gold.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(221, 179, 84, 0.5);
}

.NumberInput {
    text-align: right;
}
.NumberInputWithNegative {
    text-align: right;
}

.badge-sidenav {
    font-size: 12px!important;
}

.btn-multiselect {
    background-color: white !important;
    color: #6e707e;
    border: 1px solid #d1d3e2;
    border-radius: 0.35rem;
}

.disabled .btn-multiselect {
    background-color: #eaecf4 !important;
    color: #6e707e !important;
    opacity: 1;
}

.iconpicker-popover.popover {
    opacity: 1!important;
}

/*In error*/
.text-cpred {
    color: #e21e1e;
}

/*Available*/
.text-cpgreen {
    color: #9dde48;
}

/*Reserved*/
.text-cpviolet {
    color: #913e8e;
}

/*On charging*/
.text-cpblue {
    color: #03bfde;
}

/*Not connected to backend*/
.text-cpgrey {
    color: #b7b7b7;
}

.FirstLoader {
    border: 16px solid #f3f3f4; /* Grey */
    border-top: 16px solid #4e73df; /* Blue */
    border-bottom: 16px solid #4e73df; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 1.1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/*
    MyIcons start
*/
.myi {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: cover;
}

.myi-sm {
    width: 20px;
    height: 20px;
}

.myi-md {
    width: 25px;
    height: 25px;
}

.myi-l {
    width: 35px;
    height: 35px;
}

.myi-xl {
    width: 50px;
    height: 50px;
}

.myi-xxl {
    width: 70px;
    height: 70px;
}

.myi-ac {
    background-image: url(../Images/Icons/ac.svg)
}

.myi-ccs {
    background-image: url(../Images/Icons/ccs.svg)
}

.myi-chademo {
    background-image: url(../Images/Icons/chademo.svg)
}

/*In error*/
.filter-red { 
    filter: invert(27%) sepia(20%) saturate(5666%) hue-rotate(336deg) brightness(103%) contrast(122%);
}

/*Available*/
.filter-green {
    filter: invert(100%) sepia(59%) saturate(2609%) hue-rotate(32deg) brightness(120%) contrast(74%);
}

/*Reserved*/
.filter-violet {
    filter: invert(32%) sepia(65%) saturate(727%) hue-rotate(255deg) brightness(86%) contrast(90%);
}

/*On charging*/
.filter-blue {
    filter: invert(61%) sepia(83%) saturate(1536%) hue-rotate(142deg) brightness(91%) contrast(98%);
}

/*Not connected to backend*/
.filter-grey {
    filter: invert(78%) sepia(0%) saturate(71%) hue-rotate(164deg) brightness(96%) contrast(88%);
}

/*
    MyIcons end
*/

/*
    Modal start
*/

.modal-xxl {
    width: 1500px;
    max-width: 1500px;
}

.modal-xxxl {
    width: 1700px;
    max-width: 1700px;
}

/*
    Modal end
*/

/*
    SweetAlert2 start
*/

.swal-left {
    text-align: left!important;
}

/*
    SweetAlert2 end
*/

/*
    File manager start
*/
/*body {
    background-color: #f4f7f6;
    margin-top: 20px;
}*/

.file_manager .file:hover .hover,
.file_manager .file .file-name small {
    display: block
}

.file_manager .file {
    padding: 0 !important;
}

    .file_manager .file .icon {
        text-align: center
    }


.file_manager .file {
    position: relative;
    border-radius: .55rem;
    overflow: hidden;
    cursor: pointer;
}

    .file_manager .file .image,
    .file_manager .file .icon {
        max-height: 150px;
        overflow: hidden;
        background-size: cover;
        background-position: top
    }

    .file_manager .file .hover {
        position: absolute;
        right: 10px;
        top: 10px;
        display: none;
        transition: all 0.2s ease-in-out
    }

    .file_manager .file a:hover .hover {
        transition: all 0.2s ease-in-out
    }

    .file_manager .file .icon {
        padding: 15px 10px;
        display: table;
        width: 100%
    }

        .file_manager .file .icon i {
            display: table-cell;
            font-size: 30px;
            vertical-align: middle;
            color: #777;
            line-height: 100px
        }

    .file_manager .file .file-name {
        padding: 10px;
        border-top: 1px solid #f7f7f7
    }

        .file_manager .file .file-name small .date {
            float: right
        }

.folder {
    padding: 20px;
    display: block;
    color: #777
}

@media only screen and (max-width: 992px) {
    .file_manager .nav-tabs {
        padding-left: 0;
        padding-right: 0
    }

        .file_manager .nav-tabs .nav-item {
            display: inline-block
        }
}

@media (max-width: 763.98px) {
    .file_manager .file .hover,
    .file_manager .file .file-name small {
        display: block
    }
}

.file-card {
    background: #fff;
    transition: .5s;
    border: 0;
    margin-bottom: 30px;
    border-radius: .55rem;
    position: relative;
    width: 100%;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 10%);
}

.file-container {
    max-width: 100%;
}

/*.card {
    background: #fff;
    transition: .5s;
    border: 0;
    margin-bottom: 30px;
    border-radius: .55rem;
    position: relative;
    width: 100%;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 10%);
}*/

/*a:hover {
    text-decoration: none;
}*/

/*
    File manager end
*/

.sidebar .sidebar-brand {
    height: 7rem;
}

.desk-30-sm-100 {
    width: 100%;
}

.desk-mob-pos {
    position: relative;
}

@media (max-width: 575.98px) {
    #TopNavCompanyDiv {
        display: none;
    }
    #SidebarImg {
        height: 50px;
    }
}

@media (min-width: 576px) {
    #TopNavCompanyDropdownItem {
        display: none;
    }
}

@media (max-width: 763.98px) {
    #SidebarImg {
        height: 70px;
    }
    .col-md-1 {
        margin-bottom: 10px;
    }
    .col-md-2 {
        margin-bottom: 10px;
    }
    .col-md-3 {
        margin-bottom: 10px;
    }
    .col-md-4 {
        margin-bottom: 10px;
    }
    .col-md-5 {
        margin-bottom: 10px;
    }
    .col-md-6 {
        margin-bottom: 10px;
    }
    .col-md-7 {
        margin-bottom: 10px;
    }
    .col-md-8 {
        margin-bottom: 10px;
    }
    .col-md-9 {
        margin-bottom: 10px;
    }
    .col-md-10 {
        margin-bottom: 10px;
    }
    .col-md-11 {
        margin-bottom: 10px;
    }
    .col-md-12 {
        margin-bottom: 10px;
    }
    .mobile-hide {
        display: none;
    }
}

@media (min-width: 764px) {
    #SidebarImg {
        height: 100px;
    }
    .desktop-hide {
        display: none;
    }
    .desktop-notify-owner {
        height: 380px;
    }
    .desk-30-sm-100 {
        width: 30%;
    }
    .desk-mob-pos {
        position: absolute;
    }
}