* {
    margin: 0;
    padding: 0;
}

::-moz-selection {
    /* Code for Firefox */
    color: #fff;
    background: #1383be;
}

::selection {
    color: #fff;
    background: #1383be;
}

.btn.btn-primary {
    background-color: #1383be;
}

.w-35px {
    width: 35px;
}

.text-primary {
    color: #1383be !important;
}

.main-video-lists {
    height: 40vh;
    overflow: auto;
}

.main-nav-pills {
    width: 100%;
    overflow: auto;
}

.nav-pills {
    min-width: 450px;
}

.nav-pills .nav-link {
    background: #eee;
    margin-right: 5px;
    border-radius: 50px;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: #1383be;
}

.c-pointer {
    cursor: pointer;
}

.is-invalid {
    color: #e3342f !important;
}

.ff-kh-bold {
    font-family: "Noto Serif Khmer", "Limelight", "Montserrat", "sans-serif";
    line-height: 2em;
    font-weight: bold;
}

.fz12 {
    font-size: 12px !important;
}

.fz14 {
    font-size: 14px !important;
}

.fz16 {
    font-size: 16px !important;
}

.fz18 {
    font-size: 18px !important;
}

.fz20 {
    font-size: 20px !important;
}

.fz22 {
    font-size: 22px !important;
}

.fz24 {
    font-size: 24px !important;
}

.fz26 {
    font-size: 26px !important;
}

.fz28 {
    font-size: 28px !important;
}

.fz30 {
    font-size: 30px !important;
}

.w-150 {
    width: 150px !important;
}

.max-w-70 {
    max-width: 70px;
}

.input-file-icon {
    position: relative;
}

.input-file-icon input[type="file"] {
    position: absolute;
    bottom: 0;
    left: 50%;
    opacity: 0;
    z-index: 2;
    cursor: pointer;
}

.input-file-icon i {
    position: absolute;
    bottom: -5px;
    left: 50%;
    font-size: 24px;
    background: #fff;
    padding: 5px;
    border-radius: 50%;
    color: #1383be;
}

.user-comment {
    background: #f6f6f6;
    padding: 8px;
    border-radius: 15px;
    width: 90%;
}

.user-comment .dropdown{
    position: absolute;
    right: -30px;
    top: -20px;
}

#sub-menu {
    background-color: #1977a9;
}

#sub-menu ul {
    margin: 0;
}

#sub-menu ul li {
    display: inline-block;
}

#sub-menu ul li a {
    color: #fff;
    font-weight: bold;
}

#sub-menu ul li.active {
    background-color: #ff9800;
}

body {
    background-color: #F6F6F6;
    color: #292d31;
    font-size: 16px;
    font-family: "Montserrat", "Noto Serif Khmer", sans-serif;
    overflow-x: hidden;
    position: relative;
}

header {
    background-color: #1383be;
}

header nav li a {
    color: #fff;
    font-weight: bold;
}

.nav-item a {
    font-size: 14px !important;
}

.category {
    border-bottom: 2px solid #bed0ff;
}

.box-scroll .box {
    min-height: 116px;
}

.box-scroll .slick-dots {
    margin-top: 15px;
}

.slider-description {
    border-bottom: 1px solid #dedede;
}

.text-over {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    position: absolute;
    bottom: 30px;
    padding: 5px 15px;
    border-radius: 50px;
    right: 25px;
}

.category .link-category {
    background-color: #e9efff;
    display: inline-block;
    padding: 10px 20px;
    position: relative;
}

.input-search {
    position: absolute;
    width: 250px;
    right: 70px;
    z-index: 2;
}

.slick-dots {
    display: flex;
    justify-content: center;
    margin: 0;
    /*padding: 1rem 0;*/
    list-style-type: none;
}

.slick-dots li {
    margin: 0 0.25rem;
}

.slick-dots button {
    display: block;
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 100%;
    background-color: #ccc;
    text-indent: -9999px;
}

.slick-dots li.slick-active button {
    background-color: #1383be;
}

.course-title {

}

a {
    color: #292d31;
}

a:hover {
    color: #292d31;
    text-decoration: none;
}

.line-h {
    line-height: 35px;
}

.btn.btn-rounded {
    border-radius: 100px;
}

li {
    list-style-type: none !important;
}

