/* @import url('https://fonts.googleapis.com/css?family=Open+Sans|Roboto'); */

html, body {
    height : 100%;
    padding: 0;
    margin: 0;
}

body{
    /* font-family: 'Roboto', sans-serif; */
    font-family: sans-serif;
    font-size: 16px;
    //background: #d7d7d7;
}

.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;
    /* background: #9d9d9d; */
}

#header {
    height:60px;
    width: 100%;
    text-align: center;
    font-weight: 200;
    font-size: 1.6em;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    /* border-bottom: 1px solid #eeeeee; */
    color: #474747;
    line-height:60px;	
    /* box-shadow: 0px 0px 10px 0px #333; */
}

.allcontent {
    /* background : #29475f; */
    height: 100%;
    min-height: 320px;
    text-align: center;
}


#header .intoheader {
    margin:0 auto;
    height:59px;	 
    background: #d7d7d7;
    padding: 0 5px 0 5px;
    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: 5px;
}


/* START ---------- Настраиваемые параметры ------------------*/
#maincontent {
    max-width: 900px;
    min-width: 320px; 
}

#header .intoheader {
    max-width: 900px;
    min-width: 320px;
}

.scr_width {
    max-width: 900px;
    min-width: 320px; 
}

@media screen and (max-width: 900px) {
#maincontent {
    max-width: 98%;
    min-width: 320px;
}

#header .intoheader {
    max-width: 98%;
    min-width: 320px; 
}
	
.scr_width {
    max-width: 98%;
    min-width: 320px; 
}

}

/* END ---------- Настраиваемые параметры ------------------*/


.allcontent h2 {
    text-align: left;
    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"] {
    background: url('/img/form/user.png') no-repeat left 10px center;    
}
.allcontent input[type="password"] {
    background: url('/img/form/pencil.png') no-repeat left 10px center;    
}

.allcontent input[type="text"],
.allcontent input[type="password"] {
    width: calc(80% - 45px); 
    border: 1px solid #bbb;
    padding: 0 0 0 45px;
    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;
}

#updown.up {
  background: url('/img/material/up36.png') no-repeat left center;
}

#updown.down {
  background: url('/img/material/down36.png') no-repeat left center;
}