.py-5 {
    padding-top: 0 !important;
}


:root {
  --bs-primary: #FF8C00;
  --bs-primary-rgb: 255, 140, 0;
}


.btn-primary, #collapseAccountMenu .active, .progress-bar, #chapter-list .active {
  background-color: #FF8C00 !important;
  border-color:    #FFA500 !important;
}


.btn-outline-primary {

  border-color:    #FF8C00 !important;  
  color: #FF8C00  !important;
}

.btn-outline-primary:hover {
    background-color:    #FF8C00 !important;  
  color: #fff  !important;  
}


.btn-primary:hover,
.btn-primary:focus {
  background-color: #e67600 !important;
  border-color:     #ff9a00 !important;
}

    #subtitle {
      margin-left: .5rem;
      color: #6c757d;
      opacity: 0;
      transition: opacity 0.5s ease-in-out;
    }



:root {
  --bs-primary: #FF8C00;
  --bs-primary-rgb: 255, 140, 0;
  

  --bs-body-color: #2C2C2E;   
  --bs-heading-color: #1C1C1E; 
}


body {
  color: var(--bs-body-color) !important;
  font-family: "Inter", sans-serif;
}


h1, h2, h3, h4, h5, h6 {
  color: var(--bs-heading-color) !important;
}


.btn-primary, .form-check-input:checked {
  background-color: #FF8C00 !important;
  border-color:    #FFA500 !important;
}


.btn-primary:hover,
.btn-primary:focus {
  background-color: #E67600 !important;
  border-color:     #FF9A00 !important;
}


a, .nav-link {
  color: #1A73E8; 
}
a:hover, .nav-link:hover {
  color: #1558B0;
}

code {
        border-left: 3px solid #333;
    background: rgb(220, 222, 224);
    /*background: linear-gradient(90deg, rgba(220,222,224,1) 0%, rgba(255,255,255,1) 35%);*/
    padding: 5px;

    color: #333;
    background-color: #eee;
    padding: 3px;
    border: solid 1px #ccc;
    border-radius: 5px;
    cursor: copy !important;
}

.card-body {
    text-align: justify;
}

small {
     font-style: italic;
}

.nav-link, .form-label {
    color: #222 !important;
}


p {
    margin-top: 5px !important;
    font-family: neue-haas-unica,sans-serif !important;
}



html[data-bs-theme="dark"] h5,
html[data-bs-theme="dark"] h4,
html[data-bs-theme="dark"] h1,
html[data-bs-theme="dark"] h2,
html[data-bs-theme="dark"] h3,
html[data-bs-theme="dark"] .active span,
html[data-bs-theme="dark"] .btn-primary,
html[data-bs-theme="dark"] .btn-danger,
html[data-bs-theme="dark"] #chapter-list a {
  color: #eee !important;
}

html[data-bs-theme="dark"] .btn-secondary {
  color: #000 !important;
}

html[data-bs-theme="dark"] .navbar-brand span,
html[data-bs-theme="dark"] .nav-link,
html[data-bs-theme="dark"] .form-label,
html[data-bs-theme="dark"] p,
html[data-bs-theme="dark"] button,
html[data-bs-theme="dark"] .accordion-body,
html[data-bs-theme="dark"] .text-reset,
html[data-bs-theme="dark"] .form-control,
html[data-bs-theme="dark"] .form-control-plaintext,
html[data-bs-theme="dark"] .form-select,
html[data-bs-theme="dark"] .table,
html[data-bs-theme="dark"] .table tr th,
html[data-bs-theme="dark"] .table tr td,
html[data-bs-theme="dark"] .form-check-label,
html[data-bs-theme="dark"] .mt-1 {
  color: #a4b1cd !important;
}
html[data-bs-theme="dark"] .navbar {
    background-color: rgba(30,41,59,var(--bs-bg-opacity,1))!important
}

html[data-bs-theme="dark"] .navbar-brand {
  filter: none !important;
}

html[data-bs-theme="dark"] nav .nav-link:hover {
  background-color: rgba(20,31,49,var(--bs-bg-opacity,1))!important
}


html[data-bs-theme="dark"] .input-group-text {
    color: #999
}

html[data-bs-theme="dark"] .list-group-item {
    color: #fff
}

html[data-bs-theme="dark"] .notify-btn {
    color: var(--bs-primary) !important;

       

}

html[data-bs-theme="dark"]  .course-overview .notify-btn {
    /*margin-bottom: 20px;*/
}

html[data-bs-theme="dark"] .notify-btn:hover {
    color: #fff !important;
}

.accordion-button:not(.collapsed) {
    background-color: #E67600 !important;
    color: #fff !important;
    border-color: #FFA500 !important;
}




.alert-info {
    margin-top: 0 !important;
}

.progress-bar b {
    color: #fff !important;
}

.progress-bar {
    height: 2rem !important;
}

.progress {
    height: 2rem !important;
}


@media (max-width: 1024px) {

    .navbar .ms-auto .nav-item  {
        margin-top: 10px;
    }

    .course-item .card-body a {
        margin-top: 10px;
        float: left;
       
        clear: both;
    }

    .notify-btn {
       /* margin-left: 0 !important;/*
        /*margin-bottom: 20px;;*/
    }

    .enterprise-call-to-action {
        margin-top: 20px;
    }

}


@media (max-width: 1400px) {

  .card-body .btn-primary, .card-body .notify-btn {
    margin-bottom: 10px;
    margin-right: 5px;
    float: left;
  }

  .card-body .btn-outline-primary {
    clear: both;
    float: left;
  }

}


.course-overview .notify-btn {
  margin-bottom: 20px;
}

.ribbon {
  position: absolute;
  top: 20px;         
  left: -95px;       
  background: #fff;
  color: var(--bs-primary);
  width: 260px;     
  text-align: center;
  transform: rotate(-45deg);
  font-size: 0.8rem; 
  padding: 8px 0;    
  line-height: 1;    
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}


.card { position: relative; overflow: hidden; }

.card-body ul li {
    color: #a4b1cd !important
}


html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto; 
}


