/* Applying All Default */
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

/* Centering App on Page*/
body{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* Overall App Dimentions*/
.app{
    max-width: 700px;
    width: 100%;
    height: 650px;
    position: relative;
    overflow-x: hidden;
}



/* Steppnig through mini app */
.app > .stepsLayer{
    width: 100%;
    background-color: #EDEDED;
    height: 49px;
    overflow: hidden;
    border-radius: 50px;
    position: relative;
    z-index: 1;
}
.app > .stepsLayer #movingPiece{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: calc(100% / 6);
    background-color: #6ab06b;
    transition: transform 0.3s ease-in-out;
    transform: translateX(0);
    will-change: transform;
    z-index: 2;
}
.app > .steps {
    display: flex;
    width: 100%;
    justify-content: space-around;
    position: absolute;
    top: 0;
    left: 0;
    zindex: 3;
}

/* Acutal Links */
.app > .steps .step{
    width: 100%;
    background-color: transparent;
    border-bottom: 2px solid white;
    text-align: center;
    padding: 14px 0;
    text-decoration: none;
    opacity: 0.4;
    color: black;
    transition: opacity 0.1s ease;
    letter-spacing: 1px;
    position: relative;
    font-size: 18px;
    z-index: 2;
}
.app > .steps .step.active,
.app > .steps .step:hover{
    opacity: 1;
}

*[data-clickable="0"]{
    opacity: 0.4 !important;
    pointer-events: none;
}

/* Last Link */
.app > .steps .step:first-child{
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}
.app > .steps .step:last-child{
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}








/* Defining Defualt App Screens*/
.app > #screens{
    height: calc(100% - 60px);
    display: flex;
    flex-wrap: wrap;
    transition: transform 0.3s ease-in-out;
    transform: translateX(0);
    position: relative;
    top: 10px;
}
.app > #screens > .screen{
    height: 100%;
    display: block;
    transition-delay: 300ms;
    background-color: white;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.app > #screens > .screen h1{
    font-weight: normal;
    width: 100%;
    text-align: center;
    margin: 20px 0;
    text-transform: capitalize;
}

.app > #screens > .screen .content{
    display: flex;
    justify-content: center;
    text-align: center;
}
.app > #screens > #dimentions > .content,
.app > #screens > #quote > .content{
    flex-direction: column;
}
.app > #screens > #dimentions > .content P{
    margin-bottom: 40px;
}
.app > #screens > .screen .content > div{
    margin: 0 20px;
    background-color: white;
    width: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: scale(1);
    position: relative;
}
.app > #screens > .screen .content > .dimentionsInput{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
}
.app > #screens > .screen .content > .dimentionsInput:hover{
    transform: scale(1);
    cursor: initial;
}
.app > #screens > .screen .content > .dimentionsInput div{
    background-color:  #6ab06b;
    position: relative;
}
.app > #screens > .screen .content > .dimentionsInput .top{
    width: 45%;
    padding-top: 22%;
    border-bottom: 2px dashed black;
}
.app > #screens > .screen .content > .dimentionsInput .bottom{
    width: 95%;
    padding-top: 27%;
    position: relative;
    z-index: 10;
}
.app > #screens > .screen .content > .dimentionsInput .bottom img{
    display: block;
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%,-38%) rotate(-45deg);
    width: 198px;
    opacity: 0.1;
    pointer-events: none;
}
.app > #screens > .screen .content > .dimentionsInput .finishBox{
    position: absolute;
    background-color: transparent !important;
}
.app > #screens > .screen .content > .dimentionsInput .finishBox label{
    background-color: blue;
    border-radius: 10px;
    display: block;
}
.app > #screens > .screen .content > .dimentionsInput .topFinishBox{
    top: -10px;
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
}
.app > #screens > .screen .content > .dimentionsInput .sideFinishBox{
    height: 75%;
    top: 50%;
    transform: translateY(-50%);
}
.app > #screens > .screen .content > .dimentionsInput .sideFinishBox > label{
    height: 100%;
    width: 5px;
}
.app > #screens > .screen .content > .dimentionsInput .sideFinishBox.rightFinishBox{
    right: -10px;
}
.app > #screens > .screen .content > .dimentionsInput .sideFinishBox.leftFinishBox{
    left: -10px;
}
.app > #screens > .screen .content > .dimentionsInput .topFinishBox label{
    width: 100%;
    height: 5px;
}
.app > #screens > .screen .content > .dimentionsInput div .InputBox{
    position: absolute;
    display: flex;
    flex-direction: column;
}
.app > #screens > .screen .content > .dimentionsInput div .InputBox.bottomInput{
    left:  50%;
    bottom: 10px;
    transform: translateX(-50%);
}
.app > #screens > .screen .content > .dimentionsInput div .InputBox.rightInput{
    top:  50%;
    right: 10px;
    transform: translateY(-50%);
}
.app > #screens > .screen .content > .dimentionsInput div .InputBox label{
    margin-bottom: 7px;
}
.app > #screens > .screen .content > .dimentionsInput div .InputBox label input{
    width: initial;
    position: relative;
}
.app > #screens > .screen .content > .dimentionsInput div .InputBox input{
    position: relative;
}

