/*******************************************************************************
  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;
    /*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);
}

#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: 10px;
            }
            #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;
            }
#search {
    position: absolute;
    top: 5px;
    left: 745px;
}
    #search input.text {
        width: 150px;
        font-size: 12px;
        color: #999;
    }
    #search input.search {
        position: absolute;
        top: 3px;
        left: 170px;
    }

#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);
    }
.passengers-container {
    display: none;
    padding: 0 0 20px;
}
.show-passengers-btn {
    user-select: none;
    margin: 10px 0 !important;
    text-decoration: underline;
}
.show-passengers-btn:after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    margin: -6px 0 0 10px;
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
}
.show-passengers-btn:hover {
    text-decoration: none;
}
.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_passengers {
            /*margin: 0 0 20px;*/
        }
        .anketa_passengers td {
            padding: 0 10px;
        }
        .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_passengers td input.text,
        .anketa_passengers td select {
            width: 100%;
            box-sizing: border-box;
        }
        .anketa td textarea {
            width: 100%;
            height: 60px;
            margin: 0 0 5px;
            border: 1px solid #000;
            resize: none;
        }

.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;
        }

#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;
    }


#titles-vert {
    position: relative;
    font-size: 13px;
    color: #222;
}
    #titles-vert span {
        position: absolute;
        bottom: 20px;
        -webkit-transform: rotate(-46deg);
        -moz-transform: rotate(-46deg);
        -ms-transform: rotate(-46deg);
        -o-transform: rotate(-46deg);
        transform: rotate(-46deg);
    }
        #titles-vert span.t1 {
            left: 488px;
        }
        #titles-vert span.t2 {
            left: 583px;
        }
        #titles-vert span.t3 {
            bottom: 29px;
            left: 610px;
        }
        #titles-vert span.t4 {
            left: 653px;
            bottom: 13px;
        }
        #titles-vert span.t5 {
            left: 680px;
            bottom: 19px;
        }
        #titles-vert span.t6 {
            left: 706px;
            bottom: 23px;
        }
        #titles-vert span.t7 {
            left: 734px;
            bottom: 27px;
        }
        #titles-vert span.t8 {
            left: 771px;
            bottom: 16px;
        }
        #titles-vert span.t9 {
            left: 804px;
            bottom: 15px;
        }
        #titles-vert span.t10 {
            left: 820px;
            bottom: 32px;
        }
        #titles-vert span.t11 {
            left: 850px;
            bottom: 24px;
        }

.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: .8; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)"; filter: alpha(opacity=80);
    border-radius: 10px;
}
.zakaz-entry:hover {
    background: #d9dadb;
    opacity: 1;  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)"; filter: alpha(opacity=100);
}
/*    .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;
    }
    .zakaz-entry table td.c1 {
        width: 16px;
        padding: 0 4px;
    }
    .zakaz-entry table td.c2 {
        /*width: 70px;*/
        padding: 0 4px;
        white-space: nowrap;
    }
    .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;
    }
    .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.border {
        text-align: center;
        border-left: 1px solid #fff;
        border-right: 1px solid #fff;
    }

    .zakaz-entry-menu {
        display: none;
        z-index: 100;
        position: absolute;
        top: 0;
        right: -42px;
        width: 182px;
        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 ul {
            list-style: none;
            margin: 35px 20px -5px;
        }
            .zakaz-entry-menu ul li {

            }
                .zakaz-entry-menu ul li a {
                    display: block;
                    padding: 5px 10px 5px 13px;
                    font-size: 12px;
                    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-legend p {
            margin: 0 0 5px;
            font-size: 14px;
            color: #333;
        }
            #zakaz-legend p a.open {
                margin-left: 20px;
                font-style: italic;
                color: #006d9c;
            }
        #zakaz-legend div.hidden {
            display: none;
            margin: 10px 0 0;
        }
            #zakaz-legend div.hidden p {
                margin: 0;
            }
        #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 5px;
    }
        #zakaz-sorting table {
            width: 100%;
        }
            #zakaz-sorting table td {
                font-size: 12px;
            }
                #zakaz-sorting table td div {
                    position: relative;
                }
                #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('/css/itemsloading.gif') center no-repeat;
	height: 470px;
}

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

