@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 1024px)
  and (-webkit-min-device-pixel-ratio: 2) {
  #pun { 
    width: 93%!important;
    margin-left: 1%!important;
    /* font-size: 1.2vw!important; */
  }
  #fortitletable, #scrollUp, #scrollDown {
    height: 0px!important;
    display: none!important;
    box-shadow: none!important;
    font-size:0px!important;
  }
  #pun-status .container {
    font-size: 0.5vw!important;
  }
   /* #pun-crumbs1 p.container {
    font-size: 0.8vw!important;
  } */
  /* #pun-stats .container {
    font-size: 0.5vw!important;
  } */
  /* #pun-crumbs2 .container {
     font-size: 0.8vw!important;
  } */
  /* #pun-ulinks .container {
     font-size: 0.5vw!important;
  } */
  /* .punbb .main .category .tcr {
    font-size: 0.4vw!important;
    line-height: 0.7vw!important;
  } */
  .punbb .post h3 span {
     font-size: 0.5vw!important;
  }
  /* .punbb .post-links ul {
    font-size: 0.4vw!important;
  } */
  /* .linkst .pagelink, .linksb .pagelink {
    font-size: 0.5vw!important;
  } */
  .punbb .post .post-author {
    font-size: 0.45vw!important;
  }
  .punbb .modmenu .container {
    font-size: 0.5vw!important;
  }
  .linkst .postlink, .linksb .postlink {
    font-size: 0.45vw!important;
  }
  .subscribelink {
    font-size: 0.4vw!important;
  }
  #pun-index td div.tclcon { 
    font-size: 0.45vw;
    line-height: 0.9vw;
  }
  #pun-searchtopics .main .tcl, #pun-searchtopics div.tclcon, #pun-viewforum div.tclcon,  #pun-searchtopics td.tc2, #pun-searchtopics td.tc2, #pun-viewforum td.tc2, #pun-searchtopics td.tc3, #pun-searchtopics td.tc3, #pun-viewforum td.tc3 {
    font-size: 0.55vw!important;
  }
  .punbb .main .tcr {
    font-size: 0.5vw!important;
  }
  .punbb fieldset legend span {
    font-size: 0.4vw!important;
  }
  .punbb select { 
    font-size: 0.45vw!important;
  }
  .pa-author {
    font-size: 0.9vw!important;
    line-height: 0.65vw!important;
  }
}

html, body {
    min-width: 900px!important; 
}

/* CS1 Цвет фона, фона форума и остальное.
-------------------------------------------------------------*/

html {
    background: url(http://forumfiles.ru/files/0019/f0/2d/83691.jpg) no-repeat top center, url(http://forumfiles.ru/files/0019/f0/2d/31536.jpg) repeat top center;
    background-attachment: fixed;
    background-size: cover;
    background-color: #161616;
  }

#pun {
    background: url(http://forumfiles.ru/files/0019/f0/2d/69908.jpg) repeat top center;
    background-color: #e3e3e3;
  }

.punbb {
    background: url(http://forumfiles.ru/files/0019/f0/2d/69908.jpg) repeat top center;
  }


/* CS1.1 */
.punbb .section .container, .punbb .post-body, .punbb .post-links, .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, .punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb .main h2, .punbb .linkst, .linksb .pagelink, div#pun-live-rusff {
    border-color:transparent;
    color: #1a1818;
  }

.punbb-admin #pun-admain .adcontainer {
    color: #201f24;
  }

/* CS1.2 */
.punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer, .punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span, #pun-title, #pun-title .container, .punbb .modmenu .container, #pun-navlinks .container {
    border-color:transparent;
  }

/* CS1.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
    border-color:transparent;
    font-weight: normal;
    font-style: normal;
  }


/* CS1.4 */
.punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl  {
    background-color: transparent;
  }



.offline li.pa-online strong {
    font-weight: normal
  }



.punbb textarea {
    background: rgba(255, 255, 255, 0.39);
    border: none;
  }

 .punbb input {
    background: rgba(255, 255, 255, 0.39);
    padding: 2px 3px 3px 5px;
    border: none;
  }

