body .outerprofilemenu.nshw{
	display: none;
}
body .outerprofilemenu{
	width: 0px;
	height: 0px;
	overflow: hidden;
}
body.fullload div,
body.fullload a{
	opacity: 1;
	visibility: visible;
}
@media only screen and (max-width: 1080px){
	/* esprit-auth-widget-holder */
	#espritauthwidget_main,
	#espritauthwidget_main iframe{
		width: 1080px !important;
		max-width: 100%;
		height: 1688px !important;
		margin: 0 auto;
	}

	/* esprit-auth-widget-holder */
}
#main ul#frontpage-games li .toback,
#main ul#frontpage-games li .apl_link{
	display: none;
}
ul#frontpage-games li .projects_img{
	display: none;
}
ul#frontpage-games li .projects_img_d{
	display: block;
}
.outer_stores{
	display: none;
}
/*@media (max-device-width: 1080px), (max-width: 1080px){*/
@media only screen and (max-width: 960px){

	@font-face {
	  font-family: "Rubik";
	  src: url("https://p-cdn.espritgames.ru/wp-content/themes/espritgames/fonts/rubik/Rubik.eot"); /* IE9 Compat Modes */
	  src: url("https://p-cdn.espritgames.ru/wp-content/themes/espritgames/fonts/rubik/Rubik.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
	    url("https://p-cdn.espritgames.ru/wp-content/themes/espritgames/fonts/rubik/Rubik.svg") format("svg"), /* Legacy iOS */
	    url("https://p-cdn.espritgames.ru/wp-content/themes/espritgames/fonts/rubik/Rubik.ttf") format("truetype"), /* Safari, Android, iOS */
	    url("https://p-cdn.espritgames.ru/wp-content/themes/espritgames/fonts/rubik/Rubik.woff") format("woff"), /* Modern Browsers */
	    url("https://p-cdn.espritgames.ru/wp-content/themes/espritgames/fonts/rubik/Rubik.woff2") format("woff2"); /* Modern Browsers */
	  font-weight: normal;
	  font-style: normal;
	}
	@font-face {
	  font-family: "Rubiklight";
	  src: url("https://p-cdn.espritgames.ru/wp-content/themes/espritgames/fonts/rubik/Rubiklight.eot"); /* IE9 Compat Modes */
	  src: url("https://p-cdn.espritgames.ru/wp-content/themes/espritgames/fonts/rubik/Rubiklight.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
	    url("https://p-cdn.espritgames.ru/wp-content/themes/espritgames/fonts/rubik/Rubiklight.svg") format("svg"), /* Legacy iOS */
	    url("https://p-cdn.espritgames.ru/wp-content/themes/espritgames/fonts/rubik/Rubiklight.ttf") format("truetype"), /* Safari, Android, iOS */
	    url("https://p-cdn.espritgames.ru/wp-content/themes/espritgames/fonts/rubik/Rubiklight.woff") format("woff"), /* Modern Browsers */
	    url("https://p-cdn.espritgames.ru/wp-content/themes/espritgames/fonts/rubik/Rubiklight.woff2") format("woff2"); /* Modern Browsers */
	  font-weight: normal;
	  font-style: normal;
	}
	@font-face {
	  font-family: "Rubikblack";
	  src: url("https://p-cdn.espritgames.ru/wp-content/themes/espritgames/fonts/rubik/Rubikblack.eot"); /* IE9 Compat Modes */
	  src: url("https://p-cdn.espritgames.ru/wp-content/themes/espritgames/fonts/rubik/Rubikblack.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
	    url("https://p-cdn.espritgames.ru/wp-content/themes/espritgames/fonts/rubik/Rubikblack.svg") format("svg"), /* Legacy iOS */
	    url("https://p-cdn.espritgames.ru/wp-content/themes/espritgames/fonts/rubik/Rubikblack.ttf") format("truetype"), /* Safari, Android, iOS */
	    url("https://p-cdn.espritgames.ru/wp-content/themes/espritgames/fonts/rubik/Rubikblack.woff") format("woff"), /* Modern Browsers */
	    url("https://p-cdn.espritgames.ru/wp-content/themes/espritgames/fonts/rubik/Rubikblack.woff2") format("woff2"); /* Modern Browsers */
	  font-weight: normal;
	  font-style: normal;
	}
	@font-face {
	  font-family: "Rubikmedium";
	  src: url("https://p-cdn.espritgames.ru/wp-content/themes/espritgames/fonts/rubik/Rubikmedium.ttf") format("truetype"), /* Safari, Android, iOS */
	    url("https://p-cdn.espritgames.ru/wp-content/themes/espritgames/fonts/rubik/Rubikmedium.woff") format("woff"), /* Modern Browsers */
	    url("https://p-cdn.espritgames.ru/wp-content/themes/espritgames/fonts/rubik/Rubikmedium.woff2") format("woff2"); /* Modern Browsers */
	  font-weight: normal;
	  font-style: normal;
	}
	html{
		/*scroll-behavior: smooth;*/
		background: #1b1922;
	}
	body{
		/*padding-top: 80px;*/
		background: #272332;
		/*scroll-behavior: smooth;*/
		background: #1b1922;
	}
	body:before{
		content: '';
		display: block;
		position: fixed;
		top: 0px;
		left: 0px;
		right: 0px;
		bottom: 0px;
		margin: auto;
		width: 100%;
		height: 100%;
		z-index: 9999999;
		background: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/img/mobile/load.gif);
	    background-repeat: no-repeat;
	    background-size: auto;
	    background-position: center;
	}
	.loadbg{
		position: fixed;
		top: 0px;
		left: 0px;
		right: 0px;
		bottom: 0px;
		margin: auto;
		width: 100%;
		height: 100%;
		z-index: 999999;
		background: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/img/mobile/load.png);
	    background-repeat: repeat;
	    background-size: auto;
	    background-position: 0px 0px;
	}
	.fullload .loadbg{
		display: none;
	}
	.home-page #slider {
		pointer-events: none;
	}
	body div,
	body a{
		opacity: 0;
		visibility: hidden;
	}
	body.fullload div,
	body.fullload a{
		opacity: 1;
		visibility: visible;
	}
	body.fullload{
		background: #272332;
		background: #1b1922;
	}
	body.fullload:before{
		content: "";
		display: table;

		position: relative;
		top: unset;
		left: unset;
		right: unset;
		bottom: unset;
		margin: unset;
		width: unset;
		height: unset;
		z-index: unset;
		background: none;
	}
	html.hold{
		overflow: hidden;
	}
	html.owg,
	body.owg{
		scroll-behavior: unset;
	}
	body.home-page #panel-817839-0-0-0,
	body.home-page #panel-817839-0-0-1,
	body.home-page #panel-817839-0-0-2,
	body.home-page #panel-817839-0-0-3,
	body.home-page #panel-817839-0-0-4{
		display: none !important;
	}
	#iframe-holder iframe{
    	min-height: unset !important;
	}
	.page-template-front-ru-2 #main .lSSlideOuter, 
	.page-template-front-ru-2 #main .panel-grid .panel-grid-cell, 
	.page-template-front-ru-2 #main #frontpage-games, 
	.page-template-front-ru-2 .site-footer, 
	.page-template-front-ru-2 .entry-content .edit-link {
	    background: #744165;
	    background: #1e1c24;
	}
	.buddypress .site-content article .entry-content{
		background: #1e1c24;
		background: #282631;
	}
	.mob_off{
		display: none !important;
	}
	.textwidget{
		position: relative;
	}
	#panel-817839-0-0-5{
		margin-top: 0px;
	}
	.site-header{
	    background-color: #272332;
	    background-image: none;
		min-height: 58px;
		min-height: 74px;
	}
	.header-main {
		width: 100%;
	    height: 75px;
	    position: fixed;
	    top: 0px;
	    left: 0%;
	    background: #272332;
		-o-transition: all 0.5s ease;
		-ms-transition: all 0.5s ease;
		-moz-transition: all 0.5s ease;
		-webkit-transition: all 0.5s ease;
		transition: all 0.5s ease;
		opacity: 0.88;
	}
	body.slidemenu .header-main{
		position: fixed;
		top: 0px;
		left: calc(100% - 148px);
		-o-transition: all 0.5s ease;
		-ms-transition: all 0.5s ease;
		-moz-transition: all 0.5s ease;
		-webkit-transition: all 0.5s ease;
		transition: all 0.5s ease;
		opacity: 1;
	}

	body.page-template-game .header-main{
		position: relative;
	}

	.site-footer .site-info{
		background: transparent;
	}

	#site-header {
	    position: absolute;
	    top: 0px;
	    left: 0px;
	    right: 0px;
	    margin: 0 auto;
		width: 224px;
		height: 100%;
	}
	body #site-header a{
		margin-top: 0px;
		margin-left: 0px;
		display: block;
	    width: 100%;
	    height: 100%;
	    background: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/img/mobile/logo_full.png);
	    background-repeat: no-repeat;
	    background-size: auto 100% !important;
	    background-position: center 0px;
	    min-width: 100%;
	    margin: 0 auto;
	    display: block;
	}
	.ubermenu-skin-black-silver.ubermenu-responsive-toggle{
	    color: transparent;
	    font-size: 0.01px;
	    height: 40px;
	    width: 48px;
	    padding: 0px;
	    border: 0px;
	    background: transparent;
	    box-shadow: none;
	    position: absolute;
	    left: 24px;
	    top: 20px;
	    display: none;
	}
	.ubermenu-skin-black-silver.ubermenu-responsive-toggle .fa{
	    color: #EEEEEE;
	    font-size: 48px;
	    line-height: 38px;
	    margin: 0px;
	    width: 44px;
	    height: 38px;
	    opacity: 0;
	}


	#masthead .ubermenu-responsive-default.ubermenu-responsive.ubermenu{		
	    position: fixed;
	    top: 0px;
	    left: -68px;
	    left: -108px;
	    right: 0px;
	    z-index: 12;
	    visibility: visible;
	    overflow: visible;
	    overflow-y: scroll !important;
	    -o-transition: all 0.5s ease;
	    -ms-transition: all 0.5s ease;
	    -moz-transition: all 0.5s ease;
	    -webkit-transition: all 0.5s ease;
	    transition: all 0.5s ease;
	    width: 100%;
	    max-height: 100vh;
	    height: 100vh;
	    max-height: 100%;
	    height: 100%;
	    padding-left: 0px;
	    background: #272332;
	    overflow-x: hidden !important;
	    border: none;
	}
	#masthead .ubermenu-responsive-default.ubermenu-responsive-collapse.ubermenu{
	    position: fixed;
	    top: 0px;
		left: -100%;
	    right: 0px;
	    z-index: 12;
		visibility: visible;
		overflow: visible;
		-o-transition: all 0.5s ease;
		-ms-transition: all 0.5s ease;
		-moz-transition: all 0.5s ease;
		-webkit-transition: all 0.5s ease;
		transition: all 0.5s ease;
	    width: 100%;
	    max-height: 100vh;
	    height: 100vh;
	    padding-left: 14%;
	    background: #272332;
	}
	.ubermenu-items-align-left.ubermenu-horizontal .ubermenu-item.ubermenu-item-level-0, 
	.ubermenu.ubermenu-horizontal .ubermenu-item.ubermenu-align-left {
	    background: #272332;
	    width: 100%;
	    height: 148px;
	    font-size: 58px;
	    font-weight: normal;
	}

	.page-template-front-ru-2 #main #frontpage-games{
		background: rgba(41, 39, 49, 0.9);
		background: #1e1c24;
		padding-top: 42px;
		padding-top: 0px;
		width: 374px;


	}
	.page-template-front-ru-2 #main #frontpage-games.onegame{
		min-height: 120vh;
		min-height: 100%;
	}

	#main ul#frontpage-games:before{
		content: '';
		display: block;
		position: fixed;
		top: 0px;
		bottom: 0px;
		left: 0px;
		right: 0px;
		background: #272332;
		z-index: 1;
		opacity: 0;
		-o-transition: all 0.5s ease;
		-ms-transition: all 0.5s ease;
		-moz-transition: all 0.5s ease;
		-webkit-transition: all 0.5s ease;
		transition: all 0.5s ease;
	}
	#main ul#frontpage-games.onegame:before{
		opacity: 1;
		z-index: 12;
		background: #1e1c24;
	}

	#main ul#frontpage-games li,
	#main ul#frontpage-games li:hover{
		width: 336px;
		height: 336px;
		height: 356px;
		background: rgba(41, 39, 49, 0.9);
		background: #1e1c24;
		box-sizing: border-box;
		display: block;
		margin: 0 auto;
		margin-bottom: 14px;
		padding-top: 21px;
		z-index: 2;
	}
	#main ul#frontpage-games li.mob_only{
		display: block;
	}
	#main ul#frontpage-games li.mob_bnr{
		margin-top: 24px;
		margin-top: 0px;
		padding: 0px;
		background: transparent;
		overflow: visible;

		height: 640px;
		height: 600px;
		height: 378px;
	}
	#main ul#frontpage-games li.mob_bnr .projects_img{
		display: none;
	}
	#main ul#frontpage-games li.mob_bnr2{
		margin-bottom: 0px;
		height: 660px;
	}
	#main ul#frontpage-games li.mob_bnr2 .outer_bnr_link:before{
		display: none;
	}

	#main ul#frontpage-games li.mob_bnr2:before{
		border: none;
        background: none;
        -webkit-mask: none;
        -webkit-mask-composite: none;
        mask-composite: none;
	}
	#main ul#frontpage-games li.mob_bnr .hover_block,
	#main ul#frontpage-games li.mob_bnr .ttl_link {
		display: none !important;
	}
	#main ul#frontpage-games li.mob_bnr .outer_bnr_link{
		/*
		position: absolute;
		top: 0px;
		left: 0px;
		right: 0px;
		bottom: 0px;
		display: block;
		margin: 0 auto;
		width: 100%;
		height: 100%;
		*/
		position: absolute;
		top: 0px;
		left: -9999px;
		right: -9999px;
		bottom: 0px;
		display: block;
		margin: 0 auto;
		width: 100vw;
	}
	#main ul#frontpage-games li.mob_bnr .outer_bnr_link:before{
	    content: '';
	    display: block;
	    position: absolute;
	    top: 0px;
	    left: -9999px;
	    right: -9666px;
	    width: 48px;
	    height: 378px;
	    margin: 0 auto;
	    background: #1e1c24;
	    background: linear-gradient(90deg, rgba(30,28,36,1) 0%, rgba(30,28,36,0) 100%);
	    z-index: 2;
	}
	#main ul#frontpage-games li.mob_bnr .outer_bnr_link:after{
	    content: '';
	    display: block;
	    position: absolute;
	    top: 0px;
	    left: -9666px;
	    right: -9999px;
	    width: 48px;
	    height: 378px;
	    margin: 0 auto;
	    background: #1e1c24;
	    background: linear-gradient(90deg, rgba(30,28,36,0) 0%, rgba(30,28,36,1) 100%);
	    z-index: 2;
	}
	#main ul#frontpage-games li.mob_bnr .mob_video{
		/*
	    border: none;
	    position: absolute;
	    top: 0px;
	    left: 0px;
	    right: 0px;
	    bottom: 0px;
	    margin: 0;
	    display: block;
	    background: transparent;
	    border-radius: 0px;
	    */
		border: none;
		position: absolute;
		top: 0px;
		left: -9999px;
		right: -9999px;
		bottom: 0px;
		margin: 0 auto;
		display: block;
		width: 100vw;
		height: 100%;

	}
	#main ul#frontpage-games li.mob_bnr .minibtn{
		/*
	    position: absolute;
	    left: -9999px;
	    right: -9999px;
	    bottom: 0px;
	    margin: 0 auto;
	    display: block;
	    background: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/promo/da-main/v/get_gif.png);
	    background-repeat: no-repeat;
	    background-size: 100% auto;
	    background-position: center 0px;
	    width: 66vw;
	    max-width: 354px;
	    height: 67px;
	    */

		position: absolute;
		left: -9999px;
		right: -9908px;
		bottom: 42px;
		margin: 0 auto;
		content: "Играть";
		background: linear-gradient(303.04deg, #FD5492 22.17%, #F86F64 71.43%);
		height: 40px;
		width: 142px;
		border-radius: 15px;
		font-family: 'Rubik';
		font-style: normal;
		font-weight: 500;
		font-size: 25px;
		line-height: 38px;
		color: #FFFFFF;
		opacity: 1;
		display: block;
	}
	#main ul#frontpage-games li.mob_bnr .minittl{
	    position: absolute;
	    left: -9999px;
	    right: -9999px;
	    bottom: 88px;
	    margin: 0 auto;
	    display: block;
	    width: 60vw;
	    max-width: 286px;
	    height: 42px;
	    box-sizing: border-box;
	    text-align: left;
	    color: #99FFE3;
	    font-size: 30px;
	    padding: 0px;
	    line-height: 36px;
	    font-family: "Rubik";
	    font-weight: 600;
	}
	#main ul#frontpage-games li.mob_bnr .minitxt{
	    position: absolute;
	    left: -9996px;
	    right: -9999px;
	    bottom: 58px;
	    margin: 0 auto;
	    display: block;
	    width: 60vw;
	    max-width: 286px;
	    height: 42px;
	    box-sizing: border-box;
	    text-align: left;
	    color: #fff;
	    font-size: 14px;
	    padding: 0px;
	    line-height: 36px;
	    font-family: "Rubik";
	    font-weight: 100;
	}
	#main ul#frontpage-games li:before{
		content: '';
		display: block;
		position: absolute;
		top: 16px;
		left: 0px;
		right: 0px;
		width: 334px;
		height: 336px;
		/*background: linear-gradient(360deg, rgba(27, 25, 33, 0.9) 42.97%, rgba(106, 101, 121, 0.9) 100%),linear-gradient(0deg, rgba(41, 39, 49, 0.9), rgba(41, 39, 49, 0.9));
		border: 0.5px solid;*/
		/*
		border-radius: 56px;
		border: 1px solid;
		border-image-slice: 1;
		border-width: 1px;
		border-image-source: linear-gradient(360deg, rgba(27, 25, 33, 0.9) 42.97%, rgba(106, 101, 121, 0.9) 100%);
		*/
		border-radius: 56px;
		border: 1px solid transparent;
		background: linear-gradient(360deg, rgba(27, 25, 33, 0.9) 42.97%, rgba(106, 101, 121, 0.9) 100%) border-box;
		-webkit-mask:
		linear-gradient(#fff 0 0) padding-box, 
		linear-gradient(#fff 0 0);
		-webkit-mask-composite: destination-out;
		mask-composite: exclude;
	}
	#main ul#frontpage-games li.half{
	    width: 164px;
	    height: 204px;
	    display: inline-block;
	    box-sizing: border-box;
	    padding-top: 38px;
   		margin: 0px 4px 4px 4px;
	}
	#main ul#frontpage-games li.half:before{
	    width: 162px;
	    height: 164px;
	    top: 34px;
	}
	#main ul#frontpage-games li.half:hover .ttl_link:after,
	#main ul#frontpage-games li.half .ttl_link:after{
	    position: absolute;
	    top: 0px;
	    left: -22px;
	    right: 0px;
	    width: 144px;
	    height: 56px;
	} 

	/*ul#frontpage-games li>a:before,*/
	ul#frontpage-games li>a img,
	#main ul#frontpage-games li img,
	#main ul#frontpage-games li .mobimg,
	#main ul#frontpage-games li .mobimg_half{
		/*content: '';*/
		display: block;
		position: relative;
		margin: 0 auto;
		background: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/img/mobile/projects_main/fox-legends.png);
		background-repeat: no-repeat;
		background-size: 100% auto;
		background-position: center 0px;
		width: 333px;
		height: 333px;
		filter: blur(0);
		opacity: 1;
	}
	#main ul#frontpage-games li .mobimg_half{
		display: none;
	}
	#main ul#frontpage-games #cat_g_dragonegg .mobimg{
    	background-size: 70% auto !important;
	}
	#main ul#frontpage-games li.half .mobimg_half{
		display: block;
		width: 168px;
		height: 184px;
		position: relative;
		bottom: 18px;
	}
	#main ul#frontpage-games li.half .temp_ext_img .mobimg_half{
		background-size: auto 80% !important;
	}
	#main ul#frontpage-games li .mobimg_big{
	    display: block;
	    position: absolute;
	    top: 0px;
	    margin: auto;
	    width: 334px;
	    height: 100%;
	    opacity: 0;
	}
	#main ul#frontpage-games li .mobimg_back{
	    display: block;
	    position: absolute;
	    top: 18px;
	    left: 0px;
	    right: 0px;
	    margin: auto;
	    width: 334px;
	    height: 334px;
	    border-radius: 56px;
	    background-color: rgba(41, 39, 49, 0.9);
	}
	#main ul#frontpage-games li.half .mobimg_back{
		background: rgba(41, 39, 49, 0.9) !important;
		width: 164px;
		height: 164px;
	}

	#main ul#frontpage-games li:hover a img{
		filter: blur(0);
	}

	ul#frontpage-games li>a img{
		display: none;
	}
	#main ul#frontpage-games li img{
		display: none;
	}
	#main ul#frontpage-games li .mobimg{
		display: block;
	}
	#main ul#frontpage-games li.half .mobimg{
		display: none;
	}

	ul#frontpage-games li .hover_block,
	#main ul#frontpage-games li:hover .hover_block{
		background: transparent;
		top: 208px;
		left: 0px;
		width: 100%;
		height: 126px;
	}

	ul#frontpage-games li.half .hover_block,
	#main ul#frontpage-games li.half:hover .hover_block{
    	top: 126px;
	}

	ul#frontpage-games li .hover_block .hover_name{
	    color: #99FFE3;
	    font-size: 30px;
	    padding: 0px;
	    padding-left: 32px;
	    line-height: 36px;
	    width: calc(100% - 32px);
	    font-family: "Rubik";
	    font-weight: 600;
	    background: none;
	    text-decoration: none;
	}
	ul#frontpage-games li .hover_block .hover_name:hover{
		text-decoration: none;
	}
	ul#frontpage-games li .hover_block .hover_name_long {
		/*
	    background: linear-gradient(to right, #99FFE3 50%, rgba(0, 186, 187, 0) 100%);
	    -webkit-background-clip: text;
	    color: transparent;
	    white-space: nowrap;
	    */
	    font-size: 148%;
	}
	#main ul#frontpage-games li .hover_block .hover_name{
		cursor: default;
		pointer-events: none;
		cursor: pointer;
		pointer-events: all;
		-webkit-hyphens: none;
		word-wrap: break-word;
		letter-spacing: 0px;
		white-space: nowrap;
	}
	#main ul#frontpage-games li:hover .hover_block .hover_name{
		padding-top: 0px;
		color: #99FFE3;
		font-size: 30px;
		line-height: 36px;
		-webkit-hyphens: none;
		word-wrap: break-word;
		letter-spacing: 0px;
	}
	#main.iosfnt ul#frontpage-games li .hover_block .hover_name{
		-webkit-hyphens: none;
		word-wrap: break-word;
		letter-spacing: -1.6px;
	}
	#main ul#frontpage-games li:hover .hover_block .hover_name.hover_name_long,
	#mainul#frontpage-games li .hover_block .hover_name_long,
	#mainul#frontpage-games li:hover .hover_block .hover_name_long {
    	font-size: 148%;
	}
	#main ul#frontpage-games li.half .hover_block .hover_name,
	#main ul#frontpage-games li.half:hover .hover_block .hover_name{
	    font-size: 14px;
	    padding: 0px;
	    width: 88%;
	    text-align: center;
	    margin: 0 auto;
	}
	#main ul#frontpage-games li.half .hover_block .hover_name_long,
	#main ul#frontpage-games li.half:hover .hover_block .hover_name_long {
    	font-size: 90%;
	}

	#main.iosfnt ul#frontpage-games li.half .hover_block .hover_name{
		-webkit-hyphens: none;
		word-wrap: break-word;
		letter-spacing: -1.6px;
	}
	ul#frontpage-games li .hover_block .subttl{
		display: none;
	}
	ul#frontpage-games li .hover_block .hover_txt,
	ul#frontpage-games li:hover .hover_block .hover_txt{
	    opacity: 1;
	    padding-left: 32px;
	    width: calc(100% - 32px);
	    font-family: "Rubik";
	    font-weight: 300;
	    font-size: 12px;
	    line-height: 14px;
	    color: #eeeeee;
	    margin-top: 4px;

		-o-transition: all 0.5s ease;
		-ms-transition: all 0.5s ease;
		-moz-transition: all 0.5s ease;
		-webkit-transition: all 0.5s ease;
		transition: all 0.5s ease;
	}
	ul#frontpage-games li.half .hover_block .hover_txt{
		display: none;
	}

	#main ul#frontpage-games li .hover_block .full_txt{
		font-family: "Rubik";
		font-size: 14px;
		line-height: 14px;
		color: #eeeeee;
		display: block;
		opacity: 0;
		margin: 0 auto;
		padding-top: 14px;
		width: 84%;
		text-align: left;
		text-indent: 0px;
		-o-transition: all 0.2s ease;
		-ms-transition: all 0.2s ease;
		-moz-transition: all 0.2s ease;
		-webkit-transition: all 0.2s ease;
		transition: all 0.2s ease;
	}

	ul#frontpage-games li .projects_img{
		position: relative;
		bottom: 21px;
	}
	ul#frontpage-games li .projects_img{
		display: block;
	}
	ul#frontpage-games li .projects_img_d{
		display: none !important;
	}
	#main ul#frontpage-games li:hover .ttl_link:after,
	#main ul#frontpage-games li .ttl_link:after{
	    content: '';
	    display: block;
	    position: absolute;
	    top: 2px;
	    left: -42px;
	    right: 0px;
	    width: 212px;
	    height: 72px;
	    background: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/img/mobile/button_light.png);
	    background-repeat: no-repeat;
	    background-size: 100% auto;
	    background-position: center bottom;
	    opacity: 1;
	}
	#main ul#frontpage-games li .ttl_link{
		height: 50px;
		width: 268px;
		position: absolute;
		left: 32px;
		top: 278px;
		border-radius: 18px;
		background: rgba(63, 60, 74, 0.6);
		background: transparent;
	}
	#main ul#frontpage-games li .ttl_link:before,
	#main ul#frontpage-games li:hover .ttl_link:before{
		content: "Играть";
		position: absolute;
		top: 4px;
		left: 4px;
		right: auto;
		background: linear-gradient(303.04deg, #FD5492 22.17%, #F86F64 71.43%);
		height: 40px;
		width: 123px;
		border-radius: 15px;
		font-family: 'Rubik';
		font-style: normal;
		font-weight: 500;
		font-size: 25px;
		line-height: 38px;
		color: #FFFFFF;
		opacity: 1;
		display: block;
	}

	#main ul#frontpage-games li.half .ttl_link{
	    left: 0px;
	    right: 0px;
	    top: 154px;
	    background: transparent;
	    height: 42px;
	    width: 104px;
	    margin: 0 auto;
	}
	#main ul#frontpage-games li.half .ttl_link:before,
	#main ul#frontpage-games li.half:hover .ttl_link:before{
		height: 32px;
		width: 96px;
		font-size: 18px;
		line-height: 32px;
	}

	#main ul#frontpage-games li sup{
	    font-family: "Rubik";
	    position: absolute;
	    top: 54px;
	    left: 255px;
	    background: linear-gradient(133.03deg, #2FB383 20.11%, #18A86B 80.46%);
	    box-shadow: inset 0px -3px 6px -1px rgb(59 207 149 / 80%);
	    border-radius: 8px;
	    width: 45px;
	    height: 21px;
	    line-height: 21px;
	    color: #fff !important;
	    text-transform: uppercase;
	}
	#main ul#frontpage-games li.half sup{
		display: none;
	}
	#main ul#frontpage-games li sup.hit{
		background: linear-gradient(133.03deg, #ED6060 20.11%, #C40404 80.46%);
		box-shadow: inset 0px -3px 6px -1px rgba(245, 104, 104, 0.8);
	}
	#main ul#frontpage-games li.overthis sup{
		top: 64px;
		top: 24px;
		left: 288px;
	}
	#main ul#frontpage-games li .toback{
		width: 0px;
		height: 0px;
		font-size: 0.01px;
		color: #99ffe3;
		position: relative;
		opacity: 0;
		-o-transition: all 0.5s ease;
		-ms-transition: all 0.5s ease;
		-moz-transition: all 0.5s ease;
		-webkit-transition: all 0.5s ease;
		transition: all 0.5s ease;
		display: block;
	}
	#main ul#frontpage-games li .toback:before{
		display: none;
	}
	#main ul#frontpage-games li .outer_stores{
	    width: auto;
	    height: 46px;
	    display: block;
	    position: absolute;
	    bottom: 30px;
	    right: 36px;
	    border-radius: 18px;
	    background: rgba(63, 60, 74, 0.6);
		padding: 0px 6px;
	}
	#main ul#frontpage-games li .outer_stores.brwsrgm{
		background: transparent;
	}
	#main ul#frontpage-games li.half .outer_stores{
		display: none;
	}
	/*
	#main ul#frontpage-games li.overthis .outer_stores{
		width: 100%;
	    height: auto;
	    display: block;
	    margin: 0 auto;
	    position: relative;
	    bottom: auto;
	    right: auto;
	    border-radius: 18px;
	    background: transparent;
		padding: 0px 12px;
		box-sizing: border-box;
	}
	*/
	
	#main ul#frontpage-games li.overthis .outer_stores {
	    width: 100%;
	    height: 274px;
	    height: 186px;
	    overflow: hidden;
	    display: block;
	    margin: 0 auto;
	    position: absolute;
	    top: auto;
	    bottom: 0px;
	    right: 0px;
	    left: 0px;
	    border-radius: 0px;
	    background: transparent;
	    background: #1e1c24;
	    padding: 0px 12px;
	    box-sizing: border-box;
    	z-index: 12;
	}
	#main ul#frontpage-games li.overthis .outer_stores.shwios{
		height: 124px;
	}
	#main ul#frontpage-games li .apl_link{
		background-image: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/img/mobile/info_icons_2/apk.png);
		background-repeat: no-repeat;
		background-size: 100% auto;
		background-position: center center;
		background-color: transparent;
		width: 27px;
		height: 48px;
		line-height: 50px;
	    text-decoration: none;
	    position: relative;
	    display: inline-block;
	    z-index: 8;
	    color: transparent;
	    box-shadow: none;
	    text-shadow: none;
		vertical-align: top;
		margin: 0px 1.4px;
	}
	/*
	#main ul#frontpage-games li .apl_link1{

	}
	#main ul#frontpage-games li .apl_link2{
		right: 76px;
	}
	#main ul#frontpage-games li .apl_link3{
		right: 106px;
	}
	*/
	#main ul#frontpage-games li .apl_link4{
		display: none;
		-o-transition: all 0.5s ease;
		-ms-transition: all 0.5s ease;
		-moz-transition: all 0.5s ease;
		-webkit-transition: all 0.5s ease;
		transition: all 0.5s ease;
	}
	#main ul#frontpage-games li.half .apl_link{
		display: none;
	}

	#main ul#frontpage-games li .apl_gp{
		background-image: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/img/mobile/info_icons_2/google.png);
		background-repeat: no-repeat;
		background-size: 100% auto;
		background-position: center center;
		background-color: transparent;
	}
	#main ul#frontpage-games li .apl_ios{
		background-image: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/img/mobile/info_icons_2/apple.png);
		background-repeat: no-repeat;
		background-size: 100% auto;
		background-position: center center;
		background-color: transparent;
	}
	#main ul#frontpage-games li .apl_hua{
		background-image: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/img/mobile/info_icons_2/appgallery.png);
		background-repeat: no-repeat;
		background-size: 100% auto;
		background-position: center center;
		background-color: transparent;
	}
	#main ul#frontpage-games li .apl_apg{
		background-image: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/img/mobile/info_icons_2/appgallery.png);
		background-repeat: no-repeat;
		background-size: 100% auto;
		background-position: center center;
		background-color: transparent;
	}
	#main ul#frontpage-games li .apl_brws{
		background-image: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/img/mobile/info_icons_2/browser.png);
		background-repeat: no-repeat;
		background-size: 100% auto;
		background-position: center center;
		background-color: transparent;
	}
	#main ul#frontpage-games li .apl_brws_mob{
		background-image: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/img/mobile/info_icons_2/mobile-browser.png);
		background-repeat: no-repeat;
		background-size: 100% auto;
		background-position: center center;
		background-color: transparent;
	}

	#main ul#frontpage-games li .apl_link:before{
		display: none;
	}

	/* over */
	#main #frontpage-games.onegame li,
	#main #frontpage-games.onegame li.half{
		display: none;
	}
	#main #frontpage-games.onegame li.overthis{
		display: block;
		background: transparent;
		background: #1e1c24;
		margin: 0 auto;
	}
	#main ul#frontpage-games li.overthis{
		z-index: 14;
		width: 336px;
		width: 374px;
		padding: 0px 19px;
		padding: 0px 0px;
		/*padding-top: 48px;*/
		height: 80vh;
		overflow-x: hidden;
		overflow-y: scroll;
		-o-transition: all 0.5s ease;
		-ms-transition: all 0.5s ease;
		-moz-transition: all 0.5s ease;
		-webkit-transition: all 0.5s ease;
		transition: all 0.5s ease;
		position: relative;
		top: 88px;
		background: transparent;
	}
	ul#frontpage-games li.overthis .sub_outer{
		position: relative;
		overflow-x: hidden;
		overflow-y: auto;
		height: 448px;
		padding: 0px 19px;
	}
	ul#frontpage-games li .sub_outer_line{
		display: none;
	}
	ul#frontpage-games li.overthis .sub_outer_line{
	    display: block;
	    position: relative;
	    bottom: 28px;
	    width: 100%;
	    height: 30px;
	    z-index: 12;
	    background: rgb(30,28,36);
	    background: linear-gradient(0deg, rgba(30,28,36,1) 0%, rgba(30,28,36,0) 100%);
	}
	/*
	ul#frontpage-games li.overthis .sub_outer:after{
		content: '';
		display: block;
		position: absolute;
		bottom: -2px;
		width: 100%;
		height: 30px;
		background: rgb(30,28,36);
		background: linear-gradient(0deg, rgba(30,28,36,1) 0%, rgba(30,28,36,0) 100%);
		z-index: 12;
	}
	*/
	ul#frontpage-games li.overthis .projects_img {
	    position: relative;
	    bottom: 0px;
		display: block;
		height: 448px;

		height: 400px;
		margin-bottom: -140px;
	}
	#main ul#frontpage-games li.overthis .projects_img .mobimg_back{
		top: 16px;
		width: 334px;
		height: 334px;
		display: none;
	}
	#main ul#frontpage-games li.overthis .projects_img .mobimg{
		width: 334px;
		height: 100%;
		opacity: 0;
		-o-transition: all 0.5s ease;
		-ms-transition: all 0.5s ease;
		-moz-transition: all 0.5s ease;
		-webkit-transition: all 0.5s ease;
		transition: all 0.5s ease;
	}
	#main ul#frontpage-games li.overthis .projects_img .mobimg_big{
		width: 334px;
		opacity: 1;
		-o-transition: all 0.5s ease;
		-ms-transition: all 0.5s ease;
		-moz-transition: all 0.5s ease;
		-webkit-transition: all 0.5s ease;
		transition: all 0.5s ease;
	}
	#main ul#frontpage-games li.overthis .projects_img .mobimg_half{
		display: none;
	}
	#main ul#frontpage-games li.overthis:before{
	    top: 42px;
	    width: 334px;
	    height: 334px;
	    opacity: 0;
	    visibility: hidden;
	}
	#main ul#frontpage-games li.overthis .hover_block,
	#main ul#frontpage-games li.overthis:hover .hover_block{
			/*	top: 228px;	*/
		position: absolute;
		top: 260px;
		position: relative;
		top: 0px;
		height: 164px;
		height: auto;
		padding-top: 24px;
	}
	#main ul#frontpage-games li.overthis.half .hover_name,
	#main ul#frontpage-games li.overthis.half:hover .hover_block .hover_name,
	#main ul#frontpage-games li.overthis .hover_name,
	#main ul#frontpage-games li.overthis:hover .hover_block .hover_name{
		font-family: "Rubikmedium";
		font-weight: normal;
	    color: #99ffe3;
	    font-size: 30px;
	    line-height: 36px;
	    text-align: center;
	    box-sizing: border-box;
	    display: inline-block;
	    width: 834px;
	    width: 288px;
	    height: auto;
	    background: rgba(63,60,74,0.62);
	    padding: 8px 0px;
	    border-radius: 16px;
	    box-shadow: 0px -1px 1px rgba(95,89,112, 0.92);
	    white-space: normal;
	    hyphens: none;
	}
	#main ul#frontpage-games li.overthis .ttl_link{
		display: none;
	}
	ul#frontpage-games li.overthis .hover_block .hover_txt, 
	ul#frontpage-games li.overthis:hover .hover_block .hover_txt{
		opacity: 0;
		height: 0px;
		margin: 0px;
		-o-transition: all 0.5s ease;
		-ms-transition: all 0.5s ease;
		-moz-transition: all 0.5s ease;
		-webkit-transition: all 0.5s ease;
		transition: all 0.5s ease;
	}
	#main ul#frontpage-games li.overthis .hover_block .full_txt{
		opacity: 1;
		-o-transition: all 0.2s ease;
		-ms-transition: all 0.2s ease;
		-moz-transition: all 0.2s ease;
		-webkit-transition: all 0.2s ease;
		transition: all 0.2s ease;
		word-wrap: break-word;
		hyphens: initial;
		position: relative;
		padding-bottom: 16px;
	}
	#main ul#frontpage-games li.overthis .hover_block .full_txt .ardown{
	    background: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/img/mobile/ardown.png);
	    background-repeat: no-repeat;
	    background-position: center 0px;
	    background-size: auto;
	    display: block;
	    position: absolute;
	    top: -14px;
	    left: 0px;
	    right: 0px;
		width: 12px;
		height: 16px;
	    margin: 0 auto;
	    opacity: 1;
	    visibility: visible;
	   	-o-transition: all 0.5s ease;
	    -ms-transition: all 0.5s ease;
	    -moz-transition: all 0.5s ease;
	    -webkit-transition: all 0.5s ease;
	    transition: all 0.5s ease;
	    animation: ardown 1s ease infinite;
	}
	#main ul#frontpage-games li.overthis .hover_block .full_txt .ardown.harwdn{
		opacity: 0;
		visibility: hidden;
	}
	@keyframes ardown {
		0% { 
			top: -14px;
		}
		50% { 
			top: -0px;
		}
		100% {
			top: -14px;
		}
	}


	#main ul#frontpage-games li.overthis .apl_link{
		position: relative;
		bottom: unset;
		right: unset;
		display: block;
	}
	#main ul#frontpage-games li.overthis .apl_link1{
		/*
	    -o-transition: all 0.5s ease;
	    -ms-transition: all 0.5s ease;
	    -moz-transition: all 0.5s ease;
	    -webkit-transition: all 0.5s ease;
	    transition: all 0.5s ease;
	    position: relative;
	    top: 0px;
	    left: 0px;
	    right: 0px;
	    margin: 0 auto;
	    background: linear-gradient(303.04deg, #FD5492 22.17%, #F86F64 71.43%);
	    height: 44px;
	    width: 188px;
	    border-radius: 18px;
	    font-family: 'Rubik';
	    font-style: normal;
	    font-weight: 500;
	    font-size: 26px;
	    line-height: 44px;
	    color: #FFFFFF;
	    opacity: 1;
	    display: block;
	    */
	}
	#main ul#frontpage-games li.overthis .apl_link1{
	    -o-transition: all 0.5s ease;
	    -ms-transition: all 0.5s ease;
	    -moz-transition: all 0.5s ease;
	    -webkit-transition: all 0.5s ease;
	    transition: all 0.5s ease;
	    position: relative;
	    top: 0px;
	    left: 0px;
	    right: 0px;
	    margin: 0 auto;
	    background: linear-gradient(303.04deg, #FD5492 22.17%, #F86F64 71.43%);
	    height: 44px;
	    width: 166px;
	    border-radius: 20px;
	    font-family: 'Rubik';
	    font-style: normal;
	    font-weight: 500;
	    font-size: 22px;
	    line-height: 44px;
	    color: #FFFFFF;
	    opacity: 1;
	    display: block;
	}
	#main ul#frontpage-games li.overthis .apl_gp {
	    background: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/promo/fl-main/img/top3/GP_button.png);
	    background-repeat: no-repeat;
	    background-position: center 0px;
	    background-size: auto 100%;
	    background-color: transparent;
	    width: 166px;
	    height: 49px;
	    margin: 0px auto;
	}
	#main ul#frontpage-games li.overthis .apl_ios {
		background: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/promo/fl-main/img/top3/AS_button.png);
		background-repeat: no-repeat;
		background-position: center 0px;
	    background-size: auto 100%;
	    background-color: transparent;
	    width: 166px;
	    height: 49px;
		margin: 0px auto;
	}
	#main ul#frontpage-games li.overthis .apl_hua {
		background: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/img/mobile/Hua_button.png);
		background-repeat: no-repeat;
		background-position: center 0px;
	    background-size: auto 100%;
	    background-color: transparent;
	    width: 166px;
	    height: 49px;
		margin: 0px auto;
	}
	#main ul#frontpage-games li.overthis .apl_link:nth-child(2){
		margin-top: 16px;
	}
	#main ul#frontpage-games li.overthis .txt_links span{
		display: block;
	    font-family: "Rubikmedium";
	    font-size: 12.5px;
	    line-height: 12px;
	    color: #595e5e;
	    padding-top: 16px;
	    padding-bottom: 8px;
	}
	#main ul#frontpage-games li.overthis .txt_links .apl_link{
	    font-family: 'Rubik';
	    font-style: normal;
	    font-weight: normal;
	    display: inline-block;
	    background: transparent;
	    color: #e7e7e7;
	    font-size: 14px;
	    line-height: 20px;
	    width: auto;
	    height: auto;
		margin: 0px 4px;
		text-decoration: underline;
	}



	#main ul#frontpage-games li .outer_stores .outer_notios,
	#main ul#frontpage-games li .outer_stores .outer_thios{
		display: none;
	}

	#main ul#frontpage-games li.overthis .outer_stores .outer_thios{
		display: none;
	}
	#main ul#frontpage-games li.overthis .outer_stores .outer_notios{
		display: block;
	}

	#main ul#frontpage-games li.overthis .outer_stores.shwios .outer_thios{
		display: block;
	}
	#main ul#frontpage-games li.overthis .outer_stores.shwios .outer_notios{
		display: none;
	}
	
	#main ul#frontpage-games li.overthis .outer_stores .apl_link{
		display: none;
	}
	#main ul#frontpage-games li.overthis .outer_stores .outer_notios .apl_link,
	#main ul#frontpage-games li.overthis .outer_stores .outer_thios .apl_link{
		display: block;
	}
	#main ul#frontpage-games li.overthis .outer_stores .outer_notios .txt_links .apl_link,
	#main ul#frontpage-games li.overthis .outer_stores .outer_thios .txt_links .apl_link{
		display: inline-block;
	}

	#main ul#frontpage-games li.overthis .toback{
	    width: 84px;
	    height: 34px;
	    font-size: 20px;
	    font-size: 14px;
	    color: #99ffe3;
	    position: absolute;
	    top: 24px;
	    left: 0px;
	    left: 20px;
	    text-decoration: none;
	    opacity: 1;
	    -o-transition: all 0.5s ease;
	    -ms-transition: all 0.5s ease;
	    -moz-transition: all 0.5s ease;
	    -webkit-transition: all 0.5s ease;
	    transition: all 0.5s ease;
	    display: block;
	    text-align: left;
	    z-index: 24;
	}

	/*
	#main ul#frontpage-games li.overthis .toback{
	  background-color: #63a4ff;
	  background-image: linear-gradient(315deg, #63a4ff 0%, #83eaf1 74%);
	  text-transform: uppercase;
		font-family: "Rubik";
		font-size: 18px;
	}
	#main ul#frontpage-games li.overthis .toback {
	  background: linear-gradient(to right, red, orange, yellow, green, cyan, blue, violet);
	  background-size: 400% 400%;
	  -webkit-background-clip: text;
	  -webkit-text-fill-color: transparent;
	  -webkit-animation: rainbow 20s ease infinite;
	  animation: rainbow 20s ease infinite;
	}
	 
	@-webkit-keyframes rainbow {
	  0% { background-position: 0% 50% }
	  50% { background-position: 100% 50% }
	  100% { background-position: 0% 50% }
	}
	 
	@keyframes rainbow {
	  0% { background-position: 0% 50% }
	  50% { background-position: 100% 50% }
	  100% { background-position: 0% 50% }
	}
	*/
	/*
	background: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/promo/fl-main/img/top3/GP_button.png);
    background-repeat: no-repeat;
    background-position: center 0px;
    background-size: auto;

    background: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/promo/fl-main/img/top3/AS_button.png);
    background-repeat: no-repeat;
    background-position: center 0px;
    background-size: auto;

    background: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/promo/fl-main/img/top3/Hua_button.png);
    background-repeat: no-repeat;
    background-position: center 0px;
    background-size: auto;
	*/

	/* over */


	/* languages */
	.header-main .lang_menu_top{
		display: none;
	}
	body .ubermenu #languages_footer.nshw{
		display: none !important;
	}
	#languages_footer {
	    position: absolute;
	    bottom: auto;
	    top: 9px;
	    right: 0px;
	    background: rgba(39, 35, 50, 1);
	    width: 94px;
	    height: 52px;
	    text-align: left;
	    margin: 0 auto;
	    float: right;
	}
	#languages_footer .now_l,
	#languages_footer .that_l{
		width: 90px;
		height: 52px;
	    box-sizing: border-box;
	    font-family: 'Rubik';
	    font-style: normal;
	    font-weight: 500;
	    font-size: 24px;
	    line-height: 54px;
	    padding-top: 0px;
	    padding-bottom: 0px;
	    padding-left: 8px;
	}
	#languages_footer .now_l:after{
		display: none;
	}
	#languages_footer .that_l{
		background: rgba(39, 35, 50, 1);
		    background: rgb(39 35 50 / 58%);
	}
	#languages_footer.act .that_l{
		display: block;
	}
	#languages_footer .now_l>img, 
	#languages_footer .that_l>img {
		width: 56px;
		height: 52px;
	    display: inline-block;
	    margin-right: 0px;
	    position: absolute;
	    top: 0px;
	    right: 0px;
	}
	.buddypress #languages_footer{
		display: none;
	}
	.close_profl{
	    position: fixed;
	    top: 0px;
	    right: 0px;
	    width: 82px;
	    height: 82px;
	    z-index: 99999;
	    cursor: pointer;
	    display: block;
	    -o-transition: all 0.5s ease;
	    -ms-transition: all 0.5s ease;
	    -moz-transition: all 0.5s ease;
	    -webkit-transition: all 0.5s ease;
	    transition: all 0.5s ease;
	    box-sizing: border-box;
	}
	.close_profl:before{
		content: '';
		display: block;
		width: 70px;
		height: 16px;
		margin: 8px auto;
		background: #fff;
		border-radius: 20px;
		-o-transition: all 0.5s ease;
		-ms-transition: all 0.5s ease;
		-moz-transition: all 0.5s ease;
		-webkit-transition: all 0.5s ease;
		transition: all 0.5s ease;
		transform: rotate(45deg);
		position: relative;
		top: 24px;
	}
	.close_profl:after{
	    content: '';
	    display: block;
	    width: 70px;
	    height: 16px;
	    margin: 8px auto;
	    background: #fff;
	    border-radius: 20px;
	    -o-transition: all 0.5s ease;
	    -ms-transition: all 0.5s ease;
	    -moz-transition: all 0.5s ease;
	    -webkit-transition: all 0.5s ease;
	    transition: all 0.5s ease;
	    transform: rotate(-45deg);
	    position: relative;
	    top: 0px;
	}


	/* languages */

	.extmenubtn{
	    position: fixed;
	    top: 0px;
	    left: 0px;
	    width: 74px;
	    height: 60px;
	    z-index: 99999;
	    cursor: pointer;
	    display: block;
	    -o-transition: all 0.5s ease;
	    -ms-transition: all 0.5s ease;
	    -moz-transition: all 0.5s ease;
	    -webkit-transition: all 0.5s ease;
	    transition: all 0.5s ease;
	    box-sizing: border-box;
	    padding-top: 8px;
	    /* background: #fff; */
	    padding-top: 16px;
	    padding-left: 24px;
	}
	body.page-template-game .extmenubtn{
		position: absolute;
	}

	.extmenubtn span{
	    display: block;
		width: 48px;
		height: 10px;
	    margin: 4px auto;
	    background: #fff;
	    border-radius: 4px;
	    -o-transition: all 0.5s ease;
	    -ms-transition: all 0.5s ease;
	    -moz-transition: all 0.5s ease;
	    -webkit-transition: all 0.5s ease;
	    transition: all 0.5s ease;
	}
	.extmenubtn span:nth-child(1){
		border-radius: 6px 6px 3px 3px;
	}
	.extmenubtn span:nth-child(2){
		border-radius: 4px 4px 4px 4px;
	}
	.extmenubtn span:nth-child(3){
		border-radius: 3px 3px 6px 6px;
	}
	body.slidemenu .extmenubtn span:nth-child(1){
	    transform: rotate(45deg);
	    position: relative;
		top: 4px;
		width: 60px;
	    border-radius: 4px;
	}
	body.slidemenu .extmenubtn span:nth-child(2){
	    transform: rotate(-45deg);
	    width: 60px;
	    position: relative;
	    top: -10px;
	    border-radius: 4px;
	}
	body.slidemenu .extmenubtn span:nth-child(3){
		opacity: 0;
		transform: rotate(-45deg);
	}

	body.slidemenu .extmenubtn{
	    left: calc(100% - 68px);
	    left: calc(100% - 108px);
	    -o-transition: all 0.5s ease;
	    -ms-transition: all 0.5s ease;
	    -moz-transition: all 0.5s ease;
	    -webkit-transition: all 0.5s ease;
	    transition: all 0.5s ease;
	    padding-top: 12px;
	    width: 98px;
	    height: 54px;
	    top: 10px;
	}
	.buddypress .extmenubtn{
		display: none;
	}
	.buddypress #site-header{
	    position: absolute;
	    top: 0px;
	    left: 8px;
	    right: auto;
	    margin: 0 auto;
	    width: 224px;
	    height: 100%;
	}
	.buddypress #site-header a{
	    background: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/img/mobile/logo.png);
	    background-repeat: no-repeat;
	    background-size: auto;
	    background-position: left 0px;
	    width: 174px;
	}


	.ubermenu-responsive-default.ubermenu-responsive .ubermenu-item.ubermenu-item-level-0>.ubermenu-target,
	#ubermenu-main-2-primary.ubermenu .ubermenu-item-layout-image_left>.ubermenu-target-text,
	#masthead .ubermenu .ubermenu-nav .ubermenu-item{
	    text-align: center;
	    font-size: 58px;
	    font-family: "Rubikmedium";
	    width: calc(100% + 148px);
	    padding: 0px;
	    line-height: 148px;
	    position: relative;
	}
	#masthead .ubermenu .ubermenu-nav .ubermenu-item{
		margin-top: -2px;
		padding-bottom: 2px;
	}
	#masthead .ubermenu .ubermenu-nav .ubermenu-item .ubermenu-target{
		background: #272332;
	}
	#masthead .ubermenu .ubermenu-nav .ubermenu-item .ubermenu-target .ubermenu-target-text{
		color: #fff;
		margin-top: -4px;
	}
	#masthead .ubermenu .ubermenu-nav .ubermenu-item:before{
	    content: '';
	    display: block;
	    width: 200px;
	    height: 1px;
	    background: #fff;
	    position: absolute;
	    bottom: 3px;
	    left: 0px;
	    right: 0px;
	    z-index: 12;
	    margin: 0 auto;
	}
	/*#masthead .ubermenu .ubermenu-nav .ubermenu-item:nth-last-child(4):before,*/
	#masthead .ubermenu .ubermenu-nav .ubermenu-item:nth-last-child(3):before,
	#masthead .ubermenu .ubermenu-nav .ubermenu-item:nth-last-child(2):before{
		display: none;
	}
	#masthead .ubermenu .ubermenu-nav .ubermenu-item:nth-last-child(3){
	/*#masthead .ubermenu .ubermenu-nav .ubermenu-item:nth-last-child(2)*/
		display: none;
	}
	#menu-item-1270636,
	#menu-item-873730{
		display: none;
	}
	#menu-item-1270636:before{
		width: 100%;
	}
	#ubermenu-main-2-primary.ubermenu .ubermenu-item-layout-image_left>.ubermenu-image,
	#menu-item-6312>.ubermenu-target:before,
	#menu-item-873730 .ubermenu-item-layout-image_left:before{
		display: none;
	}
	#menu-item-6312>.ubermenu-target,
	#menu-item-873730 .ubermenu-target{
		padding-right: 0px;
		height: 148px;
	}
	.outerprofilemenu{
		padding-bottom: 42px;
		padding-bottom: 0px;
		width: auto;
		height: auto;
		position: relative;
	}
	.outerprofilemenu .picprofile{
		width: 314px;
		height: 290px;
		display: block;
		margin: 0 auto;
		overflow: visible;
		background: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/img/mobile/ava_icon.png);
		background-repeat: no-repeat;
		background-position: center 0px;
	    background-size: auto 100%;
	}
	.outerprofilemenu .nikprofile{
	    font-family: "Rubiklight";
	    font-size: 22px;
	    line-height: 24px;
	    text-align: center;
	    color: #eee;
	    margin-top: -42px;
	    margin-top: 0px;
	}
	.outerprofilemenu .nikprofile a{
	    color: #99FFE3;
	    font-size: 46px;
	    font-family: "Rubiklight";
	    line-height: 56px;
	    text-decoration: underline;
	    padding-top: 12px;
	    padding-bottom: 32px;
	    display: block;
	}
	.outerprofilemenu .closeprofile{
	    font-family: "Rubik";
	    font-size: 27px;
	    line-height: 32px;
	    text-align: center;
	    color: #615B77;
	    display: block;
	    text-decoration: underline;
	    margin-bottom: 24px;
	}
	.ubermenu-responsive-default.ubermenu-responsive.ubermenu-has-border .ubermenu-nav .ubermenu-item .ubermenu-submenu.ubermenu-submenu-drop{
		display: none !important;
	}

	.buddypress #content .entry-content{
		width: 100%;
		min-height: 100%;
		position: relative;
		overflow: hidden;
	}
	#buddypress{
 
	}
	/* profile page */
	#buddypress #item-header-cover-image{
		padding: 0 0px;
		position: relative;
		z-index: 2;
		background: #272332;
		background: transparent;
	}
	#buddypress #item-header-cover-image #item-header-avatar, 
	.bp-user #buddypress #item-header #item-header-cover-image #item-header-avatar, 
	#buddypress div#item-header #item-header-cover-image #item-header-content {
	    width: 100%;
	    text-align: center;
	}
	#buddypress div#item-header #item-header-cover-image #item-header-content{
	    clear: both;
	    float: none;
	    margin-left: 0px;
	    margin-top: 0px;
	    width: 100%;
	}
	.buddypress .site-content article{
		margin: 0 0;
		padding-top: 0;
	}
	.buddypress .site-content{
		padding-top: 0%;
	}
	.buddypress .site-content article.bp_members .entry-header{
		display: none;
	}
	#main{
		background: #272332;
	}
	#buddypress #header-cover-image {
		background-color: #272332;
		width: 480px;
		height: 224px;
		margin: 0 auto;
		display: block;
		position: absolute;
		left: 0px;
		right: 0px;
	}
	.buddypress .site-content article #buddypress{
		background: #272332;
		position: relative;
		width: 100%;
		overflow-x: hidden;
		margin-bottom: 0px;
	}
	.buddypress .site-content article #buddypress:before{
		content: '';
		display: block;
		width: 100%;
		height: 100%;
		position: fixed;
		top: 0px;
		left: 0px;
		right: 0px;
		bottom: 0px;
		background-image: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/img/prof_back.jpg);
	    background-repeat: no-repeat;
	    background-position: 0px 0px;
	    background-size: 100% 100%;
	    z-index: 1;
	}
	#buddypress #cover-image-container{
		background: #272332;
		background: transparent;
	}
	#buddypress #header-cover-image{
		background-color: #272332;
		background-color: transparent;
		border-radius: 64px;
		overflow: hidden;
	}
	#buddypress #header-cover-image:before{
	    content: '';
	    display: block;
	    position: relative;
	    width: 100%;
	    height: 100%;
	    background-image: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/img/mobile/profile_bg.jpg);
	    background-repeat: no-repeat;
	    background-position: center 0px;
	    background-size: cover;
	    margin: auto;
	}
	#buddypress #item-header-cover-image #item-header-avatar{
		margin-top: 148px;
		/*margin-top: 58px;*/
	}
	#buddypress #item-header-cover-image #item-header-avatar img.avatar{
	    border-radius: 90px;
	    margin-bottom: 24px;
	    margin-bottom: 12px;
	}
	#buddypress div#item-header-cover-image .user-nicename{
		color: #99FFE3;
		font-size: 36px;
		font-family: "Rubiklight";
		line-height: 56px;
	}
	#buddypress span.activity{
		display: none;
	}
	.bp-user #buddypress #item-header{
	    padding-bottom: 0px;
	    position: relative;
	    z-index: 2;
	    background: transparent;
	    margin-top: 24px;
	}
	.outer_pers_nav{
		position: relative;
		z-index: 2;
	}
	#buddypress #object-nav{
		border-right: none;
		float: unset;
		margin-right: 0px;
		width: 100%;
		margin-top: 0;
		background: 0 0;
		clear: both;
		overflow: hidden;
	}
	#buddypress #object-nav ul{
		position: relative;
		text-align: center;
		border-top: none;
	}
	#buddypress #item-body{
		background: #272332;
		background: transparent;
		position: relative;
		z-index: 2;
		padding: 0px 12px;
	}
	#buddypress #item-body .item-list-tabs:before{
	    content: 'Активность';
	    display: block;
	    background: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/img/mobile/account/activiti_icon.png);
	    background-repeat: no-repeat;
	    background-position: 20px 8px;
    	background-size: auto 62%;
	    width: 160px;
	    height: 62px;
	    line-height: 54px;
	    color: #99ffe3;
	    padding-left: 62px;
	    font-family: "Rubiklight";
	    font-size: 25px;
	    margin: 0 auto;
	    margin-bottom: -8px;
	    margin-top: -12px;
	}
	#buddypress #item-body #subnav{
		border: none;
		border-left: 0;
		border-right: 0;
		margin: 0px;
	}
	#buddypress #item-body form#whats-new-form{
		width: 88%;
		margin: 0 auto;
		margin-top: 28px;
	}
	#buddypress form#whats-new-form #whats-new-content{
		padding-left: 0px;
	}
	#buddypress form#whats-new-form #whats-new-content #aw-whats-new-submit{
	    font-family: 'Rubik';
	    background: linear-gradient(303.04deg, #FD5492 22.17%, #F86F64 71.43%);
	    color: #fff;
	    border: none;
	    border-radius: 15px;
	    padding: 8px 24px; 
	}
	#buddypress #item-body #subnav ul{
		text-align: center;
	}
	#buddypress #item-body #subnav ul li:before{
		display: none;
	}
	#buddypress #item-body #subnav ul li a{
		background: none;
		background: none;
		padding-left: 0px;
		padding-right: 0px;
		line-height: 36px;
		color: #615B77;
		font-size: 28px;
		font-size: 16px;
		box-shadow: none;
		font-family: "Rubik";
		font-weight: bold;
	}
	#buddypress #item-body #subnav ul li.selected a{
		color: #fff;
		text-decoration: underline;
		font-weight: normal;
	}
	body #buddypress #item-body a{
		color: #fff;
	}
	body #buddypress #item-body a span{
		background: transparent;
	}
	#buddypress div.item-list-tabs ul li.current a, 
	#buddypress div.item-list-tabs ul li.selected a{
		background-color: transparent;
		color: #fff;
		opacity: 1;
		font-weight: normal;
	}
	#buddypress #item-body #subnav ul li{
		display: inline-block;
		height: 36px;
		line-height: 36px;
		width: auto;
		margin-bottom: 0px;
		margin-left: 10px;
		margin-right: 10px;
	}
	#buddypress #item-body #subnav li.current{
		background: transparent;
	}
	#buddypress #item-body #subnav li#activity-filter-select{
	    color: #fff;
	    margin-top: 28px;
	    margin-bottom: 28px;
	}
	body #buddypress div.item-list-tabs ul li{
	    position: relative;
	    display: inline-block;
	    float: unset;
	    text-align: center;
	    margin-bottom: 18px;
	    width: 188px;
	    margin-right: 12px;
	    margin-right: 0px;
	    margin-left: 12px;
	    margin-right: 6px;
	    margin-left: 6px;
	    box-sizing: border-box;
	    hyphens: unset;
	    word-wrap: normal;
	    width: 242px;
	    overflow: visible !important;
	}
	#buddypress div.item-list-tabs ul #messages-personal-li{
		width: 248px;
	}
	#buddypress div.item-list-tabs ul li:before{
	    content: '';
	    display: block;
	    width: 48px;
	    height: 48px;
	    position: absolute;
	    top: 0px;
	    left: 5px;
	    border-radius: 16px;
	    background: #26242f;
	    margin-bottom: 24px;
	    float: unset;
	    box-shadow: inset 0px 1px 1px #615b77;
	}
	#buddypress div.item-list-tabs ul #activity-personal-li{
		display: none;
	}
	#buddypress div.item-list-tabs ul li a{
		font-size: 20px;
		font-family: "Rubiklight";
		color: #eee;
		position: relative;
		padding: 0px;
		padding-left: 74px;
		padding-right: 12px;
		line-height: 48px;
		background: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/img/mobile/account/message_icon.png);
		background-repeat: no-repeat;
	    background-position: 11px 5px;
	    background-size: auto 80%;
		text-align: left;
	}
	#buddypress div.item-list-tabs ul #friends-personal-li a{
		background: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/img/mobile/account/friends_icon.png);
		background-repeat: no-repeat;
	    background-position: 11px 5px;
	    background-size: auto 80%;
	}
	#buddypress div.item-list-tabs ul #groups-personal-li a{
		background: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/img/mobile/account/friends_icon.png);
		background-repeat: no-repeat;
	    background-position: 11px 5px;
	    background-size: auto 80%;
	}
	#buddypress div.item-list-tabs ul #forums-personal-li a{
		background: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/img/mobile/account/forum_icon.png);
		background-repeat: no-repeat;
	    background-position: 11px 5px;
	    background-size: auto 80%;
	}
	#buddypress div.item-list-tabs ul li a{
	    /*box-shadow: inset 0px 1px 1px #615b77;*/
	    border-radius: 12px;
	}
	#buddypress div.item-list-tabs ul li a span{
		position: absolute;
		top: -16px;
		left: 44px;
		background: linear-gradient(303.04deg, #FD5492 22.17%, #F86F64 71.43%);
		border: none;
		color: #fff;
		font-family: "Rubiklight";
		font-size: 16px;
		width: 36px;
		height: 36px;
		padding: 0px;
		margin: 0px;
		vertical-align: unset;
		display: block;
		line-height: 38px;
		border-radius: 100% !important;
	}
	body #buddypress div.item-list-tabs ul li#blogs-personal-li,
	#buddypress #item-body #subnav li#activity-filter-select{
		display: none !important;
	}
	#buddypress form#whats-new-form #whats-new-avatar{
		float: none !important;
		margin-top: 18px;
		margin-bottom: 0px;
	}
	#buddypress #object-nav ul li:focus, 
	#buddypress #object-nav ul li:hover{
		background: #272332;
	}
	#buddypress div.item-list-tabs ul #xprofile-personal-li{
	    height: 46px;
	    width: 285px;
	    position: relative;
	    border-radius: 20px;
	   	background-color: rgba(43, 40, 52, 0.6);
	    display: block;
	    margin: 0 auto;
	    margin-bottom: 24px;
	    float: unset;
	    box-shadow: inset 0px 1px 1px #615b77;

	    /*margin-bottom: 110px;*/
	}
	#buddypress div.item-list-tabs ul #xprofile-personal-li:before{
		display: none;
	}
	#buddypress div.item-list-tabs ul #xprofile-personal-li #user-xprofile{
	    background: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/img/mobile/account/change_icon.png);
	    background-repeat: no-repeat;
	    background-position: 40px 8px;
	    background-size: auto 32px;
	    color: #fff;
	    line-height: 48px;
	    text-align: center;
	    font-size: 18px;
	    font-family: "Rubiklight";
	    padding-left: 0px;
	    padding-left: 32px;
	    padding-right: 0px;
	    box-shadow: none;
	}
	#buddypress div.item-list-tabs ul #notifications-personal-li{
		height: 90px;
		width: 285px;
		position: absolute;
		top: 48px;
		position: relative;
    	top: -14px;
		left: 0px;
		right: 0px;
		border-radius: 24px;
		background: transparent;
		display: block;
		margin: 0 auto;
		float: unset;
		margin-bottom: 0px;
	}
	#buddypress div.item-list-tabs ul #notifications-personal-li:before{
		display: none;
	}
	#buddypress div.item-list-tabs ul #notifications-personal-li #user-notifications{
	    color: #eee;
	    line-height: 98px;
	    height: 104px;
	    text-align: left;
	    font-size: 20px;
	    font-family: "Rubik";
	    background: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/img/mobile/account/noti_icon.png);
	    background-repeat: no-repeat;
	    background-position: 34px 18px;
	    background-size: auto 58px;
	    padding-left: 102px;
	    position: relative;
	    padding-right: 0px;
	}
	#buddypress div.item-list-tabs ul #notifications-personal-li #user-notifications span{
	    position: absolute;
	    top: 18px;
	    left: 75px;
	    background: linear-gradient(303.04deg, #FD5492 22.17%, #F86F64 71.43%);
	    background: linear-gradient(143deg, #cc2d2d 22.17%, #fc4b58 71.43%);
	    border: none;
	    color: #fff;
	    font-family: "Rubiklight";
	    font-size: 12px;
	    width: 20px;
	    height: 20px;
	    padding: 0px;
	    margin: 0px;
	    vertical-align: unset;
	    display: block;
	    line-height: 23px;
	    border-radius: 100%;
	}
	#buddypress div.item-list-tabs ul #notifications-personal-li #user-notifications .no-count{
		display: none;
	}


	#buddypress div#item-header div#item-meta{
		display: none;
	}
	.site_2 #buddypress .pemka {
		color: #746f81 !important;
		display: inline-block;
		position: relative;
		bottom: 20px;
		font-size: 18px;
		font-family: "Rubiklight";
	}

	#buddypress form#whats-new-form p.activity-greeting{
		color: #fff;
		padding-left: 0px;
	}
	#buddypress #activity-stream{
		border: none;
		width: 88%;
		margin: 0 auto;
		margin-top: 0px;
	}
	#buddypress #activity-stream p{
		color: #fff;
	}
	#buddypress #activity-stream .activity-avatar{
		display: none;
	}
	#buddypress #activity-stream .activity-content{
		padding-top: 4px;
	}
	#buddypress #activity-stream .activity-header{
	    height: 42px;
	    font-size: 16px;
	}
	#buddypress #activity-stream .activity-header p{
		line-height: 18px;
	}
	#buddypress #activity-stream .miniavatar{
	    display: block;
	    float: left;
	    margin-right: 12px;
	    height: 38px;
	    width: 38px;
	    max-width: 38px;
	    border-radius: 50%;
	    overflow-clip-margin: unset;
	    overflow: hidden;
	    position: relative;
	    top: 0px;
	    border: 2px solid #fff;
	}
	#buddypress ul.item-list li{
	    overflow: hidden!important;
	    background: #3c3a48;
	    border: none;
	    margin: 8px 0px;
	    margin: 12px auto;
	    padding: 28px 28px;
	    border-radius: 36px;
	    border-top: 1px solid #eaeaea;
	    text-align: left;
    	/*width: 88%;*/
	}
	body #buddypress #item-body ul.item-list li .activity-content a{
		color: #99ffe3;
	}
	#buddypress #activity-stream li.mini .miniavatar{
	    height: 25px;
	    width: 25px;
	}
	#buddypress #activity-stream li.mini .activity-header{
    	padding-top: 8px;
	}
	#buddypress .activity-list li.mini .activity-comments{
		margin-left: 0px;
	}
	#buddypress .activity-list li.mini .activity-comments ul{
		margin-left: 0px;
		margin-top: 12px;
		background: #3c3a48;
	}
	#buddypress .activity-list li.mini .activity-comments ul li{
		border-radius: 0px;
		margin-bottom: 12px;
	}
	#buddypress .activity-list li.mini .activity-comments ul li ul{

	}
	#buddypress .activity-list li.mini .activity-comments ul li .acomment-avatar .avatar{
		border-radius: 50%;
		overflow: hidden;
	}
	#buddypress .activity-list li.mini .activity-comments ul li .acomment-meta{
	    color: #fff;
	    font-size: 14px;
	    font-style: italic;
	}
	#buddypress .activity-list li.mini .activity-comments ul li .acomment-content{
		font-size: 20px;
		margin-bottom: 18px;
	}
	#buddypress .activity-list li.mini .activity-comments ul li .acomment-options{
		margin-bottom: 12px;
	}
	#buddypress .activity-list li.mini .activity-comments ul li .acomment-options a{
		font-family: 'Rubik';
		background: linear-gradient(303.04deg, #FD5492 22.17%, #F86F64 71.43%);
		color: #fff;
		border: none;
		border-radius: 15px;
		padding: 8px 24px;
	}
	#buddypress ul.item-list li .activity-inner li{
		color: #fff;
	}
	#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar img.avatar{
		border-radius: 100%;
		border: 2px solid #fff;
	}
	#buddypress .activity-list .activity-content .activity-inner{

	}
	.activity-list li.bbp_topic_create .activity-content .activity-inner, 
	.activity-list li.bbp_reply_create .activity-content .activity-inner {
	    border-left: none;
	    margin-left: 0px;
	    padding-left: 0px;
	}
	#buddypress ul.item-list li .activity-meta a{
	    font-family: 'Rubik';
	    background: linear-gradient(303.04deg, #FD5492 22.17%, #F86F64 71.43%);
	    color: #fff !important;
	    border: none;
	    border-radius: 15px;
	    padding: 8px 24px;
	}
	#buddypress ul.item-list li.load-more{
	    font-family: 'Rubik';
	    background: linear-gradient(303.04deg, #FD5492 22.17%, #F86F64 71.43%);
	    color: #fff;
	    border: none;
	    border-radius: 15px;
	    padding: 8px 24px;
	}
	#buddypress ul.item-list li.load-more a{
    	text-decoration: none;
	}
	#buddypress div#message.info p{
	    overflow: hidden;
	    background: #3c3a48;
	    border: none;
	    margin: 8px 0px;
	    padding: 28px 28px;
	    border-radius: 36px;
	    font-family: "Rubiklight";
	    color: #fff;
	}
	#whats-new-form #whats-new-avatar{
		display: none;
	}
	#buddypress #item-header-cover-image #item-buttons a{
		text-align: center;
		text-decoration: none;
		color: #99ffe3;
		font-family: "Rubiklight";
		background: transparent;
		border: none;
		width: auto !important;
	}
	.bp-user #buddypress #item-header #item-buttons div.generic-button{
		width: auto !important;
	}
	/* profile page */

	/* forum */
	.bbpress  #content{
		background: #1b1a22;
	}
	.bbpress .entry-content a,
	#bbpress-forums a.bbp-topic-permalink{
	    font-size: 16px;
	    line-height: 18px;
	    color: #99ffe3;
	    hyphens: none;
	    text-decoration: none;
	}
	#bbpress-forums div.bbp-breadcrumb{
	    font-size: 12px;
	    line-height: 18px;
	    color: #eee;
	    text-align: left;
	}
	#bbpress-forums div.bbp-breadcrumb a{
		font-size: 12px;
	}
	#bbpress-forums #subscription-toggle{
	    float: right;
	    height: 42px;
	    line-height: 42px;
	}
	#bbpress-forums div.bbp-search-form,
	#bbpress-forums li.bbp-header{
		display: none;
	}
	#bbpress-forums li.bbp-header, 
	#bbpress-forums li.bbp-body, 
	#bbpress-forums li.bbp-footer{
		background: #1b1a22;
		background: #272332;
		color: #fff;
		border: none;
	}
	#bbpress-forums li.bbp-footer{
		padding: 0px;
	}
	body #bbpress-forums .status-closed, 
	body #bbpress-forums .status-closed a{
		color: #eee;
	}
	#bbpress-forums li{
		width: 100%;
	}
	#bbpress-forums li .bbp-topic-voice-count,
	#bbpress-forums li .bbp-topic-reply-count{
		display: none;
	}
	#bbpress-forums li.bbp-body ul.forum, 
	#bbpress-forums li.bbp-body ul.topic {
	    overflow: hidden!important;
	    background: #3c3a48 !important;
	    border: none;
	    margin: 12px auto;
	    padding: 28px 24px;
	    border-radius: 36px;
	    border-top: 1px solid #eaeaea;
	}
	#bbpress-forums .bbp-header li.bbp-forum-info, 
	#bbpress-forums .bbp-header li.bbp-forum-topic-count, 
	#bbpress-forums .bbp-header li.bbp-forum-reply-count, 
	#bbpress-forums .bbp-header li.bbp-forum-freshness {
	    display: inline-block;
	    flex-direction: row;
	    flex-wrap: nowrap;
	    width: 25%;
	}
	.bbpress #primary{
		padding: 0 0px;
	}
	.bbpress .site-content #forum-front .entry-title{
	    color: #eee;
	    font-family: "Rubiklight";
	    font-size: 25px;
	    text-align: center;
	    margin: 0;
	    padding-bottom: 0px;
	    padding-top: 24px;
	}
	#bbpress-forums ul.bbp-forums{
		border: none;
	}
	.bbpress .site-content .entry-header, 
	.bbpress .site-content .entry-content {
	    padding-right: 16px;
	    padding-left: 16px;
	    background: transparent;
	    font-size: 20px;
	    font-family: "Rubiklight";
	    color: #eee;
	    text-align: center;
	}
	.bbpress .site-content .entry-header h1,
	.bbpress .site-content .entry-content h1{
	    font-size: 20px;
	    font-family: "Rubiklight";
	}
	#bbpress-forums a.bbp-forum-title {
    	font-size: 16px;
    	line-height: 18px;
	    color: #99ffe3;
	    text-decoration: none;
	}
	#bbpress-forums .bbp-forums-list li a{
	    font-size: 14px;
	    line-height: 16px;
	    color: #99ffe3;
	    font-family: "Rubiklight";
	}
	#bbpress-forums .bbp-body .bbp-forum-freshness{
	    text-align: left;
	    font-size: 14px;
	    line-height: 16px;
	    color: #99ffe3;
	    font-family: "Rubiklight";
	}
	#bbpress-forums .bbp-body .bbp-forum-freshness a{
		font-size: 14px;
	    line-height: 16px;
	    color: #99ffe3;
	}
	#bbpress-forums .bbp-body .bbp-forum-freshness .bbp-topic-meta{
		margin: 0px 0px;
		margin-top: 12px;
	}
	#bbpress-forums .bbp-body .bbp-author-name{
	    height: 42px;
	    line-height: 42px !important;
	    display: block;
	    text-align: left;
	    width: 100%;
	    padding-left: 54px;
	}
	#bbpress-forums .bbp-body .bbp-author-avatar{
	    display: block;
	    height: 44px;
	    width: 44px;
	    margin-bottom: -60px;
	}
	#bbpress-forums ul.bbp-lead-topic, 
	#bbpress-forums ul.bbp-topics, 
	#bbpress-forums ul.bbp-forums, 
	#bbpress-forums ul.bbp-replies, 
	#bbpress-forums ul.bbp-search-results {
	    font-size: inherit;
	    border: none;
	}
	#bbpress-forums p.bbp-topic-meta img.avatar, 
	#bbpress-forums ul.bbp-reply-revision-log img.avatar, 
	#bbpress-forums ul.bbp-topic-revision-log img.avatar, 
	#bbpress-forums div.bbp-template-notice img.avatar, 
	#bbpress-forums .widget_display_topics img.avatar, 
	#bbpress-forums .widget_display_replies img.avatar{
		display: block;
		margin-right: 12px;
		height: 38px;
		width: 38px;
		max-width: 38px;
		border-radius: 50%;
		overflow-clip-margin: unset;
		overflow: hidden;
		position: relative;
		top: 0px;
		border: 2px solid #fff;
	}
	.bbpress div.bbp-template-notice.info{
		display: none;
	}
	#bbpress-forums .bbp-body .topic .bbp-topic-title .bbp-topic-meta .bbp-author-avatar{
		margin-bottom: -68px;
	}
	.bbpress .bbp-body .topic .bbp-topic-freshness{
		display: none;
	}
	.bbp-pagination-count{
	    float: left;
	    border: none;
	    color: #615B77;
	    font-size: 16px;
	    box-shadow: none;
	    font-family: "Rubik";
	    font-weight: bold;
	    width: 100%;
	}
	.bbp-pagination-links{
		float: none;
		list-style: none;
		display: block;
		width: 100%;
		min-height: 54px;
	}
	.bbp-pagination-links a:hover, 
	.bbp-pagination-links span.current{
	    background: transparent;
	    opacity: 1;
	    border: none;
	    font-size: 16px;
	    box-shadow: none;
	    font-family: "Rubik";
	    display: inline-block;
	    float: none;
	}
	.bbp-pagination-links a, 
	.bbp-pagination-links span.current{
	    display: inline-block;
	    padding: 4px 4px;
	    margin-left: 0px;
	    border: none;
	    text-decoration: none;
	    float: none;
	}
	.bbp-pagination-links span.dots{
	    display: inline-block;
	    float: none;
	    padding: 1px 4px;
	    margin-left: 5px;
	}
	#bbpress-forums div.bbp-forum-header, 
	#bbpress-forums div.bbp-topic-header, 
	#bbpress-forums div.bbp-reply-header {
	    background-color: #3c3a48;
	    border: none;
	}
	#bbpress-forums ul.bbp-replies{
		overflow: hidden!important;
		background: #3c3a48;
		border: none;
		margin: 8px 0px;
		margin: 12px auto;
		padding: 28px 14px;
		border-radius: 36px;
		border-top: 1px solid #eaeaea;
	}
	#bbpress-forums ul.bbp-replies div.odd,
	#bbpress-forums ul.bbp-replies ul.odd{
		background: #3c3a48;
		padding: 0px;
	}
	#bbpress-forums .bbp-body div.bbp-reply-author{
		margin: 0px 0px;
		margin-bottom: 12px;
		min-height: 58px;
		padding: 0px;
		width: 100%;
	}
	#bbpress-forums .bbp-body div.bbp-reply-author br{
		display: none;
	}
	#bbpress-forums div.bbp-forum-author a.bbp-author-name, 
	#bbpress-forums div.bbp-topic-author a.bbp-author-name, 
	#bbpress-forums div.bbp-reply-author a.bbp-author-name{
		margin: 0 0px;
	}
	#bbpress-forums div.bbp-forum-content, 
	#bbpress-forums div.bbp-topic-content, 
	#bbpress-forums div.bbp-reply-content {
	    margin-left: 48px;
	}
	span.bbp-reply-post-date{
	    float: left;
	    font-size: 12px;
	    line-height: 18px;
	    color: #eee;
	    text-align: left;
	}
	#bbpress-forums div.bbp-reply-author img.avatar{
	    display: block;
	    margin-right: 12px;
	    height: 38px;
	    width: 38px;
	    max-width: 38px;
	    border-radius: 50%;
	    overflow-clip-margin: unset;
	    overflow: hidden;
	    position: relative;
	    left: 0;
	    top: 0px;
	    border: 2px solid #fff;
	}
	#bbpress-forums ul.bbp-replies{

	}
	#bbpress-forums div.bbp-reply-author .bbp-author-role{
	    font-size: 12px;
	    line-height: 18px;
	    position: absolute;
	    top: 14px;
	    right: 0px;
	}
	#bbpress-forums div.bbp-reply-author .bbp-author-avatar{
    	margin-bottom: -42px;
	}
	#bbpress-forums div.bbp-reply-content p{
		font-size: 14px;
		line-height: 18px;
	    hyphens: none;
	}
	span.bbp-admin-links{
	    font-size: 0.01px;
	    color: transparent;
	    line-height: 0px;
	    display: block;
	    width: 100%;
	    text-align: right;
	}
	#bbpress-forums span.bbp-admin-links a {
	    font-family: 'Rubik';
	    border: none;
	    border-radius: 15px;
	    display: inline-block;
	    float: none;
	    margin: 0px 6px;
	    margin-top: 12px;
	    font-size: 10px;
	    line-height: 18px;
	    color: #99ffe3;
	    text-decoration: underline;
	}
	.gdbbx-footer-meta{
		background: transparent;
		padding: 4px 0px;
	}
	#bbpress-forums div.bbp-topic-content .gdbbx-admin-links,
	#bbpress-forums div.bbp-reply-content .gdbbx-admin-links{
	    font-size: 0.01px;
	    color: transparent;
	    line-height: 0px;
	    display: block;
	    width: 100%;
	}
	#bbpress-forums div.bbp-topic-content a,
	#bbpress-forums div.bbp-reply-content a{
	    background: 0;
	    padding: 0;
	    font-family: 'Rubik';
	    border: none;
	    border-radius: 15px;
	    display: inline-block;
	    float: none;
	    margin: 0px 6px;
	    margin-top: 12px;
	    font-size: 10px;
	    line-height: 18px;
	    color: #99ffe3;
	    text-decoration: underline;
	}
	#bbpress-forums ul.bbp-replies .bbp-footer{
		display: none;
	}
	.bbp-form .gdbbx-attachments-form .gdbbx-validation-active .gdbbx-attachment-preview span{
		font-family: 'Rubik';
		background: linear-gradient(303.04deg, #FD5492 22.17%, #F86F64 71.43%);
		color: #fff !important;
		border: none;
		border-radius: 15px;
		padding: 4px 16px;
	}
	.bbp-form .bbp-submit-wrapper #bbp_reply_submit,
	.bbp-form .gdbbx-attachments-form .gdbbx-attachment-add-file{
		font-family: 'Rubik';
		background: linear-gradient(303.04deg, #FD5492 22.17%, #F86F64 71.43%);
		color: #fff !important;
		border: none;
		border-radius: 15px;
		padding: 4px 16px;
		font-size: 12px;
		font-weight: normal;
	}
	.bbp-form .bbp-submit-wrapper #bbp_reply_submit{
		padding: 8px 24px;
		font-size: 16px;
	}
	#bbpress-forums fieldset.bbp-form label{
		hyphens: none;
	}

	.gdbbx-user-stats,
	#bbpress-forums span.bbp-author-ip{
		font-size: 10px;
		margin-top: 10px;
		display: none;
	}
	#bbpress-forums .bbp-topic-pagination a{
		border: none;
	}

	#bbpress-forums div.bbp-topic-content h1, 
	#bbpress-forums div.bbp-reply-content h1, 
	#bbpress-forums div.bbp-topic-content h2, 
	#bbpress-forums div.bbp-reply-content h2, 
	#bbpress-forums div.bbp-topic-content h3, 
	#bbpress-forums div.bbp-reply-content h3, 
	#bbpress-forums div.bbp-topic-content h4, 
	#bbpress-forums div.bbp-reply-content h4, 
	#bbpress-forums div.bbp-topic-content h5, 
	#bbpress-forums div.bbp-reply-content h5, 
	#bbpress-forums div.bbp-topic-content h6, 
	#bbpress-forums div.bbp-reply-content h6{
		font-size: 14px;
	}
	#bbpress-forums div.even,
	#bbpress-forums ul.even {
	    background-color: #3c3a48;
	}
	#bbpress-forums .bbp-replies .hentry{
		margin-bottom: 0px;
		box-sizing: border-box;
		padding: 0px 0px;
	}
	#bbpress-forums div.bbp-reply-header{
    	border-top: 1px solid rgb(234 234 234 / 42%);
	}
	#bbpress-forums .gdbbx-thanks-wrapper .gdbbx-said-thanks h6{
		font-size: 12px !important;
	}
	#bbpress-forums .gdbbx-thanks-wrapper .gdbbx-said-thanks .gdbbx-thanks-list .avatar {
	    display: inline-block;
	    height: 18px;
	    width: 18px;
	    border-radius: 50%;
	    overflow-clip-margin: unset;
	    overflow: hidden;
	    position: relative;
	    left: 0;
	    top: 0px;
	    border: 1px solid #fff;
	    margin-right: 0px;
	}
	#bbpress-forums .gdbbx-thanks-wrapper .gdbbx-said-thanks .gdbbx-thanks-list a {
    	margin: 0px 0px;
	}
	#bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log li, 
	#bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log li, 
	#bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log li{
		font-size: 12px;
	}
	#bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log li a, 
	#bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log li a, 
	#bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log li a{
		font-size: 12px;
		margin: 0 0;
		display: inline-block;
	}
	#bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log li .avatar,
	#bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log li .avatar,
	#bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log li .avatar{
	    display: none;
	}
	/* forum */

	.site-footer .site-info{
		padding: 8px 0px;
		height: 314px;
	}
	.up_footer, 
	.up_footer a{
		font-family: "Rubik";
		color: #eee;
	}
	.up_footer p:nth-child(2){
		text-transform: unset;
	}
	.up_footer a{
		color: #99FFE3 !important;
	}
	.up_footer:before{
	    content: '';
	    display: block;
	    position: relative;
	    margin: 12px auto;
	    margin-bottom: 24px;
	    width: 152px;
	    height: 54px;
	    background: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/img/mobile/ft/esprit_logo_flat.png);
	    background-repeat: no-repeat;
	    background-position: center 0px;
	    background-size: auto;
	}
	.up_footer:after{
	    content: '';
	    display: block;
	    position: relative;
	    margin: 24px auto;
	    width: 50px;
	    height: 50px;
	    background: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/img/mobile/ft/16+.png);
	    background-repeat: no-repeat;
	    background-position: center 0px;
	    background-size: auto;
	}
	.up_footer .footer_logo{
		display: none;
	}
	.up_footer .footer_16{
		display: none;
	}
	#bbpress-forums .bbp-body .bbp-forum-topic-count, 
	#bbpress-forums .bbp-body .bbp-forum-reply-count{
		display: none;
	}
	#bbpress-forums .bbp-forums-list{
		border: none;
	}
	body .divineark_pre{
		display: none;
	    position: fixed;
	    top: 0px;
	    left: -9999px;
	    right: -9999px;
	    width: 540px;
	    height: 254px;
	    background-image: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/promo/da-main/v/scrlbnr.png);
	    background-repeat: no-repeat;
	    background-position: center 0px;
	    background-size: 110% auto;
	    background-color: #1e1c24;
	    z-index: 999;
	    margin: 0 auto;
	    border-radius: 56px;
	    background-color: rgba(41, 39, 49, 0.9);
	    box-shadow: 0px 2px 6px rgba(0,0,0, 0.78);
	    opacity: 0;
		-o-transition: all 0.36s linear;
		-ms-transition: all 0.36s linear;
		-moz-transition: all 0.36s linear;
		-webkit-transition: all 0.36s linear;
		transition: all 0.36s linear;
		}
	body .divineark_pre a{
		background: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/promo/da-main/v/get_gif.png);
		background-repeat: no-repeat;
		background-position: center 160px;
		background-size: 82% auto;
		width: 100%;
		height: 100%;
		display: block;
	}
	body.home-page .divineark_pre.shw{
		display: block;
		opacity: 1;
		-o-transition: all 0.36s linear;
		-ms-transition: all 0.36s linear;
		-moz-transition: all 0.36s linear;
		-webkit-transition: all 0.36s linear;
		transition: all 0.36s linear;
		display: none;
	}
}

