@charset "UTF-8";

.flex {
    display: flex;
}

.no-margin {
    margin: 0;
}

.card-background {
    background: #f0f0f0;
    padding: 16px;
    box-shadow: inset 0 0px 6px rgba(0, 0, 0, 0.12);
}

.card-component {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.16);
}

.card-inner {
    padding: 16px;
}

.circle-border {
    border-radius: 50%;
}

.no-border {
    border: none !important;
}

a.link-no-deco {
    text-decoration: none;
}

#footer.no-margin-footer {
    margin: 0;
}

.tab {
    display: inline-block;
    width: 2em;
    height: 1em;
}

.color-tab .tab {
    background: #fee;
}

.required-mark {
    font-size: 16px;
    color: #c33;
}

.question-mark {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: #66bbee;
    color: #fff;
    border-radius: 50%;
    text-align: center;
}

.unread-green,
.check-green,
.online-green {
    color: #6cc644;
}

input + .help-block.compact {
    margin-top: 4px;
    font-size: 12px;
}

.navbar-fixed-top.no-top-border {
    border-top: none;
}

.container.wide.fit-to-left {
    width: auto;
    margin-left: 14px;
    margin-right: 14px;
    padding: 0;
}

.sbox-list {
    margin: 0 0 0 16px;
}

.sbox-list > li {
    margin-bottom: 4px;
}

.sbox-toggle {
    float: right;
    padding: 8px;
}

i.loading-spinner {
    color: #666;
}

dl#question_user_info {
    margin: 0;
}

dl#question_user_info dd {
    margin: 0 0 12px 0;
    padding: 4px 8px;
    font-size: 12px;
}

dl#question_user_info dd:last-child {
    margin-bottom: 0;
}

.past-questions {
    margin: 0;
    padding: 0;
    list-style: none;
}

.past-questions > li {
    margin: 4px 0 4px 0;
    padding: 0 0 4px 0;
    border-bottom: 1px solid #eee;
    word-wrap:break-word;
}

.past-questions > li:last-child {
    border-bottom: none;
}

.past-questions img.userIcon {
    margin-left: 6px;
}
.past-questions .status {
    display: inline-block;
    font-size: 11px;
    color: #999;
}

pre.gray {
    background: #fafafa;
}

.show-narrowed {
    display: none;
}

.breadcrumb > .active {
    color: #666;
}

.wide-breadcrumb {
    background: #fafafa;
    border-bottom: 1px solid #ddd;
}

.wide-breadcrumb > ul {
    width: 1068px;
    margin: 0 auto;
    padding: 12px 16px;
    border: none;
    background: none;
}

.wide-breadcrumb > ul > li {
    display: inline;
}

#breadcrumb_wrapper {
    height: 32px;
    overflow: hidden;
}

ul.light-color-breadcrumb {
    margin: 0 0 8px;
    padding: 0;
    font-size: 0;
}

ul.light-color-breadcrumb > li {
    display: inline-block;
    box-sizing: border-box;
    padding-right: 5px;
    color: #aaa;
    font-size: 12px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 22px;
}

ul.light-color-breadcrumb > li:after {
    font-family: FontAwesome;
    content: "\f101";
    color: #ccc;
    margin-left: 5px;
}

ul.light-color-breadcrumb > li:last-child {
    padding-right: 0;
}

ul.light-color-breadcrumb > li:last-child:after {
    content: "";
}

ul.light-color-breadcrumb > li > a {
    color: #aaa;
}

ul.light-color-breadcrumb > li i.fa-home {
    font-size: 14px;
}

#page_id_lesson_diff ul.light-color-breadcrumb {
    margin: 16px 24px;
}

/* package */
#package_main {
    margin-bottom: 48px;
}

.package-faq-lesson-title {
}

.package-faq-row {
    overflow: hidden;
    margin-bottom: 20px;
    padding: 0 8px 16px 8px;
    border-bottom: 1px solid #eee;
}

.package-faq-row:last-child {
    border-bottom: none;
}

.package-faq-row .q-list-icon {
    float: left;
    width: 34px;
    padding: 0 8px 0 0;
}

.package-faq-row .q-list-right {
    float: right;
    width: 100%;
    margin-left: -42px;
}

.package-faq-row .q-list-contents {
    margin-left: 42px;
}

.package-faq-row .q-list-desc {
    color: #666;
}

.package-faq-row .package-name {
    font-size: 11px;
    color: #4b9433;
}

/* lesson */

label.autoplay {
    margin: 0;
    font-size: 11px;
}

input#autoplay {
    margin-top: -2px;
}

.no-faq {
     padding: 40px 0;
     border: 1px dashed #ccc;
     margin-bottom: 40px;
     text-align: center;
}

.no-faq-desc {
    margin: 16px 0 24px;
}

.wide-notice .noticeBox {
    margin-top: 0;
}

#toggle_text {
    font-size: 10px;
    width: 121px;
    padding: 4px 8px;
}

.go-to-question-new {
    font-size: 13px;
}

.side-package-name a {
    color: #333;
}

dl.about-video {
    margin: 0;
}

dl.about-video > dt {
    margin-bottom: 4px;
    color: #999;
    font-weight: normal;
}

dl.about-video > dd {
    margin: 0 0 16px 0;
}

/* for Edge */
@supports (-ms-ime-align:auto) {
    .go-to-question-new {
        font-weight: bold;
    }
}

/* for IE11 */
@media all and (-ms-high-contrast:none){
    *::-ms-backdrop, .go-to-question-new {
        font-weight: bold;
    }
}

.container.wide {
    width: 1068px;
    padding-left: 16px;
    padding-right: 16px;
}

.container.wide .span13 {
    width: 768px;
}

#q_in_topbar {
    width: 100px;
}

.container.wide #q_in_topbar {
    width: 200px;
}

.dropdown-menu > .active > a {
    color: inherit;
    background-color: #fff;
    background-image: none;
}

.container.wide .dropdown.appended-to-btn {
    float: right;
    margin: 10px 0 0 0;
    border: 1px solid #ccc;
    border-left: 0;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    border-radius: 0 4px 4px 0;
    background-color: #f5f5f5;
    background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
}

.container.wide .dropdown.appended-to-btn .caret {
    top: 5px;
    right: 8px;
}

.container.wide .dropdown.appended-to-btn .dropdown-toggle {
    width: 24px;
    height: 28px;
    padding: 0 !important;
}

.container.wide .dropdown.appended-to-btn .dropdown-menu {
     top: 40px;
}

.container.wide .btn.prepended-to-dropdown {
    border-radius: 4px 0 0 4px;
}

.container.immersive {
    width: auto;
}

.container.immersive #sidebar {
    position: absolute;
    width: 340px;
    min-width: 340px;
    opacity: 0;
}

.container.immersive #sidebar.ready {
    opacity: 1;
}

