﻿#date-selector, #date-selector-todate, #date-selector-todate:focus, #date-selector:focus {
    background: 0 0;
    box-shadow: none;
    padding: 0 0 0 15px;
    font-size: 18px !important;
    font-family: Roboto;
    font-weight: 400;
    letter-spacing: 1.8px
}

.resource-toolbar, body.webshop .resource-calendar-toolbar {
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    position: -webkit-sticky;
    z-index: 60
}

.resource-calendar-view-options {
    background: #fff;
    display: flex;
    align-items: center;
    position: sticky;
    position: -webkit-sticky;
    z-index: 60;
    justify-content: flex-end
}

    .resource-calendar-view-options button:last-child {
        margin-right: 7px
    }

.resource-calendar-event-selector {
    position: relative;
    min-width: 150px
}

.resource-list-title {
    position: relative;
    min-width: 150px;
    font-size: 20px
}

.resource-calendar-block, .resource-calendar-event-search {
    position: relative
}

.resource-list-block {
    background: #fff;
    position: relative
}

.resource-calendar-date-selection, .resource-location li .DNQuantityChanger, .resource-tickets li .DNQuantityChanger {
    display: flex
}

.resource-calendar table {
    border-collapse: collapse;
    border: 1px solid #e0e0e0;
    width: 100%;
    margin-bottom: 0;
    table-layout: fixed
}

    .resource-calendar table tbody tr {
        height: 10px
    }

    .resource-calendar table thead tr {
        height: 40px
    }

    .resource-calendar table th {
        padding: 3px
    }

.resource-calendar tbody th, .resource-calendar thead td, .resource-calendar thead th {
    background: #fff !important
}

.resource-calendar table td, .resource-calendar table th {
    border: 1px solid #e0e0e0;
    position: relative;
    font-weight: 600;
    color: #555;
    letter-spacing: 1px;
    background: #fff
}

.resource-calendar table .time-col, input.center-radio[type=radio] + label > input, label.injected-label > input {
    width: 50px
}

.resource-calendar table td.reserved-cell div.cell-content, .resource-calendar table tr.is-past td.reserved-cell div.cell-content.ongoing {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0fc4a7;
    padding-left: 5px;
    color: #fff
}

.resource-calendar table tr.is-past td.reserved-cell div.cell-content {
    background-color: grey;
    color: #fff
}

.resource-calendar table td div.cell-content.selected div.selectedControls, .resource-calendar table tr.is-future td.reserved-cell div.cell-content, .resource-calendar table tr.is-future td.reserved-cell div.cell-content .selectedControls {
    background-color: #0288d1;
    color: #fff
}

    .resource-calendar table td div.cell-content.selected div.selectedControls button {
        background: #2f77e5;
        color: #fff
    }

.resource-calendar table td div.resizable-cell.ui-resizable-resizing {
    z-index: 100
}

.resource-calendar table td div.cell-content {
    z-index: 2;
    font-size: .8em
}

    .resource-calendar table td div.cell-content.selected {
        z-index: 2 !important;
        border: 2px solid #2f77e5
    }

button.angle-left, button.angle-right {
    border: 0;
    background: 0 0
}

button > i.fa-angle-left, button > i.fa-angle-right {
    -webkit-text-fill-color: #fff;
    background: #555;
    color: #fff;
    margin-right: 5px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center
}

.resource-calendar-event-search input.form-control {
    position: relative;
    padding: 0 27px 0 5px;
    width: calc(100% - 30px);
    border: 1px solid #e0e0e0
}

.resource-calendar-event-search .icon-search {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 0;
    right: 8px;
    top: 8px
}

.resource-toolbar > div {
    width: 100%;
    padding: 0 8px
}

.resource-list-toolbar > div {
    width: 100%;
    padding: 0 5px
}

.resource-calendar-view-options button {
    position: relative;
    width: 50px;
    padding: 8px 15px;
    background: #eee;
    border-radius: 4px;
    margin-left: 15px;
    cursor: pointer;
    border: 0
}

    .resource-calendar-view-options button.selected {
        background-color: #000
    }

        .resource-calendar-view-options button.selected span {
            color: #fff !important
        }

        .resource-calendar-view-options button.selected img {
            -webkit-filter: invert(100%);
            filter: invert(100%)
        }

.resource-calendar-view-options .resource-calendar-event-toggle img {
    width: 20px;
    height: 20px
}

