/*
Theme name: r6stats
Description: r6stats
Author: Aleksandrlao
Author URI: https://alaoweb.top
*/


:root {
	--white: #fff;
	--black: #1A1B1F;
	--d-blue: #16242e;
	--gray: #f4f3ec;
	--first: #FFDB0D;
	--second: #FF9500;
	--red: #ff3d2c;
}



*, *::before, *::after {
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
	display: block;
}
html {
	font-size: 20px;
}
body {
	background: var(--d-blue) url("i/bg.jpg") center no-repeat;
	-webkit-background-size: cover;
	background-size: cover;
	background-attachment: fixed;
	color: var(--white);
	font: 0.9rem/1.5 'Open Sans', Arial, sans-serif;
}
body.nav-active {
	overflow: hidden;
}
.box {
	width: 100%;
	min-width: 320px;
	position: relative;
}
.container {
	width: 100%;
	min-width: 320px;
	max-width: 1140px;
	padding-left: 1rem;
	padding-right: 1rem;
	margin: 0 auto;
	position: relative;
	border-top: 0 solid transparent;
}
.container::after {
	content: '';
	display: block;
	clear: both;
	width: 100%;
	height: 0;
}
.flx {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
}


a {
	color: var(--first);
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}

input, 
textarea, 
select,
button {
	font-family: 'Open Sans', Arial, sans-serif;
}
input.error {
	color: #f00 !important;
	border: 1px solid #f00 !important;
}
input.valid {
	border: 1px solid #339e36 !important;
}
input:focus {
	color: #000;
}
input::-webkit-input-placeholder {
	color: #777;
}
input::-moz-placeholder {
	color: #777;
}
input:-moz-placeholder {
	color: #777;
}
input:-ms-input-placeholder {
	color: #777;
}






.text {
	overflow: hidden;
}
.text p {
	margin-bottom: 1.2rem;
}
.text h2, 
.text h3, 
.text h4, 
.text h5 {
	margin-bottom: 1.2rem;
	font-size: 1.5rem;
	line-height: 1.3;
}
.text h3 {
	font-size: 1.2rem;
}
.text h4, .text h5 {
	font-size: 1rem;
}
.text table {
	width: 100%;
	border-collapse: collapse;
}
.text table tr td {
	border: 1px solid var(--white);
	padding: 10px;
	margin-bottom: 1.2rem;
}
.text ul, .text ol {
	margin: 0 0 1rem 1.2rem;
}
.text li {
	margin-bottom: 8px;
}
.text img {
	display: block;
	max-width: 100%;
	height: auto;
}



.alignleft {display: inline;float: left;margin: 5px 15px 5px 0;}
.alignright {display: inline;float: right;margin: 5px 0 5px 15px;}
.aligncenter {clear: both;display: block;margin: 5px auto;}




.button {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	min-height: 44px;
	padding: 8px 20px;
	border-radius: 8px;
	background: var(--first);
	border: none;
	outline: none;
	color: var(--black);
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: all .3s ease;
}
.button:hover {
	background: var(--red);
	color: var(--white);
}


.social {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 16px;
}
.social__item {
	display: block;
	width: 24px;
	height: 24px;
	background: var(--white);
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
	transition: all .3s ease;
}
.social__item--yt {
	-webkit-mask-image: url("i/bg-icon-youtube.svg");
	mask-image: url("i/bg-icon-youtube.svg");
}
.social__item--tw {
	-webkit-mask-image: url("i/bg-icon-twitter.svg");
	mask-image: url("i/bg-icon-twitter.svg");
}
.social__item--in {
	-webkit-mask-image: url("i/bg-icon-linkedin.svg");
	mask-image: url("i/bg-icon-linkedin.svg");
}
.social__item--fb {
	-webkit-mask-image: url("i/bg-icon-facebook.svg");
	mask-image: url("i/bg-icon-facebook.svg");
}
.social__item--ig {
	-webkit-mask-image: url("i/bg-icon-instagram.svg");
	mask-image: url("i/bg-icon-instagram.svg");
}
.social__item--th {
	-webkit-mask-image: url("i/bg-icon-twitch.svg");
	mask-image: url("i/bg-icon-twitch.svg");
}
.social__item--di {
	-webkit-mask-image: url("i/bg-icon-discord.svg");
	mask-image: url("i/bg-icon-discord.svg");
}
.social__item--me {
	-webkit-mask-image: url("i/bg-icon-medium.svg");
	mask-image: url("i/bg-icon-medium.svg");
}
.social__item--qu {
	-webkit-mask-image: url("i/bg-icon-quora.svg");
	mask-image: url("i/bg-icon-quora.svg");
}
.social__item--re {
	-webkit-mask-image: url("i/bg-icon-reddit.svg");
	mask-image: url("i/bg-icon-reddit.svg");
}
.social__item:hover {
	background: var(--first);
}