.immersive-topbar {
    border-bottom: 1px solid #ccc;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
    border-top: 3px solid #f39800;
    min-height: 56px;
}

.immersive-topbar #signup_top_bar {
    padding-top: 4px;
}

.immersive-topbar.not-login #topbar_login_button > a.btn {
    margin: 12px 16px 0;
}

.immersive-topbar .back-to-package {
    float: left;
    overflow: hidden;
}

.immersive-topbar .back-to-package > a {
    float: left;
    display: inline-block;
    width: 42px;
    height: 100%;
    color: #333;
    text-decoration: none;
}

.immersive-topbar .back-to-package i {
    float: left;
    padding: 0 16px;
    line-height: 56px;
    color: #aaa;
}

.immersive-topbar .lesson-titles {
    float: left;
    display: none;
}

.immersive-topbar .lesson-titles h1 {
    font-size: 18px;
    margin: 2px 0 0 0;
}

.immersive-topbar .lesson-titles .package {
    color: #aaa;
    line-height: 1;
    padding: 10px 0 2px;
}

.immersive-topbar .lesson-titles .package a {
    color: #aaa;
    font-size: 11px;
}

.immersive-topbar .lesson-titles .package img {
    margin-top: -1px;
}

.immersive-topbar .lesson-titles .lesson {
    line-height: 1;
    padding: 0;
    max-width: 560px;
    color: #333;
    font-size: 18px;
    font-weight: bold;
}

.immersive-topbar .lesson-titles .lesson h1 {
    line-height: 1.2;
}

.immersive-topbar .lesson-titles .lesson a {
    color: #333;
}

.immersive-topbar .nav {
    margin-bottom: 0;
}

.immersive-topbar .topbar-right-nav {
}

.immersive-topbar .topbar-right-nav > .dropdown .caret {
    top: 17px;
    right: 14px;
}

.immersive-topbar .topbar-right-nav > .dropdown {
}

.immersive-topbar .topbar-right-nav > .dropdown > .dropdown-toggle {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    padding-left: 14px !important;
    color: #333;
}

.immersive-topbar .topbar-right-nav > .dropdown .dropdown-menu {
    left: inherit;
    right: 0;
}

.immersive-topbar .topbar-right-nav > .dropdown > .dropdown-toggle .user-name {
    padding-right: 6px;
}

.immersive-topbar #q_in_topbar {
    width: 200px;
}

.immersive-topbar .notify-bell {
    float: right;
    position: relative;
    width: 60px;
    height: 56px;
    text-align: center;
    cursor: pointer;
    line-height: 56px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.immersive-topbar .notify-bell .fa-bell {
    color: #ccc;
    font-size: 22px;
    line-height: 56px;
}

.immersive-topbar .notify-bell .notify-count {
    position: absolute;
    top: 14px;
    right: 15px;
    background: rgb(231, 29, 46);
    border-radius: 3px;
    font-size: 10px;
    padding: 0px 3px;
    line-height: 14px;
    color: #fff;
    font-weight: bold;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.immersive-topbar .search-bar {
    float: right;
    height: 56px;
    padding-right: 22px;
    border-right: 1px solid #ddd;
}

/* .immersive sidebar */

.container.immersive #main {
    padding-top: 16px;
    padding-left: 64px;
    padding-right: 16px;
}

.container.immersive #main #main_contents {
    margin: 0 auto;
}

.container.immersive #sidebar #lesson_stat_summary {
    float: left;
    margin-top: 8px;
    margin-right: 64px;
}

.container.immersive #sidebar label.autoplay {
    display: inline-block;
    margin-top: 4px;
    margin-right: 6px;
}

.container.immersive #sidebar .sbox-toggle i {
    margin-top: 6px;
    margin-right: 6px;
    font-size: 14px;
    color: #999;
    cursor: pointer;
    display: none;
}

.container.immersive #sidebar .sbox-toggle.sbox-close i.fa-chevron-up {
    display: inline-block;
}

.container.immersive #sidebar .sbox-toggle.sbox-open i.fa-chevron-down {
    display: inline-block;
}

.container.immersive #sidebar .sbox {
    border: 0;
    margin: 0;
}

.container.immersive #sidebar .sbox h2 {
    padding: 6px 14px;
    border-top: 1px solid #ddd;
    border-bottom: 0;
    font-size: 13px;
    text-shadow: none;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    background: #fff;
}

.container.immersive #sidebar .sbox:first-child h2 {
    border-top: 0;
}

.container.immersive #sidebar .sboxInner {
    border-top: 0;
}

#resize_handle {
    position: absolute;
    width: 5px;
    background: #fff; /*#f3f3f3;*/
    /*border-left: 1px solid #e9e9e9;*/
    /*border-right: 1px solid #e9e9e9;*/
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    cursor: col-resize;
    z-index: 50; /* resize_mask z-index + 1 */
    transition: background .4s;
}

#resize_handle:hover,
#resize_handle.on {
    background: #f0f0f0;
    transition: background .5s;
}

#resize_mask {
    display: none;
    opacity: 1;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /*background: rgba(0, 0, 0, 0.3);*/
    z-index: 49; /* resize_handle z-index - 1 */
}

#ui_guide {
    display: none;
}

#ui_guide_pointer {
    position: absolute;
    top: 160px;
    right: 331px;
    z-index: 151;
    background: #2070fa;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(32, 112, 250, 0.25);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(32, 112, 250, 0.25);
  }
  100% {
    box-shadow: 0 0 0 12px rgba(32, 112, 250, 0.02), 0 0 0 32px rgba(32, 112, 250, 0);
  }
}

#overlay_sidebar {
    position: absolute;
    left: 0;
    background: #fff;
    width: 280px;
    height: 100%;
    border-right: 1px solid #ddd;
    z-index: 201; /* main_overlay z-index + 1 */
    transition: width 0.2s ease 0.1s;
}

#overlay_sidebar h2 {
    margin: 0;
    padding: 14px;
    border-bottom: 1px solid #ddd;
    font-size: 13px;
}

#overlay_sidebar #fold_sidebar_box {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
}

#overlay_sidebar #fold_sidebar {
    padding: 17px 10px;
}

#overlay_sidebar #unfold_sidebar {
    display: none;
    cursor: pointer;
}

#overlay_sidebar.fold {
    width: 48px;
    transition: width 0.2s ease 0.1s;
    cursor: pointer;
    transition: box-shadow 0.2s;
}

#overlay_sidebar.fold:hover {
    box-shadow: 4px 0 7px -2px rgba(50, 50, 50, 0.06);
}

#overlay_sidebar #side_package_name_header {
    text-overflow: ellipsis;
}

#overlay_sidebar.fold #side_package_name_header {
    position: relative;
    padding: 0;
    height: 46px;
    line-height: 48px;
    cursor: pointer;
    text-overflow: clip;
}

#overlay_sidebar.fold #fold_sidebar {
    display: none;
}

