body {
	background-image:url(../img/background.jpg) !important;
	background-repeat:  no-repeat;
	background-position: top left;
	background-color: #9b8974 !important;

	font-family: Verdana;
	font-size: 16px;
}

a{
	color:#4d3412;
	font-family:Oswald;
}

a:hover{
	text-decoration: none;	
	color:#bb6f0b;
	text-shadow:0px 0px 5px #000000;
}

a.fade img{
	box-shadow: #000 0 0 0;
}

a.fade {
	padding: 0px !important;
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	filter: grayscale(100%);
	opacity:0.4;
	box-shadow: #000 0 0 0;
}

a.fade:hover{
	-webkit-filter: grayscale(0%);
	-moz-filter: grayscale(0%);
	filter: grayscale(0%);
	opacity: 1;
}

aside{
	font-size: 12px;
	text-align: right;
}

input:focus {outline: none; }

h1{
	font-family: 'Oswald';
	color: #4d3412;
	margin-bottom:40px;
	padding-left:20px;
	padding-right: 20px;
	position:relative;
	display: inline-block;
	font-size: 1.5em;
}

h1:before{
	position:absolute;
	top:-15px;
	left:-10px;
	content:url(../img/title_before.png);
}

h1:after{
	position: absolute;
	bottom:-15px;
	right:-15px;
	content:url(../img/title_after.png);
}

.left{
	float:left;
}

.right{
	float:right;
}



/**
 * Big green bordered block used to create section in the left menu.
 */
 	.largeBlock {
 		margin: 50px 0px 50px 0px;
		position:relative;
	}

	.largeBlock .largeBlock-viewport{
		width:247px;
		padding-top:10px;
		border-radius: 20px;
	}

	.largeBlock .largeBlock-viewport .viewport-top{
	 	background-image:url(../img/border_big_top_full.png);
	 	background-repeat: no-repeat;
	 	height:40px;
	 	height:40px;
	 	position:absolute;
	 	top:-38px;
	 	left:0px;
	 	width:247px;

	 }

	.largeBlock .largeBlock-viewport .viewport-bottom{
	 	background-image:url(../img/border_big_bottom_full.png);
	 	background-repeat: no-repeat;
	 	height:40px;
	 	position:absolute;
	 	bottom:-20px;
	 	left:0px;
	 	z-index: -1000;
	 	width:247px;

	 }

	.largeBlock .largeBlock-viewport .viewport-side{
	 	 background-image:url(../img/border_big_side_full.png);
	 	 background-repeat:repeat-y;
	 	 position:relative;
	 	 padding-left:20px;
	 	 padding-right:20px;
	 	 font-family: 'Oswald';
	 	 color: #bb6f0b;
	 }

	.largeBlock-title {
	 	padding-top: 7px;
		position:absolute;
		top:-40px;
		left:50px;
	 	z-index:1000;
	 	color: #bb6f0b !important;
	 }

	.largeBlock ul {
	 	padding-left:0px;
	 	list-style: none;
	 	font-size: 14px;
	}

	.largeBlock ul li a{
		color:#bb6f0b !important;
	}

	.largeBlock ul li a:hover{
		color:#ffc13b;
		text-shadow:0px 0px 5px #bb6f0b;
		text-decoration:none;
	}

/**
 * Green block with bordur and inside link
 * used for menu item and largeBlock title.
 */
	.smallBlock{
		margin:5px;
		min-width:100px;
		height:40px;

		background-image:url(../img/menu_item.png);
		background-size: 100% 100%;
		
		display:inline-block;
		font-weight:bold;
		text-align:center;
		font-weight: 400;
		font-family: 'Oswald';	

		margin-top:0px !important;
	}

	.smallBlock a{
		padding:10px 0px 0px 0px !important;
		color:#ffa500 !important;
		text-shadow: 1px 1px #4d3412;
		font-weight: 400;
		font-family: 'Oswald';	
	}

	.smallBlock a:hover{
		color:rgb(255,205,0) !important;
		text-shadow: 1px 1px 6px rgb(255,205,0);
		text-decoration:none;
	}

