body {
	margin: 0;
	padding: 0;
	font-family: Carlito,FreeSans,Helvetica,Arial,sans-serif;
	background: white;

}

.test {
	color: #ccc;
	text-align: center;
	padding: 15px;
}

pre {
    -webkit-overflow-scrolling: touch;
    background-color: whitesmoke;
    color: #4a4a4a;
    font-size: 0.875em;
    overflow-x: auto;
    padding: 1.25rem 1.5rem;
    white-space: pre;
    word-wrap: normal;
}

/*для центра откно виртуалки*/
.center {
    top:50%;
    left:50%;
    padding-left: 1em;
    align-content: center;
    display: flex;

justify-content: center;
}
/*Начало Логин панели*/
.loginpanel {
	background: white;
	margin: auto;
	position: relative;
	display: block;
	text-align: center;
	justify-content: center;
	margin: 30px auto 100px;
	margin-left: auto;
	width: 600px;
	padding: 40px;
	box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
	transition: 0.5s;
}
.loginpanelform {

}
/*<label for="id_password">Пароль:</label>*/
#login_myform p label {
	float: left;
	clear: left;
	text-align: left;
	font-size: 20px;
	width: 500px;
}
#login_myform p input {
	outline: 0;
	float: left;
	clear: left;
	font-size: 20px;
	width: 100%;
	border: 0;
	background: #f2f2f2f2;
	margin: 0 0 15px;
	padding: 13px;
	box-sizing: border-box;
	transition: 0.5s;

}
.loginpanel h2 {
		font-family: "Roboto", sans-serif;
	    align-content: center;
	    color: black;
	    text-transform: uppercase;
	    color: Black;


}
.loginpanel button {
	color: white;
	text-transform: uppercase;
	font-size: 20px;
	width: 100%;
	outline: 0;
	border: 0;
	background: #4CAF50;
	padding: 15px;
	cursor: pointer;
	-webkit-transition: all 0,3 ease;
	transition: all 0.3 ease;
	transition: 0.5s;


}
.loginpanel button:hover, .loginpanel button:active, .loginpanel button:focus {
	background: #43A047;
	transition: 0.5s;

}

.loginregbutton {
	margin: 15px 5px 10px;
	color: #4CAF50;
	font-size: 14px;
	text-decoration: none;
	display: inline-block;
}
.loginregbuttona {
	margin: 15px 5px 10px;
	color: Black;
	font-size: 14px;
	text-decoration: none;
	display: inline-block;
}.loginregbuttona:hover {
	color: Black;
}
.loginregbutton:hover {
	color: #43A047;
}

/*Конец логин панели*/

.parrentnews {
	 display: grid;
	 grid-template-rows: auto auto auto;
	 grid-template-columns: 1fr 1fr 1fr;
	 grid-gap: 1vw;
	 width: 1000px;
	 margin: 30px auto 100px;
	 padding-left: 40px;
	 padding-right: 40px;
	 justify-content: center;

}
.newspost {

	background: white;
	position: relative;
	display: inline-block;
	vertical-align: middle;
	text-align: left;
	overflow: auto;

	width: 300px;
	height: 300px;
 
	border-radius: 3px;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.24);
	box-sizing: border-box; 
	
}
.newspost:hover {
	box-shadow: 20px 10px 10px 2px rgba(0, 5, 0, 0.2), 5px 2px 2px 5px rgba(0, 5, 0, 0.24);
	transition: 0.5s;
	}

.newspost a {
	font-size: 20px;
	color: Black;
	margin-left:  10px;
	margin-top: 5%;
	position: relative;
	text-decoration: none;
	clear: left;
	box-sizing: border-box;
	display: block;
	width: 290px;
	height: 20%;

}

.newspost img {
	width: 100%;
	height: 75%;
	max-height: 200px;
	display: block;
	max-width: 300px;
	object-fit: contain;
	border-radius: 2px;

}

/*Стили самой новости*/
.detailnews {
	display: grid;
	grid-template-areas: 
	"nav new ads"
	grid-template-rows 60px 1fr 60px;
	grid-template-columns: 20% 1fr 15%;
	grid-gap: 10px;
	height: 100vh;
	margin: 0;

}
.News {
	position: relative;
	display: block;
	padding: 20px;

}

.News p {
	white-space:pre-line;

}

.container-virt {
	max-width: 1400px;
	padding-left: 0px;
	padding-right: 0px;
}

.xterm-viewport {

	overflow: hidden;
}