body { margin: 0; padding: 0; }
.full-height{ height: 100vh; }
.title{
    width: 100%;
    height: 20%;
    min-height: 120px;
    margin: 0;
    text-align: center !important;
}
.title h1, .title h2{
    margin: 0;
}
@media screen and (min-width: 768px),
        screen and (min-height: 600px){
    .normal-vp{
        display: block;
        font-size: 1.5rem;
    }
    .small-vp{
        display: none;
    }
}

@media screen and (max-width: 1000px),
        screen and (max-height: 600px){
    .normal-vp{
        display: none;
    }
    .small-vp{
        display: block;
        font-size: 1.2rem;
    }
}

.color-eff{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(25, 25, 112, 0.6);
    opacity: 0;
    transition: background-color 1s ease, opacity 1s ease;
    pointer-events: none;
    z-index: 998;
}

.date-time{
    position: absolute;
    top: 0px;
    left: 50px;
    float: right;
    margin-right: 10px;
    margin-top: 10px;
    background-color: rgba(0, 0, 0, 0.13);
    opacity: 0;
    transition: opacity 1s ease, opacity 1s ease;
    padding: 0 5px 5px;
    font-family: 'Roboto Condensed', Arial, Helvetica, sans-serif;
    font-size: 18pt;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    color: #fff;
    pointer-events: none;
    z-index: 999;
}

.custom-row{
    margin: 0;
    height: 80%;
    min-height: 400px;
}
.custom-col{
    padding: 0;
}
.btn-custom {
    display: grid;
    width: 100%;
    height: 100%;
    font-size: 2rem;
    transition: font-size 0.5s;
    color: #fff;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    text-align: center;
    vertical-align: middle;
    border-radius: 0;
    place-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(100%);
}
.btn-custom:hover{
    color: #fff;
    font-size: 2.5em;
    filter: grayscale(0%);
}
.btn-custom:active{
    color: #fff !important;
    font-weight: bold;
}
.btn-disabled{
    filter: grayscale(100%);
}
a[href="#"]:hover{
    color: #fff;
    filter: grayscale(100%);
}

.btn-sevilla1521{
    background-image: url(../media/covers/sevilla1521.jpg);
}
.btn-mexico1624{
    background-image: url(../media/covers/mexico1624.jpg);
}
.btn-sevilla1652{
    background-image: url(../media/covers/sevilla1652.jpg);
}
.btn-mexico1692{
    background-image: url(../media/covers/mexico1692.jpg);
}

.btn-biblio{
    position: relative;
    margin: 10px;
    float: right;
}

#map { 
    bottom: 0;
    position: absolute; 
    top: 0; 
}
.btn-mode{ margin: 20px; }
.coords{ position: absolute; bottom: 0;}
.sm-legend{ font-size: 14px; }

.opacity-ctrl{
    display: none;
    overflow: hidden;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    width: 75px;
    padding: 20px;
    text-align: center;
    top: calc(30vh + 65px);
    right: 10px;
    z-index: 998;
}
.opc-sh{ float: right; }
.opc-value{ font-size: small; margin: 0}

.collapsible{
    background-color: #fff;
    color: #444;
    cursor: pointer;
    padding: 18px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    text-align: left;
    outline: none;
    font-size: 15px;
    text-align: center;
    width: 75px;
    position: absolute;
    top: 30vh;
    right: 10px;
    z-index: 999;
}
.active, .collapsible:hover{ background-color: #ccc; }

#bibliography {
    background-color: #F0F0F0;
    margin: 0;
    text-align: center;
    padding-top: 150px;
    padding-bottom: 150px;
}

.modal-header .close{
    float: right;
}

.leaflet-popup-content {
    font-size: 13px !important;
}

#container0{
    margin-top: 140px;
}

.leaflet-control-container{
    font-size: 12px;
}