/*

VDWWD Bootstrap DatePicker theme
For Bootstrap 4 & 5 and DatePicker version 1.9.0+

https://www.vanderwaal.eu


No need to add the original bootstrap-datepicker.css file to make the theme work

*/

.datepicker {
    font-family: Verdana, Arial;
    background-color: #566895;
    border: 2px solid #282c41;
    direction: ltr;
    padding: 6px;
    color: #fff;
    font-size: .8rem;
    min-width: 250px;
    border-radius: 0;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.4);
}

    .datepicker table {
        width: 100%
    }

    .datepicker tbody td,
    .datepicker thead .dow {
        border: 1px solid #bbb
    }

    .datepicker td,
    .datepicker th {
        width: 35px;
        height: 28px;
        text-align: center
    }

    .datepicker table tr th.dow {
        color: #666;
        background-color: #f1f1f1
    }

    .datepicker table tr td.day {
        color: #666;
        background-color: #dedede
    }

        .datepicker table tr td.day:hover,
        .datepicker table tr td.day.focused {
            background: #566895;
            cursor: pointer
        }

    .datepicker table tr td.old,
    .datepicker table tr td.old:hover,
    .datepicker table tr td.new,
    .datepicker table tr td.new:hover {
        color: #ccc;
        background: #ececec;
        cursor: default
    }

    .datepicker table tr td.day:not(.old):not(.new):hover,
    .datepicker table tr td.today:hover,
    .datepicker table tr td.today:hover:hover,
    .datepicker table tr td.today.disabled:hover,
    .datepicker table tr td.today.disabled:hover:hover,
    .datepicker table tr td.today:active,
    .datepicker table tr td.today:hover:active,
    .datepicker table tr td.today.disabled:active,
    .datepicker table tr td.today.disabled:hover:active,
    .datepicker table tr td.today.active,
    .datepicker table tr td.today:hover.active,
    .datepicker table tr td.today.disabled.active,
    .datepicker table tr td.today.disabled:hover.active,
    .datepicker table tr td.today.disabled,
    .datepicker table tr td.today:hover.disabled,
    .datepicker table tr td.today.disabled.disabled,
    .datepicker table tr td.today.disabled:hover.disabled,
    .datepicker table tr td.today[disabled],
    .datepicker table tr td.today:hover[disabled],
    .datepicker table tr td.today.disabled[disabled],
    .datepicker table tr td.today.disabled:hover[disabled] {
        background-color: #566895;
        color: #fff
    }

        .datepicker table tr td.active,
        .datepicker table tr td.active:hover,
        .datepicker table tr td.active.disabled,
        .datepicker table tr td.active.disabled:hover,
        .datepicker table tr td.today,
        .datepicker table tr td.today:hover,
        .datepicker table tr td.today.disabled,
        .datepicker table tr td.today.disabled:hover {
            background-color: #dedede;
            border-color: #bbb
        }

            .datepicker table tr td.active,
            .datepicker table tr td.active:hover,
            .datepicker table tr td.active.disabled,
            .datepicker table tr td.active.disabled:hover,
            .datepicker table tr td.today:hover,
            .datepicker table tr td.today.disabled:hover {
                background-color: #8493bc !important;
                color: #fff
            }

            .datepicker table tr td.today,
            .datepicker table tr td.today.disabled {
                color: #bf1616;
                background-color: #dedede
            }

    .datepicker .datepicker-switch:hover,
    .datepicker .prev:hover,
    .datepicker .next:hover,
    .datepicker tfoot tr th:hover {
        background: #8493bc;
        cursor: pointer
    }

    .datepicker .next:hover,
    .datepicker tfoot tr th:hover {
        border-right: 1px solid #8493bc
    }

    /* needed to generate space between the second and third thead row in day view */
    .datepicker .extraHeaderSpacer {
        padding: 0px !important;
        height: 6px !important;
        min-height: 1px !important;
    }

    /* needed to generate space between the today button and all the days in day view */
    .datepicker tfoot::before {
        content: '';
        display: block;
        height: 6px;
    }

    /* months, years, decades and centuries */
    .datepicker span {
        color: #666;
        background-color: #dedede;
        border-top: 1px solid #bbb;
        border-right: 1px solid #bbb;
        width: 25%;
        height: 50px;
        line-height: 50px;
        display: block;
        float: left
    }

        .datepicker span:hover {
            background-color: #566895 !important;
            color: #fff !important
        }

        .datepicker span.active {
            background-color: #8493bc;
            color: #fff;
            border-top: 1px solid #bbb;
            border-right: 1px solid #bbb
        }

        .datepicker span.focused:not(.active) {
            color: #666;
            background-color: #dedede
        }

    .datepicker .datepicker-decades tbody td,
    .datepicker .datepicker-centuries tbody td,
    .datepicker .datepicker-years tbody td,
    .datepicker .datepicker-months tbody td {
        padding: 0;
        border-bottom: 1px solid #bbb;
        border-left: 1px solid #bbb;
        border-top: 0;
        border-right: 0
    }
