/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
html {
background: url(http://forumfiles.ru/files/0019/8e/a7/92561.jpg);
background-repeat: no-repeat;
background-attachment: fixed; 
background-position: top center;
background-color: #647f5e;
background-size: cover;
/*overflow-x: hidden !important;*/}

/* Шапка */
#pun-title table {
background-image : url(http://forumfiles.ru/files/0019/8e/a7/78768.jpg); 
background-repeat : no-repeat;
background-position: top center;
border: none;
width: 972px;
height: 468px;
margin-left: -40px;}

/* Тело форума */
#pun {
width: 972px; 
background-color: transparent; 
background-image: url(http://forumfiles.ru/files/0019/8e/a7/52375.jpg); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 972px;}

/* Футер */
#pun-about p.container {
    background-image: url(http://forumfiles.ru/files/0019/8e/a7/20688.jpg);
    margin: 0px 0px -80px -40px;
    background-position: center top;
    background-repeat: no-repeat;
    width: 972px;
    height: 101px;
    overflow-x: hidden;
    padding-bottom: 65px;
}






/* 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: #2d442b;
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: #2d442b;
text-align:center; 
font-size: 12px; 
font-style: normal; font-weight: bold; font-family: 'Oranienbaum';
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    background-color: #afb09a;
    color: #2c422a !important;
    background-image: url(http://forumfiles.ru/files/0019/8e/a7/72970.jpg);
    border: 1px dashed #a0a392;
    box-shadow: -5px -5px #929156, 5px 5px #4f6f4d;
}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb input {
    background-color: #afb09a;
    color: #2c422a !important;
    background-image: url(http://forumfiles.ru/files/0019/8e/a7/72970.jpg);
}

/* Тень и закругление */
.punbb .quote-box, .punbb .code-box, .punbb textarea, .punbb select  { 
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
 }

.punbb input { border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
}

/* Фон окна наград и репутации */
#pun-popup_awards div, #pun-reputation div {
    background-color: #afb09a;
    background-image: url(http://forumfiles.ru/files/0019/8e/a7/72970.jpg);
}





/* 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: #425a3e;
  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: #425a3e; 
  text-decoration: none;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
  color: #606031;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 9px;
    color: #606031;
    text-transform: lowercase;
}

#pun-ulinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  text-decoration: none;
  color: #425a3e;
}


#pun-navlinks a, #pun-navlinks .container {
    color: #425a3e;
}


#pun-navlinks a:hover {
  color: #606031;
}


/* CS3 Остальное 
-------------------------------------------------------------*/


/* CS3.1 Иконки*/

div.icon {
        background: url(http://forumfiles.ru/files/0019/8e/a7/65404.png) no-repeat;
}

tr.inew div.icon {
        background: url(http://forumfiles.ru/files/0019/8e/a7/60548.png) no-repeat;
}

tr.iclosed div.icon {
        background: url(http://forumfiles.ru/files/0019/8e/a7/12003.png) no-repeat;
}

tr.isticky div.icon {
        background: url(http://forumfiles.ru/files/0019/8e/a7/31062.png) no-repeat;
}


/* 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}



/*---Прокрутка---*/
::-webkit-scrollbar{
width: 6px;
height: 4px;
background-color: #bdbea6;
border:solid 1px #2b4028;}

::-webkit-scrollbar-thumb{
background-color: #587453;
}

::-webkit-scrollbar-thumb:hover{
background-color: #8c8c56; }

::selection {
    background: #6f6f42 !important;
    color: #bbbda5;
}


#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
    padding: 5px;
}

.topic .post {
  margin-left:10px;
}




/*Фон мини-профиля в Топике*/
.punbb .post .post-author {
    background: url(http://forumfiles.ru/files/0019/8e/a7/66470.jpg) 0 0 repeat-y;
    overflow: visible!important;
    margin: 12px 0px 0px 0px!important;
}
.punbb .post .post-author > ul {
    background: url(http://forumfiles.ru/files/0019/8e/a7/75125.jpg) 0 top no-repeat, url(http://forumfiles.ru/files/0019/8e/a7/63470.jpg) 0 bottom no-repeat;
    margin: -12px 0 -12px 0!important;
    padding: 9px 9px 3px 7px!important;
}


.category .container thead {display: none;}


.punbb .pa-avatar img {
    border: 2px solid #3a5737;
}

td.tcr a {
    color: #6e6e41 !important;
    background-repeat: no-repeat;
    background-position: left center;
    font-weight: bold;
}




.tcl .byuser {
    color: #6e6e41;
    font-weight: bold;
}




.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
    background-color: #a7a992;
}

.banners {
    position: absolute;
    margin-top: -45px !important;
    margin-left: -20px !important;
    width: 931px;
    height: 40px;
    /* border: red 1px solid; */
    text-align: center;
    overflow-y: auto;
    overflow-x: hidden;
}




.amslink {
    font-family: oranienbaum;
    color: #bbbda5 !important;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.5px;
}



.bestpost {
    color: #bcbea5;
    font-size: 10px;
    line-height: 10px;
    position: absolute;
    text-align: justify;
}


.bestpost img {
    float: left;
    padding-right: 5px;
}



.tlink {
    font-family: oranienbaum;
    color: #bbbda5 !important;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.7px;
}



#facefon {
    background-color: #b3b59f;
    margin-bottom: 20px;
    margin-top: 20px;
    padding: 35px 5px 25px;
    width: 500px;
    border: 3px solid #919259;
    background-image: url(http://forumfiles.ru/files/0019/8e/a7/72970.jpg);
}
#faceprivet hi {
    background: #b4b6a0 none repeat scroll 0 0;
    background-image: url(http://forumfiles.ru/files/0019/8e/a7/72970.jpg);
    color: #4f6a49;
    font-family: oranienbaum;
    font-size: 26px;
    font-weight: bold;
    padding: 15px 150px;
    text-transform: uppercase;
    outline: 3px solid #bbbda5;
    letter-spacing: 1px;
    border: 1px dashed rgba(54,27,14,0.4);
}
#faceprivet2 {
    font-family: arial;
    font-size: 10px;
    line-height: 9px;
    margin-top: 30px;
    text-align: justify;
    width: 450px;
}

.leftimg {
    float: left; /* Выравнивание по левому краю */
    padding: 0px 10px 0px 0px; /* Отступы вокруг картинки */
   }





.vnesh {
    height: 350px;
    width: 580px;
    margin-left: 40px;
    background-image: url(http://forumfiles.ru/files/0019/8e/a7/72970.jpg);
}

.vnesh2 {
    z-index: 10;
    height: 330px;
    width: 560px;
    overflow: auto;
    text-align: justify;
    padding: 5px 5px 5px 5px;
    font-size: 11px;
    font-family: arial;
    letter-spacing: 1px;
    color: #2b412a;
    position: relative;
}

vneshl {
color: #000;
}

.vneshl a{color: white!important}











/* Базовый контейнер табов */
.tabs {
    max-width: 630px;
    padding: 0px;
    margin: 0 auto;
}
/* стили секций с содержанием */
section {
    display: none;
    padding: 15px;
    background-image: url(http://forumfiles.ru/files/0019/8e/a7/72970.jpg);
}
.tabs input {
  display: none;
}
/* стили вкладок (табов) */
.tabs label {
    display: inline-block;
    margin: 0 0 -1px;
    padding: 5px 5px 5px 5px;
    font-weight: 600;
    text-align: center;
    color: #edefdd;
    background: #4f6a49;
}
/* шрифт-иконки от Font Awesome в формате Unicode */
.tabs label:before {
  font-family: fontawesome;
  font-weight: normal;
  margin-right: 10px;
}
.tabs label[for*="1"]:before {
  content: "\f19a";
}
.tabs label[for*="2"]:before {
  content: "\f17a";
}
.tabs label[for*="3"]:before {
  content: "\f13b";
}
.tabs label[for*="4"]:before {
  content: "\f13c";
}
/* изменения стиля заголовков вкладок при наведении */
.tabs label:hover {
    color: #bcbea6;
    cursor: pointer;
}
/* стили для активной вкладки */
.tabs input:checked + label {
    color: #dfe0d2;
    background: #92935a;
}
/* активация секций с помощью переключателя :checked */
#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4, 
#tab5:checked ~ #content5 {
  display: block;
}
/* медиа запросы для различных типов носителей */  
@media screen and (max-width: 680px) {
  .tabs label {
    font-size: 0;
  }
 
  .tabs label:before {
    margin: 0;
    font-size: 18px;
  }
}
@media screen and (max-width: 400px) {
  .tabs label {
    padding: 15px;
  }
}




.novost a {
    color: #c7cc98 !IMPORTANT;
}