/* Header ----------------------------------------------------------------------------- */
.header {
	padding-top: 1rem;
	padding-bottom: 1rem;
	background: var(--black);
	color: var(--white);
}
.header .container {
	align-items: center;
}
.header__logo {
	display: block;
	width: 48px;
	height: 48px;
	background: url("i/logo-r6stats.jpg") center no-repeat;
	-webkit-background-size: contain;
	background-size: contain;
}

.header__nav {
	max-width: calc(100% - 150px);
	margin: 0 auto;
}
.header__nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 24px;
	list-style: none;
}
.header__nav ul li {
	position: relative;
}
.header__nav ul li a {
	display: block;
	position: relative;
	color: var(--first);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.1;
	text-decoration: none;
	transition: all .3s ease;
}
.header__nav ul li.current-menu-item a,
.header__nav ul li a:hover {
	color: var(--white);
}


.header__search {
	display: block;
	width: 30px;
	height: 30px;
	border: none;
	background: var(--first);
	-webkit-mask: url('i/bg-icon-search.svg') center no-repeat;
	mask: url('i/bg-icon-search.svg') center no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
	transition: all .3s ease;
	cursor: pointer;
}
.header__search:hover {
	background: var(--white);
}


.header__nav-btn {
	display: none;
	width: 30px;
	height: 30px;
	border: none;
	margin-left: 32px;
	background: transparent;
	outline: none;
	cursor: pointer;
}
.header__nav-btn span {
	display: inline-block;
	vertical-align: top;
	width: 100%;
	height: 2px;
	border-radius: 3px;
	background: var(--white);
	margin: 7px 0 0;
	position: relative;
}
.header__nav-btn span::before, 
.header__nav-btn span::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	border-radius: 3px;
	background: var(--white);
	transition: all 0.4s ease;
}
.header__nav-btn span::before {
	top: -7px;
}
.header__nav-btn span::after {
	bottom: -7px;
}
.nav-active .header__nav-btn span {
	background: transparent;
}
.nav-active .header__nav-btn span::before {
	top: 0;
	-webkit-transform: rotate(45deg);
	background: var(--first);
}
.nav-active .header__nav-btn span::after {
	bottom: 0;
	-webkit-transform: rotate(-45deg);
	background: var(--first);
}








/* Hero ----------------------------------------------------------------------------- */
.hero {
	padding-top: 4rem;
	padding-bottom: 5rem;
	border-bottom: 2px solid var(--black);
}
.hero .container {
	z-index: 10;
}
.hero__head {
	margin-bottom: 2rem;
	color: var(--white);
	font-size: 56px;
	font-weight: bold;
	line-height: 1.2;
	text-align: center;
}

.hero__link-list ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 30px;
	list-style: none;
}
.hero__link-list a {
	color: var(--white);
	font-size: 18px;
	line-height: 1.2;
	text-decoration: none;
	transition: all .3s ease;
}
.hero__link-list .current-menu-item a,
.hero__link-list a:hover {
	color: var(--first);
}

.hero__bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--black);
	opacity: .7;
}










/* Middle ----------------------------------------------------------------------------- */
.content {
	padding-top: 3rem;
	padding-bottom: 5rem;
}



