body { }
html { padding: env(safe-area-inset); }

/* --- Header --- */

/* --- Content --- */

.section {
    position: relative;
    display: none;
    overflow: hidden;
}

.section[data-id="1"] { display: block; }

.section[data-id="3"] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 999;
}

.section .masthead {
    position: relative;
    padding: 40px 40px 80px 40px;
    background: #321640;
    z-index: 1;
}

.section .masthead h2 {
    font-weight: 900;
    font-size: 22px;
    line-height: 28px;
    margin: 0 0 20px 0;
    color: #fff;
    position: relative;
    z-index: 5;
}

.section .masthead p {
    position: relative;
    color: #fff;
    z-index: 5;
    line-height: 23px;
    font-size: 14px;
}

.section .masthead .logo {
    position: relative;
    width: 80px;
    z-index: 3;
    margin: 0 0 30px 0;
}

.section .masthead .logo img { width: 100%; }

.section .masthead:after {
    content: "";
    background: #fff;
    height: 100px;
    transform: skewY(-8deg);
    position: absolute;
    left: 0;
    right: 0;
    bottom: -50px;
    z-index: 1;
}

.section .instructions {
    position: relative;
    padding: 10px 40px 40px 40px;
    z-index: 2;
    text-align: center;
}

.section .instructions .photo {
    width: 120px;
    margin: 40px auto;
}

.section .instructions .photo img { width: 100%; }

.section .instructions p {
    font-size: 15px;
}

