html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
.page-wrapper {
    min-height: 100%;
    margin-bottom: -50px;
    padding-top: 55px;
}
* html .page-wrapper {
    height: 100%;
}

.page-buffer {
    height: 50px;
}

.page-footer {
    height: 50px;

    background-color: #504E69;
    display: table;
    width: 100%
}

.page-footer-body {
    padding: 5px;
    text-align: center;
    color: #fff; display: table-cell;
    vertical-align: middle;
}

.page-footer-body a  {
    color: #ffffff;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.text-muted a  {
    color: #777777;
}


.body {
    background-color: #FDFBFF;
}

.inline_block {
    display: inline-block;
}

.master_info_wrapper {
    text-align: center;
}

.master_avatar {
    margin-bottom: 10px;
}

.master_name {
    font-size: 17px;
    font-weight: bold;
}


.margin_top_14 {
    margin-top: 14px;
}

.padding_top_2 {
    padding-top: 2px;
}

.pad_bottom_3 {
    padding-bottom: 3px;
}


.margin_bottom_4 {
    margin-bottom: 4px;
}

.margin_bottom_8 {
    margin-bottom: 8px;
}

.pad_right_7 {
    padding-right: 7px;
}

.pad_5 {
    padding: 5px;
}

.divider {
    border-top:1px solid #dae6f0;
    height: 1px;
}

.text_bold{
    font-weight: bold;
}

.text_red{
    color:#FF0000;
}

.text_right {
    text-align: right;
}

.no_wrap{
    white-space: nowrap;
}

.text_center {
    text-align: center;
}

.text_1_5 {
    font-size: 1.5em;
}

.text_left {
    text-align: left;
}

.color_title{
    color: #5669A3;
}

.simple_page_container {
    padding: 20px;
}


.margin_bottom_not_last:not(:last-child) {
    margin-bottom: 7px;
}


.hide_block {
    display: none;
}

.float_none_imp {
    float: none !important;
}

.test {
    border: 1px solid #00a615;
}


.test2 {
    border: 1px solid #a60f12;
}

.table_cell {
    display: table-cell;
}

.table_row {
    display: table-row;
}

.line_height_1_6 {
    line-height: 1.6em;
}

.text_0_9 {
    font-size: 0.9em;
}


/*------------------- Shorten --------------------------*/

.short_content span {
    display: none;
}

a.short_link {
    text-decoration:none;
    outline: none;
    color: #408ad5;
    font-size: 0.9em;
}

.short {
    display: none;
}

.disabledDiv {
    pointer-events: none;
    opacity: 0.7;
    position: relative;
}





/*---------------------------------------------------------*/


/*------------------- Nav Bar --------------------------*/

.nav_bar_responsive {
    width: 1140px;
    padding: 0;
}

.nav_bar_auth{
    max-width: 500px;
    vertical-align: middle;
}

.nav_bar_auth_item {
    display: table;
    table-layout: fixed;
    width: 100%;
}

.nav_bar_auth_cell {
    display: table-cell;
    color: #fff;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav_bar_header {
    margin-top: 5px;
}

.nav_bar_brand_cell {
    display: table-cell;
    vertical-align: middle;
    height: 44px;
}

.nav_bar_brand_logo {
    width: 38px;
    height: 38px;
}

.nav_bar_brand_text {
    font-size: 1.4em;
    color: #efe3f0;
    padding: 0 0.4em 0 0.4em;
}

.nav_bar_link a, .nav_bar_link a:visited {
    color: #ffccfe;
    text-decoration: none;
}

.nav_bar_link a:hover, .nav_bar_link a:active {
    color: #f1adff;
    text-decoration: none;
}

.nav_bar_link_name a, .nav_bar_link_name a:visited {
    color: #ffffff;
    text-decoration: none;
}

.nav_bar_link_name a:hover, .nav_bar_link_name a:active {
    color: #ffccfe;
    text-decoration: none;
}

@media (min-width:991px) and (max-width:1200px) {
    .nav_bar_responsive {
        width: 940px;
    }

    .nav_bar_auth{
        max-width: 400px;
    }
}

@media (min-width:767px) and (max-width:991px) {
    .nav_bar_responsive {
        width: 710px;
    }

    .nav_bar_auth{
        max-width: 250px;
    }
}

@media (max-width:767px) {
    .nav_bar_responsive {
        width: 100%;
        padding-right: 8px;
    }

    .navbar_left_pad > li {
        padding-left: 18px;
    }

    .navbar-header {
        display: table-cell;
        float: none !important;
        clear: both !important;
    }

    .nav_bar_brand_logo {
        width: 34px;
        height: 34px;
    }

    .nav_bar_brand_text {
        font-size: 1.2em;
        padding: 0 0.4em 0 0.4em;
    }

    .nav_bar_auth {
        width: 100%;
        padding-left: 5px;
    }

}

@media (max-width:360px) {
    .nav_bar_brand_text {
        display: none;
    }
}

/*---------------------------------------------------*/







/*------------------- Modals --------------------------*/

.modal_reg_container {
    text-align: center;
    padding: 15px;
    border-radius: 5px;
    background-color: #FAF4FF;
    border: 1px solid #FAF4FF;
    -webkit-box-shadow: 0px 0px 3px 2px rgba(240,240,240,1);
    -moz-box-shadow: 0px 0px 3px 2px rgba(240,240,240,1);
    box-shadow: 0px 0px 4px 1px rgba(240,240,240,1);
}

.modal_reg_title {
    border-radius: 5px;
    background-color: #4a1b68;
    color: #fff;
    font-size: 1.3em;
    padding: 5px 0;

    -webkit-box-shadow: 0px 0px 10px 0px rgba(62,26,91,1);
    -moz-box-shadow: 0px 0px 10px 0px rgba(62,26,91,1);
    box-shadow: 0px 0px 5px 0px rgba(62,26,91,1);

}

