/* Некоторые цвета в админке
-------------------------------------------------------------*/
.pa-title {
color: #5f6e82;
}

#pun-admain .adformal li {
    padding-left: 4px;
    list-style-type: square;
    list-style-position: inside;
    line-height: 1.5;
    margin: 0;
color: #000;
}
#pun-admain .adinput em {
    display: block;
    padding-top: 2px;
    padding-bottom: 2px;
    line-height: 140%;
    color: #000;
}
#pun-admain .adlabel {
    width: 16em;
    padding-left: 1em;
    padding-right: 1em;
    color: #000;
}

#pun-admain .adlabel, #pun-admain .adinput, #pun-admain fieldset dt, #pun-admain fieldset dd {
    line-height: 1.8em;
    color: #000;
}
#pun-admain .adformal p.adinfofield {
    background: transparent;
    border-left: none;
    position: static;
    padding: 0 0 8px 0;
    color: #000;
    font-family: Arial;
    font-size: 14px;
}

#pun-admain .adcontainer .tcl {
    border-left-style: none;
    border-left-width: 0;
    color: #000;
}


#pun-admain .adcontainer td {
    border-style: solid none none solid;
    border-width: 1px 0 0 1px;
    padding: 0.8em 1em;
    border-color: #e2dae8;
    color: #000;
    font-family: Arial;
    font-size: 14px;
}
/* ПАНЕЛЬ массовые e-mail рассылки и ксс-------------------------------------------------------------*/

#pun-admain fieldset p {
    border-left-style: solid;
    border-left-width: 18em;
    margin-bottom: 3px;
    padding: 6px 0;
    position: relative;
    border-color: #ebe0ed;
    background-color: #ebe0ed;
}

#pun-admain fieldset {
    border-style: solid;
    border-width: 1px;
    padding: 0 18px 0 18px;
    margin: 0 0 1em 0;
    border-color: #ccc0;
}

/* ЦВЕТ текста у форумов на главной странице
-------------------------------------------------------------*/
.punbb td div.tclcon {
    margin-left: 100px;
     font-family: Arial;
    font-size: 12px;
}



/* ЦВЕТ текста в профиле
-------------------------------------------------------------*/
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
    padding: 0;
    list-style: none;
    color: #0a1f26;
}

/* Украшение профиля
-------------------------------------------------------------*/

#post-form legend, #post-form #post .formsubmit, #pun-edit legend{text-align:center!important;}  
.punbb #profile, #pun-search #pun-main .formal #punbbsearch, .formal #register {
background: url("http://forumstatic.ru/files/0019/51/e9/74279.jpg") no-repeat center top;
}

.Lover {
    width: 300px;
    height: 200px;
    padding: 30px;
    background: url(http://forumstatic.ru/files/0019/51/e9/86949.png);
    margin-top: -20px;
    line-height: 100%;
    font-family: Arial;
    font-size: 13px;
    text-shadow: #cecece 1px 1px 0px;
}



.punbb .section .container, .punbb .post-body, .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-color: #ad646400;
}

/* Статус */

#pun-status .container {
    padding: 0.8em 1em 1em 1em;
}

#pun-status, #pun-status .container {
    border-bottom: none;
    margin-bottom: 0;
}



.cool1, .cool2, .cool3 {
    background-color: #4D5D64 !important;
    color: #FFFFFF;
    text-decoration: none !important;
    text-shadow: 0 0 20px #0094FF;
}
.lastedit, li#navawards, .closedatafield {
    display: none;
}
.cooltext {
    color: #fff;
}
.post-content td { 
border-width: 0px !important; 
border-style: solid !important; 
padding: 0.4em 0.5em !important; 
overflow: hidden;
}

/* Кнопка входа
 -------------------------------------------------------------*/

form#form_login {
    margin-left: 700px;
    background-color: #8C76A7;
    width: 350px;
    height: 170px;
    font-family: Arial;
    color: #483662;
}

