/*------------------------------------------------------------
[Table of contents]

 1. Google fonts import
 2. Common
 3. Header
 4. Main
 5. Nav
 6. Section-features
 7. Section-works
 8. Section-services
 9. Section-about
10. Section-team
11. Section-call
12. Section-prices
13. Section-blog
14. Section-contacts
15. Footer
16. Animations
17. Responsive
------------------------------------------------------------*/
/*------------------------------------------------------------
1. Google fonts import
*/
@import url(https://fonts.googleapis.com/css?family=Raleway:400,600,700&display=swap);
/*------------------------------------------------------------
2. Common
*/
body {
  background: #fff0e7;
  font-family: "Raleway";
}
h1 {
  font: 700 36px/40px "Raleway", Arial, sans-serif;
  color: #333333;
}
h2 {
  font: 400 28px/38px "Raleway", Arial, sans-serif;
  color: #999999;
}
h3 {
  font: 400 24px/34px "Raleway", Arial, sans-serif;
  color: #999999;
}
h4 {
  font: 400 20px/30px "Raleway", Arial, sans-serif;
  color: #999999;
}
h5 {
  font: 400 18px/28px "Raleway", Arial, sans-serif;
  color: #303030;
}
h6 {
  font: 400 16px/26px "Raleway", Arial, sans-serif;
  color: #303030;
}
p {
  font: 400 16px/24px "Raleway", Arial, sans-serif;
}
.small-text {
  font: 400 12px/22px "Raleway", Arial, sans-serif;
  color: #333333;
}
a {
  color: #48cfae;
  border-bottom: 1px solid rgba(72, 207, 174, 0.3);
  -webkit-transition: border-color 100ms ease-out, color 100ms ease-out;
  -moz-transition: border-color 100ms ease-out, color 100ms ease-out;
  -ms-transition: border-color 100ms ease-out, color 100ms ease-out;
  -o-transition: border-color 100ms ease-out, color 100ms ease-out;
  transition: border-color 100ms ease-out, color 100ms ease-out;
  line-height: 24px;
}
a:hover,
a:focus {
  border-color: transparent;
  color: rgba(72, 207, 174, 0.8);
  text-decoration: none;
  outline: none;
}
.spacer {
  padding: 0 50px;
}
.title {
  text-align: center;
}
.title span {
  font: 400 16px "Raleway", Arial, sans-serif;
  color: #d14344;
  display: inline-block;
  position: relative;
  padding: 0 10px;
}
.title span:before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    position: absolute;
    background: #891f36;
    right: -100%;
    top: 50%;
}
.title span:after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    position: absolute;
    background: #891f36;
    left: -100%;
    top: 50%;
}
.title.white span {
  color: #ffffff;
}
.title h1 {
  margin: 0;
  font-weight: 700;
  line-height: 41px;
}
.title.white h1 {
  color: #ffffff;
}
.title p {
  font: 400 16px/26px "Raleway", Arial, sans-serif;
  color: #898989;
  margin: 10px 0 18px;
}
.title.white p {
  color: rgba(255, 255, 255, 0.7);
}
.top-splash-stroke,
.bottom-splash-stroke,
.top-wavy-stroke,
.bottom-wavy-stroke {
  position: relative;
}
.top-splash-stroke:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100px;
  background-image: url(../img/splash.png);
  background-repeat: no-repeat;
  background-size: 100%;
}
.bottom-splash-stroke:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100px;
  background-image: url(../img/splash.png);
  background-repeat: no-repeat;
  background-size: 100%;
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
}
s
.btn {
  font-weight: bold;
  font-family: "Raleway", Arial, sans-serif;
  text-transform: uppercase;
  background: #48cfae;
  color: #ffffff;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  padding: 10px 38px;
  -webkit-transition: background 150ms ease-out;
  -moz-transition: background 150ms ease-out;
  -ms-transition: background 150ms ease-out;
  -o-transition: background 150ms ease-out;
  transition: background 150ms ease-out;
}
.btn:hover {
  background: #434a54;
  color: #ffffff;
}
.btn.stroke-btn {
  color: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.8);
  -webkit-transition: color 100ms ease-out, border-color 100ms ease-out;
  -moz-transition: color 100ms ease-out, border-color 100ms ease-out;
  -ms-transition: color 100ms ease-out, border-color 100ms ease-out;
  -o-transition: color 100ms ease-out, border-color 100ms ease-out;
  transition: color 100ms ease-out, border-color 100ms ease-out;
  background: transparent;
}
.btn.stroke-btn:hover {
  border-color: #ffffff;
  color: #ffffff;
}
.btn:active,
.btn:focus {
  box-shadow: none;
  outline: none;
  color: #ffffff;
}
.pace {
  -webkit-pointer-events: none;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.pace-inactive {
  display: none;
}
.pace .pace-progress {
  position: fixed;
  background: #434a54;
  z-index: 2000;
  top: 0;
  right: 100%;
  width: 100%;
  height: 3px;
}
/* 480 */
@media (max-width: 480px) {
	h1 {
		font: 400 32px/40px "Raleway", Arial, sans-serif;
	}
	#section-features .title h1 {
		font-size: 32px;
		text-align: center;
	}
}
/*------------------------------------------------------------
3. Header
*/
header {
  position: relative;
  height: 710px;
  background-image: url(../img/header.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 10px solid #fff0e7;
  outline: 10px solid #e0504d;
}
header .header-slider {
  position: absolute;
  z-index: 1;
}
header .header-slider .slide {
  text-align: center;
  padding: 80px 0 140px;
}
header .header-slider .slide img {
  margin: auto;
  width: auto;
  max-width: 98%;
}
header .header-slider .slide h1 {
  font-size: 50px;
  line-height: 60px;
  text-transform: uppercase;
  font-weight: 700;
  color: #ffffff;
  margin: 120px 0 0 0;
}
header .header-slider .slide p {
  font: 300 18px/28px "Raleway", Arial, sans-serif;
  color: #ffffff;
  margin-top: 3px;
}
header .header-slider .owl-pagination {
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
}
header .header-slider .owl-pagination .owl-page {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  -webkit-transition: background 100ms ease-out;
  -moz-transition: background 100ms ease-out;
  -ms-transition: background 100ms ease-out;
  -o-transition: background 100ms ease-out;
  transition: background 100ms ease-out;
}
header .header-slider .owl-pagination .owl-page:hover {
  background: rgba(255, 255, 255, 0.5);
}
header .header-slider .owl-pagination .owl-page.active {
  background: #ffffff;
}

header .header-slider .slide .arrow { 
	display: none;
}

/* 768 */
@media (max-width: 768px) {
	header {
		background-image: url(../img/header-mobile.jpg) !important;
		background-position: center;
	}

}
/* 480 */
@media (max-width: 400px) {
	header {
		height: 400px;
	}
	.main-wrap {
		margin-top: -50px !important;
	}
	header .header-slider .slide {
		padding: 34px 0 140px;
	}
	header .header-slider .slide h1 {
		font-size: 33px;
		line-height: 42px;		
		margin: 93px 0 0 0;
	}
	a.help {
		font-size: 23px !important;
	}
	.promo h1 span {
		font-size: 88px !important;
	}
	.promo h1 {
    	font-size: 28px !important;
	}
	#section-features .intro {
		text-align: center;
	}
}
/*------------------------------------------------------------
4. Main
*/
.main-wrap {
  padding: 0 50px;
  margin-top: -120px;
}
main {
  position: relative;
  display: block;
  max-width: 1170px;
  background: #ffffff;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.2);
  margin: auto;
  margin-bottom: 50px;
}

