/* Custom Style
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/** Avenir **/
@font-face {
    font-family: 'Avenir';
    src: url('../../../fonts/Avenir.otf') format("opentype"),
    url('../../../fonts/Avenir-Light.eot') format('eot'),
    url('../../../fonts/Avenir-Light.ttf') format('ttf'),
    url('../../../fonts/Avenir-Light.woff') format('woff'),
    url('../../../fonts/Avenir-Light.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/** Segoe **/
@font-face {
    font-family: 'segoepr';
    src: url('../../../fonts/segoepr.ttf') format("opentype");
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: Avenir, sans-serif;
    overflow-x: hidden;
    background: url(../../../img/course/understanding/bg-content.jpg) #e2f3fb;
}

header {
    background: url(../../../img/course/understanding/bg-header.jpg);
    margin: 0;
    width: 100%;
    height: 130px;
    border-bottom: 5px solid #fff;
    z-index: 2;
    text-align: center;
    padding: 10px 0 0 0;
}

.header-left {
    position: absolute;
    top: 35px;
    left: 0;
    line-height: .5em;
    font-size: .8em;
    text-align: left;
}

.header-right {
    position: absolute;
    top: 35px;
    right: 0;
    line-height: .8em;
    text-align: left;
}

.content {
    margin: 1% 0 5% 0;
    width: 100%;
    position: relative;
    text-align: center;
}

.content h1 {
    line-height: 1.5em;
    border-bottom: 3px solid #dbe693;
    padding-bottom: 10px;
    width: 80%;
    margin: 35px auto;
    color: #005C9D;
    font-size: 1.3em;
    border-bottom: 3px solid #E2F3FB;
}

.content h2 {
    color: #42100d;
    font-size: 1.3em;
    line-height: 1.5em;
    border-bottom: 3px solid #F9ED9B;
    padding-bottom: 10px;
    width: 80%;
    margin: 0 auto 15px auto;
}

.content h3 {
    color: #686135;
    font-size: 1em;
}

.content p {
    text-align: justify;
}

.top-progress {
    background: #fcdb51;
    margin: 0 auto 2% auto;
    width: 27%;
    border: 1px solid #f9e48e;
    border-radius: 10px;
    padding: 5px;
}

.top-progress h3 {
    display: inline;
    font-size: 1.1em;
    color: #fff;
}

.top-progress ul {
    list-style: none;
    display: inline;
    margin-left: -25px;
}

.top-progress ul li {
    display: inline-block;
    font-size: .9em;
    border: 1px solid #b0a539;
    border-radius: 5px;
    padding: 3px 9px;
    margin: 0 1px;
    background: #b0a539;
    color: #fff;
}

.top-progress .current {
    background: #fff;
    color: #b0a539;
}

.top-progress .passed {
    background: #67c15e;
    color: #fff;
    border: 1px solid #67c15e;
}

footer {
    width: 100%;
    height: 55px;
    position: fixed;
    bottom: 0;
    left: 0;
    margin: 0;
    border-top: 5px solid #fff;
    background: url(../../../img/course/understanding/bg-footer.jpg);
    z-index: 90000;
}

.md-modal {
    width: 700px;
}

.md-content {
    color: #373737;
    position: relative;
    margin: 0 auto;
    border-radius: 7px;
    font-family: Avenir, Tahoma, sans-serif;
    z-index: -5;
    background: #fbe887;
    border: 2px #ffd34e solid;

}

.md-content h3 {
    margin: 0;
    padding: 0.3em;
    text-align: center;
    font-size: 1.2em;
    opacity: 1;
    border-radius: 3px 3px 0 0;
    background: #FCAC23;
    color: #fff;
}


/* Scroll */
.is-define-scroll {
    position: fixed;
    right: 3%;
    top: 50%;
    z-index: 100;
    display: none;
    cursor: pointer;
}

/* Preloader */
.fakeloader {
    z-index: 100000000;
}

.container {
    display: none;
}

.img_s {
    position: relative;
    top: 15px;
    left: 10px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

#next {
    cursor: pointer;
}

.all {
    width: 80%;
}

.main-topic {
    margin: 1% auto 3% auto;
    width: 48%;
    border: #f8d04d 2px solid !important;
    border-radius: 10px;
    padding: 0 20px;
    background: url(../../../img/course/understanding/bg-footer.jpg) !important;
    color: #686135 !important;
    font-size: 1.2em;
    text-align: justify;
    line-height: 22px;
}


.list_s {
    float: left;
    text-align: left;
    margin-left: 30px;
}

.list_s li {
    text-align: left;
    margin-bottom: 40px;
    margin-left: 20px;
}

.list_s b {
    opacity: 0;
    margin-top: 15px;
}


.list_s div {
    margin-top: 10px;
    margin-bottom: 10px;
}

.list_s a {
    cursor: pointer;
}

#img_1, #img_2, #img_3, #img_4, #img_5, #img_6, #img_7, #img_8, #img_9, #img_10, #img_11, #img_12, #img_13, #img_14, #img_15, #img_16 {
    position: relative;
    left: 30px;
}

.li_1, .li_2, .li_3, .li_4, .li_5, .li_6, .li_7, .li_8, .li_9, .li_10, .li_11, .li_12, .li_13, .li_14, .li_15, .li_16 {
    opacity: 0;
    display: none;
    margin-bottom: 80px !important;
}


.example {
    font-size: 1em;
    font-weight: normal;
    line-height: 1.1em;
    border-left: 4px solid #557d38;
    padding-left: 10px;
    margin: 25px 0 20px 25px !important;
}

.list_s .title {
    font-size: 1.3em;
    font-weight: bold;
    color: #346531;
}

.line-through {
    text-decoration: line-through;
}

.board {
    text-align: justify;
}

.red {
    color: #dc4a4a;
}

.divider {
    border-bottom: 2px solid #bbb;
    padding-top: 8px;
    margin-bottom: 10px;
}

.green {
    color: #A5DC86;
    font-size: 1.03em;
}

.bg {
    background: rgba(239, 239, 239, 1);
    padding: 2px 4px;
    border-radius: 5px;
}


.main-topic {
    margin: 1% auto 3% auto;
    width: 48%;
    border: #c7d37a 2px solid;
    border-radius: 10px;
    padding: 0 20px;
    background: #dbe693;
    color: #557d38;
    font-size: 1.2em;
    text-align: justify;
}

.tick-bottom {
    margin-bottom: -5px;
}

.scroll-progress {
    position: fixed;
    top: 0;
    z-index: 1000000000000000000;
    width: 100%;
    background-color: #f1f1f1;
}

/* The progress container (grey background) */
.progress-container {
    width: 100%;
    height: 5px;
    background: #ccc;
}

/* The progress bar (scroll indicator) */
.progress-bar {
    height: 8px;
    background: #DBE693;
    width: 0%;
    transition: width 3s;
}

a letter {
    color: inherit;
}

letter {
    display: inline-block;
    white-space: pre;
    background: none;
    transition: .4s;
}

letter.initial {
    opacity: 0;
    text-shadow: 0 0 9px;
    color: #FFF;
    -webkit-transform: scale(8);
    -webkit-transform-origin: 150% 50%;
    transform: scale(8);
    transform-origin: 150% 50%;
}

.three-d-shadow {
    text-shadow: 2px 8px 6px,
    0px -5px 35px;
}

.credit {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 10px 20px;
    color: #777;
    font-size: 11px;
    text-align: center;
    background: #EEE;
    border-radius: 10px;
}

#one {
    text-align: left;
    width: 70%;
    min-width: 500px;
    margin: 50px auto;
}

#next {
    cursor: pointer;
}

.vocab-btn {

    background: #44af92;
    box-shadow: 10px 10px 5px #888888;
    color: #fdf3f2
}