.section .instructions h5 {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.section .camera {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 2;
    overflow: hidden;
}

.section .camera .map {
    position: absolute;
    top: 13%;
    right: 18%;
    left: 18%;
    bottom: 15%;
    background-size: 94%;
    background-position: top center;
    z-index: 5;
    background-repeat: no-repeat;
}

.section[data-id='2'] .camera .map { background-image: url('../img/overlays/one.png'); }
.section[data-id='4'] .camera .map { background-image: url('../img/overlays/two.png'); }
.section[data-id='5'] .camera .map { background-image: url('../img/overlays/three.png'); }
.section[data-id='6'] .camera .map { background-image: url('../img/overlays/four.png'); }
.section[data-id='7'] .camera .map { background-image: url('../img/overlays/five.png'); }
.section[data-id='8'] .camera .map { background-image: url('../img/overlays/seven.png'); }
.section[data-id='9'] .camera .map { background-image: url('../img/overlays/six.png'); }
.section[data-id='10'] .camera .map { background-image: url('../img/overlays/eight.png'); background-size: cover; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; background-color: #111; }
.section[data-id='11'] .camera .map { background-image: url('../img/overlays/nine.png'); background-size: cover; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; background-color: #111; }
.section[data-id='12'] .camera .map { background-image: url('../img/overlays/ten.png'); background-size: cover; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; background-color: #111; }

.section .camera .filter {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    -webkit-box-shadow: inset 0px 0px 96px 15px rgba(0,0,0,1);
    -moz-box-shadow: inset 0px 0px 96px 15px rgba(0,0,0,1);
    box-shadow: inset 0px 0px 96px 15px rgba(0,0,0,1);
}

.section .camera .top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 22px 10px 60px 10px;
    z-index: 4;
}

.section .camera .top .logo {
    margin: 0 auto;
    width: 72px;
}

.section .camera .top .logo img { width: 100%; }

.section .camera .loading {
    display: none;
    position: fixed;
    width: 46px;
    height: 46px;
    top: 50%;
    left: 50%;
    z-index: 999;
    margin: -23px 0 0 -23px;
}

.section .camera .loading img { width: 100%; }

video {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 0 0 0;
    z-index: 1;
    background: #1f2226;
}

.section .camera .steps {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 5;
    text-align: center;
    margin: 0px 0 0 0;
}

.section .camera .steps span {
    font-size: 12px;
    color: #edf0f2;
}

.section .camera .steps span:first-child { font-weight: 900; color: #27d088; }

.section .camera .steps .line {
    display: inline-block;
    padding: 0;
    width: 2px;
    background: #444;
    height: 9px;
    margin: 0 5px;
}

.section .camera .controls {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    padding: 20px;
}

.section .camera .controls .button {
    float: right;
    position: relative;
    background: #27d088;
    padding: 15px;
    z-index: 4;
    width: 25%;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    color: #fff;
    cursor: pointer;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0px 0px 55px -11px rgba(0,0,0,1);
    -moz-box-shadow: 0px 0px 55px -11px rgba(0,0,0,1);
    box-shadow: 0px 0px 55px -11px rgba(0,0,0,1);
}

.section .camera .controls .button:last-child { float: right; width: 16%; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; background: none; border: 1.5px solid #e8ebed; padding: 13px; color: #e8ebed; opacity: 0.5; font-weight: 400; margin: 0 20px 0 0; }
.section .camera .controls .button.outline { -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; background: none; border: 1.5px solid #e8ebed; padding: 13px; color: #e8ebed; opacity: 0.5; }

.section .camera .notifications {
    position: fixed;
    bottom: 23px;
    left: 20px;
    right: 50%;
    padding: 0px;
    z-index: 9;
}

.section .camera .notifications .user {
    position: relative;
    width: 48px;
    height: 48px;
    background: #27d088;
    -webkit-border-radius: 400px;
    -moz-border-radius: 400px;
    border-radius: 400px;
}

.section .camera .notifications .message {
    position: absolute;
    top: 1px;
    left: 60px;
    right: 0;
    padding: 7px 10px;
    line-height: 16px;
    font-size: 13px;
    color: #eee;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.6);
}

.section .bottom {
    position: relative;
    width: 100%;
    padding: 0 30px 30px 30px;
}

.section .bottom:before {
    content: "";
    background: #f2f3f4;
    height: 320px;
    transform: skewY(-8deg);
    position: absolute;
    left: 0;
    right: 0;
    top: -200px;
    z-index: 1;
}

.section .bottom .button {
    position: relative;
    background: #321640;
    padding: 17px;
    z-index: 4;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    color: #fff;
    cursor: pointer;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.section .body {
    position: relative;
    padding: 40px 20px;
}

.section .body .top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 22px 10px 22px 10px;
    z-index: 2;
    background: #fff;
}

.section .body .top .logo {
    margin: 0 auto;
    width: 72px;
}

.section .body .top .logo img { width: 100%; }

.section .body .details {
    display: none;
    position: relative;
    margin: 60px 0 0 0;
    padding: 0;
    overflow: hidden;
    z-index: 2;
    border-top: 1px solid #e3e8ea;
    border-left: 1px solid #e3e8ea;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background: #fff;
    -webkit-box-shadow: 0px 10px 45px -33px rgba(53,60,64,1);
    -moz-box-shadow: 0px 10px 45px -33px rgba(53,60,64,1);
    box-shadow: 0px 10px 45px -33px rgba(53,60,64,1);
}

.section .body .details li {
    position: relative;
    display: block;
    float: left;
    padding: 18px 21px;
    width: 35%;
    border-right: 1px solid #e3e8ea;
    border-bottom: 1px solid #e3e8ea;
}

.section .body .details li:nth-child(1) { width: 30%; height: 149.5px; overflow: hidden; text-align: center; }
.section .body .details li:nth-child(2) { width: 70%; }

.section .body .details li img { width: 100%; }
.section .body .details li:nth-child(1) img { width: 220px; margin: -15px 0 0 0; }

.section .body .details li h5 {
    margin: 0;
    padding: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.section .body .details li p {
    margin: 2px 0 0 0;
    padding: 0;
    font-size: 15px;
}

.section .body .details li .manufacturer {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
}

.section .body .details li .circle {
    position: absolute;
    top: 34px;
    right: 28px;
    width: 24px;
    height: 24px;
    background: #333;
    border: 3px solid #e3e8ea;
    -webkit-border-radius: 500px;
    -moz-border-radius: 500px;
    border-radius: 500px;
}

.section .body .details.three li { width: 27%; }
.section .body .details.three li:last-child { width: 20%; }
.section .body .details.three li:nth-child(1) { width: 26%; height: 149.5px; overflow: hidden; text-align: center; }
.section .body .details.three li:nth-child(2) { width: 74%; }
.section .body .details.three li:nth-child(1) img { width: 240px; margin: -20px 0 0 -30px; }

.section .body .underlay {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    height: 20px;
    z-index: 1;
    background: #f2f3f4;
}

.section .body .underlay:after {
    content: "";
    background: #f2f3f4;
    height: 200px;
    transform: skewY(-6deg);
    position: absolute;
    left: 0;
    right: 0;
    top: -40px;
    z-index: 1;
}

.section .body .controls {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    padding: 20px;
}

.section .body .controls .button {
    float: right;
    position: relative;
    background: #27d088;
    padding: 15px;
    z-index: 4;
    width: 25%;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    color: #fff;
    cursor: pointer;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.section .body .controls .button:last-child { float: right; width: 16%; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; background: none; border: 1.5px solid #e8ebed; padding: 13px; color: #e8ebed; opacity: 1; font-weight: 400; margin: 0 20px 0 0; }

.section .body .notifications {
    position: fixed;
    bottom: 23px;
    left: 20px;
    right: 50%;
    padding: 0px;
    z-index: 9;
}

.section .body .notifications .user {
    position: relative;
    width: 48px;
    height: 48px;
    background: #27d088;
    -webkit-border-radius: 400px;
    -moz-border-radius: 400px;
    border-radius: 400px;
}

.section .body .notifications .message {
    position: absolute;
    top: 1px;
    left: 60px;
    right: 0;
    padding: 7px 10px;
    line-height: 16px;
    font-size: 13px;
    color: #666;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background-color: #e8ebed;
}

.section .body .copy {
    position: relative;
    z-index: 3;
    width: 600px;
    margin: 60px auto 40px auto;
    overflow: scroll;
}

.section .body .copy p {
    font-size: 14px;
}

.section .body .copy h1 {
    font-weight: 900;
    margin: 0 0 20px 0;
}

.section .body .copy h4 {
    font-weight: 900;
}

.section .body ul li {
    font-size: 14px;
}

.section .body .appraisal {
    position: relative;
    overflow: hidden;
    margin: 0px 0;
    border-bottom: 1px solid #e3e8ea;
}

.section .body .item {
    float: left;
    width: 50%;
    padding: 15px 20px;
    margin: 15px 0;
    position: relative;
    overflow: hidden;
    border-right: 1px solid #e3e8ea;
}

.section .body .item:last-child { border: none; }
.section .body .item:first-child h1 { font-size: 22px; }

.section .body .item h5 {
    position: absolute;
    top: 20px;
    left: 25px;
    font-weight: 700;
    font-size: 12px;
}

.section .body .item h1 {
    float: right;
    margin: 0;
    font-weight: 900;
    font-size: 28px;
}

.section .body .item h1 span {
    font-weight: 400;
    color: #999;
    line-height: 22px;
    padding: 0 4px 0 0;
    display: inline-block;
    vertical-align: top;
    font-size: 13px;
}

.section .body .item .sub {
    position: absolute;
    top: 40px;
    right: 20px;
    font-size: 13px;
}

.section .body .item .sub strong { color: #ea4444; }
.section[data-id="14"] .body .controls { position: relative; top: auto; left: auto; bottom: auto; margin: 0 0 10px 0; padding: 20px 0; }
.section[data-id="14"] .body .controls .button:last-child { margin: 0; padding: 12px 20px; }
.section[data-id="13"] .body { background: #fff; }

.section .body .odometer {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 160px;
    margin: -80px 0 0 -200px;
    text-align: center;
}

.section .body .odometer h1 {
    font-weight: 900;
    margin: 8px 0 13px 0;
    padding: 0;
    color: #fff;
    font-size: 68px;
}

.section .body .odometer h1 span {
    display: inline-block;
    vertical-align: top;
    padding: 0;
    line-height: 47px;
    font-size: 16px;
    font-weight: 700;
    color: #d9d3e5;
}

.section .body .odometer h5 {
    font-size: 15px;
    margin: 0;
    padding: 0;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #d9d3e5;
}

.section .body .odometer p {
    color: #d9d3e5;
    font-size: 14px;
}

.section .processed {
    display: none;
    position: fixed;
    width: 160px;
    height: 130px;
    padding: 25px 20px;
    text-align: center;
    margin: -65px 0 0 -80px;
    top: 50%;
    left: 50%;
    background: #27d088;
    color: #fff;
    z-index: 999;
    overflow: hidden;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.section .processed i {
    font-size: 42px;
    clear: both;
    margin: 0;
}

.section .processed p {
    margin: 10px 0 0 0;
    padding: 0;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
}

.section .processed .image {
    position: absolute;
    top: -20px;
    right: -20px;
    line-height: 0;
    color: #fff;
    z-index: -1;
    opacity: 0.2;
}

.section .processed .image i { font-size: 140px; }
.section .processed.error { background: #ea4444; }

/* --- Initialize --- */

#initialize {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 999;
    background-color: #321640;
}

#initialize .logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    margin: -40px 0 0 -50px;
    z-index: 997;
}

#initialize .logo img { width: 100%; }

#initialize .overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #27d088;
    z-index: 998;
}

#initialize .copy {
    display: none;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin: -50px 0 0 0;
    text-align: center;
    font-size: 24px;
    line-height: 0;
    font-weight: 700;
    color: #fff;
    opacity: 1;
    font-size: italic;
    z-index: 999;
}

/* --- Camera --- */

.browser {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 40px;
    background: #fff;
}

.browser h5 {
    font-size: 14px;
    margin: 0 0 15px 0;
    color: #27d088;
    text-transform: uppercase;
}

.browser h2 {
    margin: 0 0 30px 0;
    font-weight: 900;
    text-transform: uppercase;
}

/* --- Footer --- */

/* --- Animations --- */

.animated-quick {
  animation-duration: 0.5s;
  animation-fill-mode: both;
}

@keyframes fadeInUpSmall {
  from {
    opacity: 1;
    -webkit-transform: translate3d(0, 20%, 0);
    transform: translate3d(0, 20%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInUpSmall {
  -webkit-animation-name: fadeInUpSmall;
  animation-name: fadeInUpSmall;
}

@media screen and (max-width: 600px) {
    .section .body .copy { width: 100%; margin: 0; padding: 30px; }
}