/*------------------------------------------------------------
6. Section-features
*/
#section-features {
  padding: 85px 0 45px;
}
#section-features .title {
  text-align: left;
  margin-bottom: 30px;
}
#section-features .title h1 {
  font-weight: 400;
  font-size: 36px;
}
#section-features .title h1 b {
  font-weight: 600;
}
#section-features .title:after {
  display: none;
}
#section-features .intro {
  padding-bottom: 45px;
}

a.help {
	margin: -115px auto 40px auto;
	display: block;
    background: #f8cd0e;
    padding: 15px 10px;
    text-align: center;
	-webkit-transition: all 150ms ease-out;
	-moz-transition: all 150ms ease-out;
	-ms-transition: all 150ms ease-out;
	-o-transition: all 150ms ease-out;
	transition: all 150ms ease-out;
	font-weight: 700;
	font-size: 32px;
	color: #891f36;
	max-width: 400px;
	position: relative;
	line-height: 40px;
	-webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}
.help:hover {
    background: #891f36;
    color: #f8cd0e;

}


.promo {
	background: #891f36;
	color: #ffffff;
	text-align: center;
	padding: 10px;
	position: relative;
}
.promo .disclose {
	color: #ffffff;
	font-size: 13px;
	line-height: 17px;
	padding-top: 15px;
}
.promo-border {
	border: 4px solid #ffffff;
	background: #e15752 url(../img/promo-bg.jpg) no-repeat;
	background-size: cover;
	padding: 40px 15px 15px 15px;
	position: relative;
}
.promo h1 {
	color: #ffffff;
	font-weight: 700;
	font-size: 32px;
	margin: 3px 0;
	text-transform: uppercase;
}
.promo h1 span {
	font-size: 97px
}
.promo:after {
	content: "";
	position: absolute;
    height: 9px;
    bottom: -9px;
    left: 0;
    right: 0;
    margin: auto;
    background: url(../img/arrow-bottom.png) repeat-x;
}
.promo:before {
	content: "";
	position: absolute;
    height: 9px;
    top: -9px;
    left: 0;
    right: 0;
    margin: auto;
    background: url(../img/arrow-top.png) repeat-x;
}
/* 991 */
@media (max-width: 991px) {
	.promo {
		margin-top: 35px;
	}
	a.check-availability {
		margin: 30px auto 10px auto !important;
	}
}
/* 1100 */
@media (max-width: 1100px) {
	.promo h1 b {
		font-size: 32px
	}
}