.dev-btn {
    background: #ca66a6;
    box-shadow: 10px 10px 5px #888888;
    color: #fdf3f2
}

.str-btn {
    background: #f8d04d;
    box-shadow: 10px 10px 5px #888888;
    color: #fdf3f2
}

.main-buttons {
    float: right;
    width: 55%;
    margin-top: 45px;
}

.pencil {
    float: left;
    width: 45%;
    position: relative;
    left: 100px
}

.example-word-use {
    line-height: 25px;
}

a {
    color: #826d15;
    text-decoration: none;
    outline: none;
}

.fa {
    font-size: 24px;

}

.tooltip-content {
    position: absolute;
    background: url(../../../img/course/understanding/shape1.svg) no-repeat center bottom;
    background-size: 100% 100%;
    z-index: 9999;
    width: 100px;
    bottom: 100%;
    left: 50%;
    margin-left: -50px;
    padding: 30px 20px;
    font-size: large;
    text-align: center;
    color: #fff;
    opacity: 0;
    cursor: default;
    line-height: 1;
    pointer-events: none;
    font-family: 'Kalam', cursive;
    -webkit-transform: scale3d(0.1, 0.2, 1);
    transform: scale3d(0.1, 0.2, 1);
    -webkit-transform-origin: 50% 120%;
    transform-origin: 50% 120%;
    -webkit-transition: opacity 0.4s, -webkit-transform 0.4s;
    transition: opacity 0.4s, transform 0.4s;
    -webkit-transition-timing-function: ease, cubic-bezier(0.6, 0, 0.4, 1);
    transition-timing-function: ease, cubic-bezier(0.6, 0, 0.4, 1);
}

.tooltip-content::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    left: 50%;
    margin-left: -8px;
    top: 100%;
    background: #FCAC23;
    -webkit-transform: translate3d(0, -60%, 0) rotate3d(0, 0, 1, 45deg);
    transform: translate3d(0, -60%, 0) rotate3d(0, 0, 1, 45deg);
}


.tooltip:hover .tooltip-content {
    opacity: 1;
    pointer-events: auto;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
}

.tooltip i {
    position: relative;
    top: 5px;
}


.tooltip3 {
    display: inline;
    position: relative;
    z-index: 999;
}


.title-tooltip3 {
    color: #50494f !important;
    font-size: smaller !important;
}

.title-tooltip4 {
    color: #50494f !important;
    font-size: 12px !important;
    font-style: italic;
    font-weight: bold;
}

/* Trigger text */

.tooltip3-item {
    background: #a7999c;
    display: inline-block;
    padding: 0 6px;
    border-radius: 5px;
    font-size: 1em;
    line-height: 1.44em;
}

/* Gap filler */

.tooltip3-item::after {
    content: '';
    position: absolute;
    width: 360px;
    height: 20px;
    bottom: 100%;
    left: 50%;
    pointer-events: none;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.tooltip3:hover .tooltip3-item::after {
    pointer-events: auto;
}

/* Tooltip */

.tooltip3-content {
    position: absolute;
    z-index: 9999;
    min-width: 210px;
    width: auto !important;
    margin: 0 0 20px 0;
    bottom: 100%;
    text-align: left;
    font-size: 1.5em;
    line-height: 1.7;
    box-shadow: -5px -5px 15px rgba(127, 127, 127, 0.2);
    background: #a7999c;
    opacity: 0;
    cursor: default;
    pointer-events: none;
    border-radius: 4px;
    padding: 10px;
}

.tooltip3-effect-1 .tooltip3-content {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0);
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
    transition: opacity 0.3s, transform 0.3s;
}

.tooltip3-effect-2 .tooltip3-content {
    -webkit-transform-origin: 50% calc(100% + 10px);
    transform-origin: 50% calc(100% + 10px);
    -webkit-transform: perspective(1000px) rotate3d(1, 0, 0, 45deg);
    transform: perspective(1000px) rotate3d(1, 0, 0, 45deg);
    -webkit-transition: opacity 0.2s, -webkit-transform 0.2s;
    transition: opacity 0.2s, transform 0.2s;
}

.tooltip3-effect-3 .tooltip3-content {
    -webkit-transform: translate3d(0, 10px, 0) rotate3d(1, 1, 0, 25deg);
    transform: translate3d(0, 10px, 0) rotate3d(1, 1, 0, 25deg);
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
    transition: opacity 0.3s, transform 0.3s;
}

.tooltip3-effect-4 .tooltip3-content {
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    -webkit-transform: scale3d(0.7, 0.3, 1);
    transform: scale3d(0.7, 0.3, 1);
    -webkit-transition: opacity 0.2s, -webkit-transform 0.2s;
    transition: opacity 0.2s, transform 0.2s;
}

.tooltip3-effect-5 .tooltip3-content {
    width: 180px;
    margin-left: -50px;
    -webkit-transform-origin: 50% calc(100% + 6em);
    transform-origin: 50% calc(100% + 6em);
    -webkit-transform: rotate3d(0, 0, 1, 15deg);
    transform: rotate3d(0, 0, 1, 15deg);
    -webkit-transition: opacity 0.2s, -webkit-transform 0.2s;
    transition: opacity 0.2s, transform 0.2s;
    -webkit-transition-timing-function: ease, cubic-bezier(.17, .67, .4, 1.39);
    transition-timing-function: ease, cubic-bezier(.17, .67, .4, 1.39);
}

.tooltip3:hover .tooltip3-content {
    pointer-events: auto;
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0) rotate3d(0, 0, 0, 0);
    transform: translate3d(0, 0, 0) rotate3d(0, 0, 0, 0);
}

.tooltip3.tooltip3-effect-2:hover .tooltip3-content {
    -webkit-transform: perspective(1000px) rotate3d(1, 0, 0, 0deg);
    transform: perspective(1000px) rotate3d(1, 0, 0, 0deg);
}

/* Arrow */

.tooltip3-content::after {
    content: '';
    top: 100%;
    left: 50%;
    border: solid transparent;
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: transparent;
    border-top-color: #7f7f7f;
    border-width: 10px;
    margin-left: -10px;
}

/* Tooltip content*/

.tooltip3-content img {
    position: relative;
    height: 170px;
    display: block;
    float: left;
    margin-right: 1em;
}

.tooltip3-text {
    font-size: 0.68em;
    line-height: 1.35;
    display: block;
    padding: 1.31em 1.21em 1.21em 0;
    color: #fff;
}

.tooltip3-effect-5 .tooltip3-text {
    padding: .7em;
}

.tooltip3-text a {
    font-weight: bold;
}

.eye {
    position: relative;
    bottom: 3px;
    font-size: small;
}

.border-grammar {
    margin: -30px 0 0 30px;
    padding: 30px;
    border: 1px #50494f solid !important;
    border-radius: 17px;
    background-color: #faffd1;
}

.instead {
    color: orange;
    font-size: 1.06em;
    font-weight: 700;
}

.write {
    color: green;
    font-size: 1.06em;
    font-weight: 700;
}


.dummy {
    pointer-events: auto;
}

.footer-lesson-image, .footer-answer-image, .footer-tip-image {
    width: 75% !important;
}

.md-effect-8 {
    top: 35% !important;
}

.button--wayra:hover {
    border-color: #FCAC23;
}


.button--wayra.button--inverted:hover {
    border-color: #FCAC23;
}

.button--wayra:hover::before {
    background-color: #FCAC23;

}

.button--wayra.button--inverted:hover::before {
    background-color: #fff;
}


.topic-btn {
    background: #f8d04d;
    box-shadow: 10px 10px 5px #888888;
    color: #fdf3f2
}

.planning-btn {
    background: #ca66a6;
    box-shadow: 10px 10px 5px #888888;
    color: #fdf3f2
}

.vocab-btn {
    background: #44af92;
    box-shadow: 10px 10px 5px #888888;
    color: #fdf3f2
}

