/* Header Section Style */

/* Welcome Message */

.alert {
    opacity: 1;
    margin: auto;
}

.welcome-message {
    background-color: #28a745 !important;
    padding: 10px 35px;
    opacity: 1;
}

@keyframes fade {
    100% {
        opacity: 0;
    }
}

.welcome-message .alert-txt {
    color: #e9e9e9 !important;
    font-size: 14px;
}

.welcome-message .close-alert {
    cursor: pointer;
    color: #FFF;
}

/* End Welcome Message */


/* Header Info Section */

.header-info {
    height: 700px;
    background-image: url('../../images/hero_area.jpg');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

#logout {
    color: var(--red) !important;
}

.header-info-content {
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 0px;
    left: 0px;
    background-color: rgba(18, 15, 45, 0.52);
}

.header-info-content {
    padding-top: 185px;
}

/*.header-top-section div:first-child .header-logo {*/
/*    width: 155px!important;*/
/*}*/

.header-logo {
    width: 245px;
}

.header-logo img {
    width: 100%;
}

#bg-element {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-color: transparent;
    z-index: 100000;
}

.user-profile {
    z-index: 100;
}

.user-profile-content {
    cursor: pointer;
}

.user-profile-name {
    margin-top: -5px;
    font-size: 16px !important;
    font-weight: 600;
    color: #111 !important;
    transition: var(--transition);
}

.user-profile-name:hover {
    color: var(--blue) !important;
}

.user-profile-name i {
    display: inline-block !important;
    margin-left: 5px;
    font-size: 14px;
    font-weight: 600;
}

.user-profile-img {
    margin-right: 10px;
}

.user-profile-img img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.user-profile-dropdown-content {
    top: 85px;
    z-index: 10000000;
    background: aliceblue;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.2s linear 0.0001s;
    width: 185px !important;
    visibility: hidden;
}

.user-profile-dropdown-content-list-item-link {
    transition: var(--transition);
}

.user-profile-dropdown-content-list-item-link:hover {
    color: var(--blue) !important;
}

@keyframes opacityAnimationFirstCondition {
    0% {
        opacity: 0;
        visibility: hidden;
    }

    100% {
        opacity: 1;
        visibility: visible;
    }
}