.app > #screens > .screen .content > .dimentionsInput div input{
    position: absolute;
    font-size: 14px;
    padding: 5px 10px;
    outline: black;
    width: 123px;
    -webkit-appreance: none;
    border: none;
    border-radius: 10px;
}
#topBox{
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}
#leftBox{
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.sideExample{
    position: absolute !important;
    top: 50%;
    height: 99.5%;
    width: 8px;
    background-color: #6ab06b !important;
    z-index: 5;
    transition: transform 0.4s ease, background-color 0.4s ease;
}
.sideExample.left{
    left: -8px;
    transform: translate(100%, -50%);
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;

}
.sideExample.right{
    right: -8px;
    transform: translate(-100%, -50%);
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}
.sideExample.active{
    transform: translate(0%, -50%);
    background-color: #224e22 !important;
}
.bottomExample{
    position: absolute !important;
    left: 50%;
    width: 100%;
    height: 8px;
    background-color: #6ab06b !important;
    z-index: 5;
    transition: transform 0.4s ease, background-color 0.4s ease;
    transform: translate(-50%, -100%);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
.bottomExample.active{
    transform: translate(-50%, 0%);
    background-color: #224e22 !important;
}
.app > #screens > .screen .content > div:hover {
    cursor: pointer;
    transform: scale(1.05);
}
.app > #screens > .screen .content > div.selected{
    transform: scale(1.05);
}
.app > #screens > .screen .content > div span{
    position: absolute;
    display: block;
    width: 100%;
    z-index: 1;
    text-align: center;
    font-size: 20px;
    color: #2d6b2e;
    letter-spacing: 1px;
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
}
.app > #screens > .screen .content > div.selected span{
    transform: translateY(-150%);
}
.app > #screens > .screen .content > div .image{
    min-width: 100px;
    padding-top: 75%;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 2;
}
.app > #screens > .screen .content > div p{
    text-align: center;
    padding: 10px;
    background-color: #EDEDED;
    transition: background-color 0.3s ease-in-out;
}
.app > #screens > .screen .content > div.selected p{
    background-color: #6ab06b;
}


.app > #screens > #quote > .content #largeNumber{
    font-size: 118px;
    color: #6ab06b;
    margin-bottom: 20px;
}
.app > #screens > #quote > .content #vatNumber{
    font-size: 24px;
    color: #BBB;
    margin-bottom: 10px;
}
.app > #screens > #quote > .content #totalNumber{
    font-size: 24px;
    color: #BBB;
}


.app > #screens > #quote > .content a{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 35px auto 21px;
    background-color: #6ab06b;
    width: 287px;
    font-size: 26px;
    padding: 15px;
    color: black;
    text-decoration: none;
    letter-spacing: 1.1px;
    border-radius: 38px;
}
.app > #screens > #quote > .content svg{
    width: 40px;
    margin-right: 15px;
}
.app > #screens > #quote > .content .disclaimer{
    width: 50%;
    margin: 0 auto;
    color: grey;
    line-height: 23.4px;
}

.app > #screens > #quote > .content{
    position: relative;
}



.app > #screens > #quote > .content section.emailForm {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    transform: translateX(0);
    transition: transform 0.5s ease;
}
.app > #screens > #quote > .content section.emailForm.hide{
    transform: translateX(110%);
}

.app > #screens > #quote > .content section.emailForm form#quoteEmailForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 18px;
}
.app > #screens > #quote > .content section.emailForm p{
    margin-top: 10px;
}

.app > #screens > #quote > .content section.emailForm form#quoteEmailForm > input {
    -webkit-appearance: none;
    background-color: #6ab06b;
    font-size: 16px;
    padding:  8px 20px;
    border: none;
    border-radius: 18px;
    margin-top: 18px;
}
.app > #screens > #quote > .content section.emailForm form#quoteEmailForm .inputSection {
    display: flex;
    flex-direction: column-reverse;
    width: 75%;
    position: relative;
}
.app > #screens > #quote > .content section.emailForm form#quoteEmailForm .inputSection.error::after {
    content: "Required";
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    background-color: #ff4f4f;
    transform: translate(100%,-50%);
    padding: 5px 11px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    color: white;
    letter-spacing: 1px;
    font-size: 13px;
}
.app > #screens > #quote > .content section.emailForm form#quoteEmailForm .inputSection.error::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(0%,-50%);
    border: 13px solid transparent;
    border-right-color: #ff4f4f;
    z-index: 10;
}

.app > #screens > #quote > .content section.emailForm form#quoteEmailForm .inputSection input, .app > #screens > #quote > .content section.emailForm form#quoteEmailForm .inputSection textarea {
    -webkit-appearance: none;
    padding: 12px;
    background-color: #e9e9e9;
    border: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    margin-bottom: 15px;
    font-size: 16px;
    outline: none;
    resize: none;
}

.app > #screens > #quote > .content section.emailForm form#quoteEmailForm .inputSection label {
    display: block;
    width: 100%;
    text-align: left;
    background-color: #6ab06b;
    padding: 10px 10px;
}





.app > #screens > .screen#colour .btnSection{
    justify-content: flex-end;
}
.app > #screens > .screen .btnSection{
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.app > #screens > .screen .btnSection button{
    -webkit-appreance: none;
    display: inline-block;
    padding: 10px 30px;
    font-size: 14px;
    border: 0;
    background-color: #6ab06b;
    border-radius: 50px;
    outline: none;
}
.app > #screens > .screen .btnSection button:hover{
    cursor: pointer;
}


.finishType .image {
    background-position: center right !important;
}
