* {
  font-family: Verdana, Arial, Helvetica, sans-serif;
}

body {
  background-color: #FFF;
  padding: 5px 2px 15px 2px;
  margin: 0;
  font-size: 100.1%;
}

h1 {
  font-size: 1.6em;
}
h2 {
  font-size: 1.2em;
}
h3, h4, h5, h6 {
  font-size: 1em;
  margin-top: 0;
}

h3 {
  width: 70%;
}

h4, h5 {
  margin-top: 2.5em;
}


ul {
  padding: 0;
}

ul li {
  padding: 0;
  margin: 0 0 0 1em;
}

form {
  margin: 0;
  padding: 0;
}

input, select, textarea {
  font-size: 1.1em;
  padding: 0 2px;
}

input, select {
  padding: 1px 2px;
}


select {
  padding-right: 0;
}

select optgroup {
  padding-left: 3px;
  margin: 5px 0;
}

select optgroup option {
  padding-left: 5px;
}


a {
  color: #2168a8;
}

a img {
  border: 0;
}

.clear {
  clear: both;
}

div.loading {
  text-align: center;
  margin: 2px 0 5px 0;
}

a.back_link {
  position: absolute;
  top: 14px;
  right: 12px;
  text-decoration: none;
}

a.back_link:hover {
  text-decoration: underline;
}

a.with_icon {
  text-decoration: none;
  white-space: nowrap;
}

a.with_icon img {
  vertical-align: top;
  position: relative;
  top: -1px;
  margin-right: 3px;
}

a.with_icon img.flag {
  top: 2px;
}

a.button1 {
  border: 1px solid #C0E7FE;
  background: #F2FBFF;
  display: block;
  padding: 5px 7px 2px 5px;
}

a.button1:hover {
  background-color: #FFEBD7;
}

a.with_icon:hover {
  color: #143F65;
  text-decoration: none;
}


input.choose_date_button {
  width: 16px;
  height: 16px;
  border: 0;
  padding: 0;
  margin-left: 3px;
  background: white url("images/calendar.gif") no-repeat;
}

.note {
  color: gray;
  font-size: 0.9em;
}

.note2 {
  color: red;
  font-size: 0.9em;
}

.na {
  color: #A7A7A7;
  font-size: 0.8em;
}

.warning {
  color: red;
  font-size: 0.9em;
}

.inline_icon {
  position: relative;
  top: -1px;
  vertical-align: top;
}

iframe.autodownload {
  display: none;
}

.ui-widget {
  font-size: 0.8em;
}

.ui-datepicker {
  font-size: 0.75em;
}

.ui-autocomplete {
  max-height: 150px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 20px;
}

.ui-autocomplete-loading {
  background: white url('images/ajax-loader-small.gif') right center no-repeat;
}

#main_wrap {
  margin: 0 auto;
  padding: 0;
  font-size: 0.75em;
  width: 98%;
  position: relative;
}

div#header {
  position: relative;
}

div#content {
  border-left: 1px solid #aaa;
  border-right: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  padding: 1em;
  height: 1%;
  position: relative;
}

div#content_with_sidebar {
  width: 79%;
  float: left;
}

div#content_sidebar {
  width: 18%;
  float: left;
  margin-left: 1%;
  margin-top: 5px;
  line-height: 1.6em;
  padding: 0 1%;
}

div#freeclient_sidebar {
  border: 1px solid #FF0000;
  background: #FCFCFC;
  padding: 0 10px;
}

div#selfserviceclient_sidebar {
  padding: 0 0;
}

div#selfserviceclient_sidebar p.hide_link a {
  text-decoration: none;
  font-size: 0.9em;
}


/**
 * Main navigation
 */
div#navigation {
	padding: 0;
	margin: 0;
	border-bottom: 1px solid #aaa;
}

  div#navigation ul {
    margin: 0;
    padding: 0 3px;
    display: inline;
  }

  div#navigation li {
    list-style: none;
    margin: 0;
    display: inline;
    white-space: nowrap;
  }

  div#navigation li a {
  	padding: 0.5em 1.2em 0.5em 1.2em;
  	margin: 0;
  	border: 1px solid #aaa;
  	background: #e2e3e7;
  	text-decoration: none;
    color: #5b5b5b;
    line-height: 2.2em;
    white-space: nowrap;
  }

  div#navigation li a:hover {
  	color: #000;
  	border-top: 1px solid #777;
   	border-left: 1px solid #777;
  	border-right: 1px solid #777;
  }

  div#navigation li.highlight a {
    background-color: #F4F4F4;
    color: red;
  }

  div#navigation li.active a {
  	background: #FAFAFA;
  	border-bottom: 1px solid #FAFAFA;
    font-weight: bold;
    color: #5b5b5b;
  }


/**
 * Actions
 */

ul#actions_nav {
  margin: 0;
  border-left: 1px solid #aaa;
  border-right: 1px solid #aaa;
  list-style-type: none;
  background: #FAFAFA;
  padding: 8px 0 7px 0;
  border-bottom: 1px solid #E4E4E4;
}

  ul#actions_nav li {
    margin: 0;
    display: inline;
  }

  ul#actions_nav li a {
    margin: 0 5px;
    color: gray;
    text-decoration: none;
    padding: 5px 12px;
  }

  ul#actions_nav li.active a {
    font-weight: bold;
  }

div#no_actions_nav {
  border-left: 1px solid #aaa;
  border-right: 1px solid #aaa;
  background: #FAFAFA;
  padding: 5px 0 5px 0;
  border-bottom: 1px solid #E4E4E4;
}


/**
 * User constrols
 */
div#user_controls {
  text-align: right;
  margin-bottom: 10px;
}

  div#user_controls .item {
    margin-left: 1em;
    white-space: nowrap;
  }

  div#user_controls form {
    display: inline;
    margin: 0;
  }

  div#user_controls form div {
    display: inline;
  }

  div#user_controls a.logout {
    margin-left: 10px;
  }

/**
 * Login screen
 */

ul#login_type_selector {
  list-style-type: none;
  margin: 200px auto 0 auto;
  width: 21em;
  padding: 0;
  position: relative;
  left: -1px;
}

  ul#login_type_selector li {
    margin: 0;
    float: left;
    position: relative;
    top: 1px;
    border-top: 1px solid white;
  }

  ul#login_type_selector li.active {
    border-top: 1px solid #D0D0D0;
    border-left: 1px solid #D0D0D0;
    border-right: 1px solid #D0D0D0;
    background: #FAFAFA;
  }

  ul#login_type_selector li a {
    display: block;
    padding: 5px 7px;
    text-decoration: none;
  }


form#login {
  width: 19em;
  margin: 0 auto 0 auto;
  padding: 1em;
  background: #FAFAFA;
  border: 1px solid #D0D0D0;
  clear: both;
}

  form#login input {
    font-size: 1em;
  }

  form#login div.input {
    height: 2em;
  }

  form#login div.input label {
    float: left;
    width: 7em;
    line-height: 1.4em;
    text-align: right;
    margin-right: 5px;
  }

  form#login div.input input {
    width: 10em;
    float: right;
  }

  form#login div.submit {
    margin-top: 7px;
    text-align: right;
  }

  form#login div.submit div {
    margin-top: 7px;

  }

  form#login div.submit div input {
    vertical-align: middle;
  }

  form#login p.error {
    color: red;
    margin-top: 0;
  }