.button {
    background: #f3f3f300!important;
    color: #a1a1a1;
    box-shadow: 0 0 0 1px #c8c8c8;
    text-transform: uppercase!important;
    font-weight: bold!important;
    letter-spacing: 0.2em;
    padding: 5px 6px 3px 8px!important;
    font-size: 9px!important;
    font-family: 'Trajan Pro'!important;
    font-weight: bold!important;
    border: none!important;
     transition-duration: 0.5s;
  }
.button:hover {
    color: #2a2a2a;
    box-shadow: 0 0 0 1px #3b3b3b;
      transition-duration: 0.5s;
  }

.punbb select  { 
    background: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    font-weight: bold!important;
    letter-spacing: 0.2em;
    padding: 4px 2px 4px 4px;
    font-size: 8px!important;
    /* font-size: 0.45vw!important; */
    font-family: 'Trajan Pro'!important;
    border: none;
  }

#pun-main .code-box, #pun-main .quote-box {
    padding: 2em;
    background: #eaeaea;
    box-shadow: -3px -3px 0 2px #eaeaea, -3px -3px 0 3px #cacaca, 3px 3px 0 2px #eaeaea, 3px 3px 0 3px #cacaca;
    border: 1px solid #cacaca;
  }

#pun-main .code-box {
    font-size:12px!important;
  }

.quote-box.spoiler-box {
    padding: 2em;
  }



/* CS2 Цвета границ
-------------------------------------------------------------*/

/* CS2.1 */
.punbb .container, .punbb .post-body, .post h3, #pun-title {
    border: none;
  }

/* CS2.2 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
    border: none;
  }

/* CS2.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
    border: none;
  }

/* 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: none;
  }

/* CS2.5 */
.punbb th {
    border: none;
  }

/* CS2.6 */
.punbb .quote-box, .punbb .code-box {
    border: none;
  }

#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
    border: none;
  }

#pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
    border: none;
  }

.punbb .divider {
    border: none;
  }

.punbb .formal fieldset .post-box, .punbb .info-box {
    border: none;
  }

li.pa-online {
    border: none;
  }

.punbb .post-sig dt {
    height: 1px;
    width: 800px;
    background: #cacaca;
  }



/* CS3 Цвета ссылок и всё что с ними связанно
-------------------------------------------------------------*/

/* CS3.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 {
  color: #000000;
  text-decoration: none;
  }

.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
  color: #060606
  }

/* 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: #151515;
   text-decoration: none;
  }

/* CS3.3 */
#pun-navlinks a {
  border-bottom:none;
  text-decoration: none;
  }

/* CS3.4 */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  font-style: normal;
  border-bottom: none;
  text-decoration: none;
  }

/*/6060*/
#pun-pagelinks a:active, #pun-pagelinks a:focus {
  background-color: #1b0d04;
  color: #151515;
  }

/* CS4 Фон всем категориям и разделение между сообщениями. + Сдвиг рекламы.
 -------------------------------------------------------------*/

#pun  .section { 
    border-style: none;
    width: auto;
  }

#pun-main .post-author ul  {
    text-align: justify;
 }

#pun-title table tbody tr .title-logo-tdr {
    position: absolute;
    z-index: 1;
    left: 100px;
    top: 50px;
  }



/*  CS5 Категории форума и кнопки 
------------------------------------------------------------*/

#pun-main h2 {
    margin: 2em 0 0 0;
    padding: 2em 0 0 0;
    text-align: center;
  }

#pun-main h2 span, .punbb .section h2 span {
  display: block;
  position: relative;
    font-family: 'Empiric Roman';
    font-size: 14pt;
    font-size: 1vw;
    letter-spacing: 4px;
  }

#pun-main h2 span {
    -webkit-box-reflect: below -50% -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(20%, transparent), to(rgba(0, 0, 0, 0.45)));
}


#pun-stats h2 {
    margin: 0 0 3em 0!important;
  }
#pun-stats h2 span {
    font-size: 0px;
  }
#pun-stats h2 span:before {
    content: 'sAns fin';
    font-family: 'Empiric Roman';
    font-size: 19px;
    font-size: 1vw;
    margin-left: 70px;
  }

#post-form h2 {
    margin: 0px;
  }
#post-form h2 span {
    font-size: 0px;
  }


