/*******************************************************************************
  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, sub, sup, 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%;
    vertical-align: baseline;
}
body {
    line-height: 1;
}
ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
:focus {
    outline: 0;
}
ins {
    text-decoration: none;
}
del {
    text-decoration: line-through;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
/*******************************************************************************
  TEMPLATES
*******************************************************************************/
.left {
    text-align: left;
}
.center {
    text-align: center;
}
.right {
    text-align: right;
}
/* 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, body {
    height: 100%;
}
body {
    font: normal 100% Arial, Verdana, sans;
    background: #e4e4e4;
}
a:hover {
    text-decoration: none;
}
/*******************************************************************************
  STRUCTURE:BASE
*******************************************************************************/
#top {
    position: relative;
    width: 999px;
    height: auto !important;
    height: 100%;
    min-height: 100%;
    margin: 0 auto;
}
#body {
    position: relative;
    min-height: 500px;
    height: auto !important;
    height: 500px;
    padding: 0 0 130px;
}
#bottom {
    position: relative;
    width: 999px;
    height: 75px;
    margin: -80px auto 0;
    border-bottom: 5px solid #ffd800;
}
/*******************************************************************************
  LAYOUT
*******************************************************************************/
#top {
    background: #fff url(../img/body_bg.gif) 705px 0 repeat-y;
}
#header {
    position: relative;
    height: 248px;
    border-bottom: 1px solid #767676;
}
    #header-top {
        position: relative;
        height: 32px;
        background: url(../img/header_menu_bg.png);
    }
        * html #header-top {
            background: #000;
        }
        #header-top-home {
            position: absolute;
            top: 9px;
            left: 23px;
            display: block;
            width: 14px;
            height: 11px;
            background: url(../img/header_icon_home.gif) 0 0 no-repeat;
        }
        #header-top-feedback {
            position: absolute;
            top: 10px;
            left: 54px;
            display: block;
            width: 14px;
            height: 10px;
            background: url(../img/header_icon_feedback.gif) 0 0 no-repeat;
        }
        #header-top-map {
            position: absolute;
            top: 9px;
            left: 82px;
            display: block;
            width: 15px;
            height: 13px;
            background: url(../img/header_icon_map.gif) 0 0 no-repeat;
        }
        #header-phone {
            position: absolute;
            top: 7px;
            right: 255px;
            height: 1%;
            font-family: Verdana;
            font-size: 12px;
            color: #fff;
            text-align: right;
        }
        #header-search {
            position: absolute;
            top: 3px;
            left: 752px;
            width: 245px;
        }
            #header-search input {
                width: 208px;
                padding: 2px 0 2px 5px;
                font-family: Verdana;
                font-size: 13px;
                color: #a3a3a3;
                border: 1px solid #000;
            }
            #header-search a {
                display: -moz-inline-box;
                display: inline-block;
                width: 20px;
                height: 16px;
                margin: 0 0 -2px;
                background: url(../img/header_search.gif) 0 0 no-repeat;
            }
    #header-logo {
        position: absolute;
        top: 52px;
        display: block;
        width: 232px;
        height: 120px;
        background: url(../img/amg_logo.png);
        cursor: hand;
    }
    #header-block {
        position: absolute;
        top: 150px;
        right: 0;
        padding: 7px 10px 10px;
        font-size: 12px;
        color: #fff;
        background: url(../img/header_black.png);
    }
        #header-block h2 {
            margin: 0 0 5px;
            font-family: Arial, sans;
            font-size: 28px;
            font-weight: normal;
        }
        #header-block a {
            color: #fff;
            text-decoration: none;
        }
            #header-block .yellow {
                color: #fc0;
            }
    #header-blackline {
        position: absolute;
        bottom: 0;
        width: 999px;
        height: 6px;
        font-size: 1px;
        background: url(../img/header_blackline.png);
    }