/**
 * Top bar
 */
	.topbar .forum_links li{
	 	display: inline-block;
	 	font-family: Verdana;
	 	font-size:16px;
	 	border-right: 1px solid #9b8974;
	 	padding-left: 15px;
	 	padding-right: 15px;
		padding-top:10px;
	 	height:41px;

		color:#9b8974;
	}

	.topbar .forum_links{
	 	margin:0px;
	 	padding: 0px;
	}

	.topbar .forum_links li a{
		color:#ab8937 !important;
	font-weight: normal;
		font-family: 'Oswald';
		margin:0px;
	 	padding: 0px;
		display: inline-block !important;
	}

	.topbar .forum_links li a:hover{
		color:#bb6f0b !important;
		text-shadow:0px 0px 5px #000000 !important;
	}

	.topbar .navbar-nav.navbar-right:last-child {
		margin-right: 15px;
	}

	.topbar .topbarlink{
		color:#ab8937 !important;
		font-weight: 400;
		font-family: 'Oswald';
	}

	.topbar .topbarlink a{
		color:#ab8937 !important;
		font-weight: 400;
		font-family: 'Oswald';
		display: inline-block;
		margin-left: 0px;
		margin-right: 0px;
	}

	.topbar .navbar-brand{
		color:#ffa500 !important;
		text-shadow: 1px 1px #4d3412;
		font-weight: 400;
		font-family: 'Oswald';	
	}
 

/**
 * Logo
**/
	#logo{
		width:400px;
		max-width: 100%;
		margin:auto;
	}

/**
 *  MENU
**/
	#menu{
		background-color: transparent;
		border:none;
		margin-top: 50px;
		width:100%;
	}

	#menu ul{
		width: 100%;
	}

/** 
 * Gallery 
**/
	#gallery{	
	 	position:absolute;
	 	top:-20px;
	 	left: 5px;
	 	width:237px;
	 }

	.carousel-inner{
	 	-moz-border-radius: 20px;
		-webkit-border-radius: 20px;
		border-radius:20px;
	}

	.carousel-indicators li {
		border-color:#ffa500;
	}

	.carousel-indicators li.active {
		background-color:#ffa500;
	}
	
/**
 * Status
**/
	.offline{
		transform: rotate(5deg) scale(1) skew(1deg) translate(0px);
	    -webkit-transform: rotate(5deg) scale(1) skew(1deg) translate(0px);
	    -moz-transform: rotate(5deg) scale(1) skew(1deg) translate(0px);
	    -o-transform: rotate(5deg) scale(1) skew(1deg) translate(0px);
	    -ms-transform: rotate(5deg) scale(1) skew(1deg) translate(0px);
	}

/**
 * Progress
 **/
 	.progress{
		margin-bottom: 5px;
		background-color: #9b8974;
		border:1px solid #746657;
	}

   .progress-bar{
		background-color:#837463;
		color:#ffffff;
		text-shadow: 1px 1px #4d3412;
	}

/**
 * Content 
**/
	#content{
		-moz-border-radius-topleft: 21px;
		-moz-border-radius-topright:5px;
		-moz-border-radius-bottomleft:5px;
		-moz-border-radius-bottomright:21px;
		-webkit-border-top-left-radius:21px;
		-webkit-border-top-right-radius:5px;
		-webkit-border-bottom-left-radius:5px;
		-webkit-border-bottom-right-radius:21px;
		border-top-left-radius:21px;
		border-top-right-radius:5px;
		border-bottom-left-radius:5px;
		border-bottom-right-radius:21px;

		background-color:#837463;
		margin-bottom: 100px;
		padding:10px 30px 10px 30px;
		color:#000 !important;
	}
/** 
 * News
**/
	#news table {
		margin:auto;
	}
	
