body{
  background:#f6f6f6;
  font-family: 'Roboto', sans-serif;
  color: #555;
  font-size:15px;
}
#calc_main{
  width: 80%;
  margin: 0 auto;
}
.calc_step{
  box-shadow: 0 0 14px 0 rgb(0 0 0 / 7%)
}
.calc_step_inner{
  background:white;
  padding: 20px;
  margin-bottom: 20px;
}
.step_header{
  background: white;
  display: flex;
  position:relative;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  overflow: hidden;
  padding-bottom: 10px;
}
.step_list_shadow{
  box-shadow: 0px 4px 6px -2px rgb(146 146 146 / 20%);
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 10px;
  height: 8px;
  border-radius: 30px;
}
.step_list_line{
  height: 1px;
  position: absolute;
  background: #ececec;
  left:0px;
  right:0px;
  top:10px;
}
.step_progress{
  background:linear-gradient(to right, #ff7a03, #ffa903);
  position:absolute;
  left:0px;
  top:0px;
  height:10px;
}
.step_header_item{
  width: 33.3%;
  text-align: center;
  padding: 35px 0px 25px 0px;
  color: rgba(46, 46, 46, 0.51);
  position: relative;
}
.step_header_item.active_step{
  color: #2e2e2e;
}
.step_header_item::after{
  position: absolute;
  content:"";
  background:white;
  right:0px;
  width:5px;
  top:0px;
  height:10px;
  z-index:1;
}
#roof_type_list{
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 30px;
}

.roof_type_box{
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  border: 1px solid #d9d9d9;
  margin: 1px;
  padding: 20px;
  width: 19%;
  max-width: 190px;
  box-sizing:border-box;
  border-radius: 4px;
}
.roof_type_box.active_type{
  border: 2px solid #f69f59;
  margin: 0px;
}
.roof_type_image{
  margin-bottom: 15px;
}

.diminput{
  position: relative;
  margin:0px 30px 20px 0px;
}
.diminput label{
  position:absolute;
  top: 16px;
  left: 15px;
  color: #636363;
  transition: all 0.35s ease;
  font-size:16px;
}
.diminput.active_input label{
  font-size:12px;
  top: 4px;
  left: 15px;
}
.diminput input:focus{
  outline: none;
  border-color:#b1b1b1;
}
.diminput input{
  height: 50px;
  width: 100%;
  box-sizing: border-box;
  width: 100%;
  color: #292929;
  line-height: 1.2;
  font-size: 16px;
  background: #f6f6f6;
  border: 1px solid #dbdbdb;
  padding: 0.14rem 0.18rem 0;
  border-radius: 4px;
  transition: all 0.35s ease;
  padding:15px 30px 2px 15px;
}
.diminput .input_icon{
  position: absolute;
  right: 10px;
  top:10px;
  height:30px;
  width:30px;
  border-radius: 15px;
  background-color:#d9d9d9;
  transition: all 0.35s ease;
  color: white;
  line-height: 30px;
  text-align: center;
}
.diminput.active_input .input_icon{
  background-color: #e4373a;
}

.roof_dyn_section{
  display:flex;
  flex-wrap:wrap;
  flex-direction: row;
}
.roof_input_section{
  width: 30%;
}
.roof_image_wrap{
  width: 70%;
}
.roof_image{
  text-align: center;
}
.roof_image_wrap img{
  width: 80%;
}
.step_action{
  display: flex;
  justify-content: center;
  margin: 20px 0px;
}
.doCalc{
  color: #fff;
  background: #dd4d44;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  border-radius: 30px;
  padding: 11px 40px;
}
.step2{
  display: none;
}
.step3{
  display: none;
}
.step4{
  display: none;
}
.roof_material{
  padding:20px;
  border: 1px solid #d9d9d9;
  margin: 1px;
  min-width: 150px;
  border-radius: 4px;
  text-align: center;
  margin-right: 20px;
  display: flex;
  position: relative;
}
.roof_material.active_material{
  border: 2px solid #f69f59;
}
.drain_distance_wrap{
  display: none;
}
.drain_distance_content{
  padding:20px;
  border: 1px solid #d9d9d9;
  margin: 1px;
  min-width: 150px;
  border-radius: 4px;
  text-align: center;
  margin-right: 20px;
}
.drain_distance_content.active_distance{
  border: 2px solid #f69f59;
}

.roof_help_text{
  display:none;
}


#roof_material_wrap{
  margin:40px 0px;
}
#roof_material_list{
  display: flex;
}
.medium_title{
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  position:relative;
}

.section_divider{
  margin: 20px -20px;
  border-bottom: 1px solid #ddd;
}
.roof_visual_section{
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  flex-grow: 1;
}
.roof_side_dims{
  /*padding: 20px;*/
}

