/* Основной фон */

html body {
background: url(https://forumstatic.ru/files/001b/86/d5/34182.png) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}

.punbb .pa-fld1 {
    font-size: 12px;
    display: block;
    width: 180px;
    background-color: #e1edf1;
    padding: 8px;
}

hr {
    border: none;
    border-top: 1px solid #ace5ef;
}

/* шапка */
#pun-title.section {
        background: url(http://forumstatic.ru/files/0015/bd/61/48969.png) center top no-repeat scroll transparent;
    width: 1008px;
    height: 234px;
    top: -180px;
    margin-left: -6px;
    position: relative;
}

/* Название форума */
#pun-title h1 {
    display: none;
}

/* футер */
div#pun_wrap {
    padding-bottom: 20px;
}

/* переадресация */
#pun-redirect {
    background: #ffffff;
    position  : fixed;
    text-align: center;
    font-size : 11px;
}

#pun-redirect h1 {
    width : 450px;
    margin: 50px auto auto;
}

#pun-redirect h1 span{
    display: block;
    background: none !important;
    font-size : 12px;
    text-align: center;
    height: max-content;
    padding-top: 5px !important;
   
}

#pun-redirect div.info {
    width     : 450px;
    margin    : -10px auto auto;
    text-align: center;
    padding   : 10px;
    background-color: #f5f9fa!important;
    border: 1px solid #ace5ef;
}

/* категории */
h2, h1 {
    background: url(http://forumstatic.ru/files/0015/bd/61/46517.png) no-repeat center right;
    text-align: right;
    font-family: 'BauhausC';
}

h2 span, h1 span {
    display: block;
    color: rgb(144 215 248);
    letter-spacing: .07em;
    text-shadow: 1px 1px 1px rgb(255 255 255);
    font-size: 25px;
    overflow: hidden;
    padding: 0px 10px 29px 0;
}

/* форумы */
.punbb .main .tcl .intd {
    font-family: PhonkSans; 
    font-size: 10px; 
    color: #9db3c4;
}

/* Иконки */
Div.icon {
    background-image : url(http://forumstatic.ru/files/0015/bd/61/48404.png);
    background-repeat: no-repeat;
    filter: opacity(45%);
}

TR.inew Div.icon {
    background-image : url(http://forumstatic.ru/files/0015/bd/61/48404.png);
    background-repeat: no-repeat;
    filter: opacity(95%);
}

/* быстрые ссылки */

.category div.tclcon .forumLink a {
    position: relative;
    display: inline-block;
    margin: 5px 0 7px 0;
    background-color: #ffffff;
    padding: 3px;
    border: 1px solid #ace5ef;
    text-decoration: none;
    font-weight: 100;
    font-family: sans-serif;
    font-size: 12px;
    color: #8fbbd1;
}



/* Профиль */
.punbb .post .post-author, #profile-left {
    width: 208px;
    margin: 15px 10px 0px;
    background-color: #f5f9fa;
    border: 1px solid #ace5ef;
    color: #788f9f;
    padding-bottom: 10px;
}


.punbb .post-author ul{
    text-align: center;
}

.pa-author a, .pa-author strong {
    color: #788f9f !important;
    font-size: 12px;
    font-weight: 900;
}

#profile-left #profile-name {
    padding-top: 5px;
    text-align: center;
}

.punbb .post-author li.pa-author {
    margin-top: 12px;
    text-align: center;
}

.punbb .pa-avatar, #profile-left #pa-avatar {
    padding: 5px 0 4px;
}

.pa-avatar img, #profile-left #pa-avatar img {
    max-width: 190px;
}

#viewprofile #pa-positive {
    display: none;
}

/* статус */
.pa-title {
    background-color: #e9f3f6e6;
    font-size: 11px; 
    margin: 4px 8px !important;
    padding: 4px 0 !important;
}

/* дополнительное первое поле */
.punbb .pa-fld1 {
    font-size: 12px;
    display: block;
    background-color: #e9f3f6e6;
    padding: 8px;
}

.punbb .pa-fld1 a {
    font-size: 12px;
    font-family: 'Gardens', serif;
    color: #2697b3;
}

