﻿body {
	padding: 0;
	font-family:sans-serif;
	background-position: left top;
	background-size: auto;
	background-repeat: no-repeat;
	background-attachment: fixed;
	width: 100%;
	margin: auto;
}

#main {
	overflow: hidden;
	max-width: 1030px;
	margin: auto;
}
	
#header {
    overflow: hidden;
	padding: 5px;
}

.size-full {
	margin-left: -19px;
}

.navigation ul li span {
    width: 30px;
    height: 33px;
    background: url(topMenu.png) no-repeat;
    display: block;
    margin: 0 0 5px 0;
}
.navigation ul li:nth-child(2) span {
    background-position: -30px 0;
}
.navigation ul li:nth-child(3) span {
    background-position: -60px 0;
    width: 42px;
}
.navigation ul li:nth-child(4) span {
    width: 40px;
    background-position: -139px 0;
}
.navigation ul li:nth-child(5) span {
    width: 40px;
    background-position: -178px 0;
}
.navigation ul li:nth-child(6) span {
    width: 34px;
    background-position: -103px 0;
}
.navigation ul li:nth-child(7) span {
    background-position: -259px 0;
    width: 34px;
}
.navigation ul li:nth-child(8) span {
    background-position: -218px 0;
    width: 40px;
    border-top: 1px solid;
}
	
#site {
	display: inline-block;
	width: 186px;
	height: 53.83px;
	margin: 6px 0 0 0;
	vertical-align: middle;
}

h1, h2, h3, h4 {
	margin: 12px 0px;
	color: #ffd900;
	font-weight: 600;
	text-shadow: -2px 2px 0 rgba(109, 109, 109, 0.3);
}

h1 {
	font-size: 26px;
}

.list {
	color: white;
	}
	
#content_full h1 {
	color: #ffd900;
	font-size: 32px;
	font-weight: 700;
	text-shadow: -2px 2px 0 rgba(109, 109, 109, 0.3);
}

p {
	font-family:sans-serif;
	font-size: 17px;
	line-height: 1.7em;
	margin: 10px 0px;
	color: #ffffff;
}

.post-1 img{
	text-align: center;
}

a {
	color: #ffd900;
	text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #fff712;
}

#logo img {
	width: 100%;
	height: 100%;
	border:  none;
}

#logo a {
	display: block;
}

#sitename {
	width: 337px;
	float: left;
	font-size: 35px;
}

#sitename a {
	text-decoration: none;
	color: #333;
}

#admiral-x-container {
	float: right;
	margin: 12px 0 0 0;
	text-transform: uppercase;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
}
	
.registracija-admiral-x {
	white-space: pre;
	display: inline-block;
	width: 278px;
	background-color: #ffd900;
	color: #0c0c0c;
	padding: 9px 0;
	border-radius: 8px;
	border: 1px solid #796803;
	border-bottom: 3px solid #796803;
}

.vhod-admiral-x {
	display: inline-block;
	width: 92px;
	color: #fff;
	background-color: #31a013;
	padding: 9px 0;
	border-radius: 8px;
	border: 1px solid #1e690a;
	border-bottom: 3px solid #1e690a;
}

.registracija-admiral-x:hover {
	color: #0c0c0c;
	text-decoration: none;
	background-color: #fff712;
	border-color: #e4a100;
}

.vhod-admiral-x:hover {
	color: #fff;
	text-decoration: none;
	background-color: #3fdc4e;
	border-color: #0b8e18;
}

#menu ul {
	margin: 0;
	list-style-type: none;
	padding: 0;
	text-align: center;
}

#menu ul li {
	display: inline-block;
	padding: 3px 2px;
	text-align: -webkit-center;
}

#menu ul li:hover > ul {
	display: block;
}

#menu ul li a {
    display: block;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    padding: 10px 10px;
}

#menu ul li a:hover {
	color: #ffd900;
}

#content {
    width: 801px;
    float: left;
    padding: 0px 18px;
    color: #e6e0dc;
    text-align: justify;
}

#content_full {
	padding: 0 19px;
	text-align: justify;
}


#footer {
    height: 180px;
    background: url("footer-admiral-x.jpg") no-repeat;
    background-position: center;
	background-color: #1e1f1f;
}




