/* Фон, шапка, футер, тело
-------------------------------------------------------------*/
body {
  background: url(http://forumstatic.ru/files/001b/8c/26/79981.jpg) no-repeat fixed top center/cover var(--black0);
}

#pun {
background: url(http://forumstatic.ru/files/001b/8c/26/18909.png) top center no-repeat,
  url(http://forumstatic.ru/files/001b/8c/26/76922.png) bottom center no-repeat;
}

.punbb {
  background: url(http://forumstatic.ru/files/001b/8c/26/88911.png) #9da196;
}

#html-header {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 980px;
    height: 342px;
}

/* скролл для Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--darkbrown) var(--green);
}

/* скролл для Chrome/Edge/Safari */
*::-webkit-scrollbar {
  height: 5px;
  width: 5px;
}

*::-webkit-scrollbar-track {
  background: var(--darkbrown);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--green);
  border: none;
}

/* цвета выделения текста */
::selection {background: var(--green);}
::-moz-selection {background: var(--green);}
::-webkit-selection {background: var(--green); color:#fff;}

.punbb .section .container, .punbb .post-body, .punbb .post-links, .punbb td.tc2, .punbb td.tc3,
.punbb .formal fieldset .post-box, #viewprofile li strong, #viewprofile li div, #setmods dd,
.punbb .info-box, .punbb #pun-main .info-box .legend {
  background: transparent;
  color: #333;
  }

.punbb .main .container, .punbb .post .container, .punbb .post h3, #pun-title, #pun-title .container, .punbb .modmenu .container {
  background-color: transparent;
  color: #333;
  }

#pun-index .category h2, #pun-stats h2, .punbb .main h1, #pun-index .category h2, #pun-stats h2, #pun-debug h2, #pun-search h1, #pun-profile h1, #pun-message h1, #pun-viewtopic .main h2, #pun-edit h1, #pun-delete h1, .mod-awards h2 {
  width: 920px;
  height: 25px;
  margin: 0 30px;
  background: url(http://forumstatic.ru/files/001b/8c/26/68330.png) no-repeat top center;
  border: 1px solid var(--darkbrown);
  text-align: center;
  line-height: 0.9;
  box-sizing: border-box;
  }
  
#pun-index .category h2 span, #pun-stats h2 span, .multipage h1 span, #pun-search h1 span, #pun-profile h1 span, #pun-message h1 span, #pun-viewtopic .main h2 span, #pun-edit h1 span, #pun-register h1 span, #pun-login h1 span, #pun-delete h1 span, #pun-post h1 span, #pun-poll h1 span, #pun-movetopic h1 span, .mod-awards h2 span, .redirect-page h1 span, #pun-deletetopic h1 span, #pun-upavatar h1 span {
  font-family: Lora;
  font-size: 20px;
  color: var(--lightolive);
  text-transform: lowercase;
  }

.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span, #pun-messages legend strong {
  background: linear-gradient(90deg, rgba(42,39,33,1) 0%, rgba(70,100,80,1) 100%);
  border: solid 1px var(--darkbrown);
  color: var(--lightolive);
  font-family: lora;
  font-size: 14px;
  }

.punbb .quote-box, .punbb .code-box {
  color: var(--black0);
  background: url(http://forumstatic.ru/files/001b/8c/26/28581.png);
  border: solid 1px var(--brown);
  }
  
.punbb .quote-box cite, .punbb .code-box strong.legend {
  font-size: 14px;
  font-weight: bold;
  font-style: normal;
  background: linear-gradient(90deg, rgba(42,39,33,1) 0%, rgba(70,100,80,1) 100%);
  color: var(--lightolive);
  font-family: lora;
  }

#pun-navlinks .container {
  background: transparent;
  color: #f1f1f1;
  }

.punbb a, .punbb a:link, .punbb a:visited,
.punbb-admin #pun-admain a, .punbb-admin #pun-admain a:link, .punbb-admin #punbb-admain a:visited {
  color: var(--black1);
  transition: all 0.3s linear 0s;
  }

.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
  color: #333
  }

.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: var(--green);
  transition: all 0.3s linear 0s;
  }

#pun-navlinks a, #pun-ulinks li, #pun-ulinks li a {
  font-family: lora;
  color: var(--lightolive);
  text-decoration: none
  transition: all 0.3s linear 0s;
  }
  
#pun-navlinks a, #pun-navlinks li a {
  text-transform: uppercase;
  font-size: 14px;
}

#pun-ulinks li, #pun-ulinks li a {
  text-transform: lowercase;
  font-size: 11px;
}

#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active, #pun-ulinks li a:hover, #pun-ulinks li a:focus, #pun-ulinks li a:active {
  color: var(--green);
  transition: all 0.3s linear 0s;
  }