#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;
                }

#window-newzanyatie {
    display:none;
    z-index: 1001;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
    #window-newzanyatie-container {
        width: 465px;
        margin: 0 auto;
        padding: 15px;
        font-size: 14px;
        background: #ececec;
        border: 2px solid #999;
    }
        #window-newzanyatie-container hr {
            height: 1px;
            margin: 5px -15px 15px;
            border: 0;
            border-top: 1px solid #999999;
            border-bottom: 1px solid #fafafa;
        }
        #window-newzanyatie-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-newzanyatie-close {
               background: #fff url(../imgcrm/cancel.png) 10px 4px no-repeat;
           }
           #window-newzanyatie-add {
               background: #fff url(../imgcrm/add1.png) 10px 4px no-repeat;
           }
        #window-newzanyatie-form {
            width: 100%;
            margin: 0 0 10px;
        }
            #window-newzanyatie-form td {
                vertical-align: top;
            }
                #window-newzanyatie-form td input.text, #window-newzanyatie-form td select {
                    margin: 5px 0;
                    font-size: 14px;
                    font-family: Arial, sans-serif;
                    background: #fff;
                    border: 1px solid #000;
                }
                #window-newzanyatie-form td.c1 {

                }
                    #window-newzanyatie-form td.c1 input {
                        width: 275px;
                    }
                #window-newzanyatie-form td.c2 {
                    width: 88px;
                }
                    #window-newzanyatie-form td.c2 input {
                        width: 80px;
                    }
                #window-newzanyatie-form td.c3 {
                    width: 90px;
                }
                    #window-newzanyatie-form td.c3 input {
                        width: 90px;
                    }

        #window-newzanyatie-form2 {
            width: 375px;
            margin: 10px 0;
        }
            #window-newzanyatie-form2 tr.xrow td {
                background: #dbdbdb;
            }
            #window-newzanyatie-form2 td {
                padding: 1px 0;
                font-size: 14px;
                color: #000;
                vertical-align: middle;
            }
                #window-newzanyatie-form2 td.c1 {
                    width: 100px;
                    padding: 0 5px;
                }
                #window-newzanyatie-form2 td.c2 {
                    text-align: center;
                }
                    #window-newzanyatie-form2 td.c2 input {
                        width: 45px;
                        margin: 0 5px;
                        font-size: 14px;
                        font-family: Arial, sans-serif;
                        color: #000;
                        text-align: center;
                        border: 1px solid #000;
                    }
                #window-newzanyatie-form2 td.c3 {
                    text-align: center;
                }
                    #window-newzanyatie-form2 td.c3 input {
                        width: 45px;
                        margin: 0 5px;
                        font-size: 14px;
                        font-family: Arial, sans-serif;
                        color: #000;
                        text-align: center;
                        border: 1px solid #000;
                    }
                #window-newzanyatie-form2 td.c4 {
                    text-align: center;
                }
                    #window-newzanyatie-form2 td.c4 input {
                        width: 60px;
                        margin: 0 5px;
                        padding-left: 3px;
                        padding-right: 3px;
                        font-size: 14px;
                        font-family: Arial, sans-serif;
                        color: #000;
                        text-align: right;
                        border: 1px solid #000;
                    }
                #window-newzanyatie-form2 td.c5 {
                    padding-right: 5px;
                }
                #window-newzanyatie-form2 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 {
        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;
                    }

        .grafik-checkbox {
            color: #333;
        }
            .grafik-checkbox input {
                position: relative;
                top: 1px;
            }

        #grafik-filters-amount {
            position: absolute !important;
            right: 0;
            top: -25px;
            margin: 0 !important;
        }
            #grafik-filters-amount > div {
                padding-bottom: 0 !important;
            }
            #grafik-filters-amount ins {
                position: absolute;
                right: 45px;
                white-space: nowrap;
            }
            #grafik-filters-amount ul {
                height: auto !important;
                margin-bottom: 0;
                overflow: visible;
                border-radius: 0 0 5px 5px;
                border-bottom: 0;
            }
                #grafik-filters-amount ul li:last-child {
                    border-radius: 0 0 5px 5px;
                }


