body
{
    background: #595959;
    color: #ffffff;
    font-size: 13.5pt;
    font-family: 'Spectral SC', serif;
    padding: 2%;
}

/*
    nav bar
*/

#carousel-1 {
    border-style: solid;
    border-color: #BC3738;
    border-width: medium;
    max-width: 1000px;
    max-height: 440px;
    margin: auto;
}

.custom-img {
    max-width: 1000px;
    max-height: 434px;
    margin: auto;
}


@media (min-width:1200px){
    .logo-notaria {
        max-width: 60%;
        height: auto;
    }
}

#myBtn {
    display: none;
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    z-index: 99;
    background-color: #BC3738; /* Blue background */
    border: none; /* Remove borders */
    color: #ffffff; /* White text */
    padding: 8px 10px; /* Some padding */
    font-size: 16px; /* Set a font size */
    cursor: pointer; /* Mouse pointer on hover */
}


/* Darker background on mouse-over */
#myBtn:hover {
    background-color: #ffffff;
    color: #595959;
}

.bg-dark
{
    background-color: #595959 !important;
    color: #ffffff;
}

.navbar-dark .navbar-nav .nav-link {
    color: #ffffff;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #BC3738;
}

.nav-item a[href="https://zeroq.cl/offices/notaria-fuenzalida"].nav-link {
    background-color: #dc3545;
}

.nav-item a[href="https://zeroq.cl/offices/notaria-fuenzalida"].nav-link:hover {
    color: #595959;
}

/*
    TOOLTIP
*/ 

a.tooltips {
    display: inline;
    right: 20px; 
    color: #ffffff;
    cursor: pointer;
}

@media (min-width:701px) {

    a.tooltips span {
        position: absolute;
        width:550px;
        height: 160px;
        color: #595959;
        background: #FFFFFF;
        border: 2px solid #BC3738;
        line-height: 15px;
        text-align: justify;
        visibility: hidden;
        border-radius: 6px;
        font-size: 10pt;
        padding-left: 20px;
        padding-top: 5px;
        padding-right: 20px;
        
    }

    a.tooltips span:before {
        content: '';
        position: absolute;
        top: 50%;
        right: 100%;
        margin-top: -12px;
        width: 0; height: 0;
        border-right: 12px solid #BC3738;
        border-top: 12px solid transparent;
        border-bottom: 12px solid transparent;
    }
    a.tooltips span:after {
        content: '';
        position: absolute;
        top: 50%;
        right: 100%;
        margin-top: -8px;
        width: 0; height: 0;
        border-right: 8px solid #FFFFFF;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
    }
    a:hover.tooltips span {
        visibility: visible;
        opacity: 0.8;
        left: 55%;
        top: 10%;
        margin-top: -15px;
        margin-left: 15px;
        z-index: 999;
    }
}

@media (max-width:700px) {

    a.tooltips span {
        position: absolute;
        width:270px;
        height: 340px;
        color: #595959;
        background: #FFFFFF;
        border: 2px solid #BC3738;
        line-height: 15px;
        text-align: justify;
        visibility: hidden;
        border-radius: 6px;
        font-size: 10pt;
        padding: 15px;
        
    }

    a.tooltips span:before {
        content: '';
        position: absolute;
        bottom: 100%;
        left: 50%;
        margin-left: -12px;
        width: 0; height: 0;
        border-bottom: 12px solid #BC3738;
        border-right: 12px solid transparent;
        border-left: 12px solid transparent;
    }
    a.tooltips span:after {
        content: '';
        position: absolute;
        bottom: 100%;
        left: 50%;
        margin-left: -8px;
        width: 0; height: 0;
        border-bottom: 8px solid #FFFFFF;
        border-right: 8px solid transparent;
        border-left: 8px solid transparent;
    }
    a:hover.tooltips span {
        visibility: visible;
        opacity: 0.8;
        top: 30px;
        left: 30%;
        margin-left: -76px;
        z-index: 999;
    }
}

/*
    FOOTER
*/ 

#myFooter {
  padding-top: 32px;
}

#myFooter .footer-copyright {
  margin-bottom: 35px;
  text-align: center;
  color: #ffffff;
}

#myFooter {
  flex: 0 0 auto;
  -webkit-flex: 0 0 auto;
}