div#login_footer {
  margin: 1em auto 0 auto;
  width: 50em;
  text-align: left;
  font-size: 0.95em;
  line-height: 1.5em;
  text-align: center;
}

ul#login_language_select {
  list-style-type: none;
  text-align: center;
  width: 50em;
  margin: 1.5em auto 0 auto;
  line-height: 2em;
}

ul#login_language_select li {
  display: inline;
  margin: 0 1em;
}

/**
 * Data table
 */

table.data {
  width: 100%;
  border: 1px solid #ECECEC;
  border-collapse: collapse;
}

  table.data th {
    text-align: left;
    background: #F3F3F3;
    padding: 6px 10px 6px 4px;
    color: #525252;
  }

  table.data a.multiSelect,
  table.data div.multiSelectOptions {
    margin-left: 5px;
  }


  table.data th a {
    text-decoration: underline;
    color: #525252;
  }

  /* for jquery table sorter start */
  table.data th.header {
    cursor: pointer;
    text-decoration: underline;
  }

  table.data th.asc,
  table.data th.desc {
    background-repeat: no-repeat;
    background-position: 5px 50%;
    padding-left: 16px;
  }

  table.data th.asc {
    background-image: url(images/asc_arr.gif);
  }

  table.data th.desc {
    background-image: url(images/desc_arr.gif);
  }

  /* for plain table sorting */
  table.data th a.asc {
    background: url(images/asc_arr.gif) no-repeat 0 6px;
    padding-left: 12px;
  }

  table.data th a.desc {
    background: url(images/desc_arr.gif) no-repeat 0 6px;
    padding-left: 12px;
  }

  table.data th div.info_box a.link {
    color: #2168A8;
    font-size: 1em;
    font-weight: normal;
  }


  table.data td {
    padding: 4px;
    border-top: 1px solid #ECECEC;
    background: white;
  }

  table.data td.has_rowspan {
    border-left: 1px solid #ECECEC;
    border-right: 1px solid #ECECEC;
    vertical-align: top;
  }

  table.data td.has_rowspan_right {
    border-right: 1px solid #ECECEC;
    vertical-align: top;
  }

  table.data td.has_rowspan_left {
    border-left: 1px solid #ECECEC;
    vertical-align: top;
  }

  table.data td.actions {
    text-align: right;
    white-space: nowrap;
    color: #2168A8;
  }

  table.data td.enable_menu {
    width: 5.7em;
  }

  table.data tr.hover td {
    background: #F9F9F9;
  }

  table.data tr.data_not_found td {
    padding: 15px;
    text-align: center;
    color: gray;
  }

  table.data .positive {
    color: green;
    font-weight: bold;
  }

  table.data .negative {
    color: red;
    font-weight: bold;
  }

  table.data a {
    text-decoration: none;
  }

  table.data a:hover {
    text-decoration: underline;
  }

  table.data tr.with_detail_table td {
    background: #EAFFED;
  }


  table.data tr.detail_table_wrap td {
    border-top: 0;
    background: #EAFFED;
  }

  table.data tr.detail_table_wrap td td {
    background: white;
    border-top: 1px solid #ECECEC;
  }

  table.data tr.nowrap,
  table.data th.nowrap,
  table.data td.nowrap {
    white-space: nowrap;
  }

  table.data th.center,
  table.data td.center {
    text-align: center;
    padding-right:4px;
  }

  div.table_actions {
    margin: 12px 0 5px 0;
  }

  div.table_actions a {
    margin-right: 1em;
  }

  /*
  div.table_actions input {
    border: 0;
    background: transparent;
    color: blue;
    padding: 0;
    cursor: pointer;
    color: #2168a8;
    margin: 0;
    overflow: visible;
  }
  */

/**
 * Comments table
 */

table.user_comments th.time {
  width: 8em;
}

  table.user_comments th.author {
    width: 10em;
  }

/**
 * History table
 */

table.detail {
  margin: 2px auto 10px auto;
  width: 98%;
  border: 1px solid #BBBBBB;
}

  table.detail th {
    background: #FFFFFF url(images/table_th_bg2.gif) repeat-x;
  }

  table.data table.detail tr td {
    border-top: 0;
  }

  table.data table.detail tr.even td {
    background: #F7F7F7;
  }

/**
 * Detail wrap
 */

div.detail_wrap {
  margin: 2px auto 10px auto;
  width: 97%;
  border: 1px solid #D5D5D5;
  background: #FFFFFF url(images/table_th_bg2.gif) repeat-x;
  padding: 20px 5px 5px 5px;
}

  div.detail_form_wrap {
    margin: 0 20px 20px 20px;
  }

  div.detail_form_wrap form {
    margin: 0;
  }

  div.detail_wrap a.with_icon {
    text-decoration: none;
  }


/**
 * Pagination
 */

ul.pagination {
  list-style-type: none;
  text-align: center;
}

  ul.pagination li {
    margin: 0;
    display: inline;
  }

  ul.pagination a {
    color: #D50000;
    text-decoration: none;
    padding: 2px 4px;
  }

  ul.pagination a:hover {
    text-decoration: underline;
  }

  ul.pagination li.active {
    font-weight: bold;
    color: #525252;
    padding: 2px 4px;
  }

  ul.pagination li.empty {
    padding: 2px 4px;
  }

/**
 * Data form
 */

form.data {
  margin: 1em 0;
  height: 1%;
}

  form.no_title {
    margin-top: 0;
  }

  form.data div.input {
    line-height: 1.9em;
    padding-top: 0.4em;
    margin-bottom: 0.2em;
    float: left;
    width: 100%;
  }

  form.data label,
  form.data span.label {
    float: left;
    width: 15%;
    text-align: left;
    padding-right: 10px;
    line-height: 1.8em;
  }

  form.data div.submit {
    padding-top: 1.2em;
    clear: both;
  }

  form.data div.input_block {
    padding-left: 15%;
    margin-left: 10px;
  }


  form.data .input_block label,
  form.data label.plain {
    float: none;
    width: auto;
    padding-right: 0;
  }

  form.data fieldset {
    border: 0;
    margin: 0 0 1em 0;
    padding: 0;
  }

  form.data legend {
    font-weight: bold;
    padding: 0;
    margin-bottom: 0.8em;
  }

  form.data input.currency {
    width: 3em;
  }

/**
 * Form errors
 */

ul.form_errors {
  color: red;
  border: 1px solid red;
  padding: 0.8em 1.3em;
  margin: 1em auto 1em auto;
  line-height: 1.7em;
  list-style-type: disc;
}

/**
 * Data saved info block
 */

div.data_saved {
  color: green;
  background: #F0FBF0;
  border: 1px solid green;
  padding: 0.8em 1.3em;
  margin: 0 auto 1em auto;
  line-height: 1.7em;
}

