@charset "utf-8";

/* ****************************************************************************
 * Search WIDGET
 *
 * Defines the following elements:
 *   - tm-cercador {tm-cercador-capcalera}
 *     # <form>
 *       + form-item
 *         $ form-text
 *       + <input[type="submit"]>
 *
 * ****************************************************************************
 */



/*
 * Search
 * ****************************************************************************
 */
.tm-cercador input[type="submit"] {
  font-family           : 'FontAwesome';
  width                 : auto;
  margin                : 0px 0px 0px 0px;
  padding               : 4px 15px 3px 15px;
}

.tm-cercador {
  float                 : right;
  margin                : 1px 0px 0px 6px;
}

.tm-cercador form {
  position              : relative;
}

.tm-cercador .form-item {
  width                 : auto;
  margin                : 0px 0px 0px 0px;
  padding               : 0px 0px 0px 0px;
  position              : relative;
}

.tm-cercador .form-text {
  float                 : left;
  padding               : 0px 6px 0px 6px;
}



/*
 * Search API
 * ****************************************************************************
 */
.tm-top-menu .block-search-api-page .form-type-textfield {
  width                 : 130px;
  margin-bottom         : 0px;
}



/*
 * Search box on sidebar
 * ****************************************************************************
 */
.tm-zone-sidebar > ul > li.tm-cercador-lateral .tm-widget-content {
  padding               : 10px 15px 10px 15px;
}

.tm-cercador.tm-cercador-lateral {
  background-color      : #000000;
}

.tm-cercador.tm-cercador-lateral form {
  margin-bottom         : 15px;
}

.tm-cercador.tm-cercador-lateral .tm-region-title {
  color                 : #FFFFFF;
  font-family           : 'Arimo', sans-serif;
  font-size             : 16px;
  font-weight           : normal;
  margin                : 0px 0px 3px 0px;
}

.tm-cercador.tm-cercador-lateral input[type="submit"] {
  background-color      : transparent;
  box-shadow            : 0 0px 0px rgba(0, 0, 0, 0);
  color                 : #000000;
  font-size             : 16px;
  font-weight           : normal;
  position              : absolute;
  bottom                : 8px;
  right                 : 6px;
  padding               : 0px 0px 0px 2px;
}

.tm-cercador.tm-cercador-lateral .form-item {
  float                 : none;
}

.tm-cercador.tm-cercador-lateral .form-text {
  float                 : none;
  font-size             : 16px;
  padding               : 6px 6px 6px 6px;
}

.tm-cercador.tm-cercador-lateral input[type="submit"] {
  float                 : none;
}



/*
 * Search results form
 * ****************************************************************************
 */
.tm-zone-content-main #search-api-page-search-form .form-item {
  display               : inline;
}

.tm-zone-content-main #search-api-page-search-form .form-text {
  display               : inline;
  line-height           : 1.8em;
}

.tm-zone-content-main #search-api-page-search-form .form-submit {
  display               : inline;
  margin-top            : 0px;
}

.tm-search-page-results .search-performance {
  font-family           : 'Arimo', sans-serif;
  font-size             : 16px;
  margin                : 20px 0px 20px 0px;
  padding               : 0px;
}



/*
 * Articles Teaser list
 * Overrides de tm_layout_region_node_list.css
 * ****************************************************************************
 */
.tm-region-node-list.tm-search-results {
  margin-bottom         : 20px;
}

.tm-region-node-list.tm-search-results .tm-region-node-item {
  border-top            : 1px solid black;
  border-bottom         : 0px none;
  padding-bottom        : 15px;
  margin                : 0px 0px 0px 0px;
}

.tm-region-node-list.tm-search-results .tm-region-node-item:last-child {
  border-bottom         : 1px solid black;
}

.tm-region-node-list.tm-search-results .tm-float-left {
  width                 : 427px;
}

.tm-region-node-list.tm-search-results .tm-float-right {
  width                 : 427px;
}

.tm-region-node-list.tm-search-results .tm-region-node-item-left {
  display               : block;
  vertical-align        : top;
  width                 : 100%;
}

.tm-region-node-list.tm-search-results .tm-region-node-item-left + .tm-region-node-item-right {
  display               : block;
  vertical-align        : initial;
  width                 : 100%;
}

.tm-region-node-list.tm-search-results .tm-region-node-item-left + .tm-region-node-item-right .tm-region-node-item-container {
  margin                : 0px 0px 0px 0px;
}

.tm-region-node-list.tm-search-results .tm-region-title {
  margin                : 0px 0px 5px 0px;
  padding               : 0px 0px 0px 0px;;
}

.tm-region-node-list.tm-search-results .tm-region-title h3,
.tm-region-node-list.tm-search-results .tm-region-title h3 a {
  font-family           : 'Arimo', sans-serif;
  font-size             : 21px;
  line-height           : 1em;
  margin                : 0px 0px 0px 0px;
  padding               : 0px 0px 0px 0px;
}

.tm-region-node-list.tm-search-results .tm-search-meta-author {
  font-family           : 'Arimo', sans-serif;
  font-size             : 12px;
  line-height           : 1.1em;
}
.tm-region-node-list.tm-search-results .tm-search-meta-date {
  color                 : #9E9E9E;
  font-family           : 'Arimo', sans-serif;
  font-size             : 10px;
  line-height           : 1.1em;
}

