*{
    box-sizing:border-box;
}
*:focus{
    outline:none;
}
html{
    font-size:62.5%;
}
body{
    margin:0;
    padding:0;
    font-size:1.6rem;
    color:#000;
    background-color:#fff;
    font-family: 'Poppins', sans-serif;
}
.sw{
    max-width:1200px;
    margin:0 auto;
    padding:0 15px;
}
.sw.xs {
    max-width: 700px;
}
img{
    display:block;
    max-width:100%;
    height:auto;
}
h1,h2,h3{
    margin:0;
    font-weight:normal;
}
h1 {
    text-align: center;
    padding: 50px 0 50px 0;
    transition: 0.2s ease-in-out;
}
h2 {
    margin: 0 0 20px 0;
    font-weight: normal;
    font-size:2.4rem;
    line-height:3.4rem;
}
button,input,textarea{
    font-family:inherit;
}
button,.button,input[type="submit"]{
    background-color: #4caf50;
    color: #fff;
    border:0;
    border-radius: 6px;
    padding: 5px 15px;
    font-size: 1.6rem;
    line-height: 3rem;
    cursor: pointer;
    margin: 5px 0;
    box-shadow: 0 6px 0 0 #3c8e3f;
    transform: translateY(0px);
    transition:0.2s ease-in-out;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
button:hover {
    transform: translateY(3px);
    background-color: #66bc6a;
    box-shadow: 0 3px 0 0 #3c8e3f;
}

input[type="text"],input[type="tel"],input[type="number"],input[type="mail"],select,textarea{
    display:block;
    font-family:inherit;
    border:1px solid #ccc;
    border-radius:5px;
    padding:5px 15px;
    background-color:#fff;
    font-size:1.6rem;
    line-height:2.8rem;
    width:100%;
}
header {
    display: block;
    padding: 10px 20px;
    box-shadow: 0 5px 10px rgb(0 0 0 / 10%);
    background-color: #000;
}
.flex-wrapper {
    display: flex;
    justify-content: center;
}
main {
    display: block;
}
section{
    padding: 40px;
    transition: 0.2s ease-in-out;
    box-shadow: 0 3px 10px rgb(0 0 0 / 6%);
    border-radius: 5px;
    display:none;
}
section.active{
    display:block;
}
.input_wrap {
    margin: 0 0 15px 0;
}
.input_wrap label {
    display: block;
    font-weight: bold;
    margin: 0 0 5px 0;
}
.input_split{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
}
.input_split + .input_split {
    margin-top: 15px;
}
.input_split > input,.input_split > .length_input{
    width:calc(50% - 15px);
}


.length_input {
    position: relative;
}
.number_explain{
    position: absolute;
    right: 0;
    top: 0;
    height: 40px;
    line-height: 4rem;
    padding-right: 15px;
    font-weight: bold;
}




.section_button_wrap{
    display:flex;
    justify-content: flex-end;
}
.input_error {
    font-size: 1.4rem;
    line-height: 2rem;
    margin: 0 0 10px 0;
    color: #f44336;
    font-weight: 600;
}

/*Part 1*/
section#part_1 {
    max-width: 500px;
    margin: 0 auto;
}


/*Part 2*/
.cat_items{
    display:flex;
    justify-content: space-between;
    flex-wrap:wrap;
}
.cat_item {
    width: calc(33% - 10px);
    height: 300px;
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-color: #795548;
    display: flex;
    align-items: flex-end;
    border-radius: 5px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 5%);
    cursor: pointer;
    transition: 0.2s ease-in-out;
    position: relative;
    margin-bottom:30px;
}

.cat_item.active:before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background-color: rgb(255 255 255);
    background-image: url(../images/icons/check.svg);
    background-size: 17px auto;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 100%;
}
.cat_item:hover,.cat_item.active{
    box-shadow: 0 6px 12px rgb(0 0 0 / 10%);
    background-size: 105% 105%;
    filter: grayscale(0);
}
.cat_item.inactive {
    filter: grayscale(0.8);
}
.cat_item_type_content {
    padding: 10px 15px;
    color: #fff;
    text-shadow: 1px 1px 10px #000;
}
#part_2 .input_error {
    text-align: right;
    margin-top: 15px;
}
#part_2 .input_error_append {
    min-height: 35px;
}

