/* Fuentes personalizadas */
@font-face {
  font-family: "gandhi sans";
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/gandhi-sans.ttf), url(../fonts/gandhi-serif.eot);
}
@font-face {
  font-family: "gandhi sans";
  font-style: normal;
  font-weight: 700;
  src: url(../fonts/gandhi-bold-sans.ttf), url(../fonts/gandhi-bold-sans.eot);
}
@font-face {
  font-family: "gandhi serif";
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/gandhi-serif.ttf), url(../fonts/gandhi-serif.eot);
}
@font-face {
  font-family: "gandhi serif";
  font-style: normal;
  font-weight: 700;
  src: url(../fonts/gandhi-bold-serif.ttf), url(../fonts/gandhi-bold-serif.eot);
}

/* Estilos base */
body, h1, h2, h3, h4, h5, h6 {
  font-family: 'gandhi serif', georgia !important;
}

/*body a {font-size: 1.1em; color:#031c26 !important;}*/

input, button {
  border-radius: 4px !important;
}

label {
  font-size: 1rem;
}

/* Estilos de imágenes */
img.is-64x64 {
  height: 64px;
  width: 64px;
}

img.is-rounded {
  border-radius: 290486px;
}

img.category {
  height: 120px;
  width: 120px;
  border-radius: 50%;
  margin: 0;
  text-align: center !important;
}


.image.is-128x128 {
  height: 128px;
  width: 128px;
}

.list_img {
  max-width: 10%;
}

.img-recommend {
  max-width: 20%;
  height: auto;
  margin-right: 0.4em;
  margin-bottom: 2em;
  border-radius: 4px;
}

.imagen-borde-texto {
  float: left;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  clip-path: circle(40% at 50% 50%);
}

.imagen-bordeada {
  float: left;
  width: 300px;
  height: 300px;
  margin-right: 20px;
  object-fit: cover;
  margin-top: 3em;
}

.imagen-bordeada-redonda {
  float: left;
  width: 200px;
  height: 200px;
  shape-outside: circle(50%);
  border-radius: 50%;
  margin-right: 20px;
  object-fit: cover;
  border: 3px solid #333;
  margin-top: 3em;
}

/* Estilos de texto */
em.category {
  float: right;
  font-size: 70%;
}

.texto-largo {
  text-align: justify;
  line-height: 1.6;
}

.errorlist {
  color: hsl(348, 100%, 61%);
}

/* Títulos y subtítulos */
.title, .subtitle {
  word-break: break-word;
}

.title em, .title span, .subtitle em, .subtitle span {
  font-weight: inherit;
}

.title sub, .subtitle sub {
  font-size: 0.75em;
}

.title sup, .subtitle sup {
  font-size: 0.75em;
}

.title .tag, .subtitle .tag {
  vertical-align: middle;
}

.title {
  color: #363636;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.125;
}

label.title {
  color: #363636;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.125;
}

.title strong {
  color: inherit;
  font-weight: inherit;
}

.title + .highlight {
  margin-top: -0.75rem;
}

.title:not(.is-spaced) + .subtitle {
  margin-top: -1.25rem;
}

.title.is-1 { font-size: 3rem; }
.title.is-2 { font-size: 2.5rem; }
.title.is-3 { font-size: 2rem; }
.title.is-4 { font-size: 1.5rem; }
.title.is-5 { font-size: 1.25rem; }
.title.is-6 { font-size: 1rem; }
.title.is-7 { font-size: 0.75rem; }

.subtitle {
  color: #4a4a4a;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.25;
}

.subtitle strong {
  color: #363636;
  font-weight: 600;
}

.subtitle:not(.is-spaced) + .title {
  margin-top: -1.25rem;
}

.subtitle.is-1 { font-size: 3rem; }
.subtitle.is-2 { font-size: 2.5rem; }
.subtitle.is-3 { font-size: 2rem; }
.subtitle.is-4 { font-size: 1.5rem; }
.subtitle.is-5 { font-size: 1.25rem; }
.subtitle.is-6 { font-size: 1rem; }
.subtitle.is-7 { font-size: 0.75rem; }

