input#work_calendar_name {
    max-width: 485px
}

.calendar .panel-default {
    background-color: #f8f8f8
}

.calendar-day-normal {
    border: 1px solid rgba(128, 128, 128, 0.16)
}

.calendar-day-half {
    background-color: #1b92b6 !important;
    color: white;
    border-radius: 100% !important
}

.calendar-day-party {
    background-color: #f27062 !important;
    color: white;
    border-radius: 15px
}

.calendar-day-half.disabled,
.calendar-day-party.disabled {
    opacity: .2
}

.calendar-day-half:hover {
    background-color: #0c7c9d !important;
}

.calendar-day-party:hover {
    background-color: #d25b4e !important
}

.calendar .calendar-header table th.disabled,
.calendar .calendar-header table th.disabled:hover {
    color: #eee
}

.hour-time-range p {
    font-family: "Arial", sans-serif;
    font-size: 14px;
    color: #333;
}

.hour-slider-range {
    width: 90%;
    margin: 0 auto;
}

.hour-time-range {
    margin-bottom: 30px
}

.hour-time-range .control-label {
    margin: 20px 0 40px
}

.ui-slider-horizontal {
    height: 8px;
    background: #D7D7D7;
    border: 1px solid #BABABA;
    box-shadow: 0 1px 0 #FFF, 0 1px 0 #CFCFCF inset;
    clear: both;
    margin: 8px 0;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    border-radius: 6px;
}

.ui-slider {
    position: relative;
    text-align: left;
}

.ui-slider-horizontal .ui-slider-range {
    top: -1px;
    height: 100%;
}

