/* @import url('https://fonts.googleapis.com/css?family=Open+Sans|Roboto'); */

html, body {
    height : 100%;
    padding: 0px;
    margin: 0px;
    border: 0px;
}

body{
    font-family: sans-serif;
    font-size: 16px;
}

.outer {
    display: table;
    width: 100%;
    height: 100%;
    text-align: center;
}
.middle {
    display: table-cell;
    vertical-align: middle;
}
.inner {
    text-align: center;
    width: auto;
    padding: 10px;
}

#header {
    height:60px;
    width: 100%;
    text-align: center;
    font-weight: 200;
    font-size: 1.6em;
    margin: 0;
    padding: 0;
    /* border-bottom: 1px solid #eeeeee; */
    color: #474747;
    line-height:60px;	
    /* box-shadow: 0px 0px 10px 0px #333; */
}

.allcontent {
    /* background : #29475f; */
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: 320px;
    text-align: center;
}


#header .intoheader {
    margin:0 auto;
    height:59px;	 
    padding: 0 2px 0 2px;
    /* background: #d7d7d7;
    border-bottom: 1px solid #707070;
    border-left: 1px solid #707070;
    border-right: 1px solid #707070;
    background: url('/styles/bg.gif') repeat-x center;*/
}

#maincontent {
    position: relative;
    margin: 0 auto;
    background: #fff;
    /* box-shadow: 3px 3px 10px #333; */
    padding: 0px;
    /* border: 1px solid black; */
}


/* START ---------- Настраиваемые параметры ------------------*/
#maincontent {
    max-width: 1000px;
    min-width: 320px; 
}

#header .intoheader {
    max-width: 1000px;
    min-width: 320px;
}

.scr_width {
    max-width: 1000px;
    min-width: 320px; 
}

@media screen and (max-width: 1000px) {
#maincontent {
    max-width: 100%;
    min-width: 320px;
}

#header .intoheader {
    max-width: 100%;
    min-width: 320px; 
}
	
.scr_width {
    max-width: 100%;
    min-width: 320px; 
}

}

/* END ---------- Настраиваемые параметры ------------------*/


.allcontent h2 {
    text-align: left;
    font-family: serif;
    font-weight: 200;
    font-size: 1.5em;
    margin: 0 0 10px 0;
    padding: 0 0 10px 0;
    border-bottom: 1px solid #eeeeee;
    color: #474747;
}

.allcontent h2 a{
    font-weight: bold;
    font-size: 1em;
    text-decoration:none;	
}

.allcontent .form {
    padding-top: 20px;
    text-align: center;
}

.allcontent input[type="text"], 
.allcontent input[type="password"],
.allcontent button {
    margin-bottom: 25px;
    height: 40px;
    outline: 0;
    -moz-outline-style: none;
}
      
.allcontent input[type="text"],
.allcontent input[type="password"] {
    width: calc(80% - 45px); 
    border: 1px solid #bbb;
    padding: 0 0 0 5px;
    font-size: 16px;
    line-height: 40px;
}

.allcontent input[type="text"]:focus,
.allcontent input[type="password"]:focus {
    border: 1px solid #2196f3;
}  

.allcontent:-ms-input-placeholder {
    color: #ccc !important;
    font-weight: 400 !important;
}
      
.allcontent a {
    text-align: center;
    font-size: 16px;
    /*color: #3498db;*/
    color: #0000DD;
}
.allcontent a:hover{
    color: #C74710;
}
      
.allcontent button {
    width: 320px;
    background: #778CBA; 	
    border: none;
    //border-bottom: 5px solid #2184d7;
    color: white;
    font-size: 18px;
    font-weight: 200;
    cursor: pointer;
    /*transition: box-shadow .4s ease;*/
    /*box-shadow: 0px 0px 10px 0px #333;*/
    box-shadow: 5px 5px 12px -7px black;
    -webkit-box-shadow: 5px 5px 12px -7px black;
    -moz-box-shadow: 5px 5px 12px -7px black;
}

.allcontent p {
	padding-bottom: 10px;
}