.resource-week-view-toolbar input {
    width: 60px
}

.resource-week-view-toolbar div.input-label {
    margin: auto 10px
}

.resource-location li, .resource-tickets li {
    display: flex;
    padding: 10px
}

    .resource-location li:nth-child(odd), .resource-tickets li:nth-child(odd) {
        background-color: #f8f9fa !important
    }

    .resource-location li:hover, .resource-tickets li:hover {
        background-color: #f0f0f0 !important
    }

    .resource-location li .header-resource-item-name, .resource-location li .resource-item-name, .resource-tickets li .header-resource-item-name, .resource-tickets li .resource-item-name {
        width: calc(100% - 200px);
        justify-content: center;
        align-items: center
    }

    .resource-location li .DNQuantityChanger, .resource-location li .header-Quantity, .resource-location li .header-item-SalesPrice, .resource-location li .item-SalesPrice, .resource-tickets li .DNQuantityChanger, .resource-tickets li .header-Quantity, .resource-tickets li .header-item-SalesPrice, .resource-tickets li .item-SalesPrice {
        width: 200px;
        display: inline-flex;
        align-items: flex-start
    }

    .resource-location li .header-Quantity, .resource-tickets li .header-Quantity {
        justify-content: center
    }

#reserve-resource-modal ul.resource-tickets {
    margin-top: 21px;
    width: 100%
}

#reserve-resource-modal ul.resource-location {
    margin-top: 0;
    width: 100%
}

#date-selector, #date-selector:focus {
    border: 0;
    width: 130px
}

#date-selector-todate, #date-selector-todate:focus {
    border: 0;
    max-width: 130px
}

.resource-calendar .DNQuantityChanger button {
    margin: 2px
}

.resource-calendar .DNQuantityChanger input, .resource-tickets .DNQuantityChanger input {
    width: 50px;
    text-align: center;
    background-color: transparent
}

.resource-tickets .DNQuantityChanger button {
    margin: 5px
}

.weather-info {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap
}

    .weather-info .weather-info-content {
        padding-right: 20px
    }

#reserve-resource-modal button.close {
    z-index: 1000
}

.resource-calendar .ui-icon, .ui-widget-content .ui-icon {
    filter: invert(1)
}

.resource-calendar table td div.resizable-cell .description {
    white-space: break-spaces
}

.resource-calendar table td div.cell-content.selected div.selectedControls {
    display: flex;
    position: absolute;
    right: -2px;
    z-index: 10;
    top: -33px;
    transition: .3s
}

.DNDataGridSimple [data-columntype=Hidden], .resource-calendar table td div.cell-content div.selectedControls, body.webshop #resource-calendar-content, body.webshop #resource-grid-content, body.webshop .resource-calendar-block, table#header-time-fixed thead:last-child {
    display: none
}

.resource-calendar table td div.resizable-cell {
    cursor: grab
}

.selectedControls button {
    display: block;
    border: 0;
    background: 0 0;
    color: #fff;
    font-size: 18px;
    padding: 3px 5px;
    text-align: center;
    width: 34px
}

#header-fixed, #header-time-fixed {
    position: fixed;
    top: 178px;
    display: none;
    background-color: #fff;
    z-index: 100;
    table-layout: fixed
}

.resource-calendar table .skip-row-title {
    opacity: 0
}

.resource-calendar-weather {
    min-width: 280px
}

body.webshop .resource-calendar-event-search input.form-control {
    width: 100%;
    border-radius: 4px !important;
    border: 1px solid #bbb
}

body.webshop .resource-calendar-block {
    background: 0 0
}

body.webshop .resource-calendar-event-search .icon-search {
    right: 15px;
    top: 10px
}

body.webshop .resource-calendar-toolbar {
    top: 120px;
    z-index: 99;
    padding: 6px 8px 15px
}

body.webshop .calender-listview, body.webshop .calender-view {
    margin-bottom: 150px
}

body.webshop .resource-calendar-toolbar .resource-calendar-event-toggle {
    width: 100px;
    padding: 8px
}

body.webshop #header-fixed, body.webshop #header-time-fixed {
    top: 190px
}