/*Part 3*/
.concrete_types.cat_items{
    justify-content: flex-start;
}
.cat_item.concrete_type {
    margin-right: 20px;
    width: calc(25% - 10px);
    height: 262px;
}
#part_3 .input_error {
    text-align: right;
    margin-top: 15px;
}
#part_3 .input_error_append {
    min-height: 35px;
}

/*Part 4*/
.fittings_types.cat_items{
    justify-content: flex-start;
}
.cat_item.fittings_type {
    margin-right: 20px;
}
#part_4 .input_error {
    text-align: right;
    margin-top: 15px;
}
#part_4 .input_error_append {
    min-height: 35px;
}
#part_4 .cat_item.fittings_type:nth-child(1) {
    width: calc(50% - 10px);
    margin-right: 20px;
}

#part_4 .cat_item.fittings_type:nth-child(2) {
    width: calc(50% - 10px);
    margin-right: 0;
}

#part_4 .cat_item.fittings_type {
    background-size: contain;
    background-color: #000;
    background-position: center;
    height: 246px
}

/*Part 5*/
.pieces_outer {
    height: 400px;
    max-width: 100%;
    background: #a6f5ff;
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 5px;
}
.pieces_outer .ground {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-image: url('https://www.lp-dienstverlening.nl/schutting-calculator/images/graphics/grond.png');
    background-position: top center;
    background-size: contain;
}
.pieces_outer .grass {
    position: absolute;
    bottom: 100px;
    left: 0;
    width: 100%;
    height: 20px;
    background-image: url('https://www.lp-dienstverlening.nl/schutting-calculator/images/graphics/gras.png');
    background-position: top center;
    background-size: contain;
    z-index: 9999;
}
.piecer_wrapper {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 380px;
    background: transparent;
    z-index: 0;
    display: flex;
    align-items: flex-end;
    z-index: 999;
}
.liniaal_breedte {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 999;
}
.liniaal_breedte span:after {
    content: '';
    display: block;
    height: 10px;
    width: 1px;
    background: #000;
    position: relative;
    left: 50%;
}
.liniaal_breedte span {
    position: absolute;
    bottom: 10px;
    color: #000;
    font-size: 1.2rem;
    line-height: 2rem;
}
.liniaal_breedte span.right {
    right: 10px;
    padding: 5px;
    background: #e91e63;
    color: #fff;
}



.pieces {
    width: 100%;
    white-space: nowrap;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
    padding-bottom: 100px;
}
.piece {
    display: inline-block;
    position: relative;
    background-size: auto 100%;
    background-position: bottom center;
    background-repeat: no-repeat;
    transition: 0.2s ease-in-out;
    margin: 0 0 30px 0;
}
.piece.schutting_paal {
    background-size: cover;
    background-position: center;
    border-radius: 10px 10px 0 0;
}
.piece.schutting_deel{
    cursor:pointer;
}
.piece.schutting_deel.afdeklat:before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    height: 3px;
    background: #9c6849;
    width: 100%;
    border-radius: 2px 2px 0 0;
    display: block;
}
.piece.schutting_deel.afdeklat[title*="Verloop LR"]:before{
    width: 50%;
}
.piece.schutting_deel.afdeklat[title*="Verloop RL"]:before{
    width: 50%;
    left:50%;
}
.piece.schutting_deel[title*="Zwart"].afdeklat:before {
    background: #343434;
}
.piece.schutting_deel:hover {
    box-shadow: inset 0 0 0px 4px #e91e63;
}
.piece.schutting_deel.afdeklat[title*="Verloop LR"]:after {
    content: '';
    position: absolute;
    bottom: calc(100% + 1px);
    left: 50%;
    height: 3px;
    background: #9c6849;
    width: 72%;
    border-radius: 4px 2px 0 0;
    display: block;
    transform: rotate(45deg);
    transform-origin: left top;
}
.piece.schutting_deel.afdeklat[title*="Verloop RL"]:after {
    content: '';
    position: absolute;
    bottom: calc(100% + 0.6px);
    left: -22%;
    height: 3px;
    background: #9c6849;
    width: 72%;
    border-radius: 4px 2px 0 0;
    display: block;
    transform: rotate(-45deg);
    transform-origin: right top;
}
.piece.schutting_deel[title*="Zwart"].afdeklat:after {
    background: #343434;
}


