.rmm_html {font: 400 12px 'Roboto';z-index: 1000;}

#button {
visibility: hidden;
	position: fixed;
        bottom: 130px;
        bottom: -moz-calc(15% - 30px);
        bottom: -webkit-calc(15% - 30px);
        bottom: calc(15% - 30px);
	right: 0px;    
        background-color: rgba(220, 220, 220, 0.8);
	width: 40px;
	height: 280px;
	color: #000;
	text-align: center;
	-webkit-transition-duration: 0.3s;
	-moz-transition-duration: 0.3s;
	-o-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-border-radius: 5px 0 0 5px;
	-moz-border-radius: 5px 0 0 5px;
	border-radius: 5px 0 0 5px;   
z-index: 1000;
	} 
.but img {
width: 40px;
border-radius: 5px 0 0 0;   
}
#pnl {
position: absolute;
top: 58px;
width: 38px;
height: 178px;
text-align: center;
cursor: pointer;
background: url(http://static.li.ru/radio/images/left.png) no-repeat; 
background-position: center center;
}
.cntrl img {
width: 38px;
margin-top:182px;   
}
#s_panel {
	position: fixed;
        bottom: 130px;
        bottom: -moz-calc(15% - 30px);
        bottom: -webkit-calc(15% - 30px);
        bottom: calc(15% - 30px);
	right: -160px;
        background-color: rgba(240, 240, 240, 0.8);
	width: 160px;
	height: 280px;
        color: #000;
	-webkit-transition-duration: 0.3s;
	-moz-transition-duration: 0.3s;
	-o-transition-duration: 0.3s;
	transition-duration: 0.3s;
z-index: 1000;
	}
#s_panel a {
color: #000;
}
#s_panel a:hover {
color: #666;
}
/*#button:hover {
	right: 0px; 
}
#button:hover #s_panel {
	right: -160px;
}*/  

.radio {}
.cntr {}
.o_txt {
position: absolute;
top: 10px;
width: 99%;
height: 20px;
}
.o_txt_title {
position: absolute;
top: 140px;
width: 97%;
height:85px;
font: 600 12px 'Roboto';
overflow: hidden;
_text-overflow: ellipsis;
_border:1px solid red;
}
.o_txt_time {
position: absolute;
bottom: 5px;
width: 99%;
height:20px;
}
.imag {
position: absolute;
top: 10px;
width: 100%;
height:120px;
text-align: center;
}
.imag img {
height: 120px;
}
.autr { 
position: absolute;
bottom: 30px;
width: 99%;
height:20px;
}

@media screen and (min-width: 999px) {
#button {
visibility: visible;
}
}

@media screen and (max-width: 998px) {
#button {
visibility: visible;
position: fixed;
left: 0;
bottom: 0;
width: 100%;
height: 55px; 
border-radius: 0 0 0 0;     
text-align: left;
}
.radio {
position: absolute;
bottom: 7px;
left: 60px;
width: 38px;
height: 38px;
}  
.but img {
width: 40px;
border-radius: 0 0 0 0; 
}
#pnl {
visibility: hidden;
position: absolute;
top: 0;
left: 50px;
width: 38px;
height: 55px;
cursor: pointer;
background: none; 
}
.cntr {
bottom: 7px;
left: 100px;
width: 38px;
height: 38px;
}
.cntrl img {
width: 38px;
margin-top:0; 
}
#s_panel {
	position: fixed;
        bottom: 2px;
	left: 120px;
        padding-left: 5px;
        background-color: rgba(240, 240, 240, 0.8);
	width: 70%;
	height: 48px;
        color: #000;
z-index: 1000;
_border:1px solid red;
	}
#s_panel a {
color: #000;
}
#s_panel a:hover {
color: #666;
}

.o_txt {
position: absolute;
top: 0px;
width: 90%;
height: 15px;
font: 600 12px 'Roboto';
overflow: hidden;
_text-overflow: ellipsis;
}
.o_txt_title {
position: absolute;
top: 5px;
width: 90%;
height: 20px;
font: 600 12px 'Roboto';
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
_border:1px solid red;
}
.o_txt_time {
position: absolute;
top: 28px;
width: 150px;
height: 20px;
_border:1px solid red;
}
.imag {
visibility: hidden;
position: absolute;
top: 0px;
left: 100px;
width: 100%;
height:55px;
text-align: center;
}
.imag img {
height: 55px;
}
.autr { 
position: absolute;
left: 160px;
top: 28px;
width: 60%;
height: 20px;
_border:1px solid red;
}
}

@media screen and (max-width: 998px) and (max-height: 600px) {
#button {
visibility: hidden;
}
}