/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
HTML {
    background: #707171 url(https://forumstatic.ru/files/001b/9c/1b/51388.jpg) no-repeat fixed top center;
    background-size: cover;
}

/* Шапка */
#pun-title table {
    background-image: url(https://forumstatic.ru/files/001b/9c/1b/71850.png);
    background-repeat: repeat-x;
    background-position: top left;
    border: none;
    width: 1000px;
    height: 312px;
    margin-left: -20px;
    overflow-x: hidden;
    margin-top: -230px;
}

/* Тело форума */
#pun {
    background-position: center top;
    background-repeat: repeat-y;
}


/* Футер */
#pun-about p.container {
    background:transparent;
    height: 54px;
    width: auto;
    padding: 0 !important;
    border: none !important;
}


/* 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: #111111;
    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: #111111;
    text-align: center;
    font-style: normal;
    font-family: 'Prata';
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    color: #111111;
    background: #d7d7d7 url(https://forumstatic.ru/files/001b/9c/1b/48941.jpg?v=1) repeat;
    border: 1px solid #a8a8aa;
}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb input {
    color: #111111;
    background: #d7d7d7;
}


/* Тень и закругление */
.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: #d7d7d7 url(https://forumstatic.ru/files/001b/9c/1b/56332.jpg) repeat;
}


/* 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: #4f646d;
  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: #799cab;
    transition-duration: 1s;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
color: #799cab;
    transition-duration: 1s;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 11px;
    color: #0e0e0e;
    font-weight: 400;
    text-transform: lowercase;
    font-family: open sans;
}

#pun-ulinks a:hover {
    text-decoration: none;
color: #799cab;
}


#pun-navlinks a {
    color: #121710;
    transition-duration: 1s;
    text-shadow: 0px 0px 1px #535844;
}

#pun-navlinks a:focus, #pun-navlinks a:active {
color: #799cab;
transition-duration: 1s;
}


#pun-navlinks a:hover {
color: #799cab;
  transition-duration: 1s;
}

/* CS3 Остальное 
-------------------------------------------------------------*/

tr.inew div.icon {
    background: #6c7f87;
    height: 38px;
    width: 6px;
    border: 1px solid #4d626b;
    margin-right: 5px !IMPORTANT;
    margin-left: -2px;
    margin-top: 10px;
}

div.icon {
display:none;
}

#pun-viewforum TR.iclosed Div.icon, #pun-messages TR.iclosed Div.icon, #pun-searchtopics TR.iclosed Div.icon {
    background: #858786;
    border: 1px solid #494a4a70;
    height: 7px;
    width: 7px;
    border-radius: 100%;
    margin-right: 8px !important;
    margin-top: 4px;
}

#pun-viewforum TR.isticky Div.icon, #pun-messages TR.isticky Div.icon, #pun-searchtopics TR.isticky Div.icon {
    background: #4f7989;
    border: 1px solid #3f6472;
    height: 7px;
    width: 7px;
    border-radius: 100%;
    margin-right: 8px !important;
    margin-top: 4px;
}

#pun-viewforum table Div.icon, #pun-messages table Div.icon, #pun-searchtopics table Div.icon {
    background: #bebfbf;
    border: 1px solid #ababaf;
    height: 7px;
    width: 7px;
    border-radius: 100%;
    margin-right: 8px !important;
    margin-top: 4px;
}

#pun-viewforum TR.inew Div.icon, #pun-messages TR.inew Div.icon, #pun-searchtopics TR.inew Div.icon {
    background: #677d85;
    border: 1px solid #556a73;
    height: 7px;
    width: 7px;
    border-radius: 100%;
    margin-right: 8px !important;
    margin-top: 4px;
}


/* 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}



/*---Прокрутка---*/
::-webkit-scrollbar {
    width: 11px;
    height: 11px;
    background-color: #dedede;
}

::-webkit-scrollbar-thumb {
    background-color: #262828;
    border: 5px solid #dedede;
}


::selection {
    background: #50656e !important;
    color: #dddddd;
}


