@import url(https://fonts.googleapis.com/css?family=Ubuntu:300,400,700&subset=latin,cyrillic);
/*-------------------------------------------------little reset-----------------------------------------------------*/
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre,
form, fieldset, input, p, blockquote, table, th, td, embed, object, figure, select, ul li ul, ul li ol, ul li ul li, ul li ol li {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('../fonts/glyphicons-halflings-regular.eot');
    src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'),
    url('../fonts/glyphicons-halflings-regular.woff') format('woff'),
    url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'),
    url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}

body{
    font-size: 13px;}

.help-block.help-block-error{
    position: relative;
    bottom: 5px;}
input:not([type="checkbox"], [type="radio"]){    -webkit-appearance: none;}
select{
    border-radius: 0!important;
}
table{    border-collapse: collapse!important;}
fieldset, img, abbr {    border: none; }
address, caption, cite, code, dfn, em,
h1, h2, h3, h4, h5, h6, strong, th, var {
    font-weight: normal;
    font-style: normal; }
a, ins {    text-decoration: none; }
ul {    list-style: none; }
button {    border: none; }
.clearfix:before, .clearfix:after {
    content: " ";
    display: table; }
.clearfix:after {    clear: both; }
/* floats */
.left {    float: left !important; }
.right {    float: right !important; }
.nopaddig{    padding: 0!important;}
body {    min-width: 320px;
    background-color: #F3F3F3; }
.table{
    border: 1px solid #ddd;
}
/*------------------------------------------------------ row -----------------------------------------------------*/
.row {
    margin: 0 auto;
    width: 100%; }
.row-padding {
    margin: 0 auto;
    /*max-width: 100%;*/
    padding: 0 10px;
    width: 100%; }
.row:before, .row:after, .row-padding:before, .row-padding:after {
    content: " ";
    display: table; }
.row:after, .row-padding:after {
    clear: both; }
.alert{
    margin-bottom: 0;
}
/*----------------------------------------------------- columns ---------------------------------------------------*/
.columns, .column {
    float: left;
    padding: 0 10px;
    position: relative; }

.column:first-child {
    padding-left: 0; }
.column:last-child {
    padding-right: 0; }

[class*="column"] + [class*="column"].end {
    float: left; }

/*---------------------------------------------------- grid -------------------------------------------------------*/
/* small-12, large-3 ...*/
@media only screen and (min-width: 0) {
    body .xsmall-1 {
        width: 8.33333%; }
    body .xsmall-2 {
        width: 16.66667%; }
    body .xsmall-3 {
        width: 25%; }
    body .xsmall-4 {
        width: 33.33333%; }
    body .xsmall-5 {
        width: 41.66667%; }
    body .xsmall-6 {
        width: 50%; }
    body .xsmall-7 {
        width: 58.33333%; }
    body .xsmall-8 {
        width: 66.66667%; }
    body .xsmall-9 {
        width: 75%; }
    body .xsmall-10 {
        width: 83.33333%; }
    body .xsmall-11 {
        width: 91.66667%; }
    body .xsmall-12 {
        width: 100%; } }
@media only screen and (min-width: 480px) {
    body .small-1 {
        width: 8.33333%; }
    body .small-2 {
        width: 16.66667%; }
    body .small-3 {
        width: 25%; }
    body .small-4 {
        width: 33.33333%; }
    body .small-5 {
        width: 41.66667%; }
    body .small-6 {
        width: 50%; }
    body .small-7 {
        width: 58.33333%; }
    body .small-8 {
        width: 66.66667%; }
    body .small-9 {
        width: 75%; }
    body .small-10 {
        width: 83.33333%; }
    body .small-11 {
        width: 91.66667%; }
    body .small-12 {
        width: 100%; } }
@media only screen and (min-width: 640px) {
    body .medium-1 {
        width: 8.33333%; }
    body .medium-2 {
        width: 16.66667%; }
    body .medium-3 {
        width: 25%; }
    body .medium-4 {
        width: 33.33333%; }
    body .medium-5 {
        width: 41.66667%; }
    body .medium-6 {
        width: 50%; }
    body .medium-7 {
        width: 58.33333%; }
    body .medium-8 {
        width: 66.66667%; }
    body .medium-9 {
        width: 75%; }
    body .medium-10 {
        width: 83.33333%; }
    body .medium-11 {
        width: 91.66667%; }
    body .medium-12 {
        width: 100%; } }
@media only screen and (min-width: 1280px) {
    body .large-1 {
        width: 8.33333%; }
    body .large-2 {
        width: 16.66667%; }
    body .large-3 {
        width: 25%; }
    body .large-4 {
        width: 33.33333%; }
    body .large-5 {
        width: 41.66667%; }
    body .large-6 {
        width: 50%; }
    body .large-7 {
        width: 58.33333%; }
    body .large-8 {
        width: 66.66667%; }
    body .large-9 {
        width: 75%; }
    body .large-10 {
        width: 83.33333%; }
    body .large-11 {
        width: 91.66667%; }
    body .large-12 {
        width: 100%; } }
@media only screen and (min-width: 2800px) {
    body .xlarge-1 {
        width: 8.33333%; }
    body .xlarge-2 {
        width: 16.66667%; }
    body .xlarge-3 {
        width: 25%; }
    body .xlarge-4 {
        width: 33.33333%; }
    body .xlarge-5 {
        width: 41.66667%; }
    body .xlarge-6 {
        width: 50%; }
    body .xlarge-7 {
        width: 58.33333%; }
    body .xlarge-8 {
        width: 66.66667%; }
    body .xlarge-9 {
        width: 75%; }
    body .xlarge-10 {
        width: 83.33333%; }
    body .xlarge-11 {
        width: 91.66667%; }
    body .xlarge-12 {
        width: 100%; } }
*{
    font-family: 'Ubuntu', sans-serif;
}
/****************************************************************/
.help-inline, .warn{
    color: #ff0000;
}
.ui-tooltip{
    -webkit-box-shadow: none!important;
    box-shadow: none!important;
}
.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl{
    border-radius: 0!important;
}
body .ui-tooltip{
    border: none!important;
    border-radius: 3px!important;
    background: #6EAB21 !important;
    color: #fff;
}
#dialog{    display: none;}
.ui-widget-header{
    border: 1px solid transparent;
    background: #6EAB21;
    color: #fff;
    font-weight: normal;
    font-size: 16px;
}
.ui-dialog{
    min-width: 310px;
    width: auto!important;
}
.ui-dialog .ui-dialog-titlebar{
    padding: 10px 5px;
    position: relative;
}
.ui-widget-overlay{
    background-color: #000;
    opacity: .4;
}
.ui-button{
    background-color: #6EAB21!important;
    color: #fff!important;
    text-decoration: none!important;
    cursor: pointer!important;
    font-size: 14px!important;
    border: 1px solid transparent!important;
    margin: 5px!important;
    min-width: 80px!important;
    outline: none!important;
    padding: 8px 12px!important;
    text-align: center!important;
    background-image: none!important;
}
.ui-dialog-titlebar-close{
    background: none!important;
    position: absolute!important;
    top: 0!important;
    right: 0!important;
    width: 30px!important;
    height: 30px!important;
    min-height: 30px!important;
    min-width: 30px!important;
    display: none;
}
.ui-button-text{
    background: none!important;
    border: none !important;
}
.ui-widget-content{
    background-color: #fff !important;
}
.ui-dialog-title{
    text-transform: uppercase;}
.ui-button:hover,
.ui-button:active{
    background-color: #abaaa8!important;
}
.ui-widget-header .ui-icon {
    background-image: url("south-street/images/ui-icons_ffffff_256x240.png");
}
.ui-dialog-titlebar-close.ui-corner-all.ui-state-hover{
    background-color: transparent;
    border: 1px solid transparent;
}
.ui-dialog-titlebar-close.ui-corner-all.ui-state-hover:hover{
    background-color: transparent;
    /*border: 1px solid #fff;*/
}
.ui-dialog-buttonpane.ui-widget-content.ui-helper-clearfix{
    position: relative;
    height: 60px;
}
.ui-dialog-buttonpane.ui-widget-content.ui-helper-clearfix .ui-dialog-buttonset{
    position: absolute;
    bottom: 0;
    right: 0;
}
/*****btns*****/
.btn{    background-color: #6EAB21;}
.btn-grey{
    background-color: #abaaa8;
    color: #fff;
}
.btn:hover,
.btn:active,
.btn:visited,
.btn:focus,
.btn,
.btn-grey:hover,
.btn-grey:active,
.btn-grey:visited,
.btn-grey:focus{
    border: 1px solid transparent;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}
.btn:hover{
    background-color: #abaaa8;
}
.btn:active, .btn-grey:hover{
    background-color: #626160;
}
.btn-grey:active{
    background-color: #6EAB21;
}
.btn-small, .btn-small-red{
    font-size: 12px;
    padding: 3px 6px;
    text-transform: uppercase;
    color: #6EAB21;
    border: 1px solid transparent;
    white-space: nowrap;
}
.btn-small-red{
    color: #ab0a00;
}
.btn-small-red:hover{
    color: #ab0a00;
    border: 1px solid #ab0a00;
    text-decoration: none;
}
.btn-small:hover{
    color: #6EAB21;
    border: 1px solid #6EAB21;
    text-decoration: none;
}
.btn-small:active, .btn-small-red:active{
    border: 1px solid #626160;
    color: #626160;
    text-decoration: none;
}
@media only screen and (max-width: 1025px) {
    td{
        padding: 5px;
    }
    .btn-small, .btn-small-red{
        background: #6EAB21;
        color: #fff;
        display: block;
        margin: 3px 10px;
        padding: 8px 12px;
    }
    .btn-small-red{
        background: #ab0a00;
        color: #fff;
    }
    .btn-small-red:hover, .btn-small:hover{
        color: #fff;
    }
    select{
        height: 39px!important;}
}
/*****end btns*****/


/******header******/
header{
    background-color: #6eab21;
    height: 78px;
    margin: 0;
    position: relative;
    text-align: center;
}
header h2.day{
    color: #979797;
    font-size: 12px;
    font-weight: normal;
    display: inline-block;
    text-transform: uppercase;
    float: left;
}
header h2.day span{
    color: #6EAB21;
}
header h2.day:before{
    content: '';
    display: inline-block;
    height: 30px;
    width: 1px;
    background-color: #ccc;
    position: relative;
    top: 12px;
    margin-right: 15px;
}
header .logo{
    background-color: #fff;
    height: auto;
    left: 0;
    max-height: 78px;
    line-height: 78px;
    position: absolute;
    text-align: left;
    top: 0;
    width: auto;
    padding: 0 20px 0 10px;
    overflow: hidden;
}
header .logo a{
    float: left;}
header .logo img{
    margin-top: 5px;
}
/*nav*/
header .nav-btn{
    cursor: pointer;
    display: none;
    height: 40px;
    position: relative;
    width: 40px;
}
header .top-menu{
    display: table;
    width: 100%;
    text-align: left;
    height: 78px;
    padding-left: 322px;

}
header .top-menu ul {
    display: table-cell;
    vertical-align: middle;
    position: relative;
    bottom: 3px;
}
header .top-menu li{
    display: inline-block;
}
header .top-menu a li{
    font-size: 12px;
    font-weight: normal;
    border-bottom: 1px solid #c9dab4;
    text-decoration: none;
    color: #c9dab4;
    text-transform: uppercase;
    margin: 0 15px;
}
header .top-menu a li:first-child{
    margin-left: 0;
}
header .top-menu a li:hover{
    border-bottom: none;
    color: #ffffff;
    text-decoration: none;
}
header .top-menu .exit{
    float: right;
}
header .nav-btn span { position: absolute; left: 10px; top: 23px; }
header .nav-btn span,
header .nav-btn span:before,
header .nav-btn span:after {
    cursor: pointer;
    border-radius: 1px;
    height: 3px;
    width: 35px;
    background: #fff;
    position: absolute;
    display: block;
    content: '';
}
header .nav-btn span:before {
    top: -10px;
}
header .nav-btn span:after {
    bottom: -10px;
}
header .nav-btn span, .nav-btn span:before, .nav-btn span:after {
    transition: all 100ms ease-in-out;
}
header .nav-btn.active span {
    background-color: transparent;
}
header .nav-btn.active span:before, .nav-btn.active span:after {
    top: 0;
}
header .nav-btn.active span:before {
    transform: rotate(45deg);
    -moz-transform : rotate(45deg);
    -webkit-transform : rotate(45deg);
    -o-transform : rotate(45deg);
    -ms-transform : rotate(45deg);
}
header .nav-btn.active span:after {
    transform: rotate(-45deg);
    -moz-transform : rotate(-45deg);
    -webkit-transform : rotate(-45deg);
    -o-transform : rotate(-45deg);
    -ms-transform : rotate(-45deg);
}
/*****adaptive header*****/
@media only screen and (max-width: 1025px) {
    header{
        height: auto;
        position: relative;
    }
    header .nav-btn{
        display: block;
        height: 50px;
        width: 60px;
    }
    header .logo{
        line-height: 49px;
        border-bottom: 1px solid #6eab21;
        left: auto;
        right: 0;
    }
    header .logo a{
        display: none;
    }
    header .logo .day::before{
        display: none;
    }
    header .exit{
        float: none!important;
    }
    header .top-menu{
        border: 1px solid #ddd;
        display: none;
        height: auto;
        width: 100%;
        padding: 0;
        z-index: 100;
        position: relative;
        top: -1px;
    }
    header .top-menu ul{
        width: 100%;
        display: block;
        bottom: 0;
    }
    header .top-menu li{
        display: block;
        padding: 10px 15px;
        background-color: #f1f1ed;
        text-align: left;
        position: relative;
    }
    header .top-menu a li{
        color: #000;
        border-bottom: 1px solid #ddd!important;
        text-decoration: none;
        font-size: 16px;
        margin: 0;
    }
    header .top-menu li::after{
        content: '';
        background: url("../img/arroy.png");
        display: inline-block;
        float: right;
        position: relative;
        bottom: 3px;
        height: 24px;
        width: 24px;
    }
    header .top-menu li:nth-child(1){
        padding-top: 20px;
    }
    header .top-menu li:last-child{
        padding-bottom: 20px;
        border: none;
    }
    header .top-menu a:hover, header .top-menu a:active{
        text-decoration: none;
        color: #000 !important;
    }
    header .top-menu a li:hover,
    header .top-menu a li:active{
        background-color: #6EAB21!important;
    }

    header .top-menu li:hover::after,
    header .top-menu li:active::after{
        background: url("../img/arroy-inv.png");
    }
}
/*****end header*****/

main{
    background: #F3F3F3;
    padding-bottom: 50px;
}
h1{
    font-size: 15px;
    font-weight: bold;
    margin: 15px 0 20px;
    text-align: center;
    text-transform: uppercase;
}

/*****nav-actions*****/
.nav-actions{
    background: #fff;
    text-align: center;
    margin-bottom: 20px;
    padding: 20px 0;
}
.nav-actions .title-action{
    font-size: 23px;
    font-weight: normal;
    margin: 6px 5px 10px 5px;
    display: inline-block;
}
@media only screen and (max-width: 1025px) {
    .nav-actions .title-action{
        font-size: 18px;
    }
}
.btn-action, .text, .nav-actions select .admin select{
    display: inline-block;
    font-size: 14px;
    border: 1px solid #ddd;
    margin: 5px;
    min-width: 120px!important;
    outline: none;
    padding: 8px 12px;
    text-align: center;
    border-radius: 0!important;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
}
.btn-action{
    border: 1px solid transparent;
}
.nav-actions select, .admin select{        padding: 7px 10px;}
.text{    max-width: 160px;}
.time{
    min-width: 10px;
    width: 85px;
    text-align: center;
}
.text:focus, select:focus {  border: 1px solid #6EAB21!important;outline: none!important;}

@media only screen and (max-width: 1025px) {
    .btn-action, .text, .nav-actions select, .admin select{
        font-size: 18px;
        margin: 10px 0;
        padding: 8px;
        max-width: 100%;
        width: 90%;
    }
    .admin select, .checkblock, .btn-action{
        margin-left: 0!important;
        margin-right: 0!important;
    }
  
    .btn-action{
        display: block;
        position: relative;
        left: 50%;
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        transform: translateX(-50%);
    }
    .title-action{
        text-transform: uppercase;}
}
/*****end nav-actions*****/



/*---------------------------------------------------- person ------------------------------------------------------*/
.person{
    background: #ffffff;
    border: 1px solid #ebebeb;
    color: #979797;
    font-size: 11px;
    height: 100%;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 300;
    margin-bottom: 20px;
    text-align: center;
}

/*------- table ---------*/
.person table{
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
}
.person table th { font-weight: normal; }
@media only screen and (max-width: 640px) {
    .person table{
        table-layout: fixed;
    }
}
.person td, .person th{
    border: 1px solid #ebebeb;
    padding: 12px 3px;
    text-align: center;

    min-width:5px;
     width: auto;
}
.person td{
    color: #444242;
    font-size: 15px;
}
.person td:first-child, .person th:first-child{
    border-left: none;
}
.person td:last-child, .person th:last-child{
    border-right: none;
}
.person tr:last-child td{
    border-bottom: none;
}

/*table icons*/
.person table th{
    padding-top: 38px;
    position: relative;
}
.person table th:before{
    background: url(../img/person-icons.png) no-repeat -160px 0;
    content: '';
    display: inline-block;
    height: 21px;
    position: absolute;
    top: 8px;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}
.person table .start:before{
    background-position: -160px 0;
    width: 15px;
}
.person table .end:before{
    background-position: -200px 0;
    width: 17px;
}
.person table .break:before{
    background-position: -240px 0;
    width: 18px;
}
.person table .time:before{
    background-position: -280px 0;
    width: 16px;
}

/*------- img ---------*/
/*img wrapper*/
.person-img-wrapper{
    border: 3px solid #e84620;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: inline-block;
    width: 100%;
}
.person-img{
    display: inline-block;
    height: 70px;
    margin-top: 14px;
    position: relative;
    width: 70px;
}
.person-img img{
    position: absolute;
    left: 50%;
    top: 50%;
    width: 103%;
    height: auto;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.person-info{
    font-size: 11px;
    line-height: 14px;
}
.holiday .person-img-wrapper,
.future .person-img-wrapper{
    border-color: #b7bab3;
}
.online .person-img-wrapper,
.home .person-img-wrapper{
    border-color: #6eab21;
}
.sick .person-img-wrapper{
    border-color: #e84620;
}
.sick-work .person-img-wrapper{
    border-color: #6eab21;
}
.person-info .name{
    color: #444242;
    font-size: 18px;
    line-height: 24px;
    margin: 5px 0 10px;
}
p:last-of-type{
    margin-bottom: 10px;
}

/*status icons*/
.status-icon{
    background: #e84620 url(../img/person-icons.png) no-repeat -40px 0;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    display: inline-block;
    height: 25px;
    left: -8px;
    position: absolute;
    top: 0;
    width: 25px;
}
.holiday .status-icon{
    background-color: #b7bab3;
    background-position: -120px 0;
}
.online .status-icon{
    background-color: #6eab21;
}
.home .status-icon{
    background-color: #6eab21;
    background-position: 0 0;
}
.future .status-icon{
    background-color: #b7bab3;
}
.sick .status-icon{
    background-color: #e84620;
    background-position: -80px 0;
}
.sick-work .status-icon{
    background-color: #6eab21;
    background-position: -80px 0;
}
@media only screen and (max-width: 639px) {
    .person{
        text-align: center;
    }
    .person-adapt{
        min-height: 65px;
        padding-left: 75px;
        padding-top: 5px;
        padding-bottom: 5px;
        position: relative;
        display: table;
    }
    .person-img{
        height: 50px;
        width: 50px;
        margin: 0;
        position: absolute;
        top: 50%;
        left: 14px;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    .status-icon{        display: none;    }
    .person-info{
        line-height: 10px;
    }
    .person-info .name{
        display: inline-block;
        font-size: 17px;
        line-height: 10px;
        text-align: left;
    }
    .person table span.stat{        display: none;}
    .person table th{        padding-top: 24px;    }
    .person table th:before{        top: 5px;}
    .person-img-wrapper{
        border: 2px solid #e84620;
        display: inline-block;
    }
    .person-info{
        display: table-cell;
        font-size: 11px;
        text-align: left;
        vertical-align: middle;
    }
}
/*contacts*/
.contacts-icon{
    background: #6EAB21;
    color: #ffffff;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    display: inline-block;
    height: 25px;
    left: 52px;
    position: absolute;
    bottom: 0;
    width: 25px;
    transition: all 50ms ease-in-out;
    cursor: pointer;
}

.contacts-icon span:before{
    position: relative;
    top: 5px;
    font-size: 12px;
}
@media (max-width: 639px) {
    .contacts-icon{
        left: 30px;
    }
}
@media (min-width: 1100px){
    .contacts-icon:hover{
        box-shadow: 0px 0px 0px 5px rgb(110, 171, 33);
    }
}

.contacts-modal p,
.contacts-modal a,
#dialog p
{
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 0;
}
.contacts-modal a, #dialog a{
    text-decoration: underline;
    outline: none;
}
.contacts-modal .phone::before,
.contacts-modal .email::before,
#dialog .holiday::before
{
    content: '';
    display: inline-block;
    border-radius: 50%;
    height: 25px;
    top: 7px;
    width: 25px;
    position: relative;
    margin-right: 10px;
}
.contacts-modal .phone::before{    background: #6EAB21 url(../img/person-icons.png) no-repeat -315px 0px;}
.contacts-modal .email::before{    background: #5dbcef url(../img/person-icons.png) no-repeat -398px -4px;}
#dialog .holiday::before{    background: #ff8c16 url(../img/person-icons.png) no-repeat -436px -2px;}

.admin .table.mystat, .admin .table.slack, .admin .table.dept, .admin .table.holiday{
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    left: 50%;
    position: relative;
    width: auto;
    min-width: 500px;
    margin-bottom: 20px;
}
.admin .table.mystat td, .admin .table.slack td, .admin .table.dept td, .admin .table.holiday td{
    text-align: left;
}
.date-col{
    font-weight: bold;}
.mystat .result td{
    font-weight: bold;
    border-bottom: 2px solid #ccc!important;
}
.mystat .result:last-child td{
    border-bottom: 1px solid #ddd!important;
}
.forscroll{
    overflow-x: scroll;
    overflow-y: auto;
    max-width: 100%;
}
@media only screen and (max-width: 550px) {
    .admin .table.mystat, .admin .table.slack, .admin .table.dept, .admin .table.holiday{
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
        left: auto;
        min-width: 100%;
    }
    .admin .table.slack{
        margin-bottom: 0;
    }
}
.admin .table td, .admin .table th{
    border: 1px solid #ddd;
    text-align: left;
}
.table-avatar img {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 103%;
    width: auto;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.table-users .table-avatar {
    margin: 5px 0;
    position: relative;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}
.table-users tr.muted .table-avatar{
    border: 3px solid #f10a00;
}
.table-avatar {
    overflow: hidden;
    border-radius: 50%;
    height: 65px;
    width: 65px;
    position: relative;
    border: 3px solid #6EAB21;
}
.users td:nth-child(1) {
    text-align: center;
}
/*forms*/
.form-wrapper{
    text-align: center;
}
.form-wrapper .columns {
    float: none;
    display: inline-block;
    vertical-align: top;
}
.form-wrapper label{
    display: block;
    font-weight: normal;
}
.form-wrapper input:not([type="checkbox"]) {
    border: 1px solid #ddd;
    max-width: 100%;
    width: 100%;
}
.form-wrapper input[type="radio"] {
    width: auto;
    position: relative;
}
input[type='checkbox'], input[type='radio'] {
    margin-right: 5px;
    position: relative;
    top: 3px;
}
.form-wrapper .checkblock{
    background-color: #fff;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    padding: 0 15px;
    text-align: left;
}
.form-wrapper .checkblock .form-group{
    margin-bottom: 10px;
}
.form-wrapper .checkblock .type{
    display: inline-block;
    margin: 10px 0;
}
.form-wrapper .help-block.help-block-error{
    bottom: 0;
}
.form-wrapper select,
.form-wrapper input {
    margin: 0;
}
.form-wrapper .btn-action, .admin select {
    border: 1px solid #ddd;
    max-width: 100%;
    width: 100%;
}
.form-wrapper .btn-action{
    margin-left: 0;
    margin-right: 0;
}
.newstatus h2, .newstatus select, .newstatus input{
    margin-bottom: 10px!important;
    display: inline-block;
}
.newstatus #activity_place{
    padding: 10px 0;
}
/*/forms*/
.admin .btn-action {
    min-width: 160px!important;
    display: inline-block;
}
/*admin*/

/*b-day*/
.bday-wrapper{
    color: #fff;
    display: inline-block;
    background-color: #e84620;
    font-size: 15px;
    padding: 15px 50px 15px 50px;
    position: relative;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    text-align: center;
    line-height: 18px;
}
.bday-wrapper span.bday::after, .bday-wrapper span.bday::before{
    background-size: 100%;
    content: '';
    display: inline-block;
    height: 32px;
    position: absolute;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    top: 50%;
    width: 32px;
}
.bday-wrapper span.bday::after{
    background-image: url(/img/smile.png);
    right: 10px;
}
.bday-wrapper span.bday::before{
    background-image: url(/img/bday.png);
    left: 10px;
}

@media (max-width: 426px) { .bday span{ display: block; }
}
@media (max-width: 320px) {
    .bday-wrapper{ padding: 13px 10px 13px 50px; }
    .bday-wrapper span.bday::after{ display: none!important; }
}
/*/b-day*/

.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year {
    color: #454545;
}
.ui-datepicker-week-end .ui-state-default{
    background-color: #c9dab4;
    border: 1px solid #bebebe;
}
.ui-datepicker-week-end .ui-state-default:hover{
    background-color: #c2d3ac;
}



/*Calendar*/
.calendar-wrapper{
    background-color: #fff;
    padding: 30px;
    max-width: 1260px;
    width: 100%;
}
.calendar{
    font-size: 14px;
    width: 100%;
    table-layout: fixed;
}
.calendar tbody tr:hover td{
    background-color: #fafadc;
}
.calendar tr td:first-child{    width: 215px;}
.calendar tr td{
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
    padding: 0;
    height: 30px;
    position: relative;
}
.calendar tr td.today{
    border-left: 1px solid #ff383d!important;
}
.calendar tr td.first-week-day{    border-left: 1px solid #ebebeb;}
.calendar tr td.last-month-day{
    border-right: 1px dashed #bab9b9;
}
.calendar tr td.last-month-day:last-child{
    border-right: 1px dashed transparent;
}
.calendar tr td.vacation-day{
    background-color: #d9e8c8!important;
}
.calendar tr td.vacation-day:hover{
    cursor: pointer;
}
.calendar tr td.vacation-day div{
    display: block;
    height: 30px;
    width: 100%;
}
.calendar tr.group-name{
    color: #6eab21;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
.calendar tr.group-name td:first-child{
    padding-left: 5px;
}
/*����� ���������*/
.calendar thead tr td.last-month-day{
    border-right: 1px dashed #bab9b9;
    font-size: 14px;
    position: relative;
    text-align: center;
}
.calendar thead tr td.last-month-day:last-child{
    border-right: 1px dashed transparent;
}
.calendar thead tr td.last-month-day .calendar-control{
    position: absolute;
}
.calendar .calendar-designation::before{
    content: '';
    display: inline-block;
    position: relative;
    top: 1px;
    margin-right: 7px;
    height: 12px;
    width: 12px;
    background-color: #d9e9c6;
}
.calendar .calendar-control{
    height: 11px;
    top: 9px;
    width: 21px;
    cursor: pointer;
}
.calendar .calendar-control.calendar-back{
    background: url("../img/ar.png") 100%;
    left: 0;
}
.calendar .calendar-control.calendar-back:hover,
.calendar .calendar-control.calendar-back:active{
    background: url("../img/ar-hover.png") 100%;
}
.calendar .calendar-control.calendar-next{
    right: 0;
}
.calendar .calendar-control.calendar-next{
    background: url("../img/ar.png") 100%;
    transform: scale(-1, 1);
    -moz-transform : scale(-1, 1);
    -webkit-transform : scale(-1, 1);
    -o-transform : scale(-1, 1);
    -ms-transform : scale(-1, 1);


}
.calendar .calendar-control.calendar-back:hover,
.calendar .calendar-control.calendar-back:active,
.calendar .calendar-control.calendar-next:hover,
.calendar .calendar-control.calendar-next:active
{    background: url("../img/ar-hover.png") 100%;}

.calendar tr td.user-name{
    border-right: 1px solid #ebebeb;
    padding-left: 25px;
    position: relative;
}

.calendar .calendar-avatar{
    border-radius: 50%;
    bottom: 4px;
    height: 19px;
    overflow: hidden;
    position: absolute;
    left: 0;
    width: 19px;
}
.calendar .calendar-avatar img{
    height: 120%;
    left: 50%;
    position: absolute;
    top: 50%;
    width: 120%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.calendar-wrapper .mobile-nav{
    display: none;
}
@media (max-width: 767px){
    .calendar tr td:first-child{    width: 125px;}
    .calendar tr td{
        font-size: 11px;
        height: 26px;
    }
    .calendar tr td.user-name{        padding-left: 0;    }
    .calendar .calendar-avatar{        display: none;    }
    .calendar .first-month,
    .calendar .third-month{
        display: none;
    }
    .row-padding.calendar-wrapper{
        padding: 0;
    }
    .row-padding.calendar-wrapper tr td:first-child{        padding-left: 5px!important;    }
    .row-padding.calendar-wrapper tr td:last-child{        padding-right: 5px!important;    }

    .row-padding.calendar-wrapper .last-month-day{
        border-top: 1px solid #ebebeb;
        border-bottom: 1px solid #ebebeb;

    }
    .calendar tr td.last-month-day{
        border: none;
    }
    .calendar thead{
        display: none;
    }
    .calendar-wrapper .mobile-nav{
        display: block;
        text-align: center;
        height: 64px;
        width: 100%;
    }
    .mobile-nav{
        background-color: #fff!important;
        display: block;
        position: relative;
        height: 72px!important;
        width: 100%;
        z-index: 2!important;
    }
    .mobile-nav .mobile-calendar-control{
        cursor: pointer;
        height: 48px;
        width: 48px;
        top: 12px;

    }
    .mobile-nav .mobile-back{
        background: url("../img/mobile-arroy.png");
        position: absolute;
        left: 10px;
    }
    .mobile-nav .mobile-next{
        background: url("../img/mobile-arroy.png");
        transform: scale(-1, 1);
        -moz-transform : scale(-1, 1);
        -webkit-transform : scale(-1, 1);
        -o-transform : scale(-1, 1);
        -ms-transform : scale(-1, 1);
        position: absolute;
        right: 10px;
    }
    .mobile-nav .mobile-back:active,
    .mobile-nav .mobile-back:visited,
    .mobile-nav .mobile-back:focus,
    .mobile-nav .mobile-next:active,
    .mobile-nav .mobile-next:visited,
    .mobile-nav .mobile-next:focus {
        background: url("../img/mobile-arroy-active.png");
    }
    .mobile-nav .mobile-month{
        font-size: 26px;
        position: absolute;
        left: 50%;
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        transform: translateX(-50%);
        top: 20px;
    }
    .calendar tr.group-name{
        height: 28px;
    }

}
 .sticky {
     border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;
     position: fixed;
     top: 0;  /* ���� ���� �������� �� ����� (� � ������� ����), �� ���� ����� ��������� �� ����,
     ��� ������� ���� ���� �������� ����� �� �������� ���� ��������. ����� ���� ������������� ������.
     ��������, ��������, ��� ������������� ������ ���� */
     z-index: 101;
     background-color: #fff !important;
     height: 72px!important;
     width: 100%;
 }
