/*******************************************************************************
  RESET
*******************************************************************************/

html, body, div, span, applet, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    abbr, acronym, address, big, cite, code,
    del, dfn, em, font, ins, kbd, q, s, samp,
    small, strike, strong, tt, var,
    b, u, i, center, dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend,
    table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
}
body {
    line-height: 1;
}
blockquote, q {
    quotes: none;
}
:focus {
    outline: 0;
} /* remember to define focus styles! */
ins {
    text-decoration: none;
} /* remember to highlight inserts somehow! */
del {
    text-decoration: line-through;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
} /* tables still need 'cellspacing="0"' in the markup */
img {
    border: 0;
    outline: 0;
    font-size: 100%;
    background: transparent;
}
a {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
}

/*******************************************************************************
  TEMPLATES
*******************************************************************************/

.fleft {
    float: left;
}
.fright {
    float: right;
}
.left {
    text-align: left;
}
.center {
    text-align: center;
}
.right {
    text-align: right;
}
.w100 {
    width: 100%;
}
.w50 {
    width: 50%;
}

/* CLEARFIX */
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.clearfix {
    display: inline-table;
}
/* Hides from IE-mac \*/
* html .clearfix {
    height: 1%;
}
.clearfix {
    display: block;
}
/* End hide from IE-mac */
/* END OF CLEARFIX */



/*******************************************************************************
  MAIN
*******************************************************************************/
html {
    overflow-y: scroll;
}
html, body {
    height: 100%;
    cursor: default;
}
body {
    font: normal 100% Arial, sans-serif;
    background: url(../imgcrm/topbar_bg.gif) 0 0 repeat-x;
}

a:hover {
    text-decoration: none;
}

h1 {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: normal;
}

/*******************************************************************************
  STRUCTURE:BASE
*******************************************************************************/

#top {
    position: relative;
    width: 950px;
    height: auto !important;
    height: 100%;
    min-height: 100%;
    margin: 0 auto;
}

#body {
    /*position: relative; */
    // width: 950px;
    max-width: 1920px;
    min-width: 950px;
    /*height: auto !important;
    height: 100%;
    min-height: 100%;*/
    margin: 0 auto;
    padding: 0 0 110px;
}
    #topbar {
        z-index: 100;
        position: relative;
        height: 34px;
        background: url(../imgcrm/topbar_bg.gif) 0 0 repeat-x;
    }
    #container {
        margin: 20px;
    }
    #leftCol {
        float: left;
        width: 685px;
    }
    .rightCol {
        float: right;
        width: 205px;
        font-size: 12px;
    }

#bottom {
    position: relative;
    width: 950px;
    height: 50px;
    margin: -110px auto 0;
}

/*******************************************************************************
  LAYOUT
*******************************************************************************/

.body-submenu {
    background-image: url(../imgcrm/topbar_bg_submenu.gif);
}

#kartochka {
    width: 950px;
    margin: 0 auto;
}

#menu {
    position: absolute;
    top: 5px;
    left: 0;
    list-style: none;
}
    #menu li {
        position: relative;
        float: left;
        padding: 0 5px;
        border-right: 1px solid #666;
    }
        #menu ul {
            display: none;
            position: absolute;
            top: 30px;
            list-style: none;
            width: 148px;
            padding: 3px 11px 13px 7px;
            background: url(../imgcrm/topmenu_dropdown_bg.png) 0 bottom no-repeat;
        }
            #menu ul li {
                float: none;
                padding: 0;
                border: 0;
            }
                #menu ul li a {
                    display: block;
                    padding: 3px 0 3px 20px;
                    font-size: 14px;
                    color: #000;
                }
                    #menu ul li a:hover {
                        color: #fff;
                        background: #6b82f6 url(../imgcrm/topmenu_dropdown_abg.png) 0 bottom repeat-x;
                    }

        #menu li p {
            position: relative;
            margin: -1px 0 -3px 0;
            padding: 2px 0 3px 0;
        }
            #menu li p ins {
                position: absolute;
                top: 0;
                right: 0;
                width: 6px;
                height: 27px;
            }
                #menu li p ins:after {
                    content: '';
                    position: absolute;
                    left: -15px;
                    top: 0;
                    width: 10px;
                    height: 100%;
                    background: url(../imgcrm/topmenu_arrow.png) 0 50% no-repeat;
                }
                    #menu li p.empty ins:after {
                        display: none;
                    }
            #menu li p:hover, #menu li p.current {
                background: url(../imgcrm/topmenu_p_hover.png) 0 0 no-repeat;
            }
                #menu li p:hover ins, #menu li p.current ins {
                    background: url(../imgcrm/topmenu_p_hover_r.gif) no-repeat;
                }
            #menu li p.selected {
                background: url(../imgcrm/topmenu_dropdown_p_sel.png) no-repeat;
            }
                #menu li p.selected ins {
                    background: url(../imgcrm/topmenu_dropdown_p_sel_r.png) no-repeat;
                }
        #menu li a {
            display: -moz-inline-box;
            display: inline-block;
            padding: 3px 25px 3px 35px;
            font-size: 14px;
            color: #000;
            text-decoration: none;
        }
            #menu li p.empty a {
                padding-right: 6px;
            }
            #menu-add {
                background: url(../imgcrm/add1.png) 10px 50% no-repeat;
            }
            #menu-students {
                background: url(../imgcrm/list.png) 10px 50% no-repeat;
            }
            #menu-prepods {
                background: url(../imgcrm/list.png) 10px 50% no-repeat;
            }
            #menu-groups {
                background: url(../imgcrm/list.png) 10px 50% no-repeat;
            }
            #menu-settings {
                background: url(../imgcrm/settings.png) 10px 50% no-repeat;
            }
            #menu-list {
                background: url(../imgcrm/list.png) 10px 50% no-repeat;
            }
#search {
    position: absolute;
    top: 5px;
    right: 0;
    padding: 0 50px 0 0;
    white-space: nowrap;
    font-size: 12px;
    line-height: 25px;
    color: #777;
    text-shadow: 1px 1px 0 #fff;
}
    #search a {
        color: #555;
        font-weight: bold;
    }
    #search input.text {
        width: 150px;
        font-size: 12px;
        color: #999;
    }
    #search input.search {
        position: absolute;
        top: 4px;
        right: 20px;
    }

#submenu {
    position: relative;
    height: 46px;
}
    #submenu ul {
        list-style: none;
        height: 46px;
    }
        #submenu ul li {
            float: left;
            height: 46px;
        }
            #submenu ul li a {
                position: relative;
                display: block;
                width: 100%;
                height: 100%;
                margin: 0 12px 0 0;
                font-size: 12px;
                line-height: 50px;
                color: #222;
                text-decoration: none;
            }
                #submenu ul li a:hover {
                    background: url(../imgcrm/submenu_hover.gif) 0 0 no-repeat;
                }
                    #submenu ul li a:hover:after {
                        content: '';
                        position: absolute;
                        right: 0;
                        width: 12px;
                        height: 100%;
                        background: url(../imgcrm/submenu_hover.gif) right 0 no-repeat;
                    }
                #submenu ul li a ins {
                    float: left;
                    display: block;
                    width: 44px;
                    height: 43px;
                    margin: 3px 0 0 5px;
                    background-position: 50% 50%;
                    background-repeat: no-repeat;
                }
                #submenu ul li a span {
                    margin: 0 0 0 5px;
                }

.rightBut {
    display: block;
    margin: 0 0 5px;
    padding: 6px 10px;
    font-size: 14px;
    color: #000;
    text-decoration: none;
    background: #ececec 8px 50% no-repeat;
    border: 1px solid #fff;
}
    .rightBut:hover {
        border: 1px solid #aaa;
    }
    #right-archive {
        padding-left: 30px;
        background-image: url(../imgcrm/archive.gif);
    }
    #right-delete {
        padding-left: 30px;
        background-image: url(../imgcrm/delete.gif);
    }
    #right-save {
        padding-left: 30px;
        background-image: url(../imgcrm/save.gif);
    }
    #right-unlock {
        padding-left: 30px;
        background-image: url(../imgcrm/lock.gif);
    }

.anketa {
    width: 100%;
    margin: 0 0 0;
}
    .anketa td {
        /*width: 33%;*/
        font-size: 14px;
        vertical-align: top;
    }
        .anketa td.sep {
            width: 44px !important;
            padding: 0 !important;
            font-size: 1px !important;
            background: url(../imgcrm/sep.gif) 50% 0 repeat-y;
        }
        /*.anketa td.c3 input.text {
            margin: 11px 0 0;
        }*/
        .anketa td span {
            display: block;
            margin: 0 0 2px;
            font-size: 14px;
        }
        .anketa td input.text {
            width: 185px;
            margin: 0 0 5px;
            font-size: 14px;
            color: #000;
            border: 1px solid #000;
        }
        .anketa td select {
            width: 185px;
            margin: 0 0 5px;
            font-size: 14px;
            color: #000;
            border: 1px solid #000;
        }
        .anketa td textarea {
            width: 100%;
            height: 60px;
            margin: 0 0 5px;
            border: 1px solid #000;
            resize: none;
        }
            .anketa td.c3 {
            }
                .anketa td.c3 input[type=checkbox] {
                    position: relative;
                    top: 1px;
                    margin: 1px 2px 1px 0;
                }
                .anketa td.c3 span {
                    margin-top: 0px;
                }

