/* Theme Name:msp
Author:webdesign-bk
Author URI:https://webdesign-bk.ru
Version:2.0.0
Created:Январь 2020
License:Creative Commons Attribution 3.0 License (https://creativecommons.org/licenses/by/3.0/)
File Description:Main CSS file of the template */
:root {
    --main-color: #f0f0f0;
    --accent-color: #ff4900;
}
@font-face {
    font-family: 'Geometria';
    src: url('fonts/Geometria.ttf');
    font-weight: normal;
    font-style: normal;
}
html, body {
	margin: 0;
	width: 100%;
	font-family: "Geometria", sans-serif;
	font-size: 16px;
	overflow: auto;
	background-image: url(../img/bg-gray.jpg);
	background-repeat: no-repeat;
	/*background-size: cover;*/
	background-color: #222;
}
h1 {
	font-size: 24px;
	font-weight: bold;
	line-height: 50px;
	color: var(--accent-color);
	letter-spacing: 0.2em;
	margin-top: 0;
	padding-top: 2px;
	box-sizing: border-box;
}
h2 {
	width: 100%;
	color: white;
	line-height: 40px;
	border-bottom: solid 1px #FFF;
	letter-spacing: 0.2em;
	margin: 0;
	text-align: center;

}
h3 {
	font-size: 18px;
	font-weight: normal;
	line-height: 26px;
	text-transform: uppercase;
	color: var(--accent-color);
	margin-bottom: 5px;
	letter-spacing: 0.1em;
	margin-top: 30px;
	background: rgba(0, 0, 0, 0.3);
	padding-left: 5px;
}
#wrapper {
	width: 100%;
	/*height: 100vh;*/
	min-height: 100vh;
	color: #FFF;
}
.container {
	width: 900px;
	margin: 0 auto;
	padding: 0 30px;
	background: rgba(0, 0, 0, 0.2);
	min-height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-direction: column;
	position: relative;
}
#footer {
	bottom: 0;
	line-height: 40px;
	color: #999;
}
#footer a {
	color: #999;
}
#footer a:hover {
	color: yellow;
}
header {
	width: 100%;
}
.main-title {
	position: relative;
	width: 100%;
	text-align: center;
}
.main-title:before {
	content: '';
	position: absolute;
	top: -1px;
	left: 0;
	width: 100%;
	height: 100%;
	border-top: solid 2px #FFF;
	border-bottom: solid 2px #FFF;
	animation: title 1s forwards;
	animation-delay: 1s;
	animation-timing-function: ease-out;
	transform: scaleX(0);
}
.main-text {
	text-align: center;
}
@keyframes title {
	from
	{transform: scaleX(0);}
	to
	{transform: scaleX(1);}
}
/* Меню */
.nav-menu {
	font-size: 14px;
	text-align: center;
	line-height: 40px;
	height: 40px;
	display: block;
}
.nav-menu:hover {
	background: rgba(0, 0, 0, 0.3);
}
.nav-menu ul {
	padding-left: 0;
	margin: 0;
}
.nav-menu li:first-child {
	margin-left: 0;
}
.nav-menu li {
	display: inline-block;
	margin-left: 30px;
}
.nav-menu li a {
	text-decoration: none;
	color: white;
}
.nav-menu li a:hover {
	color: var(--accent-color);
}

/* Главная */
.text {
	border-bottom: solid 1px #FFF;
	padding: 0px 30px;
	font-size: 18px;
	text-align: center;
}
.text span {
	color: var(--accent-color);
}
.main-image img {
	width: 500px;
}
.button {
	margin: 30px calc((100% - 300px) / 2);
	padding: 5px 10px;
	left: 0;
	right: 0;
	font-size: 18px;
	background: rgba(0, 0, 0, 0.3);
	border: solid 2px var(--accent-color);
	cursor: pointer;
	text-transform: uppercase;
	width: 270px;
	text-align: center;
	
}
.button a {
	color: #FFF;
	text-decoration: none;
}
.button:hover {
	background: #FFF;
	border: solid 2px #FFF;
}
.button a:hover {
	color: #333;
}
/*Услуги*/
.main {
	display: flex;
	width: 100%;
	position: relative;
	margin: 10px 0;
}
.main-item {
	width: 50%;
}
.main-item img {
	height: auto;
	display: block;
}
.services-block {
	position: relative;
	min-height: 60px;
}
.services-block p {
	margin-left: 80px;
	margin-top: 0;
}
.services-block img {
	position: absolute;
	width: 64px;
}
.services-block a {
	color: #3ebbc4;
	text-decoration: none;
}
.services-block a:hover {
	color: yellow;
	text-decoration: underline;
}
.services-block ul {
	margin-left: 60px;
	margin-top: -10px;
}
.services-ul a {
	color: #fdce91;
	text-decoration: none;
}
.services-ul ul {
	margin-left: -20px;
	margin-top: -10px;
}
.services-ul a:hover {
	color: var(--accent-color);
}

