@font-face {
  font-family: SegoeUI;
  src: url(../fonts/SegoeUI-Light.ttf);
  font-weight: 300;
}

@font-face {
  font-family: SegoeUI;
  src: url(../fonts/SegoeUI-Regular.ttf);
  font-weight: 400;
}

@font-face {
  font-family: SegoeUI;
  src: url(../fonts/SegoeUI-Semibold.ttf);
  font-weight: 600;
}

@font-face {
  font-family: SegoeUI;
  src: url(../fonts/SegoeUI-Bold.ttf);
  font-weight: 700;
}

@font-face {
  font-family: SegoeUI;
  src: url(../fonts/SegoeUI-Italic.ttf);
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: OpenSans;
  src: url(../fonts/OpenSans-Light.ttf);
  font-weight: 300;
}

@font-face {
  font-family: OpenSans;
  src: url(../fonts/OpenSans-Bold.ttf);
  font-weight: 700;
}

label {
  width: 100%;
  font-weight: normal;
  position: relative;
}

img {
  max-width: 100%;
}

button {
  background: transparent;
  border: none;
}

a,
a:hover,
a:focus,
a:visited {
  color: inherit;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.p0 {
  padding: 0 !important;
}

.plr0 {
  padding-left: 0;
  padding-right: 0;
}

.pl0 {
  padding-left: 0;
}

.pr0 {
  padding-right: 0;
}

.center_temp {
  margin: 0 auto;
}

.scrolloff {
  pointer-events: none;
}

.hor_ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.hor_ul li {
  display: inline-block;
}

.img_left {
  float: left;
  margin: 0 20px 20px 0;
  max-width: 220px;
}

.img_right {
  float: right;
  margin: 0 0 20px 20px;
  max-width: 220px;
}

body {
  font-family: Segoe, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #444;
  background: url(../img/water_bg.png) center bottom no-repeat #f5f7f9;
  background-size: 100% auto;
  position: relative;
}

hr {
  margin-top: 0;
  margin-bottom: 30px;
  border-color: #e0e0e0;
}

.btn {
  background: transparent;
  border: none;
  padding: 8px 25px;
  transition: all .5s ease;
  border-radius: 3px;
}

.btn_temp,
.btn_temp:visited,
.btn_temp:focus {
  background-color: #3bb2d5;
  color: #fff;
}

.btn_temp:hover,
.btn_temp:active {
  background-color: #373737;
  color: #fff;
}

.btn_grey,
.btn_grey:visited,
.btn_grey:focus {
  background-color: #b1b1b1;
  color: #fff;
}

.btn_grey:hover,
.btn_grey:active {
  background-color: #3bb2d5;
  color: #fff;
}

.btn_pdf {
  background-color: #f7f7f7;
  border-radius: 3px;
  color: black;
  position: relative;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  margin: 13px 0 5px 32px;
}

.btn_pdf:before {
  background: url(../img/pdf_icon.png) center no-repeat;
  width: 42px;
  height: 54px;
  background-size: contain;
  content: '';
  display: block;
  position: absolute;
  left: -32px;
  top: -13px;
}

.btn_pdf:hover {
  -webkit-transform: translateY(-3px);
  -ms-transform: translateY(-3px);
  transform: translateY(-3px);
}

.input_temp {
  padding: 0 10px;
  border: 1px solid #ccc;
  border-radius: 2px;
  width: 100%;
}

input.input_temp {
  height: 35px;
}

textarea.input_temp {
  padding: 10px;
}

.input_temp:focus {
  outline-color: #3bb2d5;
}

.form_temp {
  border: 1px solid #e0e0e0;
  border-radius: 2px;
}

.form_temp label {
  margin-bottom: 15px;
}

.form_temp sup {
  color: red;
}

.form_temp .input_temp {
  margin-top: 10px;
}

.content {
  padding: 25px 0 30px;
}

.white_block {
  background-color: white;
  border: 1px solid #bababa;
  padding: 30px 50px;
}

.img_temp {
  background-color: white;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  padding: 7px;
}

.text {
  font-size: 13px;
}

.text p {
  margin-bottom: 20px;
  text-align: justify;
}

.heading_xs {
  margin-bottom: 25px;
  text-align: center;
  font-size: 23px;
  font-weight: 400;
  display: none;
}

.icon-bar {
  background-color: #3bb2d5;
}

/*****************Owl carousel******************/
.owl-theme .owl-controls,
#owl-goods .owl-pagination {
  display: none !important;
}

