/*
Theme Name:     online-consulting-child
Theme URI:      https://labgentech.ru/
Description:    Создаю дочернюю тему
Author:        	Admin
Author URI:     https: //site.ru
Template:       online-consulting
*/

body{
	margin:0;
	font:100%/1.5em "Ubuntu", sans-serif;
	color:#425766;
	line-height:1.4;
	background:#edeff2;
}
*{box-sizing:border-box;}
#vk_groups{width:100%; box-sizing:border-box;}
#vk_comments, #vk_comments iframe {
    width: 100% !important;
}
.clr:before,.clr:after{
	content:" ";
	display:table;
}
.clr:after{
	clear:both;
}
.flex{
	display:flex;
	flex-wrap:wrap;
}
.jc-sb{
	justify-content:space-between;
}
.ai-c{
	align-items:center;
}
.ai-e{
	align-items:end;
}
.ai-fs{
	align-items:flex-start;
}

.wdth1200{
	margin: 0 auto;
    max-width: 1240px;
    width: 100%;
    padding: 0 20px;
}

header{
	padding:10px 0;
}
.logotip{
	margin:0 10px 0 0;
}
.logotip img{
	width:106px;
}
.slogan br{
	display:none;
}
.slogan{
	font-size:.75em;
	max-width:440px;
	line-height:1;
}



/*Main Menu */
.mnu{
	background: #fff;
    z-index: 2;
    position: relative;
    border-bottom: 1px solid #ddd;
}
#menu-osnovnoe-menyu{
	display:flex;
	font-size: .875em;
}
.menu-osnovnoe-menyu-container ul{
	list-style:none;
	margin:0;
	padding:0;
}
#menu-osnovnoe-menyu li{
	position:relative;
}
#menu-osnovnoe-menyu a{
	color: #333;
	padding: 16px 10px;
	text-decoration: none;
	display:block;
	line-height:1.2;
	font-weight: 400;
}

#menu-osnovnoe-menyu li:hover, #menu-osnovnoe-menyu li.current-menu-item, #menu-osnovnoe-menyu li.current-menu-ancestor, #menu-osnovnoe-menyu li.current-post-ancestor{
	/* background: #01c2ec; */
}
#menu-osnovnoe-menyu a:hover, #menu-osnovnoe-menyu .current-menu-item a, #menu-osnovnoe-menyu li.colfff a, #menu-osnovnoe-menyu li.current-menu-ancestor a, #menu-osnovnoe-menyu li.current-post-ancestor a{
	color: #17c7a0;
}
#menu-osnovnoe-menyu .sub-menu li a{
	color:#fff;
}
#menu-osnovnoe-menyu > .menu-item-has-children > a:after{
	font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
	content: "\f107";
	margin:0 0 0 5px;
	font-size: 11px;
}

#menu-osnovnoe-menyu > .menu-item-has-children > .sub-menu{
	position:absolute;
	background: #17c7a0;
	top: 49px;
	left:0;
	z-index: 2;
}

.menu-osnovnoe-menyu-container .menu-item-has-children:hover > .sub-menu{
	display:block;
}

.menu-osnovnoe-menyu-container .sub-menu{
	display:none;
	-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
	width: max-content;
	min-width:100%;
}

#menu-osnovnoe-menyu .sub-menu a{
	color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	width: 100%;
	display: block;
	border-radius: 0;
	text-align: left;
}
#menu-osnovnoe-menyu .sub-menu li{
	border-radius: 0;
}
#menu-osnovnoe-menyu .sub-menu li:hover, #menu-osnovnoe-menyu .sub-menu li.current-menu-item, #menu-osnovnoe-menyu .sub-menu li.current-menu-ancestor{
	background: #18b390;
}



#menu-osnovnoe-menyu .menu-item-has-children .menu-item-has-children > a{
	display:flex;
	justify-content:space-between;
	align-items: center;
	color: #fff;
}
#menu-osnovnoe-menyu .menu-item-has-children .menu-item-has-children > a:after{
	font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
	content: "\f105";
	margin:0 0 0 5px;
	font-size: 11px;
}

