/* Global */
@font-face {
    font-family: Thongterm;
    src: url(Thongterm.ttf);
}

@font-face {
    font-family: FCSubjectRounded;
    src: url(FCSubjectRounded-Regular.ttf);
}

@font-face {
    font-family: FCSubjectRoundedExtraLight;
    src: url(FCSubjectRounded-ExtraLight.ttf);
}

html, body {
    font-family: FCSubjectRounded;
    color: #414141;
    font-size: 1em;
    margin: 0px;
    padding: 0px;
    line-height: 1.5em;
}

p, ol, ul {
    font-family: Thongterm;
    color: #414141;
}

.body-wrapper {
    color: #414141;
    font-size: 1em;
}

/* User sub-system */

.flash-message {
    border-bottom: 2px solid #E6E6E6;
}

.flash-message p {
    font-family: FCSubjectRounded;
    color: #2898D0;
    text-align: center;
    padding: 0px 15px;
}

.loggedin-only {
    color: #2898D0;
    background-color: #FFFFFF;
    padding: 5px;
}

.login-wrapper {
    margin: auto;
    max-width: 600px;
    background-color: #ffffff;
    padding: 0em;
    border-radius: 12px;
}

/* .login-wrapper h1, .login-wrapper p {
    text-align: center;
} */

.login-wrapper-padded {
    margin: auto;
    max-width: 600px;
    background-color: #ffffff;
    padding: 1em 2em;
    border-radius: 12px;
}

/* Content */

h1 {
    font-size: 2.2em;
    line-height: 1.3em;
    color: #000000;
}

h1.blue {
    color: #3EBFFF;
}

h1.dark-blue {
    color: #2898D0;
}

h1.extralight {
    font-family: FCSubjectRoundedExtraLight;
    color: #3c3c3c;
}

h1.extralight-blue {
    font-family: FCSubjectRoundedExtraLight;
    color: #3EBFFF;
}

h2 {
    font-size: 1.8em;
    line-height: 1.3em;
    color: #212121;
}

h2.blue {
    color: #3EBFFF;
}

h3 {
    font-size: 1.5em;
    line-height: 1.3em;
    color: #2898D0;
}

h4 {
    font-size: 1.2em;
    line-height: 1.3em;
    color: #212121;
    margin-bottom: 0.75em;
}

h4.white {
    font-size: 1.3em;
    line-height: 1.3em;
    color: #ffffff;
    margin-top: 0.75em;
    margin-bottom: 0em;
}

.sans {
    font-family: FCSubjectRounded;
}

p.breadcrumb {
    font-family: FCSubjectRoundedExtraLight;
    font-size: 0.85em;
}

img {
    max-width: 100%;
    height: auto;
}

img.half {
    max-width: 50%;
    height: auto;
}

img.placeholder {
    opacity: 1;
}

img.content-center {
    max-width: 90%;
    height: auto;
    display: block;
    margin: auto;
    margin-top: 2em;
    margin-bottom: 2em;
    border-radius: 12px;
}

img.icon-left {
    display: inline-block;
    height: 1em;
    vertical-align: middle;
    margin-right: 0.5em;
}

img.icon-right {
    display: inline-block;
    height: 1em;
    vertical-align: -0.15em;
    margin-left: 0.5em;
    /* filter: brightness(120%); */
}

hr {
    border: 0.5px solid #e6e6e6;
}

hr.blue {
    border: 0.5px solid #2898D0;
}

blockquote {
    background-color: #FAFAFA;
    border-left: 8px solid #FF5858;
    padding: 0.25em 1em;
    margin-left: 0px;
    margin-right: 0px;
}

.spacer-small {
    height: 0.2em;
}

.spacer-big {
    height: 0.4em;
}

.float-left {
    float: left;
    clear: both;
}

.align-center {
    text-align: center;
}

.align-right {
    text-align: right;
}

.flex-break {
    flex-basis: 100%;
    height: 0;
}

a:link, a:visited {
    color: #404040;
    text-decoration: underline dotted #999999;
}

a:hover, a:active {
    color: #2898D0;
    text-decoration: underline dotted #999999;
    transition: color 0.3s;
}

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

.continue a:link, .continue a:visited {
    display: inline-block;
    color: #f8f8f8;
    font-size: 0.9em;
    text-decoration: none;
    border-bottom: none;
    border-radius: 8px;
    background-color: #10A4F2;
    opacity: 0.8;
    padding: 10px 20px;
    margin: 0.5em 0em;
}

.continue a:hover, .continue a:active {
    display: inline-block;
    color: #f8f8f8;
    font-size: 0.9em;
    text-decoration: none;
    border-bottom: none;
    border-radius: 8px;
    background-color: #10A4F2;
    opacity: 1;
    padding: 10px 20px;
    transition: opacity 0.3s;
    margin: 0.5em 0em;
}