#overlay_sidebar.fold #unfold_sidebar {
    position: absolute;
    display: inline;
    top: 18px;
    left: 20px;
}

#overlay_sidebar #side_package_name {
}

#overlay_sidebar.fold #side_package_name {
    display: none;
}

#overlay_sidebar .autoplay {
    display: inline-block;
    margin: 14px 12px 0 0;
    opacity: 1;
    transition: opacity 0.1s 0.2s;
}

#overlay_sidebar.fold .autoplay {
    opacity: 0;
    transition: opacity 0.1s;
}

#overlay_sidebar #video_list_header {
    position: relative;
    padding: 0 0 0 34px;
    height: 48px;
    line-height: 48px;
    overflow: hidden;
}

#overlay_sidebar.fold #video_list_header {
    cursor: pointer;
}

#overlay_sidebar #video_list_header_icon {
    position: absolute;
    top: 17px;
    left: 17px;
}

#overlay_sidebar #video_list_header_str {
    opacity: 1;
    transition: opacity 0.2s 0.25s;
}

#overlay_sidebar.fold #video_list_header_str {
    opacity: 0;
    transition: opacity 0.1s;
}

#overlay_sidebar #side_lessons {
    opacity: 1;
    transition: opacity 0.1s;
}

#overlay_sidebar #side_lessons li {
    margin-bottom: 7px;
}

#overlay_sidebar.fold #side_lessons {
    opacity: 0;
    transition: opacity 0.1s;
}

#side_package_name_header a {
    color: #333;
}

#main_overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200; /* overlay_sidebar z-index - 1 */
    background: rgba(0, 0, 0, 0.3);
}

.disable-select {
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

/**/

#lesson_show_page #global_menu {
    display: none;
}

#dropdown_of_login_btn {
    display: none;
}

#lesson_title {
    margin: 0;
    padding: 0 0 16px 2px;
    font-size: 18px;
}

#lesson_description {
    margin: 0;
    padding: 0 0 8px 0;
    color: #666;
}

#video_summary {
    padding: 0 0 0 4px;
}

#lesson_stat_graph {
    float: left;
    width: 78px;
}

#lesson_stat_summary {
    float: left;
    margin-left: 12px;
    width: 160px;
}

/* source */

select.source-select {
    min-width: 60%;
}

.source-editor,
.source-editor-diff {
    margin-bottom: 8px;
    border: 1px solid #eee;
}

#shareButtons.inline-share-buttons {
    margin: 0;
    padding: 8px 0 24px 0;
    height: 24px;
}

#shareButtons.inline-share-buttons li {
    float: left;
    display: inline-block;
    margin: 0 16px 0 0;
    padding: 0;
    height: 24px;
}

#memo_form {
    padding: 12px;
}

.recent-history-img {
    float: right;
    margin-right: 4px;
    width: 30px;
}

.recent-history-img > img {
    width: 30px;
    height: 30px;
}

.recent-history-title {
    display: inline-block;
    max-width: 212px;
}

/* Comment post */

#comment_post_form_wrapper {
    border-radius: 4px 0 0 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-width: 1px 0 0 1px;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 100;
}

#comment_post_form {
    display: none;
    padding: 12px 8px 8px 12px;
    border-radius: 6px 0 0 0;
    min-height: 480px;
}

#comment_post_form .commentInfo {
    width: 580px;
}

#comment_post_form #comment_title {
    width: 560px;
    margin-bottom: 12px;
}

#comment_post_form #comment_body {
    width: 560px;
    height: 240px;
    margin-bottom: 12px;
}

#comment_post_form #comment_markdown {
    margin-top: 2px;
}

#comment_post_form #preview_body {
    min-height: 160px;
    max-height: 400px;
    overflow-y: scroll;
}

.commentBox h3.comment-header {
    border-bottom: 1px solid #ddd;
}

/* Question */

#question_suspended_message {
    padding: 16px 16px 7px;
}

.q-wrapper {
    overflow: hidden;
    margin-bottom: 12px;
}

.q-list-icon {
    text-align: center;
}
.q-list-icon .green-circle {
    color:#2c8d8b;
}
.q-list-title {
    margin-bottom: 3px;
}
.q-list-desc {
    font-size: 12px;
    color: #aaa;
}
.q-list-date {
    font-size: 12px;
    text-align: right;
    color: #aaa;
}

.q-form-content h1 {
  font-size: 18px;
  margin: 0 0 20px 0;
  padding: 12px 0 12px 50px;
  border-bottom: 1px solid #ccc;
  line-height: 1.5;
  position: relative;
}
.q-form-content h1 span {
  position: absolute;
  top: 16px;
  left: 0;
}

.q-form-content-files {
  margin-bottom: 12px;
}
.q-form-content-files li {
  margin-bottom: 4px;
}

.q-list li {
  margin-bottom: 6px;
}
.q-list {
  margin-left: 18px;
}

.q-bot {
    margin: 0 0 0 56px;
    padding: 12px 0;
}

.q-bot .q-bot-icon {
    float: left;
    width: 48px;
    vertical-align: middle;
}

.q-bot span.fa-stack {
    margin-right: 4px;
}

.q-bot .coffee .fa-circle {
    color: #2c8d8b;
}

.q-icon-red .fa-circle {
    color: #ff6464;
}

.q-icon-orange .fa-circle {
    color: #fdbb00;
}

.q-icon-blue .fa-circle {
    color: #2c8dcb;
}

.q-icon-green .fa-circle {
    color: #2c8d8b;
}

.q-bot .q-bot-body {
    display: table-cell;
    vertical-align: middle;
    height: 38px;
}

.q-admin-toggle-markdown {
    margin-left: 8px;
}

.q-toggle-markdown-copy {
    text-align: right;
}

.q-wrapper .q-toggle-markdown-copy {
    margin: 12px 16px;
}

.q-admin-markdown-text {
    display: none;
    box-sizing: border-box;
    width: 100%;
}

.q-icon {
  box-sizing: border-box;
  width: 70px;
  float: left;
}

.q-icon img {
  width:48px;
  height:48px;
  border-radius:50%;
}
.q-form {
    float: left;
    box-sizing: border-box;
    border-radius: 4px;
    position: relative;
    width: 696px;
    border: 1px solid #ccc;
}
.q-form:before {
    content: "";
    position: absolute;
    top: 14px;
    left: -9px;
    display: block;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 8px 8px 8px 0;
    border-color: transparent #ccc transparent transparent;
    z-index: 1;
}
.q-form:after {
    content: "";
    position: absolute;
    top: 14px;
    left: -7px;
    display: block;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 8px 8px 8px 0;
    border-color: transparent #f8f8f8 transparent transparent;
    z-index: 2;
}
.q-form.white-triangle:after {
    border-color: transparent #fff transparent transparent;
}

.q-date {
    margin-top: 3px;
    color: #aaa;
    font-size: 12px;
    font-weight: normal;
}

