/* -------- body ----------*/
body {
    font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
}

/*this is fixing unespected margin and padding precision on mobile safari*/
* {
    -webkit-margin-before: 0em;
    -webkit-padding-start: 0;
    -webkit-margin-after: 0em;
}

.schedule_widget_block {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 5px;
    position: relative;
    z-index: 2;
    padding: 35px 10px;
    /*box-shadow: 0 1px 8px 0 rgb(0 0 0 / 8%);*/
    color: #303633;
    transform: scale(0.9);
    opacity: 0;
    -webkit-transition: transform 0.1s linear;
    -moz-transition: transform 0.1s linear;
    transition: transform 0.1s linear;
}
.schedule_widget_block.popup_iframe {
    margin: 100px auto;
}

.schedule_widget_block.fade {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.loading {
    font-size: 30px;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 9;
    display: flex;
    justify-content: center;
    align-items: center;
}

#iframe_overlay {
    bottom: 0;
    height: 100%;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 1;
    opacity: 0;
    background: rgba(0, 0, 0, 0) radial-gradient(ellipse at center center , rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.9) 100%) repeat scroll 0 0;
}

#iframe_overlay.fade {
    opacity: 1;
    -webkit-transition: opacity 0.1s linear;
    -moz-transition: opacity 0.1s linear;
    transition: opacity 0.1s linear;
}

/*==========loading animation============*/

@-webkit-keyframes dot-keyframes {
    0% {
        opacity: 0.4;
        transform: scale(1, 1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2, 1.2);
    }
    100% {
        opacity: 0.4;
        transform: scale(1, 1);
    }
}
@keyframes dot-keyframes {
    0% {
        opacity: 0.4;
        transform: scale(1, 1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2, 1.2);
    }
    100% {
        opacity: 0.4;
        transform: scale(1, 1);
    }
}
.loading-dots {
    text-align: center;
    width: 100%;
}
.loading-dots--dot {
    -webkit-animation: dot-keyframes 1s infinite ease-in-out;
    animation: dot-keyframes 1s infinite ease-in-out;
    background-color: #000;
    border-radius: 30px;
    display: inline-block;
    height: 20px;
    width: 20px;
    margin-left: 10px;
}
.loading-dots--dot:nth-child(2) {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}
.loading-dots--dot:nth-child(3) {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

/* ----------progress bar step numbers -----------*/
.stepper-wrapper {
    font-family: "Open Sans", sans-serif;
    display: flex;
    justify-content: space-between;
}
.stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.stepper-item::before {
    position: absolute;
    content: "";
    border-bottom: 1px solid #ccc;
    width: 100%;
    top: 20px;
    left: -50%;
    z-index: 2;
}

.stepper-item::after {
    position: absolute;
    content: "";
    border-bottom: 1px solid #ccc;
    width: 100%;
    top: 20px;
    left: 50%;
    z-index: 2;
}

.stepper-item .step-counter {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    margin-bottom: 6px;
    border: 1px solid #ccc;
    transition: background 0.2s ease-in-out;
}

.stepper-item.active {
    font-weight: bold;
}
.stepper-item.completed {
    cursor: pointer;
    color: #fff;
}
.stepper-item {
    cursor: not-allowed;
}
.stepper-item.completed .step-counter {
    /*background-color: #4bb543;*/
    border-color: transparent;
    transition: background-color 0.3s ease-in-out;
}
.stepper-item.completed .step-counter:hover, .scheduling_form button[type="submit"]:hover {
    /*background: #6abce7;*/
    transition: background .3s ease-in-out;
}

.stepper-item.completed::after {
    position: absolute;
    content: "";
    border-bottom: 1px solid #ccc;
    width: 100%;
    top: 20px;
    left: 50%;
    z-index: 3;
}

.stepper-item:first-child::before {
    content: none;
}
.stepper-item:last-child::after {
    content: none;
}


/*--------- company info ------------*/
#company_info .company_logo {
    width: 100px;
    height: 100px;
    border-radius: 50px;
    margin: 0 auto;
}
#company_info .company_logo img {
    border-radius: 50px;
    max-width: 100px;
}
#company_info h4, #company_info p {
    text-align: center;
}
#company_info h4, .list_group_item h4 {
    margin-bottom: 0;
}
#company_info p, .list_group_item p {
    margin-top: 5px;
}

/*--------- list groups items ------------*/

.item_content, .item_link {
    display: inline-block;
    vertical-align: middle;
    /*border: 1px solid #ddd;*/
}
.list_group_item {
    cursor: pointer;
}
.list_group_item:hover {
    background: #fafafa;
}
.item_content {
    width: 94%;
    text-align: left;
}
.item_content span {
    vertical-align: middle;
}
.item_link {
    width: 4%;
}
.item_link img {
    width: 20px;
    vertical-align: bottom;
}
.item_content h4 img {
    margin-right: 5px;
    vertical-align: middle;
    width: 40px;
    height: 40px;
    border-radius: 50px;
}
.list_group_item h4, .list_group_item p {
    text-align: left;
    color: #303633;
}
.list_group_item, .user_item {
    margin: 0 0 10px 0;
    padding: 5px 0;
    border-radius: 6px;
}
.list_group_item {
    padding-bottom: 7px;
}
.service_detail {
    border-radius: 50px;
    margin-right: 6px;
    width: 40px;
    height: 40px;
    display: inline-block;
    vertical-align: middle;
}
.service_detail_img {
    border-radius: 50px;
    margin-right: 6px;
    width: 40px;
    height: 40px;
    display: inline-block;
    vertical-align: middle;
}

