/*{{{ =Layout*/                           

html
, body {
    height: 100%; 
}

body {
    font: 14px "Trebuchet MS", Arial, sans-serif;
    color: #666;
    background: #e6e6e6;
}

.group:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.h-l {
    overflow: hidden;
}

.clear {
    height: 1px;
    line-height: 0;
    font-size: 0;
    clear: both;
}

a {
    color: #7aa3cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    border: none;
}

/*}}}*/ 


/*{{{ =Header*/ 

header {
    /*background: url(../i/top-bg.png) 0 0 repeat-x #5c7999;*/
    background: #5c7a99;
    min-width: 990px;
}

header a {
    color: #fff;
}

.topnav {
    float: left;
}

.topnav li {
    float: left;
    border-right: 1px solid rgba(255,255,255,.1);
    position: relative;
}

.topnav li.active {
    /*background: url(../i/nav-active-bg.png) 0 0 repeat-x #779fc8;*/
    background: #3d5266;
}

.topnav a {
    display: block;
    padding: 19px 10px 19px 32px;
}

.nav-ic {
    display: block;
    width: 16px;
    height: 18px;
    background-image: url(../i/nav-ic.png);
    background-repeat: no-repeat;
    position: absolute;
    top: 19px; left: 10px;
    text-indent: -9999px;
    outline: none;
}

.nav-shedule .nav-ic {
    background-position: 0 0;
}

.nav-writing .nav-ic {
    background-position: 0 -18px;
}

.nav-clients .nav-ic {
    background-position: 0 -36px;
}

.nav-personal .nav-ic {
    background-position: 0 -54px;
}

.nav-store .nav-ic {
    background-position: 0 -72px;
}

.nav-leader .nav-ic {
    background-position: 0 -90px;
}

.nav-settings .nav-ic {
    background-position: 0 -108px;
}

.nav-finances .nav-ic {
    background-position: 0 -126px;
}

.nav-boss .nav-ic {
    background-position: 0 -144px;
}

.nav-news .nav-ic {
    background-position: 0 -162px;
}

.nav-finances2 .nav-ic {
    background-position: 0 -180px;
}

.nav-warehouse .nav-ic {
    background-position: 0 -198px;
}

.nav-shop .nav-ic {
    background-position: 0 -216px;
}

.b-topright {
    float: right;
    padding: 13px 10px 0 0;
    font-size: 12px;
    line-height: 100%;
}

.b-topright h2 {
    font-size: 14px;
    line-height: 100%;
    margin: 0 0 1px; 
    max-width: 210px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}

.logout {
    text-decoration: underline;
}

/*}}}*/


/*{{{ =H-content-wrap*/ 

.h-content-wrap {
    background: url(../i/content-bg1.png) 100% 0 repeat-y #fff;
    min-width: 990px;
}

.h-content-wrap2 {
    background: url(../i/content-bg2.png) 0 0 repeat-y;
}

.wide_type .h-content-wrap2 {
    background-position: -110px 0;
}

.h-content {
    width: 100%;
    float: right;
    margin-left: -120px;
}

.wide_type .h-content {
    float: none;
    margin: 0;
}

.h-content-inner {
    margin-left: 120px;
    padding: 20px 30px 7px 20px;
}

.wide_type .h-content-inner {
    margin: 0;
    padding: 20px 30px 50px;
}



input.text {
    width: 100%;
    height: 32px;
    margin: 0;
    padding: 6px 10px;
    border: 1px solid #d9d9d9;
    background: #fff;
    font: 14px "Trebuchet MS", Arial, sans-serif;
    color: #666;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.checklabel {
    display: block;
    padding: 0 0 0 22px;
}

.mycheck {
    float: left;
    width: 17px;
    height: 17px;
    position: relative;
    left: -22px;
    margin: 0 -22px 0 0;
}

.mycheck input.checkbox {
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0; left: 0;
    opacity: 0;
}

.mycheck .checkbox-fake {
    display: block;
    width: 17px;
    height: 17px;
    background: url(../i/checkbox.png) 0 0 no-repeat;
}

.checked .checkbox-fake {
    background-position: 0 -17px;
}

.radio {
    float: left;
    margin: 9px 0 0;
}

.radio li {
    float: left;
    min-height: 17px;
    line-height: 17px;
    margin: 0 20px 0 0;
}

.radio li.active {
    color: #7aa3cc;
}

.radio .radiolabel {
    display: inline-block;
}

.myradio {
    float: left;
    width: 17px;
    height: 17px;
    position: relative;
    margin: 0 4px 0 0;
}

.myradio input.radiobutt {
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0; left: 0;
    opacity: 0;
}

.myradio .radio-fake {
    display: block;
    width: 17px;
    height: 17px;
    background: url(../i/radiobutton.png) 0 0 no-repeat;
    position: absolute;
    top: 0; left: 0;
}

.checked .radio-fake {
    background-position: 0 -17px;
}

select {
    width: 100%;
    height: 32px;
    margin: 0;
    padding: 5px;
    border: 1px solid #d9d9d9;
    background: #fff;
    font: 14px "Trebuchet MS", Arial, sans-serif;
    color: #666;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;    
}

input.submit {
    height: 34px;
    margin: 0;
    padding: 5px 10px;
    border: 1px solid #7aa3cc;
    border-bottom: 1px solid #577491;
    border-radius: 1px;
    background: #7aa3cc;
    font: 16px "Trebuchet MS", Arial, sans-serif;
    color: #fff;
    cursor: pointer;
}

input.submit_var2 {
    border: 1px solid #d9d9d9;
    border-bottom: 1px solid #9e9e9e;
    background: #d9d9d9;
    color: #666;
}


.h-insert-wrap {
    padding: 20px 10px 20px 30px;
}

.insertbl {
    width: 100%;
}

.insertbl th {
    font-size: 16px;
    color: #000;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
    width: 126px;
    padding: 0 10px 0 0;
}

.insertbl th.col2 {
    width: 55px;
}

.insertbl td {
    text-align: left;
    vertical-align: middle;
    padding: 0 20px 0 0;
}

/*}}}*/


/*{{{ =Worker*/

.search {
    position: relative;
    margin: 0 0 15px;
    padding: 0 72px 0 0;
}

.search input.text {
    height: 40px;
    border-color: #7aa3cc;
    background: url(../i/lupa.png) 10px 50% no-repeat #fff;
    padding: 4px 13px 5px 44px;
    font-size: 24px;
    color: #4c4c4c;
}

.search input.text ::-webkit-input-placeholder { 
    color: #a6a6a6;
}

.search input#search-inp:-moz-placeholder { 
    color: #a6a6a6;
}

.search input.submit {
    width: 72px;
    height: 40px;
    display: block;
    position: absolute;
    top: 0; right: 0;
    padding: 8px 10px;
}


.b-worker {
    float: left;
    width: 49.9%;
    color: #4c4c4c;
}

.b-worker-img {
    float: left;
    margin: 0 10px 0 0;
    position: relative;
}

.worker-shadow {
    width: 83px;
    height: 83px;
    background: url(../i/img-shadow.png) 0 0 no-repeat;
    position: absolute;
    top: -3px; left: -3px;
}

.b-worker-img img {
    position: relative;
    display: block;
    padding: 5px;
    border: 1px solid #f5f5f5;
    background: #fff;
}

.b-worker .h-l {
    padding: 3px 30px 0 0;
}

.b-worker h2 {
    font-size: 18px;
    line-height: 100%;
    font-weight: normal;
    margin: 0 0 1px;
}

.b-worker h3 {
    font-size: 14px;
    font-weight: normal;
    margin: 0 0 15px;
}

.reload-photo {
    font-size: 12px;
    color: #0066cc;
    text-decoration: underline;
    padding: 0 0 0 22px;
    background: url(../i/reload-bul.png) 0 50% no-repeat;
}

.worker-about {
    float: right;
    width: 49.9%;
}

.worker-about label.lab {
    font-size: 12px;
    color: #a6a6a6;
    display: inline-block;
    margin: 0 0 3px;
}

.worker-about .checked .checkbox-fake {
    background-position: 0 -34px;
}

.btn-link {
    float: right;
    height: 23px;
    margin: 0 0 2px;
    padding: 5px 20px;
    border: 1px solid #7aa3cc;
    border-bottom: 1px solid #577491;
    border-radius: 1px;
    background: #7aa3cc;
    font: 16px "Trebuchet MS", Arial, sans-serif;
    color: #fff;
}

.btn-link_var2 {
    float: none;
    display: block;
    margin: 0;
    padding: 5px 0;
    border: 1px solid #d9d9d9;
    border-bottom: 1px solid #9e9e9e;
    background: #d9d9d9;
    color: #666;
    text-align: center;
}

.b-check {
    float: left;
    margin: 9px 0 2px;
    width: 250px;
}

/*}}}*/


/*{{{ =Clients*/ 

.search-2 {
    position: relative;
    margin: 0 0 15px;
    padding: 0 0 9px;
    border-bottom: 1px dotted #7f7f7f;
}

.search-2 table {
    width: 100%;
}

.search-2 table th {
    padding: 0 0 2px 10px;
    font-size: 12px;
    font-weight: normal;
    color: #a6a6a6;
    text-align: left;
    vertical-align: top;
}

.search-2 table td {
    padding: 0 0 10px 10px;
}

.search-2 table td.f-td {
    padding: 0 0 10px;
    width: 24px;
}

.search-2 table td.btn-td {
    width: 64px;
}

.search-2 input.text {
    border-color: #7aa3cc;
}

.search-2 input.submit {
    width: 64px;
}


.b-client {
    color: #4c4c4c;
    padding: 0 122px 0 0;
    position: relative;
}

.b-client-img {
    float: left;
    margin: 0 10px 0 0;
    position: relative;
}

.client-shadow {
    width: 83px;
    height: 83px;
    background: url(../i/img-shadow.png) 0 0 no-repeat;
    position: absolute;
    top: -3px; left: -3px;
}

.b-client-img img {
    position: relative;
    display: block;
    padding: 5px;
    border: 1px solid #f5f5f5;
    background: #fff;
}

.b-client .h-l {
    padding: 3px 30px 0 0;
}

.b-client h2 {
    font-size: 18px;
    line-height: 100%;
    font-weight: normal;
    margin: 0 0 8px;
}

.b-client .st {
    margin: 0 0 0 7px;
    padding: 0 0 0 20px;
    font-size: 14px;
}

.b-client .st_active {
    color: #4c9900;
    background: url(../i/active.png) 0 50% no-repeat;
}

.cl-info li {
    float: left;
    width: 33.3%;
    padding: 0 0 5px;
    background-position: 0 1px;
    background-repeat: no-repeat;
}

.cl-info .phone-li {
    background-image: url(../i/phone-li-bul.png);
}

.cl-info .email-li {
    background-image: url(../i/email-li-bul.png);
}

.cl-info .card-li {
    background-image: url(../i/card-li-bul.png);
}

.cl-info-inner {
    padding: 0 20px;
}

.b-client p {
    font-size: 12px;
}

.b-client a {
    color: #0066cc;
    text-decoration: underline;
}

.b-client .all_clients_link {
    width: 122px;
    padding: 5px 0;
    text-align: center;
    color: #fff;
    text-decoration: none;
    position: absolute;
    top: 0; right: 0;
}


.b-client-sms {
    padding: 0 0 30px;
}

.b-client-sms h2 {
    font-size: 18px;
    line-height: 100%;
    font-weight: normal;
    margin: 0;
}

.b-client-sms .btn-link {
    margin: 0 0 47px;
}

.b-client-sms .classic-tbl td {
    background: #f7f7f7;
}

.b-client-sms .classic-tbl .pager {
    margin: 0;
    padding: 5px 0;
    border: none;
    float: left;
}

.b-client-sms .classic-tbl .all {
    float: right;
    padding: 5px 0;
}

/*}}}*/


/*{{{ =Subcontent*/  

.h-subcontent-wrap {
    position: relative;
    left: -10px;
    margin: 0 -20px 0 0;
    padding: 15px 0 0;
}

.h-subcontent-inner-wrap {
    width: 100%;
    float: right;
    margin-left: -185px;
}

.h-subcontent-inner {
    margin-left: 185px;
    padding: 17px 20px 20px;
    min-height: 300px;
    background: #f2f2f2;
}

.personal-form fieldset {
    border-bottom: 1px dotted #797979;
    margin: 0 0 7px;
    padding: 0 0 3px;
}

.b-personal-table {
    position: relative;
    left: -20px;
    margin: 0 -20px 0 0;
}

.personal-form table {
    width: 100%;
}

.personal-form th 
, .personal-form td {
    width: 33.3%;
    text-align: left;
    vertical-align: top;
    padding: 0 0 7px;
}

.personal-form th {
    font-size: 12px;
    font-weight: normal;
    color: #a6a6a6;
    padding-bottom: 2px;
}

.b-form-mar {
    padding: 0 0 0 20px;
}

.b-padd {
    padding: 0 30px 0 0;
    position: relative;
}

.b-padd2 {
    padding: 0 75px 0 0;
    position: relative;
}

.b-padd3 {
    padding: 0 0 0 61px;
    position: relative;
}

.b-padd4 {
    padding: 0 0 0 112px;
    position: relative;
}

.b-padd4 label.checklabel {
    float: left;
    width: 85px;
    position: absolute;
    top: 0; left: 0;
    line-height: 110%;
}

.b-padd5 {
    padding: 0 35px 0 0;
    position: relative;
}

.radio .b-padd5 {
    width: 37px;
    display: inline-block;
    margin: 0 0 0 5px;
}

.b-padd6 {
    padding: 0 65px 0 0;
    position: relative;
}

.b-padd7 {
    padding: 0 85px 0 0;
    position: relative;
}

.b-padd8 {
    width: 36px;
    padding: 0 34px 0 0;
    position: relative;
}

.b-padd7 select.short {
    width: 75px;
    position: absolute;
    top: 0; right: 0;
}

.rur
, .pers {
    display: block;
    width: 28px;
    position: absolute;
    top: 0; right: 0;
    line-height: 32px;
}

.b-padd6 .rur {
    right: 30px;
}

.b-s {
    width: 51px;
    position: absolute;
    top: 0; left: 0;
}

.b-gender {
    width: 63px;
    position: absolute;
    top: 0; right: 0;
}

.b-gender label {
    display: inline-block;
    font-size: 12px;
    color: #a6a6a6;
    position: absolute;
    top: -17px; left: 0;
}

.plus-link {
    display: block;
    width: 23px;
    height: 23px;
    background: url(../i/plus.png) 0 0 no-repeat;
    position: absolute;
    top: 4px; right: 0;
    text-indent: -9999px;
    outline: none;
}

.minus-link {
    display: block;
    width: 23px;
    height: 23px;
    background: url(../i/minus.png) 0 0 no-repeat;
    position: absolute;
    top: 4px; right: 0;
    text-indent: -9999px;
    outline: none;
}

.b-submit-wrap {
    text-align: right;
}

.b-submit-wrap input.submit {
    margin: 0 0 0 7px;
    width: 160px;
}


.b-datepicker-wrap {
    position: relative;
}

.ui-datepicker-trigger {
    display: block;
    position: absolute;
    top: 0; right: 0;
    cursor: pointer;
}

#ui-datepicker-div {
    margin-top: 35px;
    width: 210px;
    background: #f2f2f2;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.35);
}


.ui-autocomplete {
    background: #fff;
    border: 1px solid #7aa3cc;
    border-top: none;
    padding: 10px;
    font: 18px "Trebuchet MS", Arial, sans-serif;
    color: #4c4c4c;
}

.ui-autocomplete .ui-menu-item a {
    color: #4c4c4c;
    margin: 0;
    padding: 5px 10px;
}

.ui-autocomplete .ui-menu-item a.ui-state-focus 
, .ui-autocomplete .ui-menu-item a.ui-state-active {
    color: #4c4c4c;
    background: #dee8f2;
    border: none;
    margin: 0;
}


.calendar-btn {
    display: block;
    width: 31px;
    height: 32px;
    background: url(../i/datepicker.png) 0 0 no-repeat;
    position: absolute;
    top: 0; right: 0;
    cursor: pointer;
}


.h-asidebar {
    float: left;
    width: 185px;
}

.asidenav li {
    font-size: 16px;
    padding: 7px 10px;
}

.asidenav .active {
    background: #f2f2f2;
}

.asidenav a {
    display: inline-block;
    color: #a6a6a6;
    padding: 0 0 0 25px;
    background: url(../i/asidenav-bul.png) 0 3px no-repeat;
}

.asidenav .active a {
    background-position: -985px 3px;
    color: #7aa3cc;
}

.asidenav a:hover {
    color: #808080;
}

/*}}}*/


/*{{{ =Workers list*/ 

.h-works-list-wrap {
    padding: 5px 0 0;
}

input.addwork-btn {
    float: right;
    padding: 5px 20px;
}


.workers-table {
    width: 100%;
    margin: 10px 0 0;
}

.workers-table th {
    background: #e6e6e6;
    border-left: 1px solid #f2f2f2;
    text-align: left;
    vertical-align: middle;
    color: #4c4c4c;
    padding: 4px 10px;
}

.workers-table th:first-child {
    border-color: #e6e6e6;
}

.workers-table th h3 {
    font-size: 14px;
    text-shadow: 0 1px rgba(255,255,255,.5);
    margin: 6px 0;
}

.workers-table select {
    width: 100px;
    height: 23px;
    margin: 0 0 6px;
    padding: 0;
}

.workers-table td {
    border: 1px solid #d9d9d9;
    padding: 9px 10px;
    text-align: left;
    vertical-align: middle;
    color: #4c4c4c;
}

.workers-table td.ics {
    width: 76px;
    text-align: center;
}

.workers-table tr.colored td {
    background: #f7f7f7;
}

.gr-ic
, .stat-ic {
    margin: 0 4px;
}

.h-works-list-wrap a {
    color: #0066cc;
    text-decoration: underline;
}


.pager {
    border: 1px solid #d9d9d9;
    border-top: none;
    margin: 0 0 10px;
    padding: 13px 10px;
    color: #4c4c4c;
}

.h-writings .pager {
    border-color: #bfbfbf;
    padding: 7px 10px;
}

.pager li {
    float: left;
    margin: 0 13px 0 0;
}

.h-calculate-wrap2 .pager {
    border: none;
    margin: 0;
    padding: 0;
}

.h-calculate-wrap2 .pager a {
    color: #0066cc;
    text-decoration: underline;
}

/*}}}*/


/*{{{ =Grafik*/   

.subcont-tabs {
    background: #fff;
    position: relative;
    top: -17px; left: -20px;
    margin: 0 -40px -17px 0;
    padding: 7px 0 0;
}

.subcont-tabs li {
    float: left;
    margin: 0 1px 0 0;
    padding: 10px 20px;
    height: 20px;
    border: 1px solid #d9d9d9;
    border-bottom: none;
    background: #fff;
    font-size: 16px;
}

.subcont-tabs li.active {
    position: relative;
    top: -10px;
    margin: 0 1px -10px 0;
    padding: 15px 20px;
    border-color: #f2f2f2;
    background: #f2f2f2; 
    font-weight: bold;
}

.subcont-tabs a {
    color: #808080;
}


.subcont-tabs li.spec-tab {
    float: right;
    margin: 0;
    padding: 0;
    height: auto;
    border: none;
    font-size: 14px;
}


.h-weeks-list-border-wrap {
    border-bottom: 1px dotted #797979;
    margin: 0 0 10px;
}

.weeks-list {
    float: left;
    width: 47.6%;
}

.weeks-list_2 {
    float: right;
}

.weeks-list li {
    margin: 0 0 10px;
}

.weeks-list label {
    float: left;
    width: 40px;
    margin: 2px 0 0;
}

.weeks-list select {
    float: left;
    width: 18%;
    height: 23px;
    padding: 0;
}

.week-selects {
    padding: 0 0 0 62px;
}

.week-selects-add {
    padding: 10px 0 0 62px;
    display: none;
}

.weeks-list .ele {
    float: left;
    line-height: 23px;
    margin: 0 3px;
}

.weeks-list .plus-link 
, .weeks-list .minus-link {
    position: static;
    float: left;
    margin: 0 0 0 5px;
}


.h-daytoday {
    border-bottom: 1px dotted #797979;
    margin: 0 0 10px;
    padding: 0 0 8px;
}

.h-daytoday td {
    text-align: left;
    vertical-align: middle;
    padding: 0 5px 0 0;
}

.h-daytoday select {
    width: 55px;
    height: 23px;
    padding: 0;
}

.h-daytoday input.text {
    width: 120px;
    height: 23px;
    padding: 0 10px;
}

.h-daytoday .ui-datepicker-trigger {
    position: static;
    display: inline-block;
    vertical-align: middle;
}


.h-dayfree {
    border-bottom: 1px dotted #797979;
    margin: 0 0 10px;
    padding: 0 0 10px;
}


.h-grafik-head {
    background: #808080;
    position: relative;
    padding: 13px 50px 12px;
    text-align: center;
}

.h-grafik-head h2 {
    font-size: 24px;
    font-weight: normal;
    line-height: 100%;
    color: #fff;
}

