/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/


/* Simple style overrides or custom adds */

:root {
    --base-a: #1E71A2;
    --base-b: #FF5722;
    --base-c: #9c165f;
}

.bg-blue {
    background-color: var(--base-a);
}

.some-css-selector {
    font-size: 13px;
}


/* ==========================================================================
** Responsive styles custom rules
* These rules are ready to be used for either overrides
* or just your own custom rules.
========================================================================== */


/** Higher screens+ **/

@media only screen and (min-width: 1921px) {}


/** Desktop+ **/

@media (min-width: 1200px) {}


/** Laptop **/

@media (max-width: 1200px) {}


/** Laptop+ **/

@media (min-width: 991px) {}


/** Laptop **/

@media (min-width: 992px) and (max-width: 1199px) {}


/** Large Tablets **/

@media (max-width: 992px) {}


/** Tablets (landscape mode)  **/

@media (min-width: 768px) and (max-width: 991px) {}


/** Tablets+  **/

@media (min-width: 768px) {
    .section-featured-courses {
        margin-top: -180px !important;
    }
}


/** Tablets (portrait mode)  **/

@media (min-width: 481px) and (max-width: 768px) {}


/** Smartphone landscape mode / Mini Tablet **/

@media (max-width: 767px) {}


/** Smartphone landscape mode / Mini Tablet **/

@media (max-width: 600px) {}


/** Smartphone portrait mode **/

@media (max-width: 480px) {}


/** Normal phone portrait mode+ **/

@media (min-width: 320px) {}

.bg-color,
.bg-color #header-wrap {
    /* background-color: #1E71A2 !important; */
    /* background: rgb(30, 113, 162);
    background: linear-gradient(90deg, rgba(30, 113, 162, 1) 0%, rgba(255, 87, 34, 1) 50%, rgba(30, 113, 162, 1) 100%); */
}

#top-bar {
    background-color: var(--base-a) !important;
}

.top-links-item>a {
    padding: 12px;
    font-size: 16px;
    color: #ffffff;
    line-height: 16px;
    font-weight: 500;
    text-transform: none;
}

.top-links-item:hover {
    background-color: transparent;
}

.top-links-item>a:after {
    content: "";
    position: absolute;
    top: 12px;
    right: 0;
    width: 1px;
    height: 16px;
    background-color: #ffffff;
    opacity: 0.5;
}

.top-links-item {
    border-left: 0 !important;
}

.top-links-item:last-child>a:after {
    opacity: 0;
}

.icon-dark {
    font-family: 'font-icons';
}

.dark-mode .icon-dark::before {
    content: "\eae7";
}

.dark .header-misc-icon>a {
    color: #EEE;
}

.dark .icon-dark {
    font-family: 'lined-icons';
}

.dark .dark-mode .icon-dark::before {
    content: "\e9e3";
}

.top_features .top-links-item {
    margin: 6px 0 6px 4px;
}

.top_features .top-links-item>a {
    background-color: #FFF;
    border-radius: 3px;
    padding: 0 8px;
    line-height: 28px;
    color: var(--base-a);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.top-links-item>a>i:first-child {
    margin-right: 0;
}

.menu-item:hover>.menu-link,
.menu-item.current>.menu-link {
    color: var(--base-b);
}

@media (min-width: 992px) {
    .sub-menu-container,
    .mega-menu-content {
        border-top: 2px solid var(--base-b);
    }
    .sub-menu-container .menu-item:hover>.menu-link {
        color: var(--base-b);
    }
}

.header-misc .button {
    background-color: var(--secondcolor);
    margin: 0;
    padding: 29px 34px;
}

.slider-caption h2 {
    font-size: 58px;
    letter-spacing: 0;
    text-transform: capitalize;
    line-height: 62px;
    font-weight: 500;
}

.slider-caption h2 {
    text-shadow: 3px 3px 5px rgb(0 0 0 / 75%) !important;
}

.content-wrap {
    overflow: inherit;
}

.section-featured-courses {
    border-radius: 5px;
    color: #ffffff;
    padding: 24px;
    background-color: var(--base-b);
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.base-title-light {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 28px;
    position: relative;
    padding-bottom: 20px;
    font-weight: 500;
}

.base-title-light:before {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 60px;
    width: -webkit-fill-available;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
}

.base-title-light:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 5px;
    background-color: rgba(0, 0, 0, 0.2);
}

.base-title-dark {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 28px;
    position: relative;
    padding-bottom: 20px;
    font-weight: 500;
}

.base-title-dark:before {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 60px;
    width: -webkit-fill-available;
    height: 1px;
    background-color: rgb(0 0 0 / 50%);
}

.base-title-dark:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 5px;
    background-color: var(--base-b);
}

