@font-face {
    font-family: "RedHatDisplay";
    src: url("./RedHatDisplay/RedHatDisplay-Regular.eot");
    /* IE9 Compat Modes */
    src: url("./RedHatDisplay/RedHatDisplay-Regular.eot?#iefix") format("embedded-opentype"), url("./RedHatDisplay/RedHatDisplay-Regular.woff") format("woff");
    /* Modern Browsers */
    font-style: normal;
    font-weight: 300;
    text-rendering: optimizeLegibility;
  }
  
  @font-face {
    font-family: "RedHatDisplay-Medium";
    src: url("./RedHatDisplay/RedHatDisplay-Medium.eot");
    /* IE9 Compat Modes */
    src: url("./RedHatDisplay/RedHatDisplay-Medium.eot?#iefix") format("embedded-opentype"), url("./RedHatDisplay/RedHatDisplay-Medium.woff") format("woff");
    /* Modern Browsers */
    font-style: normal;
    font-weight: 400;
    text-rendering: optimizeLegibility;
  }
  
  @font-face {
    font-family: "RedHatDisplay-Bold";
    src: url("./RedHatDisplay/RedHatDisplay-Bold.eot");
    /* IE9 Compat Modes */
    src: url("./RedHatDisplay/RedHatDisplay-Bold.eot?#iefix") format("embedded-opentype"), url("./RedHatDisplay/RedHatDisplay-Bold.woff") format("woff");
    /* Modern Browsers */
    font-style: normal;
    font-weight: 700;
    text-rendering: optimizeLegibility;
  }




/* :root{
  --text-color: #0d1c27;
  --background-color: white;
  } */
  /* .dark-mode {
    --background-color: #0d1c27;
    --text-color: white;
  } */


html {
    --text-color: #0d1c27;
    --background-color: white;
    --bg-footer-banner: #0d1c27;
    --bg-outer-code-editor:  #e7e9eb;
}
html[data-theme='dark'] {
    --text-color: #DDDDDD;
    --background-color: #0d1c27;
    --bg-footer-banner: #007bff;
    --bg-outer-code-editor:  #0d1c27;
}
html, body {
    font-family: "RedHatDisplay";
} 
a:hover {
    text-decoration: none;
    border: none;
    outline: none;
}


#header-first {
    /* background-color: #007bff; */
    background-color: #163043;
    padding-top: 20px;
    padding-bottom: 20px;
}
.brand-name {
    color: white;
    font-size: 13px;
    font-family: "RedHatDisplay-Medium";
    letter-spacing: 1.2px;
}
a.brand-name:hover {
    color: white;
}
.obintusacademy_logo {
    width: 40px;
    height: auto;
    display: block;
    margin: auto;
    margin-bottom: -2px;
    margin-top: 0;
}
@media screen and (max-width: 767px){
    .brand-name {
        font-size: 13px;
    }
}




/* ///////////////////THEME BUTTON///////////////////// */
.theme-button {
    position: absolute;
    right: 10px;
    top: 38px;
    font-size: 25px
}
input[type=checkbox]{
    height: 0;
    width: 0;
    visibility: none;
}
label {
    cursor: pointer;
    text-indent: -9999px;
    position: absolute;
    top: 0px;
    right: 10px;
    width: 50px;
    height: 26px;
    background-color: #163043;
    display: block;
    border-radius: 100px;
    border: 3px solid white;
}


label:after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    right: 10px;
    width: 24px;
    height: 16px;
    margin: 2px;
    background-color: white;
    border-radius: 90px;
    transition: .2s;
}

input:checked + label {
    background-color: #163043;
}

input:checked + label:after {
    left: calc(100% - 5px);
    transform: translateX(-100%);
}

label:active:after {
    width: 60px;
}






/* ///////////////--------------------HEADER SECOND--------------/////////////////// */
#header-second {
    background-color: #007bff;
}
.link-container {
    padding: 14px 5px;
}
.nav-links {
    font-size: 12px;
    font-weight: bold;
    color: white;
    padding: 20px 10px 18px 10px;
    letter-spacing: 1px;
    font-family: 'RedHatDisplay';
}

.nav-icons {
    color: white;
    padding: 0px 10px;
}

a.nav-links:hover {
    color: white;
    transition: ease-in .2s;
    background-color: #163043; 
} 
.active {
    background-color: #163043; 
}





/* --------------------------------------NAV TUTORIALS */
#tutorials_cover {
    display: none;
    position: absolute;
    background-color:#0d1c27;
    color: white;
    padding: 40px;
    z-index: 999;
    width: 100%;
}

.tutorials-heading {
    font-weight: bolder;
    font-size: 30px;
    color: #DDDDDD;
}


