﻿.cdcm-wrapper {
    font-size: 8px;
    position: absolute;
    padding: 1rem 1rem;
    top: 0;
    left: 0;
    bottom: 3rem;
    right: 0;
    overflow: hidden;
}

@media (min-width:500px) and (min-height:400px) {
    .cdcm-wrapper {
        font-size: 10px;
    }
}

@media (min-width:700px) and (min-height:560px) {
    .cdcm-wrapper {
        font-size: 13px;
    }
}

@media(min-width:900px) and (min-height:720px) {
    .cdcm-wrapper {
        font-size: 16px;
        padding: 2rem 3rem;
    }
}

@media(min-width:1000px) and (min-height:800px) {
    .cdcm-wrapper {
        font-size: 20px;
        padding: 4rem 6rem;
    }
}


.cdcm-wrapper.chart-visible {
    padding: 0.75rem 1rem;
    font-size: 1.25rem;
}

.cdcm-wrapper p {
    padding: 0;
    margin: .125rem 1rem;
}

h1, h2, h3 {
    font-weight: 400;
    padding: 0;
    margin: 0;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.chart-visible h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: inherit;
}

h2 {
    font-size: 1.4rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.col-3 {
    width: 32%;
    max-width: 300px;
    display: inline-block;
    vertical-align: top;
}

.first-button, .back-button {
    display: none;
}

.container {
    position: relative;
}

.cdcm-outer-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.cdcm-controls {
    position: absolute;
    bottom: 0.5rem;
    right: 1rem;
}

.back-overlay, .next-overlay {
    position:absolute;
    padding:2em;
    vertical-align:middle;
    top:0;
    bottom:0;
    opacity:0;
    background-repeat:no-repeat;
    background-size:1em;
    cursor:pointer;
}
.back-overlay:hover, .next-overlay:hover {
    background-color:rgba(50,50,50,0.1);
    opacity:0.8;
    transition: opacity linear 0.5s;
}
.back-overlay {
    left: 0;
    background-image: url('/images/wedge-l.svg');
    background-position: left .5em center;
}
.next-overlay {
    right: 0;
    background-image: url('/images/wedge-r.svg');
    background-position: right .5em center;
}

.chart {
    display: none;
}

.chart-visible .chart {
    display: inline-block;
    width: 60%;
}

.notes {
    display: inline-block;
    vertical-align: top;
}

.chart-visible .notes {
    width: 38%;
}

@media (orientation: portrait) {
    .chart-visible .chart {
        display: block;
        width: initial;
    }
    .notes {
        display: block;
        width: initial;
    }
    .chart-visible .notes {
        width: initial;
    }
}

.notes li {
    margin: 0.5em;
}

[data-step] {
    display: none;
}

.slide {
    display: none;
}

.loading-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    background-color: rgba(0,0,0,0.5);
    background-image: url('/images/loading-horz.gif');
    z-index: 9999;
    background-repeat: no-repeat;
    background-position: center;
}

.banner {
    display: none;
    background-color: rgba(250,250,250,0.6);
    padding:1rem;
    margin:0 auto 0 auto;
    max-width: 900px;
}

    .banner h1 {
        text-align: left;
        text-transform: uppercase;
        font-size: 3em;
        font-weight: normal;
        padding: .3em 0 .4em 3em;
        min-height: 3em;
        max-height: 3em;
        background-image: url(/brand/img/doris-blue.svg);
        background-size: auto 80%;
        background-position: 0.5rem center;
        background-repeat: no-repeat;
        margin: 0;
    }

.banner h2, h3, h4 {
    font-weight:normal;
    margin-top: 0;
    margin-bottom: 1rem;
    padding-left: .5rem;
}

.banner h2 {
    color: #ee7700;
    font-size: 1.75em;
}

.banner h3 {
    font-size: 1.25em;
}

.banner h4 {
    font-size: 1.25em;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.what-next {
    display: none;
    padding: 1rem;
    text-align: center;
}

.backcover {
    display: none;
    padding: 1rem;
    margin: 0 auto 0 auto;
    max-width: 900px;
}

.backcover p {
    font-size:0.6em;
    margin-bottom:0.6em;
}

.backcover h1 {
    text-align: center;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: normal;
    padding: 8rem 0 1rem 0;
    min-height: 10rem;
    background-image: url('/brand/img/doris-blue.svg');
    background-size: auto 80%;
    background-position: center top;
    background-repeat: no-repeat;
    margin: 0;
}

.backcover h2 {
    font-weight: normal;
    margin-top: 0;
    margin-bottom: 1rem;
    padding-left: .75rem;
    font-size: 1.2em;    
}

.backcover hr {
    max-width: 400px;
    margin: 1rem auto;
    border: none;
    border-top: 3px solid #ee7700;
    opacity: 1;
}