/**
 * Filter form
 */

div.filter_form {
  border: 1px solid #9DD6FF;
  background: #D2ECFF;
  margin-bottom: 1em;
  padding: 2px 10px;
  position: relative;
  height: 1%;
}

  div.filter_form div.col1,
  div.filter_form div.col2 {
    float: left;
    width: 43%;
  }

  div.filter_form span {
    display: block;
    float: left;
    width: 100%;
    margin: 4px 0;
  }

  div.filter_form span * {
    vertical-align: middle;
  }


  div.filter_form span span {
    display: inline;
    line-height: normal;
    float: none;
  }


  div.filter_form label {
    float: left;
    width: 28%;
    margin-top: 3px;
  }

  div.filter_form span.radios label {
    float: none;
    width: auto;
  }

  div.filter_form span.radios input {
    margin-top: 0;
  }

  div.filter_form div.submit {
    position: absolute;
    bottom: 3px;
    right: 6px;
  }

  div.filter_form input.multiselect_button {
    font-size: 0.8em;
  }

/**
 * Confirmation
 */

div.confirmation form {
  color: black;
  border: 1px solid #F3FB66;
  padding: 0.8em 1.3em;
  width: 60%;
  margin: 0 auto 1em auto;
  line-height: 1.7em;
  text-align: center;
  background: #FCFECD;
}

  div.confirmation h3 {
    width: 100%;
  }


/**
 * Info block
 */

div.info {
  color: green;
  border: 1px solid green;
  padding: 20px;
  width: 60%;
  margin: 0 auto 1em auto;
  line-height: 1.7em;
  text-align: center;
  background: #E6FFE6;
}

  div.info p {
    margin: 0;
  }

  div.info ul {
    list-style-type: none;
    padding: 0;
    margin-left: 0;
    margin: 0;
  }

  div.info ul li {
    margin: 0;
    padding: 0;
  }

/**
 * Intro domain list filter form
 */

div.intro_domain_list_form span.domain_input label {
  width: 5em;
}

/**
 * Domain keyword lists
 */

table.domain_keyword_list tr.inactive td,
table.domain_keyword_list tr.inactive td a,
table.domain_keyword_list tr.inactive td span.positive,
table.domain_keyword_list tr.inactive td span.negative {
    color: #9F9F9F;
}

  table.domain_keyword_list .visible_to_client {
    text-align: center;
    padding-right: 4px;
  }

/**
 * Domain url lists
 */

table.domain_url_list tr.inactive td,
table.domain_url_list tr.inactive td a,
table.domain_url_list tr.inactive td span.positive,
table.domain_url_list tr.inactive td span.negative {
  color: #9F9F9F;
}


/**
 * Important keywords
 */

div#important_keywords {
  background: #FFF2F4;
  border: 1px solid #FFCCD3;
  padding: 10px;
  margin-bottom: 2em;
}

  div#important_keywords h3 {
    margin-top: 0;
    color: red;
    margin-bottom: 0;
    cursor: pointer;
  }

  div#important_keywords table {
    border: 1px solid #D2D2D2;
    margin-top: 15px;
  }

/**
 * Domain views
 */


form#add_url_form input#furl {
  width: 70%;
}

  td.search_site_widget {
    white-space: nowrap;
  }

  td.search_site_widget div {
    position: relative;
  }

  td.search_site_widget span.details {
    position: absolute;
    background: #FFFFD5;
    border: 1px solid #FDD548;
    top: -3px;
    left: -1px;
    z-index: 100;
    color: black;
    line-height: 1.4em;
    padding-right: 2px;
  }

  table.data td.search_site_widget span.details a {
    color: #2168a8;
  }

  table#domain_view_comments th.time {
    width: 8em;
  }

  table#domain_view_comments th.author {
    width: 10em;
  }


/**
 * Offer view keywords list
 */

table.offer_keyword_list .position {
  text-align: center;
}

  form.offer_view_keywords_form th.position span {
    border-bottom: 1px dotted gray;
  }

  form.offer_view_keywords_form th.position textarea {
    width: 100%;
  }


  table.offer_keyword_list .result_count input {
    width: 5em;
  }

  form.offer_view_keywords_form div.submit {
    float: right;
    margin-top: 10px;
  }

  form.offer_view_keywords_form .show_in_costs {
    text-align: center;
  }


  form.offer_view_data {
    margin-bottom: 10px;
    margin-top: 0;
    float: left;
    width: 100%;
  }

  form.offer_view_data div.input {
    padding-top: 0;
  }

  form.offer_view_data div.input span.label,
  form.offer_view_data div.input label {
    float: none;
    width: auto;
  }

  table.offer_search_results th.position {
    width: 5em;
    text-align: left;
  }

  table.data table.offer_search_results tr.highlight td {
    font-weight: bold;
    background: #F2F2F2;
  }

  table#offer_view_comments th.time {
    width: 8em;
  }

  table#offer_view_comments th.author {
    width: 10em;
  }

/**
 * User list
 */

table.user_list tr.cannot_login td,
table.user_list tr.cannot_login td a {
  color: #A5A5A5;
  background: #FBFBFB;
}

/**
 * Table action menu
 */

div.action_menu {
  position: relative;
}


  div.action_menu span.button {
    cursor: pointer;
    display: block;
    height: 1.4em;
    text-align: center;
    border-top: 1px solid transparent;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    position: relative;
    padding: 0 4px;
  }

  div.action_menu span.active {
    border-top: 1px solid #A7A7A7;
    border-left: 1px solid #A7A7A7;
    border-right: 1px solid #A7A7A7;
    background: #F8F8F8;
  }


  div.action_menu ul {
    list-style-type: none;
    border: 1px solid #A7A7A7;
    background: #F8F8F8;
    text-align: left;
    position: absolute;
    top: 1.4em;
    right: 0;
    margin: 0;
    min-width: 10em;
  }

  div.action_menu ul li {
    margin-left: 0;
    white-space: nowrap;
  }

  div.action_menu ul li a {
    display: block;
    padding: 5px 10px 5px 6px;
    outline: none;
  }
  div.action_menu ul li a:hover {
    text-decoration: none;
    background: #E9E9E9;
  }

/**
 * Text page
 */

div.text_page{
  width: 60%;
}

  div.text_page h2.text_page_title {
    margin-top: 0;

  }

/**
 * Ad host form
 */

form.ad_host input.number {
  width: 3em;
}

/**
 * Client view
 */

h3.clients_view_title {
  width: 100%;
}

  h3.clients_view_title span.clear {
    display: block;
  }

  h3.clients_view_title span.limit_stats {
    font-weight: normal;
    float: right;
    font-size: 0.95em;
  }

  h3.clients_view_title span.limit_stats span.help_tooltip_icon {
    position: relative;
    top: 2px;
  }

  h3.clients_view_title span.limit_stats span.item {
    margin-left: 10px;
  }