#tabs-menu {
    z-index: 100;
    position: relative;
    list-style: none;
    height: 25px;
    padding: 0 0 0 10px;
}
    #tabs-menu li {
        position: relative;
        float: left;
        background: url(../imgcrm/tabs.png) 0 -27px no-repeat;
    }
        #tabs-menu li.current {
            z-index: 100 !important;
            background-position: 0 0;
        }
        #tabs-menu li ins {
            position: absolute;
            top: 0;
            right: -14px;
            display: block;
            width: 14px;
            height: 25px;
            background: url(../imgcrm/tabs.png) right -27px no-repeat;
        }
            #tabs-menu li.current ins {
                height: 26px;
                background-position: right 0;
            }
        #tabs-menu li a {
            display: block;
            height: 25px;
            padding: 0 6px 0 40px;
            font-size: 12px;
            line-height: 27px;
            color: #444;
            text-decoration: none;
            text-shadow: 1px 1px 0 #fff;
            background: 16px 50% no-repeat;
        }
            #tabs-menu li.current a {
                height: 26px;
                color: #000;
                cursor: default;
            }
            #tabs-menu li a:hover {
                color: #000;
            }

.block {
    position: relative;
    margin: 0 0 20px 0;
    padding: 15px;
    font-size: 14px;
    background: #f8f8f8;
    border: 2px solid #999;
}
    .block hr {
        height: 1px;
        margin: 0 0 10px;
        font-size: 1px;
        background: none;
        border: 0;
        border-bottom: 1px solid #000;
    }
    .block .rightCol {
        position: absolute;
        bottom: -7px;
        right: -227px;
    }

.status {
    width: 100%;
    border-bottom: 1px solid #000;
}
    .status td {
        padding: 0 0 10px;
        font-size: 14px;
        vertical-align: middle;
    }
        .status td.c1 {
            width: 130px;
        }
        .status td.c2 {
            /*width: 190px;*/
        }
        .status td.c3 {
            width: 75px;
        }
            .status td.important {
                background: url(../imgcrm/important.gif) right 3px no-repeat;
            }
        .status td select {
            width: 185px;
            font-size: 14px;
            color: #000;
            border: 1px solid #000;
        }

#work {
    width: 100%;
    margin: 10px 0;
    border-bottom: 1px solid #000;
}
    #work td {
        padding-bottom: 5px !important;
        font-size: 14px;
        vertical-align: middle;
    }
        #work td select {
            font-size: 14px;
            color: #000;
            border: 1px solid #000;
        }
        #work td input.text {
            font-size: 14px;
            color: #000;
            border: 1px solid #000;
        }
        #work td.c1 {
            width: 260px;
            padding: 0 10px 0 0;
        }
            #work td.c1 select {
                width: 265px;
            }
        #work td.c2 {
            width: 65px;
        }
            #work td.c2 input.text {
                width: 55px;
                padding-left: 5px;
                padding-right: 5px;
            }
        #work td.c3 {
            width: 10px;
            padding: 0 10px 0 5px;
        }
        #work td.c4 {
            width: 80px;
            padding: 0 20px 0 0;
        }
            #work td.c4 select {
                width: 80px;
            }
        #work td.c5 {
            width: 60px;
            padding: 0 5px 0 0;
        }
            #work td.c5 select {
                width: 60px;
            }
        #work td.c6 {
            width: 10px;
            padding: 0 5px;
            text-align: center;
        }
        #work td.c7 {
            font-size: 16px;
            font-weight: bold;
        }
        #work td.c8 {
            width: 5px;
        }

    .work-add {
        float: left;
        margin: 5px 40px 0 0;
        padding: 0 0 0 20px;
        font-size: 14px;
        text-decoration: none;
        color: #000;
        background: url(../imgcrm/add2.gif) 0 2px no-repeat;
    }
        #add-repear-block {
            background: url(../imgcrm/add.gif) 0 2px no-repeat;
        }

#filter-zakazi {
    position: relative;
    top: 5px;
    float: right;
    font-size: 14px;
    font-weight: normal;
}
    #filter-zakazi a {
        margin: 0 5px;
        color: #000;
        text-decoration: none;
    }
        #filter-zakazi a.current {
            font-weight: bold;
            color: #0066cc;
        }
#filter-zakazi-finishing-at {
    position: relative;
    top: 5px;
    float: right;
    font-size: 14px;
    font-weight: normal;
}
    #filter-zakazi-finishing-at a {
        margin: 0 5px;
        color: #000;
        text-decoration: none;
    }
        #filter-zakazi-finishing-at a.current {
            font-weight: bold;
            color: #0066cc;
        }

#menu-zakazi {
    margin: -10px 0 0;
    font-size: 14px;
    font-weight: normal;
}
    #menu-zakazi a {
        margin: 0 15px 0 0;
        color: #000;
        text-decoration: none;
    }
        #menu-zakazi a.current {
            font-weight: bold;
            color: #0066cc;
        }

#zakazi-search {
    margin: 15px 0 30px;
}
    #zakazi-search input.text {
        float: left;
        width: 390px;
        height: 18px;
        margin: 0 15px 0 0;
        font-size: 14px;
        border: 1px solid #000;
    }
    #zakazi-search input.button {
        margin: 0;
    }

#add-new-user {
    float: right;
    display: -moz-inline-stack;
    display: inline-block;
    zoom: 1;
    *display: inline;
    width: 204px;
    height: 23px;
    margin: -53px 0 0;
    font-size: 14px;
    color: #333;
    line-height: 22px;
    text-indent: 35px;
    text-decoration: none;
    background: url(../imgcrm/button_adduser.gif);
    opacity: 0.8;
}
    #add-new-user:hover {
        opacity: 1;
    }


.zakaz-entry-yellow {
    background: #ffcc00 !important;
}

.zakaz-entry-green {
    background: #50f217 !important;
}

.zakaz-entry-blue {
    background: #17e5f2 !important;
}

.zakaz-entry-gray {
    background: #dfdfdf !important;
}


/*
.zakaz-entry-yellow {
    background: #ffcc00 url(../imgcrm/yellow_right.gif) right 0 no-repeat !important;
}
    .zakaz-entry-yellow td.c1 {
        background: url(../imgcrm/yellow_left.gif) 0 0 no-repeat !important;
    }
    .zakaz-entry-yellow td.c8 {
        background: url(../imgcrm/yellow_right.gif) right 0 no-repeat !important;
    }

.zakaz-entry-green {
    background: #50f217 url(../imgcrm/green_right.gif) right 0 no-repeat !important;
}
    .zakaz-entry-green td.c1 {
        background: url(../imgcrm/green_left.gif) 0 0 no-repeat !important;
    }
    .zakaz-entry-green td.c8 {
        background: url(../imgcrm/green_right.gif) right 0 no-repeat !important;
    }

.zakaz-entry-blue {
    background: #17e5f2 url(../imgcrm/blue_right.gif) right 0 no-repeat !important;
}
    .zakaz-entry-blue td.c1 {
        background: url(../imgcrm/blue_left.gif) 0 0 no-repeat !important;
    }
    .zakaz-entry-blue td.c8 {
        background: url(../imgcrm/blue_right.gif) right 0 no-repeat !important;
    }
*/
.zakaz-entry {
    position: relative;
    margin: 0 0 1px;
    opacity: .9; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)"; filter: alpha(opacity=90);
    border-radius: 10px;
    cursor: hand;
    cursor: pointer;
}
    .zakaz-entry:hover {
        background: #d9dadb;
        opacity: 1;
    }
/*    .zakaz-entry:hover {
        opacity: 1; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter: alpha(opacity=100);
        background: #d9dadb;
    }
    .zakaz-entry:hover td.c1 {
        background: url(../imgcrm/gray_left.gif) 0 0 no-repeat;
    }
    .zakaz-entry:hover td.c8 {
        background: url(../imgcrm/gray_right.gif) right 0 no-repeat;
    }
*/