#menu-osnovnoe-menyu > .menu-item-has-children > .sub-menu > .menu-item-has-children > .sub-menu{
	position:absolute;
	background: #01c2ec;
	top:0;
	left:100%;
}

.menu-burger {
    margin: 0 0 0 10px;
    display: none;
    width: 38px;
    height: 13px;
    position: relative;
}
.lm{
	height: 1px;
    position: absolute;
    display: block;
    background: #000b2d;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
	left:0;
}
.lm1{
	top:0;
	width: 38px
}
.lm2{
	top:6px;
	width: 38px
}
.lm3{
	bottom:0;
	width: 30px
}
.opm .lm1{
	-webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    transform-origin: 0 0;
}
.opm .lm2{
	width: 26px;
    -webkit-transform: rotate(45deg) translateX(0px) translateY(-14px);
    -ms-transform: rotate(45deg) translateX(0px) translateY(-14px);
    transform: rotate(45deg) translateX(0px) translateY(-14px);
    -webkit-transform-origin: 0 100%;
    -ms-transform-origin: 0 100%;
    transform-origin: 0 100%;
}
.opm .lm3{
	width: 26px;
    -webkit-transform: rotate(-45deg) translateX(9px);
    -ms-transform: rotate(-45deg) translateX(9px);
    transform: rotate(-45deg) translateX(9px);
}
/*END Main Menu */


.main-slide{
	width:100%;
}

.contain{
	margin:40px 0;
}
.contain2{
	margin:20px 0 40px;
}

.section_header{
	margin:20px 0;
}
.section_header h2{
	font-size:1.5em;
	margin:0;
}
.sc-link{
	display: flex;
    justify-content: space-between;
    align-items: center;
	color:#17c7a0;
	text-decoration:none;
	transition:.2s;
}

.sc-link:after {
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    content: "\f105";
    margin: 0 0 0 5px;
    font-size: 11px;
}

.sc-link:hover{
	color:#18b390;
}

.newsslide{
	padding:0 10px;
}
.news-line{
	width:100%;
	color:#333;
	background:#fff;
	border-radius:8px;
	overflow:hidden;
	text-decoration:none;
	transition:.2s;
}
.news-line:hover{
	color:#18b390;
}
.newstext{
	padding:20px;
}
.news-line h4{
	font-size:.875em;
	font-weight:400;
	margin:0;
	line-height: 1.2;
}
.newsdate{
	font-size:.875em;
	color:#666;
	margin:0 0 10px;
}
.imgnews{
	width:100%;
	object-fit:cover;
}

.loko {
	width:100%;
	max-width:1400px;
	margin:0 auto;
}
.loko .swiper-button-prev, .loko .swiper-rtl .swiper-button-next {
    left: 10px;
}
.loko .swiper-button-next, .loko .swiper-rtl .swiper-button-prev {
    right: 10px;
}

