/* -------------------------------------------------------------- 
   
   forms.css
   * Sets up some default styling for forms
   * Gives you classes to enhance your forms
   
   Usage:
   * For text fields, use class .title or .text
   
-------------------------------------------------------------- */

label       { font-weight: bold; }
fieldset    { padding: 0; margin: 0; border: none; }
legend      { font-weight: bold; font-size:1.2em; }
input, 
textarea, 
select      { font-family: arial, helvetica, sanserif; }


/* Search and Results 
-------------------------------------------------------------- */

/*
 * Drupal admin tables
 *
 * We overrode these styles in html-reset.css, but restore them for the admin
 * section of the site.
 */

form th {
  text-align: left; /* LTR */
  padding-right: 1em; /* LTR */
  border-bottom: 3px solid #ccc;
}

form tbody {
  border-top: 1px solid #ccc;
}

form tr.even {
  background-color: #fff;
}

form table .item-list ul {
  margin: 0;
}

.view-filters {
  background: #f3f3f3;
  float: left;
	width: 100%;
	padding-bottom: 12px;
}

/*
 * FAIR Database styles
 */
 
form#views-exposed-form-fair-database-page label {
  display: inline-block;
  color: #000;
  margin: 4px 10px 0px 0px;
} 

form#views-exposed-form-fair-database-page .views-operator {
  display: inline-block;
  float: right;
  width: 100px;
}

form#views-exposed-form-fair-database-page select#edit-field-fair-disease-areas-tid {
  clear: left;
}

/**
 * HEADER
 **/
.views-exposed-header {
  background: #e1e1e1 url(../img/icon-expanded.png) no-repeat 99% center;
  color: #999;
  margin-top: 20px;
  padding: 10px;
}

.views-exposed-header h3,
.views-exposed-header span {
  display: inline-block;
}

.views-exposed-header h3 {
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 0;
  padding: 0px 10px 0px 0px;
}

.views-exposed-header h3:hover {
  cursor: pointer;
}

.views-exposed-header span {
  padding-left: 10px;
}

.views-exposed-header a {
  float: right;
  font-weight: bold;
}

.top-tools,
.bottom-tools {
  font-family: Arial;
  font-size: 12px;
  margin: 1em 0;
  clear: both;
  float: left;
  width: 100%;
}

.results-per-page {
  float: left;
  margin-right: 10px;
}

.results-per-page .form-item {
  margin: 0px !important;
}

.results-per-page label {
  display: inline !important;
  font-weight: normal !important;
}

.view-header,
.view-footer {
  float: left;
  margin-right: 10px;
}

.view-header .results {
  margin: 0px;
}

/*.view-header .results:after {
  content: " - ";
}*/

.save_views_ajax_search,
.bookmark_view {
  font-size: 12px;
  padding: 0px 5px;
}

.save_views_ajax_search {
  border-right: solid 1px #5d5d5d;
}

.save_views_ajax_search a:hover,
.bookmark_view a:hover {
  color: #000 !important;
  cursor: pointer;
}

.message {
  background: #981E32;
  border: solid 1px #79111E;
  border-radius: 5px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
  clear: both;
  color: #fff;
  display: none;
  font-weight: bold;
  line-height: 18px;
  margin: 20px auto;
  padding: 15px;
  position: relative;
  text-align: center;
  width: 890px;
}

.message a {
  color: #fff;
  font-size: 16px;
}

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

.message .close-message {
  background: #F9F9F9;
  border: solid 1px #d8d8d8;
  border-radius: 11px;
  color: #555;
  height: 20px;
  position: absolute;
  top: -10px;
  right: -10px;
  text-shadow: 0px 0px 3px #fff;
  width: 20px;
}

.message .close-message:hover {
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

/**
 * FILTERS
 **/
.view-filters {
  margin-bottom: 25px;
}

.views-exposed-form label {
  color: #626262;
  font-size: 12px;
}

.views-exposed-form #edit-keys-wrapper {
  margin-top: 0;
}

.views-exposed-form label[for="edit-keys"] {
  margin-top: 7px !important;
  text-transform: uppercase;
}

.views-exposed-form input#edit-keys {
  border: solid 1px #cecfdb;
  color: #79111e;
  font-size: 11px;
  font-weight: bold;
  padding: 5px;
  text-transform: uppercase;
}

.exposed-label {
  position: relative;
}

.help-hover {
  color: #79111e;
  cursor: default;
  font-weight: bold;
}