p.empty_records_message {
    text-align: left;
    font-size: 18px;
    color: #7c7c7c;
}

.box {
    /*border: 1px solid #ddd;*/
    /*min-height: 200px;*/
}
/*---------- list users ---------*/
.user_item h4 {
    text-align: left;
    margin: 0;
}
.user_item h4 i {
    font-size: 20px;
}
.user_info {
    text-align: left;
    margin: 5px 0;
    padding: 5px;
    display: flex;
    align-items: center;
}
.user_info span.s_name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 80%;
}
.user_info span.user_settings {
    color: #00aced;
    float: right;
    cursor: pointer;
}

.user_info span.user_settings:hover {
    transition: color .3s ease-in-out;
}

.user_info img, .selected_date_time img {
   width: 25px;
    margin-right: 5px;
}
.user_info img, .user_info span, .selected_date_time img, .selected_date_time span {
    vertical-align: middle;
}
.user_info span, .user_item h4 {
    /*color: #303633;*/
    font-weight: 500;
}
.user_info.is_collapsed {
    box-shadow: 0 0 4px 0 #ccc;
}
.user_item {
    cursor: pointer;
}
.user_item:hover {
    background: #fafafa;
}

.staff_row.customer_img {
    width: 40px;
    height: 40px;
    border-radius: 50px;
    display: inline-block;
    background-color: rgb(207 7 239 / 24%);
    color: #cb6aff;
    margin-right: 6px;
}
.staff_row.customer_img .initials{
    padding: 10px 0;
    font-size: 15px;
    text-align: center;
}
.staff_icon {
    border-radius: 50px;
}

/*-------- list hours -----*/
.hour_item {
    border: 1px solid #6abce7;
    border-radius: 5px;
    padding: 5px 0;
    cursor: pointer;
    margin-right: 2px;
    margin-bottom: 6px;
    width: 100%;
    display: inline-block;
    text-align: center;
}
.select_hours h4 {
    text-align: center;
}
.select_hours {
    margin-top: 10px;
    animation-name: on_select_hours;
    animation-duration: 1s;
}

@keyframes on_select_hours {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.collapse_option .hour_item {
    width: 100%;
    text-align: center;
}
.angle {
    transform: rotate(0deg);
    transition: transform .05s ease-out;
}
.angle_down {
    transform: rotate(90deg);
    transition: transform .3s ease-in;
}

.collapse_option {
    padding: 15px 0;
    transition: all 1s ease-in-out;
}
.user_option {
    cursor: pointer;
}

.calendar_mobile {
    height: 285px;
    margin: 20px 0;
}

/*.hour_item:hover {*/
/*    transition: background .1s ease-in-out;*/
/*}*/

/*scheduling_form*/
.scheduling_form {
    text-align: left;
}
.scheduling_form .has-error {
    border-color: darkred;
}
.help-block {
    position: relative;
    top: -10px;
    color: darkred;
}
.scheduling_form input, .scheduling_form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
}

.scheduling_form button[type="submit"] {
    background-color: #17bd17;
    color: #fff;
    cursor: pointer;
    border: none;
    outline: none;
    padding: 10px 20px;
    border-radius: 4px;
    position: relative;
    font-size: 16px;
}
.selected_date_time {
    margin-bottom: 15px;
    font-weight: 600;
}
.select_hours h4 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 18px;
    color: #333333;
}

.option_list {
    padding: 5px 0;
}
.option_list input[type=radio], .option_list label {
    vertical-align: middle;
    font-size: 14px;
}

/*--------timezone selector--------*/
.timezone_selector {
    display: none;
}
/*---------confirmed-------*/
.confirmed {
    width: 300px;
    margin: 0 auto;
}
.confirmed h4 {
    color: #646161;
}
.confirmed_info {
    text-align: left;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

#iframe_footer a {
    text-decoration: none;
    font-size: 14px;
    color: #333333;
}

.schedule_widget_block.popup_iframe #iframe_footer a {
    text-shadow: 0px 1px 0 rgba(0,0,0,.32);
}

#iframe_footer a:hover {
    color: #000;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    font-size:16px;
}


#iframe_footer {
    position: absolute;
    bottom: -30px;
    text-align: center;
    width: 100%;
}
.close_popup {
    position: absolute;
    right: 10px;
    top: 10px;
}
.close_popup img {
    width: 25px;
    cursor: pointer;
}