/*------------------------------------------------------------
8. Section-services
*/
#section-videos {
  background: #fefaf7;
  padding: 39px 0 30px;
  margin-top: 95px;
}
#section-videos .title {
  margin-bottom: 50px;
}
#section-videos .content-block {
  margin-bottom: 65px;
  text-align: center;
}
#section-videos .content-block i {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  background: #48cfae;
  font-size: 20px;
  line-height: 52px;
  color: #ffffff;
  margin: auto;
  -webkit-transition: color 200ms ease-out, transform 200ms ease-out;
  -moz-transition: color 200ms ease-out, transform 200ms ease-out;
  -ms-transition: color 200ms ease-out, transform 200ms ease-out;
  -o-transition: color 200ms ease-out, transform 200ms ease-out;
  transition: color 200ms ease-out, transform 200ms ease-out;
}
#section-videos .content-block i:after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  bottom: -5px;
  left: 0;
  right: 0;
  margin: auto;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #48cfae;
}
#section-videos .content-block h6 {
  font-weight: 700;
  text-transform: uppercase;
  color: #414141;
  margin-top: 15px;
  margin-bottom: 5px;
}
#section-videos .content-block:hover i {
  -webkit-animation: bounce 800ms ease-out both;
  -moz-animation: bounce 800ms ease-out both;
  -ms-animation: bounce 800ms ease-out both;
  -o-animation: bounce 800ms ease-out both;
  animation: bounce 800ms ease-out both;
}

#section-videos .video-block .popup-youtube {
	position: relative;
	display: block;
	max-width: 443px;
	min-height: 185px;
	overflow: hidden;
	margin: 0 auto 20px auto;
	-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
	padding-top: 39px;
}
#section-videos .video-block .popup-youtube:before {
	content: "";
	position: absolute;
    width: 100%;
    height: 100%;
	left: 0;
    top: 0;
	background: rgba(237, 250, 250, 0.6);
	-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
#section-videos .video-block .popup-youtube:after {
	content: "";
	position: absolute;
    width: 65px;
    height: 65px;
    top: 39%;
    left: 0;
    right: 0;
    margin: auto;
    background: url(../img/play.png) no-repeat;
	-webkit-transition: color 200ms ease-out, transform 200ms ease-out;
  -moz-transition: color 200ms ease-out, transform 200ms ease-out;
  -ms-transition: color 200ms ease-out, transform 200ms ease-out;
  -o-transition: color 200ms ease-out, transform 200ms ease-out;
  transition: color 200ms ease-out, transform 200ms ease-out;
}
#section-videos .video-block .popup-youtube:hover:after  {
  -webkit-animation: bounce 800ms ease-out both;
  -moz-animation: bounce 800ms ease-out both;
  -ms-animation: bounce 800ms ease-out both;
  -o-animation: bounce 800ms ease-out both;
  animation: bounce 800ms ease-out both;
}
#section-videos .video-block .video-caption {
	position: absolute;
	top: 0px;
	background: #891f36;
	color: #ffffff;
	padding: 10px 2px;
	font-size: 20px;
	font-weight:600;
	text-align: center;
	width: 100%;
	display: block;
	-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}