.modal_reg_body {
    padding-top: 15px;
    padding-bottom: 15px;
}


.modal_reg_alert {
    padding: 8px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.alert_warning {
    border: 1px solid #ebccd1;
    color: #D53C15;
    background-color: #FDF0EC;
}

.alert_success {
    border: 1px solid #BFE756;
    color: #008000;
    background-color: #FAFDF2;
}

.modal_reg_item:not(:last-child) {
    margin-bottom: 7px;
}

.mar_top_4 {
    margin-top: 4px;
}

.mar_top_7 {
     margin-top: 7px;
}

.mar_top_10 {
    margin-top: 10px;
}

.no_resize {
    resize: none;
}

.modal_reg_input {
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 5px;
}


.modal_reg_close_btn {
    margin-right: 5px;
}

.modal_reg_call_btn {
    margin-top: 15px;
    margin-bottom: 7px;
}

.appointment_info {
    padding: 4px;
    font-size: 0.96em;
    border-radius: 4px;
}

@media (max-width:479px) {

    .modal_reg_container {
        padding: 8px 8px 12px 8px;
    }

    .modal_reg_call_btn {
        margin-top: 12px;
        margin-bottom: 4px;
    }

    .modal_reg_alert {
        padding: 5px;
    }

    .modal_reg_input {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
        padding: 0 5px;
    }

}


.auth_under_btn_appointment {
    margin: 9px 0 5px 0;
    font-size: 0.9em;
}
/*-----------------------------------------------------*/


/*
@media (max-width:479px){

   .services__row{display:block;padding-top:10px;padding-bottom:10px;position:relative}
   .services__col{border-top:0}
   .services__col{display:block;padding:0}
   .services__col_cost,
   .services__col_duration{display:inline}
   .services__col_cost,
   .services__col_duration{font-size:.8em}
   .services__col_btn{height:32px;padding:0;position:absolute;right:0;top:0;bottom:0;margin:auto;display:block}
}
*/

.master_professions {
    word-break: break-word;
}

@media (max-width:767px){
    .master_avatar {min-width:105px; max-width:184px; float:left; margin-bottom: 0;}
    .master_info_wrapper {margin: 0;}
    .master_buttons_wrapper,
    .master_info_wrapper {margin-left:192px}
    .master_name,
    .master_professions {text-align:left}
    .master_buttons_wrapper {padding-top:2px}
    .master_buttons_wrapper.no_avatar {margin-left:0}
    .master_info_wrapper.no_avatar {margin-left:3px}
}
@media (max-width:479px){
    .master_avatar {width:105px; margin-bottom: 0;}
    .master_name {margin: 0}
    .master_info_wrapper {margin-left:112px}
    .master_buttons_wrapper {margin:0;clear:both}
    .master_info_wrapper.no_avatar {margin-left:3px}
}

















/*------------- Pickers --------------------*/

.picker_time {
    margin-left:300px;
    padding-left: 10px;
}

.picker_time_modal {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
    clear: both !important;
}


.picker_time_title {
    font-size: 1.1em;
    display: block;
    text-align: center;
    margin-top: 3px;
    margin-bottom: 7px;
}

.picker_time_container {
    display: block;
    text-align: center;
    color: #999999;
}


.picker_calendar {
    width: 300px;
    float:left;
    position:relative;
    z-index:1;
    margin-left: auto;
    margin-right: auto;
}

.picker_time_controls {
    text-align: center;
    margin-top: 12px;
    padding: 6px 8px 10px 8px;
    border-radius: 3px;
    background-color: #F7F4FF;
}

.picker_time_controls_date {
    font-weight: bold;
    color: #6735c6
}




@media (max-width:991px) {
    .picker_calendar {
        float: none;
    }

    .picker_time {
        width: 100%;
        margin-left: 0;
        padding-left: 0;
        clear: both;
    }
}

@media (max-width:767px) {
    .picker_calendar {
        width: 350px;
    }

    .picker_time {
        width: 80%;
        padding-right: 0;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width:610px) {
    .picker_time {
        width: 90%;
    }
}

@media (max-width:479px) {
    .picker_calendar {
        width: 100%;
    }

    .picker_time {
        width: 100%;
    }

}



/*-----------------------------------------------*/




/*------------- Portfolio --------------------*/

.title_master_page {
    font-size: 1.25em;
    padding: 0px 3px 3px 3px;
}

.image_portfolio {
    display: none;
    margin-left: 2px;
    margin-right: 2px;
}

.image_portfolio img {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.image_portfolio_cell {
    display: table-cell;
    width: 25%;
}

.image_portfolio_cell_img {
    max-width: 100%;
    display: block;
    height: auto;
    padding: 0 2px;
    border-radius: 4px;
}

@media (max-width:767px) {
    .title_master_page {
        font-size: 1.15em;
        padding: 0px 3px 3px 5px;
    }
}

/*--------------------------------------------*/

/*------------- Schedule --------------------*/
.schedule_master_item{
    position: relative;
    padding-top: 2px;
    padding-bottom: 2px;
}
.schedule_master_item:not(:last-child){
    border-bottom: 1px solid #f1f1f1;
}
.schedule_master_day{
    float: left;
    text-align: left;
    position: relative;
    top: 0.15em;
    margin-right: 7px;
}
.schedule_master_time{
    text-align: right;
    width: auto;
}
.schedule_master_time_work,
.schedule_master_time_break{
    display: inline-block;
    font-size: 0.9em;
}
.schedule_master_time_work:before{
    content:"\e023";
    font-family:"Glyphicons Halflings";
    position: relative;
    top: 0.15em;
    font-size: 1.1em;
    color: #a5a5a5;
    margin-right: 4px;
}
.schedule_master_time_break:before{
    content:"\e179";
    font-family:"Glyphicons Halflings";
    position: relative;
    top: 0.15em;
    font-size: 1.1em;
    color: #a5a5a5;
    margin-left: 5px;
    margin-right: 4px;
}
.schedule_master_time_from,
.schedule_master_time_to{
    display: inline-block;
}
.schedule_master_time_from:after{
    content: " -\2006";
}
.day_holiday
.schedule_master_time:before{
    content:"\e014";
    font-family:"Glyphicons Halflings";
    position: relative;
    top: 0.15em;
    font-size: 1.1em;
    color: #a5a5a5;
}
.day_holiday
.schedule_master_day{
    color: #EF3D10;
}
.day_working
.schedule_master_day{
    color: #368C0D;
}

.schedule_title{
    padding-bottom: 7px;
    padding-left: 3px;
    padding-right: 3px;
}
.schedule_title_cell {
    vertical-align: middle;
    display: table-cell;
}
.schedule_title_show{
    display: none;
    position: relative;
    width: 1%;
    white-space: nowrap;
    font-size: 1.1em;
}


@media (min-width:767px) {
    .schedule_container{
        display: block !important;
        height: auto !important;
        overflow: visible !important;
    }

}

@media (max-width:767px) {

    .schedule_master_item {
        width: 14.285%;
        float: left;
    }
    .schedule_master_item:not(:last-child) {
        border-right: 1px solid #f1f1f1;
        border-bottom: 0;
    }
    .schedule_master_day {
        float: none;
        text-align: center;
        margin: 0;
    }
    .schedule_master_time {
        text-align: center;
        padding: 0 5px;
    }
    .schedule_master_time_work,
    .schedule_master_time_break{
        display: block;
        font-size: 0.85em;
    }
    .schedule_master_time_work:before,
    .schedule_master_time_break:before {
        margin: 0;
    }
    .schedule_master_time_from,
    .schedule_master_time_to {
        display: block;
    }
    .schedule_master_time_from:after {
        content: "";
    }

    .schedule_title_show{
        display: table-cell;
    }
    .schedule_title{
        padding-bottom: 0;
    }

}
/*---------------------------------*/


/*--------------- Services --------------*/


.master_service_item {
    display: table;
    width: 100%;
    border: 1px solid #F0EBFC;
    background-color: #FAFAFE;
    border-radius: 3px;
}

.master_service_item:not(:last-child){
    margin-bottom: 6px;
}

.master_service_item_hover:hover {
    border: 1px solid #D5C7E2;
    background-color: #FAFAFE;
    cursor: pointer;
}

.m_s_n_t {
    display: table;
    width: 100%;
}

.m_s_n_title {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.m_s_n_body {
    display: table-cell;
    word-wrap: break-word;
}

.m_s_n_cell {
    display: table-cell;
    vertical-align: middle;
}

.m_s_n_cell .t_c {
    display: block;
}



.m_s_n_cell .t_c.right {
    text-align: right;
    white-space: nowrap;
    padding: 0 3px 0 5px;
}

.w1 {
    width: 1%;
}

.w100 {
    width: 100%;
}

.service_count_cell {
    width: 0%;
}

.service_count_field {
    display: none;
    border-radius: 15px;
    background-color: #ff7b00;
    width: 24px;
    height: 24px;
    line-height: 25px;
    text-align: center;
    color: #ffffff;
    font-size: 0.8em;
    user-select: none;
    margin: 0 5px 0 5px;
}


@media (min-width:767px) and (max-width:991px), (max-width:479px) {
    .m_s_n_cell {
        display: table-row;
    }

    .m_s_n_cell .t_c {
        display: table-cell;
    }

    .m_s_n_cell .t_c.right {
        white-space: normal;
        padding: 0 0 0 0;
    }

}

@media (max-width:479px) {
    .panel_body_services {
        padding: 5px;
    }

}




.master_service_item_checked{
    border: 1px solid #EAE8F9;
    background-color: #F3F2FD;
    cursor: pointer;
}

.master_service_cell {
    display:table-cell;
    vertical-align:middle;
}

.master_service_cell_info {
    width: 1%;
    padding-left: 5px;
    white-space: nowrap;
}

.service_color_duration {
    color: #777777;
}
.master_service_duration {
    display: block;
    color: #868686;
    white-space: nowrap;
    font-size: 0.9em;
    line-height: 0.9em;
    text-align: end;
}

.service_color_cost {
    color: #3678DA;
}
.master_service_cost {
    display: block;
    color: #3678DA;
    white-space: nowrap;
    font-size: 0.9em;
    line-height: 0.9em;
    padding-top: 5px;
}

.master_service_button {
    width:1%;
    padding: 5px;
}

.master_service_name {
    line-height: 120%;
    padding: 4px 0 4px 8px;
}

.master_service_name.with_image {
    padding-left: 4px !important;
}

.master_service_img_wrapper {
    width: 34px;
    padding: 0 3px 0 4px
}

.master_service_img_border {
    border: 1px solid #dfdfff;
    border-radius: 4px;
    overflow: hidden;
}

.master_service_img {
     width: 34px;
     height: 34px;
 }


.master_services_selected {
    background-color: #FEF7ED;
    border-radius: 3px;
    padding: 7px 9px;
}


.master_services_selected_result{
    display: table-cell;
    margin-bottom: 7px;
    vertical-align: middle;
}

.master_services_selected_button{
    display: table-cell;
    width: 1%;
    vertical-align: middle;
}

.link_show_more{
    text-align: center;
    padding: 4px 0;
}



@media (min-width:767px) and (max-width:991px) {
    .m_s_n_cell .t_c {
        display: inline;
    }

    .master_service_duration,
    .master_service_cost {
        display: inline;
        font-size: 0.86em;
        line-height: 0.86em;
        padding-top: 0;
    }

    .master_service_button,
    .master_service_cell_info {
        padding-left: 4px;
    }

    .master_service_name {
        padding-left: 5px;
    }

    .master_service_name.with_image {
        padding-left: 2px !important;
    }

    .master_services_selected {
        padding: 7px;
    }

}

@media (max-width:479px) {
    .m_s_n_cell .t_c {
        display: inline;
    }

    .master_service_duration,
    .master_service_cost {
        display: inline;
        font-size: 0.86em;
        line-height: 0.86em;
        margin-left: 0;
        padding-top: 0;
    }

    .master_service_button,
    .master_service_cell_info {
        padding-left: 4px;
    }


    .master_service_name{
        font-size: 1em;
        padding-left: 5px;
    }

    .master_service_name.with_image {
        padding-left: 2px !important;
    }

    .master_services_selected {
        padding: 7px;
    }

    .master_services_selected_result{
        font-size: 0.95em;
        display: block;
        text-align: center;

    }



    .master_services_selected_button{
        display: block;
        width: 100%;
        text-align: center;
    }
}

/*----------------------------------------*/

/*--------------- Buttons ------------------*/

.btn-purple {
    color: #ffffff;
    background-color: #863F9E;
    border-color: #6E2E99;
}

.btn-master-info-margin {
    margin-top:8px;
}

.btn-purple:hover,
.btn-purple:focus,
.btn-purple:active,
.btn-purple.active,
.open .dropdown-toggle.btn-purple {
    color: #ffffff;
    background-color: #6A429E;
    border-color: #6E2E99;
}
.btn-purple:active,
.btn-purple.active,
.open .dropdown-toggle.btn-purple {
    background-image: none;
}
.btn-purple.disabled,
.btn-purple[disabled],
fieldset[disabled] .btn-purple,
.btn-purple.disabled:hover,
.btn-purple[disabled]:hover,
fieldset[disabled] .btn-purple:hover,
.btn-purple.disabled:focus,
.btn-purple[disabled]:focus,
fieldset[disabled] .btn-purple:focus,
.btn-purple.disabled:active,
.btn-purple[disabled]:active,
fieldset[disabled] .btn-purple:active,
.btn-purple.disabled.active,
.btn-purple[disabled].active,
fieldset[disabled] .btn-purple.active {
    background-color: #863F9E;
    border-color: #6E2E99;
}
.btn-purple .badge {
    color: #863F9E;
    background-color: #ffffff;
}


.btn-orange {
    color: #FFFFFF;
    background-color: #FA6D0F;
    border-color: #F2680C;
}
.btn-orange:hover,
.btn-orange:focus,
.btn-orange:active,
.btn-orange.active,
.open .dropdown-toggle.btn-orange {
    color: #FFFFFF;
    background-color: #ED5F13;
    border-color: #F2680C;
}
.btn-orange:active,
.btn-orange.active,
.open .dropdown-toggle.btn-orange {
    background-image: none;
}
.btn-orange.disabled,
.btn-orange[disabled],
fieldset[disabled] .btn-orange,
.btn-orange.disabled:hover,
.btn-orange[disabled]:hover,
fieldset[disabled] .btn-orange:hover,
.btn-orange.disabled:focus,
.btn-orange[disabled]:focus,
fieldset[disabled] .btn-orange:focus,
.btn-orange.disabled:active,
.btn-orange[disabled]:active,
fieldset[disabled] .btn-orange:active,
.btn-orange.disabled.active,
.btn-orange[disabled].active,
fieldset[disabled] .btn-orange.active {
    background-color: #FA6D0F;
    border-color: #F2680C;
}
.btn-orange .badge {
    color: #FA6D0F;
    background-color: #FFFFFF;
}

.btn-green {
    color: #ffffff;
    background-color: #25A605;
    border-color: #20AD13;
}
.btn-green:hover,
.btn-green:focus,
.btn-green:active,
.btn-green.active,
.open .dropdown-toggle.btn-green {
    color: #ffffff;
    background-color: #218F0B;
    border-color: #20AD13;
}
.btn-green:active,
.btn-green.active,
.open .dropdown-toggle.btn-green {
    background-image: none;
}
.btn-green.disabled,
.btn-green[disabled],
fieldset[disabled] .btn-green,
.btn-green.disabled:hover,
.btn-green[disabled]:hover,
fieldset[disabled] .btn-green:hover,
.btn-green.disabled:focus,
.btn-green[disabled]:focus,
fieldset[disabled] .btn-green:focus,
.btn-green.disabled:active,
.btn-green[disabled]:active,
fieldset[disabled] .btn-green:active,
.btn-green.disabled.active,
.btn-green[disabled].active,
fieldset[disabled] .btn-green.active {
    background-color: #25A605;
    border-color: #20AD13;
}
.btn-green .badge {
    color: #25A605;
    background-color: #ffffff;
}


.btn-color-viber {
    color: #FFFFFF;
    background-color: #6D4AE0;
    border-color: #6D4AE0;
}

.btn-color-viber:hover,
.btn-color-viber:focus,
.btn-color-viber:active,
.btn-color-viber.active,
.open .dropdown-toggle.btn-color-viber {
    color: #FFFFFF;
    background-color: #5F3EC9;
    border-color: #6D4AE0;
}

.btn-color-viber:active,
.btn-color-viber.active,
.open .dropdown-toggle.btn-color-viber {
    background-image: none;
}

.btn-color-viber.disabled,
.btn-color-viber[disabled],
fieldset[disabled] .btn-color-viber,
.btn-color-viber.disabled:hover,
.btn-color-viber[disabled]:hover,
fieldset[disabled] .btn-color-viber:hover,
.btn-color-viber.disabled:focus,
.btn-color-viber[disabled]:focus,
fieldset[disabled] .btn-color-viber:focus,
.btn-color-viber.disabled:active,
.btn-color-viber[disabled]:active,
fieldset[disabled] .btn-color-viber:active,
.btn-color-viber.disabled.active,
.btn-color-viber[disabled].active,
fieldset[disabled] .btn-color-viber.active {
    background-color: #6D4AE0;
    border-color: #6D4AE0;
}

.btn-color-viber .badge {
    color: #6D4AE0;
    background-color: #FFFFFF;
}

.master_service_item_hover:hover .btn-service {
    border: 1px solid #ae72ff;
    background-color: #ffffff;
    color: #dfc1ff;
}

.btn-service.active:focus,
.btn-service.focus,
.btn-service:focus,
.btn-service {
    background-color: #ffffff;
    color: #dfc1ff;
    border: 1px solid #ae72ff;
    width: 33px;
    height: 33px;
    line-height: 22px;
    padding: 4px;
}
.btn-service.active:hover,
.btn-service.active:focus,
.btn-service.active {
    border: 1px solid #7e10c8;
    background-color: #a611ff;
    color: #ffffff;
    box-shadow: none;
    -webkit-box-shadow: none;
}
.btn-service:active {
    box-shadow: none;
    -webkit-box-shadow: none;
}
.btn-service:after{
    padding-left: 2px;
    content:"\e013";
    font-family:"Glyphicons Halflings";
}
.btn-service.active:after{
    padding-left: 0;
    content:"\e013";
    font-family:"Glyphicons Halflings";
}


.btn-time.active:focus,
.btn-time.focus,
.btn-time:focus,
.btn-time {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #ae72ff;
    min-width: 58px;
    padding: 5px 10px;
    margin: 3px 3px;
    border-radius: 7px;
}
.btn-time.active:hover,
.btn-time.active:focus,
.btn-time.active {
    border: 1px solid #7e10c8;
    background-color: #a611ff;
    color: #ffffff;
    box-shadow: none;
    -webkit-box-shadow: none;
}
.btn-time:active {
    box-shadow: none;
    -webkit-box-shadow: none;
}
.btn-time:hover {
    border: 1px solid #7e10c8;
    background-color: #f5f2ff;
    color: #7e10c8;
}

/*---------------------------------*/


.modal_center {
    text-align: center;
    padding: 0!important;

}

.modal_center:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -4px;
}



.modal_dialog_center {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}



/* ------------------------------------------ client page  ---------------------------*/

.show_more_events {
    text-align: center;
    padding-bottom: 15px;
}
.ap_bg_canceled{
    background-color: #FFFAF0;
}

.ap_bg_done{
    background-color: #F9FEF1;
}

.ap_bg_progress{
    background-color: #f7fcfe;
}

.ap_txt_canceled{
    color: #FF3300;
}

.ap_txt_done{
    color: #009900;
}

.ap_txt_progress{
    color: #1d5cff;
}


.ap_wrapper{
    display: table;
    width: 100%;
}

.ap_left,
.ap_right {
    display: table-cell;
    vertical-align: top;
}

.ap_left {
    width: 100%;
}

.ap_right {
    text-align: right;
}


.ap_avatar {
    float: left;
    margin-right: 10px;
    width: 100px;
    height: 100px;
}

.ap_item {
    margin-bottom: 4px;
}

.ap_item_date {
    margin-bottom: 2px;
}

.ap_font_big {
    font-size: 1.2em;
}


.ap_font_review_control {
    font-size: 0.9em;
}

.text_095 {
    font-size: 0.95em;
}

.ap_font_bold {
    font-weight: bold;
}

.ap_status {
    font-size: 0.9em;
    font-weight: normal;
    vertical-align: top;
}


.ap_nowrap_ellipsis{
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.ap_right_button:not(:last-child) {
    margin-bottom: 5px;
}

.ap_right_button {
    min-width: 140px;
}

.ap_item_services {
    margin-left: 110px;
}

.vertical_middle {
    vertical-align: middle;
}

.ap_item_review {
    background-color: #FFFDF2;
    border: 1px solid #EBD8C5;
    border-radius: 5px;
    padding: 5px 7px;
    margin-top: 7px;
}

.ap_item_review_warn {
    display: none;
    font-size: 0.9em;
    line-height: 1.1em;
    vertical-align: middle;
    padding: 6px;
    margin: 3px 0;
    border-radius: 4px;
    color: #ff4f22;
    text-align: right;

}

.block_review_text {
    padding: 2px 0px;
}

.clear_both {
    clear: both;
}

.ap_review_comment {
    color: #555555;
    clear: both;
    padding: 4px 6px 3px 6px;
    margin-top: 5px;
    background-color: #FFF2CA;
    border-radius: 5px;
}

.ap_review_inp {
    margin: 4px 0;
}

.align_right {
    text-align: right;
}


.master_item_review {
    background-color: #FFFDF2;
    border: 1px solid #EBD8C5;
    border-radius: 5px;
    padding: 5px 7px;
}


.master_item_review_margin:not(:first-child) {
    margin-top: 7px;
}

.master_item_review_name {
    padding-top: 3px;
}

.master_about_font {
    font-size: 1em;
}


.master_sticker a {
    color: #fec1ff;
}

@media (max-width:767px)  {

    .master_about_font {
        font-size: 0.95em;
    }


    .ap_wrapper{
        display: block;
    }

    .ap_font_big {
        font-size: 1.1em;
    }


    .ap_left {
        display: block;
    }
    .ap_right {
        display: block;
        margin-top: 5px;
    }

    .ap_right_button:not(:last-child) {
        margin-bottom: 0;
        margin-right: 4px;

    }

    .ap_right_button {
        min-width: 10px;
    }

    .ap_avatar {
        margin-right: 8px;
        width: 70px;
        height: 70px;
    }

    .ap_item_review,
    .ap_item_services {
        clear: both;
        margin-left: 0;
        margin-top: 5px;
    }




}


@media (max-width:479px)  {
    .ap_font_big {
        font-size: 1.05em;
    }

    .ap_font_review_control {
        font-size: 1em;
    }

    .hidden-xxs {
        display: none;
    }

    .master_item_review_name {
        clear: both !important;
        float: none !important;
    }
}


/* ------------------------------------------ oline page  ---------------------------*/

.online_together_table {
    display: table;
    table-layout:fixed;
    width: 100%;
}

.online_together_table:not(:last-child) {
    margin-bottom: 7px;
}

.online_together_img {
    width: 44px;
}

.online_together_right {
    vertical-align: middle;
    padding-left: 5px;
}

.online_title {
    padding: 8px 5px 16px 5px;
    margin: 0;
    font-size: 1.25em;
    color: #4a62ab;
}

.online_text {
    padding: 2px 5px 18px 6px;
    margin: 0;
    font-size: 0.9em;
    color: #6e6f72;
}

.online_not_found {
    text-align: center;
    padding: 0px 5px 5px 5px;
    font-size: 1.25em;
    color: #777777;
}

.show_more_masters {
    text-align: center;
    margin-bottom: 12px;
}

.show_more_reviews {
    text-align: center;
}

.show_more_reviews_btn {
    margin-top: 7px;
}

.cat_item {
    margin-bottom: 4px;
}

.cat_wrapper{
    display: table;
    width: 100%;
}


.cat_left {
    display: table-cell;
    width: 100%;
    vertical-align: top;
}

.cat_right {
    display: table-cell;
    text-align: right;
    padding-left: 7px;
    vertical-align: bottom;

}

.cat_avatar {
    float: left;
    margin-right: 10px;
    width: 135px;
    height: 135px;
}

.cat_portfolio {
    width: 400px;
}

.cat_name {
    font-size: 1.2em;
}

.cat_icon {
    color: #b4a6dd;
    font-weight: bold;
}

.cat_rateit {
    padding-bottom: 4px;
    cursor: pointer;
}

.c_pointer {
    cursor: pointer;
}

.cat_rating_wrapper {
    display: inline;
    position: relative;
}

.cat_rating {
    background: url('/data/images/star_gray.png') repeat-x 0 0;
    width: 80px;
    height: 16px;
    display: inline-block;
    position: absolute;
    left: 4px;
    top: -1px;

}

.cat_rating_simple {
    background: url('/data/images/star_gray.png') repeat-x 0 0;
    width: 80px;
    height: 16px;
    display: inline-block;
    margin-top: 3px
}
.cat_rating_star {
    background: url('/data/images/star_gold.png') repeat-x 0 0;
    height: 16px;
    display: block;
}

.cat_font_data {
    font-size: 1em;
}

.cat_control {
    padding-top: 7px;
}

@media (max-width:991px) {

    .cat_item_limit {
        max-width: 330px;
    }

    .cat_portfolio {
        width: 260px;
    }

    .cat_avatar {
        width: 105px;
        height: 105px;
    }

    .cat_professions,
    .cat_address {
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

}

.cat_empty_gallery_before {
    display: table-cell;
}

.cat_empty_gallery_after {
    display: none;
}

@media (max-width:767px) {

    .cat_empty_gallery_before {
        display: none;
    }

    .cat_empty_gallery_after {
        display: table-cell;
    }

    .cat_item_limit {
        max-width: 100%;
    }

    .cat_empty_gallery {
        display: none !important;
    }

    .cat_portfolio_wrapper {
        display: table;
        width: 100%;
    }

    .cat_portfolio {
        width: 270px;
    }

    .cat_control {
        display: table-cell;
        text-align: right;
        vertical-align: bottom;
    }

    .cat_avatar {
        width: 105px;
        height: 105px;
        margin-right: 7px;
    }

    .cat_wrapper{
        display: block;
    }

    .cat_left {
        display: block;
    }

    .cat_right {
        clear: both;
        display: block;
        padding-top: 7px;
        padding-left: 0px;
    }
}

@media (max-width:479px)  {
    .cat_portfolio {
        width: 220px;
    }

    .cat_name {
        font-size: 1em;
    }

    .cat_font_data {
        font-size: 0.9em;
    }

}

@media (max-width:370px)  {
    .cat_portfolio {
        width: 100%;
        float: none;

    }

    .cat_portfolio_wrapper {
        display: block;

    }

    .cat_control {
        display: block;
        text-align: right;
        vertical-align: bottom;
    }

}


.highlight_disable {
    outline:0px !important;
    -webkit-appearance:none;
}


/* ------------------------------------------ search module  ---------------------------*/


.search_panel {
    margin: 5px 0px 10px 0px;
    padding: 8px 8px 4px 8px;
    text-align: center;
    background-color: #fff;
    border: 1px solid #d5ecff;
    border-radius: 4px;
}

.search_panel_index {
    display: inline-block;
    margin: 0px 10px;
}

.search_block {
    display: inline-block;
}
.search_table {
    display: table;
}

.search_cell {
    display: table-cell;
    vertical-align: middle;
}

.search_icon {
    font-size: 1.8em;
    color: #ddbcec;
    vertical-align: top;
    margin: 0px 10px;
}

.search_input {
    background-color: #fff6fe;
    border: 1px solid #c09be8;
    border-radius: 5px;
    padding: 7px 10px;
    font-size: 1.3em;
    width: 250px;
    color: #53268e;
}

.search_input_warn {
    background-color: #fffafa;
    border: 1px solid #e8172e;
}

.search_icon_warn {
    color: #e8172e;
}

.search_btn {
    padding: 8px 15px;
    margin-left: 15px;
}

.dropdown-menu {
    font-size: 1.2em;
    height: auto;
    min-width: 10px;
    max-height: 500px;
    overflow-x: hidden;
    padding: 3px;
}

.dropdown-menu > li > a {
    padding: 5px 10px;
}

@media (max-width:767px) {
    .search_icon {
        font-size: 1.6em;
        margin: 0px 5px;
    }

    .search_input {
        padding: 5px 7px;
        font-size: 1.2em;
        width: 220px;
    }

    .dropdown-menu {
        font-size: 1.1em;
        min-width: 220px;
    }

    .search_btn {
        padding: 6px 12px;
        margin-left: 10px;
    }

}

@media (max-width:621px) {
    .search_panel_index,
    .search_block {
        display: block;
    }

    .search_table {
        width: 100%;
    }

    .search_icon_cell {
        width: 1%;
    }

    .search_block:not(:last-child) {
        margin-bottom: 7px;
    }

    .search_icon {
        font-size: 1.4em;
        margin-left: 0px;
    }

    .search_input {
        width: 100%;
        padding: 4px 5px;
        font-size: 1.1em;
    }

    .search_btn {
        padding: 4px 10px;
        margin-left: 7px;
    }

    .search_panel {
        padding: 8px;
    }

    .dropdown-menu {
        font-size: 1.1em;
        min-width: 60%;
        padding: 1px;
    }

    .dropdown-menu > li > a {
        padding: 7px 10px;
    }

}

/* ----------------------  index --------------------------*/
.index_before_search {
    padding-top: 30px;
    padding-bottom: 35px;
}

.index_logo_img {
    float: left;
    width: 62px;
    height: 62px;
    margin-right: 8px;
}

.index_logo_txt {
    font-size: 2em;
}

.index_after_search {
    padding: 25px 0px;
}

.index_for_master_txt {
    font-size: 1.3em;
}

.general_err_txt {
    font-size: 1.3em;
    padding: 15px 20px;
    color: #9117FF;
    margin: 10px;
    border-radius: 10px;
    background-color: #FAF4FF;
    border: 1px solid #F3E6FF;
    display: inline-block;
}

.general_err_go_back {
    font-size: 1.3em;
    padding: 15px;
}

@media (max-width:767px)  {
    .index_logo_img {
        width: 56px;
        height: 56px;
        margin-right: 7px;
    }

    .index_logo_txt {
        font-size: 1.8em;
    }

    .index_for_master_txt {
        font-size: 1.2em;
    }

    .general_err_txt {
        font-size: 1.2em;
        padding: 10px 15px;
    }

    .general_err_go_back {
        font-size: 1.2em;
        padding: 10px;
    }


}

@media (max-width:620px)  {
    .index_logo_img {
        width: 50px;
        height: 50px;
        margin-right: 5px;
    }

    .index_logo_txt {
        font-size: 1.5em;
    }

    .index_for_master_txt {
        font-size: 1.1em;
    }

    .general_err_txt {
        font-size: 1.1em;
        padding: 8px 12px;
        margin: 5px 0px;
    }

    .general_err_go_back {
        font-size: 1em;

    }

}




.col-ms-1,
.col-ms-2,
.col-ms-3,
.col-ms-4,
.col-ms-5,
.col-ms-6,
.col-ms-7,
.col-ms-8,
.col-ms-9,
.col-ms-10,
.col-ms-11,
.col-ms-12 {position:relative; padding-left:15px; padding-right:15px;}
@media (max-width: 480px) {
    .container {max-width:461px;}
    .col-ms-1,
    .col-ms-2,
    .col-ms-3,
    .col-ms-4,
    .col-ms-5,
    .col-ms-6,
    .col-ms-7,
    .col-ms-8,
    .col-ms-9,
    .col-ms-10,
    .col-ms-11 {float:left;}
    .col-ms-1 {width:8.33333333%;}
    .col-ms-2 {width:16.66666667%;}
    .col-ms-3 {width:25%;}
    .col-ms-4 {width:33.33333333%;}
    .col-ms-5 {width:41.66666667%;}
    .col-ms-6 {width:50%;}
    .col-ms-7 {width:58.33333333%;}
    .col-ms-8 {width:66.66666667%;}
    .col-ms-9 {width:75%;}
    .col-ms-10 {width:83.33333333%;}
    .col-ms-11 {width:91.66666667%;}
    .col-ms-12 {width:100%;}
    .col-ms-pull-0 {right:auto;}
    .col-ms-pull-1 {right:8.33333333%;}
    .col-ms-pull-2 {right:16.66666667%;}
    .col-ms-pull-3 {right:25%;}
    .col-ms-pull-4 {right:33.33333333%;}
    .col-ms-pull-5 {right:41.66666667%;}
    .col-ms-pull-6 {right:50%;}
    .col-ms-pull-7 {right:58.33333333%;}
    .col-ms-pull-8 {right:66.66666667%;}
    .col-ms-pull-9 {right:75%;}
    .col-ms-pull-10 {right:83.33333333%;}
    .col-ms-pull-11 {right:91.66666667%;}
    .col-ms-pull-12 {right:100%;}
    .col-ms-push-0 {left:auto;}
    .col-ms-push-1 {left:8.33333333%;}
    .col-ms-push-2 {left:16.66666667%;}
    .col-ms-push-3 {left:25%;}
    .col-ms-push-4 {left:33.33333333%;}
    .col-ms-push-5 {left:41.66666667%;}
    .col-ms-push-6 {left:50%;}
    .col-ms-push-7 {left:58.33333333%;}
    .col-ms-push-8 {left:66.66666667%;}
    .col-ms-push-9 {left:75%;}
    .col-ms-push-10 {left:83.33333333%;}
    .col-ms-push-11 {left:91.66666667%;}
    .col-ms-push-12 {left:100%;}
    .col-ms-offset-0 {margin-left:0;}
    .col-ms-offset-1 {margin-left:8.33333333%;}
    .col-ms-offset-2 {margin-left:16.66666667%;}
    .col-ms-offset-3 {margin-left:25%;}
    .col-ms-offset-4 {margin-left:33.33333333%;}
    .col-ms-offset-5 {margin-left:41.66666667%;}
    .col-ms-offset-6 {margin-left:50%;}
    .col-ms-offset-7 {margin-left:58.33333333%;}
    .col-ms-offset-8 {margin-left:66.66666667%;}
    .col-ms-offset-9 {margin-left:75%;}
    .col-ms-offset-10 {margin-left:83.33333333%;}
    .col-ms-offset-11 {margin-left:91.66666667%;}
    .col-ms-offset-12 {margin-left:100%;}
}

/* --------------- service categories  ---------------------------*/

.cat_services {
    padding-bottom: 4px;
    overflow-x: hidden;
}

.cat_serv_active,
.cat_serv_no_active {
    display: inline-block;
    margin-right: 2px;
    margin-bottom: 6px;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #6219ac;
    font-size: 1em;
}

.cat_serv_active {
    color: #ffffff;
    background-color: #6219ac;
}

.cat_serv_no_active {
    color: #6219ac;
    background-color: #ffffff;
}

.cat_serv_no_active:hover {
    background-color: #872fd6;
    border: 1px solid #872fd6;
    color: #ffffff;
}

.cat_service {
    cursor: pointer;
}

@media (max-width:479px)  {
    .cat_serv_active,
    .cat_serv_no_active {
        font-size: 0.85em;
    }

}


.dropdown_title {
    color:#f6cfff;
    padding: 4px 10px;
}

@media (max-width:767px)  {
    .dropdown_title {
        color:#f6cfff;
        padding: 4px 12px;
    }
}

.dropdown_city_prof {
    max-height: 208px;

    font-size: 1.2em;
    min-width: 250px;
    overflow-x: hidden;
    padding: 3px;
}

@media (max-width:767px)  {
    .dropdown_city_prof {
        max-height: 202px;

        font-size: 1.1em;
        min-width: 220px;
    }
}

@media (max-width:620px)  {
    .dropdown_city_prof {
        max-height: 146px;

        font-size: 1.1em;
        min-width: 60%;
        padding: 1px;
    }
}


.phone_wrapper {
    display: table;
    width: 100%;
}

.phone_cell {
    display: table-cell;
}

.phone_cell_added {
    width: 1%;
    padding-left: 5px;
}

.phone_cell_added .btn {
    position: relative;
    padding-left: 17px;
    padding-right: 17px;
}

.phone_cell_added .btn_img {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 25px;
    height: 25px;
}


.blueimp-gallery-controls > .description {
    display: block;
}

.blueimp-gallery > .description {
    display: block;
    position: absolute;
    left: 30px;
    right: 30px;
    overflow: visible;
}

.si_img {
    bottom: 20px;
    max-height: 20%;
}

.si_img_no {
    top: 50%;
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    max-height: 80%;
    bottom: auto !important;
}

.si_tmp {
    display: block;
    font-family: Helvetica, Arial, sans-serif;
    padding: 5px 8px;
    font-size: 0.9em;
    border: 1px solid #7e7e7e;
    border-radius: 5px;
    visibility: hidden;
}

.si_descr {
    display: block;
    position: absolute;
    top:0;
    bottom: 0;
    left:0;
    right: 0;
    border: 1px solid #7e7e7e;
    border-radius: 5px;
    word-wrap: break-word;
    color: #fff;
    background-color: rgba(0,0,0,0.75);
    font-size: 0.9em;
    font-family: Helvetica, Arial, sans-serif;
}

.si_descr_del {
    display: block;
    position: absolute;
    width: 28px;
    height: 28px;
    right: -6px;
    top: -14px;
    cursor: pointer;
    z-index: 100;
}

.si_descr_body {
    position: absolute;
    top:5px;
    bottom: 5px;
    left:8px;
    right: 8px;
    overflow: auto;
    text-align: center;
}

@media (max-width:767px)  {
    .blueimp-gallery > .description {
        left: 10px;
        right: 10px;
    }

    .si_img {
        bottom: 0;
    }
}

.loading_spinner {
    text-align: center;
    font-size: 20px;
    color: #843ad4;
    display: none;
}


.send_sms_method_title {
    padding: 2px 5px 7px 5px;
    font-size: 0.9em;
}

.s_cost_link {
    text-decoration: underline;
    cursor: pointer;
}

.s_cost_link:hover {
    text-decoration: none;
}

.grecaptcha-badge {
    visibility: hidden;
}

.sms_timer_title {
    padding-top: 18px;
    padding-bottom: 5px
}

.sms_timer_button {
    margin-top: 22px;
    margin-bottom: 2px
}


.yur_addr {
    padding: 0 10px 7px 10px;
    color: #cccccc;
    font-size: 13px;
}
@media (max-width: 767px) {
    .yur_addr {
        padding: 0 12px 7px 12px;
    }
}