/* 学習画面に関するCSS設定 */
@media (max-width: 900px) {
    .full-header {
        display: none;
    }
    #container {
        margin-top: 0px;
    }
    .full-width {
        margin-top: 0px;
    }
    .scroll-header {
        display: none !important;
    }
    .panel-footer {
        display: none;
    }
}

/* page blocks */
h1 {
    margin: 5px auto 0 auto;
    font-size: 180%;
    font-weight: bold;
    padding: 5px 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
@media (max-width: 1024px) {
    h1 {
        font-size: 140%;
    }
}
#progress-status {
    float: left;
    border-right: 1px solid #dcdcdc;
    background-color: #f9f9f9;
    width: 30%;
    min-height: 750px;
    padding: 30px 20px 0px 80px;
}
#scroll {
    position: relative;
    height: 350px;
    width: 100%;
    float: left;
    overflow-y: scroll;
    border-radius: 8px;
    background-color: #fff;
    border: 1px solid #dcdcdc;
    padding: 15px;
}
div.content-links {
    margin: 5px 3px 15px 3px;
}

@media (min-width: 768px) {
    #progress-status {
        padding-left: 30px;
        width: 30%;
    }
    #content {
        width: 70%;
        float: left;
    }
    #content {
        padding: 50px 20px 0px 20px;
    }
}
@media (min-width: 1025px) {
    #progress-status {
        padding-left: 80px;
        width: 30%;
    }
    #content {
        width: 70%;
        padding: 50px 40px 0px 40px;
    }
}

/* progress-status */
div.check-test {
    padding: 15px 0 0 0;
    width: 100%;
    float: left;
}
div.check-test div {
    font-size: 110%;
    border-radius: 7px;
    padding: 5px 0;
    text-align: center;
}
div.check-test div.signin {
    background-color: #f8931e;
    color: #fff;
}
div.check-test div.signout {
    background-color: #fff;
    border: solid 2px #dcdcdc;
}
div.check-test div.signin a {
    color: #fff;
    width: 100%;
    display: block;
}
div.check-test div.signout a {
    color: #dcdcdc;
}

ul.video-titles {
    float: left;
    width: 100%;
    padding: 0 5px 30px 5px;
    margin-bottom: 0;
}
ul.video-titles li {
    float: left;
    list-style-type: none;
}
ul.video-titles li.video {
    float: left;
    width: 100%;
    height: 28px;
    font-size: 110%;
    line-height: 28px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    border-bottom: 1px solid #dcdcdc;
    margin-bottom: 8px;
    margin-top: 3px;
    padding-left: 5px;
}
li.video.assigned {
    border-left: 6px solid #f8931e;
}
li.video.assigned a {
    color: black;
}
li.video.assigned a:hover {
    text-decoration: none;
    cursor: auto;
}

/* progress-status questions */
ul.video-titles li.question {
    margin: 0 0 5px 7px;
    padding-top: 5px;
    float: left;
    border: 4px solid #eeeeee;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    text-align: center;
    font-size: 120%;
    line-height: 1.1em;
    background-color: white;
}
ul.video-titles li.question:hover {
    border-color: #ffcc66;
}
ul.video-titles li.question a:hover {
    color: #ffcc66;
}
ul.video-titles li.question a {
    color: #eeeeee;
    display: block;
    height: 35px;
    margin-top: -16px;
    padding-top: 16px;
    font-size: 70%;
}

li.question.done {
    border-color: #ffcc66 !important;
}
li.question.done a {
    color: #ffcc66 !important;
}
li.question.assigned {
    border-color: #f8931e !important;
}
li.question.assigned a {
    color: #f8931e !important;
}
li.question.no-video {
    border-color: #f8931e !important;
}

/* posted-space temporary */
.posted-space {
    margin-top: -30px;
}
.fusen-progress,
.tf-progress {
    position: relative !important;
    font-size: 90% !important;
}
.fusen-progress,
.tf-progress {
    top: 0 !important;
    margin-bottom: 5px;
}

