/*** Верхняя и нижняя лента ***/
.flex-containera, .flex-containerb { display: flex;  flex-wrap: nowrap;  justify-content: space-around; align-items: center; list-style:none; padding: 0; }

.flex-containerb { margin-bottom: 0px; }


/*** Внутренние блоки ***/
.flex-itema, .flex-itemb, .flex-itemc { margin: auto 5px;  font-size: 1em; text-align: center; align-self: center; }

.flex-itema { width: 450px; }
.flex-itemb { width: 350px; }



/***  Для объявления  ***/

.tooltip {
	position: relative;
	}
.tooltip em {
	display: none;
	}
.tooltip:hover em {
	font-style: normal;
	display: block;
	position: absolute;
 	background: #ead7b8;
	color: #774b11;
	padding: 10px 10px;
	bottom: 13px;
	right: 5;
	box-shadow: 0 0 5px #ccc;
 	border-radius: 5px;
	-webkit-border-radius: 5px;
 	-moz-border-radius: 5px;
	-webkit-box-shadow: 0 0 5px #000000;
	-moz-box-shadow: 0 0 5px #000000;
}
.tooltip:hover em i {
	position: absolute;
	bottom: -7px;
	right: 5px;
	border-top: 7px solid #000;
	border-left: 7px solid transparent;
	display: block;
}
.mini_awards_label {
    display: none;
}