.punbb .pa-time-visit, .punbb .pa-ip, .punbb .pa-reg {
    display: none;
}

/* дополнительно для экрана профиля */

#viewprofile .container {
    display: grid;
    position: relative;
    grid-template-rows: auto;
    grid-template-columns: auto auto auto;
    grid-template-areas: "profile headings info";
    align-items: start;
    justify-content: start;
    justify-items: start;
    
}

#viewprofile #profile-left {grid-area: profile;}
#viewprofile #profile-right #pa-register-date span,
#viewprofile #profile-right #pa-invites span,
#viewprofile #profile-right #pa-respect span,
#viewprofile #profile-right #pa-time-visit span,
#viewprofile #profile-right #pa-fld1 span,
#viewprofile #profile-right #pa-email span,
#viewprofile #profile-right #pa-posts span,
#viewprofile #profile-right #pa-last-post span,
#viewprofile #profile-right #pa-last-visit span,
#viewprofile #profile-right #pa-gifts span
{
    grid-area: headings;
}
#viewprofile #profile-right #pa-register-date strong, 
#viewprofile #profile-right #pa-invites strong,
#viewprofile #profile-right #pa-respect strong,
#viewprofile #profile-right #pa-time-visit strong, 
#viewprofile #profile-right #pa-fld1 strong,
#viewprofile #profile-right #pa-email strong,
#viewprofile #profile-right #pa-posts strong,
#viewprofile #profile-right #pa-last-post strong,
#viewprofile #profile-right #pa-last-visit strong,
#viewprofile #profile-right #pa-gifts strong
{
    grid-area: info;
    background-color: #f5f9fa;
    border-left: 1px solid #ace5ef;
    border-right: 1px solid #ace5ef;
    margin: 0 50px 0 -50px;
}

#viewprofile #profile-right #pa-register-date strong {
    border-top: 1px solid #ace5ef;
}

#viewprofile #profile-right #pa-last-visit strong {
    border-bottom: 1px solid #ace5ef;
}

#profile-gifts {
  margin-left: 30%;
}


#viewprofile #profile-left {
  display: block;
  margin-left: 35px;
  width: 220px;
  background-color: #f5f9fa;
  border: 1px solid #ace5ef;
  color: #788f9f;
  text-align: center;
}

#viewprofile #profile-title strong {
    font-family: PhonkSans; 
    font-size: 8px; 
    color: #9db3c4;
    background-color: #e1edf1;
    margin: 4px 10px !important;
    padding: 4px 0 !important;
}

/* кнопка редактирования профиля */
#viewprofile #profile-left #pa-edit strong a {
    background-color: #ffffff;
    padding: 5px;
    border: 1px solid #ace5ef;
    text-decoration: none;
    font-weight: 100;
    font-family: sans-serif;
    font-size: 14px;
    color: #8fbbd1;
}

#viewprofile #profile-left #pa-edit {
    text-align:center;
    padding: 5px 5px 10px 5px;
}

.punbb .post-author {
display: inline-block;
vertical-align: top;
}

#profile .container {
    padding-left: 8px;
}

#viewprofile td {
    font-size: 12px;
}

/* Кнопка поделиться */
.topic a.sharelink {
    display: none;
}


/* Регулировка размера шрифта в постах */
.FNTslider {
    position: relative;
    z-index:1000;
    width: 80px;
    height: 5px;
    margin: 2px 10px !important;
    float: right;
    background: #ffffff;
    border: 1px solid #ace5ef;
}
.FNTslider .before {
    height: 3px;
    position: absolute;
    background: #c4d7e0;
}
.FNTslider .thumb {
    width: 5px;
    height: 11px;
    position: relative;
    top: -3px;
    cursor: pointer;
    background: #74c1f0;
    margin: 0;
}

/* Значок для отступов в форме ответа */
#button-indent {
background:url(http://s7.uploads.ru/t/mnkgq.png) no-repeat center 6px!important;
}

/* быстрый поиск по теме */
#s-block {
    display: none;
}

/* модальные окна */
.pun-modal .modal-inner {
    background: #f7f7f7;
}


