/*!
Theme Name: Mk Pharm
Theme URI: http://underscores.me/
Author: Mher Harutyunyan
Author URI: https://kwork.ru/user/mkulya
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mk-theme-options
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Mk Pharm is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/


/* Alignments
--------------------------------------------- */
/*
.alignleft {

	float: left;


	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	float: right;

	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

*/


.cont2 a {
	color: #fff;
}

.cont2 a:hover {
	color: #14a79c;
}

html {
	scroll-behavior: smooth;
}

body {
	background-color: #fff;
	max-width: 1920px;
	width: 100%;
	font-size: 18px;
	margin: 0 auto;
	font-family: 'Open Sans', sans-serif;
	font-weight: 500;
	color: #333333;
	position: relative;
}

header {
	width: 100%;
	height: fit-content;
	font-weight: 500;
	overflow: hidden;
}

/*шапка1*/

.cont {
	width: 100%;
	max-height: 55px;
	height: 2em;
	background-color: #7a7d83;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	color: #fff;
	font-size: 0.85em;
}

.cont1 {
	display: flex;
	justify-content: space-around;
	width: 40%;
	margin: 0 5%;
}

.cont2 {
	display: flex;
	justify-content: flex-end;
	width: 40%;
	margin: 0 5%;
}

.cont1 p {
	margin: 0.5em 0;
}

.cont2 p {
	margin: 0.5em 0.3em;
}

.cont2 p:hover {
	cursor: pointer;
	color: #14a79c;
}

.cont2 p:hover .i1 {
	display: none;
}

.cont2 p:hover .i2 {
	display: block;
}

.i2 {
	display: none;
}

.cont img {
	height: 1em;
	width: auto;
}

.cont2 img {
	margin: 0 1em;
}

.cont ul{
	padding: 0;
	margin: 0;
	list-style-type: none;
}

/*шапка2*/

.nav_div {
	width: 100%;
	max-height: 90px;
	height: 5em;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
}

.nav_div div {
	display: flex;
	width: 35%;
	justify-content: space-evenly;
	align-items: center;
	background-color: #fff;
	margin-left: 0.5%;
}

.nav_div ul {
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	list-style-type: none;
}

.nav_div p {
	margin: auto 0.5em;
}

.nav_div nav {
	display: flex;
	width: 45%;
	margin-right: 5%;
	font-size: 0.8em;
}

.nav_div nav ul {
	justify-content: flex-end;
	width: 100%;
}

.nav_div li {
	border-bottom: 1px solid #14a79c;
	margin-left: 5%;
}

.nav_div li:hover {
	cursor: pointer;
	color: #14a79c;
	border-color: #737373;
}

.top-search {
	display: flex;
    align-items: center;
}

div.search_form {
	position: absolute !important;
    height: 2em;
    width: fit-content !important;
    right: -35%;
    top: 0;
    padding: 0 0.5em;
    transition: right 0.6s;
    background-color: #7a7d83;
    font-size: 1em;
}

div.search_form.s-opened {
    right: 0;
}

.search_form form {
	margin: 0;
}

.search_form input {
	font-size: 0.9em;
	border: 2px solid #737373;
}

input.search-submit {
	padding: 0.2em 0.5em;
    border: 0;
    background-color: #14a79c;
    color: #fff;
    border-radius: 5px;
}

.search-submit:hover {
	color: #14a79c;
	background-color: #fff;
	cursor: pointer;
}

.screen-reader-text {
	display: none;
}

.search-field:hover, .search-field:focus {
	border-color: #14a79c !important;
}

.no-results .search-form {
	display: flex;
    justify-content: center;
    align-items: center;
	margin-bottom: 1em;
}

.no-results p {
	text-align: center;
}

.no-results .search-form label {
	display: flex;
	margin-right: 0.5em;
}

.no-results .search-form input {
	font-size: 1.5em;
}

/*выпадающее меню*/

#menu_but {
	width: 8%;
	min-width: 15px;
	background-image: url(/wp-content/themes/mk-pharm/img/menu.svg);
	background-size: contain;
	background-repeat: no-repeat;
}

#menu_but:hover {
	cursor: pointer;
	background-image: url(/wp-content/themes/mk-pharm/img/menu2.svg);
}

.menu_back {
	width: 99vw;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	display: none;
	z-index: 1;
}

.menu {
	z-index: 1100;
	position: absolute;
	display: none;
	align-items: flex-start;
	justify-content: center;
	background-color: #f5f7fa;
	width: 70%;
	min-width: 540px;
	max-width: 1345px;
	padding: 1% 0;
	font-size: 0.8em;
	border-top: 6px solid #14a79c;
	text-transform: uppercase;
}

.menu .menu-item-has-children .sub-menu {
	padding-left: 10%;
	font-size: 1em;
}

.menu div {
	width: 33%;
	border-left: 1px #333333 solid;
}

/*.m1 {
	border-left: 1px #333333 solid;
	border-right: 1px #333333 solid;
}*/

.menu li {
	margin: 0.5em 0;
	width: 90%;
	font-weight: 700;
}

.menu ul {
	list-style-type: none;
	padding-left: 5%;
}

div .menu-burger-left-pharmtech-menu-1-container {
	border: 0;
}

.menu ul li ul {
	list-style-type: disclosure-closed;
	padding-left: 10%;
	margin-bottom: 6%;
}

.menu li ul li {
	font-weight: 500;
}


.menu b {
	color: #000;
}

.menu b:hover {
	cursor: pointer;
	color: #14a79c;
}

.menu li ul li:hover {
	cursor: pointer;
	color: #14a79c;
}

.cont1 ul {
	z-index: 1100;
	position: absolute;
	top: 1.8em;
	left: 43%;
	background-color: #f5f7fa;
	color: #333333;
	width: 15%;
	min-width: 20em;
	text-align: right;
	display: none;
}

.cont1 li {
	margin: 1em;
	padding-right: 0.5em;
	border-right: 2px #14a79c solid;
}

.cont1 li:hover {
	border-color: #737373;
	cursor: pointer;
	color: #14a79c;
}

#pred_but:hover {
	cursor: pointer;
	color: #14a79c;
}

/*слайдер*/

#banner {
	max-height: 800px;
	height: 26em;
	font-size: 1.5em;
	display: flex;
	align-items: center;
	overflow: hidden;
	opacity: 0;
	transition: 1s;
}

#banner.sh {
	opacity: 1;
}

#banner_slides {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	position: relative;
	left: 0;
	transition-duration: 1.5s;
}

.page-template-page-parentcat #banner_slides {
	transition-duration: 0s;
}

#banner .but_div {
	margin-top: 1.5%;
}

.but_div {
	position: absolute;
	display: flex;
	width: 100%;
	max-width: 1920px;
	justify-content: space-between;
	z-index: 90;
}

.banner_button {
	color: #333333;
	border: 2px #333333 solid;
	width: fit-content;
	font-size: 0.7em;
	font-weight: 600;
	margin: 0 3%;
	background: none;
	padding: 0;
}

.farm2 .banner_button {
	margin: 0 1.5%;
}

.banner_button p {
	margin: 0.3em 0.8em;
	width: fit-content;
}

.banner_button:hover {
	cursor: pointer;
	color: #14a79c;
	border-color: #14a79c;
}

.slide {
	min-width: 100%;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-repeat: no-repeat;
}

.slide_grad {
	/*
	background-image: url(/wp-content/themes/mk-pharm/img/banner/ban1.png);

	 */
	background-size: cover;
	background-repeat: no-repeat;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.slide_text {
	width: fit-content;
	margin-left: 8%;
}

.slide_text p {
	margin: 0;
	width: fit-content;
}

.slide_name {
	font-size: 2em;
	border: 0;
}

.slide_name b {
	border-bottom: 2px #333333 solid;
	font-weight: 500;
	padding-bottom: 1%;
}

.slide_t {
	padding-top: 0.6em;
	margin-top: 0.5em;
}

.slide_t b {
	border-top: 2px #333333 solid;
	font-weight: 500;
	padding-top: 1.5%;
}

.slide_button {
	width: fit-content;
	margin-left: 8%;
	margin-top: 2%;
	color: #fff;
	background-color: rgb(20, 167, 156, 0.8);
	border-radius: 5px;
	font-size: 0.7em;
}

.slide_button:hover {
	background-color: rgb(255, 255, 255, 0.8);
	color: #14a79c;
	cursor: pointer;
}

.slide_button p {
	margin: 0.5em;
}
@keyframes ban {
	from {
		opacity: 0.5
	}
	to {
		opacity: 1
	}
}

/*фиксированное меню*/

.menu_top {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-around;
	background-color: #f5f7fa;
	position: sticky;
	top: 0;
	z-index: 1000;
	border-top: 6px solid #14a79c;
}

.menu_top#menu-top-slide-en-pharmtech p {
	min-width: 10em;
}

.menu_top p {
	margin: 1em 0em;
    padding: 0 1em;
    font-size: 0.9em;
    text-align: center;
    width: fit-content;
    min-width: 8em;
    height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
	color: #737373;
	text-transform: uppercase;
}

.menu_top p:hover {
	color: #14a79c;
	cursor: pointer;
}

.menu_top div {
	height: 2.5em;
	border-right: 1px solid #737373;
}

.menu_top div:last-child {
	display: none;
}

/*о компании*/

.main {
	width: 85%;
	margin: 0 auto;
	margin-top: 8%;
}

.home .name {
	font-size: 1.7em;
}

