/* CS1 Background and text colours
-------------------------------------------------------------*/

/*!Правка размеров полотна форума для мобильных Устройств с мелким Экраном*/
#pun_wrap  {
min-width: 1300px !important;
}

/* CS1 Цвет фона, фона форума и футер.
-------------------------------------------------------------*

/* CS1.1 Шапка */
/*шапка*/
#pun-title table {
    width: 1008px;
    height: 35px;
    margin: -20px 0px 50px -21px;
    border: solid 2px #393871;
    background-color: #e6768f;

}

/* CS1.2 фон бек общий*/
body {
    background: url('http://forumstatic.ru/files/001b/2e/49/73423.jpg') no-repeat center / cover fixed;
}


/* тело самого фора внутри */
#pun .punbb {
    width: 1000px;
    height: auto;
    background: #ebeaf0;
    margin: auto;
    box-sizing: border-box;
    z-index: 9;
    position: relative;
   border: solid 2px #393871;
}



/* Футер */
#pun-about p.container {
      margin: 0px 0px -50px 0px;
}




/* CS1.1 Фон и цвет текста на форуме */

.punbb .section .container, .punbb .post-body, .punbb .post-links, .punbb td.tc2, .punbb td.tc3, #pun-navlinks .container,
.punbb .formal fieldset .post-box, #viewprofile li strong, #viewprofile li div, #setmods dd,
.punbb .info-box, .punbb #pun-main .info-box .legend, .punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer, #pun-stats h2, .punbb .main h2, #pun-title, #pun-title .container, .punbb .modmenu .container, .punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span, .punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl, #pun-navlinks .container  {
background-color: transpanent;
color: #393871;
font-weight: normal;
font-style: normal;
}

#pun-admain .adformal, #pun-admain .adcontainer
{border: none;
border-color:  transparent;}

.punbb .main h1, #pun-debug h2, .punbb-admin #pun-admain h2 {
background-color: transparent;
color: #393871;
text-align:center; 
font-size: 12px; 
font-style: normal; font-weight: bold; font-family: "arial";
}


/* Цитата и выделить код */
.punbb .post-content .quote-box, .punbb .post-content .code-box {
   margin: 1em 1em 1em 1em;
    padding: 10px 10px 10px 10px;
    border: 2px solid #393871;
    border-top: solid 15px #e6768f;
    border-right: solid 10px #e6a1b3;
    color: #2b2a2a;
}


.punbb .code-box strong.legend {
    display: block;
    font-size: 13px;
    font-style: normal;
    margin-bottom: 6px;
    color: #1c1b1f;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    line-height: 20px;
    text-align: left;
    border-bottom: 1px dashed #1617195e;
    font-weight: 600;
    -webkit-text-size-adjust: none;
}
.punbb .quote-box cite {
    display: block;
    padding-bottom: 2px;
    font-size: 12px;
    font-style: normal;
    color: #393871;
    text-transform: uppercase;
    font-family: sans-serif;
    border-bottom: 2px dotted #1617195e;
    margin-bottom: 5px;
    -webkit-text-size-adjust: none;
    font-weight: bold;
}


/* поле ответа */
.punbb textarea, .punbb select, .punbb input {
    background-color: #fff;
    border: 1px solid #c1c1c1;
    color: #3b3c3c;
    transition-duration: .5s;
}

.punbb textarea:hover,
.punbb textarea:focus,
.punbb input[type="text"]:hover,
.punbb input[type="text"]:focus,
.punbb input[type="password"]:hover,
.punbb input[type="password"]:focus,
.punbb select:hover,
.punbb select:focus {
    background: #fff;
    transition-duration: .5s;
}

button:focus,
input:focus,
textarea:focus {
    outline: none;
}



/* Фон окна наград и репутации */
#pun-popup_awards div, #pun-reputation div {
    background-color: #fdf89c;
}

.move_posts_form .modal-inner>.container {
    padding: 0!important;
    background: #cacace;
}

/* Фон окна спойлера */
#tags .container {
        background-color: #ebeaf0;
    
}

/* CS2 Ссылки
-------------------------------------------------------------*/

/* CS2.1 */
.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, .punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited, #pun-navlinks a, #pun-ulinks a {
  color: #393871;
  text-decoration: none;
  }

/* CS2.2 */
.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,  #pun-ulinks a:focus, #pun-ulinks a:active {
  color: #4e4c4e; 
  text-decoration: none;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
  color: #e6768f;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 9px;
    color: #4d4c4e;
    text-transform: lowercase;
}


#pun-ulinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  text-decoration: none;
  color: #4b4b4c;
}


#pun-navlinks a {
    color: #393871;
    text-align: right;
    line-height: 20px;
    border: solid 1px #393871;
    padding: 5px 10px;
    transition: all 2s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 6px 7px 0px 0px rgb(133 187 233);

  }

#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active, #pun-pagelinks a:active, #pun-pagelinks a:focus {
  color: #393871;
  background-color: #85bae947;
    box-shadow: 6px 7px 0px 0px rgb(230 118 143);
}


