/*Каркас*/

body{
	background: white;
	color: #3f3f3f;
	font-family: Lato, sans-serif;
	font-size:14px;
}

.rubber-width{
	min-width: 1000px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 11px;
}

.margin-for-side-menu-block{
	margin-right: 236px;
}

/*Шапка*/

#head-top-line{
	background-color: #eaeaea;
	height: 14px;
}

header{
	padding: 0 11px;
}

header.rubber-width{
	margin-bottom: 25px;
}

#header-top{
	text-align: right;
	height: 48px;
	margin-bottom:4px;
}

#header-top-left{
	float:left;
	width: 213px;
}

#header-top-right{
	overflow:hidden;
	padding-top:17px;
	margin-left: 213px;
	height: 28px;
}

#header-logo-home-link{
	display: block;
	margin-top: 13px;
	height: 35px;
	float: left;
}

#header-top-right .ci-button{
	margin-right: 10px;
	font-size: 13px;
	width: unset;
	line-height: 16px;
	height: 28px;
}

/*хак для ИЕ9+*/
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none){
	#header-top-right .ci-button{
		line-height:16px;
	}
}

#header-button-help-icon,
#header-button-call-icon{
	display: inline-block;
	width:13px;
	height: 12px;
	margin: 0 5px -2px -2px;
	background: url("images/header-button-icon.png") top left no-repeat;
}

#header-button-call-icon{
	background: url("images/header-button-icon.png") -14px top no-repeat;
}

#header-middle{
	clear:both;
}

#header-middle-right{
	padding-top: 31px;
	width:570px;
	float:right;
	text-align: right;
}

#header-middle-left{
	overflow:hidden;
	margin-right: 570px;
	height: 72px;
}

#site-name{
	font-size: 41px;
	color: #c61e36;
	white-space: nowrap;
}

/* Средняя линия */
#middle-big-line{
	background-color: #c53045;
	min-height: 51px;
}

/*
	Хлебные крошки
 */

#ci-breadcrumb{
	height: 51px;
	color:#eaeaea;
	overflow: hidden;
}

/*Поиск*/

#ci-main-page-search{text-align: right;}
#ci-inner-page-search{
	float: right;
	width: 206px;
	text-align: right;
	height: 23px;
	margin-top:10px;
}

#ci-main-page-search-field,
#ci-inner-page-search-field{
	text-align: left;
	background: none;
	border: 0;
	border-bottom: 1px solid #fff;
	color: #fff;
	font-size: 16px;
	vertical-align: bottom;
	width: 171px;
	height: 18px;
	margin: 31px 13px 0 0;
	padding: 0 0 3px 0;
	display: inline-block;
	float: left;
}

#ci-inner-page-search-field{
	height: 21px;
	margin: 3px 10px 0 0;
	padding: 0;
	float: right;
}

#ci-inner-page-search-field::placeholder,
#ci-main-page-search-field::placeholder{
	color:white;
}

#ci-main-page-search-submit,
#ci-inner-page-search-submit{
	height: 40px;
	width: 40px;
	background: url('/local/templates/torgi2016/images/header-button-icon.png') -96px top no-repeat;
	border: 0;
	cursor: pointer;
	vertical-align: bottom;
	display: inline-block;
	float: left;
	margin-top: 30px;
	padding:0;
}

#ci-inner-page-search-submit{
	width:23px;
	float: right;
	margin-top:2px;
}

/*Заголовок страницы*/
#page-title-block{
	padding: 35px 0 33px;
	border-bottom: 1px solid #eaeaea;
}

#page-title-block-inner h1{
	font-size: 24px;
	color:#354853;
}


/*Боковое меню*/
#side-menu-block{
	width: 206px;
	border: 1px solid #eaeaea;
	float: right;
	margin: -1px 0 -1px 20px;
	background-color: #fff;
	overflow: hidden;
}

/*#side-menu-block a:visited{*/
/*	color:#4a86b3;*/
/*}*/

.side-menu-banner{
	margin: 20px 0;
	text-align: center;
}

/*Контент*/
#main-page-content-wrapper{
	margin: 20px auto 0;
	line-height: 19px;
}