.h-grafik-head .larr
, .h-grafik-head .rarr {
    display: block;
    width: 24px;
    height: 24px;
    background: url(../i/arrows.png) 0 0 no-repeat;
    position: absolute;
    top: 50%; left: 12px;
    margin-top: -12px;
    cursor: pointer;
    text-indent: -9999px;
    outline: none;
}

.h-grafik-head .rarr {
    background-position: 0 -24px;
    left: auto; right: 12px;
}

.grafik-table {
    border: 2px solid #808080;
    border-top: none;
    width: 100%;
    table-layout: fixed;
    margin: 0 0 10px;
}

.grafik-table td {
    border: 1px solid #808080;
    background: #f2f2f2;
    width: 14.3%;
    height: 38px;
    text-align: left;
    vertical-align: top;
}

.grafik-table td.work-td {
    background: #fff;
}

.grafik-table td.sick-td {
    background: #f7dfdf;
}

.grafik-table td.rest-td {
    background: #f7dfdf;
}

.grafik-table td.spec-td {
    background: #dff7df;
}

.grafik-table td.vacation-td {
    background: #dfebf7;
}

.wtd-wr {
    height: 100%;
    position: relative;
    min-width: 78px;
    padding: 0 5px;
}

.popup-opener-active {
    outline: 4px solid #7aa3cc;
}

.wtd-date {
    display: block;
    width: 25px;
    position: absolute;
    top: 4px; left: 5px;
    font-size: 18px;
    font-weight: bold;
    line-height: 100%;
    color: #4c4c4c;
}

.non-working-td .wtd-date
, .weekend-td .wtd-date {
    color: #cc7a7a;
}

.rest-td .wtd-date {
    color: #cc7a7a;
}


.wtd-ic {
    display: block;
    width: 17px;
    height: 18px;
    background-image: url(../i/grafik-ic.png);
    background-repeat: no-repeat;
    position: absolute;
    top: 5px; right: 5px;
    text-indent: -9999px;
    overflow: hidden;
    outline: none;
}

.dl-col dl .wtd-ic {
    top: 0; right: auto; left: 0;
}

.wtd-ic_work {
    background-position: 0 0;
}

.wtd-ic_sick {
    background-position: 0 -18px;
}

.wtd-ic_rest {
    background-position: 0 -126px;
}

.wtd-ic_spec {
    background-position: 0 -144px;
}

.wtd-ic_vacation {
    background-position: 0 -36px;
}

.wtd-ic_vacation2 {
    background-position: 0 -108px;
}

.wtd-ic_overtime {
    background-position: 0 -54px;
}

.wtd-ic_trip {
    background-position: 0 -72px;
}

.wtd-ic_decree {
    background-position: 0 -90px;
}

.wtd-time {
    font-size: 9px;
    line-height: 110%;
    color: #4c4c4c;
    display: block;
    width: 100%;
    padding: 24px 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dl-col {
    float: left;
    width: 33.2%;
    min-height: 70px;
    border-left: 1px dotted #797979;
}

.dl-col_var2 {
    width: 24.9%;
    min-height: 45px;
}

.dl-col dl {
    margin: 0 30px 5px 0;
    padding: 0 0 0 20px;
}

.dl-col_first {
    border: none;
}

.dl-col_first dl {
    padding: 0;
}

.dl-col dl dt {
    width: 25px;
    height: 18px;
    float: left;
    position: relative;
}

.dl-col dl dd {
    overflow: hidden;
}

.dl-col input.submit {
    float: right;
    margin: 18px 0 0;
    padding: 5px 35px;
}


.h-state_grafik-wrap {
    padding: 5px 0 0;
}

.state-grafik-filter {
    padding: 0 0 20px;
}

.state-grafik-filter .b-datepicker-wrap {
    float: left;
    width: 220px;
    padding: 0 30px 0 0;
}

.state-grafik-filter .b-datepicker-wrap_wide {
    width: 260px;
}

.state-grafik-filter .radio {
    float: right;
}

.state-grafik-filter .radio li {
    margin: 0 0 0 20px;
}

.h-auto-wrap2 {
    height: 404px;
    overflow: auto;
    margin: 0 0 10px;
    padding: 0 10px 0 0;
    color: #4c4c4c;
}

.state-grafik-table {
    width: 100%;
}

.state-grafik-table th {
    background: #fff;
    border: 1px solid #d9d9d9;
    font-weight: normal;
    padding: 6px 2px;
    text-align: center;
    vertical-align: middle;
}

.state-grafik-table th.weekend {
    color: #cc7a7a;
}

.state-grafik-table tr.head2 th {
    background: #d9d9d9;
    font-weight: bold;
    text-align: left;
    padding: 6px 10px;
}

.state-grafik-table th.al-l {
    text-align: left;
    padding: 6px 10px;
}

.state-grafik-table td {
    background: #f2f2f2;
    border: 1px solid #d9d9d9;
    text-align: center;
    vertical-align: middle;
    padding: 6px 2px;
    color: #808080;
}

.state-grafik-table td.work {
    background: #fff;
}

.state-grafik-table td.half-work1 {
    background: url(../i/half-work-ic1.png) 50% 50% no-repeat;
    background-size: 100% 100%;
}

.state-grafik-table td.half-work2 {
    background: url(../i/half-work-ic2.png) 50% 50% no-repeat;
    background-size: 100% 100%;
}

.state-grafik-table td.sick {
    background: #f7dfdf;
    color: #cc8585;
}

.state-grafik-table td:hover 
, .state-grafik-table .popup-opener-active {
    outline: 1px solid #7aa3cc;
}

.state-grafik-table a {
    color: #0066cc;
    text-decoration: underline;
}

.state-grafik-table .highlight {
    background: #e6eaee !important;
}

.state-grafik-table .work.highlight
, .state-grafik-table .half-work.highlight
, .state-grafik-table th.highlight {
    background: #f1f6fa !important;
}

.state-grafik-table tr.head2 th.highlight {
    background: #cfd3d8 !important;
}

.state-grafik-table .sick.highlight {
    background: #ead9dd !important;
}


.h-sett-grafik-info-wrap .gr {
    font-size: 16px;
    color: #4c4c4c;
    margin: 0 0 15px;
}

.h-sett-grafik-info-wrap .gr.fl {
    float: left;
    margin: 7px 0 0;
}

.h-sett-grafik-info-wrap .weeks-list {
    float: none;
    width: 100%;
    padding: 0 0 10px;
}

.h-sett-grafik-info-wrap .weeks-list select {
    width: 50px;
}

.h-sett-grafik-info-wrap .h-grafik-table-wrap {
    margin: 0 0 15px;
    padding: 0 37% 5px 0;
    border-bottom: 1px dotted #7f7f7f;
    position: relative;
}

.h-sett-grafik-info-wrap .gr-cal-info {
    width: 35%;
    position: absolute;
    top: 0; right: 0;
    font-size: 14px;
    color: #4c4c4c;
}

.h-sett-grafik-info-wrap .wtd-wr {
    min-width: 62px;
}

.h-sett-grafik-info-wrap .dl-col {
    border: none;
    min-height: 5px;
}

.h-sett-bord-wrap {
    border-bottom: 1px dotted #7f7f7f;
    margin: 0 0 15px;
    padding: 0 0 10px;
}

.sett-photoes li {
    float: left;
    margin: 0 10px 10px 0;
}

.sett-photoes img {
    float: left;
    margin: 0 5px 0 0;
    padding: 5px;
    background: #fff;
    border: 1px solid #dfdfdf;
}

.sett-photoes .dell {
    float: left;
    background: url(../i/del-bul.png) 0 0 no-repeat;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.sett-photo-add-link {
    display: inline-block;
    color: #0066cc;
    font-size: 12px;
    line-height: 14px;
    text-decoration: underline;
    padding: 0 0 0 22px;
    background: url(../i/photo2.png) 0 50% no-repeat;
}

.b-sett-card {
    background: url(../i/card.png) 0 0 no-repeat;
    padding: 4px 0 0 42px;
    min-height: 20px;
}

.h-sett-bord-wrap .frm-tbl {
    width: 100%;
}

.h-sett-bord-wrap .frm-tbl th {
    font-size: 12px;
    font-weight: normal;
    color: #a6a6a6;
    padding: 0 0 1px;
    text-align: left;
    vertical-align: top;
}

.h-sett-bord-wrap .frm-tbl td {
    text-align: left;
    vertical-align: top;
}

.h-sett-grafik-info-wrap input.submit {
    float: right;
    width: 160px;
}

.h-sett-bord-wrap .frm-tbl th:first-child .b-form-mar 
, .h-sett-bord-wrap .frm-tbl td:first-child .b-form-mar {
    padding: 0;
}

.h-sett-bord-wrap_2 .frm-tbl {
    width: 70%;
}

.h-sett-bord-wrap_2 .frm-tbl td {
    padding: 0 0 10px;
    width: 50%;
}

.h-sett-bord-wrap_2 .frm-tbl ul li {
    margin: 10px 0 0;
}

.h-sett-bord-wrap_2 .frm-tbl ul li:first-child {
    margin: 0;
}

.h-sett-bord-wrap_2 p {
    color: #4c4c4c;
    margin: 0 0 15px;
}

.h-sett-fl-wrap {
    margin: 0 0 10px;
}

.h-sett-fl-wrap .btn-link {
    margin: 0;
}

.h-sett-grafik-info-wrap .classic-tbl .edit-link
, .h-sett-grafik-info-wrap .classic-tbl .del-link {
    display: inline-block;
    line-height: 16px;
    font-size: 12px;
    padding: 0 0 0 20px;
    background: url(../i/edit-bul.png) 0 50% no-repeat;
    color: #0066cc;
    text-decoration: underline;
}

.h-sett-grafik-info-wrap .classic-tbl .del-link {
    background-image: url(../i/del-bul.png);
    color: #cc0000;
}

.h-sett-grafik-info-wrap .classic-tbl td.col2 {
    padding: 7px 0;
    text-align: center;
    width: 93px;    
}


.h-sms-manage {
    margin: 0 0 15px;
    padding: 0 0 15px;
    border-bottom: 1px dotted #7f7f7f;
}

.h-sms-manage .gr.fl {
    font-size: 14px;
    color: #4c4c4c;
    float: left;
    margin: 3px 0 0;
}

.h-sms-manage .btn-link {
    float: right;
    margin: 0 0 0 10px;
    padding-left: 15px;
    padding-right: 15px;
}

.h-sms-manage .btn-link_var2 {
    background: #e6e6e6;
    border-color: #e6e6e6;
    border-bottom-color: #a6a6a6;
}

.h-sms-manage-wrap .checklabel {
    width: 17px;
    height: 17px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
}

.h-sms-manage-wrap .mycheck {
    left: 0;
    margin: 0;
}

.h-sms-manage-wrap .classic-tbl {
    margin: 0 0 20px;
}

.h-sms-manage-wrap .submit {
    float: right;
    padding-left: 45px;
    padding-right: 45px;
    margin: 0 0 20px;
}

.b-sms-manage-filter {
    padding: 0 0 15px;
}

.b-sms-manage-filter th {
    text-align: left;
    vertical-align: middle;
    padding: 0 5px 0 25px;
    color: #4c4c4c;
}

.b-sms-manage-filter th:first-child {
    padding-left: 0;
}

.b-sms-manage-filter td {
    text-align: center;
    vertical-align: middle;
    padding: 0 0 0 5px;
}

.b-sms-manage-filter .b-datepicker-wrap {
    width: 122px;
    text-align: right;
}

.h-sms-manage-wrap .check-yes {
    color: #587c94;
}

.h-sms-manage-wrap .check-no {
    color: #ad1f1f;
}

.sms-manage-right {
    text-align: right;
    font-size: 14px;
    color: #4c4c4c;
    padding: 0 0 30px;
}


.b-sms-create-title {
    border-bottom: 1px dotted #7f7f7f;
    padding: 5px 0 25px;
}

.b-sms-create-title h2 {
    color: #587c94;
}

.b-sms-create {
    border-bottom: 1px dotted #7f7f7f;
    padding: 17px 423px 30px 0;
    min-height: 270px;
    position: relative;
}

.b-sms-create-price {
    color: #a29f9f;
    margin: 0 0 20px;
}

.b-sms-create-textarea {
    border: 1px solid #acacac;
    color: #4c4c4c;
}

.b-sms-create-textarea  textarea {
    border: none;
    margin: 0 0 4px;
    padding: 20px 14px;
    background: #fff;
    font: 14px "Trebuchet MS", Arial, sans-serif;
    color: #4c4c4c;
    width: 100%;
    height: 180px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    resize: none;
}

.b-sms-create-meta {
    background: #e6e6e6;
    padding: 13px 30px 12px;
}

.b-sms-create-meta strong {
    margin: 0 25px 0 0;
}

.b-sms-create-view {
    width: 262px;
    height: 300px;
    background: url(../i/mobile.jpg) 0 0 no-repeat;
    position: absolute;
    bottom: 0; right: 54px;
    color: #fff;
}

.b-sms-create-view .mob-time {
    display: block;
    width: 100%;
    position: absolute;
    top: 102px; left: 0;
    text-align: center;
    font: 60px/100% "Helvetica Light", sans-serif; 
}

.b-sms-create-view .mob-date {
    display: block;
    width: 100%;
    position: absolute;
    top: 162px; left: 0;
    text-align: center;
    font: 12px Arial, sans-serif; 
}

.b-sms-create-view .mob-sms {
    width: 205px;
    position: absolute;
    top: 202px; left: 30px;
    overflow: hidden;
    font-size: 13px; 
    line-height: 110%;
}

.b-sms-create-view .mob-sms img {
    float: left;
    margin: 0 7px 0 0;
}

.b-sms-create-period {
    border-bottom: 1px dotted #7f7f7f;
    padding: 30px 0 25px;
    color: #4c4c4c;
}

.b-sms-create-period h2 {
    margin: 0 0 25px;
}

.b-sms-create-period table th {
    padding: 0 18px 0 0;
    text-align: left;
    vertical-align: middle;
    font-weight: normal;
}

.b-sms-create-period table td {
    padding: 0 33px 0 0;
    text-align: left;
    vertical-align: middle;
}

.b-sms-create-period input {
    width: 122px;
}

.b-sms-create-period input.time-input {
    background: url(../i/time-ic.png) 100% 50% no-repeat #fff;
    padding-right: 35px;
}

.b-sms-create-whom {
    border-bottom: 1px dotted #7f7f7f;
    padding: 30px 0 20px;
    color: #4c4c4c;
}

.b-sms-create-whom h2 {
    margin: 0 0 25px;
}

.b-sms-create-whom .radio {
    margin: 0 0 15px;
    float: none;
    overflow: hidden;
}

.b-sms-create-whom .radio li {
    margin: 0 55px 0 0;
}

.b-sms-create-whom p {
    margin: 0 0 17px;
}

.b-sms-create-whom a
, .b-sms-create-whom .classic-tbl a {
    color: #587c94;
}

.b-sms-create-whom a.underline {
    text-decoration: underline;
}

.b-sms-create-whom .classic-tbl th
, .b-sms-create-whom .classic-tbl td {
    border-left: none;
    border-right: none;
    font-size: 12px;
}

.b-sms-create-whom .classic-tbl .itogo th
, .b-sms-create-whom .classic-tbl .itogo td {
    border-bottom: none;
    font-size: 14px;
    padding-top: 13px;
    padding-bottom: 20px;
}

.b-sms-create-whom .classic-tbl .green {
    color: #2a8e2e;
}

.b-sms-create-whom .btn-link {
    width: 200px;
    height: 34px;
    border: none;
    margin: 40px 0 0 28px;
    padding: 0;
    box-shadow: -1px 1px #a6a6a6;
    border-radius: 0;
    background: #587c94;
    cursor: pointer;
}

.b-sms-create-whom .btn-link_var2 {
    background: #b7b7b7;
    color: #333;
    float: right;
}

.b-sms-create-whom .btn-link.nom {
    margin-top: 0;
}

.b-sms-create-examples {
    padding: 30px 0 1px;
    color: #4c4c4c;
}

.b-sms-create-examples h2 {
    margin: 0 0 35px;
}

.sms-examp-li li {
    display: inline-block;
    vertical-align: top;
    width: 32.8%;
    margin: 0 0 35px;
}

.b-sms-examp {
    margin: 0 auto;
    padding: 10px 15px;
    max-width: 200px;
    background: #a4d6fa;
    box-shadow: 0 0 10px rgba(0,0,0,.11);
    border-radius: 20px/12px;
    position: relative;
    color: #000;
}

.b-sms-examp:after {
    content: " ";
    display: block;
    width: 13px;
    height: 10px;
    background: url(../i/corner.png) 0 0 no-repeat;
    position: absolute;
    bottom: 0; left: -6px;
}

.b-sms-create-filter {
    background: #c4dbed;
    position: relative;
    bottom: -9px; left: -20px;
    margin: -9px -40px 0 0;
    padding: 30px 20px 20px;
    color: #4c4c4c;
}

.b-sms-create-filter h2 {
    margin: 0 0 5px;
}

.b-sms-create-filter fieldset {
    border-bottom: 1px dotted #7f7f7f;
    padding: 20px 0 7px;
}

.b-sms-create-filter table th {
    padding: 0 12px 13px 0;
    text-align: left;
    vertical-align: middle;
    font-weight: normal;
}

.b-sms-create-filter table td {
    padding: 0 0 13px 0;
    text-align: left;
    vertical-align: middle;
}

.b-sms-create-filter table td.mdash {
    padding-left: 15px;
    padding-right: 15px;
}

.b-sms-create-filter select
, .b-sms-create-filter input.text {
    width: 122px;
}

.b-sms-create-filter .or {
    display: inline-block;
    margin: 0 25px;
}

.b-sms-create-filter .radio {
    margin: 0 35px 0 0;
}

.b-sms-create-filter .radio li {
    margin: 0;
}

.b-sms-create-filter .radio li.active {
    color: #4c4c4c;
}

.b-sms-create-filter .btn-link {
    display: block;
    float: none;
    width: 420px;
    height: 34px;
    border: none;
    margin: 20px auto 0;
    padding: 0;
    box-shadow: -1px 1px #a6a6a6;
    border-radius: 0;
    background: #587c94;
    cursor: pointer;
}

/*}}}*/


/*{{{ =Popup*/ 

.h-popup-wrap {
    width: 335px;
    background: #f2f2f2;
    box-shadow: 0 2px 10px rgba(0,0,0,.75);
    position: absolute;
}

.h-popup-wrap:after { 
    content: " "; 
    width: 0; 
    height: 0; 
    position: absolute; 
    top: 100%; right: 85px;
    border: 10px solid rgba(242, 242, 242, 0);
    border-top-color: #f2f2f2;
    pointer-events: none; 
}

.popup-closer {
    display: block;
    width: 17px;
    height: 17px;
    background: url(../i/close.png) 0 0 no-repeat;
    position: absolute;
    top: 17px; right: 10px;
    cursor: pointer;
}

.h-popup-inner {
    padding: 17px 10px 10px;
}

.h-popup-title {
    border-bottom: 1px dotted #797979;
    margin: 0 0 10px;
    padding: 0 35px 17px 0;
    font-size: 16px;
    line-height: 100%;
    color: #4c4c4c;
}

.grafik-edit-form fieldset {
    position: relative;
    left: -10px;
    margin: 0 -10px 0 0;
}

.grafik-edit-form table {
    width: 100%;
}

.grafik-edit-form th {
    font-size: 12px;
    font-weight: normal;
    line-height: 100%;
    color: #a6a6a6;
    text-align: left;
    vertical-align: top;
    padding: 0 0 2px;
}

.grafik-edit-form td {
    text-align: left;
    vertical-align: top;
    padding: 0 0 10px;
}

.grafik-edit-form .b-form-mar {
    padding: 0 0 0 10px;
}

.time-wrap select {
    float: left;
    width: 60px;
}

.time-wrap .ele {
    float: left;
    line-height: 32px;
    margin: 0 5px;
}

.time-wrap .plus-link {
    position: static;
    float: right;
    margin: 5px 0 0;
}


#services-popup {
    width: 806px;
}

.services-popup_shedule_var {
    z-index: 6;
}

#services-popup:after { 
    display: none; 
}

#services-popup .popup-closer {
    top: 20px; right: 20px;
}

#services-popup .h-popup-inner {
    padding: 20px 20px 10px;
}

#services-popup .b-submit-wrap {
    border-top: 1px dotted #0f0f0f;
    padding: 10px 0 0;  
}

.chosen-services {
    border-top: 1px dotted #0f0f0f;
    padding: 10px 0 8px;  
}

.chosen-services th {
    font-weight: normal;
    color: #7aa3cc;
    text-align: left;
    vertical-align: top;
    padding: 0 10px 2px 0;
}

.chosen-services th b {
    color: #4c4c4c;
}

.ch-checks {
    float: left;
    width: 590px;
    padding: 8px 0 0;
}

.ch-checks .checklabel {
    float: left;
    margin: 0 20px 0 0;
}

.chosen-services td {
    text-align: left;
    vertical-align: top;
    padding: 0 0 2px;
}


#calendar-popup {
    width: 351px;
}

#calendar-popup:after { 
    /*right: auto; left: 50%;
    margin-left: -10px;*/
    display: none;
}

#calendar-popup .h-popup-inner {
    padding: 10px 1px 10px 10px;
}