/* Контакты */
.contacts-block {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-content: space-between;
	align-items: flex-start;
	width: 100%;
	margin: 0;
	padding: 0;
}
.contacts-left, .contacts-right {
	width: 35%;
	box-sizing: border-box;
	padding: 5px 7px;
	border-bottom: solid 1px #555;
}
.contacts-left {
	text-align: right;
	color: #999;
}
.contacts-right {
	text-align: left;
}
.contacts span {
	color: white;
}
.map {
	width: 100%;
	height: 360px;
	opacity: 0.8;
}


/* Order Page */
.order_page {
	text-align: center;
}
.schedule {
	color: yellow;
}
.phone {
	font-size: 30px;
	font-weight: bold;
	line-height: 0px;
}
.phone a {
	color: #FFF;
	text-decoration: none;
}
.phone a:hover {
	color: var(--accent-color);
}

/* Single Page */
.text-block {
	width: 100%;
}
.content-block p {
	text-indent: 30px;
	text-align: justify;
}
.content-block ul, .content-block ol {
	margin-left: 0;
}
.content-block a {
	color: yellow;
	text-decoration: none;
}
.content-block a:hover {
	text-decoration: underline;
}
.thumb_image {
	border: 1px solid #FFF;
}
.cost {
	width: 100%;
	text-align: center;
	color: yellow;
	font-size: 20px;
	margin-top: 10px;
}
.right-block {
	align-self: center;
	padding: 30px 0;
}
.single-title {
	margin-bottom: 10px;
}
.content-block img {
	border: 1px solid #FFF;
}

/*Форма обратной связи*/
form input, textarea {
	width: 400px;
	margin-bottom: 20px;
}
.checkbox {
	width: 10px;
	margin-bottom: 0;
}
/*Стилизация contact form 7*/
.wpcf7-form input[type="submit"] {
	color: #FFF;
	font-size: 24px;
	line-height: 50px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	border: 2px solid #FFF;
	border-radius: 0.6em;
	cursor: pointer;
	background-color: transparent;
	padding: 0 20px;
	display: block;
    margin: 20px auto;
}
.wpcf7-form input[type="submit"]:hover {
	box-shadow: 0 0 40px 40px rgba(255, 73, 0, 0.5) inset;
}
.wpcf7-not-valid-tip {
  display: none;
}
.wpcf7-not-valid {
  border: 1px solid red !important;
  box-shadow: 0 0 15px red;
}
.wpcf7-list-item-label a {
	color: #FFF;
}
.wpcf7-textarea {
	height: 100px;
	margin-bottom: 10px;
}
.wpcf7-spinner {
	position: absolute;
	margin: 0;
}

/*Кнопка заказать услугу*/
.button_container {
	text-align: center;
	margin-bottom: 20px;
}
.order_button {
	font-size: 24px;
	line-height: 50px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	border: 2px solid #FFF;
	border-radius: 0.6em;
	cursor: pointer;
	background-color: transparent;
	padding: 0 20px;
	transition: box-shadow 400ms ease-in-out, color 400ms ease-in-out;
	box-shadow: 0 0 40px 40px rgba(255, 73, 0, 0.8) inset;
}
.order_button a {
	color: #FFF;
	text-decoration: none;
}
.order_button:hover {
	box-shadow: 0 0 40px 40px rgba(255, 73, 0, 0.5) inset;
}