.social-icon i {
    font-size: 22px;
}

.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-brand img {
    width: 65px;
    display: block;
    transition: all 0.25s ease-in-out;
}

.main-header-menu-wrap .navbar-expand-md .main-navbar-nav .custom-nav-link {
    transition: all 0.25s ease-in-out;
}

.main-header-menu-wrap.small-navbar .navbar-brand img {
    width: 50px;
}

.main-header-menu-wrap.navfix {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.screenshot_1x1 {
    width: 100%;
    height: calc(20vw * 1.25);
    position: relative;
    overflow: hidden;
}

.screenshot_1x1 img {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100% !important;
    object-fit: contain;
    object-position: top center;
}

.theme-item:hover .screenshot_1x1 img {
    animation: moveSlideshow 1s linear;
    animation-fill-mode: forwards;
}

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

/* Fix content */
.content-with-reset > span,
.content-with-reset > strong,
.content-with-reset > ul,
.content-with-reset > li,
.content-with-reset > a,
.content-with-reset > p {
    all: revert;
}

.content-with-reset > a {
    text-decoration: none;
    color: #0073ec;
}

.content-with-reset > a:hover {
    text-decoration: underline;
}

.content-with-reset > img {
    max-width: 100%;
    height: auto;
}
/* #Fix content */

/* Education Module */
.course-title {
    border-bottom: 1px dashed #d6d6d6;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.course-desc {
    border-bottom: 1px dashed #d6d6d6;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.course-desc img {
    display: block;
}

.course-desc .desc-item {
    font-weight: bold;
    margin-bottom: 10px;
}

.course-desc .desc-item:last-child {
    margin-bottom: 0;
}

.course-content {
    text-align: justify;
    margin-bottom: 20px;
}

.course-content h3 {
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 15px;
}

.course-lesson {
    margin-bottom: 20px;
}

.course-lesson .lesson-item {
    display: block;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    background-color: #f0f0f0;
    padding: 0.5rem 1.25rem;
}

.other-course-header {
    border-bottom: 1px dashed #d6d6d6;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.other-course-item {
    display: flex;
    border-bottom: 1px dashed #d6d6d6;
    padding-bottom: 15px;
    margin-bottom: 15px;
    align-items: center;
}

.other-course-item .course-image img {
    height: 75px;
    width: auto;
    display: block;
}

.other-course-item .course-info {
    flex: 1;
    margin-left: 10px;
}

.other-course-item .course-info .course-info-name {
    font-weight: bold;
    color: #333333;
    line-height: 1.2;
    margin-bottom: 10px;
}

.other-course-item .course-info .course-info-name a {
    color: #333333;
}

.other-course-item .course-info .course-info-meta {
    line-height: 1.2;
    color: gray;
}

.lesson-video {
    margin-bottom: 15px;
}

.lesson-video + .course-content {
    border-top: 1px dashed #d6d6d6;
    padding-top: 15px;
}

/* #Education Module */

@keyframes moveSlideshow {
    100% {
        transform: translateY(calc(-100% + 20vw * 1.25));
    }
}

@media (min-width: 768px) {
    .main-header-menu-wrap.small-navbar .navbar-expand-md .main-navbar-nav .custom-nav-link {
        padding-top: 0.9rem;
        padding-bottom: 0.9rem;
    }

    .navbar-expand-md .main-navbar-nav .sub-menu-nav-link {
        white-space: nowrap;
    }

    .main-sub-menu {
        width: initial;
    }
}

@media screen and (max-width: 768px) {
    .course-desc .col-auto {
        width: 185px;
        margin-bottom: 0 !important;
    }

    .course-desc .desc-item {
        margin-bottom: 0;
    }
}