.blog__list {
	justify-content: flex-start;
	align-items: stretch;
	width: calc(100% + 32px);
	margin-left: -16px;
}
.blog-item {
	width: calc(50% - 32px);
	margin: 0 16px 32px;
	background: var(--black);
	border-radius: 12px;
}
.main-page .blog-item:first-child {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
	width: calc(100% - 32px);
}
.blog-item__thumb {
	display: block;
	width: 100%;
	border-radius: 12px 12px 0 0;
	overflow: hidden;
}
.main-page .blog-item:first-child .blog-item__thumb {
	width: 50%;
	border-radius: 12px 0 0 12px;
}
.blog-item__thumb-ins {
	display: block;
	width: 100%;
	padding-top: 64%;
	position: relative;
	overflow: hidden;
}
.main-page .blog-item:first-child .blog-item__thumb-ins {
	height: 100%;
}
.blog-item__thumb-ins img {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all .3s ease;
}
.blog-item__thumb-ins:hover img {
	transform: scale(1.1);
}
.blog-item__info {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	padding: 20px;
}
.main-page .blog-item:first-child .blog-item__info {
	width: 50%;
}
.blog-item__title {
	display: block;
	margin-bottom: 20px;
	width: 100%;
	color: var(--white);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
	transition: all .3s ease;
}
.main-page .blog-item:first-child .blog-item__title {
	font-size: 25px;
}
.blog-item__title:hover {
	color: var(--first);
}
.blog-item__data {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding-bottom: 10px;
	color: var(--gray);
	font-size: 12px;
	opacity: .6;
}
.blog-item__time {
	padding-left: 22px;
	position: relative;
}
.blog-item__time::before {
	content: '';
	position: absolute;
	top: 1px;
	left: 0;
	width: 16px;
	height: 16px;
	background: var(--white);
	-webkit-mask: url('i/bg-icon-time.svg') center no-repeat;
	mask: url('i/bg-icon-time.svg') center no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
	opacity: .6;
}
.blog-item__date {
	padding-left: 22px;
	position: relative;
}
.blog-item__date::before {
	content: '';
	position: absolute;
	top: 1px;
	left: 0;
	width: 16px;
	height: 16px;
	background: var(--white);
	-webkit-mask: url('i/bg-icon-date.svg') center no-repeat;
	mask: url('i/bg-icon-date.svg') center no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
	opacity: .6;
}
.blog-item__desc {
	margin-bottom: 20px;
	font-size: 16px;
}
.blog-item__read-more {
	margin-top: auto;
}
.blog-item__read-more:hover {

}






.pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 24px;
	padding-top: 1rem;
	padding-bottom: 1rem;
}
.pagination a,
.pagination span {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	min-width: 40px;
	min-height: 40px;
	padding: 2px 8px;
	border: 1px solid var(--first);
	border-radius: 4px;
	color: var(--white);
	font-size: 18px;
	font-weight: bold;
	line-height: 1.3;
	text-decoration: none;
	text-align: center;
	transition: all .3s ease;
}
.pagination span.current {
	background: var(--first);
	color: var(--black);
}
.pagination a {
	border-color: var(--red);
}
.pagination a:hover {
	background: var(--red);
	color: var(--white);
}





.breadcrumbs {
	margin-bottom: 0.8rem;
	font-size: 13px;
}
.breadcrumbs a {
	text-decoration: none;
}
.breadcrumbs a:hover {
	text-decoration: underline;
}
.breadcrumbs .current {
	opacity: .8;
}




	/* Single ----------------------------------------------------------------------------- */
.single-page {
	padding-top: 2rem;
	padding-bottom: 3rem;
}
.single-page .container {
	overflow: visible;
}
.single-page .container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
}
.single-content {
	width: calc(100% - 300px);
	background: rgba(0, 0, 0, .5);
	padding: 20px;
}
.one-page .single-content {
	width: 100%;
}
.single-page__head {
	margin-bottom: 1rem;
	font-size: 40px;
	font-weight: 500;
	line-height: 1.3;
}

.single-author {
	margin-bottom: 16px;
	font-size: 15px;
}

.single-page__thumb {
	width: 100%;
	padding: 8px;
	border: 1px solid var(--first);
	margin-bottom: 1.2rem;
}
.single-page__thumb img {
	display: block;
	width: 100%;
	height: auto;
	margin-bottom: 0;
}

.single-content .ez-toc-counter {
	display: none !important;
}


.author-content {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 2rem;
}
.author-photo {
	width: 30%;
}
.author-photo img {
	display: block;
	width: 100%;
	height: auto;
}
.author-info {
	width: 64%;
}
.author-info .social {
	padding-bottom: 1.2rem;
}




