﻿/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}


.input-block-level {
    display: block;
    width: 100%;
    min-height: 28px; /* Make inputs at least the height of their button counterpart*/
}

.vertical-alignment-helper {
    display: table;
    height: 100%;
    width: 100%;
}

.vertical-align-center {
    /* To center vertically */
    display: table-cell;
    vertical-align: middle;
}

.modal-content {
    /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
    width: inherit;
    height: inherit;
    /* To center horizontally */
    margin: 0 auto;
}

.CabeceraTablaDatos {
    background: #21372C;
    color: #ffffff;
    font-weight: bold;
}

.page {
    width: 100%;
    height: 100%;
    min-width: 1100px;
    max-width: 1210px;
    background-color: #fff;
    margin: 20px auto 20px auto;
    border: 1px solid #496077;
}

.main {
    padding: 0px 12px;
    margin: 12px 8px 8px 8px;
    min-height: 500px;
    height: 100%;
    overflow: hidden;
    /*max-height: 900px;*/
}

/*.FondoAzul_Ini {
    background: #C8DFFA;
}*/

.dark-text {
    color: #156DAC !important;
    margin-left: 5% !important;
}

.section-header {
    margin-top: 1%;
    margin-bottom: 2%;
}

.menubusqueda {
    margin-left: 25%;
    margin-right: 25%;
    margin-top: 2%;
}

.menubusqueda2 {
    margin-left: 25%;
    margin-right: 25%;
    margin-top: 12%;
}

.section-header h2 {
    padding-bottom: 10px;
    line-height: 40px;
    position: relative;
    display: inline-block;
    font-size: 45px;
    text-transform: uppercase;
    margin-left: -50px;
}

.h2CD {
    font-family: 'Montserrat', Helvetica, sans-serif;
    font-weight: 700;
    line-height: 35px;
}

.imgCD {
    margin-left: -10px;
}

.centerMA {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.imageMA {
    height: 61%;
    width: 61%;
}

.warningRadius {
    padding: 0.5%;
    border-radius: 10px;
    border: 1px #fcf8e3 solid;
    overflow: hidden;
}

/*Chechbox/radio*/
.checkbox label:after {
  content: '';
  display: table;
  clear: both;
}

.checkbox .cr {
  position: relative;
  display: inline-block;
  border: 1px solid #a9a9a9;
  border-radius: .25em;
  width: 1.3em;
  height: 1.3em;
  float: left;
  margin-right: .5em;
}

.checkbox .cr .cr-icon {
  position: absolute;
  font-size: .8em;
  line-height: 0;
  top: 50%;
  left: 15%;
}

.checkbox label input[type="checkbox"] {
  display: none;
}

.checkbox label input[type="checkbox"]+.cr>.cr-icon {
  opacity: 0;
}

.checkbox label input[type="checkbox"]:checked+.cr>.cr-icon {
  opacity: 1;
}

.checkbox label input[type="checkbox"]:disabled+.cr {
  opacity: .5;
}

/*Ocultar flechas input number*/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}


/*Centrar dialog*/
.modal-dialog-centered2 {
  display: flex;
  align-items: center;
  min-height: calc(100% - var(--bs-modal-margin) * 2);
}

.centerbootbox {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%) !important;
  transform: translate(-50%, -50%) !important;
}