.draggable-div {
    position: fixed;
    top: 10%;
    right: 10%;
    width: 375px;
    box-shadow: 5px 5px 3px 0px rgba(97,97,97,0.5);
    background-color: #eeeeee;
    margin: 0px;
    z-index: 500;
    cursor: move;
}

.draggable-div-header {
    cursor: default;
}

/* for demo only */
#DraggableTouchDiv1 h2 {
    font-size: 1.5rem;
}

#DraggableTouchDiv2 {
    top: 17%;
    right: 15%;
}

#marklin_dipswitch_settings .dipswitch-container {
    display: inline-block;
    min-width: 445px
}

#marklin_dipswitch_settings .dipswitch {
    background-color: #000;
    padding: 10px !important;
    border: 3px solid silver;
    box-shadow: 3px 3px 3px rgba(0,0,0,.7);
    clear: both;
    line-height: 100%;
    display: inline-block;
    border-radius: 3px
}

#marklin_dipswitch_settings .dipswitch-switches div {
    margin: 5px;
    height: 66px;
    float: left;
    background-color: silver;
    border-bottom: 2px solid #e4e4e4;
    border-right: 2px solid #e4e4e4;
    border-top: 3px solid #404040;
    border-left: 3px solid #404040;
    padding: 2px
}

    #marklin_dipswitch_settings .dipswitch-switches div a {
        height: 22px !important;
        width: 22px !important;
        border: 1px solid #000;
        box-shadow: 2px 2px 2px #666 !important;
        cursor: pointer;
        display: block;
        text-decoration: none
    }

    #marklin_dipswitch_settings .dipswitch-switches div.off a {
        background-color: #bf1616;
        margin-top: 36px
    }

    #marklin_dipswitch_settings .dipswitch-switches div.on a {
        background-color: #308c07
    }

#marklin_dipswitch_settings .dipswitch-numbers div {
    margin: 8px 0 2px 0;
    width: 41px;
    float: left;
    color: #fff;
    font-weight: bold;
    text-align: center;
    font-family: Arial;
    font-size: 20px
}

#marklin_dipswitch_settings .address-not-available {
    opacity: .5
}

@media(max-width:575.98px) {
    #marklin_dipswitch_settings .dipswitch-container {
        min-width: 330px
    }

    #marklin_dipswitch_settings .dipswitch {
        padding: 3px !important;
        border: 2px solid silver;
        box-shadow: 3px 3px 3px #666
    }

    #marklin_dipswitch_settings .dipswitch-switches div {
        border-bottom: 1px solid #e4e4e4;
        border-right: 1px solid #e4e4e4;
        border-left: 2px solid #404040;
        border-top: 2px solid #404040;
        padding: 1px;
        height: 41px
    }

        #marklin_dipswitch_settings .dipswitch-switches div a {
            height: 16px !important;
            width: 16px !important;
            box-shadow: 1px 1px 1px #666 !important
        }

        #marklin_dipswitch_settings .dipswitch-switches div.off a {
            margin-top: 20px
        }

    #marklin_dipswitch_settings .dipswitch-numbers div {
        width: 31px;
        font-size: 16px;
        margin: 4px 0 2px 0
    }
}