span.byuser {
    font-family: Arial;
    font-size: 13px;
}
td.tcr span {
    font-size: 12px;
    font-family: Arial;
}



.icon[data-new-topics]:before, .subforums span[data-new-topics]:before {
    background: #7E6A94;
    border-radius: 8px;
    color: #fff;
    content: attr(data-new-topics);
    display: inline-block;
    font-size: .8em;
    font-weight: 700;
    height: 12px;
    line-height: 12px;
    margin: -6px;
    min-width: 12px;
    padding: 2px;
    position: absolute;
    text-align: center;
}


#image-area, #video-area, #color-area, #smilies-area, #keyboard-area, #addition-area
{
background-color: #e9e3ea;
border: 1px solid #7b6692;
}

/* Профиль
-------------------------------------------------------------*/
#profile, .formal, #profile1, #profile2, #profile3, #profile4, #profile5, #profile6, #profile7,  #profile8, #profile9, #profile10,
#profile11, #profile12, #profile13, #profile14 {
font-family: Arial;
    font-size: 13px;
}



/* Настройки по стандарту */
/* CS1 Background and text colours
-------------------------------------------------------------*/

/* CS1.1 */
.punbb .section .container {
 background-color: #7d747400;
    color: #ffffff;
}

.punbb .post-body, .punbb .post-links, .punbb td.tc2, 
.punbb .formal fieldset .post-box, #viewprofile li strong, #viewprofile li div, #setmods dd,
.punbb .info-box, .punbb #pun-main .info-box .legend {
 background-color: #7d747400;
    color: #000000;
}

.punbb td.tc3 {
    background-color: #7d747400;
    color: #908282;
    border: none;
}

/* CS1.2 */
.punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer {
color: ##ffffff00;

  }

/* CS1.3 */
#pun-stats h2, .punbb .main h1,  #pun-debug h2, .punbb-admin #pun-admain h2 {
    background-color: #8894a3;
    background-position: center center;
    font-family: 'Georgia', sans-serif;
    font-style: normal;
    height: 26px;
    line-height: 26px;
    text-align: center;
    letter-spacing: 2px;
}


/* CS1.4 */
#pun-title, #pun-title .container, .punbb .modmenu .container {
  color: #333;
  }

/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span {
 background-color: #1d1c1c00;
 color: #0a1f26;
  }

/* CS1.6 */
  .punbb th, #setmods dl  {
      background-color: #dedfdf;
    color: #101010;  }



/* CS1.7 */
 .punbb .code-box{
  background-color: #c8b9dc;
  color: #333;
  }

/* CS1.8 */


/* CS2 Border colours
-------------------------------------------------------------*/

/* CS2.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {

  }

/* CS2.4 */
.punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body,
.punbb .post h3 span, .post-links ul, .post-links, .usertable table {
  border-color: #cfd7e2;
  }

/* CS2.5 */
.punbb th {
border-color: #dedfdf;
  }

/* CS2.6 */
.punbb .quote-box, .punbb .code-box {
    background-image: url(https://i.ibb.co/8YGdDBp/image.jpg);
    padding: 1em;
    color: #22202e;
}

#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
  border-color: #ccc
  }

 #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
  border-color: #c5b6c5
  }

.punbb .divider {
  border-color: #ccc #fff #fff #fff
  }

.punbb .formal fieldset .post-box, .punbb .info-box {
  border: 1px solid #dedfdf
  }

/* CS2.6 */
.punbb .quote-box, .punbb .code-box {
  border-color: #ccc #fff #fff #ccc;
  }


.punbb .divider {
  border-color: #ccc #fff #fff #fff
  }

.punbb .formal fieldset .post-box, .punbb .info-box {
  border: 1px solid #dedfdf
  }




/* CS3 Links
-------------------------------------------------------------*/

/* CS3.1 */


.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
  color: #333
  }