#body {
    /*background: url(../img/top_bg.gif) 0 bottom repeat-x;*/
}
    #leftCol {
        float: left;
        width: 665px;
        padding: 5px 20px;
    }
        #leftCol-breadcrumbs {
            height: 18px;
            margin: -5px -20px 5px;
            padding: 2px 0 0 10px;
            font-size: 12px;
            color: #4b4b4b;
            background: url(../img/breadcrumbs_bg.gif) 0 0 repeat-x;
        }
            #leftCol-breadcrumbs a {
                color: #4b4b4b;
                text-decoration: none;
            }
        #mp-left {
            float: left;
            width: 320px;
        }
        #mp-right {
            float: right;
            width: 320px;
        }
        hr {
            position: relative;
            margin: 0 -20px;
            height: 1px;
            border: 0;
            background: #a5a5a5;
        }
        #content {
            font-family: Arial, sans;
            font-size: 12px;
            color: #333;
        }
            #content p {
                margin: 0 0 15px;
            }
            #content a {
                color: #000;
                font-weight: bold;
            }
                #content a:hover {
                    color: #fc0;
                }
            #content h1 {
                margin: 0 0 10px;
                font-size: 22px;
                font-weight: normal;
                color: #4b4b4b;
            }
            #content h2 {
                margin: 0 0 5px;
                font-size: 18px;
                font-weight: normal;
                color: #4b4b4b;
            }
                /*.route h2 {  */
                #content h2 {
                    padding: 0 0 0 40px;
                    background: url(../img/h2arrow.gif) 0 50% no-repeat;
                }
            #content h3 {
                margin: 0 0 5px;
                font-size: 16px;
                font-weight: normal;
                color: #4b4b4b;
            }
            #content ul {
                margin: 10px 0 15px 10px;
            }
                .route ul {
                    margin-left: 0 !important;
                }
                #content ul li {
                    padding: 0 0 0 25px;
                    background: url(../img/content_li.gif) 0 5px no-repeat;
                }
                .route ul li {
                    /*padding: 0 !important;*/
                    /*font-size: 14px;*/
                    /*background: none !important; */
                }
            #content table.table {
                margin: 0 0 10px;
                border: 1px solid #bababa;
            }
                #content table.table td, #content table.table th {
                    padding: 5px 10px;
                    border: 1px solid #bababa;
                }
                #content table.table thead th {
                    background-color: #e1e1e1;
                }
                
        #route-rightcol {
            float: right;
            width: 248px;
            margin: 0 0 30px 20px;
            padding: 5px 0 0;
            text-align: right;
        }
            #route-rightcol .route-rightcol-time {
                display: block;
                font-size: 26px;
                color: #4b4b4b;
            }
                .route-rightcol-addblock {
                    margin: 30px 0 0;
                    padding: 5px;
                    background: #ebebeb url(../img/plus.gif) 25px 50% no-repeat;
                }
                    .route-rightcol-addblock a {
                        font-weight: normal !important;
                        text-decoration: none;
                    }
    .calendar {
        position: relative;
        width: 241px;
        margin: 10px 0 20px;
        padding: 2px 3px 1px;
        background: url(../img/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(../img/cal_arrow_left.gif) 0 50% no-repeat;
                }
                .calendar-navigation-right {
                    background: url(../img/cal_arrow_right.gif) 0 50% no-repeat;
                }
        .calendar table {
            width: 100%;
            background: #585858 url(../img/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: left;
                    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(../img/cal_bot.png) no-repeat;
        }
            * html .calendar-bottom {
                bottom: -16px;
                background: none;
                filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/cal_bot.png', sizingMethod='crop');
            }
        #forma {
            position: relative;
            width: 629px;
            margin: 20px 0;
            padding: 10px 15px 15px;
            font-size: 14px;
            color: #fff;
            background: #000 url(../img/forma_bg.gif) repeat-x;
            border-left: 3px solid #999;
            border-right: 3px solid #999;
        }
            #forma-top {
                position: absolute;
                top: 0;
                left: -3px;
                width: 665px;
                height: 3px;
                background: url(../img/forma_top.gif) no-repeat;
            }
            #forma-bot {
                position: absolute;
                bottom: -3px;
                left: -3px;
                width: 665px;
                height: 3px;
                font-size: 1px;
                background: url(../img/forma_bot.gif) no-repeat;
            }
            #forma-titles {
                position: relative;
                height: 26px;
                margin: 0 -10px 6px;
                font-size: 18px;
                border-bottom: 1px solid #999999;
            }
                #forma-titles-1 {
                    position: absolute;
                    top: 0;
                    left: 10px;
                }
                #forma-titles-2 {
                    position: absolute;
                    top: 0;
                    left: 250px;
                }
                #forma-titles-3 {
                    position: absolute;
                    top: 0;
                    left: 370px;
                }
                #forma-titles-4 {
                    position: absolute;
                    top: -3px;
                    left: 580px;
                }
            #forma-routes {
                position: relative;
                min-height: 80px;
                height: auto !important;
                height: 80px;
                padding: 0 10px 40px;
                margin: 0 -10px 8px;
                border-bottom: 1px solid #999999;
            }
                #forma-routes-add {
                    padding: 0 0 0 20px;
                    color: #fc0;
                    background: url(../img/forma_routes_add.gif) 0 50% no-repeat;
                    text-decoration: none;
                }
                #forma-routes table {
                    width: 100%;
                    margin: 0 0 5px;
                }
                    #forma-routes table td {
                        padding-bottom: 3px;
                        vertical-align: top;
                    }
                        #forma-routes table td ins {
                            position: relative;
                            top: -2px;
                            display: -moz-inline-box;
                            display: inline-block;
                            width: 8px;
                            height: 7px;
                            font-size: 1px;
                            background: url(../img/forma_routes_arrow.gif) no-repeat;
                        }
                        #forma-routes table td.c1 {
                            width: 240px;
                        }
                            .forma-routes-route {
                                display: -moz-inline-box;
                                display: inline-block;
                                position: relative;
                                cursor: hand;
                                cursor: pointer;
                            }
                                .forma-routes-routelist {
                                    visibility: hidden;
                                    display: -moz-inline-box;
                                    display: inline-block;
                                    z-index: 10;
                                    position: absolute;
                                    top: -4px;
                                    left: -6px;
                                    padding: 3px 5px;
                                    background: #333;
                                    border: 1px solid #999;
                                    cursor: default;
                                }
                                    .forma-routes-routelist a {
                                        color: #fff;
                                        text-decoration: none;
                                        white-space: nowrap;
                                    }
                                        .forma-routes-routelist a:hover {
                                            color: #fc0;
                                        }
                        #forma-routes table td.c2 {
                            width: 120px;
                            cursor: default;
                        }
                            .forma-date {
                                position: relative;
                                z-index: 100;
                            }
                                .forma-date-date {
                                    position: relative;
                                    cursor: hand;
                                    cursor: pointer;
                                }
                                    .forma-date-click {
                                        background: #999;
                                    }
                                    .forma-date-prev, .forma-date-next {
                                        position: absolute;
                                        display: none;
                                        width: 17px;
                                        height: 17px;
                                        font-size: 1px;
                                    }
                                        .forma-date-click .forma-date-prev, .forma-date-click .forma-date-next {
                                            display: block;
                                        }
                                        .forma-date-prev {
                                            top: 0;
                                            left: -17px;
                                            background: url(../img/forma_routes_prev.gif) no-repeat;
                                        }
                                        .forma-date-next {
                                            top: 0;
                                            right: -17px;
                                            background: url(../img/forma_routes_next.gif) no-repeat;
                                        }
                                            * html .forma-date-next {
                                                right: 8px;
                                            }
                                .forma-date .calendar {
                                    display: none;
                                    z-index: 100;
                                    position: absolute;
                                    top: 6px;
                                    right: 9px;
                                    background-image: url(../img/cal_bg2.gif);
                                }
                                    .forma-date .calendar table {
                                        margin-bottom: 0 !important;
                                    }
                                        .forma-date .calendar td.xdate {
                                            cursor: hand;
                                            cursor: pointer;
                                        }
                        #forma-routes table td.c3 {
                            width: 60px;
                        }
                        #forma-routes table td.c4 {
                            width: 150px;
                            font-size: 12px;
                            cursor: default;
                        }
                            #forma-routes table td.c4 span {
                                cursor: pointer;
                                cursor: hand;
                            }
                            #forma-routes table td.c4 .selected {
                                font-size: 14px;
                                font-weight: bold;
                                color: #fc0;
                            }
                        #forma-routes table td.c5 {
                            cursor: default;
                        }
                        #forma-routes table td.c6 {
                            width: 15px;
                            padding: 0 0 0 5px;
                        }
                            #forma-routes table td.c6 span {
                                display: block;
                                width: 15px;
                                height: 15px;
                                background: url(../img/forma_routes_del.gif) no-repeat;
                                cursor: hand;
                                cursor: pointer;
                            }
                #forma-routes-bottom {
                    position: absolute;
                    left: 0;
                    bottom: 2px;
                    width: 629px;
                    padding: 0 10px;
                }
                    #forma-routes-bottom-message {
                        display: -moz-inline-box;
                        display: inline-block;
                        width: 255px;
                        font-size: 18px;
                    }
                    #forma-routes-bottom-label {
                        position: relative;
                        top: -2px;
                    }
                    #forma-routes-bottom-input {
                        position: relative;
                        top: -4px;
                        width: 80px;
                        font-family: Arial, sans;
                        font-size: 14px;
                        color: #000;
                    }
                    #forma-routes-bottom-icon {
                        position: relative;
                        top: 2px;
                        display: -moz-inline-box;
                        display: inline-block;
                        width: 27px;
                        height: 23px;
                        margin: 0 2px;
                    }
                    #forma-routes-bottom-whatis {
                        position: relative;
                        top: -5px;
                        font-size: 12px;
                        font-style: italic;
                        color: #fc0;
                    }
            #forma-info {
                margin: 0 -10px 4px;
                padding: 0 10px 10px;
                border-bottom: 1px solid #999999;
            }
                #forma-info table td {
                    width: 160px;
                    padding: 0 15px 0 0;
                }
                    #forma-info table td input {
                        width: 160px;
                        margin: 3px 0 0;
                        font-family: Arial, sans;
                        font-size: 14px;
                        color: #000;
                    }
            #forma-buttons {
                height: 20px;
                padding: 2px 0;
            }
                * html #forma-buttons {
                    margin-bottom: -8px;
                }
                #forma-buttons span {
                    float: left;
                    font-size: 24px;
                }
                #forma-buttons ins {
                    float: right;
                    display: block;
                    margin: 4px 0 0 10px;
                    padding: 3px 6px;
                    font-size: 14px;
                    color: #fff;
                    background: #666;
                    border: 1px solid #fff;
                    text-decoration: none;
                    cursor: hand;
                    cursor: pointer;
                }
                    #forma-buttons a:hover {
                        border-color: #fc0;
                    }
    #rightCol {
        float: right;
        width: 294px;
        background: url(../img/rightcol_bg.gif) 0 0 no-repeat;
    }
        #rightCol-buttons {
            margin: 15px 0;
            text-align: center;
        }
            #rightCol-buttons a {
                display: -moz-inline-box;
                display: inline-block;
                height: 25px;
                margin: 0 2px;
                padding: 85px 0 0;
                font-family: Verdana;
                font-size: 11px;
                color: #000;
                text-decoration: none;
                text-align: center;
            }
                #rightCol-buttons-routes {
                    width: 75px;
                    background: url(../img/rightcol_but_routes.gif) 50% 0 no-repeat;
                }
                    #rightCol-buttons-routes:hover {
                        background-image: url(../img/rightcol_but_routes_hover.gif);
                    }
                #rightCol-buttons-feedback {
                    width: 95px;
                    background: url(../img/rightcol_but_feedback.gif) 50% 0 no-repeat;
                }
                    #rightCol-buttons-feedback:hover {
                        background-image: url(../img/rightcol_but_feedback_hover.gif);
                    }
                #rightCol-buttons-expresstour {
                    width: 85px;
                    background: url(../img/rightcol_but_expresstour.gif) 50% 0 no-repeat;
                }
                    #rightCol-buttons-expresstour:hover {
                        background-image: url(../img/rightcol_but_expresstour_hover.gif);
                    }
        #rightCol h2 {
            margin: 15px 0 15px 1px;
            padding: 5px 0;
            font-family: Verdana, sans;
            font-size: 13px;
            font-weight: normal;
            color: #393939;
            text-align: center;
            background: url(../img/rightcol_h2_bg.gif) 0 0 repeat-x;
        }
            .rightCol-raspisanie {
                width: 293px;
                margin: 0 0 0 auto;
            }
                .rightCol-raspisanie td {
                    padding: 1px 0;
                    font-family: Arial;
                    font-size: 12px;
                    color: #000;
                    vertical-align: top;
                    background-position: 50% 50%;
                    background-repeat: no-repeat;
                    vertical-align: middle;
                }
                .rightCol-raspisanie tr.title td {
                    color: #333 !important;
                }
                .rightCol-raspisanie tr.xrow td {
                    background-color: #e1e1e1;
                }
                    .rightCol-raspisanie td.c2, .rightCol-raspisanie td.c3 {
                        width: 11px;
                    }
                        .rightCol-raspisanie td.night {
                            background-image: url(../img/icon_night.gif);
                        }
                        .rightCol-raspisanie td.day {
                            background-image: url(../img/icon_day.gif);
                        }
                        .rightCol-raspisanie td.c2 img {
                            position: relative;
                            top: 1px;
                        }
                    .rightCol-raspisanie td.c4 {
                        width: 35px;
                        text-align: right;
                    }
                    .rightCol-raspisanie td.c5 {
                        width: 1px;
                        padding: 0 3px;
                    }
                    .rightCol-raspisanie td.c6 {
                        width: 185px;
                    }
    #recall-form {
        margin: 10px 0;
    }
        .recall-form-label {
            float: left;
            width: 150px;
            padding: 5px 0 0;
        }
        #recall-form input.text {
            width: 200px;
            margin: 0 0 5px;
            font-family: Arial, sans;
            font-size: 12px;
            color: #333;
        }
        #recall-form textarea {
            margin: 0 0 5px;
            width: 400px;
            height: 100px;
        }
        #recall-form p {
            font-style: italic;
        }