/* Прокрутка */
::-webkit-scrollbar {
    width: 8px;
    height: 6px;
    background-color: #ffffff;
}  
::-webkit-scrollbar-thumb {
    background-color: #4acde0;
}

/* Стрелки */
#upDown {
  position:absolute; 
  right: -17px; 
}
.go-up, .go-down {
  cursor: pointer; 
  position: fixed; 
  z-index: 999;
  font-size: 50px;
  
color: #fff;}
.go-up {
  bottom: calc(30% + 70px);
  opacity: 80%;
}
.go-down {
  bottom: 30%;
  opacity: 80%;
}
.go-down:hover, .go-up:hover { opacity:1; }


/* Счетчик символов */
small#plng {
    display: block;
    position: absolute;
    margin: 4px 0px 0px -268px;
    padding: 6px;
}

/* Ссылки в описаниях форумов */
table .tcl .nav {
    text-align: center;
    width: max-content;
    max-width: 100%;
    background-color: #e7e7e7;
    outline: 1px dashed #caa362;
    outline-offset: -5px;
    padding: 8px;
    color: #a0a0a0;
    text-shadow: 2px 1px white;
    font-size: 8px;
}

table .tcl .nav a {
    font-variant: small-caps;
    letter-spacing: 1px;
    font-size: 10px;
}

/* закладки */
#BookmCntToggle {
    color: #37afea !important;
}


#MyBookmarks {
    max-width: 285px !important;
    max-height: 300px !important;
    margin-top: 5% !important;
    background-color: #ffffff !important;
    left: 0 !important;
    right: auto !important;
}

#MyBookmarks #bm2 {
    top: -30px !important;
    right: 0px !important;
}

#MyBookmarks h2 {
    padding: 0 !important;
    margin-top: 2px !important;
    background: none;
}

/* окошки репутации и т.п. */
#pun-report .inner, #pun-reputation .inner, #pun-admin-award-form .inner {
    width: 50% !important;
    background-color: #ffffff !important;
}


/* количество непрочитанных тем у иконки */
.icon[data-new-topics]:before, .subforums span[data-new-topics]:before {
    background-color: #000 !important;
}

/* счетчик кол-ва новых сообщений */
.jGrowl-message h2 span {font-size: 12px;text-align: center;text-shadow: none;color: #fff;padding: 0;}
.jGrowl-message h2 {background: none;}

span.num_msg {background: #00a6ff;}
span.num_msg:before {background: #00a6ff;}



/* User-панель */
#pun-status {
    font-size: 12px;
    position: absolute;
    top: -55px;
    right: -251px;
    height: 70px;
    width: 240px;
    background-color: #fff;
}

#pun-status p.container {
    margin: 5px 0 0 60px;
    width: 170px;
    padding: 5px;
}

#pun-status span {
  white-space: nowrap;
      color: #115870b5;
}

#pun-status p span.item2 strong{
  display: block;
}

#pun-status p span.item2 a:nth-child(2) {
    display: block;
}

#pun-status p span.item3 {
    position:absolute !important;
    margin: -85px 0px 0px -61px;
}
#pun-status p span.item3 {
    font-size: 10px;
    color: #d5edfb;
}

#pun-status p span.item3 a {
    font-size: 9px;
    color: #d5edfb;
    display: block;
}

/* улучшить аккаунт */
#pun-status p span.item4 {
     display: none;
  } 

/* вывод аватарки */
div#u-panel {
    display: block;
    position: absolute;
    top: -47px;
    left: 1014px;
    z-index: 5;
}

div#u-panel #option img {
    width: 55px;
}


/* оценка постаа при полной ширине (p5 - номер поста из url) */
#p2 .post-body .post-box .post-rating,
#p3 .post-body .post-box .post-rating,
#p4 .post-body .post-box .post-rating,
#p5 .post-body .post-box .post-rating {
  margin-right: 20px;
}





/* объявление */

.notice {
    position: absolute;
    width: 100%;
    height: 145px;
    top: -75px;
    z-index: 1;
}

.notice ::-webkit-scrollbar {
  width: 3px;
}

.notice #king {
    margin: 5px;
    display: none;
}