/*.page-template-redux-templates_full_width .name {
	font-size: 1.7em;
}*/

.name {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-size: 1.2em;
	font-weight: 600;
	margin-bottom: 3%;
	text-transform: uppercase;
}

.name div {
	height: 1px;
	border-top: 2px solid #333333; width: 3em;
}

.name p {
	margin: 0.5em 0;
}

.company_content {
	display: table;
	width: 100%;
}

.company_col {
	width: 30%;
	display: table-cell;
	position: relative;
}

.company_line {
	height: 1px;
	width: 23%;
	border-bottom: 6px solid #14a79c;
	margin-left: 5%;
}

.company_line2 {
	height: 100%;
	width: 0;
	border-bottom: 6px solid #737373;
	transition: 0.5s ease-out;
}

.company_text {
	width: 85%;
	margin-bottom: 5%;
	margin-left: 5%;
}

.company_box {
	border: 3px solid #14a79c;
	border-top: 10px solid #14a79c;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 90%;
}

.b2 {
	position: absolute;
	bottom: 0;
	transform: translateY(30%);
	opacity: 0;
	transition: 0.7s;
	margin: 0 5%;
}

.b2.sh {
	transform: translateY(0%);
	opacity: 1;
}

.company_box:hover {
	cursor: pointer;
	color: #14a79c;
}

.company_col:hover .company_line2{
	width: 100%;
}

.company_box:hover img{
	border-color: #14a79c;
	opacity: 0.8;
}

.company_box:hover .company_but {
	color: #fff;
	background-color: #14a79c;
	cursor: pointer;
}

.company_box img {
	margin: 15% 0 0 0;
	padding-bottom: 5%;
	border-bottom: 2px solid #737373;
	width: 28%;
}

.company_box p {
	text-align: center;
	font-weight: 600;
	font-size: 1.2em;
}

.company_but {
	color: #14a79c;
	border: 3px solid #14a79c;
	border-radius: 5px;
	position: relative;
	top: 1.7em;
	background-color: #fff;
	margin-top: 5%;
}

.company_but p {
	margin: 0.6em;
	font-size: 1.2em;
}

/*мы предлагаем*/

.we {
	margin-top: 10%;
}

.page-template-page-childcat .we {
	width: 100%;
}

.we_content {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
}

.we_content a {
	width: 100%;
}

.we_box {
	border: 3px solid #fff;
	border-top: 10px solid #14a79c;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	width: 21%;
	margin: 2% 0;
	padding: 1%;
	opacity: 0;
	transition-duration: 0.7s;
}

.w_t {
	transform: translateY(-30%);
}

.w_b {
	transform: translateY(30%);
}

.we_box.sh {
	transform: translateY(0);
	opacity: 1;
}

.we_box:hover {
	border-color: #14a79c;
	border-top: 10px solid #14a79c;
	color: #14a79c;
	cursor: pointer;
	transition-property: none;
}

.we_box:hover .we_line {
	border-color: #14a79c;
}

.we_box img {
	margin: 4% 0;
	width: 30%;
}

.we_line {
	width: 65%;
	height: 1px;
	border-bottom: 2px solid #737373;
}

.we_box p {
	margin-top: 2%;
	font-size: 1.1em;
}

/*основные направления*/

.direct {
	margin-top: 6%;
	overflow: hidden;
}

.direct .name {
	margin-bottom: 0;
}

.direct_content {
	display: grid;
	grid-template-columns: 33.33% 33.33% 33.33%;
	justify-items: center;
	padding: 0 1%;
}

.category-otzivi .direct_content, .category-vystavki-i-konferencii .direct_content, .category-sertifikaty-sootvetstvija 
.direct_content, .category-smi-o-nas .direct_content, .category-nashi-obekty .direct_content, .category-diplomy .direct_content {
	grid-template-columns: 100%;
}

figure.wp-block-image, figure.wp-block-gallery {
	width: 100%;
	margin: 0;
	display: flex;
    justify-content: center;
    align-items: center;
}

figure.wp-block-gallery {
	display: grid;
	grid-template-columns: 50% 50%;
	align-items: start;
}

.direct_content article {
	width: 100%;
}

.category-otzivi .direct_content img, .category-vystavki-i-konferencii .direct_content img, .category-sertifikaty-sootvetstvija 
.direct_content img, .category-smi-o-nas .direct_content img, .category-nashi-obekty .direct_content img, .category-diplomy .direct_content img, h4 img {
	width: auto;
    max-width: 100%;
    height: auto;
}

.category-novosti .direct_content {
	display: block;
}

.direct_box {
	width: 90%;
	font-size: 1.1em;
	margin-top: 5%;
	opacity: 0;
	transition: 0.7s;
}

.d_l {
	transform: translateX(-40%);
}

.d_t {
	transform: translateY(40%);
}

.d_r {
	transform: translateX(40%);
}

.direct_box.sh {
	transform: translateX(0%);
	transform: translateY(0%);
	opacity: 1;
}

.direct_box:hover {
	cursor: pointer;
	transition-property: none;
}

.direct_box:hover .direct_line2 {
	width: 100%;
}

.direct_box:hover img {
	opacity: 0.7;
	box-shadow: 0 0 10px #333333;
	transition-property: none;
}

.direct_box img {
	width: 100%;
	height: auto;
	border: 1px solid #e9e9e9;
	aspect-ratio: 4/3;
}

.direct_box p {
	margin: 0.5em 0;
}

.direct_line {
	height: 1px;
	width: 33%;
	border-bottom: 4px solid #14a79c;
	position: relative;
}

.direct_line2 {
	height: 100%;
	width: 0%;
	border-bottom: 4px solid #737373;
	transition: 1s ease-out;
}

/*наши объекты*/

.object {
	margin-top: 8%;
	font-weight: 600;
}

.object_line.sh {
	width: 15%;
}

.l2.sh {
	width: 20%;
}

.object_line {
	height: 1px;
	width: 0%;
	border-bottom: 8px solid #14a79c;
	position: relative;
	margin: 0.5em 0;
	transition: 0.6s ease-out;
}

.l2 {
	margin: 0.5em 0 0.5em auto;
	width: 0%;
}

.object_back {
	background-image: url(/wp-content/themes/mk-pharm/img/we_obj.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.object_slider {
	width: 85%;
	display: flex;
	margin-top: 5%;
	justify-content: space-between;
	overflow: hidden;
}

#obj_slides {
	width: 100%;
	position: relative;
	display: flex;
	left: 0;
	transition-duration: 0.7s;
}

.object_slide {
	width: 32%;
	min-width: 32%;
	/*margin: 0 0.5em;*/
	margin: 0 1%;
	position: relative;
}

.object_slide:first-child {
	margin-left: 0;
}

.object_slide:last-child {
	margin-right: 0;
}

.object_slide img {
	width: 100%;
	height: auto;
	height: fit-content;
}

.object_slide img:hover {
	opacity: 0.9;
	cursor: pointer;
}

.object_slide p {
	margin: 0.5em 0;
}

.object_slide_line {
	height: 1px;
	width: 45%;
	border-bottom: 1px solid #333333;
}

.object_but {
	margin: 2.5em 0;
	border: 2px solid #737373;
	color: #737373;
	border-radius: 5px;
	width: fit-content;
}

.object_but:hover {
	color: #14a79c;
	border-color: #14a79c;
	cursor: pointer;
}

.object_but p {
	margin: 0.5em 1.2em;
}

/*сертификаты*/

.sertif {
	margin-top: 8%;
}

.sertif_content {
	display: flex;
	align-items: center;
	justify-content: center;
}

.sertif_slider {
	display: flex;
	width: 85%;
	overflow: hidden;
}

#sertif_slides {
	display: flex;
	position: relative;
	margin: 10% 0;
	left: 0;
	transition-duration: 0.3s;
}

.sertif_slide {
	display: flex;
	min-width: 15%;
	width: 15%;
	margin: 0 0.5em;
	position: relative;
}

.sertif_slide:hover {
	transform: scale(1.9);
	transition: 0.5s;
	z-index: 10;
}

.sertif_slide img {
	width: 100%;
}

/*преимущества*/

.advan {
	margin-top: 1%;
}

.page-template-redux-templates_full_width .advan {
	margin-top: 8%;
}

.advan_content {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	overflow: hidden;
}

.advan_box {
	width: 47%;
    display: flex! important;
    justify-content: space-between;
    margin-top: 6%;
    position: relative;
    transition: 0.7s;
    height: 8em;
	/*animation-duration: 1s;
  	animation-direction: normal;
  	animation-fill-mode: forwards;*/
}
.advan_box a {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}
.ad_l {
	opacity: 0;
	/*transform: translateX(-50%);*/
	left: -20%;
}

.advan_box.sh{
	opacity: 1;
	/*transform: translateX(0%);*/
	left: 0;
}

.ad_r {
	opacity: 0;
	/*transform: translateX(50%);*/
	left: 20%;
}

.advan_line {
	height: unset;
	width: 1px;
	border-right: 0.9em solid #14a79c;
    margin-right: 1em;
}

.advan_text {
	display: flex;
	justify-content: space-between;
	width: 95%;
	align-items: center;
	border: 3px solid #14a79c;
}

.advan_text:hover {
	cursor: pointer;
}

.advan_text:hover .advan_t{
	color: #14a79c;
}

.advan_text:hover .advan_p{
	color: #737373;
}

.advan_t {
	margin: 1.6em 1em;
	font-size: 1.1em;
	width: 100%;
}