.continue-invert a:link, .continue-invert a:visited {
    display: inline-block;
    color: #5984F8;
    font-size: 0.9em;
    text-decoration: none;
    border-bottom: none;
    border-radius: 8px;
    background-color: #f8f8f8;
    opacity: 0.8;
    padding: 10px 20px;
    margin: 0.5em 0em;
}

.continue-invert a:hover, .continue-invert a:active {
    display: inline-block;
    color: #5984F8;
    font-size: 0.9em;
    text-decoration: none;
    border-bottom: none;
    border-radius: 8px;
    background-color: #f8f8f8;
    opacity: 1;
    padding: 10px 20px;
    transition: opacity 0.3s;
    margin: 0.5em 0em;
}

a.see-more:link, a.see-more:visited {
    float: right;
    font-family: FCSubjectRounded;
    color: #414141;
    text-decoration: none;
    margin: 1em 1em 0em 0em;
}

a.see-more:hover, a.see-more:active {
    float: right;
    font-family: FCSubjectRounded;
    color: #10A4F2;
    text-decoration: none;
    margin: 1em 1em 0em 0em;
}

.wide-80 {
    display: inline-block;
    width: 80%;
}

.wide-75 {
    display: inline-block;
    width: 75%;
}

.gray-zone {
    background-color: #f5f5f5;
    padding: 15px 25px;
    border-radius: 8px;
}

.passed-zone {
    background-color: #DBF2FF;
    padding: 5px 15px;
    border: 2px solid #2898D0;
    border-radius: 8px;
}

.caution-zone {
    background-color: #ffffff;
    padding: 5px 15px;
    border: 2px solid #FF5858;
    border-radius: 8px;
}

.caution a:link, .caution a:visited {
    display: inline-block;
    color: #FF5858;
    font-size: 0.9em;
    border-bottom: 1px dotted #FF5858;
    background-color: none;
    margin: 0px 15px 0px 0px;
}

.caution a:hover, .caution a:active {
    display: inline-block;
    color: #FF5858;
    font-size: 0.9em;
    border-bottom: 1px dotted #FF5858;
    background-color: none;
    margin: 0px 15px 0px 0px;
    transition: color 0.3s;
}

.blue-em {
    color:  #2898D0;
    font-weight: bold;
}

.blue {
    color:  #2898D0;
}

.blue-light {
    color:  #2898D0;
    font-weight: lighter;
}

.red-em {
    color:  #FF5858;
    font-weight: bold;
}

.red {
    color:  #FF5858;
}

.red-required {
    display: block;
    float: left;
    color:  #FF5858;
    margin-right: 0.2em;
}

.gray-em {
    color: #6D7175;
    font-weight: bold;
}

.pid-selected {
    font-weight: bold;
    border: 2px solid #2898D0;
    padding: 0rem 0.5rem;
}

.pid {
    padding: 0rem 0.5rem;
}

.help-text {
    color: #6D7175;
    font-size: 0.8em;
}

p.activities-sub-header {
    font-size: 1.25em;
    color: #6D7175;
    line-height: 1.6em;
    padding: 1em 6em;
}

table {
    font-size: 0.85em;
    border-collapse: separate;
    border-spacing: 0px 10px;
}

th {
    border-bottom: 1px solid #cccccc;
    text-align: left;
    padding: 7px;
}

td {
    vertical-align: top;
    padding: 7px;
}

table.view-count {
    font-size: 0.85em;
    border-collapse: separate;
    border-spacing: 0px;
}

td.view-count {
    color: #999999;
    font-size: 0.75em;
    vertical-align: middle;
    padding: 0px 5px 0px 0px;
}

td.view-count img {
    display: block;
    height: 16px;
    width: auto;
    opacity: 0.6;
}

progress[value] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: inline-block;
    vertical-align: middle;
}

progress[value].incomplete {
    height: 1em;
    width: 80%;
    background-color: #f4f4f4;
    border: none;
    border-radius: 8px;
}

progress[value].incomplete::-webkit-progress-bar {
    background-color: #f4f4f4;
    border-radius: 8px;
}

progress[value].incomplete::-webkit-progress-value {
    background-color: #FCD853;
    border-radius: 8px;
}

progress[value].incomplete::-moz-progress-bar {
    background-color: #FCD853;
    border-radius: 8px;
}

progress[value].complete {
    height: 1em;
    width: 80%;
    background-color: #f4f4f4;
    border: none;
    border-radius: 8px;
}

progress[value].complete::-webkit-progress-bar {
    background-color: #f4f4f4;
    border-radius: 8px;
}

progress[value].complete::-webkit-progress-value {
    background-color: #03DAC5;
    border-radius: 8px;
}

progress[value].complete::-moz-progress-bar {
    background-color: #03DAC5;
    border-radius: 8px;
}

progress[value].mini-incomplete {
    height: 1em;
    width: 4em;
    background-color: #f4f4f4;
    border: none;
}

progress[value].mini-incomplete::-webkit-progress-bar {
    background-color: #f4f4f4;
}