#bottom {
    font-family: Verdana, sans;
    font-size: 11px;
    color: #01458e;
    background: #000 url(../img/footer_bg.gif) repeat-x;
}
    #bottom-top {
        position: absolute;
        top: -49px;
        left: 0;
        width: 100%;
        height: 54px;
        background: url(../img/top_bg.gif) 0 0 repeat-x;
    }
    #bottom-menu {
        position: absolute;
        top: 13px;
        left: 2px;
        font-size: 13px;
        color: #fff;
    }
        #bottom-menu a {
            margin: 0 8px;
            color: #fff;
            text-decoration: none;
        }
        #bottom-menu .current, #bottom-menu a:hover {
            color: #fc0;
        }
    #bottom-text {
        position: absolute;
        top: 37px;
        left: 10px;
        font-size: 11px;
        color: #fff;
    }
    #bottom-counters {
        position: absolute;
        top: 10px;
        right: 5px;
    }
        #bottom-counters img {
            float: right;
            margin: 0 0 0 5px;
            border: 0;
        }
    #bottom-ifrog {
        position: absolute;
        top: 47px;
        right: 10px;
        padding: 7px 50px 7px 0;
        font-size: 11px;
        background: url(../img/froggy.gif) right 50% no-repeat;
    }
        #bottom-ifrog a {
            color: #fff;
            text-decoration: none;
        }
            #bottom-ifrog a span {
                color: #69da07;
            }