/* Layout y contenedores */
.box {
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 0.5em 1em -0.125em rgba(255, 255, 255, 0.1), 0 0px 0 1px rgba(255, 255, 255, 0.02);
  color: #4a4a4a;
  display: flex;
  padding: 1.25rem;
  opacity: 0.9;
}

.box:not(:last-child) {
  margin-bottom: 1.5rem;
}

.box.opaco1 {
  opacity: 1;
}

a.box:hover, a.box:focus {
  box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0 0 1px #3273dc;
}

a.box:active {
  box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.2), 0 0 0 1px #3273dc;
}

.card {
  min-width: 8em;
  border-radius: 4px;
}

.img-texto {
  overflow: auto;
  margin-bottom: 2em;
}

.img-texto img {
  float: left;
  margin-right: 1em;
  margin-bottom: 0.5em;
}

.img-texto p {
  margin: 0;
}

/* Elementos específicos */
#irarriba {
  bottom: 50px;
  height: 50px;
  opacity: 0.5;
  overflow: hidden;
  padding: 3px;
  position: fixed;
  right: 7px;
  width: 46px;
  z-index: 3000;
}

#iimgdialog {
  overflow-y: auto;
  max-height: 80vh;
}

/* Fondos */
.banner-bd, .fondo-bd, .fondo-bg {
  background: url("../images/app/fondo.jpg") fixed center center / cover rgba(0, 0, 0, 0);
}

.bd-notice {
  background-color: #00d1b2;
  padding: 1em;
}

.bd-notice-body {
  align-items: center;
  display: flex;
  justify-content: center;
}

/* Utilidades */
.is-opaco {
  opacity: 0.9;
}

.no-border {
  border: 0px solid #dbdbdb !important;
}

.is-rounded-4px {
  border-radius: 4px !important;
}

.is-rounded-6px {
  border-radius: 6px !important;
}

/* Editor */
ul.redactor .button {
  margin: 1px;
  border-radius: 4px;
}

.editor-container {
  margin-bottom: 20px;
  white-space: pre;
}

.editor {
  width: 100%;
  min-height: 100px;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px;
  font-size: 16px;
  outline: none;
  /*white-space: pre-wrap;*/
  background-color: #fff;
  /*white-space: pre;*/
}

.info-area {
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  color: #333;
}

.info-area.error {
  color: red;
}

/* Tablas */
table {
  width: 100%;
  table-layout: fixed;
}

th, td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.highlight {
  background-color: rgb(243, 242, 247);
  font-weight: bold;
  color: black;
}

.highlight-row {
  background-color: #e6f7ff;
}

.highlight-col {
  background-color: #e6f7ff;
}

.row-count {
  background-color: #f9f9f9;
  font-weight: bold;
  text-align: center;
}

.highlight-match {
  background-color: rgb(217, 216, 245);
}

/* Resaltado especial */
.highlight {
  outline: 2px solid red !important;
  position: relative;
}

img.highlight {
  outline-offset: 5px;
}

.tag-label {
  position: absolute;
  top: -20px;
  left: 0;
  background: red;
  color: white;
  font-family: monospace;
  font-size: 12px;
  padding: 2px 5px;
  border-radius: 3px;
  z-index: 1000;
  pointer-events: none;
}

/* Barra superior */
.top-bar, .top-bar ul {
  background-color: #ffffff;
}

/* Títulos de sección */
.section-title {
  position: relative;
  text-transform: uppercase;
  margin-bottom: 30px;
  letter-spacing: 0.06em;
}

.section-title::before {
  position: absolute;
  left: 0;
  bottom: -8px;
  content: "";
  height: 2px;
  width: 60px;
  background-color: #f4a261;
}

/**/

.menu.a-negritas a {color:#4a4a4a;}

blockquote, blockquote p {
  line-height: 1.6;
  color: inherit;
}
blockquote {
  margin: 0 0 1rem;
  padding: .5625rem 1.25rem 0 1.1875rem;
  border-left: 0px solid #cacaca;
}
