html {
    padding: 0;
    margin: 0;
}
body {
    padding: 0;
    margin: 0;
    font-family: Trebuchet MS, sans-serif;
    font-family: Verdana, sans-serif;
    font-size: 14px;
    line-height: 1.6em;
    color: #1F3541;
    background-color: #C8F4F9;
}
p {
    margin: 0;
    padding: 0;
    line-height: inherit;
}
h1,h2,h3,h4 { margin: 0; padding: .5rem 0; font-weight: initial; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }

.top-spacer { display: block; height: 45px; content: ''; }
.container {
    max-width: 1270px;
    margin: 0 auto;
}
.container-center {
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
}
.container-header {
    display: flex;
    flex-direction: row;
}
.container-main {
    display: grid;
    grid-template-columns: 250px auto;
    column-gap: 20px;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 44px;
    background-color: #1F3541;
    border-bottom: 1px solid #116530;
    z-index: 10;
}
main {
    position: relative;
    flex-grow: 1; 
    min-height: 90vh;
}
aside{
    width: 250px;
}

footer {
    padding: 20px 0;
    text-align: center;
}
footer a {
    color: inherit;
    text-decoration: none;
}
.side-content { 
    width: 250px;
}

@media screen and (max-width: 1250px) {
    .container-main {
        grid-template-columns: 260px auto;
    }
    main {padding-right: 10px;}
    aside {padding-left: 10px;}
}
@media screen and (max-width: 980px) {
    .container-main { display: block; }
    main { padding: 0 10px; }
    .mobile-hide { display: none; }
}

.nav-main {
    flex-grow: 1;
    height: 44px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}
.nav-main .nav-toggler {
    display: none;
}
.nav-main ul {
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-weight: bold;
    list-style: none;
}
.nav-main li {
    display: inline-block;
    padding: 0 16px;
    font-size: .8rem;
}
.nav-main li a { 
    color: inherit;
    text-decoration: none;
}
.nav-main .nav-logo {
    font-weight: bold;
}
.nav-main .nav-logo img {
    width: 27px;
    height: 27px;
    margin-right: 5px;
    overflow: hidden;
    border-radius: .3rem;
    vertical-align: middle;
}

.menu-user {
    position: relative;
    height: 44px;
    padding-left: 20px;
    padding-right: 16px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    font-size: .8rem;
    color: #ffffff;
}
.menu-user .menu-toggler {
    cursor: pointer;
}
.menu-user .menu-toggler img {
    width: 27px;
    height: 27px;
    overflow: hidden;
    border-radius: .3rem;
    vertical-align: middle;
}
.menu-user .menu-login {}
.menu-user .menu-login a {
    color: inherit;
    text-decoration: none;
}
.menu-user ul {
    display: none;
    position: absolute;
    top: 44px;
    right: 4px;
    margin: 0;
    padding: 0;
    color: #21B6A8;
    border: 1px solid #21B6A8;
    background-color: #ffffff;
    list-style: none;
}
.menu-user ul.active {
    display: block;
}
.menu-user ul li {
    display: block;
    text-align: right;
}
.menu-user ul li:hover {
    background-color: #f8f9fa;
}
.menu-user ul li a {
    display: block;
    min-width: 160px;
    padding: 8px 15px;
    color: inherit;
    text-decoration: none;
}

.quick-post {
    position: relative;
    height: 44px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: .8rem;
    background-color: #D8A7B1;
    text-decoration: none;
}

@media screen and (max-width: 640px) {
    .nav-main .nav-toggler {
        display: block;
        padding: 0 10px;
    }
    .nav-main ul.active { display: block; }
    .nav-main ul {
        display: none;
        position: absolute;
        top: 44px;
        right: 0;
        width: 100vw;
        color: #21B6A8;
        border: 1px solid #21B6A8;
        background-color: #ffffff;
    }
    .nav-main ul li {
        display: block;
        margin: 0;
        padding: 0;
    }
    .nav-main ul li:hover {
        background-color: #F7F7F7;
    }
    .nav-main ul li a {
        display: block;
        padding: 10px 15px;
    }
    .menu-user { padding: 0 10px; }
    .menu-user ul { width: 100vw; }
}

.box-content {
    width: 100%;
    padding: 0;
    background-color: #f8f9fa;
    background-color: #ffffff;
    border-radius: 0.3rem;
    overflow: hidden;
}
.content-pad {
    padding: 10px;
}