/*** Сменка шапки ***/
.shapochka {position:absolute; height:170px; width:600px; margin-left: 157px !important; top:0px; background: url(http://forumfiles.ru/files/0018/1c/96/68542.jpg) top left no-repeat; opacity:0; transition: 1.2s opacity;}

.shapochka:hover {opacity:1; transition: 1.6s opacity;}



/*** для баннеров ***/
.nizbn {margin-left:20px; text-align:center;}
.nizbn img {opacity:0.6;}
.nizbn img:hover {opacity:1;}


/*** цвет текста ***/
#pun {color:#422106;}
.post-box {font-size: 1.2em; text-align: justify;
-webkit-text-size-adjust:125%;
-ms-text-size-adjust:125%;
-moz-text-size-adjust:125%;}


/*** Поле ответа ***/
.punbb textarea {padding: 0.7em; font-size: 1.2em !important;
    outline: none;
    color: #583a22;
    background-color: rgba(224, 215, 186, 0.45);
    box-shadow: 0px 0px 20px #a06931 inset;
    border-color: #774b11;
    border-style: solid;
    border-width: 2px;
}



/*** Категории ***/
.punbb .main h1, .punbb .main h2, #pun-debug h2, #profilenav h2,
.punbb-admin #pun-admain h2 {
font-size: 1.4em !important; font-style: normal; font-family: Times New Roman, Georgia, Arial;
letter-spacing: 0.05em; text-align: center;
color:#754419; text-shadow: 0px 0px 2px #d6b67f; 
padding: 0 0.35em;
background: transparent; }

#pun-main .category h2, #pun-main #pun-category1 h2, #pun-main #pun-category3 h2, #pun-main #pun-category5 h2,
#pun-debug h2, #post-form h2, #pun-redirect h1, #pun-stats h2 { 
color:#d6a869; text-shadow: 0px 0px 3px #2d1f09;
font-size: 16px !important; font-family: Barkentina, Georgia, times, Arial;
text-align:center; font-style: normal; letter-spacing: 0.1em;
background: url(http://forumfiles.ru/files/0018/1c/96/23112.png) 50% 0% no-repeat transparent;
height: 52px; padding-top: 32px; margin-bottom: -14px !important;
margin-left: -56px; margin-right: -50px;}


#pun-main #pun-category2 h2, #pun-main #pun-category4 h2, #pun-main #pun-category6 h2 { 
color:#d6a869; text-shadow: 0px 0px 3px #2d1f09;
font-size: 16px !important; font-family: Barkentina, Georgia, times, Arial;
text-align:center; font-style: normal; letter-spacing: 0.1em;
background: url(http://forumfiles.ru/files/0018/1c/96/60628.png) 50% 0% no-repeat transparent;
height: 52px; padding-top: 32px; margin-bottom: -14px !important;
margin-left: -56px; margin-right: -50px; }




/*** названия форумов ***/
.punbb .main .tcl h3 {font-size:1.15em !important; font-family: Barkentina, Georgia, times, Arial; color:#5f542d !important; font-weight: 700 !important; margin-bottom:0.5em; text-align:center; margin-bottom:0.5em;}
#pun-main .category .container table .hasicon .alt1 .tcl .intd .tclcon h3 a, #pun-main .category .container table .hasicon .alt2 .tcl .intd .tclcon h3 a {font-size: 1.3em; color:#5f542d !important; text-shadow: 0px 0px 3px #e2a788, 0 0 6px #b1a72f; letter-spacing: 0.02em; }


/*** внутренние заголовки мини-блоков ***/
#viewprofile h2 span, #profilenav h2 span {color:#9c570e; text-shadow: 0px -1px 1px #d0aa69; font-weight: 700;}


/*** цвета приветствия и копирайта, цвет форум-тем-сообщений ***/
#pun-status .container, #pun-about .container {color:#84540a;}
#pun-about .container {font-size:9px;}
.punbb th {color:#885609;}


/*** тему просматривают ***/
#pun-title, #pun-title .container, .punbb .modmenu .container {background-color: transparent; color: #7b4e07;}


/*** дата поста ***/
.punbb .post h3 span {color: #684724; font-size:0.95em;}
#viewprofile li, #setmods dl  {background-color: transparent; color: #7b4e07;}


/*** цитата, код и спойлер ***/
.punbb .quote-box, .punbb .code-box {
    font-size: 1em;
    outline: none;
    color: #583a22;
    background-color: rgba(224, 214, 186, 0.45);
    box-shadow: 0px 0px 28px #b58141 inset;
    border-color: #8c6336;
    border-style: double;
    border-width: 3px;
}


/*** модераторское меню***/
.punbb input, .punbb select, .punbb optgroup {background-color:#e2d3ba; color:#1d0f0e; outline:none;}


/*** ссылки на форуме и в посте  ***/
.punbb a, .punbb a:link, .punbb a:visited {color:#734f0b; text-shadow: 0 0 1px #cea768;}


/*** ссылки активны ***/
.punbb a:hover, .punbb a:focus, .punbb a:active, .punbb-admin #pun-admain .nodefault, .punbb-admin #punbb-admain a:hover, .punbb-admin #punbb-admain a:focus, .punbb-admin #punbb-admain a:active {color:#736f2c;}


/*** навигация ***/
#pun-navlinks a {color:#c3985d; text-decoration:none; text-shadow: 0px 0px 5px #2d1f09; transition: 0.25s all;} 

#pun-ulinks a {color: #635505; 
text-shadow: 0px 0px 1px #a97c3e; 
text-decoration:none; }


/*** навигация при наведении ***/
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active { color:#eac377;
text-decoration:none; 
transition: 0.25s all;} 

#pun-ulinks a:hover, #pun-ulinks a:focus, #pun-ulinks a:active {color:#674107; text-decoration:none;}


/*** вкладка активна ***/
#pun-main li.isactive a, #pun-main li.isactive a:link, #pun-main li.isactive a:visited {color:#a0671f;}


/*** картинка перед статистикой ***/
#pun-stats ul.container {background: transparent url(http://forumfiles.ru/files/0018/1c/96/33682.png) no-repeat -246px 10px; padding-left: 64px; color: #734a04;} 


/*** Цветное выделение текста ***/
::selection {background:#422808; color:#dcd0be;}  
*::-moz-selection {background:#422808; color:#dcd0be;}


/*** Цветной скролл ***/
#pun ::-webkit-scrollbar {width:8px; height:8px; background: rgba(148, 114, 72, 0.3);}
#pun ::-webkit-scrollbar-thumb {background: #966f36;}
#pun ::-webkit-scrollbar-corner {background: transparent;}


/*** Убрать Закрыто и Важно ***/
.stickytext,.closedatafield{ display:none;}

/*** Выравниваем в одну строку число постов и Уважение ***/
.pa-posts,.pa-respect {
text-align:center;  display:inline-block;
padding:0 2px !important; margin-left: 0; 
width:76px;
}


/*** спойлер ***/
.post-content .spoiler-box > div {background:url(http://forumfiles.ru/files/0018/1c/96/84552.png) no-repeat left center !important; cursor:pointer; padding-left:18px;}
.post-content .spoiler-box > div.visible {background-image:url(http://forumfiles.ru/files/0018/1c/96/40918.png) !important; padding-bottom: 0.02em !important;}


/*** Скрываем награды, загрузку файлов, отредактировано и прочее ***/
li#navawards, .pl-share, .lastedit, #button-files_rusff, #pun-live-rusff, #pun-title .title-logo span, .sharelink {display:none !important;}


/*** Кнопочки ***/
.button {
background: #ead7b8 !important;
box-shadow: 1px 1px 4px rgba(148, 111, 77, 0.5);
padding: 6px 8px;
text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.25);
font-weight: bold !important;
border: 1px solid #978150;
}

.button:hover, .button:active {
background: #f5deb8 !important; 
text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.35);
cursor: pointer;}

#My .container img {z-index: 3001 !important;}

#profile-left {text-align:center; font-family:Georgia, Tahoma, Arial; }




/*** Музыка ***/
/* mybb-music v1.0.0
Автор - грандоченька смерти @ https://github.io/eugpoloz/mybb-music
*/

/* Кнопка */
.button-audio {
  background-image: url(http://s5.uploads.ru/4QUIa.gif);
}

/* Попап */
#post .container.audio-popup {
  position: absolute;
  right: 6px;
  top: 43px;
  width: 350px;
  background: url(http://forumfiles.ru/files/0018/1c/96/80472.jpg) top center repeat #d6c09b;
  color: #292929;
  outline: none;
  border: 1px solid #75171e;
  box-shadow: 0px 0px 8px #8a8a8a inset;
}

#post .audio-popup__label strong {
  font-weight: 400;
}

#post input.audio-popup__input {
  display: block;
  width: 100%;
  margin: 1em 0;
  padding: 0.5em;
  box-sizing: border-box;
  border: #66a solid 1px;
}