@media only screen and (max-width: 960px){
	.page-id-1777334 #g_back_btn{
		display: none !important;
	}
	#panel-817839-0-0-6,
	#panel-817839-0-0-7,
	#panel-817839-0-0-8,
	#panel-817839-0-0-9,
	#panel-817839-0-0-10,
	body .entry-content .edit-link{
		display: none;
	}
	body .widget_text{
		margin-bottom: 0px !important;
	}
	.site-header{
		min-height: 75px;
	}
	.header-main{
		height: 75px;
	}
	#masthead .ubermenu-responsive-default.ubermenu-responsive.ubermenu{
		/*left: -132px;*/
	}
	body.slidemenu .header-main{
		/*left: calc(100% - 132px);*/
	}
	/*
	.extmenubtn{
		width: 132px;
		height: 132px;
		padding-top: 16px;
	}
	body.slidemenu .extmenubtn{
	    width: 132px;
	    height: 132px;
	    left: calc(100% - 132px);
	    padding-top: 8px;
	}
	
	.extmenubtn span {
	    width: 86px;
	    height: 18px;
	}
	body.slidemenu .extmenubtn span:nth-child(2){
		top: 14px;
	}
	*/
	#masthead .ubermenu .ubermenu-nav #menu-item-147421{

	}
	#masthead .ubermenu .ubermenu-nav .ubermenu-item{
		height: 132px;
		width: 100%;
	}
	#masthead .ubermenu .ubermenu-nav .ubermenu-item .ubermenu-target{
	    font-size: 52px;
	    line-height: 120px;
	    width: 100%;
	    height: 132px;
	}
	#masthead .ubermenu .ubermenu-nav .ubermenu-item:before{

	}
	#masthead .ubermenu-responsive-default.ubermenu-responsive-collapse.ubermenu{
		left: -100%;
	}
	.ubermenu-sub-indicators #menu-item-6312>.ubermenu-target:after{
		opacity: 0 !important;
	}
}
@media only screen and (max-width: 768px){
	#bbpress-forums div.bbp-forum-content, 
	#bbpress-forums div.bbp-topic-content, 
	#bbpress-forums div.bbp-reply-content{

	}
	.site-header{
		min-height: 75px;
	}
	.header-main{
		height: 75px;
	}
	#masthead .ubermenu-responsive-default.ubermenu-responsive.ubermenu{
		left: -98px;
	}
	body.slidemenu .header-main{
		left: calc(100% - 105px);
	}

	/*
	.extmenubtn{
		width: 105px;
		height: 105px;
		padding-top: 16px;
	}
	body.slidemenu .extmenubtn{
	    width: 105px;
	    height: 105px;
	    left: calc(100% - 105px);
	    padding-top: 6px;
	}
	.extmenubtn span {
	    width: 84px;
	    height: 14px;
	}
	body.slidemenu .extmenubtn span:nth-child(1){
		top: 34px;
		width: 84px;
	}
	body.slidemenu .extmenubtn span:nth-child(2){
	    top: 12px;
	    width: 84px;
	}
	*/
	#masthead .ubermenu .ubermenu-nav .ubermenu-item{
		height: 105px;
		width: calc(100% + 105px);
	}
	#masthead .ubermenu .ubermenu-nav .ubermenu-item .ubermenu-target{
	    font-size: 42px;
	    line-height: 105px;
	    width: 100%;
	    height: 105px;
	}
	#masthead .ubermenu .ubermenu-nav .ubermenu-item:before{
		/*
		left: 105px;
		width: 148px;
		*/
	}
	#masthead .ubermenu-responsive-default.ubermenu-responsive-collapse.ubermenu{
		left: -100%;
	}
	#buddypress div.item-list-tabs ul #messages-personal-li{
		width: 198px;
	}
	body #buddypress div.item-list-tabs ul li{
		width: 188px;
		width: auto;
	}
	/*
	body #buddypress div.item-list-tabs ul li#friends-personal-li{
    	width: 140px;
    	width: 160px;
	}
	*/
	#buddypress div.item-list-tabs ul li:before{
	    width: 48px;
	    height: 48px;
	    position: absolute;
	    top: 0px;
	    left: 5px;
	}
	#buddypress div.item-list-tabs ul li:before {
	    /*box-shadow: none;*/
	}
	#buddypress div.item-list-tabs ul li a span{
	    position: absolute;
	    top: -4px;
	    left: 42px;
	    background: linear-gradient(303.04deg, #FD5492 22.17%, #F86F64 71.43%);
	    background: linear-gradient(143deg, #cc2d2d 22.17%, #fc4b58 71.43%);
	    border: none;
	    color: #fff;
	    font-family: "Rubiklight";
	    font-size: 11px;
	    width: 21px;
	    height: 21px;
	    padding: 0px;
	    margin: 0px;
	    vertical-align: unset;
	    display: block;
	    line-height: 23px;
	    border-radius: 100% !important;
    }
    #buddypress div.item-list-tabs ul li a .no-count{
    	display: none;
    }
    /*#buddypress div.item-list-tabs ul li a{
		font-size: 20px;
		font-family: "Rubiklight";
		color: #eee;
		position: relative;
		padding: 0px;
		padding-left: 74px;
		padding-right: 12px;
		line-height: 48px;
		background: url(https://p-cdn.espritgames.ru/wp-content/themes/espritgames/img/mobile/account/message_icon.png);
		background-repeat: no-repeat;
	    background-position: 11px 5px;
	    background-size: auto 80%;
		text-align: left;
    }
    */


   	#main ul#frontpage-games li.overthis{
		min-height: 1400px;
		margin-bottom: 0px;
	}
	#main ul#frontpage-games li.overthis .toback{
		top: 24px;
	}
	#main ul#frontpage-games li .hover_block .full_txt{
		width: 288px;
	}

	#main #frontpage-games.onegame{
		min-height: 1400px;
	}
	#main #frontpage-games.onegame:before{
		background: transparent;
	}
	
	#main #frontpage-games.onegame li.overthis{
		background: transparent;
		margin: 0 auto;
	}
	
	#main ul#frontpage-games li.overthis .hover_block, 
	#main ul#frontpage-games li.overthis:hover .hover_block {
		/*
    	top: 272px;
    	*/
	}
}
@media only screen and (max-width: 767px){
	#bbpress-forums .bbp-body div.bbp-reply-author{
	    margin: 0px 10px;
	    min-height: 58px;
	    padding: 0px;
	    width: 94%;
	}
	#bbpress-forums .bbp-body div.bbp-reply-author br{
		display: none;
	}
	#bbpress-forums div.bbp-forum-content, 
	#bbpress-forums div.bbp-topic-content, 
	#bbpress-forums div.bbp-reply-content {
	    margin-left: 0px;
	}
}
@media only screen and (max-width: 600px){
	.site-header{
		min-height: 75px;
	}
	.header-main{
		height: 75px;
	}
	#masthead .ubermenu-responsive-default.ubermenu-responsive.ubermenu{
		/*left: -132px;*/
	}
	body.slidemenu .header-main{
		left: calc(100% - 82px);
	}

	/*
	.extmenubtn{
		width: 82px;
		height: 82px;
		padding-top: 6px;
	}
	body.slidemenu .extmenubtn{
	    width: 82px;
	    height: 82px;
	    left: calc(100% - 82px);
	    padding-top: 6px;
	}
	.extmenubtn span {
	    width: 70px;
	    height: 12px;
	}
	body.slidemenu .extmenubtn span:nth-child(1){
	    top: 20px;
	    width: 72px;
	}
	body.slidemenu .extmenubtn span:nth-child(2){
		top: 0px;
		width: 72px;
	}
	*/
	#masthead .ubermenu .ubermenu-nav .ubermenu-item{
		height: 82px;
		width: calc(100% + 56px);
	}
	#masthead .ubermenu .ubermenu-nav .ubermenu-item .ubermenu-target{
	    font-size: 32px;
	    line-height: 82px;
	    width: 100%;
	    height: 82px;
	}
	#masthead .ubermenu-responsive-default.ubermenu-responsive.ubermenu{		
	    left: -88px;
	}
	#masthead .ubermenu-responsive-default.ubermenu-responsive-collapse.ubermenu{
		left: -100%;
	}
	#masthead .ubermenu .ubermenu-nav .ubermenu-item:before{
		width: 84px;
	}
	.outerprofilemenu .nikprofile a{
	    font-size: 36px;
	    line-height: 38px;
	    padding-bottom: 24px;
	}
	.outerprofilemenu .closeprofile{
	    font-size: 22px;
	    line-height: 24px;
	}
	.outer_pers_tabs{
		position: relative;
		right: 12px;
	}
	#main ul#frontpage-games li.overthis{
	    min-height: 1020px;
	    box-sizing: border-box;
	}
	#main ul#frontpage-games li.overthis .toback{
		top: 24px;
	}
	#main ul#frontpage-games li .hover_block .full_txt{
		width: 288px;
	}

	#main #frontpage-games.onegame{
		min-height: 1100px;
	}
	#main #frontpage-games.onegame:before{
		background: transparent;
	}
	/*
	#main #frontpage-games.onegame li.overthis{
		background: transparent;
	}
	*/
	#main ul#frontpage-games li.overthis .hover_block, 
	#main ul#frontpage-games li.overthis:hover .hover_block {
		/*
    	top: 272px;
    	*/
	}
	#main ul#frontpage-games li.mob_bnr .outer_bnr_link:before{
	    display: none;
	}
	#main ul#frontpage-games li.mob_bnr .outer_bnr_link:after{
	    display: none;
	}
	#main ul#frontpage-games li.mob_bnr .minibtn{
		max-width: 290px;
	}
}

