.flexible {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-content: space-around;
  align-items: flex-start;
}

.sendmessage{
	padding: 5px 0;
}
/* Viewn */

.breakbar{padding:10px 22px; overflow:hidden; margin:0 0 18px 0; border-bottom:1px solid #757676; background:#fff; font:23px/1.2 'Segoe UI Semibold'; box-shadow:0 1px 0 #cdcfd0;}

.news_show .rows {position:absolute; left:-4000px; top:-4000px;}
.news_show .rows.current {position:relative; left:0; top:0;}


.news_slider {height:174px; position:relative; overflow:hidden; margin:0 12px 58px 15px;}
.news_slider li {width:417px; float:left;}
.news_slider li a {width:355px; height:174px; display:block;}
.news_slider li a img {vertical-align:top;}
.news_slider li a span {height:30px; line-height:30px; overflow:hidden; display:block; text-overflow:ellipsis; white-space:nowrap;}

.news_slider a.slider_next {width:78px; height:174px; position:absolute; right:0; top:0; background:#fff; background:rgba(255, 255, 255, 0.63); cursor:pointer; z-index:10;
	-webkit-transition:background .1s linear;
	-moz-transition:background .1s linear;
	-o-transition:background .1s linear;
	transition:background .1s linear;
}
.news_slider a.slider_next i {width:31px; height:31px; display:block; position:absolute; left:50%; top:56px; margin:0 0 0 -15px; background:url(/template/img/icons.png) no-repeat 0 -100px;}
.news_slider a.slider_next:hover {background:rgba(255, 255, 255, 0.55);}

	
.updatereason {
    color: #fff;
    display: block;
    background: #c35d66;
	padding: 5px 0 5px 15px;
}
.additionblock{
	height: 367px;
}
.minihead {
	padding: 15px 5px;
	background: #00796B;
	color: #fff;
	margin-bottom: 5px;
	font-size: 18px;
}
.additionblock p{
	font-size: 11px;
	color: #C9C9CA;
}
.ajaxProgress {background:#eee url(../images/loader.gif) no-repeat center center;display:block;width:40px;height:40px;margin:10px auto;border-radius:10px;border:1px solid #ddd;}
.ias_trigger{
	width: 350px;
	float: left;
	position: relative;
	margin: 0 0 24px 24px;
}
.ias_trigger a {border:1px solid #dcdcdc;display:block;color:#777;font-weight:bold;padding:10px 0;text-decoration:none;text-align:center;font-size:14px;background: #f4f4f4;background: linear-gradient(to bottom,  #f4f4f4 0%,#eaeaea 100%);
}
.ias_trigger a:hover {background: #efefef;background: linear-gradient(to bottom,  #efefef 0%,#e0e0e0 100%);
}
.ias_trigger a:active {
box-shadow:inset 0 0 5px rgba(0,0,0,.1);
}
.diamon {
	background-image: url(../images/diamon.png);
	background-repeat:no-repeat;
	display: block;
	height: 16px;
	width: 17px;
	padding: 3px 0 0;
}
.diamon:hover{
	background-color: #00796B;
	background-blend-mode: multiply;
}



/* Меню пользователя */
#profform {width:400px; display:none; position:absolute; right:-80px; top:56px; background:#fff; z-index:200;border:none;}
#profform .ins {width:100%;}
#profform .heads {overflow:hidden; position:relative;}
.userback {
	position: absolute;
}
.userback img {
	width: auto;
	height: auto;
	margin: 0;
}

.usinfo {
	width: 50%;
	position: relative;
	float: left;
}

.instr {
	padding: 8px;
}

.prof_ava {width: 100px; float: center; margin: 0 auto; padding: 10px 0;}
.prof_ava img {width:100%; height:100%; border:1px solid #515151;}
.prof_name {
	width: 100%;
	padding: 10px 0 0 0;
	overflow: hidden;
	font-weight: bold;
	font-size: 18px;
	text-align: center;
	color: #fff;
	margin: 0 auto;
	text-shadow: 1px 1px 1px rgba(150, 150, 150, 1);
}
.prof_link {width:160px; margin: 0 auto;}
.prof_link a {height:30px; line-height:28px; display:block; color:#515151; text-align:center; letter-spacing:-1px; background:#8ac122;}
.prof_link a:hover {background:#96c738;}
.prof_link a:active {background:#7cae1f;}

ul.prof_links {
	width: 50%;
	position: relative;
	float: left;
	background: rgba(1,1,1, 0.8);
}

.prof_links li {padding:5px;}
.prof_links li:hover {background: rgba(150, 150, 150, 0.3)}
.prof_links li a {color:#fff;}

#profform .bottoms {padding:4px; overflow:hidden; text-align:right; background:#e8e8e8;}
a.btn_gray {padding:2px 30px 6px; display:inline-block; border:1px solid #bababa; vertical-align:top; color:#515151; text-align:center;}
a.btn_gray:hover {border-color:#999;}
a.btn_gray:active {border-color:#777;}

/* Игровые сервера */
.main_serv {
	padding: 0 0 2px 0;
	overflow: hidden;
	width: auto;
	height: auto;
}
.main_serv .sblock {height:134px;} 

.game_server {overflow:hidden;}
.game_server li {width: 25%; height: 92px; float: left; font-weight: bold; font-size: 12px; color: #fff; text-align: center; background: #c4c4c4;}
.game_server li[data-title] {cursor:pointer;}
.game_server li[data-title]:hover {opacity:0.9;}
.game_server li .logos {height:50px; padding:10px 0 0 0; display:block; margin:0 0 3px 0;}
.game_server li img {width:50px; height:50px; vertical-align:top;}
.game_server li .sdesc {display:none;}
.game_server li .empty {padding:26px 0 0 0; display:block; text-align:center;}

.game_server li.orang {background:#db562d;}
.game_server li.blue {background:#00aedb;}
.game_server li.purple {background:#9500ea;}
.game_server li.green {background:#42a500;}
.game_server li.gray {background:#c4c4c4;}
.game_server li.lilac {background:#9500ea;}

.fancybox_desc {max-width:400px; overflow:hidden;}

.sblock {overflow:hidden;}
.sb_title {font: 28px/1.2 'Segoe UI'; background: #00796B; color: #fff; padding: 5px 10px;}

/* Краткие новости - кратка форма */
.shortnews {width:350px; float:left; position:relative; margin:0 0 24px 24px; border:1px solid #cdcfd0; border-top:0; border-bottom-color:#919293; background:#fff;
box-shadow:0 1px 0 #cdcfd0;
border-radius:0 0 3px 3px;
}
.shortnews:hover{
	border: 1px solid #adaeaf;
	border-top:0; 
	border-bottom-color:#818284;
	box-shadow:0 1px 0 #adaeaf;
	border-radius:0 0 3px 3px;	
}

.shortnews .ins {height:340px; overflow:hidden;}
.shortnews .category{position: absolute; background: #00796B; color: #fff; padding:5px;	border-bottom: 1px solid #757676;box-shadow: 0 1px 0 #515151;z-index:1;}
.shortnews .pict {height:175px; overflow:hidden; margin:0 0 5px 0; text-align:center;}
.shortnews .pict img {width:auto; height:auto; max-width:350px; min-height:175px; vertical-align:top; -moz-transition: all 1s ease-out; -o-transition: all 1s ease-out; -webkit-transition: all 1s ease-out; transition: all 1s ease-out;}
.shortnews .pict img:hover {-webkit-transform: scale(1.1); -moz-transform: scale(1.1); -o-transform: scale(1.1);transform: scale(1.1);}

.shortnews .titles {margin:0 0 8px 0;}
.shortnews .titles h1 {margin:0;}
.shortnews .titles a {color:#515151;}

.shortnews .details {height:27px; line-height:26px; overflow:hidden; border-top:1px solid #c6c6c6;}
.shortnews .details .v_rat {margin:4px 0 0 0;}
.shortnews .details .author {float:right;}
.shortnews .details .icomm {margin:0 0 0 14px;}
.shortnews .details .icomm a {padding-left:18px; color:#959595; background-position:0 7px;}

.shortnews .cont,
.shortnews .details {padding:0 6px;}

.shortnews .cont {text-align: justify;}

.shortnews .fixed .ins {height:400px;}
.shortnews .fixed .pict {height:400px;}
.shortnews .fixed  .pict img {height:400px; vertical-align:top;}
.shortnews .fixed .ilayer {bottom:-1px; z-index:2;} 
.shortnews .fixed .titles,
.shortnews .fixed .titles a {color:#fff;}
.shortnews .fixed .cont {padding:14px 16px; position:absolute; left:0; right:0; bottom:27px; color:#fff; z-index:3;}

.shortnews .fixed .details {width:auto; position:absolute; left:0; right:0; bottom:0; font-family:'Segoe UI Light'; color:#fff; border-color:#898989; background:0; z-index:3;}
.shortnews .fixed .details .v_rat,
.shortnews .fixed .details .v_rat a {color:#fff;}
.shortnews .fixed .details .author {display:none;}


/* Fancybox */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp { padding: 0; margin: 0; border: 0; outline: none; vertical-align: top; }
.fancybox-wrap {position: absolute; top: 0; left: 0; z-index: 8020; }
.fancybox-skin { position: relative; color: #444; text-shadow: none;}
.fancybox-opened { z-index: 8030; }
.fancybox-wrap { background: #fff;}
.fancybox-outer,
.fancybox-inner { position: relative; }
.fancybox-inner { overflow: hidden; }
.fancybox-type-iframe .fancybox-inner { -webkit-overflow-scrolling: touch; }
.fancybox-error { color: #444; font: 14px/20px "Helvetica Neue", Helvetica, Arial, sans-serif; margin: 0; padding: 15px; white-space: nowrap; }
.fancybox-image,
.fancybox-iframe { display: block; width: 100%; height: 100%; }
.fancybox-image { max-width: 100%; max-height: 100%; }
.fancybox-prev span,
.fancybox-next span { background-image: url('../images/fancybox/fancybox_sprite.png'); }
#fancybox-loading { position: fixed; top: 50%; left: 50%; margin-top: -22px; margin-left: -22px; background-position: 0 -185px; opacity: 0.8; cursor: pointer; z-index: 8060; }
#fancybox-loading div { width:128px; height:128px; background: url('../images/fancybox/fancybox_loading.gif') center center no-repeat; }

.fancybox-close,
a.fancybox-close {width:30px; height:30px; line-height:29px; position: absolute; top:0; right:0; font-weight:bold; font-size:24px; color:#fff; text-align:center; background: #0D690D; cursor: pointer; z-index: 8065; }
.fancybox-close:hover,
a.fancybox-close:hover {text-decoration:none; background:#47a800;}

.fancybox-nav { position: absolute; top: 0; width: 40%; height: 100%; cursor: pointer; text-decoration: none; background: transparent url('../images/fancybox/blank.gif'); /* helps IE */ -webkit-tap-highlight-color: rgba(0,0,0,0); z-index: 8040; }
.fancybox-prev { left: 0; }
.fancybox-next { right: 0; }
.fancybox-nav span { position: absolute; top: 50%; width:11px; height:18px; margin-top: -18px; cursor: pointer; z-index: 8040; visibility: hidden; }
.fancybox-prev span { left: 10px; background-position:0 -29px; }
.fancybox-next span { right: 10px; background-position:-11px -29px; }
.fancybox-nav:hover span { visibility: visible; }
.fancybox-tmp { position: absolute; top: -99999px; left: -99999px; visibility: hidden; max-width: 99999px; max-height: 99999px; overflow: visible !important; }
/* Overlay helper */

.fancybox-lock { overflow: hidden !important; width: auto; }
.fancybox-lock body {  }
.fancybox-lock-test { overflow-y: hidden !important; }
.fancybox-lock .fancybox-overlay { overflow: auto; overflow-y: scroll; }

.fancybox-overlay { position: absolute; top: 0; left: 0; overflow: hidden; display: none; z-index: 8010;}
.fancybox-overlay-fixed { position: fixed; bottom: 0; right: 0; }
/* Title helper */

.fancybox-title { visibility: hidden; position: relative; text-shadow: none; z-index: 8050; }
.fancybox-opened .fancybox-title { visibility: visible; }
.fancybox-title-float-wrap { position: absolute; bottom: 0; right: 50%; margin-bottom: -35px; z-index: 8050; text-align: center; }
.fancybox-title-float-wrap .child { display: inline-block; margin-right: -100%; padding: 2px 20px; background: #fff; /* Fallback for web browsers that doesn't support RGBa */ background: rgba(255, 255, 255, 0.8); -webkit-border-radius: 15px; -moz-border-radius: 15px; border-radius: 15px; border:2px solid #ccc; font:16px/1.2 'Segoe UI Semibold'; color: #4a4b4b; font-weight: bold; line-height: 24px; white-space: nowrap; }
.fancybox-title-outside-wrap { position: relative; padding:0 0 10px 0; font:24px/1.2 'Segoe UI Semibold'; color: #4a4b4b; text-align:center; }
.fancybox-title-inside-wrap {font: 24px/1.2 'Segoe UI Semibold';  color: #fff;  text-align: left;  background: #00796B;  height: 30px;  padding: 0 10px; margin: -15px -15px 0px;}
.fancybox-title-over-wrap { position: absolute; bottom: 0; left: 0; color: #4a4b4b; padding: 10px; background: #000; background: rgba(0, 0, 0, .8); }

.fancybox-outer .showbox {padding:10px;}


#fancybox-thumbs { position: fixed; left: 0; width: 100%; overflow: hidden; z-index: 8050; }
#fancybox-thumbs.bottom { bottom: 2px; }
#fancybox-thumbs.top { top: 2px; }
#fancybox-thumbs ul { position: relative; list-style: none; margin: 0; padding: 0; }
#fancybox-thumbs ul li { float: left; padding: 1px; opacity: 0.7; }
#fancybox-thumbs ul li.active { opacity: 1; padding: 0; border: 1px solid #fff; }
#fancybox-thumbs ul li:hover { opacity: 1; }
#fancybox-thumbs ul li a { display: block; position: relative; overflow: hidden; border: 1px solid #222; background: #111; outline: none; }
#fancybox-thumbs ul li img { display: block; position: relative; border: 0; padding: 0; max-width: none; }


.full_link_layer {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

/*
	Значок алмаза
*/
.diamond{
    background: url(../images/diamond.png) no-repeat;
    -webkit-filter: grayscale(100%);
    display: inline-block;
    width: 15px;
    height: 15px;
    transition: all 0.3s ease;
    padding: 0 2px 0 0;
}
.diamond:hover{-webkit-filter: grayscale(0%);}

/*
	Облачко комменатриев
*/

.comment-cloud{
    background: url(../images/comment-cloud.png) no-repeat;
    -webkit-filter: grayscale(100%);
    display: inline-block;
    width: 15px;
    height: 15px;
    padding: 0 2px 0 0;
}
.edit{
    display: block;
    border-style: solid;
    border-width: 20px 20px 0 20px;
    border-color: #C6004E transparent transparent transparent;
}

/*---Выпадающее меню кнопки редактировать---*/
#dropmenudiv {
    padding: 10px 15px;
    display: block;
    background: #fff;
    box-shadow: 0 1px 2px rgba(26, 26, 26, 0.50);
}
#dropmenudiv a {
    padding: 2px 15px 4px;
    display: block;
    margin: 0;
    font-size: 16px;
    color: #515151;
}


/*
	Информация о сообщениях
*/
.pm-inform{
	padding: 1px;
	border: 1px solid #eaedf2;
	background: #E7F0EB;
}
.pm-inform-h{
	height: 44px;
	font: normal 12px/44px Arial;
	color: #107C10;
	padding: 0 15px;
}
.pm-inform-h a{
	float: right;
	color: #0D690D;
	font-size: 11px;
	text-decoration: none;
}
.pm-inform-h a:hover{
	text-decoration: underline;
}
.pm-inform-list{
	list-style: none;
	margin: 0;
	padding: 0;
}
.pm-inform-list li{
	display: block;
	font: normal 12px/20px Arial;
	margin: 1px 0 0 0;
	padding: 0;
	color: #888;
}
.pm-inform-list li.pm-inform-empty{
	padding: 15px 0;
	background: #fafafa;
	border-top: 1px solid #fff;
	text-align: center;
}

.pm-inform-item{
	display: block;
	position: relative;
	height: 40px;
	padding: 10px 10px 10px 60px;
	background: #fafafa;
	border-top: 1px solid #fff;
	color: inherit;
	text-decoration: none;
}
.pm-inform-item:hover{
	background: #fff;
	text-decoration: none;
	color: #555;
}
.pm-inform-ava{
	float: left;
	margin-left: -50px;
	width: 40px;
	height: 40px;
	overflow: hidden;
}
.pm-inform-ava img{
	width: 40px;
	height: 40px;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
}
.pm-inform-date{
	position: absolute;
	top: 10px;
	right: 5px;
	font-size: 10px;
	color: #bbb;
	background: inherit;
	padding: 0 5px;
}
.pm-inform-author{
	font-weight: bold;
	color: #5b9be1;
	display: block;
	height: 20px;
	overflow: hidden;
}
.pm-inform-subj{
	display: block;
	height: 20px;
	overflow: hidden;
}

/*---Смайлы---*/

.emoji {
    border: none;
    vertical-align: middle;
    width: 22px;
    height: 22px;
}

/* --- Сортировка статей --- */
.sort { list-style: none; padding: 0; margin: 0; }
  .sort > li, .sort { display: inline; }
  .sort > li { margin: 0 0 0 3%; }
  .sort > li a { color: #353535; }
  .sort > li.asc a, .sort > li.desc a { color: #3394e6; }
  .sort > li.asc a:after, .sort > li.desc a:after {
    content: "";
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAsBAMAAACj90TiAAAAG1BMVEUAAAAzlOYzlOYzlOYzlOYzlOYzlOYzlOYzlOar6gzlAAAACHRSTlMAjesv90eHRuQt1XUAAABSSURBVBjTzdCxDQAhDENRSyzAEFdQ0zDB9axEgzw2DokEI1A9/S4OyAxADEcpPGlpFKWoSpEKp0Dlb6SvG2jY4Fka4tw4PqbEsDNTcb8gn/d4LPQHQDdjhblbAAAAAElFTkSuQmCC);
    display: inline-block;
    vertical-align: middle;
    margin: -1px 0 0 .4em;
    width: 6px; height: 11px;
    -webkit-background-size: 6px auto; background-size: 6px auto;
}
.sort > li.asc a:after { background-position: 0 -11px; }

/*---Дополнительные поля---*/
.xfieldsrow {
  padding-top:5px;
  clear: both;
}
.xfieldscolleft {
  float: left;
  width: 30%;
}
.xfieldscolright {
  float: left;
  width: 70%;
}
.file-box {
  width: 95%;
  max-width: 437px;
  border:1px solid #B3B3B3;
  -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;
  background-color: #F5F5F5;
  padding: 10px;
  margin-top: 10px;
}

.qq-uploader { position:relative; width: 100%;}

.qq-upload-button {
  display:inline-block;
  padding:4px 10px 4px 10px;
  margin-top:5px;
  font: bold 11px/1.5em Verdana;color:#000000;
  border:1px solid #CACACA;
  cursor:pointer;
}
.qq-upload-drop-area {
  position:absolute; top:0; left:0; width:100%; height:100%; z-index:2;
  max-width: 437px;
  background:#FF9797; text-align:center; 
}
.qq-upload-drop-area span {
    display:block; position:absolute; top: 50%; width:100%; margin-top:-8px; font-size:16px;
}

.qq-upload-drop-area-active {background:#FF7171;}
.uploadedfile {
    width: 115px;
    height: 130px;
    margin: 10px 5px 5px 5px;
    border:1px solid #B3B3B3;
    box-shadow: 0px 1px 4px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    background:#ffffff;

}

.uploadedfile .uploadimage {
    margin-top: 5px;
    width: 115px;
    height: 90px;
    display: table-cell;
    text-align: center;
    vertical-align:middle;
}

.uploadedfile .info {
    text-align: left;
    white-space: nowrap;
    margin: 0px 5px 0px 5px;
    overflow: hidden;
}

.progress {
    overflow:hidden;
    margin-top:10px;
  margin-bottom:10px;
    background-color:whitesmoke;
    height:10px;
    -webkit-border-radius:8px;
    -moz-border-radius:8px;
    -ms-border-radius:8px;
    -o-border-radius:8px;
    border-radius:8px;
    background:#eee;
    -webkit-box-shadow:0 1px 0 white, 0 0px 0 1px rgba(0, 0, 0, 0.1) inset, 0 1px 4px rgba(0, 0, 0, 0.2) inset;
    box-shadow:0 1px 0 white, 0 0px 0 1px rgba(0, 0, 0, 0.1) inset, 0 1px 4px rgba(0, 0, 0, 0.2) inset;
}
 .progress .progress-bar {
    float:left;
    width:0%;
    font-size:12px;
    line-height:20px;
    color:white;
    text-align:center;
    background-color:#428bca;
    -webkit-box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    -webkit-transition:width 0.6s ease;
    transition:width 0.6s ease;
    -webkit-border-radius:8px;
    -moz-border-radius:8px;
    -ms-border-radius:8px;
    -o-border-radius:8px;
    border-radius:8px;
    -webkit-box-shadow:none;
    box-shadow:none;
    height:8px;
}
.progress-bar span{
    position:absolute;
    width:1px;
    height:1px;
    margin:-1px;
    padding:0;
    overflow:hidden;
    clip:rect(0 0 0 0);
    border:0;
}
.progress-blue {
    background-image:-webkit-gradient(linear, left 0%, left 100%, from(#9bcff5), to(#6db9f0));
    background-image:-webkit-linear-gradient(top, #9bcff5, 0%, #6db9f0, 100%);
    background-image:-moz-linear-gradient(top, #9bcff5 0%, #6db9f0 100%);
    background-image:linear-gradient(to bottom, #9bcff5 0%, #6db9f0 100%);
    background-repeat:repeat-x;
    border:1px solid #55aeee;
}