footer{
    background: radial-gradient(circle at 50% -50%, #4ea1b5 10%, #21869e 55%, #21869e 100%) no-repeat;
	padding:40px 0 30px;
	color:#fff;
}
.footer-info{
	max-width:400px;
	font-size:.875em;
}
.fi-header{
	font-weight:500;
}
.fi-info{
	margin:0 0 10px;
	font-weight:300;
}

.footer_bottom{
	position: relative;
    padding: 30px 0 0;
    font-size: .75em;
	
}
.footer_bottom a{
	color:#fff;
	text-decoration:none;
	opacity:.8;
	transition:.2s;
}
.footer_bottom a:hover{
	opacity:1;
}
.footer_bottom:before {
    content: "";
    display: block;
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    width: 100%;
    height: 1px;
    background-image: linear-gradient(96deg, rgba(215, 196, 255, 0.15) 3%, rgba(255, 255, 255, 0.35) 50%, rgba(215, 196, 255, 0.15) 97%);
}



.breadcrumbs{
	margin: 20px 0;
    font-size: .75em;
}
.breadcrumbs a{
	color:#425766;
}


.page_content{
	width:calc(100% - 300px);
	padding:20px 30px;
	box-shadow: 0 0.250em 0.375em rgba(10, 37, 64, .09), 0 0.063em 0.188em rgba(0, 0, 0, .08);
	background:#fff;
	border-radius: 10px;
	font-size: .875em;
    line-height: 1.6;
}
.page_content a{
	color:#17c7a0;
}
.sidebar{
	width:280px;
	background:#fff;
	box-shadow: 0 0.250em 0.375em rgba(10, 37, 64, .09), 0 0.063em 0.188em rgba(0, 0, 0, .08);
	overflow:hidden;
}
#menu-bokovoe-menyu{
	margin:0;
	padding:0;
	list-style:none;
}
#menu-bokovoe-menyu li{
	border-bottom:1px solid #ddd;
}
#menu-bokovoe-menyu li a{
	padding: 10px 15px;
    color: #425766;
    text-decoration: none;
    transition: .2s;
    display: block;
    font-size: .875em;
}
#menu-bokovoe-menyu li a:hover{
	color:#17c7a0;
}
#menu-bokovoe-menyu li.current-menu-item, #menu-bokovoe-menyu li.current-page-ancestor, #menu-bokovoe-menyu li.current-post-ancestor{
	border-left: 3px solid #17c7a0;
}

h1{
	font-size: 1.5em;
}

.page_content a.newsline2{
	border-bottom: 1px solid #ddd;
    padding: 10px 0;
    text-decoration: none;
    color: #425766;
}
.newsimgcontainer{
	width:200px;
	line-height: 0;
}
.newstext2{
	width:calc(100% - 220px);
}
.newsline2 .imgnews{
	border-radius:8px;
}
.newsline2 h4{
	margin:10px 0;
	font-weight:400;
}

.nav-links{
	margin:30px 0;
	display: flex;
    justify-content: center;
}
.nav-links a{
	padding:10px;
	color:#425766;
	text-decoration:none;
	transition:.2s;
}
.nav-links a:hover{
	color:#17c7a0;
}
.nav-links .current{
	padding:10px;
	color:#17c7a0;
	background: none !important;
}