.q-date a {
    color: #aaa;
    text-decoration: none;
}

.faq-main {
    min-height: 480px;
}

.faq-contents {
    overflow: hidden;
    margin-bottom: 12px;
}

.faq-side-new-btn {
    margin-bottom: 15px;
    text-align: center;
}

.faq-side-new-btn > a.btn {
    width: 254px;
    line-height: 32px;
}

.faq-side-new-btn > button {
    width: 280px;
    line-height: 32px;
}

.faq-title-icon {
    float: left;
    margin-left: 12px;
}

.q-icon .faq-icon {
    display: block;
    margin-left: 14px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
    font-size: 21px;
    line-height: 30px;
    text-align: center;
    opacity: 0.9;
}

.q-icon .faq-icon.faq-q {
    margin-top: 8px;
    background: #2c8dcb;
}

.q-icon .faq-icon.faq-a {
    margin-top: 8px;
    background: #ff0079;
}

.q-title {
    font-size: 18px;
    margin: 0 0 10px 0;
    padding: 0 0 12px 70px;
    border-bottom: 1px solid #ccc;
    line-height: 1.5;
    position: relative;
}

.q-title .label {
    position: absolute;
    top: 4px;
    left: 14px;
}

.q-title-breadcrumb {
  margin: 0 0 20px 0;
  color: #aaa;
  font-size: 12px;
  text-align: right;
}

#question_preview .q-title {
    padding-left: 4px;
    font-weight: bold;
    margin-bottom: 16px;
}

.q-form-header {
    margin: 0;
    background: #f8f8f8;
    padding: 10px 16px;
    border-radius: 4px 4px 0 0;
    border-bottom: 1px solid #ccc;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.6;
    color: #767676;
}

.q-form-content {
  padding: 14px 14px;
  line-height: 1.8;
}
.q-form-content-body {
  box-sizing: border-box;
  width: 670px;
  height: 200px;
  margin-bottom:12px;
  padding: 10px;
}
.q-form-content-footer i {
  font-size: 14px;
}
.q-form-content-footer div {
  padding-top: 6px;
}
.q-form-content-footer button {
  padding: 6px 20px;
}

.q-video {
    padding: 16px 16px 0;
}

.q-home-checks {
    float: right;
}

.q-home-checks label:last-child {
    margin-left: 8px;
}

#q_home_table {
    width: 640px;
}

#q_home_table tr:first-child td {
    border-top: none;
}

#q_home_table td.status {
    width: 48px;
}

#q_home_table td.contents {
}

#q_home_table td.teacher {
    width: 36px;
    text-align: center;
}

#q_home_table td.created {
    width: 90px;
}
#q_home_table td.created {
    text-align: right;
    color: #aaa;
}

.q-home-body {
    word-wrap: break-word;
}

.q-attached-images a {
    margin: 0 8px 8px 0;
    display: inline-block;
    border: 1px solid #e5e5e5;
}

.q-attached-images a:nth-child(even) {
    margin-right: 0;
}

.q-attached-images img {
    width: 119px;
}

.q-attached-images a:hover {
    box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.1);
}

.q-float-btn {
    z-index: 99;
    position: fixed;
    bottom: 16px;
    right: 16px;
    width: 60px;
    height: 60px;
    background: #2c8d8b;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, .4);
    cursor: pointer;
}

.q-float-btn .fa-comments {
    font-size: 26px;
    margin-top: 20px;
}

@keyframes rotateOpen {
    0% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(180deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

@keyframes rotateClose {
    0% {
        transform: rotateY(360deg);
    }
    50% {
        transform: rotateY(180deg);
    }
    100% {
        transform: rotateY(0deg);
    }
}

.q-float-btn.open-float .fa-comments {
    font-size: 32px;
    animation: rotateOpen .4s linear 0s;
    transition: font-size .2s ease-out;
}

.q-float-btn.close-float .fa-comments {
    font-size: 26px;
    animation: rotateClose .4s linear 0s;
    transition: font-size .2s ease-out;
}

.q-float-btn.init.open-float .fa-comments {
    animation: none;
    transition: none;
}
.q-float-btn.init.close-float .fa-comments {
    animation: none;
    transition: none;
}


.q-float-notify-count {
    display: none;
    position: absolute;
    top: -5px;
    right: -5px;
    width: 22px;
    height: 22px;
    background: #fc576b;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    line-height: 22px;
}

.q-float-board {
    display: none;
    z-index: 99;
    box-sizing: border-box;
    position: fixed;
    bottom: 90px;
    right: 10px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, .4);
    width: 320px;
}

.q-float-board-header {
    background: #2c8d8b;
    padding: 7px;
    height: 30px;
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
    line-height: 30px;
    text-align: center;
    color: #fff;
    font-weight: bold;
    font-size: 13px;
}

.q-float-close {
    margin: 5px 5px 0 0;
    font-size: 18px;
    cursor: pointer;
}

.q-float-board-body {
    padding: 16px;
    position: relative;
}

ul.q-float-menu {
    list-style: none;
    margin: 0;
}

ul.q-float-menu > li {
    margin: 0 0 16px 0;
    padding: 0;
    line-height: 36px;
}

ul.q-float-menu > li.line2 {
    line-height: 18px;
}

ul.q-float-menu > li:last-child {
    margin-bottom: 0;
}

ul.q-float-menu > li > a,
ul.q-float-menu > li > .wrapper {
    display: flex;
    align-items: flex-start;
}

ul.q-float-menu .q-float-notice {
    margin-top: 16px;
    font-size: 12px;
    color: #666;
}

ul.q-float-menu .q-float-notice i {
    color: #0088cc;
}

.q-float-menu-icon {
    margin-right: 16px;
}

.q-float-menu-icon .q-float-notify-count {
    right: -3px;
    width: 17px;
    height: 17px;
    line-height: 17px;
    font-size: 10px;
}

.q-float-menu-icon i.fa-circle {
    color: #2c8d8b;
}

.q-github-icon i.fa-github {
    color: #000;
}

#question_create_btn {
}

.teachers-list {
    list-style: none;
    margin: 0;
}
.teachers-list > li {
    display: inline;
}
.teachers-list > li img {
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

#teachers {
    min-height: 480px;
}

#teachers .teacher {
    box-sizing: border-box;
    padding: 16px;
    margin-bottom: 16px;
    border:1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 1px 2px 0 #eee;
}

.teacher-icon,
.question-lesson-icon {
    float: left;
    text-align: center;
}

.teacher-icon img,
.question-lesson-icon img {
    width: 64px;
    height: 64px;
}

.teacher-prof,
.question-lesson-detail {
    float: left;
    width: 540px;
    margin-left: 16px;
}

.question-lesson-detail {
    width: 400px;
}

.teacher-name,
.question-lesson-name {
    font-size: 16px;
}

