/*
Theme Name: Deva-dent theme
Version:
Description:
Author: Mendax
Author URI: 
*/

/* Eric Meyer's CSS Reset */


@font-face {
	font-family: 'Gilroy';
	src: url('fonts/Gilroy-Regular.eot');
	src: url('fonts/Gilroy-Regular.eot?#iefix') format('embedded-opentype'),
	url('fonts/Gilroy-Regular.woff') format('woff'),
	url('fonts/Gilroy-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Gilroy';
	src: url('fonts/Gilroy-Medium.eot');
	src: url('fonts/Gilroy-Medium.eot?#iefix') format('embedded-opentype'),
	url('fonts/Gilroy-Medium.woff') format('woff'),
	url('fonts/Gilroy-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
}
@font-face {
	font-family: 'Gilroy';
	src: local('fonts/Gilroy Semibold'), local('Gilroy-Semibold'),
	url('fonts/Gilroy-Semibold.woff2') format('woff2'),
	url('fonts/Gilroy-Semibold.woff') format('woff'),
	url('fonts/Gilroy-Semibold.ttf') format('truetype');
	font-weight: 600;
	font-style: normal;
}
@font-face {
	font-family: 'Gilroy';
	src: url('fonts/Gilroy-Bold.eot');
	src: url('fonts/Gilroy-Bold.eot?#iefix') format('embedded-opentype'),
	url('fonts/Gilroy-Bold.woff') format('woff'),
	url('fonts/Gilroy-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
}
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}
body {
	font-family: 'Gilroy';
	color: var(--color-primary);
	overflow-x: hidden;
	font-size: 16px;
	line-height: 1.4;
}

blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
a {
	text-decoration: none;
	outline: none;
	color: #161616;
}
img {
	max-width: 100%;
	height: auto;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
html {
	height: 100%;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
	display: block;
}
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}
a{background-color:transparent}a:active,a:hover{outline:0}
b,strong{font-weight:700}
button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}
button{overflow:visible}
button,select{text-transform:none}
button,html input[type="button"],
input[type="reset"],input[type="submit"]
{-webkit-appearance:button;cursor:pointer}
button[disabled],
html input[disabled]{cursor:default}
button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}
input {line-height: normal;padding: 5px;border: 1px solid #eaeaea;}
input[type="checkbox"],
input[type="radio"]{box-sizing:border-box;padding:0}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button{height:auto}
input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}
textarea{overflow:auto}
table{border-collapse:collapse;border-spacing:0}
td,th{padding:0}
button, html input[type="button"], input[type="reset"], input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}
img.alignright {
	float: right;
	margin: 0 0 15px 20px;
}
img.alignleft {
    float: left;
    margin: 5px 20px 15px 0;
}
img.aligncenter {
	margin: 20px auto;
	display: block;
}
/*оформление контактных форм*/
span.ajax-loader, span.wpcf7-not-valid-tip,.wpcf7-spinner  {
	display: none !important;
}
input.wpcf7-not-valid::-webkit-input-placeholder {
	color: #f00 !important;
}
input.wpcf7-not-valid:-moz-placeholder {
	color: #f00 !important; 
}
input.wpcf7-not-valid::-moz-placeholder {
	color: #f00 !important;
}
input.wpcf7-not-valid:-ms-input-placeholder {
	color: #f00 !important;
}

input.wpcf7-form-control::-webkit-input-placeholder {
	color: #828282;
}
input.wpcf7-form-control:-moz-placeholder {
	color: #828282;
}
input.wpcf7-form-control::-moz-placeholder {
	color: #828282;
}
input.wpcf7-form-control:-ms-input-placeholder {
	color: #828282;
}


select::-webkit-input-placeholder {
	color: #ccc;
}
select:-moz-placeholder {
	color: #ccc;
}
select::-moz-placeholder {
	color: #ccc;
}
select:-ms-input-placeholder {
	color: #ccc;
}

input.wpcf7-not-valid {
	border-color: #f00 !important;
}
body div.wpcf7-response-output {
	margin: 0;
	padding: 6px;
	background: #f00;
	color: #fff;
	font-size: 13px;
	line-height: 16px;
	border: none !important;
	max-width: 100%;
	margin: auto;
}
div.wpcf7 {
	position: relative;
}
.wpcf7-response-output.wpcf7-display-none.wpcf7-mail-sent-ok {
	background: #0ea431;
}
.wpcf7 form.sent .wpcf7-response-output {
	border-color: #46b450;
	background: #46b450;
}
.form2_box .wpcf7-response-output {
	position: absolute;
	right: 0;
	bottom: 0;
	left: auto;
}
#reception .wpcf7-response-output,
#modal_consultation .wpcf7-response-output,
#call_back .wpcf7-response-output {
	bottom: -30px;
}
#director .wpcf7-response-output {
	left: 0 !important;
	right: auto;
	margin: 0 !important;
	bottom: 7px;
}


/* Колонки */
.container {
	padding: 0 15px;
	max-width: 1170px;
	margin: 0 auto;
}


input[type=checkbox] {
	display: none;
}
h1, h2, h3, h4, h5, h6 {
	font-size: 30px;
	line-height: 1.1;
}
h2 {
	font-size: 25px;
}
h3 {
	font-size: 22px;
}
h4 {
	font-size: 19px;
}