.DNDataGridSimple {
    position: relative;
    display: block;
    overflow: auto;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #fff
}

    .DNDataGridSimple table {
        width: 100%;
        border: 0
    }

        .DNDataGridSimple table th, body.webshop .DNDataGridSimple table td {
            padding: 3px 5px;
            height: 50px
        }

        .DNDataGridSimple table thead tr {
            background: #555
        }

        .DNDataGridSimple table tbody tr:nth-child(2n) {
            background: #eee
        }

        .DNDataGridSimple table tbody tr:nth-child(odd) {
            background: #fff
        }

        .DNDataGridSimple table tbody tr:hover {
            background: rgba(2,136,209,.16)
        }

        .DNDataGridSimple table th {
            color: #fff !important;
            -webkit-text-fill-color: #fff;
            background-color: #555 !important
        }

body.with-side-menu .DNDataGridSimple table td, body.with-side-menu .DNDataGridSimple table th {
    padding: 10px 5px
}

.cell-data {
    height: 100%;
    overflow: hidden
}

.selectedControls .fa.fa-pencil {
    font-family: FontAwesome
}

.recurrence-container .DNCheckbox {
    margin-top: 5px
}

.recurring-date-selection, .recurring-monthly-section {
    padding: 8px 0
}

.recurring-starttime {
    padding-right: 30px;
    border-right: 1px solid #efefef
}

.recurrence-container .DNRadioButton input[data-validationtype=date] {
    width: 100px
}

#recurrence-checkbox + label {
    font-size: 16px;
    color: #000
}

.week-days-container {
    flex-wrap: wrap
}

.list-block-view .resource-calendar-date-selection, .resource-calendar-date-selection {
    max-width: 500px
}

    .resource-calendar-date-selection > div {
        display: flex !important;
        justify-content: flex-start;
        align-items: center;
        width: auto
    }

.input-label {
    font-size: 80%;
    margin-left: 10px
}

.appointment-grid button {
    text-align: center;
    min-width: 30px;
    margin: 0 10px 0 0;
    padding: 8px 10px
}

.resource-operators {
    margin-bottom: 15px
}

    .resource-operators ul {
        min-height: 50px;
        max-height: 200px;
        overflow-y: auto
    }

    .resource-operators li {
        padding: 10px 3px 10px 8px;
        display: flex;
        justify-content: space-between;
        border-top: 1px solid #eee
    }

        .resource-operators li:first-child {
            border-bottom: 1px solid #eee
        }

        .resource-operators li span {
            margin-top: auto;
            margin-bottom: auto
        }

@media(max-width:1279px) {
    .resource-calendar-toolbar .resource-calendar-weather {
        display: none
    }
}

@media(max-width:767px) {
    .weather-info .weather-info-content:nth-child(2n), .weather-info .weather-info-content:nth-child(3n) {
        display: none
    }

    .weather-info .weather-info-content {
        padding-right: 0
    }

    .resource-calendar-weather {
        width: 100px !important;
        min-width: unset
    }

    body.webshop .resource-calendar-toolbar {
        top: 60px
    }
}

.resource-top-bar {
    position: sticky;
    position: -webkit-sticky;
    z-index: 60;
    top: 110px;
    margin-left: -8px !important;
    display: flex;
    justify-content: space-between;
    background: #fff
}

    .resource-top-bar .resource-toolbar {
        flex-grow: 2
    }

    .resource-top-bar > div {
        padding: 15px 0
    }

.resource-tickets li {
    display: flex;
    gap: 50px;
}

.resource-tickets .item-header-title .header-resource-item-name,
.resource-tickets .item-resource-details .resource-item-name {
    width: calc(100% - 700px);
}

.resource-tickets .item-header-title .header-Quantity, .resource-tickets .item-header-title .header-item-SalesPrice,
.resource-tickets .item-header-title .header-item-DeliveryTime {
    width: 200PX;
}

.resource-tickets .item-resource-details .resource-item-DeliveryTime, .resource-tickets .item-resource-details .item-SalesPrice,
.resource-tickets .item-resource-details .DNQuantityChanger {
    width: 200PX;
}

.resource-tickets li .header-resource-item-name, .resource-tickets li .header-item-SalesPrice, .resource-tickets li .header-Quantity {
    font-weight: 600;
}

.resource-tickets .item-resource-details .less.btn.btn-primary, .resource-tickets .item-resource-details .more.btn.btn-primary {
    min-width: 50px !important;
}

.resource-tickets .item-resource-details .DNQuantityChanger input {
    width: 60px;
}