.gra-btn {
    background: #f87e4d;
    box-shadow: 10px 10px 5px #888888;
    color: #fdf3f2
}

.punc-btn {
    background: #f84d7b;
    box-shadow: 10px 10px 5px #888888;
    color: #fdf3f2
}

.time-btn {
    background: #4da0f8;
    box-shadow: 10px 10px 5px #888888;
    color: #fdf3f2
}

.main-buttons-general-tips {
    margin-top: 0;
}

.pencil-general-tips {
    margin-top: 40px;
    margin-left: 0;

}

.border-none {
    border: none !important;
}

.left-move-3 {
    position: relative;
    right: 40px;
}

.overflow-y-none {
    overflow-y: scroll !important;
}


.title {
    color: #dbe693;
    font-size: 1.12em;
    font-weight: 500;
    font-style: italic;
}

.green2 {
    color: #62af45;
    font-size: 1.06em;
    font-weight: bold;
}

.red {
    color: #dc4a4a;
    font-weight: 600;
}

.divider {
    border-top: 2px solid grey;
    padding-top: 5px;
    margin: 0 auto;
}

.segoepr {
    font-family: segoepr;
}

.download {
    text-align: center;
    font-size: 1.5em;
    color: #6d756b;
}

table {
    margin: 0 auto;
    margin-bottom: 3em;
    background: #a7999c;
    width: 60%;
    font-size: small;
}


th {
    padding: 15px;
    text-align: left;
}

td {
    padding: 1em 2em;
    text-align: left;
}


.menu-wrap {
    background: #fdfac8 !important;

}


.understanding-main-lesson {
    background: #f8d04d;
    color: #fbf8cb
}

.vocabulary-main-lesson {
    background: #44af92;
    color: #f6fceb
}

.development-main-lesson {
    background: #018abd;
    color: #fdf3f2
}

.practice-main-lesson {
    background: #ca66a6;
    color: #f2f2f0
}


td.err {
    background-color: #c4bbbd;
    color: #fff;
    font-size: 0.75em;
    text-align: center;
    line-height: 1;
}

th {
    background-color: #443B3D;
    font-weight: bold;
    color: #fff;
}

tbody th {
    background-color: #2ea879;
}

tbody tr:nth-child(2n-1) {
    background-color: #c4bbbd;
    transition: all .125s ease-in-out;
}

tbody tr:hover {
    background-color: rgba(129, 208, 177, .3);
}


.link-list {
    padding: 0 !important;

}


.input {
    display: inline-block;
    max-width: 350px;
    width: calc(100% - 2em);
    vertical-align: top;
    position: relative;
    margin: 0;
}

.input__field {
    position: relative;
    display: block;
    float: right;
    padding: 0.8em;
    width: 60%;
    border: none;
    border-radius: 0;
    background: #f0f0f0;
    color: #aaa;
    font-weight: 400;
    font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-appearance: none; /* for box shadows to show on iOS */
}

.input__field:focus {
    outline: none;
}

.input__label {
    display: inline-block;
    float: right;
    padding: 0 1em;
    width: 40%;
    color: #696969;
    font-weight: bold;
    font-size: 70.25%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.input__label-content {
    position: relative;
    display: block;
    padding: 1.6em 0;
    width: 100%;
}

.graphic {
    position: absolute;
    top: 0;
    left: 0;
    fill: none;
}

.icon {
    color: #ddd;
    font-size: 150%;
}


/* Individual styles */


/* Shoko */
.input--shoko {
    overflow: hidden;
    padding-bottom: 2.5em;
}

.input__field--shoko {
    padding: 0;
    margin-top: 1.2em;
    width: 100%;
    background: transparent;
    color: #707070;
    font-size: 1.55em;
}

.input__label--shoko {
    position: absolute;
    top: 2em;
    left: 0;
    display: block;
    width: 100%;
    text-align: left;
    padding: 0em;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #A09C9C;
    pointer-events: none;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transition: -webkit-transform 0.2s 0.1s, color 0.3s;
    transition: transform 0.2s 0.1s, color 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

.graphic--shoko {
    stroke: #A09C9C;
    pointer-events: none;
    stroke-width: 2px;
    top: 1.25em;
    bottom: 0px;
    height: 3.275em;
    -webkit-transition: -webkit-transform 0.7s, stroke 0.7s;
    transition: transform 0.7s, stroke 0.7s;
    -webkit-transition-timing-function: cubic-bezier(0, 0.25, 0.5, 1);
    transition-timing-function: cubic-bezier(0, 0.25, 0.5, 1);
}

.input__field--shoko:focus + .input__label--shoko,
.input--filled .input__label--shoko {
    color: #A58282;
    -webkit-transform: translate3d(0, 3.5em, 0) scale3d(0.85, 0.85, 1);
    transform: translate3d(0, 3.5em, 0) scale3d(0.85, 0.85, 1);
}

.input__field--shoko:focus ~ .graphic--shoko,
.input--filled .graphic--shoko {
    stroke: #A58282;
    -webkit-transform: translate3d(-66.6%, 0, 0);
    transform: translate3d(-66.6%, 0, 0);
}


/* Kozakura */
.input--kozakura {
    overflow: hidden;
    padding-bottom: 1em;
}

.input__field--kozakura {
    padding: 0.25em 0.5em;
    margin-top: 1.25em;
    width: 100%;
    background: transparent;
    color: #2F3238;
    font-size: 1.55em;
    opacity: 0;
}

.input__label--kozakura {
    width: 100%;
    text-align: left;
    position: absolute;
    top: 1em;
    pointer-events: none;
    overflow: hidden;
    padding: 0 0.25em;
    -webkit-transform: translate3d(1em, 2.75em, 0);
    transform: translate3d(1em, 2.75em, 0);
    -webkit-transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
}

.input__label-content--kozakura {
    color: #A4A5A6;
    padding: 0.4em 0 0.25em;
    -webkit-transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
}

.input__label-content--kozakura::after {
    content: attr(data-content);
    position: absolute;
    font-weight: 800;
    top: 100%;
    left: 0;
    height: 100%;
    width: 100%;
    color: #fff;
    padding: 0.25em 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85em;
}

.graphic--kozakura {
    fill: #494E57;
    pointer-events: none;
    top: 1em;
    bottom: 0px;
    height: 4.5em;
    z-index: -1;
    -webkit-transition: -webkit-transform 0.7s, fill 0.7s;
    transition: transform 0.7s, fill 0.7s;
    -webkit-transition-timing-function: cubic-bezier(0, 0.25, 0.5, 1);
    transition-timing-function: cubic-bezier(0, 0.25, 0.5, 1);
}

.input__field--kozakura:focus,
.input--filled .input__field--kozakura {
    -webkit-transition: opacity 0s 0.35s;
    transition: opacity 0s 0.35s;
    opacity: 1;
}

.input__field--kozakura:focus + .input__label--kozakura,
.input--filled .input__label--kozakura {
    -webkit-transition-delay: 0.15s;
    transition-delay: 0.15s;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.input__field--kozakura:focus + .input__label--kozakura .input__label-content--kozakura,
.input--filled .input__label-content--kozakura {
    -webkit-transition-delay: 0.15s;
    transition-delay: 0.15s;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
}

.input__field--kozakura:focus ~ .graphic--kozakura,
.input--filled .graphic--kozakura {
    fill: #fff;
    -webkit-transform: translate3d(-66.6%, 0, 0);
    transform: translate3d(-66.6%, 0, 0);
}

/* Makiko */
.input--makiko {
    overflow: hidden;
    background: #CBCBCB;
}

.input__field--makiko {
    width: 100%;
    background: transparent;
    color: #797693;
    z-index: 10;
    font-weight: 500;
}

.input__label--makiko {
    position: absolute;
    width: 100%;
    text-align: left;
    pointer-events: none;
    color: #fff;
}

.input__label--makiko::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    top: 45%;
    left: 20px;
    background: url(../../../img/course/understanding/tick.png) no-repeat center center;
    background-size: 100%;
    -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
    transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
}

.input__label-content--makiko {
    display: block;
    padding: 1.5em 0 0 2.75em;
    -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
    transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
}

.input__field--makiko:focus + .input__label--makiko::before,
.input--filled .input__label--makiko::before {
    -webkit-transform: scale3d(38, 38, 1);
    transform: scale3d(38, 38, 1);
}

.center-justified {
    text-align: justify;
    margin: 0 auto;
    width: 45%;
    line-height: 20px !important;
}

.pointer {
    cursor: pointer;
}

.help {
    cursor: help;
    text-decoration-line: underline;
    text-decoration-style: wavy;
    text-decoration-style: -moz-wavy;
    text-decoration-color: #b0adc5;
}

.page-pointer {
    font-style: italic;
    font-weight: bold;
    text-align: justify;
}

.page-question {
    text-align: justify;
    border-bottom: none !important;

}

.italic {
    font-style: italic;
}

.explanation-answer {
    font-style: italic;
    font-size: smaller;
}


.contentLeft {
    position: relative;
    margin-top: 50px;
    left: 50%;
    margin-left: -75px;
    margin-bottom: 100px;
    width: 50%;
}


.todo-list {
    padding-left: 0 !important;
}

.contentLeft li {
    list-style: none;
    margin: 0 0 10px 0;
    padding: 10px;
    background-color: #f8d04d;
    color: #fff;
    border: 2px #ebebeb solid;
    border-radius: 8px;
    font-family: "Avenir Next", sans-serif;
    text-align: center;
    width: 150px;
    cursor: move;
}

#next {
    cursor: pointer;
}

/*.hid*/
.true {
    background-color: green !important
}

.wrong {
    background-color: red !important
}


.cd-dropdown,
.cd-select {
    position: relative;
    width: 360px;
    margin: 20px auto;
    display: block;
}

.cd-dropdown > span {
    height: 55px;
    line-height: 55px;
    color: #999;
    font-weight: 700;
    font-size: 16px;
    background: #fff;
    display: block;
    padding: 0 50px 0 00px;
    position: relative;
    cursor: pointer;
    border-radius: 8px;
}

.cd-dropdown > span:after {
    content: '\25BC';
    position: absolute;
    right: 0px;
    top: 15%;
    width: 50px;
    text-align: center;
    font-size: 12px;
    padding: 5px;
    height: 70%;
    line-height: 24px;
    border-left: 1px solid #ddd;
}

.cd-dropdown.cd-active > span:after {
    content: '\25B2';
}

.cd-dropdown ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: block;
    position: relative;
}