.roof_side{
  border: 1px solid #d9d9d9;
  margin: 1px;
  padding: 20px;
  border-radius: 4px;
  /*transition: all 0.35s ease; looks bad*/
  margin-bottom: 30px !important;
}
.roof_side.active_side{
  border: 2px solid #f69f59;
  margin: 0px;
}
.roof_side_input{
  margin-left: 30px;
  position:relative;
}
.roof_side_input_wrap{
  position:relative;
  display: flex;
  align-items: center;
}
.roof_side_input input{
  color: #000;
  height: 39px;
  width:90px;
  line-height: 1.2;
  padding: 0 40px;
  font-size: 16px;
  font-weight: normal;
  border-radius: 3px;
  border: 1px solid #dbdbdb;
  text-align: center;
  border: 1px solid #dbdbdb;
  background:#f9f9f9;
}
.input_button{
  top: 0;
  bottom: 0;
  width: 40px;
  position:absolute;
  color: #8a8a8a;
  cursor:pointer;
  font-size: 25px;
  line-height: 40px;
  text-align: center;
}
.input_button.less{
  left: 0px;
  border-right: 1px solid #dbdbdb;
}
.input_button.more{
  right: 0px;
  border-left: 1px solid #dbdbdb;
}

.roof_side_text{
  font-size: 20px;
  margin-bottom: 15px;
}
.svg_frame{
  background: #fcfcfc;
  border-radius: 4px;
  border: 1px solid #ededed;
}
.roof_projection{
  display: flex;
  justify-content: flex-end;
  flex-grow: 1;
}
.mat_type_list,.drain_distance_wrap{
  margin-left:30px;
  display: flex;
}
.mat_type_list {
  flex-wrap: wrap;
}
.material_type_wrap{
  display: flex;
  background:#f9f9f9;
  padding: 30px;
  width:100%;
  margin:0px -20px;
  margin-bottom:30px;
}

.mat_type_wrap{
  margin-right:50px;
  cursor:pointer;
  display: flex;
  align-items: center;
  position:relative;
}
.mat_icon{
  width: 20px;
  height: 20px;
  background: #fff;
  font-size: 0.09rem;
  user-select: none;
  color: transparent;
  position: relative;
  align-items: center;
  border-radius: 3px;
  justify-content: center;
  border: 1px solid #d0d0d0;
  transition: all 0.35s ease;
  margin-right:10px;
}
.mat_type_wrap.active_mattype .mat_icon{
  border-color: #dd7375;
}

.mat_icon::after{
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  content: "";
  border-radius: 3px;
  position: absolute;
  background: white;
  transition: all 0.35s ease;
}
.mat_type_wrap.active_mattype  .mat_icon::after{
  background: #dd7375;
}

#selected_item{
  display: flex;
  margin: 20px -20px;
  border-top: 1px solid #ddd;;
  padding: 20px 20px;
  justify-content: space-between;
  align-items: center;
}
.item_start{
  display: flex;
  align-items: center;
}
.item_end{
  display: flex;
  align-items: center;
}
.item_image{
  width: 100px;
  margin-right: 10px;
}
.item_price{
  font-size:20px;
  font-weight: bold;
  margin-right: 30px;
}

#selected_item .choose_item{
  color: #fff;
  background: #cf2c2f;
  text-align: center;
  transition: all 0.35s ease;
  padding: 10px 20px;
  border-radius: 4px;
  cursor:pointer;
}
#selected_item .choose_item:hover{
  background: #ad0e27;
}

.total_addto_basket{
  color: #fff;
  background: #cf2c2f;
  text-align: center;
  transition: all 0.35s ease;
  padding: 20px 20px;
  border-radius: 4px;
  margin-top:20px;
  font-size:18px;
  cursor:pointer;
}
.total_addto_basket:hover{
  background: #ad0e27;
}

.item_select_modal{
  display:none;
  position: fixed;
  top: 50%;
  margin-top:-135px;
  left:50%;
  margin-left: -325px;
  height: 270px;
  width: 650px;
  background: white;
  box-shadow: 0 0 14px 0 rgb(0 0 0 / 7%);
  padding: 20px; 
  z-index:999;
}

.modal_select_line{
  display: flex;
}

.select_item_button{
  color: #fff;
  background: #cf2c2f;
  text-align: center;
  transition: all 0.35s ease;
  padding: 10px 20px;
  border-radius: 4px;
  cursor:pointer;
}
.select_item_button:hover{
  background: #ad0e27;
}

.roof_final_section{
  display:flex;
  margin-top:20px;
}
.roof_item_section{
  width: 68%;
  margin-right: 2%;
}
.roof_checkout_section{
  background: white;
  box-shadow: 0 0 14px 0 rgb(0 0 0 / 7%);
  padding: 20px; 
  box-sizing: border-box;
  flex-grow: 1;
  height:335px;
}
.draincalculator .roof_checkout_section{
  height: 215px;
}