.owl-wrapper {
  position: relative;
  align-items: center;
}

.customNavigation {
  position: absolute;
  width: 100%;
  top: 50%;
}

@media (max-width: 767px) {
  .customNavigation {
    display: none;
  }
}

.customNavigation .ctrl {
  position: absolute;
  /* pushes the icon in the middle of the height */
  z-index: 5;
  background: transparent;
  display: inline-block;
  cursor: pointer;
}

.customNavigation .ctrl:hover {
  text-decoration: none;
}

/*****************End of Owl carousel******************/
/*****************Nav-tabs******************/
.nav-tabs li a {
  padding: 12px 25px;
}

.tabs_l1 li a:hover,
.tabs_l1 li a:focus,
.tabs_l1 li.active a,
.tabs_l1 li.active a:focus,
.tabs_l1 li.active a:hover {
  border: none;
  background-color: #3bb2d5;
  color: white;
}

.tabs_l1 {
  margin-bottom: 25px;
}

.tabs_l1 li {
  margin-bottom: 0;
}

.tabs_l1 li a {
  border: none;
  border-radius: 0;
  background-color: #fff;
  font-size: 15px;
}

.tabs_l2 li a:hover,
.tabs_l2 li a:focus,
.tabs_l2 li.active a,
.tabs_l2 li.active a:focus,
.tabs_l2 li.active a:hover,
.tabs_l2 li:first-child a:hover,
.tabs_l2 li:first-child a:focus {
  border-color: #bababa;
  border-bottom-color: transparent;
  background-color: #fff;
  color: #333;
  padding: 16px 25px;
  margin: -7px 3px 0;
}

.tabs_l2 li a {
  color: white;
  background-color: #3bb2d5;
  margin: 0 1px;
  min-width: 170px;
  text-align: center;
}

.tabs_l2 li:first-child a {
  margin-left: 0;
}

.tabs_l2 li:first-child a:hover,
.tabs_l2 li:first-child a:focus {
  margin-left: 0;
}

.tabs_l2+.tab-content {
  margin-top: -1px;
}

/*****************End of Nav-tabs******************/
/*****************Thumbnails******************/
.thumbnail_temp {
  background-color: white;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  max-width: 230px;
  margin: 0 auto 30px;
  color: #777;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.thumbnail_temp:hover {
  -webkit-transform: scale(1.1, 1.1);
  -ms-transform: scale(1.1, 1.1);
  transform: scale(1.1, 1.1);
  text-decoration: none;
}

.thumb_top {
  padding: 8px;
}

.thumb_top p {
  margin: 0;
  height: 40px;
  overflow: hidden;
}

.thumb_img {
  background: center no-repeat #f5f7f9;
  background-size: 100% auto!important;
  height: 300px;
  margin-bottom: 10px;
background-size: cover;
}

.thumb_bottom {
  border: 1px solid #e0e0e0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
}

.thumb_bottom a {
  background-color: #f5f7f9;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
}

.thumb_bottom a .fa {
  padding: 10px 15px;
}

.thumb_bottom a:hover {
  background-color: #e5eaef;
}

.elem_price {
  padding: 8px;
  border-right: 1px solid #e0e0e0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  flex: 1 1;
}

.new_price {
  color: #3eb4d7;
  font-size: 12px;
  font-weight: 600;
  float: left;
}

.size {
  font-size: 10px;
  font-weight: 600;
  float: right;
}

.size .fa {
  font-size: 7px;
}

.old_price {
  font-size: 11px;
  text-decoration: line-through;
}