@media only screen and (max-device-width: 967px) {
	
	.size-full {
	margin-left: 0px;
}

	.navigation ul li span {
    margin: 7px;
	}

	#header {
	padding-left: 25px;
	text-align: right;
}

	#menu ul li {
		display: block;
		padding: 0;
		border-bottom: 2px solid #ffd900;
	}
	
	#menu ul li:last-child {
		border-bottom: 2px solid #ffd900;
	}
	
	#menu ul li a {
		font-size: 12px;
		padding: 7px;
	}
	
	body {
		width: 100%;
	}
	
	#site {
		width: 28%;
		margin: 0;
		height: auto;
	}
	
	#admiral-x-container {
		display: inline-block;
		font-size: 12px;
		float: none;
		margin: 3px 0;
		width: 63%;
	}
	
	.registracija-admiral-x {
		width: 77%;
		padding: 8px 0;
	}
	
	.vhod-admiral-x {
		width: 19%;
		padding: 8px 0;
	}
	
	
	#content_full {
		padding: 0 4px;
	}
	
	#content_full h1 {
		font-size: 20px;
	}
	
	
	#footer {
		height: 57px;
		background: url("footer-admiral-x-mobile.jpg") no-repeat;
		background-color: #202020;
		background-position: center;
	}
	
	#content {
		width: auto;
		float: none;
		padding: 0 4px;
	}
	
	h1 {
		font-size: 20px;
		text-align: center;
	}
	
	h1, h2, h3, h4 {
		margin: 4px 0;
		font-size: 19px;
		text-align: center;
	}
	
	p {
	margin: 4px 0px;
	}
		
	img {
		width: 100%;
		height: auto;
	}
	

	.play-admiral-x {
	height: 370px;
	width: 100%;
	}
	
	.play-admiral-x-550 {
	height: 370px;
	}


	body {
		width: 100%;
	}
	
	
	.nav {
		text-align: center;
	}
	
	#footer {
		height: 57px;
		background: url("footer-admiral-x-mobile.jpg") no-repeat;
		background-color: #202020;
		background-position: center;
	}
	
	#content {
		width: 70%;
		padding: 0 1%;
	}
	
	h1 {
		font-size: 22px;
	}
	
	img {
		width: 100%;
		height: auto;
	}
	

.list {
	text-align: justify;
	padding-right: 30px;
	}



.hidden-menu-ticker {
    display: none;
}

#hmt {
    display: none;
}

.btn-menu {
    color: #fff;
    border:1px solid #ffd900;
    padding: 5px;
    position: fixed;
    top: 5px;
    left: 5px;
    cursor: pointer;
    transition: left .23s;
    z-index: 3;
    width: 25px;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}
 
.btn-menu span {
    display: block;
    height: 5px;
    background-color: #ffd900;
    margin: 5px 0 0;
    transition: all .1s linear .23s;
    position: relative;
}
 
.btn-menu span.first {
    margin-top: 0;
}


.menu {
    display: block;
    position: fixed;
    list-style:none;
    padding: 50px 10px 10px;
    margin: 0;
    box-sizing: border-box;
    width: 210px;
    background-color: #010102;
    height: 100%;
    top: 0;
    left: -210px;
    transition: left .2s;
    z-index: 2;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
}


.menu li {
    padding:10px 0;
}
 
.menu li a {
    font-size:15px;
    color:#000;
    padding:6px 0px;
}


.hidden-menu-ticker:checked ~ .btn-menu {
    left: 160px;
}
.hidden-menu-ticker:checked ~ .menu {
    left: 0;
}
.hidden-menu-ticker:checked ~ .btn-menu span.first {
    -webkit-transform: rotate(45deg);
    top: 10px;
}
.hidden-menu-ticker:checked ~ .btn-menu span.second {
    opacity: 0;
}
.hidden-menu-ticker:checked ~ .btn-menu span.third {
    -webkit-transform: rotate(-45deg);
    top: -10px;
}

}

@media only screen and (max-width: 767px) {
		
	.navigation ul li span {
		display: none;
	}
	
	#menu ul li a {
    font-size: 15px;
    padding: 20px;
}
	
	
	
}


@media only screen and (max-device-width: 450px){
#admiral-x-container
 {
	font-size: 10px;
	}
.games_item_name {
    font-size: 10px !important;
}


