body {
    padding: 0;
    margin: 0;
    overflow: hidden;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#app {
    width: 100vw;
    min-height: 100vh;
    background-size: cover;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
}

#app.interior {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/interior.jpg');
}

#app.exterior {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/exterior.jpg');
}

#app.deck-fence {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/deck-fence.jpg');
}

#app.fence-stain {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/fence.jpg');
}

#app.terms {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../img/interior.jpg');
    overflow: auto;
    display: block;
}

.form_stage {
    width: 600px;
    display: -ms-flexbox;  
    display: flex;
    flex-direction: column;
    -ms-flex-direction: column;
    -ms-flex-align: center;
    line-height: 25px;
}

.form_stage.scroll {
    margin: 0 auto;
    text-align: left;
    color: white;
    padding: 20px;
    box-sizing: border-box;
}

.form_stage.scroll p {
    text-align: left;
    font-size: 16px;
}

.form_stage.scroll ul {
    font-size: 16px;
}

.form_stage .inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    transition-duration: 0.5s;
    width: 100%;
    box-sizing: border-box;
    max-width: 600px;
}

.form_stage .inner.deselected {
    display: none;
    transition-duration: 0s;
}

.form_stage .inner.left {
    display: block;
    transform: translateX(-200vw) translateY(-50%);
    transition-duration: 0.5s;
}

.form_stage .inner.right {
    display: block;
    transform: translateX(200vw) translateY(-50%);
    transition-duration: 0.5s;
}

.progress_bar {
    left:0;
	right:0;
    width: 100%;
    margin: 0 auto;
    max-width: 600px;
    padding: 5px;
    position: absolute;
    bottom: 40px;
    box-sizing: border-box;
    background-color: #e37408;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.progress_bar .inner {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border-radius: 5px;
    overflow: hidden;
}

.progress_bar:hover {
    transform: scale(1.05);
}

.progress_bar .slidebar {
    background-color: #ffb400;
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: inset -20px -30px 30px #f6e66f;
    transition: all .6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.progress_bar .circle_holder {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.progress_bar .circle {
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    position: absolute;
    top: -10px;
    right: -15px;
    font-weight: 700;
    padding: 5px 10px;
    box-sizing: border-box;
}

.progress_bar .stripes {
    background-size: 30px 30px;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, .05) 25%, transparent 25%,
                        transparent 50%, rgba(255, 255, 255, .05) 50%, rgba(255, 255, 255, .05) 75%,
                        transparent 75%, transparent);            
    
    animation: animate-stripes 3s linear infinite; 
    height: 100vh;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.slidebar .stripes {
    background-image: linear-gradient(135deg, rgba(255, 255, 255, .25) 25%, transparent 25%,
                        transparent 50%, rgba(255, 255, 255, .25) 50%, rgba(255, 255, 255, .25) 75%,
                        transparent 75%, transparent);       
}

@keyframes animate-stripes {
    0% {background-position: 0 0;} 100% {background-position: 60px 0;}
}

.progress_bar .progress_text {
    position: relative;
    z-index: 50;

    text-align: center;
    font-size: 20px;
    color: white;
    font-weight: 700;
    cursor: pointer;
}

@media all and (max-width: 700px) {

    #app.interior {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/interior_700.jpg');
    }

    #app.exterior {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/exterior_700.jpg');
    }
    
    #app.deck-fence {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/deck-fence_700.jpg');
    }
    
    #app.fence-stain {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/fence_700.jpg');
    }
    
    #app.terms {
        background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../img/interior_700.jpg');
    }

    .form_stage {
        width: 90%;
        margin: 0;
        margin-bottom: 0;
        margin-top: -80px;
    }

    .form_stage.scroll {
        padding: 20px 5%;
    }

    .form_stage .inner {
        width: 90%;
    }

    .progress_bar .inner {
        width: 100%;
    }

    #app {
        height: calc(var(--vh, 1vh) * 100);
    }

    .progress_bar {
        width: 90%;
        bottom: 20px;
    }
}

@media all and (max-height: 500px) {
    .progress_bar {
        display: none;
    }
}

.form_stage h1 {
    text-align: center;
    color: #ffb400;
    font-size: 30px;
}

.form_stage h2 {
    text-align: center;
    color: white;
    font-size: 18px;
}

.form_stage p {
    color: white;
    font-size: 18px;
    text-align: center;
}

.form_stage p.left {
    text-align: left;
}

.form_stage select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form_stage input, .form_stage a, .form_stage select, .form_stage textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
}