.cd-dropdown ul li {
    display: block;
}

.cd-dropdown ul li span {
    width: 80%;
    background: #fff;
    line-height: 55px;
    padding: 0 30px 0 75px;
    display: block;
    color: #555;
    cursor: pointer;
    font-weight: 700;
}

.cd-dropdown > span,
.cd-dropdown ul li span {
    -webkit-backface-visibility: hidden;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/* Select fallback styling */
.cd-select {
    border: 1px solid #ddd;
}


.cd-dropdown > span,
.cd-dropdown ul li:nth-last-child(-n+3) span {
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.cd-dropdown ul {
    position: absolute;
    top: 0px;
    width: 10%;
}

.cd-dropdown ul li {
    position: absolute;
    width: 10%;
}

.cd-active.cd-dropdown > span {
    color: #ccc;
}

.cd-active.cd-dropdown > span,
.cd-active.cd-dropdown ul li span {
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.cd-active.cd-dropdown ul li {
    -webkit-transform-origin: -200% 50%;
    -moz-transform-origin: -200% 50%;
    -o-transform-origin: -200% 50%;
    -ms-transform-origin: -200% 50%;
    transform-origin: -200% 50%;
}

.cd-active.cd-dropdown ul li span {
    -webkit-transition: all 0.2s linear 0s;
    -moz-transition: all 0.2s linear 0s;
    -ms-transition: all 0.2s linear 0s;
    -o-transition: all 0.2s linear 0s;
    transition: all 0.2s linear 0s;
}

.cd-active.cd-dropdown ul li span:hover {
    background: #ccc;
    color: #fff;
}

.cd-active.cd-dropdown ul li {
    top: 0 !important;
}


.question1 {
    width: 65%;
    margin: 0 auto;
    position: relative;
    top: 10px;
    opacity: 0;

}

.question2 {
    width: 65%;
    margin: 0 auto;
    position: relative;
    top: 50px;
    display: block;
}

.question30 {
    width: 65%;
    margin: 0 auto;
    position: relative;
    top: 100px;
    display: block;
}

.question4, .question5, .question6, .question7,
.question8, .question9, .question10 {
    width: 65%;
    margin: 0 auto;
    position: relative;
}

.left-left1 {
    float: left;
    width: 50%;
}

.right-right1 {
    float: left;
    width: 50%;
}

.img-answer1 {
    position: relative;
    top: -60px;
    right: -160px;
    width: 30px;
    height: 30px;
    z-index: 10000
}

.img-answer1:hover {
    cursor: pointer;
}

.text-1 {
    width: 95%;
    height: 60px;
    background: #fff;
    color: #555;
    position: relative;
    top: 20px;
    border-radius: 8px;
}

.img-answer1 {
    right: -220px;
    width: 25px;
    height: 25px;
}

.ansers1 {
    position: relative;
    top: 20px;
    width: 90%;
    height: 60px;
    float: right;
    border-radius: 8px;
    color: #fff;
}

.correct {
    background: green;
}

.leftAlign {
    text-align: left;
}

.all {
    width: 100%;
}

.space-bottom {
    height: 300px;
}

.answer {
    position: absolute;
    top: 87%;
    left: 30%;
}

.answer ul li {
    font-size: 1.3em;
    font-weight: 500;
}

.answer li a {
    cursor: pointer;
    border: 2px #f8d04d solid;
    border-radius: 5px;
    padding: 2px 5px;
}

.answer li a:hover {
    color: #999;
}

#one-highlight {
    font-size: 1em;
    text-align: left;
}

#two {
    font-size: 1em;
    text-align: left;
    display: none;
}

#three {
    font-size: 1em;
    text-align: left;
    display: none;
    margin-bottom: 100px;
}

.leftAlign {
    text-align: left;
}


.img_a {
    position: relative;
    left: 10px;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.inp {
    width: 35px;
    height: 35px;
    padding-left: 10px;
    border: 1px solid #fff;
    border-radius: 60%;
    -webkit-transition: 400ms;
    -moz-transition: 400ms;
    -o-transition: 400ms;
    transition: 400ms;
}

.inp:hover {
    cursor: pointer;
    width: 45px;
    height: 45px;
    background-color: #FCDB51;
}

.inp:focus {
    width: 45px;
    height: 45px;
    background-color: #FCDB51;
}


.true {
    border: green 2px solid;
}

.wrong {
    border: red 2px solid;
}

.correct-apology {
    color: green;
}

#click2, #click1, #click3 {
    cursor: pointer;
}

#typed {
    position: relative !important;
    left: -1500px;
    opacity: 0;
}

#typed2 {
    position: relative;
    top: 30px;
    right: 1200px;
    opacity: 0;
}

#typed3 {
    position: relative;
    top: 30px;
    right: 1200px;
    opacity: 0;
}

*,
*:after,
*::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.ac-custom {
    padding: 0 3em;
    max-width: 900px;
    margin: 30px auto;
    text-align: left;
}

.ac-custom h2 {
    font-size: 1.2em;
    font-weight: 300;
    padding: 0 0 0.5em;
    margin: 0 0 30px;
}

