html {
    height: 100%;
}

body {
    min-height: 100%;
}

body {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    background-color: #ffffff;
}

@media print {
    body {
        display: -ms-flexbox;
        display: -webkit-box;
        display: flex;
        -ms-flex-align: center;
        -ms-flex-pack: center;
        -webkit-box-align: center;
        align-items: center;
        -webkit-box-pack: center;
        justify-content: center;
        background-color: none;
    }
}

/*@media (min-width: 990px) and (max-width: 1895px), (max-width: 450px) {*/
@media (min-width: 990px), (max-width: 450px) {
    .docButtonContainer {
        top: 45px !important;
        background: #77b7f9;
        border-radius: 7px;
        padding: 10px;
    }
}

@page {
    /* margin for each printed piece of paper */
    margin-top: 3cm;
    margin-bottom: 3cm;
}

.separadorPaginasEnBrowser {
    border-top: 0;
    height: 200px
}

.form-control:disabled {
    background-color: #cecece;
    border: 1px solid #a0a0a0;
    font-style: italic;
}

a.btn.disabled, fieldset:disabled a.btn {
    pointer-events: none;
    background-color: #8c8c8c;
    border-color: #8c8c8c;
    color: white;
}

.btn {
    /*white-space:normal !important;*/
}

.readOnly {
    pointer-events: none;
}

.buttonWidth {
    width: 150px;
}

.buttonWidth2 {
    width: 205px;
}

.fileUpload {
    position: relative;
    overflow: hidden;
}

.fileUpload input.upload {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}

.textBlock {
    display: block;
    text-align: center;
    border-radius: .25rem;
}

.myCheckboxButton {
    color: black;
    background-color: #bdd0e0;
    border-color: #005cbf;
}

.myCheckboxButton.focus, .myCheckboxButton:focus {
    outline: 0;
    box-shadow: 0 0 0 0rem rgba(0, 123, 255, .5) !important;
}

.myCheckboxButton:hover {
    color: black;
    background-color: #bdd0e0;
    border-color: #0062cc;
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

div.dtsp-panes, div.dtsb-searchBuilder {
    background: rgb(163, 177, 191);
    padding: 15px !important;
    border-radius: 10px;
    border: 0px !important;
    margin: 0px 0px 15px 0px !important;
}

.btn-greyDisabled {
    color: black;
    background: #a3b1bf;
}

.formDisabledInput {
    background-color: #cecece;
    border: 1px solid #a0a0a0;
    font-style: italic;
}

.rowInactive {
    color: #868686;
    font-style: italic;
    background: #ccdbe6 !important;
}

.rowDanger {
    color: #dc3545 !important;
}

.rowOk {
    color: green !important;
}

.documento {
    background: white;
    padding: 80px;
    max-width: 1000px;
}

.userFilled {
    /*font-style: italic;*/
    color: #0202d2;
}

/* My custom checkbox */
/* Customize the label (the container) */
.checkboxContainer {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.checkboxContainer input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 4px;
    right: 0px;
    height: 25px;
    width: 25px;
    background-color: #b7b7b7;
}

/* On mouse-over, add a grey background color */
.checkboxContainer:hover input ~ .checkmark {
    background-color: #b7b7b7;
}

/* When the checkbox is checked, add a blue background */
.checkboxContainer input:checked ~ .checkmark {
    background-color: #007bff;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkboxContainer input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkboxContainer .checkmark:after {
    left: 10px;
    top: 3px;
    width: 7px;
    height: 16px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.table-borderless td,
.table-borderless th {
    border: 0;
}

table.table-fit {
    width: auto !important;
    table-layout: auto !important;
}

table.table-fit thead th, table.table-fit tfoot th {
    width: auto !important;
}

table.table-fit tbody td, table.table-fit tfoot td {
    width: auto !important;
}

.myCardStyle {
    border-style: solid;
    border-width: 1px;
    border-color: #aabbc9;
    box-shadow: 0px 10px 13px -7px #000000, 5px 5px 4px 2px rgba(0, 0, 0, 0);
    display: inline-block;
    padding: 20px;
    max-width: 800px;
}

option:disabled {
    color: red;
    font-style: italic;
}

/* Loading spinner */
.loader {
    position: relative;
    text-align: center;
    margin: 15px auto 35px auto;
    z-index: 9999;
    display: block;
    width: 80px;
    height: 80px;
    border: 10px solid rgba(189, 208, 224, 1);
    border-radius: 50%;
    border-top-color: #007bff;
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

/* Loading spinner */
.button-loader {
    z-index: 9999;
    margin: auto;
    width: 20px;
    height: 20px;
    border: 6px solid rgba(189, 208, 224, 1);
    border-radius: 50%;
    border-top-color: #007bff;
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

.modal-content {
    border-radius: 0px;
    box-shadow: 0 0 20px 8px rgba(0, 0, 0, 0.7);
}

.modal-backdrop.show {
    opacity: 0.75;
}

.card-link {
    color: black;
}

.water-tanks-grid {
    display: grid;
    grid-template-columns:auto auto;
    justify-content: space-around;
}

@media (max-width: 769px) {
    .water-tanks-grid {
        display: block;
    }
}

.result_error {
    color: red !important;
}

progress {
    border-radius: 7px;
    border: 1px solid black;
    background-color: lightgrey;
}

progress::-webkit-progress-bar {
    border-radius: 7px;
    border: 1px solid black;
    background-color: lightgrey;
}

progress::-moz-progress-bar {
    border-radius: 7px;
    border: 1px solid black;
    background-color: lightgrey;
}

progress::-webkit-progress-value {
    transition: width 1s linear;
    background-color: #007bff;
}

/* Make Bootstrap Navbar Dropdown Work on Hover on desk screen resolutions */
/* https://webdesign.tutsplus.com/how-to-make-the-bootstrap-navbar-dropdown-work-on-hover--cms-33840t */
.dropdown-menu {
    margin-top: 0;
}

.dropdown-menu .nav-link:hover {
    background-color: lightblue;
}

.favourite_star:hover {
    stroke: black;
}

.calendar-icon-background {
    min-width: 150px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-9 -9 42 42'%3E%3Cpath d='M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z'/%3E%3C/svg%3E"), linear-gradient(to left, #e9ecef 100%, white 0%);
    background-repeat: no-repeat;
    background-position: right;
    background-size: 42px;
}
