/* page */
@font-face {
    font-family: 'Arsenal', sans-serif;
    src: url(fonts/Arsenal-Regular.ttf);
}
html {
	display: flex;
	justify-content: center;
}
body {
    font-family: 'Arsenal', sans-serif;
	font-size: 18px;
}
h1 {
	margin: 0 10px;
	text-transform: uppercase;
}
h2 {
	padding: 20px 0;
	text-transform: uppercase;
	font-size: 25px;
	display: flex;
	justify-content: center;
	align-items: center;
}
/* если ширина просмотра от 1000px */
@media screen and (min-width: 1000px) {
	h1 {
		font-size: 40px;
	}
	body {
		width: 88%;
		max-width: 1400px;
	}
}
/* если ширина просмотра от 700px до 1000px */
@media screen and (min-width: 700px) and (max-width: 1000px) {
	h1 {
		font-size: 30px;
	}
	body {
		padding: 0 10px;
	}
}
/* если ширина просмотра до 700px */
@media screen and (max-width: 700px) {
	h1 {
		font-size: 25px;
	}
	body {
		padding: 0 5px;
	}
}
a {
	color: #2a5c03;
}
a:hover {
	color: #A94A4A;
  }
section {
	width: 100%;
	margin: 100px 0 0 0;
}
/* page- */


/* header+ */
header {
	display: flex;
	flex-direction: column;
}
.header_top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 70px;
}
.header_top_r {
	display: flex;
	font-size: 15px;
	margin: 0;
}
.header_top_r b{
	font-size: 20px;
}
.header_tel_v a{
	text-decoration: none;
	padding: 3px 0 0 0;
}
.header_tel_icon {
	color: #689835;
	font-size: 20px;
}
.header_menu_h {
	display: flex;
	justify-content: flex-end;
	width: 100%;
	min-height: 27px;
	flex-wrap: wrap;
	padding: 5px 0;
	background-color: #689835;
}
.header_menu_h a {
	margin: 10px;
}

/* если ширина просмотра от 1000px */
@media screen and (min-width: 1000px) {
	.header_logo_v, .header_tel_v, .header_menu_v, .header_menu_v_, .header_menu_open, .header_menu_close {
		display: none;
	}
	.header_logo_h, .header_tel_h, .header_menu_h {
		display: flex;
	}
	.header_top_r {
		width: 45%;
		justify-content: space-between;
		align-items: center;
	}
	.header_sn {
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.sn {
		height: 35px;
		width: 35px;
	}
}
/* если ширина просмотра от 700px до 1000px */
@media screen and (min-width: 700px) and (max-width: 1000px) {
	.header_logo_v, .header_tel_h, .header_menu_v, .header_menu_v_, .header_menu_open, .header_menu_close {
		display: none;
	}
	.header_logo_h, .header_tel_v, .header_menu_h {
		display: flex;
	}
	.header_top_r {
		flex-direction: column;
		justify-content: center;
		align-items: flex-end;
	}
	.sn {
		height: 28px;
		width: 28px;
	}
}
/* если ширина просмотра до 700xp */
@media screen and (max-width: 700px) {
	.header_logo_v, .header_tel_v, .header_menu_v_ {
		display: flex;
	}
	.header_logo_h, .header_tel_h, .header_menu_h, .header_menu_v, .header_menu_close {
		display: none;
	}
	.header_top_r {
		flex-direction: column;
		justify-content: center;
		align-items: flex-end;
	}
	.sn {
		height: 28px;
		width: 28px;
	}
}
.header_logo_h {
	max-width: 350px;
}
.menu {
	position: sticky;
    top: 0;
	z-index: 99;
	margin: 0;
}
.header_menu_h a, .header_menu_v_ a, .header_menu_v a{
	color: #ffffff;
	font-weight: bold
}
.header_menu_line {
	width: 100%;
	height: 5px;		
	background-color: #f0fff0;
}
.header_menu_v_ {
	justify-content: center;
	align-items: center;
	height: 27px;		
	background-color: #689835;
}
.header_menu_v {
	top: 15px;
	position: absolute;
	background-color: rgba(45, 66, 22, 0.9);
	width: 70%;
}
.header_menu_v li {
	list-style-type: none;
	margin: 15px;
}
/* header- */

/* footer+ */
footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	width: 100%;
	background: #689835;
	color: #ffffff;
	margin: 20px 0 5px 0;
}
footer div {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	min-height: 70px;
	margin: 20px 10px;
	text-align: center;
}
footer a {
	color: #ffffff;
}
footer a:hover {
	color: #B2E67A;
}
.footer_logo {
	width: 100%;
	max-width: 350px;
}
/* footer- */

