/* Paddings */
.p_60 { padding: 60px !important; }
.p_30 { padding: 30px !important; }

.pr_20{ padding-right: 20px !important; }

.pb_60 { padding-bottom: 60px !important; }
.pb_50 { padding-bottom: 50px !important; }
.pb_40 { padding-bottom: 40px !important; }
.pb_30 { padding-bottom: 30px !important; }
.pb_20 { padding-bottom: 20px !important; }
.pb_10 { padding-bottom: 10px !important; }

.pt_60 { padding-top: 60px !important; }
.pt_50 { padding-top: 50px !important; }
.pt_40 { padding-top: 40px !important; }
.pt_30 { padding-top: 30px !important; }
.pt_20 { padding-top: 20px !important; }
.pt_10 { padding-top: 10px !important; }

/* Margins */

.mt_60 { margin-top: 60px !important; }
.mt_50 { margin-top: 50px !important; }
.mt_40 { margin-top: 40px !important; }
.mt_30 { margin-top: 30px !important; }
.mt_20 { margin-top: 20px !important; }
.mt_15 { margin-top: 15px !important; }
.mt_10 { margin-top: 10px !important; }
.mt_0 { margin-top: 0px !important; }

.mb_60 { margin-bottom: 60px !important; }
.mb_50 { margin-bottom: 50px !important; }
.mb_40 { margin-bottom: 40px !important; }
.mb_30 { margin-bottom: 30px !important; }
.mb_20 { margin-bottom: 20px !important; }
.mb_15 { margin-bottom: 15px !important; }
.mb_10 { margin-bottom: 10px !important; }
.mb_5 { margin-bottom: 5px !important; }
.mb_0 { margin-bottom: 0px !important; }

/* Fonts */
h2 {
	font-size: 28px;
}

.frame_header h2.entry-title,
.frame_header h2 {
	margin: 0;
}

/* Header */
img.logo {
	padding: 5px 30px 5px 15px;
	display: inline-block;
}
@media (min-width: 320px) {
	#mega-menu-wrap-main_menu {
		margin: 0;
	}
}
@media (min-width: 993px) {
	#mega-menu-wrap-main_menu {
		margin-top: 20px;
		display: inline-block;
	}
}

#mega-menu-main_menu li.mega-menu-item>a.mega-menu-link:hover,
#mega-menu-main_menu li.mega-current-menu-item>a.mega-menu-link {
	border-bottom: 2px solid #ee3524 !important;
}
.second_menu {
	background-color: #a9a9a9;
	/*padding-left: 145px;*/
}

/* Pages */

#main,
.sidebar {
	box-shadow: 0px 3px 7px 0 rgba(130, 121, 121, 0.5);
	margin: 30px 0;
	padding: 0 15px 30px;
}
@media (min-width: 320px) {
	.page-template-default #main {
		margin: 0;
	}
}
@media (min-width: 991px) {
	.page-template-default #main {
		margin: 30px 60px 30px 0;
	}
}

.frame_header {
	position: relative;
	background-color: #ffffff;
	padding: 15px;
	margin: -15px -15px 30px;
	border-bottom: 2px solid #ee3524;

}
.frame_header::before,
.frame_header::after {
	content: ''; 
	position: absolute;
	left: 60px; 
	bottom: -30px;
	border: 15px solid transparent;
	border-top: 15px solid #ee3524;
}
.frame_header::after {
	border-top: 16px solid white;
	bottom: -28px; 
}

hr.short {
	background-color: #a9a9a9;
	width: 50%;
	margin-bottom: 45px;
}

/* Footer */
.site-info {
	background: #4d4d4d;
	color: #fff;
	padding: 30px 15px;
}

/* Lists */
ul.style1, ol.style1 {
	margin: 0 0 15px -40px;
}
ol.style1 li,
ul.style1 li {
	padding: 15px 15px 15px 0px;
}
ol.style1 {
	list-style-type: none; /* Убираем исходные маркеры */
	counter-reset:  item; /* Обнуляем счетчик списка */
}
.style1 li:before {
	content: counter(item) '.'; /* Добавляем к числам скобку */
	counter-increment: item; /* Задаём имя счетчика */
	padding-right: 15px;
}
ol.style1  li:nth-child(odd),
ul.style1  li:nth-child(odd) {
	background: #eeeeee;
}
ul.style2 {
	margin-left: -40px;
	list-style: none
}
ul.style2 li::before {
	content: "•"; 
	color: #ee3524;
	padding-right: 15px;
}

/* Buttons */
.btn_send {
	background: #fff !important;
	border: 1px solid #a9a9a9 !important;
	border-radius: 5px !important;
	padding: 10px 35px !important;
	box-shadow: 0px 3px 7px 0 rgba(130, 121, 121, 0.5);
	color: #ee3524;
}
.btn_send:hover,
.btn_send:active,
.btn_send:focus,
.btn_send:visited {
	box-shadow: 0px 3px 7px 0 rgba(130, 121, 121, 0.8);
	color: #ee3524;
}
@media (min-width: 320px) {
	.btn_send {		
		font-size: 20px !important;
	}
}
@media (min-width: 991px) {
	.btn_send {		
		font-size: 30px !important;
	}
}

/* Forms */
.wpcf7 input.wpcf7-form-control.wpcf7-text {
	width: 100%;
}

/* Sticky header */
.fixed_header {
	background-color: #ffffff;
}

/* Slider */
@media (min-width: 320px) {
	.slider-title-sm {
		font-size: 16px;
	}
	.slider-title-lg {
		font-size: 18px;
	}
	.slider-icon {
		font-size: 18px;
		color:#333;
	}
	.slider-info {
		color:#333;
		font-size: 16px;
		padding-top: 5px;
	}
}
@media (min-width: 991px) {
	.slider-title-sm {
		font-size: 30px;
	}
	.slider-title-lg {
		font-size: 36px;
	}
	.slider-icon {
		font-size: 24px;
		color:#333;
	}
	.slider-info {
		font-size: 18px;
	}
}