ul.domains {
  list-style-type: none;
  margin-left: 0;
  height: 1%;
}

  ul.domains li.domain_wrap {
    margin: 1em 0 1em 0;
    background: #ECFFCE;
    border: 1px solid #A4FF1C;
    padding: 10px;
    height: 1%;
  }

  ul.domains li.not_active h4 {
    color: #A8A8A8;
  }

  ul.domains table.data {
    border: 1px solid #D5D5D5;
  }

  ul.domains h4 {
    margin: 0;
    cursor: pointer;
  }

  ul.domains h4 span.domain_actions {
    float: right;
    font-weight: normal;
  }


  ul.domains div.data_wrap {
    margin-top: 1em;
  }

  ul.domains div.keywords {
    margin-top: 1.5em;
  }

  ul.domains div.keywords .has_campaign {
    text-align: center;
  }

  ul.domains form.url_add input.url {
    width: 70%;
  }

  ul.domains div.domain_info form.data label,
  ul.domains div.domain_info form.data span.label {
    width: 17%;
  }

  ul.domains div.domain_info form.data span.input_block input {
    margin-left: 0;
  }

  ul.domains div.domain_info form.data span.input_block label {
    margin-right: 10px;
  }

/**
 * Campaign view
 */

div.campaign_view {
  padding: 0 9px 8px 9px;
}

  div.campaign_view div.overview {
    float: left;
    width: 29%;
    margin-bottom: 1em;
  }

  div.campaign_view div.overview p {
    margin-top: 0.5em;
    margin-bottom: 0;
  }


  div.campaign_view div.details_info {
    float: left;
    width: 69%;
    margin-bottom: 1em;
  }

  div.campaign_view div.details_info p.campaign_verify_status {
    margin-top: 0;
    color: red;
    font-weight: bold;
  }

  div.campaign_view div.details_info p.actions {
    margin: 1em 0 0 0;
  }

  div.campaign_view div.details_info p.actions a {
    float: right;
  }

  div.campaign_view div.details_info p.actions span {
    padding: 5px 7px 2px 5px;
    float: right;
    display: block;
  }

  div.campaign_view div.create_campaign_button {
    text-align: center;
  }

  div.campaign_view a.with_icon {
    text-decoration: none;
  }

  div.campaign_view div.campaign_history_chart_wrap {
    margin-bottom: 1.5em;
  }

  div.campaign_view div.campaign_history_chart_wrap h3 {
    margin-top: 0;
  }

/**
 * Campaign edit
 */

form.campaign_edit div.keyword_table table .selector {
  width: 2.5em;
}

  form.campaign_edit div.keyword_table table th {
    white-space: nowrap;
  }

  form.campaign_edit div.keyword_table table tr.outside_filter td {
    color: gray;
    font-size: 0.9em;
    vertical-align: bottom;
    line-height: 1em;
  }

  form.campaign_edit div.keyword_table table .max_price {
    width: 13em;
    text-align: center;
    padding-right: 4px;
  }

  form.campaign_edit div.keyword_table table .ad_host_title {
    width: 18em;
  }

  form.campaign_edit div.keyword_table table .suggested_price {
    text-align: center;
    padding-right: 4px;
  }

  form.campaign_edit div.keyword_table table .max_price input {
    width: 3em;
  }

  form.campaign_edit a.select_all {
    margin-right: 1em;
  }

  form.campaign_edit strong.selected_ad_host_count {
    margin-right: 1.5em;
  }


/**
 * Ad host table
 */

table.ad_host_list td.links_file_links {
  white-space: nowrap;
}

  table.ad_host_list tr.inactive td,
  table.ad_host_list tr.inactive td a {
    color: #9F9F9F;
  }

  table.ad_host_list .hidden_from_public {
    text-align: center;
    padding-right: 4px;
  }


/**
 * Ad hosts unverified pr list
 */

 form.ad_hosts_unverified_pr_list tr.inactive td,
 form.ad_hosts_unverified_pr_list tr.inactive td a{
  color: #9F9F9F;
 }


/**
 * Charts
 */

div.chart_resize_wrapper {
  height: 200px;
  width: 100%;
  margin-bottom: 10px;
  padding-bottom: 5px;
}

div.chart_resize_wrapper .ui-resizable-s {
  background: transparent url(images/resize_handle_s.gif) no-repeat top right;
}


div.chart {
}

  div.chart h3 {
    margin-left: 13px;
  }


  div.chart form {
    margin: 0 0 5px 30px;
  }

  div.chart form input {
    vertical-align: middle;
  }


  div.chart form span.item {
    margin-right: 15px;
  }

  div.chart form span.item * {
    vertical-align: middle;
  }


  div.chart form input.submit {
    font-size: 1em;
  }

/**
 * Simple filter form
 */

form.simple_filter {

}

  form.simple_filter input {
    vertical-align: middle;
  }


  form.simple_filter span.item {
    margin-right: 15px;
  }

  form.simple_filter span.item * {
    vertical-align: middle;
  }


  form.simple_filter input.submit {
    font-size: 1em;
  }

/**
 * Date pickers
 */

input.form_date, input.date_field {
  width: 6.5em;
}

  .ui-datepicker-trigger {
    padding: 0;
    border: 0;
    width: 16px;
    height: 16px;
    background: 0;
    margin-left: 1px;
    vertical-align: middle;
  }

  img.form_date_quick_select_prev {
    cursor: pointer;
    padding-left: 2px;
    padding-right: 5px;
    font-size: 1.4em;
  }

  img.form_date_quick_select_next {
    cursor: pointer;
    padding-left: 5px;
    padding-right: 2px;
  }

/**
 * Info boxes
 */

div.info_box {
  display: inline;
}

  div.info_box a.link {
    text-decoration: none;
  }

  div.info_box div.content {
    display: none;
  }

/**
 * Keyword position reports
 */

div.clients_position_reports div.domain {
  margin-bottom: 2.5em;
}

  div.clients_position_reports div.domain h3 {
    margin-top: 2em;
    font-size: 1.3em;
    margin-bottom: 0;
  }

  div.clients_position_reports div.domain h4 {
    margin-top: 1.5em;
    margin-bottom: 0;
  }


  div.clients_position_reports table.data {
    margin-top: 1em;
  }

  div.clients_position_reports table.data th.keyword {
    width: 35%;
  }

  div.clients_position_reports table.data th.calc_position {
    width: 30%;
  }

/**
 * Payments report table
 */

table.payments_report td.sum_label {
  text-align: right;
}

  table.payments_report td.ad_host_count {
    color: #2168A8;
  }


/**
 * Ad hosts view
 */