.advan_p {
	margin: 0 0.5em;
	font-size: 2.3em;
	color: #14a79c;
	display: none;
}

/*выставки*/

.conf {
	margin-top: 8%;
}

.conf_line.sh {
	width: 30%;
}

.conf_line {
	border-bottom: 8px solid #14a79c;
	/*margin: 2% 0.4% 0.5em auto;*/
	margin: 2% 3.1% 0.5em auto;
	width: 0;
	transition: 1s ease-out;
}

.conf_content {
	background-image: url(/wp-content/themes/mk-pharm/img/conf/con_back.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position-x: center;
	width: 100%;
	height: fit-content;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	overflow: hidden;
	/*aspect-ratio: 4/1.8;*/
	aspect-ratio: 4/1.7;
}

#conf_slider {
	display: flex;
	align-items: flex-start;
	width: 85%;
	/*margin: 7.5% auto;*/
	margin: 0 auto;
	position: relative;
	min-height: 60%;

}

.conf_slider img {
	width: 60%;
	z-index: 2;
}

.conf_slide {
	/*width: 60%;*/
	width: 58%;
	height: auto;
	margin-top: -5%;
}

.conf_slide:first-child {
	margin-top: 0;
}

.c_i {
	transform: translate(-40%, -40%);
	opacity: 0;
	transition: 0.7s;
}

.c_i.sh {
	transform: translate(0%, 0%);
	opacity: 1;
	margin-top: -5%;
}

.c_t {
	transform: translate(40%, 40%);
	opacity: 0;
	transition: 0.7s;
}

.c_t.sh {
	transform: translate(0%, 0%);
	opacity: 1;
}

.conf_text_div {
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	/*width: 40%;*/
	width: 41%;
}

.conf_text {
	width: fit-content;
	font-size: 1em;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
}

.conf_text_name {
	margin: 0 0 0.2em 10%;
	width: fit-content;
	border-bottom: 1px solid #333333;
	padding-bottom: 0.2em;
	font-size: 1.25em
}

.conf_text_div ul {
	margin-left: 10%;
    padding-left: 1.5em;
}

.conf_text_1 {
	width: 90%;
	margin-left: 10%;
	margin-top: 0;
	margin-bottom: 0;
}

.conf_text_2 {
	width: 90%;
	margin-left: 10%;
}

.conf_but_div {
	display: flex;
	align-items: center;
	width: 36%;
	justify-content: space-between;
	position: absolute;
	bottom: 0;
	right: 0;
}



/*дипломы*/

#diplom_slides {
	display: flex;
	position: relative;
	margin: 10% 0;
	left: 0;
	transition-duration: 0.3s;
}

.diplom_slide {
	display: flex;
	min-width: 15%;
	width: 15%;
	margin: 0 0.5em;
	position: relative;
}

.diplom_slide:hover {
	transform: scale(1.9);
	transition: 0.5s;
	z-index: 10;
}

.diplom_slide img {
	width: 100%;
}

/*запрос*/

.forminator-response-message {
	font-size: 0.8em;
    color: #f00;
    display: none;
}

.send {
	background-image: url(img/send.png);
	background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3% 0;
    margin-top: 6%;
}

.send form {
	display: flex;
    flex-direction: column;
    align-items: center;
    width: 45%;
    font-size: 1em;
    margin: 3% 0;
}

.send input {
	background: none;
    font-size: 1em;
    border: 2px solid #737373;
    margin: 0 !important;
    height: 4em;
    color: #333333;
    padding: 0 1em;
    width: 90% !important;
}

.send input::placeholder {
	color: #333333;
}

.send_check {
	margin: 0;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.send_check input {
	width: 3% !important;
	height: 2em;
	margin: 0 2% 0 0;
}

.send_but {
	display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4em;
}

.send_but input, .send_but button {
	height: fit-content;
    padding: 1em 2em;
    display: flex;
    align-items: center;
    border: 0;
    background-color: #14a79ccc !important;
    color: #fff !important;
    border-radius: 5px;
    justify-content: center;
    width: fit-content !important;
    border: 1px solid #14a79ccc !important;
}

.send_but input:hover, .send_but button:hover {
	color: #14a79c !important;
	background-color: #ffffffcc !important;
	cursor: pointer;
}

.send_but button:disabled {
	/*color: #14a79c !important;*/
	/*background-color: red !important;*/
	cursor: wait;;
}

.home .send {
	margin-bottom: 0;
}

.send form {
	min-width: 230px;
}

.send .forminator-row {
	width: 100%;
	margin: 0.5em 0 !important;
}

.send .forminator-field {
	display: flex;
    justify-content: center;
    align-items: center;
}

.forminator-checkbox__wrapper {
	width: 90%;
	display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 2.5em;
}

.forminator-checkbox {
	display: contents;
}

.forminator-checkbox__wrapper p {
	margin: 0 0 1em 0;
	font-size: 0.8em;
}

.send .forminator-checkbox input {
	width: 3% !important;
	min-width: 1em;
    height: fit-content !important;
    margin-bottom: 0.8em !important;
}

.send .forminator-row-last {
	margin-top: 4em !important;
}

.send button {
	font-size: 0.8em;
    text-transform: uppercase;
    border: 1px solid #14a79ccc;
}

.send button:hover {
	background-color: rgb(255, 255, 255, 0.8);
	color: #14a79c;
	cursor: pointer;
}

.forminator-has_error {
	position: relative;
}

.forminator-error-message {
	position: absolute;
    bottom: 0.2em;
    width: 86%;
    font-size: 0.7em;
    color: #f00;
    margin-left: 1em;
}

.page-template-page-cart .forminator-error-message, .page-template-page-parentcat .forminator-error-message, .page-template-page-childcat .forminator-error-message {
	font-size: 0.5em;
}

.send input:focus, .send input:hover {
	border-color: #14a79c !important;
}

.send input[type="checkbox"]:checked {
	border-color: #14a79c !important;
	background-color: #14a79c !important;
}

*:focus {
	outline:none !important
}
input:focus::-webkit-input-placeholder, input:focus::-moz-placeholder, input:focus:-moz-placeholder, input:focus:-ms-input-placeholder {
	opacity: 0;
}

.forminator-checkbox__wrapper .forminator-error-message {
	bottom: -20%;
}

/*клиенты*/

.page-template-redux-templates_full_width .client:first-child {
	margin-top: 0;
}

h2.name {
	display: flex;
    width: 100%;
    height: 3em;
    align-items: center;
    justify-content: center;
    background-color: #f5f7fa;
    font-size: 1.3em;
    margin: 0;
    text-transform: uppercase;
    font-weight: 500;
    max-width: 1920px;
    margin-top: 1em;
    margin-bottom: -2em;
}

h1.entry-title {
	text-transform: uppercase;
}

h2.entry-title {
	font-weight: 600;
	text-transform: uppercase;
	font-size: 1.3em;
	margin: 1em 0 0.5em 0;
}

.client_content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: #f5f7fa;
}

.client_slider {
	width: 85%;
	overflow: hidden;
}

#client_slides {
	display: flex;
	margin: 4% 0;
	position: relative;
	left: 0;
	transition-duration: 0.5s;
	justify-content: space-between;
}

.client_slide {
	width: 20%;
	min-width: 20%;
	display: flex;
	text-align: center;
	vertical-align: middle;
	border-right: 1px #737373 solid !important;
	align-items: center;
	justify-content: center;
}

.client_slide:last-child {
	border: 0 !important;
}

.client_slide img {
	width: 75%;
	height: auto;
}

.home #top {
	width: 1.8em;
	height: 1.8em;
	border: 3px #14a79c solid;
	border-radius: 5px;
	position: fixed;
	bottom: 5%;
	right: 0;
	margin: 0 3% 2em auto;
	background-image: url(/wp-content/themes/mk-pharm/img/top.png);
	background-repeat: no-repeat;
	background-size: 85%;
	background-position: center;
	z-index: 1000;
}

#top:hover {
	cursor: pointer;
	opacity: 0.6;
}

/*подвал*/

footer {
	background-image: url(/wp-content/themes/mk-pharm/img/footer.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
	color: #f7fcff;
	font-weight: 400;
	font-size: 0.8em;
	border-top: 10px solid #14a79c;
	padding-bottom: 1.5em;
}

.footer_content {
	display: table;
	width: 85%;
	margin: 2% 0;
}

.fc {
	width: 25%;
	display: table-cell;
	vertical-align: top;
	position: relative;
    /*padding-bottom: 6em;*/
}

.footer_sino img {
	width: auto;
	height: 6em;
	min-width: 120px;
	margin-left: -3%;
}

footer .menu-botom-left-pharmtech-container {
	position: static;
	padding: 0;
}

footer .menu-top-slide-en-pharmtech-container {
	position: static;
}

footer .menu-top-slide-ch-pharmtech-container {
	position: static;
}

.footer_sino p {
	margin: 2.6em 0 0 -4% !important;
}

.footer_sino .textwidget div p {
	font-size: 1.2em;
	margin: 0.5em 0 !important;
}

.footer_menu .menu {
	list-style-type: square;
	font-size: 1em !important;
	margin: 0;
	padding-left: 19%;
	margin: 0;
	z-index: 1;
	width: fit-content;
}

footer .menu-top-pharmtech-menu-container, footer .menu-botom-left-pharmtech-container, footer .menu-top-en-pharmtech-menu-container, 
footer .menu-top-slide-en-pharmtech-container, footer .menu-top-slide-ch-pharmtech-container, footer .menu-top-ch-pharmtech-menu-container {
	display: flex !important;
    flex-direction: column;
    align-items: flex-end;
}

footer .menu-top-slide-ch-pharmtech-container, footer .menu-top-ch-pharmtech-menu-container {
	align-items: center;
}

.footer_sino .menu {
	list-style-type: square;
	font-size: 1em !important;
	margin: 0;
	padding-left: 19%;
	z-index: 1;
}

footer .menu li {
	font-weight: 500;
	white-space: nowrap;
	margin-bottom: 0.5em !important;
}

.footer_menu li:hover {
	cursor: pointer;
	color: #14a79c;
}

.footer_sino li:hover {
	cursor: pointer;
	color: #14a79c;
}

footer .last {
	text-align: right;
}

footer .last div p {
	margin-top: 0;
}

footer .last .textwidget div {
	margin-bottom: 1.2em;
	margin-right: -8%;
}

/* боковое меню */

.sidebar-menu::-webkit-scrollbar {
	width: 0;
}

.farm2_menu_div div {
	height: 98%;
}

div#pub {
	display: flex;
    flex-direction: column;
    height: 98%;
    margin-top: 1%;
}

