/***** LabPro Legacy Styles (extracted from labpro_responsive.css) *****
 *  Styles not related to tables: carousel, events, dashboard, portal,
 *  panels, containers, filters, dropdowns, interesting sites.
 *  These were historically bundled with labpro_responsive.css
 *  and are provided here for backward compatibility.
 */

/* html5 for older browsers */
article, aside, details, figcaption, figure, footer, header,
hgroup, menu, nav, section { display: block; }

.activity-container {
  margin: 5px 0;
  background-color: rgb(255, 255, 255);
  box-shadow: 0 0 5px rgba(51, 51, 51, 0.7);
  padding: 10px 5px 5px 5px;
}
.activity-name { padding-left: 10px; padding-right: 10px; }

.bs-form-box {
  border: 1px solid #eee;
  border-top-color: #e5e5e5;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05) inset;
  padding: 45px 15px 15px;
  position: relative;
  border-radius: 4px;
}
.bs-title {
  color: #959595;
  font-size: 12px;
  font-weight: 700;
  left: 15px;
  letter-spacing: 1px;
  position: absolute;
  text-transform: uppercase;
  top: 15px;
}

.col-activity {
  height: 100px;
  overflow: hidden;
  margin: 0;
  background-color: rgb(255, 255, 255);
  box-shadow: 0 0 5px rgba(51, 51, 51, 0.7);
  padding: 15px;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1,
.col-xs-2, .col-sm-2, .col-md-2, .col-lg-2,
.col-xs-3, .col-sm-3, .col-md-3, .col-lg-3,
.col-xs-4, .col-sm-4, .col-md-4, .col-lg-4,
.col-xs-5, .col-sm-5, .col-md-5, .col-lg-5,
.col-xs-6, .col-sm-6, .col-md-6, .col-lg-6,
.col-xs-7, .col-sm-7, .col-md-7, .col-lg-7,
.col-xs-8, .col-sm-8, .col-md-8, .col-lg-8,
.col-xs-9, .col-sm-9, .col-md-9, .col-lg-9,
.col-xs-10, .col-sm-10, .col-md-10, .col-lg-10,
.col-xs-11, .col-sm-11, .col-md-11, .col-lg-11,
.col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
  padding-left: 4px;
  padding-right: 4px;
}

/* DASHBOARD */
table.dashboard td { text-align: center; vertical-align: middle; padding: 1px; }
table.dashboard {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
  background-color: transparent;
  border-spacing: 0;
  border-collapse: collapse;
}
.dashboard-highchart-graphic { max-width: 98%; margin: 0 auto; }

@media screen and (max-width: 899px) {
  .dashboard-highchart-graphic, .dashboard-table-graphic { min-width: 99% !important; }
}