.card {
    font-size: 14px;
    color: #292d31;
    padding: 15px;
    border-radius: 0;
    border-color: #f3f3f3;
    box-shadow: 0 2px 4px #e6e6e6;
}

.card .card-title {
    font-size: 16px;
}

.card .card-text {
    color: #5d5d5d;
}

.card.card-course del {
    color: #aaa;
}

.card.card-course .price {
    font-size: 18px;
    font-weight: 700;
    color: #292d31;
}

.card.card-course .card-footer {
    background-color: #fff;
}

#how-it-works .step {
    width: 100px;
    height: 100px;
    background-color: #1383be;
    color: #fff;
    border-radius: 50%;
    font-size: 32px;
    margin: auto;
    margin-bottom: 20px;
    line-height: 100px;
}

#text-register {
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
}

#home-our-clients img {
    max-width: 100px;
}

#home-page #home-image {
    height: 60vh;
    background-position: center;
    background-size: cover;
}

#home-page .title-center {
    color: #fff;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    line-height: 40px;
}

#show-courses ul li {
    cursor: pointer;
}

a#logo:hover {
    color: #5d5d5d;
}

#logo {
    margin-left: 2px;
    display: inline-block;
    max-width: 200px;
}

#logo p {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    letter-spacing: 5px;
    font-size: 20px;
    margin-bottom: 0;
    color: #5d5d5d;
}

#logo p span {
    font-weight: 300;
    color: #1383be;
    font-weight: 700;
}

.videoWrapper {
    background-color: #000;
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
}

.videoWrapper iframe,
.videoWrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.top-menu {
    padding: 0;
    margin: 0;
    margin-top: 20px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    padding: 5px 0;
    font-size: 12px;
}

.top-menu ul li {
    list-style-type: none;
    display: inline-block;
    padding: 0 5px;
}

.top-menu ul li .social {
    margin-top: -2px;
}

.top-menu ul li a {
    color: #ceb39f;
    color: #5d5d5d;
}

nav.navbar {
    padding: 0 !important;
}

nav .navbar-nav .profile {
    text-align: center;
    padding: 20px;
    background: #1977a9;
    margin-bottom: 10px;
    position: fixed;
    width: 75%;
}

nav .navbar-toggler {
    position: absolute;
    left: -10px;
    top: -50px;
}

nav .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

nav .dropdown-menu {
    background-color: #faf8f9;
    border-color: #fbecdd;
}

nav .dropdown-menu .dropdown-item {
    color: #5d5d5d;
}

nav .dropdown-menu .dropdown-item:hover {
    background-color: #1383be;
    color: #5d5d5d;
}

nav .dropdown-menu .dropdown-item.sub-active {
    background-color: #1383be;
    color: #5d5d5d;
}

nav #btn-search {
    color: #5d5d5d;
}

nav li.active {
    background: #ff9800;
}

nav li.active a {
    color: #fff;
    border-radius: 5px;
}

nav li a {
    color: #5d5d5d;
    transition: all 0.4s;
    font-family: "Montserrat", "Noto Serif Khmer", "Angkor", sans-serif;
    font-size: 16px;
}

nav li a:hover {
    color: #292d31;
}

nav #menu-left {
    margin: 0;
}

nav #menu-left li {
    list-style: none;
    line-height: 40px;
}

nav #menu-left li a {
    /*margin: 0 10px;*/
    padding: 0 10px;
}

nav #menu-left li a i {
    margin-right: 5px;
}

.btn.btn-orange {
    color: #fff;
    background-color: #1383be;
    border-color: #1383be;
}

.btn.btn-orange:hover {
    background-color: #f48b0f;
}

.poster {
    display: none;
    color: #5d5d5d;
}

.poster img {
    border-radius: 10px;
    border: 2px solid #fae9d8;
    box-shadow: 0px 6px 12px 0px #c1b9b2;
}

.poster h3 {
    font-size: 13px;
    font-weight: 300;
}

.poster i {
    position: absolute;
    right: 0;
}

.poster-search {
    display: block !important;
}

.poster-search h3 {
    width: 100%;
}

#main-wrapper {
    min-height: 90vh;
    overflow-x: hidden;
}

#main-wrapper .container {
    margin: 10px auto;
    margin-bottom: 0;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