.menu-farmoborudovanie-pharmtech-container, .menu-laboborudovanie-pharmtech-container, .menu-engineering-pharmtech-container, 
.menu-biotech-pharmtech-container, .menu-technology-transfer-pharmtech-container, .menu-substancii-pharmtech-container, 
.menu-upakovochnie-mat-pharmtech-container, .menu-drugie-napravleniya-pharmtech-container {
	height: 98%;
}

.sidebar-menu {
    list-style-type: disclosure-closed;
    padding-left: 4%;
    padding-right: 5%;
    vertical-align: top;
    margin: 0;
    margin-top: 2%;
    background-color: #fff;
    position: sticky;
    top: 15%;
    margin-bottom: 10%;
}

.sidebar-menu .current-menu-ancestor {
	list-style-type: none;
}

.menu-item span, .sidebar-menu span {
	transform: rotate(0deg);
	font-size: 0.9em;
}

.open span, .sidebar-menu .current-menu-ancestor span {
	transform: rotate(90deg);
	display: inline-block;
	font-size: 0.9em;
}

.sidebar-menu .current-menu-ancestor .sub-menu span {
	transform: rotate(0deg);
	display: inline-block;
}

.sidebar-menu li {
	font-size: 1.1em;
    font-weight: 600;
    margin: 4% 0;
}

.sidebar-menu ul li {
	font-size: 1em;
    font-weight: 500;
    margin: 0;
}
	
.menu-item-has-children .sub-menu {
	font-size: 0.9em;
	/* list-style-type: none; */
	padding-left: 3%;
}

.menu-item-has-children .sub-menu ul {
	font-size: 1em;
}

.sidebar-menu a:hover {
	cursor: pointer;
	color: #14a79c;
}

.wid_flag a {
	position: absolute;
	top:0;
	display: block;
	width: 100%;
	height: 100%;
	color:red;
}

.wid_flag .fav-count {
	color: #fff;
	padding: 2px 6px;
	position: absolute;
	top: -8px;
	right: -10px;
	background-color: #14a79c;
	border-radius: 50px;
}



/*адаптив*/

@media (max-width: 1440px) {
	body {
		font-size: 14px;
	}
}

@media (min-width: 1024px) and (max-width: 1200px) {
	body {
		font-size: 12px;
	}
}

@media (max-width: 1024px) {
	body {
		font-size: 10px;
	}
	.conf_content {
		aspect-ratio: 4/2;
	}
	.conf_line {
		margin-right: 0;
	}
}

@media (max-width: 860px) {
	.forminator-error-message {
		font-size: 0.6em;
	}
	.forminator-checkbox__wrapper {
		margin-bottom: 0.5em;
	}
}

@media (max-width: 840px) {
	.nav_div nav {
		margin-right: 1%;
	}
	.slide_text {
		font-size: 0.9em;
	}
	.cont div {
		margin: 0;
	}
	.menu_top {
		overflow-x: scroll;
		justify-content: flex-start;
		padding: 1% 0;
		scrollbar-width: none;
	}
	.menu_top::-webkit-scrollbar {
		display: none;
	}
	.menu_top p {
		width: 15%;
		min-width: 120px;
		justify-content: center;
		font-size: 0.9em;
		padding: 0;
	}
	.nav_div div {
		width: 45%;
	}
	.conf_line {
	    margin: 2% 0 0.5em auto;
	}
	.conf_content {
		background-size: cover;
		background-position-y: bottom;
		background-image: url(/wp-content/themes/mk-pharm/img/conf/conf.png);
		aspect-ratio: auto;
	}
	#conf_slider {
		margin: 6% 0 12% 0;
		flex-direction: column;
		align-items: center;
	}
	.conf_slide {
		width: 70%;
		min-width: 280px;
	}
	.conf_text {
		font-size: 1.2em;
		background-color: #ffffff80;
		padding: 1em 0;
	}
	.conf_text_1 {
		width: 95%;
	}
	.conf_text_2 {
		width: 95%;
	}
	.conf_text_div {
		width: 70%;
		min-width: 280px;
	}
	.conf_text p {
		margin-left: 3%;
	}
	.conf_but_div {
		bottom: -8%;
		right: auto;
		min-width: 180px;
	}
	.cont1 {
		width: 60%;
		width: fit-content;
    	white-space: nowrap;
	}
	.cont1 p {
    	margin: 0.5em;
	}
	.cont2 {
		width: fit-content;
	}
	.company_col {
		width: 50%;
		display: flex;
		position: relative;
		justify-content: center;
		align-items: center;
		flex-direction: column;
		margin: 2em 0;
		min-width: 260px;
	}
	.company_content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		margin: 0;
	}
	.we_content {
		justify-content: space-evenly;
	}
	.we_box {
		width: 40%;
		/*min-width: 260px;*/
	}
	.direct_content {
		grid-template-columns: 50% 50%;
	}
	.direct_box {
		width: 80%;
	}
	.advan_content {
		justify-content: center;
	}
	.advan_box {
		min-width: 250px;
		margin-left: 0.5em;
		margin-right: 0.5em;
	}
	::-webkit-scrollbar {
		width: 0;
	}
	.send input {
		min-width: 280px;
	}
	.send_but input {
		min-width: 0;
	}
	.send_check input {
		min-width: 12px;
	}
}
@media (max-width: 768px) {
	.nav_div li {
		margin-left: 4%;
	}
	.footer_sino img {
		height: 5em;
	}
}
@media (max-width: 700px) {
	.nav_div {
		flex-direction: column;
    	align-items: center;
    	justify-content: space-around;
    	height: 6em;
	}
	.nav_div div {
		width: 100%;
		font-size: 0.8em;
		justify-content: center;
		position: relative;
		margin: 0;
	}
	.nav_div p {
		height: 4em;
    	display: flex;
    	align-items: center;
    	width: fit-content !important;
	}
	.nav_div a {
		height: 100%;
	}
	#menu_but {
		height: 4em;
		width: 4em;
		background-position: center;
	    position: absolute;
    	left: 0;
	}
	.nav_div div img {
		height: 100%;
		width: auto !important;
	}
	.nav_div nav {
		margin: 0;
    	width: 100%;
	}
	.nav_div nav ul {
		justify-content: center;
	}
	.nav_div nav ul::-webkit-scrollbar {
		display: none;
	}
	.nav_div nav li {
		margin: 0 0.5em;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.cont {
		align-items: flex-start;
		transition: 0.3s;
    	transition-delay: 0.1s;
	}
	.cont.s-opened {
		height: 5.2em;
	}
	div.search_form {
		font-size: 1.2em;
		right: -70%;
		top: -2em;
	}
	.conf_text {
		font-size: 1.1em;
	}
	.slide {
		background-position-x: center;
	}
	.slide_name {
		font-size: 1.9em;
	}
	.slide_text {
		font-size: 0.8em;
	}
	footer {
		padding-bottom: 0;
	}
	.footer_content {
		display: grid;
		width: 90%;
	}
	.fc {
		height: fit-content;
		display: flex;
		padding-bottom: 0;
		width: 100%;
	}
	.widget_text.footer_sino {
		grid-column: 1;
    	grid-row: 2;
	}
	footer .menu-top-pharmtech-menu-container, footer .menu-botom-left-pharmtech-container, footer .menu-top-en-pharmtech-menu-container, 
	footer .menu-top-slide-en-pharmtech-container, footer .menu-top-slide-ch-pharmtech-container, footer .menu-top-ch-pharmtech-menu-container {
    	align-items: center;
    	width: 100%;
	}
	.widget_nav_menu.footer_menu {
    	height: 16em;
	}
	.fc .custom-html-widget div {
		margin: 0 !important;
	}
	.fc .custom-html-widget p {
		margin: 0 !important;
    	margin-top: 5% !important;
	}
	.footer_menu .menu {
		margin: 0;
		padding-left: 7em !important;
		width: fit-content !important;
	}
	.footer_sino .menu {
		padding-left: 2em !important;
		width: fit-content !important;
		white-space: initial !important;
	}
	footer .last {
		grid-column: 2;
    	grid-row: 2;
    	display: flex;
    	flex-direction: column;
    	align-items: flex-end;
    	justify-content: flex-end;
	}
	footer .last .textwidget div, footer .last div p {
		margin: 0;
	}
}

