/*!
Theme Name: МедСтандарт
Theme URI: http://underscores.me/
Author: RefatIs
Author URI: https://kwork.ru/user/refatis
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: medstd
*/

:root {
	--color-lightblue: #42AFA0;
	--color-blue: #235E72;
}
* ,*:after, *:before {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	font-size: 16px;
	line-height: 1.3;
	font-family: "Arial", sans-serif;
}
body.disable-scroll {
	overflow-y: hidden;
}
button {
	cursor: pointer;
}
img {
	max-width: 100%;
	height: auto;
	vertical-align: top;
}
button {
	background: transparent;
	border: none;
	cursor: pointer;
}
a {
	color: var(--color-lightblue);
	text-decoration: none;
	transition: all 0.3s ease;
}
a:hover {
	color: var(--color-blue);
}
.btn {
  	font-size: 14px;
  	color: var(--color-lightblue);
  	border: 2px solid var(--color-lightblue);
  	background: #ffffff;
  	padding: 8px 20px;
  	text-align: center;
  	display: inline-block;
  	text-transform: uppercase;
  	transition: all 0.3s ease;
}
.btn:hover {
  	color: #ffffff;
  	background: var(--color-lightblue);
}
.container {
	max-width: 1000px;
	padding: 0px 20px;
	margin: 0px auto;
}
.header {
	padding: 15px 0px;
}
.header .container {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px;
}
.header .logo img {
	max-width: 300px;
}
.header-contacts {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}
.header-contacts a {
	font-weight: 700;
	font-size: 15px;
}
.search {
	flex-basis: 350px;
}
.search-form {
	display: flex;
	border-bottom: 1px solid var(--color-lightblue);
}
.search-form input {
  font-size: 15px;
  font-family: "Arial";
  color: rgb(137, 137, 137);
  border: none;
  outline: none;
  padding: 3px 10px;
  width: calc(100% - 30px);
  max-width: 100%;
}
.search-submit {
	background: transparent;
	background-size: contain;
	background-image: url(images/search.svg);
	background-position: center;
	background-repeat: no-repeat;
	width: 15px;
	border: none;
}
.cart {

}
.cart-header {
	position: relative;
	display: block;
	width: 25px;
	height: 21px;
	background: url(images/cart.png);
}
.cart-count {
	background: var(--color-blue);
	border-radius: 20px;
	height: 16px;
	min-width: 16px;
	text-align: center;
	padding: 4px;
	font-size: 8px;
	line-height: 8px;
	color: #ffffff;
	position: absolute;
	top: -8px;
	right: -6px;
}
.text-grey {
	color: #898989;
}

.site-main {
	padding-bottom: 40px;
}



.footer {
	background: var(--color-blue);
	color: #ffffff;
	padding: 10px 0px;
}
.footer .container {
	display: grid;
	grid-template-columns: 1fr 180px;
	grid-column-gap: 40px;
	grid-row-gap: 10px;
	grid-template-areas:
		"l c"
		"p c";
}
.footer-logo {
	grid-area: l;
}
.footer-contacts {
	grid-area: c;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
}
.footer-contacts a {
	color: #ffffff;
	font-size: 14px;
}
.footer-contacts a:hover {
	text-decoration: underline;
}
.copyright {
	grid-area: p;
	font-size: 10px;
}

/* Modal */
.modal-overlay {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.7);
	height: 100vh;
	width: 100%;
	opacity: 0;
	visibility: hidden;
	z-index: 100;
	overflow-y: auto;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	padding: 20px 10px;
}
.modal {
	background-color: #ffffff;
	max-width: 425px;
	width: 100%;
	border: 5px solid var(--color-lightblue);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	display: none;
	padding: 45px;
	position: relative;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
	margin: 0px auto;
}
.modal-close {
	position: absolute;
	width: 30px;
	height: 30px;
	top: 15px;
	right: 15px;
	font-size: 20px;
	line-height: 30px;
}
.modal-close:before {
	content: "✕";
}
.modal-overlay--visible {
	opacity: 1;
	visibility: visible;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.modal--visible {
	display: block;
}
.wpcf7-spinner {
	display: none;
}
.wpcf7-form textarea {
	height: 100px;
}
.wpcf7-form label {
	margin-top: 10px;
	color: #959595;
	display: block;
}
.wpcf7-form .radio-wrapper .radio-buyer label {
	margin-top: 0;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
	display: block;
	width: 100%;
	background: #EBEBEB;
	border: none;
	outline: none;
	padding: 10px;
}
.wpcf7-form input[type="text"].wpcf7-not-valid,
.wpcf7-form input[type="tel"].wpcf7-not-valid,
.wpcf7-form input[type="email"].wpcf7-not-valid {
	border: 1px solid #E6332A;
}
.wpcf7-not-valid-tip {
    color: #E6332A;
    font-size: 12px;
}
.wpcf7-submit {
	width: 100%;
	margin-top: 15px;
}
.wpcf7-form .wpcf7-response-output {
	display: none;
}


@media screen and (max-width: 768px) {
	.header .logo img {
	    max-width: 200px;
	}
	.search {
		flex-basis: 150px;
	}
}