ul.ad_hosts {
  list-style-type: none;
  margin-left: 0;
  height: 1%;
}

  ul.ad_hosts li.ad_host_wrap {
    margin: 1em 0 1em 0;
    background: #ECFFCE;
    border: 1px solid #A4FF1C;
    padding: 10px;
    height: 1%;
  }

  ul.ad_hosts li.not_active h4 {
    color: #A8A8A8;
  }

  ul.ad_hosts table.data {
    border: 1px solid #D5D5D5;
  }

  ul.ad_hosts h4 {
    margin: 0;
    cursor: pointer;
  }

  ul.ad_hosts h5 {
    margin-top: 1.5em;
    margin-bottom: 1em;
  }

  ul.ad_hosts div.data_wrap {
    margin-top: 1em;
  }

  ul.ad_hosts div.ad_host_info form.data label,
  ul.ad_hosts div.ad_host_info form.data span.label {
    width: 17%;
  }

  ul.ad_hosts div.ad_host_info form.data span.input_block input {
    margin-left: 0;
  }

  ul.ad_hosts div.ad_host_info form.data span.input_block label {
    margin-right: 10px;
  }

/**
 * Filter form
 */

form.filter_form,
form.detail_table_filter_form  {
  margin-bottom: 1em;
}

  form.detail_table_filter_form {
    width: 98%;
    margin-left: auto;
    margin-right: auto;
  }

  form.filter_form input,
  form.detail_table_filter_form input {
    vertical-align: middle;
  }


  form.filter_form span.item,
  form.detail_table_filter_form span.item {
    margin-right: 15px;
  }

  form.filter_form span.item *,
  form.detail_table_filter_form span.item * {
    vertical-align: middle;
  }


  form.filter_form input.submit,
  form.detail_table_filter_form input.submit {
    font-size: 1em;
  }


/**
 * Finances overview screen
 */

div.finances_overview h4 {
  margin-top: 2em;
  margin-bottom: 0.8em;
}

/**
 * Payout request form
 */

form.payout_request input#famount_to_payout {
  width: 3em;
}

/**
 * Ad host reports table
 */

table.ad_host_report td.display_date {
  vertical-align: top;
}

  table.ad_host_report td.display_day_name {
    vertical-align: top;
    border-right: 1px solid #ECECEC;
  }

  table.ad_host_report td.total_link_count {
    color: #2168A8;
  }


  table.ad_host_report tr.summary td {
    padding-top: 10px;
    padding-bottom: 10px;
  }


  table.ad_host_report tr.summary td.label {
    text-align: right;
    padding-right: 10px;
  }


/**
 * Payout request view
 */

div.payout_request_view {
  padding: 0 1em;
}

  div.payout_request_view div.input {
    margin-bottom: 1.3em;
    float: left;
    width: 100%;
  }


  div.payout_request_view span.label {
    float: left;
    width: 20em;
  }

/**
 * Payout requests
 */

table.ad_host_payout_requests tr.inactive td,
table.ad_host_payout_requests tr.inactive td a {
  color: #9F9F9F;
}

/***
 * Campaign ad host competition bar
 */

span.competition_bar {
  display: block;
  border: 1px solid #BBBBBB;
  height: 1.3em;
  width: 8em;
  line-height: 1.3em;
  font-size: 0.95em;
  color: #393939;
  background-color: white;
}

  span.competition_bar span.bar {
    display: block;
    overflow: visible;
    height: 1.3em;
    background-color: #D5FFD5;
    border-right: 1px solid #CBCBCB;
    text-indent: 2px;
  }

  span.competition_bar span.full {
    background-color: #FFD2D2;
    border-right: 0;
  }

  span.competition_bar span.empty {
    border-right: 0;
  }

/**
 * Action links
 */

.action_links a,
.action_links span {
  margin-right: 1em;
}

/**
 * Screen overlay loading
 */

#overlay_loading_hide_select{
  z-index: 99;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #fff;
  border: none;
  filter: alpha(opacity=0);
  -moz-opacity: 0;
  opacity: 0;
  height: 100%;
  width: 100%;
}

  * html #overlay_loading_hide_select { /* ie6 hack */
    position: absolute;
    height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
  }

  #overlay_loading_bg {
    position: fixed;
    z-index: 100;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
  }

  .overlay_loading_bg_macffhack {
    background: url(images/macFFBgHack.png) repeat;
  }

  .overlay_loading_bg {
    background-color: #FFFFFF;
    filter: alpha(opacity=90);
    -moz-opacity: 0.90;
    opacity: 0.90;
  }

  * html #overlay_loading_bg { /* ie6 hack */
    position: absolute;
    height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
  }

  #overlay_loading_window {
    position: fixed;
    z-index: 102;
    color: #000000;
    display: none;
    text-align: left;
    top: 40%;
    left: 50%;
  }

  * html #overlay_loading_window { /* ie6 hack */
    position: absolute;
    margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
  }

  #overlay_loading_content {
    clear: both;
    padding: 15px 15px 15px 15px;
    overflow: hidden;
    text-align: left;
    line-height: 1.4em;
    text-align: center;
  }

  #overlay_loading_content span {
    background-color: white;
    padding: 0 10px;
  }


  #overlay_loading_content img {
    vertical-align: middle;
  }

/**
 * Offers costs edit screen
 */

div#offer_costs_edit_screen div.main_description {
  width: 80%;
  margin: 0 auto;
}


  div#offer_costs_edit_screen div.main_description textarea {
    width: 100%;
  }

  div#offer_costs_edit_screen table.one_time_costs {
    width: 80%;
    margin: auto;
  }

  div#offer_costs_edit_screen table.one_time_costs th.duration,
  div#offer_costs_edit_screen table.one_time_costs td.duration,
  div#offer_costs_edit_screen table.one_time_costs th.costs,
  div#offer_costs_edit_screen table.one_time_costs td.costs {
    text-align: center;
    padding-right: 10px;
  }


  div#offer_costs_edit_screen table.one_time_costs td.duration input,
  div#offer_costs_edit_screen table.one_time_costs td.costs input {
    width: 4em;
  }


  div#offer_costs_edit_screen ul.keywords {
    list-style-type: none;
    width: 80%;
    margin: auto;
  }

  div#offer_costs_edit_screen ul.keywords li {
    margin: 0 0 3em 0;
  }

  div#offer_costs_edit_screen ul.keywords table {
    width: 80%;
    margin: auto;
  }

  div#offer_costs_edit_screen ul.keywords table td.positions input {
    width: 2em;
  }

  div#offer_costs_edit_screen ul.keywords table td.coefficient input {
    width: 2em;
    color: gray;
  }

  div#offer_costs_edit_screen ul.keywords table th.coefficient,
  div#offer_costs_edit_screen ul.keywords table td.coefficient,
  div#offer_costs_edit_screen ul.keywords table th.costs,
  div#offer_costs_edit_screen ul.keywords table td.costs {
    text-align: center;
    padding-right: 10px;
  }


  div#offer_costs_edit_screen ul.keywords table td.costs input {
    width: 4em;
  }

  div#offer_costs_edit_screen ul.keywords ul.form_errors li {
    margin: 0 0 0 1em;
  }

  div#offer_costs_edit_screen div.start_new_page_checkbox {
    width: 80%;
    margin: 3px auto auto auto;
  }

/**
 * Client list
 */

table.client_list tr.no_active_domains,
table.client_list tr.no_active_domains a,
table.client_list tr.no_active_domains td.actions span
{
  color: #9F9F9F;
}

  table.client_list td.domain_list {
    white-space: nowrap;
  }