.ac-custom ul,
.ac-custom ol {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
}

.ac-custom li {
    margin: 0 auto;
    padding: .1em 0;
    position: relative;
}

.ac-custom label {
    display: inline-block;
    position: relative;
    font-size: 1.2em;
    font-weight: 400;
    padding: 0 0 18px 40px;
    vertical-align: top;
    color: rgba(0, 0, 0, 0.8);
    cursor: pointer;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
}

.ac-custom input[type="checkbox"],
.ac-custom input[type="radio"],
.ac-custom label::before {
    width: 30px;
    height: 30px;
    top: 50%;
    left: 0;
    margin-top: -25px;
    position: absolute;
    cursor: pointer;
}

.ac-custom input[type="checkbox"],
.ac-custom input[type="radio"] {
    opacity: 0;
    -webkit-appearance: none;
    display: inline-block;
    vertical-align: middle;
    z-index: 100;
}

.ac-custom label::before {
    content: '';
    border: 4px solid #fff;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.ac-radio label::before {
    border-radius: 50%;
}

.ac-custom input[type="checkbox"]:checked + label,
.ac-custom input[type="radio"]:checked + label {
    color: #fff;
}

.ac-custom input[type="checkbox"]:checked + label::before,
.ac-custom input[type="radio"]:checked + label::before {
    opacity: 0.8;
}

/* General SVG and path styles */

.ac-custom svg {
    position: absolute;
    width: 23px;
    height: 23px;
    top: 50%;
    margin-top: -20px;
    left: 3px;
    pointer-events: none;
}

.ac-custom svg path {
    /*stroke: #f2d262;*/
    stroke-width: 13px;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* Specific input, SVG and path styles */

/* Circle */
.ac-circle input[type="checkbox"],
.ac-circle input[type="radio"],
.ac-circle label::before {
    width: 30px;
    height: 30px;
    margin-top: -15px;
    left: 10px;
    position: absolute;
}

.ac-circle label::before {
    background-color: #fff;
    border: none;
}

.ac-circle svg {
    width: 30px;
    height: 30px;
    margin-top: -35px;
    left: -10px;
}

.ac-circle svg path {
    stroke-width: 5px;
}

/* Box Fill */
.ac-boxfill svg path {
    stroke-width: 8px;
}

/* Swirl */
.ac-swirl svg path {
    stroke-width: 8px;
}

/* List */
.ac-list ol {
    list-style: decimal;
    list-style-position: inside;
}

.ac-list ol li {
    font-size: 2em;
    padding: 1em 1em 0 2em;
    text-indent: -40px;
}

.ac-list ol li label {
    font-size: 1em;
    text-indent: 0;
    padding-left: 30px;
}

.ac-list label::before {
    display: none;
}

.ac-list svg {
    width: 100%;
    height: 80px;
    left: 0;
    top: 1.2em;
    margin-top: 0px;
}

.ac-list svg path {
    stroke-width: 4px;
}


.trueBox {
    background-color: green !important;
    color: white;
}

.falseBox {
    background-color: red !important;
    color: white;
}

.grid__item {
    margin: auto;
    margin-bottom: 10px;
    padding: 0.35em 0.5em;
    border-radius: 9px;
    background: rgba(249, 228, 142, 0.7);
    color: black;
    font-size: 1.3em;
    text-align: left;
}

.drop-area {
    position: fixed;
    top: 100%;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background: #F7EB97 !important;
    text-align: center;
    overflow: auto;
    -webkit-transition: -webkit-transform 0.5s cubic-bezier(0.6, 0, 0.4, 1);
    transition: transform 0.5s cubic-bezier(0.6, 0, 0.4, 1);
    -webkit-transform: translate3d(0, 20px, 0);
    transform: translate3d(0, 20px, 0);
}

.container {
    background: transparent !important;
}

.type-tooltip-understanding {
    color: #AD9F51;
    border: 15px solid #FCDB51
}

.font-smaller {
    font-size: 12px;
}


.grid {
    margin: 0 auto;
    max-width: 50em;
    padding: 0 1em;
}

.grid__item {
    /*float: left;*/
    margin: auto;
    /*width: 49%;
    height: 2.05em;*/
    margin-bottom: 10px;
    padding: 0.35em 0.5em;
    border-radius: 4px;
    background: rgba(249, 228, 142, 0.7);
    color: black;
    font-size: 1.3em;
    text-align: left;
}


.grid__item:hover {
    cursor: move;
    cursor: -webkit-grab;
    cursor: grab;
}

.grid__item:active {
    cursor: -webkit-grabbing;
    cursor: grabbing;
}

.is-dragging {
    background: #575e5a;
}

.is-active {
    z-index: 1001;
}

.is-dropped {
    opacity: 0;
    -webkit-transform: scale3d(0.7, 0.7, 1) !important;
    transform: scale3d(0.7, 0.7, 1) !important;
}

.is-complete {
    opacity: 1;
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s !important;
    transition: opacity 0.3s, transform 0.3s !important;
    -webkit-transform: scale3d(1, 1, 1) !important;
    transform: scale3d(1, 1, 1) !important;
}

.animate {
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}


.drop-area.show {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
}

.drop-area > div {
    width: 100%;
    width: calc(100% - 20px);
    padding: 2em 2em 5em;
    -webkit-transition: -webkit-transform 0.4s 0.3s;
    transition: transform 0.4s 0.3s;
    -webkit-transform: translate3d(0, 50%, 0);
    transform: translate3d(0, 50%, 0);
}

.drop-area.show > div {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.drop-area__item {
    position: relative;
    display: inline-block;
    margin: 0.4em 0;
    width: 100%;
    max-width: 30em;
    /*height: 3em;*/
    padding: 0.3em 0.5em;
    background: #fff;
    color: #919f97;
    font-size: 1.5em;
    text-align: left;
    padding: 0.9em 1em;
    border-radius: 4px;
    -webkit-transition: -webkit-transform 0.3s, background 0.3s, color 0.3s;
    transition: transform 0.3s, background 0.3s, color 0.3s;
}

.drop-area__item.highlight {
    background: rgba(0, 0, 0, 0.15);
    color: #fff;
    -webkit-transform: scale3d(1.08, 1.08, 1);
    transform: scale3d(1.08, 1.08, 1);
}


.drop-feedback.drop-area__item::after {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
}

.dummy2 {
    margin: 1em auto 2.5em;
    width: 50%;
    max-width: 30em;
    height: 1.5em;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    box-shadow: 0 1.5em 0 -0.6em rgba(0, 0, 0, 0.1);
}

.drop-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
    pointer-events: none;
}

.drop-area.show + .drop-overlay {
    opacity: 1;
}

.helper {
    position: absolute !important;
    margin: 0;
}


.shadow1 {
    -webkit-box-shadow: 3px 3px 5px 6px #ccc; /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    -moz-box-shadow: 3px 3px 5px 6px #ccc; /* Firefox 3.5 - 3.6 */
    box-shadow: 3px 3px 5px 6px #ccc; /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
}

.grid__item p {
    width: 100%;
    margin: auto;
    border: 2px dashed #B0A539;
    padding: 1%;
    border-radius: 5px;
}

.grid__item i {
    color: #B0A539;

}

.emboss {
    box-shadow: inset 5px 5px 5px 0 #e9f0b7, inset -5px -5px 5px #7b6c51;
    background: #cbda5a;
    margin-bottom: 8px;
    -moz-box-shadow: inset 5px 5px 5px 0 #e9f0b7, inset -5px -5px 5px #7b6c51;
    -webkit-box-shadow: inset 5px 5px 5px 0 #e9f0b7, inset -5px -5px 5px #7b6c51;
    box-shadow: inset 5px 5px 5px 0 #e9f0b7, inset -5px -5px 5px #7b6c51;
}


#tableOne {
    background: url(../../../img/course/understanding/adv-writing-A.png) !important;
}

