/* Eric Meyer's CSS Reset */
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, ol, ul, li,
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, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: square;
	padding-left: 40px;
	margin-top: 1em;
	margin-bottom: 1em;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* End of Eric Meyer's CSS Reset */

html {
	height: 100%;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
	display: block;
}
body {
	font: 14px/18px Arial, sans-serif;
	width: 100%;
	height: 100%;
}
.wrapper {
	max-width:  1400px;
	margin: 0 auto;
	min-height: 100%;
	height: auto !important;
	height: 100%;
}


/* Header
-----------------------------------------------------------------------------*/
.header {
	height: 60px;
	background: #383838;
}
.menu {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: center;
	height: 60px;
	padding: 0 0 0 15px;
}

.soc, .adress, .head-mail, .time  {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	position: relative;
	color: #fff;
}
.soc-p, .adress-p, .head-mail-p, .time-p {
	padding-left: 20px;
}
.soc img {
	width: 30px;
	height: 30px;
	margin-left: 10px;
}
.soc:before, .adress:before, .head-mail:before, .time:before  {
	position: absolute;
	content: '';
	width: 16px;
	height: 16px;
	top: 50%;
	margin-top: -10px;
}
.soc:before {
	background: url('img/001-users.svg') no-repeat center center;
	background-size: 15px;
}
.adress:before {
	background: url('img/002-placeholder.svg') no-repeat center center;
	background-size: 15px;
}
.head-mail:before {
	background: url('img/003-email.svg') no-repeat center center;
	background-size: 15px;
}
.time:before {
	background: url('img/004-calendar.svg') no-repeat center center;
	background-size: 15px;
}
.time {
	height: 100%;
    background: #C33737;
    padding: 0 15px;
}

/* Middle
-----------------------------------------------------------------------------*/
#top{
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: center;
	margin-top: 30px;
}
#top div {
	flex-grow: 1;
}
.logo {
	flex-basis: 10%;
}
@font-face {
	font-family: red_octoberregular;
	src: url(fonts/red_octoberregular.ttf);
	}
.top-txt {
	flex-basis: 35%;
	text-align: center;
	font-size: 24px;
	font-family: red_octoberregular;
	
}

.top-contact {
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	font-family: red_octoberregular;
}
.top-contact a {
	text-decoration: none;
	color: #383838;
	font-size: 24px;
	font-weight: bolder;
	margin-bottom: 10px;
	display: block;
}

#txt-section {
	margin: 50px auto;
	max-width: auto;
}
#txt-section p {
	font-size: 16px;
	line-height: 1.4;
	padding: 10px;
}

#main-section {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	margin: 50px auto;
}
.main-block {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
	align-items: stretch;
	flex-basis: 90%;
}
.main-block div {
	margin: 20px;
	max-width: 100%;
}
.main-block div img {
	width: 100%;
	height: auto;
}
.side-form {
	flex-basis: 25%;
	margin-top: 20px;
	font-family: red_octoberregular;
}
.side-form h2 {
	padding: 15px;
	background: #C33737;
	font-size: 25px;
	color: #fff;
	line-height: 1.4;
}
#main-form {
	display: flex;
	flex-flow: column nowrap;
	font-size: 16px;
	border: 2px solid #C33737;
	padding: 0 12px 10px;
}
#main-form label {
	margin-bottom: 10px;
	font-weight: bolder;
	display: flex;
    flex-flow: column nowrap;
    padding-top: 10px;
}
#main-form label input, textarea{
	border: none;
	border-bottom: 1px solid #ccc;
	padding: 8px 4px 8px 10px;
	outline: none;
	font-size: 20px;
	font-weight: normal;
	resize: none;
}
#main-form input[type=submit] {
	background: #C33737;
	border:none;
	color: #fff;
	padding: 12px 24px;
	width: 70%;
	font-weight: bolder;
	font-size: 20px;
	position: relative;
}

#big-img {
	text-align: center;
	justify-content: center;
	align-items: center;
	margin-bottom: 70px;
	padding: 100px;
}
#big-img img {
	width: auto;
}
/* Top right text */
.top-right {
    position: absolute;
    top: 8px;
    right: 16px;
}

