﻿body {
	margin: 0px;
	color: #5b5b5b; 
	font-family: Open Sans, Arial, sans-serif;
	font-size: 12px;
	background: #000;
}

body:after {
	content: "";
	display: block;
	position: fixed;
	bottom: 0px;
	right: 0px;
	width: 770px;
	height: 594px;
	background: url(../img/background.png) no-repeat;
	background-size: cover;
	z-index: 1;
}

a:link {
	color: #f1795a;
	text-decoration: none;
}

a:visited {
	color: #f1795a;
	text-decoration: none;
}

a:hover {
	color: #f1795a;
	text-decoration: underline;
}

img {
	border: 0px;
}

table {
	width: 100%;
	border-collapse: collapse;
}

#main_block {
	width: 486px;
	height: 26px;
	position: absolute;
	left: 100px;
	top: 80px;
}

#logo {
	width: 270px;
	height: 40px;
	float: left;
}

#logo a {
	display: block;
	width: 270px;
	height: 40px;
	background: url(../img/logo.png) no-repeat;
	background-size: 270px 40px;
}

#soc {
	margin-left: 300px;
	height: 20px;
	padding-top: 6px;
	font-size: 0px;
	border-left: 1px solid #2f2f2f;
	padding-left: 24px;
	width: 162px;
}

#soc a {
	display: inline-block;
	height: 16px;
	margin-left: 12px;
	background-image: url(../img/soc_icon_sprite.png);
	background-size: 200px 16px;
	background-position: 0px 0px;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
	opacity: 0.6;
}

#soc a:hover {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
	opacity: 1;
}

#di {
	width: 17px;
	background-position: -176px 0px !important;
}

#vk {
	width: 21px;
	background-position: -14px 0px !important;
}

#fb {
	width: 8px;
	background-position: -35px 0px !important;
}

#dr {
	width: 17px;
	background-position: -43px 0px !important;
}

#in {
	width: 17px;
	background-position: -60px 0px !important;
}

#tw {
	width: 17px;
	background-position: -77px 0px !important;
}

#da {
	width: 10px;
	background-position: -94px 0px !important;
}

#be {
	width: 21px;
	background-position: -104px 0px !important;
}

#skype:before {
	content: "";
	display: block;
	width: 16px;
	height: 16px;
	position: absolute;
	margin-top: -1px;
	margin-left: -22px;
	background: url(../img/soc_icon_sprite.png) -125px 0px;
	background-size: 200px 16px;
	opacity: 0.3;
}

#telegram:before {
	content: "";
	display: block;
	width: 19px;
	height: 16px;
	position: absolute;
	margin-top: -1px;
	margin-left: -23px;
	background: url(../img/soc_icon_sprite.png) -141px 0px;
	background-size: 200px 16px;
	opacity: 0.3;
}

#gmail:before {
	content: "";
	display: block;
	width: 16px;
	height: 16px;
	position: absolute;
	margin-top: -1px;
	margin-left: -23px;
	background: url(../img/soc_icon_sprite.png) -160px 0px;
	background-size: 200px 16px;
	opacity: 0.3;
}

#contacts {
	font-size: 10px;
	font-weight: bold;
	position: absolute;
	top: 80px;
	right: 100px;
	text-transform: uppercase;
}

#contacts span {
	display: inline-block;
	padding-left: 50px;
}

#copyright {
	font-size: 10px;
	font-weight: bold;
	position: absolute;
	bottom: 80px;
	left: 100px;
}

#main_block, #contacts, #copyright {
	z-index: 2;
}

#portfolio {
	width: 1026px;
	position: absolute;
	z-index: 2;
	text-align: center;
	top: 50%;
	left: 50%;
	margin-top: -334px;
	margin-left: -513px;
	font-size: 0px;
}

#portfolio a {
	display: inline-block;
	margin: 15px;
	width: 175px;
	height: 193px;
	background-size: cover;
	position: relative;
}

#portfolio a:hover {
	filter: brightness(1.2);
	-webkit-filter: brightness(1.2);
	-moz-filter: brightness(1.2);
	-o-filter: brightness(1.2);
	-ms-filter: brightness(1.2);
}

#dota2 {
	background-image: url(../img/dota2_preview.png);
}

#metin2 {
	background-image: url(../img/metin2_preview.png);
}

#lineage2 {
	background-image: url(../img/lineage2_preview.png);
}

#riseofendor {
	background-image: url(../img/rote_preview.png);
}

