.text-white{
    color:white
}

#hero{
    min-height: 380px;
    position: relative;
    text-align: center;
}
#hero .hero-bg-wrapper{
    position: absolute;
    z-index: -1;
    overflow: hidden;
    top:0;
    right:0;
    left: 0;
    bottom: 0;
} 

#hero .hero-bg{
    
    background: 
        linear-gradient(to bottom, #000a 0%, #0003 40%, #0000 100%),
        linear-gradient(to right, #000a 0%, #0003 40%, #0000 100%),
        linear-gradient(to left, #000a 0%, #0003 40%, #0000 100%),
        linear-gradient(to top, #000a 0%, #0003 40%, #0000 100%),
        url(/images/backgrounds/cpedia_bg.webp);
    background-size: cover;
    background-position-y: center;
    
    filter: blur(5px);
    transform: scale(1.1);
    height: 100%;
    

}

#hero > div:not(.hero-bg-wrapper){
    padding-top:50px
}

#hero a{
    color:white;
    text-decoration: underline;
}
#hero a:active, #hero a:focus, #hero a:hover{
    color:#ddd
}

.logo img{
    max-height:100px
}

.search-bar{
    margin-top: 60px;
    display: inline-flex;
    width: 800px;
    max-width: 100%;
}


.search-bar .dropdown button{
    height:50px;
    width: 170px;
    border-radius: 0px;
    border: 0px
}

#component-searchbox-wrapper{
    max-width: 550px;
    width:100%;
    min-width: 195px;
}

#component-searchbox-wrapper.loading:after{
    content: "\f1ce";
    display: block;
    position: absolute;
    top: 25%;
    bottom:25%;
    background-color: var(--color-whites-1);
    color: var(--color-greys-2);
    right: 14px;
    border-radius: 100%;
    font-family: 'Font Awesome 5 Free','FontAwesome'!important;
    font-weight: 900;
    animation-name: spin;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.search-bar input[type=search]{
    width: 100%;
    height:50px;
    padding: 0px 15px;
    outline: none;
    user-select: none;
    color: black;
    border: none;
    font-size: 17px;
}

#component-searchbox-wrapper .dropdown-menu{
    width: 100%;
    margin-top: -2px;
}
#component-searchbox-wrapper .dropdown-menu .dropdown-item{
    padding-left: 10px
}



.search-bar #search-btn{
    min-width:50px;
    height:50px;
    border-radius: 0px;
    border:0px;
    padding: 8px 10px
}
.search-bar #search-btn i{
    color: white
}

#alternative-listing{
    bottom: 0px;
    right: 15px;
}

.section{
    margin:0px!important;
    padding: 50px 0px!important 
}
.section.empty{
    margin-top:0px;
    margin-bottom: 0px;
    padding: 0px!important
}

#languages-dropdown{
    text-align: left;
    padding:5px
}


#counter{
    margin-bottom: 1rem!important
}



.ribbon{
    padding: 10px;
    margin-top: 35px;
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
}
.ribbon img {
    max-height: 30px;
    max-width: 50px;
    display: inline-block;
    margin: 15px;
    opacity: .7;
}
.ribbon img.go-logo{
    max-height:25px;
    max-width: unset;
}
.ribbon img.scala-logo, .ribbon img.php-logo {
    max-height: 28px;
    max-width: unset;
}

.ribbon img.java-logo, .ribbon img.swift-logo {
    max-height: 35px;
    max-width: unset;
}

#latest-update-date-wrapper, #latest-update-date{
    color: #666;
    font-size: 14px;
}

#spinner{
    text-align: center;
}
#spinner > i {
    font-size: 80px;
    color: var(--color-primary-1);
    animation: spin;
    animation-duration: 1.2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}



@media (max-width: 450px){
    .search-bar > div {
        display: flex!important;
        flex-wrap: wrap;
    }
    .search-bar .dropdown, .search-bar .dropdown button, .dropdown-menu{
        min-width: 100%;
        width:100%;
    }
    .search-bar #search-btn{
        min-width:100%;
        height:50px;
        padding-left:7px
    }
    .search-bar #search-btn i{
        margin-top: 6px;
        font-size: 20px !important
    }
    #alternative-listing{
        left: 15px
    }
}

@keyframes spin{
    0%{
        transform: rotateZ(0deg);
    }
    /* 25%{
        transform: rotateZ(90deg);
    }
    50%{
        transform: rotateZ(180deg);
    } */
    100%{
        transform: rotateZ(360deg);
    }
}