/** 
 * Footer 
**/
	footer {
		color:#9b8974;
		font-size: 11px;
		min-height: 50px;
		line-height: 16px;
		padding-top: 40px;
		position:relative;
		background: rgb(155,137,116); 
		background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzliODk3NCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjI0JSIgc3RvcC1jb2xvcj0iIzU0NGEzZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
	    background: -moz-linear-gradient(top,  rgba(155,137,116,1) 0%, rgba(84,74,63,1) 24%); /* FF3.6+ */
	 	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(155,137,116,1)), color-stop(24%,rgba(84,74,63,1))); /* Chrome,Safari4+ */
	    background: -webkit-linear-gradient(top,  rgba(155,137,116,1) 0%,rgba(84,74,63,1) 24%); /* Chrome10+,Safari5.1+ */
	    background: -o-linear-gradient(top,  rgba(155,137,116,1) 0%,rgba(84,74,63,1) 24%); /* Opera 11.10+ */
	    background: -ms-linear-gradient(top,  rgba(155,137,116,1) 0%,rgba(84,74,63,1) 24%); /* IE10+ */
	    background: linear-gradient(to bottom,  rgba(155,137,116,1) 0%,rgba(84,74,63,1) 24%); /* W3C */
	    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9b8974', endColorstr='#544a3f',GradientType=0 ); /* IE6-8 */
	   
	}

	footer a{
		color:#ab8937;
		font-family: 'Verdana';
	}

	footer ul{
		border-left: 1px solid #9b8974;
		padding-left: 10px;
		list-style: none;
	}

	footer em{
		text-align: right;
		color:white;
		display: inline-block;
		width:40px;
	}

	footer .background{
		position:absolute;
		background-image:url(../img/background_footer.png);
		background-position: top left;
		background-repeat: no-repeat;

		width: 220px;
		height:300px;
		right:1%;
		bottom:0px;
	}

/**
 * PageGallery
**/


#links{
	text-align: center;
}

.box {
	display: inline-block;
	margin:10px;
	transition: all 1s ease;
	background-color: #9b8974;
	padding:5px;
	border-radius: 5px;
}

.box:hover{
	opacity: 1;
	-moz-box-shadow: 5px 6px 16px #000000;
	-webkit-box-shadow: 5px 6px 16px #000000;
	box-shadow: 5px 6px 16px #000000;
}

/**
 * Wiki
**/
#wiki article a{
	color:#4d3412 !important;
	font-family:Oswald !important;
}

#wiki article a:hover{
	text-decoration: none !important;	
	color:#bb6f0b !important;
	text-shadow:0px 0px 5px #000000 !important;
}

#wiki table{
	margin-top: 20px;
}

#wiki{
	min-height: 650px;
}

#wiki h1#firstHeading{
	font-family: 'Oswald';
	color: #4d3412;
	margin-bottom:40px;
	padding-left:20px;
	padding-right: 20px;
	position:relative;
	display: inline-block;
	font-size: 1.5em;
}

#wiki  h1#firstHeading:before{
	position:absolute;
	top:-15px;
	left:-10px;
	content:url(../img/title_before.png);
}

#wiki h1#firstHeading:after{
	position: absolute;
	bottom:-15px;
	right:-15px;
	content:url(../img/title_after.png);
}

#wiki h1:before{
	content:'';
}

#wiki h1:after{
	content:'';
}

#wiki h1{
	color:#000 !important;
	margin-top: 30px !important;
	margin-bottom: 10px !important;
}

#wiki .editsection{
	font-size: 12px !important;
}

#wiki article h1 a.mw-redirect {
	color:#000 !important;
}

#wiki #toc{
	display: none;
}

#wiki .printfooter{
	display: none;
}

#wiki #searchform input{
	background-color: #837463;
	border:1px solid black;
	border-radius: 5px;
	color:#4d3412;
}

#wiki #searchform .searchButton{
	border-radius:5px;

}

#wiki .wikitable{
	background-color: #9b8974 !important;
	margin:25px; 
}

#wiki .wikitable pre{
	background-color: transparent !important;
}

#wiki .wikitable tr{
	background-color: #9b8974 !important;
}

#wiki .wikitable th{
	background-color: #9b8974 !important;
	vertical-align: top;
}

#wiki .wikitable th, #wiki .wikitable td{
	padding: 10px;
	border:1px solid #222;
}

#wiki #searchform .searchButton:hover{
	color:#bb6f0b !important;
	text-shadow:0px 0px 5px #000000 !important;
}

#wiki #mw-normal-catlinks{
	position:absolute;
	bottom:5px;
	border-top:1px solid #222;
	left:25px;
}

#wiki #content{
	min-height: 800px;
	padding-bottom: 50px;
	margin-bottom: 50px;
}

#wiki #content a.new{
	color:#AD2F21 !important;
}

#wiki #content a.new:hover{
	color:#bb6f0b !important;
}

#wiki .mw-headline a:hover{
	color:#bb6f0b !important;
	text-shadow:0px 0px 5px #000000 !important;
}

