#menu-checkbox {
    display: none;
}
@media only screen and (max-width : 980px) {
#wrapper {
    height: auto !important;
    min-height: 100%;
    min-width: 0px;
    width: 100%;
}
#header div.center {
    height: auto;
	background: linear-gradient(to top, white, lightblue);
}
.top-container .center {
    width: auto;
}
.logo {
    background: rgba(0, 0, 0, 0) url("../images/new-design/logo.png") no-repeat scroll center bottom;
    display: block;
    float: none;
    height: 38px;
    margin: 0 auto;
    width: 251px;
	padding-top:15px;
}
#header div.center div.descr {
    position: static;
    top: 140px;
	margin:0 auto;
	text-align:center;
	margin-top:10px;
}
#header {
    height: auto;
		background:#96E5F0;
}
#mainnav ul {
    float: none;
}
.header-img {
    display:none;
}
.center {
    width: auto;
}
#sideright {
    float: none;
    margin-right: 0px;
    width: auto;
	text-align:center;
}
#footer .center {
    width: auto;
}
#footer {
    height: auto;
    min-width: 0px;
}

#content .center {
    padding: 35px 10px 20px 10px;
	margin-bottom:10px;
}
#news {
    background: linear-gradient(to top, white, lightblue);
    height: auto;
	padding: 0px 10px 0px 10px; 
}
.news-block{
	display:none;
}
.news-container .new {
    float: left;
    height: 105px;
    margin-left: 20px;
    width: 30%;
}
img{border:none;max-width:100%; height:auto}

.on-line {
	height:49px;
}
.on-line{
    display:none;
}
}
@media only screen and (max-width : 743px) {
	
#mainnav ul li {
    float: none;
    margin: 0px;
}
.main {
    margin-bottom: 0px;
}
#mainnav .menu-icon {
    background: none;
    display: block;
    height: auto;
    width: 70px;
    z-index: 1;
}
#mainnav {
    margin-right: 0px;
	padding-bottom:0px;
}
#mainnav ul{
	padding-bottom:5px;
}
#mainnav .menu-header-bottom-title {
    padding-top: 10px;
}
form.auth {
    margin-right: 0px;
}
table.table-count {
    width: auto;
}
#mainnav ul{
	display:none;
}
.toggle-button {
    background: #FF6B00 none repeat scroll 0 0;
    color: #fff;
    cursor: pointer;
    display: block;
    height: 33px;
    text-align: center;
	margin-top:10px;
}
.toggle-button::after {
    content: attr(data-open);
    display: block;
	padding-top:6px;
	font-family: "PT Sans",Arial,Helvetica,sans-serif;
    font-size: 15px
}
.toggle-button::before {
    background: rgba(0, 0, 0, 0) url("img/pull.png") no-repeat scroll center center;
    content: "";
    display: block;
    height: 35px;
    left: 5px;
    position: absolute;
    width: 35px;
}
#menu-checkbox:checked + nav[role="navigation"] ul {
    background: #F2EFEF none repeat scroll 0 0;
    display: block;
    width: auto;
}
#menu-checkbox:checked + div[role="navigation"] .toggle-button::after {
    content: attr(data-close);
}
}
@media only screen and (max-width : 610px) {
   #footer {
    background: #27B219;
    height: auto;
    margin: 10px auto 0;
}	
#footer .center {
    padding: 15px 5px;
}
#foot-menu ul li {
    float: none;
    margin-left: 0px;
}
#foot-menu ul {
    float: none;
    margin: 0px 0px 10px 0px;
}
#foot-menu ul li{
	text-align:center;
}
table.table-add {
    margin-top: 15px;
    width: 100%;
}
img.status_fix {
    height: auto;
    margin: 0 0 0 0px;
    width: auto;
}
}
@media only screen and (max-width : 600px) {
    
.news-container .new {
    float: none;
    height: 105px;
    margin-left: 0px;
    width: auto;
}
#content {
    padding: 0 0 5px;
}
.er {
    width: auto;
}
.inputbox{
	width:auto!important;
}
table.table-count {
	margin: 0 0 0 0px!important;
}
.center b{
	margin: 0 0 0 0px!important;
}
}
@media only screen and (max-width : 500px) {
img{
	float:none!important;
	margin:0 auto;
	display: block;
}
.banners img, a.on-line img, .captcha {
    display: inline;
	margin-bottom:10px;
}
.btn-container {
    float: none!important;
    margin-left: 0px!important;
	width:auto;
}
.inputbox{
	width:150px!important;
	float: none;
}
.table{
	width:auto;
}
table.site-table td.l {
    width: auto;
	display: block;
}
.site-table tbody tr:nth-child(4) td:nth-child(3){
	display:block;
	width:100%;
}
table.site-table td.dir_lines_last {
    display:none;
}
table.site-table td.url {
    margin-bottom: 15px;
    width: auto;
}
table.site-table td {
    display: block;
}
table.site-table td img {
    display: inline;
}
table.table-add img {
    display: inline;
}
}
@media only screen and (max-width : 425px) {
    
.top-container {
    height: auto;
	overflow:hidden;
	padding-bottom:3px;
}
form.auth {
    float: none;
    margin-right: 0px;
    width: auto;
}
.top-container {
    height: auto;
    overflow: hidden;
	float: none;
    margin-left: 0px;
    width: auto;
}
}
@media only screen and (max-width : 380px) {
	
table.table tr td input.inputbox, table.table tr td textarea.inputbox, table.table tr td input.code, table.table tr td select.inputbox {
    width: 160px;
	padding: 0 0px;
}
table.table tr td.category-select .ligaSelect .selectPanel, table.table tr td.category-select .ligaSelect .selectOptions {
    margin-left: 8px;
    width: 150px;
}
.ligaSelect {
    float: none;
    margin: 3px 3px 3px 0px;
}
.pay{
	width:auto!important;
}
.inputbox{
	margin: 3px 3px 3px 5px;
}
}