.calendar-form table {
    width: 100%;
}

.calendar-form td {
    padding: 0 10px 0 0;
}

.calendar-form input.submit {
    width: 100%;
}


#template-popup {
    width: 566px;
    color: #4c4c4c;
}

#template-popup:after { 
    display: none; 
}

#template-popup .b-submit-wrap {
    padding: 17px 0 10px;  
}

#template-popup .b-submit-wrap input.submit {
    width: 100px;
}


#payments-add-popup
, #payments-add-popup2 {
    width: 652px;
}

#payments-add-popup:after
, #payments-add-popup2:after { 
    display: none; 
}

#payments-add-popup .b-submit-wrap {
    padding: 17px 0 10px;  
}

#payments-add-popup2 .b-submit-wrap {
    padding: 0 0 10px;  
}

#payments-add-popup .b-submit-wrap input.submit
, #payments-add-popup2 .b-submit-wrap input.submit {
    width: 140px;
}

.payadd-form {
    position: relative;
    left: -10px;
    margin: 0 -10px 0 0;
}

.payadd-form .b-form-mar {
    padding: 0 0 0 10px;
}

.payadd-form table {
    width: 100%;
}

.payadd-form th {
    font-size: 12px;
    font-weight: normal;
    line-height: 100%;
    color: #a6a6a6;
    text-align: left;
    vertical-align: top;
    padding: 0 0 2px;
}

.payadd-form td {
    text-align: left;
    vertical-align: top;
}

#payments-add-popup2 .payadd-form td {
    padding: 0 0 10px;
}

.payadd-form .b-padd5 {
    width: 105px;
}


#post-add-popup {
    width: 320px;
}

#post-add-popup:after { 
    display: none; 
}

#post-add-popup .b-submit-wrap {
    padding: 0 0 10px;  
}

#post-add-popup .b-submit-wrap input.submit {
    width: 140px;
}

.postsadd-form table {
    width: 100%;
}

.postsadd-form th {
    font-size: 12px;
    font-weight: normal;
    line-height: 100%;
    color: #a6a6a6;
    text-align: left;
    vertical-align: top;
    padding: 0 0 2px;
}

.postsadd-form td {
    text-align: left;
    vertical-align: top;
    padding: 0 0 10px;
}


#trade-add-popup {
    width: 320px;
}

#trade-add-popup:after { 
    display: none; 
}

#trade-add-popup .b-submit-wrap {
    border-top: 1px dotted #979797;
    padding: 10px 0;  
}

#trade-add-popup .b-submit-wrap input.submit {
    width: 140px;
}

.tradesadd-form table {
    width: 100%;
}

.tradesadd-form th {
    font-size: 12px;
    font-weight: normal;
    line-height: 100%;
    color: #a6a6a6;
    text-align: left;
    vertical-align: top;
    padding: 0 0 2px;
}

.tradesadd-form td {
    text-align: left;
    vertical-align: top;
    padding: 0 0 10px;
}


#wh-provider-add-popup {
    width: 420px;
}

#wh-provider-add-popup:after { 
    display: none; 
}

#wh-provider-add-popup .b-submit-wrap {
    border-top: 1px dotted #979797;
    padding: 10px 0;  
}

#wh-provider-add-popup .b-submit-wrap input.submit {
    width: 145px;
}


#wh-provider-edit-popup {
    width: 420px;
}

#wh-provider-edit-popup:after { 
    display: none; 
}

#wh-provider-edit-popup .b-submit-wrap {
    border-top: 1px dotted #979797;
    padding: 10px 0;  
}

#wh-provider-edit-popup .b-submit-wrap input.submit {
    width: 145px;
}


#tovar-add-popup
, #tovar-edit-popup {
    width: 620px;
}

#tovar-add-popup:after
, #tovar-edit-popup:after { 
    display: none; 
}

#tovar-add-popup .b-submit-wrap 
, #tovar-edit-popup .b-submit-wrap {
    border-top: 1px dotted #979797;
    padding: 10px 0;  
}

#tovar-add-popup .b-submit-wrap input.submit
, #tovar-edit-popup .b-submit-wrap input.submit {
    width: 140px;
}

.tovaradd-form table {
    width: 100%;
}

.tovaradd-form th {
    font-size: 12px;
    font-weight: normal;
    line-height: 100%;
    color: #a6a6a6;
    text-align: left;
    vertical-align: top;
    padding: 0 0 2px;
}

.tovaradd-form td {
    text-align: left;
    vertical-align: top;
    padding: 0 0 10px;
}

.tovaradd-form td.al-r {
    text-align: right;
    vertical-align: middle;
    width: 405px;
}

.tovaradd-form .add-photo {
    font-size: 12px;
    color: #0066cc;
    text-decoration: underline;
    background: url(../i/photo2.png) 0 50% no-repeat;
    padding: 0 0 0 22px;
}

.tovaradd-form .file-download {
    position: relative;
}

.tovaradd-form .file-download input.file {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    opacity: 0;
    outline: none;
    position: absolute;
    top: 0; left: 0;
}

.tovaradd-form .file-download span {
    display: block;
}

.edit-photo-tovar {
    float: right;
    width: 135px;
    position: relative;
    top: -15px;
    margin: 0 0 -15px;
}

.edit-photo-tovar img {
    float: left;
    border: 1px solid #d9d9d9;
}

.edit-photo-tovar .change-photo {
    float: right;
    width: 75px;
    font-size: 12px;
    color: #0066cc;
    text-decoration: underline;
    margin: 8px 0 0;
}

.tovaradd-form .text-short {
    width: 50px;
    margin: 0 10px 0 0;
}

.tovaradd-form .select-short {
    width: 63px;
    margin: 0 10px 0 0;
}


#edit-popup {
    width: 570px;
}

#edit-popup:after { 
    display: none; 
}

.editwrit-form h3 {
    font-size: 14px;
    font-weight: normal;
    color: #4c4c4c;
    margin: 0;
}

.editwrit-form table {
    width: 100%;
}

.editwrit-form th {
    font-size: 12px;
    font-weight: normal;
    line-height: 100%;
    color: #a6a6a6;
    text-align: left;
    vertical-align: top;
    padding: 7px 0 3px;
}

.editwrit-form td {
    width: 285px;
    text-align: left;
    vertical-align: middle;
    padding: 0 0 10px;
    border-bottom: 1px dotted #b5b5b5;
}

.editwrit-form td:first-child {
    width: 265px;
}

.editwrit-form th:first-child .b-form-mar
, .editwrit-form td:first-child .b-form-mar {
    padding: 0;
}

.editwrit-form .b-datepicker-wrap {
    display: inline-block;
    width: 118px;
    margin: 0 10px 0 0;
}

.editwrit-form .sel2 {
    width: 60px;
}

#edit-popup .b-submit-wrap {
    padding: 10px 0;  
}

#edit-popup .b-submit-wrap input.submit {
    width: 140px;
}


#history-status-popup {
    width: 570px;
}

#history-status-popup:after { 
    display: none; 
}

.hist-status-popup-tbl {
    width: 100%;
}

.hist-status-popup-tbl th {
    border: 1px solid #bfbfbf;
    background: #e6e6e6;
    font-size: 14px;
    color: #4c4c4c;
    text-align: left;
    vertical-align: middle;
    padding: 7px 10px;
}

.hist-status-popup-tbl td {
    border: 1px solid #bfbfbf;
    background: #fff;
    font-size: 14px;
    color: #4c4c4c;
    text-align: left;
    vertical-align: middle;
    padding: 7px 10px;
}

.hist-status-popup-tbl tr.cancel-tr td {
    background: #ffeded;
}

.hist-status-popup-tbl tr.done-tr td {
    background: #effae5;
}

.hist-status-popup-tbl a {
    color: #0066cc;
    text-decoration: underline;
}


#order-call-popup {
    width: 570px;
}

#order-call-popup:after { 
    display: none; 
}

.b-callsp-wrap .radio {
    float: none;
    margin: 0;
}

.b-callsp-wrap .radio li {
    float: none;
    margin: 0 0 10px;
}

.b-cp-field {
    border-top: 1px dotted #b5b5b5;
    border-bottom: 1px dotted #b5b5b5;
    margin: 0 0 10px;
    padding: 10px 0;
}

.b-cp-field label {
    font-size: 12px;
    color: #a6a6a6;
}

.b-cp-field input.text {
    display: block;
    margin: 3px 0 0;
}


#all-calc-popup {
    width: 915px;
}

#all-calc-popup:after { 
    display: none; 
}

#all-calc-popup .h-auto-wrap {
    height: 124px;
}

.allcalc-tbl {
    width: 100%;
    color: #4c4c4c;
}

.allcalc-tbl th {
    background: #e6e6e6;
    border-left: 1px solid #f2f2f2;
    border-bottom: 1px solid #d9d9d9;
    text-align: left;
    vertical-align: middle;
    padding: 6px 10px;
}

.allcalc-tbl th:first-child {
    border-left-color: #e6e6e6;
}

.allcalc-tbl td {
    background: #fff;
    border: 1px solid #d9d9d9;
    text-align: left;
    vertical-align: middle;
    padding: 6px 10px;
}

.allcalc-tbl tr.colored td {
    background: #f7f7f7;
}

.allcalc-tbl .al-c {
    text-align: center;
}


#clwrt-popup {
    width: 960px;
}

#clwrt-popup:after { 
    display: none; 
}


#deposit-popup {
    width: 660px;
}

#deposit-popup:after { 
    display: none; 
}

.b-depbord-wrap {
    border-bottom: 1px dotted #808080;
    margin: 0 0 10px;
    padding: 0 0 10px;
}

.b-depbord-wrap h3 {
    font-size: 16px;
    color: #4c4c4c;
    margin: 0 0 7px;    
}

.b-depbord-wrap .deptop th {
    font-size: 12px;
    font-weight: normal;
    color: #a6a6a6;
    text-align: left;
    vertical-align: top;
    padding: 0 20px 1px 0;
}

.b-depbord-wrap .deptop td {
    text-align: left;
    vertical-align: middle;
    padding: 0 20px 0 0;
    white-space: nowrap;
}

.b-depbord-wrap .deptop input.text {
    width: 130px;
}

.b-depbord-wrap .deptop .rur {
    position: static;
    display: inline;
}

.b-depbord-wrap .radio {
    float: none;
    margin: 0;
}

.b-depbord-wrap .b-padd5 {
    display: inline-block;
    width: 36px;
}


#new-writing-popup {
    width: 500px;
    z-index: 5;
}

#new-writing-popup:after { 
    display: none; 
}

.newsign-form .tbl1 {
    width: 100%;
}

.newsign-form .tbl1 th {
    width: 60px;
    font-size: 16px;
    font-weight: normal;
    color: #4c4c4c;
    text-align: left;
    vertical-align: middle;
    padding: 0 10px 5px 0;
}

.newsign-form .tbl1 td {
    font-size: 16px;
    color: #4c4c4c;
    text-align: left;
    vertical-align: middle;
    padding: 0 0 5px;
}

.newsign-form .tbl1 select {
    width: 80px;
}

.newsign-form .tbl1 .btn-link {
    float: left;
}

.newsign-form .tbl1 .lt-tbl {
    width: 100%;
}

.newsign-form .tbl1 .lt-tbl td {
    border: 1px solid #bfbfbf;
    background: #fff;
    padding: 7px 10px;
    font-size: 14px;
}

.newsign-form .tbl1 .lt-tbl .colored td {
    background: #f7f7f7;
}

.newsign-form .tbl1 .lt-tbl .del-link {
    display: inline-block;
    font-size: 12px;
    color: #cc0000;
    background: url(../i/del-bul.png) 0 0 no-repeat;
    height: 16px;
    text-decoration: underline;
    padding: 0 0 0 20px;
}

.newsign-form .tbl2 {
    width: 100%;
    border-bottom: 1px dotted #b5b5b5;
}

.newsign-form .tbl2 th {
    font-size: 12px;
    font-weight: normal;
    line-height: 100%;
    color: #a6a6a6;
    text-align: left;
    vertical-align: top;
    padding: 0 0 3px;
}

.newsign-form .tbl2 td {
    width: 250px;
    text-align: left;
    vertical-align: middle;
    padding: 0 0 10px;
}

.newsign-form .tbl2 td:first-child {
    width: 230px;
}

.newsign-form .tbl2 th:first-child .b-form-mar
, .newsign-form .tbl2 td:first-child .b-form-mar {
    padding: 0;
}

.newsign-form .hr {
    margin: 5px 0;
    height: 1px;
    line-height: 0;
    font-size: 0;
    background: url(../i/calc-tr-dott.png) 0 0 repeat-x;
}

#new-writing-popup .b-submit-wrap {
    padding: 10px 0;  
}

#new-writing-popup .b-submit-wrap input.submit {
    width: 140px;
}


#warehouse-add-tovar-popup {
    width: 800px;
}

#warehouse-add-tovar-popup:after { 
    display: none; 
}

#warehouse-add-tovar-popup .b-submit-wrap {
    border-top: 1px dotted #0f0f0f;
    margin: 10px 0 0;
    padding: 10px 0 0;  
}

.wh-add-form-tbl {
    width: 100%;
    margin: 0 0 10px;
}

.wh-add-form-tbl th:first-child .b-form-mar
, .wh-add-form-tbl td:first-child .b-form-mar {
    padding: 0;
}

.wh-add-form-tbl th {
    font-size: 12px;
    font-weight: normal;
    text-align: left;
    vertical-align: top;
    color: #a6a6a6;
}

.wh-add-form-tbl .b-search-wrap {
    position: relative;
    padding: 0 62px 0 0;
}

.wh-add-form-tbl .b-search-wrap input.submit {
    width: 62px;
    position: absolute;
    top: 0; right: 0;
    height: 32px;
    padding: 0;
}

.b-wh-bord-wrap {
    border-top: 1px dotted #0f0f0f;
    padding: 10px 0 0;
}

.wh-add-form .checklabel {
    width: 17px;
    height: 17px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
}

.wh-add-form .mycheck {
    left: 0;
    margin: 0;
}


.new-master-writing-popup {
    width: 500px;
    top: 50%; left: 50%;
    z-index: 999;
    box-shadow: none;
}

.new-master-writing-popup:after { 
    display: none; 
}

.new-master-writing-popup_var1 {
    border: 2px solid #0191ea;
    background: #f2f2f2;
    box-shadow: 0 2px 10px rgba(0,0,0,.75);
    position: relative;
    z-index: 2;
}

.new-master-writing-popup .popup-closer {
    height: 18px;
    background-image: url(../i/close2.png);
    top: 15px; right: 8px;
}

.new-master-writing-popup .h-popup-inner {
    padding: 0;
}

.new-master-writing-popup .h-popup-title {
    margin: 0;
    padding: 15px 9px 19px;
    border: none;
    background: #0191ea;
    color: #fff;
    font-weight: bold;
}

.new-master-writing-popup .hr {
    margin: 10px 0;
    height: 1px;
    line-height: 0;
    font-size: 0;
    background: url(../i/calc-tr-dott.png) 0 0 repeat-x;
}

.h-pwrit-padd-wrap {
    padding: 10px;
    color: #4c4c4c;
    line-height: 100%;
}

.h-pwrit-padd-wrap .writ-t1 th {
    border-collapse: collapse;
    padding: 7px 15px 0 0;
    text-align: left;
    vertical-align: top;
}

.h-pwrit-padd-wrap .writ-t1 td {
    border-collapse: collapse;
    padding: 7px 0 0;
    text-align: left;
    vertical-align: top;
}

.h-pwrit-padd-wrap .writ-t1 tr:first-child th
, .h-pwrit-padd-wrap .writ-t1 tr:first-child td {
    padding-top: 5px;
}

.h-pwrit-padd-wrap h3 {
   font-size: 14px;
   margin: 0 0 7px;
}

.h-pwrit-padd-wrap .writ-t2 {
    width: 100%;
    margin: 0 0 10px;
}

.h-pwrit-padd-wrap .writ-t2 td {
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #bfbfbf;
    text-align: left;
    vertical-align: top;
    font-size: 12px;
    padding: 8px 10px;
}

.h-pwrit-padd-wrap .del {
    display: block;
    width: 16px;
    height: 16px;
    background: url(../i/del-bul.png) 0 0 no-repeat;
    cursor: pointer;
}

.h-pwrit-padd-wrap .red {
    color: #cc0000;
}

.h-pwrit-padd-wrap a {
    color: #0066cc;
    text-decoration: underline;
}

.h-pwrit-padd-wrap .writ-t2_2 {
    width: 100%;
}

.h-pwrit-padd-wrap .writ-t2_2 td {
    border-collapse: collapse;
    text-align: left;
    vertical-align: middle;
}

.h-pwrit-padd-wrap .writ-t2_2 td.td_r {
    text-align: right;
}

.h-pwrit-padd-wrap .writ-t2_2 label
, .h-pwrit-padd-wrap .writ-t2_2 b {
    font-weight: bold;
    margin: 0 7px 0 0;
}

.h-pwrit-padd-wrap .writ-t2_2 select {
    display: inline-block;
    width: 81px;
}

.h-pwrit-padd-wrap .writ-t3 {
    width: 100%;
}

.h-pwrit-padd-wrap .writ-t3 th {
    font-size: 12px;
    font-weight: normal;
    color: #a6a6a6;
    text-align: left;
    vertical-align: top;
}

.h-pwrit-padd-wrap th:first-child .b-form-mar
, .h-pwrit-padd-wrap td:first-child .b-form-mar {
    padding: 0;
}

.h-pwrit-padd-wrap .writ-t3 td {
    text-align: left;
    vertical-align: top;
    padding: 0 0 10px;
}

.h-pwrit-padd-wrap .writ-t3 textarea {
    width: 100%;
    height: 32px;
    margin: 0;
    padding: 6px 10px;
    border: 1px solid #d9d9d9;
    background: #fff;
    font: 14px "Trebuchet MS", Arial, sans-serif;
    color: #666;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    resize: none;
}

.h-pwrit-padd-wrap input.submit {
    float: right;
    width: 146px;
}

.h-more-writ-wrap {
    padding: 0 0 20px;
    display: none;
}

.b-white-links {
    background: #fff;
    padding: 7px 10px 10px;
    font-size: 16px;
}

.b-white-links h4 {
    font-size: 16px;
    margin: 0 0 5px;
}

.b-white-links a {
    margin: 0 15px 0 0;
}

.new-master-writing-popup_var2 {
    width: 480px;
    height: 100%;
    position: absolute;
    top: 0; right: 0;
    background: #ebf1f7;
    box-shadow: 0 2px 10px rgba(0,0,0,.75);
    display: none;
}

.popup-closer_2 {
    display: block;
    width: 17px;
    height: 17px;
    background: url(../i/close.png) 0 0 no-repeat;
    cursor: pointer;    
    position: absolute;
    top: 17px; right: 10px;    
}

.new-master-writing-popup_var2 h2 {
    font-size: 16px;
    margin: 0;
    padding: 9px 0 8px;
}

.photoslider-week {
    width: 100%;
}

.photoslider-week .sliderkit-nav {
    position: static;
}

.photoslider-week .sliderkit-go-btn {
    width: 27px;
    height: 31px;
    position: absolute;
    top: 0; 
    z-index: 1;
    background: #ebf1f7;
}

.photoslider-week .sliderkit-go-prev {
    left: 0;
}

.photoslider-week .sliderkit-go-next {
    right: 0;
}

.photoslider-week .sliderkit-go-btn a {
    display: block;
    width: 15px;
    height: 23px;
    position: absolute;
    top: 4px;
    background-image: url(../i/arrows3.png);
    background-repeat: no-repeat;
}

.photoslider-week .sliderkit-go-prev a {
    background-position: 0 -23px;
    left: 0;
}

.photoslider-week .sliderkit-go-prev.sliderkit-btn-disable a {
    background-position: -15px -23px;
    cursor: default;
}

.photoslider-week .sliderkit-go-next a {
    background-position: -15px 0;
    right: 0;
}

.photoslider-week .sliderkit-go-next.sliderkit-btn-disable a {
    background-position: 0 0;
    cursor: default;
}

.photoslider-week .sliderkit-go-btn span {
    display: none;
}

.photoslider-week .sliderkit-panels {
    height: 410px;
}

.photoslider-week .sliderkit-panel {
    width: 100%;
    height: 410px;
    position: absolute;
    top: 0; left: 0;
    background: #ebf1f7;
}

.days-list {
    margin: 0 27px;
}

.days-list li {
    float: left;
    width: 58px;
    height: 31px;
    text-align: center;
    font-size: 12px;
    line-height: 100%;
}

.days-list span {
    display: block;
    font-size: 18px;
    line-height: 100%;
}

.days-list .weekend {
    color: #cc0000;
}

.time-auto {
    height: 355px;
    overflow: auto;
}

.time-list {
    margin: 0 0 0 27px;
}

.time-list li {
    float: left;
    width: 40px;
    margin: 0 9px;
}

.time-list li li {
    float: none;
    margin: 5px 0 0;
    font-size: 12px;
}

.time-list li li:first-child {
    margin: 0;
}

.time-list .disabled
, .time-list a {
    display: block;
    width: 40px;
    height: 19px;
    line-height: 19px;
    color: #bcd1e5;
    text-align: center;
}

