@media screen {

  /* Начало - Распространяется на весь сайт */

	* {
		margin: 0;
		padding: 0;
	}

	html {
		height: 100%;
	}	
	
  body {
		background: #f1f1f1;
		font-family: "Open Sans", "Helvetica Neue", "Arial", sans;
    font-size: 14px;
    margin: 0 auto;
		position: relative;
		min-height: 100%;
		width: 100%;
		/*overflow: hidden;*/
  }
  
	body.wrapper{
		height: 100%;
	}
	
	.body{
		padding-bottom: 100px;
	}
	
  .content_width{
    margin: 0 auto;
    overflow: hidden;
		width: 95%;
  }
	
	label {
		cursor: pointer;
	}
  
	input[type=checkbox], input[type=color], input[type=date], input[type=datetime-local], input[type=datetime], input[type=email], input[type=month], input[type=number], input[type=password], input[type=radio], input[type=search], input[type=tel], input[type=text], input[type=time], input[type=url], input[type=week], select, textarea {
		border: 1px solid #ddd;
		-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.07);
		box-shadow: inset 0 1px 2px rgba(0,0,0,.07);
		background-color: #fff;
		color: #333;
		outline: 0;
		-webkit-transition: .05s border-color ease-in-out;
		transition: .05s border-color ease-in-out;
	}
	
	input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{
		border-color: #5b9dd9;
		-webkit-box-shadow:0 0 2px rgba(30,140,190,.8);
		box-shadow:0 0 2px rgba(30,140,190,.8)
	}
	
	input, textarea {
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
  /* Конец - Распространяется на весь сайт */

  
  /* Начало - Сообщения об ошибках */

  .errorMessage{
    border: 2px dashed #ddd;
    padding: 5px;
    margin: 5px;
    border-radius: 5px;
    font-weight: bold;
		font-size: 24px;
    color: #f00;
		text-align: center;
  }

  /* Конец - Сообщения об ошибках */

  
  /* Начало - Шапка сайта и верхнее меню */

  .line {
		background-color: #1e8cbe;
		border-top: 1px solid #005684;
		border-bottom: 1px solid #005684;
		margin: 0px 0px 0px 0px;
    line-height: 60px;
    font-size: 40px;
		font-weight: normal;
		color: #fff;
  }
	
	.line.narrow {
    line-height: 40px;
    font-size: 24px;	
		background-color: #fff;
		color: #000;
	}
	
	.line.list {
    line-height: 60px;
    font-size: 30px;	
	}
	
	.line.narrow .user_name {
		float:left;
	}
	
	.line.narrow .exit {
		float:right;
	}

	.line .list.street{
		float:left;
		margin-right: 10px;
	}
	
	.line .list.house{
		float:right;
		margin-left: 20px;
		margin-right: 20px;

	}

	.line .list.porch{
		float:right;
		margin-left: 10px;
	}
	
	.line.hide {
		display: none;
	}
		
	.line .show {
		display: block;
	}
	
  .line a{
    color: black;
    text-decoration: none;
    padding: 0px 10px;
    margin: 0px 5px;
  }

  .line a:hover{
    color: rgba(0,0,255,1);
    text-decoration: none;
    padding: 0px 10px;
    margin: 0px 5px;
  }

  .line .menu, .logo{
    float: left;
  }

  .line .users_select {
    float: right;
		padding: 0px 10px 0px 0px;
  }


	.line div.text{
		text-align: center;
	}
	
	.line .list select{
		font-size: 30px;
		padding: 5px 2px;
	}
	
	.line .list select:disabled{
		background-color: #1e8cbe;
	}
		
	.line .list.street select{
		width:500px;
	}

	.line .list.house select{
		width:130px;
	}

	.line .list.porch select{
		width:160px;
	}
	
	.list .content_width {
		width:100%
		position:fixed;
		left:0;
		display:flex;
		align-items: center;
		justify-content: center;
		overflow: auto;
	}
	
  .top_menu .search{
    float: right;
    width: 300px;
    height: 22px;
    margin: 8px 10px 0px 0px;
    border-radius: 3px;
    border: 1px solid #58575D;
    background-color: #fff;
		overflow: hidden;
  }

  .top_menu .search .inp_search{
    font-size: 14px;
    width: 268px;
    height: 20px;
    padding: 0px 5px 0px 5px;
    border: none;
    border-radius: 3px;
    float: left;
    color: #878787;
		position: relative;
		top: 1px;
  }

  .top_menu .search .butt_search{
    display: block;
    width: 22px;
    height: 22px;
    border: none;
    background: url('/img/search_button.gif') center center no-repeat;
    cursor: pointer;
  }

  /* Конец - Шапка сайта и верхнее меню */

	
  
  /* Начало - Основной блок сайта */
	
	/* Начало - форма авторизации */
	
	.auth {
		width: 500px;
		padding: 15vh 0 0;
		margin: auto;
	}
	
	.auth form{
		padding: 26px 26px 46px;
		-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.13);
		box-shadow: 0 1px 3px rgba(0,0,0,.13);
		background: #fff;
		border:solid 1px #ddd;
	}

	.auth label{
		color: #777;
		font-size: 24px;
	}
	
	.auth form .input, .auth form input[type=checkbox], .auth input[type=text], .auth input[type=password]{
		font-size: 36px;
		background: #fbfbfb;
		width: 100%;
		padding: 3px;
		margin: 2px 6px 16px 0px;
	}	
	
	.button.button-large{
		padding: 10px 23px;
		line-height: normal;
		font-size: 24px;
		vertical-align: middle;
		height: auto;
		margin-bottom: 4px;
		text-align: center;
		width:100%;
	}	

	.button-primary {
		background: #2ea2cc;
		border-color: #0074a2;
		-webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);
		box-shadow: inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);
		color: #fff;
		text-decoration: none;
	}

	.button, .button-primary, .button-secondary {
		display: inline-block;
		text-decoration: none;
		font-size: 13px;
		line-height: 26px;
		height: 28px;
		margin: 0;
		padding: 0 10px 1px;
		cursor: pointer;
		border-width: 1px;
		border-style: solid;
		-webkit-appearance: none;
		-webkit-border-radius: 3px;
		border-radius: 3px;
		white-space: nowrap;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}	

	.button-primary.active, .button-primary.active:focus, .button-primary.active:hover, .button-primary:active
	{
		background:#1b7aa6;
		border-color:#005684;
		color:rgba(255,255,255,.95);
		-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.1);
		box-shadow:inset 0 1px 0 rgba(0,0,0,.1);
		vertical-align:top
	}
	
	p.submit {
		text-align: right;
		margin: 40px 0px 0px 0px;
	}
	
	p.submit input{
		width: 100%;
	}
	/* Конец - форма авторизации */

	/* Начало - информационный блок */
	.info {
		width: 95%;
		padding: 5vh 0px 0px;
		margin: auto;
	}
	
	.post_block{
		padding: 26px 26px 46px;
		-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.13);
		box-shadow: 0 1px 3px rgba(0,0,0,.13);
		background: #fff;
		border:solid 1px #ddd;
	}
	
	.post_block p{
		font-size: 24px;
	}
	
	/* Начало - список квартир и подъездов*/
	
	div .info.list_of_apt{
		width:100%;
		padding: 2vh 0px;
	}
	
	div .info.list_of_apt .post_block{
		padding: 26px 26px 26px;
	}

	
	table.list_of_apt{
		text-align: center;
		width: 100%;
		/*border: 1px solid black;*/
		/*border-collapse: collapse;*/
		border-spacing: 5px;
		border-color: #000;
	}
	
	table.list_of_apt thead{
		font-size: 30px;
		vertical-align: middle;
		background-color: #F1F1F1;
	}

	table.list_of_apt.list_of_log thead{
		font-size: 14px;
		vertical-align: middle;
		background-color: #F1F1F1;
	}
	
	table.list_of_apt tbody{
		font-size: 30px;
		vertical-align: middle;
	}	
	
	table.list_of_apt.list_of_log tbody{
		font-size: 14px;
		vertical-align: middle;
	}
	
	table.list_of_apt th{
		font-weight: normal;
		padding: 5px;
	}
	
	table.list_of_apt td{
		font-weight: normal;
		padding: 15px 0px;
		-webkit-user-select: none;
	}

	table.list_of_apt.list_of_log td{
		font-weight: normal;
		padding: 10px 0px;
		-webkit-user-select: none;
	}
	
	table.list_of_apt .trd_1{
		background-color: #EBF9FF;
	}

	table.list_of_apt .trd_2{
		background-color: #F1F1F1;
	}
		
	.porch form .input, .porch form input[type=checkbox], .porch input[type=text], .porch input[type=password]{
		font-size: 36px;
		background: #FFFFFF;
		width: 80%;
		padding: 3px;
		text-align: center;
	}

	.porch form input[type=submit] {
		text-align: center;
		width: 60%;
	}
	
	.porch p.submit{
		text-align: center;
		margin: 20px 0px 0px 0px;
	}
	
	.porch .button.button-large{
		font-size: 30px;
	}	

	#flatedit p.submit{
		text-align: center;
		margin: 80px 0px 40px 0px;
	}

	
	#flatedit .hide{
		display: none;
	}
	
	#flatedit .highlight{
		background: #3CCBFF;
	}

	#flatedit input {
		text-align: center;
		width: 70%;
	}
	
	/* Конец - список квартир подъездов*/
	
	/* Конец - Основной блок сайта */
	
  /* Начало - подвал сайта */

	.footer {
		position: absolute;
		bottom: 0;
		width: 100%;
		height: 80px;
	}
	
  .footer .copyright {
		font-size: 12px;
  }
	
	.footer .timing{
		float:right;
	}
	
	.footer .minilogo {
		float: left;
		margin-right: 5px;
	}
	.footer_line {

	}
	
	.footer #env {
		margin-top: 40px;
	}

	#env p, #env [type="checkbox"]{
    display:none;
	}
 
	#env [type="checkbox"]:checked ~ p {
		display:block;
	}
	
	#env p {
		margin: 10px 0px 10px 0px;
	}

  /* Конец - подвал сайта */
}