.elem_code {
  font-size: 11px;
  padding: 8px;
  white-space: nowrap;
  flex: 1 1;
}

.elem_code span {
  color: black;
  font-weight: 600;
}

/*****************End of Thumbnails******************/
/********************Left_menu******************/
.left_menu {
  background-color: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.26);
  padding: 20px 30px 30px;
}

.left_menu h4 {
  font-size: 16px;
  margin-top: 10px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px;
  font-weight: 400;
}

.left_menu li {
  display: block;
}

.left_menu li:last-of-type a {
  border: none;
}

.left_menu a {
  padding: 10px 15px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 13px;
  display: block;
}

.left_menu .active a,
.left_menu a:hover {
  margin: 0 -5px;
  background: #3bb2d5;
  color: #fff;
  border-color: #3bb2d5;
  padding-left: 30px;
  text-decoration: none;
}

/********************End of Left_menu******************/
/********************Breadcrumbs******************/
.breadcrumb {
  background-color: #f5f7f9;
  border-radius: 0;
}

.breadcrumb li {
  font-size: 11px;
}

.breadcrumb li a {
  color: #777;
}

.breadcrumb li.active {
  color: #999;
}

.breadcrumb li+li:before {
  content: '>';
}

/********************End of Breadcrumbs******************/
/********************Pagination******************/
.pagination_temp {
  padding: 0 !important;
  text-align: center;
  height: 36px;
  border-color: #ddd;
}

.pagination_temp .pagination {
  margin: 0;
}

.pagination_temp .pagination li:first-child a {
  border: none;
}

.pagination_temp .pagination li:last-child a {
  border-right: none;
}

.pagination_temp .pagination a,
.pagination_temp .pagination span {
  border-top: none;
  border-bottom: none;
  border-radius: 0;
  font-size: 11px;
  color: #777;
}

.pagination_temp .pagination a {
  padding: 9px 14px 10px;
}

.pagination_temp .pagination>li>a:focus,
.pagination_temp .pagination>li>a:hover,
.pagination_temp .pagination>li>span:focus,
.pagination_temp .pagination>li>span:hover,
.pagination_temp .pagination>.active>a,
.pagination_temp .pagination>.active>a:focus,
.pagination_temp .pagination>.active>a:hover,
.pagination_temp .pagination>.active>span,
.pagination_temp .pagination>.active>span:focus,
.pagination_temp .pagination>.active>span:hover {
  color: #444;
  text-shadow: 0 0 1px;
  background: #eee;
  border-color: #ddd;
}

/********************End of Pagination******************/
/********************Table_temp******************/
.table_temp {
  width: 100%;
  border-top: 1px solid #e0e0e0;
}

.table_temp td,
.table_temp th {
  text-align: center;
  padding: 10px 5px;
  height: 46px;
  font-size: 13px;
}

.table_temp td:nth-child(odd),
.table_temp th:nth-child(odd) {
  background-color: #f7f7f7;
}

.table_temp th {
  color: #222;
  font-weight: 600;
}

.table_temp thead {
  border-bottom: 1px solid #3bb2d5;
}

.table_temp tbody tr:not(:last-child) {
  border-bottom: 1px solid #e0e0e0;
}

.calc_result {
  background-color: #e0e0e0;
  color: black;
  padding: 10px 20px;
  text-align: right;
}

/********************End of table_temp******************/
/***************Header****************/
.header_top {
  background: url(../img/top_border.png) left top repeat-x #f5f7f9;
  padding-top: 9px;
}

.languages {
  float: right;
}

.languages a {
  display: inline-block;
  padding: 10px 8px;
  background-color: #e6e9ed;
}

.languages a.active,
.languages a:hover {
  background-color: #3bb2d5;
  color: #fff;
  text-shadow: 0 0 2px #fff;
  text-decoration: none;
}

.languages a:hover {
  -webkit-transform: scale(1.1, 1.1);
  -ms-transform: scale(1.1, 1.1);
  transform: scale(1.1, 1.1);
}

