@charset "UTF-8";

#content {
    width: 1068px;
    height: 855px;
    background: #1c60b3;
}

article {
    width: 310px;
    /*height: 635px;*/
    margin-top:20px;
    padding: 10px 10px 10px 0px;
    background: #1c60b3;
    float: right;
}

article p  {
    padding: 10px 5px 0;
    font-size: .9em;
    color: #fff;
}
article a {
    color: #fff;
}

h3 {
    padding: 0 5px;
    font-size: 1.0em;
    color: #fff;
}

#abreak {
    display: none;
}

/****************************/

#freereadingtest_adspace_page2_top {
    width: 728px;
    height: 90px;
    padding: 10px;
    float: left;
}

#freereadingtest_adspace_page2_right {
    width: 300px;
    height: 250px;
    margin-top: 15px;
    position: absolute;
    right: 10px;
    bottom: 290px;
}

#freereadingtest_adspace_page2_bottom {
    width: 320px;
    height: 100px;
    padding: 10px;
    clear: both;
}

#adspace_page2_728x90_1 {
    width: 728px;
    height: 90px;
    padding: 10px;
    float: left;
}

#adspace_page2_300x250_1 {
    width: 300px;
    height: 250px;
}

#adspace_page2_320x100_1 {
    width: 320px;
    height: 100px;
    display:none;
    padding: 0 10px 10px 10px;
    clear: both;
}

#adspace_page2_320x100_2 {
    width: 320px;
    height: 100px;
    display:none;
    padding: 10px;
    clear: both;
}

/***************************************************************************************/

#test_box {
    width: 708px;
    padding: 5px 10px;
    background: #fff;
    float: left;
    margin: 10px 10px;
    line-height: 1.5;
    border-radius: 5px;
    -webkit-box-shadow: 0px 10px 32px -5px rgba(0,0,0,0.80);
    -moz-box-shadow: 0px 10px 32px -5px rgba(0,0,0,0.80);
    box-shadow: 0px 10px 32px -5px rgba(0,0,0,0.80);
}

#top {
    /*background: #343434;*/
    height: 43px;
    padding: 8px 5px 4px 5px;
}

#middle {
    /*background: #fafafa;*/
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    border: 5px solid #1c60b3;
    margin: 8px 8px 6px 8px;
    background: #fff;

    /* don't allow copy/paste */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    /* below will fix the height and use scroll bars */
    height: 401px;
    overflow-y: scroll;
}

#bottom {
    /*background: #343434;*/
    height: 35px;
    padding: 3px 8px 5px 5px;
}

select{
    border: none;
    padding: 10px 10px;
    margin: 3px;
    background: #1c60b3;
    border-radius: 5px;
    float: left;
    outline: 0;
    cursor: pointer;
    color: #fff;
    font-size: 16px;
    font-weight: normal;
    -webkit-appearance:none;
}

#select_theme, #select_level, #select_story {
    display: block;
    line-heightxxx: 36px;
}

#begin_button {
    display: block;
    cursor: pointer;
    background: #1c60b3;
}

#done_reading_button {
    background: #1c60b3;
    display: none;
    cursor: pointer;
}

#done_with_test_button {
    background: #1c60b3;
    display: none;
    cursor: pointer;
}

#view_results_button {
    background: #1c60b3;
    display: none;
    cursor: pointer;
}

#take_another_test_button {
    background: #1c60b3;
    display: none;
    cursor: pointer;
}

#cancel_button {
    background: #1c60b3;
    display: none;
    cursor: pointer;
}

#fb_buttons{
    float: left;
    display: block;
    padding: 5px 0 0 5px;
}

#info_wpm{
    float: left;
    display: none;
    padding: 5px 0 0 5px;
    color: #000;
}

#wpm2 {
    display: inline;
}

#wpm3 {
    display: none;
}

#info_comprehension{
    float: left;
    display: none;
    padding: 5px 0 0 5px;
    color: #fff;
}

input:focus{
    outline: 0;
}

#story{
    padding: 10px;
    font-size: 1em;
}

#results{
    display: none;
}

#results p{
    padding: 10px;
    font-size: 1em;
}

#results #final_speed{
    color: green;
    font-weight: bold;
}