#window-newpassenger {
    z-index: 1000;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
    #window-newpassenger td {
        vertical-align: middle;
    }
        #window-newpassenger-container {
            position: relative;
            width: 904px;
            margin: 0 auto;
            background: #fff url(../imgcrm/vertline.gif) 648px 0 repeat-y;
            border: 3px solid #006290;
            border-radius: 10px;
        }
            #window-newpassenger-leftCol {
                float: left;
                width: 648px;
            }
                #window-newpassenger-leftCol h1 {
                    margin: 0;
                    padding: 7px 0 7px 55px;
                    font-size: 25px;
                    color: #006290;
                    background: url(../imgcrm/passenger_icon.gif) 15px 50% no-repeat;
                }
                #window-newpassenger-info {
                    width: 608px;
                    margin: 10px auto;
                }
                    #window-newpassenger-info td.c3 {
                        width: 120px;
                    }
                    #window-newpassenger-info td.c4 {
                        width: 80px;
                        padding-left: 8px;
                    }
                    #window-newpassenger-info td span {
                        display: block;
                        font-size: 14px;
                        color: #333;
                    }
                    #window-newpassenger-info td input {
                        width: 90%;
                        margin: 5px 0 0;
                        padding: 4px 3px;
                        font-family: Arial, sans-serif;
                        font-size: 14px;
                        color: #000;
                        background: #f9f9f9;
                        border: 1px solid #ccc;
                        border-radius: 5px;
                    }
                    #window-newpassenger-info td select {
                        width: 100%;
                        margin: 5px 0 0;
                        padding: 3px;
                        font-family: Arial, sans-serif;
                        font-size: 14px;
                        color: #000;
                        background: #f9f9f9;
                        border: 1px solid #ccc;
                        border-radius: 5px;
                    }
                .window-newpassenger-route {
                    position: relative;
                    margin: 0 0 -1px;
                    padding: 10px 20px 15px;
                    font-size: 14px;
                    color: #000;
                    background: #f1f1f1;
                    border-top: 1px solid #dfdfdf;
                    border-bottom: 1px solid #dfdfdf;
                }
                    .window-newpassenger-route-close {
                        position: absolute;
                        top: 3px;
                        right: 3px;
                        display: block;
                        width: 11px;
                        height: 11px;
                        background: url(../imgcrm/del2.gif);
                    }
                    .window-newpassenger-route-info {
                        width: 100%;
                    }
                        .window-newpassenger-route-info td.c2 {
                            width: 150px;
                        }
                            .window-newpassenger-route-info td.c2 span {
                                /*display: block; */
                                margin: 0 0 7px;
                            }
                        .window-newpassenger-route-info td.c3 {
                            width: 85px;
                        }
                        .window-newpassenger-route-info td.c4 {
                            width: 70px;
                        }
                        .window-newpassenger-route-info td.c5 {
                            width: 50px;
                            text-align: right;
                        }
                            .window-newpassenger-route-info td.c5 p {
                                margin: 10px 0 5px;
                            }
                                .window-newpassenger-route-info td.c5 p b {
                                    color: #006290;
                                }
                        .window-newpassenger-route-info td.c6 select {
                            clear: left;
                            float: left;
                            width: 150px !important;
                        }
                        .window-newpassenger-route-info td.c6 textarea {
                            position: relative;
                            left: 5px;
                            margin: 5px 0 0 5px;
                            width: 442px;
                            height: 53px;
                            font-family: Arial, sans-serif;
                            font-size: 14px;
                            color: #777;
                        }
                            .window-newpassenger-route-info td span {
                                display: -moz-inline-stack;
                                display: inline-block;
                                zoom: 1;
                                *display: inline;
                                font-size: 14px;
                                color: #333;
                            }
                            .window-newpassenger-route-info td select {
                                width: 90%;
                                margin: 5px 0 0;
                                padding: 3px;
                                font-family: Arial, sans-serif;
                                font-size: 14px;
                                color: #000;
                                background: #f9f9f9 url(../imgcrm/passenger_info_select_bg.gif) 0 50% repeat-x;
                                border: 1px solid #ccc;
                                border-radius: 5px;
                            }
                #window-newpassenger-add {
                    display: -moz-inline-stack;
                    display: inline-block;
                    zoom: 1;
                    *display: inline;
                    margin: 3px 0 0 15px;
                    padding: 5px 5px 5px 20px;
                    font-size: 14px;
                    color: #444444;
                    text-decoration: none;
                    background: url(../imgcrm/passenger_addicon.gif) 0 50% no-repeat;
                    opacity: 0.85;
                }
                    #window-newpassenger-add:hover {
                        opacity: 1;
                    }
                #window-newpassenger-total {
                    float: right;
                    margin: 15px 20px;
                    font-size: 18px;
                    font-weight: bold;
                }
                    #window-newpassenger-total b {
                        font-weight: normal;
                        color: #006290;
                    }
            #window-newpassenger-rightCol {
                float: right;
                width: 215px;
                margin: 0;
                padding: 15px 20px;
                border-left: 1px solid #cfcfcf;
            }
                #window-newpassenger-rightCol h2 {
                    margin: 0 0 10px;
                    font-size: 18px;
                    font-weight: normal;
                    color: #006290;
                }
                #window-newpassenger-rightCol span.none {
                    display: block;
                    margin: 0 0 30px;
                    font-size: 30px;
                    text-align: center;
                    color: #b2b2b2;
                }
                #window-newpassenger-history {
                    font-size: 14px;
                }
                    #window-newpassenger-history span {
                        display: block;
                        margin: 2px 0 2px 10px;
                        font-size: 13px;
                    }
                    #window-newpassenger-history p {
                        margin: 15px 0;
                        font-size: 13px;
                        font-style: italic;
                    }
                        #window-newpassenger-history p b {
                            font-style: normal;
                        }
                #window-newpassenger-status {
                    width: 100%;
                    margin: 0 0 10px;
                }
                    #window-newpassenger-status td {
                        padding: 2px 0;
                        font-size: 13px;
                    }
                        #window-newpassenger-status td.c2 {
                            width: 100px;
                            text-align: right;
                        }
            #window-newpassenger-container .hr {
                clear: both;
                height: 1px;
                font-size: 1px;
                border: 0;
                border-bottom: 2px solid #ccc;
            }
            #window-newpassenger-close {
                display: -moz-inline-stack;
                display: inline-block;
                zoom: 1;
                *display: inline;
                height: 21px;
                margin: 5px 0 5px 0;
                padding: 0 20px;
                font-size: 14px;
                font-weight: bold;
                line-height: 20px;
                color: #fff;
                background: url(../imgcrm/button_close_bg.gif) 0 0 repeat-x;
                text-decoration: none;
                border: 1px solid #a1a1a1;
                border-radius: 5px;
                opacity: 0.85;
            }
            #window-newpassenger-save {
                display: -moz-inline-stack;
                display: inline-block;
                zoom: 1;
                *display: inline;
                height: 21px;
                margin: 5px 5px 5px 0;
                padding: 0 20px;
                font-size: 14px;
                font-weight: bold;
                line-height: 20px;
                color: #fff;
                background: url(../imgcrm/button_save_bg.gif) 0 0 repeat-x;
                text-decoration: none;
                border: 1px solid #a1a1a1;
                border-radius: 5px;
                opacity: 0.85;
            }
                #window-newpassenger-close:hover, #window-newpassenger-save:hover {
                    opacity: 1;
                }

        #passenger-history {
            position: relative;
            margin: -10px 0 10px;
            padding: 28px 0 10px 0;
            border-top: 1px solid #7f7f7f;
            border-bottom: 1px solid #7f7f7f;
        }
            #passenger-history > span {
                position: absolute;
                top: 10px;
                display: block;
                width: 110px;
                /*background: #aaa;*/
                text-align: center;
            }
                #passenger-history > span.s1 {
                    left: 0;
                    text-align: left;
                }
                #passenger-history > span.s2 {
                    /*left: 232px;*/
                    left: 248px;
                }
                #passenger-history > span.s3 {
                    /*left: 345px;*/
                    left: 346px;
                }
                #passenger-history > span.s4 {
                    /*left: 458px;*/
                    width: 90px;
                    left: 437px;
                }
                #passenger-history > span.s5 {
                    /*right: 0;*/
                    width: 80px;
                    text-align: left;
                    right: 33px;
                }
                .passenger-history-entry {
                    position: relative;
                    height: 16px;
                    margin: 2px 0;
                    padding: 5px 0 5px 20px;
                    line-height: 20px;
                    background: url(../imgcrm/passenger_history_closed.png) 2px 7px no-repeat;

                    overflow: hidden;
                }
                    #passenger-history .opened {
                        height: auto;
                        overflow: hidden;
                        background: url(../imgcrm/passenger_history_opened.png) 0 9px no-repeat;
                        border-bottom: 1px solid #e5e5e5;
                    }
                    .passenger-history-entry p {
                        color: #333;
                    }
                        .passenger-history-entry p b {
                            font-weight: normal;
                            color: #000;
                        }
                    .passenger-history-entry > span {
                        position: absolute;
                        top: 5px;
                        display: block;
                        width: 110px;
                        color: #333;
                        /*background: #aaa;*/
                        text-align: center;
                    }
                        .passenger-history-entry > span.s2, .passenger-history-entry > input.s2, .passenger-history-entry > select.s2 {
                            left: 232px;
                        }
                        .passenger-history-entry > span.s3, .passenger-history-entry > input.s3, .passenger-history-entry > select.s3 {
                            left: 345px;
                        }
                        .passenger-history-entry > span.s4, .passenger-history-entry > input.s4, .passenger-history-entry > select.s4  {
                            left: 458px;
                            width: 90px;
                        }
                        .passenger-history-entry > span.s5, .passenger-history-entry > input.s5, .passenger-history-entry > select.s5 {
                            right: 0;
                            width: 80px;
                            text-align: left;
                        }
                        .passenger-history-entry > input, .passenger-history-entry > select {
                            position: absolute;
                            text-align: center;
                        }
                        .passenger-history-entry > input.s2, .passenger-history-entry > select.s2 {
                            width: 60px;
                            left: 270px;
                        }
                        .passenger-history-entry > input.s3, .passenger-history-entry > select.s3 {
                            width: 60px;
                            left: 371px;
                        }
                        .passenger-history-entry > input.s4, .passenger-history-entry > select.s4 {
                            width: 36px;
                            left: 465px;
                        }
                        .passenger-history-entry > input.s5, .passenger-history-entry > select.s5 {
                            right: 65px;
                            width: 48px;
                        }
                        .passenger-history-entry > a.s5_link {
                            position: absolute;
                            right: 35px;
                        }
                        .passenger-history-entry > a.s5_link_save {
                            position: absolute;
                            right: 0px;
                            width: 16px;
                            height: 16px;
                            font-size: 12px;
                            color: #000;
                            background: url(../imgcrm/save.gif) 0 0 no-repeat;
                        }
                            .passenger-history-entry > a.s5_link_save.loading {
                                position: absolute;
                                right: 0px;
                                width: 16px;
                                height: 16px;
                                font-size: 12px;
                                color: #000;
                                background: url(../imgcrm/loading.gif) 0 0 no-repeat;
                                background-size: 16px 16px;
                            }


    #reis-info {
        font-size: 13px;
        color: #333;
    }
        #reis-info span {
            margin: 0 30px 0 0;
        }
    #reis-filters {
        margin: 15px 0;
        font-size: 13px;
        color: #333;
    }
        #reis-filters span {
            display: -moz-inline-stack;
            display: inline-block;
            zoom: 1;
            *display: inline;
            height: 22px;
            margin: 0 25px 0 0;
            padding: 0 8px;
            line-height: 22px;
            border-radius: 5px;
        }
            #reis-filters span a {
                color: #333;
                text-decoration: none;
            }
            #reis-filters span.selected {
                color: #fff;
                background: #444;
            }
                #reis-filters span.selected a {
                    color: #fff;
                }


    .reis-entry {
        margin: 0 0 2px;
        padding: 5px 7px;
        font-size: 13px;
        color: #444;
        border: 1px solid #fff;
        border-radius: 5px;
    }
        .reis-entry:hover {
            border: 1px solid #eee;
        }
        .reis-entry-current {
            background: #fbfbfb;
            border: 1px solid #bbbbbb !important;
        }
        .reis-entry table {
            width: 100%;
        }
            .reis-entry table td {
                font-size: 14px;
                color: #444;
            }
            .reis-entry table tr.head td {
                font-weight: bold;
            }
                .reis-entry table td.c1 input {
                    position: relative;
                    top: 1px;
                    width: auto;
                }
                .reis-entry table td.c2 {
                    width: 110px;
                }
                .reis-entry table td.c3 {
                    width: 65px;
                    text-align: center;
                }
                .reis-entry table td.c4 {
                    width: 120px;
                }
                    .reis-entry table td.c4 input {
                        display: none;
                    }
                    .reis-entry-current table td.c4 input {
                        display: block;
                    }
                    .reis-entry-current table td.c4 span {
                        display: none;
                    }
                    .reis-entry table td.c4 textarea {
                        width: 100%;
                        height: 30px;
                        font-size: 12px;
                        font-family: Arial, sans-serif;
                        border: 1px solid #8E8E8E;
                        resize: vertical;
                    }
                .reis-entry table td.c5 {
                    width: 60px;
                    padding: 0 10px 0 10px;
                    text-align: center;
                }
                    .reis-entry table td.c5 select {
                        display: none;
                        width: 50px;
                        margin: -3px 0 -1px auto;
                        border: 1px solid #8e8e8e;
                    }
                    .reis-entry-current table td.c5 select {
                        display: block;
                        text-align: center;
                    }
                    .reis-entry-current table td.c5 span {
                        display: none;
                    }
                .reis-entry table td.c6 {
                    width: 60px;
                    padding: 0 10px 0 0;
                    text-align: center;
                }
                .reis-entry table td.c7 {
                    width: 120px;
                    padding-left: 10px;
                }
                    .reis-entry table td.c7 select {
                        display: none;
                        width: 125px;
                        margin: -3px 0 -1px -5px;
                        font-family: Arial;
                        font-size: 14px;
                        border: 1px solid #8e8e8e;
                    }
                    .reis-entry-current table td.c7 select {
                        display: block;
                    }
                    .reis-entry-current table td.c7 span {
                        display: none;
                    }
                .reis-entry table td.c8 {
                    width: 25px;
                }
                    .reis-entry table td.c8 a {
                        display: none;
                        width: 11px;
                        height: 11px;
                        margin: 2px 0 0 auto;
                        background: url(../imgcrm/x.gif);
                    }
                        .reis-entry-current table td.c8 a {
                            display: block;
                        }
            .reis-entry table input {
                width: 100%;
                margin: -3px 0 -2px -2px;
                border: 1px solid #8e8e8e;
            }

        .reis-entry p {
            margin: 5px 0 0;
        }
        .reis-entry-info {
            display: none;
            position: relative;
            margin: 5px 0 0;
        }
            .reis-entry-current .reis-entry-info {
                display: block;
            }
            .reis-entry-info a {
                position: absolute;
                bottom: 0;
                right: 5px;
                padding: 0 0 0 20px;
                font-weight: bold;
                color: #444;
                text-decoration: none;
                background: url(../imgcrm/save2.gif) 0 50% no-repeat;
            }

    #sms-form {
        position: relative;
        width: 100%;
        margin: 20px 0 0;
    }
        #sms-form h2 {
            margin: 0 0 5px;
            font-size: 14px;
        }
        #sms-form span {
            position: absolute;
            top: 1px;
            left: 510px;
            display: block;
            width: 200px;
            font-size: 12px;
            font-style: italic;
            text-align: right;
        }
        #sms-form textarea {
            width: 700px;
            height: 70px;
            padding: 5px;
            font-family: Arial, sans-serif;
            font-size: 14px;
            font-weight: bold;
            color: #656565;
            border: 1px solid #a8a8a8;
            resize: none;
        }
        #sms-form a {
            position: absolute;
            top: 22px;
            left: 720px;
            display: block;
            width: 90px;
            height: 82px;
            font-size: 14px;
            line-height: 122px;
            color: #fff;
            text-align: center;
            text-decoration: none;
            background: #28669b;
            border-radius: 3px;
            box-shadow: inset 0 -92px 0 -50px #0b4678;
        }
            #sms-form a:after {
                content: '';
                position: absolute;
                top: 15px;
                left: 0;
                display: block;
                width: 100%;
                height: 29px;
                background: url(../imgcrm/icon_chat.png) 50% 50% no-repeat;
            }
            #sms-form a:hover {
                background: #0b4678;
            }

    .calendar {
        position: relative;
        width: 241px;
        margin: 10px 0 20px;
        padding: 2px 3px 1px;
        background: url(../imgcrm/cal_bg.gif) no-repeat;
        cursor: default;
    }
        .calendar-navigation {
            font-size: 14px;
            color: #fff;
            text-align: right;
        }
            .calendar-navigation span {
                margin: 0 5px;
            }
            .calendar-navigation a {
                display: -moz-inline-box;
                display: inline-block;
                width: 8px;
                height: 9px;
            }
            .calendar-navigation-left {
                background: url(../imgcrm/cal_arrow_left.gif) 0 50% no-repeat;
            }
            .calendar-navigation-right {
                background: url(../imgcrm/cal_arrow_right.gif) 0 50% no-repeat;
            }
        .calendar table {
            width: 100%;
            background: #585858 url(../imgcrm/cal_table_bg.gif) 0 0 repeat-x;
        }
            .calendar table td {
                padding: 6px 0;
                font-size: 14px;
                color: #999;
                text-align: center;
                border: 1px solid #acacac;
            }
                .calendar table tr.xdays td {
                    padding: 0 3px !important;
                    font-size: 10px;
                    color: #fff;
                    text-align: center;
                    background: #999999;
                    border: 0 !important;
                }
                .calendar table td.xdate {
                    color: #ffcc00;
                    font-weight: bold;
                }
                .calendar table td.disabled {
                    color: #666;
                    background: #2f2f2f;
                }
        .calendar-bottom {
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 247px;
            height: 10px;
            background: url(../imgcrm/cal_bot.png) no-repeat;
        }
            * html .calendar-bottom {
                bottom: -16px;
                background: none;
                filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='imgcrm/cal_bot.png', sizingMethod='crop');
            }

        .forma-date {
            position: relative;
            top: 2px;
            left: -5px;
            z-index: 100;
        }
            .forma-date-date {
                position: relative;
                padding: 1px 5px;
                font-weight: bold;
                cursor: hand;
                cursor: pointer;
            }

                .forma-date-click .forma-date-date {
                    color: #fff;
                    background: #999;
                }
            .forma-date-prev, .forma-date-next {
                position: absolute;
                display: none !important;
                width: 17px;
                height: 17px;
                font-size: 1px;
            }
                .forma-date-click .forma-date-prev, .forma-date-click .forma-date-next {
                    display: block !important;
                }
            .forma-date-prev {
                top: 0;
                left: -17px;
                background: url(../imgcrm/forma_routes_prev.gif) no-repeat;
            }
            .forma-date-next {
                top: 0;
                right: -17px;
                background: url(../imgcrm/forma_routes_next.gif) no-repeat;
            }
                * html .forma-date-next {
                    right: 8px;
                }
            .forma-date .calendar {
                display: none;
                z-index: 100;
                position: absolute;
                top: 4px;
                left: -20px;
                background: none;
            }
                .forma-date .calendar table {
                    margin-bottom: 0 !important;
                }
                    .forma-date .calendar td.xdate {
                        cursor: hand;
                        cursor: pointer;
                    }

.i-b {
    display: -moz-inline-stack;
    display: inline-block;
    zoom: 1;
    *display: inline;
}

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

#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;
                }

#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-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;
                }

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

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