.forum_header{
    position: fixed;
    width: 100%;
    padding-right: 100px;
    z-index: 500;
    background-color: #f7f7ff;
    transition: opacity .5s;
    opacity: 1;
}
.forum_header.not_top{
    opacity: 0.9;
}
.forum_title, .forum_buttons, .forum_buttons_left, .forum_title_left, .forum_title_right, .forum_container{
    display:flex;
}
.forum_buttons, .forum_title{
    justify-content: space-between;
}
.forum_buttons{
    overflow: hidden;
    border-bottom: 1px solid grey;
    margin-left: -5px;
    margin-right: -20px;
    padding-left: 5px;
    padding-right: 20px;
    height: 48px;
    transition: height .5s;
    box-shadow: 0px 5px 5px grey;
}
.forum_title h1{
    transition: all .5s;
}
.forum_header.not_top .forum_buttons{
    height: 0;
    box-shadow: none;
}
.forum_header.not_top .forum_title h1{
    margin: 0;
}
.forum_title_left{
    margin-left: 15px;
}

.forum_title_center{
    position: relative;
    width: 20px;
    opacity: 0;
    transition: all .5s;
    cursor: pointer;
    font-size: 25px;
}
.forum_title_center span{
    position: absolute;
    bottom: 0;
}
.forum_header.not_top .forum_title_center{
    opacity: 1;
}
.forum_title_right{
    font-size: 25px;
    align-self: center;
}
.forum_title_right span{
    position: relative;
    top: 5px;
}
.search_forum{
    position: relative;
    margin-right: 15px;
    cursor: pointer;
}
.search_advance_options{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 20px;
}

.search_forum .search_forum_input{
    width: 35px;
    transition: all .5s;
}
.search_forum.active .search_forum_input{
    width: 200px;
}
.search_forum span{
    position: absolute;
    right: 3px;
}
.select_content_forum{
    margin: 0 10px;
    padding: 8px;
    cursor: pointer;
}
.select_content_forum p{
    margin: 0;
    font-size: 21px;
}
.select_content_forum.active p{
    color: #ffff;
}
.forum_buttons_left{
    position: relative;
}
.select_content_forum.active {
    background-color: #4187f6;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
}
.select_content_forum.active p::before{
    content: '';
    position: absolute;
    bottom: 0px;
    left: -20px;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border-radius: 50%;
    box-shadow: 10px 10px 0 #4187f6;
    z-index: -1;
}
.select_content_forum.active p::after{
    content: '';
    position: absolute;
    bottom: 0px;
    right: -20px;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border-radius: 50%;
    box-shadow: -10px 10px 0 #4187f6;
    z-index: -1;
}
.forum_buttons_right{
    font-size: 25px;
    align-self: center;
}
.info_icon a{
    transition: all .3s;
    cursor: pointer;
    color: black!important;
}
.info_icon a:hover{
    color: #ffc107 !important;
}
.share_span{
    margin-right: 15px;
    cursor: pointer;
}
.routes{
    padding-top: 2px;
    font-size: 15px;
    position: relative;
}
.routes .route{
    cursor:pointer;
}
.routes .route_icon ion-icon{
    top: 3px;
    position: relative;
}

.core_levels{
    background-color: #D9DEDE;
    display: flex;
    position: absolute;
    flex-direction: column;
    border-radius: 10px;
    overflow-x: hidden;
    box-shadow: 5px 5px 5px #4187f6;
    max-height: 0;
    transition: all .2s;
    z-index: 900;
    text-align: left;
    position: absolute;
    top: 27px;
    right: 0px;
    overflow: hidden;
}
.core_level{
    padding: 4px 7px;
}
.core_levels a:hover{
    background-color: #265092;
    color: #ffff;
}
.forum_container{
    transition: all .5s;
    padding: 20px;
    margin-top: 130px;
}
.content_forum{
    /*padding: 20px 20px;*/
    width: 0;
    position: relative;
    overflow: hidden;
    height: 0;
    left:0;
    transition: all .5s;

}
.content_forum.active{
    width: 100%;
    height: 100%;
    height: fit-content;
}
.top{
    display: block;
    border: 1px solid grey;
    border-radius: 10px;
    padding: 10px;
    margin: 7px;
}
.top_name{
    width: 100%;
    text-align: center;
}
.top_positions{
    display:flex;
}
.tops{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.top_position{
    display:block;
    padding: 10px;
    width: 33%;
}
.position_counter{
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.position_name p{
    text-align: center;
}
.position{
    width: 100%;
    border-radius: 5px;
}

.position_fst{
    height: 100%;
    background-color: rgb(212, 175, 55);
}
.position_snd{
    height: 50%;
    background-color: rgb(192, 192, 192);
}
.position_trd{
    height: 25%;
    background-color: rgb(203, 109, 81);
}

.forum_moderator{
    display: flex;
}
