/*GENERAL*/
#app{
    visibility: hidden;
    position: absolute;
    background: #999999;
    width: 890px;
    height: 500px;
    color: #444444;
}

.container {
    background-color: whitesmoke;
    position: relative;
    float: left;
    width: 93%;
    height: 100%;
    -moz-box-sizing:    border-box;
    -webkit-box-sizing: border-box;
    box-sizing:        border-box;
    /*border-style: solid;*/
}

.result_screen{
    position: absolute;
    display: none;
    /*display: block;*/
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;

    z-index: 500;

    background: linear-gradient(
        to right,
        #f5bdcd 10%,

        #a1dfe0 10%,
        #a1dfe0 20%,

        #f5bdcd 20%,
        #f5bdcd 30%,

        #a1dfe0 30%,
        #a1dfe0 40%,

        #f5bdcd 40%,
        #f5bdcd 50%,

        #a1dfe0 50%,
        #a1dfe0 60%,

        #f5bdcd 60%,
        #f5bdcd 70%,

        #a1dfe0 70%,
        #a1dfe0 80%,

        #f5bdcd 80%,
        #f5bdcd 90%,

        #a1dfe0 90%
    );
}
.score_view{
    position: absolute;

    left: 45%;
    margin-left:-180px;

    top: 50%;
    margin-top: -170px;
    margin-bottom: auto;

    /*margin: auto;*/
    /*position: absolute;*/
    /*width: 65%;*/
    /*height: 65%;*/
    /*padding: 5%;*/
}

.score_view div{
    padding: 10px;
}

.score_view div.column#c1{
    position: absolute;

    height: 170px;
    width: 200px;

    top: 80px;
    margin-bottom: auto;
    padding-top: 20px;

    background-color: #333333;
    margin: auto;
    color: white;
    border-radius: 20px;
    text-align: center;
}
.score_view div.column#c1 span{
    margin-left: 15px;
    font-size: 40px;
    vertical-align: middle;
}
.score_view div.column#c2{
    position: absolute;
    left: 220px;
}

#exercise {
    position: relative;
    width: 95%;
    left: 5%;
    height: 95%;
    top: 5%;
}

/*SCOREBOARD*/
#scoreboard{
    background-color: #e6e6e6;
    position: absolute;
    right: 0;
    top: 0;
    width: 7%;
    height: 100%;
    -moz-box-sizing:    border-box;
    -webkit-box-sizing: border-box;
    box-sizing:        border-box;
    /*border-style: solid;*/
}
#scoreboard .smiley_container {
    position: absolute;
    bottom: 0;
    width: 100%;
}
#scoreboard .smiley {
    background-color: #CCCCCC;
    margin: auto;
    margin-bottom: 10px;
    text-align: center;
    width: 34px;
    height: 34px;
    border-radius: 100%;
}
#scoreboard .smiley.positive{
    background-image: url("../img/smiley_small.png");
    /*background-color: forestgreen;*/
}
#scoreboard .smiley.negative{
    background-image: url("../img/frowny_small.png");
    /*background-color: firebrick;*/
}

/*---------------------------------------------------------------------
               OK BUTT   [ OK ]
---------------------------------------------------------------------*/
#ok_button {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: white;
    background-color: #04b2b2;

    font-size: 148%;
    text-align: center;
    vertical-align: middle;

    padding: 5px 50px 5px 50px;

    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;

    box-shadow: 0px 4px 0px #0d7891;

    cursor: pointer;

    display: inline-block;
}

#ok_button:hover {
    background-color: #04b2b2;
}

#ok_button.disabled {
    cursor: default;
    opacity: 0.5;
    background-color: #04b2b2;
}

/*---------------------------------------------------------------------
               DESCRIPTION BUTT   [ ? ]
---------------------------------------------------------------------*/

.descriptionContainer{
    position: absolute;
    top: 15px;
    left: 15px;
    display: block;
    text-align: left;
    z-index: 1001;
}

.description_button {
    background-color: #04B2B2;
    color: white;
    float: left;
    padding: 5px 16px 4px 16px;

    font-size: 180%;
    font-weight: bold;
    cursor: pointer;

    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;

    box-shadow: 0px 4px 0px #0d7891;
}

/*--------------------------------------------------------------------------
               DESCRIPTION CONTAINER aka Snakkebobla med pil
----------------------------------------------------------------------------*/
.descriptionContainer .content{
    position: absolute;
    top: 70px;
    left: 15px;
    cursor: default;
    min-width: 220px;
}
.descriptionContainer .content_background{
    width: auto;
    font-weight:bold;
    background: white;
    padding: 20px;
    position: relative;

    border-style:solid;
    border-color: #cccccc;
    border-width: thin;

    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -khtml-border-radius: 3px;
    border-radius: 3px;

    z-index: 999;
}

/*---------------------------------------------
               Selve PILA
-----------------------------------------------*/

.descriptionContainer .content_background:before{
    content:"\00a0";
    top: -15px;
    left: -1px;
    position: absolute;

    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #cccccc;
}

.descriptionContainer .content_background:after{
    content:"\00a0";
    top: -13px;
    left: 0px;
    position: absolute;

    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #ffffff;
}

.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

/*--------------------------------------------------------------------------
               INTRO SCREEN
----------------------------------------------------------------------------*/
.intro_screen{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1002;

    background-color: #0d7891;
    color: white;
}