.userevents-calendar-wrapper {
    display: inline-block;
    text-align: center;
    width: 100%;
}
.userevents-calendar-wrapper * {
    box-sizing: border-box;
}
.userevents-calendar-wrapper label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
}
.userevents-calendar-wrapper fieldset,
.userevents-calendar-wrapper .legend
{
    border: none;
}

.userevents-months-wrapper {
    display: inline-block;
    text-align: center;
    width: 100%;
    border-radius: .5rem;
}

.userevents-month-wrapper {
    display: inline-block;
    width: 225px;
    margin-right: auto;
    margin-left: auto;
    vertical-align: top;
    text-align: initial;
}

ul.userevents-week-days,
ul.userevents-times-hour {
    padding: 0;
    margin: 0;
}

.userevents-week-days li,
.userevents-month-days li,
.userevents-times-hour li {
    display: inline-block;
    list-style-type: none;
}

.userevents-month {
    text-align: center;
    padding: 5px 0px;
    text-transform: uppercase;
    width: 100%;
}

.userevents-week-days {
    margin: 0;
    padding: 10px 0;
}

.userevents-week-days label > span {
    display: block;
    position: relative;
    width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    font-weight: 600;
}

.userevents-month-days {
    padding: 0;
    margin: 0;
}

.userevents-month-days label > span {
    display: block;
    position: relative;
    width: 26px;
    height: 26px;
    cursor: pointer;
    border-radius: 3px;
    background-color: #eee;
    line-height: 26px;
    text-align: center;
    font-size: 0.875rem;
}

.userevents-month-days li .disabled {
    color: #A7A7A7;
    cursor: default;
}

.userevents-month-days li .empty {
    color: #fff;
    background-color: #fff;
    cursor: default;
    visibility: hidden;
}

.userevents-month-days li .enabled {
    background-color: #06a406a3;
    font-weight: 600;
}

.userevents-month-days li .today {
    background-color: #f7d95c;
    color:#0b6f0b;
}

.userevents-month-days .userevents-day-main {
    position: relative;
    z-index: 100;
}

.userevents-month-days input:checked + span {
    background: #095cc6;
    color: #fff;
    transition: 0.2s;
}

.userevents-month-days input:not(:disabled) + span:hover {
    color: #fff;
    background-color: #099309c7;
    transition: 0.2s;
}
.userevents-month-days input:checked + span:focus {
    background-color: #095cc6;
}
.userevents-month-days input:checked + span:hover {
    color: #000;
    transition: 0.2s;
}

/* data-reserve */
.userevents-month-days .reserved {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    border-radius: 3px 0px 0px 3px;
    background: rgb(255, 116, 116);
}

.userevents-month-days .reserved[data-reserved="1"] {
    width: 15%;
    border-radius: 50px 0px 0px 50px;
}

.userevents-month-days .reserved[data-reserved="2"] {
    width: 15%;
    border-radius: 50px 0px 0px 50px;
}

.userevents-month-days .reserved[data-reserved="3"] {
    width: 15%;
    border-radius: 50px 0px 0px 50px;
}

.userevents-month-days .reserved[data-reserved="4"] {
    width: 18%;
}

.userevents-month-days .reserved[data-reserved="5"] {
    width: 22%;
}

.userevents-month-days .reserved[data-reserved="6"] {
    width: 26%;
}

.userevents-month-days .reserved[data-reserved="7"] {
    width: 30%;
}

.userevents-month-days .reserved[data-reserved="8"] {
    width: 34%;
}

.userevents-month-days .reserved[data-reserved="9"] {
    width: 38%;
}

.userevents-month-days .reserved[data-reserved="10"] {
    width: 42%;
}

.userevents-month-days .reserved[data-reserved="11"] {
    width: 46%;
}

.userevents-month-days .reserved[data-reserved="12"] {
    width: 50%;
}

.userevents-month-days .reserved[data-reserved="13"] {
    width: 54%;
}

.userevents-month-days .reserved[data-reserved="14"] {
    width: 58%;
}