.tutorial-nav-links {
    color: white;
    font-family: 'RedHatDisplay-Medium';
    font-size: 13px;
    margin: 5px;
    display: block;
    text-align: left;
    padding-bottom: 2px;
}
.tutorial-nav-links:hover {
    color: #007bff;
}

#close-button {
    position: absolute;
    right: 10px;
    top: 0px;
    font-size: 20px;
    padding: 10px 20px;
    background-color: white;
    color: #0d1c27;
}





.tutorials-headings {
    font-family: 'Avenir';
    font-weight: bolder;
    font-size: 34px;
    color: white;
}

.tutorials-sub-headings-detail {
    letter-spacing: 0.8px;
    font-size: 19px;
    font-family: 'RedHatDisplay-Medium';
    color: white;
}
.tutorials-sub-heading {
    font-family: 'RedHatDisplay-Medium';
    font-size: 19px;
    color: white;
}
.tutorials-sub-heading2 {
    font-family: 'RedHatDisplay-Medium';
    font-size: 22px;
    margin-top: 15px;
    color: white;
}
.tutorials-sub-details {
    font-family: 'RedHatDisplay';
    font-size: 13px;
}
@media screen and (max-width: 767px){
    .tutorials-headings {
        font-size: 27px;
    }
    .tutorials-sub-details {
        font-family: 'RedHatDisplay';
        font-size: 12.4px;
    }
}


/* ///////////////////////////////////// */



/* ////////////------------------------ CORE HEADER --------------////////////////// */
#core-header {
    background-color: #163043;
}
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

.link-container-core {
    padding: 18px 8px;
    text-align: center;
}
.nav-links-core {
    font-size: 13px;
    color: white;
    padding: 21px 15px 20px 15px;
    letter-spacing: 1px;
    font-family: "RedHatDisplay-Medium";
}
a.nav-links-core:hover {
    color: white;
    background-color: #0d1c27; 
    transition: ease-in .2s;
} 
.active-core {
    background-color: #0d1c27; 
}
@media screen and (max-width: 767px){
    .link-container-core {
        padding: 18px 8px;
    }
    .nav-links-core {
        font-size: 12px;
        padding: 23px 15px 20px 15px;
    }
}
@media screen and (max-width: 652px){
    a.nav-links-core:hover {
        color: white;
        background-color: inherit;
    }
    .nav-links-core {
        font-size: 12px;
        padding: 25px 10px 20px 10px;
    }
    .mobile-icon {
        display: none;
    }
}
/* @media screen and (max-width: 376px){
    .nav-links-core {
        padding: 25px 7px 20px 7px;
    }
} */





/* /////--------------------------------------MOBILE MENU DROPDOWN------ */
#mobile-side-bar {
    float: left;
    color: white;
    font-size: 35px;
    margin-left: 20px;
    margin-right: 5px;
    padding-top: 15px;
    background-color:#0d1c27;
    display: none;
}
@media screen and (max-width: 645px){
    #mobile-side-bar {
        padding-top: 30px;
    }
}




/* //////------------------------HEADINGS AND SUBHEADINGS----------//// */
.headings {
    font-weight: bolder;
    font-size: 30px;
    color: var(--text-color);
}

.sub-headings-detail {
    letter-spacing: 0.8px;
    font-size: 15px;
    font-family: 'RedHatDisplay-Medium';
    color: var(--text-color);
}
.sub-heading {
    font-family: 'RedHatDisplay-Medium';
    font-size: 15px;
    color: var(--text-color);
}
.sub-heading2 {
    font-family: 'RedHatDisplay-Medium';
    font-size: 22px;
    margin-top: 15px;
    color: var(--text-color);
}
.sub-details {
    font-family: 'RedHatDisplay';
    font-size: 13px;
}
@media screen and (max-width: 767px){
    .headings {
        font-size: 27px;
    }
    .sub-details {
        font-family: 'RedHatDisplay';
        font-size: 12.4px;
    }
}
/* //////////////////////// */






/* ------------------------------------ADDING PADDING----------------- */
.content-padding {
    padding-top: 60px !important;
}
/* ------------------------------------------- */





/* ///////////-----------------------GRID CONTENTS-------------///////////// */
.main-outer-cover {
    padding-top: 10px;
    background-color: var(--background-color);
    color: var(--text-color);
}
.main-content {
    padding: 0px 20px;
    line-height: 30px;
    text-align: justify;
}
.details {
    font-size: 19px;
}
.grid-container {
    display: grid;
    grid-template-columns: 20% 65% 15%;
    background-color: var(--background-color);
}
.aside-menu {
    background-color: white;
    position: fixed;
    width: 20%;
    overflow-y: scroll;
    height: 62%;
    grid-column-end: 2;
}
.aside-sticky {
    margin-top: -105px;
    height: 83%;
}
.main-content {
    display: grid;
    grid-column-start: 2;
}

/* #mobile-side-bar {
    display: none;
    font-size: 20px;
    cursor: pointer;
} */

