.calpay{
    width: 100%;
    min-height: 400px;
}
#app{
    padding-bottom: 40px;
}
.overlay{
    width:99%;
    height: 99%;
    background: #fff;
    opacity: 0.8;
    position: absolute;
    z-index: 200;
    text-align: center;
}
.preloader{
    display: inline-block;
    margin-top: 200px;
}
.week{
    float: left;
    font-size: 12px;
    color:#888;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}
.week6{
    width:16.666%;
}
.week5{
    width:20%;
}
.week4{
    width:25%;
}
.day{
    height: 60px;
    position: relative;
    border: solid 1px #fff;
    border-bottom: solid 1px #c5cacb;
    border-top: solid 2px #fff;
    background: #edf3f4;
}

.day .right, .day .left{
    display: inline-block;
    float: left;
    height: 100%;
    position: absolute;
}
.day .left span {
    padding: 5px;
    width: 20px;
    display: block;
    text-align: center;
    position: absolute;
    top: 50%;
    margin-top: -20px;
    line-height: 15px;
}
.day .left{
    background: #e1e7e8;
    z-index: 60;
    width:30px;
}
.day .right{
    width: 100%;
    text-align: right;
}
.day:hover{
    color:#222;
    background: #e6eced;
}
.day:hover .left{
    background: #d7ddde;

}
.day-not-month{
    opacity: 0.3;
}
.day.active{
    background: #ffefb1;
}
.day.active .left{
    background: #ffcf61;
}
.day.active:hover{
    background: #ffe96a;
}
.day.active:hover .left{
    background: #ffb43b;
}
.day .right .invoice{
    display: block;
    padding: 3px 5px;
}
.invoice a{
    color: inherit;
}
.day .right .invoice .icount{
    float: left;
    margin-left: 28px;
}
.day .right .invoice.total{
    bottom: 0px;
    position: absolute;
    left:-10px;
    width: 100%;
    font-weight: bold;
}
.day .right .invoice.total .icount{
    margin-left: 38px;
}
.invoice_P{
    background: #e5ffd1;
}
.invoice_N{
    background: #d2e4ff;
}
.header{
    text-align: center;
}
.header .name_year{
    line-height: 17px;
    font-size: 13px;
    font-weight: bold;
    color: #303030!important;
    font-family: Verdana,Arial,"Helvetica Neue",Helvetica,sans-serif!important;
    padding: 5px 15px;
    display: inline-block;
    margin: 0 10px;
    width: 150px;
}
.header .arrow{
    display: inline-block;
    cursor:pointer;
    padding: 3px 5px;
}
.header .arrow:hover{
    background:  #e6eced;
}
#settings-show{
    display: block;
    width: 25px;
    height: 25px;
    position: absolute;
    right: 10px;
    margin-left: 2px;
    cursor: pointer;
    border: 1px solid #c6cdd3;
    border-radius: 2px;
    background-size: cover;
    background: url(../img/settings.png) 2px 2px no-repeat;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
#settings-close{
    display: block;
    width: 25px;
    height: 25px;
    position: absolute;
    right: 2px;
    text-align: center;
    line-height: 23px;
    margin-left: 2px;
    cursor: pointer;
    border: 1px solid #c6cdd3;
    border-radius: 2px;
    background-size: cover;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
#settings-show:hover,#settings-close:hover{
    background-color: #ffe29a;
}
.settings{
    position: absolute;
    z-index: 200;
    color: #535c69;
    font-family: Verdana,Arial,"Helvetica Neue",Helvetica,sans-serif!important;
    margin: 0;
    display: none;
    width: 99%;
    height: 99%;
    background: #fff;
}
.settings h2{
    font-size: 20px;
    line-height: 20px;
    color: #687484;
}
.color-block{
    display: inline-block;
}
.color-block input[type="radio"]{
    display: none;
}
.color-block span, .color-block label{
    display: inline-block;
    padding: 8px;
    border: solid 2px #fff;
    margin-right: 5px;
    cursor: pointer;
}
.color-block span:hover, .color-block label:hover, .color-block span.active, .color-block label.active{
    border: solid 2px #ff8e03;
}

