/*
Theme Name: Новичкам
Author: Ты
*/
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700&subset=cyrillic');
* {
    margin: 0;
    padding: 0;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    line-height: 1;
}
article,
footer,
header,
main,
nav,
section {
    display: block;
}
body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    width: 100%;
}
.wpml-ls {
	position: fixed;
	top: 10px;
}
.inner {
	width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}
.center {
    text-align: center;
}
.clear {
    clear: both;
}
.left {
    float: left;
}
.grid {
    display: grid;
}
.cols-2 {
    grid-template-columns: repeat(2, 1fr);
	grid-column-gap: 20px;
}
.footer .cols-2 {
    grid-template-columns: 250px 1fr;	
}
.cols-3 {
    grid-template-columns: repeat(3, 1fr);
	grid-column-gap: 20px;
}
.header .cols-3 {
    grid-template-columns: 280px 1fr 310px;
	grid-column-gap: 20px;
}
.cols-4 {
    grid-template-columns: repeat(4, 1fr);
	grid-column-gap: 20px;
}
.cols-5 {
    grid-template-columns: repeat(5, 1fr);
	grid-column-gap: 20px;
}
.cols-rows-2 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-row-gap: 50px;
    grid-column-gap: 100px;
}
.cols-rows-3 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-row-gap: 5px;
    grid-column-gap: 30px;
}
a {
    color: #0da794;
    text-decoration: none;
    -webkit-transition: .3s all;
    -moz-transition: .3s all;
    -ms-transition: .3s all;
    -o-transition: .3s all;
    transition: .3s all;
}
strong {
	font-weight: 700;
}
img {
	max-width: 100%;
	height: auto;
}
.front-page {
    background: url("/wp-content/themes/new/img/mainbg.jpg");
    background-size: cover;
    height: 100vh;
}
.header {
    background: #fff;
}
.logo img {
    width: 280px;
}
#top_menu {
    margin-top: 32px;
}
.menu li {
    list-style: none;
    display: inline;
    font-weight: 300;
    margin: 0 5px;
    font-size: 14px;
}
.footer .menu li {
    font-size: 15px;
}
#top_menu a {
    color: #1f1f1f;
    font-weight: ;
    padding: 5px 7px;
    background: #F0EADB;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}
#top_menu a:hover {
    background: #606885;
    color: #fff;
}
#bottom_menu a:hover {
    text-decoration: underline;
    color: #f4f4f4;
}
.socials {
    margin-top: 26px;
    text-align: right;
}
.socials a {
    width: 30px;
    height: 30px;
    margin-left: 5px;
    display: inline-block;
    background-size: cover;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}
.vk {
    background: url("/wp-content/themes/new/img/social/vk.png");
}
.youtube {
    background: url("/wp-content/themes/new/img/social/youtube.png");
}
.mmgp {
    background: url("/wp-content/themes/new/img/social/mmgp.png");
}
.rusmmg {
    background: url("/wp-content/themes/new/img/social/rusmmg.png");
}
.skype {
    background: url("/wp-content/themes/new/img/social/skype.png");
}
.telegram {
    background: url("/wp-content/themes/new/img/social/telegram.png");
}
.telegram_news {
    background: url("/wp-content/themes/new/img/social/telegram_news.png");
}
.top-bot {
    background: url("/wp-content/themes/new/img/social/ntgbot.jpg");
}
.hmetr {
    background: url("/wp-content/themes/new/img/social/h-metrics.png");
}
.phb {
    background: url("/wp-content/uploads/2017/09/icon.png");
}
.page_title {
    display: inline-block;
    padding: 20px 40px;
    background: rgba(48, 52, 66, 0.8);
    text-transform: uppercase;
    color: #f4f4f4;
    font-size: 22px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    margin: 100px auto;
    letter-spacing: 0.3px;
}
.head_block {
    background-size: cover;
    background-position: center;
}
.head_block,
article {
    margin-bottom: 40px;
}
article p {
    margin-bottom: 12px;
    font-weight: 300;
    line-height: 1.5;
}
article p a {
    font-weight: 500;
}
article p a:hover {
    text-decoration: underline;
}
article ul,
article ol {
    margin-left: 30px;
    margin-bottom: 12px;
}
main.img_rotate {
    padding-top: 30px;
}
main.cols-5 img,
.inner_list img {
    width: 100%;
    height: auto;
}
.img_rotate figure {
    overflow: hidden;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.75);
    box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.75);
    margin-bottom: 10px;
}
.img_rotate a {
    color: #fff;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 1);
}
.img_rotate figure img {
    -webkit-transform: rotate(10deg) scale(1.5);
    transform: rotate(10deg) scale(1.5);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
.img_rotate figure:hover img {
    -webkit-transform: rotate(0) scale(1.1);
    transform: rotate(0) scale(1.1);
}
.cols-rows-2 img {
    width: 100%;
    height: auto;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: 8px solid transparent;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    -webkit-transition: .5s all;
    -moz-transition: .5s all;
    -ms-transition: .5s all;
    -o-transition: .5s all;
    transition: .5s all;
}
.cols-rows-2 img:hover {
    -webkit-filter: grayscale(50%);
    -moz-filter: grayscale(50%);
    -ms-filter: grayscale(5%);
    -o-filter: grayscale(50%);
    filter: grayscale(50%);
    filter: gray;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.30);
}
.beginning .left {
    display: inline-block;
    width: 35px;
    height: 70px;
    margin-right: 20px;
    border-right: 2px dashed #b3b3b3;
    font-size: 32px;
    line-height: 68px;
    font-weight: 700;
}
.one {
    color: #ff3627;
}
.two {
    color: #00ae68;
}
.three {
    color: #ff9400;
}
.four {
    color: #00adee;
}
.img_merch {
	position: relative;
	display: inline-block;
	width: 70%;
}
a .fa-search-plus {
	position: absolute;
	color:transparent;
	font-size:60px;
    -webkit-transition: .5s all;
    -moz-transition: .5s all;
    -ms-transition: .5s all;
    -o-transition: .5s all;
    transition: .5s all;
	left:43%;
	top:42%;
}
a:hover .fa-search-plus {
	color:#f4f4f4;
	text-shadow: 0px 0px 5px rgba(150, 150, 150, 1);	
}
.earn_page {
	font-size:14px;
	margin-bottom:80px;
}
.earn_page > div {
	position: relative;
	height:170px;
}
.earn_page img {
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	width:60px;
	height:auto;
	float:left;
}
.earn_in {
	margin-left:90px;
}
.earn_title,
.earn_title a {
	font-size:17px;
    color: #333;
	font-weight: 700;	
}
.earn_title .fa {
	font-size:15px;
	margin-left:3px;
}