#tableTwo {
    background: url(../../../img/course/understanding/adv-writing-B.png) !important;
}

#tableThree {
    background: url(../../../img/course/understanding/adv-writing-C.png) !important;
}

#tableFour {
    background: url(../../../img/course/understanding/adv-writing-D.png) !important;
}


#tableOneAgr {
    background: url(../../../img/course/understanding/agr-writing-A.jpg) !important;
}

#tableTwoAgr {
    background: url(../../../img/course/understanding/agr-writing-B.jpg) !important;
}

#tableThreeAgr {
    background: url(../../../img/course/understanding/agr-writing-C.jpg) !important;
}

#tableFourAgr {
    background: url(../../../img/course/understanding/agr-writing-D.jpg) !important;
}

#tableOneCause {
    background: url(../../../img/course/understanding/cause-writing-A.png) !important;
}

#tableTwoCause {
    background: url(../../../img/course/understanding/cause-writing-B.png) !important;
}

#tableThreeCause {
    background: url(../../../img/course/understanding/cause-writing-C.png) !important;
}

#tableFourCause {
    background: url(../../../img/course/understanding/cause-writing-D.png) !important;
}

#tableOneDiscuss {
    background: url(../../../img/course/understanding/discuss-writing-A.png) !important;
}

#tableTwoDiscuss {
    background: url(../../../img/course/understanding/discuss-writing-B.png) !important;
}

#tableThreeDiscuss {
    background: url(../../../img/course/understanding/discuss-writing-C.png) !important;
}

#tableFourDiscuss {
    background: url(../../../img/course/understanding/discuss-writing-D.png) !important;
}

.tablediv {
    width: 90%;
    margin: auto;
}

#tableOne, #tableTwo, #tableThree, #tableFour,
#tableOneAgr, #tableTwoAgr, #tableThreeAgr, #tableFourAgr,
#tableOneCause, #tableTwoCause, #tableThreeCause, #tableFourCause,
#tableOneDiscuss, #tableTwoDiscuss, #tableThreeDiscuss, #tableFourDiscuss {
    display: inline-block;
    margin-left: 15px;
    margin-bottom: 25px;
    width: 210px;
    cursor: pointer;
}

#tableTwo tr, #tableThree tr, #tableFour tr,
#tableTwoAgr tr, #tableThreeAgr tr, #tableFourAgr tr,
#tableOneCause tr, #tableTwoCause tr, #tableThreeCause tr, #tableFourCause tr,
#tableOneDiscuss tr, #tableTwoDiscuss tr, #tableThreeDiscuss tr, #tableFourDiscuss tr {
    height: 65px;
    opacity: 0;
}


#tableOne tr, #tableOneAgr tr, #tableOneCause tr, #tableOneDiscuss tr {
    height: 81px;
    opacity: 0;
}


.dot {
    height: 85px;
    width: 85px;
    background-color: #FFA200;
    border-radius: 50%;
    display: inline-block;
    padding: 5px;
    cursor: pointer;
}

.text-orange {
    color: #FCAC23;
}


/*********************
* Graph Holder styles *
*********************/

/** Graph Holder container **/
.graph-container {
    position: relative; /* required Y axis stuff, Graph Holder's left and bottom sides to be positions properly */
    display: inline-block; /* display: table may also work.. */
    padding: 0; /* let the bars position themselves */
    list-style: none; /* we don't want to see any default <ul> markers */
    margin: 40px;
    font-size: 0.5em;
    /* Graph Holder's Background */
    background-image: -webkit-linear-gradient(left, rgba(255, 255, 255, .3) 100%, transparent 100%);
    background-image: -moz-linear-gradient(left, rgba(255, 255, 255, .3) 100%, transparent 100%);
    background-image: -o-linear-gradient(left, rgba(255, 255, 255, .3) 100%, transparent 100%);
    background-image: -ms-linear-gradient(left, rgba(255, 255, 255, .3) 100%, transparent 100%);
    background-image: linear-gradient(left, rgba(255, 255, 255, .3) 100%, transparent 100%);
    background-repeat: no-repeat;
    background-position: 0 -2.5em;
}

/* Graph Holder bottom side */
.graph-container:before {
    position: absolute;
    content: "";

    bottom: 0;
    left: -1.25em; /* skew pushes it left, so we move it a bit in opposite direction */

    width: 100%;

    height: 2.5em;
    background-color: rgba(183, 183, 183, 1);

    /* Make it look perspective */
    -webkit-transform: skew(-45deg);
    -moz-transform: skew(-45deg);
    -o-transform: skew(-45deg);
    -ms-transform: skew(-45deg);
    transform: skew(-45deg);
}

/* Graph Holder left side */
.graph-container:after {
    position: absolute;
    content: "";
    top: 1.25em; /* skew pushes it up so we move it down a bit */
    left: -2.5em;

    /*width: 2.5em;*/
    background-color: rgba(129, 129, 129, 0.4);

    /* Make it look perspective */
    -webkit-transform: skew(0deg, -45deg);
    -moz-transform: skew(0deg, -45deg);
    -o-transform: skew(0deg, -45deg);
    -ms-transform: skew(0deg, -45deg);
    transform: skew(0deg, -45deg);
}

/* Bars and X-axis labels holder */
.graph-container > li {
    position: relative; /* Make sure X-axis labels are positioned relative to this element */
}

/* A small hack to make Graph Holder's background side be wide enough
   ..because our bottom side is skewed and pushed to the right, we have to compensate it in Graph Holder's background */
.graph-container > li:nth-last-child(2) {
    margin-right: 2.5em;
}

/* X-axis labels */
.graph-container > li > span {
    position: absolute;
    left: 0;
    bottom: -3em;
    width: 60%; /* play with this one if you change perspective depth */
    text-align: center;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.7);
    color: #333;
    font-size: 1em;
}

/*******************************
 * Graph Y-axis Markers styles *
 *******************************/

/* Markers container */
.graph-container > li:last-child {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
}

/* Y-axis Markers list */
.graph-marker-container > li {
    position: absolute;
    left: -2.5em;
    bottom: 0;
    width: 100%;
    margin-bottom: 2.5em;
    list-style: none;
}

/* Y-axis lines general styles */
.graph-marker-container > li:before,
.graph-marker-container > li:after {
    content: "";
    position: absolute;
    border-style: none none dotted;
    border-color: rgba(100, 100, 100, .15);
    border-width: 0 0 .15em;
    background: rgba(133, 133, 133, .15);
}

/* Y-axis Side line */
.graph-marker-container > li:before {
    width: 3.55em;
    height: 0;
    bottom: -1.22em;
    left: -.55em;
    z-index: 2; /* be above .graph-container:after */

    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

/* Y-axis Background line */
.graph-marker-container li:after {
    width: 100%;
    bottom: 0;
    left: 2.5em;
}

/* Y-axis text Label */
.graph-marker-container span {
    position: absolute;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.7);
    top: 1.7em;
    left: -5em; /* just to push it away from the graph.. */
    width: 3.5em; /* give it absolute value of left offset */
    color: #333;
    font-size: 1em;
}

/*********************
 * Graph Bars styles *
 *********************/

/* Bar wrapper - hides the inner bar when it goes below the bar, required */
.bar-wrapper {
    overflow: hidden;
}

/* Bar container - this guy is a real parent of a bar's parts - they all are positioned relative to him */
.bar-container {
    position: relative;
    margin-top: 2.5em; /* should be at least equal to the top offset of background casing */
    /* because back casing is positioned higher than actual bar */
    width: 8em; /* required, we have to define the width of a bar */
}

