body {
  font-family: BebasBold, sans-serif;
  font-size: 18px;
}
.section_title h2 {
  text-align: center;
  font-size: 40px;
  padding: 40px;
}
.dark_section {
  color: #ffffff;
}
#portfilio {
  background-image: url(../img/portfolio_bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  padding-bottom: 40px;
}
#portfilio .wrap {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-around;
}
#portfilio .wrap .item {
  border: 1px solid #000;
  margin: 10px;
  padding: 10px;
  max-width: 550px;
  text-align: center;
}
#portfilio .wrap .item #gallery #panel {
  max-width: 380px;
  border: 1px solid #313c42;
  display: inline-block;
}
#portfilio .wrap .item #gallery #panel img {
  width: 100%;
}
#portfilio .wrap .item #gallery #thumbs,
#portfilio .wrap .item #gallery #thumbs2,
#portfilio .wrap .item #gallery #thumbs3,
#portfilio .wrap .item #gallery #thumbs4,
#portfilio .wrap .item #gallery #thumbs5,
#portfilio .wrap .item #gallery #thumbs6 {
  display: inline-block;
  max-width: 100px;
  padding: 0 15px;
}
#portfilio .wrap .item #gallery #thumbs img,
#portfilio .wrap .item #gallery #thumbs2 img,
#portfilio .wrap .item #gallery #thumbs3 img,
#portfilio .wrap .item #gallery #thumbs4 img,
#portfilio .wrap .item #gallery #thumbs5 img,
#portfilio .wrap .item #gallery #thumbs6 img {
  display: block;
  width: 100%;
  margin: 15px 0 0;
  border: 3px solid #ffffff;
  cursor: pointer;
}
#portfilio .wrap .item #gallery #thumbs img:hover,
#portfilio .wrap .item #gallery #thumbs2 img:hover,
#portfilio .wrap .item #gallery #thumbs3 img:hover,
#portfilio .wrap .item #gallery #thumbs4 img:hover,
#portfilio .wrap .item #gallery #thumbs5 img:hover,
#portfilio .wrap .item #gallery #thumbs6 img:hover {
  border: 3px solid #ff971e;
}
#portfilio .wrap .item a {
  padding: 10px 15px;
  background-color: #ff971e;
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
  font-family: OpenSansRegular, sans-serif;
  border: 1px solid #ff971e;
  text-transform: uppercase;
  margin-top: 5px;
}
#portfilio .wrap .item a:hover {
  background-color: transparent;
  color: #000000;
  border: 1px solid #ff971e;
}
#portfilio .wrap .item .area {
  display: inline-block;
  padding-left: 10px;
}
#portfilio .wrap .item .area p {
  font-size: 24px;
}
#portfilio .wrap .item .area p span {
  color: #313c42;
  font-family: BebasLight, sans-serif;
  font-size: 20px;
}
#portfilio .wrap .item .coast {
  display: inline-block;
  text-align: right;
  padding-left: 50px;
}
#portfilio .wrap .item .coast p {
  font-size: 24px;
  color: #ff971e;
}
#portfilio .wrap .item .coast p span {
  color: #313c42;
  font-family: BebasLight, sans-serif;
  font-size: 20px;
}
#portfilio .wrap .item .description {
  padding: 10px;
}
#advantages {
  background-image: url(../img/advantages_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
#advantages .wrap {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-around;
  color: #ffffff;
}
#advantages .wrap .item {
  max-width: 350px;
  margin: 10px;
  text-align: center;
}
#advantages .wrap .item:hover img {
  transform: rotate(360deg);
}
#advantages .wrap .item h4 {
  font-size: 22px;
}
#advantages .wrap .item p {
  font-family: OpenSansRegular, sans-serif;
  font-size: 16px;
}
#advantages .wrap .item .img img {
  transition: all 500ms linear;
}
#calculation {
  padding-bottom: 40px;
}
#calculation .wrap {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-around;
  align-items: center;
}
#calculation .wrap .item .hello {
  padding: 0 20px 20px 20px;
  text-align: center;
  font-family: OpenSansRegular, sans-serif;
}
#calculation .wrap .item form {
  text-align: left;
}
#calculation .wrap .item form input,
#calculation .wrap .item form select {
  padding: 15px 15px;
  border: 1px solid #333;
  width: 230px;
  font-size: 18px;
  margin: 5px;
}
#calculation .wrap .item form select {
  padding: 15px 20px;
  width: 262px;
}
#calculation .wrap .item form button {
  background-color: #ff971e;
  padding: 15px 20px;
  border: 1px solid #ff971e;
  margin: 5px;
  width: 260px;
  font-family: BebasBold, sans-serif;
  font-size: 18px;
  cursor: pointer;
  transition: all .35s;
}
#calculation .wrap .item form button:hover {
  background-color: transparent;
}
#calculation .wrap .item form .clarification {
  margin: 5px;
  font-family: OpenSansRegular, sans-serif;
  font-size: 12px;
}
#types {
  background-image: url(../img/calculation_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  padding-bottom: 60px;
  background-position: center center;
  background-attachment: fixed;
}
#types .wrap {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-around;
}
#types .wrap .item {
  border: 1px solid #000;
  max-width: 350px;
  text-align: center;
  margin: 10px;
}
#types .wrap .item:hover img {
  transform: scale(1.2);
}
#types .wrap .item:hover p {
  color: #313c42;
}
#types .wrap .item .img {
  max-width: 350px;
  overflow: hidden;
}
#types .wrap .item .img img {
  width: 100%;
  transition: all .35s;
}
#types .wrap .item .title {
  padding: 40px 10px;
  background-color: #ffffff;
}
#types .wrap .item .title #qqq {
  color: #f00;
}
#kinds {
  padding-bottom: 40px;
}
#kinds .title {
  text-align: center;
  padding-bottom: 20px;
  font-family: OpenSansRegular, sans-serif;
  font-size: 20px;
}
#kinds .wrap {
  display: flex;
  flex-wrap: wrap;
  max-width: 1290px;
  margin: 0 auto;
  justify-content: space-around;
}
#kinds .wrap .item {
  display: flex;
  flex-wrap: wrap;
  max-width: 1150px;
  margin: 10px auto;
  justify-content: space-between;
  text-align: center;
}
#kinds .wrap .item .i_left,
#kinds .wrap .item .i_right {
  max-width: 300px;
  border: 1px solid #313c42;
  margin: 10px;
}
#kinds .wrap .item .i_left:hover img,
#kinds .wrap .item .i_right:hover img {
  transform: scale(1.2);
}
#kinds .wrap .item .i_left .img,
#kinds .wrap .item .i_right .img {
  max-width: 300px;
  overflow: hidden;
}
#kinds .wrap .item .i_left .img img,
#kinds .wrap .item .i_right .img img {
  width: 100%;
  transition: all .35s;
}
#kinds .wrap .item .i_left p,
#kinds .wrap .item .i_right p {
  text-align: center;
  padding: 10px;
}
#question_answer {
  background-image: url(../img/question_bg2.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  text-align: center;
  padding-bottom: 40px;
}
#question_answer .question {
  font-size: 26px;
  cursor: pointer;
  padding: 20px;
}
#question_answer .question p {
  text-decoration: underline;
  display: inline-block;
}
#question_answer .question p:hover {
  text-decoration: none;
}
#question_answer .answer {
  font-family: OpenSansRegular, sans-serif;
  padding-bottom: 20px;
  display: none;
}
#question_answer .answer p a {
  text-decoration: underline;
  color: #ff971e;
}
#question_answer .answer p a:hover {
  text-decoration: none;
}
#question {
  padding: 40px;
  background-image: url(../img/question_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
#question .wrap {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-around;
}
#question .wrap .item p {
  font-size: 30px;
  color: #ffffff;
}
#question .wrap .item span {
  font-size: 30px;
  color: #ffffff;
}
#question .wrap .item .question_form {
  text-align: center;
  border: 1px solid #ffffff;
}
#question .wrap .item .question_form .title {
  background-image: url(../img/form_bg.jpg);
  padding: 10px;
  text-align: center;
}
#question .wrap .item .question_form .title p {
  font-size: 30px;
  color: #000000;
}
#question .wrap .item .question_form .title span {
  font-family: OpenSansRegular, sans-serif;
  font-size: 14px;
  color: #000000;
}
#question .wrap .item .question_form form {
  padding: 20px;
}
#question .wrap .item .question_form form input {
  padding: 10px 35px;
  background-image: url(../img/inp_name.png);
  background-position: 10px center;
  background-repeat: no-repeat;
  margin: 5px;
}
#question .wrap .item .question_form form .phone_mask {
  background-image: url(../img/inp_phone.png);
}
#question .wrap .item .question_form form button {
  padding: 10px 90px;
  background-color: #ff971e;
  border: 1px solid #ff971e;
  color: #ffffff;
  margin: 5px;
  font-family: BebasRegular, sans-serif;
  font-size: 18px;
  cursor: pointer;
}
#question .wrap .item .question_form form button:hover {
  background-color: transparent;
  color: #ffffff;
}
#footer {
  background-color: #ffffff;
}
#footer .wrap {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px;
  justify-content: space-around;
  align-items: center;
}
#footer .wrap .item .logo {
  width: 200px;
}
#footer .wrap .item .logo img {
  width: 100%;
}
#footer .wrap .item .description {
  text-align: center;
}
#footer .wrap .item .phone {
  font-size: 30px;
  text-align: right;
}
#footer .wrap .item .phone a {
  text-decoration: none;
  color: #000000;
}
#footer .wrap .item .phone .call {
  font-size: 18px;
  background-color: #ff971e;
  padding: 10px 15px;
  display: inline-block;
  border: 1px solid #ff971e;
}
#footer .wrap .item .phone .call:hover {
  background-color: transparent;
}
.popup_call {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
  background-color: #f5f5f5;
  position: relative;
}
.popup_call .wrap {
  display: flex;
  flex-wrap: wrap;
  max-width: 750px;
  margin: 0 auto;
  justify-content: space-around;
  align-items: center;
}
.popup_call .wrap .item {
  padding: 20px;
}
.popup_call .wrap .item .img {
  max-width: 350px;
}
.popup_call .wrap .item .img img {
  width: 100%;
}
.popup_call .title {
  background-image: url(../img/form_bg.jpg);
  padding: 10px;
  text-align: center;
}
.popup_call .title p {
  font-size: 30px;
  color: #000000;
}
.popup_call .title span {
  font-family: OpenSansRegular, sans-serif;
  font-size: 14px;
  color: #000000;
}
.popup_call form {
  padding: 20px 10px 0;
}
.popup_call form input {
  padding: 10px 35px;
  background-image: url(../img/inp_name.png);
  background-position: 10px center;
  background-repeat: no-repeat;
  margin: 5px;
}
.popup_call form .phone_mask {
  background-image: url(../img/inp_phone.png);
}
.popup_call form button {
  padding: 10px 92px;
  background-color: #ff971e;
  border: 1px solid #ff971e;
  color: #ffffff;
  margin: 5px;
  font-family: BebasRegular, sans-serif;
  font-size: 18px;
  cursor: pointer;
}
.popup_call form button:hover {
  background-color: transparent;
  color: #000000;
}
.b-top {
  position: fixed;
  top: 0;
  right: 0;
  width: 5%;
  height: 100%;
  z-index: 999;
  opacity: 1;
}
.b-top:hover {
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: 0.9s;
}
.b-top-but {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -13.5px;
  margin-top: -60px;
  width: 27px;
  height: 120px;
  background: url(../img/up_btn.png) no-repeat;
  background-position: center;
  border: none;
}
.result {
  display: none;
}
.result2 {
  display: block;
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  top: 0px;
  z-index: 200;
}
.result3 {
  display: none;
}
.thanks {
  width: 428px;
  margin: 20% auto;
  background-color: #fff;
  text-align: center;
  padding-bottom: 40px;
  position: relative;
}
.thanks a {
  text-decoration: none;
  color: #000;
}
.thanks .modal_text {
  text-align: center;
  padding: 32px 20px 25px;
  font-family: OpenSansBold, sans-serif;
  text-transform: uppercase;
  color: #000;
}
.thanks .modal_text2 {
  text-align: center;
  font: 17px OpenSansRegular, sans-serif;
  text-transform: uppercase;
  color: #000;
  margin: 0 auto 35px;
  width: 297px;
}
.thanks .modal_button {
  background-color: #ff971e;
  border-radius: 5px;
  font: 14px OpenSansRegular, sans-serif;
  text-decoration: none;
  color: #fff;
  padding: 10px;
  text-transform: uppercase;
  cursor: pointer;
}
.thanks .modal_button:hover {
  background-color: #ea7e00;
}
.hidden {
  display: none;
}
.popup_form {
  max-width: 400px;
  background-color: rgba(0, 0, 0, 0.6);
  margin: 0 auto;
  padding: 40px 0 10px;
  text-align: center;
  border: 2px dashed #ff971e;
  position: relative;
}
.popup_form p {
  font-size: 18px;
  padding: 15px 0;
  color: #fff;
}
.popup_form form {
  padding: 20px;
}
.popup_form form input {
  padding: 10px 15px;
  margin: 5px;
  font-size: 16px;
}
.popup_form form button {
  background-color: #ff971e;
  padding: 10px 31px;
  border: none;
  font-size: 16px;
  text-transform: uppercase;
  margin: 5px;
  color: #fff;
  font-family: OpenSansRegular, sans-serif;
  cursor: pointer;
}