.featured-courses {
    position: relative;
    zoom: 1;
    overflow: hidden;
    margin-bottom: -30px;
}

.featured-course {
    position: relative;
    margin-bottom: 30px;
    background-color: rgb(255 255 255 / 80%);
    text-align: center;
    border-radius: 3px;
    padding: 25px 10px;
    display: block;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px;
}


/* .featured-course::before {
    content: "";
    position: absolute;
} */

.featured-course .featured-course-title {
    font-size: 16px;
    font-weight: 500;
    margin-top: 15px;
    margin-bottom: 0;
    color: #000000;
}

.featured-course-icon {
    width: 100%;
    display: block;
}

.featured-course-icon img {
    width: 64px;
    height: auto;
    margin: auto;
}

.online-education-fact .elh-section-header {
    margin-bottom: 35px;
}

.elh-section-header .elh-section-title {
    margin: 0;
    padding-bottom: 25px;
    position: relative;
}

.elh-section-header.text-left .elh-section-title:before {
    left: 0;
    margin-left: 0;
    width: 250px;
}

.elh-section-header .elh-section-title:before {
    content: "";
    background-color: #bdbdbd;
    bottom: 2px;
    position: absolute;
    width: 190px;
    height: 1px;
    left: 50%;
    margin-left: -95px;
}

.elh-section-header.text-left .elh-section-title:after {
    left: 0;
    margin-left: 0;
    width: 100px;
    background-color: #00bcd4;
}

.elh-section-header .elh-section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 60px;
    height: 5px;
    margin-left: -30px;
}

.button-base {
    background-color: var(--base-a);
}

.button-3d.button-base:hover,
.button-reveal.button-base:hover,
.button-border.button-base:hover,
.button-border.button-base.button-fill::before {
    background-color: var(--base-a) !important;
}

.app-links {
    margin-top: 30px;
}

.heading-box {
    position: absolute;
    width: 90%;
    left: 5%;
    bottom: 10%;
    padding: 8px 15px 0;
    border-radius: 5px;
    background-color: var(--base-a);
}

.heading-box .base-title-light {
    margin-bottom: 20px;
}

.subjects .col-padding {
    padding: 2rem 4rem;
}

.subjects .feature-box {
    border-top: 3px solid var(--base-b);
    border-radius: 5px;
    width: 160px;
    margin: auto;
    padding: 1rem 0;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

.bg-lightgray {
    background-color: #f7f7f7 !important;
}

.posts-carousel .entry a img {
    border-radius: 5px;
    overflow: hidden;
}

.posts-carousel .entry-title h3 {
    font-size: 18px;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
}

.tutorial {
    background-image: url(../images/banner-7.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
}


/* ----------------------------------------------------------------------------
	Services Grid
---------------------------------------------------------------------------- */

.grid-border {
    overflow: hidden;
}

.grid-border [class^=col-]:before,
.grid-border [class^=col-]:after {
    content: '';
    position: absolute;
}

.grid-border [class^=col-]:before {
    height: 100%;
    top: 0;
    left: -1px;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.grid-border [class^=col-]:after {
    width: 100%;
    height: 0;
    top: auto;
    left: 0;
    bottom: -1px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dark .grid-border [class^=col-]:before,
.dark .grid-border [class^=col-]:after {
    border-color: rgba(255, 255, 255, 0.05);
}