@media screen and (max-width: 768px) {
    #main-wrapper .container {
        padding: 10px;
        margin: 10px auto;
    }
}

footer {
    color: #fff;
    overflow-x: hidden;
    font-size: 13px;
    background-color: #191919;
}

footer #copyright {
    background-color: #0e0e0e;
}

footer .logo {
    max-width: 200px;
}

footer p {
    margin: 0;
}

footer .container .row {
    padding: 15px 10px;
    align-items: center;
}

footer a {
    color: #fff !important;
}

footer .social {
    position: relative;
    top: -1px;
}

footer .copyright {
    font-size: 10px;
}

footer #footer-logo {
    letter-spacing: 5px;
    font-size: 20px;
    color: #ceb39f;
    font-weight: 300;
}

.list-group-item.active {
    background-color: #1383be;
    border-color: #1383be;
}

#account .list-group-item {
    cursor: pointer;
}

#account .list-group-item.active {
    background-color: #1383be;
}

#account #account-menu ul li {
    list-style-type: none;
}

#account #account-menu ul li a {
    font-size: 18px;
    margin: 10px 0;
    display: inline-block;
    padding: 10px;
    min-width: 200px;
    color: #a8acb5;
}

#account #account-menu ul li a.active {
    background-color: #1383be;
    color: #fff;
    border-radius: 5px;
}

#account #account-menu ul li a.active:hover {
    color: #fff;
}

#account #account-menu ul li a:hover {
    color: #1383be;
}

#account #account-menu ul li a i {
    margin-right: 10px;
    display: inline-block;
}

.warning {
    background-color: #faf1ea;
    color: #5d5d5d;
    padding: 15px;
    border-radius: 5px;
    margin-top: 30px;
    text-align: justify;
    border: 2px dashed #f1ded0;
}

.poster-loading .slider {
    top: -25px;
    position: absolute;
    width: 100%;
    height: 5px;
    overflow-x: hidden;
}

.poster-loading .line {
    position: absolute;
    opacity: 0.4;
    background: #1383be;
    width: 150%;
    height: 5px;
}

.poster-loading .subline {
    position: absolute;
    background: #1383be;
    height: 5px;
}

.poster-loading .inc {
    -webkit-animation: increase 2s infinite;
    animation: increase 2s infinite;
}

.poster-loading .dec {
    -webkit-animation: decrease 2s 0.5s infinite;
    animation: decrease 2s 0.5s infinite;
}

@-webkit-keyframes increase {
    from {
        left: -5%;
        width: 5%;
    }

    to {
        left: 130%;
        width: 100%;
    }
}

@keyframes increase {
    from {
        left: -5%;
        width: 5%;
    }

    to {
        left: 130%;
        width: 100%;
    }
}

@-webkit-keyframes decrease {
    from {
        left: -80%;
        width: 80%;
    }

    to {
        left: 110%;
        width: 10%;
    }
}

@keyframes decrease {
    from {
        left: -80%;
        width: 80%;
    }

    to {
        left: 110%;
        width: 10%;
    }
}

@-webkit-keyframes shine-layer-d-sm-strap {
    0% {
        background-position: -150px;
    }

    100% {
        background-position: 0;
    }
}

@keyframes shine-layer-d-sm-strap {
    0% {
        background-position: -150px;
    }

    100% {
        background-position: 0;
    }
}

.popular-movie h2 {
    font-size: 22px;
    font-family: "Montserrat", "Noto Serif Khmer", "Angkor", sans-serif;
}

.pagination {
    margin-top: 30px;
    justify-content: center;
}

.pagination ul span {
    background-color: #1383be;
}

.pagination .page-item .page-link {
    background-color: #f9f1ea;
    border: 1px solid #f9e4d5;
    color: #5d5d5d;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin: 1px;
    padding: 0;
    line-height: 32px;
}

.pagination .page-item .page-link:hover {
    background-color: #ff9800;
}
.pagination .page-item.active {
    background-color: #fff;
}
.pagination .page-item.active span {
    color: #fff;
}
.pagination .page-item.active .page-link {
    background-color: #1383be;
    border: 1px solid #1383be;
    /*color: #292d31;*/
}

.storyline {
    position: relative;
    margin-bottom: 50px;
    color: #5d5d5d;
}

.storyline .text-story {
    height: 170px;
    overflow: hidden;
}

