:root {
    --securite_blue: #0168b7;
    --gray_blue: #dce6f2;
}

.top-container {
    padding-top: 70px;
    padding-bottom: 70px;
}

.bg-grayblue {
    background-color: var(--gray_blue);
}

.top-hero {
    height: auto;
    padding: 50px 0;
    background-color: #dce6f2; /* For IE */
    background-image: url('/images/top/top_hero.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
}

@media (max-width: 400px) {
    .hero-circle {
        width: 85px;
        height: 85px;
        font-size: 12px;
    }
}

@keyframes bg-anime {
    0% {
        background-position: left;
    }

    100% {
        background-position: right;
    }
}

#gotoPickup {
    border-bottom: 1px solid rgba(255,255,255,0);
}

#gotoPickup:hover {
    cursor: pointer;
    opacity: 0.8;
}

.about-hero {
    padding: 30px 0 180px 0;
    position: relative;
    background-color: #dce6f2; /* For IE */
    background-image: url('/images/top/about_hero.webp');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

.main-lead {
    font-size: 40px;
    letter-spacing: 3px;
}

.about-lead {
    font-size: 25px!important;
    letter-spacing: 3px;    
}

@media (min-width:992px) {
    .main-lead {
        font-size: 50px;
        letter-spacing: 4px;
    }
    .top-hero {
        min-height: 500px;
    }
    .about-hero {
        padding: 100px 0;
        background-attachment: fixed;
        background-position: bottom center;
    }
    .about-lead {
        font-size: 40px!important;
    }
}

.news-badge {
    width: 100px;
    padding: 3px;
    border-radius: 8px;
    text-align: center;
    font-size: 9px;
    color: var(--securite_blue);
    background-color: var(--gray_blue);
    overflow: hidden;
    white-space: nowrap;
}

.securitenews-link:hover,
.securitenews-link:hover a,
.fundnews-link:hover,
.fundnews-link:hover a {
    background-color: #e8f0fe;
    text-decoration: none!important;
}

.about-img-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-repeat:no-repeat;
    background-position: center;
    background-size: cover;
    margin: 20px auto;
    background-color: #dce6f2; /* For IE */
}

.youtube-frame {
    aspect-ratio: 16 / 9;
}

.youtube-frame iframe {
    width: 100%;
    height: 100%;
}

.return-block {
    color: #fff;
    background: linear-gradient(to top, #008ecb, #0168b7);
}

#financialTermSearch,
#tokutenSearch,
#sdgsSearch,
#amountSearch {
    border: 2px solid var(--securite_blue);
    display: none;
}

.sort-wrap {
    gap: 10px;
}

.sort-wrap .btn-new {
    padding: 5px 10px;
    white-space: nowrap;
}

.sort-wrap .btn-new p {
    margin: 0;
}

.sort-wrap a {
    border: 1px solid #dee2e6;
}

.btn-new {
    font-size: 0.9rem;
    border-radius: 3px !important;
    cursor: pointer;
    text-align: center;
    display: inline-flex !important;
    background-color: #fff !important;
    border-color: #8b8b8b !important;
    color: #555 !important;
    margin-right: 3px;
}

.btn-new:last-child {
    margin-right: 0;
}

.btn-new:hover {
    color: #1C8CF0 !important;
    text-decoration: none !important;
}

.btn-new.active {
    background-color: #8b8b8b !important;
    border-color: #8b8b8b !important;
    color: #fff !important;
}

.sort-label {
    display: inline-flex;
    align-items: center;
}

@media only screen and (max-width: 768px) {
    .sort-wrap {
        margin-bottom: 1rem;
        padding-right: 0.5rem !important;
    }
    .sort-wrap a {
        font-size: 0.8em;
        border: none;
        background-color:inherit!important;
    }
    .sort-wrap a:last-child {
        padding: 0;
    }
    .btn-new {
        position: relative;
        padding: 0 10px 0 0!important;
        margin-right: 0;
        -webkit-tap-highlight-color: transparent;
        outline: none;
    }
    .btn-new::after {
        content: '|';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        color: #ccc;
    }
    .btn-new:last-child::after {
        display: none;
    }
    .btn-new.active {
        background-color:inherit!important;
        border-color: #fff!important;
        color: #000000!important;
        font-weight: 700;
    }
    .btn-new:focus {
        outline: none;
    }
    .sort-label {
        display: none;
    }
}