.zakaz-entry table {
    width: 100%;
    height: 23px;
}
    .zakaz-entry table td {
        padding: 0 5px;
        font-size: 14px;
        word-break: break-all;
        box-sizing: border-box;
    }
    .zakaz-entry table td.c1 {
        width: 16px;
        padding: 0 4px;
    }
    .zakaz-entry table td.c2 {
        /*width: 70px;*/
        padding: 0 4px;
        word-break: normal !important;

    }
    .zakaz-entry table td.c3 {
        width: 100px;
        padding: 0 4px;
    }
    .zakaz-entry table td.c4 {
        width: 130px;
        padding: 0 4px;
    }
    .zakaz-entry table td.c5 {
        width: 100px;
        padding: 0 4px;
        word-break: normal !important;
    }
    .zakaz-entry table td.c6 {
        width: 170px;
        padding: 0 4px;
    }
    .zakaz-entry table td.c7 {
        width: 110px;
        padding: 0 4px;
    }
    .zakaz-entry table td.c8 {
        width: 10px;
        padding: 0 4px 0 0;
    }
        .zakaz-entry table td.c8 img {
            cursor: hand;
            cursor: pointer;
        }
    .zakaz-entry table td.c9 {
        width: 10px;
        padding: 0 4px 0 0;
    }
        .zakaz-entry table td.c9 img {
            cursor: hand;
            cursor: pointer;
        }

    .zakaz-entry-menu {
        display: none;
        z-index: 100;
        position: absolute;
        top: 0;
        right: -20px;
        width: 182px;
        font-family: Arial, sans-serif;
        background: url(../imgcrm/zakaz_menu_bg.png) 0 0 no-repeat;
    }
        .zakaz-entry-menu-bottom {
            position: absolute;
            bottom: -32px;
            left: 0;
            width: 182px;
            height: 32px;
            background: url(../imgcrm/zakaz_menu_bot.png) 0 bottom no-repeat;
        }
        .zakaz-entry-menu span {
            display: block;
            margin-top: 35px;
            font-weight: 700;
            text-align: center;
        }
        .zakaz-entry-menu ul {
            list-style: none;
            margin: 0 20px -10px;
            padding: 5px 10px;
        }
            .zakaz-entry-menu ul li {
                margin: 0 0 5px;
            }
                .zakaz-entry-menu ul li a {
                    display: block;
                    padding: 5px 10px 5px 13px;
                    font-size: 11px;
                    color: #069;
                    text-decoration: none;
                }
                .zakaz-entry-menu ul li a:hover {
                    /*color: #fff;*/
                    /*background: #069;*/
                    text-decoration: underline;
                }

    #zakaz-legend {
        margin: 30px 0 0;
        padding: 10px 10px 10px 4px;
        font-size: 12px;
        color: #666;
        border-top: 1px solid #eee;
    }

        #zakaz-sms {
            float: left;
            text-align: left;
        }
            #zakaz-sms * {
                /*display: none;*/
            }
            #zakaz-sms h3 {
                display: block;
                font-size: 16px;
                color: #333;
                cursor: pointer;
            }
            #zakaz-sms textarea {
                width: 300px;
                height: 50px;
                resize: vertical;
            }
            #zakaz-sms b {
                color: #069;
            }

        #zakaz-legend p {
            margin: 0 0 5px;
            font-size: 14px;
            color: #333;
        }
            #zakaz-legend p a {
                font-style: italic;
                color: #006d9c;
            }
        #zakaz-legend span {
            display: -moz-inline-stack;
            display: inline-block;
            zoom: 1;
            *display: inline;
            margin: 0 15px 0 0;
            padding: 2px 0 2px 22px;
        }
            #zakaz-legend .green {
                background: url(../imgcrm/icon_comp.png) 0 50% no-repeat;
            }
            #zakaz-legend .yellow {
                background: url(../imgcrm/warning.png) 0 50% no-repeat;
            }
            #zakaz-legend .blue {
                background: url(../imgcrm/icon_clock.png) 0 50% no-repeat;
            }

    #zakaz-sorting {
        width: 100%;
        margin: 0 0 10px;
    }
        #zakaz-sorting table {
            width: 100%;
        }
            #zakaz-sorting table td {
                font-size: 12px;
            }
                #zakaz-sorting table td div {
                    position: relative;
                    left: 10px;
                }
                #zakaz-sorting table td a {
                    color: #006d9c;
                    text-decoration: none;
                }
                    #zakaz-sorting table td a:hover {
                        color: #ff0000;
                    }
                    #zakaz-sorting table td a.az, #zakaz-sorting table td a.za {
                        position: absolute;
                        top: 3px;
                        left: -12px;
                        display: block;
                        width: 7px;
                        height: 4px;
                    }
                        #zakaz-sorting table td a.az {
                            background: url(../imgcrm/sorting_az.gif);
                        }
                            #zakaz-sorting table td a.az:hover, #zakaz-sorting table td a.az-current {
                                background-image: url(../imgcrm/sorting_az_h.gif);
                            }
                        #zakaz-sorting table td a.za {
                            top: 9px;
                            background: url(../imgcrm/sorting_za.gif);
                        }
                            #zakaz-sorting table td a.za:hover, #zakaz-sorting table td a.za-current {
                                background-image: url(../imgcrm/sorting_za_h.gif);
                            }
                #zakaz-sorting table td.c1 {
                    width: 332px;
                    // padding-left: 30px;
                }
                #zakaz-sorting table td.c2 {
                    width: 108px;
                }
                #zakaz-sorting table td.c3 {
                    width: 138px;
                }
                #zakaz-sorting table td.c4 {
                    width: 108px;
                }


#pageNav-container {
    position: absolute;
    bottom: 50px;
    width: 950px;
}
#pageNav {
    margin: 30px auto 0;
}
    #pageNav td {
        padding: 0 10px;
        font-size: 14px;
        vertical-align: top;
    }
        #pageNav td.c2 {
            text-align: center;
        }
        #pageNav td a {
            margin: 0 5px;
            color: #000;
            text-decoration: none;
        }
        #pageNav.v2 td.c2 a {
            color: #999;
        }
        #pageNav td span {
            position: relative;
            padding: 2px 6px;
            color: #000;
            background: #ccc;
            border-radius: 6px;
        }
        #pageNav.v2 td span {
            color: #777;
            background: #e8e8e8;
            box-shadow: inset 1px 1px 1px #aeaeae;
        }
        #pageNav.v2 td.c1 a {
            display: -moz-inline-stack;
            display: inline-block;
            zoom: 1;
            *display: inline;
            width: 12px;
            height: 13px;
            margin: 3px 0 0;
            background: url(../imgcrm/pagenav_prev.png);
         }
        #pageNav.v2 td.c3 a {
            display: -moz-inline-stack;
            display: inline-block;
            zoom: 1;
            *display: inline;
            width: 12px;
            height: 13px;
            margin: 3px 0 0;
            background: url(../imgcrm/pagenav_next.png);
        }

#editors {
    position: relative;
    top: -18px;
    font-size: 12px;
}
    #editors .editorblock {
        width: 665px;
        height: 150px;
        margin: 5px 0 20px;
        /*border: 1px solid #cccccc;*/
    }

.warning {
    padding-left: 25px;
    background: url(../imgcrm/warning.png) 0 50% no-repeat;
}
    .warning input {
        width: 50px;
        margin: 0 5px;
        border: 1px solid #ccc;
    }

.loading-items{
	background: white url('itemsloading.gif') center no-repeat !important;
	height: 470px;
}

#blackbox {
    z-index: 1000;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #000;
}

