/*User page*/
.account_wrapper {
    width: 100%;
    background-color: #fbfbfb;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.account_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: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: flex-start;
    flex-wrap: wrap;
}

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

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

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

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

.account_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);
}

.account_title .account_pirate {
    background: white url(/images/wot/skull.png) no-repeat scroll 0 0;
    width: 35px;
    height: 35px;
    z-index: 1;
    background-size: contain;
    position: absolute;
    left: 5px;
    top: 5px;
}

.account_title .account_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;
    overflow: hidden;
}

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

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

.premium .account_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;
}

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

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

.account_title .left .additional_info .usercity {
}

.account_title .left .additional_info .usercity a {
    font-size: 20px;
}

.account_title .left .nickname_info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    margin-bottom: 15px;
    max-width: 100%;
    font-weight: inherit;
    line-height: inherit;
}

.account_title .left .clan_info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    margin-bottom: 15px;
}

.account_title .left .clan_info img {
}

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

.account_title .right .usertimes {
    font-size: 12px;
    text-align: right;
    color: gray;
    margin-top: 15px;
    margin-bottom: 15px;
}

.account_title .right .usertimes div:first-of-type {
    margin-bottom: 10px;
}

.account_title .right .rate_container {
    margin-top: auto;
}

.account_title .right .rate_container .like, .account_title .right .rate_container .dislike {
    display: inline-block;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
}

.account_title .right .rate_container .dislike {
    margin-left: 15px;
}

.account_title .right .rate_container .like:after, .account_title .right .rate_container .dislike:after {
    content: '';
    opacity: .7;
    cursor: pointer;
    background: url(/images/wot/like_black.png) no-repeat scroll 0 0;
    font-size: 14px;
    height: 32px;
    font-weight: 600;
    width: 32px;
    display: block;
    margin: 15px auto 0 auto;
}

.account_title .right .rate_container .dislike:after {
    background-image: url(/images/wot/dislike_black.png);
    background-position: right top;
}

.account_title .right .rate_container .like:hover:after, .account_title .right .rate_container .dislike:hover:after,
.account_title .right .rate_container .like.clicked:after, .account_title .right .rate_container .dislike.clicked:after {
    opacity: 1;
}

.account_title .account_social {
    background-color: rgba(255, 255, 255, .8);
    align-self: flex-end;
    margin: 0 30px 30px auto;
    flex-direction: row;
    display: flex;
}

.account_title .account_social a img {
    opacity: 1;
}

.account_title .account_social a:hover img {
    opacity: .7;
}

.account_updater {
    border: 1px solid #eee;
    border-top: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 30px;
    border-left: 0;
    border-right: 0;
}

.account_updater[status="1"]:before {
    content: '';
    background: transparent url("/images/loader.gif");
    background-size: cover;
    width: 16px;
    height: 16px;
    display: inline-block;
    margin: 0 10px;
    vertical-align: middle;
}

.account_updater[status="2"] {
    background-color: #DEFFED;
}

.account_updater[status="3"] {
    background-color: #E4FFE4;
}

.account_updater[status="4"] {
    background-color: #ffefe7;
}

.account_updater[status="10"] {
	display: none;
    background-color: #FFE0E0;
}

.account_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;
    border-left: 0;
    border-right: 0;
}

.account_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;
    min-width: fit-content;
}

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

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

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

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

.account_sell {
    background-color: rgb(252 248 227);
    border-bottom: 1px solid rgb(222 222 222);
    line-height: 1rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}
.account_sell a {
    cursor: pointer;
    font-size: 18px;
}
.account_sell:before {
    content:  '❤';
    display: block;
    color:  red;
    font-size: 22px;    
    margin-right: 15px;
}
.account_sell:after {
    content:  '₽';
    display: block;
    color:  green;
    font-size: 22px;    
    margin-left: 15px;
}

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

.account_content .graph_stat_table {
    width: 100%;
    padding: 15px 10px 0 10px;
}

.account_content .graph_stat_table .f-block {

}