.teacher-intro,
.question-lesson-description {
    margin-top: 16px;
    font-size: 14px;
    color: #666;
}

.question-lesson-teachers {
    margin-top: 8px;
    text-align: right;
}

.teacher-notice {
    box-sizing: border-box;
    float: left;
    width: 394px;
    margin: 0 0 16px 16px;
    padding: 16px;
    background: #fafafa;
    font-size: 12px;
}

#sidebar.question-sidebar {
    min-height: 360px;
}

#authorize_teacher_warning form {
    display: inline-block;
    margin: 0 8px;
}

.dotinstall-embed {
    margin: 16px 0;
    padding: 8px;
    width: 360px;
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1);
}

.dotinstall-embed .dotinstall-embed-left-img {
    float: left;
    margin-right: 16px;
    width: 64px;
}

.dotinstall-embed .dotinstall-embed-right-detail {
    float: left;
    width: 280px;
    line-height: 1.4
}

.question-notice {
    margin:16px 0;
}

#question_post_form_header {
    font-size: 16px;
    margin: 0;
    padding: 0 0 8px 0;
}

#question_form {
    padding: 16px;
    margin: 0;
}

#question_title {
    box-sizing: border-box;
    font-size: 14px;
    width: 664px;
    height: 34px;
    padding: 8px;
    margin-bottom: 16px;
}

#question_body {
    box-sizing: border-box;
    height: 256px;
    width: 664px;
    padding: 8px;
    font-size: 14px;
    line-height: 1.5;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom: none;
    margin-bottom: 0;
}

.file-attach-area {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-top: 1px dashed #ccc;
    margin-bottom: 15px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 4px;
    padding: 8px 10px;
    background: #fafafa;
}

#use_markdown {
    margin-top: 3px;
    margin-left: -16px;
}

#question_preview {
    margin-bottom: 16px;
    min-height: 258px;
}

#question_preview_body .question-body {
    padding-left: 4px;
}

#question_preview_error,
#question_comment_preview_error {
    display: none;
}

.question-target-lesson {
}

.question-target-img {
    float: left;
    width: 48px;
}

.question-target-detail {
    float: left;
    margin-left: 12px;
    width: 188px;
    line-height: 24px;
}

.question-terms {
  padding-bottom: 0;
}

#file_upload_wrapper {
    display: block;
    margin: 16px 0;
}

.question-new-file-upload > #file_upload_wrapper {
    display: block;
}

#question_file_upload_area {
    box-sizing: border-box;
    padding: 16px;
    height: 104px;
    line-height: 32px;
    background: #f2f2f2;
    border: 1px dashed #ddd;
}

#question_file_upload_area.over {
    padding-top: 13px;
    padding-bottom: 13px;
    border: 4px dotted #ddd;
    background: #f8f8f8;
}

#select_upload_file_wrapper {
    position: relative;
    width: 328px;
    height: 18px;
    overflow: hidden;
    margin: 0 auto;
    padding-top: 8px;
    text-align: right;
    cursor: pointer;
}

#select_upload_file {
    position: absolute;
    top: 6px;
    left: -60px;
    display: inline-block;
    width: 436px;
    height: 18px;
    opacity: 0;
    cursor: pointer;
}

.q-form-files {
    background: #f8f8f8;
    padding: 12px 16px 4px;
    border-top: 1px solid #ccc;
}

.question-attach-files {
    list-style: none;
    margin: 0;
}

.question-attach-files > li {
    display: inline-block;
    margin: 0 8px 8px 0;
    padding: 4px 8px;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
}

#question_form > .question-attach-files > li {
  margin: 0 8px 14px 0;
}

#question_comment_area .question-attach-files > li {
    margin-bottom: 16px;
}

.question-body .question-attach-files > li,
.question-comment-body .question-attach-files > li {
    margin: 8px 8px 0 0;
    cursor: pointer;
}

.question-attach-files > li.uploading {
    opacity: 0.5;
}

.question-attach-files > li.success {
    color: #3a87ad;
    background: #eef;
    border: 1px solid #ccf;
}

.question-attach-files > li.error {
    color: #b94a48;
    background: #f2dede;
    border: 1px solid #eed3d7;
}

.question-attach-files > li > i {
    margin-right: 4px;
    color: #666;
}

.question-attach-files > li.error > i {
    color: #f00;
}

.question-attach-files > li.success > i {
    color: #3a87ad;
}

.question-attach-files > li > i.fa-times {
    margin-left: 8px;
    cursor: pointer;
    visibility: hidden;
}

.question-attach-files > li.over > i.fa-times {
    visibility: visible;
}

/* 必ず .over より下に書く */
.question-attach-files > li.error > i.fa-times {
    visibility: hidden;
}

#upload_errors {
    display: none;
    margin: 0 0 16px 0;
    list-style: none;
}

#upload_errors > li {
    margin-bottom: 8px;
    padding: 4px;
    color: #f00;
    background: #fee;
    border: 1px solid #fcc;
}

#accept_q_terms {
    margin-top: 2px;
}

#question_submit .btn {
    padding: 4px 16px;
}

#question_form_submit[disabled] {
    background-color: #64b264;
    opacity: 0.5;
}

/* question/show */

.question-breadcrumb {
    list-style: none;
    margin: -8px 0 0 0;
    font-size: 12px;
}

.question-breadcrumb li {
    display: inline;
}

.question-breadcrumb li:not(:last-child):after {
    content: '/';
    margin: 4px;
    color: #caaaaa;
}

.question-row {
    /*margin: 16px 0 24px;*/
}

#new_question_title {
    display: none;
    margin: 0;
    padding: 2px 8px;
    width: 496px;
    height: 28px;
    font-size: 16px;
}

#cancel_edit_question_title {
    font-size: 13px;
    font-weight: normal;
}

#q_edit_wrapper {
    display: none;
}

#new_question_body {
    box-sizing: border-box;
    margin: 0;
    width: 664px;
    height: 256px;
    font-size: 14px;
}

.question-user {
    float: left;
    width: 64px;
    height: 80px;
    margin-right: 16px;
}

.question-user img.userIcon {
    box-sizing: border-box;
    width: 64px;
    height: 64px;
    margin: 0;
}

.question-body {
    width: 630px;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    line-height: 21px;
    word-wrap: break-word;
}

#question_controls {
    float: right;
    margin: 12px 8px 0 8px;
}

#question_title_controls {
    float: right;
    margin: 2px 8px 0 0;
}

#question_controls a,
#question_title_controls a {
    color: #aaa;
    font-size: 16px;
}

#question_title_edit_controls {
    display: none;
}

.edit-question-comment {
    margin: 0 0 0 8px;
    color: #aaa;
    font-size: 16px;
}

#question_area .question-body {
    border: none;
    width: 664px;
}

#question_preview .question-body {
    border: none;
    width: 664px;
    padding: 0;
}

.question-body p {
    font-size: 14px;
}