/*236px - волшебное число связанное с шириной бокового меню, есть такой же класс margin-for-side-menu-block*/
#main-page-content{
	margin-right: 236px;
}

#main-page-content p + img{
	margin:25px 0;
	display: block;
}

.content-block{
	background-color: #fbfbfb;
	padding: 23px 31px 31px 33px;
}


/*Подвал*/
#page-bottom-dialog{
	font-size: 30px;
	text-align: center;
	color: #889298;
	padding: 60px 0;
	line-height: 63px;
	border-top: 1px solid #eaeaea;
	clear: both;
}

#footer-top-line{
	margin-top: 0;
	clear: both;
}

footer.rubber-width{
	clear: both;
	padding-top: 20px;
}

#footer-links{
	height: 110px;
}

.footer-collumn{
	display: inline-block;
	width:24%;
	float: left;
	margin: 0 0.5%;
	line-height: 17px;
}

#footer-logo{
	height: 29px;
}

.footer-collumn-title{
	color: #354853;
	font-size: 16px;
	margin-bottom: 5px;
}

.footer-collumn-links{
	color:#889298;
}

#footer-other-projects{
	background-color: #8b8b8b;
	padding: 20px 0 22px;
	color:#fff;
	line-height: 15px;
}

#footer-other-projects .rubber-width{
	overflow-x: hidden;
	overflow-y: hidden;
	white-space: nowrap;
}

#footer-other-projects .footer-other-projects-link{
	margin-left: 30px;
	color:#fff;
	text-decoration: underline;
}

.footer-other-projects-link:visited{
	color:#fff;
}

/*Текст*/

p{
	line-height: 19px;
}

main p{
	margin-bottom: 1em;
}

p:last-of-type{
	margin-bottom: 0;
}

.ci-bold-text,
.ci-very-important-text,
strong{
	font-weight: bold;
}

.ci-very-important-text{
	color:#c61e36;
}

h1, h2, h3, h4, h5, h6{
	color: #354853;
}

/*
wiki
*/

.ci-headers,
#wiki-post-content h2{
	margin: 30px 0 15px;
}

#wiki-post-content img{margin: 10px 5px 15px;}
#wiki-post-content table{border: none;}

/*
Списки
*/

#main-page-content li{
	margin-left: 0;
}

#main-page-content ul, #main-page-content ol{
	margin-bottom:1em;
}

#main-page-content .ci-list{
	list-style-type: none;
	padding-left:0;
}

#main-page-content .ci-list-element,
#main-page-content .ci-list li{
	margin-left: 0;
}

.ci-list-element:before,
#main-page-content .ci-list li:before{
	color: #c30120;
	content: "•";
	padding-right: 6px;
	font-size:15px;
}

#main-page-content .ci-list-universal{
	padding-left:0;
}

#main-page-content .ci-list-universal li{
	margin-bottom:10px;
	line-height:1.5em;
}

#main-page-content .ci-list-universal li ul,
#main-page-content .ci-list-universal li ol{
	margin-top: 9px;
	padding-bottom: 0;
}

#main-page-content .ci-list-universal li:last-child{
	margin-bottom:0;
}

.cheked-row{
	margin: 20px 0;
	padding-left: 40px;
}

.cheked-row .ci-checked-circle{
	float: left;
	margin: 0 0 0 -40px;
}

/*Ссылки*/

a, .link{
	color:#4a86b3;
	text-decoration: none;
	cursor: pointer;
}

.link{
	user-select:none;
	-webkit-user-select: none;
	-moz-user-select: none; 
	-ms-user-select: none;   
	-o-user-select: none;
}

a:hover, .link:hover{
	text-decoration: underline;
	color: #4a86b3;
}

a:visited{
	color: #ad3492;
}

/*Позиционирование и видимость*/

.hidden{
	display:none;
}

/*Элементы форм*/