#results #final_comprehension{
    color: green;
    font-weight: bold;
}

#results p {
    font-size: 1.75em;
    padding: 10px 0 0 10px;
}

#results #results_text1 {
    display: inline-block;
    color: #000;
    font-size: 1em;
    padding: 0 12px 0 10px;
}

#results #results_text2 {
    display: inline-block;
    color: #000;
    font-size: 1.2em;
    padding: 0 12px 0 10px;
}

#results #results_text3 {
    display: inline-block;
    color: #000;
    font-size: 1.2em;
    padding: 0 12px 0 10px;
}

#results #results_text4 {
    display: inline-block;
    color: #000;
    font-size: 1.2em;
    padding: 0 12px 0 10px;
}

#thirty-three-percent {
    color: green;
    font-weight: bold;
    font-size: 1.2em;
}

#test_form {
    padding: 10px;
    font-size: 1em;
    display: none;
}

#question_1, #question_2, #question_3, #question_4 {
    display: block !important;
    margin-left: 18px;
    margin-top: -24px;
}

#choice_1a, #choice_1b, #choice_1c,
#choice_2a, #choice_2b, #choice_2c,
#choice_3a, #choice_3b, #choice_3c,
#choice_4a, #choice_4b, #choice_4c  {
    display: block !important;
    margin-left: 60px;
    margin-top: -24px;
    padding: 0;
}

#choice_1a_letter, #choice_1b_letter, #choice_1c_letter,
#choice_2a_letter, #choice_2b_letter, #choice_2c_letter,
#choice_3a_letter, #choice_3b_letter, #choice_3c_letter,
#choice_4a_letter, #choice_4b_letter, #choice_4c_letter {
    display: inline-block !important;
}

labelxxx {
    display: block;
    border-style: solid;
    border-width: 1px;
    border-color: #557e9d;
    margin: -20px 0 0 0;
    padding: 0;
    margin-left: 20px;
    background: #9ab3c6;
    border-radius: 5px;
    color: #fff;
}

input[type=radio], input.radio{
    vertical-align: middle;
    margin-top: -2px;
}

#newline {
    display: none;
}

/***************************************************************************************/
/*** media styles                                                                    ***/
/***************************************************************************************/

/****************************************************************/
/****************************************************************/
@media only screen and (min-width:768px) and (max-width:1068px) {

    #content {
        width: 748px;
    }

    article {
        /*height: 525px;*/
        padding: 0px 10px 10px 0px;
    }

    article p {
        font-size: .75em;
    }

    h3 {
        font-size: 1em;
    }

    #abreak {
        display: none;
    }

    /************************/

    #test_box {
        width: 388px;
        line-height: 1.8;
    }

    #top {
        height: 130px;
    }

    #middle {
        height: 312px;
        font-size: .9em;
    }

    #select_theme, #select_level, #select_story {
        width: 98%;
    }

    #info_wpm{
        display: none;
        font-size: .9em;
    }

    #results p {
        font-size: 1.1em;
        padding: 10px 0 0 10px;
    }

    #results #results_text1 {
        display: inline-block;
        color: #000;
        font-size: .70em;
        padding: 0 12px 0 10px;
    }

    #results #results_text2 {
        display: inline-block;
        color: #000;
        font-size: 1em;
        padding: 0 12px 0 10px;
    }

    #results #results_text3 {
        display: inline-block;
        color: #000;
        font-size: 1em;
        padding: 0 12px 0 10px;
    }

    #results #results_text4 {
        display: inline-block;
        color: #000;
        font-size: 1em;
        padding: 0 12px 0 10px;
    }

    #choice_1a, #choice_1b, #choice_1c,
    #choice_2a, #choice_2b, #choice_2c,
    #choice_3a, #choice_3b, #choice_3c,
    #choice_4a, #choice_4b, #choice_4c  {
        display: block !important;
        margin-left: 42px;
        margin-top: -30px;
        padding: 5px;
    }

    #choice_1a_letter, #choice_1b_letter, #choice_1c_letter,
    #choice_2a_letter, #choice_2b_letter, #choice_2c_letter,
    #choice_3a_letter, #choice_3b_letter, #choice_3c_letter,
    #choice_4a_letter, #choice_4b_letter, #choice_4c_letter {
        margin-top: 4px;
    }

    label {
        display: block;
        border-style: solid;
        border-width: 1px;
        border-color: #557e9d;
        margin: -20px 0 0 0;
        padding: 0;
        margin-left: 20px;
        background: #9ab3c6;
        border-radius: 5px;
        color: #fff;
    }

    input[type=radio], input.radio{
        margin-top: 0px;
        margin-left: 5px;
    }

    #newline {
        display: inline;
    }

    #freereadingtest_adspace_page2_right {
    width: 300px;
    height: 250px;
    margin-top: 15px;
    position: absolute;
    right: 10px;
    bottom: 340px;
}

}