.question-footer {
    clear: both;
    font-size: 12px;
    color: #999;
    text-align: right;
}

.question-footer span {
    margin-left: 8px;
}

.question-footer a {
    color: #999;
    text-decoration: underline;
}

.question-edit-controls {
    margin-top: 12px;
}

.question-edit-controls input.btn {
    margin-right: 8px;
}

.update-question-error {
    display: none;
    text-align: left;
}

#update_question_title_error {
    font-size: 13px;
    margin: 8px 0;
}

.use-markdown-label {
    font-size: 12px;
    margin-top: 8px;
    margin-left: 4px; /* checkbox が focus された時にはみ出さないように */
}

.toggle-attach-files {
    float: right;
}

#question_comment_row {
    margin: 12px 0 24px;
}

#input_comment_as_admin_row {
    margin: 24px 0;
}

#question_comment_area {
    clear: both;
    padding: 16px;
}

#question_comment_body {
    box-sizing: border-box;
    margin: 0;
    width: 664px;
    height: 128px;
    padding: 8px;
    font-size: 14px;
    line-height: 1.5;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom: none;
    margin-bottom: 0;
}

#question_comment_preview {
    min-height: 120px;
}

#question_comment_bot label {
    display: inline-block;
}

#question_comment_bot ul {
    list-style: none;
    margin: 0 0 0 12px;
}

#question_comment_bot ul > li {
    margin-bottom: 8px;
}

#question_comment_bot input[type="radio"] {
    margin-top: 1px;
}

#question_comment_submit {
}

#question_comment_submit_btn {
    margin-right: 8px;
    padding: 6px 18px;
}

#question_status_toggle_btn {
    padding: 6px 18px;
}

#question_comment_form {
    display: none;
}

#question_comment_form input[type="checkbox"] {
    margin-top: 3px;
}

#question_comment_bot_submit {
    margin: 16px 0;
}

#question_comment_error {
    clear: both;
    display: none;
    margin: 16px 0 0 0;
}

a.question-comment-anchor {
    display: block;
    margin-top: -24px;
    margin-bottom: 24px;
}

.question-comment {
    margin: 12px 0;
}

#question_comment_preview .question-comment,
.qc-edit-preview .question-comment {
    margin: 0;
}

.question-comment-user {
    float: left;
    width: 64px;
    margin-right: 16px;
    height: 34px;
    text-align: right;
}

.question-comment-user img {
    border-radius: 50%;
    width: 34px;
    height: 34px;
}

.question-comment-body {
    width: 664px;
    padding: 16px;
    border-radius: 4px;
    font-size: 14px;
    word-wrap: break-word;
}

.qc-edit-preview .question-comment-body {
    width: 632px;
    padding: 0;
}

.question-comment-body.bot {
    width: auto;
    margin-left: 16px;
    padding: 0;
}

#question_comment_preview_body {
    margin-bottom: 24px;
}

#question_comment_preview_body .question-comment-body {
    padding: 0;
}

.question-body p:last-child,
.question-comment-body p:last-child {
    margin-bottom: 0;
}

/* For markdown */
.markdown-body p,
.question-body p,
.question-comment-body p {
    font-size: 14px;
    margin-bottom: 16px;
}

.comment-body.markdown-body p {
    font-size: 13px;
}

.markdown-body h1,
.question-body h1,
.question-comment-body h1 {
    font-size: 24px;
    line-height: 36px;
    margin-top: 32px;
    margin-bottom: 16px;
}
.markdown-body h1:first-child,
.question-body h1:first-child,
.question-comment-body h1:first-child {
    margin-top: 0;
}
.markdown-body h2,
.question-body h2,
.question-comment-body h2 {
    font-size: 22px;
    line-height: 32px;
    margin-top: 32px;
    margin-bottom: 16px;
}
.markdown-body h2:first-child,
.question-body h2:first-child,
.question-comment-body h2:first-child {
    margin-top: 0;
}
.markdown-body h3,
.question-body h3,
.question-comment-body h3 {
    font-size: 20px;
    line-height: 24px;
    margin-top: 32px;
    margin-bottom: 16px;
}
.markdown-body h3:first-child,
.question-body h3:first-child,
.question-comment-body h3:first-child {
    margin-top: 0;
}
.markdown-body h4,
.question-body h4,
.question-comment-body h4 {
    font-size: 18px;
    line-height: 20px;
    margin-top: 32px;
    margin-bottom: 16px;
}
.markdown-body h4:first-child,
.question-body h4:first-child,
.question-comment-body h4:first-child {
    margin-top: 0;
}
.markdown-body h5,
.question-body h5,
.question-comment-body h5 {
    font-size: 16px;
    line-height: 18px;
    margin-top: 32px;
    margin-bottom: 16px;
}
.markdown-body h5:first-child,
.question-body h5:first-child,
.question-comment-body h5:first-child {
    margin-top: 0;
}
.markdown-body h6,
.question-body h6,
.question-comment-body h6 {
    font-size: 14px;
    line-height: 16px;
    margin-top: 32px;
    margin-bottom: 16px;
}
.markdown-body h6:first-child,
.question-body h6:first-child,
.question-comment-body h6:first-child {
    margin-top: 0;
}

.markdown-body > div#current_question_body > ul,
.markdown-body > div#current_question_body > ol,
.question-body > div#current_question_body > ul,
.question-body > div#current_question_body > ol,
.question-comment-body > div.current-qc > ul,
.question-comment-body > div.current-qc > ol {
    margin-bottom: 16px;
}

/* Do not remove div#current_question_body */
.markdown-body > div#current_question_body ul li,
.markdown-body > div#current_question_body ol li,
.question-body > div#current_question_body ul li,
.question-body > div#current_question_body ol li,
.question-comment-body > div.current-qc ul li,
.question-comment-body > div.current-qc ol li,
.faq-contents .question-body ul li,
.faq-contents .question-body ol li,
.faq-answer-contents .question-comment-body ul li,
.faq-answer-contents .question-comment-body ol li {
    margin-top: 8px;
    margin-bottom: 8px;
}
.markdown-body blockquote,
.question-body blockquote,
.question-comment-body blockquote {
    padding-left: 16px;
    color: #888;
}
.markdown-body blockquote p,
.question-body blockquote p,
.question-comment-body blockquote p {
    line-height: 1.5;
}
.markdown-body pre,
.markdown-body code,
.question-body pre,
.question-body code,
.question-comment-body pre,
.question-comment-body code {
    border: none;
    background-color: #f4f4f4;
    font-size: 12px;
    color: #333;
    margin-bottom: 16px !important; /* To disable .commentBox pre */
}

.markdown-body pre,
.question-body pre,
.question-comment-body pre {
    padding: 16px !important;
}

.qc-edit {
    display: none;
}

#q_edit > ul.nav-tabs,
.qc-edit > ul.nav-tabs {
    margin-bottom: 12px;
}