progress[value].mini-incomplete::-webkit-progress-value {
    background-color: #FCD853;
}

progress[value].mini-incomplete::-moz-progress-bar {
    background-color: #FCD853;
}

progress[value].mini-complete {
    height: 1em;
    width: 4em;
    background-color: #f4f4f4;
    border: none;
}

progress[value].mini-complete::-webkit-progress-bar {
    background-color: #f4f4f4;
}

progress[value].mini-complete::-webkit-progress-value {
    background-color: #03DAC5;
}

progress[value].mini-complete::-moz-progress-bar {
    background-color: #03DAC5;
}

.circle-close {
    display: flex;
    margin-left: auto;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #ffffff;
    height: 1.5em;
    width: 1.5em;
    border: 1px solid #e6e6e6;
    border-radius: 100%;
    padding: 10px;
}

/* Video */

.iframe-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
  }
  
.iframe-item {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }

/* Input and Form */

.form-wrapper {
    padding: 0em 2em 1em 2em;
}

.form-wrapper-login {
    display: block;
    max-width: 240px;
    margin: auto;
    text-align: center;
    padding: 0em 0em 1em 0em;
}

p.form-label {
    font-family: FCSubjectRounded;
    font-size: 0.85em;
    text-align: left;
    margin: 0.25em 0em;
}

.instruction-wrapper {
    display: flex;
    gap: 1em;
}

.instruction {
    flex: 1 1 50%;
    font-size: 0.75em;
    color: #6D7175;
    background-color: #fafafa;
    padding: 0px 10px 0px 10px;
    border: 1px dotted #6D7175;
    margin-bottom: 15px;
}

.instruction table {
    margin-left: 10px;
}

.instruction td {
    padding: 3px 6px 3px 6px;
    margin: 3px;
    border: 1px solid #cccccc;
}

.info-box {
    background: #FFFFFF;
    padding: 10px 15px 10px 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 3px #cccccc;
}

label {
    display: block;
    font-size: 0.85em;
    margin-bottom: 10px;
}

input, input[type="email"] {
    accent-color: #10A4F2;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #cccccc;
}

input[type="text"].inline-text {
    display: inline-block;
    margin-left: 0.3em;
    margin-right: 0.3em;
    margin-bottom: 0em;
    width: 5em;
}

input.edit-tool {
    display: inline-block;
    width: 280px;
    background-color: #E6E6E6;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: none;
}

input[type="radio"] {
    float: left;
    margin: 6px 6px 6px 4px;
    padding: 6px;
    vertical-align: middle;
    clear: both;
}

input[type="checkbox"] {
    float: left;
    margin: 6px 6px 6px 4px;
    padding: 6px;
    vertical-align: middle;
    clear: both;
}

input.input-login {
    width: 240px;
}

textarea {
    width: 90%;
    height: 200px;
    padding: 10px;
    accent-color: #10A4F2;
}

select {
    display: block;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    color: #767676;
    background-color: #ffffff;
    outline: 0;
    border: 1px solid #cccccc;
    padding: 0.7em 0.5em;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 20px;
  }

p.form-red {
    font-family: FCSubjectRoundedExtraLight;
    text-align: left;
    margin-top: -15px;
    color: #FF5858;
    font-size: 0.75em;
    line-height: 1.5em;
}

p.form-info {
    font-family: FCSubjectRoundedExtraLight;
    color: #212121;
    font-size: 0.85em;
    line-height: 1.5em;
}

.text-gray {
    color: #cccccc;
}

.circle-with-text {
    display: flex;
    margin: auto;
    margin-top: -2em;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #ffffff;
    height: 1.5em;
    width: 1.5em;
    border: 1px solid #e6e6e6;
    border-radius: 100%;
    padding: 10px;
}

.button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.button {
    text-align: center;
    color: #FFFFFF;
    padding: 10px 25px 10px 25px;
    background-color: #10A4F2;
    opacity: 0.8;
    border: none;
    border-radius: 8px;
    box-shadow: 0px 0px 3px #cccccc;
    cursor: pointer;
}

.button:hover {
    opacity: 1;
    transition: opacity 0.3s;
}