/*--------------for inline iframe-------*/
.schedule_widget_block.inline_iframe {
    margin: 0 auto;
    padding: 8px 0;
    width: 100%;
    max-width: 1200px;
}

.user_settings.disable_change {
    opacity: .5;
}
.user_settings.disable_change:hover {
    color: #00aced !important;
    cursor: not-allowed !important;
}

/*----hide steps------*/
/*here i can put js_class because i hide and show it in js, by default is hidden*/
/*for animation*/
/*.js_step_3, .js_step_4, .js_step_2, .js_step_1, .js_step_5 {*/
/*    display: none;*/
/*}*/
.box, #js_staff_list {
    -webkit-animation: fade_in .5s ease-in-out;
    animation: fade_in .5s ease-in-out;
}

@-webkit-keyframes fade_in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes fade_in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hide {
    display: none;
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
input, input[type=text] {
    outline: none !important;
}
input:focus, textarea:focus {
    outline: none;
    /*border-color: #66afe9;*/
    /*outline: 0;*/
    /*-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);*/
    /*box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);*/
}
/*------ custom phone selector------------*/
.custom_phone_selector {
    position: relative;
    margin-bottom: 15px;
}
.phone_country_list {
    height: 300px;
    overflow: scroll;
    border-radius: 6px;
    border: 1px solid #ddd;
    position: absolute;
    top: 45px;
    display: none;
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    z-index: 9;
}
.phone_country_list ul {
    margin: 0;
    padding: 0;
}
.phone_country_list ul li {
    list-style-type: none;
    cursor: pointer;
    line-height: 25px;
}
.phone_country_list ul li:hover,
.phone_country_list ul li:focus
{
    background: rgba(0,0,0,.05);
    outline: none;
}
.phone_country_list ul li.selected {
    background: rgba(0,0,0,.2);
}
.phone_country_list .p_code {
    color: #757171;
}
.phone_country_list .p_emoji {
    font-size: 20px;
    margin-left: 10px;
}
.phone_country_list span.flag {
    margin-left: 10px;
}
.phone_country_list span {
    vertical-align: middle;
}
.input-group-addon.country_flag {
    padding: 0 12px;
    /*font-size: 25px;*/
    cursor: pointer;
    color: rgb(238, 238, 238);
}
.search_in_countries {
    width: 100%;
    border: none;
    background: #fff;
    padding-left: 10px;
    border-bottom: 1px solid #ddd;
    height: 40px;
    position: static;
}
input.search_in_countries:focus {
    outline: none;
}
.custom_phone_selector input[type=text] {
    margin-bottom: 0;
    /*border-left: none;*/
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    height: 40px;
}
input.search_in_countries {
    padding: 0 15px;
    width: 100%;
    border-color: #ddd !important;
    border-top: none !important;
    border-right: none !important;
    border-left: none !important;
    border-radius: 0 !important;
    position: sticky;
    position: -webkit-sticky;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: 0 3px 5px rgb(0 0 0 / 10%);
    -webkit-box-shadow: 0 3px 5px rgb(0 0 0 / 10%);
    -webkit-appearance: none;
}


/*===bootstrap input-group-addon===*/
.input-group {
    position: relative;
    display: table;
    border-collapse: separate;
}
.input-group-addon:first-child {
    border-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.input-group-addon {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.input-group-addon, .input-group-btn {
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
}
.input-group .form-control, .input-group-addon, .input-group-btn {
    display: table-cell;
}

input:focus-visible {
    outline: none;
}
/*======floating input's placeholder====*/

div.input-block {
    position: relative;
}

div.input-block input, div.input-block textarea,
.custom_phone_selector input{
    font-weight: 500;
    font-size: 16px;
    color: #495055;
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid  #D9D9D9;
    outline:none;
    -webkit-tap-highlight-color: transparent; /*safari bliking hack*/
}

div.input-block span.placeholder {
    position: absolute;
    margin: 9px 0;
    padding: 0;
    color: #6c757d;
    display: flex;
    align-items: center;
    font-size: 16px;
    top: 0;
    left: 13px;
    transition: all 0.2s;
    transform-origin: 0% 0%;
    background: none;
    pointer-events: none;
}

div.input-block input:valid + span.placeholder,
div.input-block input:focus + span.placeholder,
div.input-block textarea:valid + span.placeholder,
div.input-block textarea:focus + span.placeholder
{
    transform: scale(0.8) translateY(-24px);
    -webkit-transform: scale(0.8) translateY(-24px);
    background: #fff;
}

div.input-block input:focus,
div.input-block textarea:focus,
.custom_phone_selector input:focus
{
    color: #284B63;
    border-color: #284B63;
}

div.input-block input:focus + span.placeholder,
div.input-block textarea:focus + span.placeholder
{
    color: #284B63;
}

.input-block textarea {
    resize: none;
}
.required_icon {
    color: #a94442;
}

/* rewrite */
/*.stepper-item.completed .step-counter, .available_day div {*/
/*    background-color: #fff;*/
/*    color: #000;*/
/*}*/