/*** POSTING ***/
.new-starter {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.new-starter .profile-pic {
    flex-shrink: 1;
    width: 38px;
    height: 38px;
    margin-right: 10px;
    overflow: hidden;
    border-radius: 0.3rem;
    vertical-align: middle;
}
.new-starter .profile-pic img {
    width: 100%;
}
.new-starter .act-button {
    flex-grow: 1;
}

.posting-stream {
    display: flex;
    flex-direction: column;
}

.posting-thread { margin-bottom: 1rem; }

.posting-starter, .posting-materi {
    padding-bottom: .5rem;
}
.posting-replies {
    padding: 1rem;
    padding-top: .5rem;
    margin: 0;
}
.posting-action-reply { padding: 0 1rem; }
.posting-reply {
    margin-bottom: .5rem;
    background-color: white;
    border: 1px solid #B1D4E0;
    border-radius: 0.3rem;
    overflow: hidden;
}
.posting-inner {
    padding: 1rem;
}
.ribbon {
    display: block;
    height: 7px;
}
.posting-starter .ribbon { background-color: #3CACAE; }
.posting-reply .ribbon { background-color: #B1D4E0; }
.posting-materi .ribbon { background-color: #FAD02C; }

.pot-poster {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}
.pot-content { padding: 1rem; }
.pot-content p, .pot-content img { vertical-align: middle; }
.pot-content .media-video { padding: 1rem 0; text-align: center; justify-content: center; }
.pot-content .media-video iframe { max-width: 100%; max-height: 100%; }
.pot-content .media-img { padding: 1rem 0; text-align: center; justify-content: center; }
.pot-content .media-img img { max-width: 100%; }
.pot-quote {
    margin: 1vh 3vw;
    padding: 1rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    background-color: #EEE;
    border-radius: 0.3rem;
    opacity: .7;
}
.pot-quote .quote-ico {
    padding-right: 1rem;
    font-size: 1.5rem;
}
.pot-quote a {
    color: inherit;
    text-decoration: none;
}
.pot-profile-pic {
    width: 50px;
    height: 50px;
    margin-right: .5em;
    border-radius: 100px;
    overflow: hidden;
}
.posting-reply .pot-profile-pic {
    width: 40px;
    height: 40px;
}
.pot-profile-pic img {
    max-height: 100%;
}
.pot-profile-name {

}
.pot-uname {}
.pot-time {}
.pot-time a {
    color: inherit;
    text-decoration: none;
}
.pot-action {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 1.2rem;
}
.pot-action a {
    padding: 0 5px;
    color: inherit;
    text-decoration: none;
}

@media screen and (max-width: 960px) {
    .pot-content { padding: 1rem .5rem; }
    .posting-replies { padding: 1rem .5rem; }
    .posting-action-reply { padding: 0 .5rem; }
    .pot-quote { margin: 1vh 0; }
}
@media screen and (max-width: 640px) {
    .pot-content .media-video iframe { height: 280px; }
}
@media screen and (max-width: 420px) {
    .pot-content .media-video iframe { height: 100%; }
}

/* FORM-POSTING*/
.form-posting {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}
.form-posting div.row {
    padding: 4px 0;
    display: flex;
    flex-flow: row;
}
.form-posting label {
    display: block;
    padding: 5px;
}
.form-posting input, .form-posting textarea {
    width: 100%;
    padding: 8px;
    font-size: .8rem;
    line-height: 1.2rem;
    color: #333;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.form-posting textarea {
    height: 50vh;
    resize: none;
}

.write-media {
    position: relative;
    display: block;
    background-color: white;
    border: 1px solid whitesmoke;
    border-radius: 0.3rem;
}
.media-action {
    position: absolute;
    top: 0;
    right: 0;
}

/* MY-ACCOUNT */
.my-account {
    padding: 1rem;
}
.my-account .profile {
    position: relative;
    padding: 1rem 0;
}
.my-account .profile-pic img {
    max-width: 100px;
    max-height: 100px;
    overflow: hidden;
    border-radius: 0.3rem;
    vertical-align: middle;
}
.form-account {
    position: relative;
}
.form-account .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
}
.form-account .action {
    position: absolute;
    top: 0;
    right: 0;
}
.form-account label.editable {
    background-color: #EEE;
    border-radius: 0.3rem;
    min-height: 1.5rem;
}

@media screen and (max-width: 960px) {
    .form-account .grid {
        display: grid;
        grid-template-columns: 1fr;    
    }
}

/* MATERI */
.list-materi {
    margin: 0;
    padding: 0;
    list-style: none;
}
.list-materi > li {
    display: grid;
    margin-bottom: 10px;
    grid-template-columns: 10px auto;
    background-color: #ffffff;
    border-radius: 0.3rem;
    overflow: hidden;
}
.list-materi > li .item-materi {
    padding: 10px 15px;
}
.list-materi > li .sub-materi {
    padding: 8px 0;
}
.list-materi > li .sub-posting {
    padding: 5px 0;
    padding-left: 10px;
}
.list-materi > li a {
    color: inherit;
    text-decoration: none;
}
.list-materi > li .ribbon {
    height: 100%;
    background-color: #3CACAE;
}
.list-materi .item-pad {
    padding-left: 20px;
}
@media screen and (max-width: 420px) {
    .list-materi { padding: 10px 5px; }
    .list-materi .item-pad {padding-left: 10px;}
}

/* LIST DOWNLOAD */
.list-download {
    margin: 0;
    padding: 0;
    list-style: none;
}
.list-download > li {
    display: grid;
    margin-bottom: 10px;
    grid-template-columns: 10px auto;
    background-color: #ffffff;
    border-radius: 0.3rem;
    overflow: hidden;
}
.list-download > li .item-download {
    padding: 10px 15px;
}
.list-download > li .sub-download {
    padding: 8px 0;
}
.list-download > li a {
    color: inherit;
    text-decoration: none;
}
.list-download > li .ribbon {
    height: 100%;
    background-color: #3CACAE;
}
.list-download .item-pad {
    padding-left: 20px;
}
.list-download .ico-folder, .list-download .ico-file {
    display: inline-block;
    width: 25px;
    text-align: center;
}
@media screen and (max-width: 420px) {
    .list-download { padding: 10px 5px; }
    .list-download .item-pad {padding-left: 10px;}
}

/* STATIC */
.policy-list {
    padding-inline-start: 25px;
}
.policy-list li {
    padding: 1rem 0;
}

/* FORM-LOGIN */
.login-area {
    width: 280px;
}
.login-forgot a {
    color: inherit;
    text-decoration: none;
}
.login-just-continue {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 20px 0;
    text-align: center;
}
.login-just-continue a {
    color: inherit;
    text-decoration: none;
}
.login-social {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.login-social a {
    display: flex;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    align-items: center;
    justify-content: center;
    color: #f8f9fa;
    font-size: 1.4rem;
    background-color: #1F3541;
    border: none;
    border-radius: 0.3rem;
    text-decoration: none
}
.form-login {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}
.form-login div.row {
    padding: 4px 0;
}
.form-login label {
    display: block;
    padding: 5px;
}
.form-login input, .form-login select {
    width: 100%;
    padding: .7rem;
    font-size: .8rem;
    line-height: 1.2rem;
    color: #333;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.form-login select {
    width: auto;
    padding: 5px 8px;
}
.form-login input[type='checkbox'] {
    width: auto;
    border: none;
    vertical-align: middle;
}
.form-login input[type='submit'], .form-login input[type='reset'] {
    width: auto;
    background-color: #F7F7F7;
    border: 1px solid #D7D7D7;
}
.form-login .reveal-pass {
    position: absolute;
    top: 0;
    right: 0;
    padding: 8px;
    color: #DDD;
    font-size: 1em;
}

/* RELATED-LINK */
.related-link {
    margin: 0;
    padding: 15px;
    background-color: rgb(204, 241, 204);
    background-color: #ffffff;
    border-radius: 0.3rem;
}
.related-link ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.related-link ul > li {
    padding: 3px 0;
}
.related-link ul > li a {
    color: inherit;
    text-decoration: none;
}

/* MODAL */
.modal-area {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color:rgba(0, 0, 0, 0.8);
    z-index: 20;
    overflow-y: auto;
    -ms-overflow-style: none;
    overflow: -moz-scrollbar-none;
    -webkit-transition: all .25s ease;
    -moz-transition: all .25s ease;
    -ms-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
}
.modal-area::-webkit-scrollbar { width: 0 !important; }
.modal-area.active {
    right: 0; 
}
.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #FFF;
}
.modal-content {
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 7vh;
    padding: 10px;
}
.modal-loader {
    display: flex;
    height: 60vh;
    align-items: center;
    color: #FFF;
    justify-content: center;
}

/* SCROLL-2-TOP */
.scroll-2-top {
    position: fixed;
    bottom: -100px;
    right: 20px;
    padding: 8px;
    color: #999;
    font-size: 1.5rem;
    background-color: #000;
    border-radius: 0.3rem;
    opacity: .5;
    -webkit-transition: all .25s ease;
    -moz-transition: all .25s ease;
    -ms-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
}
.scroll-2-top.active {
    bottom: 20px;
}
@media screen and (max-width: 420px) {
    .scroll-2-top.active {
        bottom: 8px;
        right: 8px;
    }
}