body {
    overflow: hidden;
}

main {
    margin-top: 110px;
}

a {
    color: inherit;
}

a:hover {
    color: inherit;
}

.header-section,
footer {
    background-color: var(--primary);
}

.footer-headers {
    color: white !important;
    opacity: 0.5;
}

.header-box-shadow .header-section {
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.header-section .nav-link {
    font-size: 1.05rem;
}

.header-section .nav-link,
footer .nav-link {
    color: white !important;
    transition: all .2s;
}

.header-section .nav-link:hover,
footer .nav-link:hover {
    opacity: 0.6;
}

footer .social-links a {
    background-color: rgba(255, 255, 255, 0.3) !important;
    color: white !important;
}

@media (max-width: 992px) {
    main {
        margin-top: 100px;
    }
}

/* Nav */

.nav-link {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    transition: color .2s;
}

.navbar-brand, .navbar-brand > img {
    width: 7rem;
}

@media (max-width: 992px) {
    .navbar-brand, .navbar-brand > img {
        width: 5rem !important;
    }

    .custom-dropdown {
        min-width: auto !important;
    }
}

/* Packages menu */
.menu-packages {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.package-value {
    background-color: #e7eaf3;
    padding: 5px 10px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    border-radius: 8px;
}

/* Packages section */
.packages-tabs-container {
    border-bottom: 5px solid var(--primary);
}

.packages-tabs-header {
    background: linear-gradient(90deg, #0d74a5, var(--primary));
}

.package-tab-pane {
    position: relative;
    z-index: 3;
}

.package-tab-link {
    background-color: #009fe388;
    border-radius: 0 !important;
    position: relative;
    padding: 1.5rem 3rem !important;
    transition: all .2s;
    cursor: pointer !important;
}

.package-tab-link:hover {
    background-color: #009fe3CC;
}

.package-tab-link.active {
    z-index: 4;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.package-tab-link.active::before {
    content: '';
    position: absolute;
    top: 100%;
    width: 100%;
    background-color: var(--primary);
    height: 7px;
    border-radius: 0 0 5px 5px;
    right: 0;
    left: 0;
    z-index: 4;
}

.package-tab-link.active::after {
    content: '';
    position: absolute;
    top: 97%;
    width: 14px;
    height: 14px;
    background-color: var(--primary);
    transform: rotate(45deg);
    left: calc(50% - 7px);
    border-radius: 2px;
    z-index: 4;
}

.packages-content {
    padding: 20px 20px 20px 0;
}

.package-image img {
    width: 100%;
}

.package-subtitle {
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: inline-block;
}

.package-value-h1 {
    font-size: 3.5rem;
}

@media (max-width: 992px) {
    .package-value-h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .packages-tabs-container {
        border-bottom: none;
    }

    .packages-tabs-header .container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .packages-tabs-header .container .nav {
        flex-wrap: nowrap;
    }

    .package-tab-link {
        padding: 1.5rem 0 !important;
        text-align: center;
    }

    .package-tab-link h3 {
        font-size: 1rem !important;
    }

    .packages-tabs-header .container .nav .nav-item {
        width: 50%;
    }
}

/* Misc */
.font-size-6 {
    font-size: 4rem;
}

.font-size-7 {
    font-size: 5rem;
}

.text-shadow-sm {
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.text-shadow-lg {
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.dir-ltr {
    direction: ltr !important;
}

.dir-rtl {
    direction: rtl !important;
}

.hs-video-bg-video video {
    width: 100%;
}

.step.how-it-works-steps .step-icon::after {
    content: none;
}

/* Network Status Button */

.network-status-container {
    min-width: 250px;
    position: relative;
    padding-right: 80px;
}

.network-status-btn a {
    display: inline-block;
    border-radius: 0.3125rem;
    overflow: hidden;
}

.network-status-link {
    color: white !important;
    transition: all .2s;
    padding-right: 23px !important;
    padding-bottom: 0 !important;
    z-index: 99999;
}

.network-status-link:hover {
    /*color: black !important;*/
}

.network-status-dropdown {
    min-width: 320px !important;
}

.signal-svg {
    position: absolute;
    bottom: -5px;
    right: 0;
    left: 0;
    width: 100%;
    padding: 0 5px;
}

.nav-link {
    padding-top: 1rem;
}

/* Preloader */

.preloader {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader img {
    width: 5%;
}

@media (max-width: 776px) {
    .preloader img {
        width: 10%;
    }
}

@media (max-width: 576px) {
    .preloader img {
        width: 20%;
    }
}

/* How it Works page */

.video-container video {
    width: 100%;
}

.question-marks-svg {
    padding: 20px;
    opacity: .4;
}

/* CTA */
.cta-btn {
    font-family: 'Open Sans', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    height: 70px;
    border-radius: 35px;
    padding: 20px 25px;
    color: black;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all .2s;
}

.cta-btn:hover {
    color: white;
    background-color: #FEC509;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover i {
    color: white;
}

.cta-btn i {
    color: var(--primary);
    font-size: 1.5rem;
    transition: all .2s;
}

/* 5G Banner */

.five-g-banner {
    background-image: url('/frontend/images/5g-banner-bg.jpg');
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
}

.five-g-img {
    animation: nudge 3s infinite ease-in-out;
}

@keyframes nudge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* News */
.news-item .card {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1) !important;
    transition: all .2s;
    display: block;
}

.news-item:hover .card {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2) !important;
}

.news-show-header {
    height: 400px;
}

.news-show-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-show-content {
    line-height: 2rem;
}

/* FAQ page */
.faq-person {
    max-height: 75%;
    overflow: hidden;
}

.faq-person img {
    width: 100%;
}

.faq-question-mark {
    top: -100px;
    left: -100px;
    z-index: -1;
}

/* Agents */
.map-agents-list {
    max-height: 500px;
    overflow-y: scroll;
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
}

.map-card {
    height: 500px;
}

.map-card #map {
    height: 100%;
}

@media (max-width: 992px) {
    .map-agents-list {
        max-height: initial;
        overflow-y: auto;
    }
}