@media only screen and (max-width: 500px){
	body.slidemenu .extmenubtn{
		left: calc(100% - 84px);
	}
	#main ul#frontpage-games li.overthis{
	    min-height: 800px;
	    box-sizing: border-box;
	}
	#main ul#frontpage-games li.overthis .toback{
		top: 24px;
	}
	#main ul#frontpage-games li .hover_block .full_txt{
		width: 288px;
	}

	#main #frontpage-games.onegame{
		min-height: 1100px;
	}
	#main #frontpage-games.onegame:before{
		background: transparent;
	}
	/*
	#main #frontpage-games.onegame li.overthis{
		background: transparent;
	}
	*/
	#main ul#frontpage-games li.overthis .hover_block, 
	#main ul#frontpage-games li.overthis:hover .hover_block {
		/*
    	top: 302px;
    	top: 338px;
    	*/
	}
	#masthead .ubermenu-responsive-default.ubermenu-responsive.ubermenu{
		left: -64px;
	}
	#masthead .ubermenu-responsive-default.ubermenu-responsive-collapse.ubermenu {
    	left: -100%;
	}
}
@media only screen and (max-width: 414px){
	body.slidemenu .header-main {
	    left: calc(100% - 68px);
	}
	body.slidemenu .extmenubtn {
	    left: calc(100% - 74px);
	}
}
@media only screen and (max-width: 380px){
	#main ul#frontpage-games li.overthis {
	    min-height: 1080px;
	    box-sizing: border-box;
	}
}
@media only screen and (max-width: 378px){
	.home-page .header-main{
		height: 64px !important;
	}
	.page-template-front-ru-2 #main #frontpage-games{
		-moz-transform: scale(1) !important;
		-ms-transform: scale(1) !important;
		-webkit-transform: scale(1) !important;
		-o-transform: scale(1) !important;
		transform: scale(1) !important;
	}
}
@media only screen and (max-width: 354px){
	body.slidemenu .extmenubtn {
	    left: calc(100% - 68px);
	}
}