#wiki table.wikitable > * > tr > th {
	text-align: left !important;
}
/**
 * RESPONSIVE : Small device ( width < 768px )
**/
@media (max-width: 768px){
	#menu{
		margin-top: 10px;
	}

	#menu ul{
		text-align: center;
	}

	#menu ul li {
	 	display: inline-block !important;
	}

	#content{
		margin-left:10px;
		margin-right:10px;
	}

 }

/**
 * RESPONSIVE : Medium device ( 768px < width < 992px )
**/
 @media (min-width:768px) and (max-width:992px){
	
	#menu{
		margin-left: 40px;
		margin-top: 10px;
	}

	div.col-sm-4 {
		padding: 0px !important;
	}

	#progress ul{
		text-align: left;
		height:153px;
	}

	#progress li{
		width: 45%;
		display: inline-block;
		padding-left:5px;
	}

	#content{
		margin-bottom:20px;
	}
 }


/**
 * RESPONSIVE : Normal device ( 992px < width < 1200px )
**/
@media (min-width: 992px) and (max-width:1200px){ 
	#menu {
		width:400px;
		margin-top: 15px;
	}
}


.ekko-lightbox-container{
	margin: auto;
	max-width: 80% !important;
	max-height: 80% !important;
}

.aopBoardCategory{
		-moz-border-radius-topleft: 21px;
		-moz-border-radius-topright:5px;
		-moz-border-radius-bottomleft:5px;
		-moz-border-radius-bottomright:21px;
		-webkit-border-top-left-radius:21px;
		-webkit-border-top-right-radius:5px;
		-webkit-border-bottom-left-radius:5px;
		-webkit-border-bottom-right-radius:21px;
		border-top-left-radius:21px;
		border-top-right-radius:5px;
		border-bottom-left-radius:5px;
		border-bottom-right-radius:21px;

		background-color: rgb(84, 74, 63);
		margin-bottom: 20px;
		margin-top:10px;
		padding:20px 20px 5px 20px;
		color:#000 !important;
		position: relative;
}

.aopBoardCategory h2{
	position: absolute;
	top: -40px;
		color:#ffa500 !important;
	text-shadow: 1px 1px #4d3412;
	font-weight: 400;
	font-family: 'Oswald';
}

.aopBoardCategory ul{
	list-style: none;
	line-height: 1em;
}

.aopBoardCategory .aopForumName{
	
}

.aopBoardForum.first{
	border-radius: 20px 0px 0px 0px;
}

.aopBoardForum.last{
	border-radius: 0px 0px 20px 0px;
}

.aopBoardCategory .aopForumDescription{
	font-size: 0.8em;
}

.aopBoardCategory .aopForumChildren{
	
	font-size: 0.8em;
}

.aopBoardCategory .aopForumCount{
	font-size: 0.8em;
	line-height: 0.9em;

    display: inline-block;
    vertical-align: middle;
}
.aopBoardCategory .aopForumLast{
	font-size: 0.8em;
	line-height: 0.9em;
}

.even{
	background-color: #9b8974;
}

.odd{
	background-color: #837463;
}

.aopBoardForum{
	padding-top: 5px;
}

.aopBoardCategory .container {
    margin-top: 10px;
    display: table;
    height: 100%;
}
.aopBoardCategory .row {
   display: table;
}

.aopBoardCategory .aopCol{
	float: none;
    display: table-cell;
    vertical-align:middle;
}

.aopCol .read:before{
	content:'';
	background-image:url(../img/forumNotNew.png);
	background-repeat: no-repeat;
	width:32px;
	height:32px;
	display: block;
	float:left;
	margin-right: 5px;
}

.aopCol ul{
	padding-left: 0px;
}

.aopCol .unread:before{
	content:'';
	background-image:url(../img/forumNew.png);
	background-repeat: no-repeat;
	width:32px;
	height:32px;
	margin-right: 5px;
	display: block;
	float:left;
}

.navigate_section ul li{
	display: inline-block;
}

#linktree{
	padding:0px;
}

#linktree .nav{
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	margin-bottom: 20px;
	padding-bottom: 0px;
}

#linktree ul{
	margin: 0px;
	padding-left: 20px;
	font-family: Verdana;
	font-size:16px;
	color:#9b8974;
	font-weight: bold;
}

#linktree ul li a{
	color:#ab8937;
	font-family:Oswald;
	font-weight: normal;
}

#linktree ul li a:hover{
	text-decoration: none;	
	color:#bb6f0b;
	text-shadow:0px 0px 5px #000000;
}
