body {    margin: 0px 0px 0px 0px;}

body, p, li, td{    font-family: Arial, Verdana, Helvetica, sans-serif;    font-size: 10pt;}

/* color:#d31541 */
a, .red { color:#b0012a; }
.specA a {color: #000; text-decoration: none}
.specA {color: #000; text-decoration: none}
a:hover { color:#ff0000; }

H1 {font-size:18pt;font-weight: normal;margin:0px 0px 20px 0px;padding:0px 20px 0px 0px; }
H1 a {color:#00bcf2}
h1 a:hover { color:#00bcf2; }
h4 {text-align: left; padding-left: 10px}
th {font-weight: normal}
a.inheritA {color: inherit; text-decoration: none}

u {text-decoration: none; border-bottom: dotted 1px #000}

code{
    display: block;
    padding: 10px 30px;
    font-family: monospace;
}

cam {color: green}

log {font-family: monospace; padding: 20px 0px; display: block}

.fTopMenu {text-align: right;padding: 25px 0px 0px 0px; line-height: 200%; font-size: 10pt;}
/*#topMenu a:hover { background: url('/templates/dm/img/menuBg.png') repeat-x ;color:#fff}
#topMenu a#topMenuSelected { background: url('/templates/dm/img/menuBg.png') repeat-x ;color:#fff}*/

#topPageMenu {margin:10px 0px 30px; }
#topPageMenu a {color:#000;font-size: 15pt;padding:5px 10px; text-decoration: none}
#topPageMenu a:hover {color:#d31541; text-decoration: underline }
#topPageMenu #topPageMenuSelected {color:#fff;background: #cf1944 repeat-x; text-decoration: none}

.botMenu {margin:0px 0px 0px 10px;float:left}
.botMenu a {display:block;clear:both;float:left;margin:0px 20px 0px 0px;padding:3px 10px}
.botMenuDiv div {display:block;clear:both;float:left;margin:0px 20px 5px 0px;padding:0px 10px}
/*#botMenu a#botMenuSelected { background: #3e4145;color:#fff}*/

#blackFont {position: fixed;width:100%;height:100%; background: url('/templates/dm/img/logoBg.png');z-index: 1000;display:none}

/*#FeedBack {position: fixed;width:100%;height:100%;background:url('/templates/dm/img/logoBg.png');z-index: 1000;display:none}*/


#YandexDirectJSONStatIns {border:1px solid #000;width: 100%}

input[type="text"], input[type="Password"] {width:98%; padding: 0px 1%}

input[type="submit"], input[type="button"] {cursor: pointer;}

/*input[disabled="disabled"]{background:grey}*/

H2 {font-size: 14pt;color:#333333;font-weight: normal;margin-top: 30px}
.comm {font-size: 8pt;color:#999999;font-weight: normal;text-decoration: none}
.topCampanyInf td {font-size: 8pt; padding-right: 20px}
H2 a {text-decoration:none}
H3 {font-size: 10pt; font-weight: bold; margin: 10px 0px 10px 0px}

ul {list-style:none;padding:0px 0px 0px 15px}
ul li {padding:0px 0px 5px 13px;background: url('/templates/dm/img/li.png') no-repeat;  background-position: 0px 8px;}
ul h3 {font-size: 10pt;margin:0px;padding:0px;}

hr {    border:0px;    height:1px;    background: #cccccc;}

img{    border:0px;}

.topMenu {background:#3e4145;margin: 10px 0px 0px 0px;width:100%}
.topMenu a {padding:5px 20px;font-size:13pt;color:#fff;display:block;float:left;cursor: pointer;text-decoration: underline;background:#3e4145;}
.topMenu a.selected{color:#3e4145;background:#fffdc0}

.navigation {vertical-align: middle;height:24px;}

.navigation a{    display:block;    float:left;    margin-right:20px;    vertical-align: middle;    height:100%;}

.navigation a img{position:relative;top:-2px}

.date {    color:green;}

.showTr:hover{    background:#fffdc0;}

.add {    background: #cdffc0;    width:96%;padding:10px 2%;-webkit-border-bottom-right-radius: 5px;
-webkit-border-bottom-left-radius: 5px;
-moz-border-radius-bottomright: 5px;
-moz-border-radius-bottomleft: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;}

.inform {    background: #fffdc0;    width:96%;padding:10px 2%;    margin:0px 0px;display:block;
 -webkit-border-bottom-right-radius: 5px;
-webkit-border-bottom-left-radius: 5px;
-moz-border-radius-bottomright: 5px;
-moz-border-radius-bottomleft: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;}

input[type=text] {width:97%;}
textarea {width: 100%;}
input[type=submit], input[type=button] {padding-left: 20px; padding-right: 20px;}

/* Таблица редактирования ----------------------------------------------------*/
.hint {background: url('/templates/dm/img/q.png') center center no-repeat; width:13px;height:13px;min-width: 13px;min-height: 13px;padding:6px 10px;position: relative}
.hintBlock {position:absolute; background:#d31c4a;color:#fff;padding:5px;top:20px;left:20px;width:200px}
/* /Таблица редактирования ---------------------------------------------------*/

/* Блок ссылок на управление чем либо ----------------------------------------*/
.linkPanel {text-align: right;margin:10px 0px}
/* /Блок ссылок на управление чем либо ---------------------------------------*/

/* Таблица редактирования ----------------------------------------------------*/
.table, form { width:100%;}
.table {margin:10px 0px}
.table th , .table td {text-align:left;padding:3px;font-size: 10pt}
/* /Таблица редактирования ---------------------------------------------------*/

.tableListing th, .tableListing td {text-align:left;padding:3px 10px}
.tableListing th {font-weight: bold}

.region {    color:#770000;}

.debug {margin-top: 30px; background: #000 ; color: #fff; padding: 10px}

/* Блок сохранения настроек */
.saveDiv {padding:8px 100px 5px 100px; background:#eee}
.saveDivText {padding: 10px 50px; background:#eee}

/* Верхнее меню внутри кампний и листинга с выравниванием по правому борту */
.insTopMenu {text-align: right;padding: 20px 0px 20px 0px;}
.insTopMenu a {padding:20px 0px 20px 20px;}
.insTopMenu .delimetr {margin-left: 20px; margin-right: 20px; display: none}

.personalTopMenu{text-align: left;padding: 20px 0px 20px 0px;}
.personalTopMenu a {padding: 5px 12px; color:#000}
.personalTopMenu a.selected {background: url(/templates/dm/img/personalMenuBg.png); color:#fff; text-decoration: none}


/* Таблица листинга ----------------------------------------------------------*/
.listingTableSmall {margin:20px 0px;width: 990px; max-width: 990px}
.listingTableSmall th {padding:10px 5px;font-weight: normal;font-size: 8pt;border-bottom:#d3d3d3 1px solid;text-align: left}
.listingTableSmall td {padding:10px 5px;border-bottom: 1px solid #f1eef5;font-size: 8pt}
.listingTableSmall td .campName {font-size: 10pt;}
.listingTableSmall td.offerName {font-weight: bold; color: #1a3dc1 ; font-size: 10pt;}
/* /Таблица листинга ---------------------------------------------------------*/

/* Таблица листинга ----------------------------------------------------------*/
.listingTable {margin:20px 0px;width:100%}
.listingTable th {padding:10px 2px;font-weight: normal;font-size: 10pt;border-bottom:#d3d3d3 1px solid;text-align: left;font-size: 8pt}
.listingTable td {padding:10px 2px;font-size: 10pt;border-bottom: 1px solid #e7e7e7; min-height: 28px; height: 28px}
.listingTable td li {white-space: nowrap;}
/* /Таблица листинга ---------------------------------------------------------*/

/* Таблица редактирования ----------------------------------------------------*/
.tableEdit, form { }
.tableEdit {margin:20px 0px}
.tableEdit th {text-align:left; padding:5px 3px 5px 0px;}
.tableEdit td {text-align:left; padding:5px 0px 5px 3px;}
/* /Таблица редактирования ---------------------------------------------------*/

/* Таблица листинга ----------------------------------------------------------*/
.fieldError {background:#d31c4a url(/templates/dm/img/errorAim.png) 0% 50% no-repeat;padding:2px 10px 2px 20px;min-width: 200px;color:#fff;vertical-align: middle;margin-left:10px}
/* /Таблица листинга ---------------------------------------------------------*/

/* Таблица листинга ----------------------------------------------------------*/
.showBlackFontGield {display:none; position: fixed; top: 20px ;background: #fff;left:50%;padding:20px; width: 900px; margin-left: -470px}
.showBlackFontGield .delImg {position:absolute;top: 20px;right: 20px}

#FeedBack {left:50%;margin-left:-250px;top:25%;width:500px;}
#Callback {left:50%;margin-left:-250px;top:25%;width:500px;}

.showBlackFontGield .tableEdit {margin-bottom: 0px}
/* /Таблица листинга ---------------------------------------------------------*/

/* Блок важной информации ----------------------------------------------------*/
.importantInformation {padding:15px;background: #ffecf0;margin:0px 0px 20px 0px}
/* /Блок важной информации ---------------------------------------------------*/

/* Страницы ------------------------------------------------------------------*/
.page {width:700px;margin:30px 0px 30px 300px;}
.pageAim {padding:0px 0px 0px 0px;}
.pageNum {padding:10px 0px 10px 0px; display: block;margin:0px 0px}
.pageNum div {margin:5px 5px;text-align: center; width: 25px; display: block;float:left}
.pageNum a {padding:3px 5px;font-weight:  bold}
.pageNum a.selected {background: #b0012a;color:#fff;text-decoration: none}
.pageOnPage {padding:20px 0px 10px 0px;clear:both;font-size: 8pt}
/* /Страницы -----------------------------------------------------------------*/


/* Глобальная таблица с выбором стратегий */
.globalSettingsTable {border:1px solid #cfcfcf;padding:10px 10px;margin:10px 0px; background: #f3f3f3}
.globalSettingsTable td {font-size:8pt;padding:5px}
input[type="text"].maxPriseInput {width:65px; min-width: 65px; max-width: 65px; text-align:center; padding: 0px}
select.cStrategyId {width: 330px}

/* Таблица с выбором стратегий */
.settingsTable td {font-size:8pt;padding:2px 0px 2px 5px;}

.showBorder td, .showBorder th {border-bottom:#d3d3d3 1px solid}
.banner {font-size:10pt;color:#666;position:relative;top:0;left:0;padding:0px 0px 2px 0px}
.banner label{font-size:8pt;color:#666;position:relative;top:0;left:0;}
.banner .preview{border-left:3px solid #cccccc;margin:10px;padding:5px 10px;min-width:150px}
.banner .preview h2{font-size:11pt;font-weight:normal;text-decoration:underline;margin:0px;padding:0px}
.banner .preview h2 a{font-weight:bold;color:#00C;text-decoration:none ; color: #1a3dc1}
.banner .preview p{font-size:10pt;font-weight:normal;color:#000;margin:1px 0px;padding:0px}
.banner .preview .banner_footer{color:#006600}
.banner .geo{color:#666;font-size:8pt;margin:3px 0px 0px 23px}

.bannerBlock .phrases {margin-bottom:30px;}
.bannerBlock .phrases th{font-size:9pt;font-weight:normal;text-align: left;vertical-align: bottom;padding:2px 10px}
.bannerBlock .phrases td.phraseTdTop{font-size:9pt;font-weight:normal;text-align: left;padding:5px 5px 20px 5px;vertical-align: top;border-bottom: #e0e0e0 solid 1px;}
.bannerBlock .phrases .phrasesTopTr th{border-bottom: grey solid 2px}
.bannerBlock .phrases td .Prices {margin:0px 0px 0px 10px}
.bannerBlock .phrases td .Prices td{font-size:8pt;font-weight:normal;text-align: left;padding:0px 5px;vertical-align: top;border:0px}
.bannerBlock .phrases td .Prices th{font-size:8pt;font-weight:normal;text-align: left;padding:0px 5px;vertical-align: top;border:0px}
.bannerBlock .strategySelector, .bannerBlock .strategy2Selector{width: 335px; max-width: 335px}

.activePosition {background: #fff1b4; text-align: center}
.mActivePosition {text-align: center}

/* Блок с информацией о показах для баннера */
.informTable {margin-top:5px}
.bannerBlock .phrases .informTable td {font-size: 8pt;padding:1px 0px}
.bannerBlock .phrases .selectImg1  {min-width: 5px; background: url(/templates/dm/img/lightsgreen.png) no-repeat 0px 22px;} /* Ячейка с галкой активной стратегии */
.bannerBlock .phrases .selectImg2  {min-width: 5px; background: url(/templates/dm/img/lightsyellow.png) no-repeat 0px 22px;} /* Ячейка с галкой активной стратегии */
.bannerBlock .phrases .selectImg3  {min-width: 5px; background: url(/templates/dm/img/lightsred.png) no-repeat 0px 9px;} /* Ячейка с галкой активной стратегии */

.bannerSelectors, .bannerSelectors select, .bannerSelectors input {font-size:8pt;}
.bannerSelectors select {width:100%}

.bannerBlock .bannerBottom {padding: 7px 23px 7px 23px; clear: both;}
.bannerBlock .tagBlock {color: #666666; font-family: verdana; font-size: 80%; line-height: 170%}
.bannerBlock .upDate {}
.upDateTiming input {width: 20px; min-width: 20px; text-align: center}
.bannerBlock a.tag {color: #666666;padding: 7px 7px 7px 0px}

/* Меню выбора типа баннера */
.selectedTable {margin:0px 0px 20px 0px}
.selectedTable td {padding: 4px 0px 0px 0px}
.selectedTable th {padding: 14px 5px 0px 0px; vertical-align: top; text-align: left}
.listingTopMenu {padding: 10px 0px 0px 0px}
.listingTopMenu a, .listingTopMenu span.ins{
    padding: 7px 10px;
    text-decoration: none; 
    margin-left:5px;
    display: block;
    float:left;
    font-size: 10pt;
    border-top:3px solid #fff; 
    color:#000;}
.listingTopMenu a.selected {
    background:#d0ced9;
    border-top:3px solid #5c5461}
.listingTopMenu a.small {color: #444}
.listingTopMenu a span.decor {text-decoration: underline}

.companysTable {margin:20px 0px;}
.companysTable th {padding:10px 0px;}
.companysTable td {padding:3px 0px;}
/* Всплывающий блок настроек */

/* Правила переноса денег */
#financialMovements {}
/* Правила переноса денег */

/* YandexDirectJSONCompanys блок предупреждения с красной рамкой */
.redBorder {
    position: absolute;
    right: 20px;
    top: 0px;
    border: solid 1px #B0012A;
    padding: 20px 20px 20px 60px;
    width: 170px;
    background: url(/templates/system/img/warning.png) no-repeat 17px center ;
}

.globalSettingsTable .redBorder {right: 0px;}
/* Правила переноса денег */

/* Таблица редактирования стратегий */
.varTabs th, .varTabs td {text-align: left;padding:2px 5px}
.varTabs th {color:#f40c43;font-weight: bold}
/* / Таблица редактирования стратегий */

.bigRedTable { background: url(/templates/dm/img/bigred_button_c.png); font-size: 12pt; height: 29px; max-height: 29px;}
.indexTable .bigRedTable td , .bigRedTable td{ height: 29px; height: 29px; padding: 0px; margin: 0px; vertical-align: middle}
.indexTable .bigRedTable .text, .bigRedTable .text {padding: 0px 5px; font-size: 15pt; font-weight: normal}
.indexTable .bigRedTable .text a, .botMenuDiv .bigRedTable .text a {font-weight: normal; font-family: Tahoma, Arial; letter-spacing:0.5px}

.bigRedTable .text a{
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.redTable {
    background: url(/templates/dm/img/red_button_c.png); 
    font-size: 12pt;
}

.redTable .text{    padding: 0px 15px;}

.redTable .text a{
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.indexTable td{ vertical-align: top; padding: 15px }
.indexTable .H {margin: 10px 0px}
.indexTable .H p {padding: 3px 0px; margin : 0px; font-size: 12pt}
.indexTable .H p span{color: #bc0933}
.indexTable h2{ margin: 10px 0px }
.indexTable h3{ color: #bc0933; font-size: 14pt; margin-top: 15px; font-weight: normal }
.indexTable .circleUL li {background: url('/templates/dm/img/li2.png') no-repeat;  background-position: 0px 6px;}
.indexTable .editTab td, .indexTable .editTab th{vertical-align: middle; text-align: left;padding: 10px 5px; }
.indexTable .editTab td {height: 40px; border-bottom: 1px solid #e7e7e7;}
.indexTable .editTab th{border-bottom: 1px solid #D3D3D3;}