html {
    height: 100%;
}

body {
    position: relative;
    min-height: 100%;
}

body.stop-scrolling {
    height: auto;
}

.header,
.header.active {
    background-color: #FFF;
}

.navbar {
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

.nav-item {
    margin: 0 15px;
    font-size: 12px;
}

.nav-link {
    color: #000;
    text-decoration: none;
    padding: 10px;
    transition: color 0.5s;
    position: relative;
}

.nav-link:hover,
.nav-link:focus {
    color: #000;
}

.nav-link::after {
    content: '';
    background-color: transparent;
    height: 2px;
    width: 0%;
    transition: width 0.2s, background-color 0.5s;
    position: absolute;
    bottom: 0;
    left: 0;
    border: none;
}

.nav-link:hover::after {
    width: 100%;
    background-color: #000;
}

main.has-footer {
    padding-bottom: 300px;
}

.insurance-card {
    padding: 20px 50px;
}

.page-title {
    color: #FFF;
    background-color: #7297F8;
    padding: 1.5rem 0;
    position: relative;
}

.page-title h3 {
    font-weight: 300;
    letter-spacing: 3px;
}

.btn-slider {
    position: absolute;
    right: 20vh;
    bottom: 10vh;
    min-width: 200px;
}

.breadcrumb {
    position: absolute !important;
    width: auto !important;
    top: 50% !important;
    left: auto !important;
    right: 35px !important;
    margin: 0 !important;
    background-color: transparent !important;
    font-size: 90%;
    transform: translateY(-50%);
}

.breadcrumb-item a,
.breadcrumb-item::before {
    color: #FFF !important;
    text-decoration: none;
}

.page-header img {
    object-fit: cover;
    width: 100%;
    max-height: 500px;
}

.content {
    margin-top: 30px;
}

.card-route {
    cursor: pointer;
}

.card-link.insurance-type {
    max-width: 120px;
}

.card-link .icon {
    width: 100px;
    height: 100px;
    margin: 0 0.5rem 1rem 0.5rem;
}

.card-link .icon img {
    height: 50px;
}

.card-link .text {
    font-size: 16px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.card-insurance-logo {
    background: #7297F8;
    padding: 10px;
}

.card-insurance-logo img {
    max-height: 30px;
}

.modal .card-link .icon {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
}

.advantages {
    cursor: pointer;
}

.advantages-img-wrapper {
    margin-left: 30px;
}

.advantages-img {
    height: 80px;
}

.advantages-text {
    margin-right: 20px;
    font-size: 16px;
}

.popup {
    width: 20%;
}

.share-content .icons {
    justify-content: start;
}

.share-content .icons a {
    margin-right: 20px;
}

.share-content .icons a:last-child {
    margin-right: 0;
}

.other-news-card img {
    height: 20vh;
}

/* FOOTER */
.footer {
    position: absolute;
    background-color: #5BAAFC;
    padding-top: 30px;
}

.footer h5 {
    color: #FFF
}

.footer .footer-img {
    max-width: 300px;
}

.footer .footer-link {
    list-style: none;
}

.footer .footer-link li {
    margin: 10px 0;
}

.footer .footer-link li a {
    color: #FFF;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.footer .footer-link li a:hover {
    color: #000;
}

.footer .footer-socmed {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: 15px 0 20px 0;
    padding: 0;
}

.footer .footer-socmed p {
    font-size: 16px;
}
.footer .footer-socmed a {
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
}
.footer .footer-socmed a i {
    transition: transform 0.3s ease-in-out;
}
.footer .footer-socmed a:nth-child(1) {
    color: #C13584;
    background-color: #FFF;
}
.footer .footer-socmed a:nth-child(1):hover {
    background: #C13584;
}
.footer .footer-socmed a:nth-child(2) {
    color: #1877F2;
    background-color: #FFF;
}
.footer .footer-socmed a:nth-child(2):hover {
    background: #1877F2;
}
.footer .footer-socmed a:nth-child(3) {
    color: #46C1F6;
    background-color: #FFF;
}
.footer .footer-socmed a:nth-child(3):hover {
    background: #46C1F6;
}
.footer .footer-socmed a:hover {
    color: #fff;
    border-color: transparent;
}
.footer .footer-socmed a:hover i {
    transform: scale(1.2);
}

.footer .copyright {
    background-color: #7297f8;
    padding: 20px 0;
}

.footer .copyright p {
    text-align: center;
    color: #FFF;
}

.dropdown-item:hover {
    background-color: #7297f8;
    color: #fff;
}

.dropdown:hover > .dropdown-menu,
.dropend:hover > .dropdown-menu {
    display: block;
    margin-top: 0.125em;
    margin-left: 0.125em;
}

.form-floating .form-control {
    border: 1px solid #dee2e6;
}

.form-floating.checkbox {
    margin: 0;
}

.form-floating.checkbox .form-control {
    border: none;
}

@media screen and (max-width: 992px) {
    .nav-item {
        margin: 0 10px;
    }

    .navbar-expand .navbar-nav .nav-link {
        padding-right: 0;
        padding-left: 0;
    }

    .dropend:hover > .dropdown-menu {
        position: absolute;
        top: 0;
        left: 100%;
    }
    .dropend .dropdown-toggle {
        margin-left: 0.5em;
    }

    .btn-slider {
        right: 10vh;
    }

    .card-link .icon {
        width: 70px;
        height: 70px;
    }

    .card-link+.card-link {
        margin-left: 0.5rem
    }

    .card-link .icon img {
        height: 30px;
    }

    .card-link .text {
        font-size: 12px;
    }

    .advantages .insurance-card {
        padding: 8px;
    }

    .advantages-img-wrapper {
        margin: 0;
    }
}

@media screen and (max-width: 1200px) {
    .page-header img {
        max-height: 400px;
    }

    .btn-slider {
        bottom: 6vh;
    }

    .footer .footer-img {
        max-width: 180px;
    }
}
