/* стрелки */
#top_bottom {
position: fixed;
right: 0.5%;
top: 47%;
height: 101px;
}

/* приветствие */
#priveeet {
    text-align: center;
    padding: 0 80px 20px 80px;
    font-size: 1.5em;
    color: #704524;
}

/* закладки */
ul.tabs {
	margin: 0; 
	text-align: center;
	width: 100%;
	text-transform: uppercase;
	font-weight: bold;
}

ul.tabs li {
	display: inline;
	margin: 0;
	padding: 0; 
	overflow: hidden;
	position: relative;
	z-index: 0;
}

ul.tabs li a {
	display: inline-block;
	padding: 0 20px;
	outline: none;
	border-radius: 4px 4px 0 0;
	height: 20px;
	line-height: 22px;
	background-color: #8D673D;
	border: 1px solid transparent;
	color: #CBAC73;
}

ul.tabs li a:hover {
	background: #977D48;
	border: 1px solid transparent;
	color: #D8C497;
}

html ul.tabs li.active a, html ul.tabs li.active a:hover  {
	color: #FCF8D5;
	background: #AF9258;
	border: 1px solid #977D48;
	border-bottom-color: transparent;
}


/* контейнеры */
 .tab_container {
	clear: both;
	margin: 0 25px !important;
	background-color: rgba(239, 232, 203, 0.3);
	border-radius: 2px;
	border: 2px solid #AF9258; 
}

.tab_content {
	padding: 1.2em;
}


/* содержимое контейнеров */
#pun-announcement h5 {
color: #967B47;
font-size: 1.4em;
font-weight: bold;
text-align: center;
}

#pun-announcement span {
color: #747500;
font-weight: bold;
}

#lol {
display: block;
float: left;
margin-right: 1em;
width: 63px;
height: 78px;
}


/*менюшки*/
ul.navig {
    float: left;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

ul.navig li a {
    display: block;
    background-color: #AF9258;
    margin: 3px 8px;
    padding: 4px 0;
    border-radius: 3px;
}

ul.navig li a:hover {
    background-color: #A8570D;
}


/* картинки-ссылки */
   .photo {
display: inline-block; 
position: relative; 
margin: 8px 3px 0px 3px !important;
height: 82px;
width: 82px;
background-color: #AF9258;
border: 2px solid #967B47;
border-radius: 2px;
   }

   .photo img {
height: 82px;
width: 82px;
border: none;
}

/* картинки-ссылки (иконки администрации) */
   .photo_ams {
height: 58px;
width: 58px;
}

   .photo_ams img {
height: 58px;
width: 58px;
}

   .photo:hover::after {
content: attr(data-title);
position: absolute;
left: 35%;
top: 50%;
z-index: 1;
background-color: rgba(232,220,191,0.9);
padding: 0.5em;
border: 1px solid #F0EACE;
border-radius: 0 7px 7px 7px;
color: #684B2D;
text-shadow: none;
white-space: pre-wrap;
width: 180px;
   }


/* амс */
div.ams {
width: 290px;
height: 96px;
float: left;
margin-bottom: 0.5em;
margin-right: 0.5em;
}

div.ams div {
width: 96px;
float: left;
display: block;
margin: auto;
}

div.ams p {
margin-left: 96px;
padding-top: 9px;
}

div.ams .photo:hover::after {
display: none;
}


/* баннеры */
#banners #bang{
height: 36px;
line-height: 36px;
width: 130px;
display: block;
margin: 1em auto 0.5em auto;
text-align: center;
font-size: 1.8em;
border-radius: 2px;
border-width: 1px;
border-style: solid;
border-color: #fff5d2 #6e5937 #3f2c0f #f7d391;
background: linear-gradient(to bottom, #F1CF77 0%,#d2b37b 30%,#7d5a21 99%);
}

#banners #banan {
background-color: #F0EACE;
padding: 1em;
border-radius: 5px;
margin: 0 50px;
border: 1px solid #AF9258;
}


/* персонаж в профиле */
.pers {
color: #8B4310;
}
#button-dice {
background-image:url(http://drakenfurt.ru/uploads/0005/6e/de/20529-1.gif);
}
