@font-face {
  font-family: 'fontello';
  src: url('../fonts/fontello/fontello.eot');
  src: url('../fonts/fontello/fontello.eot') format('embedded-opentype'),
       url('../fonts/fontello/fontello.woff') format('woff2'),
       url('../fonts/fontello/fontello.woff') format('woff'),
       url('../fonts/fontello/fontello.ttf') format('truetype'),
       url('../fonts/fontello/fontello.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: none;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  line-height: 1em;
  margin-left: .2em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-mail:before { content: '\e800'; } /* '' */
.icon-up-dir:before { content: '\e801'; } /* '' */
.icon-cancel:before { content: '\e803'; } /* '' */
.icon-location-1:before { content: '\e805'; } /* '' */
.icon-phone:before { content: '\e807'; } /* '' */
.icon-menu:before { content: '\f0c9'; } /* '' */
.icon-volume-control-phone:before { content: '\f2a0'; } /* '' */
.icon-facebook:before { content: '\f300'; } /* '' */
.icon-vkontakte-rect:before { content: '\f30a'; } /* '' */
.icon-odnoklassniki:before { content: '\f30c'; } /* '' */
.icon-instagram-filled:before { content: '\f31f'; } /* '' */

@font-face {
  font-family: 'Candara';
  src: url('../fonts/Candara/Candara.eot');
  src: url('../fonts/Candara/Candara.woff') format('woff'),
       url('../fonts/Candara/Candara.svg#Candara') format('svg'),
       url('../fonts/Candara/Candara.eot?#iefix') format('embedded-opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Candara-Bold';
  src: url('../fonts/Candara-Bold/Candara-Bold.eot');
  src: url('../fonts/Candara-Bold/Candara-Bold.woff') format('woff'),
       url('../fonts/Candara-Bold/Candara-Bold.svg#Candara') format('svg'),
       url('../fonts/Candara-Bold/Candara-Bold.eot?#iefix') format('embedded-opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Candara-Italic';
  src: url('../fonts/Candara-Italic/Candara-Italic.eot');
  src: url('../fonts/Candara-Italic/Candara-Italic.woff') format('woff'),
       url('../fonts/Candara-Italic/Candara-Italic.svg#Candara') format('svg'),
       url('../fonts/Candara-Italic/Candara-Italic.eot?#iefix') format('embedded-opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Gloriascript';
  src: url('../fonts/Gloriascript/Gloriascript.eot');
  src: url('../fonts/Gloriascript/Gloriascript.woff') format('woff'),
       url('../fonts/Gloriascript/Gloriascript.svg#Gloriascript') format('svg'),
       url('../fonts/Gloriascript/Gloriascript.eot?#iefix') format('embedded-opentype');
  font-weight: normal;
  font-style: normal;
}



html, body{
  font-family: 'Candara';
  height: 100%;
}

.wrapper{
  margin: 0 auto;
  -webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
  -moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
  box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
}



a{
  -webkit-transition: color 0.3s linear;
  -moz-transition: color 0.3s linear;
  -o-transition: color 0.3s linear;
  transition: color 0.3s linear;
  text-decoration: none;
}

h1{
  font-family: 'Gloriascript';
  text-align: center;
}

img{
  max-width: 100%;
  height: auto;
}


.main_menu_wrapper{
	background-color: #191919;
}

.toggle-button{
  font-size: 36px;
  text-align: center;
  color: #fff;
  display: block;
  /*line-height: 50px;*/
  padding: 0;
  background: none;
  border-radius: 0;
  margin: 0;
  box-shadow: none;
  border:none;
}

a.social_btn{
	display: inline-block;
	background: url(../img/social_btn_bg.png);
	color: #6c5e4b;
	width: 44px;
	height: 48px;
	line-height: 48px;
	vertical-align: middle;
	text-align: center;
	cursor: pointer;
  font-size: 16px;
}

a.social_btn:hover{
	color: #fcd1a7;
}

.top_phone_wrapper{
  text-align: right;
}

.top_phone_wrapper a{
  color: #fff;
  cursor: pointer;
  font-size: 20px;
}

.top_phone_wrapper a:hover,
.main_menu li a:hover{
  color: #fcd1a7
}

.main_menu{
  padding: 0;
  margin: 0;
  width: 100%;
  list-style: none;
}

.main_menu li a{
  color: #fff;
  letter-spacing: 1px;
  font-size: 14px;
  text-transform: uppercase;
}

.mobile_menu{
  margin-top: 30px;
}

.mobile_menu li{
  padding:5px 0 ;
}

.mobile_menu li a{
  letter-spacing: 1px;
  font-size: 18px;
  color: #000;
}


.rounded_wrapper{
  max-width: 100%;
  position: relative;
  overflow: hidden;
}

.rounded_header_body{
  position: relative;
  background: url(../img/header_img.jpg);
  padding: 25px 0;
}

.rounded_header_body:before{
  content: '';
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.66);
  z-index: 1;
}

.logo_wrapper{
  display: block;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.header_slogan{
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 2;
}

.header_slogan p{
  font-family: 'Gloriascript';
}

.golden_btn{
  text-align: center;
  background-color: #feca75;
  background-image: -webkit-linear-gradient(left, #feca75 0%, #feeed5 50%, #feca75 100%);
  background-image: -o-linear-gradient(left, #feca75 0%, #feeed5 50%, #feca75 100%);
  background-image: linear-gradient(to right, #feca75 0%, #feeed5 50%, #feca75 100%);
  box-shadow: 0px 0 14px 2px rgba(0, 0, 0, 0.5);
  width: 270px;
  height: 50px;
  border-radius: 25px;
  border:none;
  color: #a78653;
  font-size: 18px;
  font-weight: 700;
  padding: 13px 0px 13px
  text-transform: uppercase;
  letter-spacing: 1.4px;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

a.golden_btn{
  padding: 16px 0px 10px;
}

.golden_btn:hover,
.golden_btn:focus{
  outline: none;
  color: #694117;
  box-shadow: 0px 0 14px 2px rgba(255, 255, 255, 0.5)
}

.rounded_header_body .golden_btn{
  z-index: 2;
  position: absolute;
  border-radius: 25px;
  left: 50%;
  margin-left: -135px;
}

.pillar{
  z-index: 2;
  position: absolute;
  left: 50%;
}

.advantege_item{
  text-align: center;
  margin-bottom: 18px;
}

.advantege_item h2{
  font-family: 'Candara-Bold';
  text-transform: uppercase;
  font-size: 18px;
  line-height: 24px;
  margin-top: -37px;
}

.advantege_img_wrapper{
  height: 192px;
}

.gallery_item{
  display: block;
  margin-bottom: 30px;
  border-radius: 5px;
  overflow: hidden;
}

.portfolio_more{
  margin: 0 auto;
  text-align: center;
  display: block;
  color: #846b4f;
  font-size: 18px;
  font-weight: 700;
  line-height: 50px;
  text-transform: uppercase;
  width: 290px;
  height: 50px;
  border: 2px solid #846b4f;
  border-radius: 25px;
  text-decoration: none;
  letter-spacing: 2px;
}

.portfolio_more:hover,
.portfolio_more:focus{
  outline: none;
  border: 2px solid #c37a28;
  color: #c37a28;
  text-decoration: none;
}

.rounded_credo_body{
  text-align: center;
  color: #fff;
  letter-spacing: 2px;
  font-size: 18px;
}

.rounded_credo_body p{
  font-family: 'Candara-Italic';
  padding: 0;
  margin-bottom: 10px;
}

.our_services h2{
  color: #7c6545;
  text-transform: uppercase;
}

.our_services ul{
  margin: 0;
  padding: 0;
  font-size: 22px;
  line-height: 18px;
  list-style: none;
  letter-spacing: 2px;
}

.our_services ul li{
  margin-bottom: 18px;
  padding-left: 25px;
  padding-left: 40px;
  position: relative;
}

.our_services ul li:before{
  content: '';
  background-image: url(../img/spritesheet.png);
  background-repeat: no-repeat;
  display: block;
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -11px;
}


.service_1_1:before{width:22px;height:22px;background-position:-20px -20px}
.service_1_2:before{width:19px;height:21px;background-position:-20px -82px}
.service_1_3:before{width:22px;height:22px;background-position:-20px -143px}
.service_1_4:before{width:22px;height:22px;background-position:-20px -205px}
.service_1_5:before{width:23px;height:15px;background-position:-20px -267px}
.service_2_1:before{width:32px;height:35px;background-position:-20px -322px}
.service_2_2:before{width:36px;height:26px;background-position:-20px -397px}
.service_2_3:before{width:35px;height:31px;background-position:-20px -463px}
.service_2_4:before{width:34px;height:21px;background-position:-20px -534px}
.service_3_1:before{width:22px;height:22px;background-position:-20px -595px}
.service_3_2:before{width:18px;height:22px;background-position:-20px -657px}
.service_3_3:before{width:21px;height:22px;background-position:-20px -719px}
.service_3_4:before{width:23px;height:23px;background-position:-20px -781px}
.service_3_5:before{width:22px;height:20px;background-position:-20px -844px}

.rounded_prefooter_body{
  background: url(../img/footer_bg.jpg) no-repeat;
  background-size: cover;
}

.order_form_wrapper{
  text-align: center;
  background-color: rgba(0, 0, 0, 0.54);
  border-radius: 5px;
}

.order_form_wrapper h1{
  color: #fff;
}

.order_form_wrapper input{
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #d1d1d1;
  line-height: 30px;
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 30px;
  color: #fff;
  outline: none;
  border-radius: 0;
}
/*
.order_form_wrapper input:invalid {border-color: d1d1d1;}
.order_form_wrapper input:valid {border-color: green;}*/
.order_form_wrapper input:invalid:not(:placeholder-shown) {border-color: red;}
.order_form_wrapper input:valid:not(:placeholder-shown) {border-color: green;}

footer{
  background-color: #000;
  color: #b4a188;
  padding: 20px 0
}

.footer_social{
  padding: 20px 0;
}

/*.footer_social a.social_btn{
    color: #b4a188;
}*/

.to_top{
  display: block;
  width: 70px;
  height: 70px;
  background-image: url(../img/to_top_btn.png);
  margin: 13px auto;
  -webkit-transition: all 0.1s linear;
  -moz-transition: all 0.1s linear;
  -o-transition: all 0.1s linear;
  transition: all 0.1s linear;
  border-radius: 50%;
}

.to_top:hover{
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
  box-shadow: 0px 0 14px 2px rgba(255, 255, 255, 0.5);
}

.footer_contacts{
  font-size: 18px;
  line-height: 24px;
}

.footer_contacts a{
  color: #b4a188;
}

.footer_contacts a:hover{
  color: #c1b19c;
}

.slideout-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 256px;
  min-height: 100vh;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  z-index: 0;
  display: none;
}

.slideout-menu-left {
  left: 0;
}

.slideout-menu-right {
  right: 0;
}

.slideout-panel {
  position: relative;
  z-index: 1;
  will-change: transform;
  background-color: #FFF; /* A background-color is required */
  min-height: 100vh;
}

.slideout-open,
.slideout-open body,
.slideout-open .slideout-panel {
  overflow: hidden;
}

.slideout-open .slideout-menu {
  display: block;
  background-color: #feca75;
  background-image: -webkit-linear-gradient(left, #feca75 0%, #feeed5 50%, #feca75 100%);
  background-image: -o-linear-gradient(left, #feca75 0%, #feeed5 50%, #feca75 100%);
  background-image: linear-gradient(to right, #feca75 0%, #feeed5 50%, #feca75 100%);
}

.flex-b {
      -ms-flex-pack: distribute;
            justify-content: space-around;
}

.header_social {
    color: white;
}