.account_content .graph_stat_table .f-block .f-title {
    width: 100%;
    text-align: left;
    text-transform: uppercase;
    line-height: 1.2;
    margin-top: 1em;
    margin-bottom: .5em;
    font-size: 18px;
    font-weight: 400;
}

.account_content .graph_stat_table .f-block.two {
    display: flex;
    align-items: center;
    justify-content: center;
}

.account_content .graph_stat_table .f-block.two .f-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.account_content .graph_stat_table #g-ratings {
    width: 100%;
}

.account_content .graph_stat_table #g-ratings svg {
    height: 400px !important;
}

.account_content .graph_stat_table #g-percent {
    width: 100%;
}

.account_content .graph_stat_table #g-percent svg {
    height: 400px !important;
}

.account_content .graph_stat_table #g-exp {
    width: 100%;
}

.account_content .graph_stat_table #g-exp svg {
    height: 400px !important;
}

.account_content .graph_stat_table #g-damage {
    width: 100%;
}

.account_content .graph_stat_table #g-damage svg {
    height: 400px !important;
}

.account_content .graph_stat_table #g-tnk {
    width: 100%;
}

.account_content .graph_stat_table #g-tnk svg {
    height: 400px !important;
}

.account_content .graph_stat_table #g-lvl-battles-type {
    width: 100%;
}

.account_content .graph_stat_table #g-lvl-battles-type svg {
    height: 400px !important;
}

.account_content .graph_stat_table #g-percent-lvl {
    width: 100%;
}

.account_content .graph_stat_table #g-percent-lvl svg {
    height: 400px !important;
}

@media screen and (max-width: 1000px) {
    .account_content .graph_stat_table .f-block.two {
        flex-direction: column;
    }
}

.account_content .wreplays {
    padding: 10px;
    border: 1px solid #eee;
    border-top: 0;
    background-color: #FDFDFD;
    border-bottom: 0;
}

.account_content .wreplays img {
    vertical-align: middle;
    height: 32px;
}

.account_content .wreplays a {
    font-size: 1rem;
}

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

.ajax_load_tank_info .row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 15px;
}

.ajax_load_tank_info .row > div {
    margin: 15px;
    text-align: left;
}

.ajax_load_tank_info .row h3 {
    width: 100%;
    margin: 15px 0;
}

.ajax_load_tank_info_medals {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    padding: 15px;
    margin-bottom: 15px;
}

.ajax_load_tank_info_medals h3 {
    width: 100%;
    margin: 0 0 15px 0;
}

.ajax_load_tank_info_medals h4 {
    width: 100%;
    margin: 15px 0;
}

.ajax_load_tank_info_medals div {
    margin: 5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.account_content .review_block {
    padding: 15px 30px;
}

.account_content .reviews_block_list_id {
    margin: 15px 0;
}

.account_content .user_review_add_form textarea {
    width: 100%;
    background-color: transparent;
    height: 90px;
}

.account_content .user_review_add_form .button {
    display: inline-block;
    vertical-align: middle;
    margin: 10px 10px 0 0;
}

.account_content .friends_block > a {
    display: inline-block;
    vertical-align: middle;
    margin: 15px;
}

.premium_func {
    margin-top: 2em;
}

.tank_in_garage {
    font-size: 0;
    border: 4px solid transparent;
}

.tank_in_garage.true {
    border-color: green;
}

#recalc_stats {
    background: #f8f8f8;
}

@media screen and (min-width: 2500px) {
    .account_title {
        min-height: 450px;
    }
}
@media screen and (max-width: 800px) {
    .account_title .title_wrap {
        justify-content: center;
    }

    .account_title .account_avatar {
        margin-right: 30px;
        margin-bottom: 30px;
    }

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

    .account_title .right {
        align-items: center;
        margin-left: 0px;
        width: 100%;
    }

    .account_title .right .usertimes {
        margin-top: 0;
        text-align: center;
    }
}

@media screen and (max-width: 400px) {
    .account_title {
        background-image: none !important;
    }

    .account_title .account_social {
        display: none;
    }

    .account_title .title_wrap {
        margin: 0;
        width: 100%;
        max-width: inherit;
    }
}