td.tcr a {
    /* text-transform: lowercase; */
    font-weight: 600;
    font-size: 13px;
    text-shadow: 0px 0px 1px #a5a3a3;
    color: #3b5864 !IMPORTANT;
    transition: 1s;
}


td.tcr a:hover {
    /* text-transform: lowercase; */
    font-weight: 600;
    font-size: 13px;
    text-shadow: 0px 0px 1px #a5a3a3;
    color: #2f2f2f !IMPORTANT;
    transition: 1s;
}

.punbb .user-avatar .avatar-image {
    border: 1px solid #a7a7a7;
    width: 38px !important;
    height: 38px !important;
    border-radius: 0 !important;
   
}


.punbb .user-avatar .isonline {
    margin-right: -7px;
    background: #4e636c !important;
}


.punbb .user-avatar {
    margin: 1px 14px 2px 0px !important;
}


#pun-index .tclcon a {
    display: inline-block;
    position: relative;
    margin: 0 3px;
}



.category .container thead {display: none;}

.punbb .pa-avatar img {
    max-width: 180px !important;
    margin-bottom: 0px;
    border: 3px solid #dddddd;
    outline: 1px solid #a5a6a6;
    margin-top: 3px;
    box-shadow: 0px 0px 5px #99988494;
}


#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;
    top: 43px;
    overflow-y: auto;
    padding-top: 10px;
    background: #d7d7d7 url(https://forumstatic.ru/files/001b/9c/1b/56332.jpg) repeat;
    border: 1px solid #c3c3c3;
}


.punbb .post-content a, .punbb .post-content a:link {
    font-weight: bold;
    color: #3e5159;
}


.pun-modal .modal-inner {
    width: 700px;
    max-width: 94%;
    height: auto;
    max-height: 44em;
    margin: 12% auto 0;
    position: relative;
    z-index: 120000;
    overflow: hidden;
    background: #d7d7d7 url(https://forumstatic.ru/files/001b/9c/1b/56332.jpg) repeat;
    border: 1px solid #c3c3c3;
}


.button {
    font-family: open sans;
    background-color: #596f78 !important;
    font-size: 9px !important;
    margin-top: 5px !important;
    border: none;
    padding: 4px 15px 4px 15px !important;
    text-decoration: none;
    transition: all 0.5s ease-in-out 0s;
    vertical-align: middle;
    text-transform: uppercase;
    font-weight: 400 !important;
    border-radius: 1px !important;
    letter-spacing: 0.3px;
    color: #dcdcdc !IMPORTANT;
    border: 1px solid #b5b5b57d;
    text-align: justify;
    box-shadow: 0px 0px 5px #a7a1a1, 0px 0px 5px #00000040 inset;
}


#video-area-tinp, #image-area-tinp {
    margin: .5em 0;
    padding: .3em;
    background: #d7d7d7 url(https://forumstatic.ru/files/001b/9c/1b/56332.jpg) repeat;
    border: 1px solid #c3c3c3;
    height: 70px;
}



#MyBookmarks {
    display: none;
    position: fixed;
    z-index: 101;
    left: 0;
    top: 0;
    right: 0;
    height: 100%;
    box-shadow: 0 0 20px rgba(0,0,0,.5);
    width: 240px;
    background: #d7d7d7 url(https://forumstatic.ru/files/001b/9c/1b/56332.jpg) repeat;
    border: 1px solid #c3c3c3;
}


#BookmCntToggle.default-style {
    background: #F7F7F7;
    border-left: solid 5px currentColor;
    box-shadow: 0 0 6px rgb(0 0 0 / 42%);
    color: #7a5634 !important;
    display: block;
    height: 26px;
    width: 21px;
}



#mask_dialog .inner {
    cursor: default;
    margin: 0;
    width: 760px;
    max-width: 99%;
    max-height: 90%;
    overflow-x: auto;
    z-index: 100;
    background: #d7d7d7 url(https://forumstatic.ru/files/001b/9c/1b/56332.jpg) repeat;
    border: 1px solid #c3c3c3;
    padding: 8px;
}




#MyBookmarks h2 {
margin: 10px 0 10px 0 !important;
}


