@media only screen and (max-width: 1300px) {
    div.all_lines { max-width: 100%; margin: 0px auto; }
    div.all_lines img { max-width: 100%; }
    section { padding: 10px 10px 70px 10px; box-sizing: border-box; }
    header div.activeButtons { right: 10px; }
    
    p.comments { padding: 0 5px 0 5px; margin-left: 5px; }
    
    div.floatWindow { position: absolute; top: 20px; left: 20px; right: 20px; bottom: 70px; }
    div.regauthwindow { width: auto; height: auto; margin-left: 0px; margin-top: 0px; top: 20px; }
    div.setwindow { width: auto; height: auto; margin-left: 0px; margin-top: 0px; top: 20px; }
    div.regauthwindow div.block { margin: 10px 10px 10px 10px; }
    
    div.activeButton { padding-left: 10px; padding-right: 10px; min-width: auto; }
    
    div.double_input div.inputString { width: 100%; }
}

@media only screen and (max-width: 1000px) {
    div.regauthwindow div.colunm { display: inline-block; width: 100%; height: auto; box-sizing: border-box; vertical-align: top; background-color: #eee; padding-bottom: 20px; }
    div.regauthwindow div._withrightborder { background-color: #fff; box-shadow: none; }
    div.floatWindow { bottom: auto; }
    div.setwindow { bottom: 80px; }
    
    header div.logo div.menu { display: none; }
    header div.activeButtons { display: none; }
    header div.mmenu_button { display: block; position: absolute; right: 10px; top: 0px; bottom: 0px; }
    header div.mmenu_button img { height: 50px; margin-top: 20px; cursor: pointer; }
    header div.mmenu { display: block; z-index: 100; position: absolute; top: 105%; right: -200px; width: 200px; -webkit-transition: all 0.1s ease-in-out; -moz-transition: all 0.1s ease-in-out; -ms-transition: all 0.1s ease-in-out; -o-transition: all 0.1s ease-in-out; transition: all 0.1s ease-in-out; -webkit-transform: translateZ(0); background-color: #222; padding: 10px; box-shadow: 4px 4px 8px rgba(0,0,0,0.3); }
    header div.mmenu.vis { right: 0px; }
    header div.mmenu a { display: block; color: #fff; font-size: 14px; line-height: 1.5; }
    header div.mmenu span { color: #fff; font-size: 14px; }
    
    div.notworkingnow div.textdata { margin-top: -30px; }
    div.notworkingnow div.textdata h1 { font-size: 25px; text-shadow: 4px 4px 8px rgba(0,0,0,0.4); }
    div.notworkingnow div.textdata h2 { font-size: 18px; line-height: 2.5; text-shadow: 4px 4px 8px rgba(0,0,0,0.4); }
    div.notworkingnow img.logo { left: 10px; top: 10px; height: 70px; }
}