.form_stage input, .form_stage select, .form_stage textarea {
    background-color: white;
    border: 3px solid #ffb400;
    transition-duration: 0.5s;
}

.form_stage textarea {
    max-width: 100%;
    max-height: 300px;
}

p.error {
    font-style: italic;
}

.form_stage a {
    text-decoration: none;
}

.form_stage a.button {
    background-color: #e37408;
    color: white;
    margin-top: 30px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 25px;
    border-radius: 5px;
    transition: opacity 0.5s;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    cursor: pointer;
    box-shadow: inset 0 0 8px #ffb400;
}

.form_stage a.button:hover {
    transform: scale(1.05);
}

.form_stage a.button.transitioning {
    opacity: 0.4;
    cursor: default;
}

.loading {
    background-image: url('../img/rings.svg');
    -ms-background-image: url('../img/rings.gif');
    width: 80px;
    height: 80px;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
    background-repeat: no-repeat;
    background-size: cover;
}

.inactive {
    display: none;
}

.active {
    display: block;
}

.form_stage .inner.inner.deselected.inactive {
    display: none;
}

.error a, p.left a {
    color: #ffb400;
    display: inline;
    font-size: 18px;
    padding: 0;
}

/* revision styles */

h1.line-height-double {
    line-height: 40px;
    font-size: 30px;
    margin-bottom: 40px;
}

h2.margin-top, .margin-top {
    margin-top: 40px;
}

.margin-top-small {
    margin-top: 20px;
}

@media all and (max-height: 650px) {
    .progress_bar.new_layout {
        display: none;
    }
}

/* revision 2 styles */

#header-area {
    height: 80px;
    box-sizing: border-box;
    padding: 20px;
    margin-bottom: -80px;
    position: relative;
    display: -ms-flexbox;  
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: space-between;
    justify-content: space-between;
    z-index: 200;
}

.logo {
    height: 60px;
}

.logo img {
    max-height: 100%;
}

.phone {
    color: white;
    font-size: 20px;
    transition-duration: 0.2s;
    font-weight: 600;
}

.phone_flex {
    display: flex;
    justify-content: space-around;
    align-content: center;
    margin-right: 10px;
}

.phone_center {
    text-align: center;
    color: #ffb400;
}

.phone:hover {
    transform: scale(1.05);
}

.phone a {
    color: white;
    text-decoration: none;
    display: block;
}

.phone i {
    margin-right: 10px;
    display: block;
}

.center-small {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 300px;
    margin-bottom: 30px;
    margin-top: 30px;
    text-align: center;
}

.center-small p {
    margin-top: 0;
    font-size: 20px;
}

.center-small i {
    margin-right: 10px;
    font-size: 30px;
    transform: translateY(3px);
}

p.big {
    font-size: 22px;
    font-weight: 900;
}

@media all and (max-width: 700px) {
    .logo {
        height: 40px;
    }

    .phone {
        font-size: 16px;
        margin-top: 8px;
        margin-right: 4px;
    }

    #header-area.mobile-off {
        display: none;
    }
}

@media all and (max-width: 400px) {

    #app h1 {
        font-size: 24px;
    }

    .center-small {
        max-width: 240px;
    }

    .center-small p, .center-small i  {
        font-size: 16px;
    }

    .phone {
        font-size: 14px;
        margin-top: 5px;
    }

    .logo {
        height: 30px;
    }
}

@media all and (max-height: 700px) {

    #app h1 {
        font-size: 24px;
    }

    .center-small {
        max-width: 220px;
    }

    .center-small p, .center-small i {
        font-size: 16px;
        transform: none;
        line-height: 20px;
    }
}

@media all and (max-height: 600px) {
    .form_stage .inner {
        margin-top: 30px;
    }
    #app h1 {
        font-size: 22px;
        margin: 5px 0;
    }
    p.big {
        font-size: 16px;
        margin: 0;
    }
    .center-small {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .center-small p, .center-small i {
        font-size: 14px;
        transform: none;
        line-height: 14px;
    }
    .form_stage input, .form_stage a, .form_stage select, .form_stage textarea {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 8px;
        font-size: 14px;
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-weight: 400;
    }
}

@media all and (max-height: 450px) {
    .form_stage .inner {
        margin-top: 20px;
    }
    .form_stage input, .form_stage a, .form_stage select, .form_stage textarea {
        padding: 5px;
        margin-top: 10px;
    }
    .form_stage a.button {
        margin-top: 10px;
        font-size: 16px;
    }
    .form_stage p {
        font-size: 14px;
        margin: 5px 0;
    }
    
    .center-small {
        margin-top: 15px;
        margin-bottom: 15px;
    }
}