.time-list a {
    background: #7aa3cc;
    color: #fff;
    text-decoration: none;
}

.time-list a:hover
, .time-list .active a {
    background: #5c7a99;
}

.new-master-writing-popup_var2 .btn-link {
    margin: 0;
    width: 106px;
    text-align: center;
    color: #fff;
    text-decoration: none;
}


.sells-writing-popup {
    width: 500px;
    top: 50%; left: 50%;
    z-index: 999;
    box-shadow: none;
}

.sells-writing-popup:after { 
    display: none; 
}

.sells-writing-popup_var1 {
    border: 2px solid #00b314;
    background: #f2f2f2;
    box-shadow: 0 2px 10px rgba(0,0,0,.75);
    position: relative;
    z-index: 2;
}

.sells-writing-popup .popup-closer {
    height: 18px;
    background-image: url(../i/close3.png);
    top: 15px; right: 8px;
}

.sells-writing-popup .h-popup-inner {
    padding: 0;
}

.sells-writing-popup .h-popup-title {
    margin: 0;
    padding: 15px 9px 19px;
    border: none;
    background: #00b314;
    color: #fff;
    font-weight: bold;
}

.sells-writing-popup .hr {
    margin: 10px 0;
    height: 1px;
    line-height: 0;
    font-size: 0;
    background: url(../i/calc-tr-dott.png) 0 0 repeat-x;
}

.sells-writing-popup .fl-r-link {
    float: right;
    font-size: 12px;
    line-height: 100%;
}

.p-wr-tabs {
    position: relative;
    left: -10px;
    margin: 0 -20px 0 0;
    padding: 0 10px;
    border-bottom: 2px solid #7aa3cc;
}

.p-wr-tabs li {
    float: left;
    font-weight: bold;
    text-align: center;
    position: relative;
    top: -8px;
    margin: 0 0 -8px;
}

.p-wr-tabs li a {
    float: left;
    width: 97px;
    height: 27px;
    line-height: 27px;
    color: #808080;
    text-decoration: none;
    background: #f2f2f2;
    border: 1px solid #d9d9d9;
    border-bottom: none;
}

.p-wr-tabs li.active a {
    color: #fff;
    background: #7aa3cc;
    border-color: #7aa3cc;
}

.p-wr-tabs-wrap {
    padding: 10px 0 0;
}

.h-pwrit-padd-wrap .writ-t3_auto {
    width: auto;
}

.h-pwrit-padd-wrap .writ-t3_nopadd td {
    padding-bottom: 0;
}

.p-wr-tabs-wrap select {
    width: 200px;
}

.buying-list {
    padding: 0 0 5px;
}

.buying-list li {
    margin: 0 0 5px;
}

.h-pwrit-padd-wrap .buying-list .del {
    display: inline-block;
}

.buying-tbl th {
    font-weight: bold;
    text-align: right;
    vertical-align: top;
    padding: 0 10px 5px 0;
}

.buying-tbl td {
    text-align: left;
    vertical-align: top;
    padding: 0 0 5px;
}

.buying-tbl .discount {
    color: #cc0000;
}

.sells-writing-popup .btn-link {
    background: #00b314;
    border: 1px solid #00b314;
    border-bottom-color: #00790e;
    color: #fff;
    text-decoration: none;
    margin: 0;
}


.sells-writing-popup_var2 {
    width: 480px;
    height: 100%;
    position: absolute;
    top: 0; right: 0;
    background: #ebf1f7;
    box-shadow: 0 2px 10px rgba(0,0,0,.75);
    display: none;
}

.sells-add-tovar th {
    text-align: left;
    vertical-align: middle;
}

.sells-add-tovar .b-form-mar {
    position: relative;
    width: 280px;
}

.sells-add-tovar input.text {
    padding-right: 35px;
}

.sells-add-tovar input.img {
    position: absolute;
    top: 8px; right: 10px;
}

.sells-writing-popup_var2 h2 {
    font-size: 16px;
    margin: 0;
}

.sells_var2_wrap_auto {
    max-height: 390px;
    overflow: auto;
}

.h-pwrit-padd-wrap .sells_var2_wrap_auto .wh-tovar-tbl h3 a {
    text-decoration: none;
}

.sells_var2_wrap_auto .wh-tovar-tbl th {
    background: #dae5f1;
    padding: 0 10px;
}

.sells_var2_wrap_auto .wh-tovar-tbl table th {
    padding: 5px;
    background: #e6e6e6;
}

.sells_var2_wrap_auto .wh-tovar-tbl table td {
    background: #ebf1f7;
}

.sells_var2_wrap_auto .wh-tovar-tbl input.text {
    width: 24px;
    height: 21px;
    padding: 0;
    text-align: center;
}

.sells_var2_wrap_auto .wh-tovar-tbl select {
    width: 47px;
    height: 21px;
    padding: 0;
}

.sells_var2_wrap_auto .wh-tovar-tbl .plus {
    display: block;
    width: 16px;
    height: 16px;
    background: url(../i/plus_3.png) 0 0 no-repeat;
    margin: 0 auto;
    cursor: pointer; 
}

.sells_var2_wrap_auto .wh-tovar-tbl .checklabel {
    padding: 0;
    width: 17px;
    height: 17px;
    display: inline-block;
}

.sells_var2_wrap_auto .wh-tovar-tbl .mycheck {
    left: 0;
    margin: 0;
}


.vizit-writing-popup {
    width: 500px;
    top: 50%; left: 50%;
    z-index: 999;
    box-shadow: none;
}

.vizit-writing-popup:after { 
    display: none; 
}

.vizit-writing-popup_var1 {
    border: 2px solid #00b314;
    background: #f2f2f2;
    box-shadow: 0 2px 10px rgba(0,0,0,.75);
    position: relative;
    z-index: 2;
}

.vizit-writing-popup .popup-closer {
    height: 18px;
    background-image: url(../i/close3.png);
    top: 15px; right: 8px;
}

.vizit-writing-popup .h-popup-inner {
    padding: 0;
}

.vizit-writing-popup .h-popup-title {
    margin: 0;
    padding: 15px 9px 19px;
    border: none;
    background: #00b314;
    color: #fff;
    font-weight: bold;
}

.vizit-writing-popup .hr {
    margin: 10px 0;
    height: 1px;
    line-height: 0;
    font-size: 0;
    background: url(../i/calc-tr-dott.png) 0 0 repeat-x;
}

.h-pwrit-padd-wrap .fl-r-link {
    float: right;
    font-size: 12px;
    line-height: 100%;
}

.p-wr-h4_v {
    font-size: 14px;
    margin: 0 0 7px;
}

.p-wr-h4_v span {
    font-weight: normal;
    margin: 0 0 0 7px;
}

.p-wr-h4_v-list li {
    margin: 0 0 5px;
}

.p-wr-time-edit {
    float: right;
    width: 115px;
    margin: -24px 0 0;
}

.p-wr-time-edit input.text {
    display: inline-block;
    width: 51px;
    height: 21px;
    text-align: center;
    padding: 0 5px;    
}

.p-wr-servs-tbl {
    width: 100%;
    margin: 0 0 10px;
}

.p-wr-servs-tbl td {
    background: #fff;
    border: 1px solid #bfbfbf;
    padding: 5px;
    text-align: center;
    vertical-align: middle;
    font-size: 12px;
}

.p-wr-servs-tbl td.al-l {
    text-align: left;
}

.p-wr-servs-tbl input.text {
    display: inline-block;
    width: 47px;
    height: 21px;
    text-align: right;
    padding: 0 5px;
}

.h-pwrit-padd-wrap .p-wr-servs-tbl .del {
    display: inline-block;
}

.p-wr-servs-tbl .serv {
    display: inline-block;
    line-height: 15px;
    padding: 0 0 0 20px;
    background: url(../i/asidenav-bul.png) 0 50% no-repeat;
}

.p-wr-servs-tbl .serv_bull {
    padding: 0;
    width: 15px;
    cursor: pointer;
    background-position: -985px 50%;
}

.p-wr-servs-tbl .serv_bull_2 {
    background-position: 0 50%;
} 

.p-wr-servs-tbl .add-serv {
    float: left;
    margin: 0 5px;
}

.p-wr-servs-tbl .itogo {
    float: right;
    margin: 0 5px;
}

.vizit-writing-popup .btn-link {
    float: right;
    background: #00b314;
    border: 1px solid #00b314;
    border-bottom-color: #00790e;
    color: #fff;
    text-decoration: none;
    margin: 0 0 0 10px;
    padding: 5px  0;
    text-align: center;
    width: 142px;
}

.vizit-writing-popup .btn-link_var2 {
    background: #d9d9d9;
    border-color: #d9d9d9;
    border-bottom-color: #9e9e9e;
    color: #666;
}

.new-master-writing-popup_var1 .btn-link {
    float: right;
    color: #fff;
    text-decoration: none;
    margin: 0 0 0 10px;
    padding: 5px  0;
    text-align: center;
    width: 142px;
}

.new-master-writing-popup_var1 .btn-link_var2 {
    color: #666;
}

.h-more-writ-wrap_2 {
    background: #fff;
    border-top: 2px solid #7aa3cc;
    position: relative;
    left: -10px; bottom: -10px;
    margin: 0 -20px 0 0;
    padding: 10px;
}

.h-more-writ-wrap_2 h4 {
    font-size: 14px;
    margin: 0 0 10px;
}

.h-more-writ-wrap_2 ul.list1 {
    float: left;
    width: 340px;
}

.h-more-writ-wrap_2 ul.list1 li {
    font-size: 12px;
    margin: 0 0 5px;
}

.h-pwrit-padd-wrap .h-more-writ-wrap_2 ul.list1 .del {
    display: inline-block;
}

.h-more-writ-wrap_2 ul.list1_2 {
    width: 315px;
}

.h-more-writ-wrap_2 ul.list1_2 li {
    float: left;
    font-size: 14px;
    margin: 0 20px 0 0;
}

.h-more-writ-wrap_2 ul.list2 {
    float: right;
    width: 135px;
}

.h-more-writ-wrap_2 ul.list2 li {
    white-space: nowrap;
    margin: 0 0 5px;
}

.h-more-writ-wrap_2 .btn-link_var2 {
    margin-top: -20px;
}


.vizit-writing-popup_var2 {
    width: 480px;
    height: 100%;
    position: absolute;
    top: 0; right: 0;
    background: #ebf1f7;
    box-shadow: 0 2px 10px rgba(0,0,0,.75);
    display: none;
}


.vizit-writing-popup_var3 {
    width: 480px;
    height: 100%;
    position: absolute;
    top: 0; right: 0;
    background: #ebf1f7;
    box-shadow: 0 2px 10px rgba(0,0,0,.75);
    display: none;
}

.vizit-writing-popup_var3 h2 {
    font-size: 16px;
    margin: 0;
    padding: 9px 0 8px;
}

.vizit-writing-popup_var3 h2 span {
    display: block;
    font-size: 14px;
    font-weight: normal;
    margin: 5px 0 0;
}

.add-services-tbl_popup {
    width: 100%;
}

.add-services-tbl_popup td {
    background: #fff;
    border: 1px solid #bfbfbf;
    padding: 7px 10px;
    text-align: left;
    vertical-align: middle;
    font-size: 12px;
}

.h-pwrit-padd-wrap .reload {
    display: block;
    width: 14px;
    height: 14px;
    background: url(../i/reload-bul2.png) 0 0 no-repeat;
    cursor: pointer;
}

.add-services-tbl_popup input.text {
    display: inline-block;
    width: 47px;
    height: 21px;
    padding: 0 5px;
}


#problem-popup {
    width: 430px;
    z-index: 12;
}

#problem-popup:after { 
    display: none; 
}

#problem-popup .h-popup-title {
    font-weight: bold;
}

.problem-form table {
    width: 100%;
}

.problem-form th {
    font-size: 12px;
    font-weight: normal;
    color: #a6a6a6;
    text-align: left;
    vertical-align: top;
}

.problem-form td {
    text-align: left;
    vertical-align: top;
    padding: 0 0 10px;
}

.problem-form textarea {
    width: 100%;
    height: 160px;
    margin: 0;
    padding: 6px 10px;
    border: 1px solid #d9d9d9;
    background: #fff;
    font: 14px "Trebuchet MS", Arial, sans-serif;
    color: #666;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    resize: none;
}

.problem-form .hr {
    margin: 0 0 10px;
    height: 1px;
    line-height: 0;
    font-size: 0;
    background: url(../i/calc-tr-dott.png) 0 0 repeat-x;
}

.problem-form input.submit {
    float: right;
    width: 146px;
}

.problem-thanks {
    min-height: 185px;
    font-size: 14px;
    color: #4c4c4c;
}


#sms-add-popup {
    width: 660px;
}

#sms-add-popup:after { 
    display: none; 
}

#sms-add-popup .h-popup-title {
    font-weight: bold;
}

.smsadd-form .iphone {
    float: left;
    width: 255px;
    height: 497px;
    margin: 0 40px 0 30px;
    padding: 68px 0 0 17px;
    background: url(../i/iphone.jpg) 0 0 no-repeat;
}

.smsadd-form .iphone img {
    display: block;
}

.smsadd-form table {
    width: 100%;
}

.smsadd-form th {
    font-size: 12px;
    font-weight: normal;
    line-height: 100%;
    color: #a6a6a6;
    text-align: left;
    vertical-align: top;
    padding: 0 0 5px;
}

.smsadd-form td {
    text-align: left;
    vertical-align: top;
    padding: 0 0 15px;
}

.smsadd-form .b-submit-wrap {
    border-top: 1px dotted #797979;
    margin: 10px 0 0;
    padding: 10px 0 0;
}

/*}}}*/


/*{{{ =Services*/ 

.h-services-title {
    border-bottom: 1px dotted #797979;
    margin: 0 0 20px;
    padding: 0 0 10px;
}

.h-services-title h3 {
    float: left;
    font-size: 16px;
    font-weight: normal;
    color: #4c4c4c;
    margin: 8px 0 0;
}


.h-auto-wrap {
    height: 347px;
    overflow: auto;
    padding: 0 10px 0 0;
}

#services-popup .h-auto-wrap {
    height: 557px;
    margin: 0 0 10px;
    padding: 0 20px 0 0;
}

#services-popup.services-popup_shedule_var .h-auto-wrap {
    height: 466px;
}

.services-table {
    width: 100%;
}

.services-table th {
    background: #d9d9d9;
    border: 1px solid #d9d9d9;
    font-size: 14px;
    color: #4c4c4c;
    text-align: left;
    vertical-align: top;
    padding: 7px 10px;
}

.services-table thead th {
    border-bottom: 1px solid #bfbfbf;
}

.services-table td {
    background: #fff;
    border: 1px solid #d9d9d9;
    font-size: 14px;
    color: #4c4c4c;
    text-align: left;
    vertical-align: middle;
    padding: 7px 10px;
}

.services-table .var2 {
    width: 15px;
    text-align: center;
    white-space: nowrap;
}

.services-table .var3 {
    width: 80px;
    text-align: right;
    white-space: nowrap;
}

.services-table .var4 {
    width: 50px;
    text-align: center;
    white-space: nowrap;
}

.services-table tr.bgr td {
    background: #f7f7f7;
}

.services-table .spacer {
    background: #fff !important;
    border: none;
    padding: 0;
    width: 20px;
}

.services-table .cols
, .condit-form .cols {
    color: #339900;
}

.services-table select {
    width: 45px;
    height: 23px;
    margin: 0;
    padding: 0;
}

.services-table input.text {
    width: 69px;
    height: 23px;
    padding: 0 10px;
}

.services-table .cols select
, .services-table .cols input.text 
, .condit-form .cols select
, .condit-form .cols input.text {
    color: #339900;
}


.h-auto-wrap3 {
    max-height: 526px;
    overflow: auto;
    margin: 0 0 20px;
    padding: 0 10px 0 2px;
}

.h-deps-btn {
    margin: 0 0 10px;
}

.h-deps-btn .btn-link {
    float: right;
    margin: 0 0 0 10px;
    padding: 5px 0;
    text-align: center;
    width: 140px;
}

.h-depserv-wrap {
    color: #4c4c4c;
}

.h-depserv-wrap h2 {
    font-size: 16px;
    border-bottom: 1px dotted #797979;
    margin: 0 0 10px;
    padding: 0 0 10px;
}

.h-depserv-wrap .classic-tbl {
    margin: 0 0 17px;
}

.h-depserv-wrap .thead-tr th {
    border: none;
    background: none;
    text-align: right;
    font-weight: normal;
    padding: 0 0 5px;
}

/*}}}*/


/*{{{ =Conditions*/  

.condit-form .bord1 {
    border-bottom: 1px solid #b5b5b5;
}

.condit-form .bord2 {
    border-bottom: 1px dotted #797979;
    padding: 10px 0 0;
}

.condit-form h3 {
    float: left;
    width: 22%;
    font-size: 16px;
    font-weight: bold;
    font-style: normal;
    line-height: 100%;
    color: #4c4c4c;
}

.condit-form h3.h3_var2 {
    font-size: 12px;
    font-weight: normal;
    font-style: italic;
    color: #808080;
    line-height: 100%;
    margin: 5px 0 0;
}

.b-table-wrap {
    float: right;
    width: 75%;
}

.condit-form table {
    width: 100%;
}

.condit-form th {
    padding: 0 0 2px;
    text-align: left;
    vertical-align: top;
    font-size: 12px;
    font-weight: normal;
    line-height: 100%;
    color: #a6a6a6;
}

.condit-form td {
    padding: 0 0 10px;
    text-align: left;
    vertical-align: middle;
    width: 33.3%;
    color: #4c4c4c;
}

.condit-form td.wide-col {
    width: 66.6%;
}

.condit-form .b-submit-wrap {
    padding: 10px 0 0;
}


.h-archive-wrap h2 {
    font-size: 16px;
    color: #4c4c4c;
    border-bottom: 1px dotted #797979;
    margin: 0 0 17px;
    padding: 0 0 17px;
}

.arch-list {
    margin: 0 0 17px;
}

.arch-list_bord {
    padding: 0 0 13px;
    border-bottom: 1px dotted #797979;
}

.arch-list li {
    margin: 0 0 7px;
}

.arch-list a {
    color: #0066cc;
    text-decoration: underline;
}


.b-archive_back {
    border-bottom: 1px dotted #797979;
    padding: 0 0 10px;
}


.condit-form .radio {
    margin: 0;
}

.condit-form .radio li {
    float: none;
    padding: 0 0 3px;
    white-space: nowrap;
}

/*}}}*/


/*{{{ =Payments*/ 

.h-payzp-wrap {
    color: #4c4c4c;
}


.payzp-period table {
    width: 100%;
    margin: 0 0 10px;
}

.payzp-period_var2 {
    padding: 5px 0 0;
}

.payzp-period_var2 table {
    width: auto;
}

.payzp-period th {
    text-align: left;
    vertical-align: middle;
}

.payzp-period td {
    text-align: center;
    vertical-align: middle;
    padding: 0 0 0 10px;
}

.payzp-period td.btn-col {
    width: 150px;
    text-align: right;
}

.payzp-period td.btn-col input.submit {
    width: 140px;
}


.b-payzp-wr {
    border-top: 1px dotted #797979;
    padding: 7px 0 1px;
}

.payzp_var1 {
    width: 100%;
}

.payzp_var1 td {
    text-align: right;
    vertical-align: top;
    padding: 0 0 5px 10px;
}

.payzp_var1 td.col2 {
    width: 150px;
}


.payzp_var2 {
    width: 100%;
    margin: 10px 0;
}

.payzp_var2 th {
    text-align: left;
    vertical-align: middle;
    padding: 7px 10px;
    border-left: 1px solid #fff;
    background: #e6e6e6;
}

.payzp_var2 th:first-child {
    border-color: #e6e6e6;
}

.payzp_var2_2 th
, .payzp_var2_2 th:first-child {
    border: 1px solid #bfbfbf;
}

.payzp_var2 td {
    text-align: left;
    vertical-align: middle;
    border: 1px solid #bfbfbf;
    background: #fff;
    padding: 7px 10px;
}

.payzp_var2 th.al-r
, .payzp_var2 td.al-r {
    text-align: right;
}

.payzp_var2 tr.colored td {
    background: #f7f7f7;
} 

.payzp_var2 a {
    color: #0066cc;
    text-decoration: underline;
}

.comp-sort {
    float: left;
    width: 40%;
    text-align: left;
}

.comp-sort table td {
    text-align: left;
    vertical-align: middle;
    padding: 0 10px 0 0;
    white-space: nowrap;
}

.h-payzp-wrap .b-submit-wrap {
    border-top: 1px dotted #0f0f0f;
    padding: 10px 0 0;  
}

.h-payzp-wrap .b-submit-wrap .btn-link_var2 {
    float: right;
    width: 175px;
}

/*}}}*/


/*{{{ =Shedule*/

.h-shed-wrap {
    padding: 5px 0 0;
}

.shedule-period {
    margin: 0 0 10px;
    padding: 0 0 10px;
    border-bottom: 1px dotted #7f7f7f;
}

.shdl-p {
    float: left;
}

.shdl-p th {
    text-align: left;
    vertical-align: middle;
    color: #4c4c4c;   
    padding: 0 10px 0 0;
    height: 35px;
}

