
.right {
  float: right;
}

.left {
  float: left;
}

#journal-paper-title {
  margin-top: 0;
}

/* fixing breaks around releated measure years in RHS margin of measure nodes and resolution nodes */
#sidebar-right .block .view-related-measures-and-resolutions span.date-display-single {
  margin: 0 0 1.25em;
  display: inline;
}


/*Measure/Resolution Tweaks - TH 2012-05-23*/
.ccamlr-mesres-node #sidebar-right .block h2,
#block-ccamlr-mesres-continuum h3 {
  font-weight: bold;
  font-size: 1.0em;
  margin:0;
  padding:0;
  color: inherit;
  background: none;
  text-shadow: none;
}

.ccamlr-mesres-node #sidebar-right .block div.block-sub-head {
  font-size: 0.9em;
  font-weight: 300;
}

.view-measures-and-resolutions .views-submit-button,
.view-measures-and-resolutions #edit-ccamlr-season-wrapper,
.view-measures-and-resolutions #edit-type-2-wrapper{
  clear:left;
}

#edit-field-adopted-year-value-value div.description {
  width:169px;
}

.mesres_closed {
  color:#E92F2F;
  font-weight: bold;
}

/* layout of form on compliance/cds_exports */
#ccamlr-cds-date-range-form .container-inline-date {
  display: inline;
}

#ccamlr-cds-date-range-form .container-inline-date .date-padding {
  padding: 0px;
}

#ccamlr-cds-date-range-form #edit-submit {
  margin-top: 20px;
}

#ccamlr-cds-date-range-form .form-item-country {
  display: inline-block;
}

#ccamlr-cds-date-range-form select {
  font-size: inherit;
  margin: 0px;
}

/* Fix for white-on-white table header text on Features admin pages
   Example: /admin/structure/features/ccamlr_roles_and_permissions/recreate */
.features-export-form th {
  background: #555;
}

/* Tabs on vessel node pages and organisation node pages */
.quicktabs-ui-wrapper {
  padding: 0;
  margin-top: 20px;
  min-height: 300px;
  font-size: 11px;
  clear: both;
  width: 725px;
}

.quicktabs-ui-wrapper .ui-tabs-nav {
  padding: .6em 1em 0;
  border: 0;
}

.quicktabs-ui-wrapper .ui-tabs-nav li a {
  padding: 0.5em;
}

.quicktabs-ui-wrapper .views-empty {
  padding: 10px;
}

.quicktabs-ui-wrapper table {
  margin-bottom: 0;
}

/* Hide block titles only after tabs have been activated, so the content looks decent without JS */
.quicktabs-ui-wrapper .ui-tabs-panel h2 {
  display: none;
}

.quicktabs-ui-wrapper th {
  font-weight: normal;
}

/* Links underneath tables in vessel tabs */
.vessel-action {
  line-height: 30px;
}

/* Geofield widget as seen on: /node/add/vessel-transhipment and node/add/sar-request */
.field-widget-ccamlr-coordinates {
  margin-bottom:3em;
  margin-top:2em;
}

.field-widget-ccamlr-coordinates .longitude-wrapper,
.field-widget-ccamlr-coordinates .latitude-wrapper {
  clear:both;
}

.field-widget-ccamlr-coordinates .minutes {
  margin-top:1.75em;
}

.field-widget-ccamlr-coordinates .form-item {
  float:left;
  width:50px;
  margin-right:1em;
}

.field-widget-ccamlr-coordinates .form-wrapper {
  margin-bottom: 0.5em;
}

.field-widget-ccamlr-coordinates .description {
  clear:both;
  font-size: 0.85em;
}

/* Override user.css on node/add/meeting-registration */
#edit-profile-view .profile {
  clear: none;
}

/* Tables on meeting attendees list pages */
.meeting-attendees .views-field-field-lastname {
  width: 30%;
}
.meeting-attendees .views-field-field-photo {
  width: 50px;
  text-align: right;
}
.meeting-attendees .attendee-name {
  margin-bottom: 0.5em;
}

/* Make column widths sane by allowing cells with nested tables to be scrollable */
.view-compliance-events .views-field-field-event-description,
.view-compliance-events .views-field-field-response,
.view-compliance-events .views-field-field-scic-response {
  min-width: 260px;
}
.view-compliance-events table .wrapper {
  overflow-x: auto;
  width: 260px;
}

