@media (max-width: 640px) {
	.home {
		width: 100%;
		padding-left: 10px;
		padding-right: 10px;
		box-sizing: border-box;
	}

	.home-inner {
		width: 100%;
		padding-left: 0;
		padding-right: 0;
		box-sizing: border-box;
	}

	/* Logo */
	.home .logo {
		display: flex;
		width: 100%;
		justify-content: center;
	}

	.home .logo img {
		display: block;
		width: 100%;
		max-width: 280px;
		height: auto;
	}

	/* Search */
	.home-search {
		display: flex;
		width: 100%;
		max-width: 320px;
		height: 42px;
		margin: 24px auto 0;
		overflow: hidden;
		align-items: stretch;
		border: 1px solid #d1d5db;
		border-radius: 10px;
		background: #fff;
		box-sizing: border-box;
		box-shadow: 0 1px 3px rgb(0 0 0 / 0.08);
		transition: border-color 0.15s ease, box-shadow 0.15s ease;
	}

	.home-search:focus-within {
		border-color: #4065ba;
		box-shadow: 0 0 0 2px rgb(64 101 186 / 0.15);
	}

	.home-search-input {
		display: block !important;
		flex: 1 1 auto;
		min-width: 0 !important;
		width: 0 !important;
		height: 40px !important;
		margin: 0 !important;
		padding: 0 11px !important;
		border: 0 !important;
		border-radius: 0 !important;
		background: transparent !important;
		color: #1f2937 !important;
		font-size: 14px !important;
		font-weight: 400 !important;
		line-height: normal !important;
		outline: 0 !important;
		box-shadow: none !important;
		box-sizing: border-box;
	}

	.home-search-input::placeholder {
		color: #9ca3af !important;
		font-size: 11px !important;
		opacity: 1;
	}

	.home-submit {
		display: flex !important;
		flex: 0 0 50px !important;
		width: 50px !important;
		height: 40px !important;
		margin: 0 !important;
		padding: 0 !important;
		align-items: center;
		justify-content: center;
		border: 0 !important;
		border-radius: 0 !important;
		background: #4065ba !important;
		box-sizing: border-box;
	}

	.home-submit:hover {
		background: #3658a5 !important;
	}

	.home-search-button {
		display: flex !important;
		width: 100% !important;
		height: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		align-items: center;
		justify-content: center;
		border: 0 !important;
		background: transparent !important;
		color: #fff !important;
		font-size: 13px !important;
		font-weight: 600 !important;
		line-height: 1 !important;
		text-align: center;
		cursor: pointer;
		box-sizing: border-box;
	}

	/* Counters */
	.home-counters {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		width: 100%;
		gap: 8px;
		margin-top: 26px;
		align-items: stretch;
		box-sizing: border-box;
	}

	.home-counter {
		display: flex !important;
		width: 100% !important;
		min-width: 0 !important;
		height: 94px;
		margin: 0 !important;
		padding: 10px 3px !important;
		float: none !important;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		overflow: hidden;
		border: 1px solid #e5e7eb;
		border-radius: 11px;
		background: #fff;
		text-align: center;
		box-sizing: border-box;
		box-shadow: 0 1px 3px rgb(0 0 0 / 0.06);
	}

	.home-counter .count {
		position: static !important;
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		margin: 0 !important;
		padding: 0 1px !important;
		float: none !important;
		overflow: hidden !important;
		transform: none !important;
		box-sizing: border-box;

		color: #111827 !important;
		font-size: clamp(13px, 4.2vw, 18px) !important;
		font-weight: 700 !important;
		line-height: 1.15 !important;
		letter-spacing: -0.03em !important;
		text-align: center !important;
		text-overflow: clip !important;
		white-space: nowrap !important;
	}

	.home-counter .title-count {
		position: static !important;
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		margin: 7px 0 0 !important;
		padding: 0 !important;
		float: none !important;
		overflow: hidden;
		transform: none !important;
		box-sizing: border-box;

		color: #6b7280 !important;
		font-size: 9px !important;
		font-weight: 600 !important;
		line-height: 1 !important;
		letter-spacing: 0.06em !important;
		text-align: center !important;
		text-transform: uppercase;
		white-space: nowrap;
	}

	/* Dark mode */
	.dark .home-search {
		border-color: #565353;
		background: #383636;
		box-shadow: 0 1px 3px rgb(0 0 0 / 0.2);
	}

	.dark .home-search:focus-within {
		border-color: #5578ca;
		box-shadow: 0 0 0 2px rgb(85 120 202 / 0.18);
	}

	.dark .home-search-input {
		color: #fff !important;
		background: transparent !important;
	}

	.dark .home-search-input::placeholder {
		color: #9ca3af !important;
		opacity: 1;
	}

	.dark .home-counter {
		border-color: #484545;
		background: #302e2e;
		box-shadow: 0 1px 3px rgb(0 0 0 / 0.18);
	}

	.dark .home-counter .count {
		color: #fff !important;
	}

	.dark .home-counter .title-count {
		color: #a1a1aa !important;
	}
}
@font-face {
    font-family: 'agrevuecyr-romanmedium';
    src: url('https://www.mal-badges.com/agrevuecyr-webfont.woff2') format('woff2'),
         url('https://www.mal-badges.com/agrevuecyr-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
::-webkit-scrollbar {
    width: 11px;
    height: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: hsla(0, 0%, 75%, 0.56);
}

::-webkit-scrollbar-thumb {
    background-color: hsl(0deg 0% 51% / 56%);
}
:root {
  --clr-light: #f4f4f4;
  --clr-dark: #00332a;
  --clr-primary: #dbffa2;
  --clr-secondary: #c3fcf2;
  --clr-accent: #ff7750;

  --foreground: var(--clr-dark);
  --background: var(--clr-light);

  --ff-title: "Playfair Display", serif;
  --ff-body: "Assistant", sans-serif;
}

.darkmode {
  --dm-btn: #3f85f6;
  --dm-dark: #121111;
  --dm-darktext: #fff;
  --clr-primary: #202302;
  --clr-secondary: #00100d;
  --clr-accent: #ff7750;

  --foreground: var(--dm-btn);
  background-color: var(--dm-dark);
  color: var(--dm-darktext)
}

.darkmode .input-group .form-control:first-child {
	background-color: rgba(255,255,255,.1);
    color: rgba(255,255,255,.7);
    background-clip: padding-box;
    border-color: rgba(255,255,255,.2);
}

.darkmode .input-group-addon:last-child {
    background-clip: padding-box;
    border-color: rgba(255,255,255,.2);
}

.lighttext {
	font-family: 'agrevuecyr-romanmedium';
}

.darktext {
	color: #5d8cf9;
}

.footerltext {
	color: #bebebe;
}

.darkmode .footerltext {
	color: #ffffff2b;
}

.footerdtext {
	color: #ffffff2b;
}

.cwhitetext {
	color: #fff;
}

/* ALL */
a, a:hover, a:active{
    text-decoration: none;
}
/*
*{
    color: #393E46;
}
*/
body{
  background: var(--background);
  color: black;
  background-color: #f4f4f4;
}

.table.align-left td, .table.align-left th{
    text-align: left !important;
}

.clickable-tr{
    cursor: pointer !important;
}

.clickable-tr:hover{
    background-color: rgba(1, 1, 1, 0.05);
	transform: scale(1.02);
}

.darkmode .clickable-tr{
	cursor: pointer !important;
}

.darkmode .clickable-tr:hover{
    background-color: #3a4555;
	transform: scale(1.02);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.5);
}

tr:hover .badgeimg{
	transform: scale(2.5);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.5);
}