.sidebar {
	width: 260px;
}
.sidebar-article-nav {
	position: sticky;
	top: 10px;
	left: 0;
	background: var(--black);
	padding: 16px;
}
.sidebar-article-nav__head {
	margin-bottom: 12px;
	font-size: 16px;
	line-height: 1.3;
}


#ez-toc-container {
	background-color: transparent !important;
	border: none !important;
	padding: 0 !important;
}
.ez-toc-title-container {
	display: none !important;
}
div#ez-toc-container ul.ez-toc-list a {
	color: var(--whire);
}
div#ez-toc-container ul.ez-toc-list a.active-toc {
	color: var(--second);
}











	/* Footer ----------------------------------------------------------------------------- */
.footer {
	background: var(--black);
	padding-top: 3rem;
	padding-bottom: 3rem;
	color: var(--white);
}

.footer-top {
	padding-bottom: 2rem;
}
.footer__info {
	width: 20%;
}
.footer__logo {
	display: block;
	width: 32px;
	height: 32px;
	background: url("i/logo-r6stats.jpg") center no-repeat;
	-webkit-background-size: contain;
	background-size: contain;
}
.footer__nav {
	width: 25%;
}
.footer__head {
	margin-bottom: 0.6rem;
	font-size: 20px;
	font-weight: 500;
}
.footer__nav ul {
	list-style: none;
}
.footer__nav ul li {
	margin-bottom: 4px;
}
.footer__nav ul li a {
	color: var(--white);
	font-size: 15px;
	text-decoration: none;
	transition: all .3s ease;
}
.footer__nav ul li a:hover {
	color: var(--first);
}
.footer__contact {
	width: 24%;
}
.footer__contact .social {
	justify-content: flex-end;
	gap: 16px;
	max-width: 220px;
	margin-left: auto;
}

.footer-bottom {
	align-items: center;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, .4);
}
.footer__copyright {
	font-size: 12px;
}
.footer__dmca {
	width: 88px;
}
.footer__dmca img {
	display: block;
	width: 100%;
	height: auto;
}





.search-box {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, .4);
	opacity: 0;
	pointer-events: none;
	transition: all .3s ease;
}
.search-active .search-box {
	opacity: 1;
	pointer-events: auto;
}
.search-box__close {
	display: block;
	width: 30px;
	height: 30px;
	background: var(--white);
	-webkit-mask: url('i/bg-icon-close.svg') center no-repeat;
	mask: url('i/bg-icon-close.svg') center no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
	margin-top: 60px;
	margin-bottom: 34px;
	margin-left: auto;
	transition: all .3s ease;
}
.search-box__close:hover {

}
.search-box__wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}
.search-box__input {
	width: calc(100% - 200px);
	height: 44px;
	background: var(--white);
	border: 1px solid var(--white);
	padding-left: 16px;
	padding-right: 8px;
	border-radius: 4px;
	outline: none;
	color: #000;
}
.search-box__submit {
	display: block;
	width: 160px;
	height: 44px;
	background: var(--first);
	border: none;
	outline: none;
	border-radius: 4px;
	color: var(--black);
	font-size: 18px;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: all .3s ease;
}
.search-box__submit:hover {
	background: var(--white);
}




/* Всплывающие окна */
.overlay {
	display: none;
	background-color: #000;
	opacity: .7;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 999
}
.overlay.active {
	display: block;
}