.shdl-p td {
    text-align: left;
    vertical-align: middle;
    padding: 0 10px 0 0;  
    height: 35px;
}

.shedule-period .btn-link {
    margin: 0 0 0 10px;
    padding: 5px 0;
    width: 140px;
    text-align: center;
    float: right;
}


.shedule-bigtbl {
    width: 100%;
    margin: 0 0 10px;
}

.shedule-bigtbl th {
    text-align: left;
    vertical-align: middle;
    color: #4c4c4c;   
    padding: 5px 10px;
    background: #e6e6e6;
    border: 1px solid #bfbfbf;
}

.shedule-bigtbl th.lit {
    text-align: center;
    font-size: 10px;
    font-weight: normal;
}

.shedule-bigtbl td {
    text-align: left;
    vertical-align: middle;
    padding: 7px 10px;  
    background: #fff;
    border: 1px solid #bfbfbf;
    color: #4c4c4c;   
}

.shedule-bigtbl tr.colored td {
    background: #f7f7f7;
}

.shedule-bigtbl th.al-r
, .shedule-bigtbl td.al-r {
    text-align: right;
}

.shedule-bigtbl th.al-c
, .shedule-bigtbl td.al-c {
    text-align: center;
}

.shedule-bigtbl input.text {
    height: 23px;
    padding: 0 10px;
}


.h-shed-wrap .b-submit-wrap {
    border-top: 1px dotted #7f7f7f;
    padding: 10px 0 0;  
}

.h-shed-wrap .b-submit-wrap .btn-link_var2 {
    float: right;
    width: 160px;
}


.shedule-archive li {
    margin: 0 0 7px;
}

.shedule-archive a {
    color: #0066cc;
    text-decoration: underline;
}

/*}}}*/


/*{{{ =Posts*/   

.h-posts-top {
    min-height: 38px;
    padding: 0 0 8px;
}

.posts-radio {
    float: left; 
}


.posts-table {
    width: 100%;
}

.posts-table th {
    background: #e6e6e6;
    border: 1px solid #bfbfbf;
    color: #4c4c4c;
    text-align: left;
    vertical-align: middle;
    padding: 7px 10px;
}

.posts-table th.al-c {
    text-align: center;
}

.posts-table td {
    background: #fff;
    border: 1px solid #bfbfbf;
    color: #4c4c4c;
    text-align: left;
    vertical-align: middle;
    padding: 7px 10px;
}

.posts-table td.col2 {
    padding: 7px 0;
    width: 93px;
    text-align: center;
}

.posts-table td.col3 {
    padding: 7px 0;
    width: 120px;
    text-align: center;
}

.posts-table tr.colored td {
    background: #f7f7f7;
}

.posts-table .edit-link
, .posts-table .del-link
, .posts-table .newtemp-link {
    display: inline-block;
    line-height: 16px;
    font-size: 12px;
    padding: 0 0 0 20px;
    background: url(../i/edit-bul.png) 0 50% no-repeat;
    color: #0066cc;
    text-decoration: underline;
}

.posts-table .del-link {
    background-image: url(../i/del-bul.png);
    color: #cc0000;
}

.posts-table .newtemp-link {
    background-image: url(../i/add-bul.png);
}

.posts-table .temp_no {
    color: #a6a6a6;
}

/*}}}*/


/*{{{ =Effect*/ 

.effect-period th {
    text-align: left;
    vertical-align: middle;
    padding: 0 5px 0 0;
    color: #4c4c4c;
}

.effect-period td {
    text-align: center;
    vertical-align: middle;
    padding: 0 0 0 5px;
}

.effect-period .b-datepicker-wrap {
    width: 122px;
    text-align: right;
}

.effect-period td.btn-col input.submit {
    width: 105px;
    margin: 0 0 0 5px;
}


.effect-table {
    width: 100%;
    color: #4c4c4c;
}

.effect-table th {
    text-align: left;
    vertical-align: top;
    border: 1px solid #bfbfbf;
    background: #e6e6e6;
    padding: 7px 10px;
}

.effect-table td {
    text-align: left;
    vertical-align: top;
    border: 1px solid #bfbfbf;
    background: #fff;
    padding: 7px 10px;
}

.effect-table tr.colored td {
    background: #f7f7f7;
}

.effect-table .al-c {
    text-align: center;
}

.effect-table .al-r {
    text-align: right;
}

/*}}}*/


/*{{{ =Calculator*/ 

.h-calculate-wrap {
    padding: 5px 0 20px;
}


.calc-period-wrap {
    border-bottom: 1px dotted #7f7f7f;
    margin: 0 0 7px;
    padding: 0 0 10px;
}

.cp-t {
    float: left;
}

.cp-t th
, .cp-t td {
    font-size: 14px;
    color: #4c4c4c;
    text-align: left;
    vertical-align: middle;
    padding: 0 10px 0 0;
}

.calc-period-wrap .submit
, .calc-period-wrap .btn-link {
    float: right;
    margin: 0 0 0 10px;
    width: 140px;
}

.calc-period-wrap .btn-link {
    height: 22px;
    line-height: 22px;
}


.b-calculator {
    border: 1px solid #bfbfbf;
    padding: 7px 10px 10px;
    color: #4c4c4c;
}

.b-calculator_var2 {
    border-top: none;
    background: #f7f7f7;
}

.calctbl {
    width: 100%;
}

.calctbl th {
    width: 49.9%;
    background: url(../i/calc-tr-dott.png) 0 100% repeat-x;
    padding: 0 0 21px;
    text-align: left;
    vertical-align: middle;
}

.calctbl td {
    width: 49.9%;
    border-left: 1px solid #bfbfbf;
    text-align: left;
    vertical-align: top;
}

.calctbl td:first-child {
    border-left: none;
}

.b-clcmrg {
    padding: 0 0 0 10px;
}

.calctbl th:first-child .b-clcmrg
, .calctbl td:first-child .b-clcmrg {
    padding: 0 10px 0 0;    
}

.calctbl h3 {
    font-size: 14px;
    font-weight: bold;
    margin: 0;
}

.calctbl h3.calc-summ {
    float: left;
    line-height: 27px;
    color: #000;
}

.calctbl h4 {
    font-size: 14px;
    font-weight: normal;
    line-height: 100%;
}

.calctbl input.submit {
    float: right;
    width: 102px;
    margin: 0 0 0 10px;
    padding: 0;
    font-size: 14px;
    height: 26px;
}

.calctbl dl {
    margin: 0 0 7px;
}

.calctbl dl dt {
    float: left;
    width: 37%;
    margin: 0 3% 0 0;
}

.calctbl dl .wtd-ic {
    position: static;
    float: left;
    margin: 0 5px 0 0;
}

.calctbl dl .wtd-ovh {
    overflow: hidden;
}

.calctbl dl dd {
    overflow: hidden;
}

.calctbl .litt-link {
    font-size: 12px;
    line-height: 100%;
    color: #0066cc;
    text-decoration: underline;
}

.calctbl .hr {
    margin: 10px 0;
    height: 1px;
    line-height: 0;
    font-size: 0;
    background: url(../i/calc-tr-dott.png) 0 0 repeat-x;
}

.calctbl .hr_var2 {
    background: #b5b5b5;
}

.lab_w_inputs {
    position: relative;
    padding: 0 150px 0 22px;
}

.lab_w_inputs label.checklabel {
    position: absolute;
    top: 8px; left: 0;
}

.lab_w_inputs .text_pos {
    position: absolute;
    top: 0; right: 64px;
    width: 76px;
}

.lab_w_inputs .rur {
    display: block;
    position: absolute;
    top: 0; right: 33px;
    line-height: 32px;
}

.lab_w_inputs_add {
    display: none;
    margin-top: 10px;
}


.h-calculate-wrap .b-submit-wrap {
    border-top: 1px dotted #7f7f7f;
    margin: 10px 0 0;
    padding: 10px 0 0;
}


.calctbl_var2 th {
    width: 26.5%;
    font-size: 16px;
    color: #4c4c4c;
}

.calctbl_var2 th h3 {
    font-size: 16px;
}

.calctbl_var2 td {
    width: 73.5%;
    border: none;
    background: url(../i/calc-tr-dott.png) 0 100% repeat-x;
    padding: 0 0 21px;
    color: #4c4c4c;
}

.b-clc-period-wrap {
    width: 40%;
    float: left;
}

.b-clc-period-wrap .b-datepicker-wrap {
    margin: 0 40px 0 0;
}

.b-clc-period-btn-wrap {
    float: right;
    width: 20%;
}

.itogo_summ {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}


.b-clcarchive-border-wrap {
    background: url(../i/calc-tr-dott.png) 0 100% repeat-x;
    padding: 0 0 21px;
}

.b-clcarchive-border-wrap h3 {
    float: left;
    margin: 8px 10px 0 0;
    font-size: 16px;
    color: #4c4c4c;
}

.b-clcarchive-border-wrap h4 {
    float: left;
    margin: 6px 10px 0 0;
    font-size: 14px;
    color: #4c4c4c;
}

.b-clcarchive-border-wrap select {
    float: left;
    width: 16.5%;
    margin: 0 10px 0 0;
}

.b-clcarchive-border-wrap select.year {
    width: 12%;
}

.b-clcarchive-border-wrap .mdash {
    float: left;
    margin: 6px 10px 0 0;
}

.b-clcarchive-border-wrap .b-clc-period-btn-wrap {
    width: 22.5%;
}

.calctbl_var3 th {
    width: 26.5%;
    font-size: 16px;
    color: #4c4c4c;
    vertical-align: top;
}

.calctbl_var3 td {
    width: 73.5%;
    border: none;
    background: url(../i/calc-tr-dott.png) 0 100% repeat-x;
    padding: 20px 0 21px;
    color: #4c4c4c;
}

.calctbl_var3 dl dt {
    width: 66.5%;
}

/*}}}*/


/*{{{ =Writings*/  

.h-writings-search {
    border-bottom: 1px dotted #7f7f7f;
    margin: 0 0 10px;
    padding: 0 0 13px;
}

.writsearchtbl {
    width: 100%;
}

.writsearchtbl th {
    font-size: 12px;
    font-weight: normal;
    color: #a6a6a6;
    text-align: left;
    vertical-align: top;
    white-space: nowrap;
    padding: 0 10px 0 0;
}

.writsearchtbl td {
    text-align: left;
    vertical-align: middle;
    padding: 0 10px 7px 0;
    white-space: nowrap;
}

.writsearchtbl td.btn-col {
    width: 65px;
    padding: 0 0 7px;
}

.writsearchtbl .b-datepicker-wrap {
    display: inline-block;
    width: 122px;
}


.b-writbtns-wrap {
    margin: 0 0 10px;
}

.b-writbtns-wrap .btn-link {
    float: right;
    margin: 0 0 0 20px;
    padding: 5px 20px;
}


.writtbl {
    width: 100%;
}

.writtbl th {
    font-size: 12px;
    color: #4c4c4c;
    text-align: left;
    vertical-align: middle;
    padding: 7px 5px;
    border: 1px solid #bfbfbf;
    background: #e6e6e6;
}

.writtbl td {
    font-size: 12px;
    color: #4c4c4c;
    text-align: left;
    vertical-align: middle;
    padding: 7px 5px;
    border: 1px solid #bfbfbf;
    background: #fff;
}

.writtbl tr.cancel-tr td {
    background: #ffeded;
}

.writtbl tr.done-tr td {
    background: #effae5;
}

.writtbl .al-c {
    text-align: center;
}

.writtbl .al-r {
    text-align: right;
}

.writtbl .act-col {
    width: 95px;
    white-space: nowrap;
}

.writtbl .litt {
    font-size: 10px;
    color: #808080;
}

.writtbl .litt2 {
    font-size: 10px;
    color: #4c4c4c;
}

.writtbl .cancel {
    color: #cc0000;
}

.writtbl .done {
    color: #4c9900;
}

.writtbl .act-col img {
    margin: 0 0 0 6px;
}

.writtbl .act-col .edit-btn img {
    margin: 0;
}

.h-writings .writ-status {
    display: inline-block;
    padding: 24px 0 0;
    background: url(../i/info-st.png) 50% 0 no-repeat;
    color: #4c4c4c;
    text-decoration: none;
}

.h-writings a {
    color: #0066cc;
    text-decoration: underline;
}

/*}}}*/


/*{{{ =Salon*/ 

.cl_sal_tbl {
    width: 100%;
}

.cl_sal_tbl th {
    background: #e6e6e6;
    border: 1px solid #bfbfbf;
    font-size: 14px;
    color: #4c4c4c;
    padding: 9px 10px;
    text-align: left;
    vertical-align: middle;
}

.cl_sal_tbl td {
    background: #fff;
    border: 1px solid #bfbfbf;
    font-size: 14px;
    color: #4c4c4c;
    padding: 7px 10px;
    text-align: left;
    vertical-align: middle;
}

.cl_sal_tbl tr.colored td {
    background: #f7f7f7;
}

.cl_sal_tbl .al-c {
    text-align: center;
}

/*}}}*/


/*{{{ H-cllst-wrap*/

.h-cllst-wrap a {
    color: #0066cc;
    text-decoration: underline;
}


.cllst-filter {
    margin: 0 0 20px;
}

.cllst-filter td {
    padding: 0 20px 0 0;
    text-align: left;
    vertical-align: middle;
}

.cllst-filter .radio {
    margin: 0;
}

.cllst-filter .radio li:last-child {
    margin: 0;
}

.cllst-filter .b-datepicker-wrap {
    display: inline-block;
    width: 122px;
}

.cllst-filter input.submit_var2 {
    width: 140px;
    padding: 5px 0;
    text-align: center;
}


.cllst-tbl {
    width: 100%;
}

.cllst-tbl th {
    background: #e6e6e6;
    border: 1px solid #bfbfbf;
    padding: 7px 10px;
    font-size: 12px;
    color: #4c4c4c;
    text-align: left;
    vertical-align: middle;
}

.cllst-tbl td {
    background: #fff;
    border: 1px solid #bfbfbf;
    padding: 7px 10px;
    font-size: 12px;
    color: #4c4c4c;
    text-align: left;
    vertical-align: middle;
}

.cllst-tbl tr.colored td {
    background: #f7f7f7;
} 

.cllst-tbl .al-c {
    text-align: center;
} 


.h-cllst-wrap .pager
, .h-clwrit-wrap .pager {
    background: #f7f7f7;
    border-color: #bfbfbf;
    padding: 7px 10px;
}

.h-clwrit-wrap .pager {
    background: #fff;
}

/*}}}*/


/*{{{ =H-clwrit-wrap*/ 

.h-clwrit-wrap a {
    color: #0066cc;
    text-decoration: underline;
}

.wrt-info {
    position: relative;
    left: -5px;
    margin: 0 -10px 0 0;
}

.wrt-info li {
    border-top: 1px dotted #7f7f7f;
    padding: 2px 5px;
}

.wrt-info li:first-child {
    border-top: none;
    padding-top: 0;
}


.h-clwrit-top-wrap {
    margin: 0 0 10px;
    padding: 0 0 10px 57%;
    border-bottom: 1px dotted #797979;
    position: relative;
}

.h-clwrit-top-wrap h2 {
    position: absolute;
    top: 0; left: 0;
    font-size: 16px;
    color: #4c4c4c;
    margin: 0 0 45px;
}

.clwrt-top-filter {
    width: 310px;
    position: absolute;
    bottom: 10px; left: 0;
}

.clwrt-top-filter select {
    float: left;
    width: 158px;
    margin: 2px 0 0;
}

.clwrt-top-filter .btn-link_var2 {
    float: right;
    width: 140px;
    color: #666;
    text-decoration: none;
}

.clwrt-top {
    width: 100%;
}

.clwrt-top th {
    border: 1px solid #bfbfbf;
    background: #e6e6e6;
    text-align: center;
    vertical-align: middle;
    padding: 9px 10px 6px;
}

.clwrt-top td {
    border: 1px solid #bfbfbf;
    background: #fff;
    text-align: left;
    vertical-align: middle;
    padding: 7px 10px;
    color: #000;
}

.clwrt-top tr.colored td {
    background: #f7f7f7;
}

.clwrt-top tr.all td {
    font-weight: bold;
}

.clwrt-top .al-c {
    text-align: center;
}


.classic-tbl {
    width: 100%;
}

.classic-tbl th {
    border: 1px solid #bfbfbf;
    background: #e6e6e6;
    text-align: left;
    vertical-align: middle;
    padding: 7px 10px;
    font-size: 14px;
    color: #4c4c4c;
}

.classic-tbl td {
    border: 1px solid #bfbfbf;
    background: #fff;
    text-align: left;
    vertical-align: middle;
    padding: 7px 10px;
    color: #4c4c4c;
}

.classic-tbl tr.colored td {
    background: #f7f7f7;
}

.classic-tbl .al-c {
    text-align: center;
}

.classic-tbl .al-r {
    text-align: right;
}

.classic-tbl a {
    color: #0066cc;
    text-decoration: underline;
}

.classic-tbl .nobr {
    white-space: nowrap;
}

/*}}}*/


/*{{{ =Trade marks*/  

.h-trades-wrap {
    padding: 5px 0 0;
}

.trade-add-btn 
, .tovar-add-btn {
    width: 200px;
    padding: 5px 0;
    text-align: center;
    margin: 0 0 10px;
}


.trades-table {
    width: 100%;
}

.trades-table th {
    background: #e6e6e6;
    border: 1px solid #bfbfbf;
    color: #4c4c4c;
    text-align: left;
    vertical-align: middle;
    padding: 7px 10px;
}

.trades-table th h3 {
    font-size: 14px;
    margin: 0 0 5px;
}

.trades-table select {
    width: 100%;
    min-width: 100px;
    height: 23px;
    margin: 0;
    padding: 0;
}

.trades-table td {
    background: #fff;
    border: 1px solid #bfbfbf;
    color: #4c4c4c;
    text-align: left;
    vertical-align: middle;
    padding: 7px 10px;
}

.trades-table th.al-c
, .trades-table td.al-c {
    text-align: center;
}

.trades-table td.col2 {
    padding: 7px 0;
    width: 93px;
    text-align: center;
}

.trades-table td.col3 {
    padding: 7px 0;
    width: 120px;
    text-align: center;
}

.trades-table tr.colored td {
    background: #f7f7f7;
}

.trades-table img.pic {
    border: 1px solid #D9D9D9;
    margin: 0 4px 0 0;
    vertical-align: middle;
}

.trades-table .edit-link
, .trades-table .del-link
, .trades-table .newtemp-link {
    display: inline-block;
    line-height: 16px;
    font-size: 12px;
    padding: 0 0 0 20px;
    background: url(../i/edit-bul.png) 0 50% no-repeat;
    color: #0066cc;
    text-decoration: underline;
}

.trades-table .del-link {
    background-image: url(../i/del-bul.png);
    color: #cc0000;
}

.trades-table .newtemp-link {
    background-image: url(../i/add-bul.png);
}

.trades-table .temp_no {
    color: #a6a6a6;
}


.h-wh-title-wrap {
    margin: 0 0 10px;
}

.h-wh-title-wrap table {
    width: 100%;
}

.h-wh-title-wrap table th {
    padding: 0 10px 0 0;
    font-size: 12px;
    font-weight: normal;
    text-align: left;
    vertical-align: top;
    color: #a6a6a6;
}

.h-wh-title-wrap table td {
    padding: 0 10px 0 0;
    text-align: left;
    vertical-align: top;
}

.h-wh-title-wrap table td:last-child {
    padding: 0;
}

.h-wh-title-wrap table td.al-v-m {
    vertical-align: middle;
}

.h-wh-title-wrap select {
    min-width: 160px;
}

.h-wh-title-wrap .wh-add-tovar-link {
    float: right;
}

.h-wh-title-wrap .valuta {
    float: right;
    font-size: 14px;
    color: #bfbfbf;
}

.h-wh-title-wrap .valuta b {
    color: #4c4c4c;
}

.h-wh-title-wrap .valuta a {
    color: #0066cc;
    text-decoration: underline;    
}

.wh-tovar-tbl {
    width: 100%;
    border-collapse: collapse;
}

.wh-tovar-tbl th {
    background: #ebf1f7;
    border: 1px solid #7aa3cc;
    border-collapse: collapse;
    text-align: left;
    vertical-align: middle;
    padding: 5px 10px;
}

.wh-tovar-tbl .wh-tr-colored th {
    background: #bcd1e5;
}

.wh-tovar-tbl td {
    border-collapse: collapse;
    background: #fff;
    border-left: 1px solid #bfbfbf;
    padding: 0;
}

.wh-tovar-tbl .al-c {
    text-align: center;
}

.wh-tovar-tbl .al-r {
    text-align: right;
}

.wh-tovar-tbl .hide-tr {
    display: none;
}

.wh-tovar-tbl h3 {
    font-size: 14px;
    font-weight: bold;
    color: #3d6b99;
    margin: 8px 0;
    float: left;
}

.wh-tovar-tbl h3 a {
    color: #3d6b99;
}

.wh-tovar-tbl .btn-link {
    margin: 0;
}

.wh-arrow {
    float: right;
    width: 15px;
    height: 15px;
    background: url(../i/wh-arrows.png) 0 0 no-repeat;
    margin-top: 8px;
}