#question {
    margin: 0 auto;
}
@media (max-width: 1024px) {
    #question {
        width: 100%;
    }
}
@media (min-width: 1025px) {
    #question {
        width: 100%;
    }
}
@media (max-width: 767px) {
    .question_image {
        width: 80%;
        margin: 5px auto;
    }
    .question_image img {
        width: 100%;
    }
}
@media (min-width: 768px) {
    .question_image {
        max-height: 400px;
        max-width: 600px;
        margin: 10px auto;
    }
    .question_image img {
        max-height: 100%;
        max-width: 100%;
        margin: 10px auto;
    }
}

/* question space common */
#clear_space {
    display: none;
    margin: 20px auto;
}
@media (max-width: 1024px) {
    #clear_space {
        width: 100%;
    }
}
@media (min-width: 1025px) {
    #clear_space {
        width: 100%;
    }
}
.maru {
    position: absolute;
    z-index: 2;
    left: 50%;
    margin-top: -100px;
    display: none;
}
@media (max-width: 767px) {
    .maru {
        width: 200px;
        margin-left: -100px;
    }
}
@media (min-width: 768px) {
    .maru {
        width: 250px;
    }
}

@media (max-width: 1024px) {
    #quiz_space,
    .fusen_space {
        width: 100%;
    }
}
@media (min-width: 1025px) {
    #quiz_space,
    .fusen_space {
        width: 100%;
        margin: 0 auto;
    }
}

.direction {
    color: #333;
    font-size: 120%;
    margin-left: 10px;
}

@media (max-width: 1024px) {
    .direction {
        width: 95%;
    }
}
@media (min-width: 1025px) {
    .direction {
        width: 100%;
    }
}

.qtext {
    color: #333;
    font-size: 120%;
    line-height: 2em;
    width: 95%;
}
.blank {
    white-space: nowrap;
}

/* answer-space */
#answer_space {
    margin-bottom: 40px;
    float: left;
    width: 100%;
}
.answer_space {
    border-top: 1px solid #dcdcdc;
    width: 100%;
    padding-top: 15px;
    margin: 20px auto 100px auto;
}
@media (min-width: 1025px) {
    .answer_space {
        width: 100%;
    }
}
@media (max-width: 764px) {
    .answer_space {
        float: left;
    }
}
.flat-button a {
    padding: 1px 0;
    text-align: center;
}
.answer {
    font-size: 120%;
    color: red;
    padding: 10px;
    margin-top: 20px;
    border-top: solid 1px #dcdcdc;
    display: none;
    float: left;
}
.explanation {
    font-size: 110%;
    color: #333;
    padding: 0 10px;
    display: none;
    float: left;
    line-height: 1.8em;
}
@media (max-width: 1024px) {
    .answer {
        width: 100%;
    }
}
@media (min-width: 1025px) {
    .answer {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .explanation {
        width: 100%;
    }
}
@media (min-width: 1025px) {
    .explanation {
        width: 100%;
    }
}

/* choice type */
ul.choice {
    padding-left: 10px;
    margin-bottom: 20px;
}
ul.choice li {
    width: 95%;
    padding: 7px 10px;
    margin: 15px 15px 15px 0px;
    border-radius: 5px;
    font-size: 110%;
    list-style-type: none;
    background: #f5f5f5;
    border: solid 1px #ddd;
}
ul.choice li:hover {
    background: white;
}
.choice_label {
    cursor: pointer;
}
ul.choice li label {
    font-weight: normal;
    vertical-align: middle;
    width: 90%;
    margin-bottom: 0;
}

/* write type */
input.norm_txt {
    font-size: 150%;
    color: #333;
    border-radius: 5px;
    border-color: #dcdcdc;
    height: 1.8em;
    width: 200px;
    padding: 5px;
    margin: 10px 0 20px 10px;
}
input.multiple,
input#multiple {
    font-size: 110%;
    color: #333;
    text-align: center;
    border-radius: 0px;
    border: 1px #dcdcdc inset;
    margin: 0;
}