@media screen and (max-width: 1000px){
    .grid-container {
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: auto;
    }
    .aside-menu {
        grid-row-start: 1;
        grid-column-start: 1;
        grid-row-end: 3;
        grid-column-end: 3;
        z-index: 2;
        background-color: white;
        width: 80%;
        height: 62%;
        display: none;
        margin-top: 0px;
    }
    .aside-sticky {
        margin-top: -79px;
        height: 90%;
    }
    
    #mobile-side-bar {
        display: none;
        float: left;
    }

    .main-content {
        grid-row-start: 1;
        grid-column-start: 1;
        grid-row-end: 2;
        grid-column-end: 2;
    }
    .right-ads {
        grid-row-start: 3;
        grid-column-start: 3;
        grid-row-end: 3;
        grid-column-end: 1;
    }
}
@media screen and (max-width: 768px){
    .aside-sticky {
        margin-top: -103px;
        height: 90%;
    }
}




/* //////------ASIDE CONTENTS-----///// */
.aside-menu {
    background-color: var(--background-color);
    color: var(--text-color);
}
.aside-links {
    padding-bottom: 10px;
}
.aside-link-children {
    display: block;
    font-size: 13.8px;
    font-family: 'RedHatDisplay-Medium';
    padding: 4px 20px 4px 50px;
    color: var(--text-color);
}
.aside-link-children:hover {
    background-color:#007bff;
    color: white;
}
.active-link-children-active {
    background-color:#007bff;
    color: white;
}
.core-headings {
    letter-spacing: 0.8px;
    font-size: 15px;
    font-family: 'RedHatDisplay-Bold';
    color: var(--text-color);
    padding: 10px 0 0 20px;
    margin-bottom: 4px;
}

.details {
    font-size: 19px;
}
@media screen and (max-width: 1024px){
    .core-headings {
        padding: 10px 0 0 10px;
    }
    .aside-link-children {
        padding: 4px 20px 4px 42px;
    }
}
@media screen and (max-width: 800px){
    .core-headings {
        font-size: 15px;
        padding: 10px 0 0 15px;
        margin-bottom: 4px;
    }
    .details {
        font-size: 17px;
    }
}
@media screen and (max-width: 800px){
    .aside-link-children {
        padding: 4px 20px 4px 38px;
    }
}









/* ////////////////-------------RIGHT ADS------ */
.right-ads {
    padding: 0px 15px;
    text-align: center;
}








/* ///////-----------------------PAGE NAVIGATION---------------///// */
.page-navigation {
    padding: 9px 0;
    display: inline;
}
#pgnav-left, #pgnav-right {
    background-color:#007bff;
    color: white;
    font-size: 10px;
    padding: 5px 30px;
}
#pgnav-left {
    float: left;
}
#pgnav-right {
    float: right;
}

#pgnav-left:hover, #pgnav-right:hover {
    background-color: #163043;
    color: white;
}
@media screen and (max-width: 500px){
    .page-navigation {
        padding: 4px 0;
    }
}









/* ////---------------------FOOTER CORES------------------------//// */
.banner-core {
    font-size: 13px;
    font-family: 'RedHatDisplay-Medium';
    padding: 21px 15px;
    line-height: 25px;
    background-color: var(--bg-footer-banner);
    color: white;
    letter-spacing: 1px;
    margin-top: 80px;
}

#footer-cores-cover {
    background-color: var(--background-color);
    padding: 40px 10px;
    text-align: center;
}
.footer-det {
    font-family: 'RedHatDisplay';
    font-size: 13px;
    font-weight: 200;
    line-height: 25px;
    padding-bottom: 10px;
    color: var(--text-color);
}
.footer-links {
    color: var(--text-color);
    font-family: 'RedHatDisplay-Medium';
    font-size: 13px;
    margin: 5px;
    display: block;
    text-align: left;
}
.footer-links:hover {
    color: #007bff;
}

.social-icons {
    color: var(--text-color);
    padding: 20px 15px;
    font-size: 25px;
}
.social-icons:hover {
    color: #007bff;
}






/* ////////-------------------------Tutorial Links----------//////// */
.tutorial-links {
    display: block;
    font-size: 15px;
    font-family: 'RedHatDisplay-Medium';
    padding: 3px 0px;
    color: var(--text-color);
}
.tutorial-links:hover {
    color:#007bff;
}






/* ------------------------------AJUSTED ------------//// */
.computer_basics_image {
    width: 450px;
    padding: 5px 0 30px 0;
}
@media screen and (max-width: 700px){
    .computer_basics_image {
        width: 400px;
    }
}
@media screen and (max-width: 500px){
    .computer_basics_image {
        width: 320px;
    }
}
.fa-arrow-right {
    display: inline;
    margin-left: -10px;
}




.tag-text {
    font-size: 12px;
}