/**
 * @version 4.24.4
 * Date: 2024-05-14T19:36:39.852Z
 */
/* ==========================================================================
   Author's custom styles
   ========================================================================== */

#tp-news-and-photos-app {
  background-image: url(../background.png);
}

.esp-content {
    display: none !important;
}

html[lang="es"] .esp-content {
    display: inline !important;
}

html[lang="es"] .eng-content {
    display: none !important;
}

.header h1 {
  font-size: 22px;
  margin: 10px 0;
}

.header h1,
.embed-code label {
  color: #fff;
}

h2 {
 font-size: 16px;
 margin: 5px 0;
}

.syndicate h1 {
  margin-top: 0;
}

textarea {
    resize: none;
}

section {
  margin-bottom: 15px;
  clear: both;
}

section.header {
  position: relative;
}

section.header img {
  max-width: 100%;
}

section.header .vitalsigns {
  text-align: center;
}

section.view-selection,
section.footer-controls {
  margin-bottom: 0;
}

section.view-selection a {
  background-color: #eee;
  color: #555;
}

section.view-selection .btn-default,
section.view-selection .btn-default:active,
section.view-selection .btn-default:focus {
  background-image: none;
  background-color: #fff;
  border-bottom-color: #fff;
}

section.view-selection .btn.btn-default,
section.view-selection .btn.btn-primary {
  text-shadow: none;
}

section.results-media .btn-prev {
  border-top-left-radius: 0;
}

section.results-media .btn-next {
  border-top-right-radius: 0;
}

section .btn.disabled,
section .btn[disabled] {
  rgba(255,255,255,0.85);
}

html[lang="es"] .btn-primary.disclaimer {
  padding: 1px;
}

section.info,
section.disclaimer {
  font-size: 12px;
}

.content {
  background-color: #fff;
}

section.loader .content{
  text-align: center;
  padding: 35px 0;
}

section.embed-code label {
  color: #fff;
}

.container-main {
  opacity: 0;
}

.content-rss .article {
  margin: 0;
  padding:7px 0;
  border-bottom: 1px dotted #ccc;
}

.content-rss .article img {
    display: none;
}

.content-media p{
  padding: 5px;
}

.btn-news {
  border-bottom-left-radius: 0;
}
.btn-photos {
  border-bottom-right-radius: 0;
}

.scrollable {
  background-color: #fff;
  height: 450px;
  max-height: 450px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.scrollable ul {
    margin-left: 0 !important;
}

.scrollable .content {
  margin: 5px;
}

.media-controls {
  text-align: center;
  height: 35px;
}

.footer-controls {
  text-align: center;
}

.footer-controls img {
  display: inline-block;
  margin: 15px 0;
}

.results-media .content {
  background-color: #fff;
}

.results-media .content img {
  width: 100%;
  max-width: 100%;
}

.results-media .content .photo-box {
  position: relative;
  text-align: center;
}

.results-media .content .photo-box .img-more,
.results-media .content .photo-box .img-caption {
  position: absolute;
  max-height: 100%;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 5px 10px;

  overflow: hidden;
  overflow-y:auto;

  background-color: #fff;
  background:rgba(255,255,255,0.85);

  text-align: left;
}

.results-media .content .photo-box .img-more a {
  color: #000;
}

.results-media .content .photo-box .img-caption {
  display: none;
  padding: 5px 10px 0px 10px;
}
.results-media .content .photo-box.active .img-caption {
  display: block;
}
.results-media .content .photo-box.active .img-caption p {
  margin-bottom: 5px;
}
.results-media .content .photo-box.active .img-caption .btn-primary {
  margin-bottom: 5px;
}
.results-media .content .photo-box.active .img-more {
  display: none;
}

.results-media .content .photo-box.active .btn-more,
.results-media .content .photo-box.active .btn-less {
  display: block;
  text-align: right;
}

map area:focus {
  outline: none;
}

.photo-box:focus,
.btn-more:focus,
.btn-less:focus,
a.disclaimer:active:focus, a.disclaimer:focus,
img:active:focus, img:focus,
.btn:active:focus, .btn:focus,
map area:focus {
  outline: 1px solid orange;
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@media screen and (max-width: 540px) {
  .scrollable {
    height: 400px;
    max-height: 400px;
  }
}

.truncate {
  display: inline-block;
  width: 175px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media screen and (max-width: 335px) {
  .footer-controls .btn-group .btn.btn-primary {
    font-size: 11px;
  }

  html[lang="es"] .footer-controls .btn-group .btn.btn-primary:nth-child(1) {
    width: 20%;
  }

  html[lang="es"] .footer-controls .btn-group .btn.btn-primary:nth-child(2) {
    width: 35%;
  }

  html[lang="es"] .footer-controls .btn-group .btn.btn-primary:nth-child(3) {
    width: 25%;
    padding-left: 2px;
  }
}

@media screen and (max-width: 540px) {
  .scrollable {
    height: 400px;
    max-height: 400px;
  }
}

/* TRUNCATE STEPS */
@media screen and (min-width: 326px) {
    .truncate {
        width: 100%;
    }
}
@media screen and (min-width: 301px) and (max-width: 325px) {
    .truncate {
        width: 225px;
    }
}
@media screen and (min-width: 251px) and (max-width: 300px) {
    .truncate {
        width: 200px;
    }
}
@media screen and (min-width: 226px) and (max-width: 250px) {
    .truncate {
        width: 175px;
    }
}
@media screen and (min-width: 201px) and (max-width: 225px) {
    .truncate {
        width: 150px;
    }
}

/* STANDARD MODE */
@media screen and (min-width: 201px) {
    .mini-mode {
      display: none;
    }
    .standard-mode {
      display: block;
    }
}

/* MINI MODE */
@media screen and (max-width: 200px) {
    .container-fluid {
      padding-left: 8px;
      padding-right: 8px;
    }
    .mini-mode {
      display: block;
    }
    .standard-mode {
      display: none;
    }
    .results-media .content .photo-box .img-more {
      padding: 4px 3px;
      position: inherit;
    }
    .media-controls.btn-group .btn-group .btn {
      padding: 6px 4px;
    }
    .truncate {
      display: block;
      width: 100%;
      min-width: 100%;
      white-space: normal;
      text-align: center;
    }
}
