﻿/* Another popup gets inserted on the body to fix ipad */
/* Hide the editor child element */
/*.editor-container .quickdate-popup.open {
    display: none;
}*/

/*.quickdate-popup.open {
    right: 290px;
    bottom: 30px;
}*/

.quickdate-timescroller > div {
    -webkit-overflow-scrolling: touch;
}

/* -- End custom css -- */


.quickdate {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 44px;
    vertical-align: bottom;
    color: #333333;
}

.quickdate-button div,
.quickdate-action-link div {
    display: inline;
}

.quickdate-popup {
    z-index: 100000;
    background-color: #fff;
    border: solid 1px #000;
    text-align: center;
    width: 500px;
    height: 370px;
    display: none;
    position: fixed;
    font-size: 14px;
}

    /*.quickdate-popup.open {
        display: block;
    }*/

.quickdate-popup-header {
    width: 100%;
    display: table;
    background-color: #222;
    cursor: move;
}

.quickdate-close {
    display: table-cell;
    float: right;
    padding: 2px 10px;
    color: #fff !important;
    font-size: 110%;
    text-decoration: none;
}

    .quickdate-close:hover {
        text-decoration: underline;
    }

    .quickdate-close:hover,
    .quickdate-close:visited {
        color: #333;
    }

.quickdate-calendar-container {
    width: 100%;
    padding: 0 5px;
}

.quickdate-calendar-header {
    display: block;
    width: 380px;
    margin-bottom: 5px;
    text-align: center;
}

.quickdate-calendar-body {
    width: 380px;
    float: left;
    display: inline-block;
}

.quickdate-month {
    display: inline-block;
}

a.quickdate-prev-month {
    float: left;
}

a.quickdate-next-month {
    float: right;
}

.quickdate-text-inputs {
    text-align: left;
    padding: 5px;
}

.quickdate-input-wrapper {
    width: 48%;
    display: inline-block;
}

input.quickdate-date-input,
input.quickdate-time-input {
    width: 100px;
    margin: 0;
    height: auto;
    padding: 2px 3px;
}

table.quickdate-calendar {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    margin-top: 5px;
    border: solid 1px #ccc;
    background-color: #ffffff;
}

    table.quickdate-calendar th,
    table.quickdate-calendar td {
        padding: 5px;
        text-align: center;
        border-right: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
    }

        table.quickdate-calendar td:hover {
            cursor: pointer;
            background-color: #e6e6e6;
        }

.quickdate-timescroller {
    cursor: pointer;
    width: 100px;
    float: right;
    border: solid 1px #cccccc;
    margin-top: 5px;
}

.quickdate-timerow {
    padding-top: 2px;
    font-size: 15px;
    height: 25px;
    border-bottom: solid 1px #cccccc;
}

    .quickdate-timerow.selected {
        background-color: #b0ccde;
        font-weight: bold;
    }

    .quickdate-timerow:hover {
        background-color: #e6e6e6;
    }

.quicktime {
    display: inline-block;
}

    .quicktime .arrow-up {
        position: relative;
        top: -12px;
        left: 30px;
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-bottom: 5px solid black;
    }

    .quicktime .arrow-down {
        position: relative;
        top: 12px;
        left: 30px;
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid black;
    }

.quickdate-popup-footer {
    display: block;
    margin-bottom: 5px;
    height: 30px;
    position: absolute;
    bottom: 5px;
}

.quickdate input.ng-invalid {
    border: 1px solid #dd3b30;
}

    .quickdate input.ng-invalid:focus {
        outline-color: #dd3b30;
    }

/*.quickdate {
  display: inline-block;
  vertical-align: bottom;
  font-size: 16px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}*/
.quickdate input,
.quickdate select {
    border: 1px solid #d7dde2;
    border-top: 1px solid #242526;
    background: #fff;
    padding: 6px;
    font-size: 18px;
    color: #555555;
    margin-bottom: 6px;
}

.quickdate-button {
    font-size: 14px;
    width: 155px;
    background: #ffffff;
    color: #333333;
    border: 1px solid #d7dde2;
    border-top: 1px solid #242526;
    box-shadow: outset 0 1px 1px rgba(0, 0, 0, 0.075);
    padding: 6px;
    display: inline-block;
    text-decoration: none;
}

    .quickdate-button:hover {
        text-decoration: underline;
    }

        .quickdate-button:hover i {
            text-decoration: none;
        }

    .quickdate-button i {
        padding-right: 4px;
    }


    .quickdate-button[readonly],
    .quickdate-now-outer[readonly] {
        background: #eef1f4;
        color: #c4c9cc;
        border: none;
        border-top: 1px solid #c8ccce;
        cursor: default !important;
        text-decoration: none !important;
    }

/*.quickdate-popup {
  color: #333333;
  font-size: 16px;
  background-color: #fafafa;
  border: solid 1px #dddddd;
  border-radius: 3px;
  -webkit-box-shadow: 0px 10px 30px rgba(25, 25, 25, 0.92);
  -moz-box-shadow: 0px 10px 30px rgba(25, 25, 25, 0.92);
  box-shadow: 0px 10px 30px rgba(25, 25, 25, 0.92);
}*/
.quickdate-action-link:visited,
.quickdate-action-link:hover {
    color: #333333;
}

.quickdate-next-month i {
    padding-left: 10px;
}

.quickdate-prev-month i {
    padding-right: 10px;
}
/*table.quickdate-calendar {
  border: solid 1px #ccc;
  background-color: #ffffff;
}*/
/*table.quickdate-calendar th,
table.quickdate-calendar td {
  text-align: center;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}*/
/*table.quickdate-calendar td:hover {
  background-color: #e6e6e6;
}*/
table.quickdate-calendar td.other-month {
    background-color: #dbdbdb;
    color: #808080;
}

    table.quickdate-calendar td.other-month:hover {
        background-color: #c7c7c7;
    }

table.quickdate-calendar td.disabled-date {
    background-color: inherit;
    color: #ffffff;
}

    table.quickdate-calendar td.disabled-date:hover {
        background-color: inherit;
        cursor: default;
    }

table.quickdate-calendar td.selected {
    background-color: #b0ccde;
    font-weight: bold;
}

table.quickdate-calendar td.is-today {
    color: #b58922;
    font-weight: bold;
}

    table.quickdate-calendar td.is-today.disabled-date {
        color: #929292;
        font-weight: normal;
    }
/*.quickdate-popup-footer {
  margin: 3px 1px 0;
}*/
.quickdate-popup .quickdate-clear {
    width: 100px;
    display: inline-block;
    padding: 2px 5px;
    background-color: #ffffff;
    color: #333333;
    border: solid 1px #cccccc;
    border-radius: 4px;
    text-decoration: none;
}

.quickdate-clear:hover {
    background-color: #f2f2f2;
}

.quickdate-popup .quickdate-now {
    width: 100px;
    padding: 2px 5px;
}

.quickdate-now {
    font-size: 14px;
    width: 50px;
    display: inline-block;
    padding: 6px;
    background-color: #ffffff;
    color: #333333;
    border: solid 1px #cccccc;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    margin-left: 5px;
}

    .quickdate-now:hover {
        background-color: #f2f2f2;
    }

.quickdate-now-outer {
    font-size: 14px;
    width: 50px;
    display: inline-block;
    padding: 6px;
    background-color: #ffffff;
    color: #333333;
    border: solid 1px #cccccc;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    margin-left: 5px;
}

    .quickdate-now-outer:hover {
        cursor: pointer;
    }