.piece_title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0 15px 10px 15px;
    font-size: 1rem;
    line-height: 2rem;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
}
.bottom_block {
    position: absolute;
    top: 100%;
    left: -5px;
    width: calc(100% + 10px);
    height: 30px;
    z-index: 999;
    background-size: cover;
    background-position: center;
}
.piece.schutting_deel:nth-child(2) .bottom_block {
    left: -10px;
    width: calc(100% + 15px);
}
.piece.cut_off.schutting_deel .bottom_block {
    width: calc(100% + 20px);
}
.beton_ingrond {
    position: absolute;
    left: 50%;
    width: 40px;
    height: 50px;
    z-index: 999;
    transform: translateX(-50%);
    background-size: cover;
    background-position: center;
    background-color: white;
    bottom: -20px;
    border-radius: 3px;
}


.optional_choice.afdeklat_choice {
    margin: 5px 15px 5px 5px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}
input#afdeklat {
    appearance: none;
    width: 24px;
    height: 24px;
    background-color: #fff;
    border: 1px solid #000;
    background-size: 14px auto;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 5px;
    display: block;
    margin: 0;
    cursor:pointer;
}
input#afdeklat:checked{
    background-image: url(../images/icons/check.svg);
}
.optional_choice.afdeklat_choice label {
    line-height: 4rem;
    padding-right: 5px;
    cursor:pointer;
}
.note {
    padding: 5px 15px;
    background: #7e7e7e;
    color: #ffffff;
    font-size: 1.4rem;
    line-height: 2rem;
    display: inline-block;
    border-radius: 0 0 5px 5px;
}


.calci_inner {
    position: relative;
}

#calc_result {
    position: absolute;
    top: 3000px;
    left: 15px;
    width: calc(100% - 30px);
    height: calc(100vh - 124px);
    padding: 30px;
    background: #ffffff;
    border: 1px solid #f4f4f4;
    box-shadow: 0 5px 10px rgb(0 0 0 / 10%);
    border-radius: 5px 5px 0 0;
    z-index: 9999999;
    transition: 0.3s ease-in-out;
    overflow: auto;
}
#calc_result.trans_step2 {
    top: 20px;
}
.cr_title {
    font-size: 1.8rem;
    line-height: 3rem;
    margin: 0 0 20px 0;
    font-weight: bold;
}
.cr_section{
    padding-bottom: 20px;
    margin: 0 0 20px 0;
    border-bottom: 1px solid #cccccc;
}
.cr_section.costs_section{
    border-bottom:0;
    padding-bottom:0;
    margin: 0;
}
.cr_field {
    display: flex;
    justify-content: space-between;
    font-size: 1.6rem;
    line-height: 3rem;
}
.cr_label {
    width:calc(100% - 100px);
}
.cr_value {
    width: 100px;
    text-align: right;
    font-weight: bold;
}
.cr_value span {
    font-size: 1.3rem;
}
.calc_buttons {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 40px;
}

button.print_calc,
button.edit_calc{
    padding-right: 40px;
    background-image: url(../images/icons/print.svg);
    background-repeat: no-repeat;
    background-position: calc(100% - 10px) center;
    background-size: 20px auto;
}
button.edit_calc{
    background-image: url(../images/icons/edit.svg);
}

.print_logo{
    display:none;
}

.calci_inner.showing_calc {
    height: calc(100vh - 104px);
    overflow: hidden;
}
.calci_inner.showing_calc section, .calci_inner.showing_calc h1 {
    opacity: 0;
}




.create_request-button{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 9999;
    background: #fff;
    padding: 10px 10px 15px 10px;
    box-shadow: -3px -3px 10px rgb(0 0 0 / 10%);
    bottom:-100px;
    transition:0.2s ease-in-out;
}
.create_request-button.active{
    bottom:0;
}
#calc_result.trans_step1 + .create_request-button {
    bottom: -100px;
}