/**
 * Logs list
 */

table.logs_list td.time,
table.logs_list td.user {
  white-space: nowrap;
}

  table.logs_list td.custom_data_link {
    text-align: center;
  }

/**
 * Domain view
 */

div#domain_view p.action_links {
  margin-top: 3em;
}

div#domain_view .print_keywords_link {
  float: right;
}

form.keyword_add div.input {
  margin-bottom: 6px;
}

  form.keyword_add div.input_block {
    float: left;
    padding-left: 0;
    margin-left: 0;
    margin-right: 10px;
  }

  form.keyword_add label,
  form.keyword_add span.label {
    width: 10em;
  }

  form.keyword_add div.search_site_select input {
    vertical-align: middle;
    margin-top: 0;
  }

  form.keyword_add div.search_site_select label {
    vertical-align: middle;
    font-weight: bold;
    margin-right: 10px;
  }

  form.keyword_add div.google_site_options label.disabled {
    color: #BBBBBB;
  }

  form.keyword_add div.keyword_inputs input {
    display: block;
    margin-bottom: 5px;
  }

  form.keyword_add div.input_block label {
    margin-left: 10px;
  }

  form.keyword_add div.input_block label.radio_label {
    margin-left: 0;
  }

#fkeywords {
  display: none;
}

div#domain_view .get_stats_box {
  position: relative;
  display: none;
}

  div#domain_view .get_stats_box .inner {
    padding: 5px;
    background: white;
    position: absolute;
    right: 0;
    top: -10px;
  }

  div#domain_view .get_stats_box textarea {
    border: 1px solid #808080;
  }

div#domain_view div.stats_results h5 {
  font-weight: normal;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}


/**
 * Intro screen domain list
 */

div#keyword_overview div.client_wrap {
  margin: 1em 0 1em 0;
  background: #FBFBFB;
  border: 1px solid #DCDCDC;
  padding: 10px;
  height: 1%;
}

  div#keyword_overview div.client_wrap h4 {
    margin: 0 0 5px 0;
    cursor: pointer;
    font-size: 1.3em;
  }

  div#keyword_overview div.client_wrap ul.client_domains_wrap {
    list-style-type: none;
    margin: 0;
    padding: 0;
  }


  div#keyword_overview div.client_wrap ul.client_domains_wrap li.domain {
    margin: 1em 0 0 0;
    background: #ECFFCE;
    border: 1px solid #A4FF1C;
    padding: 10px;
    height: 1%;
  }

  div#keyword_overview div.client_wrap ul.client_domains_wrap h5 {
    margin: 0 0 5px 0;
    cursor: pointer;
  }

  div#keyword_overview div.client_wrap ul.client_domains_wrap li.inactive h5 {
    color: #A8A8A8;
  }


  div#keyword_overview table.data {
    border: 1px solid #D5D5D5;
  }

  div#keyword_overview div.client_wrap div.small_domain_list span {
    cursor: pointer;
  }

  div#keyword_overview div.client_wrap div.small_domain_list span.inactive {
    color: #A8A8A8;
  }

  div#keyword_overview div.domain_keywords,
  div#keyword_overview div.domain_contracts,
  div#keyword_overview div.domain_comments {
    margin-top: 2.5em;
    margin-bottom: 0;
  }

  div#keyword_overview div.domain_keywords h6,
  div#keyword_overview div.domain_contracts h6,
  div#keyword_overview div.domain_comments h6 {
    margin-bottom: 1em;
  }

  div#keyword_overview div.domain_info form.data label,
  div#keyword_overview div.domain_info form.data span.label {
    width: 17%;
  }

  div#keyword_overview div.domain_comments th.time {
    width: 8em;
  }

  div#keyword_overview div.domain_comments th.author {
    width: 10em;
  }

/**
 * Info tooltip
 */

.info_tooltip {
  background: white;
  border: 1px solid gray;
  font-size: 0.75em;
  padding: 5px;
}

/**
 * Help tooltip
 */

.help_tooltip_icon {
  vertical-align: middle;
}

.help_tooltip {
  background: white;
  border: 1px solid gray;
  font-size: 0.7em;
  padding: 5px;
  width: 300px;
  color: gray;
}

/**
 * Domain stats for tooltip table
 */

table.domain_sats_for_tooltip {
  width: auto;
}

  table.domain_stats_for_tooltip td.has_campaign {
    text-align: center;
  }

/**
 * Client contracts
 */

table.client_contracts tr.ineffective td,
table.client_contracts tr.ineffective td a {
  color: #9F9F9F;
}

/**
 * All contracts
 */

table.contracts tr.ineffective td,
table.contracts tr.ineffective td a {
  color: #9F9F9F;
}

/**
 * Domain contracts
 */

table.domain_contracts tr.ineffective td,
table.domain_contracts tr.ineffective td a {
  color: #9F9F9F;
}

  table.domain_contracts th.costs,
  table.domain_contracts td.costs {
    width: 15em;
    text-align: center;
  }

  table.domain_contracts table.data {
    margin-bottom: 4px;
    margin-top: 2px;
  }


/**
 * Contract edit screen
 */


div#contract_edit_screen table.one_time_costs {
  width: 70%;
  margin: auto;
}

  div#contract_edit_screen table.one_time_costs th.costs,
  div#contract_edit_screen table.one_time_costs td.costs {
    text-align: center;
    padding-right: 10px;
  }


  div#contract_edit_screen table.one_time_costs td.costs input {
    width: 4em;
  }


  div#contract_edit_screen ul.conditions {
    list-style-type: none;
    width: 70%;
    margin: auto;
  }

  div#contract_edit_screen ul.conditions li {
    margin: 0 0 3em 0;
  }

  div#contract_edit_screen ul.conditions table {
    width: 100%;
  }

  div#contract_edit_screen ul.conditions table td.positions input {
    width: 2em;
  }

  div#contract_edit_screen ul.conditions table th.costs,
  div#contract_edit_screen ul.conditions table td.costs {
    text-align: center;
    width: 15em;
  }

  div#contract_edit_screen ul.conditions table td.costs input {
    width: 4em;
  }

  div#contract_edit_screen ul.conditions table th.del,
  div#contract_edit_screen ul.conditions table td.del {
    text-align: right;
    width: 3em;
  }

  div#contract_edit_screen ul.conditions table td.del span {
    cursor: pointer;
  }


  div#contract_edit_screen ul.conditions ul.form_errors li {
    margin: 0 0 0 1em;
  }

/**
 * Contracts overview
 */