.ui-slider .ui-slider-range {
    position: absolute;
    z-index: 1;
    height: 8px;
    font-size: .7em;
    display: block;
    border: 1px solid #5BA8E1;
    box-shadow: 0 1px 0 #AAD6F6 inset;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -khtml-border-radius: 6px;
    border-radius: 6px;
    background: #81B8F3;
    background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgi…pZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
    background-size: 100%;
    background-image: -webkit-gradient(linear, 50% 0, 50% 100%, color-stop(0%, #A0D4F5), color-stop(100%, #81B8F3));
    background-image: -webkit-linear-gradient(top, #A0D4F5, #81B8F3);
    background-image: -moz-linear-gradient(top, #A0D4F5, #81B8F3);
    background-image: -o-linear-gradient(top, #A0D4F5, #81B8F3);
    background-image: linear-gradient(top, #A0D4F5, #81B8F3);
}

.ui-slider .ui-slider-handle {
    border-radius: 50%;
    background: #F9FBFA;
    background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgi…pZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
    background-size: 100%;
    background-image: -webkit-gradient(linear, 50% 0, 50% 100%, color-stop(0%, #C7CED6), color-stop(100%, #F9FBFA));
    background-image: -webkit-linear-gradient(top, #C7CED6, #F9FBFA);
    background-image: -moz-linear-gradient(top, #C7CED6, #F9FBFA);
    background-image: -o-linear-gradient(top, #C7CED6, #F9FBFA);
    background-image: linear-gradient(top, #C7CED6, #F9FBFA);
    width: 22px;
    height: 22px;
    -webkit-box-shadow: 0 2px 3px -1px rgba(0, 0, 0, 0.6), 0 -1px 0 1px rgba(0, 0, 0, 0.15) inset, 0 1px 0 1px rgba(255, 255, 255, 0.9) inset;
    -moz-box-shadow: 0 2px 3px -1px rgba(0, 0, 0, 0.6), 0 -1px 0 1px rgba(0, 0, 0, 0.15) inset, 0 1px 0 1px rgba(255, 255, 255, 0.9) inset;
    box-shadow: 0 2px 3px -1px rgba(0, 0, 0, 0.6), 0 -1px 0 1px rgba(0, 0, 0, 0.15) inset, 0 1px 0 1px rgba(255, 255, 255, 0.9) inset;
    -webkit-transition: box-shadow .3s;
    -moz-transition: box-shadow .3s;
    -o-transition: box-shadow .3s;
    transition: box-shadow .3s;
}

.ui-slider .ui-slider-handle {
    position: absolute;
    z-index: 2;
    width: 22px;
    height: 22px;
    cursor: default;
    border: none;
    cursor: pointer;
}

.ui-slider .ui-slider-handle:after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    top: 50%;
    margin-top: -4px;
    left: 50%;
    margin-left: -4px;
    bacdkground: #30A2D2;
    -webkit-box-shadow: 0 1px 1px 1px rgba(22, 73, 163, 0.7) inset, 0 1px 0 0 #FFF;
    -moz-box-shadow: 0 1px 1px 1px rgba(22, 73, 163, 0.7) inset, 0 1px 0 0 white;
    box-shadow: 0 1px 1px 1px rgba(22, 73, 163, 0.7) inset, 0 1px 0 0 #FFF;
}

.ui-slider-horizontal .ui-slider-handle {
    top: -.5em;
    margin-left: -.6em;
}

.ui-slider a:focus {
    outline: none;
}

.calendar table.month tr td .day-content {
    margin-right: 2px;
    margin-bottom: 2px
}

.day-content.calendar-day-party.disabled:hover,
.day-content.calendar-day-half.disabled .day-content:hover {
    background-color: rgba(0, 0, 0, .2)
}


.slider-button-content {
    position: absolute;
    top: -30px;
    text-align: center;
    width: 40px;
    height: 25px;
    background-color: black;
    color: white;
    font-size: 12px;
    line-height: 26px;
    border-radius: 3px;
    left: -9px
}

.slider-button-content:after {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(0, 0, 0, 0);
    border-top-color: #000;
    border-width: 5px;
    margin-left: -5px;
}

.ui-slider .ui-slider-range {
    border-color: black;
    background-image: none;
    background-color: black;
    box-shadow: none
}

.ui-slider .ui-slider-handle:after {
    box-shadow: none;
    background-color: black
}

#half-time-range .ui-slider .ui-slider-range {
    border-color: #1b92b6;
    background-color: #1b92b6
}

#half-time-range .slider-button-content {
    background-color: #1b92b6
}

#half-time-range .slider-button-content:after {
    border-top-color: #1b92b6
}

#half-time-range .ui-slider .ui-slider-handle:after {
    box-shadow: none;
    background-color: #1b92b6
}


.normal-time-range,
.half-time-range,
.party-time-range {
    text-transform: uppercase
}

.normal-time-range i {
    background-color: #fff;
    ;
    color: #333;
    font-size: 16px;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid rgba(128, 128, 128, 0.6);
    margin-right: 10px
}

.half-time-range i {
    background-color: #1b92b6;
    ;
    color: white;
    font-size: 16px;
    padding: 8px;
    border-radius: 100%;
    margin-right: 10px
}

.party-time-range i {
    background-color: #f27062;
    ;
    color: white;
    font-size: 16px;
    padding: 8px;
    border-radius: 100%;
    margin-right: 10px
}

.hour-time-range {
    border: 1px solid rgba(128, 128, 128, 0.23);
    background-color: rgba(238, 238, 238, 0.4);
    padding: 20px;
    border-radius: 3px;
}

/*radio buttons*/
.select-calendar-day {
    padding: 0 20px;
    border-right: 1px dashed #c5c5c5;
    margin: 20px 0 30px;
    flex: 1 1 auto
}

.select-calendar-day:first-of-type {
    border-left: 1px dashed #c5c5c5;
}

.radio {
    margin-bottom: 10px
}

.radio input {
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.select-calendar-day label {
    text-align: center;
    display: block;
}

.select-calendar-day #work_calendar_monday .radio:first-of-type label,
.select-calendar-day #work_calendar_tuesday .radio:first-of-type label,
.select-calendar-day #work_calendar_thursday .radio:first-of-type label,
.select-calendar-day #work_calendar_wednesday .radio:first-of-type label,
.select-calendar-day #work_calendar_friday .radio:first-of-type label,
.select-calendar-day #work_calendar_saturday .radio:first-of-type label,
.select-calendar-day #work_calendar_sunday .radio:first-of-type label {
    background: url(/bundles/app/img/radio-dianormal.jpg) no-repeat center 0;
}

.select-calendar-day #work_calendar_monday .radio:nth-child(2) label,
.select-calendar-day #work_calendar_tuesday .radio:nth-child(2) label,
.select-calendar-day #work_calendar_thursday .radio:nth-child(2) label,
.select-calendar-day #work_calendar_wednesday .radio:nth-child(2) label,
.select-calendar-day #work_calendar_friday .radio:nth-child(2) label,
.select-calendar-day #work_calendar_saturday .radio:nth-child(2) label,
.select-calendar-day #work_calendar_sunday .radio:nth-child(2) label {
    background: url(/bundles/app/img/radio-diamedio.jpg) no-repeat center 0;
}

.select-calendar-day #work_calendar_monday .radio:nth-child(3) label,
.select-calendar-day #work_calendar_tuesday .radio:nth-child(3) label,
.select-calendar-day #work_calendar_thursday .radio:nth-child(3) label,
.select-calendar-day #work_calendar_wednesday .radio:nth-child(3) label,
.select-calendar-day #work_calendar_friday .radio:nth-child(3) label,
.select-calendar-day #work_calendar_saturday .radio:nth-child(3) label,
.select-calendar-day #work_calendar_sunday .radio:nth-child(3) label {
    background: url(/bundles/app/img/radio-diafestivo.jpg) no-repeat center 0;
}

.radio input:active+.radio-label,
.radio input+.radio-label {
    -webkit-filter: opacity(.1);
    -moz-filter: opacity(.1);
    filter: opacity(.1);
}

.radio input:checked+.radio-label,
.radio input:hover+.radio-label {
    -webkit-filter: opacity(1);
    -moz-filter: opacity(1);
    filter: opacity(1);

}

.radio-label {
    cursor: pointer;
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    width: 100%;
    height: 43px;
    -webkit-transition: all 100ms ease-in;
    -moz-transition: all 100ms ease-in;
    transition: all 100ms ease-in;
}


.tooltip-radio {
    position: relative;
    width: 100%;
    height: 43px;
}


/* Tooltip text */
.tooltip-radio .tooltiptext {
    visibility: hidden;
    width: auto;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px;
    border-radius: 6px;
    top: 5px;
    position: absolute;
    z-index: 999;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip-radio:hover .tooltiptext {
    visibility: visible;

}