.container {
    position: relative;
    text-align: center;
    color: white;
}

/* Bottom left text */
.bottom-left {
    position: absolute;
    bottom: 8px;
    left: 16px;
}

/* Footer
-----------------------------------------------------------------------------*/
.footer {
	max-width:  1400px;
	margin: 0 auto 0;
	height: 200px;
	background: #383838;
	position: relative;
}
.footer .menu {
	flex-direction: row-reverse;
	padding: 0 15px 0 0;
	background: #C33737;
}
.info {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: center;
	color: #fff;
	padding: 0 15px;
	font-weight: bolder;
	height: 140px;
}
.info div {
	width: 33%;
	display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}
.info .info-left {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
}
.info-left span {
    white-space: nowrap;
    display: block;
    margin: 7px 14px;
    position: relative;
    padding-left: 20px;
        width: 162px;
}
.info-left span:before {
	position: absolute;
	content: '';
	width: 16px;
	height: 16px;
	top: 50%;
	left: 0;
	margin-top: -10px;
	background: url('img/001-list.svg') no-repeat center center;
	background-size: 15px;
}
.call a {
	text-decoration: none;
	color: #fff;
	display: block;
}
.phone-bot {
	position: relative;
	padding-left: 20px;
	width: 210px;
}
.phone-bot:before {
	position: absolute;
	content: '';
	width: 16px;
	height: 16px;
	top: 50%;
	left: 0;
	margin-top: -10px;
	background: url('img/002-phone-call.svg') no-repeat center center;
	background-size: 15px;
}
.recall {
	background: #C33737;
    border: none;
    color: #fff;
    padding: 12px 24px;
    width: 180px;
    text-align: center;
    font-weight: bolder;
    font-size: 20px;
    margin-top: 10px;
    position: relative;
}
.recall:before {
	position: absolute;
	content: '';
	top: -13px;
	left: 0;
    height: 0px; 
    width: 0px; 
    border-top: 7px solid #C33737;; 
    border-left: 7px solid  transparent;
    border-right: 7px solid #C33737;;; 
    border-bottom: 7px solid transparent; 
    transform: rotate(180deg); 
}
.copy span {
	display: block;
	margin-bottom: 5px;
}

@media (max-width: 991px) {
	.header {
		height: auto;
	}
	.menu {
		height: auto;
		flex-flow: row wrap;
		padding: 15px;
		justify-content: flex-start;
	}
	.menu div, {
		flex-grow: 1;
		flex-basis: 45%;
	}
	.time {
		background: none;
	}
	#top {
		flex-flow: row wrap;
	}
	#top div {
		margin-bottom: 15px;
	}
	.logo {
		flex-basis: 100%;
		text-align: center;
	}
	#main-section {
		flex-flow: column nowrap;
	}
	.main-block div {
		max-width: 45%;
	}
	#main-form input[type=submit] {
		width: 100%;
	}
	.footer {
		height: auto;

    padding: 0 0 20px;
	}
	.footer .menu {
		padding: 15px;
	}
	.soc, .adress, .head-mail, .time {
		flex-grow: 1;
		flex-basis: 45%;
	}
	.time {
		padding: 0;
	}
}
@media (max-width: 767px) {
	.info {
		flex-flow: column nowrap;
		justify-content: flex-start;
		    height: 100%;
    	background: #383838;
    	    padding: 20px 20px;
	}
	.info div {
		margin-bottom: 10px;
		width: 100%;
	}
	.main-block div {
		max-width: 70%;
	}
}
@media (max-width: 600px) {
	.menu {
		flex-flow: column nowrap;
	}
	.menu div {
		padding: 5px 0;
	}
	#top {
		flex-flow: column nowrap;
	}
	.main-block div {
		max-width: 90%;
	}
	.footer .menu {
		flex-flow: column nowrap;
	}
}


/* Модальное окно для картинок
-------------------------------------- */
#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}
#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 1800px;
}
/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption { 
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}

.button_recall {
	background-color: #a70000; /* Красный */
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
	width: 100%;
}

.force_call{
	background-color: #C33737; /* Красный */
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: auto;
    margin: 4px 2px;
    cursor: pointer;
	font-family: red_octoberregular;
}

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 85%;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}