/*-----------------------------------
app/webroot/css/form/myasp-ui-form.css
-----------------------------------*/

/*-----------------------------------
-----------------------------------*/
#content1 div.event_calendar div:not(.event_day) {
    padding: unset !important;
}
#content1 div.event_calendar label {
    float: unset !important;
}

input[name="data[User][event_datetime]"][type="text"] {
    display: none !important;
}
div.event_calendar {
    max-width: 482px;
    margin: 0px auto;
    padding: 10px;
    border: 1px solid #bfbfbf;
    border-radius: 10px;
    background-color: #fff;
    user-select: none;
    -moz-user-select: none;
}
div.event_calendar > div {
    position: relative;
}


div.event_calendar_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #bfbfbf;
    border-bottom: none;
}
div.event_prev_month,
div.event_next_month {
    cursor: pointer;
}
div.event_prev_month.disabled,
div.event_next_month.disabled {
    display: block !important; 
    visibility: hidden;
}
div.event_prev_month::after,
div.event_next_month::after {
    content: ' ';
    display: block;
    width: 10px;
    height: 10px;
    margin: 10px 0px;
    border: 3px solid;
    transform: rotate(45deg);
}
div.event_prev_month::after {
    margin-left: 10px;
    border-color: transparent transparent #666 #666;
}
div.event_prev_month:hover::after {
    filter: drop-shadow(1px -1px 2px #aaa);
}
div.event_next_month::after {
    margin-right: 10px;
    border-color: #666 #666 transparent transparent;
}
div.event_next_month:hover::after {
    filter: drop-shadow(-1px 1px 2px #aaa);
}
div.event_year_month {
    display: flex;
}
div.event_year_month > span {
    position: relative;
    display: inline-block;
    padding: 10px 15px;
}
div.event_year_month > span:last-of-type {
    padding-right: 0px;
}
div.event_year_month > span:not(.event_year_month_label) {
    padding-right: 28px;
    padding-left: 16px;
    text-align: center;
    font-weight: bold;
    border-right: 1px solid #bfbfbf;
    border-left: 1px solid #bfbfbf;
    cursor: pointer;
}
div.event_year_month > span:not(.event_year_month_label)::after {
    content: '笆ｼ';
    position: absolute;
    right: 5px;
    color: #aaa;
}
div.event_menu {
    display: none;
    position: absolute;
    box-shadow: 0px 0px 3px #aaa;
    background-color: #fff;
    overflow: hidden auto;
    z-index: 1;
}
div.event_menu > span {
    display: block;
    padding: 10px 15px;
    text-align: center;
    cursor: pointer;
}
div.event_menu > span.active {
    color: #fff;
    font-weight: bold;
    background-color: #666;
}


div.event_days {
    border: 1px solid #bfbfbf;
}
div.event_week {
    display: flex;
}
div.event_week[data-date="w"] {
    border-bottom: 1px solid #bfbfbf;
}
div.event_day {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% / 7);
    margin: 1px;
    padding: 10px 0px !important; 
    color: #333;
    border: 1px solid transparent;
}
div.event_week:not([data-date="w"]) > div.event_day {
    opacity: 0.5;
}
div.event_day[data-date="w_0"],
div.event_day[data-date$="_0"] { 
    color: #E3616E;
}
div.event_day[data-date="w_6"],
div.event_day[data-date$="_6"] { 
    color: #1096cb;
}
div.event_week:not([data-date="w"]) > div.event_day:not(.disabled) {
    opacity: 1;
    font-weight: bold;
    border-color: #bfbfbf;
    cursor: pointer;
}
div.event_week:not([data-date="w"]) > div.event_day:not(.disabled):hover {
    box-shadow: 0px 0px 2px #aaa;
}
div.event_week:not([data-date="w"]) > div.event_day.isToday {
    background-color: #f2f9ff;
}
div.event_week:not([data-date="w"]) > div.event_day.active {
    color: #fff !important;
    border-color: transparent;
    background-color: #666 !important;
}


div.event_times > * {
    display: inline-block !important;
    margin-top: 10px !important;
}
div.event_times > select {
    width: auto !important; 
}
div.event_times > label {
    padding: 5px 0px;
    cursor: pointer;
}
div.event_times > span {
    padding: 10px 18px;
    border: 1px solid #666;
    border-radius: 5px;
    cursor: pointer;
}
div.event_times > span:hover {
    opacity: 0.8;
}
div.event_times > label:not(:last-child),
div.event_times > span:not(:last-child) {
    margin-right: 18px;
}
div.event_times > span.active {
    color: #fff;
    border-color: transparent;
    background-color: #666;
    opacity: 1; 
}



@media only screen and (max-width : 350px)
{

    div.event_calendar_header {
        justify-content: center;
    }
    div.event_calendar_header > div.event_prev_month,
    div.event_calendar_header > div.event_next_month {
        display: none !important;
    }
}