.help-text {
  background: #981E32;
  border: solid 1px #79111E;
  border-radius: 5px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
  color: #fff;
  display: none;
  font-size: 14px;
  font-weight: bold;
  line-height: 18px;
  padding: 10px;
  position: absolute;
  right: -200px;
  top: 12px;
  width: 180px;
  z-index: 2;
}

.node-fair-database .help-text {
  position: relative;
  right: -50px;
  z-index: 10;
}

img#instructions {
  margin: 10px 0px 0px -10px;
}

.views-widget-extras {
	float: left; }
	
.views-widget-filter-keys, .views-widget-per-page, .views-submit-button, .views-reset-button, sclass.group {
	display: block;
	clear: both; }

.views-submit-button, .views-reset-button, sclass.group {
	margin-top: 10px;
	width:100%; 
	text-align: center; }

/**
 * PAGER
 **/
.item-list {
  color: #5c5c5c;
  font-size: 13px;
  float: right;
  width: auto;
  margin: 0 auto;
}

.item-list ul {
	list-style:none;
	margin: 0; }

.item-list ul li {
  margin: 0px;
  float: left !important;
   padding: 0 0.5em;
}

.item-list ul li a {
	background: none !important;
}

.item-list ul li a:hover {
  color: #000 !important;
}

.item-list .pager li.pager-item,
.item-list .pager li.pager-last {
  border-left: solid 1px #5d5d5d;
}


/**
 * RESULTS
 **/
.view-content {
  clear: both;
  margin-top: 20px;
}

table.views-table thead tr th.views-field-title,
table.views-table thead tr th.views-field-field-fair-journal,
table.views-table thead tr th.views-field-field-fair-publication-year,
table.views-table thead tr th.views-field-field-intervention-number,
table.views-table thead tr th.views-field-name,
table.views-table thead tr th.views-field-field-intervention-grantee {
  background: url("../images/icons/sort-column.png") right center no-repeat;
}

table.views-table thead tr th:nth-child(1) { width: 30%; }
table.views-table thead tr th:nth-child(2) { width: 40%; }
table.views-table thead tr th:nth-child(3) { width: 20%; }
table.views-table thead tr th:nth-child(4) { width: 5%; }
table.views-table thead tr th:nth-child(5) { width: 5%; }


/* Make sure text does not overlap background image */
table.views-table thead tr th.views-field-field-intervention-number {
  width: 35px;
}

table.views-table thead tr th.views-field-field-fair-publication-year {
  width: 120px;
}

table.views-table thead tr th img[title="sort ascending"],
table.views-table thead tr th img[title="sort descending"] {
  display: none;
}
 
table.views-table thead tr th,
table.views-table tr td {
  font-size: 12px;
  padding: 5px;
}

table.views-table thead tr th a {
  color: #5c5c5c;
  display: inline-block;
  font-weight: bold;
  width: 100%;
}

table.views-table thead tr th a:hover {
  color: #79111e;
}

table.views-table thead {
  background: #ebebeb;
  color: #000;
  font-weight: bold;
}

table.views-table td {
  background: #fff;
  color: #5d5d5d;
  line-height: 12px;
  vertical-align: middle;
}

  table.views-table td a {
    font-weight: bold;
  }

  table.views-table td div {    
    margin-top: 5px;
  }


table.views-table tbody tr:hover {
  background: #ccc;
}

table.views-table thead tr th {
  height: 50px;
  vertical-align: middle;
  white-space: nowrap;
}

  table.views-table thead tr th:hover {
    color: #79111e;
  }

table.views-table td, table th {
  border: solid 1px #d8d8d8;
}

.views-exposed-form .views-exposed-widget {
  float: left; /* LTR */
  padding: .5em 1em 0 0; /* LTR */
}

.views-exposed-form .views-exposed-widget .form-submit {
  margin-top: 1.6em;
}

.views-exposed-form .form-item,
.views-exposed-form .form-submit {
  margin-top: 0;
  margin-bottom: 0;
}

.views-exposed-form label {
  font-weight: bold;
}

.views-exposed-widgets {
  margin: 1em;
}

/* table style column align */
.views-align-left {
  text-align: left;
}
.views-align-right {
  text-align: right;
}
.views-align-center {
  text-align: center;
}

/* Remove the border on tbody that system puts in */
.views-view-grid tbody {
  border-top: none;
}

.view .progress-disabled {
  float: none;
}