.ci-button,
.ci-filled-button,
.ci-dark-filled-button{
	box-sizing: border-box;
	font-size:16px;
	display: inline-block;
	color: #347bad;
	border: 1px solid #347bad;
	border-radius: 7px;
	padding: 5px 15px 10px;
	text-align: center;
	line-height:26px;
	height: 37px;
	cursor:pointer;
	vertical-align:middle;
	background-color: #fff;
	font-weight: normal !important;
	overflow: hidden;
	min-width: 120px;
}

#main-page-content .ci-button,
#main-page-content .ci-filled-button,
#main-page-content .ci-dark-filled-button{
	text-decoration: none;
}

@-moz-document url-prefix(){
	input.ci-filled-button,
	input.ci-button,
	input.ci-dark-filled-button{
		line-height: 0;
	}
}

input.ci-button,
input.ci-filled-button
input.ci-dark-filled-button{
	line-height:26px;
	height: 38px;
	padding:0 8px 1px;
}

.ci-filled-button{
	background-color: #c53045;
	border-color: #c53045;
	color:#fff;
}

.ci-dark-filled-button{
	background-color: #808a91;
	border-color: #808a91;
	color:#fff;
}

.ci-button:visited{
	color: #347bad;
}

.ci-filled-button:visited,
.ci-dark-filled-button:visited{
	color:#fff;
}

.ci-button:hover{
	background-color: #347bad;
	color: #FFF;
	text-decoration: none;
}

.ci-filled-button:hover{
	background-color: #fb2745;
	text-decoration: none;
	color: #FFF;
}

.ci-dark-filled-button:hover{
	background-color: #718fa4;
	text-decoration: none;
	color: #FFF;
}

.ci-text-input{
	border: 1px solid #848586;
	border-radius: 6px;
	background-color: #fdfdfd;
	padding: 8px 17px 12px;
	height: 17px;
	font-size: 15px;
	color:#808a91;
	line-height:17px;
}

@media screen and (-webkit-min-device-pixel-ratio:0){
	.ci-text-input{
		padding:9px 17px 11px;
	}
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none){
	.ci-text-input{
		padding:10px 17px;
	}
}

.ci-select{
	border: 1px solid #848586;
	border-radius: 6px;
	background-color: #fdfdfd;
	padding: 5px 17px 7px;
	height: 39px;
	font-size: 15px;
	color:#808a91;
	line-height:17px;
	box-sizing: border-box;
}

.ci-validate-correct{
	border-color: #1ea917;
	background-color: #f6fcf5;
}

.ci-validate-invalid{
	border-color: #c53045;
	background-color: #fff7f8;
}

.ci-validate-disabled{
	border-color: #eaeaea;
	background-color: #f5f5f5;
}

input:disabled,
input:disabled:hover,
select:disabled,
select:disabled:hover{
	background-color: #f2f2f2;
	border-color: #d1d1d1;
	color: #959595;
	cursor: not-allowed;
}

/*Всплывающие окна*/
#ci-popup-container{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	min-height:100%;
	overflow:hidden;
	z-index: 1000;
	background: rgba(0, 0, 0, 0.5);
}

.ci-blur{
	z-index: 10;
	opacity: 0.4;
	-webkit-filter: blur(1.3px);
	-moz-filter: blur(1.3px);
	-ms-filter: blur(1.3px);
	-o-filter: blur(1.3px);
	filter: blur(1.3px);
}

#ci-popup-window{
	top: 100px;
	position: fixed;
	overflow-y: auto;
	margin:0 auto;
	padding: 31px 62px 0;
	background-color: rgba(255, 255, 255, 0.97);
	border: 1px solid #848586;
}

#ci-popup-close-button{
	position: absolute;
	cursor:pointer;
	top: 13px;
	right: 14px;
	height: 18px;
	width: 18px;
	background: url('images/header-button-icon.png') -28px top no-repeat;
}

.ci-popup-window-title{
	color:#c53045;
	font-size: 22px;
	font-weight: 800;
	margin-bottom: 25px;
}

#ci-popup-arrow-fill,
#ci-popup-arrow-border
{
	position: absolute;
	border: 10px solid transparent;
	z-index: 1010
}

/* Остальное */
.horizontal-line{
	border-top: 1px solid #d2d7d9;
	margin:22px 0 22px;
	width:100%;
}

