BODY {
    padding: 0; margin: 0;
	font-family: Arial, sans-serif; font-size: 12px; line-height: 16px;
    background-color: #fff;
}

TABLE {
    font-family: inherit; font-size: inherit; line-height: inherit;
    border-collapse: collapse; border-spacing: 0;
    padding: 0; margin: 0;
}

FORM {
    padding: 0;  margin: 0;
}

TR {
    font-family: inherit; font-size: inherit; line-height: inherit;
}

TD {
	font-family: inherit; font-size: inherit; line-height: inherit;
    padding: 0; margin: 0;
}

H1 { font-size: 15px; margin: 0 0 0.5em; }
H2 { font-size: 12px; margin: 0 0 0.25em; }
H3 { font-size: 12px; margin: 0 0 0.25em; }

BIG { font-size: 14px; }

UL {
    padding: 0; margin: 0 0 0 40px;
}

OL {
    padding: 0; margin: 0 0 0 40px;
}

UL.small {
    padding: 0; margin: 0 0 0 20px;
}

OL.small { padding: 0; margin: 0 0 0 24px; } 
OL.small LI { color: #bbb; margin: 0 0 1em; }

OL.null { padding: 0; margin: 0; }
OL.null LI { color: #bbb; margin: 0 0 1em; }

P {
    color: #333;
    margin: 0 0 12px;
}

P.commercial {
    color: #333;
    padding: 0 0 0 8px;
    border-left: #95bdee 2px solid;
}

.status {
    padding: 0;
    background-color: #fff;
    border-top: #95bdee 2px solid;
    color: #4d97e1;
}

.status-big {
    padding: 0;
    background-color: #fff;
    color: #4d97e1;
}

.status-big-bottomlight {
    padding: 0;
    background-color: #fff;
    border-bottom: #cbe3ff 3px solid;
    color: #4d97e1;
}

.top-line {
    padding: 0;
    background-color: #95bdee;
    height: 3px;
}


/* Календарь добавлений */

.calendar-year {
    color: #000;
    font-size: 16px;
    padding: 0;
    font-weight: bold;
}

.calendar-month {
    color: #000;
    font-size: 12px;
    padding: 10px 0 4px;
}

.calendar-status {
    margin: 0;
    background-color: #fff;
    color: #4d97e1;
    text-align: right;
    padding: 20px 0 7px;
}

TD.calendar-wd {
    font-size: 12px;
    color: #bbb;
}

TD.calendar-wd A {
    text-decoration: none;
}


TD.calendar-we {
    font-size: 12px;
    color: #bbb;
    background-color: #f7f7f7;
}

TD.calendar-we A {
    text-decoration: none;
}


/* Информационная таблица */

TABLE.info TD {
    padding: 4px;
    border-bottom: #000 1px solid;
    border-right: #000 1px solid;
}

TABLE.info TD.left {
    border: #000 1px solid;
    border-top: none;
}

TABLE.info TD.head {
    border: #000 1px solid;
    border-left: none;
    background-color: #eee;
}

TABLE.info TD.head-left {
    border: #000 1px solid;
    background-color: #eee;
}

TABLE.info TD.none{
    border: none;
}



/* Закладка нижняя */

TABLE.mark-bottom {
    background-color: #95bdee;
    color: #fff;
}

TABLE.mark-bottom TD {
    height: 22px;
}

TABLE.mark-bottom TD.left {
    width: 10px; height: 22px;
    background-image: url('images/mark-bottom-left.png');
    background-repeat: no-repeat;
}

TABLE.mark-bottom TD.right {
    height: 22px;
    width: 10px;
    background-image: url('images/mark-bottom-right.png');
    background-repeat: no-repeat;
}


/* Закладка большая нижняя */

TABLE.mark-big-bottom TD {
    height: 56px;
    padding: 0 0 4px;
    color: #fff;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 25px;
    font-weight: bold;
    background-color: #95bdee;
    background-image: url('images/mark-big-bottom-center1.png');
    background-repeat: repeat-x;
    background-position: bottom;
}

TABLE.mark-big-bottom TD.left {
    width: 24px;
    background: transparent;
    background-image: url('images/mark-big-bottom-left1.png');
    background-repeat: no-repeat;
    background-position: right bottom;
    font-size: 1px;
}

TABLE.mark-big-bottom TD.right {
    width: 24px;
    background: transparent;
    background-image: url('images/mark-big-bottom-right1.png');
    background-repeat: no-repeat;
    background-position: left bottom;
    font-size: 1px;
}


/* Закладка большая верхняя светлая */

TABLE.mark-big-toplight {
    background-color: #cbe3ff;
}

TABLE.mark-big-toplight TD {
    height: 44px;
    color: #38d;
}

TABLE.mark-big-toplight TD.left {
    width: 18px; height: 44px;
    background-image: url('images/mark-big-toplight-left.png');
    background-repeat: no-repeat;
    background-position: right;
}

TABLE.mark-big-toplight TD.right {
    width: 18px; height: 44px;
    background-image: url('images/mark-big-toplight-right.png');
    background-repeat: no-repeat;
    background-position: left;
}

TABLE.mark-big-toplight TD.none {
    height: 44px;
    color: #4d97e1;
    background-color: #fff;
}


/* Закладка большая левая */

TABLE.mark-big-left {
    width: 100%;
}

TABLE.mark-big-left TD {
    color: #fff;
    font-size: 12px;
    background-color: #95bdee;
    background-image: url('images/mark-big-left-middle1.png');
    background-repeat: repeat-y;
    background-position: left;
}

TABLE.mark-big-left TD TD {
    background: transparent;
}

TABLE.mark-big-left TD.top {
    height: 44px;
    background-color: #fff;
    background-image: url('images/mark-big-left-top1.png');
    background-repeat: no-repeat;
    background-position: left bottom;
    text-align: right;
    vertical-align: bottom;
    padding: 2px 8px;
}

TABLE.mark-big-left TD.bottom {
    height: 44px;
    background-color: #fff;
    background-image: url('images/mark-big-left-bottom1.png');
    background-repeat: no-repeat;
    background-position: left top;
    text-align: right;
    vertical-align: top;
    padding: 2px 8px;
}


/* Форма овальная */

TABLE.form-oval {
    margin: 12px 0 0;
    background-color: #cbe3ff;
}

TABLE.form-oval TD {
    height: 32px;
    color: #38d;
}

TABLE.form-oval TD.left {
    width: 16px;
    background-image: url('images/form-oval-left1.png');
    background-repeat: no-repeat;
    background-position: right;
}

TABLE.form-oval TD.right {
    width: 16px;
    background-image: url('images/form-oval-right1.png');
    background-repeat: no-repeat;
    background-position: left;
}

TABLE.form-oval TD.text {
    padding: 0 6px 0 2px;
    width: 100%;
}

TABLE.form-oval TD.none {
    color: #4d97e1;
    background-color: #fff;
}



/* ------------------ Форма авторизации ------------------ */

TABLE.login {
    width: 100%;
}

TABLE.login TD {
    padding: 1px 0;
}

INPUT.login-but {
    height: 22px;
    color: #fff;
    font-size: 18px;
    background: transparent;
    border: none;
}


/* ------------------ Кнопка поиска ------------------ */

INPUT.search-text {
    width: 100%;
}

INPUT.search-button {
    width: 5.1em;
}


/* ------------------ ССЫЛКИ ------------------ */

A {
    color: #38d;
    text-decoration: underline;
}

A:active, A:hover {
    color: #fc8207;
}

A.menu {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

A.menu:active, A.menu:hover {
    color: #e5e9f1;
    text-decoration: none;
}

A.mark-big {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

A.mark-big:active, A.mark-big:hover {
    color: #e5e9f1;
    text-decoration: none;
}

A.black {
    color: #000;
    text-decoration: none;
}

A.black:active, A.black:hover {
    text-decoration: underline;
}

A.white {
    color: #fff;
    text-decoration: underline;
}

A.white:active, A.white:hover {
    color: deebfa;
}

TD.menu {
    height: 24px;
    padding: 0 8px;
}

.title {
    height: 20px;
    padding: 0 8px;
    color: #340;
    background-color: #94c450;
    background-image: url('images/fon2.png');
    background-repeat: repeat-x;
    border-bottom: #fff 1px solid;
}

.title-grey {
    height: 20px;
    padding: 0 8px;
    color: #333;
    background-color: #d0d0d0;
    background-image: url('images/fon3.png');
    background-repeat: repeat-x;
    border-bottom: #fff 1px solid;
}

.block {
    padding: 8px;
    color: #340;
    background-color: #eaf8d4;
    border-bottom: #fff 4px solid;
}

.block-grey {
    padding: 8px;
    color: #333;
    background-color: #f8f8f8;
    border-bottom: #fff 4px solid;
}


/* ------------------ ЦВЕТА ------------------ */

.grey {
    color: #555;
}

.lightgrey {
    color: #bbb;
}

.black {
    color: #000;
}

.error {
    color: #f30;
}

.result {
    color: #409000;
}

.green {
    color: #5c940a;
}

.orange {
    color: #fc8207;
}

.highlight-title {
    /* font-weight: bold; */
    background-color: #fff2df;
}

.highlight {
    /* font-weight: bold; */
    background-color: #fff2df;
}


/* ------------------ ЭЛЕМЕНТЫ ВВОДА ------------------ */

INPUT {
    font-family: inherit; 
    font-size: inherit;
    margin: 0;
    padding: 1px;
}

TEXTAREA {
    font-family: inherit; 
    font-size: inherit;
    margin: 0;
    padding: 1px;
}

SELECT {
    font-family: inherit; 
    font-size: inherit;
    margin: 0;
    padding: 1px;
}

INPUT.but {
}



