/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон */
html {
    background: url() top center fixed;
    background-color: #eda99d;
    margin-bottom: 0px !important;
-webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Шапка */
#pun-title table {
background-image : url(https://i.imgur.com/4RTMSYH.png); 
background-repeat : no-repeat;
background-position: top center;
border: none;
width: 1000px;
height: 370px;
margin-left: -31px;
margin-top: -200px;}

/* Тело форума */
#pun {
width: 1000px; 
background-color: transparent; 
background-image: url(https://i.imgur.com/ypfgjxC.png); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 938px;}

/* Футер */
#pun-about p.container {
    background-image: url(https://i.imgur.com/kYbViuF.png);
    margin: 0px 0px -100px -31px;
    background-position: center top;
    background-repeat: no-repeat;
    width: 1000px;
    height: 130px;
    overflow-x: hidden;
    padding-bottom: 25px;
}

/* 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: #0f0f0f;
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: #232224;
    text-align: center;
    font-style: normal;
    font-family: 'Code Pro Bold';
    
}


/* Цитата и код */
.punbb .quote-box, .punbb .code-box {
    background-color: #ffffff;
    color: #000000;
    box-shadow: 0 0 0 1px #a7b9ca inset, 0 0px 1px 0px rgba(125, 122, 115, 0.26), 1px 1px 0 0 #a7b9ca inset;

}

/* 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: #393939;
  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: #4c4c4c;
    transition-duration: 1s;
  }

.punbb a:hover {
  color: #3f3f3f;
    transition-duration: 1s;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 9px;
    color: #286372;
 text-transform: lowercase;
    font-style: normal;
    font-family: arial !important;
}

#pun-ulinks a:hover {
  text-decoration: none;
  color: #205a6a;
  transition-duration: 1s;
}


#pun-navlinks a {
color: #b0c3c6;
    text-shadow: 1px 0px 0px black;
}

#pun-navlinks a:focus, #pun-navlinks a:active {
  color: #c56f63;
}


#pun-navlinks a:hover {
  color: #f7c0b6;
  transition-duration: 1s;
}



/* CS3 Остальное 
-------------------------------------------------------------*/

/* ПОЛЯ ПРОФИЛЯ
-------------------------------------------------------------*/

/* уважалка и соо в блок2, li.pa-fld4, li.pa-fld3,*/
.pa-posts,  .pa-respect, .pa-fld4, li.pa-fld4, li.pa-fld3 {
display: inline-block;
    margin-top: 6px !important;
    margin-left: 2px!important;
    width: 52px;
    font-family: 'Oswald';
    font-size: 11px;
    text-transform: lowercase;
    margin-bottom: 13px !important;
    height: 20px;
    line-height: 120%;
}

.pa-respect a:hover, .pa-respect a:focus, .pa-respect a:active, .pa-respect a { color: #000000!important; }

.post-vote .pa-respect {
    margin: 3px -5px 0 0 !important;
    width: 20px !important;
    text-align: center;
    height: 20px;
    font-weight: bold;
    font-size: 15px;
}


.pa-fld1 a:hover, .pa-fld1 a:focus, .pa-fld1 a:active, .pa-fld1 a { color: #483d5d!important; }

/* строчка под внешность в лз */
.pa-fld2 {
font-family: 'Oswald';
    text-transform: uppercase;
    font-size: 12px;
    background-color: #90c0c8;
    width: 180px;
    height: 15px;
    padding-top: 4px;
    margin-left: 18px!important;
}


/* авик
-------------------------------------------------------------*/
.punbb .pa-avatar img{
    margin-top: 8px;
    margin-left: 0px;
    margin-bottom: 0px;
}

.pa-avatar img {
    margin-top: 28px;
}

.punbb .pa-avatar img{
    border: 1px solid #ffffff;
    box-shadow: 0 0 2px #787878;
}

/* CS3.1 Иконка старых сообщений*/
.punbb table Div.icon {float: left; 
display: block; 
border-style: none none none none;
margin-top: 33px;
margin-left: 5px;
margin-right: 5px;
width: 40px;
height: 40px;
background-image : url(https://i.imgur.com/WYbQDeP.png);
background-repeat: no-repeat;}

/* CS3.2 Иконка новых */
TR.inew Div.icon {
background-image : url(https://i.imgur.com/hn9ARtB.png);
background-repeat: no-repeat;
width: 40px;
height: 40px;}

/* CS3.3 Иконка важных*/
TR.isticky Div.icon {
background-image : url(https://i.imgur.com/hn9ARtB.png);
background-repeat: no-repeat;
width: 40px;
height: 40px;
filter: grayscale(100%);}

/* CS3.3 Иконка закрытых*/
TR.iclosed Div.icon {
background-image : url(https://i.imgur.com/WYbQDeP.png);
background-repeat: no-repeat;
width: 40px;
height: 40px;
filter: grayscale(100%);
opacity: 0.5;}

/* 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";}
.category h2 span{display: none;}
#pun-stats h2 span {visibility: hidden;}
#pun td .modlist{display:none;}
.lastedit {display:none}
#pun-announcement h2 {display: none}
#pun-navlinks #navawards{display:none}



::selection {
    background: #eda99d !important;
    color: #ffffff;
}


#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}

td.tcr a {
    background-repeat: no-repeat;
    background-position: left center;
    font-family: 'Bahnschrift';
    font-size: 13px;
    text-transform: lowercase;
}


.category .container thead {display: none;}

.punbb .pa-avatar img {
    max-width: 180px !important;
    margin-bottom: 4px;
    border: 4px solid #eda99d;
}

#pun-viewtopic .post h3 {
    width: 953px;
    margin-left: -8px;
    height: 15px;
    font-family: tahoma;
    text-transform: uppercase;
    font-size: 8px;
    background: #90c0c8;
    margin-bottom: 0px !important;
    border: 1px solid #90c0c8;
    box-shadow: 0 0 2px #90c0c8 inset;
}



.punbb .post h3 span a {
    color: #262133 !important;
}

.questlink {
    color: #2d263a !important;
}

.questlink:hover {
    color: #282235 !important;
}



.links1 {
    font-family: roboto;
    text-align: right;
    color: #cecada !important;
    margin: 0 3px 0 0 !important;
    font-weight: normal;
    letter-spacing: 0.5px;
}


.links1:hover {
    color: #658ea5 !important;
}


#counters A IMG{opacity:0.2; -moz-opacity:0.2; filter:alpha(opacity=20);}
#counters a:hover img {
    opacity: 1.0;
    -moz-opacity: 1.0;
    filter: alpha(opacity=50);
    transition-duration: 2s;
}

.punbb .post .post-author a {
color: #edeff0;
}

#pun-index .user-avatar img.ava {
    width: 34px;
    height: 34px;
    border-radius: 0 !important;
    border: 1px solid #7392ae !important;
}


.links-fon {
    text-align: left;
}

.links1 {
    width: 150px;
    padding: 3px 6px 3px 6px;
    color: #ffffff !important;
    font-family: tahoma;
    font-size: 8px;
    letter-spacing: 0.5px;
    font-weight: bold;
    text-align: center;
    background-color: #121212;
    margin-top: 3px!important;
    text-transform: uppercase;
    display: inline-block;
}

.links2 {
    font-family: roboto;
    text-align: right;
    color: #b3aec1 !important;
    margin: 0 3px 0 0 !important;
    font-weight: normal;
    letter-spacing: 0.5px;
}


.links2:hover {
    color: #796f92 !important;
}


/* категории
-------------------------------------------------------------*/
#pun-stats.section h2 {
    background: url(https://i.imgur.com/0AVg6Pq.png) no-repeat top center;
    height: 81px;
    margin-top: 15px;
    width: 1000px;
    margin-left: -30px;
}

#pun-category1.category h2 {
    background: url(https://i.imgur.com/8b4gPwp.png) no-repeat top center;
    height: 81px;
    margin-top: 15px;
    width: 1000px;
    margin-left: -30px;
}
#pun-category2.category h2 {
    background: url(https://i.imgur.com/zMhpGFi.png) no-repeat top center;
    height: 81px;
    margin-top: 15px;
    width: 1000px;
    margin-left: -30px;
}

#pun-category3.category h2 {
    background: url(https://i.imgur.com/ScQ5KMk.png) no-repeat top center;
    height: 81px;
    margin-top: 15px;
    width: 1000px;
    margin-left: -30px;
}


#pun-category4.category h2 {
    background: url(https://i.imgur.com/1OJdYmi.png) no-repeat top center;
    height: 81px;
    margin-top: 15px;
    width: 1000px;
    margin-left: -30px;
}


#pun-index .tcr a {font-size: 13px;
font-weight: 600;
font-family: playfair display}
#pun-index .tcr {
    width: 35%;
    text-align: center;
    font-family: roboto;
}


#pun-stats.section h2 span, #pun-main .category h2 span, #post-form h2 span {display: none;}

/* прокрутка
-------------------------------------------------------------*/
::-webkit-scrollbar-track {
    background-color: #388897;
    border: 1px solid #57a3b1;
    box-shadow: inset 0 0 2px #205869;
}
::-webkit-scrollbar-thumb {
    background-color: #e7a296;
    border: 1px solid #d68b7e;
    box-shadow: inset 0 0 3px #c87b6d;
}

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

/* навигация в подфорумах
-------------------------------------------------------------*/
.link a {
    display: inline-block;
    cursor: pointer;
    font-family: arial!important;
    font-size: 11px!important;
    padding-left: 8px!important;
    padding-right: 8px!important;
    padding-bottom: 2px;
    padding-top: 0px;
    margin-right: 7px;
    border-radius: 15px;
    box-shadow: inset 0 0 10px #2c4467;
    background: linear-gradient(#97a5b9, #445b7c);
    color: white!important;
    border: 1px solid #8099b3;
    text-shadow: 0 1px 1px #2c4467!important;
}
.link a:hover {
    box-shadow: inset 0 0 10px #153665!important;
    border: 1px solid #507ba9!important;
    -webkit-transition: .3s all;
    -moz-transition: .3s all;
    -ms-transition: .3s all;
    -o-transition: .3s all;
    transition: .3s all;
}
.link {    text-align: center;    margin-top: -22px!important;    padding-bottom: 11px!important;    margin-left: 20px!important;}

/* описание подфорума
-------------------------------------------------------------*/

.discr {
    font-size: 10px;
    font-family: arial;
    width: 370px;
    text-align: justify;
    margin: 1px 1px!important;
    color: #4a4a4ab;
    text-transform: lowercase;
    padding: 1px 10px 10px 10px;
}

/*кнопки под формой ответа*/
.punbb .button {font-size: 10px!important;background-color: #f5c1b8;color: #000000!important;border: none;padding: 5px;height: 25px;min-width: 110px;text-align: center;border-radius: 0px;font-family: 'Tahoma', sans-serif;font-weight:bold!important;letter-spacing: 0px;outline: 1px solid #de968a;outline-offset: -4px;}


.punbb .button:hover {
background-color: #bdd0d3;
text-align: center;
color: #000000!important;
font-family: 'Tahoma', sans-serif;
font-weight:bold!important;
 letter-spacing: 0px;
padding: 5px;
}

/*-------- статистика ----------*/
#pun-stats li.item1, #pun-stats li.item2, #pun-stats li.item3{
letter-spacing: 0px;
    display: inline-block;
    margin: 2px 2px!important;
    width: 299px;
    text-align: center!important;
    padding-top: 4px;
    padding-bottom: 2px;
    text-transform: uppercase!important;
    font: 280 9px arial;
    background-color: #eda99d;
    color: #000000 !important;
    font-weight: bold;
}


#pun-stats li.item4 {
letter-spacing: 0.5px;
    display: inline-block;
    margin: 2px 2px!important;
    width: 912px;
    text-align: center!important;
    padding-top: 4px;
    padding-bottom: 2px;
    text-transform: uppercase!important;
    font: 500 10px arial;
    color: #000000 !important;
    background-color: #eda99d;
}
#pun-stats li.item4 a { color: #1d2f43 !important; }


/*-------- подфорумы ----------*/
#pun-index .container tr {
    background: #f1f2f2;
    box-shadow: 0 0 0 1px #eda99d inset, 0 0 0 1px #f4b4a8;
}

#pun-index .container thead {
    display: none
width: 800px;
}

#pun-index .container table {
    border-spacing: 0 10px
}

/*Фон под контейнеры в форме Ответа*/
#pun_wrap #post .container[id$="-area"]{
border: solid 1px #a7b9ca!important;
background: #f2f2f2; /*Можно добавить фон картинкой url(Ccылка на картинку)*/
padding: 9px;
font: normal normal 400 11px/normal Verdana;
    overflow: auto;
    height: 160px;
}

#smilies-area {
   width: 520px!important;
   height: 160px;
}

/* новости */
.pnews {
    /* background-color: rgb(255, 255, 255); */
    background: #7c9c87;
    box-shadow: 2 2px 5px 0 rgba(128, 128, 128, 0.16);
    padding: 4px 5px 4px 6px;
    width: 150px !important;
    display: inline-block;
    font-family: Arial Narrow;
    color: #000000 !important;
    transition-duration: 2s;
}

.pnews:hover {
  background: #838383;
  transition-duration: 2s;
}

.pnews a{
  color: #020202 !important;
  font-size: 14px;
  transition-duration: 2s;
  text-transform: lowercase;
}

/*фикс формы ответа*/
 @media screen and (max-device-width: 900px) {
    #main-reply {width: 100%; height: 150px!important;}
   }

/*Размер плюсика в репу*/
.pa-respect a img {
    height: 8px;
}

/*ЛЗ*/
.lz {text-align: justify; font-size: 12px; margin-top: 2px; color: #45481c; line-height: 120%; font-family: 'Romul';padding-bottom: 4px; padding: 8px;}
.lzank {text-align: center; font-size: 9px; font-family: 'Playfair Display'; margin-bottom: 2px; text-transform: uppercase;}
.lz b {color: #6f691d !important;}
.lz sup {font-size: 5px;}




/* Блок обычное сообщение */
.fforma {
width: 600px;
    height: auto;
    padding-top: 0px;
    padding-bottom: 10px;
    display: block;
    background: url(https://forumstatic.ru/files/0017/a8/b9/67768.png) top no-repeat, url(https://forumstatic.ru/files/0017/a8/b9/78326.png) bottom no-repeat, url(https://forumstatic.ru/files/0017/a8/b9/50705.png) repeat-y;
    margin-left: 35px!important;
}

.forma_n {
    padding-right: 22px;
    text-align: center;
    color: #ffffff;
    font-family: bebas neue;
    text-shadow: 1px 0px 0px black;
    font-size: 23px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.forma_t {
width: 540px;
    padding-left: 32px;
    padding-top: 18px;
    padding-bottom: 8px;
    text-align: justify;
    color: #08181d;
    font-family: tahoma;
    font-size: 12px;
    overflow-x: auto;
}

.forma_t p {
text-indent: 20px; 
}

/* гостевая */
.guest {
	width: 800px;
	height: 250px;
	background: url(https://forumstatic.ru/files/0017/a8/b9/57213.png);
	margin-bottom: 15px!important;
	}

.guest_n {
    padding-right: 22px;
    text-align: center;
    color: #ffffff;
    font-family: bebas neue;
    text-shadow: 1px 0px 0px black;
    font-size: 23px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hello {
position: absolute;
    width: 458px;
    height: 230px;
    margin: 15px 0 0 20px!important;
    text-align: justify;
    color: #082229;
    text-shadow: #fff 1px 1px 0px;
    font-size: 11.5px;
    font-family: 'Oswald';
    font-weight: 500;
    letter-spacing: 0.6px;
    line-height: 160%!important;
    overflow-y: auto;
	}

.guest face {
position: absolute;
    width: 237px;
    height: 170px;
    margin: 25px 0 0 142px;
    overflow-y: auto;
	}

.guest face m, .guest face f {
display: block;
    background-color: #e7e7e7;
    width: 210px;
    margin: 0 0 5px 0;
    padding: 5px;
    text-align: left;
    color: #08191d;
    text-shadow: #fff 1px 1px 0px;
    font-size: 9px;
    font-family: montserrat;
    font-weight: 500;
    text-transform: lowercase;
    letter-spacing: 1px;
	}

.guest face m:before {
        content: ' ';
        position: relative;
	padding: 0 5px 0 0!important;
	border-left: 11px solid #90c0c8;
	}

.guest face f:before {
        content: ' ';
        position: relative;
	padding: 0 5px 0 0!important;
	border-left: 11px solid #e4b1a9;
	}



/* ссылки */
.hotlink {
text-align: center;
    font-size: 9px;
    font-family: Montserrat;
    letter-spacing: 0.5px;
    text-transform: lowercase!important;
	}

.hotlink a {
padding: 2px 8px;
    color: #082b37!important;
    text-shadow: #fff 1px 1px 0px;
    background-color: #dedede;
    border: solid 1px #4d92a1;
    box-shadow: inset 0px 0px 0px 1px #fff;
	}

.hotlink a:hover {
	color: #86959e!important;
	text-shadow: #fff 1px 1px 0px;
	background-color: #dde9f1;
	border: solid 1px #c5ddec;
	box-shadow: inset 0px 0px 0px 1px #ebf7ff;
	}