#pun-viewforum .tclcon, #pun-messages .tclcon, #pun-searchtopics .tclcon {
    font-weight: 500;
    font-size: 12px;
    font-family: open sans;
    text-transform: uppercase;
    text-transform: none;
}

#pun-viewforum .tclcon a, #pun-messages .tclcon a, #pun-searchtopics .tclcon a {
    font-weight: 500;
    font-size: 12px;
    font-family: open sans;
    text-transform: uppercase;
}



#pun-viewforum td.tcr a, #pun-messages td.tcr a, #pun-searchtopics td.tcr a {
    font-weight: 500;
    font-size: 12px;
    font-family: open sans;
    text-transform: uppercase;
    text-shadow: 0px 0px 1px #7b7c69;
}


#pun-viewforum span.byuser, #pun-messages span.byuser, #pun-searchtopics span.byuser {
    font-size: 12px;
    font-family: open sans;
    text-transform: uppercase;
    text-transform: none;
}

.punbb .post .post-author  a {
    color: #4e636c;
    font-weight: 500;
}

.pa-ip {
    font-family: open sans;
    font-size: 9px;
    text-transform: lowercase;
}


#tags .container {
    position: absolute;
    right: 6px;
    top: 43px;
    z-index: 2;
    background: #d7d7d7 url(https://forumstatic.ru/files/001b/9c/1b/56332.jpg) repeat;
    border: 1px solid #c3c3c3;
}



#imageupload-left input[type=button] {
    width: auto !important;
    text-align: center;
}



#MyBookmarks h2, #MyBookmarks h1, .editBookmark h2 {
    position: relative;
    width: auto;
    z-index: 9999999;
    margin-left: 0px !important;
}



#pun-viewforum .main td {
    padding: 0.5em 1em;
    vertical-align: top;
}






@media screen and (max-width: 540px) {#pun-navlinks li a:before {display:none}  }
#pun-navlinks li a span {font-size:0;
display: none} #navpr_1 li span {font-size:0; display: none}

#navindex a:before {content:"\f0c9";     font-family: icon; font-size: 19px} 
#navuserlist a:before {content:"\f0c0";     font-family: icon;} /* Участники */
#navsearch a:before {content:"\f002";     font-family: icon;} /* Поиск */
#navpm a:before {content:"\f0e0";     font-family: icon;} 
#navprofile a:before {content:"\f2bb";     font-family: icon;} 
#navadmin a:before {content:"\f085";     font-family: icon;} 
#navlogin a:before {content:"\f090";     font-family: icon;}
#navlogout a:before {content:"\f08b";     font-family: icon;} 
#navregister a:before {content:"\f067";     font-family: icon;} /* Регистрация */
#navpr_1 a:before {content:"\f0f3";     font-family: icon;}


#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;}


#pun-navlinks a {
    color: #dcdcdc;
    text-align: center;
    opacity: 1;
    font-weight: lighter;
    font-size: 14px !important;
    margin-top: 10px;
    margin-left: 8px;
    padding: 0px !important;
    text-transform: uppercase;
    display: block;
    height: 30px;
    width: 30px;
}

#pun-navlinks a span {    padding: 0px !important;}


#pun-main .category h2, #pun-stats h2 {
    font-family: prata !important;
    font-size: 15px !important;
    text-transform: uppercase;
    padding: 3px 0 0 0 !important;
    font-weight: 500;
    text-shadow: 0px 0px 1px #7c7b7b !important;
    margin: 0px 0px 10px -3px !important;
    height: 26px;
    width: 967px;
    color: #000 !important;
    border-width: 1px 0 1px 0 !important;
    box-sizing: border-box;
    letter-spacing: 0.7px;
    text-align: center;
    border: 1px solid #a7a7a7;
    background: #707171 url(https://forumstatic.ru/files/001b/9c/1b/17089.jpg) repeat;
    background-size: cover;
}


/* Новости
-------------------------------------------------------------*/

.exmachina {
    position: relative;
    padding: 22px 23px 9px;
    left: 50px;
    background: #495c63;
    width: 568px;
    margin: 20px 0;
    overflow: hidden;
}

