/* custom checkbox */

.custom-checkbox {
    position: relative;
}

.custom-checkbox ._checkbox {
    display: none;
}

.custom-checkbox label {
    position: absolute;
    top: 50%;
    left: 0;
    width: 30px;
    height: 30px;
    margin: 0 auto;
    background-color: #cacaca;
    transform: translateY(-50%);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s ease transform, 0.2s ease background-color, 0.2s ease box-shadow;
    overflow: hidden;
    z-index: 1;
}

.custom-checkbox label:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    width: 20px;
    height: 20px;
    margin: 0 auto;
    background-color: #fff;
    transform: translateY(-50%);
    border-radius: 50%;
/*    box-shadow: inset 0 7px 10px #ffbeb8;*/
    transition: 0.2s ease width, 0.2s ease height;
}

.custom-checkbox label:hover:before {
    width: 15px;
    height: 15px;
/*    box-shadow: inset 0 7px 10px #ff9d96;*/
}

.custom-checkbox label:active {
    transform: translateY(-50%) scale(0.9);
}

.custom-checkbox .tick_mark {
    position: absolute;
    top: -1px;
    right: 0;
    left: 0;
    width: 20px;
    height: 20px;
    margin: 0 auto;
    margin-left: 4px;
    transform: rotateZ(-40deg);
}

.custom-checkbox .tick_mark:before,
.custom-checkbox .tick_mark:after {
    content: "";
    position: absolute;
    background-color: #fff;
    border-radius: 2px;
    opacity: 0;
    transition: 0.2s ease transform, 0.2s ease opacity;
}

.custom-checkbox .tick_mark:before {
    left: 0;
    bottom: 0;
    width: 3px;
    height: 12px;
    box-shadow: -2px 0 5px rgba(0,0,0,0.23);
    transform: translateY(-68px)
}

.custom-checkbox .tick_mark:after {
    left: 0;
    bottom: 0;
    width: 18px;
    height: 3px;
    box-shadow: 0 3px 5px rgba(0,0,0,0.23);
    transform: translateX(78px)
}

.custom-checkbox ._checkbox:checked + label {
    background-color: #006767;
}

.custom-checkbox ._checkbox:checked + label:before {
    width: 0;
    height: 0;
}

.custom-checkbox ._checkbox:checked + label .tick_mark:before,
.custom-checkbox ._checkbox:checked + label .tick_mark:after {
    transform: translate(0);
    opacity: 1;
}


/* RADIO BUTTONS FOR TIMES */
.time-radio {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.time-radio h5 {
    width: 100%;
}

.radio-container {
    width: 32%;
}

.time-radio .radio-container input[type="radio"] {
    visibility: hidden;
    position: absolute;
}

.time-radio label {
    padding: 8px 10px;
    font-weight: 400;
    border: 2px solid rgba(201, 168, 135, 0.5);
    text-align: center;
    border-radius: 40px;
    margin: 0px auto 8px auto;
    background-color: transparent;
    transition: 0.5s all;
    font-size: 14px;
    color: rgba(201, 168, 135, 1);
}

.time-radio label:hover {
    cursor: pointer;
    background-color: rgba(201, 168, 135, 0.8);
    border-color: rgba(201, 168, 135, 0.8);
    color: #FFF;
}

.time-radio input[type="radio"]:checked + label {
    background-color: rgba(201, 168, 135, 1);
    color: #FFF;
    border-color: rgba(201, 168, 135, 1);
}

/* BOOTSTRAP BUTTONS */
.button-default button.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.button-default button.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

/* PIKADAY */

.button-default button.pika-button {
    background-color: transparent;
    color: #000;
    border: none;
    border-radius: 0px;
    box-shadow: none;
}

.button-default .is-selected button.pika-button,
.button-default .has-event button.pika-button {
    color: #fff;
    font-weight: bold;
    background: #33aaff;
}

.button-default button.pika-prev,
.button-default button.pika-next {
    background-color: transparent;
    border: none;
    box-shadow: none;
}

/* custom slider for home delivery */
.switch {
    position: relative;
    display: inline-block;
    width: 147px;
    height: 38px;
    background: linear-gradient(45deg, rgba(156,125,98,1) 0%, rgba(156,128,97,1) 27%, rgba(210,178,141,1) 52%, rgba(233,209,179,1) 71%, rgba(189,158,126,1) 89%, rgba(189,158,126,1) 100%);
    border-radius: 19px;
}

.switch input {
    display: none!important;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background-color: #006767;
    -webkit-transition: .4s;
    transition: .4s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 80px;
    left: 4px;
    bottom: 4px;
    background: linear-gradient(45deg, rgba(156,125,98,1) 0%, rgba(156,128,97,1) 27%, rgba(210,178,141,1) 52%, rgba(233,209,179,1) 71%, rgba(189,158,126,1) 89%, rgba(189,158,126,1) 100%);
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    /*background-color: #2ab934;*/
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(55px);
    -ms-transform: translateX(55px);
    transform: translateX(55px);
}

/*------ ADDED CSS ---------*/
.on, .off {
    font-size: 10px;
    font-family: Verdana, sans-serif;
    position: relative;
    color: #FFF;
    display: block;
}

input:checked+ .slider .on,
input:checked+ .slider .off {
    /*background: yellow;*/
}

input:checked + .slider .on,
input:checked + .slider .off {
    /*background: yellow;*/
}

/*--------- END --------*/

/* Rounded sliders */
.slider.round {
    border-radius: 19px;
}

.slider.round:before {
    border-radius: 19px;
}

/* inline editing */

.edit-button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    line-height: 100%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.editing {
    top: 0;
    left: 28px;
    width: calc(100% - 28px);
    height: 100%;
}

.editing.editing-title {
    left: 0;
    width: 100%;
}

.editing input[type="text"] {
    width: 100%;
    height: 100%;
    padding: 1px 5px;
    margin: 0;
    line-height: 100%;
    box-shadow: none;
}

.edit-buttons-container {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.single-service .edit-button{
    right: 0 !important;
}

.single-service .salone .editing .cancel-edit i {
    color: #c9a887;
    opacity: 0.9;
}

.single-service .salone .editing .confirm-edit {

}

.single-service .salone .editing .confirm-edit i {
    color: #006767;
    opacity: 0.9;
}

/* range slider */
#search-price-range {
    border-radius: 5px;
    border: none;
    margin: 20px;
    margin-right: 35px;
}

#search-price-range .ui-slider-handle {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    top: -11px;
    font-size: 11px;
    border: 2px solid #b69876;
    background: #b69876;
    color: #FFF;
    text-indent: -2px;
}

/* product select */
option.child:disabled {
    font-weight: 500;
    color: black;
}

option.search:disabled {
    color: #35689f;
}