.group_item_list{
}
.group_item_single_item{
  background: white;
  box-shadow: 0 0 14px 0 rgb(0 0 0 / 7%);
  box-sizing: border-box;  
  margin-bottom:10px;
  border-radius: 4px;
  position: relative;
}
.final_item_template{
  display:none;
}
.item_top{
  padding: 20px;
  display:flex;
  justify-content: space-between; 
  padding-right: 50px;
}
.item_group{
  margin-bottom:20px;
}

.group_name{
  margin-bottom:20px;
  font-weight: bold;
}
.item_name{
  font-size:17px;
  font-weight: bold;
}
.item_dims{
  font-size:13px;
}
.calc_step.step4{
  box-shadow: none;
}
.item_bottom{
  border-top: 1px solid #ddd;
  padding: 20px;
  display:flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 50px;
}
.group_item_single_item .item_price{
  margin-right: 0px;
}
.item_qty{
  margin-right:50px;
}
.item_total{
  font-size:20px;
  font-weight: bold;
}
.total_info{
  display:flex;
  justify-content: space-between;
  margin-bottom:10px;
  line-height:30px;
}
.item_select_inner{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.modal_select_line .select_label{
  width:100px;
  text-align: right;
  margin-right: 30px;
}
.modal_select_line .select_form{
  width: 400px;
}

.modal_select_line{
  height:40px;
  align-items: center;
  margin-bottom:15px;
}


.color .select_form .jq-selectbox__select-text {
  padding-left: 20px; }
.color .select_form .jq-selectbox.jqselect.color_class:before {
  position: absolute;
  left: 11px;
  top: 9px;
  z-index: 2; 
}
.color .select_form .jq-selectbox.jqselect.color_class.jqselect:before {
  top: 13px;
}

.color .select_form .jq-selectbox li {
  padding-left: 40px; }
.color .select_form .color_class {
  position: relative; }
.color .select_form .color_class:before {
  position: absolute;
  left: 10px;
  top: 6px;
  z-index: 2;
  font-family: "Font Awesome 5 Pro";
  content: "\f111";
  font-weight: bold; 
}
.jq-selectbox__dropdown{
  z-index:99;
}
.jq-selectbox__select{
  box-sizing: border-box;
}

.item_select_modal_exit{
  position: absolute;
  right: 18px;
  top: 18px;
  font-size: 25px;
}
.roof_checkout_section.added_to_basket{
  height: 400px;
}
.draincalculator .roof_checkout_section.added_to_basket{
  height: 280px;
}

.roof_checkout_section.added_to_basket .basket_message{
  display:block;
}
.roof_checkout_section .basket_message{
  display: none;
  margin-top:15px;
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
  position: relative;
  padding: .75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: .25rem;
}
.item_remove {
  position: absolute;
  right: 15px;
  top: 20px;
  font-size: 20px;
}
.step4 .step_header .step_list_shadow{
  display: none;
}
.step4 .step_header{
  padding-bottom:0px;
}
.step_header_item.active_step:nth-child(3)::after{
  display: none; 
}

.title_helper{
  position: absolute;
  right: 10px;
  width: 500px;
  top:0px;
  text-align:right;
}
.title_helper_title{
  background: #ffa903;
  color: white;
  padding: 0px 5px;
  font-size: 11px;
  position:absolute;
  top:-11px;
  right: 0px;
}
.title_helper_link a{
  font-size: 16px;
  color: #555;
  font-weight: 300;
  text-decoration: none;
  border-bottom: 1px dotted #c5c5c5;
}


.roof_help_icon {
  width: 20px;
  height: 20px;
  display: block;
  color: #a0a0a0;
  cursor: pointer;
  font-size: 14px;
  user-select: none;
  text-align: center;
  border-radius: 50%;
  font-weight: normal;
  line-height: 20px;
  margin-left:10px;
  border: 1px solid rgba(145, 145, 145, 0.21);
  transition: border-color 0.35s ease, color 0.35s ease, background-color 0.35s ease;
}
.roof_help_icon:hover {
  color: #878787;
  border-color: rgba(145, 145, 145, 0.75);
}

.roof_help_text {
  display: none;
  color: #aeaeae;
  width: 300px;
  text-align: left;
  font-size: 14px;
  line-height: 21px;
  background: #383838;
  padding: 20px;
  position:absolute;
  top: 25px;
  left: calc(100% - 20px);
  z-index:999;
}
.draincalculator .roof_help_text{
  top: 45px;
  left: calc(100% - 40px);
}
.tooltip_images img{
  width: 100%;
}

.tooltip_images{
  margin-top:20px;
}
.item_image img{
  max-width: 100%;
  max-height: 100%;
}