.exbackground {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  background-image: url(https://forumstatic.ru/files/001b/9c/1b/51388.jpg);
  opacity: 0.4;
  background-size: cover;

}

.extext {
  position: relative;
  z-index: 1;
  text-align: justify;
  color: #eee;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  line-height: 145%;
}
.extext a {

    font-size: 1em !important;
    font-weight: 500 !important;
    color: #799cab !important;
    text-decoration: underline !important;

}
.exmachina .exside {
    position: absolute;
    background: #536b75;
    height: calc(100% - 30px);
    bottom: 0px;
    width: 10px;
    padding: 15px;
    left: -50px;
    border-right: 1px solid #3a4a4f;
    writing-mode: sideways-lr;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: .3px .3px 0 #333, -.3px -.3px 0 #333, .3px -.3px 0 #333, -.3px .3px 0 #333;
    font-family: cousine;
    font-size: 11px;
    line-height: 100%;
    text-align: left;
}

.exmachina .extext h1 {
  font-size: 17px;
  font-family: 'Cormorant Garamond', serif;
  color: #fff;
  letter-spacing: 2px;
  background: #3a4a4f;
  padding: 5px;
  border: 1px solid #3a4a4f;
  line-height: 100%;
  padding-top: 7px;
  padding-bottom: 4px;
  padding-left: 14px;
}

.blinking-cursor {
  font-weight: 100;
  color: #220631;
  animation: 1s blink step-end infinite !important;
  text-shadow: none;
}

@keyframes blink {
  from, to {
    color: rgba(0,0,0,0);
  }
  50% {
    color: #ccc;
  }
}

.exbottomstuff {
    padding: 19px 0 0;
    position: relative;
    margin-top: 0;
}

.exmachina .ex {
  font-size: 11px;
  color: #ccc;
  font-family: cousine;
}

.exbottomstuff img {
  width: 50px;
  height: 50px;
  padding: 5px;
  border: 1px solid #3a4a4f !important;
  object-fit: cover;
  position: relative;
  left: 0px;
}

.exbottomstuff::before {
    content: "";
    position: absolute;
    height: 60px;
    width: 395px;
    right: -50px;
}

.exbottomstuff::after {
    content: "";
    position: absolute;
    height: 60px;
    width: 462px;
    right: -50px;
    height: 1px;
    top: 52px;
}
.extext-text-b2 {
    text-align: right;
    width: 100%;
    display: block;
    font-size: 0.9em !important;
    position: absolute;
    bottom: 23px;
    right: -1px;
    color: #799cab;
    z-index: 1;
}
.extext b {
    color: #799cab;
    font-size: 11px;
    letter-spacing: 0.1em;
    font-weight: 500 !important;
}
.extext-text {
    background-color: rgba(58, 74, 79, 0.6);
    padding: 7px 16px;
    font-family: 'Roboto', sans-serif;
}
.extext-text-b1 {
    text-align: center;
    width: 100%;
    display: block;
    font-size: 9px !important;
}
.extext-text-block {
    width: 100%;
    margin-top: 8px !important;
}
.extext-text-block-2 {
    width: 100%;
    margin-top: 8px !important;
    display: inline-block;
    margin-bottom: 19px !important;
}
.extext-text-block-one {
  width: 25%;
  float: left;
  text-align: center;
  font-size: 9px;
  margin-bottom: 12px !important;

}
.extext-text-block-one img {
    margin-bottom: 3px !important;
}
.extext-text-block-one p {
    margin: 0 !important;
    height: 13px;
}
.extext-text-block-one-p2 {
  font-size: 7px !important;
}
.extext-text-block-2-1 {
  float: left;
  text-align: center;
}
.extext-text-block-2-2 {
    float: left;
    height: 100px;
    width: 271px !important;
    margin-left: 20px !important;
    text-align: justify;
    color: #d7d7d7;
    padding-right: 5px;
    line-height: 13px;
    font-family: roboto;
    font-size: 9px;
    overflow-y: auto;
    margin-right: 21px !important;
}

.extext-text-block-2-3 {
float: center;
margin-top: 30px !important
}