.midblock { border: 1px solid #e4e3df; width: 715px; margin: 0 0 6px 0; background-color: #fff; }
	.midblock .dtop, .midblock .dbtm { position: relative; z-index: 34; margin: -1px -1px 0 -1px; width: 717px; height: 9px; line-height: 1px; font-size: 1px; overflow: hidden; background: url("../images/midblock.png") no-repeat 0 0; }
	.midblock .dbtm { margin: 0 -1px -1px -1px; height: 11px; background-position: 0 -9px; }
	.fullstory .dbtm { background: #f5f5f5 url("../images/fullstorybtm.png") no-repeat 0 100%; }

	.midblock .btags { margin-left: 14px; width: 440px; }
	.midblock .btags h3 { font-size: 1.35em; font-weight: bold; color: #263142; }
	.midblock .adwt { width: 240px; padding-right: 11px; }

	.midblock .btoplinks { margin-left: 9px; width: 340px; }
	.midblock .bnewlinks { padding-right: 9px; width: 340px; }

	.midblock .btoplinks h3, .midblock .bnewlinks h3 { font-size: 1.1em; font-weight: bold; color: #263142; height: 29px; padding-left: 30px; line-height: 28px; background: url("../images/topnewlinks.png") no-repeat; margin: 0 0 5px 0; }
	.midblock .btoplinks h3 { background-position: 0 -29px; }
	.midblock .btoplinks .dcont, .midblock .bnewlinks .dcont { padding-left: 8px; }

	.midblock .vsep { width: 100%; background: url("../images/vseptop.png") no-repeat 50% 0; }
	.midblock .vsep .vsep { background: url("../images/vsepbtm.png") no-repeat 50% 100%; }

.midbanner { margin: 0 0 6px 1px; padding-bottom: 9px; width: 715px; background: #cecece url("../images/midbanner_btm.png") no-repeat 0 100%; }
.midbanner .dtop { text-align: center; padding-top: 9px; background: #cecece url("../images/midbanner_top.png") no-repeat 0 0; }

.btn_reglog {
	background: #f2f2f2 url("../images/bbcodes.png") repeat-x left top;
	border: 1px solid #c5c5c5;
	color: #7d7d7d;
	width: 108px; height: 18px;
	padding-bottom: 3px;
	font-weight: bold;
	cursor: pointer;
	-moz-border-radius:3px;
}
.btn_reglog:hover { background: #fff none; }

/*sort*/
.pmmenu, .sort { margin-bottom: 9px; padding: 0 15px 9px 15px; border-bottom: 1px solid #d1d1d1; background: #fff url("../images/sortbg.png") repeat-x 0 100%; }
.sort { text-align: center; }

/*pager*/
.navincat { padding: 8px 0; background: url("../images/allviewcat_bg.png") repeat-x 0 0; border-top: 1px solid #d7d7d7; }
.basenavi { padding: 0 0 0 13px; width: 689px; height: 25px; }
	.navigation a, .navigation span { text-decoration: none; margin-right: 2px; color: #36393a; overflow: hidden; text-align: center; line-height: 25px; float: left; width: 25px; height: 25px; background: #d7d7d7 url("../images/navigation.png") no-repeat -25px 0; }
	.navigation span { color: #fff; background: #54a9cc url("../images/navigation.png") no-repeat 0 0; }
	.navigation a:hover { color: #44a3c8; background: #ffffff url("../images/navigation.png") no-repeat -50px 0; }
	.navigation { float: left; font-weight: bold; }

	.navibtn, .navibtn .nprev, .navibtn .nnext { float: right; }
	.nprev a img, .nnext a img, .nprev span img, .nnext span img { display: block; width: 25px; height: 25px; margin-left: 2px; }
	.nprev a img { background: #93979e url("../images/navigation.png") no-repeat -125px 0; }
	.nprev span img { background: #b5b9bf url("../images/navigation.png") no-repeat -75px 0; }
	.nnext a img { background: #93979e url("../images/navigation.png") no-repeat -150px 0; }
	.nnext span img { background: #b5b9bf url("../images/navigation.png") no-repeat -100px 0; }

.binner, .base, .wmcomments, .maincont, .bmid { overflow: hidden; }

/*base tutorial*/
.btutorial { position: relative; z-index: 36; margin: -2px 0 9px 7px; width: 345px; border: 1px solid #d5d5d6; float: left; }
.btutorial .dtitle { white-space: nowrap; position: relative; background: #142031 url("../images/btutorialtitle.png") no-repeat; width: 339px; height: 40px; margin: -1px -1px 7px -1px; padding-left: 8px; overflow: hidden; }
.btutorial .dtitle h1 { font-size: 1.1em; color: #fff; margin-top: 5px; font-weight: bold; }
.btutorial .dtitle h1 a { color: #fff; text-decoration: none; }
	.btutorial .dtitle h1 a:hover { text-decoration: underline; }
	.btutorial .dtitle .btfinfo { font-size: 0.9em; color: #b4d8e9; }
	.btutorial .dtitle .btfinfo a { color: #b4d8e9; }
	.btutorial .dtitle .btfinfo ul li { border-color: #405985; }

	.fade { text-align: right; width: 44px; height: 40px; display: block; position: absolute; top: 0; right: 0; background: url("../images/fadeheading.png"); font-size: 1px; }

	.btutorial .maincont { padding: 0 8px 0 8px; height: 80px; margin-bottom: 3px; }
	.btutorial .thumbimg { float: left; width: 144px; height: 80px; overflow: hidden; margin-right: 9px; }
	.btutorial .thumbimg img { height: 80px; }
	.btutorial .shorttut { float: right; width: 329px; height: 80px; overflow: hidden; line-height: 13px; }

	.btutorial .morelink { margin: 0 -1px -1px -1px; position: relative; width: 331px; padding: 0 8px 0 8px; height: 26px; overflow: hidden; background: url("../images/btmorelink.png"); }
	.btutorial .morelink .ratecom, .btutorial .morelink .btfinfo { margin-top: 4px; }

	.ratecom { float: right; display: inline; line-height: 14px; } 
	.ratecom img { vertical-align: middle; }

	.btfinfo { overflow: hidden; line-height: 12px; }
	.btfinfo ul { margin-left: -9px; float: left; }
	.btfinfo ul li { float: left; margin-left: 4px; padding-left: 4px; border-left: 1px solid #c6c6c6; }

.allviewcat { background: url("../images/allviewcat_bg.png") repeat-x 0 0; height: 28px; padding: 0 10px; overflow: hidden; line-height: 36px; border-top: 1px solid #d7d7d7; }
.allviewcat a { padding-right: 7px; background: url("../images/allviewcat_link.png") no-repeat 100% 60%; }

/*shortstory*/
.shortstory { width: 685px; overflow: hidden; margin-left: 15px; padding-bottom: 10px; margin-bottom: 14px; background: url("../images/dotted.png") repeat-x 0 100%; }
	.shortstory .dtitle { margin: 0 0 0.7em 0; }
	.shortstory .dtitle h1 { margin: 3px 0 2px 0; font-size: 1.67em; color: #162235; }
	.shortstory .dtitle h1 a { color: #162235; text-decoration: none; }
	.shortstory .dtitle h1 a:hover { text-decoration: underline; }
	
	.shortstory .dtitle .comlink i { margin: 2px 0 2px 5px; background: url("../images/comlink.png") no-repeat 100% -26px; padding-right: 10px; height: 32px; font-style: normal; float: right; font-size: 1.1em; color: #fff; }
	.shortstory .dtitle .comlink i b { background: #84c2d9 url("../images/comlink.png") no-repeat 0 0; height: 26px; float: left; padding-left: 10px; line-height: 25px; }
	.shortstory .dtitle .comlink i b a { color: #fff; }

	.shortstory .dtitle .btfinfo { color: #6f6f6f; }

	.shortstory .maincont { margin-bottom: 8px; }
	.shortstory .thumbimg2 { float: left; width: 144px; height: 80px; overflow: hidden; margin-right: 9px; }
	.shortstory .thumbimg2 img { height: 80px; }
		.shortstory .thumbimg3 { float: left; width: 144px; height: 80px; overflow: hidden; margin-right: 9px; }
	.shortstory .thumbimg3 img { height: 80px; }

	.shortstory .morelink { color: #6f6f6f; }
	
	.moreinfo { color: #757575; padding: 0 13px; margin-bottom: 10px; height: 29px; overflow: hidden; background: #f5f3f0 url("../images/moreinfo.png") no-repeat 0 0; }
	.moreinfo .ftags { margin-top: 6px; }

	.caticon { vertical-align: middle; margin: 0 5px 0 0; }

	.isicons { float: right; width: 40px; text-align: right; margin: 8px 0 4px 4px; }
	.isicons span { float: right; padding: 0 0 0 5px; }

	.brelated { overflow: hidden; background-color: #f5f5f5; border: 1px solid #fff; border-width: 0 1px; }
	.brelated h3 { padding: 0 10px; height: 25px; border-top: 1px solid #d7d7d7; font-size: 1.25em; color: #949494; }
	.brelated h3 b { background: #fff url("../images/relatehead.png") no-repeat 0 0; float: right; padding-left: 15px; width: 210px; height: 26px; line-height: 22px; margin-top: -1px; text-align: center; }
	.brelated ul { margin: 0 13px 10px 13px; }
	.brelated a { text-decoration: none; color: #437b94; font-weight: bold; }
	.brelated a:hover { text-decoration: underline; }

	.searchstory { padding: 0; margin-bottom: 0; background: none; }

/*errors*/
.errors { min-height: 28px; padding: 2px 13px 2px 50px; background: #fff url("../images/errors.png") no-repeat 13px 50%; overflow: hidden; }
.berrors { border-bottom: 1px solid #ccc; margin-bottom: 4px; padding: 5px 0; background: #fff url("../images/sortbg.png") repeat-x 0 100%; }
.berrors .errors { background-color: transparent; }
.storenumber { padding: 0 13px; margin-bottom: 13px; }

/*comments*/
.commentar { padding: 0 9px 0 127px; overflow: hidden; }
	.commentar .lcolomn { padding-left: 9px; width: 118px; margin: 0 0 0 -127px; }
	.commentar .rcolomn { width: 100%; }
	.avatarbox { width: 110px; height: 106px; background: url("../images/avatarbox.png") no-repeat; overflow: hidden; }
	.avatarbox span { margin: 3px 0 0 3px; display: block; width: 100px; height: 100px; overflow: hidden; }
	.avatarbox img { width: 100px; }

	.comhead { margin: 0 0 0.6em 0; position: relative; }
		.comhead h3 { margin-top: 4px; font-size: 1.27em; font-weight: bold; color: #395772; }
		.comhead h3 a { color: #395772; }
		.comhead ul { font-size: 0.9em; color: #717171; }
		.comhead .comdate { position: absolute; right: 0; top: 0; display: inline; line-height: 19px; }
		.comhead .comdate span, .comhead .comdate b { float: right; margin-left: 4px; }
		.comhead .comdate span { color: #8a8a8a; }
		.comhead .comdate b { text-align: center; width: 23px; height: 19px; background: #8a8a8a url("../images/comid.png") no-repeat; color: #fff; }

	.cominfo { padding-top: 10px; height: 15px; line-height: 14px; font-size: 0.9em; }
	.cominfo span a { margin-right: 5px; }

	.signature { color: #93918d; }

/*pages*/
.basecont { width: 685px; overflow: hidden; margin-left: 15px; }
.heading2 { color: #7f7f7f; font-size: 1.8em; margin: 0 0 0.5em 0; }

/*forms*/
.tableform { width: 100%; }
	.tableform td { padding: 8px 0; line-height: 1.35em; }
	.tableform td.label { width: 24%; vertical-align: top; font-weight: bold; }
	.tableform tr { background: url("../images/dotted.png") repeat-x 0 0; }
	.tableform tr.flast td { padding-bottom: 0; }
	.tableform .nostylebb tr { background: none; }
	.tableform .nostylebb tr td { padding: 0; }
	.addnews { font-weight: bold; }
	.impot { color: #e5372f; font-weight: normal; }

.f_input { width: 300px; }
.f_textarea { width: 458px; height: 156px; }

/*search*/
.searchstyle { width: 510px; }
.searchtable table { border-collapse: separate; border-spacing: 0; border: 0; font-size: 0.95em; }
.searchtable fieldset {  }
.searchtable fieldset legend { color: #404040; }

.pollvotelist { width: 70%; text-align: left; }
.pollvotelist input { margin-right: 5px; }

/*statistics*/
.statistics { margin: 0 auto; }
	.statinn { text-align: left; }
	.statistics ul { margin-bottom: 15px; }
	.statistics ul li { position: relative; background: url("../images/dotted.png") repeat-x 0 100%; padding: 4px 0; }
	.statistics ul li b { position: absolute; right: 0; }

/*userinfo*/
.usercolomn { overflow: hidden; padding: 0 0 0 115px; margin-bottom: 9px; }
	.usercolomn .lcolomn { width: 115px; margin: 0 0 0 -115px; }
	.usercolomn .rcolomn { width: 100%; }
	.usercolomn .lcolomn img { width: 100px; border: 1px solid #d6d6d6; }
	.userinfo h2 { font-size: 18px; color: #828282; font-weight: normal; }
	.userinfo .uirow, .userinfo .uirow2 { padding: 10px 0;  }
	.userinfo .uirow { padding-top: 0; }
	.userinfo .uirow2 { background: url("../images/dotted.png") repeat-x 0 0; }
	.userinfo .colomn { float: left; }

	.boxlinks { padding: 10px; border: 1px dotted #bdbdbd; margin-bottom: 3px; }

/*paidlinks*/
.paidcont { border: 1px solid #e7ecef; padding: 8px 8px 8px 300px; margin-bottom: 5px; min-height: 130px; }
.paidinput { margin: 0 0 0.6em 0; }
.paidinput input, .paidinput select { color: #858585; font-size: 20px; border: 1px solid #b4b4b4; padding: 5px; }
.paidinput select { font-size: 18px; }
.paidbtn { width: 162px; height: 58px; background: #14788b url("../images/paidbuttons.png") no-repeat; }

/*paidlinks - CARD*/
.paidbtn { background-position: 0 0; }
.paidbtn:hover { background-position: 0 -58px; }
.buyvip .paidbtn { background-position: 0 -348px; }
.buyvip .paidbtn:hover { background-position: 0 -406px; }
.send .paidbtn { background-position: 0 -232px; }
.send .paidbtn:hover { background-position: 0 -290px; }
.output .paidbtn { background-position: 0 -116px; }
.output .paidbtn:hover { background-position: 0 -174px; }
.card { background: url("../images/card.jpg") no-repeat 0 50%; }

/*paidlinks - пополнение*/
.paidlinks { background: url("../images/paid_links.jpg") no-repeat 0 20%; }
.paidlinks ul { width: 371px; }
.paidlinks ul li { margin: 0 0 3px 0; }
.accsystem { cursor: pointer; color: #4395b6; font-size: 18px; height: 23px; overflow: hidden; background: #f6f9f9 url("../images/accsystem.png") no-repeat; padding: 4px 23px 0 8px; }
.accsystem input, .accsysmenu input { margin-right: 4px; }
.accsystem.opened { background-position: 0 -27px; }
.accsysmenu { background: url("../images/accsysmenu.png") repeat-y; }
.accsysmenu .sysfoot { background: url("../images/sysfoot.png") no-repeat 0 100%; padding: 8px; }
.paidlinks ul li:hover .accsystem { background-position: -371px 0; }
.paidlinks ul li:hover .accsysmenu { background-position: -371px 0; }
.paidlinks ul li:hover .accsystem.opened { background-position: -371px -27px; }
.paidlinks ul li:hover .accsysmenu .sysfoot { background-position: -371px 100%; }

/*paid table*/
.tablepaid { width: 100%; }
.tablepaidrow td, .tablepaidhead th { text-align: left; padding: 4px 6px; border: 1px solid #dedede; border-width: 0 1px 1px 1px; }
.tablepaidhead th { padding-top: 8px; color: #509cbb; }
.tablepaid .lastcol { border-right-width: 0; }
.tablepaid .firstcol { border-left-width: 0; }
.tablepaidrow td { background: url("../images/paidtable.png") repeat-x 0 100%; font-size:11px; font-weight:bold; color:#333;}

/*paid send*/
.send { background: url("../images/send.png") no-repeat 0 50%; }
.send table td, .output table td { padding-right: 4px; }

.output { background: url("../images/output.png") no-repeat 0 50%; }

.wmquick { background: url("../images/wm_quick.jpg") no-repeat 0 50%; }

/* Базовые стили модального окна  */
.overlay {
    background-color: rgba(0, 0, 0, 0.7);
    bottom: 0;
    cursor: default;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    z-index: 1;
    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -ms-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
}
.overlay:target {
    visibility: visible;
    opacity: 1;
}
.popup img{
	display: inline;
	border: none;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	background: #ffffff;	
}
.popup {
    background-color: #fff;
    border: 3px solid #fff;
    display: inline-block;
    left: 50%;
    opacity: 0;
    padding: 10px;
    position: fixed;
    text-align: justify;
    font: 14px Helvetica, Arial, Sans-Serif;
    top: 40%;
    visibility: hidden;
    z-index: 10;
 
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
 
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;
 
    -webkit-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -moz-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -ms-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -o-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
 
    -webkit-transition: opacity .5s, top .5s;
    -moz-transition: opacity .5s, top .5s;
    -ms-transition: opacity .5s, top .5s;
    -o-transition: opacity .5s, top .5s;
    transition: opacity .5s, top .5s;
}
.overlay:target+.popup {
    top: 50%;
    opacity: 1;
    visibility: visible;
}
/* Кнопка закрытия окна  */
.close {
    background-color: rgba(0, 0, 0, 0.8);
    border: 2px solid #ccc;
    height: 24px;
    line-height: 24px;
    position: absolute;
    right: -13px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    top: -15px;
    width: 24px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
     border-radius: 15px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
}
.close:before {
    color: rgba(255, 255, 255, 0.9);
    content: "X";
    font-size: 14px;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
}
.close:hover {
    background-color: rgba(64, 128, 128, 0.8);
}
.popup p, .popup div {
    margin-bottom: 10px;
}
/* Radio */
.radio-table th { font-weight: bold; padding: 4px 5px; background: url("../images/bbcodes.png") repeat-x scroll 0 100% #fff; }
.radio-table td { padding: 5px !important; border-bottom: 2px solid #eee !important; vertical-align: middle !important; }
.radio-table tr:hover { background-color: #f2f8fa;}
.radio-table .active { background-color: #fafafa;}
.radio-table .play { width: 40px; text-align: center; }
.radio-table .doRadio { display: block; background: transparent url("/engine/modules/radio/template/files/play.png") no-repeat 0 0; width: 34px; height: 34px; overflow: hidden; text-indent: -1000px; margin: 0 auto; cursor: pointer; }
.radio-table .doRadio:hover { background-position: -34px 0; }
.radio-table .doRadio:active { background-position: -68px 0; }
.radio-table .cover { width: 64px; text-align: center; }
.radio-table .cat { width: 100px; text-align: center; }
.radio-table .bitrate { width: 60px; text-align: center; }
.radio-table .radio-no-found { text-align: center; border: 1px solid #9E5F05; background-color: #FDEEB3; color: #9E5F05; padding: 10px; 
}

/* Основной контейнер плеера */
  .radio-player {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #2f63a0;
    padding: 10px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Управление воспроизведением */
  .player-controls {
    display: flex;
    align-items: center;
  }

  /* Кнопка воспроизведения/паузы с анимацией */
  .play-btn {
    background-color: #7094bf;
    border: none;
    padding: 15px;
    border-radius: 50%;
    color: white;
    font-size: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background-color 0.3s;
  }

  /* Эффект при наведении */
  .play-btn:hover {
    background-color: #567b9e;
    transform: scale(1.1);
  }

  /* Эффект при нажатии (пружинистый эффект) */
  .play-btn:active {
    transform: scale(0.9);
  }

  /* Ползунок громкости */
  .volume-control input[type="range"] {
    margin-left: 20px;
    width: 120px;
  }

  /* Название радиостанции */
  .radio-title {
    margin-left: 20px;
    color: white;
    font-weight: bold;
    font-size: 16px;
  }