#kevra {
	background-image: url(../img/kevra_preview.png);
}

#tanatos {
	background-image: url(../img/tanatos_preview.png);
}

#glory2 {
	background-image: url(../img/glory2_preview.png);
}

#aionbattle {
	background-image: url(../img/aionbattle_preview.png);
}

#akari2 {
	background-image: url(../img/akari2_preview.png);
}

#duelcash {
	background-image: url(../img/duelcash_preview.png);
}

#khan {
	background-image: url(../img/khan_preview.png);
}

.sale:before {
	content: "";
	display: block;
	position: absolute;
	width: 144px;
	height: 144px;
	background: url(../img/sale_icon2.png);
	background-size: 144px 144px;
	bottom: -45px;
	right: -30px;
}

#soc a,
#portfolio a {
	-webkit-transition: all 0.1s linear;
	-moz-transition: all 0.1s linear;	
}

#info_icon {
	display: none;
}

#rate {
	color: #5b5b5b;
	text-transform: uppercase;
	font-size: 10px;
	position: absolute;
	left: 100px;
	top: 50%;
	margin-top: -48px;
	font-weight: 600;
	line-height: 24px;
}

#rate h3 {
	margin: 0px;
	color: #fff;
	padding: 0px;
	font-size: 10px;
}

#rate span {
	color: #ff1d4c;
}

.ukraine {
	display: block;
	width: 262px;
	height: 142px;
	background: url(../img/dkarts_banner.png) no-repeat;
	position: absolute;
	top: 165px;
	left: 64px;
}

@media screen and (max-width: 720px) {
	#info_icon {
		display: block;
		width: 78px;
		height: 78px;
		position: fixed;
		left: 0px;
		bottom: 0px;
		background: url(../img/info_icon.png) 50% 50% no-repeat;
		background-size: 18px 18px;
		z-index: 2;
		opacity: 0.3;
	}
	
	#box_close {
		display: block;
		width: 76px;
		height: 76px;
		position: absolute;
		right: 0px;
		top: 0px;
		background: url(../img/close_icon.png) 50% 50% no-repeat;
		background-size: 14px 14px;
		z-index: 2;
		opacity: 0.3;
	}
	
	#box {
		position: fixed;
		left: 0px;
		top: 0px;
		right: 0px;
		bottom: 0px;
		background: rgba(0,0,0,0.9);
		z-index: 3;
	}
	
	#box #soc {
		display: block;
		width: auto;
	}
	
	#box #contacts {
		display: block;
		position: static;
	}
	
	#box #contacts span {
		padding: 20px 25px 0px 25px;
	}
	
	#box_content {
		height: 72px;
		position: absolute;
		width: 100%;
		text-align: center;
		top: 50%;
		margin-top: -50px;
	}
	
	#contacts {
		display: none;
		left: 30px;
		right: 30px;
		bottom: 30px !important;
		text-align: center;
	}
	
	#contacts span {
		display: inline-block;
		padding: 0px 25px 20px 25px;
	}
	
	#soc {
		display: none;
	}
	
	#copyright {
		position: fixed;
		bottom: 30px;
		left: 30px;
		right: 30px;
		text-align: center;
	}
	
	#main_block {
		width: 265px;
		height: 86px;
		position: absolute;
		left: 50%;
		top: 35px;
		margin-left: -132px;
	}
	
	#soc {
		margin-left: 0px;
		height: 20px;
		padding-top: 20px;
		margin-top: 20px;
		font-size: 0px;
		border-left: none;
		padding-left: 0px;
		width: 265px;
		text-align: center;
	}
	
	#soc:before {
		content: "";
		display: block;
		position: absolute;
		margin-top: -20px;
		left: 50%;
		margin-left: -20px;
		width: 40px;
		height: 1px;
		background: #2f2f2f;
	}
	
	#logo {
		width: 265px;
		height: 26px;
		float: none;
	}
	
	body:after {
		width: 385px;
		height: 297px;
		background-size: cover;
	}
	
	#portfolio {
		width: auto;
		left: auto;
		margin-left: 0px;
		top: 0px;
		margin-top: 280px;
		height: auto;
		padding-bottom: 60px;
	}
	
	.ukraine {
		left: 50%;
		margin-left: -131px;
	}
	
	#portfolio a {
		margin: 15px;
	}
	
	#rate {
		top: 140px;
		width: auto;
		left: 0px;
		text-align: center;
		right: 0px;
	}
}