/* DropDown user menu */
.dropdown-menu-inverse {
  background-image: linear-gradient(to bottom, #3c3c3c 0px, #222 100%);
  background-repeat: repeat-x;
}
.dropdown-menu-inverse > li > a { text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); color: #9d9d9d; }
.dropdown-menu-inverse .divider { background-color: #080808; height: 1px; margin: 9px 0; overflow: hidden; }
.dropdown-menu-inverse > li > a:hover { color: #fff; }

/* Events */
.event-list { list-style: none; margin: 0px; padding: 0px; }
.event-list > li {
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 0px 5px rgba(51, 51, 51, 0.7);
  padding: 0px;
  margin: 0px 0px 15px;
}
.event-list > li.cal-day { margin-bottom: 5px; }
.event-list > li > time {
  display: inline-block;
  width: 100%;
  color: rgb(255, 255, 255);
  background-image: linear-gradient(to bottom, #3c3c3c 0px, #222 100%);
  background-repeat: repeat-x;
  padding: 5px;
  text-align: center;
  text-transform: uppercase;
  font-family: 'Lato', sans-serif;
}
.event-list > li > time > span { display: none; }
.event-list > li > time > .day { display: block; line-height: 1; }
.event-list > li time > .month { display: block; font-weight: 900; line-height: 1; padding: 10px; }
.event-list > li > img { width: 100%; }
.event-list > li > .info { padding: 5px; text-align: center; }
.event-list > li > .info > .title { font-size: 17pt; font-weight: 700; margin: 0px; }
.event-list > li > .info > ul,
.event-list > li > .social > ul { display: table; list-style: none; margin: 10px 0px 0px; padding: 0px; width: 100%; text-align: center; }
.event-list > li > .social > ul { margin: 0px; }
.event-list > li > .info > ul > li,
.event-list > li > .social > ul > li { display: table-cell; cursor: pointer; color: rgb(30, 30, 30); font-size: 11pt; font-weight: 300; padding: 3px 0px; }
.event-list > li > .info > ul > li > a { display: block; width: 100%; color: rgb(30, 30, 30); text-decoration: none; }
.event-list > li > .social > ul > li { padding: 0px; }
.event-list > li > .social > ul > li > a { padding: 3px 0px; }
.event-list > li > .info > ul > li:hover,
.event-list > li > .social > ul > li:hover { color: rgb(30, 30, 30); background-color: rgb(200, 200, 200); }

@media (min-width: 768px) {
  .event-list > li { width: 100%; padding: 0px; }
  .event-list > li > time,
  .event-list > li > img { display: inline-block; width: 100%; padding: 0px; margin: 0px; }
  .event-list > li > .info { background-color: rgb(245, 245, 245); overflow: hidden; position: relative; text-align: left; padding: 15px; }
  .event-list > li > .info > ul { position: absolute; left: 0px; bottom: 0px; }
  .event-list > li > .info > p { padding: 5px; text-align: justify; }
}

/* Filters */
.filters select { width: 100%; }
.filters select.lab-date, .filters input.lab-date { width: 90%; }
fieldset#filters td.values select { max-width: 300px !important; }
@media screen and (max-width: 768px) { .filters input { width: 100%; } }

.jumbotron-container { margin-top: 60px; }
.label-field-param { margin-bottom: 5px; }
.navbar-logo { padding: 5px 15px; }
.navbar-main-menu { margin-bottom: 0; }
.navbar-static-top { border-width: 0 0 2px; }

/* LAB PANEL */
.lab-dashboard-container { margin: 0.1rem; }
.lab-item-panel { text-align: left; padding: 0.05em 0.7em 0.05em 1em !important; }

/* Standard panel header for all plugins: no background color, bold text */
.panel > .panel-heading,
.lab-panel-heading {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  padding-top: 2px !important;
  font-weight: 700 !important;
}
.panel > .panel-heading h1,
.panel > .panel-heading h2,
.panel > .panel-heading h3,
.panel > .panel-heading h4,
.panel > .panel-heading .lab-item-name { font-weight: 700 !important; }

.lab-panel { box-shadow: none !important; }
.lab-panel:hover { z-index: 1; }
.twbs .panel-body.lab-panel-body { padding-top: 0.3rem !important; min-height: 63px; padding-left: 15px; padding-right: 15px; padding-bottom: 15px; }

.twbs .panel-body.lab-compact-container-panel,
.twbs .lab-compact-container-panel { height: 55px; overflow: auto; padding: 15px; }
.twbs .panel-body.lab-short-compact-container-panel,
.twbs .lab-short-compact-container-panel { height: 75px; overflow: auto; padding: 15px; }
.twbs .panel-body.lab-short-container-panel,
.twbs .lab-short-container-panel { height: 100px; overflow: auto; padding: 15px; }
.twbs .panel-body.lab-small-container-panel,
.twbs .lab-small-container-panel { height: 148px; overflow: auto; padding: 15px; }
.twbs .panel-body.lab-container-panel,
.twbs .lab-container-panel { height: auto; padding: 15px; }
.twbs .panel-body.lab-almost-large-container-panel,
.twbs .lab-almost-large-container-panel { height: 225px; overflow: auto; padding: 15px; }
.twbs .panel-body.lab-large-container-panel,
.twbs .lab-large-container-panel { height: 252px; overflow: auto; padding: 15px; }
.twbs .panel-body.lab-little-large-container-panel,
.twbs .lab-little-large-container-panel { height: 300px; overflow: auto; padding: 15px; }
.twbs .panel-body.lab-very-large-container-panel,
.twbs .lab-very-large-container-panel { height: 325px; overflow: auto; padding: 15px; }
.twbs .panel-body.lab-almost-huge-container-panel,
.twbs .lab-almost-huge-container-panel { height: 390px; overflow: auto; padding: 15px; }
.twbs .panel-body.lab-huge-container-panel,
.twbs .lab-huge-container-panel { height: 415px; overflow: auto; padding: 15px; }
.twbs .panel-body.lab-extra-huge-container-panel,
.twbs .lab-extra-huge-container-panel { height: 450px; overflow: auto; padding: 15px; }
.twbs .panel-body.lab-container-panel--board,
.twbs .lab-container-panel--board { height: 240px; overflow: auto; padding: 15px; }
.twbs .panel-body.lab-container-panel--tall,
.twbs .lab-container-panel--tall { height: 320px; overflow: auto; padding: 15px; }
.twbs .panel-body.lab-container-panel--medium,
.twbs .lab-container-panel--medium { height: 250px; overflow: auto; padding: 15px; }

/* FIX: scoped-twbs.css trae el clearfix doble-prefijado (.twbs .twbs .row:after)
   y nunca aplica; sin esto las tarjetas flotadas (.col-*) se enganchan/solapan */
.twbs .row::before,
.twbs .row::after { content: " "; display: table; }
.twbs .row::after { clear: both; }

/* FIX: separación vertical entre tarjetas (.twbs .panel tiene margin-bottom: 0 global) */
.twbs .item-list { margin-bottom: 15px; }

.lab-item-description { color: #337AB7 !important; padding: 0.3rem; font-size: 1em; margin-bottom: 0; text-align: justify; overflow: hidden; }
h4.lab-item-name {
  font-size: 1.3em; font-weight: 700; margin-bottom: 0.3em; height: 60px;
  display: flex; align-items: center; margin: 0; overflow: auto;
}
h4.lab-item-name input { margin: 0; }

.lab-wrapper { width: 100%; margin: 2em auto; text-align: left; }
.lab-flex { display: flex; width: 100%; }
.lab-retrieve { color: #333; }
.lab-retrieve-general { color: #333; width: 33%; }
.lab-retrieve-title { background: #889c9c; color: #fff; width: 33%; }
.lab-retrieve-identifier { background: #889c9c; color: #fff; width: 33%; }
.lab-retrieve-description { background: #889c9c; display: flex; flex-flow: column nowrap; align-items: flex-start; width: 33%; }
.lab-retrieve-icon { padding: 0; }
.lab-retrieve-panel-heading { padding-bottom: 2px !important; }

.modal-panel { margin-bottom: 0; }
.panel-body > p { text-align: left; }

/* PORTAL */
.portal-container { /*min-height: 500px;*/ }
h3.page-header { border-bottom: 1px solid #909090; }
.portal-container .panel, .thumbnail, .item-list { margin-bottom: 10px; }
.portal-navbar > li > a:hover { background-image: linear-gradient(to bottom, #337ab7 0px, #265a88 100%); background-repeat: repeat-x; border-color: #245580; }
.portal-navbar > li > .dropdown-menu { border-top-left-radius: 0; border-top-right-radius: 0; margin-top: 1px; }
.portal-caption { background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0; bottom: 0; color: white; height: auto; padding: 0 15px; position: absolute; width: 100%; }
.portal-caption > h3 { margin-top: 10px; margin-bottom: 10px; }
.portal-caption-container { height: 50px; }

.requests-badges { padding: 2px 7px; }
.resource-block { margin-bottom: 10px; }

.rotate_loading { display: none; position: fixed; opacity: 0.8 !important; height: 100%; width: 100%; background: transparent url("/assets/plugin_assets/labpro_errors/ajax-loader-f1b9b97b.gif") 50% 50% no-repeat; }

/* Interesting sites */
.site-description { color: #a6a6a6; text-align: center !important; font-size: 1.1em; font-style: italic; margin: 0; padding: .5em .5em 0 0; }
div.siteLink:hover { cursor: pointer; opacity: .8; }
a.siteLink { position: relative; width: 100%; height: 100%; top: 0; left: 0; text-decoration: none; }

/* Menu button */
.labpro_butn_menu_portal { background: transparent; border: none; color: #fff; margin: 1.5rem; }

.twbs .panel { margin-bottom: 0 !important; }

/* Logo */
@media (max-width: 768px) { .logo { max-height: 100%; max-width: 100%; } .col-request { padding-left: 10px; padding-right: 10px; } }
@media (min-height: 768px) { .logo { max-height: 100px; max-width: 100px; } .col-request { padding-left: 3px; padding-right: 3px; } }

/* CAROUSEL (Bootstrap overrides) */
.carousel-indicators { bottom: 50px; }
.carousel-indicators .active { border: 2px solid #016cbe; background-color: #016cbe; height: 40px; margin: 0; width: 40px; }
.carousel-indicators li { border: 2px solid #efefef; background-color: #efefef; cursor: pointer; display: inline-block; height: 30px; margin: 1px; text-indent: -999px; width: 30px; border-radius: 50%; }
.carousel-indicators li > img { height: 30px; width: 30px; display: block; max-height: 100%; max-width: 100%; }
.carousel-indicators li.active > img { height: 40px; width: 40px; display: block; max-height: 100%; max-width: 100%; }

.list_carousel { margin-left: -10px; margin-bottom: 20px; }
.list_carousel ul { margin: 0; padding: 0; list-style: none; display: block; }
.list_carousel li { width: 25%; display: block; float: left; margin-left: 10px; cursor: default !important; height: auto; }
.list_carousel.responsive { width: auto; margin-left: -10px; }
.clearfix { float: none; clear: both; }
.list_carousel .carousel_nav { position: absolute; padding-right: 11px; right: 0; top: -52px; background: #fff; padding-left: 5px; }
a.prev, a.next { width: 24px; height: 24px; display: block; position: relative; float: left; margin-left: 3px; background-clip: padding-box; }
a.prev:hover, a.next:hover { background-color: #0E8FAB; }
a.prev { background-position: -2px 0; }
a.prev.disabled { background-color: #555; }
a.next { background-position: -22px 0; }
a.next.disabled { background-color: #555; }
a.prev.disabled, a.next.disabled { cursor: default; }
a.prev span, a.next span { display: none; }
.pager { float: left; width: 300px; text-align: center; }
.pager a { margin: 0 5px; text-decoration: none; }
.pager a.selected { text-decoration: underline; }
.timer { background-color: #999; height: 6px; width: 0px; }
.testimonials .list_carousel li { width: 330px; }
.carousel-content { float: left; width: 100%; }
.featured-projects { background: #fff; font-size: 12px; box-shadow: 0 1px 3px rgba(34, 25, 25, 0.4); text-align: center; overflow: hidden; position: relative; transition: all 1s ease-in-out; border: 1px solid #eee; border-bottom: double #ddd; }
.featured-projects-image { padding: 0px; }
.featured-projects-image img { box-sizing: content-box; }
.featured-projects-image a { display: block; }
.featured-projects-content { padding: 0 10px; }
.featured-projects-content p { margin-bottom: 10px; }
.featured-projects-content h1 { font-size: 13px; line-height: 1; font-family: OpenSansRegular; font-weight: bold; }
.featured-projects-content h1 a { padding-bottom: 10px; border-bottom: 1px solid #eee; display: block; color: #222; }
.small { font-size: 12px; }

.testimonials .list_carousel li { width: 330px; }