.notice #monthPost {
    margin: 10px 0 0 25px;
    width: 180px;
    height: 75px;
    overflow-x: auto;
    color: #ffffff;
    font-family: Century Gothic, PIXI, arial;
    font-size: 10px;
    text-align: justify;
    padding: 2px;   
}

.notice #quoteTop {
    background-color: #00000015;
    overflow-y: auto;
    margin: 0px 0 0 230px;
    width: 150px;
    height: 40px;
    color: #ffffff;
    font-family: Century Gothic, PIXI, arial;
    font-size: 10px;
    text-align: justify;
    padding: 2px;
}

.notice #activists {margin: -110px 0 0 245px;}

.notice #activists img, .notice #couple img {
    filter: opacity(65%);
}

.notice #activists img:hover, .notice #couple img:hover  {
    filter: opacity(100%);
}

.notice #couple {margin: 30px 0 0 45px;}

.notice #news {
    background-color: #00000015;
    overflow-y: auto;
    margin: -120px 0 0 680px;
    width: 270px;
    height: 85px;
    color: #ffffff;
    font-family: Century Gothic, PIXI, arial;
    font-size: 10px;
    text-align: justify;
    padding: 2px;
}


.notice nav {
  position: absolute;
  width: 150px;
  right: 0;
  bottom: 15px;
}


.notice nav ul {
  background: #ffffff;
  font-family: PhonkSans;
  padding: 1px 0;
  text-align: center;
  color: #57cce7;}

.notice nav .submenu {
  position: absolute;
  width: 100%;
  z-index: 10;
  -webkit-transform: scaleY(0);
  -ms-transform: scaleY(0);
  transform: scaleY(0);
  -webkit-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  transform-origin: 0 0;
  background: #ffffff;
}
.notice nav ul li:hover .submenu {
  -webkit-transform: scaleY(1);
  -ms-transform: scaleY(1);
  transform: scaleY(1);
}

.submenu li {
  margin-top: 10px;
}




/* гостевая */
body div.guest {
    background: #f5f9fa;
    width: 975px;
    height: 350px;
    font: normal 8px/12px 'PhonkSans';
    border: 1px solid #ade5ef;}


.hello span {
    display: block;
    margin-bottom: 15px
}

.post-content table.guestinfo {
  margin: 10px 0 0 300px !important;
  line-height: 15px;
}

.post-content table.guestinfo tbody tr:nth-child(2) td.hello {
    padding: 40px 20px 0 10px !important;
}

.guest .guestblock {
  position: absolute;
  top: 30px;
  left: 5px;
  width: 25%;
}

.guest .guestblock:nth-child(3) {
    top: 180px;
}

.guest .guestblock span {
  display: block;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 8px;}
  

.guest .guestblock > div {
  height: 120px;
  overflow-y: scroll;
  padding-right: 5px;
  background-color: #fff;
  font-family: 'Gardens';
  font-size: 11px;
  border: 1px solid #ade5ef;
}

.guest .guestblock > div a {
  font-family: 'Gardens';
  font-size: 11px;
}



/* гостевая-картинка */
div.img {
    display: block;
    position: relative;
    background: url('https://forumupload.ru/uploads/001b/86/d5/2/714881.jpg') center center no-repeat transparent;
    width: 350px;
    height: 100px;
    
}





/* Анкета */
#anket {
    background: #f5f9fa;
    width: 950px;
    margin-top: 25px !IMPORTANT;
    border: 1px solid #ace5ef;
    text-align: center;
}


#anket #name {
    padding: 15px 0;
}


#anket #name a {
    text-align: center;
    font-size: 15px;
    font-family: 'PhonkSans';
    font-weight: bold;
    color: #4aa4d0;
}

#anket #look {
    color: #969fa7;
    text-align: center;
    padding: 15px;
    font-size: 15px;
}

#anket #img {
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 100px;
    z-index: 8;
    position: relative;
    border: 1px solid #ace5ef;
}

#anket #img img {
    border-radius: 100px;
    max-height: 150px;
}

