*::placeholder {
    opacity: .6 !important;
}

*::-webkit-input-placeholder {
    opacity: .6 !important;
}

*:-moz-placeholder {
    opacity: .6 !important;
}

*::-moz-placeholder {
    opacity: .6 !important;
}

*:-ms-input-placeholder {
    opacity: .6 !important;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    background-color: var(--bs-light-bg-subtle);
    display: grid;
    min-height: 100vh;
    grid-template-rows: auto auto 1fr auto;
}

.nav-link:hover {
    background-color: var(--bs-primary, #242c4f);
    color: white;
}

.nav-item-active {
    background-color: var(--bs-secondary, #45658d);
    color: white;
}

.text-shadow {
    filter: drop-shadow(1px 3px 0 var(--bs-secondary, #45658d));
}

.masthead {
    background-image: url("../img/banner.svg");
}

.section-aif {
    background: no-repeat center url("../img/aif-min.jpg");
    background-size: cover;
    max-width: 43.5rem;
}

.btn-aif {
    min-height: 3rem;
    min-width: 16rem;
}

/* Media query para que use el 100% del alto el navbar */
@media (min-width: 1200px) {

    .navbar-nav>li>a {
        /* (80px - line-height of 27px) / 2 = 26.5px */
        padding-top: 26.5px;
        padding-bottom: 26.5px;
        line-height: 27px;
    }
}

@media (max-width: 1199px) {

    .nav-link {
        border-radius: 10px;
    }

    .nav-link:hover,
    .nav-item-active {
        padding-left: 10px;

        transition: padding-left 0.5s ease;
    }
}

.btn-to-top {
    display: none;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    color: white;
    cursor: pointer;
}

.hr-text {
    position: relative;
    border: none;
    height: 1px;
    background: #999;
}

.hr-text::before {
    content: attr(data-content);
    display: inline-block;
    background: #fff;
    font-weight: bold;
    font-size: 0.85rem;
    color: #999;
    border-radius: 30rem;
    padding: 0.2rem 2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.text-divider {
    margin: var(--bs-gutter-y) 0 0 0;
    line-height: 0;
    text-align: start;
    padding: .75em calc(var(--bs-gutter-x)* 0.5);
}

.text-divider span {
    background-color: #fff;
    padding: 0 1em 0 0;
}

.text-divider:before {
    content: " ";
    display: block;
    border-top: 1px solid #e3e3e3;
    border-bottom: 1px solid #f7f7f7;
}