.popup {
	display: none;
	position: relative;
	width: 100%;
	max-width: 400px;
	padding: 25px;
	background: #fff;
	text-align: center;
	z-index: 9999;
}
.popup__close {
	width: 24px;
	height: 24px;
	-webkit-border-radius: 100%;
		  border-radius: 100%;
	position: absolute;
	background: #000;
	color: #FFF;
	font-size: 12px;
	line-height: 20px;
	text-align: center;
	border: 1px solid #363636;
	top: -11px;
	right: -11px;
	cursor: pointer;
}
.popup__close:hover {
	background: #FFF;
	color: #000;
}
.popup__title {
	margin-bottom: 5px;
	font-size: 30px;
	font-weight: 300;
	line-height: 34px;
	color: #000;
}
.popup__subtitle {
	margin-bottom: 20px;
	font-size: 13px;
	line-height: 21px;
	text-align: center;
	color: #000;
}
.popup__label {
	position: relative;
}
.popup__body input,
.popup__body textarea {
	width: 100%;
	height: 40px;
	margin-top: 12px;
	padding-left: 12px;
	border: 1px solid #eee;
	background-color: #FFF;
	outline: none;
}
.popup-body textarea {
	height: 120px;
	resize: none;
	padding-top: 5px;
}
.popup-body input[type="submit"] {
	height: 46px;
	padding-left: 0;
	background-color: #FC0;
	border: 1px solid #FC0;
	color: #000;
	font-size: 17px;
	font-weight: bold;
	line-height: 44px;
	cursor: pointer;
}



/* Форма */


input.hide_input {
	display: none;
}
span.wpcf7-not-valid-tip, div.wpcf7-validation-errors {
	display: none !important;
}
.popup-body input.wpcf7-not-valid {
	border: 1px solid #c00;
}

.popup-thy {
	position: fixed;
	top: calc(50% - 160px);
	left: calc(50% - 200px);
}




/* ==============================================================
   ========================  MEDIA  =============================
   ============================================================== */
@media screen and (max-width:1140px) {

	.hero {
		padding-top: 3rem;
		padding-bottom: 4rem;
	}
	.hero__head {
		margin-bottom: 1.2rem;
		font-size: 52px;
	}

}












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

	.header__nav {
		position: fixed;
		top: 0;
		left: -100%;
		width: 90%;
		height: 100%;
		overflow: hidden;
		overflow-y: visible;
		background: var(--black);
		padding: 2rem 1rem;
		opacity: 0;
		transition: all .3s ease;
		z-index: 80;
	}
	.nav-active .header__nav {
		left: 0;
		opacity: 1;
	}
	.header__nav ul {
		display: block;
		padding-bottom: 24px;
	}
	.header__nav li {
		padding-bottom: 5px;
	}

	.header__search {
		margin-left: auto;
	}

	.header__nav-btn {
		display: block;
	}


	.hero {
		padding-top: 2rem;
		padding-bottom: 2.4rem;
	}
	.hero__head {
		max-width: 520px;
		margin: 0 auto 1.2rem;
		font-size: 44px;
	}


	.author-photo,
	.author-info {
		width: 100%;
		padding-bottom: 0.8rem;
	}


	.single-content {
		width: calc(100% - 240px);
	}
	.sidebar {
		width: 220px;
	}


	.footer {
		padding-top: 2rem;
		padding-bottom: 1.5rem;
	}
	.footer__info {
		width: 18%;
	}

}












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

	.hero {
		padding-top: 1.5rem;
		padding-bottom: 2rem;
	}
	.hero__head {
		max-width: 440px;
		margin: 0 auto 1.2rem;
		font-size: 36px;
	}


	.blog-item {
		width: calc(100% - 32px);
		margin: 0 16px 32px;
	}
	.main-page .blog-item:first-child .blog-item__thumb {
		width: 100%;
		border-radius: 12px 12px 0 0;
	}
	.main-page .blog-item:first-child .blog-item__info {
		width: 100%;
	}




	.single-content {
		width: 100%;
	}
	.sidebar {
		display: none;
	}


	.footer__contact {
		width: 100%;
		margin-top: 2rem;
		padding-top: 2rem;
		border-top: 1px solid rgba(255, 255, 255, .5);
	}
	.footer__contact .social {
		justify-content: center;
		max-width: 100%;
	}

}












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

	.main-page .blog-item:first-child .blog-item__title,
	.blog-item__title {
		font-size: 20px;
	}


	.footer__info {
		width: 100%;
		padding-bottom: 1rem;
	}
	.footer__logo {
		margin: 0 auto;
	}
	.footer__nav {
		width: 48%;
	}

}












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

	.hero__head {
		font-size: 32px;
	}
	.hero__link-list ul {
		gap: 20px;
	}


	.footer__nav {
		width: 100%;
		padding-bottom: 1.2rem;
	}
	.footer__contact {
		margin-top: 1rem;
	}

}












/* END ============================================================= */