.header_bottom {
  background-color: #fff;
  border-bottom: 1px solid #e6e9ed;
  margin-bottom: 4px;
}

.logo {
  position: relative;
  bottom: 8px;
  margin-bottom: -8px;
  float: left;
  margin-right: 50px;
  cursor: pointer;
  display: inline-block;
}

.logo img {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.logo img:hover {
  -webkit-transform: scale(1.1, 1.1);
  -ms-transform: scale(1.1, 1.1);
  transform: scale(1.1, 1.1);
}

.main_nav li a::before,
.main_nav li a::after {
  height: 18px;
  width: 2px;
  background-color: #3bb2d5;
  position: absolute;
  content: '';
  transform: skewX(-30deg);
  transition: all .2s ease-out;
  visibility: hidden;
}

.main_nav li a:hover::before,
.main_nav li.active a::before {
  visibility: visible;
  top: 0;
  left: 63%;
}

.main_nav li a:hover::after,
.main_nav li.active a::after {
  visibility: visible;
  bottom: 0;
  left: 43%;
}

.main_nav {
  margin: 20px 0 15px;
}

.main_nav li a {
  white-space: nowrap;
  padding: 20px 15px 22px;
  position: relative;
}

.main_nav li a::before {
  top: -50px;
  left: 80%;
}

.main_nav li a::after {
  bottom: -50px;
  left: 30%;
}

.main_nav li a:hover {
  background-color: transparent;
}

.main_nav li::after {
  width: 1px;
  height: 14px;
  background-color: #e0e0e0;
  margin-top: -7px;
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
}

.main_nav li:last-of-type::after {
  display: none;
}

/***************Footer****************/
.footer_top {
  background: url(../img/footer_top_bg.png);
  box-shadow: -2px 0 2px rgba(0, 0, 0, 0.44);
  padding: 25px 0;
}

.contact_info {
  border: 1px solid #fff;
  padding: 30px 10px 25px;
  color: #fff;
  text-align: center;
}

.contact_info p {
  margin-bottom: 5px;
  font-size: 16px;
}

.contact_info .phones {
  font-size: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.contact_info .phones .fa {
  margin-right: 12px;
}

.contact_info .phones a {
  font-weight: 700;
  margin: 0 20px;
}

.developer {
  background: url(../img/footer_bottom_bg.png);
  padding: 15px 0 5px;
}

.developer p {
  color: #7e7e7e;
  font-family: "Myriad Pro";
  font-size: 11px;
}

.developer p span {
  color: #d6d6d6;
}

/**************main_carousel****************/
.main_carousel .carousel-indicators {
  display: none;
}

.main_carousel .carousel-inner .item img {
  width: 100%;
}

.main_carousel .carousel-inner .slider_caption {
  position: absolute;
  background-color: rgba(49, 180, 219, 0.55);
  border-radius: 50%;
  width: 395px;
  height: 395px;
  text-align: center;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.14);
  color: #fff;
  font-family: OpenSans, sans-serif;
  text-transform: uppercase;
  font-size: 44px;
  font-weight: 300;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -197.5px;
  top: 50%;
  margin-left: -197.5px;
  left: 50%;
  line-height: 1.2;
  cursor: default;
}

.main_carousel .carousel-inner .slider_caption span {
  font-size: 1.13em;
  font-weight: 700;
}

.main_carousel .glyphicon {
  background-color: rgba(255, 255, 255, 0.85);
  color: #444;
  opacity: .3;
  transition: all .3s ease;
  font-size: 14px;
  padding: 13px 0;
  width: 40px;
  height: 40px;
  margin-top: -20px;
}

.main_carousel .glyphicon-chevron-left:before {
  content: "\e257";
}

.main_carousel .glyphicon-chevron-right:before {
  content: "\e258";
}

.main_carousel .carousel-control:focus .glyphicon,
.main_carousel .carousel-control:hover .glyphicon {
  opacity: .9;
}

/**************end of main_carousel****************/
/**************main_page****************/
.sliders_buttons {
  text-align: center;
  margin-bottom: -58.5px;
  position: relative;
  bottom: 73.5px;
}

.sliders_buttons a {
  display: inline-block;
  padding: 10px 15px;
  background-color: white;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  width: 312px;
  text-align: left;
  margin: 0 10px 15px;
}

.sliders_buttons a:hover {
  -webkit-transform: translateY(-10px);
  -ms-transform: translateY(-10px);
  transform: translateY(-10px);
  text-decoration: none;
}

.sliders_buttons a:hover .button_icon {
  background-color: #646464;
}

.sliders_buttons .button_icon {
  width: 75px;
  height: 75px;
  margin-right: 15px;
  display: block;
  float: left;
  background: center no-repeat #3bb2d5;
  border-radius: 50%;
  transition: all .5s ease;
}

.sliders_buttons h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 0;
  margin-top: 15px;
}