#pun-index #forum_f1, #pun-index #forum_f2, #pun-index #forum_f3, #pun-index #forum_f4, #pun-index  #forum_f5, #pun-index #forum_f6, #pun-index #forum_f7, #pun-index #forum_f8, #pun-index #forum_f9, #pun-index #forum_f10, #pun-index #forum_f11, #pun-index #forum_f12, #pun-index #forum_f13, #pun-index #forum_f14, #pun-index #forum_f15, #pun-index #forum_f16, #pun-index #forum_f17, #pun-index #forum_f18, #pun-index #forum_f19, #pun-index #forum_f20, #pun-index #forum_f21, #pun-index #forum_f22, #pun-index #forum_f23, #pun-index #forum_f24, #pun-index #forum_f25, #pun-index #forum_f26, #pun-index #forum_f27, #pun-index #forum_f28, #pun-index #forum_f29, #pun-index #forum_f30 {
    box-shadow: inset 0 25px 0 0 #ffffff70, inset 0 26px 0 0 rgba(0, 0, 0, 0.1);
  }




/* CS6 Логотип снизу
 -------------------------------------------------------------*/


#pun-about p.container {
    position: relative;
    background-image: url();
    background-repeat: no-repeat;
    overflow-x: hidden;
}

div#html-footer {
}

div#pun-about {
    margin-bottom: 0px;
}
 

 #pun-announcement.section h2 span {
    display: none;
 }
    a.menu:link, a.menu:visited, a.menu:active {
    text-decoration: none;
 }



/* CS7 Остальные коды для оформления форума
 -------------------------------------------------------------*/


/*Фон подфорума*/
#pun-index td div.tclcon { 
    height: 100%;
    margin: 20px 0 30px 110px;
    letter-spacing: 0.13em;
    word-spacing: 0.5em;
    color: #4e4b4b;
    line-height: 17px;
    /* line-height: 0.9vw; */
    font-size: 8px;
    /* font-size: 0.45vw; */
    font-family: 'Trajan Pro';
    font-style: normal;
    font-weight: bold;
    text-transform: uppercase;
    text-align: justify;
  }
#podfssil {
    padding: 1em 0;
  }
#podfssil a {
    color: #161616;
    background: rgba(0, 0, 0, 0.12);
    padding: 6px 5px 4px 5px;
  }
#podfssil a:hover {
    color: #ececec;
  }

.punbb .main .category .tc2, .punbb .main .category .tc3 {
    font-family: 'Trajan Pro';
  }

.punbb .main .tcr {
    font-size: 9px;
    /* font-size: 0.5vw; */
    font-family: 'Trajan Pro';
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.13em;
}

span.stickytext, span.closedatafield {
    display: none;
  }


/*Фон профиля*/
.punbb .post .post-author {
    overflow: visible!important;
    margin: 0 0 2em 2em;
  }
.punbb .post .post-author > ul {
    margin: 0px 0px 0px 0!important;
    padding: 0 0 0 25px!important;
  }


/* Аватар */
li.pa-avatar.item2 {
    margin: 1em 0;
  }
li.pa-avatar.item2 img {
    box-shadow: 0 0 0 4px #e2e2e2, 0 0 0 5px #cacaca;
    max-width: 10vw;
    max-height: 10vw;
    margin-left: 5px;
  }



/* Навигация */
@media screen and (max-width: 540px) {#pun-navlinks li a:before {display:none}  }
#pun-navlinks li a span {font-size:0;} #navpr_1 li span {font-size:0;}

#navindex a:before {content:"f";} /* Форум */
#navuserlist a:before {content:"u";} /* Участники */
#navsearch a:before {content:"s";} /* Поиск */
#navprofile a:before {content:"p";} /* Профиль */
#navpm a:before {content:"m";} /* сообщения*/
#navadmin a:before {content:"A";} /* Администрирование */
#navlogin a:before {content:"l";} /* Вход */
#navlogout a:before {content:"l"; } /* Выход */
#navregister a:before {content:"r"; } /* Регистрация */
#navpr_1 a:before {content:"A"; }

#navindex a span {display:block;}
#navuserlist a span {display:block;}
#navawards a span {display:block;}
#navsearch a span {display:block;}
#navpm a span {display:block;}
#navprofile a span {display:block;}
#navadmin a span {display:block;}
#navlogin a span {display:block;}
#navlogout a span {display:block;}
#navregister a span {display:block;}
#navpr_1 a span {display:block;}



/* Цвета ссылок */
.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 {
    color: #b0974c;
    text-decoration: none;
      transition-duration: 0.5s;
  }
.punbb a:focus, .punbb a:active, .punbb a:hover, .punbb-admin #pun-admain .nodefault, .punbb-admin #punbb-admain a:hover, .punbb-admin #punbb-admain a:focus, .punbb-admin #punbb-admain a:active {
    color: #202020;
     transition-duration: 0.5s;
  }

