html {
    height: 100%;
}

body {
    height: 100%;
    margin: 0;
    text-align: center;
    font-family: 'Lato', serif;
    font-size: 2.4vh;
    /*backgrouf2f2f2nd: #;*/
    /*margin-bottom: 210px;*/
}
#header{
    color:#333333;
    background-color: white;
    border-bottom: solid 1px #cccccc;
    /*height: 19vh;*/
    padding: 10px;
}
#cards{
    background-color: #f2f2f2;
    padding: 25px;
}
#main {
}

#user_prompt {
    margin: auto;
    /*padding: 10px 20px;*/
    background: #ffffff;
    /*height: 60px;*/
    /*line-height: 25px;*/
}

#save_prompt {
    font-weight: bold;
}

#bottom {
    /*position:fixed;*/
    /*bottom:0;*/
    /*width:100%;*/
    /*background-color: white;*/
}

#timeline {
    height: 11vh;
    overflow-x: scroll;
    margin-left: 12vh;
    background-color: #e2dbdb;
    border-top: solid 1px #cccccc;
}

#timeline_cards {
    height: 100%;
    display: flex;
}

.timeline_controls {
    width: 12vh;
    height: 11vh;
    display: block;
    position:absolute;
    left: 0;
}

.card {
    width: 12vh;
    height: 8vh;
    margin: 0.7vh;
    border: solid 0.5vh #666666;
    border-radius: 5%;
}

#timeline_cards .card {
    margin: auto 0.7vh;
}

.card.active {
    border-color: orange;
}

.play_button {
    width: 12vh;
    height: 6vh;
    font-size: 3.0vh;
    margin-left: 0;
    background-color: #f6f6f6;
    border: 1px solid #cccccc;
    outline: none;
    border-style:groove;
}

.sequence_toggle {
    width: 12vh;
    height: 5vh;
    font-size: 1.8vh;
    background-color: #f6f6f6;
    border: 1px solid #cccccc;
    outline: none;
    border-style:groove;
}

footer {
    width: 100%;
    /*height: 80px;*/
    /*background-color: #fafaf4;*/
    font-size: 12px;
    font-weight: 300;
    color: #999999;
    letter-spacing: 1px;
    display:   block;
    /*line-height: 40px;*/
    border-top: solid 1px #cccccc;
}

.modalDialog {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    opacity:0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}

.modalDialog:target {
    opacity:1;
    pointer-events: auto;
}

.modalDialog > div {
    width: 400px;
    position: relative;
    margin: 10% auto;
    padding: 5px 20px 13px 20px;
    border-radius: 10px;
    background: #fff;
    background: -moz-linear-gradient(#fff, #999);
    background: -webkit-linear-gradient(#fff, #999);
    background: -o-linear-gradient(#fff, #999);
}

.close {
    background: #606061;
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    right: -12px;
    text-align: center;
    top: -10px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
}

.close:hover {
    background: #00d9ff;
}

textarea {
    font-family: 'Lato', serif;
    font-size: 14px;
    padding: 4px;
}

.submit {
    font-size: 14px;
}

a {
    text-decoration: none;
}

.saved_status {
    font-size:12px;
    -webkit-animation-name: save;
    -webkit-animation-duration: 2.5s;
    opacity:0;
    color:black;
    position:absolute;
    bottom:16px;
    right:140px;
}

@-webkit-keyframes save {
    0% {
        opacity:1;
    }
    50% {
        opacity:1;
    }
    100% {
        opacity:0;
    }
}
