.many_clans {

}

.many_clans li {
    margin: 10px 0;
}
.clan_wrapper {
    width: 100%;
    background-color: #fbfbfb;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.clan_title {
    border-bottom: 1px solid #dedede;
    font-size: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: 250px;
    background-color: lightgray;
    background-color: rgba(0, 0, 0, .1);
    padding: 0;
    background-image: url(/images/default_user_bg.jpg);
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.clan_title .hidden {
    color: red;
    font-size: 20px;
    margin: 15px 0;
}

.clan_title img {
    vertical-align: middle;
    height: 2rem;
}

.clan_title a {
    margin: 0 5px;
    font-size: 2rem;
    display: flex;
    color: #333333;
}

.clan_title a img {
    opacity: .7;
    vertical-align: top;
    min-width: 24px;
}

.clan_title a:hover img {
    opacity: 1;
}

.clan_title .title_wrap {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    position: relative;
    background: white;
    background-color: rgba(255, 255, 255, .8);
    padding: 30px 30px 30px 30px;
    margin: 30px;
    min-height: 75%;
    min-height: calc(100% - 60px);
    flex-wrap: wrap;
    max-width: calc(100% - 60px);
}

.clan_title .clan_avatar {
    width: 100px;
    height: 100px;
    background-color: black;
    background-color: rgba(0,0,0,.5);
    background-image: url('/images/default_avatar.png');
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: cover;
    margin-right: 30px;
    align-self: center;
    border-radius: 50px;
}

.clan_title .left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: nowrap;
    overflow: hidden;
}

.clan_title .left .additional_info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
}

.premium .clan_title .left .additional_info:before {
    content: '';
    background: url('/images/prem_icon_1_128.png') no-repeat scroll 0 0;
    width: 32px;
    height: 32px;
    display: block;
    background-size: cover;
    margin-right: 5px;
    opacity: .8;
    margin-top: -3px;
}

.clan_title .left .additional_info .top_clan {
    width: 32px;
    height: 32px;
    color: white;
    font-size: 1rem;
    border-radius: 50px;
    margin-right: 5px;
    text-align: center;
    cursor: default;
}

.clan_title .left .additional_info .top_clan span {
    display: block !important;
    line-height: 32px;
    vertical-align: middle;
    font-size: 17px;
    font-weight: bold;
}

.clan_title .left .clanname_info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    margin-bottom: 15px;
    max-width: 100%;
}

.clan_title .left .clanname_info > span {
    font-size: 2rem;
    margin: 0 5px;
}

.clan_title .left .clan_info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    margin-bottom: 15px;
    font-size: 20px;
    width: 100%;
}

.clan_title .right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    margin-left: 30px;
    flex-wrap: nowrap;
}

.clan_title .right .tanks {
    font-size: 20px;
    text-align: right;
    color: gray;
    margin-top: 15px;
    margin-bottom: 15px;
}

.clan_title .right .tanks a {
    font-size: 20px;
    display: inline;
}





.clan_menu {
    border: 1px solid #dedede;
    position: relative;
    font-size: 0;
    overflow: hidden;
    border-top: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    height: 50px;
    overflow-x: auto;
    overflow-y: hidden;
}

.clan_menu a {
    font-size: 16px;
    padding: 10px 15px;
    color: #1a1a1a;
    text-decoration: none;
    border-right: 1px solid #dedede;
    cursor: pointer;
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    display: flex;
    height: 100%;
    align-items: center;
    width: 100%;
}

.clan_menu a.selected {
    font-weight: bold;
    cursor: default;
    background-color: #f3f3f3;
}

.clan_menu a.disabled {
    opacity: .6;
}

.clan_menu a:not(.selected):not(.disabled):hover {
    background-color: #d7d7d7;
}

.clan_menu a:last-child {
    border: 0;
}

.clan_content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.clan_content > div {
    max-width: 100%;
}

.clan_content .main_stat {
    padding: 15px 30px 30px 30px;
    width: 100%;
}

.clan_content .main_stat h3 {
    margin-bottom: 15px;
    margin-top: 15px;
}

.clan_content .main_stat p {
    margin-bottom: 0px;
    line-height: 20px;
}

.clan_content .main_stat p {
    margin-bottom: 0px;
    line-height: 20px;
}

.clan_content .main_stat .short_stat {
    width: 100%;
}
.clan_content .main_stat .short_stat table {
    width: 100%;
    border: 1px solid #ddd;
    border-bottom: 0;
    border-right: 0;
    margin-bottom: 0;
}

.clan_content .main_stat .short_stat table tr td {
    text-align: center;
    border: 1px solid #ddd;
    padding: 10px;
    border-top: 0;
    border-left: 0;
}

.clan_content .users_stat {
    width: 100%;
}

.clan_content .tech_stat {
    width: 100%;
}

.clan_content .tech_stat .top_tanks tr {
    cursor: pointer;
}

.clan_content .tech_stat .tank_detail {
    margin: 30px;
}

.clan_content .tech_stat .tank_detail h3 {
    font-size: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.clan_content .tech_stat .tank_detail h3 a {
    cursor: pointer;
    font-size: 18px;
}

@media screen and (max-width: 800px) {
    .clan_title .title_wrap {
        justify-content: center;
    }

    .clan_title .clan_avatar {
        margin-right: 30px;
        margin-bottom: 30px;
    }

    .clan_title .left {
        align-items: center;
        margin-bottom: 30px;
    }

    .clan_title .right {
        align-items: center;
        margin-left: 0px;
        width: 100%;
    }
    .clan_title .right .tanks {
        margin-top: 0;
        text-align: center;
    }
}