.storyline h2 {
    font-size: 22px;
    font-family: "Montserrat", "Noto Serif Khmer", "Angkor", sans-serif;
}

.storyline h3 {
    font-size: 18px;
}

.storyline i.show-less {
    display: none;
}

.storyline i.show-more,
.storyline i.show-less {
    position: absolute;
    left: 50%;
    bottom: -70px;
    transform: translate(-50%, -50%);
    font-size: 28px;
    cursor: pointer;
}

.btn-yellow {
    background-color: #1383be;
    border: 1px solid #1383be;
    min-width: 120px;
}

.alert-yellow {
    background-color: #1383be;
    color: #5d5d5d;
}

#style-1::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

#style-1::-webkit-scrollbar {
    width: 8px;
    background-color: #fff;
}

#style-1::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #1383be;
}

.main-categories .box {
    min-width: 175px;
}

.carousel-control-next, .carousel-control-prev {
    /*top: -80px !important;*/
    height: 80%;
}

#navbarSupportedContent {
    overflow-x: hidden;
    overflow-y: auto;
}

@media screen and (max-width: 768px) {
    #movie .title {
        font-size: 18px;
    }

    .popular-movie h2 {
        font-size: 18px;
    }

    .fz20 {
        font-size: 14px !important;
    }

    .fz16 {
        font-size: 14px !important;
    }

    .card {
        padding: 5px;
    }

    .card .card-title {
        margin-top: 10px;
    }

    .card .card-body {
        padding: 8px;
    }

    .container {
        /*padding: 5px !important;*/
    }

    .mb-5 {
        margin-bottom: 1rem !important;
    }

    .mt-5 {
        margin-top: 1rem !important;
    }
}

@media screen and (min-width: 992px) {
    #btn-search {
        position: relative;
        left: 20px;
        top: 8px;
    }

    .input-search {
        top: 50px;
    }

    nav .navbar-nav .profile {
        display: none;
    }

    #menu-left {
        display: none !important;
    }

    #text-register .btn-register {
        line-height: 145px;
    }

    #navbarSupportedContent {
        width: 100%;
    }

    #navbarSupportedContent ul {
        display: flex;
        justify-content: center;
    }

    header #logo {
        max-width: 100px;
    }

    #account {
        padding: 0 50px;
    }

    #menu-left li {
        margin-right: 10px;
    }
}

@media screen and (min-width: 576px) {
    .movie-list li {
        min-width: 80px;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    #account {
        padding: 0 10px;
    }
}

@media screen and (max-width: 992px) {
    header .mobile-nav-background {
        background: rgba(0, 0, 0, 0.5);
        position: fixed;
        top: 0;
        left: 0;
        z-index: 123123;
        width: 100%;
        height: 100%;
    }

    header #navbarSupportedContent {
        position: fixed;
        top: 0;
        left: 0;
        width: 75%;
        height: 100%;
        z-index: 123123;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s;
        background-color: #1383be;
    }

    header #navbarSupportedContent ul {
        width: 100%;
        height: 100%;
        position: relative;
        left: -100%;
        transition: all 0.4s;
    }

    header #navbarSupportedContent ul .dropdown-menu {
        width: 95%;
    }

    header #navbarSupportedContent.showNav {
        left: 0;
        opacity: 1;
        visibility: visible;
    }

    header #navbarSupportedContent.showNav ul {
        left: 0;
    }

    nav li.active a {
        border-radius: 0px;
    }

    nav li.home {
        margin-top: 85px;
    }

    nav li i {
        display: inline-block !important;
    }

    #sub-menu {
        display: none;
    }

    .navbar-nav .nav-link {
        margin-left: 15px;
    }

    .navbar-nav .nav-link i {
        margin-right: 10px;
    }

    nav #menu-left li a {
        padding: 0 !important;
    }

    nav #menu-left li a i {
        margin-right: 10px;
    }

    #menu-left {
        /*padding: 10px !important;*/
    }

    #text-register .btn-register {
        margin-bottom: 40px;
        margin-top: 40px;
    }

    .main-video-lists {
        height: 70vh
    }

    .input-search {
        position: absolute;
        width: 250px;
        left: 15px;
    }

    .input-search .btn-primary {
        background: #ffc107;
        border-color: #ffc107;
    }
}