.sliders_buttons p {
  color: #777;
  font-size: 16px;
}

.to_top,
.to_top:hover,
.to_top:focus {
  display: block;
  width: 31px;
  height: 25px;
  background-color: rgba(255, 255, 255, 0.7);
  margin: 0 auto;
  text-align: center;
  font-size: 10px;
  padding-top: 5px;
  border-radius: 3px 3px 0 0;
  text-decoration: none;
  position: absolute;
  bottom: 0;
  margin-left: -15.5px;
  left: 50%;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  opacity: .5;
  outline: none;
}

.to_top:before,
.to_top:hover:before,
.to_top:focus:before {
  content: '\f077';
  font-family: FontAwesome;
}

.to_top:hover,
.to_top:hover:hover,
.to_top:focus:hover {
  opacity: 1;
}

/**************end of main_page****************/
/**************rest pages****************/
.gallery {
  margin: 50px 0;
}

.gallery .img_temp {
  width: calc(100%/6 - 20px);
  float: left;
  justify-content: center;
  max-height: 160px;
  margin: 0 10px 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
}

.gallery .img_temp:hover {
  -webkit-transform: scale(1.1, 1.1);
  -ms-transform: scale(1.1, 1.1);
  transform: scale(1.1, 1.1);
}

.gallery img {
  max-height: 100%;
}

/******************item_page**************/
.item_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.item_photo {
  width: 360px;
  height: 560px;
  background-size: 100% auto!important;
  background: center no-repeat #f5f7f9;
  margin-bottom: 15px;
  float: left;
  margin-right: 20px;
  border: 8px solid #fff;
  outline: 1px solid #e0e0e0;
  flex-shrink: 0;
}

.item_photo2 {
  width: 150px;
  height: 100px;
  background-size: 100% auto!important;
  background: center no-repeat #f5f7f9;
  margin-bottom: 1px;
  float: left;
  margin-right: 1px;
  border: 1px solid #fff;
  outline: 1px solid #e0e0e0;
  flex-shrink: 0;
}

.item_about {
  flex-grow: 1;
  margin-bottom: 15px;
}

.item_about .btn {
  margin-bottom: 15px;
}

.item_title {
  border-bottom: 1px solid #e0e0e0;
  position: relative;
  margin-bottom: 10px;
}

.item_title h4 {
  color: black;
  font-size: 18px;
  padding-right: 130px;
}

.item_title .item_code {
  color: #333;
  font-size: 13px;
  position: absolute;
  right: 0;
  top: 0;
}

.item_price {
  color: #2e2e2e;
  font-size: 18px;
  margin-bottom: 10px;
}

.item_price span {
  color: #3bb2d5;
  margin-right: 10px;
}

.item_colors {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 10px;
}

.item_colors label {
  width: auto;
}

.item_colors input {
  display: none;
}

.item_colors input+label span {
  width: 30px;
  height: 30px;
  display: block;
  border: 1px solid #ccc;
  border-radius: 0px;
  margin-right: 10px;
  cursor: pointer;
}

.item_colors input:checked+label span {
  outline: 2px solid #3bb2d5;
}