/* 480 */
@media (max-width: 480px) {
	#section-videos .video-block .video-caption {
		left: 5px !important;
	}
	#section-videos .title img {
		display: block;
    	margin: 0 auto 20px;
	}
}

/*------------------------------------------------------------
14. Section-contacts
*/
#section-contacts {
	background: #891f36;
	background-image: url(../img/contacts-bg.jpg);
	background-repeat: no-repeat;
	background-size: cover;
}

#section-contacts .contacts-information {
  overflow: hidden;
  position: relative;
  z-index: 1;
  padding: 60px 0 0;
}
#section-contacts .contacts-information .title {
  margin-bottom: 25px;
}
#section-contacts .contacts-information .content-block {
  margin-bottom: 25px;
  text-align: center;
}
#section-contacts .contacts-information .content-block i {
  font-size: 24px;
  color: #ffffff;
}
#section-contacts .contacts-information .content-block h6 {
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
  margin: 5px 0;
}
#section-contacts .contacts-information .content-block p {
  color: rgba(255, 255, 255, 0.8);
}
#section-contacts .contacts-form {
  color: #ffffff;
}
#section-contacts .contacts-form form {
  margin-top: 10px;
}
#section-contacts .contacts-form .form-fields-group {
  display: flex;
  flex-flow: row wrap;
}
#section-contacts .contacts-form .form-fields-group .form-field {
  flex: 1;
  border-right: none;
}
#section-contacts .contacts-form .form-fields-group .form-field:last-child {
  border-bottom: none;
}
#section-contacts .contacts-form .form-field {
  border-bottom: none;
  padding: 15px 10px 7px;
  -webkit-transition: background 100ms ease-out;
  -moz-transition: background 100ms ease-out;
  -ms-transition: background 100ms ease-out;
  -o-transition: background 100ms ease-out;
  transition: background 100ms ease-out;
}
#section-contacts .contacts-form .form-field:last-child {

}
#section-contacts .contacts-form .form-field label {
  display: block;
  font-size: 16px;
  font-family: "Raleway", Arial, sans-serif;
  color: #ffffff;
  -webkit-transition: color 150ms ease-out;
  -moz-transition: color 150ms ease-out;
  -ms-transition: color 150ms ease-out;
  -o-transition: color 150ms ease-out;
  transition: color 150ms ease-out;
  font-weight: 600
}
#section-contacts .contacts-form .req {
	color: #891f36;
    font-weight: 700;
	font-size: 29px;
	margin-top: -15px;
    height: 22px;
	display: inline-block;
}
#section-contacts .contacts-form .form-field input[type="text"],
#section-contacts .contacts-form .form-field textarea,
#section-contacts .contacts-form .form-field select {
  width: 100%;
  border: none;
  background: #ffffff;
  color: #333333;
  padding: 10px 15px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