#anket #age, #anket  #species, #anket  #sex, #anket #job, #anket #fraction, #anket #orient {
  position: absolute;
  background: #ffffff;
  border: 1px solid #ace5ef;
  width: 200px;
  padding: 5px;
  text-align: center;
  color: #66afcc;
  font-weight: bold;
  font-family: bellota text;
}

#anket #age {
    margin-top: -120px !IMPORTANT;
    margin-left: 245px !IMPORTANT;
}

#anket  #species {
    margin-top: -83px;
    margin-left: 232px;
}

#anket  #sex  { 
    margin-top: -44px;
    margin-left: 260px; 
}

#anket #orient {
    margin-top: -120px;
    margin-left: 495px;
}

#anket #job {
    margin-top: -83px;
    margin-left: 545px;
    width: auto;
    min-width: 180px;
}


#anket #fraction { 
    margin-top: -44px;
    margin-left: 495px; 
}

#anket #bio {
    padding: 15px;
    text-align: justify;
    margin-top: 12px;
}

#anket #bio p {
    text-align: center;
    display: block;
    font-size: 18px;
    font-family: 'Bellota Text';
    font-weight: 500;
    color: #4aa4d0;
    text-transform: uppercase;
}

#anket #bio p:nth-child(2) {
    margin-top: 30px;
}




/* ВНЕШНОСТИ */
.post-content .list {
    background: #f5f9fa;
    width: 950px;
    margin: 50px 0 0 15px !IMPORTANT;
    border: 1px solid #ace5ef;
    text-align: center;
}

.post-content .list .head {
    background-color: #fff;
    width: 300px;
    padding: 5px;
    border: 1px solid #ace5ef;
    margin-top: -15px;
    font-size: 16px;
    color: #50abca;
    font-family: 'PhonkSans';
    
}

.post-content .list .title {
    width: 90%;
    margin-top: 20px;
    padding: 3px;
    color: #81a8b6;
    font-size: 16px;
    text-shadow: 1px 1px #ffffff;
}

.post-content .list .f, .post-content .list .m {
    display: inline-block;
    height: 120px;
    width: 45%;
    overflow-y: scroll;
    background-color: #fff;
    border: 1px solid #ade5ef;
    margin: 10px;
    padding: 6px 0 3px 10px;
    text-align: justify;
}



/* РОЛИ */
*{box-sizing:border-box} 

.post-content .tabs { 
  position: relative; 
  height: 800px;
  margin: 30px 0 0 10px !IMPORTANT;  
} 

.post-content section { 
  display: none;  
  padding: 10px;
  top: 0; 
  left: 50px;
} 


.post-content input { 
  display: none; 
} 

.post-content .tabs label { 
  display: block; 
  position: absolute;
  left: -25px;
  height: 150px;
  padding: 10px; 
  color: #8fbbd1; 
  background: #ffffff; 
  border: 1px solid #ace5ef;
  cursor: pointer; 
  writing-mode: vertical-rl;
  transform: scale(-1, -1);
  font: normal 10px/12px 'PhonkSans';
} 

.post-content .tabs label:nth-child(4) {top: 155px;}
.post-content .tabs label:nth-child(6) {top: 310px;}
.post-content .tabs label:nth-child(8) {top: 465px;}

.post-content input:checked + label { 
  color: #53accb; 
  background: #eaf3f7; 
} 
.post-content #tab1:checked ~ #content1, #tab2:checked ~ #content2, #tab3:checked ~ #content3, #tab4:checked ~ #content4 { 
    display: block;
    height: 800px;
    overflow-y: scroll;
} 
.post-content section { 
  animation: scale 0.7s ease-in-out; 
} 
@keyframes scale { 
  0% { 
  transform: scale(0.9); 
  opacity: 0; 
  } 
  50% { 
  transform: scale(1.005); 
  opacity: 0.5; 
  } 
  100% { 
  transform: scale(1); 
  opacity: 1; 
  } 
}

.post-content .list inline-block {
    display: inline-block;
    width: 45%;
    margin: 10px;
}

.post-content .list .pers {
    height: 175px;
    overflow-y: scroll;
    background-color: #fff;
    border: 1px solid #ade5ef;
    margin: 10px;
    padding: 10px 0 0 10px;
}