.page_content a.personline2{
	border-bottom: 1px solid #ddd;
    padding: 20px 0 10px;
    text-decoration: none;
    color: #425766;
}
.personimgcontainer{
	width:100px;
}
.imgperson{
	width: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.persontext2{
	width:calc(100% - 120px);
}
.persontext2 h4{
	margin:0;
	font-size:1.25em;
}
.person_page h4{
	font-size:1em;
}
.persontext2 h1{
	margin:0;
}
.jobtitle{
	margin:15px 0;
}
.jobtitle p{
	margin:4px 0;
	line-height:1.2;
}
.jobtitle b{
	font-weight:500;
}

.scientific_id{
	margin:0 20px 0 0;
}

.person_info{
	margin:20px 0;
}
.person_info{
	margin:40px 0;
}
.person_info h4{
	margin:0 0 20px;
}

.wp-block-list li{
	margin:20px 0;
}

.base-tovary{
	display:flex;
	flex-wrap:wrap;
}
.tovar-line{
	padding:5px;
	border:1px solid #ddd;
	width:calc(100%/3 - 10px);
	margin:0 10px 10px 0;
}
.tovar-line img{
	width:100%;
	object-fit:cover;
	object-position:center;
}
.tovar-line p{
	margin:10px 0 0;
	font-size:.875em;
}


@media screen and (max-width: 1080px){
	.fi-box{
		width:100%;
		margin: 30px 0 0;
	}
	.page_content {
		width: calc(100% - 220px);
	}
	.sidebar {
		width: 200px;
	}
}
@media screen and (max-width: 1024px){
	#menu-osnovnoe-menyu {
		font-size: .75em;
	}
}
@media screen and (max-width: 910px){
	body{
		padding:44px 0 0;
	}
	header{
		border-bottom: 1px solid #ddd;
		position:fixed;
		top:0;
		left:0;
		width:100%;
		z-index: 3;
        background: #f9f9f9;
	}
	
	.menu-burger {
		display: block;
	}
	.mnu {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
	}
	.menu-osnovnoe-menyu-container{
		position: absolute;
		top: -5000px;
		left: 0;
		background: #fff;
		width: 100%;
		z-index: 6;
	}
	.opened.menu-osnovnoe-menyu-container{
		top: 65px;
        height: calc(100vh - 65px);
        overflow-y: scroll;
	}
	#menu-osnovnoe-menyu a:hover, #menu-osnovnoe-menyu .current-menu-item a, #menu-osnovnoe-menyu li.colfff a, #menu-osnovnoe-menyu li.current-menu-ancestor a, #menu-osnovnoe-menyu li.current-post-ancestor a {
		color: #fff;
	}
	#menu-osnovnoe-menyu {
		display: block;
		font-size: .875em;
	}
	#menu-osnovnoe-menyu > li {
		color: #fff;
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
		border-radius:0;
		padding: 0 20px;
	}
	#menu-osnovnoe-menyu li:hover, #menu-osnovnoe-menyu li.current-menu-item, #menu-osnovnoe-menyu li.current-menu-ancestor{
		background: #08b2d7;
	}
	#menu-osnovnoe-menyu li a{
		color: #425766;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 10px 0;
		max-width: 769px;
		margin: 0 auto;
	}
	.menu-osnovnoe-menyu-container .menu-item-has-children:hover > .sub-menu{
		display:none;
	}
	#menu-osnovnoe-menyu > .menu-item-has-children > .sub-menu, #menu-osnovnoe-menyu > .menu-item-has-children > .sub-menu > .menu-item-has-children > .sub-menu{
		position: relative;
		top: 0;
		box-shadow: 0 0 0;
		margin: 0 0 0 5px;
		width: calc(100% - 5px);
		min-width: auto;
		left:0;
	}
	body #menu-osnovnoe-menyu > .menu-item-has-children > ul.opensub, body #menu-osnovnoe-menyu > .menu-item-has-children > .sub-menu > .menu-item-has-children > ul.opensub{
		display: block;
		background:none;
	}
	#menu-osnovnoe-menyu .menu-item-has-children > a.closed:after, #menu-osnovnoe-menyu .menu-item-has-children .menu-item-has-children > a.closed:after{
		content: "\f106";
	}
	
	#menu-osnovnoe-menyu .menu-item-has-children .menu-item-has-children > a:after {
		content: "\f107";
	}
	.sidebar{
		display:none;
	}
	.page_content{
		width:100%;
	}
}


@media screen and (max-width: 769px){
	body {
        padding: 65px 0 0;
    }
	.newstext {
		padding: 15px 10px;
	}
	.newsdate, .news-line h4 {
		font-size: .75em;
	}
	.slogan{
		line-height: 12px;
	}
	.slogan span{
		display:none;
	}
	.logotip img {
		width: 96px;
	}
	.slogan br{
		display:block;
	}
	.tovar-line{
		width: calc(100% / 2 - 10px);
	}
}
@media screen and (max-width: 600px){
	.footer_bottom {
		padding: 20px 0 0;
	}
	footer{
		padding: 30px 0 20px;
	}
	.wdth1200{
		padding: 0 10px;
	}
	.page_content{
		padding: 10px;
	}
}
@media screen and (max-width: 530px){
	footer .logotip img {
        width: 60px;
    }
	footer .slogan{
		width: calc(100% - 73px);
	}
}
@media screen and (max-width: 480px){
	.newsimgcontainer {
		width: 100%;
	}
	.newstext2 {
		width: 100%;
		margin: 10px 0 0;
	}
	.page_content a.newsline2{
		line-height: 1.4;
	}
	.personimgcontainer {
		width: 100%;
		max-width: 300px;
	}
	.persontext2 {
		width: 100%;
	}
}
@media screen and (max-width: 420px){
	.footer_bottom a{
		width:100%;
		padding:5px 0;
	}
}