@media (max-width: 600px) {
	.menu {
		width: 60%;
		min-width: 340px;
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
	}
	.menu div {
		width: 90%;
		border: 0;
	}
	.navigation {
		height: 2.8em;
	}
	.page-template-page-full .wid_mail, .search .wid_mail {
		margin-top: 2.3em !important;
	}
}

@media (max-width: 500px) {
	.slide_text {
		font-size: 0.7em;
		margin-left: 10%;
	}
	.slide_button {
		margin-left: 10%;
	}
	.cont {
		font-size: 0.7em;
	}
}

@media (max-width: 425px) {
	.main {
		width: 95%;
	}
	.nav_div nav {
		font-size: 0.7em;
	}
	.nav_div p img {
		min-width: 70px;
	}
	.banner_button {
    	border: 1px #333333 solid;
    	font-size: 0.6em;
    	margin: 0 1%;
	}
	.page-template-page-parentcat .object .banner_button {
		border: 1px #737373 solid !important;
	}
	.slide_name b {
    	border-bottom: 1px #333333 solid;
	}
	.client .banner_button {
		border: 1px #737373 solid !important;
	}
	.object_but {
		border: 1px #737373 solid !important;
	}
	.cat_b {
		border: 1px #b4b4b4 solid !important;
	}
	footer .menu-top-slide-ch-pharmtech-container, footer .menu-top-ch-pharmtech-menu-container {
		align-items: flex-start;
	}
}

@media (max-width: 350px) {
	.cont2 img {
		margin: 0 0.5em;
	}
	.catal_slide p {
		font-size: 0.65em !important;
	}
}

/* style2 */
html {
	scroll-behavior: smooth;
}

/*фарм меню*/

.farm2 {
	display: flex;
	width: 95%;
	margin: 1% auto 0 auto;
}

.farm2_menu_div {
	width: 30%;
	padding-right: 1%;
}

.fm_min {
	display: none;
}

.farm2_menu {
	padding-left: 5px;
	padding-right: 5%;
	vertical-align: top;
	margin: 0;
	margin-top: 2%;
	background-color: #fff;
	position: sticky;
	top: 15%;
	margin-bottom: 10%;
}

.menu-botom-left-pharmtech-container {
	position: sticky;
	top: 15%;
	margin-bottom: 10%;
}

.menu-top-slide-en-pharmtech-container {
	position: sticky;
	top: 15%;
	margin-bottom: 10%;
}

.menu-top-slide-ch-pharmtech-container {
	position: sticky;
	top: 15%;
	margin-bottom: 10%;
}

.single .farm2_menu {
	position: static;
	margin-bottom: 0;
	padding: 0;
}

.single .text_main {
    margin-top: 0%;
    margin-bottom: 0;
    position: relative;
}

.b_s {
	border-bottom: solid #737373 1px;
	text-transform: uppercase;
	color: #14a79c;
	padding-bottom: 0.2em;
	font-size: 1.1em !important;
}

.farm2 b {
	font-size: 1.1em;
	font-weight: 600;
}

.farm2_menu::-webkit-scrollbar {
	width: 0;
}

.farm2_menu ul {
	list-style-type: none;
	padding-left: 4%;
}

.farm2_menu ul ul {
	/* list-style-type: disclosure-closed; */
	padding-left: 3%;
}

.farm2_menu li:hover {
	cursor: default;
}

.farm2_menu ul ul ul {
	list-style-type: '- ';
}

.farm2_menu a:hover {
	cursor: pointer;
	color: #14a79c;
}

.fmn {
	margin: 4% 0;
}

/*основная*/

.farm2_main {
	width: 70%;
	display: flex;
	position: relative;
}

.farm2_content {
	width: 95%;
}

.navigation {
	padding-bottom: 1%;
	text-transform: none;
	font-size: 0.5em;
}

.page-template-page-contacts .navigation {
	padding: 0;
	margin: 1%;
}

.navigation p {
	margin: 0;
}

.navigation a:hover {
	cursor: pointer;
	color: #14a79c;
}

.title {
	display: flex;
	width: 100%;
	height: 3em;
	align-items: center;
	justify-content: center;
	background-color: #f5f7fa;
	font-size: 1.3em;
	margin: 0;
	text-transform: uppercase;
	font-weight: 500;
}

.title p {
	margin: 0;
	text-align: center;
}

.catalogs-template-default .text_main {
	/*margin: 3% 0;*/
	margin: 0;
}

/*каталоги по теме*/

.name_mini {
	width: 30%;
	height: 1.8em;
	display: flex;
	justify-content: flex-start;
	align-items: flex-end;
	border-top: 2px #737373 solid;
	font-size: 1.2em;
}

.page-template-page-parentcat .object_back  .but_div {
	width: 95%;
}

.name_mini p {
	margin: 0;
}

.catal_div {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.catal {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 1px #b4b4b4 solid;
	box-shadow: 0 0 10px 0 #b4b4b4;
	margin: 2% 0;
	position: relative;
}

.cat_b {
	color: #b4b4b4;
	border: 2px #b4b4b4 solid;
}

.catal_slider {
	overflow: hidden;
	width: 90%;
	margin: 2% 0;
}

#catal_slides {
	display: flex;
	position: relative;
	left: 0;
	transition-duration: 0.3s;
}

.catal_slide {
	min-width: 23%;
	width: 23%;
	margin: 0 1%;
	display: flex;
}