.error{
    color: #a94442;
}

input, .input-group-addon{
    border-radius: 0 !important;
}

.default-img:before{
    content: "";
    position: absolute;
    background-image: url(https://www.mal-badges.com/img/default.PNG);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    margin: 0 auto;
    margin-left: -75px;
    z-index: -1;
}

.default-img-sm:before{
    content: "";
    position: absolute;
    background-image: url(https://www.mal-badges.com/img/default.PNG);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    margin: 0 auto;
    margin-left: 0;
    z-index: -1;
}
.default-img-ranking:before{
    content: "";
    position: absolute;
    background-image: url(https://www.mal-badges.com/img/default.PNG);
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    margin: 0 auto;
    z-index: -1;
    width: 50px;
    height: 50px;
}

/* LAYOUT */
h1{
    /* color: #393E46; */
    font-size: 40px;
    margin: 10px 0;
    font-weight: bold;
}

/* HOME */
.home {
    width: 70% !important;
}

.home-submit{
    padding: 0 !important;
}

.home-submit input{
    padding: 6px 12px;
    border: 0;
    background-color: transparent;
}

.home .logo{
    margin-top: 50px;
    text-align: center;
}

.home .logo img{
    max-width: 420px;
    width: 95%;
}

.home form{
    max-width: 500px;
    width: 100%;
    margin: 40px auto 60px auto;
}

.input-group-addon{
    color: white;
    background-color: #4065ba;
}

.counters{
    text-align: center;
    margin-bottom: 40px;
}

.count{
    font-size: 60px;
    font-weight: 700;
}

.title-count{
    display: block;
    margin-top: -15px;
    font-size: 22px;
    font-weight: 600;
}

/* SHOW USER */
.categories{
    text-align: center;
    margin: 15px 0;
}

.categories .title{
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

.categories .one-category{
    cursor: pointer;
}

.categories .active{
    color: white;
    font-weight: bold;
	border-color: #2e51a2;
}

.user{
    text-align: center;
    margin: 20px 0;
}

.user .general{
    margin: 0 20px;
}

.picture, .infos{
    display: inline-block;
}

.infos{
    margin-left: 15px;
    text-align: left;
    margin-top: 20px;
    vertical-align: top;
}

.user h1{
    margin-bottom: 2px;
}

.user .picture{
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    margin: 0 auto;
}

.user_badge{
    position: relative;
}

.user_badge img{
    height: 200px;
}

/*
.user_badge::before, .user_badge::after{
    content: "";
    width: 40%;
    height: 3px;
    background-color: #393E46;
    position: absolute;
    left: 0;
    top: 50%;
}
*/

.user_badge::after{
    right: 0;
    left: auto;
}

.user .actions{
    clear: both;
    margin: 25px auto;
}

.user .actions a, .blue-btn{
    color: white;
    padding: 10px;
    background-color: #4065ba;
    border-radius: 0px;
    font-weight: bold;
}

.blue-btn:hover{
    color: white !important;
}

/* PROGRESS BAR */

.skillbar {
    position:relative;
    display:block;
    margin-bottom:15px;
    width:100%;
    background:#eee;
    height:35px;
    border-radius:3px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    -webkit-transition:0.4s linear;
    -moz-transition:0.4s linear;
    -ms-transition:0.4s linear;
    -o-transition:0.4s linear;
    transition:0.4s linear;
    -webkit-transition-property:width, background-color;
    -moz-transition-property:width, background-color;
    -ms-transition-property:width, background-color;
    -o-transition-property:width, background-color;
    transition-property:width, background-color;
}

.skillbar-bar {
    background: #00ADB5;
    height:35px;
    width:0px;
    border-radius:3px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
}

.skill-bar-percent {
    position:absolute;
    right:10px;
    top:0;
    font-size:11px;
    height:35px;
    line-height:35px;
    color:#ffffff;
    color:rgba(0, 0, 0, 0.4);
}

.remodal-wrapper td{
    text-align: left;
}

/* show user */

body{
    background-color: #f4f4f4;
}

.oneBadge{
    min-height: 100px;
    border: #aba6a6 1px solid;
    padding: 10px;
    border-radius: 5px;
    position: relative;
    margin: 10px 0;
    background-color: white;
    box-shadow: 0px 6px 18px #b1b1b1;
}

.ranks-progress{
    position: absolute;
    right: 10px;
    font-size: 10px;
}

a{
    text-decoration: none !important;
}

.oneBadge h3{
    color: #222d32;
    text-align: center;
}

.oneBadge span{
    color: #222d32;
}

.right{
    float: right;
}

.skillbar{
    bottom: 0px;
    position: absolute;
    margin-bottom: 0;
    right: 0;
    height: 8px;
}

.skillbar-bar{
    height: 100%;
    border-radius: 0px;
}

td, th{
    text-align: center !important;
}





.loader{
    position: fixed;
    z-index: 9999;
    height: 100%;
    width: 100%;
    background-color: rgba(49, 49, 49, 0.7);
    display: none;
    top: 0;
}

.content-loader{
    position: absolute;
    top: 50%;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    -ms-transform: translateY(-50%); /* IE 9 */
    -webkit-transform: translateY(-50%); /* Chrome, Safari, Opera */
    transform: translateY(-50%);
}

.loader p{
    width: 30%;
    margin: 0 auto;
    color: white;
    font-size: 18px;
}

.home-error{
    color: white;
    margin: 10px 0 -7px 0;
}

.right{
    position: absolute;
    right: 10px;
}

.bottom{
    bottom: 10px;
}

.white{
    color: white;
}

tr.bared{
    text-decoration: line-through;
    color: #b5b0b0;
}

tr.bared td{
    color: #b5b0b0 !important;
}


.menu{
    float: right;
    display: inline-block;
    margin-top: -45px;
    font-size: 16px;
}

.menu a{
    text-decoration: none !important;
    margin-right: 25px;
}

.code{
    padding: 10px;
    background-color: #e6dfdf;
    font-style: italic;
}

/* Ranking */
.picture-ranking{
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    display: inline-block;
}

.ranking, .users-table{
    margin: 25px 0;
}

.ranking .index, .users-table .index{
    width: 70px;
}

.ranking .padding.users-table .padding{
    padding-top: 25px !important;
}

.ranking td, .ranking th, .users-table td, .users-table th{
    text-align: left !important;
}

.ranking-name{
    margin: 18px 0 15px 10px;
    vertical-align: top;
    display: inline-block;
    color: #393E46;
}

.ranking td, .users-table td, .table.levels td{
    vertical-align: inherit !important;
}

/* LEVELS */
.table.levels th, .table.levels td{
    text-align: left !important;
}

/* ADS */
.relative-ads{
    position: relative;
}

.left-ads{
    float: left;
    position: absolute;
    top: 10px;
    left: -160px;
}

.right-ads{
    float: right;
    position: absolute;
    top: 10px;
    right: -160px;
}


/* RESPONSIVE */
.menu-mobile i{
    color: white;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 22px;
}

@media screen and (max-width: 768px) {

    .hide-mobile{
        display: none;
    }

    .default-img-ranking, .picture-ranking, .user_badge::before, .user_badge::after, .left-ads, .right-ads{
        display: none;
    }

    .user .actions a{
        margin-bottom: 5px;
    }

    .user .infos{
        text-align: center;
    }

    .user h1{
        font-size: 17px;
    }
    .loader p{
        width: 92%;
        margin: 20px;
    }

    .loader img{
        width: 100%;
    }
}

.dark-mode-toggle {
  position: absolute;
  z-index: 100;
  top: 1em;
  right: 1em;
  color: var(--foreground);
  border: 2px solid currentColor;
  padding: 4px;
  background: transparent;
  cursor: pointer;
  border-radius: 5px;
  width: 30px;
  height: 30px;
}

/* Changelog Page */
.darkmode .build {
    color: #fff;
}

.build-build .build_version {
    font-size: 24px;
}

.build_version {
    font-size: 18px;
    font-weight: 300;
    padding: 20px 0 0;
    display: flex;
    justify-content: center;
}

.build_version-link {
    text-decoration: none;
    color: #000;
    padding: 0 10px;
    margin: 0 10px;
    display: inline-block;
    text-align: center;
	font-family: 'agrevuecyr-romanmedium';
	letter-spacing: 1px;
}

.darkmode .build_version-link {
    text-decoration: none;
    color: #fff;
    padding: 0 10px;
    margin: 0 10px;
    display: inline-block;
    text-align: center;
	font-family: 'agrevuecyr-romanmedium';
	letter-spacing: 1px;
}

.fab, .fal, .far, .fas {
    flex: none;
}

.fa, .far, .fas {
    font-family: Font Awesome\ 5 Free;
}

.fa, .fas {
    font-weight: 900;
}

.fa, .fab, .fal, .far, .fas {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.fa-chevron-left:before {
    content: "\f053";
}

.build_stream {
	font-weight: 500;
	font-variant: all-petite-caps;
}

.t-changelog-stream-stable .u-changelog-stream-text {
    color: #2e51a2;
}

.darkmode .t-changelog-stream-stable .u-changelog-stream-text {
    color: #6cf;
}

.build_version-link-disabled {
    opacity: .5;
}

.fa-chevron-right:before {
    content: "\f054";
}

.build_date {
    font-size: 13px;
    font-weight: 300;
    text-align: center;
    padding-top: 3px;
	font-family: 'agrevuecyr-romanmedium';
}

.margin-top-xl {
	font-size: 20px;
	font-weight: 600;
    font-variant-caps: all-petite-caps;
}

.fa-li {
    left: calc(var(--fa-li-width, 2em)*-1);
    position: absolute;
    text-align: center;
    width: var(--fa-li-width,2em);
    line-height: inherit;
}

.darkmode .audun_warn {
	border-color: #000;
	color: #ffffff;
	background-color: #e04747;
}

.darkmode .audun_info {
	border-color: #000;
	color: #000000;
	background-color: #e0dd47;
}

.darkmode .audun_success {
	border-color: #000;
	color: #ffffff;
	background-color: #e04747;
}

.audun_warn {
    color: #000;
    background-color: #FF8080;
    font-family: 'Source Sans Pro', sans-serif;
    border-radius:.5em;
    border: 1px solid;
    margin: 10px 0px;
    padding:12px;
	width: 52%;
	border-color: #fff;
}

.audun_info {
    color: #000;
    background-color: #e0dd47;
    font-family: 'Source Sans Pro', sans-serif;
    border-radius:.5em;
    border: 1px solid;
    margin: 10px 0px;
    padding:12px;
	width: 52%;
    border-color: #fff;
}

.audun_success {
    color: #ffffff;
    background-color: #7DDF7C;
    font-family: 'Source Sans Pro', sans-serif;
    border-radius:.5em;
    border: 1px solid;
    margin: 10px 0px;
    padding:12px;
	width: 52%;
}

.newbtn-div {
    line-height: 1;
    border-radius: 0.5rem;
    margin-right: 3px !important;
    border-radius: 0.5rem !important;
}

.newbtn-div .disabled {
    background-color:grey !important;
    line-height: 1;
    border-radius: 0.5rem;
    margin-right: 3px !important;
    border-radius: 0.5rem !important;
}

.newbtn-div .disable, .noclick {
    cursor: not-allowed;
    background-color:grey !important;
    line-height: 1;
    border-radius: 0.5rem;
    margin-right: 3px !important;
    border-radius: 0.5rem !important;
}

.newbtn-div .disable, .wait {
    cursor: wait;
    background-color: #673ab7 !important;
    line-height: 1;
    border-radius: 0.5rem;
    margin-right: 3px !important;
    border-radius: 0.5rem !important;
}

.newbtn-text {
    margin-right: 0.70rem;
    font-weight: 900 !important;
    font-size: 16px !important;
}