.ci-clear-float{
	clear: both;
}

.ci-checked-circle{
	vertical-align: middle;
	display: inline-block;
	height: 28px;
	width: 28px;
	background: url('images/header-button-icon.png') -67px top no-repeat;
}

div.ci-checked-circle-gray{
	background: url('images/gray-checked-circle.png') left top no-repeat;
}

div#wiki-post div#wiki_category{
	max-height: 20px;
}

.wide-block-with-background{
	background-color: #f4f4f4;
	margin: 40px 0 50px;
	padding: 40px 0 45px;
}

/* карточки */

.feature-cards{
	margin: 30px 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content:space-between;
}

.feature-card{
	box-sizing: border-box;
	width: 308px;
	height: 370px;
	padding: 145px 10px 0 20px;
	background-color: #f9f9f9;
	margin-bottom: 30px;
	position: relative;
}

.feature-card .ci-headers{margin: 25px 0 15px;}

.feature-card-link{
	position: absolute;
	bottom: 30px;
}

.feature-card-icon{
	width: 68px;
	height: 68px;
	padding:0;
}

.feature-card-text{margin-top: 30px;}

/* Таблицы с иконками */

.features-table {
	width: 100%;
	margin-top: 30px;
	border-collapse: collapse;
}

.features-table th{
	font-weight: 700;
	padding: 10px 7px;
}

.features-table-dashed-row{
	border-top: 1px dashed #949ca2;
}

.features-table tr:first-of-type{
	border-top: none;
}

.features-table td{
	padding: 10px 7px;
}

.features-table .features-table-element-icon {
	width: 68px;
	height: 68px;
	padding:0;
}

.features-table .features-table-element-text {
	padding: 10px 10px 40px;
	vertical-align: middle;
	width: 42%;
	height: 100px;
	box-sizing: border-box;
}

/* Блок с ценой */
.element-price{
	box-sizing: border-box;
	padding: 10px 13px 8px;
	width: 140px;
	color: white;
	font-size: 24px;
	margin: 15px auto 0;
}
.element-price:hover{text-decoration: none;}

.element-price-currency{
	font-size: 16px;
}


/* Карточки тарифов */

.tariff-cards-block{
	flex-wrap: wrap;
	margin: 30px 0;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.tariff-cards-element{
	box-sizing: border-box;
	background-color: white;
	width: 220px;
	height: 190px;
	padding: 35px 20px 10px;
	text-align: center;
	margin: 0 0 30px;
	cursor: pointer;
	user-select: none;
}

.tariff-cards-element:hover{
	box-shadow: 0 0 19px #dfdfdf;
}

.tariff-cards-element-header{
	margin: 0 0 5px;
	font-size: 34px;
	font-weight: normal;
}

.tariff-cards-element-description{
	line-height: 20px;
}

/*
форум
 */

div.forum-filter div.forum-filter-field{display: block;}
div.forum-filter label.forum-filter-field-title,
div.forum-filter span.forum-filter-field-item{
	width: auto;
	float: none;
}
div.forum-filter .forum-filter-field .forum-clear-float{clear:none;}

/* важное примечание */
.ci-alert{
	border-left: 19px solid #c40121;
	background-color: #cdd2d5;
	color: #364954;
	margin: 30px 0;
	padding: 20px 17px 20px 28px;
}

.ci-alert h2,
.ci-alert h3{
	margin-top:0;
	padding-top:0;
}

/**Некопируемая область**/
.no-copy-area {
	-ms-user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	user-select: none;
}

/** cookie **/
.cookie-popup{
	background: #ffffff;
	border-top:4px solid #8597a5;
	bottom:0;
	left:0;
	position:fixed;
	right:0;
	z-index:9999
}

.cookie-popup__container{
	display: flex;
	flex-direction: row;
	gap: 2rem;
	padding: 2rem 0
}

@media(max-width: 1023px){
	.cookie-popup__container{
		flex-direction: column;
	}
}

@media(max-width: 1023px){
	.cookie-popup__buttons{
		display:flex;
		justify-content:center;
	}
}