.modal {
    z-index: 1001;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
    .modal td {
        vertical-align: middle;
    }
        .modal-container {
            position: relative;
            margin: 0 auto;
            padding: 3px;
            background: #1391ba;
            border-radius: 5px;
            box-shadow: 0 0 30px rgba(0,0,0,0.3);
            /*opacity: 0.95;*/
        }
            .modal-container a.close {
                position: absolute;
                top: 7px;
                right: 7px;
                display: block;
                width: 11px;
                height: 11px;
                background: url(../imgcrm/modal_close.png);
            }
            .modal-container h2 {
                margin: 2px 5px 4px;
                font-size: 12px;
                color: #fff;
                text-shadow: 1px 1px 0 #0d6582;
                cursor: move;
                -moz-user-select: none;
                -khtml-user-select: none;
                user-select: none;
            }
            .modal-container h3 {
                margin: 0 0 10px;
                font-size: 18px;
                font-weight: normal;
                color: #000;
            }
            .modal-content {
                padding: 10px;
                font-size: 12px;
                background: #f2f2f2;
                border-radius: 5px;
            }
                .modal-content input[type=text] {
                    height: 23px;
                    padding: 2px 5px 0 5px;
                    font-family: Arial, sans-serif;
                    font-size: 12px;
                    color: #444;
                    background: #fff;
                    border: 1px solid #d5d5d5;
                    border-radius: 5px;
                    box-shadow: inset 1px 1px 0 #aaa;
                }
                    .modal-content input.search {
                        padding: 2px 30px 0 5px;
                        font-style: italic;
                        color: #d5d5d5;
                        background: #fff url(../imgcrm/modal_search_icon.gif) right 50% no-repeat;
                    }
                .modal-content hr {
                    height: 0;
                    margin: 10px -10px;
                    border: 0;
                    border-top: 1px solid #b8b8b8;
                    border-bottom: 1px solid #fff;
                }
                .modal-content label span {
                    display: block;
                    margin: 0 0 3px;
                }
                .modal-content .infobox {
                    margin: 10px -10px -10px;
                    padding: 7px 20px 7px 35px;
                    font-size: 14px;
                    font-style: italic;
                    color: #4e4e4e;
                    background: #5f5f5f;
                    background: rgba(95,95,95,0.2);
                    background-position: 14px 8px;
                    background-repeat: no-repeat;
                    background-image: url(../imgcrm/icon_info.png);
                    border-top: 1px solid #c2c2c2;
                    box-shadow: inset 0 1px 1px #aaa;
                }
                .modal-content input[type=radio] {
                    position: relative;
                    top: -2px;
                }
                .modal-content table td {
                    font-size: 14px;
                }
            .modal-buttons {
                margin: 15px 0 6px;
            }

        #modal-print .modal-container {
            width: 363px;
        }
            #modal-print .modal-container .modal-content {
                background-image: url(../imgcrm/modal_print_bg.png);
                background-position: right bottom;
                background-repeat: no-repeat;
            }
        #modal-user_selector .modal-container {
            width: 600px;
        }
            #modal-user_selector .modal-container .modal-content {
                background-image: url(../imgcrm/modal_print_bg.png);
                background-position: right bottom;
                background-repeat: no-repeat;
            }

        #modal-additem .modal-container {
            width: 363px;
        }
            #modal-additem .modal-container .modal-content {
                background-image: url(../imgcrm/modal_addmodel_bg.png);
                background-position: right bottom;
                background-repeat: no-repeat;
            }

        #modal-orderitem .modal-container {
            width: 363px;
        }
            #modal-orderitem .modal-container .modal-content {
                background-image: url(../imgcrm/modal_transfer_bg.png);
                background-position: right bottom;
                background-repeat: no-repeat;
            }

        #modal-transfer .modal-container {
            width: 363px;
        }
            #modal-transfer .modal-container .modal-content {
                background-image: url(../imgcrm/modal_transfer_bg.png);
                background-position: right bottom;
                background-repeat: no-repeat;
            }
            #modal-transfer-table {
                width: 100%;
            }
                #modal-transfer-table td {
                    width: 40%;
                    font-size: 14px;
                    text-align: center;
                    vertical-align: bottom;
                }
                    #modal-transfer-table td.c2 {
                        width: 20%;
                        font-size: 18px;
                    }
                        #modal-transfer-table td.c2 div {
                            position: relative;
                        }
                            #modal-transfer-table td.c2 div a {
                                position: absolute;
                                bottom: 3px;
                                display: block;
                                width: 23px;
                                height: 16px;
                                opacity: 0.85;
                            }
                                #modal-transfer-table td.c2 div a:hover {
                                    opacity: 1;
                                }
                            #modal-transfer-table td.c2 div a.toleft {
                                left: -5px;
                                background: url(../imgcrm/arrow_left.png);
                            }
                            #modal-transfer-table td.c2 div a.toright {
                                right: -5px;
                                background: url(../imgcrm/arrow_right.png);
                            }
                    #modal-transfer-table td span {
                        white-space: nowrap;
                    }
                    #modal-transfer-table td ins {
                        margin-left: 5px;
                        font-size: 12px;
                    }

#window-addlist {
    display:none;
    z-index: 1001;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
    #window-addlist-container {
        width: 535px;
        margin: 0 auto;
        padding: 15px;
        font-size: 14px;
        background: #ececec;
        border: 2px solid #999;
    }
        #window-addlist-container hr {
            height: 1px;
            margin: 5px -15px 15px;
            border: 0;
            border-top: 1px solid #999999;
            border-bottom: 1px solid #fafafa;
        }
        #window-addlist-container h2 {
            margin: -15px -15px 15px;
            padding: 9px 15px;
            font-size: 12px;
            /*font-weight: normal;*/
            background: url(../imgcrm/topbar_bg.gif) 0 0 repeat-x;
            border-bottom: 1px solid #999;
        }
        .window-addlist-button {
            display: -moz-inline-box;
            display: inline-block;
            width: 155px;
            padding: 5px 0;
            font-size: 12px;
            font-weight: bold;
            background: #fff;
            text-align: center;
            border: 1px solid #999;
            cursor: hand;
            cursor: pointer;
        }
            #window-addlist-close {
                background: #fff url(../imgcrm/cancel.png) 10px 4px no-repeat;
            }
            #window-addlist-add {
                background: #fff url(../imgcrm/add1.png) 10px 4px no-repeat;
            }
        #window-addlist-form {
            width: 100%;
            margin: 0 0 10px;
        }
            #window-addlist-form td {
                vertical-align: top;
            }
                #window-addlist-form td input.text, #window-addlist-form td select {
                    margin: 5px 0;
                    font-size: 14px;
                    font-family: Arial, sans-serif;
                    background: #fff;
                    border: 1px solid #000;
                }
                #window-addlist-form td.c1 {

                }
                    #window-addlist-form td.c1 input {
                        width: 275px;
                    }
                #window-addlist-form td.c2 {
                    width: 105px;
                }
                    #window-addlist-form td.c2 input {
                        width: 105px;
                    }
                #window-addlist-form td.c3 {
                    width: 40px;
                    padding-top: 17px;
                    text-align: center;
                }
                #window-addlist-form td.c4 {
                    width: 90px;
                }
                    #window-addlist-form td.c4 select {
                        width: 90px;
                    }
                #window-addlist-form input.checkbox {
                    position: relative;
                    top: 1px;
                }

#anketa-addmodel {
    float: right;
    margin: -18px 0 0;
    padding: 0 0 0 20px;
    font-size: 12px;
    font-style: italic;
    color: #000;
    background: url(../imgcrm/add.gif) 0 50% no-repeat;
    text-decoration: none;
}

#window-addmodel {
    display: none;
    z-index: 1001;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
    #window-addmodel-container {
        width: 535px;
        margin: 0 auto;
        padding: 15px;
        font-size: 14px;
        background: #ececec;
        border: 2px solid #999;
    }
        #window-addmodel-container h2 {
            margin: -15px -15px 15px;
            padding: 9px 15px;
            font-size: 12px;
            /*font-weight: normal;*/
            background: url(../imgcrm/topbar_bg.gif) 0 0 repeat-x;
            border-bottom: 1px solid #999;
        }
        .window-addmodel-button {
            display: -moz-inline-box;
            display: inline-block;
            width: 155px;
            padding: 5px 0;
            font-size: 12px;
            font-weight: bold;
            background: #fff;
            text-align: center;
            border: 1px solid #999;
            cursor: hand;
            cursor: pointer;
        }
            #window-addmodel-close {
                background: #fff url(../imgcrm/cancel.png) 10px 4px no-repeat;
            }
            #window-addmodel-add {
                background: #fff url(../imgcrm/add1.png) 10px 4px no-repeat;
            }
        #window-addmodel-form {
            width: 100%;
            margin: 0 0 10px;
        }
            #window-addmodel-form td {
                vertical-align: top;
            }
                #window-addmodel-form td input.text, #window-addmodel-form td select {
                    margin: 5px 0;
                    font-size: 14px;
                    font-family: Arial, sans-serif;
                    background: #fff;
                    border: 1px solid #000;
                }
                #window-addmodel-form td.c1 {

                }
                    #window-addmodel-form td.c1 input {
                        width: 255px;
                    }
                #window-addmodel-form td.c2 {
                    width: 175px;
                }
                    #window-addmodel-form td.c2 input {
                        width: 160px;
                    }
                #window-addmodel-form td.c3 {
                    width: 40px;
                    padding-top: 17px;
                    text-align: center;
                }
                #window-addmodel-form td.c4 {
                    width: 90px;
                }
                    #window-addmodel-form td.c4 select {
                        width: 90px;
                    }
                #window-addmodel-form input.checkbox {
                    position: relative;
                    top: 1px;
                }