.item_desc {
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  padding: 10px 0;
  margin-bottom: 25px;
}

.item_desc h6 {
  color: black;
  font-size: 13px;
}

.item_desc p {
  font-size: 13px;
  color: #777;
}

.text_heading {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 20px;
  margin-top: 0;
}

#map {
  width: 100%;
  height: 350px;
  margin-top: -5px;
  border-top: 1px solid #bababa;
  border-bottom: 1px solid #bababa;
}

.contacts_block {
  margin-bottom: 30px;
  font-size: 12px;
}

.contacts_block h5 {
  border-top: 1px solid #e0e0e0;
  padding-top: 15px;
  margin-top: 20px;
}

.contacts_block h5:first-of-type {
  border: none;
  margin-top: 0;
}

.contacts_block a {
  display: block;
  margin-bottom: 5px;
}

.contacts_form {
  padding: 30px 20px 20px;
  margin-left: 30px;
}

.contacts_form label:first-of-type {
  width: 49%;
  margin-right: 1%;
  float: left;
}

.contacts_form label:nth-of-type(2) {
  width: 49%;
  margin-left: 1%;
}

.montage_form {
  max-width: 480px;
  margin: 0 auto;
  padding: 35px 60px;
}

.montage_form p {
  margin-bottom: 35px;
}

.comment {
  color: black;
  font-size: 11px;
  margin-top: 10px;
  max-width: 800px;
  margin-bottom: 20px;
}

.end_buttons {
  text-align: right;
}

.end_buttons .btn_pdf+.btn {
  margin-top: 8px;
}

.roof_type .roof_types {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 30px;
}

.roof_type .roof_types input {
  display: none;
}

.roof_type .roof_types label {
  display: inline-block;
  margin-right: 50px;
  width: auto;
}

.roof_type .roof_types label span {
  display: block;
  width: 150px;
  height: 150px;
  border-radius: 3px;
  cursor: pointer;
  border: 3px solid transparent;
  background: center no-repeat;
  background-size: contain;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.roof_type .roof_types input:checked+span,
.roof_type .roof_types input+span:hover {
  border-color: #3bb2d5;
}

.roof_type .comment {
  color: #666;
  font-size: 13px;
}

.roof_param .chosen_roof {
  display: block;
  width: 200px;
  height: 200px;
  background: center no-repeat;
  background-size: contain;
}

.roof_param h5 {
  font-size: 13px;
  color: black;
  margin-bottom: 20px;
}

.input_wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: flex-start;
  width: 50%;
  float: left;
  margin-bottom: 15px;
}

.input_wrapper>span {
  line-height: 35px;
  width: 95px;
}

.input_wrapper .input_block {
  width: 150px;
  position: relative;
}

.input_wrapper .input_block span {
  position: absolute;
  right: 5px;
  top: 7px;
}

.input_wrapper .input_temp {
  border-radius: 1px;
  text-align: center;
  padding-right: 20px;
}

.roof_param_calc .item_colors {
  margin-bottom: 0;
}

.roof_param_calc .item_colors label {
  margin-bottom: 0;
  align-self: center;
}

.roof_param_calc .item_colors input+label span {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

.drain_result {
  padding: 20px 15px;
}

.color_look {
  width: 15px;
  height: 15px;
  display: inline-block;
  margin-right: 5px;
  vertical-align: middle;
}

hr.bigger {
  margin: 0 -35px 25px;
}

.calc_head {
  color: black;
  font-size: 13px;
  margin-bottom: 20px;
}

.calc_head span {
  font-weight: 600;
}

.separator {
  width: 1px;
  background-color: #aaa;
  height: 100%;
  position: absolute;
  top: 0;
  left: calc(50% - .5px);
  opacity: .44;
}

.prof_calc_form {
  position: relative;
  margin-bottom: 20px;
}

.prof_calc_form .input_wrapper:nth-of-type(even) {
  justify-content: flex-end;
}

.prof_calc_form .input_wrapper>span {
  width: 250px;
}

.prof_calc_form .separator {
  height: calc(100% - 15px);
}

.calculation_result {
  position: relative;
  margin-bottom: 30px;
}

.calculation_result .results_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.calculation_result .calculation_result_item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
  background: url(../img/dot_bg.png) left bottom repeat-x;
  width: 45%;
}