/****************************************************************/
/****************************************************************/
@media only screen and (max-width:767px) {

    .logo {
        width: 100px;
    }
    #content {
        width: 320px;
        height: 742px;
    }

    article {
        width: 320px;
        /*height: 125px;*/
        padding: 10px 0px 0px 0px;
        margin-top:-20px;
        margin-bottom: 20px;
    }

    article p {
        font-size: .75em;
    }

    #more_text {
        display: none;
    }

    h3 {
        font-size: 1em;
        padding: 0 10px;
    }

    #abreak {
        display: none;
    }

    /**************************/

    #test_box {
        width: 300px;
        line-height: 1.8;
        margin: 0;
    }

    #top {
        height: 130px;
    }

    #middle {
        height: 312px;
        font-size: .9em;
    }

    #select_theme, #select_level, #select_story {
        width: 98%;
    }

    #results p {
        font-size: .85em;
        padding: 7px 0 0 7px;
    }

    #results #results_text1 {
        display: inline-block;
        color: #000;
        font-size: .65em;
        padding: 0 12px 0 10px;
    }

    #results #results_text2 {
        display: inline-block;
        color: #000;
        font-size: .75em;
        padding: 0 12px 0 10px;
    }

    #results #results_text3 {
        display: inline-block;
        color: #000;
        font-size: .75em;
        padding: 0 12px 0 10px;
    }

    #results #results_text4 {
        display: inline-block;
        color: #000;
        font-size: .75em;
        padding: 0 12px 0 10px;
    }

    #info_wpm{
        display: none;
        font-size: .8em;
    }

    #wpm1 {
        display: inline;
    }

    #wpm2 {
        display: none;
    }

    #wpm3 {
        display: inline;
    }

    #info_comprehension {
        display: none;
    }

    #comprehension1 {
        display: none;
    }

    #comprehension2 {
        display: none;
    }

    #choice_1a, #choice_1b, #choice_1c,
    #choice_2a, #choice_2b, #choice_2c,
    #choice_3a, #choice_3b, #choice_3c,
    #choice_4a, #choice_4b, #choice_4c  {
        display: block !important;
        margin-left: 42px;
        margin-top: -30px;
        padding: 5px;
    }

    #choice_1a_letter, #choice_1b_letter, #choice_1c_letter,
    #choice_2a_letter, #choice_2b_letter, #choice_2c_letter,
    #choice_3a_letter, #choice_3b_letter, #choice_3c_letter,
    #choice_4a_letter, #choice_4b_letter, #choice_4c_letter {
        margin-top: 4px;
    }

    label {
        display: block;
        border-style: solid;
        border-width: 1px;
        border-color: #557e9d;
        margin: -20px 0 0 0;
        padding: 0;
        margin-left: 20px;
        background: #9ab3c6;
        border-radius: 5px;
        color: #fff;
    }

    input[type=radio], input.radio{
        margin-top: 0px;
        margin-left: 5px;
    }

    #newline {
        display: inline;
    }

    /****************************************************/

    #freereadingtest_adspace_page2_top {
        width: 320px;
        height: 50px;
        padding: 10px 0px;
    }

    #freereadingtest_adspace_page2_right {
        display: none;
    }

    #freereadingtest_adspace_page2_bottom {
        display: block;
        padding: 10px 0;
    }

    #adspace_page2_728x90_1, #adspace_page2_300x250_1 {
        display:none;
    }

    #adspace_page2_320x100_1 {
        display: block;
        padding: 10px;
        position: absolute;
        margin-top: 65px;
    }

    #adspace_page2_320x100_2 {
        display: block;
    }

}