#pun-navlinks a {
    color: #a4986a;
      transition-duration: 0.5s;
  }
#pun-navlinks a:hover {
    color: #c9c9c9;
      transition-duration: 0.5s;
  }

#pun-ulinks a {
    color: #202020;
      transition-duration: 0.5s;
  }
#pun-ulinks a:hover {
    color: #b0974c;
      transition-duration: 0.5s;
  }

#pun-index .tcl h3 a {
    color: #202020;
      transition-duration: 0.5s;
  }
#pun-index .tcl h3 a:hover {
    color: #b0974c;
      transition-duration: 0.5s;
  }

.pa-author {
    color: #202020;
  }
.pa-author a { 
    color: #202020!important;
     transition-duration: 0.8s;
  }
.pa-author a:hover { 
    color: #b0974c!important;
     transition-duration: 0.8s;
  }

.punbb .post-author a:link {
    color: #202020;
     transition-duration: 0.3s;
  }
.punbb .post-author a:hover  {
    color: #b0974c;
     transition-duration: 0.3s;
  }

.punbb .post h3 span a, .punbb .post-links a, .post-rating a, .punbb .main .tcr a, #pun-crumbs1 p.container a, #pun-crumbs2 .container a, #pun-about p.container a, .punbb .modmenu .container a, #pun-viewforum div.tclcon a, .subscribelink a {
    color: #202020!important;
      transition-duration: 0.5s;
  }
.punbb .post h3 span a:hover, .punbb .post-links a:hover, .post-rating a:hover, .punbb .main .tcr a:hover, #pun-crumbs1 p.container a:hover, #pun-crumbs2 .container a:hover, #pun-about p.container a:hover, .punbb .modmenu .container a:hover, #pun-viewforum div.tclcon a:hover, .subscribelink a:hover {
    color: #b0974c!important;
      transition-duration: 0.5s;
  }
.punbb .modmenu .container a {
    text-shadow: 0 0 rgba(0, 0, 0, 0.5);
  }

/* Ползунок */
::-webkit-scrollbar {
    width: 11px;
    height: 11px;
  }
::-webkit-scrollbar-track {
    background-color: #cacaca;
    box-shadow: inset 0 0 0 5px #e4e2e3;
  }
::-webkit-scrollbar-thumb {
    background-color: #3a3a3a;
    box-shadow: inset 0 0 0 5px #e4e2e3;
  }

.punbb textarea::-webkit-scrollbar, .punbb .post-content .code-box .scrollbox::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }
.punbb textarea::-webkit-scrollbar-track, .punbb .post-content .code-box .scrollbox::-webkit-scrollbar-track {
    background-color: transparent!important;
    box-shadow: none!important;
  }
.punbb textarea::-webkit-scrollbar-thumb, .punbb .post-content .code-box .scrollbox::-webkit-scrollbar-thumb {
    background-color: #cacaca!important;
    box-shadow: none!important;
  }

.tablizza::-webkit-scrollbar {
    width: 0px;
    height: 0px;
  }

/* Выделение текста */
::selection {
    background: #000000;
    color: #dedede;
  }


IMG.podf{display: block;
    margin-left: auto;
    margin-right: auto
  }
body #post .fs-box.hashelp .container {
    background: transparent;
    background-repeat: repeat!important;
    z-index: 100!important;
    padding: .7em!important;
    border-radius: 0px;
    border: 0px solid #00000017;
  }
#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;
  }
body #post .fs-box.hashelp .container {
    color: #2a1b23;
    height: auto;
    max-height: 148px;
    width: auto;
    margin-left: 13px;
    overflow: auto;
  }
#imageupload-left input[type=button] {
    width: auto!important;
  }