#addstudent-back {
    display: block;
    z-index: 100;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(../imgcrm/add_back.png);
}
    #addstudent {
        position: relative;
        top: 30%;
        width: 466px;
        margin: 0 auto;
        padding: 13px 20px;
        font-family: Arial, sans-serif;
        background: #fff;
        border: 3px solid #006290;
    }
        #addstudent-top {
            position: absolute;
            top: -13px;
            left: -3px;
            width: 512px;
            height: 13px;
            background: url(../imgcrm/addstudent_top.png);
        }
        #addstudent-bot {
            position: absolute;
            bottom: -13px;
            left: -3px;
            width: 512px;
            height: 13px;
            background: url(../imgcrm/addstudent_bot.png);
        }
        #addstudent-input {
            position: relative;
            width: 216px;
            height: 38px;
            background: url(../imgcrm/addstudent_input_bg.gif);
        }
            #addstudent-input input {
                position: absolute;
                top: 1px;
                left: 5px;
                width: 165px;
                margin: 0;
                padding: 0 40px 0 0;
                font-size: 30px;
                font-family: Arial, sans-serif;
                color: #006290;
                border: 0;
            }
                #addstudent-input .ok {
                    background: url(../imgcrm/addstudent_input_ok.gif) 170px 50% no-repeat;
                }
        #addstudent-info {
            position: absolute;
            top: 11px;
            right: 20px;
            font-size: 15px;
            text-align: right;
        }
            #addstudent-info b {
                line-height: 20px;
                font-weight: normal;
                color: #006290;
            }
        #addstudent-name {
            margin: 20px 0 0;
            height: 35px;
            line-height: 35px;
            background: url(../imgcrm/addstudent_icon.gif) 0 50% no-repeat;
        }
            #addstudent-name h2 {
                padding: 0 0 0 35px;
                font-size: 25px;
                font-weight: normal;
                color: #006290;
            }
                #addstudent-name h2 a {
                    color: #006290;
                }
        #addstudent table {
            margin: 8px 0;
        }
            #addstudent table td {
                padding: 2px 0;
                font-size: 15px;
                color: #666;
                vertical-align: middle;
            }
                #addstudent table tr.current td {
                    color: #000;
                }
                #addstudent table td.c1 {
                    padding: 0 10px;
                }
                    #addstudent table td.c1 a {
                        display: block;
                        width: 15px;
                        height: 15px;
                        background: url(../imgcrm/radiobutton.gif);
                    }
                        #addstudent table tr.current td.c1 a {
                            background-position: 0 -15px;
                        }
                #addstudent table td.c3 {
                    padding: 0 25px;
                }
        #addstudent-tip {
            margin: 0 -20px;
            padding: 4px 10px 4px 53px;
            font-size: 13px;
            font-style: italic;
            color: #006290;
            background: #f9f9f9 url(../imgcrm/iconinfo.gif) 28px 4px no-repeat;
            border-top: 1px solid #ededed;
            border-bottom: 1px solid #ededed;
        }
        #addstudent-buttons {
            position: relative;
            margin: 20px 0 0;
            height: 50px;
            text-align: center;
        }
            #addstudent-buttons a {
                display: -moz-inline-stack;
                display: inline-block;
                zoom: 1;
                *display: inline;
            }
                #addstudent-buttons .register {
                    position: absolute;
                    top: 0;
                    left: 55px;
                    width: 295px;
                    height: 49px;
                    font-size: 21px;
                    color: #fff;
                    line-height: 47px;
                    background: url(../imgcrm/addstudent_bigbut.gif);
                    text-decoration: none;
                }
                    #addstudent-buttons .register:hover {
                        background-position: 0 -49px;
                    }
                #addstudent-buttons .freeze {
                    position: absolute;
                    top: 0;
                    right: 55px;
                    width: 51px;
                    height: 50px;
                    background: url(../imgcrm/addstudent_freeze.gif);
                }
                    #addstudent-buttons .freeze:hover {
                        background-position: 0 -50px;
                    }


#addnew-back {
    display: none;
    z-index: 100;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(../imgcrm/add_back.png);
}
#addnew {
    position: relative;
    top: 30%;
    width: 541px;
    /*height: 196px;*/
    margin: 0 auto;
    padding: 15px 28px 10px;
    background: url(../imgcrm/add_bg.png) 0 0 no-repeat;
}
    #addnew-close {
        position: absolute;
        top: -15px;
        right: 0;
        width: 38px;
        height: 38px;
        background: url(../imgcrm/add_close.png) 0 0 no-repeat;
        cursor: hand;
        cursor: pointer;
    }
    #addnew h2 {
        position: relative;
        margin: 0 0 0 80px;
        padding: 2px 0 4px 30px;
        font-size: 19px;
        font-weight: normal;
        font-family: Arial, sans-serif;
        background: url(../imgcrm/add_icon_add.gif) 0 50% no-repeat;
    }
    #addnew h2.edit {
        background-image: url(../imgcrm/add_icon_edit.gif);
    }
        #addnew h2 input {
            position: absolute;
            top: 3px;
            width: 100px;
            margin: 0 0 0 10px;
            font-size: 14px;
            color: #222;
            background: #fff;
            border: 1px solid #7f7f7f;
        }
        /*#addnew-edit {
            position: absolute;
            top: 2px;
            left: -30px;
            display: block;
            width: 23px;
            height: 23px;
            background: url(../imgcrm/add_icon_edit.gif) 0 0 no-repeat;
        }*/

    #addnew-white {
        display: none;
        z-index: 100;
        position: absolute;
        left: 0;
        top: 0;
        width: 570px;
        height: 78%;
        margin: 50px 5px 0;
        background: #fff;
    }
    #addnew-loading {
        display: none;
        z-index: 150;
        position: absolute;
        top: 80px;
        width: 550px;
        font-size: 14px;
        font-weight: bold;
        padding: 60px 0 0;
        text-align: center;
        background: url(../imgcrm/loading.gif) 50% 0 no-repeat;
    }

    #addnew table {
        width: 100%;
        margin: 10px 0;
    }
        #addnew table td {
            width: 33%;
            font-size: 14px;
            color: #4c4c4c;
        }
            #addnew table td input.text, #addnew table td select {
                margin: 5px 0 10px;
                font-size: 14px;
                color: #222;
            }
            #addnew table td input.text {
                width: 160px;
                background: #fff;
                border: 1px solid #7f7f7f;
            }
            #addnew table td input.error {
                border-color: #ff0000;
            }
            #addnew table td select {
                width: 162px;
                background: #fff;
                border: 1px solid #7f7f7f;
            }
            #phone-error {
                position: absolute;
                right: 47px;
                margin: -5px 0 0;
                padding: 0 0 0 20px;
                font-size: 12px;
                color: #ff0000;
                background: url(../imgcrm/add_icon_error.gif) 0 0 no-repeat;
            }
    #addnew-sms {
        margin: -10px 0 15px;
        font-size: 14px;
        color: #4c4c4c;
    }
        #addnew-sms a {
            font-weight: bold;
            color: #0066cc;
            text-decoration: none;
            border-bottom: 1px dotted #06c;
        }
            #addnew-sms a:hover {
                border-bottom: 0;
            }
        #addnew-sms input {
            width: 520px;
            margin: 5px 0 0;
            font-size: 12px;
            color: #222;
            border: 1px solid #7f7f7f;
        }

    #add-cancel, #add-save {
        float: right;
        display: block;
        width: 144px;
        height: 16px;
        margin: 0 18px 0 0;
        padding: 4px 0;
        font-size: 14px;
        color: #000;
        text-decoration: none;
        background: url(../imgcrm/add_button.gif) 0 0 no-repeat;
    }
        #add-cancel:hover, #add-save:hover {
            background-position: 0 -24px;
        }
        #add-save ins {
            float: left;
            display: block;
            width: 16px;
            height: 16px;
            margin: 0 5px;
            background: url(../imgcrm/add_icon_save.gif) 0 0 no-repeat;
        }
        #add-cancel ins {
            float: left;
            display: block;
            width: 16px;
            height: 16px;
            margin: 0 5px;
            background: url(../imgcrm/add_icon_cancel.gif) 0 0 no-repeat;
        }
    #addnew-bot {
        position: absolute;
        bottom: -7px;
        left: 0;
        width: 581px;
        height: 7px;
        background: url(../imgcrm/add_bg_bot.png) 0 0 no-repeat;
    }

#settings {
    font-size: 14px;
    font-family: Arial, sans-serif;
}
    #settings-form {
        float: left;
        margin: -10px 0 15px;
        padding: 15px 15px 10px;
        background: #f8f8f8;
        border: 1px solid #cecece;
    }
        #settings-form label {
            clear: both;
            float: left;
            margin: 0 0 2px 25px;
            font-size: 14px;
            font-weight: bold;
            color: #000;
        }
        #settings-form input.checkbox {
            clear: both;
            float: left;
            position: relative;
            top: 4px;
            margin: 0 11px 0 0;
        }
        #settings-form input.text {
            float: left;
            width: 600px;
            margin: 0 0 10px;
        }
            #settings-form input.text:disabled {
                color: #999;
            }
    #settings ul {
        list-style: none;
        margin: 0 0 0 15px;
    }
        #settings ul li {
            margin: 0 0 5px;
            padding: 0 0 0 20px;
            background: url(../imgcrm/settings_li.gif) 0 4px no-repeat;
        }

    #settings-cancel, #settings-save {
        float: left;
        display: block;
        width: 144px;
        height: 16px;
        margin: 0 18px 0 0;
        padding: 4px 0;
        font-size: 14px;
        color: #000;
        text-decoration: none;
        background: url(../imgcrm/add_button.gif) 0 0 no-repeat;
    }
        #settings-cancel:hover, #settings-save:hover {
            background-position: 0 -24px;
        }
        #settings-save ins {
            float: left;
            display: block;
            width: 16px;
            height: 16px;
            margin: 0 5px;
            background: url(../imgcrm/add_icon_save.gif) 0 0 no-repeat;
        }
        #settings-cancel ins {
            float: left;
            display: block;
            width: 16px;
            height: 16px;
            margin: 0 5px;
            background: url(../imgcrm/add_icon_cancel.gif) 0 0 no-repeat;
        }