.wh-tr-colored .wh-arrow {
    background-position: 0 -15px;
}

.wh-tovar-tbl table {
    width: 100%;
}

.wh-tovar-tbl table th {
    background: #e6e6e6;
    border: 1px solid #bfbfbf;
    border-top: none;
    font-size: 12px;
    color: #4c4c4c;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
    padding: 7px 5px 8px;
}

.wh-tovar-tbl table td {
    border: 1px solid #bfbfbf;
    font-size: 12px;
    color: #4c4c4c;
    text-align: left;
    vertical-align: middle;
    padding: 5px;
}

.wh-tovar-tbl table tr.colored td {
    background: #ffeded;
}

.wh-tovar-tbl table th:first-child
, .wh-tovar-tbl table td:first-child {
    border-left: none;
}

.wh-tovar-tbl table a {
    color: #0066cc;
    text-decoration: underline;
}

.wh-tovar-tbl table .rem {
    color: #808080;
}

.wh-tovar-tbl img {
    border: 1px solid #d9d9d9;
    vertical-align: middle;
    margin: 0 4px 0 0;
}

.wh-tovar-tbl img.no_styles {
    border: none;
    margin: 0;
}

.wh-tovar-tbl .del {
    display: block;
    width: 16px;
    height: 16px;
    background: url(../i/del-bul.png) 0 0 no-repeat;
    cursor: pointer;
    margin: 0 auto;
}

.wh-tovar-tbl table table {
    width: auto;
}

.wh-tovar-tbl table table td {
    border: none;
    padding: 0;
}

.pst-list {
    position: relative;
    left: -5px;
    margin: 0 -10px 5px 0;
}

.pst-list li {
    border-bottom: 1px dotted #808080;
    padding: 4px 30px 7px 5px;
    position: relative;
    line-height: 16px;
}

.wh-tovar-tbl .pst-list .del {
    position: absolute;
    top: 50%; right: 5px;
    margin-top: -8px;
}

.add-pst-link {
    color: #0066cc;
    text-decoration: underline;
}


.h-warehouse-wrap .b-submit-wrap {
    padding: 10px 0 0;    
}

.h-warehouse-wrap .b-submit-wrap .btn-link {
    float: right;
    margin: 0 0 0 10px;
    padding: 5px 0;
    width: 200px;
    text-align: center;
}

.h-warehouse-wrap .b-submit-wrap .btn-link_var2 {
    width: 160px;
}

.provider-add-btn {
    margin: 0 0 10px;
}


.h-wh-period-wrap {
    border-bottom: 1px dotted #7f7f7f;
    margin: 0 0 10px;
    padding: 0 0 10px;
}

.h-wh-period-wrap table {
    border-collapse: collapse;
}

.h-wh-period-wrap table td {
    border-collapse: collapse;
    padding: 0 5px 0 0;
    font-size: 16px;
    font-weight: bold;
    line-height: 120%;
    color: #4c4c4c;
}

.h-wh-period-wrap table h4 {
    font-size: 16px;
    margin: 0 15px 0 0;
}

.h-wh-period-wrap .b-datepicker-wrap {
    margin: 0 20px 0 0;
}


.wh-move-tbl {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 0;
}

.wh-move-tbl th {
    background: #e6e6e6;
    border: 1px solid #bfbfbf;
    border-collapse: collapse;
    text-align: left;
    vertical-align: middle;
    padding: 7px 5px;
    font-size: 12px;
    line-height: 120%;
    color: #4c4c4c;
}

.wh-move-tbl td {
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #bfbfbf;
    padding: 7px 5px;
    font-size: 12px;
    line-height: 120%;
    color: #4c4c4c;
}

.wh-move-tbl tr.colored td {
    background: #f7f7f7;
}

.wh-move-tbl .al-c {
    text-align: center;
}

.wh-move-tbl a {
    color: #0066cc;
    text-decoration: underline;
}

.wh-move-tbl img {
    vertical-align: middle;
}


.b-wh-product_item {
    border-top: 1px dotted #797979;
    padding: 10px 0 0;
    color: #4c4c4c;
}

.b-wh-product_item table {
    width: 100%;
}

.b-wh-product_item table td {
    text-align: left;
    vertical-align: top;
    padding: 0 0 0 10px;
}

.b-wh-product_item table td.va-b {
    vertical-align: bottom;
}

.b-wh-product_item td:first-child {
    padding: 0;
}

.b-wh-product_item img {
    display: block;
}

.b-wh-pr {
    font-size: 14px;    
}

.b-wh-pr img {
    float: left;
    border: 1px solid #D9D9D9;
    margin: 0 10px 0 0;
}

.b-wh-pr h3 {
    font-size: 18px;
}

.b-wh-product_item .st_not {
    background: #ffeded;
    border: 1px solid #cc0000;
    padding: 9px 10px;
    text-align: center;
}

.b-wh-product_item .btn-link {
    float: none;
    display: inline-block;
    width: 130px;
    margin: 0;
    padding: 5px 0;
    text-align: center;
}

.b-wh-product_item label {
    font-size: 12px;
    color: #a6a6a6;
}

.b-wh-product_item input.text {
    width: 100px;
}


.h-warehouse-product-wrap h2 {
    font-size: 16px;
    border-bottom: 1px dotted #797979;
    margin: 0 0 10px;
    padding: 0 0 5px;
    color: #4c4c4c;
}

.h-wh-frmt-wrap {
    border-bottom: 1px dotted #797979;
    margin: 0 0 10px;
}

.h-warehouse-product-wrap .frm-tbl_wide {
    width: 100%;
}

.h-warehouse-product-wrap .frm-tbl th {
    font-size: 12px;
    font-weight: normal;
    color: #a6a6a6;
    padding: 0 0 1px;
    text-align: left;
    vertical-align: top;
}

.h-warehouse-product-wrap .frm-tbl td {
    font-size: 14px;
    padding: 0 0 10px;
    text-align: left;
    vertical-align: top;
}

.h-warehouse-product-wrap .frm-tbl .b-form-mar {
    white-space: nowrap;
}

.h-warehouse-product-wrap .frm-tbl th:first-child .b-form-mar
, .h-warehouse-product-wrap .frm-tbl td:first-child .b-form-mar {
    padding: 0;
}

.h-warehouse-product-wrap .frm-tbl input.text {
    display: inline-block;
    width: 165px;
}

.h-warehouse-product-wrap .frm-tbl .btn-link {
    float: right;
    width: 140px;
    margin: 0;
    padding: 5px 0;
    text-align: center;
}

.h-wh-price-wrap {
    font-size: 14px;
}

.h-wh-price-wrap h3 {
    font-weight: normal;
    font-size: 14px;
    color: #4c4c4c;
    margin: 0 0 10px;
}

.h-wh-price-wrap a {
    color: #0066cc;
    text-decoration: underline;
}

.h-wh-price-wrap .more {
    float: right;
    margin: 10px 0 0;
}


.h-warehouse-supplier-wrap h2 {
    font-size: 16px;
    border-bottom: 1px dotted #797979;
    margin: 0 0 10px;
    padding: 0 0 5px;
    color: #4c4c4c;
}

.h-warehouse-supplier-wrap .frm-tbl_wide {
    width: 100%;
}

.h-warehouse-supplier-wrap .frm-tbl th {
    font-size: 12px;
    font-weight: normal;
    color: #a6a6a6;
    padding: 0 0 1px;
    text-align: left;
    vertical-align: top;
}

.h-warehouse-supplier-wrap .frm-tbl td {
    font-size: 14px;
    padding: 0 0 10px;
    text-align: left;
    vertical-align: top;
}

.h-warehouse-supplier-wrap .frm-tbl .b-form-mar {
    white-space: nowrap;
}

.h-warehouse-supplier-wrap .frm-tbl th:first-child .b-form-mar
, .h-warehouse-supplier-wrap .frm-tbl td:first-child .b-form-mar {
    padding: 0;
}

.h-warehouse-supplier-wrap .frm-tbl input.text {
    display: inline-block;
}

.h-warehouse-supplier-wrap .btn-link {
    float: right;
    margin: 0 0 10px;
    padding: 5px 14px;
    text-align: center;
}

.h-warehouse-supplier-wrap input.submit {
    float: right;
    padding: 5px 25px;
}

/*}}}*/


/*{{{ =Writings shedule*/   

.h-writ-shedule-wrap {
    position: relative;
    left: -10px;
    margin: 0 -20px 0 0;
}

.h-wrsh-sidebar {
    float: left;
    width: 170px;
    margin: 0 10px 0 0;
}

.wr-tabs li {
    float: left;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-bottom: none;
    border-left: none;
    margin: 0;
    font-size: 12px;
}

.wr-tabs li:first-child {
    border-left: 1px solid #d9d9d9;
}

.wr-tabs li.active {
    background: #7aa3cc;
    border-color: #7aa3cc !important;
    font-size: 14px;
    font-weight: bold;
    margin-top: 0;
}

.wr-tabs a {
    width: 55px;
    float: left;
    line-height: 29px;
    text-align: center;
    color: #808080;
}

.wr-tabs li.active a {
    color: #fff;
} 

.wr-tabs_var2 a {
    width: 77px;
}

.wr-tabs_var2 li.active a {
    width: 90px;
}

.b-wr-tabs {
    background: #fff;
    border: 2px solid #7aa3cc;
    margin: 0 0 10px;
    display: none;
}

.wr-tabs-list li {
    border-top: 1px dotted #9bbad9;
    margin: 0 5px;
    padding: 4px 0 2px 2px;
    font-size: 11px;
    position: relative;
}

#calls .wr-tabs-list li {
    min-height: 115px;
}

.wr-tabs-list .icons {
    width: 18px;
    position: absolute;
    top: 5px; right: 0;
}

.wr-tabs-list_calls .icons {
    top: 28px;
}

.wr-tabs-list .icons2 {
    float: right;
    max-width: 40px;
    margin-right: -3px;
}

.wr-tabs-list .icons2 img {
    float: left;
    margin: 0 3px 0 0;
}

.wr-tabs-list img.action {
    float: left;
    margin: 6px 5px 0 0;
}

.wr-tabs-list .edit
, .wr-tabs-list .status
, .wr-tabs-list .cancel
, .wr-tabs-list .recall {
    display: block;
    width: 18px;
    height: 19px;
    background: url(../i/edit-bul3.png) 0 0 no-repeat;
    margin: 0 0 4px;
    text-indent: -9999px;
    outline: none;
}

.wr-tabs-list .status {
    background-image: url(../i/online-bul.png);
}

.wr-tabs-list .cancel {
    background-image: url(../i/cancel-bul.png);
}

.wr-tabs-list .recall {
    background-image: url(../i/recall-bul.png);
}

.wr-tabs-list .time {
    float: left;
    width: 95px;
    height: 21px;
    background: url(../i/time.png) 0 0 no-repeat;
    margin: 0 5px 4px -11px;
    font-size: 14px;
    font-weight: bold;
    line-height: 21px;
    text-align: center;
    color: #fff;
}

.wr-tabs-list .time_red {
    background: url(../i/time_2_red.png);
}

.wr-tabs-list .time_green {
    background: url(../i/time_2_green.png);
}

.wr-tabs-list .time_blue {
    background: url(../i/time_2_blue.png);
}

.wr-tabs-list .number {
    float: right;
    font-size: 14px;
    line-height: 21px;
    color: #5c7a99;
}

.wr-tabs-list .number a {
    color: #0066cc;
    text-decoration: underline;
}

.wr-tabs-list h4 {
    float: left;
    font-size: 12px;
    font-weight: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 118px;
}

.wr-tabs-list h4 a {
    color: #0066cc;
    text-decoration: underline;
}

.wr-tabs-list li:first-child {
    border-top: none;
}

.wr-tabs-list p {
    margin: 0 0 5px;
}

.wr-tabs-list p.litt {
    font-size: 10px;
}

.wr-tabs-list .wr-tabs-btns {
    padding: 1px 2px 3px;
}

.wr-tabs-list .wr-tabs-btns a {
    float: left;
    width: 61px;
    height: 13px;
    margin: 5px;
    font-size: 9px;
    line-height: 13px;
    text-align: center;
    color: #fff;
}

.wr-tabs-list .wr-tabs-btns a.a_green {
    background: #00b314;
    border: 1px solid #129921;
}

.wr-tabs-list .wr-tabs-btns a.a_blue {
    background: #0191ea;
    border: 1px solid #065d92;
}

.wr-tabs-list .wr-tabs-btns a.a_red {
    background: #cc0000;
    border: 1px solid #8f0303;
}

.wr-tabs-list .wr-tabs-btns a.a_white {
    background: #fff;
    border: 1px solid #818181;
    color: #595959;
}

.b-credibility {
    border: 1px solid #808080;
    background: #fff;
    height: 2px;
    margin: 3px 0;
}

.b-cred-indicator {
    height: 2px;
    background: #808080;
}

.wr-tabs-list .letter {
    vertical-align: top;
    margin: 0 5px 0 0;
}

.h-wrsh-side-tabs-wrap .ui-datepicker {
    padding: 0;
    border: none;
    background: none;
    font-family: "Trebuchet MS", Arial, sans-serif;
}

.h-wrsh-side-tabs-wrap .ui-datepicker table {
    margin: 0;
}

.h-wrsh-side-tabs-wrap .ui-datepicker th {
    padding: 0;
    border: 1px solid #dbe7f2;
    border-top: none;
    background: #c3d5e6;
}

.h-wrsh-side-tabs-wrap .ui-datepicker td {
    padding: 0;
    border: 1px solid #dbe7f2;
    background: #f1f6fa;
}

.h-wrsh-side-tabs-wrap .ui-datepicker th span
, .h-wrsh-side-tabs-wrap .ui-datepicker td span
, .h-wrsh-side-tabs-wrap .ui-datepicker td a {
    display: block;
    padding: 1px;
    width: 20px;
    height: 17px;
    background: none;
    border: none;
    line-height: 17px;
}

.h-wrsh-side-tabs-wrap .ui-datepicker .ui-datepicker-current-day a.ui-state-active 
, .h-wrsh-side-tabs-wrap .ui-datepicker .week-highlight a.ui-state-default {
    background: #7aa3cc !important;
    color: #fff;
}

.h-wrsh-side-tabs-wrap .ui-datepicker .ui-datepicker-today a {
    background: #ffd400;
    border: 1px solid #5c7a99;
    padding: 0;
    color: #4c4c4c;
}


.h-wrsh-asidebar {
    float: right;
    width: 80px;
    margin: 0 0 0 10px;
}

.wrsh-services-tabs li {
    float: left;
    width: 37px;
    margin: 0 0 0 1px;
    border: 1px solid #d9d9d9;
    border-bottom: none;
}

.wrsh-services-tabs li:first-child {
    width: 38px;
    margin: 0;
}

.wrsh-services-tabs .active {
    border-color: #9bbad9;
}

.wrsh-services-tabs a {
    float: left;
    width: 100%;
    height: 38px;
    text-indent: -9999px;
    outline: none;
    overflow: hidden;
    background-position: 0 0 no-repeat;
    background-repeat: no-repeat;
}

.wrsh-services-tabs .woman a {
    background-image: url(../i/woman.png);
} 

.wrsh-services-tabs .man a {
    background-image: url(../i/man.png);
} 

.wrsh-services-tabs .woman.active a
, .wrsh-services-tabs .man.active a {
    background-position: 0 -38px;
    background-color: #f1f6fa;
} 

.wrsh-services {
    border: 1px solid #9bbad9;
    background: #f1f6fa;
    padding: 8px 2px 2px;
}

.wrsh-services li {
    font-size: 10px;
    line-height: 110%;
    text-align: center;
    background-position: 50% 0;
    background-repeat: no-repeat;
    margin: 0 0 13px;
    padding: 24px 0 0;
}

.wrsh-services li.new_writ {
    background: none;
    margin: 0 0 8px;
    padding: 0;
    font-size: 14px;
    font-weight: bold;
    line-height: 100%;
}

.wrsh-services li.parikmah {
    background-image: url(../i/parik-bg.png);    
}

.wrsh-services li.manikur {
    background-image: url(../i/manikur-bg.png);
}

.wrsh-services li.cosmet {
    background-image: url(../i/cosmet-bg.png);
}

.wrsh-services li.vizazh {
    background-image: url(../i/vizazh-bg.png);
}

.wrsh-services li.spa {
    background-image: url(../i/spa-bg.png);
}

.wrsh-services li.body {
    background-image: url(../i/body-bg.png);
}

.wrsh-services li.tatuazh {
    background-image: url(../i/tatuazh-bg.png);
    padding: 18px 0 0;
}

.wrsh-services li.tatu {
    background-image: url(../i/tatu-bg.png);
}

.wrsh-services li.pirsing {
    background-image: url(../i/pirsing-bg.png);
}

.wrsh-services li.new_writ a {
    color: #5c7a99;
}


.h-wrsh-content {
    overflow: hidden;
}

.wrsh-shed-tabs li {
    float: left;
    margin: 5px 1px 0 0;
    padding: 0 8px;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-bottom: none;
    height: 38px;
    font-size: 12px;
    line-height: 110%;
}

.wrsh-shed-tabs li.active {
    border-color: #808080;
    background: #ccc;
    font-size: 14px;
    font-weight: bold;
    line-height: 110%;
    height: 43px;
    position: relative;
    top: 1px;
    margin: 0 1px -1px 0;
}

.wrsh-shed-tabs li.short-li {
    padding: 0 6px;
}

.wrsh-shed-tabs li a {
    display: block;
    width: 57px;    
    color: #4c4c4c;
    overflow: hidden;
}

.wrsh-shed-tabs li.active a {
    width: 70px;    
    padding: 2px 0 0;
}

.wrsh-shed-tabs li.short-li a {
    width: 7px;
}

.wrsh-shed-tabs a.gt {
    background: url(../i/gt.png) 50% 50% no-repeat;
    text-indent: -9999px;
    outline: none;
    padding: 0;
    height: 38px;
}

.wrsh-shed-tabs li i {
    display: block;
    font-size: 10px;
    line-height: 110%;
}

.h-shed-wrap {
    border: 1px solid #808080;
    background: #ccc;
    padding: 5px;
}

.shed-tbl {
    width: 100%;
}

.shed-tbl th {
    font-size: 12px;
    font-weight: normal;
    color: #4c4c4c;
    padding: 3px 0 8px;
    text-align: center;
    vertical-align: top;
}

.shed-tbl th.weekend {
    color: #cc0000;
}

.shed-tbl th i {
    font-size: 10px;
}

.shed-tbl td {
    border: 1px solid #a6a6a6;
    background: #fff;
    font-size: 9px;
    color: #bfbfbf;
    height: 10px;
}

.shed-tbl td.td2 {
    border-bottom: 1px solid #d9d9d9;
}

.shed-tbl td.td2_2 {
    border-left: none;
    font-size: 10px;
    color: #4c4c4c;
    vertical-align: top;
    width: 15px;
}

.shed-tbl td.td3 {
    border-right: none;
    font-size: 18px;
    color: #4c4c4c;
    text-align: center;
    vertical-align: middle;
    width: 30px;
}

.shed-tbl .disabled td {
    background: #e6e6e6;
}

.sh-inn {
    position: relative;
    height: 10px;
}

.sh-time {
    padding: 0 2px;
}

.b-shed {
    width: 100%;
    position: absolute;
    top: -1px; left: -1px;
    z-index: 1;
    background: #bfe5bf;
    border: 1px solid #7fcc7f;
}

.b-shed_2 {
    width: 49.2%;
}

.b-shed_2_right {
    left: auto; right: -1px;
}

.b-shed .title {
    background: #59b359;
    height: 17px;
    color: #fff;
    line-height: 16px;
    padding: 0 3px;
    position: relative;
}

.i-ic {
    display: block;
    width: 12px;
    height: 12px;
    background: url(../i/i-ic.png) 0 0 no-repeat;
    position: absolute;
    top: 50%; right: 4px;
    margin-top: -6px;
    cursor: pointer;
}

.ic_zamok {
    width: 15px;
    height: 5px;
    background: url(../i/zamok.png) 0 0 no-repeat;
    right: 24px;
    margin-top: -2px;
}

.ic_plus {
    background: url(../i/plus_2.png) 0 0 no-repeat;
    right: 5px;
}

.b-shed p {
    padding: 2px 3px;
    color: #4c4c4c;
    line-height: 120%;
}