div#contracts_overview {
  background: #D9FFE2;
  border: 1px solid #ADD685;
  padding: 10px;
  margin-bottom: 2em;
}

  div#contracts_overview h3.block_title {
    margin-top: 0;
    color: #466923;
    margin-bottom: 0;
    cursor: pointer;
    width: 100%;
    position: relative;
  }

  div#contracts_overview h3.block_title a.refresh {
    position: absolute;
    top: 0;
    right: 0;
  }


  div#contracts_overview table {
    border: 1px solid #D2D2D2;
    margin-top: 15px;
  }

  div#contracts_overview table td.keywords,
  div#contracts_overview table td.positions {
    padding: 3px 6px;
    line-height: 1.9em;
  }

  div#contracts_overview table td.client {
    border-right: 1px solid #ECECEC;
  }

  div#contracts_overview table td.contract {
    border-right: 1px solid #ECECEC;
  }

  div#contracts_overview table td.status {
    padding-left: 22px;
    background-repeat: no-repeat;
    background-position: left center;
  }

  div#contracts_overview table tr.status_good td.status {
    background-image: url("images/check.gif");
  }

  div#contracts_overview table tr.status_partial td.status {
    background-image: url("images/error.gif");
  }

  div#contracts_overview table tr.status_bad td.status {
    background-image: url("images/uncheck.gif");
  }

/**
 * Ad host monitor log table
 */

table.ad_host_monitor_log tr.had_errors {
  color: red;
}

/**
 * Reports filter form
 */

div.reports_filter_form div.period_shortcuts {
  margin: 7px 0 6px 0;
}

  div.reports_filter_form div.period_shortcuts ul {
    list-style-type: none;
    display: inline;
  }

  div.reports_filter_form div.period_shortcuts li {
    display: inline;
    margin-left: 1.5em;
  }

  div.reports_filter_form div.period_shortcuts a {
    text-decoration: none;
  }

  div.reports_filter_form div.period_shortcuts a:hover {
    text-decoration: underline;
  }

/**
 * Bill list
 */

table.bills tr.canceled *,
table.bills tr.paid * {
  color: #9F9F9F;
}


/**
 * Client details view (ajax)
 */

div#client_details_view form.data label,
div#client_details_view form.data span.label {
  width: 9em;
}

/**
 * Bad display list
 */

table.bad_display_list tr.sep td {
  height: 30px;
  background: #F7F7F7;
}

  table.bad_display_list td.status {
    text-align: right;
    padding-right: 10px;
    white-space: nowrap;
  }


  table.bad_display_list td.batch_refund {
    vertical-align: middle;
    text-align: right;
    padding-right: 10px;
    white-space: nowrap;
  }


/**
 * Bad display refund form
 */

form.refund_bad_display label,
form.refund_bad_display span.label {
  width: 20%;
}

  form.refund_bad_display div.input_block {
    padding-left: 20%;
    margin-left: 10px;
  }

  form.refund_bad_display div.keywords table.data {
    width: auto;
    margin-bottom: 10px;
  }

/**
 * Fast filter
 */

div.fast_filter {
  background: #D2ECFF;
  border: 1px solid #9DD6FF;
  padding: 5px;
  margin-bottom: 8px;
}

  div.fast_filter input {
    width: 97%;
  }

/**
 * Displays report
 */

table.displays_report td.label {
  text-align: right;
}

/**
 * Unverified campaign list
 */

table.unverified_campaigns span.addit_text {
  color: gray;
}

/**
 * Fixed payout form
 */

form.fixed_payout table.detail {
  width: auto;
  margin: 10px 0;
}

/**
 * Competitors domains list
 */

table.competitors_list {
  margin-bottom: 1em;
}

/**
 * Client services
 */

table.client_services {
  margin-bottom: 1em;
}

  table.client_services tr.inactive {
    color: #9F9F9F;
  }

  table.client_services tr.expired * {
    color: red;
  }

/**
 * Expandable blocks
 */

ul.expand_blocks {
  list-style-type: none;
  margin-left: 0;
  height: 1%;
  margin-top: 0;
}

  ul.expand_blocks li.expand_block_wrap {
    margin: 1em 0 1em 0;
    border: 1px solid #E2E2E2;
    padding: 10px;
    height: 1%;
  }

  ul.expand_blocks h3.expand_box_title,
  ul.expand_blocks h4.expand_box_title {
    margin: 0;
    cursor: pointer;
  }


  ul.expand_blocks div.data_wrap {
    margin-top: 1em;
  }

/**
 * Payments screen
 */

ul.payments li.expand_block_wrap {
  margin-top: 0;
}

/**
 * Translations list
 */

form.translations_list div.submit {
  text-align: center;
  margin: 20px 0;
}

  form.translations_list .phrase {
    width: 30em;
    font-weight: bold;
  }

  form.translations_list th.transl {
    padding-left: 10px;
    padding-right: 10px;
  }


  form.translations_list td.transl {
    padding: 10px;
  }


  form.translations_list .transl input,
  form.translations_list .transl textarea {
    width: 100%;
    height: 100%;
  }

  form.translations_list .transl textarea {
    height: 70px;
  }

/**
 * Ad hosts user list
 */

table.ad_host_user_list div.inactive_adhosts {
  color: gray;
}


/**
 * System conf
 */

div#system_conf .field_group {
  padding-top: 10px;
  font-weight: bold;
  padding-bottom: 4px;
  border-bottom: 1px solid #808080;
}


/**
 * Sidebar news
 */

div.sidebar_news {
  padding: 0 8px;
  border: 1px solid #FFDBB7;
  background-color: #FFF3E8;
}

  div.sidebar_news div.article {
    margin: 7px 0;
  }

  div.sidebar_news h4 {
    margin: 0;
  }

  div.sidebar_news h4 a {
    color: #974B00;
    text-decoration: none;
  }

  div.sidebar_news h4 a:hover {
    text-decoration: underline;
  }

  div.sidebar_news p {
    margin: 0;
    font-size: 0.9em;
  }

  div.sidebar_news div.meta {
    text-align: right;
    font-size: 0.75em;
  }

  div.sidebar_news div.meta a {
    color: gray;
  }

/**
 * News article
 */


div.news_article h2 {
  margin: 0 100px 5px 0;
  font-size: 1.8em;
  font-weight: normal;
}

  div.news_article div.meta {
    color: gray;
    font-size: 0.9em;
  }

  div.news_article div.full_text {
    margin: 1.2em 0;
    width: 70%;
    min-width: 700px;
    line-height: 1.6em;
  }

/**
 * Unverified PR/DA/PA forms
 */

form.ad_hosts_unverified_pr_list div.submit,
form.unverified_pr_list div.submit,
form.unverified_da_list div.submit,
form.unverified_pa_list div.submit {
  margin-top: 1em;
  text-align: center;
}


form.unverified_pr_list tr.inactive a,
form.unverified_pr_list tr.inactive,
form.unverified_pr_list tr.inactive td.actions span,
form.unverified_da_list tr.inactive a,
form.unverified_da_list tr.inactive,
form.unverified_da_list tr.inactive td.actions span,
form.unverified_pa_list tr.inactive a,
form.unverified_pa_list tr.inactive,
form.unverified_pa_list tr.inactive td.actions span
{
  color: #9F9F9F;
}

/**
 * Proxies list
 */

table.proxies_list tr.inactive td,
table.proxies_list tr.inactive td a {
  color: #9F9F9F;
}

/**
 * Other positions char
 */

div.other_positions_chart p.actions {
  padding: 0 10px 20px 0;
}

div.other_positions_chart p.actions a {
   float: right;
}