.tm-region-node-list.tm-search-results .tm-node-body {
  margin-top            : 10px;
  margin-bottom         : 0px;
}

.tm-region-node-list.tm-search-results .tm-node-body p:last-child {
  padding-bottom        : 0px;
}



/*
 * Articles Teaser list in Taxonomy Term page
 * Overrides de tm_layout_region_node_list.css
 * ****************************************************************************
 */
.taxonomy-term .tm-region-node-list.tm-search-results > .view-content {
  display               : flex;
  flex-direction        : row;
  flex-wrap             : wrap;
  justify-content       : space-between;
  margin                : 0 -10px;
}

.taxonomy-term .tm-region-node-list.tm-search-results .view-content .views-row {
  width                 : 427px;
  padding               : 0 10px;
}

.taxonomy-term .tm-region-node-list.tm-search-results .tm-region-node-item {
  width                 : 427px;
}



/*
 * Articles Teaser list - Article Media
 * ****************************************************************************
 */
.tm-region-node-list.tm-search-results .tm-node-media-wrapper {
  display               : block;
  float                 : none;
  max-width             : none;
  width                 : 100%;
  margin-bottom         : 10px;
}

.tm-region-node-list.tm-search-results .tm-image-authored-wrapper {
  float                 : none;
  padding               : 0px 0px 0px 0px;
  max-width             : none;
  width                 : 100%;
}

.tm-region-node-list.tm-search-results .tm-image-authored-wrapper img {
  width                 : 100%;
}

.tm-region-node-list.tm-search-results .tm-node-author {
  margin-bottom         : 5px;
}



/*
 * Articles Teaser list in full width presentation
 * Overrides de tm_layout_region_node_list.css
 * ****************************************************************************
 */
.tm-region-node-list.tm-region-node-list-full-width.tm-search-results .tm-region-node-item {
  padding               : 25px 0px 25px 0px;
}

.tm-region-node-list.tm-region-node-list-full-width.tm-search-results .tm-region-node-item-left {
  float                 : left;
  max-width             : 260px;
}

.tm-region-node-list.tm-region-node-list-full-width.tm-search-results .tm-region-node-item-left + .tm-region-node-item-right {
  float                 : right;
  width                 : 600px;
}



/*
 * Articles Teaser list in full width presentation - Article Media
 * ****************************************************************************
 */
.tm-region-node-list.tm-region-node-list-full-width.tm-search-results .tm-node-media-wrapper {
  margin-bottom         : 0px;
}



/*
 * Google CSE Search
 * ****************************************************************************
 */

.html .gsc-input-box {
  border                : 0px none;
  height                : auto;
}

/*
 * This table contains the input element as well as the search button
 * Note that the search button column is fixed width, designed to hold the
 * button div's background image
 */

.html td.gsc-search-button {
  width                 : auto;
}

.html td.gsc-clear-button {
  display               : none;
}

/**
 * Table cell containing the search input.
 * 12 pixels added to account for the horizontal padding on the input.
 */
.html .cse table.gsc-search-box td.gsc-input,
.html table.gsc-search-box td.gsc-input {
  padding-right         : 0px;
}

/* Search input */
.html .cse input.gsc-input,
.html input.gsc-input {
  float                 : left;
  border                : 1px solid #E5E5E5 !important;
  background            : none !important;
  box-sizing            : border-box;
  font-size             : 14px;
  padding               : 0px 6px 0px 6px !important;
  width                 : 130px !important;
}

.html .gsc-input-box .gsib_b {
  display               : none !important;
}

/* Search button */
.html .cse input[type="image"].gsc-search-button,
.html input[type="image"].gsc-search-button {
  background-image      : none;
  padding               : 5px 15px 5px 15px;
}

/* Search button */
.html .cse input.gsc-search-button,
.html input.gsc-search-button {
  float                 : left;
  background-color      : #E53E43;
  border                : 0px none;
  -webkit-border-radius : 0px 0px 0px 0px;
     -moz-border-radius : 0px 0px 0px 0px;
          border-radius : 0px 0px 0px 0px;
  color                 : #FFFFFF;
  font-family           : 'FontAwesome';
  width                 : auto;
  margin                : 0px 0px 0px 0px;
  padding               : 4px 15px 3px 15px;
  min-width             : auto;
  height                : auto;
}

/* Selector for entire element. */
.html .cse .gsc-control-cse,
.html .gsc-control-cse {
  border                : 0px none;
  font-family           : 'Arimo', sans-serif;
  font-size             : 14px;
  padding               : 0;
}

.html .gsc-control-cse .gsc-table-result {
  font-family           : 'Arimo', sans-serif;
  font-size             : 14px;
}
/* Search form */
.html .cse form.gsc-search-box,
.html form.gsc-search-box {
  font-size             : 14px;
  padding               : 0;
  margin                : 0;
}

/* Tables */
.html .gsc-control-cse table td {
  border                : 0px none;
}

/* Search form table */
.html .gsc-search-box table td {
  border                : 0px none;
  padding               : 0;
}