/* dialog+ */
.dialog_start, .dialog_text, .dialog_massengers {
	position: fixed;
}
.dialog_start, .dialog_massengers {
	width: 72px;
	height: 72px;
    right: 46px;
    bottom: 46px;
}
.dialog_start, .dialog_massenger, .dialog_icon_massenger {
	border-radius: 50%;
}
.dialog_start {	
	box-shadow: 0 0 0 rgba(251,176,26, 0.4);
	animation: pulse 2s infinite;
}
.dialog_text {
	width: 1px;
	height: 30px;
    right: 81px;
    bottom: 66px;
	background-image: url(/img/dialog/text.png);
	background-repeat: no-repeat;
	animation: move_text 15s infinite;
}
.dialog_icon_start {
	width: 100%;
    height: 100%;
}
.dialog_massengers {
	display: none;
	align-items: center;
	justify-content: space-between;
}
.dialog_icon_massenger {
	width: 72px;
    height: 72px;
	border: 1px solid #C7C7C7;
}
.dialog_icon_massenger:hover {
	width: 69px;
    height: 69px;
	border: 3px solid #C7C7C7;
}
/* вертикальная ориентация */
@media screen and (orientation:portrait) {
	.dialog_start, .dialog_massengers {
		right: 10px;
		bottom: 5px;
	}
	.dialog_text {
		right: 45px;
		bottom: 25px;
	}
}
@keyframes show {
	0%{
		opacity:0;
	}
	100% {
		opacity:1;
	}
}
@keyframes noshow {
	0%{
		opacity:1;
	}
	100% {
		opacity:0;
	}
}
@-webkit-keyframes pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(251,176,26, 0.4);
  }
  70% {
      -webkit-box-shadow: 0 0 0 20px rgba(251,176,26, 0);
  }
  100% {
      -webkit-box-shadow: 0 0 0 0 rgba(251,176,26, 0);
  }
}
@keyframes pulse {
  0% {
    -moz-box-shadow: 0 0 0 0 rgba(251,176,26, 0.4);
    box-shadow: 0 0 0 0 rgba(251,176,26, 0.4);
  }
  70% {
      -moz-box-shadow: 0 0 0 10px rgba(251,176,26, 0);
      box-shadow: 0 0 0 20px rgba(251,176,26, 0);
  }
  100% {
      -moz-box-shadow: 0 0 0 0 rgba(251,176,26, 0);
      box-shadow: 0 0 0 0 rgba(251,176,26, 0);
  }
}
@keyframes move_text {
	0%{
		right: 81px;
		width: 1px;
		opacity: 0;
	}
	20%{
		right: 81px;
		width: 1px;
		opacity: 0;
	}
	24%{
		right: 141px;
		width: 130px;
		opacity: 1;
	}
	26%{
		right: 121px;
		width: 130px;
		opacity: 1;
	}
	44%{
		right: 121px;
		width: 130px;
		opacity: 1;
	}
	45%{
		right: 141px;
		width: 130px;
		opacity: 1;
	}
	50%{
		right: 81px;
		width: 1px;
		opacity: 0;
	}
	100%{
		right: 81px;
		width: 1px;
		opacity: 0;
	}
}
/* dialog- */
