/* служебные заголовки шаблона (div вместо h2-h6) — копия стилей темы */
.bbh1,.bbh2,.bbh3,.bbh4,.bbh5,.bbh6{display:block}
.bb-crumbs{font-size:14px;margin:0 0 10px;color:#666}.bb-crumbs a{color:inherit;text-decoration:underline}.bb-crumbs span.sep{margin:0 6px}
.mg-header .bb-crumbs{margin-top:6px}
img{max-width:100%;height:auto}
.mg-blog-post-box > img.wp-post-image{display:block;width:auto;max-width:min(100%,600px);height:auto;margin:0 auto 15px}
.page-content-single img{max-width:min(100%,600px);height:auto}
.page-content-single figure{max-width:100%}
.page-content-single table{display:block;overflow-x:auto;max-width:100%}
.page-content-single{overflow-wrap:break-word}
.bbh1, .bbh2, .bbh3, .bbh4, .bbh5, .bbh6{margin-top: 0;
  margin-bottom: 0.5rem;}
.bbh1, .bbh2, .bbh3, .bbh4, .bbh5, .bbh6{margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;}
.bbh1{font-size: 2.5rem;}
.bbh2{font-size: 2rem;}
.bbh3{font-size: 1.75rem;}
.bbh4{font-size: 1.5rem;}
.bbh5{font-size: 1.25rem;}
.bbh6{font-size: 1rem;}
@media print{.bbh2, .bbh3{
    orphans: 3;
    widows: 3;
  }
.bbh2, .bbh3{
    page-break-after: avoid;
  }}
.bbh1{font-size: 34px;
	line-height: 1.3;}
.bbh2{font-size: 32px;
	line-height: 1.3;}
.bbh3{font-size: 28px;
	line-height: 1.3;}
.bbh4{font-size: 24px;
	line-height: 1.3;}
.bbh5{font-size: 20px;
	line-height: 1.3;}
.bbh6{font-size: 16px;
	line-height: 1.3;}
.bbh1, .bbh2, .bbh3, .bbh4, .bbh5, .bbh6{font-weight: 700;
	font-family: 'Montserrat', sans-serif;
	letter-spacing: -0.05em;
	line-height: 1.3;
	margin: 0 0 1.4rem;}
.mg-widget .wp-block-group .bbh2{border-width: 0 0 2px 0;
    border-style: solid;
    margin: 0px -20px 20px -20px !important;
    font-size: 18px;
    line-height: 40px;
    font-weight: 600;
    padding: 0 8px 0 15px;
    position: relative;
    width: auto;
	min-height: 40px;
    height: auto;
    display: inline-block;}
.mg-widget .wp-block-group .bbh2::after{width: 59vh;}
footer .mg-widget .wp-block-group .bbh2{margin: 0px 0px 20px ;}
.mg-widget .wp-block-group .bbh2::before{width: 0;
    position: absolute;
    right: -29px;
    top: 0px;
    height: 0;
    border-style: solid;
    border-width: 42px 0 0px 30px;
    content: "";}
.mg-widget .wp-block-group .bbh2::after{content: '';
	position: absolute;
	height: 2px;
	width: 200vh;
	left: 0;
	bottom: -3px;}
.mg-blog-post.lg.video .bottom .bbh1{font-size: 24px;}
.mg-blog-post .bottom .bbh4{float: left;
	font-size: 32px;
	font-weight: 700;
	line-height: 120%;
	-webkit-text-shadow: 1px 1px 1px rgba(0,0,0,.3);
	-moz-text-shadow: 1px 1px 1px rgba(0,0,0,.3);
	-ms-text-shadow: 1px 1px 1px rgba(0,0,0,.3);
	-o-text-shadow: 1px 1px 1px rgba(0,0,0,.3);
	text-shadow: 1px 1px 1px rgba(0,0,0,.3);
	width: 100%;
	margin-bottom: 0;
	display: block;
    display: -webkit-box;
    max-height: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;}
.mg-blog-post-box .bbh4.title{font-size: 22px;
    line-height: 1.2;
    position: relative;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.05em;
	display: block;
    display: -webkit-box;
    max-height: 100%;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;}
.mg-blog-post-box .bbh1.title.single{overflow: inherit;
	display: inherit;}
.mg-blog-post-box .mg-header .bbh1{font-size: 38px;
	font-weight: 800;}
.mg-blog-post-box .mg-header .bbh4{font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid #ccc;
    margin-bottom: 0;}
.mg-info-author-block .bbh4{font-size: 24px;
	font-weight: 700;
	margin-bottom: 0;}
.mg-info-author-block .bbh4 span{font-size: 14px;
	padding-right: 5px;}
.mg-info-author-block .bbh4 span i{padding-right: 5px;}
.mg-comments .bbh4{font-size: 14px;
	font-weight: 500;
	margin-top: 0;}
.mg-comments .bbh4 span{font-size: 12px;
	padding-left: 7px;}
.mg-blog-inner .bbh1{margin: 0;
  padding: 8px 0 0 0;
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;}
.mg-blog-inner .bbh4.title, .mg-blog-post-box .bbh4.title, .small-list-post .bbh5.title, .mg-blog-post .bottom .bbh1, .mg-no-list-area .mg-blog-post .bbh3{overflow-y: hidden;}
.mg-posts-modul-1 .mg-blog-post-3 .mg-blog-inner .bbh1{font-size: 18px;
	line-height: 20px;}
.mg-blog-post-3.minh  .bbh4{line-height: 25px;
	margin-bottom: 0.5rem;}
.mg-blog-inner .bbh4, .mg-blog-inner .bbh1.title, .mg-no-list-area .mg-blog-post .bbh3{display: block;
    display: -webkit-box;
    max-height: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;}
.mg-sec-title .bbh4{margin: 0px;
	font-weight: 700;
	line-height: 2.2;
	padding: 0 7px 0 15px;
    width: auto;
    height: auto;
	min-height: 40px;
    display: inline-block;
    position: relative;
    font-size: 18px;}
.mg-sec-title .bbh4::before{width: 0;
    position: absolute;
    right: -29px;
    top: 0px;
    height: 0;
    border-style: solid;
    border-width: 40px 0 0px 30px;
    content: "";}
.small-list-post .bbh5{margin: 0px;
  line-height: 25px;
  font-weight: 700;
  font-size: 16px;
  padding-right: 8px;}
.small-list-post .bbh5.title{display: block;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;}
.mg-posts-modul-4 .title_post .bbh4{margin: 10px 0px;}
.mg-inner-txt .bbh3{margin: 10px 0px;}
.search .bbh2{margin: 0;}
.mg-breadcrumb-title .bbh1{font-size: 30px;
	font-weight: 700;
	margin: 0;
	line-height: 30px;
	padding-bottom: 0px;}
.mg-error-404 .bbh1{font-size: 100px;
	line-height: 80px;}
.mg-error-404 .bbh1 i{padding: 5px;
	text-shadow: 1px 3px 8px rgba(0, 0, 0, 0.17);}
.mg-error-404 .bbh4{line-height: 40px;}
footer .mg-widget .bbh6{font-size: 18px;
    line-height: 40px;
    font-weight: 600;
    margin: 0;
    padding: 0 8px 0 15px;
    position: relative;
	text-transform: uppercase;
	width: auto;
    height: 40px;
    display: inline-block;
	margin-bottom: 20px;}
footer .mg-widget .bbh6::before{width: 0;
    position: absolute;
    right: -29px;
    top: 0px;
    height: 0;
    border-style: solid;
    border-width: 40px 0 0px 30px;
    content: "";}
footer .mg-widget .bbh6::after{content: '';
    position: absolute;
    height: 2px;
    width: 200vh;
    left: 0;
    bottom: -2px;}
@media (min-width: 1200px){.mg-blog-post .bottom .bbh4{
		overflow: hidden;
	}
.mg-blog-inner .bbh4{
		margin-bottom: 0.5rem;
		line-height: 25px;
	}}
@media (max-width:1200px ){.mg-blog-post .bottom .bbh4{
		overflow: hidden;
	}
.mg-blog-inner .bbh4{
		margin-bottom: 0.5rem;
		line-height: 25px;
	}}
@media screen and (min-width: 240px) and (max-width: 767px){.mg-blog-post .bottom .bbh1{
		font-size: 20px;
	}
.mg-blog-post .bottom .bbh1{
		max-height: 100px;
	}}
@media (max-width: 576px){.mg-blog-post .bottom .bbh4{
		font-size: 24px;
	}}
.mg-headwidget.trans .mg-header-box-info .bbh4{color: #fff;}
.mg-heading .bbh3, .mg-heading .bbh3 a{color: #212121;}
.mg-error-404 .bbh1 i{color: #1151d3;}
.title_small_post .bbh5 a{color: #212121;}
.title_small_post .bbh5 a:hover{color: #1151d3;}
.mg-blog-inner .bbh4, .mg-blog-inner .bbh4 a{color: #fff;}
.mg-sec-title .bbh4{background-color: #1151d3;
    color: #fff;}
.mg-sec-title .bbh4::before{border-left-color: #1151d3;
    border-color: transparent transparent transparent #1151d3;}
.mg-posts-sec .small-post-content .bbh5 a:hover{color: #1151d3;}
.small-list-post .bbh5.title, .small-list-post .bbh5.title a{color: #212121;}
.mg-blog-post-box .mg-header .bbh1 a{color: #000;}
.mg-blog-post .bottom .bbh4, .mg-blog-post .bottom .bbh4 a{color: #fff;}
.mg-blog-post .bottom .bbh4:hover, .mg-blog-post .bottom .bbh4 a:hover, .mg-blog-inner .bbh4 a:hover{color: #1151d3;}
.mg-blog-post-box .bbh4.title, .mg-blog-post-box .bbh4.title a{color: #212121;}
.mg-blog-post-box .bbh4.title:hover, .mg-blog-post-box .bbh4.title a:hover, .mg-blog-post-box .bbh4.title:focus, .mg-blog-post-box .bbh4.title a:focus{color: #1151d3;}
.mg-comments .bbh4{color: #212121;}
.mg-info-author-block .bbh4{color: #333;}
.mg-info-author-block .bbh4 span{color: #999999;}
.mg-comments .bbh4 span{color: #999999;}
.mg-widget .wp-block-group .bbh2{background: #1151d3;
	color: #fff;
	border-color: #1151d3;}
.mg-widget .wp-block-group .bbh2:before{border-left-color: #1151d3;
    border-color: transparent transparent transparent #1151d3;}
.mg-widget .wp-block-group .bbh2::after{background-color: #1151d3;}
.mg-sidebar .mg-widget .bbh6{background: #1151d3;
	color: #fff;}
.mg-sidebar .mg-widget .bbh6::before{border-left-color: #1151d3;
    border-color: transparent transparent transparent #1151d3;}
.mg-sidebar .mg-widget .mg-blog-post .bbh3 a{color: #212121;}
.mg-sidebar .mg-widget .mg-blog-post .bbh3 a:hover{color: #1151d3;}
.bbh1, .bbh2, .bbh3, .bbh4, .bbh5, .bbh6{color: #212121;}
.mg-breadcrumb-title .bbh1{color: #222;}
.mg-heading-bor-bt .bbh5{color: #212121;}
footer .mg-footer-top-area .bbh6, footer .mg-widget .bbh6{color: #fff;}
footer .mg-widget .bbh1, footer .mg-widget .bbh2, footer .mg-widget .bbh3, footer .mg-widget .bbh4, footer .mg-widget .bbh5, footer .mg-widget .bbh6{color: #fff;}
footer .mg-widget .bbh6{background: #1151d3;
	color: #fff;}
footer .mg-widget .bbh6::before{border-left-color: #1151d3;
    border-color: transparent transparent transparent #1151d3;}
footer .mg-widget .bbh6::after{background-color: #1151d3;}
.woocommerce-page .products .bbh3{color: #333;}
.woocommerce div.product .woocommerce-tabs .panel .bbh2{color: #333;}
.related.products .bbh2{color: #333;}