/**
 * Clearing Module
 */

td.clearing_sum{
  border-bottom: 1px solid black;
}

td.clearing_sum a{
  text-decoration: none;
  background: #E2E3E7;
  display:block;
  color: black;
}

#clearing_table{
  border-collapse: collapse;
  width: 70%;
  margin: 5px 0px;
}

#clearing_table a{
  text-decoration: none;
  color: black;
}

#clearing_table td{
  border: 1px solid #AAAAAA;
  padding: 2px 5px;
}

#clearing_table td.sum{
  font-weight: bold;
}

#clearing_table th{
  border: 1px solid #AAAAAA;
}

.clearing_formulaBox{
  padding: 5px;
  background: #E2E3E7;
  margin: 5px 0px;

}

.keyword_idea_wrapper{
  display:none;
  margin: 10px 0px;
}

#noActiveService{
  margin-top: 10px;
}

/**
* Service type list
*/

#service_type_list *{
    font-family: corbel;
}


#service_type_list .service_head{
  padding: 5px 5px 0px 5px;
}
#service_type_list .service_body{
  padding: 5px 5px 0px 5px;
}

#service_type_list  a .title{
  font-weight: bold;
  font-size: 14px;
  color: rgb(17,17,17);
}

#service_type_list a .additional{
  margin-left: 10px;
  color: rgb(17,17,17);
  margin-top: -4px;
  height: 10px;
}


#service_type_list .google, #service_type_list .competitors{
  text-align: right;
  color: rgb(116,116,116);
  font-family: arial;
  font-size: 12px;
}

#service_type_list .domains{
  text-align: right;
  font-size: 16px;
}

#service_type_list .keywords{
  text-align: right;
  margin-top: -5px;
  font-size: 16px;
}

#service_type_list .count{
  font-weight: bold;
  font-size: 14px;
  font-family: arial;
}

#service_type_list .price{
  text-align: center;
  font-weight: bold;
  font-size: 13px;
  font-family: "Verdana";
  margin-top: 10px;
  position: absolute;
  bottom: 0px;
  width: 100%;
  text-align: center;
}

#service_type_list a{
  width: 186px;
  display: block;
  position: relative;
  text-decoration: none;
  float: left;
  margin-right: 10px;
}


#service_type_list .service_head{
  min-height: 110px;
  position: relative;
  padding-bottom: 20px;
}

#service_type_list #service0 .service_head{
  background: url("images/services/service0.png") no-repeat #DADADA;
  color: rgb(73,73,73);
  position: relative;
}

#service_type_list #service0 .price{
  color: rgb(31,100,7);
}

#service_type_list #service1 .service_head{
  background: url("images/services/service1.png") no-repeat #DADADA;
  color: rgb(32,90,206);
}

#service_type_list #service1 .price{
  color: rgb(37,83,174);
}

#service_type_list #service2 .service_head{
  background: url("images/services/service2.png") no-repeat #DADADA;
  color: rgb(49, 173, 16);
}

#service_type_list #service2 .price{
  color: rgb(31, 100, 7);
}

#service_type_list #service3 .service_head{
  background: url("images/services/service3.png") no-repeat #DADADA;
  color: rgb(218, 158, 15);
}

#service_type_list #service3 .price{
  color: rgb(150, 110, 3);
}

#service_type_list #service4 .service_head{
  background: url("images/services/service4.png") no-repeat #DADADA;
  color: rgb(227, 19, 19);
}

#service_type_list #service4 .price{
  color: rgb(140, 13, 13);
}

#service_type_list .service_footer{
  height: 10px;
  width: 100%;
  background: url("images/services/service_footer.png") no-repeat;
}

.keyword_top_chart_placeholder{

  height: 1000px;
}

.detail_table_wrap .domain_keywords_top_url_wrap .keywords_top_chart_urls td{
  border-top: none;
}

.detail_table_wrap .domain_keywords_top_url_wrap .keywords_top_chart_urls{
  width: 100%;
}

#additional_servics_apply_form label{
  width: 35%;
}

/**
 * Offer add
 */

form.offer_add label,
form.offer_add span.label {
  width: 12em;
}


/**
 * Offer activities
 */


#activity_add_form div{
  margin: 10px 0px;
}

#activity_add_form label{
  margin-right: 5px;
}

#activity_add_form input{
  margin-right: 10px;
}

#activity_add_form input.form_date{
  margin-right: 0px;
}

#activity_add_form textarea{
  width: 50%;
  height: 100px;
}

.activity_contact_persons tr td{
  cursor: pointer;
}

#activity_add_form{
  border: 1px solid #ECECEC;
  padding: 4px;
}

#activity_add_form input[type='submit']{
  margin-top: 10px;
}

#activity_add_form option[disabled='disabled']{
  text-align: center;
}


/*

  Offers list

*/


#offers_list tr.active, #offers_list tr.active a{
  color: red;
}


h2.seperator{
  border-bottom: 1px solid #ECECEC;
  font-size: 1.5em;
  margin: 2em 0em;
  clear: both;
}

#tools_page_speed .results tr{
  cursor: pointer;
}

#tools_page_speed .results tr.active td{
  background: #F3F3F3;
}

#tools_page_speed tr.additional{
  display: none;
  cursor: pointer;
}

#tools_page_speed tr.additional h3{
  width: 100%;
}

#tools_page_speed .additional.show{
  display: table-row;
}

#service_change_form label{
  display: block;
  float: left;
  width: 200px;
}

#service_change_form .input{
  margin-bottom: 5px;
}

#service_change_form textarea{
  width: 400px;
  height: 100px;
}

#keyword_copy_list{
  display: none;
}

#keyword_copy_list textarea{
  width: 360px;
  margin: 5px 0px;
}

#add_keyword_form_link{
	margin-right:50px;
}

#footer{
	text-align:center;
	margin-top:10px;
}

#calls_phones{
	display:table;
	background: none repeat scroll 0 0 #FFFFFF;
  border-radius: 6px;
}

#calls_phones div.calls_ptable div{
	display:table-cell;
	padding:1px 10px 1px 10px;
}

.overlay{
	position:fixed;
}

.overlay-bg {
    background: url("/media/images/popupbg.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
}

table.domain_keyword_list tr#template{
	display:none;
}


#domain_link_filter table{
	margin: 10px 0px;
}

#domain_link_filter .tip{
	border: 1px solid #9DD6FF;
  background: #D2ECFF;
  margin-bottom: 1em;
  padding: 10px 10px;
	font-size: 13px;
}

#domain_link_filter input[type='checkbox']{
	cursor: pointer;
}

#domain_link_filter .success{
	color: green;
}

.chart_js_canvas_wrap{
  min-height: 300px;
  position: relative;
  margin: 20px 0px;
}

.ui-resizable-handle{
  background: url("/media/images/resize_handle_s.gif") no-repeat right center;
}


.chart_js_canvas_wrap .resizer{
  min-height: 300px;
  width: 100%;
}

.chart_js_canvas_wrap canvas{
  height: 100%;
  width: 100%;
}