.new-question-comment {
    box-sizing: border-box;
    margin: 0;
    width: 100%;
    height: 192px;
    font-size: 14px;
}

.question-comment-footer {
    clear: both;
    padding-top: 4px;
    color: #999;
    text-align: right;
}

.question-comment-footer a {
    font-size: 11px;
    color: #999;
    text-decoration: underline;
}

.question-comment-footer span {
    margin-left: 8px;
}

.question-comment-footer span i {
    font-size: 14px;
}

.question-bot-comment {
    margin: 16px 0;
    overflow: hidden;
}
.question-bot-comment-img {
    float: left;
    width: 80px;
    height: 80px;
}
.question-bot-comment-img img {
}
.question-bot-comment-body {
    float: left;
    width: 638px;
    margin-left: 16px;
    padding: 16px;
    border: 1px solid #ffd788;
    border-radius: 8px;
    font-size: 18px;
    color: #dd9300;
    text-align: center;
}

.home-question-comments {
    color: #888;
}

.qd-question-detail a.qd-q-body {
    margin-left: 8px;
    font-size: 12px;
    font-weight: normal;
    color: #aaa;
    word-wrap: break-word;
}

.qd-question-detail a.qd-q-body:hover {
    color: #bbb;
}

.qd-qc-count {
    margin-left: 4px;
}

.question-unread-mark {
    display: inline-block;
    width: 16px;
    height: 16px;
}

#question_solved_form {
    margin: 0;
}

#question_solved_form input {
    width: 100%;
}

#question_close_form {
    margin: 12px 0;
}

#question_close_form:first-child {
    margin-top: 0;
}

#question_close_form input {
    width: 100%;
}

#question_histories {
    display: none;
}

.question-histories-list {
    list-style: none;
    margin: 0;
}

.question-histories-list li {
    margin-bottom: 4px;
}

.question-comment-histories {
    display: none;
}

#title_diff {
    line-height: 0.8;
}

#review_modal .modal-body {
    padding: 0;
}

#review_modal.modal.fade {
    top: -40%;
}

#review_modal.modal.fade.in {
    top: 10%;
}

#q_review_form_on_top {
    border: 1px solid #ddd;
    margin: 0 0 24px 0;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.1);
}

#q_review_form_on_top #cancel_q_review_btn {
    display: none;
}

#q_review_form_on_top #send_q_review_btn {
    width: 176px;
}

.q-review-form-header {
    margin: 0;
    padding: 16px;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}

.q-review-icons {
    margin: 32px 0;
}

.q-review-icons .q-review-labels {
    margin: 8px 0;
    color: #888;
    font-size: 13px;
}

.q-review-icons .q-review-labels span {
    display: inline-block;
    width: 52px;
    margin: 0 8px;
    cursor: pointer;
}

.q-review-icon {
    display: inline-block;
    width: 52px;
    margin: 8px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.4;
}

.q-review-icon:hover {
    opacity: 0.8;
}

.q-review-icon.selected {
    opacity: 1;
    color: #08c;
}

.q-review-icon i {
    font-size: 32px;
}

#q_review_form {
    margin-bottom: 32px;
}

#q_review_form .btn {
    width: 128px;
    height: 32px;
}

.q-review-result .di-icon-sad-o {
    color: #08c;
}
.q-review-result .di-icon-normal-o {
    color: #da0;
}
.q-review-result .di-icon-smile-o {
    color: #c00;
}

.q-review-result.no-color i {
    color: #aaa;
}

.q-review-result-label {
    font-size: 12px;
    color: #aaa;
}

#q_home_table .q-review-result i {
    font-size: 12px;
}

#q_home_table .q-review-result-label {
    margin-right: 8px;
}

#q_home_table .do-q-review {
    margin-right: 6px;
    font-size: 12px;
}

.q-title .q-review-result i {
    font-size: 13px;
}

.q-title .q-review-result-label {
    font-size: 12px;
}

/** // q-review **/

.bot-action-help {
    margin-top: 8px;
}

#suggested_keywords {
    margin: 0 0 4px 0;
}

.bot-action-help-block {
    font-size: 12px;
}

.teacher-image {
    float: left;
    width: 48px;
}

.teacher-detail {
    float: right;
    margin-left: -48px;
    width: 100%;
    line-height: 24px;
}

.teacher-detail-inner {
    margin-left: 68px;
}

ul.side-questions-list {
    margin: 0;
    list-style: none;
}

ul.side-questions-list li {
    margin-bottom: 4px;
    font-size: 12px;
}
ul.side-questions-list li .side-question-list-title {
    float: left;
    width: 212px;
}
ul.side-questions-list li .side-question-list-info {
    float: right;
    width: 36px;
    text-align: right;
    color: #666;
}

.lets-question {
    padding: 16px 0;
    text-align: center;
    border: 4px solid #ddd;
    border-radius: 4px;
}

.lets-question > p:last-child {
    margin-bottom: 0;
}

.q-img-file-box {
    padding: 16px;
    text-align: center;
    border: 1px solid #f0f0f0;
    background: #fafafa;
}

.q-file-title {
    line-height: 1.6;
}

.q-file-navi {
    margin: 24px auto;
    width: 200px;
    color: #aaa;
}

/* Question Dashboard */

#unread_open, #unread_closed {
    display: none;
}

textarea#teacher_notice {
    height: 120px;
}

.teacher-pack-header {
    margin: 0;
    padding: 8px;
    font-size: 14px;
    font-weight: normal;
    background-color: #f2f2f2;
}
.teacher-pack-header label {
    margin: 0;
}
.teacher-pack-header input[type="checkbox"] {
    margin: -2px 2px 0 0;
}

.not-in-packs-packages {
    list-style: none;
    margin: 8px 0 8px 8px;
}
.not-in-packs-packages > li {
    display: inline-block;
    margin: 0;
    padding: 0;
    width: 504px;
    border-bottom: 1px solid #eee;
}
.not-in-packs-packages > li:nth-child(odd) {
    margin-right: 32px;
}
.not-in-packs-packages > li:hover {
    background: #f8f8f8;
}
.not-in-packs-packages > li a {
    float: right;
    margin: 8px 8px 0 0;
}
.not-in-packs-packages > li img {
    margin-top: 7px;
}
.not-in-packs-packages > li > label {
    margin: 0;
    padding: 8px;
    line-height: 24px;
}
.not-in-packs-packages > li input[type=checkbox] {
    margin: -2px 2px 0 0;
}

.current-holiday {
    margin: 32px 0;
}

.current-holiday-period {
    font-size: 16px;
}

.teacher-holiday-form {
    margin: 32px 0;
}

.all-teachers-holidays li {
    margin-bottom: 8px;
}

/* Contact */

.suggestion {
    display: none;
    margin-top: 16px;
    font-size: 12px;
    line-height: 12px;
}