.full_list {
	background: url("/wp-content/themes/new/img/list_bg.jpg");
	background-size: cover;
	padding: 20px 0;
}
.footer.main {
    position: absolute;
    bottom: 0;
    width: 100%;
	color:#fff;
}
.footer {
    padding: 10px 0;
    background: rgba(48, 52, 66, 0.8);
    font-weight: 300;
	font-size:14px;
}
#bottom_menu {
	text-align:right;
}
.footer a,
.footer {
    color: #fff;
}
img.alignright {
    float: right;
    margin: 0 0 1em 1em
}
img.alignleft {
    float: left;
    margin: 0 1em 1em 0
}
img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}
a img.alignright {
    float: right;
    margin: 0 0 1em 1em
}
a img.alignleft {
    float: left;
    margin: 0 1em 1em 0
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}
@media (max-width: 801px) {
	.inner {
		padding: 0 15px;
	}
	.grid {
		display: block;
	}
	.header,
	.footer,
	.right,
	.socials {
		text-align: center;
	}
	.socials {
		margin-top: 0;
		display: inline-block;
	}
	#top_menu a {
		display: inline-block;
		width: 180px;
		margin-bottom: 10px;
	}
	#bottom_menu {
		text-align: left;
	}
	.footer.main {
		position: relative;
	}
	.footer {
		padding: 25px 0;
	}
	.beginning > div {
		margin-bottom: 25px;
	}
	.menu li,
	.menu li a,
	.menu span {
		display: block;
		text-transform: none;
		font-weight: 400;
		letter-spacing: 0.1px;
	}
	.menu li a,
	.menu span	{
		padding: 10px 40px;
		font-size: 16px;
	}
	.menu-menu-1-container {
		text-align: left;
	}
	.no-result {
		padding: 20px 0;
	}
	.menu li a, 
	.menu span {
		padding: 5px 0;
	}
	main.img_rotate {
		padding-top: 0;
	}
	main.inner {
		padding-top: 35px;
		padding-bottom: 35px;
	}
	.img_rotate div.center {
		margin-bottom: 25px;
	}
	.img_rotate div.center:last-child {
		margin-bottom: 0;
	}
	#top_menu {
		margin-top: 0;
	}
	.img_rotate a {
		font-size: 20px;
	}
	.cols-2 div,
	.cols-3 div,
	.img_merch {
		margin-bottom: 15px;
	}
	.img_merch {
		max-width: 250px;
	}
	.footer .cols-2 div:last-child,
	.img_merch:last-child {
		margin-bottom: 0;
	}
	.earn_page > div {
		display: block;
		margin-bottom: 25px;
		height: auto;
	}
}
@media (max-width: 667px) {
	.beginning .left {
		height: 100%;
	}
	.head_block {
		margin-bottom: 0;
	}
	.full_list {
		background-size: auto;
	}
}
@media (min-width: 668px) {
	main.grid {
		display: grid;
	}
	#bottom_menu {
		text-align: center;
	}
	#bottom_menu li {
		display: inline-block;
	}
	.img_rotate a {
		font-size: 16px;
	}
}
@media (min-width: 667px) {
	.full_list .grid.cols-5 {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (min-width: 414px) {
	.full_list .grid {
		display: grid;
	}
	.full_list .grid.cols-5 {
		grid-template-columns: repeat(2, 1fr);
	}
	.full_list .img_rotate a {
		font-size: 16px;
	}
}