/*Parts popup*/
.pop-up {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 70%);
    z-index: 999999;
}
.pop-up-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 40px);
    padding: 40px;
    border-radius: 10px;
    background: #fff;
    transform: translate(-50%, -50%);
    max-width: 1200px;
}
.pop-up-title {
    font-size: 2.2rem;
    line-height: 3rem;
    font-weight: bold;
    margin: 0 0 40px 0;
}
.pop-up-close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background-color: #e91e63;
    background-image:url(../images/close.svg);
    background-size:16px auto;
    background-repeat:no-repeat;
    background-position:center;
    border-radius: 100%;
}
.selection_parts {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
}
.sel_part {
    margin: 10px 10px 10px 10px;
    box-shadow: -8px 6px 3px rgb(0 0 0 / 11%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor:pointer;
    position: relative;
}
.sel_part[data-name*="Verloop RL"] {
    box-shadow: 2px 5px 3px rgb(0 0 0 / 11%);
}
.sel_part:after {
    content: attr(data-name);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    font-size: 1.2rem;
    line-height: 1.6rem;
    color: grey;
    font-weight: 300;
    font-style: italic;
    padding-top: 5px;
}


.samenstellen_explain {
    font-size: 1.4rem;
    line-height: 3rem;
    color: #333;
    font-weight: 300;
}



table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}
td,th {
    padding: 5px 12px;
    border: 1px solid #ccc;
    text-align:left;
}
.admin_wrap{
    padding:80px 0;
}
.admin_wrap table td:nth-child(2) {
    width: 35%;
}
.admin_wrap table td:nth-child(3) {
    width: 30%;
}
input.saving{
    pointer-events: none;
    background-color:grey;
}
.admin_wrap td:last-child {
    width: 120px;
}









.form_wrap {
    padding: 40px 0 0 0;
    max-width: 650px;
    margin: 0 auto;
}
.formInput{
    margin:0 0 15px 0;
}
.radio_wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.radio_wrap label {
    margin-left: 5px;
    display: block;
}
.calci_inner {
    padding-bottom: 80px;
}
form h3 {
    font-size: 1.6rem;
    line-height: 2rem;
    margin: 0 0 15px 0;
    font-weight: bold;
}

.cat_item[data="3"] {
    display: none;
}
.disclaimer_text {
    font-size: 1.2rem;
    line-height: 3rem;
    font-style: italic;
    color: #373737;
}
p.helper {
    font-size: 1.4rem;
    line-height: 2rem;
    color: #282828;
    font-style: italic;
    width: 500px;
    max-width: 100%;
}
@media only screen and (max-width:991px) {
    h1 {
        padding:50px 0 30px 0;
        font-size: 2.6rem;
        line-height: 3.6rem;
    }
    .cat_item{
        width:calc(100% / 3);
    }
}

@media only screen and (max-width:700px) {
    .input_split > input, .input_split > .length_input {
        width: 100%;
        margin: 0 0 15px 0;
    }
    .schutting_deel{
        width:100%;
    }
    h2 {
        font-size: 1.8rem;
        line-height: 2.8rem;
    }
    #calc_result.trans_step2 {
        top: 0px;
        box-shadow: unset;
        border: 0;
        width: calc(100% + 30px);
        left: -15px;
    }
    .cat_item{
        width:calc(100% / 2);
    }
}
@media only screen and (max-width:560px) {
    .cat_item{
        width:100%;
    }
    section {
        padding: 20px 15px;
        margin: 0 -15px;
        box-shadow: unset;
    }
    .calci_inner{
        padding-bottom:20px;
    }
}

@media print{
    header{
        display:none;
    }
    .calc_buttons{
        display:none;
    }
    #calc_result {
        box-shadow: unset;
        border: 0;
        padding: 0;
        height:auto;
    }
    h1 {
        display: none;
    }
    section{
        display:none;
    }
    .print_logo{
        display:block;
        margin:0 auto 50px auto;
    }
    .create_request-button{
        display:none;
    }
}