#loginBlock {
    width: 367px;
    height: 82px;
    margin: 80px auto 0;
    padding: 10px 15px;
    font-size: 0.675em;
    background:  url(../imgcrm/login_bg.gif) 0 0 no-repeat;
}
    #loginBlock span {
    	float: left;
        display: block;
		width: 170px;
        margin: 0 0 3px 5px;
        font-size: 1.4em;
        font-weight: bold;
        color: #111;
    }
		#loginBlock-label2 {
			margin-left: 15px !important;
		}
    #loginBlock input.text {
        width: 170px;
        height: 24px;
        margin: 0 0 5px;
        padding: 0 0 0 5px;
        font-size: 1.8em;
        color: #ed1c24;
        background: #f1f1f1;
        border: 1px solid #bdbdbd;
    }
    #loginBlock input.password {
        background: #f1f1f1 url(../imgcrm/label_pass.gif) 5px 6px no-repeat;
    }
    #loginBlock input.submit {
        float: left;
    }
    #loginBlock div {
        bottom: 18px;
        font-size: 1.2em;
        margin: 5px 5px 0 0;
        position: absolute;
        right: 16px;
    }
        #loginBlock div a {
            margin: 0 0 0 10px;
            color: #000;
        }


    #grafik-filters {
        z-index: 150000000;
        position: relative;
        font-size: 14px;
        color: #006d9c;
    }
        #grafik-filters > div {
            position: relative;
            display: -moz-inline-stack;
            display: inline-block;
            zoom: 1;
            *display: inline;
            margin: 0 30px 0 0;
        }
            #grafik-filters div > span {
                padding: 0 15px 0 0;
                background: url(../imgcrm/arrow_down.png) right 4px no-repeat;
                cursor: hand;
                cursor: pointer;
            }
            #grafik-filters > div > div {
                display: none;
                position: absolute;
                top: 0;
                left: 0;
                margin: -9px 0 0 -11px;
                padding: 8px 10px;
                background: #f6f6f6;
                border: 1px solid #c2c2c2;
                border-radius: 5px;
                box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
            }
        #grafik-filters ul {
            list-style: none;
            height: 160px;
            margin: 7px -10px 8px;
            cursor: default;
            overflow-y: scroll;
            background: #fafafa;
            border-top: 1px solid #e0e0e0;
            border-bottom: 1px solid #e0e0e0;
        }
            #grafik-filters ul li {
                padding: 0 10px;
                font-size: 13px;
                color: #000;
                white-space: nowrap;
            }
                #grafik-filters ul li:hover {
                    background: #e9e9e9;
                }
                #grafik-filters ul li label {
                    display: -moz-inline-stack;
                    display: inline-block;
                    zoom: 1;
                    *display: inline;
                    padding: 5px 0;
                }
                #grafik-filters ul li input {
                    position: relative;
                    top: 1px;
                    margin: 0 5px 0 0;
                    padding: 0;
                }
                #grafik-filters a.ok {
                    float: right;
                    height: 22px;
                    padding: 0 5px 0 25px;
                    font-size: 14px;
                    line-height: 22px;
                    color: #000;
                    text-decoration: none;
                    background: url(../imgcrm/button_ok.gif) 0 50% no-repeat;
                    border: 1px solid #afafaf;
                    border-radius: 3px;
                    opacity: 0.8;
                }
                    #grafik-filters a.ok:hover {
                        opacity: 1;
                    }

        #plateji-add {
            position: relative;
            float: right;
            margin: 0 !important;
        }
            #plateji-add a {
                display: -moz-inline-stack;
                display: inline-block;
                zoom: 1;
                *display: inline;
                width: 108px;
                height: 23px;
                font-size: 14px;
                color: #111;
                line-height: 22px;
                text-indent: 30px;
                background: url(../imgcrm/button_add.gif);
                text-decoration: none;
                opacity: 0.8;
            }
                #plateji-add a:hover {
                    opacity: 1;
                }
            #plateji-add-popup {
                position: absolute;
                top: 36px !important;
                left: auto !important;
                right: 0 !important;
                display: block !important;
                width: 200px;
                height: 150px;
                padding: 20px !important;
                background: #f6f6f6;
                border: 1px solid #b5b5b5;
                border-radius: 3px !important;
                box-shadow: none !important;
            }
                #plateji-add-popup-close {
                    position: absolute;
                    top: 6px;
                    right: 5px;
                    width: 12px !important;
                    height: 9px !important;
                    background: url(../imgcrm/plateji_popup_close.gif) 0 0 no-repeat !important;
                }
                #plateji-add-prepod {
                    position: relative;
                }
                    #plateji-add-prepod div {
                        display: none;
                        position: absolute;
                        top: 0;
                        left: 0;
                        margin: -9px 0 0 -11px;
                        padding: 8px 10px;
                        background: #f6f6f6;
                        border: 1px solid #c2c2c2;
                        border-radius: 5px;
                        box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
                    }
                        #plateji-add-prepod div a.ok {
                            width: auto;
                            text-indent: 0;
                        }

    #grafik-box {
        position: relative;

        margin: 20px 0 0;
        padding: 70px 0 0;
    }
        #grafik-box table {
            width: 100%;
        }
            #grafik-box table td {
                height: 25px;
                padding: 0 0 0 5px;
                font-size: 14px;
                /*border-top: 1px solid #000;*/
            }
            #grafik-box table tr.xrow td {
                background: #f5f5f5;
            }
        #grafik-table {
            position: absolute;
            top: 0;
            right: 0;
            width: 650px;
            min-height: 200px;
            white-space: nowrap;
            overflow-x: scroll;
        }
            #grafik-table span.date {
                position: relative;
                display: -moz-inline-stack;
                display: inline-block;
                zoom: 1;
                *display: inline;
                width: 25px;
                height: 105px;
                font-size: 12px;
                line-height: 106px;
                -webkit-transform: rotate(-90deg);
                -moz-transform: rotate(-90deg);
                -ms-transform: rotate(-90deg);
                -o-transform: rotate(-90deg);
                transform: rotate(-90deg);
            }
            #grafik-table span.el {
                display: -moz-inline-stack;
                display: inline-block;
                zoom: 1;
                *display: inline;
                width: 24px;
                height: 25px;
                border-right: 1px solid #a0adb2;
            }
            #grafik-table span.first {
                width: 23px;
                border-left: 1px solid #a0adb2;
            }
                #grafik-table p span {
                    border-top: 140px solid transparent;
                    margin: -140px 0 0;
                }
                #grafik-table span.yes {
                    height: 20px;
                    border-bottom: 5px solid #4991e5;
                }
                #grafik-table span.freeze {
                    height: 20px;
                    border-bottom: 5px solid #29b052;
                }
        #grafik-legenda {
            margin: 50px 0 0 260px;
            font-size: 14px;
            color: #666;
        }
            #grafik-legenda p {
                position: relative;
                margin: 5px 0;
                padding: 0 0 0 35px;
            }
                #grafik-legenda p span {
                    position: absolute;
                    top: 7px;
                    left: 0;
                    display: -moz-inline-stack;
                    display: inline-block;
                    zoom: 1;
                    *display: inline;
                    width: 25px;
                    height: 5px;
                }


    #plateji {

    }
        #plateji-nav {
            margin: 15px 0 10px;
            font-size: 13px;
            color: #999;
        }
            #plateji-nav span {
                position: relative;
                top: 1px;
                display: -moz-inline-stack;
                display: inline-block;
                zoom: 1;
                *display: inline;
                margin: 0 5px 0 0;
                padding: 5px;
                background: url(../imgcrm/topbar_bg.gif) 0 0 repeat-x;
                border: 1px solid #aaa;
                border-radius: 2px;

            }
                #plateji-nav span input {
                    margin: 0;
                }
        #plateji-table {
            width: 100%;
        }
            #plateji-table td {
                font-size: 14px;
                color: #000;
                vertical-align: middle;
            }
                #plateji-table tr:nth-child(2n-1) td {
                    background: #f5f5f5;
                }
                #plateji-table td input {
                    margin: 0;
                }
                #plateji-table td.c1 {
                    width: 10px;
                    padding: 6px;
                }
                #plateji-table td.c2 {
                    width: 200px;
                    padding: 0 0 0 10px;
                }
                #plateji-table td.c4 {
                    width: 100px;
                    font-size: 14px;
                    color: #006d9c;
                }
        #plateji-summary {
            margin: 10px 0 0;
            padding: 10px 0 0;
            font-size: 14px;
            color: #000;
            text-align: right;
            border-top: #eaeaea 2px solid;
        }
            #plateji-summary p {
                margin: 0 0 5px;
            }
                #plateji-summary p.itogo b {
                    color: #069;
                }
                #plateji-summary p.closed b {
                    color: #396;
                }
                #plateji-summary p.opened b {
                    color: #c33;
                }
                #plateji-summary span {
                    display: -moz-inline-stack;
                    display: inline-block;
                    zoom: 1;
                    *display: inline;
                    width: 120px;
                    text-align: left;
                }
                #plateji-summary b {
                    display: -moz-inline-stack;
                    display: inline-block;
                    zoom: 1;
                    *display: inline;
                    width: 90px;
                    text-align: left;
                }

    #order-history {
        width: 100%;
    }
        #order-history tr:nth-child(2n-1) td {
            background-color: #f5f5f5;
        }
        #order-history td {
            padding: 3px 5px;
            font-size: 14px;
            color: #000;
            vertical-align: middle;
            background-position: 5px 50%;
            background-repeat: no-repeat;
        }
            #order-history td.c1 {
                width: 90px;
                padding: 0 0 0 25px;
                background-image: url(../imgcrm/icon_calendar.gif);
            }
            #order-history td.c2 {
                width: 50px;
                padding: 0 0 0 25px;
                background-image: url(../imgcrm/icon_clocks.gif);
            }
            #order-history td.c3 {
                color: #666;
            }

    #listings {
        float: left;
        width: 100%;
        margin: -19px 0 0;
        background: url(../imgcrm/listings_bg.jpg) 0 0 repeat-y;
        border-bottom: 1px solid #888;
        border-left: 1px solid #888;
        border-right: 1px solid #888;
    }
        #listings-left {
            float: left;
            width: 187px;
        }
            #listings-left ul {
                list-style: none;
                padding: 10px 0;
            }
                #listings-left ul li {
                    font-size: 12px;
                }
                    #listings-left ul li a {
                        display: block;
                        padding: 2px 0 2px 30px;
                        color: #222;
                        text-decoration: none;
                        background: url(../imgcrm/listings_icon.png) 10px 50% no-repeat;

                        -webkit-transition: all 0.2s ease-in;
                        -moz-transition: all 0.2s ease-in;
                        -o-transition: all 0.2s ease-in;
                        -ms-transition: all 0.2s ease-in;
                    }
                        #listings-left ul li a:hover {
                            background-color: #c6d2e4;
                        }
                    #listings-left ul li.current a {
                        color: #fff;
                        background-color: #3875d7;
                        cursor: default;
                    }
        #listings-right {
            float: right;
            width: 723px;
        }
            #listings-controls {
                position: relative;
                height: 29px;
                background: #e2e2e2;
                border-left: 1px solid #999;
                border-bottom: 1px solid #999;
                box-shadow: inset 0 1px 4px #bbb;
            }
                #listings-controls input[type=text] {
                    position: absolute;
                    top: 4px;
                    left: 4px;
                    width: 550px;
                    margin: 0;
                    padding: 2px 4px;
                    font-size: 13px;
                    color: #888;
                    border: 1px solid #999;
                    border-radius: 5px;
                    box-shadow: inset 0 1px 0 #ddd;
                }
                #listings-controls a.search {
                    position: absolute;
                    top: 7px;
                    left: 575px;
                    display: block;
                    width: 21px;
                    height: 18px;
                    background: url(../imgcrm/listings_search.gif);
                }
                #listings-controls a.add {
                    position: absolute;
                    top: 0;
                    right: 0;
                    display: block;
                    width: 75px;
                    height: 29px;
                    padding: 0 0 0 35px;
                    font-size: 14px;
                    color: #555;
                    line-height: 29px;
                    background: url(../imgcrm/listings_add.png) 10px 50% no-repeat;
                    text-decoration: none;
                    border-left: 1px solid #999;
                }
                    #listings-controls a.add:hover {
                        color: #111;
                    }
            #listings-right table {
                width: 100%;
                background: #fff;
                margin: 0 0 -1px;
            }
                #listings-right table tr {
                    height: 25px;
                }
                    #listings-right table tr.header td {
                        padding: 0;
                        text-align: center;
                        vertical-align: middle;
                        background: url(../imgcrm/listings_titlebg.png);
                        border-top: 0;
                    }
                        #listings-right table tr.header td a {
                            position: relative;
                            left: 15px;

                            display: -moz-inline-stack;
                            display: inline-block;
                            zoom: 1;
                            *display: inline;

                            padding: 0 15px 0 0;

                            font-size: 14px;
                            color: #4a4a4a;
                            text-decoration: none;

                            text-shadow: 1px 1px 1px #fff;
                        }
                        #listings-right table tr.header td.sort {
                            background-color: #c4d9ed;
                        }
                            #listings-right table tr.header td.sort a.asc {
                                background: url(../imgcrm/listings_sort_asc.png) right 50% no-repeat;
                            }
                            #listings-right table tr.header td.sort a.desc {
                                background: url(../imgcrm/listings_sort_desc.png) right 50% no-repeat;
                            }
                #listings-right table td {
                    font-size: 14px;
                    color: #222;

                    vertical-align: top;
                    border: 1px solid #999;

                    -webkit-transition: all 0.2s ease-in;
                    -moz-transition: all 0.2s ease-in;
                    -o-transition: all 0.2s ease-in;
                    -ms-transition: all 0.2s ease-in;
                }
                    #listings-right table td.c1 {
                        width: 349px;
                        padding: 3px 5px 0;
                    }
                    #listings-right table td.c2 {
                        padding: 3px 5px 0;
                    }
                    #listings-right table td.c3 {
                        width: 25px;
                        border-right: 0;
                    }
                    #listings-right table td.del {
                        background: url(../imgcrm/listings_del.png) 50% 50% no-repeat !important;
                        cursor: hand;
                        cursor: pointer;
                    }
                    #listings-right table td.add {
                        background: url(../imgcrm/listings_add.png) 50% 50% no-repeat !important;
                        cursor: hand;
                        cursor: pointer;
                    }
                    #listings-right table td.ok {
                        background: url(../imgcrm/listings_ok.png) 50% 50% no-repeat !important;
                        cursor: hand;
                        cursor: pointer;
                    }
                    #listings-right table td input[type=text] {
                        width: 100%;
                        font-family: Arial, Tahoma, sans-serif;
                        font-size: 14px;
                        color: #222;
                        border: 0;
                        background: none;
                    }
                    #listings-right table td input[type=checkbox] {
                        position: relative;
                        top: 1px;
                        margin: 2px 2px -2px 3px;
                    }
                    #listings-right table td select {
                        width: 100%;
                        font-family: Arial, Tahoma, sans-serif;
                        font-size: 14px;
                        color: #222;
                        border: 0;
                        background: none;
                    }
                    #listings-right table td.focus {
                        background: #e9effa;
                        box-shadow: inset 2px 2px 3px rgba(0,0,0,0.1);
                    }
                        #listings-right table td.focus input {
                            font-weight: bold;
                        }

    #uslugi {
        padding: 0;
        background: transparent;
        /*background: none;*/
        border: 0;
    }
        #uslugi-top {
            width: 100%;
            background: #f5f5f5;
            border-bottom: 1px solid #b2b2b2;
            border-radius: 5px 5px 0 0;
        }
            #uslugi-top td {
                padding: 10px 0;
                font-size: 14px;
                color: #000;
                vertical-align: middle;
            }
                #uslugi-top td.c1 {
                    /*width: 260px;*/
                    padding: 0 0 0 20px;
                }
                #uslugi-top td.c2 {
                    width: 100px;
                }
                #uslugi-top td.c3 {
                    width: 70px;
                }
                #uslugi-top td.c4 {
                    width: 245px;
                }
                #uslugi-top td.c5 {
                    width: 30px;
                }
        .uslugi-entry {
            min-height: 38px;
            background: url(../imgcrm/uslugi_closed.png) 5px 12px no-repeat;
            border-bottom: 1px solid #b2b2b2;
        }
            .uslugi-entry:hover, #uslugi .uslugi-entry-opened {
                background-color: #ececec;
            }
                .uslugi-entry:hover td, #uslugi .uslugi-entry-opened td {
                    color: #000;
                    border-left: 1px solid #b2b2b2;
                    border-right: 1px solid #b2b2b2;
                }
            #uslugi .uslugi-entry-opened {
                background-image: url(../imgcrm/uslugi_opened.png) !important;
            }
            .uslugi-entry-top {
                width: 100%;
                height: 38px;

                cursor: hand;
                cursor: pointer;
            }
                #uslugi .uslugi-entry-top td {
                    font-size: 15px;
                    color: #3c3c3c;

                    border-left: 1px solid #fff;
                    border-right: 1px solid #fff;


                }
                    #uslugi .uslugi-entry-opened .uslugi-entry-top td, #uslugi .uslugi-entry-top:hover td {
                        border-color: #b2b2b2;
                    }
                #uslugi .uslugi-entry-top td.c1 {
                    /*width: 260px;*/
                    padding: 0 0 0 20px;
                    border-right: 0;
                }
                #uslugi .uslugi-entry-top td.c2 {
                    width: 100px;
                    border: 0;
                }
                #uslugi .uslugi-entry-top td.c3 {
                    width: 70px;
                    border: 0;
                }
                #uslugi .uslugi-entry-top td.c4 {
                    width: 135px;
                    border: 0;
                }
                #uslugi .uslugi-entry-top td.c5 {
                    width: 30px;
                    border-left: 0;
                }
                    #uslugi .uslugi-entry-top td.del {
                        background: url(../imgcrm/listings_del.png) 50% 11px no-repeat;
                        cursor: hand;
                        cursor: pointer;
                    }
                    #uslugi .uslugi-entry-top td.ok {
                        background: url(../imgcrm/listings_ok.png) 50% 12px no-repeat;
                        cursor: hand;
                        cursor: pointer;
                    }

            .uslugi-entry-plateji {
                display: none;
                padding: 0 0 5px 15px;
                border-left: 1px solid #b2b2b2;
                border-right: 1px solid #b2b2b2;
            }
                #uslugi .uslugi-entry-opened .uslugi-entry-plateji {
                    display: block;
                }
                .uslugi-entry-plateji table {
                    width: 100%;
                    margin: 0 0 3px;
                }
                    #uslugi .uslugi-entry-plateji table td {
                        padding-top: 2px;
                        padding-bottom: 2px;
                        font-size: 14px;
                        color: #3c3c3c;
                        border: 0 !important;
                    }
                        .uslugi-entry-plateji table td input {
                            position: relative;
                            left: -3px;
                            width: 90%;
                            padding: 1px 0 1px 2px;
                            color: #3c3c3c;
                            border: 1px solid transparent;
                            background: transparent;
                        }
                            #uslugi .uslugi-entry-plateji table tr.head td {
                                border-bottom: 2px solid #ececec !important;
                            }
                            .uslugi-entry-plateji table tr.edit td, .uslugi-entry-plateji table tr:hover td {
                                background-color: #f2f2f2;
                            }
                                .uslugi-entry-plateji table tr.edit td input {
                                    color: #000;
                                    border: 1px solid #b3b3b3;
                                    background: #fff;
                                }
                        #uslugi .uslugi-entry-plateji table tr.head td {
                            color: #fff;
                            text-shadow: 1px 1px 1px #555;
                            background: #8b8b8b;
                        }
                        .uslugi-entry-plateji table td.c1 {
                            width: 160px;
                            padding-left: 5px;
                        }
                        .uslugi-entry-plateji table td.c2 {

                        }
                            .uslugi-entry-plateji table td.c2 div {
                                position: relative;
                            }
                                .uslugi-entry-plateji table td.c2 div ins {
                                    z-index: 1000;
                                    position: absolute;
                                    top: 0;
                                    left: 0;
                                    width: 100%;
                                    height: 100%;
                                }
                        .uslugi-entry-plateji table td.c3 {
                            width: 136px;
                        }
                        .uslugi-entry-plateji table td.c4 {
                            width: 30px;
                        }
                            .uslugi-entry-plateji table td.del {
                                background: url(../imgcrm/cancel.png) 50% 2px no-repeat;
                                cursor: hand;
                                cursor: pointer;
                            }
                            .uslugi-entry-plateji table td.ok {
                                background: url(../imgcrm/listings_ok.png) 50% 2px no-repeat;
                                cursor: hand;
                                cursor: pointer;
                            }

                    .uslugi-entry-add {
                        padding: 2px 5px 2px 22px;
                        font-size: 14px;
                        color: #666;
                        background: url(../imgcrm/uslugi_entry_add.gif) 5px 5px no-repeat;
                        text-decoration: none;
                        border-radius: 3px;

                        opacity: 0.9;

                        -webkit-transition: all 0.2s ease-in 0s;
                        -moz-transition: all 0.2s ease-in 0s;
                        -o-transition: all 0.2s ease-in 0s;
                        -ms-transition: all 0.2s ease-in 0s;
                    }
                        .uslugi-entry-add:hover {
                            color: #111;
                            background-color: #fff;
                            opacity: 1;
                        }

        #uslugi-add {
            position: relative;
            top: 10px;
            padding: 2px 5px 2px 25px;
            font-size: 15px;
            color: #3c3c3c;
            background: url(../imgcrm/uslugi_add.gif) 5px 4px no-repeat;
            text-decoration: none;
            border-radius: 3px;

            opacity: 0.9;

            -webkit-transition: all 0.2s ease-in 0s;
            -moz-transition: all 0.2s ease-in 0s;
            -o-transition: all 0.2s ease-in 0s;
            -ms-transition: all 0.2s ease-in 0s;
        }
            #uslugi-add:hover {
                color: #111;
                background-color: #eee;
                opacity: 1;
            }