#section-contacts .contacts-form .form-field textarea {
  max-width: 100%;
  min-height: 125px;
}
#section-contacts .contacts-form .form-field.focused {
  background: rgba(255, 255, 255, 0.05);
}
#section-contacts .contacts-form .form-field.focused label {
  color: rgba(255, 255, 255, 0.7);
}
#section-contacts .contacts-form .form-field.invalid label {
  color: #891f36;
  font-weight: 700;
}
#section-contacts .contacts-form .btn-send {
  position: relative;
  display: block;
  width: 40%;
  font-size: 16px;
  font-family: "Raleway", Arial, sans-serif;
  text-align: center;
  font-weight: 600;
  color: #ffffff;
  padding: 12px 10px;
  -webkit-transition: all 150ms ease-out;
  -moz-transition: all 150ms ease-out;
  -ms-transition: all 150ms ease-out;
  -o-transition: all 150ms ease-out;
  transition: all 150ms ease-out;
  background: #891f36;
  border-color: #891f36;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  margin:0 auto;
}
#section-contacts .contacts-form .btn-send i {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  vertical-align: middle;
  opacity: 0;
  -webkit-transition: transform 150ms ease-out, opacity 100ms ease-out;
  -moz-transition: transform 150ms ease-out, opacity 100ms ease-out;
  -ms-transition: transform 150ms ease-out, opacity 100ms ease-out;
  -o-transition: transform 150ms ease-out, opacity 100ms ease-out;
  transition: transform 150ms ease-out, opacity 100ms ease-out;
}
#section-contacts .contacts-form .btn-send span {
  display: block;
  -webkit-transition: transform 150ms ease-out, opacity 100ms ease-out;
  -moz-transition: transform 150ms ease-out, opacity 100ms ease-out;
  -ms-transition: transform 150ms ease-out, opacity 100ms ease-out;
  -o-transition: transform 150ms ease-out, opacity 100ms ease-out;
  transition: transform 150ms ease-out, opacity 100ms ease-out;
}
#section-contacts .contacts-form .btn-send:hover {
  background: #731025;
  color: #ffffff;
  border-color: #731025;
}
#section-contacts .contacts-form .btn-send:hover span {
  opacity: 0;
  -webkit-transform: translateY(18px);
  -moz-transform: translateY(18px);
  -ms-transform: translateY(18px);
  -o-transform: translateY(18px);
}
#section-contacts .contacts-form .btn-send:hover i {
  -webkit-transform: translateY(18px);
  -moz-transform: translateY(18px);
  -ms-transform: translateY(18px);
  -o-transform: translateY(18px);
  opacity: 1;
}
#section-contacts .contacts-form #contacts-messages {
  margin-top: 60px 0;
  line-height: 31px;
  color: #ffffff;
  text-align: center;
  font-weight: 600;
  font-size: 27px;
}
#section-contacts .contacts-form #contacts-messages.error {
  color: #a40606;
}
#section-contacts p {
	color: #ffffff;
}
/*------------------------------------------------------------
15. Footer
*/
footer {
  background: #891f36;
  overflow: hidden;
  padding: 30px 0;
}
footer .copyright {
  font-family: "Raleway", Arial, sans-serif;
  font-size: 13px;
  color: #ffffff;
  letter-spacing: 1px;
  margin: 0;
  text-align: center;
}


/*------------------------------------------------------------
16. Animations
*/
.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
/* slideDown */
@-webkit-keyframes slideDown {
  from {
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
  }
  to {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes slideDown {
  from {
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
  }
  to {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}
/* pulse */
@-webkit-keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  50% {
    -webkit-transform: scale3d(1.2, 1.2, 1.2);
    transform: scale3d(1.2, 1.2, 1.2);
  }
  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}
@keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  50% {
    -webkit-transform: scale3d(1.2, 1.2, 1.2);
    transform: scale3d(1.2, 1.2, 1.2);
  }
  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}
/* bounce */
@-webkit-keyframes bounce {
  from,
  20%,
  53%,
  80%,
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  40%,
  43% {
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0);
  }
  70% {
    -webkit-transform: translate3d(0, -15px, 0);
    transform: translate3d(0, -15px, 0);
  }
  90% {
    -webkit-transform: translate3d(0, -4px, 0);
    transform: translate3d(0, -4px, 0);
  }
}
@keyframes bounce {
  from,
  20%,
  53%,
  80%,
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  40%,
  43% {
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0);
  }
  70% {
    -webkit-transform: translate3d(0, -15px, 0);
    transform: translate3d(0, -15px, 0);
  }
  90% {
    -webkit-transform: translate3d(0, -4px, 0);
    transform: translate3d(0, -4px, 0);
  }
}
/* flash */
@-webkit-keyframes flash {
  from,
  50%,
  to {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0;
  }
}
@keyframes flash {
  from,
  50%,
  to {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0;
  }
}
/* shake */
@-webkit-keyframes shake {
  from,
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
  }
  20%,
  40%,
  60%,
  80% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0);
  }
}
@keyframes shake {
  from,
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
  }
  20%,
  40%,
  60%,
  80% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0);
  }
}
/* fadeInRight */
@-webkit-keyframes fadeInRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
.fadeInRight {
  -webkit-animation-name: fadeInRight;
  animation-name: fadeInRight;
}
/* fadeInRightBig */
@-webkit-keyframes fadeInRightBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
@keyframes fadeInRightBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
.fadeInRightBig {
  -webkit-animation-name: fadeInRightBig;
  animation-name: fadeInRightBig;
}
/* fadeInUp */
@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}
/* fadeInDown */
@-webkit-keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
}
/* fadeInLeftBig */
@-webkit-keyframes fadeInLeftBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
@keyframes fadeInLeftBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
.fadeInLeftBig {
  -webkit-animation-name: fadeInLeftBig;
  animation-name: fadeInLeftBig;
}
/* bounceInUp */
@-webkit-keyframes bounceInUp {
  from,
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 3000px, 0);
    transform: translate3d(0, 3000px, 0);
  }
  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0);
  }
  75% {
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0);
  }
  90% {
    -webkit-transform: translate3d(0, -5px, 0);
    transform: translate3d(0, -5px, 0);
  }
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@keyframes bounceInUp {
  from,
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 3000px, 0);
    transform: translate3d(0, 3000px, 0);
  }
  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0);
  }
  75% {
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0);
  }
  90% {
    -webkit-transform: translate3d(0, -5px, 0);
    transform: translate3d(0, -5px, 0);
  }
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
.bounceInUp {
  -webkit-animation-name: bounceInUp;
  animation-name: bounceInUp;
}
/*------------------------------------------------------------
17. Responsive
*/
/* 1200px */
@media (max-width: 1200px) {

}
@media (max-width: 991px) {
	#section-contacts .contacts-form .btn-send {
		float: unset !important;
		margin: 0 auto;
	}
}
/* 768 */
@media (max-width: 768px) {
  nav {
    padding: 0;
  }
  nav .navbar-toggle {
    display: block;
  }
  nav .navbar-items {
    /*display: none;*/
    text-align: center;
  }
  nav .navbar-items.responsive {
    display: block;
  }
  nav .navbar-items a {
    display: block;
    padding: 10px 0;
  }
  nav .navbar-items a:before {
    display: none;
  }
  .main-wrap {
    padding: 0 30px;
  }
  .spacer {
    padding: 0 30px;
  }
  footer .copyright,
  footer .social {
    float: none;
    text-align: center;
    margin: 10px 0;
  }
}
/* 480 */
@media (max-width: 480px) {
  .main-wrap {
    padding: 0 20px;
  }
  .spacer {
    padding: 0 10px;
  }
}