/* right bottom patch - make sure inner bar's right bottom corner is "cut" when it slides down */
.bar-container:before {
    content: "";
    position: absolute;
    z-index: 3; /* to be above .bar-inner */
    bottom: 0;
    right: 0;
    /* Use bottom border to shape triangle */
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 2.5em 2.5em;
    border-color: transparent transparent rgba(183, 183, 183, 1);
}

/** BACK CASING **/
/* Back panel */
.bar-background {
    width: 10em;
    height: 100%;
    position: absolute;
    top: -2.5em;
    left: 2.5em;
    z-index: 1; /* just for reference */
}

.bar-background:before,
.bar-background:after {
    content: "";
    position: absolute;
}

/* Bottom panel */
.bar-background:before {
    bottom: -2.5em;
    right: 1.25em;
    width: 10em;
    height: 2.5em;
    -webkit-backface-visibility: hidden;
    -webkit-transform: skew(-45deg);
    -moz-transform: skew(-45deg);
    -o-transform: skew(-45deg);
    -ms-transform: skew(-45deg);
    transform: skew(-45deg);
}

/* Left back panel */
.bar-background:after {
    top: 1.25em;
    right: 10em;
    width: 2.5em;
    height: 100%;
    -webkit-backface-visibility: hidden;
    /* skew only the Y-axis */
    -webkit-transform: skew(0deg, -45deg);
    -moz-transform: skew(0deg, -45deg);
    -o-transform: skew(0deg, -45deg);
    -ms-transform: skew(0deg, -45deg);
    transform: skew(0deg, -45deg);
}

/** FRONT CASING **/
/* Front panel */
.bar-foreground {
    z-index: 3; /* be above .bar-background and .bar-inner */
}

.bar-foreground,
.bar-inner {
    position: absolute;
    width: 2.5em;
    height: 100%;
    top: 0;
    left: 0;
}

.bar-foreground:before,
.bar-foreground:after,
.bar-inner:before,
.bar-inner:after {
    content: "";
    position: absolute;
}

/* Right front panel */
.bar-foreground:before,
.bar-inner:before {
    top: -1.25em;
    right: -2.5em;
    width: 2.5em;
    height: 100%;
    background-color: rgba(160, 160, 160, .27);

    -webkit-transform: skew(0deg, -45deg);
    -moz-transform: skew(0deg, -45deg);
    -o-transform: skew(0deg, -45deg);
    -ms-transform: skew(0deg, -45deg);
    transform: skew(0deg, -45deg);
}

/* Top front panel */
.bar-foreground:after,
.bar-inner:after {
    top: -2.5em;
    right: -1.25em;
    width: 100%;
    height: 2.5em;
    background-color: rgba(160, 160, 160, .2);

    -webkit-transform: skew(-45deg);
    -moz-transform: skew(-45deg);
    -o-transform: skew(-45deg);
    -ms-transform: skew(-45deg);
    transform: skew(-45deg);
}

/** BAR's inner block **/
.bar-inner {
    z-index: 2; /* to be above .bar-background */
    top: auto; /* reset position top */
    background-color: rgba(255, 153, 0, .6);
    height: 0;
    bottom: -2.5em;
    color: transparent; /* hide text values */

    -webkit-transition: height 0.8s ease-out, bottom 0.8s ease-out;
    -moz-transition: height 0.8s ease-out, bottom 0.8s ease-out;
    -o-transition: height 0.8s ease-out, bottom 0.8s ease-out;
    -ms-transition: height 0.8s ease-out, bottom 0.8s ease-out;
    transition: height 0.8s ease-out, bottom 0.8s ease-out;
}

/* Right panel */
.bar-inner:before {
    background-color: rgba(255, 153, 0, .8);
}

/* Top panel */
.bar-inner:after {
    background-color: rgba(255, 153, 0, .7);
}

.bar-inner2 {
    left: 2.9em !important;
    background-color: rgba(0, 102, 255, 0.7);
}

/* Right panel */
.bar-inner2:before {
    background-color: rgba(0, 102, 255, 0.8);
}

/* Top panel */
.bar-inner2:after {
    background-color: rgba(0, 102, 255, 0.7);
}

@media screen and (max-width: 768px) {
    .bar-inner {
        width: 2em;
    }

    .bar-inner2 {
        left: 2em !important;
    }
}

/******************************************************************************
 **                                                                          **
 ** UI Elements                                                              **
 **                                                                          **
 ** You don't need this stuff in general, it's just used  for the demo page  **
 **                                                                          **
 ******************************************************************************/


/* Change bars fill when a Product is selected */

/* Product 1 */
.graph-container > li:nth-child(1) .bar-inner {
    height: 0;
    bottom: 0;
    transition: height 2s;
    -webkit-transition: height 2s;
}

.graph-container > li:nth-child(1) .bar-inner2 {
    height: 0;
    bottom: 0;
    transition: height 2s;
    -webkit-transition: height 2s;
}

.graph-container > li:nth-child(2) .bar-inner {
    height: 0;
    bottom: 0;
    transition: height 2s;
    -webkit-transition: height 2s;
}

.graph-container > li:nth-child(2) .bar-inner2 {
    height: 0;
    bottom: 0;
    transition: height 2s;
    -webkit-transition: height 2s;
}

.graph-container > li:nth-child(3) .bar-inner {
    height: 0;
    bottom: 0;
    transition: height 2s;
    -webkit-transition: height 2s;
}

.graph-container > li:nth-child(3) .bar-inner2 {
    height: 0;
    bottom: 0;
    transition: height 2s;
    -webkit-transition: height 2s;
}

.graph-container > li:nth-child(4) .bar-inner {
    height: 0;
    bottom: 0;
    transition: height 2s;
    -webkit-transition: height 2s;
}

.graph-container > li:nth-child(4) .bar-inner2 {
    height: 0;
    bottom: 0;
    transition: height 2s;
    -webkit-transition: height 2s;
}


.graph-container > li:nth-child(1) .changeHeight {
    height: 62.5%;
}

.graph-container > li:nth-child(1) .bar-inner2.changeHeight {
    height: 77%;
}

.graph-container > li:nth-child(2) .changeHeight {
    height: 39%;
}

.graph-container > li:nth-child(2) .bar-inner2.changeHeight {
    height: 35%;
}

.graph-container > li:nth-child(3) .changeHeight {
    height: 80%;
}

.graph-container > li:nth-child(3) .bar-inner2.changeHeight {
    height: 90%;
}

.graph-container > li:nth-child(4) .changeHeight {
    height: 80%;
}

.graph-container > li:nth-child(4) .bar-inner2.changeHeight {
    height: 90%;
}


.graph-container .bar-container,
.graph-container:after,
.graph-container > li:last-child {
    height: 15em;
}

/******************************************************************************
 **                                                                          **
 ** VARIABLES                                                                **
 **                                                                          **
 ******************************************************************************/

/****************
 * SPACING      *
 ****************/

/* spacing between bars */
.graph-container > li .bar-container {
    margin-right: 1.5em;
}

/* spacing before first bar */
.graph-container > li:first-child {
    margin-left: 1.5em;
}

/* spacing after last bar */
.graph-container > li:nth-last-child(2) .bar-container {
    margin-right: 1em;
}

@media screen and (max-width: 600px) {
    /* spacing between bars */
    .graph-container > li .bar-container {
        margin-right: -4.5em;
    }

    /* spacing before first bar */
    .graph-container > li:first-child {
        margin-left: 0em;
    }

    /* spacing after last bar */
    .graph-container > li:nth-last-child(2) .bar-container {
        margin-right: -4.5em;
    }
}

/******************************************************************************
 **                                                                          **
 ** RESPONSIVENESS                                                           **
 **                                                                          **
 ** Just as an example to show you the way how to resize the graph 			 **
 **                                                                          **
 ******************************************************************************/

@media screen and (max-width: 1125px) {
    .graph-container {
        font-size: 0.7em;
    }

}