#garantiya-header {
    width: 100%;
    margin: 0 0 20px;
}
    #garantiya-header td {
        vertical-align: middle;
    }
        #garantiya-header p {
            float: right;
            font-size: 12px;
        }
.garantiya-title {
    margin: 0 0 10px;
    text-align: center;
}
.garantiya-barcode {
    font-size: 12px;
    text-align: center;
}
    .garantiya-barcode img {
        display: block;
        margin: 0 auto 5px;
    }
#garantiya-info {
    width: 100%;
    margin: 15px 0 0;
}
    #garantiya-info td {
        font-size: 12px;
        vertical-align: top;
    }
        #garantiya-info td.c2 {
            text-align: right;
        }
#garantiya-remont {
    width: 100%;
    margin: 5px 0;
    border: 1px solid #000;
}
    #garantiya-remont td {
        padding: 2px 5px;
        font-size: 12px;
        vertical-align: top;
        border: 1px solid #000;
    }
        #garantiya-remont td.c1 {
            width: 50%;
        }
        #garantiya-remont td.c2 {
            width: 50%;
        }
        #garantiya-remont td.c3, #garantiya-remont td.c4 {
            width: 25%;
        }
#garantiya-podpis {
    width: 100%;
    margin: 15px 0 0;
    font-size: 12px;
}
    #garantiya-podpis td.c2 {
        text-align: right;
    }