#pun-ulinks a:hover, #pun-ulinks a:focus, #pun-ulinks a:active {
    color: #393871;
    opacity: 1;

  
}

/* ссылка названия форумов */ 
#pun-index .tcl h3 a {
    color: #17141b !important;
    transition: all 0.5s;
    -webkit-text-size-adjust: none;
    font-size: 20px;
    text-transform: uppercase;
    padding: 5px;
    font-weight: bold;
}

#pun-index tr.inew .tclcon h3 a {
    color: #17141b !important;
    transition: all 0.5s;
    -webkit-text-size-adjust: none;
    font-size: 20px;
    text-transform: uppercase;
    padding: 5px;
    font-weight: bold;
}


/* ховер ссылки названия форумов */ 
#pun-index .tcl h3 a:hover {
    transition: all 0.6s;
    border: solid 1px;
    box-shadow: 6px 7px 0px 0px rgb(253 248 156);
}



/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 категории */

#pun-index .category tr {
    background: none;
}

#pun-index .category table tr.inew  {
     background-color: #84bae969;
  }

#pun-index .category table {
     border-spacing: 0px 20px;
}

#pun-index .tclcon {
  padding: 10px; 
}


/* CS3.1 Иконки*/

#pun-main div.catleft, #pun-main div.catright {
    display: none;
}

#pun-index table Div.icon {
    background: none;
    border-style: none;
    height: 10px;
    width: 30px;
    margin-left: -1px;
    margin-top: -20px;
    margin-right: 6px;
    display: none;
    position: absolute;
}

#pun-about .container .item1 {
    margin-top: 110px;
    width: 1000px;
    margin-left: 35px;
    position: absolute;
    font-family: tahoma;
    font-size: 7px;
    text-align: center;
    color: #e4e0e0;
    text-transform: uppercase;
}

#pun-about .container .item1 a {
  color: #d6d6d6; 
}


/* CS3.2 Всё подряд*/
#pun-main div.catleft, #pun-main div.catright {display: none;}
#pun-main .post-author ul {text-align: center;}
ul.post-ul-Sp, .post-img-Sp {text-align:center;}
#pun th, #pun-main h2 {text-align: center}
#pun-navlinks .container, #pun-ulinks .container {text-align: center;}
.modlist {font-size: 95.05%;}
#pun-announcement .container {font-size: 101%; font-family: "Arial";}
#pun td .modlist{display:none;}
.lastedit {display:none}
#pun-announcement h2 {display: none}
#pun-navlinks #navawards{display:none}

/*убрать поделиться*/
.topic a.sharelink {
    float: right;
    margin-left: 1em;
    display: none;
}

/* цвет ссылок в постах */
.punbb .post-content a {
     color:#E6768F;
}

/*---Прокрутка---*/
::-webkit-scrollbar-thumb:vertical {
background-color: #FDF89C;
}

::-webkit-scrollbar-thumb:horizontal {
background-color: #FDF89C;
}

::-webkit-scrollbar {
    background-color: #4D5D91;
    height: 8px;
    width: 8px;
}

::selection {
    background: #FDF89C !important;
    color: #4D5D91;
}

#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}



/*Фон мини-профиля в Топике*/
.punbb .post .post-author {
    margin: 2px 3px 7px 10px!important;
    padding: 0px 0px 0 0;
}


.punbb .pa-avatar img {
    margin-bottom: 4px;
    max-width: 180px;
    max-height: 180px;
    margin-left: 13px;
}



#font-area, #size-area, #color-area, #table-area, #smilies-area, #image-area, #imageup-area, #imageattach-area, #keyboard-area, #video-area, #addition-area {
    position: absolute;
    right: 6px;
    top: 43px;
    background-color: #bdc4b6;
    border: 3px double #6e7e8d;
}



td.tcr a {
    color: #2a2954 !important;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    text-align: right;
    line-height: 35px;
}


.category .container thead {display: none;}

.banners {
    position: absolute;
    margin-left: 2px !important;
    width: 948px;
    height: 33px;
    overflow-y: auto;
    margin-top: 44px !important;
    text-align: center;
    letter-spacing: 2px;
}

.banners a{
  opacity: 0.9;
  filter: grayscale(100%);
}

.banners a:hover {
  filter: none;
}


#pun-index div.category h2, #pun-index #pun-stats h2 {
    text-align: center;
    font-size: 0px !important;
    position: relative;
    z-index: 5;
    margin: 0px -25px 0px;
    background-position: top center;
    height: 47px;
    width: 940px;
}

/* названия категорий*/
#pun-index .category h2 span, #pun-stats.section h2 span {
    color: #393871;
    font-size: 14px !important;
    text-align: center;
    font-family: cursive;
    border: solid 1px #393871;
    padding: 2px 50px;
    margin-left: 100px;

}

/* дата пост */
#pun-viewtopic .post h3 {
    height: 20px;
    width: 960px;
    margin: 20px;
    background: #fcf79cb8;
    border: solid 1px #393871;
}