@keyframes opacityAnimationSecondCondition {
    0% {
        opacity: 1;
        visibility: visible;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

.user-profile-dropdown-content ul li a {
    font-size: 15px !important;
    color: #111;
    transition: var(--transition);
    font-weight: 500;
}

.user-profile-dropdown-content ul li a:hover {
    color: var(--blue);
}

.flex-basis-wider {
    flex-basis: 85%;
}

.flex-basis-narrow {
    flex-basis: 25%;
}

.header-info-heading h4 {
    user-select: none;
    cursor: text;
}

.header-info-heading h1 {
    color: #fff;
    margin-top: 15px;
    cursor: text;
    font-size: 35px;
    font-weight: 700;
}

.header-info-searchbar {
    margin-top: 30px;
}

.header-info-searchbar-form {
    width: 634px;
    margin: auto;
}

.search-result {
    width: 506px;
    background: #FFF;
    margin-top: 2px;
    padding: 10px 13px;
    border-radius: 10px;
    display: none;
    position: absolute;
    left: 65px;
    max-height: 280px !important;
    overflow-y: auto;
    z-index: 1000;
    height: auto;
    max-height: 200px;
    overflow-y: scroll;
}

.search-result-item {
    color: #828282;
    font-size: 14px;
    padding: 10px 5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: var(--transition);
}

.search-result-item:hover {
    background-color: #e2e2e2;
    letter-spacing: 0.6px;
}

.search-result-item:first-child {
    padding-top: 0px;
}

.search-result-item:last-child {
    border: 0px;
    padding: 0px;
    padding-top: 5px;
}

.header-info-searchbar-form button {
    padding: 10px 13px;
    position: absolute;
    left: 67.5px;
    top: 4.2px;
    background-color: var(--blue);
    color: #FFF;
    cursor: pointer;
    border-radius: 10px;
    transition: var(--transition);
}

.header-info-searchbar-form button:hover {
    background-color: #0d6ef5;
}

.header-info-searchbar-form input {
    width: 506px;
    padding: 14px 13px;
    border-radius: 10px;
    font-size: 13px;
}

.header-motivation {
    font-size: 13px;
    color: #fff;
    margin-top: 30px;
    width: 100%;
}

.header-motivation a {
    color: var(--red);
    transition: var(--transition);
    padding-bottom: 1.5px;
    border-bottom: 1px solid var(--red);
}

.header-motivation a:hover {
    color: var(--blue);
    border-bottom: 1px solid var(--blue);

}

/* End Header Info Section */

/* End Header Section Style */


/* Main Section Style */

/* Popular Topics Section Style */

.popular-topics {
    margin: 55px 0px 130px 0px;
}

.popular-topics-content-main {
    margin-top: 45px;
    grid-template-columns: repeat(3, auto);
    gap: 40px 140px;
}


.popular-topic-box-img-container {
    box-shadow: 0 15px 30px rgb(0 0 0 / 6%);
    border-radius: 100%;
    padding: 25px 25px;
}

.popular-topic-box-img-container i {
    font-size: 24px;
    color: var(--blue);
}

.popular-topic-box-info h3 a {
    font-size: 17px;
    color: var(--black);
    transition: var(--transition);
}

.popular-topic-box:hover .popular-topic-box-info h3 a {
    color: var(--blue);
}

.popular-topic-box-info span {
    color: #58566B;
    font-size: 14px;
    user-select: none;
}

/* End Popular Topics Section Style */


/* Ads - Site Capabilities Section Style */

.site-ads {
    margin-top: 30px;
}

.ad-desc-main {
    margin-top: 40px;
}


.ad-option {
    margin-bottom: 27px;
}

.ad-img {
    text-align: end;
}

.ad-img img {
    width: 85%;
}

.ad-option-text {
    margin-top: -8px;
    margin-right: 20px;
}

.ad-option-text p {
    color: #58566B;
    font-size: 14px;
    font-weight: 400;
    margin-top: 5px;
}

.ad-desc-footer {
    margin-top: 45px;
}

.ad-desc-footer a button {
    background-color: var(--red);
    border-radius: 5px;
    color: #fff;
    padding: 16.5px 37px;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.ad-desc-footer a:hover button {
    background-color: var(--blue);
}

/* End Ads - Site Capabilities Section Style */


/* Best Courses Section Style */

.featured-courses {
    margin-top: 110px;
}

.featured-courses-main {
    margin-top: 40px;
}

.tab {
    background-color: #05F;
    border-radius: 5px;
    padding: 10px 20px;
}

.tab-menu {
    grid-template-columns: repeat(6, auto);
    column-gap: 30px;
}

.tab-menu-item {
    cursor: pointer;
}

.course-tab {
    color: #fff;
    transition: all 0.8s ease-out 0.0001s;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 17px;
    font-weight: 500;
}

.tab-menu-item:hover .course-tab {
    color: #05F;
    background-color: #fff;
}

/* ------------------------------------- */


.courses {
    grid-template-columns: repeat(3, 31.5%);
    gap: 30px;
    display: none;
    animation: fade 0.6s ease-in 0.0001s;
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.courses:first-child {
    display: grid;
    opacity: 1;
}

.last-courses {
    margin-top: 40px;
}

.course-box {
    box-shadow: 0px 15px 30px rgb(29 23 77 / 5%);
    transition: var(--transition);
}

.course-box:hover {
    box-shadow: 0px 15px 30px rgb(29 23 77 / 10%);
}


.course-main {
    padding: 10px 28px 0px 28px;
}

.course-tags {
    position: absolute;
    top: 12px;
    right: 10px;
}

.course-tags a {
    color: #ffffff;
    font-size: 11px;
    border-radius: 5px;
    padding: 5px;
    background-color: #14C6EB;
}

.course-info ul li {
    font-size: 14px;
    color: #58566B;
}

.course-info ul li i {
    color: var(--red);
}

.course-title {
    margin-top: 20px;
}

.course-img a {
    display: inline-block;
    height: 100%;
}

.course-img img {
    height: 210px;
}

.course-title h3 {
    text-align: right;
}

.course-title h3 a {
    color: var(--black);
    transition: var(--transition);
    font-size: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-title h3 a:hover {
    color: var(--blue);
}

.course-instructor-info {
    margin-top: 17px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e3e3e8;
}

.instructor-profile img {
    border-radius: 50%;
    width: 35px;
    height: 35px;
}

.instructor-name {
    margin-top: 2px;
    margin-right: 10px;
}

.instructor-name a {
    font-size: 12.5px;
    color: #706f81;
}

.course-footer {
    padding: 22px 28px 22px 28px;
    flex-direction: row-reverse !important;
}

.course-details a {
    color: var(--red);
    font-size: 14px;
    border-bottom: 2px solid var(--red);
    transition: var(--transition);
    user-select: none;
}

.course-details a:hover {
    color: var(--blue);
    border-color: var(--blue);
}

.course-details a i {
    color: inherit;
    margin-left: 3px;
}

.course-price span {
    color: var(--green);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    user-select: none;
    cursor: text;
}

.featured-courses-footer {
    margin-top: 45px;
}

.featured-courses-footer a button {
    background-color: var(--red);
    color: #FFFFFF;
    padding: 13.5px 18px;
    cursor: pointer;
    transition: var(--transition);
}

.featured-courses-footer a button:hover {
    background-color: var(--blue);
}

.featured-courses-footer a button i {
    margin-left: 5px;
    margin-top: 2px;
}

/* End Best Courses Section Style */


/* Site Statistics Section Style */

.site-statistics {
    background-color: var(--green);
    color: #FFF !important;
    height: auto;
    margin-top: 150px;
    padding: 110px 0px;
}

.site-statistics-main {
    margin-top: 60px;
    grid-template-columns: repeat(4, auto);
}


.site-statistics-heading h4 {
    color: #FFF !important;
}


.number-of-students,
.number-of-teachers,
.duration-of-all-courses,
.number-of-all-courses {
    border-right: 2px solid #E3E3E83B;
    padding-right: 50px;
    padding-left: 50px;
}

.number-of-students {
    padding-right: 80px;
    border-right: 0px solid #E3E3E83B;
}


.number-of-students span:first-child,
.number-of-teachers span:first-child,
.duration-of-all-courses span:first-child,
.number-of-all-courses span:first-child {
    font-size: 25px !important;
    font-weight: 700 !important;
    margin-left: 10px;
}

.number-of-students span,
.number-of-teachers span,
.duration-of-all-courses span,
.number-of-all-courses span {
    font-size: 14px !important;
    font-weight: 500 !important;
}


/* End Site Statistics Section Style */


/* Articles Section Style */

.articles {
    margin-top: 100px;
}

.articles-main {
    margin-top: 50px;
    grid-template-columns: repeat(3, calc(100% / 3 - 20px));
    column-gap: 30px;
}

.article-box {
    transition: var(--transition);
    background-color: #02010100;
}

.article-box:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.article-box:hover .article-box-img img {
    transform: scale(1.05) rotate(2deg);
    opacity: .8;
}

.article-box-bottom-section {
    padding: 18px 30px;
}

.article-box-img {
    /* width: 355px; */
    width: 100%;
    overflow: hidden !important;
}

.article-box-img img {
    width: 100%;
    height: 210px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    transition: all 0.25s linear 0.000001s;
}

.article-box-info {
    color: var(--red) !important;
}

.article-box-info ul li i {
    font-size: 14px;
    color: var(--red) !important;
}

.article-box-info ul li {
    font-size: 13px;
    color: var(--black);
}

.article-box-info ul li a {
    color: var(--blackP) !important;
    font-size: 13px;
    transition: var(--transition);
}

.article-box-info ul li:first-child a:hover {
    opacity: 0.8;
}

.article-box-info ul li:last-child {
    letter-spacing: 1px;
}

.article-box-title {
    padding: 19px 0px;
}

.article-box-title h3 a {
    color: var(--black);
    font-size: 17px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-footer a {
    color: var(--red) !important;
    transition: var(--transition);
    font-size: 14px;
}

.article-footer a:hover {
    color: var(--blue) !important;
}

.article-footer a i {
    top: 2px;
    margin-right: 2px;
}

.more-article a button {
    background-color: var(--red);
    color: #FFF;
    padding: 12px 15px;
    cursor: pointer;
    transition: var(--transition);
}

.more-article a button:hover {
    background-color: var(--blue);
}

.more-article a button i {
    margin-right: 10px;
}

/* End Articles Section Style */


/* End Main Section Style */