/*!
* Bootstrap Material DateTimePicker : https://github.com/T00rk/bootstrap-material-datetimepicker
* Enhenced by djibe for Bootstrap 4 and its themes
* + full universal theming using CSS variables.
* Version of 2018/11/22
* Licensed under the MIT license - http://opensource.org/licenses/MIT
*/

:root {
    --primary-color: 19, 122, 249
}

.dtp {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .38);
    z-index: 2000;
    font-size: 15px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.dtp .btn {
    border-radius: 4px;
    min-width: 0
}

@-webkit-keyframes pickerFadeIn {
    from {
        opacity: 0;
        -webkit-transform: scale(.8)
    }
    to {
        opacity: 1;
        -webkit-transform: scale(1)
    }
}

@keyframes pickerFadeIn {
    from {
        opacity: 0;
        -webkit-transform: scale(.8);
        transform: scale(.8)
    }
    to {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}

.dtp>.dtp-content {
    background: #fff;
    border-radius: 4px;
    max-width: 300px;
    -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .14), 0 4px 5px 0 rgba(0, 0, 0, .12), 0 1px 10px 0 rgba(0, 0, 0, .2);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .14), 0 4px 5px 0 rgba(0, 0, 0, .12), 0 1px 10px 0 rgba(0, 0, 0, .2);
    position: relative;
    left: 50%;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    -webkit-animation: pickerFadeIn .2s cubic-bezier(.4, 0, .2, 1);
    animation: pickerFadeIn .2s cubic-bezier(.4, 0, .2, 1);
    margin-bottom: 1rem;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: center bottom 0;
    transform-origin: center bottom 0
}

.dtp .dtp-date-view .dtp-header {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: .3em
}

.dtp .dtp-date,
.dtp .dtp-time {
    background: var(--primary);
    text-align: center;
    color: #fff;
    padding: 10px
}

.dtp .dtp-date>div {
    padding: 0;
    margin: 0
}

.dtp .dtp-actual-month {
    font-size: 1.5em
}

.dtp .dtp-actual-num {
    font-size: 3em;
    line-height: .9
}

.dtp .dtp-actual-maxtime {
    font-size: 3em;
    line-height: .9
}

.dtp .dtp-actual-year {
    font-size: 1.5em;
    color: var(--primary-light);
    -webkit-transition: color .3s;
    transition: color .3s
}

.dtp .dtp-actual-year:hover {
    color: #fff;
    cursor: pointer
}

.dtp .dtp-actual-year.disabled {
    color: var(--primary-light);
    cursor: initial
}

.dtp .dtp-picker {
    padding: 1em;
    text-align: center
}

.dtp .dtp-actual-time,
.dtp .dtp-picker-month {
    font-weight: 500;
    text-align: center
}

.dtp .dtp-picker-month {
    padding-bottom: 1.25rem
}

.dtp table.dtp-picker-days {
    margin: 0;
    min-height: 251px
}

.dtp table.dtp-picker-days,
.dtp table.dtp-picker-days tr,
.dtp table.dtp-picker-days tr>td {
    border: none
}

.dtp table.dtp-picker-days tr>td {
    font-weight: 500;
    font-size: .8em;
    text-align: center;
    padding: .5em .3em;
    line-height: 1.428572
}

.dtp .dtp-picker-time>a,
.dtp table.dtp-picker-days tr>td>a {
    color: rgba(0, 0, 0, .87);
    text-decoration: none;
    padding: .7em .7em .7em .8em;
    border-radius: 50%
}

.dtp table.dtp-picker-days tr>td>a.selected {
    background: #f00;
    color: #fff
}

.dtp table.dtp-picker-days tr>th {
    color: #b1b1b1;
    text-align: center;
    font-weight: 700;
    padding: .4em .3em;
    text-transform: uppercase
}

.dtp .p10>a {
    color: var(--light);
    text-decoration: none
}

.dtp .p10 {
    width: 10%;
    display: inline-block
}

.dtp .p20 {
    width: 20%;
    display: inline-block
}

.dtp .p60 {
    width: 60%;
    display: inline-block
}

.dtp .p80 {
    width: 80%;
    display: inline-block
}

.dtp a.dtp-meridien-am,
.dtp a.dtp-meridien-pm {
    position: relative;
    top: 10px;
    color: rgba(0, 0, 0, .87);
    font-weight: 500;
    padding: .7em .6em;
    border-radius: 50%;
    text-decoration: none;
    background: #eee;
    font-size: 1em
}

.dtp .dtp-actual-meridien a.selected {
    background: var(--primary);
    color: #fff
}

.dtp .dtp-picker-time>.dtp-select-hour {
    cursor: pointer
}

.dtp .dtp-picker-time>.dtp-select-minute {
    cursor: pointer
}

.dtp .dtp-buttons {
    padding: 0 1em 1em 1em;
    text-align: right
}

.dtp .hidden,
.dtp.hidden {
    display: none
}

.dtp .invisible {
    visibility: hidden
}

.dtp .left {
    float: left
}

.dtp .right {
    float: right
}

.dtp .clearfix {
    clear: both
}

.dtp .center {
    text-align: center
}

.dtp-year-picker {
    display: none;
    overflow: auto;
    margin-bottom: 10px;
    max-height: 466px
}

.dtp-buttons {
    overflow: hidden
}

.year-picker-item {
    text-align: center;
    padding: .4rem 0;
    font-size: 1.3rem;
    -webkit-transition: all .3s;
    transition: all .3s
}

.year-picker-item:hover {
    cursor: pointer;
    color: var(--primary)
}

.year-picker-item.active {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 700
}

a.dtp-select-day {
    -webkit-transition: background-color .1s linear;
    transition: background-color .1s linear
}

a.dtp-select-day:hover {
    background-color: rgba(var(--primary-color), .6)
}

span.dtp-select-day {
    color: #bdbdbd;
    padding: .7em .7em .7em .8em
}

circle.dtp-select-hour :hover {
    fill: var(--primary-color)
}

.dtp .table tbody td,
.dtp .table tbody th {
    height: 2.5rem
}

.dtp .btn {
    border: 0!important;
    border-radius: 4px;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-size: .8125rem;
    font-weight: 500;
    line-height: 1;
    padding: .59375rem 1rem;
    min-width: 0;
    margin: 0;
    margin-left: .25rem;
    text-transform: uppercase
}

.table td,
.table th,
.table thead th {
    border: 0!important
}