.signup-banner-wrapper {
    background-color: #10A4F2;
    text-align: center;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.signup-banner-wrapper img {
    vertical-align: bottom;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.profile-banner-wrapper {
    text-align: center;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.profile-banner-wrapper img {
    vertical-align: bottom;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.profile-shortcut-zone {
    font-size: 0.9em;
    background-color: #DBF2FF;
    padding: 1em;
}

.profile-shortcut-zone a {
    display: inline-block;
}

/* Uploader */

.uploader-wrapper {
    display: flex;
    width: 33%;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0px 0px 3px #cccccc;
    margin-bottom: 15px;
}

.uploader-content {
    flex: 1 1 65%;
    padding: 10px 10px 10px 15px;
    border-left: 1px solid #E6E6E6;
}

.uploader-content img {
    display: block;
    max-width: 100%;
    height: auto;
}

.uploader-content p {
    font-size: 0.8em;
    color: #999999;
}

.uploader-tool {
    flex: 1 1 35%;
    position: relative;
}

.uploader-tool-vertical-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

button.uploader {
    background-color: #ffffff;
    border: none;
}

.arrow-up {
    width: 0; 
    height: 0; 
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #2898D0;
}

.arrow-up:hover {
    border-bottom: 10px solid #2898D0;
}

.arrow-down {
    width: 0; 
    height: 0; 
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #2898D0;
}

.arrow-down:hover {
    border-top: 10px solid #2898D0;
}

span.arrow-text {
    font-size: 0.8em;
    color: #999999;
}

/* Header */

header {
    max-width: 1118px;
    margin-left: auto;
    margin-right: auto;
}

.header-flex-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0px 25px 0px 25px;
    background-color: #FFFFFF;
}

.header-logo-block {
    flex: 1 1 20%;
}

.header-logo-block a:link, .header-logo-block a:visited, .header-logo-block a:hover, .header-logo-block a:active {
    border-bottom: none;
}

.header-logo-block img {
    width: 200px;
    float: left;
    margin: 1.25em 1em 10px 0px;
}

h1.header {
    display: inline-block;
    font-size: 1.5em;
    line-height: 1em;
    color: #212121;
    border-left: 1px solid #6D7175;
    padding: 0px 0px 0px 1em;
    margin-top: 42px;
}

span.header {
    font-size: 0.75em;
    color: #2898D0;
    font-weight: normal;
}

.header-nav-toggle {
    display: none;
    float: right;
    margin-top: 1em;
}

.button-menu-toggle {
    font-family: FCSubjectRounded;
    color: #4f4f4f;
    font-size: 0.9em;
    background-color: #ffffff;
    text-align: right;
    padding: 42px 0px 30px 30px;
    border: none;
    cursor: pointer;
}

.header-nav-mobile {
    display: none;
    position: fixed;
    top: 1em;
    left: 1em;
    width: 65%;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 0px 2px #cccccc;
    animation: fadeInAnimation ease 0.7s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    z-index: 1;
}

.nav-item-mobile {
    display: block;
    width: 90%;
    border-bottom: 1px solid #cccccc;
    margin: 0px 0px 1em 0px;
    padding: 0.8em;
}

.nav-item-mobile:hover {
    transition: color 0.3s;
}

.nav-item-mobile a:link, .nav-item-mobile a:visited {
    font-family: FCSubjectRounded;
    border-bottom: none;
    text-decoration: none;
}

.nav-item-mobile a:hover, .nav-item-mobile a:active {
    font-family: FCSubjectRounded;
    color: #2898D0;
    border-bottom: none;
    text-decoration: none;
}

.header-nav-block {
    flex: 1 1 80%;
    text-align: right;
    padding: 3.25em 0 0.5em 0;
}

.nav-item {
    display: inline-block;
    padding: 0px 10px 0px 10px;
}

.nav-item a:link, .nav-item a:visited {
    font-weight: bold;
    padding-bottom: 0.45em;
    border-bottom: none;
}

.nav-item a:hover, .nav-item a:active {
    color: #2898D0;
    font-weight: bold;
    padding-bottom: 0.45em;
    border-bottom: 4px solid #2898D0;
    transition: color 0.3s;
}

.profile-item a:link, .profile-item a:visited {
    font-family: FCSubjectRoundedExtraLight;
    color: #A7A7A7;
}

.profile-item a:hover, .profile-item a:active {
    font-family: FCSubjectRoundedExtraLight;
    color: #A7A7A7;
}

img.header-profile-img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 50%;
    vertical-align: middle;
    margin-left: 0.5em;
}

/* Main content area */

.gray-wrapper {
    margin: auto;
    padding: 45px 25px 65px 25px;
    background: #f8f8f8;
}

.main-wrapper {
    max-width: 1048px;
    margin: auto;
    padding: 25px 25px 65px 25px;
    background: #ffffff;
}

.main-flex-wrapper {
    display: flex;
    align-items: flex-start;
}

.main-flex-left {
    flex: 1 1 70%;
    margin-right: 20px;
}

.main-flex-right {
    flex: 1 1 30%;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0px 0px 3px #cccccc;
    padding: 0px 15px 0px 20px;
}

p img {
    display: block;
    width: 60%;
    margin: 0 auto;
    margin-top: 2em;
    margin-bottom: 2em;
    border-radius: 12px;
}

/* Home */

.white-wrapper {
    margin: auto;
    padding: 45px 0px 65px 0px;
    background: #ffffff;
}

.learning-wrapper {
    margin: auto;
    padding: 45px 45px 65px 45px;
    background: #ffffff;
    background-image: url('/static/home-learning-banner.svg');
    background-repeat: no-repeat;
    background-size: cover;
}

.database-wrapper {
    margin: auto;
    padding: 0px;
    background: #ffffff;
}

.no-padding {
    padding: 0px;
}

.lightblue-wrapper {
    margin: auto;
    padding: 25px 25px 25px 25px;
    background-color: #4762AD;
    border-bottom-left-radius: 100% 6%;
    border-bottom-right-radius: 100% 6%;
}

.inner-wrapper {
    max-width: 1048px;
    margin: auto;
}

.bg1-wrapper {
    margin: auto;
    padding: 15px 25px 65px 25px;
    background-image: url('/static/home-bg-01.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.bg2-wrapper {
    margin: auto;
    padding: 45px 25px 65px 25px;
    background-image: url('/static/home-bg-02.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.narrow {
    display: block;
    margin: 0 auto;
    width: 60%;
}

.home-feature-wrapper {
    display: flex;
    gap: 2em;
}

.home-feature-primary {
    flex: 1 1 75%;
}

.home-feature-primary img {
    width: 100%;
    height: 38vh;
    object-fit: cover;
    border-radius: 8px;
}

.home-feature-secondary {
    flex: 1 1 25%;
}

.home-feature-secondary img {
    width: 100%;
    height: 11.7vh;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1vh;
}

.home-fixed-card-wrapper {
    display: flex;
    justify-content: center;
}

.home-card-wrapper {
    display: flex;
    align-items: flex-start;
}

.home-card-learning {
    flex: 1 1 25%;
    max-width: 45%;
    color: #ffffff;
    text-align: left;
    background-color: #03DAC5;
    padding: 0em 1em;
    margin: 0.5em;
    border-radius: 8px;
}

.home-card-database {
    flex: 1 1 25%;
    max-width: 45%;
    color: #ffffff;
    text-align: left;
    background-color: #FA804F;
    padding: 0em 1em;
    margin: 0.5em;
    border-radius: 8px;
}

.home-card-activities {
    flex: 1 1 25%;
    max-width: 45%;
    color: #ffffff;
    text-align: left;
    background-color: #FFC322;
    padding: 0em 1em;
    margin: 0.5em;
    border-radius: 8px;
}

.home-card-consult {
    flex: 1 1 25%;
    max-width: 45%;
    color: #ffffff;
    text-align: left;
    background-color: #FF9BBD;
    padding: 0em 1em;
    margin: 0.5em;
    border-radius: 8px;
}

.home-zone-learning {
    margin-right: 2em;
    margin-left: auto;
    width: 33%;
    background-color: #ffffff;
    padding: 1.5em 2em;
    border-radius: 8px;
    box-shadow: 0px 0px 3px #cccccc;
}

.home-card-database-wrapper {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: center;
}

.home-card-database-item {
    flex: 1 1 33%;
    max-width: 33%;
    text-align: left;
    padding: 0em;
    margin: 0.5em;
    background-color: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
}

.database-item-lesswidth {
    max-width: 30%;
}

.home-card-database-item:hover {
    color: #4762AD;
    border: 1px solid #4762AD;
    border-radius: 8px;
    transition: 0.3s border;
}

.home-card-database-item img {
    display: block;
    width: 100%;
    height: auto;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.home-card-database-item-inner {
    padding: 0em 1em;
}

.home-card-database-item-inner h4 {
    margin: 0.75em 0em 0.25em 0em;
}

img.home-banner {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
    border-radius: 8px;
}

div.pagination-wrapper {
    margin: 0 auto;
    text-align: center;
    padding: 0rem 200px;
}

/* Sidebar navigation */

.nav-item-course {
    display: block;
    font-size: 1.25em;
    line-height: 1.75em;
    padding: 5px;
}

.nav-item-course-selected {
    display: block;
    font-size: 1.25em;
    line-height: 1.75em;
    background-color: #D3F0FF;
    padding: 5px 0.5em;
}

.nav-item-module {
    display: block;
    font-size: 0.9em;
    font-weight: bold;
    line-height: 2.25em;
    padding: 5px;
    border-bottom: 0.5px solid #e6e6e6;
    margin-bottom: 0.25em;
}

.nav-item-module-selected {
    display: block;
    font-size: 0.9em;
    font-weight: bold;
    line-height: 2.25em;
    background-color: #D3F0FF;
    padding: 5px 0.5em;
    margin-bottom: 0.25em;
}

.nav-item-lesson {
    display: block;
    font-size: 0.8em;
    line-height: 2.25em;
    margin-left: 1.5em;
    padding: 5px;
}

.nav-item-lesson-selected {
    display: block;
    font-size: 0.8em;
    line-height: 2.25em;
    background-color: #D3F0FF;
    margin-left: 1.5em;
    padding: 5px 0.5em;
}

/* Course */

.course-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.course-flex {
    flex: 1 1 100%;
    max-width: 260px;
    padding: 0px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 0px 3px #cccccc;
    margin: 10px;
}

.course-item-flex {
    flex: 1 1 100%;
    padding: 5px 15px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 0px 3px #cccccc;
    margin: 10px;
}

img.course-icon {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: -1em;
    width: 100%;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.course-flex h4 {
    margin-left: 1em;
    margin-right: 1em;
}

img.activity-example {
    display: inline-block;
    max-height: 250px;
    width: auto;
    box-shadow: 1px 1px 5px #cccccc;
    margin: 0px 10px 10px 10px;
}

.home-activity-wrapper {
    background-color: #EEE5DC;
    padding: 15px;
    border: 2px solid #2898D0;
    border-radius: 8px;
}

table.course-content {
    width: 100%;
    font-size: 0.9em;
    border-collapse: collapse;
}

tr.course-content-module {
    border-top: 1px solid #e6e6e6;
    line-height: 2em;
}

td.spacer {
    height: 0.25em;
}

tr.course-content-lesson {
    font-size: 0.9em;
    line-height: 2.5em;
}

tr.course-content-lesson:hover {
    background-color: #D3F0FF;
    transition: 0.3s background-color;
}

td.course-content-col-1 {
    width: 100%;
    color: #C3C7CA;
    vertical-align: top;
    padding: 0.33em 0.5em 0.1em 0em;
}

td.lesson {
    padding-left: 1em;
}

td.course-content-col-2 {
    min-width: 6em;
    vertical-align: top;
    padding: 0.33em 0.5em 0.1em 0em;
}

.course-content-col-2 img, .course-content-col-2 span {
    vertical-align: top;
    margin-top: -0.33em;
}

td.course-content-col-3 {
    min-width: 4em;
    vertical-align: top;
    padding: 0.33em 0em 0.1em 0em;
}

.review-wrapper {
    background-color: #FAFAFA;
    padding: 1em 1.5em;
}

img.review-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 0.5em;
}

.review-author {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 0.5em;
}

.review-description {
    font-family: Thongterm;
    font-size: 1.1em;
}

td.course-sidebar-col-left {
    padding-top: 1em;
    min-width: 40px;
}

td.course-sidebar-col-left img {
    width: 36px;
    height: 36px;
}

.course-sidebar-col-right p {
    font-family: FCSubjectRounded;
    margin-top: 0em;
    margin-bottom: 0em;
}

.course-sidebar-col-right ul, .course-sidebar-col-right ol  {
    font-family: FCSubjectRounded;
    margin-top: 0em;
    margin-bottom: 0em;
    padding-left: 1em;
}

/* Lesson */

.black-wrapper {
    margin: auto;
    padding: 0px 25px 0px 25px;
    background: #000000;
    margin-top: -25px;
    margin-bottom: 15px;
}

.black-inner-wrapper {
    max-width: 1048px;
    margin: auto;
    padding: 15px 0px 30px 0px;
    background: #000000;
}

/* Activity */

#questionTitle {
    font-family: FCSubjectRoundedExtraLight;
    color: #707070;
    margin-top: 0.25em;
}

.activity-wrapper {
    font-family: Thongterm;
    background-color: #ffffff;
    padding: 10px 0px 20px 0px;
    margin-bottom: 10px;
    border-top: 0.5px solid #e6e6e6;
}

img.feedback-true {
    float: left;
    width: 100px;
    padding-right: 10px;
    clear: both;
}

img.feedback-false {
    float: left;
    width: 100px;
    padding-right: 10px;
    clear: both;
}

p.feedback {
    display: table;
    padding-top: 1.5em;
}

/* Post Test */
.post-test-instruction {
    font-size: 0.9em;
    background-color: #DBF2FF;
    padding: 0.5em 1em;
    border-radius: 12px;
}

.post-test-wrapper {
    margin: auto;
    max-width: 800px;
    background-color: #ffffff;
    padding: 1em 2em;
    border-radius: 12px;
}

/* Profile */
.profile-wrapper {
    margin: auto;
    max-width: 800px;
    background-color: #ffffff;
    padding: 0em;
    border-radius: 12px;
}

.profile-flex-wrapper {
    display: flex;
    align-items: flex-start;
}

.profile-flex-left {
    flex: 1 1 25%;
    text-align: center;
}

.profile-flex-left img {
    height: 80px;
    width: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.profile-flex-right {
    flex: 1 1 75%;
    text-align: left;
    padding: 0em 2em 0em 0em;
}

.profile-gray a:link, .profile-gray a:visited {
    display: inline-block;
    font-family: FCSubjectRounded;
    color: #8f8f8f;
    font-size: 0.8em;
}

.profile-gray a:hover, .profile-gray a:active {
    display: inline-block;
    font-family: FCSubjectRounded;
    color: #8f8f8f;
    font-size: 0.8em;
}

.profile-red a:link, .profile-red a:visited {
    display: inline-block;
    font-family: FCSubjectRounded;
    color: #FF5858;
    font-size: 0.8em;
}

.profile-red a:hover, .profile-red a:active {
    display: inline-block;
    font-family: FCSubjectRounded;
    color: #FF5858;
    font-size: 0.8em;
}

table.profile {
    font-size: 0.85em;
    border-collapse: separate;
    border-spacing: 0px 2em 0px 0px;
}

td.profile-col-left {
    min-width: 7em;
    color: #C3C7CA;
    vertical-align: middle;
    padding: 1em 1em 1em 0em;
}

td.profile-col-right {
    width: 100%;
    vertical-align: middle;
    padding: 1em 0em;
    border-bottom: 1px solid #e6e6e6;
}

span.inline-block {
    display: inline-block;
    margin-right: 1em;
}

/* About */

.team-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em;
}

.team-flex {
    flex: 1 1 20%;
}

.team-flex img {
    display: block;
    margin: 0 auto;
    height: 150px;
    width: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 0.75em;
}

.team-flex p {
    font-family: FCSubjectRounded;
    text-align: center;
    font-size: 0.85em;
    margin: 0.25em 0em;
}

/* Share widget */

.share-zone {
    line-height: 2.5em;
    opacity: 0.9;
    /* background-color: #e6e6e6;
    line-height: 2.5em;
    padding: 0.25em 0.5em;
    border: 1px solid #cccccc;
    border-radius: 8px; */
}

.url {
    display: inline-block;
    font-family: monospace;
    font-size: 0.8em;
    line-height: 2.7em;
    background-color: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 0em 0.5em;
}

.button-url {
    font-size: 0.8em;
    text-align: center;
    color: #FFFFFF;
    vertical-align: middle;
    padding: 5px 10px;
    background-color: #6D7175;
    opacity: 0.8;
    border: none;
    border-radius: 8px;
    box-shadow: 0px 0px 3px #cccccc;
}

.button-url:hover {
    opacity: 1;
    transition: opacity 0.3s;
}

.button-fb {
    font-size: 0.8em;
    text-align: center;
    color: #FFFFFF;
    vertical-align: middle;
    padding: 5px 10px;
    background-color: #1877F2;
    opacity: 0.8;
    border: none;
    border-radius: 8px;
    box-shadow: 0px 0px 3px #cccccc;
}

.button-fb:hover {
    opacity: 1;
    transition: opacity 0.3s;
}

.button-line {
    font-size: 0.8em;
    text-align: center;
    color: #FFFFFF;
    vertical-align: middle;
    padding: 5px 10px;
    background-color: #06C755;
    opacity: 0.8;
    border: none;
    border-radius: 8px;
    box-shadow: 0px 0px 3px #cccccc;
}

.button-line:hover {
    opacity: 1;
    transition: opacity 0.3s;
}

/* Sponsor Area */

.sponsor-wrapper {
    text-align: center;
    padding: 5px 25px 5px 25px;
    background-color: #FFFFFF;
}

img.tij-logo {
    display: inline-block;
    width: auto;
    height: 90px;
    padding: 0px;
}

.sponsor-wrapper a:link, .sponsor-wrapper a:visited, .sponsor-wrapper a:hover, .sponsor-wrapper a:active {
    border-bottom: none;
}

/* Footer */

footer {
    background: #4762AD;
}

.footer-wrapper {
    display: flex;
    max-width: 1048px;
    margin-left: auto;
    margin-right: auto;
    overflow: auto;
    padding: 10px 25px 10px 25px;
    background: #4762AD;
}

.footer-wrapper h1, .footer-wrapper h2, .footer-wrapper h3 {
    color: #ffffff;
}

.footer-wrapper p {
    color: #ffffff;
    font-size: 0.9em;
}

.footer-wrapper a:link, .footer-wrapper a:visited {
    color: #ffffff;
    font-weight: bold;
    line-height: 3em;
    text-decoration: none;
    border-bottom: none;
}

.footer-wrapper a:hover, .footer-wrapper a:active {
    color: #ffffff;
    font-weight: bold;
    line-height: 3em;
    text-decoration: none;
    border-bottom: none;
    transition: color 0.3s;
}

.footer-left {
    flex: 1 1 25%;
    margin-right: 2em;
}

img.footer-logo {
    height: 120px;
    width: auto;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 10px;
}

img.achieve-logo {
    height: 90px;
    width: auto;
}

.footer-right {
    flex: 1 1 75%;
}

.footer-bottom-left {
    flex: 1 1 70%;
    margin-right: 2em;
}

.footer-bottom-right {
    flex: 1 1 30%;
}

.menu-inline-block {
    display: inline-block;
    font-family: FCSubjectRounded;
    margin-right: 1em;
}

footer hr {
    display: block;
    width: 99%;
    border: 0.5px solid #ffffff;
}

img.footer-social {
    display: inline-block;
    vertical-align: middle;
    height: 35px;
    width: 35px;
    margin-right: 0.5em;
}

span.social-link {
    font-family: FCSubjectRoundedExtraLight;
    font-size: 0.85em;
}

/* Category */

span.category {
    display: inline-block;
    font-size: 1em;
    padding: 0.5em 1em;
    margin-left: 0.5em;
    margin-right: 0.5em;
    margin-bottom: 0.5em;
    background-color: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
}

span.category:hover {
    background-color: #e6e6e6;
}

/* Tag engine */

.tag-result-div {
    display: inline-block;
    font-size: 0.85em;
    padding: 0.25em 0.5em;
    margin-right: 0.5em;
    background-color: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
}

.tag-result-delete {
    display: inline-block;
    margin-left: 0.5em;
    cursor: pointer;
}

span.tag {
    display: inline-block;
    font-size: 0.85em;
    padding: 0.25em 0.75em;
    margin: 0.25em 0.5em 0.25em 0em;
    background-color: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 1em;
}

/* Chat */
section.chat-wrapper {
    position: fixed;
    bottom: 15px;
    right: 15px;
    background-color: #4762AD;
    border: 1px solid #ffffff;
    padding: 0.5em;
    border-radius: 8px;
    box-shadow: 0px 0px 5px #999999;
}

.chat-wrapper img {
    display: block;
    margin: 0 auto;
    width: 35px;
    height: auto;
    margin-bottom: 0.25em;
}

.chat-wrapper span {
    color: #ffffff;
}

/* Media sizing */

@media screen and (max-width: 1024px) {
    .header-logo-block {
        flex: 1 1 70%;
    }

    h1.header {
        display: inline-block;
        font-size: 1em;
        line-height: 1em;
        color: #000000;
        border-left: 1px solid #6D7175;
        padding: 0px 0px 0px 1em;
        margin-top: 22px;
    }

    .button-menu-toggle {
        padding: 40px 0px 20px 20px;
        cursor: pointer;
    }

    .header-nav-block {
        text-align: right;
        padding: 0px 0 0 0;
      }

    .header-nav-toggle {
        display: block;
    }

    .header-nav-block {
        display: none;
    }

    .nav-item {
        display: block;
        text-align: right;
        padding: 10px 10px 10px 10px;
        border-right: 4px solid #2898D0;
    }

    .footer-wrapper {
        flex-direction: column;
    }

    .footer-left {
        margin-right: 0;
    }
}

@media screen and (max-width: 800px) {
    .main-flex-wrapper {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    
    .main-flex-nav {
        flex: 1 1 100%;
        margin-left: 0px;
        border: none;
    }

    .main-flex-left {
        flex: 1 1 100%;
        margin-right: 0px;
    }

    .main-flex-right {
        flex: 1 1 100%;
        background-color: #FFFFFF;
        border-radius: 8px;
        box-shadow: 0px 0px 3px #cccccc;
        padding: 0px 15px 0px 20px;
        margin-top: 20px;
    }

    .course-flex {
        max-width: none;
        width: 100%;
        margin: 15px 0px;
    }

    .profile-flex-wrapper {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .profile-flex-left {
        flex: 1 1 100%;
    }

    .profile-flex-right {
        flex: 1 1 100%;
        padding: 0em 2em;
    }

    .team-flex {
        flex: 1 1 40%;
    }

    div.pagination-wrapper {
        margin: 0 auto;
        padding: 0rem 2rem;
    }
}

@media screen and (max-width: 600px) {
    .home-feature-wrapper {
        flex-direction: column;
        gap: 1vh;
    }
    
    .home-feature-primary {
        flex: 1 1 100%;
    }
    
    .home-feature-primary img {
        width: 100%;
        height: 190px;
        object-fit: cover;
        border-radius: 8px;
    }
    
    .home-feature-secondary {
        flex: 1 1 100%;
    }
    
    .home-feature-secondary img {
        width: 100%;
        height: 190px;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 1vh;
    }

    .home-fixed-card-wrapper {
        /* flex-direction: column; */
        flex-wrap: wrap;
    }

    .home-card-wrapper {
        flex-direction: column;
    }

    .home-card-database-wrapper {
        flex-direction: column;
    }

    .home-card-database-item {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .home-zone-learning {
        margin-right: 0;
        margin-left: 0;
        width: auto;
        background-color: #ffffff;
        padding: 1.5em 2em;
        border-radius: 8px;
        box-shadow: 0px 0px 3px #cccccc;
    }

    .narrow {
        width: 80%;
    }

    img.activity-example {
        display: block;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .uploader-wrapper {
        width: 90%;
    }

    img.content-center {
        max-width: 100%;
    }

    .instruction-wrapper {
        flex-direction: column;
    }

    p img {
        width: 100%;
    }

    p.activities-sub-header {
        color: #6D7175;
        padding: 1em 2em;
    }

    .team-flex {
        flex: 1 1 80%;
    }
}

@media screen and (max-width: 400px) {

}

@media screen and (max-width: 320px) {
    h1.header {
        display: none;
    }
}