/*Выравниваем в одну строку число постов и Уважение*/
.pa-posts {
    text-align: center;
    display: inline-block;
    padding: 10px 10px!important;
    /* width: 55px; */
    font-family: 'sans-serif';
    color: #575c52;
    font-weight: bold;
    font-size: 10px;
    t: ;
    text-transform: lowercase;
}
}

.pa-respect {
    text-align: center;
    display: inline-block;
    padding: 10px 10px!important;
    /* width: 55px; */
    font-family: 'sans-serif';
    color: #575c52;
    font-weight: bold;
    font-size: 10px;
    t: ;
    text-transform: lowercase;
}
}



li.pa-fld4 {
text-align: right;
    display: inline-block;
    padding: 10px 0px 0px 0px!important;
    width: 65px;
    font-family: 'sans-serif';
    color: #575c52;
    font-size: 11px;
    text-transform: uppercase;
}
</style>

<style type="text/css">
/*ссылка уважение*/
.pa-respect a{
color: #575C52!important;
font-family:  'sans-serif'!important;
}
</style>

<style>
textarea#reputationText {
width: 80% !important;

}
</style>





/*жалобы и репутация*/
#pun-report .inner, #pun-reputation .inner, #pun-admin-award-form .inner {
  background: #dbd9d9;
}

#rep_form table tbody tr td.tcl span, #rep_form table tbody tr td.tc2 span {
  font-size: 12px;
  color: #000004;
}

#pun-report h1, #pun-reputation h1, #pun-admin-award-form h1 {
font-family: arial;
font-weight: normal;
margin-top: 5px;
}

/*фикс формы ответа*/
 @media screen and (max-device-width: 900px) {
    #main-reply {width: 100%; height: 150px!important;}
   }



/* отключить поделиться */
li.pl-share {
display: none!important;
}



.Tems_And_messages  {
    display: inline-block;
    width: auto;
    font-family: roboto !important;
    height: 20px;
    font-size: 8px;
    text-transform: uppercase;
    color: #38353b;
    font-weight: normal;
    text-align: center;
    width: 131px;
    display: flex;
    justify-content: space-between;
    line-height: 27px;
    margin-left: 419px !important;
}

.Tems_And_messages span {font-weight: normal;
    display: block;
    height: 21px;
    }


/* Author avatars on index page
------------------------------------------------------------------ */

.punbb:not(#pun-userlist):not(#pun-messages) .user-avatar {
    width: 34px!important;
    height: 34px!important;
    transition-duration: 0.25s;
}


.punbb .user-avatar .avatar-image {
    border-radius: 0%!important;
    opacity: 0.85;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    float: left;

}

.punbb .user-avatar .avatar-image:hover {
  opacity: 1 !important;
    transform: rotateY(180deg);
    transition: 0.5s;
}

.punbb .user-avatar .isonline {
    width: 6px!important;
    height: 6px!important;
    z-index: 0!important;
    background-color: #585f5d !important;
}





/*разделительная линия*/
.post-content hr {
    opacity: 0.2 !important;
    -moz-opacity: 0.2 !important;
    -khtml-opacity: 0.2 !important;
    filter: alpha(opacity=50);
    margin-bottom: 0.8em;
}


/*просмотр профиля*/

#viewprofile li#pa-fld2 span {
  display: none !important;  
}

#viewprofile li#pa-fld2 {
  text-align: justify !important;
}


/*перенос темы сообщения на главной*/
#pun-index .category .tc2,#pun-index .category .tc3,
#f-subforums .tc2,#f-subforums .tc3{
  display:none!important;
}
.Tems_And_messages {
    display: block;
    width: auto;
    font-weight: normal;
    text-align: center;
    font-family: 'Conduit';
    color: #d2d4c9;
    font-size: 18px;
}
.main table .Add {
    display: block;
    padding: 0px;
    width: 95%;
    letter-spacing: 1px;
    margin-top: 15px;

}
.Tems_And_messages .right{
padding-left: 45px;
}
.Tems_And_messages .left{

}

/*внопки вверх вниз*/
.go-up,.go-down {
    display: none;
    position: fixed;
    z-index: 9999;
    cursor: pointer;
    margin-bottom: 20px;
    width: 62px;
    margin-left: 1024px!important;
}
.go-up {
bottom:40% /*положение от низа окна браузера верхняя кнопка*/
}
.go-down {
bottom:11%; /*положение от низа окна браузера нижняя кнопка кнопка*/
margin-right: -33px;
}
.go-down:hover,.go-up:hover {
opacity:1;
}

#plashka {
    position: absolute;
    top: -70px;
    right: -100px;
    padding: 2px 15px 8px 8px;
    z-index: 999;
      }
      
      
      
#news{
position: absolute;
    margin: 55px 5px 2px 30px;
    padding: 20px;
    display: inline-flex;
    align-content: stretch;
    width: 850px;
    justify-content: center;
}

#news a {
margin-left: 10px;
    color: #ff0081;
    font-size: 35px;
    letter-spacing: 3px;
    /* font-family: system-ui; */
    border: solid 2px #ff0081;
    box-shadow: 6px 7px 0px 0px rgb(133 187 233);
}
}