/**
 * @package  Adman System
 * @author   Fred Melnichuk <fredeveloper@gmail.com>
 * @author   Sergey Gorban <serg.ck.ua@gmail.com>
 * @author   DSerov <dserov@gmail.com>
 * @version  0.1.3
 */

body,td,th {}
html, body {margin: 0; height: 100%; overflow: hidden;}
body {background-color: #CCCCCC; font-family: Tahoma; font-size: 12px; height: 100%; overflow-y : scroll;}

label span:hover {text-decoration: underline; cursor: pointer;}

a {color: #488DCD; text-decoration: none;}
a:hover, a:active {text-decoration: underline;}
.no-underline, .no-underline * {text-decoration: none !important;}
.info-tooltip {text-decoration: none !important;}
.info-tooltip:hover {border-bottom: 1px dashed; cursor: help;}
.info-tooltip-html {text-decoration: none !important;}
.info-tooltip-html:hover {border-bottom: 1px dashed; cursor: help;}
.info-tooltip-interactive {text-decoration: none !important;}
.info-tooltip-interactive:hover {border-bottom: 1px dashed; cursor: help;}
.tooltipster-row {padding: 0px; margin: 0px;}

.dark-links {}
.dark-links a {color: #000;}
.green {color: green !important;}
.gray {color: #CCC; !important;}

.underline-links a {text-decoration: underline;}

.style1 {color: #FFFFFF; font-weight: bold;}
.style2 {color: #FF9900}
.style3 {color: #000000; font-weight: bold; font-style: italic;}

.logo {padding: 3px 20px 5px 10px;}

.clear {clear: both;}
div.clear {height: 0px; line-height: 0px;}

.template {display: none;}
.hidden {display: none !important;}

.page-heading {display: block; font-size: 20px; font-weight: bold; text-align: center; width: auto; margin: 5px 0;}
h2.page-heading  {font-size: 16px;}

.inp_cancel {/*color: #7B7B7B;*/}
.inp_button {cursor: pointer;}
.inp_button:disabled {cursor: default;}
a .inp_button {text-decoration: none !important;}
.button-build {font-family: verdana; /*font-size: 18px;*/ font-weight: bold;}
.button-reset {}
.custom_ico {position: relative}
.custom_ico .button-add {margin-top: 0px; text-indent: -999px; border: none; width: 14px; height: 15px; padding: 0; background: url("../images/icon/add.png") 0 0 no-repeat; position: absolute; left: 0px; top: 50%; margin-top: -7.5px; }
.custom_ico .button-edit, .custom_ico  .button-delete {text-indent: -999px; border: none; width: 9px; height: 9px; padding: 0; margin: 2px 0 0 14px;}
.custom_ico .button-edit {background: url("../images/icon/edit.png") 0 0 no-repeat;}
.custom_ico .button-delete {background: url("../images/icon/delete2.png") 0 0 no-repeat;}
.del-placeholder {display:inline-block; width: 23px;}
.index-wrapper {display:inline-block; height: 9px;}

.pbody {background: #000 url("../images/bg.jpg") repeat-x scroll 0 0;}

SMALL {font-size: 10px;}

.header {font-size: 16px;}
.header_message {background: none repeat scroll 0 0 #fef4f4; border: 1px dashed green; font-size: 16px; margin-bottom: 18px; padding: 15px; width: 615px; margin-top: 10px;}
.header_message.success {background: #dfedde none repeat scroll 0 0; border: 1px dashed #12cb10;}
.header_message.error {background: #efcdcd none repeat scroll 0 0; border: 1px dashed #ff0008;}
.header_message.information {background: #F9F9E9 none repeat scroll 0 0; border: 1px dashed #e8d211;}
.header_message.information.auto {width: auto; margin: 10px; display: inline-block;}

.disabled-header {color: #CCC;} 
.disabled-header * {text-decoration: none !important; cursor: default !important;}

span.required {color: red; font-size: 14px;}

.page-sub-heading {text-align: left; font-weight: bold; font-size: 14px; margin: 0 0 10px;}
.page-sub-heading table {margin: 0 auto; font-weight: bold; line-height: 24px;}
.page-sub-heading table .multiple_accounts li {list-style-type: none; color: black;}
.page-sub-heading table .multiple_accounts li span {display: inline-block; width: 8px; height: 8px; background: black; margin-right: 6px;}

.client-color {display: block; width: 8px; height: 8px; position: absolute; top: 1px; left: 1px;}

/* AUTOCOMPLETE FIELD ------------------------------------------------------------------------------------------------------------------------------------- */
.f-acl-container {}
.f-acl-container .buttons-container {-webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; background: #FFF; border: 1px solid #CCC; padding: 4px 4px 0; min-height: 28px; cursor: text;}
.f-acl-container .buttons-container .inp_text {background: none repeat scroll 0 0 #fff; border: 0 none; font-family: courier new; height: 22px; margin: 0; padding: 0; width: 20px;}
.f-acl-container .buttons-container .button {background: url("../images/f-acl-button-bg.png") repeat-x scroll 0 0 rgba(0, 0, 0, 0); border: 1px solid #707070; border-radius: 5px; display: inline-block; height: 22px; line-height: 22px; padding: 0 3px; white-space: nowrap; cursor: pointer; position: relative; margin-right: 5px; margin-bottom: 4px;}
.f-acl-container .buttons-container .button .close {background: url("../images/f-acl-button-close.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0); display: block; height: 7px; margin: 0; padding: 0; position: absolute; right: 0; top: 0; width: 7px;}
.f-acl-container .buttons-container .button .label {padding-right: 6px; white-space: nowrap;}
.f-acl-container.disabled {}
.f-acl-container.disabled .buttons-container {background: #EDEDED;}
.f-acl-container.disabled .buttons-container * {display: none;}

.f-acl-container .inp_autocomplete {background: transparent; border: 0 none; margin: 0; padding: 0; width: 100%; height: 1px; line-height: 1px; position: relative; top: -4px; color: #FFF; padding-top: 1px;}

.ui-autocomplete.f-acl {background: none repeat scroll 0 0 #fff !important; -webkit-border-radius: 0 0 5px 5px !important; -moz-border-radius: 0 0 5px 5px !important; border-radius: 0 0 5px 5px !important;	-moz-border-bottom-colors: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; background: none repeat scroll 0 0 #fff; border-color: -moz-use-text-color #ccc #ccc; border-image: none; border-right: 1px solid #ccc; border-style: none solid solid; border-width: 0 1px 1px; padding-top: 5px; z-index: 10000; max-height: 370px; overflow-x: hidden; overflow-y: auto;}
.ui-autocomplete.f-acl li {text-overflow: ellipsis; white-space: nowrap; overflow: hidden;}
/* -------------------------------------------------------------------------------------------------------------------------------------------------------- */


/* ТАБЛИЦЫ ------------------------------------------------------------------------------------------------------------------------------------------------ */
.data-table {}
.data-table.simple {}
.data-table.simple th {background-color: #CCCCCC; padding: 2px 5px;}
.data-table.simple th a.section-url {text-decoration: none; color: #000; font-size: 14px;}
.data-table.simple.inner {margin-top: 4px;}
.data-table.simple.inner td {padding: 3px 5px;}
.data-table.simple .buttons-container {padding: 15px 0 0px 0;}
.data-table.simple.manage .inp_textarea, 
.data-table.simple.manage .inp_text, 
.data-table.simple.manage .inp_select {width: 350px;}
.page-spot-edit .data-table.simple.manage .inp_text,
.page-spot-edit .data-table.simple.manage .inp_select {width: 320px;}
.inner-subtable {}
.inner-subtable td {padding: 3px 10px 3px 0 !important;}
/* -------------------------------------------------------------------------------------------------------------------------------------------------------- */


/* СТРАНИЦА SETTINGS -------------------------------------------------------------------------------------------------------------------------------------- */
a.password_gen {font-size: 11px;}
.buttons-container .error-message {color: red; padding: 20px 0 0;}
.inp_text.inp_color, .data-table.simple.manage .inp_text.inp_color {width: 64px;}
.data-table.simple.inner .evo-palette td {padding: 7px;}
.data-table.simple.inner .evo-palette2 td {padding: 6px 7px;}
.data-table.simple.inner .evo-palette tr:nth-child(2) td:nth-child(2) {display: none;}
.auto-redirect-hidden {display: none;}
.integrity-last-check {margin-top: 0;}
#integrity-check-wrapper .success, #integrity-check-db-wrapper .success, #backup-message.success, #rollback-message.success {color: green;}
#integrity-check-wrapper .error, #integrity-check-db-wrapper .error, #backup-message.error, #rollback-message.error {color: #B30000;}
#rollback-message.warning {color: red;}
#integrity-check-loading, #integrity-check-history, #integrity-check-db-loading, #integrity-check-db-history {display: none;}
a.backup {padding-top: 8px; display: block; font-weight: bold; padding-bottom: 5px;}
a.statistic-backup {padding-top: 3px; display: block; line-height: 16px; color: #000; text-decoration: underline;}
.statistic-backup-wrapper {display: none; text-align: center; padding: 4px 6px 9px;}
.statistic-backup-wrapper.active {display: block;}
.zip img {width: auto; height: 16px; position: relative; top: 3px;}
/* -------------------------------------------------------------------------------------------------------------------------------------------------------- */

/* СТРАНИЦА WIN RATES -------------------------------------------------------------------------------------------------------------------------------------- */
#page-win-rates {padding: 10px 10px 20px;}
#win-rates {margin: 0}
#bwr-table-wrapper {overflow: hidden;}
#definitions-wrapper {width: 770px; margin: 20px auto 0; background: #FFF; padding: 10px 10px 0;}
#definitions-wrapper table td {width: 50%; padding-bottom: 10px;}
.definitions-item {float: left; border: 1px solid #CCC; margin-right: 10px; width: 68px; line-height: 24px; text-align: center}
.definitions-desc {float: left; line-height: 13px;}
.win {background: #399439 !important; color: #FFF;}
.loose {background: #FF9393 !important;}
.share {background: #B6EDB5 !important;}
.low-traffic {background: #FCFCAC !important;}
.pause {background: #FFF url(../images/pause.png) right 3px top 3px no-repeat !important;}

.sites-container {margin: 20px 0;}
.sites-container.spot-types {margin: 20px 0;}
.sites-container a {padding: 3px 8px; font-size: 16px;}
.sites-container a.active {background: #fff none repeat scroll 0 0; border: 1px solid #ababab; color: #488dcd; text-decoration: none; -webkit-border-radius: 9px; -moz-border-radius: 9px; border-radius: 9px;}
.sites-container a.disabled {pointer-events: none; cursor: default; color: #CCCCCC;}
.sites-container.spot-types {font-size: 14px; position: relative}
#bwr-table .sites-container__export a {background: #fff none repeat scroll 0 0; border: 1px solid #ababab; color: #488dcd; text-decoration: none; -webkit-border-radius: 9px; -moz-border-radius: 9px; border-radius: 9px; padding: 3px 8px; font-size: 14px;}

#rates-wrapper .page-sub-heading {text-align: center;}

#page-win-rates .wrapper {background: #CCC;}
#page-win-rates .data-table th,
#page-win-rates .data-table td {/*white-space: nowrap; */ padding: 6px 2px; background: #FFF;}
#page-win-rates .data-table .inp_checkbox {margin: 0; position: relative; top: 2px;}
#page-win-rates #release-selected {margin: 15px 0 0; display: inline-block; text-decoration: none;}
#page-win-rates #release-selected input {cursor: pointer;}
#page-win-rates #release-selected.disabled input {cursor: default;}
#page-win-rates .data-table .separator {background: none repeat scroll 0 0 #ccc; margin: 0; min-width: 4px; overflow: hidden; padding: 0; width: 4px;}
#page-win-rates .data-table .brok {color: #A2A2A2;}
#page-win-rates .data-table .value {text-align: center; text-transform: uppercase;}
#page-win-rates .data-table .value .inp_text {width: 38px;}

#scroll-top {height: 20px;  }
.geo-row {width: 35px;}
.cpm-row {width: 60px;}
.traffic-row {width: 80px;}

.page-stat .switcher-button {-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; border: 1px solid #CCC; background: none repeat scroll 0 0 #f5f5f5; border: 1px solid #ccc; color: #5184a1; display: block; height: 28px; line-height: 28px; min-width: 33px; text-align: center; float: left; cursor: pointer;}
.page-stat .switcher-button.active {background: #4E6F80; color: #FFF;}

#rates-wrapper .scroll {/*overflow-y: hidden !important;*/}

.page-stat-spot #content-container {display: block; margin: 0 auto; width: 1140px;}
.page-stat-spot .table-container {display: block; float: left; width: 34%;}
.page-stat-spot .table-container .table-wrapper {background: #CCC;}
.page-stat-spot .table-container .table-wrapper table {}
.page-stat-spot .table-container .table-wrapper table th,
.page-stat-spot .table-container .table-wrapper table td {background: #FFF; padding: 6px 7px;}
.page-stat-spot .table-container .table-wrapper table tr.row-1 th {border-bottom: 1px solid #CCC;}
.page-stat-spot .table-container .table-wrapper table tr.row-3 th,
.page-stat-spot .table-container .table-wrapper table tr.row-3 td {border-top: 1px solid #CCC;}
.page-stat-spot .table-container .table-wrapper table tr.selected td {background: #F8EDED;}

.page-stat-spot .chart-container {display: none; float: right; width: 725px; border: 1px solid #CCC;}
/* -------------------------------------------------------------------------------------------------------------------------------------------------------- */


/* -------------------------------------------------------------------------------------------------------------------------------------------------------- */
.include-container {background: #fff none repeat scroll 0 0; border: 1px solid #ccc; height: 100px; overflow: scroll; padding: 2px; white-space: nowrap; width: 344px;}
/* -------------------------------------------------------------------------------------------------------------------------------------------------------- */