.catal_slide a {
	height: 100%;
	width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.catal_slide:hover {
	cursor: pointer;
	transition-property: none;
}

.catal_slide:hover .catal_line{
	cursor: pointer;
	border-color: #737373;
}

.catal_slide:hover .i1{
	display: none;
}

.catal_slide:hover .i2{
	display: block;
}

.i2 {
	display: none;
}

.catal_slide img {
	width: 100%;
	height: auto;
	border: 1px solid #e9e9e9;
}

.catal_slide p {
	margin: 0;
	font-size: 0.75em;
}

.catal_slide_div {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

.catal_slide_div img {
	width: 5%;
	border: 0;
	aspect-ratio: auto;
}

.catal_line {
	width: 35%;
	border-bottom: 4px solid #14a79c;
}

.catal_but {
	width: fit-content;
	border-radius: 5px;
	background-color: #14a79c;
	color: #fff;
	border: 1px #14a79c solid;
	font-weight: 400;
	text-transform: uppercase;
}

.catal_but:hover {
	background-color: #fff;
	color: #14a79c;
	cursor: pointer;
	border: 1px #14a79c solid;
}

.catal_but p {
	margin: 0.5em 1em;
	font-size: 0.8em;
}

/*основные категории*/

.page-template-page-childcat .name {
	font-weight: 500;
	font-size: 1.2em;
	margin: 0;
}

.categ {
	margin-top: 6%;
	overflow: hidden;
}

.direct_box {
	font-size: 1em;
}

.farm2_widget {
	width: 5%;
	position: absolute;
    right: 0;
    height: 100%;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*оборудование*/

.obor {
	margin-top: 7%;
}

.obor p {
	font-size: 1.1em;
}

.obor li {
	margin-bottom: 1%;
	list-style-type: square;
	color: #14a79c;
}

.obor a {
	color: #333333;
}

/*наши объекты*/

.object {
	margin-top: 3%;
}

.page-template-page-parentcat .object .banner_button {
	color: #737373;
	border: 2px #737373 solid;
	font-size: 0.7em !important;
}

.object .banner_button:hover {
	color: #14a79c;
	border-color: #14a79c;
}



/*отзывы*/

.feedback {
	margin-top: 8%;
}

.feedback_back {
	width: 75%;
	margin: 1% 19% 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-end;
	background-image: url(/wp-content/themes/mk-pharm/img/line2.png);
	background-repeat: no-repeat;
	background-position-x: left;
	background-position-y: bottom;
	background-size: 0%;
	transition: 0.6s ease-out;
}

.feedback_back.sh {
	background-size: 35%;
}

.feedback_back2 {
	background-color: #f0f2f5;
	width: 85%;
	margin: 0 0 5% auto;
	display: flex;
	flex-direction: column;
}

.feedback_content {
	background-color: #fff;
	margin: 2%;
	box-shadow: 0 0 10px 0 #00000017;
	display: flex;
	flex-direction: column;
	align-items: center;
}


.feedback_text {
	margin: 1% 5%;
	font-size: 0.95em;
}

.feedback_text div {
	width: 25%;
	border-bottom: 1px #737373 solid;
}

.fed {
	font-size: 0.8em;
	margin-bottom: 4%;
	font-weight: 500;
	text-transform: uppercase;
}

.feed_b {
	width: fit-content !important;
	font-size: 0.65em;
	margin-right: 1%;
}



/*виджеты*/

#top {
	width: 1.8em;
	height: 1.8em;
	border: 3px #14a79c solid;
	border-radius: 5px;
	position: fixed;
	bottom: 5%;
	margin: 0 auto;
	margin-bottom: 2em;
	background-image: url(/wp-content/themes/mk-pharm/img/top.png);
	background-repeat: no-repeat;
	background-size: 85%;
	background-position: center;
	z-index: 100;
}

.farm2_widget div:hover {
	cursor: pointer;
	opacity: 0.6;
}

/*#top::before {
    display: flex;
}*/

.wid {
	width: 1.6em;
	height: 1.6em;
	border-radius: 5px;
	background-color: #14a79c;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 65%;
	margin: 0.4em auto;
	z-index: 1000;
}

.wid_mail {
	background-image: url(/wp-content/themes/mk-pharm/img/mail2.svg);
	/* margin-top: 2.3em; */
	margin-top: 0.2em;
    margin-bottom: 0;
	position: sticky;
	top: 10%;
	background-color: #fff0;
	background-size: 70%;
	border: 2px #14a79c solid;
}

.wid_mail:hover {
	background-image: url(/wp-content/themes/mk-pharm/img/mail.svg);
	background-color: #14a79c;
	opacity: 1;
	cursor: pointer;
}

.wid_flag {
	background-image: url(/wp-content/themes/mk-pharm/img/flag2.svg);
	position: sticky;
	top: calc(10% + 2em);
	background-size: 55%;
	background-color: #fff0;
	border: 2px #14a79c solid;
}

.wid_flag a {
	display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0.7em;
}

.wid_flag a span {
	margin-bottom: 20%;
	color: #333333;
}

.wid_flag:hover {
	background-image: url(/wp-content/themes/mk-pharm/img/flag.svg);
	background-color: #14a79c;
	opacity: 1;
	cursor: pointer;
}

/*адаптив*/

@media (max-width: 840px) {
	/*.direct_box {
		min-width: 195px;
	}*/
	.send input {
		min-width: 210px;
	}
	.send_but input {
		min-width: 0;
	}
	.send_check input {
		min-width: 12px;
	}
	.name_mini {
		min-width: 150px;
	}
}



/* popup */

.tabs {
	max-width: 600px;
}

.tabs>label {
	box-shadow: inset 0px -20px 8px -18px rgb(0 0 0 / 25%);
}

.tabs>input[type="radio"]:checked+label {
	box-shadow: none;
}

.tabs p a:hover {
	color: #14a79c;
	cursor: pointer;
}

.tabs>div {
	width: 95%;
    margin: 0 auto;
}

.tabs #content-2 form p {
	width: 90%;
}

.pass {
	font-size: 0.8em;
}

.name p {
	text-transform: uppercase;
}

.modal-owerley {
	background-color: rgb(0, 0, 0, 0.6);
	width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1500;
    display: none;
}

.zapr_div {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	position: absolute;
	top: 0;
	/*z-index: 9999;*/
}

.send_text {
	width: 90%;
	margin: 0.5em auto;
}

.send_text a {
	font-weight: 700;
}

.zapr_div .send input {
    font-size: 0.8em;
    height: 3em;
    margin: 0.5em 0 !important;
}

.zapr_div .send_but {
	margin-top: 1.5em;
	margin-bottom: 0;
}

.tabs>label {
	padding: 0.5em 0 !important;
}

.tabs .name {
	margin-top: 0;
}

.tabs label:hover {
	color: #14a79c;
}

.tabs>input[type="radio"]:checked+label:hover {
	color: inherit;
}

.zapr_div .send_check {
    font-size: 0.8em;
}

.zapr_div .send {
	background-image: none;
	background-color: #fff;
	margin: 0;
	width: fit-content;
	border-top: none !important;
	padding: 0 !important;
	position: fixed;
	min-width: 300px;
	top: 15%;
	z-index: 1501;
}

.zapr_div .send form {
	width: 100%;
}

.zapr_close {
	position: absolute;
	width: 1.5em;
	top: -2.5em;
	right: 0;
}

.zapr_close:hover {
	cursor: pointer;
}

.zapr_close img {
	width: 100%;
	height: auto;
}

.send_but button {
	padding: 0.5em 1em;
	font-size: 0.8em;
}

.preloader {
	position: absolute;
	margin-top: 1.8em;
	width: 100% !important;
}

.send_but button img, .pharm-modal img {
	height: 1em;
	margin-left: 1em;
}

.send_but button .i2, .pharm-modal .i2 {
	display: none;
}

.send_but button:hover .i2, .pharm-modal:hover .i2 {
	display: block;
}

.send_but button:hover .i1, .pharm-modal:hover .i1 {
	display: none;
}

/* style3 */
.bior {
	display: flex;
	/*height: 31.5em;*/
	margin-top: 3%;
}

.bior_img {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 50%;
	height: 100%;
	border-right: 4px #14a79c solid;
	aspect-ratio: 1 / 1;
}

.bior_img_b {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 78%;
}

.bior_img_b div {
	width: 90%;
	height: 100%;
	overflow: hidden;
	/*min-height: 22em;*/
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bior_img_b img {
	width: 90%;
	height: auto;
}

.bior_img_s {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 95%;
	height: 22%;
	margin: 0 auto;
	border-bottom: 1px #b4b4b4 solid;
	border-top: 1px #b4b4b4 solid;
	position: relative;
}

.bior_img_s .but_f {
	width: 100%;
	max-width: 615px;
}

.bio_b {
	color: #b4b4b4;
	border: 2px #b4b4b4 solid;
}

.bior_img_s_slider {
	width: 80%;
	height: 100%;
	overflow: hidden;
	margin: 1% 0;
	z-index: 99;
}

.bior_img_s_slides {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	position: relative;
	left: 0;
	transition: 0.3s;
	height: 100%;
}

.bior_img_s_slides div {
	min-width: 50%;
	width: 50%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bior_img_s_slides img {
	height: 95%;
}

.bior_img_s_slides img:hover {
	cursor: pointer;
	opacity: 0.7;
}

.bior .text_main {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 50%;
	height: 100%;
	margin: 0;
	vertical-align: top;
	aspect-ratio: 1 / 1;
}

.bior .text_main p {
	margin-left: 5%;
}

.bior .text_main p:empty {
	margin: 0;
}

.bior_text_but {
	border-top: 1px #b4b4b4 solid;
	width: 95%;
	height: 22%;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.bior_text_but button, .bior_text_but div {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background-color: #14a79c;
	border: 1px #14a79c solid;
	border-radius: 5px;
	margin-left: 5%;
	cursor: pointer;
	white-space: nowrap;
	font-family: 'Open Sans', sans-serif;
	text-transform: uppercase;
	padding: 0.5em 1em;
}

.bior_text_but div {
	font-size: 0.8em;
}

.bior_text_but button {
	margin: 0;
    font-size: 1em;
}

.bior_text_but div.mk-form-wrap {
	border: 0 !important;
	border-radius: 0;
    display: block;
    background: none;
    width: fit-content;
    height: fit-content;
    padding: 0;
}

.bior_text_but button:disabled {
	color: #737373;
	border-color: #737373;
	background-color: rgba(20, 167, 156, .5);
	cursor: pointer;
}

.bior_text_but button:hover {
	background-color: #fff;
	color: #14a79c;
	cursor: pointer;
	border: 1px #14a79c solid;
}

.bior_text_but div:hover {
	background-color: #fff;
	color: #14a79c;
	cursor: pointer;
	border: 1px #14a79c solid;
}

.text_main .bior_text_but div p {
	text-align: center;
	margin: 0;
}

/*характеристики*/

.obor p {
	font-size: 1.2em;
}

.obor li {
	list-style-type: '- ';
	color: #333333;
}

/*технические параметры*/

.parameter {
	margin-top: 7%;
}

.parameter p {
	font-size: 1.2em;
}

.parameter_table {
	width: 100%;
	overflow-x: scroll;
}

.tablepress tbody td {
	width: 10%;
    min-width: 10%;
}

/*.tablepress table {
	scrollbar-width: none;
}

.tablepress table::-webkit-scrollbar {
  display: none;
}*/

.parameter_table table {
	text-align: center;
	border-collapse: collapse;
	border-bottom: 2px solid #f5f7fa;
}

.tab_n {
	background-color: #9ad9d4;
}

.tab_w {
	background-color: #fff;
}

.tab_g {
	background-color: #f5f7fa;
}

.parameter_table th {
	padding: 0.5em 0;
}

.parameter_table td {
	padding: 0.5em 0;
}

.parameter_table a {
	margin: 0 1em;
}

.parameter img {
	width: 100%;
}

.text_main {
	margin-top: 7%;
	margin-bottom: 0;
}

.text_main .text_main {
	margin: 0;
	margin-bottom: 7%;
}

/*продукция по направлению*/

.product {
	margin-top: 7%;
}

.product_content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-size: 1.1em;
	margin-top: 2%;
}

.product_content .but_f {
	margin-bottom: 3%;
}

.product_slider {
	width: 90%;
	overflow: hidden;
}

.product_slides {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	left: 0;
	transition: 0.3s;
	margin: 1%;
}

.product_slide {
	width: 32%;
	min-width: 32%;
}

.product_slide:hover {
	cursor: pointer;
}

.product_slide:hover .product_line {
	border-color: #737373;
}

.product_slide:hover img {
	box-shadow: 0 0 8px #333333b3;
}

.product_slide img {
	width: 100%;
	height: auto;
	border: 1px solid #e9e9e9;
	aspect-ratio: 4/3;
}

.product_slide p {
	margin: 0 0 3% 0;
}

.product_line {
	width: 30%;
	border-bottom: 3px solid #14a79c;
}

/* недавно */

.prosm {
	margin-top: 7%;
}

.prosm_content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-size: 1.1em;
	margin-top: 2%;
	border: 1px #b4b4b4 solid;
	box-shadow: 0 4px 10px 0 #b4b4b4;
	position: relative;
}

.prosm_content .but_f {
	margin-bottom: 3%;
	width: 100%;
}

.prosm_slider {
	width: 90%;
	margin: 2% 0;
	overflow: hidden;
}

.prosm_slides {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	position: relative;
	left: 0;
	transition: 0.3s;
	margin: 1%;
	width: 100%;
}

.prosm_slide {
	width: 23%;
    min-width: 23%;
    margin: 0 1%;
}

.prosm_slide:first-child {
	margin-left: 0;
}

.prosm_slide:hover {
	cursor: pointer;
}

.prosm_slide:hover .prosm_line {
	border-color: #737373;
}

.prosm_slide:hover img {
	box-shadow: 0 0 8px #333333b3;
}

.prosm_slide img {
	width: 100%;
	height: auto;
	border: 1px solid #e9e9e9;
	aspect-ratio: 4/3;
}

.prosm_slide p {
	margin: 0 0 3% 0;
}

.prosm_line {
	width: 30%;
	border-bottom: 4px solid #14a79c;
}

/*.name_mini {
    margin-top: 5%;
}*/

.page-template-page-childcat .we_box {
	transition: 0s;
	transition-delay: 0s !important;
}

.page-template-page-childcat .we_content {
	margin-bottom: 7%;
}

.send {
	margin: 8% 0;
}

.catal_div {
	margin-bottom: 3%;
}

@media (max-width: 600px){
	.parameter_table::-webkit-scrollbar {
		width: 0;
	}
	.feed_b {
		width: fit-content !important;
	}
	.but_div button, .object_but, .slide_name b {
		border-width: 1px !important;
	} 
	#top {
		border-width: 2px !important;
	}
	/*.bior_img_s .but_f {
		width: 44% !important;
	}*/
	.bior {
		height: auto;
		padding-bottom: 1.5em;
	}
	.product_slide p {
		font-size: 0.8em;
	}
	.prosm_slide p {
		font-size: 0.8em;
	}
}

/* style5 */

.widget-area {
	margin-left: -4%;
	position: sticky;
	top: 10%;
	margin-bottom: 10%;
	background-color: #fff;
}

.widget-area h2 b {
	font-size: 1em !important;
	font-weight: 600;
	text-transform: uppercase;
}

.widget-area h2 {
	font-size: 1.3em;
	font-weight: 600;
}

.widget-area .widget_categories h2 {
	display: none;
}

.widget-area ul {
	list-style-type: none;
    padding-left: 0;
}	

.page-template-page-news .widget-area ul, .category .widget-area ul, .single-post .widget-area ul, .widget_categories ul {
	list-style-type: disclosure-closed;
	padding-left: 4%;
}

.page-template-page-news .widget-area ul::marker {
	font-size: 0.8em;
}

.widget-area .search-form{
	display: flex;
}

.widget-area .search-form input {
	font-size: inherit;
}

.widget-area .search-form input.search-field {
	margin-right: 1em;
}
    
.catalogs-template-default .farm2_menu {
	margin-left: 0;
	position: relative;
	top: 0;
	margin-top: 4%;
	overflow: visible;
	height: fit-content;
}

.tax-catalog .farm2_menu {
	margin-top: 4%;
}

.blog .site-main {
	width: 95%;
	margin: 0 auto;
}

.news {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin: 0 auto;
	margin: 2% 0 7% 0;
	
}

.news p a {
	color: #14a79c;
}

.news p a:hover {
	border-bottom: 1px solid #14a79c;
}

.news_date {
	font-size: 0.7em;
	display: flex;
	width: 100%;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.2em;
}

.news_date P {
	margin: 0;
}

.news_line {
	width: 0%;
	border-bottom: 8px solid #14a79c;
	position: relative;
	margin: 0.5em 0;
	transition: 0.6s ease-out;
}

.news_line.sh {
	width: 40%;
}

.news_img {
	width: 100%;
}

.news .send_but {
	margin-top: 1em;
	width: fit-content;
    position: absolute;
}

.post {
	margin-bottom: 15%;
}

footer.entry-footer {
	background: none;
	color: #333333;
}

.post-thumbnail img, .wp-block-image img {
	width: auto;
	max-width: 100%;
	height: auto;
}

.category-otzivi .direct_content p img {
	aspect-ratio: 3/4;
    width: 50%;
    max-width: 50%;
}


.news_img img:hover {
	cursor: pointer;
	box-shadow: 0 0 10px #333333;
}

.news_img_div {
	display: flex;
	width: 100%;
	justify-content: space-between;
	align-items: center;
	/*margin: 0 0 1em 0 !important;*/
	margin-top: 1em !important;
}

.news_img_div:only-child {
	margin-top: 0 !important;
}

.post-thumbnail {
	width: 100%;
	display: flex;
    align-items: center;
    justify-content: center;
}

.news_but {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #737373;
	width: 100%;
}

.news_but p {
	margin: 0.5em 0;
}

.news_but button {
	width: fit-content;
	margin: 0 3%;
	background: none;
	padding: 0;
	border: none;
	font-size: 0.9em;
	color: #737373;
}

.news_but button:hover {
	cursor: pointer;
	color: #333333;
}

.cat-item a:hover {
	cursor: pointer;
	color: #14a79c;
}

.current-cat a {
	color: #14a79c;
}

.page-template-page-news .but_div {
	position: static !important;
    margin: 1% 0 !important;
}

.more {
	margin: 7% 0 10% 0;
}

.more_slide {
	width: 31%;
	min-width: 31%;
}

.more_slide p {
	font-size: 0.9em;
}

.more_slide b {
	font-size: 1.1em;
}

.more_content .news_but {
	width: 95%;
}

.prosm_slider {
	margin-bottom: 0;
}

/* style_news */
.news_cont {
	width: 100%;
	margin: 2% 0 5% 0;
}

.news_cont ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.news_list {
	margin-bottom: 4em;
}

.news_list_div {
	display: grid;
	grid-template-columns: 50% 50%;
	margin-top: 2%;
}

.news_list_div img {
	width: calc(100% - 1em);
	height: auto;
	margin-right: 1em;
}

.news_text {
	padding-left: 1em;
	border-left: 2px solid #14a79c;
}

.news_text p {
	margin-top: 0;
}

.news_text a {
	text-transform: uppercase;
	font-size: 0.8em;
	padding: 0.5em 1em;
	border: 1px solid #14a79ccc;
	background-color: #14a79ccc;
	border-radius: 5px;
	color: #fff;
	margin-top: 1em;
	position: absolute;
	display: block;
}

.news_text a:hover {
	background-color: #fff;
	color: #14a79c;
	cursor: pointer;
}

@media (max-width: 425px) {
	.news_list_div {
		display: block;
	}
	.news_list_div img {
		margin: 0;
		width: 100%;
	}
	.news_text {
		padding: 0;
		border: none;
	}
	.more_slide {
	    width: 48%;
	    min-width: 48%;
	}
	.preloader svg {
		width: 30%;
	}
}

/*последние*/

.publ {
	margin-top: 8%;
	padding-right: 5%;
}

.publ_div {
	display: flex;
	width: 100%;
	align-items: flex-end;
	font-size: 0.8em;
	margin: 3% 0;
	height: auto !important;
}

.publ_div:hover {
	cursor: pointer;
}

.publ_div:hover .prosm_line{
	border-color: #737373;
}

.publ_div img {
	width: 100%;
	height: auto;
}

.publ_div_div {
	width: 70%;
	margin-left: 2%;
}

.publ_div p {
	margin: 0.5em 0;
}

.widget-title {
	font-size: 1.1em;
	font-weight: 700;
	text-transform: uppercase;
}

.widget-title b {
	font-size: 1em;
}

.page-template-page-contacts .farm2_widget {
	width: 100%;
	position: sticky;
    top: 10%;
    z-index: 1000;
}

.contacts {
    width: 75% !important;
    margin: 4% auto 0 auto !important;
    display: flex;
}

.contacts_div {
	margin-top: 2.7em;
	padding: 0 !important;
	justify-content: center;
}

.contacts_but {
	margin: 0 !important;
}

.contacts_map div {
	display: flex;
    align-items: center;
    justify-content: center;
    height: fit-content !important;
}

.contacts_map div a {
	width: 98%;
    height: fit-content;
    display: flex;
    margin: 1%;
}

.contacts_map div img {
	width: 100%;
	height: auto;
}

.contacts_map p {
	margin-top: 0;
}

@media (max-width: 600px){
	.farm2_menu {
		position: static;
		display: block;
		padding: 0;
	}
	/*#pub {
		background-color: #fff;
		position: absolute;
		left: 2%;
		max-width: 50%;
		padding: 2%;
		z-index: 1;
		display: none;
	}*/
	.contacts {
		width: 88% !important;
	}
}

/* style6 */
.categ {
	margin-top: 0;
	margin-bottom: 8% !important;
}

.page-template-page-cart .categ {
	margin-top: 8% !important;
}

.catalog-item-btn {
	content: url(https://sinopharmtech.com/wp-content/themes/mk-pharm/img/save.png);
	width: 1em;
	height: auto;
}

.direct_box:hover {
	cursor: pointer;
}

.direct_box:hover .catal_line {
	border-color: #737373;
}

.direct_box:hover .catalog-item-btn{
	content: url(https://sinopharmtech.com/wp-content/themes/mk-pharm/img/save3.png);
}


.i2 {
	display: none;
}

.direct_box:hover .catal_slide_div img {
	box-shadow: none;
}

/* style7 */

.client .wid, .page-template-page-contacts .wid, .page-template-page-favorites .wid {
	margin: 0.2em 1em 0.2em auto;
}

.client #top, .page-template-page-contacts #top, .page-template-page-favorites #top {
	margin: 0 0.8em 2em auto;
	right: 0;
}

.page-template-page-full .company {
	margin-top: 3%;
}

.page-template-page-full .advan {
	margin-top: 8%;
}

.page-template-page-full .wid_mail, .search .wid_mail {
	margin-top: 1.2em;
}

.post-type-archive-catalogs .wid_mail, .single-catalogs .wid_mail, .tax-catalog .wid_mail {
	margin-top: 0.2em;
}

.post-type-archive-catalogs div.fm_min, .single-catalogs div.fm_min, .tax-catalog div.fm_min {
	margin-top: 1.2em;
}

.client .navigation {
	margin: 1%;
}

.client .title, .page-template-page-contacts .title {
	position: absolute;
    max-width: 1920px;
}

.page-template-page-contacts .farm2 {
	width: 100%;
	flex-direction: column;
	margin: 0;
}

.page-template-page-contacts .farm2_main, .page-template-page-full .farm2_main {
	width: 100%;
	justify-content: flex-end;
	margin-top: 0;
}

.page-template-page-contacts .farm2_content {
	width: 100%;
}

.feedback {
	width: 60%;
	margin: 8% auto;
}

.page-template-page-parentcat .feedback {
	width: 100%;
}
.page-template-page-parentcat .advan {
	width: 100%;
	margin-top: 8%;
}
.object {
	margin-top: 8%;
}

/*.object_back .but_div {
	width: 94%;
	max-width: 1805px;
}*/

.home .client_line {
	display: none;
}

.client_line {
	margin-top: 2%;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.client_line div {
	width: 0%;
	border-top: 5px solid #14a79c;
	transition: 0.6s ease-out;
}

.cl.sh {
	width: 50%;
}

.client {
	margin-top: 8%;
}

.home .client {
	margin-bottom: 4%;
}

.client:first-child {
	margin-top: 0;
}

.client .banner_button {
	color: #737373;
	border: 2px #737373 solid;
}

#client_slides {
	justify-content: space-between;
	display: flex;
	margin: 3% 0;
	position: relative;
	left: 0;
	transition-duration: 0.5s;
}

.client_slides {
	display: flex;
	margin: 4% 0;
	position: relative;
	left: 0;
	transition-duration: 0.5s;
	justify-content: space-between;
}

@media (max-width: 800px) {
	.feedback {
		width: 80%;
	}
	.bior_text_but div.mk-form-wrap {
		margin-left: 0;
	}
}

@media (max-width: 768px) {
	.bior {
		flex-direction: column;
    	align-items: center;
    	margin-bottom: 4%;
    	margin-top: 0;
	}
	.bior_img, .bior .text_main {
		width: 85%;
    	border: 0;
    	justify-content: flex-start;
    	height: fit-content;
	}
	.bior .text_main {
		aspect-ratio: auto;
		width: 100%;
	}
	.bior_text_but {
		justify-content: center;
    	border: 0;
		margin-top: 1em;
	}
	.farm2 {
		width: 98%;
	}
	.farm2_widget {
		width: 3em;
	}
	.wid_flag .fav-count {
		top: -6px;
    	right: -6px;
    	padding: 2px 5px;
	}
	.farm2_menu_div {
		width: 2.2em;
		display: flex;
    	flex-direction: column;
    	align-items: flex-start;
    	position: relative;
	}
	.widget-area .widget_categories ul {
		padding-left: 7% !important;
	}
	.title {
		width: 100%;
	}

	div.fm_min {
		display: block;
		width: 2em;
		height: 2.2em;
		margin-top: 2.8em;
		background-image: url(/wp-content/themes/mk-pharm/img/menu.png);
		background-size: 100%;
		background-position: center;
		background-repeat: no-repeat;
		position: sticky;
    	top: 10%;
	}
	.post-type-archive div.fm_min {
		margin-top: 0.8em;
	}
	.widget-area {
		position: sticky;
    	z-index: 100;
    	display: none;
    	border: solid #f5f7fa;
    	border-width: 1em 1em 1em 1em;
    	background-color: #f5f7fa;
    	width: 50%;
    	min-width: 270px;
    	height: fit-content;
    	max-height: 80vh;
    	left: 0;
    	top: calc(10% + 3em);
    	overflow-y: scroll;
    	margin-top: 1em;
	}
	.farm2_menu, .sidebar-menu {
		background: none;
	}
	.widget-area ul {
		padding-left: 4% !important;
	}
	.widget-area ul.sidebar-menu {
		padding-left: 0 !important;
	}
	.sidebar-menu li:first-of-type {
		margin-top: 0;
	}
	.b_s {
	    z-index: 2;
	    margin-top: 7%;
	    max-width: 200px;
	    left: 0;
	    padding-left: 0.5%;
	}
	.farm2_main {
		width: calc(100% - 2.2em);
	}
	.farm2_content {
		width: calc(100% - 3em);
	}
	.page-template-page-parentcat .object_back .but_div {
		width: 95%;
	}
	.send input {
		height: 4em !important;
	}
	.forminator-error-message {
		bottom: 0.6em;
		margin-left: 2em;
	}
}

@media (max-width: 500px) {
	.feedback {
		width: 100%;
	}
}

/* style_fav.css */

.page-template-page-favorites .farm2, .search .farm2, .page-template-page-full .farm2 {
	flex-direction: column;
	width: 100%;
	margin: 0;
}

.page-template-page-favorites .farm2_main, .search .farm2_main {
    width: 100%;
    justify-content: flex-end;
    /*margin-top: 3%;*/
}

.page-template-page-favorites .farm2_content, .search .farm2_content, .page-template-page-full .farm2_content {
    width: 100%; 
}

.navigation {
	font-size: 0.5em;
	padding: 0;
	margin: 1%;
}

.fav_div {
	width: 80%;
	margin: 0 auto;
	margin-bottom: 3%;
}

.favour_cont {
	width: 100%;
	border: 1px solid #737373;
}

.empty .favour {
	display: flex;
    align-items: center;
    justify-content: center;
}

.empty .fav_text {
	margin: 0;
}

.favour_cont ul {
	padding: 0;
	margin: 0;
}

.favour_cont h1 {
	font-weight: 600;
	text-align: center;
} 

.favour {
	display: grid;
	grid-template-columns: 20% 80%;
	justify-content: center;
	align-items: flex-start;
	padding: 3% 2%;
	border-bottom: 1px solid #737373;
}

.favour img {
	width: 100%;
	height: auto;
	border: 0.3em solid #14a79c;
	grid-column: 1;
}

.fav_text {
	margin-left: 2em;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	grid-column: 2;
	height: 100%;
	position: relative;
	margin-bottom: 0.5em;
}

.fav_text p {
	width: 100%;
	margin: 0.5em 0 2.5em;
}

.fav_text a {
	width: 100%;
}

.fav_text p.fav_text_name {
	margin: 0;
	font-size: 1.1em;
	font-weight: 600;
	text-transform: uppercase;
}

.fav_text button {
	position: absolute;
	bottom: 0;
	text-transform: uppercase;
	font-size: 0.8em;
	padding: 0.5em 2em;
	border: 1px solid #14a79ccc;
	background-color: #14a79ccc;
	border-radius: 5px;
	color: #fff;
}

.fav_text button:hover {
	background-color: #fff;
	color: #14a79c;
	cursor: pointer;
}

.fav_line1 {
	border-bottom: 0.7em solid #14a79c;
	position: relative;
	margin: 0.5em auto 0.5em 0;
	width: 35%;
}

.fav_line2 {
	border-bottom: 0.7em solid #14a79c;
	position: relative;
	margin: 0.5em 0 0.5em auto;
	width: 43%;
}

.favour_cont .send {
	background-image: none;
	margin: 0;
}

.favour_cont .send form {
	width: 60%;
	margin-top: 0;
}

.favour_cont .send input {
	height: 3em;
	font-size: 0.8em;
}

.favour_cont .send .forminator-row-last {
	margin: 0 !important;
}

.favour_cont .send_but input {
	border: 1px solid #14a79ccc;
}

.forminator-textarea {
	width: 90%;
	max-width: 90%;
	border: 2px solid #737373;
    color: #333333;
	font-family: inherit;
	font-size: 0.8em;
}

.forminator-textarea:hover, .forminator-textarea:focus {
	border-color: #14a79c;
}

[data-target="done-register"] {
	display: none;
}

.pharm-modal {
	width: fit-content;
    border-radius: 5px;
    background-color: #14a79ccc;
    color: #fff;
    border: 1px #14a79c solid;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.8em;
    padding: 0.5em 1em;
    position: absolute;
    bottom: -3em;
    display: flex;
    align-items: center;
}

.pharm-modal:hover {
	color: #14a79c;
	background-color: #fff;
}

.mk-mess {
	text-align: left;
    width: 90%;
    color: #f00;
}

@media (max-width: 425px) {
	.zapr_div .send_but input {
    	height: 4em;
    	white-space: pre-wrap;
	}
	.client .wid, .page-template-page-contacts .wid, .page-template-page-favorites .wid {
		margin: 0.5% 0.5% 0% auto;
	}	
	.tabs {
		font-size: 1em !important;
	}
	.tabs>label {
		width: 49.5% !important;
		font-size: 1em !important;
	}
	.tabs>div {
		font-size: 1em !important;
	}
	.forminator-error-message {
		font-size: 0.5em;
	}
	.forminator-checkbox__wrapper {
		margin-bottom: 0.3em;
	}
}