.suggestion .suggestion-header {
    font-size: 12px;
    margin-bottom: 8px;
}

/** /premium **/

td.all-user {
}

td.premium-only {
    border-left: 4px solid #f39800;
}

/** premium/upgrade **/

.premium-upgrade-message-area {
    margin: 36px auto;
    width: 392px;
}

.premium-upgrade-message-area > .thanks-img {
    text-align: center;
}

.premium-upgrade-message-area > .thanks-img > img {
    width: 200px;
    height: 200px;
}

.premium-upgrade-message-area > .thanks-message {
    margin-top: 25px;
}

.premium-upgrade-message-area.bordered > .thanks-message {
    margin-top: 24px;
}

.premium-upgrade-message-area .thanks-message-header {
    font-size: 15px;
    font-weight: bold;
}

.premium-upgrade-message-area.bordered .thanks-message-header {
    font-size: 16px;
    margin:16px 0;
}

.premium-upgrade-message-area.bordered > .thanks-message p {
    margin: 8px 0;
}

.premium-upgrade-message-area.bordered > .thanks-message > .thanks-message-mail-part {
    margin: 16px 0;
    padding: 4px 12px;
}

.premium-upgrade-message-area.bordered > .thanks-message > .thanks-message-mail-part {
    border-radius: 8px;
    border: 2px solid rgba(127, 127, 127, 0.3);
}

.premium-upgrade-message-area.bordered > .thanks-message > .thanks-message-mail-part > p {
    margin: 8px 0;
}

.premium-upgrade-message-area.bordered > .thanks-message > .thanks-message-mail-part > .thanks-message-mail-register {
    margin: 8px 0;
}

.premium-upgrade-message-area.bordered > .thanks-message > .thanks-message-mail-part > .thanks-message-mail-register {
    margin: 16px 0 8px 0;
    text-align: center;
}

.premium-upgrade-message-area > .thanks-message > .go-to-lesson {
    margin-top: 25px;
    text-align: center;
}

.premium-upgrade-message-area.bordered > .thanks-message > .go-to-lesson {
    margin-top: 24px;
}

.premium-upgrade-message-area > .thanks-message #go_back_to_after_upgrade {
    width: 165px;
    line-height: 32px;
}

.premium-upgrade-message-area.bordered > .thanks-message #go_back_to_after_upgrade {
    width: 196px;
}

.premium-upgrade-message-area #receive_mail_magazine_ajax_loader {
    display: none;
    width: 12px;
    height: 12px;
    vertical-align: text-top;
}

.premium-upgrade-message-area #receive_mail_magazine {
    margin-top: -3px;
}

.premium-upgrade-message-area #receive_mail_magazine_done {
    visibility: hidden;
}

.premium-upgrade-message-area #receive_mail_magazine_done.visible {
    visibility: visible;
}

/** // premium/upgrade **/

/* search */
.search-type-box {
    border-top: 1px solid #eee;
}

.search-type-box ul {
    margin: 0;
}

.search-type-box li {
    font-size: 14px;
    margin-top: 0;
    padding: 8px 4px;
    border-bottom: 1px solid #eee;
}

.search-type-box i {
    display: inline-block;
    margin-left: 4px;
    width: 20px;
    font-size: 13px;
}

.search-type-list {
    list-style: none;
    margin: 0 0 0 4px;
}

.search-type-list a {
    display: block;
    width: 100%;
    height: 100%;
    color: #0088cc;
}

.search-type-list a i {
    color: #4799c1;
}

.search-type-list a.on {
    color: #666;
    font-weight: bold;
}

.search-type-list a.on i {
    color: #666;
    font-weight: normal;
}

.search-type-list .hit-count {
    display: inline-block;
    padding: 0 6px;
    background: #f3f3f3;
    font-weight: bold;
    color: #999;
    border-radius: 4px;
    font-size: 12px;
}

.search-type-list a.on .hit-count {
    color: #fff;
    background: #4799c1;
}

/* transcript search */

.transcript-search-result {
    margin:0 0 24px 0;
}

.transcript-search-result-header {
    margin-bottom:4px;
}

.transcript-search-result-title {
    font-size: 14px;
}

.transcript-search-result-package {
    font-size: 12px;
}

.transcript-snippet {
    padding: 4px 0;
}

.transcript-snippet:hover {
    background: #fafafa;
}

.transcript-snippet > a {
    display: flex;
    text-decoration: none;
}

.transcript-snippet > a > .snippet-time {
    flex: 1;
    color: #c0c0c0;
}

.transcript-snippet:hover .snippet-time {
    color: #666;
}

.transcript-snippet > a > .snippet-body {
    flex: 20;
    color: #888;
}

.snippet-body strong {
    color: #666;
}

section.help-section {
    padding-top: 24px;
}

.help-main .page-header {
    margin-top: 24px;
}

ul.user-remove-notices {
    color: red;
    font-weight: bold;
}

ul.user-remove-notices > li {
    margin-bottom: 8px;
}

#top_social_btns {
    overflow: hidden;
}

/* lesson/diff */

#compare_source_area {
    display: flex;
    margin: 0 24px 16px;
}

#compare_source_results {
    display: flex;
    margin: 32px 32px 16px;
}

.compare-source {
    flex: 1;
    margin-bottom: 16px;
    position: relative;
}

.compare-source .compare-source-label {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #2c8d8b;
    color: white;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 0 4px 0 0;
}

#compare_source_results .compare-source {
}

.compare-source:first-child {
    margin-right: 48px;
}

.compare-source .compare-source-header {
    height: 36px;
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: normal;
}

.compare-source .compare-source-header.text-only {
    margin-top: 6px;
    margin-bottom: 2px;
}

.compare-source-editor {
    box-sizing: border-box;
    width: 100%;
    height: 180px;
    overflow: auto;
    border: 1px solid #ccc;
    background: #fff;
    font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
}

.compare-source-editor .diff {
    display: inline-block;
    padding: 0;
    margin: 2px 0;
    font-weight: bold;
    border: 1px solid #ce2d2d;
    background: #f5d5d5;
}

#compare_source_results .compare-source-editor {
    height: auto;
}

.compare-source .diff_added,
.compare-source .diff_removed {
    display: inline;
    width: auto;
}

#compare_source_select {
    width: 100%;
}

#compare_btn_wrapper {
    margin: 16px 0;
}

#compare_source_btn {
    width: 220px;
}

.diff-result-message {
    display: none;
    margin-top: 32px;
    text-align: center;
    font-size: 16px;
}

#diff_count {
    font-weight: bold;
}

#footer_inner_container {
    display: flex;
    flex-wrap: wrap;
}

.footer-contents {
    flex: 1;
    margin-right: 16px;
}

.container.wide .footer-contents,
.container.immersive .footer-contents {
    max-width: 320px;
    min-width: 220px;
}

#material.tab-pane,
#demo.tab-pane {
    margin-bottom: 24px;
}