#dogovor {
    font-size: 9pt;
    line-height: 1.2em;
}
    #dogovor table {
        width: 100%;
    }
        #dogovor table td {
            font-size: 11pt;
            vertical-align: top;
        }
    #dogovor h2 {
        font-size: 11pt;
    }


.tablecontainer {
    padding: 3px 0 0;
    box-shadow: inset 0 1px 0 #777;
    background: #fff;
    border-radius: 5px;
    border: 1px solid #d3d3d3;
    overflow: hidden;

    padding: 0\0/;
    background: transparent\0/;
}
    .tablecontainer table {
        margin: 0;
    }
    .newblock div.nostyle {
        box-shadow: none;
        background: none;
        border: 0;
        overflow: visible;
    }
.tablecontainer table {
    width: 100%;
    /*margin: 15px 0 0;*/
}
    .tablecontainer table tr td {
        padding: 3px 10px;
        font-size: 14px;
    }
        .tablecontainer table tr td.r {
            text-align: right;
        }
    .tablecontainer table thead tr td {
        padding-bottom: 5px;
    }
    .tablecontainer table tbody {
        background: transparent;
    }
        .tablecontainer table tbody tr:first-child td {
            padding-top: 0;
            padding-top: 3px\0/;
        }
        .tablecontainer table tr.checked td {
            background: #98d0e0 !important;
        }

        .tablecontainer table tbody td {
            background: #e7e7e7;
        }
            .tablecontainer table tbody tr:nth-child(2n-1) td {
                background: #fff;
            }
    .tablecontainer input[type=checkbox] {
        position: relative;
        top: 1px;
        margin: 2px 5px 0 0;
        padding: 0;
    }
    .tablecontainer input[type=radio] {
        position: relative;
        top: 1px;
        margin: 2px 5px 0 0;
        padding: 0;
    }

.printbutton {
        display: -moz-inline-stack;
        display: inline-block;
        zoom: 1;
        *display: inline;
        /*min-width: 130px;*/
        height: 25px;
        margin: 5px 0;
        padding: 0 10px 0 35px;
        font-size: 14px;
        line-height: 25px;
        color: #000;
        text-decoration: none;
        text-align: center;
        background: #fff url(../imgcrm/icon_print.png) 10px 50% no-repeat;
        border: 1px solid #bfbfbf;
        border-radius: 5px;
    }
        .addbutton:hover {
            border-color: #777;
        }

.xls-report {
    position: absolute !important;
    margin: 0 !important;
}
    .xls-report a {
        padding: 0 0 0 25px;
        color: #006D9C;
        text-decoration: none;
        background: url(../imgcrm/xls_icon.gif) 0 50% no-repeat;
    }
    #xls-report-1 {
        top: 34px;
        right: 3px;
    }
    #xls-report-2 {
        top: 34px;
        right: 163px;
    }


.message-errors{/*color:red;*/font-size:16px;}
.message-success{color:green;font-size:16px;}

#uslugi.loading-items {
    height: auto;
    background-size: 30px auto !important;
    background-color: rgba(255,255,255,.8);
}


.DynarchCalendar-topCont {
    z-index: 1000000000 !important;
}
