/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
html {
background: url(http://forumstatic.ru/files/001a/b5/99/94379.jpg);
background-repeat: no-repeat;
background-attachment: fixed; 
background-position: top center;
background-color: #495359;

/*overflow-x: hidden !important;*/}

/* Шапка */
#pun-title table {
    background-image: url(http://forumstatic.ru/files/001a/b5/99/54811.png);
    background-repeat: no-repeat;
    background-position: top center;
    border: none;
    width: 958px;
    height: 500px;
    margin-left: -30px;
    margin-top: -215px;
}

/* Тело форума */
#pun {
width: 958px; 
background-color: transparent; 
background-image: url(http://forumstatic.ru/files/001a/b5/99/95842.jpg); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 958px;}

/* Футер */
#pun-about p.container {
    background-image: url(http://forumstatic.ru/files/001a/b5/99/18289.jpg);
    margin: 0px 0px -110px -30px;
    background-position: center top;
    background-repeat: no-repeat;
    width: 958px;
    height: 109px;
    overflow-x: hidden;
    padding-bottom: 99px;
}


/* 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: #26292c;
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: #26292c;
    text-align: center;
    font-style: normal;
    font-weight: 500;
    font-family: montserrat;
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    background-image: url(http://forumstatic.ru/files/001a/b5/99/68726.jpg);
    background-color: #cccccb;
    color: #26292c;
    border: 1px solid #bdbdbd;
}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb input {
    background-color: #cccccb;    
    color: #26292c;
}


/* Тень и закругление */
.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-image: url(http://forumstatic.ru/files/001a/b5/99/68726.jpg);
    background-color: #cccccb;    
}





/* 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: #351b17;
  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: #3d4853;
    transition-duration: 1s;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
color: #3d4853;
    transition-duration: 1s;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 9px;
    color: #3d4853;
    font-weight: 500;
    font-family: montserrat;
    text-transform: lowercase;
}

#pun-ulinks a:hover {
  text-decoration: none;
  color: #351b17;
    transition-duration: 1s;
}


#pun-navlinks a {
    color: rgb(215 215 206);
    background: linear-gradient(rgba(255,255,255,1) 5%, rgba(0,0,0,1) 65%);
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -moz-background-clip: text !important;
    -o-background-clip: text !important;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.64), 0 0 5px rgb(179 194 197);
    text-align: center;
    transition: all 0.5s ease-in-out 0.1s;
    opacity: 1;
    font-weight: 500 !important;
    font-size: 13px !important;
    padding: 0 !important;
    display: inline-block;
    font-family: cormorant garamond;
    position: relative;
    padding: 0 !important;
    text-transform: uppercase;
}

#pun-navlinks a:focus, #pun-navlinks a:active {
color: #95abb9;
    transition-duration: 1s;
}


#pun-navlinks a:hover {
color: #95abb9;
    transition-duration: 1s;
}



/* CS3 Остальное 
-------------------------------------------------------------*/

div.icon {
    background: #9c9c9c;
    border: 1px solid #969595;
    border-radius: 100px;
    height: 10px;
    width: 10px;
}

tr.inew div.icon {
    background: #4e6575;
    border: 1px solid #3d515f;
    box-shadow: 5px 0 5px #253d4a5c inset;
    border-radius: 100px;
    height: 10px;
    width: 10px;
}

#pun-viewforum TR.iclosed Div.icon, #pun-messages TR.iclosed Div.icon, #pun-searchtopics TR.iclosed Div.icon {
    background: #565656;
    border: 1px solid #444444;
    box-shadow: 5px 0 5px #0e0e0e5c inset;
    border-radius: 100px;
    height: 8px;
    width: 8px;
}

#pun-viewforum TR.isticky Div.icon, #pun-messages TR.isticky Div.icon, #pun-searchtopics TR.isticky Div.icon {
background: #80322b;
    border: 1px solid #52241e;
    box-shadow: 5px 0 5px #0e0e0e5c inset;
    border-radius: 100px;
    height: 8px;
    width: 8px;
}