#poll-special .poll2 td h1 {
    background: #292929!important;
    padding: 1px;
    border: none 0 transparent!important;
  }


/* Убираем свечение в хроме */
input, textarea {
    outline: none;
}  
input:active, textarea:active {
    outline: none;
} 
:focus {
    outline: none;
}


#pun-report .inner, #pun-reputation .inner, #pun-admin-award-form .inner{
    border-radius: 0px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background-color: rgba(236, 236, 236, 0.9);
    box-shadow: none!important;
  }

.adformal, .adformal h2, #pun-adnav h2 {
    padding: 0.5em 1em!important;
    border-style: none!important;
    border-width: 0px!important;
    color: #000!important;
  }
.punbb-admin #pun-admain h2 {
    background: rgba(255, 255, 255, 0.65)!important;
  }
#pun-admain fieldset p {
    border-color: rgba(255, 255, 255, 0.65)!important;
    background-color: rgba(255, 255, 255, 0.56)!important;
  }

img.post-img-Sp {
    padding-top: 2px!important;
    margin-left: 0px!important;
    padding: 0 3px!important;
  }

#pun-report .inner h1, #pun-reputation .inner h1, #pun-admin-award-form .inner h1 {
    background: none;
    margin: 0px;
    height: 0px;
  }


li#navpr_1 {
    margin: 0 0 0 5px;
  }

#navawards a span {
    display: none;
  }

.intd .tclcon .modlist{
    display: none;
  }

div#pun-live-rusff {
    display: none;
  }

.punbb .user-avatar {
    height: 22px!important;
    width: 22px!important;
    vertical-align: middle;
    transform: rotate(45deg)!important;
    border: 2px solid black!important;
    margin: 5px 30px 50px 10px!important;
    overflow: hidden;
}
#pun-viewforum .user-avatar, #pun-searchtopics .user-avatar {
    /* margin: 5px 30px 15px 10px!important; */
    margin: 0px 30px 20px 10px!important;
}
#pun-userlist .user-avatar, #pun-messages .user-avatar {
    margin: -7px 30px 0px 10px!important;
  }
#pun-userlist .tcl {
    padding: 2em 0;
}

.punbb .user-avatar img.ava {
    border: 0px none currentColor !important;
    transform: rotate(-45deg)!important;
    height: 32px!important;
    width: 32px!important;
    margin: -8px 0 0 -7px!important;
    opacity: 0.85;
    background-position: center center;
    background-size: auto 100%;
    background-repeat: no-repeat;
}



#fortitletable .fortitle {
    opacity: 1;
     transition-duration: 2s;
  }
#fortitletable:hover .fortitle {
    opacity: 0;
     transition-duration: 0.7s;
  }
.fortable {
    opacity: 0;
     transition-duration: 0.7s;
  }
.fortable:hover {
    opacity: 1;
     transition-duration: 2s;
  }
#forneed1 p {
    display:none;
  }
#forneed2 p {
    display:none;
  }
#pun .forssil a {
    display: block;
    background: rgba(0, 0, 0, 0.75);
    white-space: nowrap;
    margin-top: 1px;
    text-align: center;
    font-family: 'Trajan Pro';
    font-size: 10px;
    color: #cdb069!important;
    padding: 5px 10px 3px 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
     transition: all 0.3s linear 0s;
}

#pun .forssil a:hover {
    background: rgba(42, 42, 42, 0.75)!important;
    transform: scale(.9);
    filter: grayscale(100%) brightness(.7)
  }

#fornav {
    position: absolute;
    display: none;
    width: 130px;
    margin-left: 180px;
  }

.fornavbutt {
    position: absolute;
    background-image: url(http://forumfiles.ru/files/0019/f0/2d/99266.png);
    width: 16px;
    height: 14px;
    display:inline-block;
    cursor: pointer; 
    margin: 10px 0 0 120px!important;
  }


small#plng {
    padding: 3px 2px 2px 6px;
    margin: 0 20px 0 10px;
    font-size: 8px;
    font-family: 'Trajan Pro';
    font-weight: bold;
    letter-spacing: 2px;
    background: rgba(19, 19, 19, 0.08);
    text-transform: uppercase;
}


#ambn62853643 {
    margin: 2em 0;
}

li.pl-share {
    display: none!important;
}