.b-shed .hellip
, .wr-tabs-list .hellip {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.h-wrsh-content_var2 {
    overflow: hidden;
    position: relative;
}

.h-wrsh-content_var2 h2.day {
    float: left;
    font-size: 18px;
    font-weight: normal;
    color: #5c7a99;
    margin: 0;
    padding: 5px 0 0;
}

.h-wrsh-content_var2 h2.phone-numb {
    color: #3d5266;
}

.working-switch-list {
    float: left;
    padding: 0 6px 4px 0;
}

.working-switch-list li {
    float: left;
    margin: 0 5px 0 0;
}

.working-switch-list li a {
    float: left;
    width: 32px;
    height: 33px;
    background-image: url(../i/switch-ics.png);
    background-repeat: no-repeat;
    text-indent: -9999px;
    outline: none;
    overflow: hidden;
}

.working-switch-list li a.sw-shed {
    background-position: 0 0;
}

.working-switch-list li.active a.sw-shed {
    background-position: 0 -33px;
}

.working-switch-list li a.sw-graf {
    background-position: -32px 0;
}

.working-switch-list li.active a.sw-graf {
    background-position: -32px -33px;
}

.working-switch-list li a.sw-search {
    background-position: -64px 0;
}

.working-switch-list li.active a.sw-search {
    background-position: -64px -33px;
}

.sh-phone-number {
    float: right;
    width: 146px;
    height: 22px;
    margin: 1px 28px 0 0;
    position: relative;
}

.sh-phone-number input.text {
    height: 22px;
    padding:  0 25px 0 5px;
}

.sh-phone-number input.img {
    display: block;
    position: absolute;
    top: 3px; right: 8px;
}

.h-wrsh-content_var2 .selling-btn {
    float: right;
    width: 96px;
    height: 23px;
    background: #006600;
    border-bottom: 1px solid #003300;
    border-radius: 2px;
    font-size: 16px;
    line-height: 22px;
    color: #fff;
    text-align: center;
    margin: 0 0 8px;
}

.h-wrsh-content_var2_inner {
    border: 1px solid #a6a6a6;
    background: #bfbfbf;
    padding: 5px;
    position: relative;
}

.h-wrsh-content_var2 .h-wrsh-schedtbl-wrap {
    padding-right: 16%;
    position: relative;
}


.h-wrsh-schedtbl-wrap .shed-tbl {
    table-layout: fixed;
}

.h-wrsh-schedtbl-wrap .shed-tbl th {
    padding: 7px 10px 9px;
    text-align: left;
    vertical-align: middle;
    background: #fff;
    border: 1px solid #787878;
    cursor: pointer;
}

.h-wrsh-schedtbl-wrap .shed-tbl th.empty {
    background: none;
    border: none;
    width: 40px;
}

.h-wrsh-schedtbl-wrap .shed-tbl th.master_selected {
    background: #7aa3cc;
    border-color: #7aa3cc;
    color: #fff;
}

.h-wrsh-schedtbl-wrap .shed-tbl th.master_another_selected {
    padding: 0;
}

.h-wrsh-schedtbl-wrap .shed-tbl th.master_disabled {
    cursor: default;
}

.h-wrsh-schedtbl-wrap .shed-tbl th i {
    font-size: 9px;
    line-height: 100%;
    display: block;
}

.h-wrsh-schedtbl-wrap .shed-tbl th i img {
    float: none;
    vertical-align: middle;
    margin: 0 3px 0 0;
}

.h-wrsh-schedtbl-wrap .shed-tbl td {
    border: 1px solid #787878;
    height: 12px;
}

.h-wrsh-schedtbl-wrap .shed-tbl td.td2 {
    border-bottom: 1px solid #e6e6e6;
}

.h-wrsh-schedtbl-wrap .shed-tbl td.td2_2 {
    border-left: none;
    font-size: 10px;
    color: #4c4c4c;
    vertical-align: top;
    width: 15px;
}

.h-wrsh-schedtbl-wrap .shed-tbl td.td3 {
    border-right: none;
    font-size: 18px;
    color: #999;
    text-align: center;
    vertical-align: middle;
    width: 30px;
}

.h-wrsh-schedtbl-wrap .shed-tbl .disabled td
, .h-wrsh-schedtbl-wrap .shed-tbl td.disabled {
    background: #f2f2f2;
}

.h-wrsh-schedtbl-wrap .shed-tbl .dop_hour_tr {
    display: none;
}

.h-wrsh-schedtbl-wrap .shed-tbl .dop_hour_tr td {
    color: #7aa3cc;
}

.h-wrsh-schedtbl-wrap .shed-tbl .dop_hour_tr td.td2 {
    border-bottom: 1px solid #c3d5e6;
}

.h-wrsh-schedtbl-wrap .shed-tbl .dop_hour_tr_after td {
    border-top: 2px solid #808080;
}

.h-wrsh-schedtbl-wrap .shed-tbl .dop_hour_tr td.td3 
, .h-wrsh-schedtbl-wrap .shed-tbl .dop_hour_tr td.td2_2 {
    color: #5c7a99;
}

.dop-hour-opener-arrow {
    width: 23px;
    height: 15px;
    background: url(../i/arrows2.png) 0 0 no-repeat;
    cursor: pointer;    
    margin: 0 auto;
}

.dop-hour-opener-arrow_opened {
    background-position: 0 -15px;
    cursor: default;
}

.percant20 {
    display: block;
    font-size: 10px;
    font-weight: normal;
    line-height: 110%;
    color: #cc0000;
}

.b-sch-master {
    min-height: 34px;
    padding: 0 0 0 37px;
    position: relative;
}

.b-sch-master_av_wrap {
    width: 32px;
    height: 32px;
    position: absolute;
    top: 2px; left: 0;
}

.b-sch-master_av_wrap img.av {
    display: block;
}

.h-wrsh-schedtbl-wrap .shed-tbl th.master_another_selected .b-sch-master {
    border: 3px solid #7aa3cc;
    border-bottom: none;
    top: -1px; left: -1px;
    margin: 0 -2px -1px 0;
    padding: 5px 8px 9px 45px;
}

.h-wrsh-schedtbl-wrap .shed-tbl th.master_disabled .b-sch-master {
    opacity: .5;
}

.h-wrsh-schedtbl-wrap .shed-tbl th.master_another_selected .b-sch-master .b-sch-master_av_wrap {
    top: 7px; left: 8px;
}

.b-sch-master_av_wrap .problems-bg {
    width: 32px;
    height: 0;
    background: rgba(204,0,0,.5);
    position: absolute;
    bottom: 0; left: 0;
    font-size: 11px;
    font-weight: bold;
    line-height: 110%;
    color: #fff;
    text-align: center;
}

.b-sch-master_av_wrap .problems-bg_h1 {
    height: 4px;
}

.b-sch-master_av_wrap .problems-bg_h2 {
    height: 8px;
}

.b-sch-master_av_wrap .problems-bg_h3 {
    height: 12px;
}

.b-sch-master_av_wrap .problems-bg_h4 {
    height: 16px;
}

.b-sch-master_av_wrap .problems-bg_h5 {
    height: 20px;
}

.b-sch-master_av_wrap .problems-bg_h6 {
    height: 24px;
}

.b-sch-master_av_wrap .problems-bg_h7 {
    height: 32px;
}

.b-sch-master_av_wrap .problems-bg span {
    display: none;
    padding: 3px 0 0;
}

.b-sch-master_av_wrap .problems-bg_h7 span {
    display: block;
}

.b-sch-master h3 {
    max-height: 26px;
    overflow: hidden;
    font-size: 12px;
    font-weight: normal;
    line-height: 98%;
}

.h-wrsh-schedtbl-wrap .sh-inn {
    height: 12px;
    cursor: pointer;
}

.h-wrsh-schedtbl-wrap .disabled .sh-inn {
    cursor: default;
}

.h-wrsh-schedtbl-wrap .b-shed {
    min-height: 38px;
}

.h-wrsh-schedtbl-wrap .b-shed_green {
    background: #bfe5bf;
    border: 1px solid #7fcc7f;
}

.h-wrsh-schedtbl-wrap .b-shed .title {
    height: 18px;
}

.h-wrsh-schedtbl-wrap .b-shed_green .title {
    background: #00b314;
}

.h-wrsh-schedtbl-wrap .b-shed_blue {
    background: #c2e0f2;
    border: 1px solid #0191ea;
}

.h-wrsh-schedtbl-wrap .b-shed_blue .title {
    background: #0191ea;
}

.h-wrsh-schedtbl-wrap .b-shed_red {
    background: #f2c2c2;
    border: 1px solid #cc0000;
}

.h-wrsh-schedtbl-wrap .b-shed_red .title {
    background: #cc0000;
}

.b-shed_popup {
    display: none;
    width: 266px;
    background: #fff;
    border: 2px solid #00b314;
    box-shadow: 0 2px 10px rgba(0,0,0,.75);
    position: absolute;
    top: -81px; right: -266px; 
    z-index: 2;
}

.b-shed:hover 
, .wr-tabs-list li:hover {
    z-index: 12;
}

.b-shed:hover .b-shed_popup
, .wr-tabs-list li:hover .b-shed_popup {
    display: block;
}

td:last-child .b-shed:hover .b-shed_popup {
    right: auto; left: -257px;
}

.b-shed_green .b-shed_popup 
, .wr_green .b-shed_popup {
    border-color: #00b314;
}

.b-shed_blue .b-shed_popup 
, .wr_blue .b-shed_popup {
    border-color: #0191ea;
}

.b-shed_red .b-shed_popup 
, .wr_red .b-shed_popup {
    border-color: #cc0000;
}

.shed_popup_title {
    background: #00b314;
    padding: 16px 10px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
}

.b-shed_green .shed_popup_title 
, .wr_green .shed_popup_title {
    background: #00b314;
}

.b-shed_blue .shed_popup_title 
, .wr_blue .shed_popup_title {
    background: #0191ea;
}

.b-shed_red .shed_popup_title 
, .wr_red .shed_popup_title {
    background: #cc0000;
}

.b-shed_popup_inner {
    padding: 10px;
    font-size: 12px;
    color: #4c4c4c;
}

.shed_popup_time {
    border-bottom: 1px dotted #7aa3cc;
    padding: 0 0 10px;
    font-size: 18px;
    line-height: 100%;
}

.shed_popup_name {
    border-bottom: 1px dotted #7aa3cc;
    padding: 7px 0;
    font-size: 14px;
    line-height: 120%;
    position: relative;
}

.b-shed .shed_popup_name .hellip {
    width: 205px;
}

.shed_popup_name .icons2 {
    width: 40px;
    position: absolute;
    top: 50%; right: 0;
    margin-top: -8px;
}

.shed_popup_name .icons2 img {
    float: left;
    margin: 0 0 0 3px;
}

.shed_popup_info {
    padding: 10px 0 0;
}

.h-wrsh-schedtbl-wrap .shed-tbl table tbody {
    border: none !important;
}

.h-wrsh-schedtbl-wrap .shed-tbl td .shed_popup_info table td
, .wr-tabs-list li .shed_popup_info table td {
    text-align: left;
    vertical-align: top;
    padding: 0 10px 5px 0;
    background: none;
    border: none;
    font-size: 12px;
    color: #4c4c4c;
}

.b-shed_popup .colored_d {
    color: #cc0000;
}


.h-wrsh-asidebar_var2 {
    position: absolute;
    top: 5px; right: 5px;
    width: 16%;
}

.sliderkit {
    position: relative;
    overflow: hidden;
    text-align: left;
}

.sliderkit .sliderkit-nav {
    position: absolute;
    text-align: center;
}

.sliderkit .sliderkit-nav-clip {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.sliderkit .sliderkit-nav-clip ul {
    position: relative;
}

.sliderkit .sliderkit-nav-clip ul li { 
    float: left;
}

.carousel-vertical {
    width: 100%;
    height: 490px;
}

.carousel-vertical .sliderkit-nav {
    top: 0; left: 0;
    width: 100%;
    height: 425px;
    padding: 51px 0 21px;
}

.carousel-vertical .sliderkit-nav-clip {
    width: 100% !important;
}

.carousel-vertical .sliderkit-nav-clip ul li {
    float: none;
    width: 100% !important;
}

.sliderkit-inn {
    padding: 7px 10px;
    height: 35px;
    color: #4c4c4c;
    cursor: pointer;
}

.sliderkit-inn_selected {
    background: #fff;
    border: 1px solid #787878;
    padding: 6px 9px;
}

.sliderkit-inn_selected_2 {
    background: #fff;
    border: 3px solid #7aa3cc;
    border-left: 1px solid #787878;
    padding: 5px 7px 3px 9px;
}

.sliderkit-inn_selected_blue {
    background: #7aa3cc;
    color: #fff;
}

.sliderkit-inn_disabled {
    cursor: default;
}

.sliderkit-inn_disabled table {
    opacity: .5;
}

.carousel-vertical .sliderkit-nav .sliderkit-nav-btn {
    position: absolute;
}

.carousel-vertical .sliderkit-nav .sliderkit-nav-prev {
    top: 17px; left: 50%;
    margin-left: -12px;
}

.carousel-vertical .sliderkit-nav .sliderkit-nav-prev.sliderkit-btn-disable {
    display: none;
}

.carousel-vertical .sliderkit-nav .sliderkit-nav-next {
    bottom: 8px;
    width: 100%;
}

.carousel-vertical .sliderkit-nav .sliderkit-nav-btn a:hover {
    text-decoration: none;
}

.carousel-vertical .sliderkit-nav .sliderkit-nav-prev a {
    display: block;
    width: 23px;
    height: 15px;
    background: url(../i/arrows2.png) 0 -15px no-repeat;
}

.carousel-vertical .sliderkit-nav .sliderkit-nav-next a {
    font-size: 11px;
    text-align: center;
    color: #808080;
}

.carousel-vertical .sliderkit-nav table {
    width: 100%;
}

.carousel-vertical .sliderkit-nav table td {
    text-align: left;
    vertical-align: middle;
    font-size: 12px;
    line-height: 98%;
}

.carousel-vertical .sliderkit-nav table td:first-child {
    width: 37px;
}

.carousel-vertical .sliderkit-nav table td img.av {
    vertical-align: middle;
    display: block;
    margin: 0 5px 0 0;
}

.carousel-vertical .sliderkit-nav table td i {
    font-size: 9px;
    line-height: 100%;
    display: inline-block;
}

.carousel-vertical .sliderkit-nav .hellip {
    display: block;
    width: 95%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.fixed_head header {
    width: 100%;
    height: 56px;
    position: fixed;
    top: 0; left: 0;
    z-index: 10;
}

.fixed_head .h-content-wrap {
    padding-top: 56px;
}

.doc_fixed .h-wrsh-sidebar {
    position: fixed;
    top: 76px;
}

.doc_fixed .h-wrsh-content_var2_title {
    position: fixed;
    z-index: 10;
    padding-top: 20px;
    top: 56px;
    background: #fff;
}

.doc_fixed .h-wrsh-asidebar_var2 {
    position: fixed;
    z-index: 11;
    top: 119px; right: 26px;
}

.doc_fixed .h-wrsh-content_var2 {
    margin-left: 180px;
}

.doc_fixed .h-wrsh-content_var2_inner {
    min-height: 620px;
}

.h-fixed-tbl-header {
    clear: both;
    overflow: hidden;
    height: 0;
}

.doc_fixed .h-fixed-tbl-header {
    height: 52px;
    border: 1px solid #a6a6a6;
    border-bottom: none;
    background: #bfbfbf;
    padding: 5px 5px 0;
    position: relative;
}

.doc_fixed .h-wrsh-content_var2_title_var2 .h-fixed-tbl-header {
    height: 76px;
}

.doc_fixed .h-wrsh-content_var2_title_var3 .h-fixed-tbl-header {
    height: 56px;
}


.fixed-column-table-wrapper {
    width: 100%;
    height: 500px;
    overflow: auto;
}

.fht-table-wrapper
, .fht-table-wrapper .fht-thead
, .fht-table-wrapper .fht-tfoot
, .fht-table-wrapper .fht-fixed-column .fht-tbody
, .fht-table-wrapper .fht-fixed-body .fht-tbody
, .fht-table-wrapper .fht-tbody {
	overflow: hidden;
	position: relative;
}

.fht-table-wrapper .fht-fixed-body .fht-tbody
, .fht-table-wrapper .fht-tbody {
    overflow: auto;
}

.fht-table-wrapper .fht-table .fht-cell {
    overflow: hidden;
    height: 1px;
}

.fht-table-wrapper .fht-fixed-column
, .fht-table-wrapper .fht-fixed-body {
    position: absolute;
    top: 0; left: 0;
}

.fht-table-wrapper .fht-fixed-column {
    z-index: 1;
}


.h-wrsh-grafik-wrap {
    background: #fff;
    border: 4px solid #7aa3cc;
    padding: 6px;
}

.h-wrsh-grafik-wrap .subcont-tabs {
    top: 0; left: 0;
    margin: 0;
    padding: 0;
}

.h-wrsh-grafik-wrap .subcont-tabs li {
    margin: 0 2px 0 0;
}

.h-wrsh-grafik-wrap .subcont-tabs li.active {
    top: 0;
    margin-bottom: 0;
    padding: 10px 20px;
}

.h-wrsh-grafik-wrap .subcont-tabs li.active a {
    color: #7aa3cc;
}

.h-wrsh-grafik-wrap .grafik-form {
    background: #f2f2f2;
    padding: 20px;
}


.h-wrsh-grafik-wrap_nopadd {
    padding: 0;
    border: none;
}

.h-wrsh-grafik-wrap_nopadd .shed-tbl th {
    border: none;
    background: #7aa3cc;
    font-size: 11px;
    line-height: 100%;
    color: #fff;
    text-align: center;
    padding: 0;
}

.h-wrsh-grafik-wrap_nopadd .shed-tbl th.empty {
    background: #bfbfbf;
    padding: 5px 10px 4px;
}

.h-wrsh-grafik-wrap_nopadd .shed-tbl .b-d-b {
    position: relative;
    bottom: -4px;
    margin: -4px 0 0 0;
    padding: 5px 3px 0;
    height: 19px;
    border-left: 1px solid #b8cfe6;
}

.h-wrsh-grafik-wrap_nopadd .shed-tbl th.empty + th .b-d-b {
    border-left: none;
}

.h-wrsh-grafik-wrap_nopadd .shed-tbl tbody {
    border: 4px solid #7aa3cc;
}


.problem-popup-link {
    display: block;
    width: 163px;
    height: 44px;
    padding: 0 0 0 59px;
    background: url(../i/problem-bg.png) 0 0 no-repeat;
    position: fixed;
    bottom: 0; right: 5px;
    z-index: 11;
    font-size: 14px;
    line-height: 44px;
    color: #fff;
}

/*}}}*/


/*{{{ =Sidebar*/ 

.h-sidebar {
    float: left;
    width: 100px;
    padding: 2px 10px 80px;
    overflow: hidden;
}

.sidenav li {
    background: url(../i/sidenav-bg.png) 0 100% repeat-x;
    height: 78px;
    padding: 12px 0;
    font-size: 12px;
    line-height: 100%;
}

.sidenav table {
    position: relative;
    right: -10px;
    margin: 0 0 0 -10px;
    width: 110px;
    height: 100%;
}

.sidenav td {
    height: 100%;
    padding: 0 10px 0 0;
    text-align: center;
    vertical-align: middle;
}

.sidenav .active td {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,.25);
}

.sidenav-ic {
    display: block;
    width: 32px;
    height: 33px;
    margin: 0 auto 4px;
    background-image: url(../i/sidenav-ic.png);
    background-repeat: no-repeat;
    text-indent: -9999px;
    outline: none;
}

.sidenav-workers .sidenav-ic {
    height: 25px;
    background-position: 0 0;
}

.sidenav-post .sidenav-ic {
    background-position: 0 -157px;
}

.sidenav-shedule .sidenav-ic {
    background-position: 0 -25px;
}

.sidenav-grafik .sidenav-ic {
    background-position: 0 -58px;
}

.sidenav-calc .sidenav-ic {
    background-position: 0 -91px;
}

.sidenav-pay .sidenav-ic {
    background-position: 0 -124px;
}

.sidenav-clients .sidenav-ic {
    background-position: 0 -190px;
}

.sidenav-sms .sidenav-ic {
    background-position: 0 -223px;
}

.sidenav-catalog .sidenav-ic {
    background-position: 0 -256px;
}

.sidenav-trademarks .sidenav-ic {
    background-position: 0 -289px;
}

.sidenav-providers .sidenav-ic {
    background-position: 0 -322px;
}

.sidenav-remainders .sidenav-ic {
    height: 32px;
    background-position: 0 -355px;
}

.sidenav-movements .sidenav-ic {
    background-position: 0 -387px;
}

.sidenav-info .sidenav-ic {
    background-position: 0 -420px;
}

.sidenav-notification .sidenav-ic {
    background-position: 0 -453px;
}

.sidenav-button .sidenav-ic {
    background-position: 0 -486px;
}

.sidenav-apps .sidenav-ic {
    width: 66px;
    background: url(../i/sidenav-ic2.png) 0 0 no-repeat;
}

.sidenav-access .sidenav-ic {
    background-position: 0 -519px;
}

.sidenav-vedomost .sidenav-ic {
    background-position: 0 -552px;
}

.sidenav-otchet .sidenav-ic {
    background-position: 0 -585px;
}

.sidenav-paydesk .sidenav-ic {
    background-position: 0 -618px;
}

.sidenav-report-staff .sidenav-ic {
    background-position: 0 -651px;
}

.sidenav-report-staff-period .sidenav-ic {
    background-position: 0 -684px;
}

.sidenav-p-l-report .sidenav-ic {
    background-position: 0 -717px;
}

.sidenav-z-report .sidenav-ic {
    background-position: 0 -882px;
}

.sidenav-access2 .sidenav-ic {
    background-position: 0 -816px;
}

.sidenav-mobile .sidenav-ic {
    background-position: 0 -849px;
}

.sidenav-expenses .sidenav-ic {
    background-position: 0 -750px;
}

.sidenav-report-calendar .sidenav-ic {
    background-position: 0 -783px;
}

.sidenav-feedback .sidenav-ic {
    width: 38px;
    height: 34px;
    margin-bottom: 3px;
    background: url(../i/sidenav-ic3.png) 0 0;
}

.sidenav-workers.active .sidenav-ic {
    background-position: -32px 0;
}

.sidenav-shedule.active .sidenav-ic {
    background-position: -32px -25px;
}

.sidenav-grafik.active .sidenav-ic {
    background-position: -32px -58px;
}

.sidenav-calc.active .sidenav-ic {
    background-position: -32px -91px;
}

.sidenav-pay.active .sidenav-ic {
    background-position: -32px -124px;
}

.sidenav-clients.active .sidenav-ic {
    background-position: -32px -190px;
}

.sidenav-sms.active .sidenav-ic {
    background-position: -32px -223px;
}

.sidenav-catalog.active .sidenav-ic {
    background-position: -32px -256px;
}

.sidenav-trademarks.active .sidenav-ic {
    background-position: -32px -289px;
}

.sidenav-providers.active .sidenav-ic {
    background-position: -32px -322px;
}

.sidenav-remainders.active .sidenav-ic {
    background-position: -32px -355px;
}

.sidenav-movements.active .sidenav-ic {
    background-position: -32px -387px;
}

.sidenav-info.active .sidenav-ic {
    background-position: -32px -420px;
}

.sidenav-notification.active .sidenav-ic {
    background-position: -32px -453px;
}

.sidenav-button.active .sidenav-ic {
    background-position: -32px -486px;
}

.sidenav-apps.active .sidenav-ic {
    background-position: -66px 0;
}

.sidenav-access.active .sidenav-ic {
    background-position: -32px -519px;
}

.sidenav-vedomost.active .sidenav-ic {
    background-position: -32px -552px;
}

.sidenav-otchet.active .sidenav-ic {
    background-position: -32px -585px;
}

.sidenav-paydesk.active .sidenav-ic {
    background-position: -32px -618px;
}

.sidenav-report-staff.active .sidenav-ic {
    background-position: -32px -651px;
}

.sidenav-report-staff-period.active .sidenav-ic {
    background-position: -32px -684px;
}

.sidenav-p-l-report.active .sidenav-ic {
    background-position: -32px -717px;
}

.sidenav-z-report.active .sidenav-ic {
    background-position: -32px -882px;
}

.sidenav-access2.active .sidenav-ic {
    background-position: -32px -816px;
}

.sidenav-mobile.active .sidenav-ic {
    background-position: -32px -849px;
}

.sidenav-expenses.active .sidenav-ic {
    background-position: -32px -750px;
}

.sidenav-report-calendar.active .sidenav-ic {
    background-position: -32px -783px;
}

.sidenav-feedback.active .sidenav-ic {
    background-position: -38px 0;
}

.sidenav a {
    color: #808080;
}

.sidenav .active a {
    color: #7aa3cc;
}

/*}}}*/


/*{{{ =Finances*/

.b-fin-head {
    border-bottom: 1px dotted #7f7f7f;
    margin: 0 0 10px;
    padding: 0 0 10px;
}

.fin-period {
    float: left;
}

.fin-period th {
    text-align: left;
    vertical-align: middle;
    padding: 0 5px 0 0;
    color: #4c4c4c;
}

.fin-period td {
    text-align: center;
    vertical-align: middle;
    padding: 0 0 0 5px;
}

.fin-period .b-datepicker-wrap {
    width: 122px;
    text-align: right;
}

.fin-period td.btn-col input.submit {
    width: 105px;
    margin: 0 0 0 5px;
}

.b-fin-head .btn-link {
    margin: 0;
}

.fin-vedomost-tbl th
, .fin-vedomost-tbl td {
    font-size: 12px;
}

.fin-otchet-tbl th
, .fin-otchet-tbl td {
    font-size: 12px;
    padding-left: 5px;
    padding-right: 5px;
}

.fin-otchet-tbl tr.th_2 th
, .fin-otchet-tbl tr.th_2 td {
    font-size: 14px;
    font-weight: normal;
}

.b-fin-submit {
    padding: 10px 0 0
}


.fixed-table-container {
    position: relative;
}

.fin-otchet-tbl.fixed-header-table th
, .fin-otchet-tbl.fixed-header-table td {
    padding-left: 0;
    padding-right: 0;
}

.fin-otchet-tbl.fixed-header-table .t-t-wr {
    padding-left: 5px;
    padding-right: 5px;
}

.fixed-table-container .fixed {
    position: absolute;
    top: 0; left: 0;
    /*position: fixed;
    top: 0;*/
    width: auto;
    display: none;
    table-layout: fixed;
}

/*}}}*/


/*{{{ =Feedback*/

.b-feedbacke-filter {
    padding: 0 0 25px;
}

.feedback-rating {
    margin: 0 0 10px;
}

.feedback-rating li {
    display: inline-block;
    vertical-align: top;
}

.feedback-rating a {
    color: #666;
    text-decoration: underline;
}

.feedback-rating .active {
    font-weight: bold;
    color: #587c94;
}

.feedback-rating .active a {
    color: #587c94;
    text-decoration: none;
}

.b-feedbacke-filter table {
    width: 100%;
}

.b-feedbacke-filter table th {
    text-align: left;
    vertical-align: top;
    font-size: 12px;
    font-weight: normal;
    color: #999;
    padding: 0 0 3px 15px;
}

.b-feedbacke-filter table td {
    text-align: left;
    vertical-align: middle;
    padding: 0 0 0 15px;
}

.b-feedbacke-filter table th:first-child
, .b-feedbacke-filter table td:first-child {
    padding-left: 0;
}

.b-feedbacke-filter .b-datepicker-wrap {
    float: left;
    width: 47%;
}

.b-feedbacke-filter .mdash {
    float: left;
    width: 6%;
    text-align: center;
    line-height: 32px;
}

.b-feedbacke-filter input.submit {
    width: 112px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: none;
    background: #5a7b96;
}

.feedback-tbl {
    width: 100%;
    background: url(../i/dott-horiz.png) 0 0 repeat-x;
}

.feedback-tbl th {
    width: 135px;
    padding: 0 15px 25px 0;
    font-weight: normal;
    text-align: right;
    vertical-align: top;
    background: url(../i/dott-vert.png) 100% 0 repeat-y;
    border-collapse: collapse;
}

.feedback-tbl th.date {
    text-align: left;
}

.feedback-tbl td {
    text-align: left;
    vertical-align: top;
    padding: 0 0 25px 30px;
    border-collapse: collapse;
}

.feedback-tbl tr.section th
, .feedback-tbl tr.section td {
    padding-top: 46px;
}

.feedback-tbl h3 {
    font-size: 18px;
    font-weight: bold;
    color: #5a7b96;
    margin: 0 0 10px;
}

.feedback-tbl h3.fl {
    float: left;
}

.feedback-tbl h4 {
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 15px;
}

.feedback-tbl h4 .marker {
    color: #28ace3;
}

.feedback-tbl td a {
    color: #5a7b96;
}

.feedback-tbl p {
    margin: 0 0 10px;
}

.feedback-tbl .comms {
    float: right;
    width: 53px;
    padding: 0 0 0 25px;
    background: url(../i/cloud.png) 0 0 no-repeat;
    line-height: 16px;
}

.feedback-tbl dl {
    float: left;
    width: 47%;
}

.feedback-tbl dl.plus {
    margin: 0 20px 0 0;
}

.feedback-tbl dl dt {
    float: left;
    margin: 0 15px 0 0;
    padding: 0 0 0 30px;
    line-height: 21px;
}

.feedback-tbl dl.plus dt {
    background: url(../i/smile2.png) 0 0 no-repeat;
}

.feedback-tbl dl.minus dt {
    background: url(../i/sad2.png) 0 0 no-repeat;
}

.feedback-tbl dl dd {
    overflow: hidden;
    line-height: 21px;
}

.feedback-stats {
    background: url(../i/dott-horiz.png) 0 0 repeat-x;
    padding: 20px 0 5px;
}

.feedback-stats h2 {
    font-size: 18px;
    color: #4c4c4c;
    margin: 0;
}

.feedback-stats-inner {
    padding: 15px 0 15px 16%;
}

.feedback-stats h3 {
    font-size: 14px;
    color: #4c4c4c;
    margin: 0 0 15px;
}

.f-rating {
    float: left;
    width: 36%;
}

.f-rating li {
    float: left;
    clear: left;
    width: 100%;
    margin: 0 0 10px;
    color: #999;
    font-size: 14px;
    line-height: 14px;
}

.f-rating .name {
    float: left;
    width: 60px;
}

.f-rating .chart {
    float: left;
    height: 14px;
    background: #f66333;
}

.f-rating .kol {
    float: left;
    margin: 0 0 0 10px;
}

.feedback-stats .all {
    float: right;
    width: 44%;
    text-align: center;
    padding: 37px 0 0;
    background: url(../i/cloud2.png) 50% 0 no-repeat;
}

.feedback-stats .all .l {
    color: #f66333;
}

.feedback-stats .all a {
    color: #5a7b96;
    text-decoration: underline;
}

/*}}}*/


/*{{{ =Footer*/

footer {
    min-width: 990px;
    min-height: 30px;
    background: url(../i/foot-bg1.png) 0 0 no-repeat;
}

.wide_type footer {
    background-position: -110px 0;
}

.h-foot-inner {
    background: url(../i/foot-bg2.png) 100% 0 no-repeat;
}

/*}}}*/


/*{{{ =Notifications*/ 

body.notif {
    background: #fff;
}

.h-notification-wrap {
    width: 680px;
    min-height: 400px;
    margin: 0 auto;
    padding: 50px;
    background: url(../i/not-shadow.png) 0 0 no-repeat;
    font: 14px Arial, sans-serif;
}

.h-notification-wrap_review
, .h-notification-wrap_review_thanks {
    padding-right: 0;
    width: 730px;
}

.h-notification-wrap h2 {
    position: relative;
    left: -50px;
    margin: 0 -50px 22px 0;
    padding: 12px 0 0 50px;
    width: 370px;
    height: 60px;
    font-size: 36px;
    font-weight: normal;
    color: #fff;
    background: url(../i/not-h2.png) 0 0 no-repeat;
}

.h-notification-wrap_blocked h2 {
    background-image: url(../i/not-h2-timeout.png);
    width: 432px;
} 

.h-notification-wrap_review h2 {
    background-image: url(../i/not-h2-review.png);
    width: 361px;
} 

.h-notification-wrap_review_thanks h2 {
    background-image: url(../i/not-h2-review2.png);
    width: 410px;
} 

.h-notification-wrap a {
    color: #0066cc;
    text-decoration: underline;
}

.notif-table {
    margin: 0 0 25px;
}

.notif-table th {
    text-align: left;
    vertical-align: top;
    font-weight: normal;
    padding: 0 5px 10px 0;
    width: 100px;
    color: #808080;
}

.notif-table td {
    text-align: left;
    vertical-align: top;
    padding: 0 0 10px;
    color: #000;
}

.h-notification-wrap_blocked .notif-table th 
, .h-notification-wrap_blocked .notif-table td {
    color: #a3a3a3;
}

.h-notification-wrap_blocked a {
    color: #a3bce6;
}

.notif-btn {
    display: block;
    width: 161px;
    height: 30px;
    background: url(../i/notif-btn.png) 0 0 no-repeat; 
    text-indent: -9999px;
    outline: none;
    overflow: hidden;
}


.h-notif-review {
    font-size: 13px;
    color: #000;
    min-height: 235px;
    margin: 0 0 20px;
}

.h-notif-review h3 {
    font-size: 18px;
    font-weight: normal;
    margin: 0 0 20px;
    padding: 0 0 20px;
    border-bottom: 1px dashed #bfbfbf;
}

.h-notif-review h4 {
    font-size: 14px;
    font-weight: normal;
}

.b-notif-img {
    margin: 0 0 10px;
}

.b-notif-img img {
    float: left;
    margin: 0 10px 0 0;
    padding: 4px;
    background: #fff;
    border: 1px solid #dfdfdf;
}

.b-notif-img .h-l {
    padding: 20px 0 0;
}

.b-notif-img_var2 .h-l {
    padding: 0;
}

.b-notif-img .h-l p b {
    display: block;
    font-size: 18px;
    font-weight: normal;
    line-height: 120%;
    margin: 4px 0 0;
}

.b-notif-img_var2 .master-rating {
    font-size: 11px;
    padding: 5px 0 0;
}

.b-notif-img_var2 .blocked {
    float: left;
    width: 14px;
    height: 14px;
    background: url(../i/blocked.png) 0 0 no-repeat;
    margin: 1px 1px 0 0;
    cursor: pointer;
}

.b-notif-img_var2 .rating {
    float: left;
    width: 80px;
}

.b-notif-img_var2 .rating li
, .b-notif-img_var2 .rating li a {
    float: left;
    width: 16px;
    height: 15px;
}

.b-notif-img_var2 .rating li a {
    text-decoration: none;
    background: url(../i/star.png) 0 0 no-repeat;
}

.notif-review-tbl th {
    padding: 0 0 5px 10px;
    font-weight: normal;
    text-align: left;
    vertical-align: middle;
}

.notif-review-tbl td {
    padding: 0 0 30px 10px;
}

.notif-review-tbl th:first-child
, .notif-review-tbl td:first-child {
    padding-left: 0;
}

.notif-review-tbl img {
    vertical-align: middle;
    margin: 0 5px 0 0;
}

.notif-review-tbl input.text {
    width: 360px;
    height: 50px;
    border-color: #bfbfbf;
}

.h-notif-review input.submit {
    border: none;
    background: url(../i/notif-btn2.png) 0 0 no-repeat;
    width: 107px;
    height: 30px;
    padding: 0;
    text-indent: -9999px;
    outline: none;
    overflow: hidden;
}

.notif-likes {
    border-top: 1px dashed #bfbfbf;
    padding: 14px 0;
    font-size: 14px;
    color: #000;
}

.notif-likes .if {
    float: left;
    margin: 3px 15px 0 0;
}

.notif-likes .likes {
    float: left;
}

/*}}}*/


/*{{{ =Apps*/

.h-apps-wrap h2.fl {
    font: 20px Arial, sans-serif;
    color: #3b5264;
    margin: 10px 0 20px;
    float: left;
}

.h-apps-wrap h2.fl2 {
    font: 20px Arial, sans-serif;
    color: #3b5264;
    margin: 7px 0 20px;
    float: left;
}

.app-order-btn {
    float: right;
    width: 260px;
    height: 47px;
    background: #ea6322;
    border-radius: 2px;
    font-size: 21px;
    line-height: 47px;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    margin: 0 0 10px;
}

.app-ex-btn {
    float: right;
    width: 115px;
    height: 37px;
    padding: 3px 0 0 45px;
    background: url(../i/ex-btn.png) 0 0 no-repeat #ddd;
    border-radius: 2px;
    font-size: 11px;
    margin: 0 0 10px;
}

.app-ex-btn b {
    display: block;
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 0.07em;
    line-height: 100%;
}

.apps-examples {
    border: 1px solid #808080;
    border-radius: 2px;
}

.apps-examples li {
    border-top: 1px solid #e6e6e6;
    padding: 35px 15px 15px 40px;
    font: 14px Arial, sans-serif;
    color: #808080;
}

.apps-examples li:first-child {
    border-top: none;
}

.apps-examples h3 {
    font-size: 18px;
    font-weight: normal;
    margin: 0 0 10px;
}

.apps-examples p {
    margin: 0 0 10px;
}

.apps-ex-logo {
    float: left;
    width: 145px;
}

.apps-ex-logo img.logo {
    display: block;
    border: 1px solid #d2d1cf;
    border-radius: 25px;
    margin: 0 0 15px;
}

.apps-ex-screens {
    float: right;
    width: 520px;
}

.apps-ex-screens img {
    float: left;
    border: 1px solid #e8e8e8;
    margin: 0 0 0 20px;
}

.apps-ex-text {
    overflow: hidden;
    padding: 5px 0;
}

.apps-builder-tbl_wrap {
    border-radius: 3px;
    overflow: hidden;
}

.apps-builder-tbl {
    width: 100%;
    margin: 0;
    padding: 0;
    border-collapse: collapse;
}

.apps-builder-tbl th {
    border: 1px solid #5a7b96;
    padding: 0;
    border-collapse: collapse;
    text-align: center;
    vertical-align: top;
}

.apps-builder-tbl tr.tr1 th {
    background: url(../i/th-bg1.png) 0 0 repeat-x #accce6;
    border-top: none;
}

.apps-builder-tbl tr.tr2 th {
    background: url(../i/th-bg2.png) 0 0 repeat-x #99b9d3;
    border-bottom: none;
}

.apps-builder-tbl tr.tr1 th.chosen {
    background: url(../i/th-bg1_2.png) 0 0 repeat-x #64819a;
    border-bottom-color: #5a7b96;
}

.apps-builder-tbl tr.tr2 th.chosen {
    background: url(../i/th-bg2_2.png) 0 0 repeat-x #516f87;
}

.apps-builder-tbl th:first-child {
    border-left-color: #accce6;
}

.apps-builder-tbl th:last-child {
    border-right-color: #accce6;
}

.apps-builder-tbl td {
    border: 1px solid #d7d7d7;
    border-top: none;
    border-bottom: none;
    padding: 0;
    border-collapse: collapse;
    background: #fff;
    text-align: center;
    vertical-align: middle;
    width: 20%;
    color: #838383;
}

.apps-builder-tbl td:first-child {
    border-left-color: #808080;
}

.apps-builder-tbl td:last-child {
    border-right-color: #808080;
}

.apps-builder-tbl tbody tr:nth-child(even) td {
    background: #e6e6e6;
}

.apps-builder-tbl tfoot td {
    border-left-color: #5c7b95;
    border-right-color: #5c7b95;
    background: url(../i/td-bg.png) 0 0 repeat-x #577690;
}

.apps-builder-tbl .apps-b-inn {
    padding: 20px;
}

.apps-builder-tbl tfoot .apps-b-inn {
    padding: 15px 20px;
}

.apps-builder-tbl th h3 {
    font-size: 18px;
    font-weight: normal;
    text-transform: uppercase;
    margin: 0;
    color: #fff;
}

.apps-builder-tbl th h4.price {
    display: inline-block;
    min-width: 130px;
    height: 40px;
    background: #5a7b96;
    border-radius: 20px;
    font-size: 20px;
    line-height: 40px;
    font-weight: normal;
    text-align: center;
    margin: 20px auto;
    color: #fff;
}

.apps-builder-tbl th.chosen h4.price {
    background: #adcfeb;
    color: #435e74;
}

.apps-builder-tbl .screen {
    width: 60px;
    height: 103px;
    background: url(../i/phone-screen.png) 0 0 no-repeat;
    margin: 0 auto;
    padding: 21px 5px;
}

.apps-builder-tbl .screen img {
    display: block;
}

.apps-builder-tbl ul {
    margin: 0;
    padding: 0;
}

.apps-builder-tbl ul li {
    display: inline-block;
    background: url(../i/bull.png) 0 8px no-repeat;
    padding: 0 0 0 7px;
}

.apps-builder-tbl p {
    margin: 0;
}

.apps-builder-tbl .apps-check {
    width: 37px;
    height: 37px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.apps-builder-tbl .apps-check input.checkbox {
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0; left: 0;
    opacity: 0;
}

.apps-builder-tbl .apps-check label {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0; left: 0;
    background: url(../i/apps-check.png) 0 0 no-repeat;
}

.apps-builder-tbl .apps-check input[type="checkbox"]:checked + label {
    background-position: 0 -43px;
}

.apps-f-default {
    font-size: 20px;
    color: #a8c9e3;
    text-align: left;
    padding: 16px 0;
}

.apps-f-default p {
    margin: 0;
}

.apps-f-order {
    display: none;
}

.apps-f-order input.text {
    float: left;
    margin: 8px 2.5% 0 0;
    padding: 0;
    width: 22.1%;
    height: 39px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: none;
    border: 1px solid #aaceeb;
    font: 20px/37px "Myriad Pro", Arial, sans-serif;
    color: #fff;
    text-align: center;
}

.apps-f-order input.total-summ {
    font-size: 24px;
    line-height: 37px;
}

.apps-f-order input::-webkit-input-placeholder { color: #a8c9e3; opacity: 1; }
.apps-f-order input:-moz-placeholder { color: #a8c9e3; opacity: 1; }
.apps-f-order input::-moz-placeholder { color: #a8c9e3; opacity: 1; }
.apps-f-order input:-ms-input-placeholder { color: #a8c9e3; opacity: 1; }
.apps-f-order input:focus::-webkit-input-placeholder { color:transparent; }
.apps-f-order input:focus:-moz-placeholder { color:transparent; }
.apps-f-order input:focus::-moz-placeholder { color:transparent; }
.apps-f-order input:focus:-ms-input-placeholder { color:transparent; }

.apps-f-order input.submit {
    float: right;
    margin: 0;
    padding: 0;
    width: 26%;
    height: 57px;
    background: #f26b2a;
    border: none;
    border-radius: 2px;
    font: 21px/57px "Myriad Pro", Arial, sans-serif;
    color: #fff;
    text-transform: uppercase;
}

/*}}}*/