#pun-viewforum table Div.icon, #pun-messages table Div.icon, #pun-searchtopics table Div.icon {
    background: #b9b9b9;
    border: 1px solid #737272;
    box-shadow: 5px 0 5px #0e0e0e5c inset;
    border-radius: 100px;
    height: 8px;
    width: 8px;
}


#pun-viewforum TR.inew Div.icon, #pun-messages TR.inew Div.icon, #pun-searchtopics TR.inew Div.icon {
background: #45677d;
    border: 1px solid #334a59;
    box-shadow: 5px 0 5px #0e0e0e5c inset;
    border-radius: 100px;
    height: 8px;
    width: 8px;
}





/* 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: block;}
#pun-stats h2 span {visibility: visible;}
#pun td .modlist{display:none;}
.lastedit {display:none}
#pun-announcement h2 {display: none}
#pun-navlinks #navawards{display:none}



#pun-index div.category h2, #pun-index #pun-stats h2 {
    font-weight: 400;
    box-sizing: border-box;
    text-align: center;
    /* position: relative; */
    z-index: 5;
    width: 930px;
    height: 72px;
    font-size: 14px !important;
    text-transform: uppercase;
    text-shadow: 1px 1px #000, 0 0 3px #b2a98b54;
    letter-spacing: 0.4px;
    background-image: url(http://forumstatic.ru/files/001a/b5/99/63237.png);
    margin: 10px 0 10px -16px !important;
    padding: 27px 10px 1px 0 !important;
    color: #e8e8e8 !important;
    font-family: cormorant garamond !important;
    background-repeat: no-repeat;
    background-position: top center;
}


/*---Прокрутка---*/
::-webkit-scrollbar {
    width: 5px;
    height: 4px;
    background-color: #4b545a;
}

::-webkit-scrollbar-thumb {
    background-color: #4b545a;
    border: 1px solid #cbcbca;
}


::selection {
    background: #45221c !important;
    color: #cececd;
}


#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}

td.tcr a {
    background-repeat: no-repeat;
    background-position: left center;
    font-family: alice;
    font-size: 13px;
    color: #244254 !important;
}


.category .container thead {display: none;}

.punbb .pa-avatar img {
    max-width: 180px !important;
    margin-bottom: 4px;
    box-shadow: 0 0 0 1px #564a30, 0 0 6px #00000052;
    margin-top: 3px;
}


#counters A IMG{opacity:0.4; -moz-opacity:0.4; filter:alpha(opacity=30);}
#counters a:hover img {opacity:1.0; -moz-opacity:1.0;
filter:alpha(opacity=70); transition-duration: 2s;}



#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;
    background-image: url(http://forumstatic.ru/files/001a/b5/99/68726.jpg);
    background-color: #cccccb;    
    top: 43px;
    overflow-y: auto;
}


.punbb .post-content a, .punbb .post-content a:link {
    font-weight: bold;
}


.pun-modal .modal-inner {
    width: 700px;
    max-width: 94%;
    height: auto;
    max-height: 44em;
    margin: 12% auto 0;
    box-shadow: 0 0 14px rgba(0,0,0,.3);
    position: relative;
    z-index: 120000;
    overflow: hidden;
    background-image: url(http://forumstatic.ru/files/001a/b5/99/68726.jpg);
    background-color: #cccccb;    
}



/***  Заплатка для поля ответа ***/
textarea#main-reply {
  width: 100%;
  height: 100%;
  height: 205px;
  margin: 0 auto !important;
  padding: 0.75em;
  box-sizing: border-box;
  overflow: auto;  }


#pun-viewtopic .post h3 {
    height: 15px;
    font-weight: 500;
    font-family: montserrat;
    font-size: 9px;
    text-transform: uppercase;
    border: 1px solid #a5a5a54d;
    background-image: url(http://forumstatic.ru/files/001a/b5/99/68726.jpg);
    background-color: #cccccb;    
    border-radius: 2px;
    margin: 6px 8px 0px 10px !important;
    box-shadow: 0 0 2px #735b1424 inset;
}