/*------------------------------------------------------------
17. Gallery
*/

.slide {
  width: 100%;
  height: 400px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.slide ul {
  margin: 0 auto;
  height: 382px;
}

.slide ul li {
  width: 100%;
  list-style: none;
  position: absolute;
  z-index: 1;
  height: 400px;
  background-position: top center;
  top: 0;
  left: 0;
  right: 0;
}

.slide #dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 30px;
  z-index: 9999;
  font-size: 0;
  text-align: center;
  opacity: 0.7;
}

.slide #dots a {
  background: #333;
  margin: 0 6px;
  width: 18px;
  height: 18px;
  box-shadow: 0 0 1px 0 #333;
  border-radius: 100%;
  display: inline-block;
  cursor: pointer;
}

.slide #dots a.active { background: #0f3f62; }

.slide .arrow {
  position: absolute;
  bottom: 0%;
  width: 35px;
  height: 35px;
  margin-top: -50px;
  background: #d14344;
  z-index: 999;
  opacity: 1;
  line-height: 35px;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
}

.slide .arrow.prev { left: 0; }

.slide .arrow.next { right: 0; }

.slide .arrow:active {
  background: #0f3f62;
  opacity: 1;
}

#section-gallery .title {
	padding-top: 112px;
}

/* 766 */
@media (max-width: 766px) {
  #section-gallery .title {
    padding: 0 0 50px 0;
 }
}
/* 480 */
@media (max-width: 480px) {
	.slide {
		height: 350px;
	}
	.slide ul li {
		height: 350px;
		background-size: cover;
	}
}




/**
 * Simple fade transition,
 */
.mfp-fade.mfp-bg {
	opacity: 0;
	-webkit-transition: all 0.15s ease-out; 
	-moz-transition: all 0.15s ease-out; 
	transition: all 0.15s ease-out;
}
.mfp-fade.mfp-bg.mfp-ready {
	opacity: 0.8;
}
.mfp-fade.mfp-bg.mfp-removing {
	opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
	opacity: 0;
	-webkit-transition: all 0.15s ease-out; 
	-moz-transition: all 0.15s ease-out; 
	transition: all 0.15s ease-out;
}
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
	opacity: 1;
}
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
	opacity: 0;
}