/*** D.iK.iJ - http://dikij.com/wm/adaptaciya-saytov.php ***/

@media screen and (min-width: 961px) {
body {overflow: auto !important;}
#zakr, #hovr {display: none !important;}
#menu_head {display: block !important; left: 0px !important;}
}

@media screen and (max-width: 960px) {
img {max-width: 100% !important; height: auto !important; box-sizing: border-box;}
iframe, textarea, input, button, submit, select, video, object, embed {max-width: 100% !important; box-sizing: border-box;}
table, span, div, ins {max-width: 100% !important;}

html, body {font-size: 16px;}
.newsinlent {font-size: 16px;}
.comm_num {font-size: 12px;}
.short-story-comments {font-size: 12px;}
.slink {font-size: 12px;}
.textin {font-size: 16px;}
.bbcodes {font-size: 12px;}

.hidemobile {display: none !important;}

#login_mobile {display: block !important; text-align: center; padding: 15px; background: #fff;}
#login_mobile a {display: inline-block;}
#login_mobile > a {font-size: 14px; margin-right: 0px !important;}
#login_mobile img {width: 16px !important;}
#login_mobile .login_name_top, #login_mobile .login_password_top {width: 100%; box-sizing: border-box; margin: 5px 0px !important; height: auto; font-size: 16px; float: none;}
#login_mobile .login_password_top {width: 92%; width: calc(100% - 44px);}
#login_mobile #login_not_save {float: none; bottom: 0px;}
#login_mobile .login_submit_top {top: 0px; float: none;}
#login_mobile .style2 {display: inline-block;}

body .wrapper {width: 100% !important;}
.toplog {width: 100%; height: auto; box-sizing: border-box; padding: 0px 15px; overflow: hidden; background-color: #2a2a2e;}
#link_top {margin: 2px 0 0 0px;}
.searchform_top {width: auto; padding-right: 23px; box-sizing: border-box; margin-left: 0px; float: none; background: #fff; border-radius: 0px 0px 5px 5px; border: 1px solid #fff; border-top: 0px; box-shadow: inset 0px 2px 5px 0px #b3b3b3;}
.searchform_top .storytopserch {float: none; margin: 0px; height: 24px; font-size: 16px; width: 100%; box-sizing: border-box;}
.searchform_top .submittopserch {position: absolute; right: 0px; top: 0px; float: none; margin: 4px 3px 0 0;}
#login_top {display: none;}

#header {overflow: hidden;}
#header_ins {position: relative; background: #f9f9f9; background: -ms-linear-gradient(top, white 0%,#fafafa 50%,#d9d9d9 100%); background: -o-linear-gradient(top, white 0%,#fafafa 50%,#d9d9d9 100%); background: -moz-linear-gradient(top, white 0%,#fafafa 50%,#d9d9d9 100%); background: -webkit-linear-gradient(top, white 0%,#fafafa 50%,#d9d9d9 100%); background: linear-gradient(top, white 0%,#fafafa 50%,#d9d9d9 100%); width: 100%; height: auto; overflow: hidden; border-radius: 5px; border: 1px solid #d9d9d9; border-bottom: 2px solid #989898; box-sizing: border-box;}
#logo {float: none; width: 196px; height: auto; margin: 15px 0px 10px 15px;}
#logo img {height: 50px !important; width: 196px;}
#topnews {display: none;}

#menu_head {float: none !important; margin: 0px; padding: 0px; width: 270px !important; max-height: 100%; height: 100%; box-sizing: border-box; overflow: auto; position: fixed; display: none; background-color: #ccc; top: 0px; left: -100%; right: auto; z-index: 201; -webkit-transition: left 0.5s; -moz-transition: left 0.5s; -o-transition: left 0.5s; transition: left 0.5s;}
#logo {margin: 0px; padding-top: 5px; padding-bottom: 5px; background: linear-gradient(0deg, #dfdfdf,#fff); display: block; width: 100%;}
.topnews{clear: all; width: calc(100% - 30px);}
.link_topnews {  border-top: 1px solid #ececec; padding: 7px 0px;}
nav.main_selector {width: 100%;}
.news_list { padding-top: 14px; }
/*.news_list.ttable{ padding-top: 15px; }*/
/*.ttable.news_list {font-size: 0.95em; }*/
/*.ttable.news_list a  {}*/
.undertable_links{ color: #fefefe; }
.ttable.news_list a .fcname {line-height: 1.2em; padding: 0px 4px; padding-top: 3px;}
.ttable .undertable_links a {display: inline;}
.topnews a.group_selector {width:calc(100%/3 - 8px); padding: 8px 2px;}
.link_topnews time {border: 0px; display: block; float: left; color: #444; font-size: 0.77em; font-weight: bold;}
.news_list a, .link_topnews a { overflow: visible; max-height: initial;}
.link_topnews a { line-height: 1.1em; font-size: 0.85em; padding: 0px;}
.news_list .link_topnews:last-child > a{
	  border-bottom: 1px solid #ececec; padding: 4px 0px;
}
header a.button,header a.button:link, .undertable_links a{
	margin-top: 5px;
	display: inline-block;
	padding: 5px 8px;
	border-radius: 5px;
	background: linear-gradient(0deg, #153a7d,#6d86b2);
	color: #fff;
	font-size: 0.9em;
}
article.not_online  div.short-story-news img{
	width: 140px;
	height: 140px;
}
.short-story-info{
	display: none;
}
.not_online .short-story-news{
	font-size: 0.8rem;
	color: #303030;
}
.shortstory-date2{
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 5px;
	margin-bottom: 3px;
	color: grey;
	border-bottom: 1px solid #E8ECF1;
	border-top: 1px solid #E8ECF1;
}
.short-story h2 {
	font-size: 1.05rem;
	/*font-weight: bold;*/
	border: 0px;
	background-color: transparent;
	margin: 0px; 
	padding: 3px 0px;
	margin-bottom: 0px;
	margin-top: 10px;
	font: normal 1rem/1.15rem tahoma;
}
.short-story.article_online h2{
	border-top: 1px solid #E8ECF1;
	border-bottom: 1px solid #E8ECF1;
	font-size: 1.15rem;
	padding: 7px 0px;
	font-weight: normal;
	

}
.fullstory .fullstory-text div.quote{
	font-size: 1.25rem;
    line-height: 1.45rem;	
}
.not_online .short_description{
	text-align: left;
	padding-left: 145px;

}

.article_online .timeout_counter{
	font-size: 0.9rem;
}

.article_online #timer_refresh{
	width: 100px;
}
.short-story.article_online .short-story-news{
	font-size: 0.9rem;
}
.short-story a h2, .short-story.not_online a h2 {
	color:#000000;
	font-weight: bold;
	font-size: 0.9rem;
}
.article_online a h2 {
	color:#526f9b;
}
.fullstory h1{
	/*font-size: 1.15rem;*/
	color:#000000;
	font: bold 1.1rem/1.35rem tahoma;
	/*border: 0px;*/
	padding: 5px 0px;
	margin: 0px;
	margin-bottom: 5px;

	/*margin: 10px 0px;*/
}
.fullstory header{
	margin-bottom: 10px;
}
.author_block{
	font-size: 0.8rem;
}
.fullstory-text, .fullstory_lead{
	font-size: 0.85rem;
	line-height: 1.1rem;
	color: #303030;
	text-align: left;
}
/*.topnews a.group_selector {    width: calc(100%/2 - 8px);}*/
#buter {width: 32px; height: 23px; cursor: pointer; box-sizing: content-box; background: url('/templates/adapt/buter.png') center no-repeat; display: block !important; padding: 6px; position: absolute; top: 32px; margin-top: -19px; right: 9px; z-index: 199; background-size: 32px 23px !important;}
#zakr {z-index: 99999990 !important; cursor: pointer; color: #ffffff; position: fixed; right: 5px; top: 5px; padding: 0; font-size: 25px; line-height: 25px; width: 25px; text-align: center;}
#zakr:hover {color: #ff0a00 !important;}
#hovr {background: #000000; background: rgba(0, 0, 0, 0.7); position: fixed; top: 0px; bottom: 0px; left: 0px; right: 0px; z-index: 200; opacity: 0; -webkit-transition: opacity 1s; -moz-transition: opacity 1s; -o-transition: opacity 1s; transition: opacity 1s;}
#menu_head_1 li {float: none;}
#menu_head_1 a {float: none; padding: 10px 15px !important; height: auto; line-height: normal;}
#menu_head_1 > li > a {display: block;}
#menu_head_1 > li > a:before {display: none;}
/*#menu_head_1 li a.active {background: none !important; text-decoration: underline;}*/
#menu_head_1 li ul {position: static !important; margin-top: 0px; padding-left: 15px;}
#menu_head_1 li ul a {padding: 5px 15px !important;}
#menu_head_1 li ul li {float: none;}
#menu_head_1 li ul li a {height: auto; line-height: normal;}
#menu_head #menu_head_1 {background-color: #1e1d20;}

#menu_head li.sub {position: relative;}
#menu_head li.sub > a {pointer-events: none;}
#menu_head li.sub:after {content:""; transform: rotate(90deg); display: inline-block; width: 0px; height: 0px; margin-left: 2px; vertical-align: middle; border-top: 4px solid; border-right: 4px solid transparent; border-left: 4px solid transparent; color: #fff; position: absolute; right: 15px; top: 17px;}
#menu_head li.sub:hover:after {transform: rotate(0deg);}

.menu_head_2 li {float: none;}
.menu_head_2 > li > a {padding: 10px 15px !important; display: inline-block;}
#menu_head ul {float: none;}
ul.menu_head_2 li ul {position: static !important; max-height: none !important; padding-left: 30px !important; padding-right: 15px !important;}
ul.menu_head_2 li ul a {padding: 5px 0px; display: block;} 

.maincontent {overflow: hidden;}
.left, .right {display: none;}
#innermobile {display: block !important;}
#innermobile .left, #innermobile .right {overflow: hidden; display: block !important; float: none; width: auto; margin: 0 15px 0 15px;}
#innermobile a.group_selector {margin: 8px 1%; box-sizing: border-box; width: 48%;}
#innermobile .left > noindex > div {float: none !important;}
#innermobile .lastnews a {margin-right: 0px;}
#innermobile .maincontent .side_header {height: auto; line-height: normal; padding: 7px;}
.lastnews a{font-size: 0.8em;}
.hoverall {margin-right: 15px;}
.clubs_list {width: auto; padding: 5px 15px; box-sizing: border-box; margin-left: 0px; margin-right: 0px;}
.clubs_page {white-space: nowrap; overflow: auto; max-width: none !important; padding-left: 0px;}
.clubs_page::-webkit-scrollbar {height: 5px; background-color: #f1f1f1;}
.clubs_page::-webkit-scrollbar-thumb {background-color: #c1c1c1; border-radius: 5px;}
.clubs_page .club_item {display: inline-block; vertical-align: top; float: none; max-width: 55px !important; width: auto !important; white-space: normal;}
.clubs_page .club_item img {margin-left: auto; margin-right: auto;}
.club_selector {margin-right: 10px;}

#lastgame {width: 100%; box-sizing: border-box; margin: 4px auto 2px;}
#last_game_block {width: 100%; box-sizing: border-box;}
#last_game_block .block_champ_news {overflow: hidden;}
#last_game_block .block_champ_news .news {display: block; float: none; margin: 5px 10px; width: auto;}
#last_game_block .hover {width: 12px; height: 12px; background-size: 100% 100%;}
.news {text-align: left;}

main, .contentos {float: none; width: auto; overflow: hidden;}
#dle-content {float: none; box-sizing: border-box; margin-bottom: 15px; padding-left: 15px; padding-right: 15px;}
.short-story {float: none; width: auto; overflow: hidden;}
.short-story-news {float: none; width: auto; text-align: left; margin: 5px 0px 10px;}
.short-story-news > div {padding-left: 0px !important;}
.short-story-info {float: none; padding: 1px 5px 5px; margin: 5px 0px 10px; width: auto;}
.short-story-news div:first-child img, .short-story-news img {margin: 0 10px 10px 0;}
.short-story-date2 a time {font-size: 12px;}
.short-story-tags {font-size: 14px;}
.short-story-tags.fulll-tags {margin: 0px 1px 10px 0px;}
.navigationdiv {padding: 0px 10px; box-sizing: border-box;}
.navigationdiv span, .navigationdiv a {margin-bottom: 5px; display: inline-block; vertical-align: top; white-space: nowrap; max-width: none;}
.short-story-bottom {width: auto; float: none; overflow: hidden; font-size: 12px;}
.short-story_foter {float: none; width: auto; overflow: hidden; margin: 0 0 5px 0;}
.short-story-related-news {margin-left: 0px;}
.short-story-related-news li {line-height: normal; padding: 2px 0px;}
.season_block {width: 24%; box-sizing: border-box;}
.ctitle {font-size: 12px;}
.stat-wrapper h4 {clear: both;}
table.slink {width: 100%; box-sizing: border-box;}
.news, .news1, .quote {text-align: left;}
.dropdown-content {z-index: 10;}
.tag-tournamenttable, .tag-matches {overflow: auto;}

td.slink[background$="/mtdbgbot.gif"] {border-top: 1px solid #e9e9e9; border-bottom: 1px solid #e9e9e9; background: -webkit-linear-gradient(top, #fff 0%, #f7f7f7 3%, #fff 20%, #fff 80%, #f7f7f7 97%, #fff 100%);}

.adsbygoogle, #ya_direct, #CASgiYrl, #oFOCwDih {overflow: hidden;}
#CASgiYrl > div, #oFOCwDih > div {width: 100% !important;}

footer {display: block; float: none; padding: 0px 15px 5px;}
footer .rf_social img {max-width: 32px !important;}
footer .rf_description {min-width: 0px; padding: 15px 0px; height: auto;}
footer .base_links {font-size: 16px;}
}
@media screen and (max-width: 790px) {
footer {position: relative;}
footer .rf_description {width: 100%; float: none;}
footer .rf_social {padding: 0px; text-align: center;}
footer .rf_social img {width: 32px !important; margin-top: 4px;}
footer .rf_counters {text-align: center}
footer .base_links {display: block; text-align: center;}
.base_links a {float: none; display: inline-block; vertical-align: top;}
}
@media screen and (max-width: 650px) {
.season_block {width: 50%;}
.search {display: block; width: auto; height: auto; font-size: 12px;}
#searchtable table {width: 100%; box-sizing: border-box;}
.pm_status {width: 100%; box-sizing: border-box; height: auto; margin-right: 0px; margin-bottom: 15px;}
.pm_status_content {width: 100%; box-sizing: border-box;}
#dle-comments-form table {width: 100%; box-sizing: border-box;}
#dle-comments-form td.news {padding-left: 0px !important;}
}
@media screen and (max-width: 570px) {
.base_links a, .base_links a:first-child {border: none; padding: 0px; margin: 0px 7px 10px 0px;}
.slink {width: 100%; box-sizing: border-box;}
#sendmail input, #sendmail select, #sendmail textarea {width: 100% !important; box-sizing: border-box;}
#sendmail input[type="image"] {width: auto !important;}
#searchtable #searchinput, #searchtable #searchuser, #searchtable select, #searchtable input.textin {width: 100% !important; box-sizing: border-box;}
.tournament_table {overflow: auto; clear: both;}
.tournament_table h4 {margin: 15px 0px 15px; text-align: center;}
.stat-wrapper h5 {margin-top: 15px;}
#dle-content > .item_group + h2:empty {display: none;}
.sides {width: 100%; padding: 2px 10px; box-sizing: border-box;}
.season_profile .desc_block, .season_profile .res_block {width: 25%; box-sizing: border-box; height: auto;}
table.slink select, table.slink textarea, .xprofile select, table.slink input[type="file"], table.slink input#name, table.slink input[type="password"], table.slink input[type="text"] {width: 100% !important; box-sizing: border-box;}
#home_side img {float: none !important; padding-right: 0px !important; margin-left: auto; margin-right: auto;}
.sides .season_descblock, .sides .season_resblock {width: 50%; box-sizing: border-box; text-align: center;}
.stat-wrapper > div {width: 100% !important; box-sizing: border-box;}
}
@media screen and (max-width: 510px) {
.short-story-social {display: none;}
.short-story-tags {padding-left: 0px;}
main table.matchcenter td.goalsfor {white-space: nowrap;}
main table.matchestable.matchcenter {display: block; overflow: auto;}
main table.matchestable.matchcenter td.matchday {white-space: nowrap;}
}
@media screen and (max-width: 390px) {
#searchtable input#dosearch, #searchtable input#doclear, #searchtable input#doreset {margin: 2px !important;}
#innermobile a.group_selector {font-size: 12px;}
.item_group > div > div {padding-left: 2px !important;}
}
@media screen and (max-width: 350px) {
form#userinfo td.comm_img {display: none;}
#dle-content > article div.short-story-news img {width: auto !important; margin-left: auto; margin-right: auto; display: block !important; float: none !important;}
}
