

/**
 * Inline fixed styling for pickadate.js
 * Demo: http://amsul.github.com/pickadate.js/themes.htm#inline_fixed
 */

/**
 * Colors used:
 *
 * #0089ec -> Base blue
 * #b1dcfb -> Hover blue bg
 *
 * #0059bc -> Dark blue for "today" tag
 * #aaa    -> Light grey for "today" tag if disabled
 *
 * #f5f5f5 -> Dimmed grey bg for disabled days
 * #ddd    -> Less dimmed grey for text in disabled & outfocus days
 *
 * #777    -> Grey for calendar border
 * #888    -> Slightly lighter grey for calendar top border
 *
 * #999    -> Medium grey used for year & weekday labels
 *
 * #e20    -> Red used for "clear" icon
 *
 * #000    -> Black
 * #fff    -> White
 *
 */


/**
 * When the calendar is open
 */

/* And add the "active" state to the input */
/*input*/.pickadate__input--active {
    border-color: #0089ec !important;
}



/**
 * The picker holder
 */
.pickadate__holder {

    /* The base font-size */
    font-size: 18px;
    line-height: 1.2;
    color: #000;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
}


/**
 * The frame that bounds the calendar
 */
.pickadate__frame {
    position: relative;
    min-width: 256px;
    top: .5em;

    -webkit-transition: all .15s ease-out;
       -moz-transition: all .15s ease-out;
            transition: all .15s ease-out;
}


/**
 * The calendar itself
 */

.pickadate__calendar {
    color: #000;
    background: #fff;

    padding: 1em;
    font-size: 1em;

    /* Add the borders */
    border: 1px solid #ccc;
}



/**
 * The calendar table of dates
 */
.pickadate__table {
    text-align: center;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    font-size: inherit;
    width: 100%;
    margin-top: .5em;
}

.pickadate__table thead tr {
    background-color: #545454;
}

/* Remove browser stylings on a table cell */
.pickadate__table td {
    margin: 0;
    padding: 0;
}



/**
 * The header containing the month and year tags/selectors
 */
.pickadate__header {
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /* align-content: center; */
}

.pickadate__nav--prev:before,
.pickadate__nav--next:before {
    font-size: 16px;
    content: " ";
    border-top: .5em solid transparent;
    border-bottom: .5em solid transparent;
    border-right: 0.75em solid #545454;
    width: 0;
    height: 0;
    display: block;
    margin: 0 auto;
}

.pickadate__nav--next:before {
    border-right: 0;
    border-left: 0.75em solid #545454;
}

.pickadate__nav--prev,
.pickadate__nav--next {
    position: absolute;
    font-size: 0;
    /* text-align: center;
    width: 24px;
    height: 24px;
    line-height: 26px; */
}
.pickadate__nav--prev {
    left: 0;
}
.pickadate__nav--next {
    right: 0;
}


.pickadate__month,
.pickadate__year {
    font-weight: 500;
    display: inline-block;
}
.pickadate__year {
    color: #999;
    font-size: .8em;
    font-style: italic;
    margin-left: .5em;
}



.pickadate__select--month,
.pickadate__select--year {
    font-size: .8em;
    border: 1px solid #ccc;
    height: 2.5em;
    margin-top: -.5em;
}
.pickadate__select--month {
    /* width: 33%; */
    order: 2;
    margin-left: .5em;
}
/* .pickadate__select--year {
    width: 22.5%;
} */
.pickadate__select--month:focus,
.pickadate__select--year:focus {
    border-color: #e4e0e0;
}




/**
 * The weekday labels
 */
.pickadate__weekday {
    width: 14.285714286%; /* 100/7 */
    font-size: .9em;
    padding-top: .5em;
    padding-bottom: .5em;
    color: #fff;
    font-weight: 500;
    background-color: #545454;
}


/**
 * The days on the calendar
 */
.pickadate__day {
    padding: .33em 0 .25em;
    font-weight: 100;
    border: 1px solid #fff;
    /* margin-bottom: 1px; */
    background-color: #f2f1f1;
}

/**
 * The various states of a day
 */
.pickadate__day--today {
    /* color: #f7fc77; */
    position: relative;
}
.pickadate__day--today:before {
    content: " ";
    position: absolute;
    top: 2px;
    right: 2px;
    width: 0;
    height: 0;
    border-top: .5em solid #de0505;
    border-left: .5em solid transparent;
}
.pickadate__day--selected,
.pickadate__day--selected:hover {
    /* border-color: #fd841f; */
}
.pickadate__day--highlighted {
    color: #fff;
    background: #fd841f;
}
.pickadate__day--disabled:before {
    border-top-color: #aaa;
}
.pickadate__day--outfocus {
    color: #ddd;

    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    -moz-opacity: .50;
    opacity: .50;
}



/**
 * The footer containing the "today" and "clear" buttons
 */
.pickadate__footer {
    text-align: center;
    margin: .2em 0 0;
    /* border-top: 1px solid #e4e0e0; */
}

.pickadate__button--today,
.pickadate__button--clear {
    border: 0px solid #fff;
    background: #fff;
    font-size: .9em;
    padding: .66em 0;
    margin: 0 2.5%;
    font-weight: bold;
    width: 40%;
    /* border-top: 1px solid #e4e0e0; */
}
.pickadate__button--today:before,
.pickadate__button--clear:before {
    position: relative;
    display: inline-block;
    height: 0;
}
.pickadate__button--today:before {
    content: " ";
    margin-right: .45em;
    top: -.05em;
    width: 0;
    border-top: .66em solid #de0505;
    border-left: .66em solid transparent;
}
.pickadate__button--clear:before {
    content: "\D7";
    margin-right: .35em;
    top: -.1em;
    color: #e20;
    vertical-align: top;
    font-size: 1.1em;
}
.pickadate__button--today:focus,
.pickadate__button--clear:focus {
    background: #b1dcfb;
    border-color: #0089ec;
    outline: none;
}




/**
 * The hover effect on any buttons
 */
.pickadate__day--infocus:hover,
.pickadate__day--outfocus:hover,
.pickadate__nav--prev:hover,
.pickadate__nav--next:hover {
    cursor: pointer;
    color: #333;
    /* background: #fce5d1; */
}
.pickadate__button--today:hover,
.pickadate__button--clear:hover {
    cursor: pointer;
    color: #333;
    background: #fff;
}

.pickadate__day--disabled,
.pickadate__day--disabled:hover {
    background: #f5f5f5;
    border-color: #f5f5f5;
    color: #ddd;
    cursor: default;
}
.pickadate__day--highlighted:hover,
.pickadate__holder--focused .pickadate__day--highlighted {
    background: #fce5d1;
    color: #333;
}