.pa-posts, .pa-respect {
    padding: 1px 0px 1px 3px!important;
    margin-top: 2px !important;
    display: inline-block!important;
    float: none!important;
    width: 87px;
    text-align: center;
    text-transform: uppercase;
    margin-left: 1px !important;
    letter-spacing: 0.3px;
    font-weight: 500;
    font-family: montserrat;
    font-size: 7px;
}



.podforum {
    margin: 5px 0 5px 0 !important;
    background: #5d5b591a;
    padding: 8px 10px 8px 10px;
    box-shadow: 0 0 0 1px #c5c2c2, 0px 0px 5px #00000024 inset;
    border-radius: 1px;
    font-weight: 500;
    font-family: montserrat;
    font-size: 9px;
    color: #000;
}

.podforum la {
    font-family: alice;
    color: #39150f;
    font-weight: bold;
    margin: 0 4px 0 0 !important;
    font-size: 11px;
    letter-spacing: 0.5px;
}



.podlink {
    margin: 7px -9px 0 -9px !IMPORTANT;
    background: #96969642;
    /* border-radius: 1px; */
    padding: 0 6px 2px 6px;
    text-align: center;
}


.podlink a {
    font-family: alice;
    color: #495c69 !important;
    font-weight: 500;
    font-size: 11px;
    margin: 0 4px 0 0 !IMPORTANT;
}


.punbb th {
font-size: 0px !important;
}


.zag {
    font-family: cormorant garamond;
    color: #e2e2e2 !important;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-align: center;
    margin: 0 0 3px 0 !important;
    font-weight: 600;
    text-shadow: 1px 1px #1e2529, 0 0 3px #ffffff2b;
}


.questz {
height: 130px;
    overflow-y: auto;
    padding-right: 3px;
}

.epl {
color: #acb9c1 !important;
    font-weight: 600;
}


.quo {
    height: 115px;
    overflow-y: auto;
    padding-right: 6px;
    text-align: justify;
    /* border: red 1px solid; */
}

.avtr {
text-align: right;
    font-family: cormorant garamond;
    font-size: 14px;
    padding-right: 6px;
    font-weight: 500;
}


.avtr a {
color: #d6d6d6 !important;
}


.llink {
color: #d6d6d6 !important;
    text-shadow: 1px 1px #313a41;
    letter-spacing: 0.4px;
    font-size: 10px;
}


.button {
    border-radius: 1px !important;
    color: #e2e2e2 !important;
    font-family: alice !important;
    background-color: #3c5961 !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    margin-top: 5px !important;
    padding: 4px 15px 5px 15px !important;
    text-decoration: none;
    transition: all 0.5s ease-in-out 0s;
    vertical-align: middle;
    text-transform: lowercase;
    text-shadow: 0 0 1px #000;
    background: radial-gradient(ellipse at top, #495c69 10%, #48606f 53%, #2d3c44 100%);
    border: 1px solid #a09d9d !important;
    box-shadow: 0 0 0 1px #324e55 inset, 0 0 0 3px rgba(44,110,100,.47) inset, 0 0 8px 3px rgba(255,255,255,.05) inset;
}





.post-author {
    background: url(http://forumstatic.ru/files/001a/b5/99/84287.jpg) no-repeat top, url(http://forumstatic.ru/files/001a/b5/99/38641.jpg) no-repeat bottom, url(http://forumstatic.ru/files/001a/b5/99/72575.jpg) repeat-y;
    padding: 10px 0 10px 0;
    margin: 10px 0 0 10px!important;
}



.llink2 {
color: #a5b9c1 !important;
    font-family: alice;
    font-size: 17px;
    text-shadow: 1px 1px #273137;
}


.llinka {
color: #d6d6d6 !important;
    text-shadow: 1px 1px #313a41;
    letter-spacing: 0.4px;
    font-size: 10px;
}