.userevents-month-days .reserved[data-reserved="15"] {
    width: 62%;
}

.userevents-month-days .reserved[data-reserved="16"] {
    width: 68%;
}

.userevents-month-days .reserved[data-reserved="17"] {
    width: 72%;
}

.userevents-month-days .reserved[data-reserved="18"] {
    width: 76%;
}

.userevents-month-days .reserved[data-reserved="19"] {
    width: 80%;
}

.userevents-month-days .reserved[data-reserved="20"] {
    width: 84%;
    border-radius: 5px 2px 2px 5px;
}

.userevents-month-days .reserved[data-reserved="21"] {
    width: 88%;
    border-radius: 5px 2px 2px 5px;
}

.userevents-month-days .reserved[data-reserved="22"] {
    width: 88%;
    border-radius: 5px 2px 2px 5px;
}

.userevents-month-days .reserved[data-reserved="23"] {
    width: 88%;
    border-radius: 5px 2px 2px 5px;
}

.userevents-month-days .reserved[data-reserved="24"] {
    width: 100%;
    border-radius: 5px;
}

/* times */
.userevents-times-wrapper {
    display: inline-block;
    text-align: center;
    width: 100%;
    border-radius: .5rem;
}

.userevents-times-hour-wrapper {
    display: inline-block;
    width: 80%;
    margin-right: auto;
    margin-left: auto;
    vertical-align: top;
}

.userevents-times-hour li .disabled {
    color: #A7A7A7;
    background-color: #eee;
    cursor: default;
}
.userevents-times-hour li .breaktime {
    background-color: #E98282;
    color: #fff;
}
.userevents-times-hour li .reserved {
    background-color: #E98282;
    color: #272727;
    cursor: default;
}

.userevents-times-hour label > span {
    display: block;
    position: relative;
    width: 100%;
    height: 26px;
    cursor: pointer;
    border-radius: 5px;
    background-color: #D1D1D1;
    line-height: 26px;
    text-align: center;
    margin: 5px;
}

.userevents-times-hour input:checked + span {
    background: #337ab7;
    color: white;
    transition: 0.2s;
}

.userevents-times-hour input:not(:disabled) + span:hover {
    color: white;
    transition: 0.2s;
}

.userevents-times-hour input:checked + span:hover {
    color: black;
    transition: 0.2s;
}

/* fields */
.userevents-order-fields-wrapper {
    display: inline-block;
    text-align: center;
}

.userevents-order-field-wrapper {
    display: inline-block;
    width: 45%;
    min-width: 250px;
    margin-right: auto;
    margin-left: auto;
    vertical-align: top;
    text-align: initial;
}

.userevents-order-fields-wrapper label {
    display: none;
}

/* Order */
.userevents-order .required-star {
    display: none;
}

.userevents-order .required .required-star {
    display: inline;
}

.userevents-order .error {
    border: 2px solid #c33 !important;
}

.userevents-order .required-star {
    color: #c33;
}

/* jGrowl */
div.jGrowl > .ui-state-highlight {
    background: inherit;
    color: inherit;
    border: inherit;
}

.userevents-message-success {
    background-color: green !important;
}

.userevents-message-error {
    background-color: brown !important;
}

.userevents-message-info {
    background-color: black !important;
}

/* blocks */
.userevents-blocks-wrapper {
    display: block;
    margin: 20px;
}

/* spinner */
.userevents-spinner {
    display: none;
    width: 32px;
    height: 32px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -16px;
    margin-top: -16px;
    background: url(../../img/spinner.gif);
    z-index: 9999;
}

.userevents-resource-wrapper {
    display: inline-block;
    text-align: center;
}
.userevents-resource-wrapper label {
    padding-left: 20px;
    cursor: pointer;
}


@media screen and (max-width: 375px) {
    .userevents-month-wrapper {
        margin-bottom: 15px;
    }

    .userevents-order-field-wrapper {
        width: 100%;
        padding-left: 0px;
    }
}