/* Draggable Views prepends unwanted indentation elements to views tables
   whenever a view involves a Draggable Views handler. */
.no-indent .indentation {
  display: none;
}

/* Make huge agenda autocompletes (node/add/meeting-document) more manageable */
.field-name-field-agenda-item #autocomplete {
  max-height: 350px;
  overflow-y: scroll;
}

.form-item-field-active-period-und-0-show-todate {
  display: none;
}


/* Hide filter tips on vessel node forms */
.node-vessel-form .filter-wrapper {
  display: none;
}

/* "Document" and "History" tabs on measure and resolution nodes */
.mesres-tabs {
  margin-top: 2em;
  overflow: hidden;
}
.mesres-tabs-725 {
  width: 725px;
}
.mesres-tabs .fieldset-wrapper {
  margin-top: 0;
}
/* Need high specificity to override these */
#main-content .mesres-tabs .selected a,
#main-content .mesres-tabs .selected a:active,
#main-content .mesres-tabs .selected a:hover {
  background: #fff;
  border: 0;
  outline: 0;
}
#main-content .mesres-tabs .horizontal-tab-button a {
  padding: 0.75em 1em 0.5em;
  text-decoration: none;
}

.region-footer-menu h2 {
  display: none;
}

/* Fieldsets have been removed for these date fields */
.node-siso_observed_cruise-form .form-item .date-padding,
.node-siso_deployment-form .form-item .date-padding,
.node-fishery_report-form .form-item .date-padding,
.field-name-field-effective-from-date .date-padding,
.field-name-field-effective-to-date .date-padding {
  padding: 0;
}

/* The word "and" between start and end date filters */
.view-siso-deployments #edit-start-date-wrapper .field-suffix {
  display: inline-block;
  padding: 4px 0 0 8px;
}

/* Adjust vertical alignment for lack of a label element */
.view-siso-deployments #edit-end-date-value {
  padding-top: 18px;
}

.view-siso-deployments .views-submit-button {
  clear: both;
}

#sidebar-right #block-ccamlrdms-submit-meeting-document {
  background: none;
  padding: 0;
}

#block-ccamlrdms-submit-meeting-document .button {
  display: block;
  margin: 0;
}

.node-meeting_document-form #edit-field-agenda-item select {
  width: 100%;
}

/** help text on body fields **/
.text-format-wrapper .description {
  font-size: 0.85em;
}

/* fishery notifications view has additional output added to vessel
field to force pivot uniqueness across vessel + member. Don't want this visible
though */
.unique-pivot {
  display: none;
}

/* On the agenda page we avoid using sidebars so the agenda table can fill
   the page width. http://team.eightyoptions.com.au/ccamlr/node/711449 */
.page-agenda .region-content {
  position: relative;
}
.page-agenda #agenda-parent-node {
  margin-right: 185px;
}
.page-agenda #block-ccamlr-agenda-view-admin-links {
  position: absolute;
  top: 0;
  right: 0;
  width: 145px;
  padding: 25px 15px 10px;
  background: #eee;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -khtml-border-radius: 5px;
  border-radius: 5px;
  z-index: 20;
}
/* Also clean up the padding and indentation of agenda numbers */
.page-agenda .view-meeting-agenda .views-field {
  padding-left: 10px;
  padding-bottom: 5px;
}
.page-agenda .view-meeting-agenda .indentation {
  float: none;
  display: inline-block;
}

/* File icons inserted by apachesolr_attachments */
.search-snippet > span {
  display: block;
  margin: 1em 0;
}


/* Need to be more specific to override here. */
#block-system-main .view-fishery-reports .views-table {
  width: 100%
}
.view-fishery-reports .views-field-title {
  width: 75%;
}

/* Effective dates on vessel gear collections */
.form-item-field-gr-date-effective-from-und-0-value .date-padding,
.form-item-field-gr-date-effective-from-und-0-value2 .date-padding{
  padding:0;
}
.form-item-field-gr-date-effective-from-und-0-show-todate {
  margin-bottom: 0;
}
.form-item-field-gr-date-effective-from-und-0-show-todate label {
  font-weight:normal;
  font-size:1em;
}

.view-compliance-events .show-on-print {
  display: none;
}

.page-node.node-type-compliance-event .filter-wrapper {
  padding: 0;
}

.view-measures-and-resolutions .vbo-fieldset-select-all {
  display: inline;
  position: static;
  margin-right: 10px;
}

#meeting_node_tabs {
  clear:both;
}