#main ul#frontpage-games li{

	-o-transition: all 0.6s linear;
	-ms-transition: all 0.6s linear;
	-moz-transition: all 0.6s linear;
	-webkit-transition: all 0.6s linear;
	transition: all 0.6s linear;

}
#main ul#frontpage-games li.full{
	transform: scale(1.04);
	-o-transition: all 0.36s linear;
	-ms-transition: all 0.36s linear;
	-moz-transition: all 0.36s linear;
	-webkit-transition: all 0.36s linear;
	transition: all 0.36s linear;
	
}
#main ul#frontpage-games li.prefull{
	transform: translateY(-6%);
	-o-transition: all 0.36s linear;
	-ms-transition: all 0.36s linear;
	-moz-transition: all 0.36s linear;
	-webkit-transition: all 0.36s linear;
	transition: all 0.36s linear;
	
}
#main ul#frontpage-games li.nexfull{
	transform: translateY(6%);
	-o-transition: all 0.36s linear;
	-ms-transition: all 0.36s linear;
	-moz-transition: all 0.36s linear;
	-webkit-transition: all 0.36s linear;
	transition: all 0.36s linear;
	
}

#main ul#frontpage-games li.slds1{
	margin-top: 16px;
	margin-top: 16px;
	-o-transition: all 0.36s linear;
	-ms-transition: all 0.36s linear;
	-moz-transition: all 0.36s linear;
	-webkit-transition: all 0.36s linear;
	transition: all 0.36s linear;
	
}
#main ul#frontpage-games li.slds2{
	margin-top: 1px;
	-o-transition: all 0.8s linear;
	-ms-transition: all 0.8s linear;
	-moz-transition: all 0.8s linear;
	-webkit-transition: all 0.8s linear;
	transition: all 0.8s linear;
	
}

#main ul#frontpage-games li.slds3{
	-o-transition: none;
	-ms-transition: none;
	-moz-transition: none;
	-webkit-transition: none;
	transition: none;
	
}

#frontpage-games .mob_bnr:nth-child(1) .minittl,
#frontpage-games .mob_bnr:nth-child(1) .minibtn{
    display: none !important;
}