#popupwin {
        position: fixed;
        top: 0px;
        left: 0px;
	bottom: 0px;
	right: 0px;
	overflow: auto;
	text-align: center;
        background-color: #474747;
        z-index: 999;
}

/* ##################  navi - отрывающееся Моё меню */
#navi {
	position:absolute;
	width: 300px;
	right:5px;
        padding: 5px;
   	text-align: center;
	background-color: #eeeeee;
	border-right: 1px solid black;
	border-left: 1px solid black;
	border-bottom: 1px solid black;
        z-index: 50;
	box-shadow: 5px 5px 12px -7px black;
	-webkit-box-shadow: 5px 5px 12px -7px black;
	-moz-box-shadow: 5px 5px 12px -7px black;
}
#navi ul {
    	list-style-type: none;
	margin: 0;
    	padding: 0;
}
#navi a { 
	display: block;
        padding-left:10px;
   	border-top: 1px solid #e5e5e5;
   	height: 35px;
   	line-height: 35px;
   	text-align: left;
   	text-decoration: none;
}

/* ################  Появляющаяся стрелка вверх/возврат вниз */

#updown {
  height:36px;
  width:36px;
  z-index:50;
}

/* /img/material/up36.png */
#updown.up {
  background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAQAAABLCVATAAAAn0lEQVR4Ae3MgQbCYBSG4WcqktR1BkAIKChdQyAgIBCIQBAIXU3AYg5kWtv8YPbinA88+jra2lqClnK5ZRomqBRMUCmYoNoz77hBtWWutsXfuwmqDXMxsinWxthdUM2ZIQLCpBkVjLMhXxATD0HVZwaUIKb1qGCcDChDQT3/U6tgMn5CzIPaqWjhKKMSYu7loG4VEDNZGqhFPUQP6WB9H+Z9lLA7R5XgAAAAAElFTkSuQmCC') no-repeat left center;
}

/* /img/material/down36.png */
#updown.down {
  background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAQAAABLCVATAAAAn0lEQVR4Ae3QgQaEQBgE4Mld5OTuOQ/oEQKFfYNAQEAgEIEg0OsUUBlEsg0skZ1hl2U//h+PjE+KZWvqoTsgDwX4uoEKjPhJKECJ/xVj+GlEbIfIVHxLLvfBDoit0IuMHNfs1OcMkamxsAaMpnpSR+gtGQsVHaAQjWQsVIdoh0K0ghFUxjvXjKImnrNmNMUqRlBuGFJuGFJuGFJkHhifFZW8lpNXBp+XAAAAAElFTkSuQmCC') no-repeat left center;
}

/* ################## winstyle.css - окно */

#zWindow
{
	position:absolute;
	table-layout:fixed;
	empty-cells:show;
	display:none;
	z-index:98;
}
#zWindow td
{
	font-size:1px;
}
#wBottom td
{
	vertical-align:top;
}
#imgFullscreenTrue
{
	display:inline;
	margin:2px;
}
#imgFullscreenFalse
{
	display:none;
	margin:2px;
}
#imgClose
{
	margin:2px;
}
#wContent
{
	height:100%;
	font-size:12px;
	padding:5px;
	overflow:auto;
	overflow-x: hidden;
}
#wContent td
{
	font-size:12px;
}
#blackscreen
{
	display:none;
	z-index:97;
	position:absolute;
	left:0px;
}

/* ####################### help.css */

.tipText
{
	display:none;
}
.tip
{
	position:absolute;
	width:200px;
	left:0px;
	top:0px;
	background-color:#efefef;
	border:1px solid #e0e0e0;
	padding:3px;
	font-size:10px;
	font-family:verdana;
	z-index:50;
}
.tip p
{
	padding:0px;
	margin:0px;
}

/* ############################ comments */
.commborder {
    border: 1px solid #e8e8e8;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.1);
    padding:5px 0 5px 0;
}
.commcit {
border: 1px dotted #808080;
    padding: 8px;
    /* background: #ffffcc; */
    margin: 5px 0 15px;
    -o-box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.2) inset;
    -moz-box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.2) inset;
    -webkit-box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.2) inset;
    box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.2) inset;
}