/* Write your custom CSS here */

.table-row {
    border-bottom: 1px solid #f5f5f5;
    padding: 10px;
    /*background-color: #fafafa;*/
}

.btn-add {
    margin-bottom: 10px;
}

.datepicker table {
    width: 300px !important;
    height: 300px !important;
}

.btn-slot {
    margin-bottom: 10px;
}

.d-none {
    display: none!important
}

.filter-wrap {
    margin-bottom: 20px;
    border: 1px solid #000;
    padding: 20px 10px;
}

.buttons-pdf {
    background: #d8121f;
    border: none;
    color: #fff;
    font-weight: bold;
    margin: 0 5px;
}

.buttons-csv {
    background: #f9d95e;
    border: none;
    color: #fff;
    font-weight: bold;
    margin: 0 5px;
}

.buttons-print {
    background: #007fff;
    border: none;
    color: #fff;
    font-weight: bold;
    margin: 0 5px;
}

.float-right {
    float: right!important;
}

.modal-header {
    height: auto;
}

.time-slot-list {
    margin-bottom: 20px;
}

.time-slot-list .time-slot-item .btn {
    padding: 9px 10px;
    border: 2px solid #33467B;
    color: #333;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
}

.time-slot-list .time-slot-item .btn:hover,
.time-slot-list .time-slot-item .btn:focus {
    border-color: #06DAB0;
    color: #06DAB0;
    background-color: transparent;
}

.time-slot-list .time-slot-item .time-slot-selected {
    border-color: #E74133;
    background-color: transparent;
    color: #E74133 !important;
    pointer-events: none;
}

.time-slot-list .time-slot-item:nth-child(n+5) {
    margin-top: 10px;
}

.sqmeter-btn-list .btn {
    margin: 5px 0;
}

ul.timeline {
    list-style-type: none;
    position: relative;
}

ul.timeline:before {
    content: ' ';
    background: #522583;
    display: inline-block;
    position: absolute;
    left: 29px;
    width: 2px;
    height: 100%;
    z-index: 400;
}

ul.timeline>li {
    margin: 20px 0;
    padding-left: 20px;
}

ul.timeline>li:before {
    content: ' ';
    background: white;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 3px solid #ff6a13;
    left: 20px;
    width: 20px;
    height: 20px;
    z-index: 400;
}

#property_log .modal-body {
    overflow-y: auto;
    height: 400px;
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: .25em solid #EE038C;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
}

.v-center {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.photo-grid div[class*="col-"]:nth-child(4n+1) {
    content: "";
    display: block;
    clear: both;
}

.enable-input {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.form-check-checkbox .form-control {
    opacity: 0.4;
    pointer-events: none;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

@media print {
    .purchase-content .col-md-6 {
        float: none;
        display: inline-block;
    }
}

.photo-grid .col-md-3:nth-child(n+5) {
    margin-top: 30px;
}

@media screen and (max-width:991px) {
    .photo-grid .col-md-3:nth-child(n+5) {
        margin-top: 0;
    }
    .photo-grid .col-md-3:nth-child(n+4) {
        margin-top: 30px;
    }
    .time-slot-list .time-slot-item:nth-child(n+5) {
        margin-top: 0;
    }
    .time-slot-list .time-slot-item:nth-child(n+4) {
        margin-top: 10px;
    }
    .photo-grid div[class*="col-"]:nth-child(4n+1) {
        display: none;
    }
    .photo-grid div[class*="col-"]:nth-child(3n+1) {
        content: "";
        display: block;
        clear: both;
    }
}

@media screen and (max-width:767px) {
    .photo-grid .col-md-3:nth-child(n+4) {
        margin-top: 0;
    }
    .photo-grid .col-md-3:nth-child(n+3) {
        margin-top: 30px;
    }
    .time-slot-list .time-slot-item:nth-child(n+4) {
        margin-top: 0;
    }
    .time-slot-list .time-slot-item:nth-child(n+2) {
        margin-top: 10px;
    }
    .photo-grid div[class*="col-"]:nth-child(3n+1) {
        display: none;
    }
    .photo-grid div[class*="col-"]:nth-child(2n+1) {
        content: "";
        display: block;
        clear: both;
    }
}

.is_invalid {
    border-color: #a94442;
}

.text-break {
    overflow-wrap: break-word;
}

.multiselect-tag-list {
    display: flex;
    flex-wrap: wrap;
}

.multiselect-tag-item {
    border: 1px solid #522583;
    padding: 2px 5px;
    border-radius: 3px;
    margin: 2px;
}

.mb-5 {
    margin-bottom: 5px;
}

.panel-body .dataTables_processing {
    display: block;
    padding: 20px 0 !important;
    background: #522583 !important;
    height: 60px;
    color: #fff !important
}

h4.table-title {
    line-height: 2;
    margin-right: 30px !important;
}

button.dropdown-toggle.bg-white {
    background: #fff;
    border-radius: 0;
    border: 1px solid #dce1e4;
    color: #555;
}

.dropdown.bootstrap-select._assign_to,
.dropdown.bootstrap-select._notify_to {
    padding: 0 !important;
}

.bootstrap-select .dropdown-toggle:focus,
.bootstrap-select>select.mobile-device:focus+.dropdown-toggle {
    outline: none !important
}

.row.table-row:last-child {
    border-bottom: none !important;
}

.page-footer {
    display: flex;
    justify-content: space-between;
}