#blackbox {display: none; z-index: 1000; position: fixed; top: 0; left: 0; height: 100%; width: 100%; background: #000;}
        * html #blackbox {position: absolute;}
    #zakaz {display: none; z-index: 1001; position: fixed; top: 0; left: 0; height: 100%; width: 100%;}
        * html #zakaz {position: absolute;}
        #zakaz td {vertical-align: middle;}
            #zakaz-box {position: relative; width: 551px; height: 290px; margin: 0 auto;}
                #zakaz-container {width: 507px; z-index: 5; position: absolute; padding: 25px 0 20px 20px; color: #545454; font-size: 12px;}
                    #zakaz-title {
                        margin: 0 0 10px 0;
                        font-size: 68px;
                        text-align: center;
                        color: #666;
                    }
                    #zakaz-container p {
                        text-align: center;
                    }
                #zakaz-bg {position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url(../img/popup_bg.png) 0 0 no-repeat;}
                    * html #zakaz-bg {background: none; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=img/popup_bg.png, sizingMethod=crop);}
                #zakaz-bot {position: absolute; bottom: -24px; left: 0; width: 100%; height: 26px; background: url(../img/popup_bot.png) 0 0 no-repeat;}
                    * html #zakaz-bot {background: none; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=img/popup_bot.png, sizingMethod=crop);}
                #zakaz-close {z-index: 1010; display: block; position: absolute; top: -24px; right: -24px; width: 52px; height: 52px; background: url(../img/popup_close.png) 0 0 no-repeat;}
                    * html #zakaz-close {background: none; cursor: hand; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=img/popup_close.png, sizingMethod=crop);}
#marshrut {
    border: 1px solid #aaa;
}
    #marshrut td {
        padding: 5px;
        border: 1px solid #aaa;
    }
.loading{display:none;background: black url('indicator') right no-repeat;height: 16px;width: 16px;padding-left:120px;padding-top:15px;}