.calculation_result .calculation_result_item span {
  background-color: #fff;
}

/**************end of rest pages****************/
@media (min-width: 1024px) {
  html {
    position: relative;
    min-height: 100%;
  }

  body {
    margin-bottom: 263px;
    position: static;
  }

  footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 263px;
  }
}

@media (min-width: 1200px) {
  body {
    margin-bottom: 221px;
  }

  footer {
    height: 221px;
  }
}

@media (max-width: 1400px) {
  .main_carousel .carousel-inner .slider_caption {
    height: 350px;
    width: 350px;
    margin-top: -175px;
    margin-left: -175px;
    font-size: 40px;
  }
}

@media (max-width: 1199px) {
  .main_nav li a {
    padding: 20px 8px 22px;
  }

  .main_nav li.active a::before,
  .main_nav li a:hover::before {
    visibility: visible;
    top: 0;
    left: 68%;
  }

  .main_nav li.active a::after,
  .main_nav li a:hover::after {
    visibility: visible;
    bottom: 0;
    left: 38%;
  }

  .main_carousel .carousel-inner .slider_caption {
    height: 280px;
    width: 280px;
    margin-top: -140px;
    margin-left: -140px;
    font-size: 30px;
  }

  .gallery .img_temp {
    width: calc(20% - 20px);
  }

  .roof_param .chosen_roof {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 1199px) and (min-width: 992px) {
  .item_photo {
    width: 250px;
    height: 250px;
    margin-right: 20px;
  }

  .item_about .btn {
    padding: 8px 15px;
  }
}

@media (max-width: 991px) {
  .logo {
    float: none;
    text-align: center;
    margin: 10px 0 0;
  }

  .languages a {
    padding: 5px 8px;
  }

  .main_carousel .carousel-inner .slider_caption {
    height: auto;
    margin-top: -66px;
    width: auto;
    margin-left: -160px;
    font-size: 40px;
    border-radius: 0;
    padding: 15px;
  }

  .sliders_buttons {
    margin-bottom: 15px;
    position: static;
  }

  .gallery .img_temp {
    width: calc(25% - 20px);
  }

  .contacts_form {
    margin-left: 15px;
  }

  .contacts_form label:nth-of-type(n) {
    width: 100%;
    margin: 0 0 15px;
    float: none;
  }

  .roof_type .roof_types {
    justify-content: space-between;
  }

  .roof_type .roof_types label {
    margin-right: 20px;
  }

  .roof_type .roof_types label span {
    width: 130px;
    height: 130px;
  }

  .roof_param .chosen_roof {
    margin: 0 auto 20px;
  }

  hr.bigger {
    margin: 0 0 25px;
  }

  .prof_calc_block {
    padding: 20px 15px;
  }

  .prof_calc_form .input_wrapper .input_block {
    margin-left: 20px;
  }

  .input_wrapper>span {
    line-height: 20px;
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  .logo {
    bottom: 25px;
    margin-bottom: -30px;
  }

  .prof_calc_form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .prof_calc_form .input_wrapper {
    width: 47%;
  }

  .prof_calc_form .input_wrapper .input_block {
    width: 120px;
    margin-left: 20px;
  }
}

@media (max-width: 767px) {
  .row {
    margin: 0;
  }

  .xs-p0 {
    padding: 0;
  }

  .logo {
    position: static;
  }

  .main_nav .navbar-toggle {
    bottom: 55px;
    margin-bottom: -55px;
  }

  .main_nav .navbar-collapse {
    width: 100%;
    border-top: 1px solid #3bb2d5;
  }

  .main_nav li a {
    padding: 5px;
  }

  .main_nav li a::before,
  .main_nav li a::after {
    display: none;
  }

  .main_nav li a:active {
    color: #3bb2d5;
  }

  .main_nav li::after {
    display: none;
  }

  .main_carousel {
    display: none;
  }

  .img_left,
  .img_right {
    max-width: 180px;
  }

  .heading_xs {
    display: block;
  }

  .gallery {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .gallery .img_temp {
    flex-basis: calc(100%/3 - 20px);
    height: auto;
    max-height: 250px;
  }

  .item_block {
    display: block;
  }

  .item_photo {
    float: none;
    margin: 0 auto 30px;
  }

  .item_photo2 {
    float: none;
    margin: 0 auto 1px;
  }

  .contacts_block {
    text-align: center;
  }

  .contacts_block h5 {
    margin-bottom: 5px;
  }

  .contacts_block a {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .contacts_form {
    margin-left: 0;
  }

  .roof_type .roof_types label span {
    width: 150px;
    height: 150px;
  }

  .tabs_l2 li a:hover,
  .tabs_l2 li a:focus,
  .tabs_l2 li.active a,
  .tabs_l2 li.active a:focus,
  .tabs_l2 li.active a:hover,
  .tabs_l2 li:first-child a:hover,
  .tabs_l2 li:first-child a:focus {
    border-color: #bababa;
    border-bottom-color: transparent;
    background-color: #fff;
    color: #333;
    padding: 12px 25px;
    margin: 0;
  }

  .tabs_l2 li a {
    margin: 0;
    min-width: auto;
    border-radius: 0;
    border-color: #eee;
  }

  .tabs_l2+.tab-content {
    margin: 0;
  }

  .roof_param_calc .input_wrapper {
    width: 100%;
    float: none;
    justify-content: center;
  }

  .roof_param h5 {
    text-align: center;
  }

  .prof_calc_form {
    justify-content: center;
  }

  .prof_calc_form .input_wrapper {
    width: 100%;
    justify-content: space-between !important;
  }

  .prof_calc_form .input_wrapper span {
    width: auto;
  }

  .calculation_result .calculation_result_item {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .gallery .img_temp {
    flex-basis: calc(50% - 20px);
  }
}

@media (max-width: 550px) {
  .col-550-12 {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .montage_form {
    padding: 0;
    border: none;
  }

  .languages a {
    padding: 8px;
    font-size: 12px;
  }

  .logo {
    text-align: left;
  }

  .main_nav .navbar-toggle {
    margin-right: 0;
  }

  .contact_info .phones {
    font-size: 23px;
  }

  .contact_info .phones a {
    padding: 7px 0;
  }

  .sliders_buttons a {
    width: 100%;
    text-align: center;
    margin: 0 0 15px;
  }

  .sliders_buttons .button_icon {
    float: none;
    margin: 0 auto 15px;
  }

  .img_left,
  .img_right {
    max-width: 100%;
    float: none;
    margin: 0 auto 15px;
    display: block;
  }

  .white_block {
    padding: 20px 15px;
  }

  .gallery .img_temp {
    flex-basis: calc(100% - 20px);
  }

  .item_photo {
    width: 250px;
    height: 250px;
  }

  .item_photo2 {
    width: 150px;
    height: 100px;
  }

  .item_about {
    margin-bottom: 30px;
  }

  .item_about .btn {
    display: block;
  }

  .item_title h4 {
    padding-right: 0;
    padding-top: 25px;
  }

  .form_temp .btn {
    width: 100%;
  }

  .roof_type .roof_types label {
    width: 100%;
    margin: 0 0 20px;
  }

  .roof_type .roof_types label span {
    margin: 0 auto;
  }

  .overflow_auto {
    overflow-x: auto;
  }

  .prof_calc_form .input_wrapper .input_block {
    width: 100px;
    flex-shrink: 0;
  }
}

.red {
  border: 1px solid red;
}

.green {
  border: 1px solid green;
}

.del {
  cursor: pointer;
}

.incart {
  color: red;
}

.bg-white {
  background-color: white;
}