#pun-pagelinks a:active, #pun-pagelinks a:focus {
  background-color: #333;
  color: #fff;
  }


/**иконки**/
div.icon {background: url(http://forumstatic.ru/files/001b/8c/26/36528.png) no-repeat;}
tr.inew div.icon {background: url(http://forumstatic.ru/files/001b/8c/26/51041.png) no-repeat;}
tr.isticky div.icon {background: url(http://forumstatic.ru/files/001b/8c/26/28219.png) no-repeat top center/cover;}
tr.iclosed div.icon {background: url(http://forumstatic.ru/files/001b/8c/26/54939.png) no-repeat top center/cover;}

#pun-main div.catleft, #pun-main div.catright {display: none}

#pun-index div.icon {
 margin-top: 2px;
 margin-left: 0px;
 width: 51px;
 height: 12px;
 background: url(http://forumstatic.ru/files/001b/8c/26/35261.png) no-repeat top center/cover;
}
 
#pun-index DIV.inew {
  background: url(http://forumstatic.ru/files/001b/8c/26/51041.png) no-repeat top center/cover;
}

#pun-viewforum .tclcon, #pun-messages .tclcon, #pun-searchtopics .tclcon, #pun-message .tclcon, #pun-modviewforum .tclcon{
    margin-left: 60px;
}

/**блоки цитат в подфорумах на главной**/
.opi {
  width: 400px;
  display: inline-block;
  background: url(http://forumstatic.ru/files/001b/8c/26/58248.png) no-repeat right;
  padding: 5px;
  border: solid 1px var(--brown);
  color: var(--black0);
  font-family: lora;
  font-size: 11px;
}

.opinavi a {
  display: inline-block;
  padding: 0 5px;
  margin-top: 5px;
  height: 15px;
  background: var(--darkbrown);
  color: var(--lightolive)!important;
  border: solid 1px var(--brown);
  font-family: 'Lora';
  font-size: 11px;
  text-align: center;
  vertical-align: middle;
  box-sizing: border-box;
  transition: all 0.3s linear 0s;
}

.opinavi a:hover {
  transition: all 0.3s linear 0s;
  background: var(--green);
}

/**таблица**/
.tabl {
  display: flex;
  width: 950px;
  height: 105px;
  background: url(http://forumstatic.ru/files/001b/8c/26/90647.png) no-repeat;
  border: solid 1px var(--darkbrown);
  position: absolute;
  top: 225px;
  left: 15px;
  box-sizing: border-box;
}

.activ {
  display: flex;
  height: 95px;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.activ img{
  width: 40px;
  height: 40px;
  border: solid 1px var(--brown);
  box-sizing: border-box;
  opacity: 0.5;
  transition: all 0.3s linear 0s;
}

.activ img:hover {
   opacity: 1; 
   transition: all 0.3s linear 0s;
}

.left1 {
  padding: 5px;
  display: flex;
  flex-wrap: wrap;
  width: 310px;
  height: 105px;
  box-sizing: border-box;
  flex-direction: column;
  align-content: flex-start;
  justify-content: center;
}

.postik {
  width: 255px;
  height: 90px;
  overflow-y: auto;
  font-family: lora;
  font-size: 11px;
  box-sizing: border-box;
  margin-left: 5px !important;
  line-height: 1;
}

.right1 {
  display: flex;
  flex-direction: column;
  align-content: space-around;
  align-items: center;
  padding: 5px;
  width: 630px;
}

.infor {
  padding: 2px 5px 5px 10px;
  overflow-y: auto;
  height: 45px;
  font-family: 'Lora';
  font-size: 11px;
  line-height: 1.1;
}

.janr {
  border-top: solid 1px var(--darkbrown);
  font-family: 'Lora';
  font-size: 14px;
  margin: 4px !important;
  width: 600px;
  text-align: center;
}

.navi a, .infor span {
  display: inline-block;
  width: 70px;
  height: 15px;
  background: var(--darkbrown);
  color: var(--lightolive)!important;
  border: solid 1px var(--brown);
  text-decoration: none;
  font-family: 'Lora';
  font-size: 11px;
  text-align: center;
  vertical-align: middle;
  transition: all 0.3s linear 0s;
}

.navi a:hover {
  transition: all 0.3s linear 0s;
  background: var(--green);
}

.infor span {
    margin: 2px;
    height: 12px !important; 
}

/**футер**/
.foot {
  position: absolute;
  width: 980px;
  height: 55px;
  bottom: 20px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  align-content: flex-start;
}

.need img {
  width: 30px;
  height: 30px;
  border: solid 1px var(--brown) !important;
  opacity: 0.5;
  transition: all 0.3s linear 0s;
}

.need img:hover {
  opacity: 1;
  transition: all 0.3s linear 0s;
}

/**оформление всплывающих подсказок**/
#tooltip {
  position: absolute;
  background: var(--darkbrown);
  z-index: 999;
  max-width: 180px;
  border: none;
  box-shadow: 0 0 0px 1px rgba(0,0,0,.05) inset;
  font-family: Lora;
  font-size: 11px;
  display: none;
  color: var(--lightolive);
  text-align: center;
  padding: 5px;
  letter-spacing: 1px;
  font-weight: bolder;
}

/**Ссылка на авторский пост в цитате**/
.qc-post-link a {
  background: var(--green);
  border: solid 1px var(--lightolive); 
}

/**лз**/
.pa-fld1 {
  font-size: 11px;
  font-family: lora;
  line-height: 1.1;
  text-align: justify;
  display: block;
  width: 180px;
  background: var(--lightolive);
  border: solid 1px var(--brown);
  color: var(--black0);
  padding: 5px 5px 15px 5px !important;
}

.pa-fld2 {
  width: 43px;
  height: 48px;
  float: right;
  position: relative;
  top: -25px;
  right: 25px;
  margin-bottom: -15px !important;
}

.pa-fld2 img {transition: all 0.3s linear 0s;}

.pa-fld2 img:hover {
  -webkit-filter: drop-shadow(0px 1px 7px #5c7968);
  filter: drop-shadow(0px 1px 7px #5c7968);
  transition: all 0.3s linear 0s;
}

.pa-fld3 {
  position: relative;
  bottom: 10px;
  background: radial-gradient(circle, rgba(84,104,94,1) 0%, rgba(34,36,37,1) 100%);
  text-shadow: 1px 1px 1px black;
  border: solid 1px var(--brown);
  width: 150px;
  text-align: center;
}

.ank a {
 color: var(--lightolive) !important;
 transition: all 0.3s linear 0s;
}

#pun-profile .ank {
  text-shadow: 1px 1px 1px black;
  background: var(--darkbrown);
}

.ank a:hover {
 color: var(--green) !important;
 transition: all 0.3s linear 0s;
}

/**кнопки вверх вниз**/
.go-up,.go-down {
  display: none;
  position: fixed;
  margin-left: 1040px !important;
  z-index: 9999;
  cursor: pointer;
  opacity: 1;
  margin-bottom: 40px !important;
  width: 24px;
  height: 48px;
  border: solid 1px var(--brown);
  background: no-repeat top center/cover;
}

.go-up {
  bottom: 465px; 
}

.go-down {
  bottom: 410px;
}

.go-down:hover,.go-up:hover {
  opacity:1;
}

/**полоска увеличения шрифта**/
.FNTslider {
  position: relative;
  z-index:1000;
  background: var(--lightolive);
  width: 110px;
  height: 3px;
  margin: 4px 40px !important;
  border: solid 1px var(--darkbrown);
  float: right;
  margin-right: 7%;
}

.FNTslider .before {
  height: 3px;
  border: solid 1px transparent;
  border-right: none 0;
  position: absolute;
  background: var(--beige);
  margin-top: -1px;
}

.FNTslider .thumb {
  width: 7px;
  height: 11px;
  position: relative;
  top: -4px;
  background: var(--green);
  cursor: pointer;
}

/**оформление акций**/
.acttabl {
display: flex;
flex-wrap: wrap;
flex-direction: row;
justify-content: center;
}


.block1 {
  display: block;
  position: relative;
  overflow: hidden;
  margin: 5px !important;
  width: 350px;
  height: 170px;
}

.minitext {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: space-between;
  justify-content: center;
  z-index: 1;
  width: 350px;
  height: 170px;
}

.minitext1 {
  width: 250px;
  font-family: Lora;
  color: #ccd0c4;
  font-size: 18px;
  border-bottom: solid 1px #ccd0c4;
  text-align: center;
}

.minitext2 {
  font-family: Lora;
  color: #ccd0c4;
  font-size: 12px;
}

.block1 img {
  display: block;
  position: relative;
  width: 350px;
  height: 170px;
  border: solid 7px #443f30;
  box-sizing: border-box;
  background: var(--darkbrown);
}

.blocktext {
  display: block;
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  width: 350px;
  height: 170px;
  padding: 5px;
  overflow-y: scroll;
  border: solid 7px #443f30;
  background-color: #9da196;
  opacity: 0;
  transition: all 0.7s ease-in-out;
  font-family: lora;
  box-sizing: border-box;
}

.block1:hover .blocktext {
  opacity: 1;
  transition: all 0.7s ease-in-out;
}

.blocktext h3, .blocktext p {
  text-align: justify;
  font-size: 12px;
  line-height: 1.2 !important;
}