/* click type */
ul.wordlst {
    margin-bottom: 10px;
    float: left;
    padding-left: 0;
    list-style-type: none;
    width: 95%;
}
#word,
#nword {
    padding: 5px;
    margin: 10px;
    font-size: 110%;
    color: #333;
    background-color: #ffdead;
    border-radius: 5px;
    float: left;
    cursor: pointer;
    position: relative;
    z-index: 1;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}
#word:hover {
    background-color: #ffd700;
}

/* practice video */
.video-title {
    font-size: 140%;
    width: 100%;
}
@media (min-width: 1025px) {
    .video-title {
        width: 100%;
    }
}

/* when its cleared */
ul.right_rates {
    list-style-type: none;
    -webkit-padding-start: 5px;
}

#submit,
#submittest {
    z-index: 2;
}
div#next,
#wait,
#answer,
#answer_last,
#backto {
    width: 30% !important;
    z-index: 2;
    cursor: pointer;
}
#submit,
#submittest,
#show_hint,
#change_player,
#show_exp,
.reload,
#watch {
    cursor: pointer;
    width: 30% !important;
    float: left;
    text-align: center;
}
#watched {
    cursor: default;
    width: 30% !important;
    float: left;
    text-align: center;
}
div#next,
#submit,
#submittest,
#wait,
#answer,
#answer_last,
#backto,
#watch,
#watched {
    margin-left: 0%;
    margin-right: 0%;
}
@media (max-width: 767px) {
    div#next,
    #submit,
    #submittest,
    #wait,
    #answer,
    #answer_last,
    #backto,
    #watch,
    #watched {
        width: 50% !important;
    }
    #show_hint,
    #change_player,
    .reload {
        width: 20% !important;
        border-radius: 10px;
        margin: 7px 5%;
        padding: 5px;
    }
}
#answer.flat-button,
#answer_last.flat-button {
    background: #5c91b9;
    box-shadow: 0px 4px 0px #3c698b;
}
#answer.flat-button:hover,
#answer_last.flat-button:hover {
    background: #3c698b;
}
#backto.flat-button {
    background: #478e81;
    box-shadow: 0px 4px 0px #32635a;
}
#backto.flat-button:hover {
    background: #32635a;
}
#show_hint,
#change_player,
#show_exp,
.reload {
    border-radius: 10px;
    margin: 7px 2.5%;
    padding: 5px;
}
#show_hint,
#change_player,
#show_exp {
    border: solid 2px #f9af11;
}
.reload {
    border: solid 2px #478e81;
}

#show_hint a,
#change_player a,
#show_exp a {
    color: #f9af11;
}
#show_hint.no_hint {
    border-color: #dcdcdc;
    cursor: auto;
}
#show_hint.no_hint a {
    color: #dcdcdc;
}
#show_hint.no_hint a:hover {
    text-decoration: none;
}
.reload a {
    color: #478e81;
}

.hint {
    display: none;
    padding: 5px 10px 15px 10px;
    color: #333;
    font-size: 110%;
    margin-bottom: 30px;
    float: left;
    width: 100%;
}
#refresh,
#refreshed {
    padding: 5px;
    margin: 5px 5px 5px 10px;
    font-size: 120%;
    background-color: #e6e6fa;
    border-radius: 5px;
    float: left;
    cursor: pointer;
    list-style-type: none;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

/* master test */
@media (min-width: 768px) {
    .test-button {
        margin-left: 35% !important;
        margin-right: 35% !important;
        padding: 1px 0;
    }
}
@media (max-width: 767px) {
    .test-button {
        margin-left: 25% !important;
        margin-right: 25% !important;
        padding: 1px 0;
    }
}

#preload,
#v_preload {
    display: none;
}
code {
    display: none;
}

.hidden_qid {
    color: white;
    float: right;
}