/* CS3.2 */
.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: #B42000;
  }




/* CS4 Post status icons
 -------------------------------------------------------------*/

div.icon {
        background: url("https://i.ibb.co/y6frxyP/1.png") no-repeat center;
        margin-left: auto;
}

tr.iclosed div.icon {
        background: url("http://forumstatic.ru/files/001a/df/4d/77437.png") no-repeat center;
        
}
tr.iredirect div.icon {
        background: url("http://forumstatic.ru/files/0019/51/e9/24486.png") no-repeat center;
        
}
tr.isticky div.icon {
        background: url("http://forumstatic.ru/files/001a/df/4d/16334.png") no-repeat center;
        
}




#animation {
    height: 107px;
    position: absolute;
    width: 187px;
    margin-top: 222px;
    margin-left: 239px;
}





.close:hover {
    background-color: rgba(255, 69, 0, 0.8);
}


.punbb .post-rating p.container, .punbb .post-vote p.container {
    background-image: none!important;
}






/* Списки для постов
 -------------------------------------------------------------*/ 
.rectangle {
counter-reset: li; 
list-style: none; 
font: 14px "Trebuchet MS", "Lucida Sans";
padding: 0;
text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.rectangle a {
position: relative;
display: block;
padding: .4em .4em .4em .8em;
margin: .5em 0 .5em 2.5em;
background: #D3D4DA;
color: #444;
text-decoration: none;
transition: all .3s ease-out;
}
.rectangle a:hover {background: #DCDDE1;}       
.rectangle a:before {
content: counter(li);
counter-increment: li;
position: absolute;
left: -2.5em;
top: 50%;
margin-top: -1em;
background: #aea7b7;
height: 2em;
width: 2em;
line-height: 2em;
text-align: center;
font-weight: bold;
}
.rectangle a:after {
position: absolute;
content: "";
border: .5em solid transparent;
left: -1em;
top: 50%;
margin-top: -.5em;
transition: all .3s ease-out;
}
.rectangle a:hover:after {
left: -.5em;
border-left-color: #aea7b7;
}


/* Рамка для основных тем
 -------------------------------------------------------------*/ 

.caption-border {
  width: 400px;
  margin: 50px auto 0;
  border: 5px solid #aea7b7;
  background: #dad4e2;
  padding: 10px;
}
.caption-border img {
  max-width: 100%;
  height: auto;
  display: block;
}
.caption-border figcaption {
  padding: 10px;
  color: #dad4e2;
  background: #aea7b7;
  text-align: center;
  text-transform: uppercase;
}


/* Другая рамка
 -------------------------------------------------------------*/ 

.captions-border {
  width: 250px;
  margin: 50px auto 0;
  border: 5px solid #aea7b7;
  background: #dad4e2;
  padding: 10px;
}
.captions-border img {
  max-width: 100%;
  height: auto;
  display: block;
}
.captions-border figcaption {
  padding: 10px;
  color: #dad4e2;
  background: #aea7b7;
  text-align: center;
  text-transform: uppercase;
}




/* Заголовки для тем
 -------------------------------------------------------------*/ 
.d11 h3 {
  display: table;
  width: auto;
  margin: 0 auto;
  padding: 15px;
  letter-spacing: 2px;
  background: #cbdcea;
  border: 2px dashed white;
  color: white;
  box-shadow: 0 0 0 4px #cbdcea;
}

  
    p a {
    color: $color;
    display: inline-block;
    text-decoration: none;
    overflow: hidden;
    vertical-align: top;
    -webkit-perspective: 600px;
    -moz-perspective: 600px;
    -ms-perspective: 600px;
    perspective: 600px;
    -webkit-perspective-origin: 50% 50%;
    -moz-perspective-origin: 50% 50%;
    -ms-perspective-origin: 50% 50%;
    perspective-origin: 50% 50%;
    &:hover span {
      background: $color;
      -webkit-transform: translate3d( 0px, 0px, -30px ) rotateX( 90deg );
      -moz-transform: translate3d( 0px, 0px, -30px ) rotateX( 90deg );
      -ms-transform: translate3d( 0px, 0px, -30px ) rotateX( 90deg );
      transform: translate3d( 0px, 0px, -30px ) rotateX( 90deg );
    }

    span {
      display: block;
      position: relative;
      padding: 0 3px;
      -webkit-transition: all $transition-time ease;
      -moz-transition: all $transition-time ease;
      -ms-transition: all $transition-time ease;
      transition: all $transition-time ease;
      -webkit-transform-origin: 50% 0%;
      -moz-transform-origin: 50% 0%;
      -ms-transform-origin: 50% 0%;
      transform-origin: 50% 0%;
      -webkit-transform-style: preserve-3d;
      -moz-transform-style: preserve-3d;
      -ms-transform-style: preserve-3d;
      transform-style: preserve-3d;
      &:after {
        content: attr(data-title);
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        padding: 0 3px;
        color: #fff;
        background: $color;
        -webkit-transform-origin: 50% 0%;
        -moz-transform-origin: 50% 0%;
        -ms-transform-origin: 50% 0%;
        transform-origin: 50% 0%;
        -webkit-transform: translate3d( 0px, 105%, 0px ) rotateX( -90deg );
        -moz-transform: translate3d( 0px, 105%, 0px ) rotateX( -90deg );
        -ms-transform: translate3d( 0px, 105%, 0px ) rotateX( -90deg );
        transform: translate3d( 0px, 105%, 0px ) rotateX( -90deg );
      }
    }
}

/* Заголовки для тем
 -------------------------------------------------------------*/ 
.d11 h3 {
  display: table;
  width: auto;
  margin: 0 auto;
  padding: 15px;
  letter-spacing: 2px;
  background: #cbdcea;
  border: 2px dashed white;
  color: white;
  box-shadow: 0 0 0 4px #cbdcea;
}

 
/*оформление эпизодов*/

.episode {
    display: flex;
    flex-direction: column;
    margin: auto;
    width: 600px;
    background-color: #d4d4d4;
    height: auto;
    border: 3px solid #001922;
    height: auto;
margin-left: 30px;
}

.episodetitle {
    margin: auto;
    font-family: Oswald;
    font-size: 20px;
    color: #dfdfdf;
    background-color: #001922;
    width: 500px;
    margin-top: 5px;
    text-align: center;
    height: auto;
    padding: 5px;
}


.episodepicture {
    margin: auto;
    height: auto;
    margin-top: 15px;
}

.episodenamegame {
    margin: auto;
    font-family: Oswald;
    color: #6e6c6c;
    font-size: 14px;
}


.episodetime {
    margin: auto;
    font-family: Arial;
    font-size: 12px;
}
.episodedescription {
    padding: 15px;
    font-family: Arial;
    font-size: 14px;
    text-align: justify;
    background-color: #b2bcc0;
    height: auto;
}


  .navi {
   list-style: none; /* Отключение отображения маркеров. */
   width: 120px;  /* Ширина меню. */
}
.navi li {
   margin-top: 5px; /* Отступ между блоками по высоте, необходимый для того чтобы пункты меню не сливались */
   font-family: Verdana, Arial, Helvetica, sans-serif; /* Тип шрифта пунктов меню */
   font-size: 14px; /* Размер текста меню */
}
.navi li a {
   display: block; /* Изменение отображения на блочное для того, чтобы иметь возможность задать внутренние отступы.  */
   padding: 4px 15px;  /* Отступы внутри блоков. */
   background: #819ac0; /* Цвет блоков меню. */
   color: #fbfbff; /* Цвет текста в блоках меню. */
   text-decoration: none; /* Устранение подчёркивания ссылок. */
   position: relative; /* Это необходимо при использовании Internet Explorer 6 для того, чтобы ссылка по всей своей площади была «кликабельной». */
}
.navi li a:hover {
   background: #f5f0f0; /* Цвет фона при наведении курсора мыши */
   color: #0d0b0b;  /* Цвет текста при наведении курсора мыши */
}


#pun-stats h2, .punbb .main h1, #pun-debug h2, .punbb-admin #pun-admain h2 {
    background-color: #0a1f26;
    background-position: center center;
    font-family: Arial;
    font-style: normal;
    height: 26px;
    line-height: 26px;
    text-align: center;
    letter-spacing: 2px;
}


/* Анкета
 -------------------------------------------------------------*/ 

.ank {
    width: 600px;
    margin: auto;
    outline: 2px solid #d0d0d0;
    margin-top: 5px;
    margin-bottom: 10px;
margin-left: 25px;
}

.anka {
    width: 600px;
    margin: auto;
    background: linear-gradient(to top, #b7c2c6 20%, #dfdfdf 50%, #e1dcd2 80%);
    height: 80px;
    display: flex;
}

.anka2 {
    width: 600px;
    margin: auto;
    margin-right: 220px;
    font-size: 32px;
    font-family: Oswald;
    color: #545c54;
    background-color: #ddd;
    text-transform: uppercase;
    background: linear-gradient(45deg, #0B2349 33%, #3c6c6f 66%, #65acaf);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    text-align: center;
}

.anka1 {
    margin-left: 120px;
    padding: 5px;
}

.obedm {
display: flex;
    flex-wrap: wrap;}



.anketa_1 img {
    width: 150px;
    height: 150px;
}



.anketaosnova {
width: 600px;
margin: auto;
margin-top: auto;
margin-bottom: auto;
background-color: #b2bcc0;
margin-top: 5px;
outline: 2px solid #d0d0d0;
margin-bottom: 5px;
background: linear-gradient(to top,
#cbd7db 20%, #e6e0e0 50%,
#c2c2c2 80%);
}
.anketa_12 {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
}

.anketa_1 {
width: 150px;
margin-left: 50px;
margin-top: -70px;
background-color:
#d4d4d4;
height: 150px;
outline: 2px solid #d0d0d0;
}
.anketa_2 {
    width: 300px;
    margin-left: 50px;
    margin-top: 10px;
    background-color: #d4d4d4;
    height: 200px;
   outline: 2px solid #d0d0d0;
    padding: 5px;
}

.namepers {margin: auto;
font-family: Oswald;
text-align: center;
font-size: 20px;
color:
#dcdcdc;
background-color:
#4e7c8c;
width: 300px;
height: auto;
}


.datepers {
margin: auto;
margin-top: auto;
font-family: Oswald;
text-align: center;
font-size: 20px;
color:
#dcdcdc;
background-color:
#a1aeb3;
margin-top: 10px;
width: 300px;
height: auto;
}

.profpers {
    text-align: justify;
    font-size: 12px;
    margin-top: 10px;
    height: 120px;
    overflow-y: scroll;
}

.toposnov {
    display: flex;
    flex-direction: column;
}

.osntextank {
    width: 500px;
    margin-left: 50px;
    margin-top: 10px;
    background-color: #e2e2e2;
    outline: 2px solid #d0d0d0;
    padding: 5px;
    height: 350px;
    overflow-y: scroll;
font-size: 12px;
}

.maleepers {
    text-align: center;
    color: #001922;
    width: 150px;
    height: auto;
}

.malepers {
    background-color: #001922;
    color: #fff;
    padding: 10px;
    margin-top: 5px;
    outline: 2px solid #d0d0d0;
    height: auto;
    width: 130px;
}
.peregorlike {
    position: relative;
    top: 50px;
    right: 5px;
    z-index: 5;
}

input.button {
    background-color: #000;
    COLOR: #FFF;
    border-style: double;
    border-color: #fff;
}