/* Round Corners*/
.r0, .r1, .r2, .r3, .r4 { overflow: hidden; font-size:1px; display: block; height: 1px;}
.r4 { margin: 0 4px; }
.r3 { margin: 0 3px; }
.r2 { margin: 0 2px; }
.r1 { margin: 0 1px; }

/* Tags cloud */
div.search-cloud { text-align:center; }
div.search-cloud a { line-height:1.4em; text-decoration:none; }
div.search-cloud a:hover { text-decoration:underline; }

/* Search results*/
div.search-item { margin: 0 0 1.5em; padding: 0 0 1.5em; border-bottom: 1px solid;}
div.search-result { margin: 1em 0;}
div.search-preview {margin: 0.5em 0;}
div.search-page input.search-query {width: 99%; border: 1px solid; font-size:1.3em;}
div.search-page input.search-button { font-size: 1.2em; }

/* Content Forms: commons styles */
div.content-form
{
	position:relative;
	zoom:1;
	padding-bottom: 2.5em;
	padding-left:2.5em;
}

div.content-form div.form-input span {font-size: 1.5em;}
div.content-form div.form-input input, div.content-form div.form-input textarea, div.content-form div.form-input select
{
	margin: 0;
	border:1px solid;
	font-size:1.117em;
	font-family:Verdana, Tahoma, Sans-Serif;
	margin-bottom: 8px;

}

div.content-form div.form-input input, div.content-form div.form-input textarea { padding: 0.3em; }

div.content-form div.legend
{
	left: -1em;
	top:-0.7em;
	float:left;
	padding: 0 3px;
	background:white;
	position:relative;
	z-index:10;
	font-size: 1.8em;
	font-family:Arial, Verdana, Tahoma, Sans-Serif;
}

div.content-form div.form-input input, div.content-form div.form-input textarea {width:75%;}
div.content-form div.fields { clear: both; }
div.content-form input.input-submit { overflow:visible; padding:0 0.5em;}
div.content-form div.field { padding:0; margin: 0 0 0.8em 0; display: block; }
div.content-form div.field label.field-title
{
	display: block;
	font-size: 1.4em;
	margin-bottom: 3px;
	font-family:Arial, Verdana, Tahoma, Sans-Serif;
	white-space: nowrap;
}

div.content-form div.description {font-size: 0.9em; }
div.content-form div.field-checkbox { margin: 0.3em 0; font-size: 1.4em;}

/*Error & OK messages*/
.errortext, .notetext
{
	display: block;
	margin:0 0 1.5em 0;
	padding:0.4em 1.117em;
	border: 1px solid;
}

.errortext ul, .notetext ul {padding:0.3em 0 0.3em 2em; margin:0;}
.errortext ul li, .notetext ul li {margin:0; padding:0;}

.component table tr td.red {
	color: #d51813;
}

.component table tr td:first-child {
	text-align: left;
}

.component table tr td {
	font-size: 18px;
	color: #304e89;
	padding: 0 10px;
	line-height: 37px;
	background: #e9ecf2;
	border: 8px solid #fff;
	text-align: center!important;
	vertical-align: middle;
}


table.table-ugol-giba tr td {
	border-bottom: 16px solid #e9ecf2;
	background: #ffff;
	border: 5px solid #e9ecf2!important;
	font-size: 18px;
	color: #304e89;
	padding: 0 10px;
	line-height: 37px;
}

.component table.table-ugol-giba tr td {
	border: 5px solid #e9ecf2;
	background: #fff;
	font-size: 18px!important;
	color: #304e89;
	padding: 0 10px;
	line-height: 37px;
	background: #e9ecf2;
	border: 8px solid #fff;
	text-align: center!important;
	vertical-align: middle;
}

table.table-ugol-giba tr td.red {
	color: #d51813!important;
}
.pricesBlock-tab  table.table-ugol-giba tbody td {
	background: #fff;
}
td.calc-input input {
	display: block;
	width: 125px;
	margin: 0 auto;
	text-align: center;
	line-height: 38px;
	height: 38px;
	font-size: 1.1em;
	outline: none;
	border: 0;
}

td.calc-input {
	padding: 0 !important;
	vertical-align: top !important;
}

table.table-ugol-giba thead tr td {
	border: 5px solid #e9ecf2!important;
	background: #fff;
	white-space: nowrap;
	color: #d51813!important;
	padding: 0 10px;
	line-height: 37px;
}

.pricesBlock-tab table.table-ugol-giba  tbody td{
	padding: 0 10px!important;
	height: 38px!important;
	max-height: 38px!important;
}

.component table.table-ugol-giba  tbody tr:last-child td {
	height: 38px!important;
	padding: 0 10px!important;
}

td.calc-input select {
	display: block;
	width: 100%;
	text-align: center;
	line-height: 38px;
	height: 38px;
	font-size: 18px;
	outline: none;
	border: 0;
}

.calc-btn {
	border: 0;
	margin: 0 auto;
	display: block;
	width: 189px;
	height: 35px;
	line-height: 35px;
	text-decoration: none;
	background: #d51813;
	color: #fff;
	font-size: 18px;
	position: relative;
	text-align: center;
	cursor: pointer;
}

#calcGibka .remove {
	font-size: 24px;
	color: #d51813;
	margin-left: 5px;
	cursor: pointer;
	font-family: Verdana;
}

.pricesBlock-tab table tbody tr:last-child td:last-child {

}


.spoiler {
	width: 100%;
	position: relative;
	margin: 80px auto;
	box-sizing: border-box;
}
.spoiler-block {
	background: #F0F4F5;
	display: flex;
	flex-direction: column;
}
.spoiler-block__content {
	position: relative;
	max-height: 300px;
	padding: 30px 30px;
	box-sizing: border-box;
	overflow: hidden;
}
.spoiler-block__content:before {
	content: "";
	display: block;
	background: linear-gradient(180deg, rgba(240, 244, 245, 0.39) 0%, #F0F4F5 76.93%);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.spoiler-block__content p {
	margin: 0 0 20px;
}
.spoiler-block__content p:last-child {
	margin: 0;
}
.spoiler-block__content ul {
	padding: 0 25px 15px;
}
.spoiler-block__content ul li {
	margin: 0 0 5px;
}
.spoiler-block__btn {
	display: flex;
	margin: 10px auto 40px;
	cursor: pointer;
}
.spoiler-block__btn span {
	font-size: 20px;
	line-height: 130%;
	margin-right: 10px;
}
.spoiler-block__btn span:before {
	content: "Читать подробнее";
}
.spoiler-block--active .spoiler-block__content{
	max-height: initial;
}
.spoiler-block--active .spoiler-block__content:before{
	display: none;
}
.spoiler-block--active .spoiler-block__btn span:before {
	content: "Свернуть";
}
.spoiler-block--active .spoiler-block__btn img {
	transform: rotate(180deg);
}

@media (max-width: 600px) {
	.spoiler__container {
		padding: 20px 15px;
	}
	.spoiler-block__content {
		padding: 20px 20px;
	}
	.spoiler-block__btn span {
		font-size: 16px;
	}
}