.settigs-form-table > tbody > tr > td{
    padding-bottom: 20px;
}
.settings table td{
    vertical-align: top;
    font: bold 12px Arial,Helvetica,sans-serif;
}
.settings table td select, .settings table input[type="text"]{
    padding: 5px;
    border: 1px solid #d9d9d9;
}
.settings table input[type="text"]{
    max-width: 500px;
    min-width: 400px;
}
.settings table td.desc{
    width: 300px;
    padding-right: 50px;
}
.settings table td.desc .desc-mini{
    font-weight: normal;
    color: #AEA8A8;
}
.settings table.tb-status td{
    vertical-align: middle;
}
.clear{
    clear:both;
}
.cl1 {  background: #ffd1cf;  }
.cl2 {  background: #ffe8d3;  }
.cl3 {  background: #fffad3;  }
.cl4 {  background: #f4ffd9;  }
.cl5 {  background: #dfffd3;  }
.cl6 {  background: #c2ffc8;  }
.cl7 {  background: #c0fdff;  }
.cl8 {  background: #bcdaff;  }
.cl9 {  background: #c0c3ff;  }
.cl10 {  background: #ffceff;  }
.table-all-day tr:hover a{
    text-decoration: none;
}

.button{
    border-radius: 2px;
    cursor: pointer;
    display: inline-block;
    height: 47px;
    line-height: 47px;
    margin: 0 16px 0 0;
    font-family: "OpenSans-Bold",Helvetica,Arial,sans-serif;
    font-size: 12px;
    outline: 0;
    padding: 0 18px;
    vertical-align: middle;
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: none;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
    -webkit-transition: background-color .2s linear,color .2s linear;
    transition: background-color .2s linear,color .2s linear;
}
.button-save{
    background: #bbed21;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #535c69;
}
.button-save:hover{
    background: #d2f618;
}
.total-week{
    background: none;
}
.total-month{
    font-size: 12px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}
.invoice-all-status{
    display: block;
    position: absolute;
    right: 0px;
    top: 0px;
    height: 100%;
    background: #fff;
    width: 99.8%;
    overflow-y: auto;
    z-index: 500;
    display: none;
}
.invoice-all-status a{
    display: block;
    margin: 2px 5px;
}
.table-all-day{
    border-collapse: collapse;
    width: 100%;
    height: 100%;
}
.table-all-day:hover{
    color:#222;
}
.table-all-day td:last-child{
    white-space: nowrap;
    padding-left: 5px;
}
.table-all-day td{
    border:none;
}
.table-all-day td:first-child{
    text-align: left;
}
.close-day{
    background: #ff98a4;
    display: none;
    padding: 2px 5px;
    line-height: 12px;
    position: absolute;
    z-index: 100;
    top: -17px;
    right: 0px;
    color: #fff;
    cursor: pointer;
}

#linechart_material{
    margin-top: 40px;
}
.hidden-block{
    display: none;
}
.popup{
    position: absolute;
    border: solid 1px #999;
    margin: 0 auto;
    width: 500px;
    min-height: 100px;
    left: 50%;
    margin-left: -250px;
    top: 100px;
    z-index: 1111;
    box-shadow: 10px 10px 40px #555;
    background: #fff;
    display: none;
}
.popup .close{
    position: absolute;
    right: 0px;
    top: 0px;
    padding: 0px 5px 2px 5px;
    background: #ff070f;
    cursor: pointer;
    color:#fff;
}
.popup, .popup a{
    font-family: Verdana,Arial,"Helvetica Neue",Helvetica,sans-serif!important;
    color:#333!important;
    font-size: 13px;
    text-decoration: none;
}
.popup a:hover{
    text-decoration: underline;
}
.tb-td2{
    padding: 0 5px;
}
.popup table{
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}
.popup .title{
    font-size: 15px;
    font-weight: bold;
}
.popup span.title-date{
    font-size: 10px;
}
.popup .body{
    min-height: 100px;
    padding: 10px;
    max-height: 300px;
    overflow-y: auto;
}
.tb-td1{
    min-width: 10%;
    max-width: 25%;
}
.total-month-table{
    font-size: 12px;
    color: #222;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    float: right;
    margin-top: 5px;
    font-weight: bold;
}
.total-month-table table td{
    padding: 3px 5px;
}
.total-month-table table{
    border-collapse: collapse;
}
.invoice-show-popup:hover{
    cursor: pointer;
    text-decoration: underline;
}
.add-element,.auto-insert-plan{
    color: #7c7c7c;
    font: 12px/14px Arial,sans-serif;
    border-bottom: 1px dashed #7c7c7c;
    cursor: pointer;
    vertical-align: middle;
    margin-right: 10px;
}

.tab-multi-plan tr td input, .tab-multi-plan tr td span{
    min-width: 50px!important;
    width: 50px!important;
    font-size: 10px;
}
.tab-multi-plan{
    border-collapse: collapse;
}
.tab-multi-plan tr td span {
    display: inline-block;
    padding: 0px 6px;
}
.eror{
    padding: 10px;
    background: #FFDDE4;
    color: #740006;
    margin-top: 15px;
    font-size: 13px;
    font-family: Verdana,Arial,"Helvetica Neue",Helvetica,sans-serif!important;
}
.eror span{
    border-bottom: 1px dashed #460002;
    cursor: pointer;
}
.eror span:hover{
    color: #590006;
}
.h4{
    display: inline-block;
    float: left;
    line-height: 17px;
    font-size: 15px;
    margin-top: -10px;
    font-weight: bold;
    color: #303030!important;
    font-family: Verdana,Arial,"Helvetica Neue",Helvetica,sans-serif!important;
}
.remove{
    line-height: 23px;
    cursor: pointer;
    color: #bfbfbf;
    position: absolute;
    top: -12px;
}
.remove:hover{
    color: #222;
}
.lst{
    width: 10px;
}
div.pribyl-month-total-wrap{
    /*float: left;*/
    margin-right: 30px;
}
.title_total{
    display: inline-block;
    padding: 5px;
}

.tab-multi-plan .title{
    font-size: 10px;
    vertical-align: middle;
    padding: 0px 4px;
}
td.td-remove{
    position: relative;
}