@media screen and (max-width: 1050px) {
    .graph-container {
        font-size: 0.6em;
    }
}

@media screen and (max-width: 900px) {
    .button-label {
        margin: 0 10px 0 0;
    }

    .button-label:before {
        content: "\A";
        white-space: pre;
    }


}

@media screen and (max-width: 765px) {
    .graph-container {
        font-size: 0.5em;
    }

}

@media screen and (max-width: 720px) {
    .graph-container {
        font-size: 0.45em;
    }

    .graph-container > li > span {
        bottom: -7em;
    }

}

@media screen and (max-width: 630px) {
    .graph-container {
        font-size: 0.32em;
    }

    .graph-container > li > span {
        /*bottom: -7em;*/
    }
}

@media screen and (max-width: 360px) {
    .graph-container {
        font-size: 0.22em;
    }

    .button-label {
        margin: 0 5px 0 0;
    }

    .graph-container > li > span {
        bottom: -7em;
    }

}


/*chart*/

.year_1980 {
    color: rgb(255, 153, 0);
}

.year_2010 {
    color: rgb(0, 102, 255);
}

.graph-container:before {
    width: 100%;
}

.graph-container:after {
    width: 2.5em;
}

@media screen and (min-width: 1125px) {
    .graph-container {
        font-size: 0.7em;
    }

}

.line-chart-graph {
    min-height: 400px;
    width: 100%;
    margin-bottom: 50px;
    margin-top: 20px;
}

.graph-caption {
    line-height: 1.6em;
    background-color: navajowhite;
    padding: 10px;

}

.main-topic-a {
    width: 55%;

}


.modal-chart {
    min-height: 250px;
    width: 100%;
    margin: 0;
}

.q-circle {
    margin-bottom: 20px;
    color: #8A7620;
}

.li-circle label {
    color: #8A7620;
}

#second-set, #third-set {
    display: none;
}

.mutiple-queries {
    background-color: rgb(249, 238, 154, 0.5);
    padding: 30px;
    width: 60%;
    margin: auto;
    border: dotted white 3px;
}


.mainDiagramDiv .graph-container:before {
    background-color: transparent;
}

.mainDiagramDiv .bar-container:before {
    border-color: transparent transparent;
}

.mainDiagramDiv .graph-marker-container span {
    top: 0.35em;
    color: #808080;
}

.mainDiagramDiv .graph-container:after {
    top: 3.6em;
}

.mainDiagramDiv .graph-container {
    font-size: 0.6em;
}

.mainDiagramDiv .graph-container > li > span {
    bottom: -2em;
}

.small-scale-bar, .small-scale-bar-voc, .small-scale-bar-dev {
    display: none;
    width: 85%;
    margin-left: auto;
    margin-right: auto
}

@media screen and (max-width: 657px) {
    .small-scale-bar {
        display: block;
    }

    .graph-container {
        display: none
    }
}


.cover {
    border-bottom: solid 12px #F5F1B1;
    position: relative;
    z-index: 2000;
    bottom: 14px;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.table-chart th {
    background-color: #F1D161;
}

.table-chart td {
    background-color: white;
    text-align: center;
}

.table-chart td:hover {
    background-color: #FAC2DD;
    cursor: pointer;
}

.table-chart .indicator-table {
    background-color: #15D8B8;
}

.process-diagram {
    width: 99.99%;
}

.topic-text-question {
    margin: 1% auto 3% auto;
    width: 70%;
    border: #FCAC23 2px solid;
    border-radius: 10px;
    padding: 15px;
    color: #252525;
    font-size: 1.16em;
    text-align: justify;
    background-color: transparent;
    cursor: pointer;
}

.topic-text-question .span-topic-text {
    font-size: 24px;
    font-weight: bold
}

.answer-question {
    width: 100%;
    margin: 0 auto;
}

.cursor-pointer {
    cursor: pointer;
}

.map-scale {
    width: 95%;
}












/* Mobile */
@media only screen and (max-width: 479px) {

    .main-topic-a {
        width: 80%;

    }

    .menu-wrap span {
        font-size: smaller;
    }

    .header-left img {
        display: none;
    }

    .header-right img {
        display: none;
    }

    .top-progress {
        margin: 0 auto 5% auto;
        width: 80%;
        padding: 5px;
    }

    .menu-button {
        width: 2em;
        height: 2em;
    }

    .show-menu .menu-wrap {
        width: 200px !important;
        height: 280px !important;
    }

    .md-modal {
        width: 85% !important;
    }

    .md-effect-7 {
        left: 135% !important;
    }

    .topic_text {
        width: 80% !important;
    }


    .pencil {
        float: left;
        width: 35%;
        position: static;
    }

    .footer-lesson-image, .footer-answer-image, .footer-tip-image {
        width: 35% !important;
    }

}

/* Tablet */
@media only screen and (min-width: 480px) and (max-width: 767px) {

    .main-topic-a {
        width: 80%;

    }

    .menu-wrap span {
        font-size: smaller;
    }

    .header-left img {
        display: none;
    }

    .header-right img {
        display: none;
    }

    .top-progress {
        margin: 3% auto 5% auto;
        width: 85% !important;
    }


    footer {
        height: 50px;
    }

    .menu-button {
        width: 2em;
        height: 2em;
    }

    .show-menu .menu-wrap {
        width: 200px !important;
    }

    .md-modal {
        width: 75% !important;
    }

    .md-effect-7 {
        left: 125% !important;;
    }

    .topic_text {
        width: 85% !important;
    }

    .pencil {
        float: left;
        width: 35%;
        position: static;
    }

    .footer-lesson-image, .footer-answer-image, .footer-tip-image {
        width: 45% !important;
    }

}

/* Larger than tablet */
@media only screen and (min-width: 768px) and (max-width: 999px) {

    .header-left img {
        display: none;
    }

    .header-right img {
        display: none;
    }

    .top-progress {
        margin: 3% auto 5% auto;
        width: 85%;
    }

    .md-modal {
        width: 55% !important;
    }

    .md-effect-7 {
        left: 90% !important;
    }

    .topic_text {
        width: 85% !important;
    }


}

/* Larger than desktop */
@media (min-width: 1000px) {

    .top-progress {
        width: 85%;
    }

    .md-effect-7 {
        left: 50% !important;
        width: 30% !important;
    }

}

/* Larger than Desktop HD */
@media only screen and (min-width: 1000px) and (max-width: 1169px) {
}


@media (max-width: 700px) {

    table {
        width: 100%;
        font-size: smaller;
    }

}


@media all and (max-width: 600px) {
    td, th {
        padding: 10px;
        text-align: left;
        font-size: smaller;
    }

    td, th {
        border-left: solid 1px #a4fedb;
    }

    table {
        width: 100%;
    }
}


/* Mobile and Tablet*/
@media only screen and (max-width: 999px) {

    .main-topic-a {
        width: 80%;

    }


    .question1, .question2 {
        width: 90%;
    }

    .left-left1, .left-left2 {
        width: 90%;
        margin-bottom: 50px;
    }

    .right-right1, .right-right2 {
        width: 95%;
    }

    .img-answer1, .img-answer2 {
        position: relative;
        top: -60px;
        right: -200px;
    }

    .ansers1 {
        float: left;
        margin-left: 15px;
        font-size: 13px
    }

    .space-bottom {
        height: 600px;
    }

    .answer {
        left: 15%;
    }

}

@media screen and (max-width: 50em) {
    .grid__item {
        font-size: 1.5em;
    }

    .drop-area {
        font-size: 0.8em;
    }
}

@media screen and (max-width: 25.5em) {
    .grid {
        padding: 0 2em;
    }

    .grid__item {
        font-size: 1em;
    }
}

/* Media Queries */
@media screen and (max-width: 50em) {
    section {
        font-size: 80%;
    }
}

