body {
  font-size: 15px !important;
}

.contentContextTable {
  padding: 0;
  margin: 0;
  /*background-image:url(//cdn2.scriptcase.net/lib/img/bgSiteContentBody.png);*/
  background-repeat: repeat-y;
  border: 0 solid #ffffff;
  border-width: 0px 1px 0px 1px;
}

div.selectedition {
  height: 110px;
}

#tab_fundamentals h2,
#tab_estadual h2,
#tab_municipal h2,
#tab_educacional h2,
#tab_corporativo h2,
#tab_conselhos h2 {
  font-size: 18px;
  color: #4b6d88;
}

.ui-tabs-panel {
  font-family: Calibri, Arial, Helvetica, sans-serif;
}

.ui-widget-content {
  /*border: 0px;*/
  background: none;
}

.ui-tabs,
.ui-tabs .ui-tabs-panel {
  padding: 0;
  margin: 0;
  background-color: #fff;
}

#tab_fundamentalsPad {
  margin: 10px;
  height: 2200px;
}

.ui-tabs .ui-tabs-nav {
  border-width: 0 0 1px 0;
}

#down span.title_down {
  font-size: 16px;
  font-weight: bold;
  color: #006996;
}

#down span.little_title {
  font-size: 14px;
  font-weight: bold;
  color: #006996;
}

#down span.desc {
  font-size: 14px;
}

#down a {
  font-size: 14px;
  color: #006996;
}

span.views {
  font-size: 14px;
  color: #999;
}

.contentContextTable {
  padding: 0;
  margin: 0;
  border: 0;
}

.playVideo {
  margin-left: 30px;
  height: 25px;
}

.video_play_modal {
  border: 1px solid #963737;
  text-align: center;
  font-size: 18px;
  color: #ffffff;
  padding: 4px;
  float: left;
  border-radius: 4px;
  width: 160px;
  font-weight: bolder;
  background: rgba(179, 27, 27, 1);
  background: -moz-linear-gradient(
    top,
    rgba(182, 16, 16, 1) 0%,
    rgba(182, 16, 16, 1) 100%
  );
  background: -webkit-gradient(
    left top,
    left bottom,
    color-stop(0%, rgba(182, 16, 16, 1)),
    color-stop(100%, rgba(182, 16, 16, 1))
  );
  background: -webkit-linear-gradient(
    top,
    rgba(182, 16, 16, 1) 0%,
    rgba(182, 16, 16, 1) 100%
  );
  background: -o-linear-gradient(
    top,
    rgba(182, 16, 16, 1) 0%,
    rgba(182, 16, 16, 1) 100%
  );
  background: -ms-linear-gradient(
    top,
    rgba(182, 16, 16, 1) 0%,
    rgba(182, 16, 16, 1) 100%
  );
  background: linear-gradient(
    to bottom,
    rgba(182, 16, 16, 1) 0%,
    rgba(182, 16, 16, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b31b1b', endColorstr='#bd3b3b', GradientType=0);
}

.descricaoVideo {
  margin: 0px 0px 10px 0px;
  text-align: justify;
}

.tituloVideo {
  margin: 0px;
  font-weight: bold;
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 10px;
  text-decoration: underline;
}

.videoContent {
  width: 100%;
  float: left;
  position: relative;
  padding: 0px 0px 25px 0px;
}

.tituloTexto {
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 8px 22px;
  font-size: 32px;
  color: #0076cc;
  font-family: Calibri, Arial, Helvetica, sans-serif;
  font-weight: bold;
}

.screenVideoContent {
  display: inline-block;
  margin-top: 35px;
  margin-left: 35px;
  float: left;
}

.generalContent {
  width: 942px;
  margin: 0px;
  position: relative;
}

.list {
  list-style-type: decimal;
  margin-top: 0px;
}

.texto {
  float: left;
  margin-left: 30px;
  margin-top: 21px;
  display: inline-block;
  width: 555px;
  margin-right: 30px;
}

.transparencia {
  position: absolute;
  width: 280px;
  height: 180px;
}

.descricaoCurso {
  width: 100%;
  background-color: #eaeaea;
}

.descricaoP {
  padding: 0px 40px 20px 40px;
  margin: 0px;
  color: #333;
}

#video-popup-content {
  border-radius: 3px;
  border: solid 2px #ccc;
  padding: 15px;
  position: fixed;
  width: 800px;
  height: 480px;
  background-color: #fff;
  left: 50%;
  margin-left: -400px;
  top: 50%;
  margin-top: -260px;
  z-index: 100000;
  display: none;
}

#video-popup-content iframe {
  width: 100%;
  height: 100%;
  border: 0px;
}

#close-video-content:hover {
  background-color: #888;
  cursor: pointer;
}

#close-video-content:active {
  background-color: #666;
  text-shadow: 0px 0px 0px #000;
}

#close-video-content {
  right: -20px;
  border-radius: 5px;
  text-align: center;
  color: #fff;
  font-weight: bold;
  text-shadow: 2px 2px 4px #000;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-top: -35px;
  width: 30px;
  height: 20px;
  position: absolute;
  background-color: #333;
  border: solid 2px #999;
}

.video_download {
  float: left;
  height: 30px;
  text-align: center;
  font-size: 19px;
  color: #000000;
  margin-top: 2px;
  margin-left: 24px;
  padding: 3px;
  border-radius: 4px;
  font-weight: bolder;
}

.collapsed .collapse {
  display: none;
}

.collapse.show {
  display: none;
}

.collapse.show.in {
  display: inherit;
}

/* .collapsed . */

.legend {
  cursor: pointer;
}

.legend.collapsed::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 5px solid #292b2c;
  margin-left: 5px;
  vertical-align: middle;
}

p.legend::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 5px solid #292b2c;
  margin-left: 5px;
  vertical-align: middle;
}

.active .legend.collapsed::after {
  border-left: 5px solid #0275d8;
}

/* step ball style */
.legend a {
  color: #292b2c;
}
.legend a.active {
  color: #0275d8;
}
.stepper > li .legend {
  font-family: Calibri, Arial, Helvetica, sans-serif;
  cursor: pointer;
  font-size: 16px;
  margin-left: 5px;
}
li.breadcrumb-item h1 {
  font-size: 11px;
  margin: 0px;
  padding: 2px;
  float: right;
}
.sp a {
  font-weight: normal;
}

.stepper > li.active .badge {
  font-family: "Open Sans";
}
.stepper > li {
  padding: 0 0 25px 0;
}
p.legend {
  margin-bottom: 0px !important;
}
.stepper li ul li a {
  font-size: 13px;
  color: #757575;
  padding-left: 15px;
}
.stepper li small {
  display: none;
}
.stepper > li .badge {
  width: 28px;
  height: 28px;
  line-height: 18px;
  margin: -2px 0 0 0;
}
.stepper li ul li a:before {
  width: 10px;
  height: 10px;
  left: -16px;
  top: 12px;
}
.stepper > li.active {
  color: inherit;
  font-weight: bold;
}
.stepper li ul li a.active {
  color: #0275d8;
  font-weight: bold;
}
.legend.collapsed::after {
  width: 13px;
  height: 13px;
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAHRJREFUOE+10jsKwkAQANC3N0hlaesJ01vbWXiA2NkJEVKlycmCIBbB3RGGTDvMY35FMkqy3m7AAzcsUYe1Dk54ocezhbRGOGLCBUMNiXZw+CB3XH8hEfCu6TBixnmL7A6kRkgtMX3G9CNFD/jN/3OFJpYGVoxwFBFzOCPwAAAAAElFTkSuQmCC)
    no-repeat center;
  background-size: 11px;
  border: none;
  transform: rotate(0deg);
  margin-left: 0px;
}
p.legend::after {
  width: 13px;
  height: 13px;
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAHRJREFUOE+10jsKwkAQANC3N0hlaesJ01vbWXiA2NkJEVKlycmCIBbB3RGGTDvMY35FMkqy3m7AAzcsUYe1Dk54ocezhbRGOGLCBUMNiXZw+CB3XH8hEfCu6TBixnmL7A6kRkgtMX3G9CNFD/jN/3OFJpYGVoxwFBFzOCPwAAAAAElFTkSuQmCC)
    no-repeat center;
  border: none;
  background-size: 11px;
  transform: rotate(90deg);
}
.stepper li ul li a:hover:before {
  border-color: #0275d8;
  background: #0275d8;
}
.stepper li ul li a:hover {
  color: black;
}
.stepper li ul li a {
  text-decoration: none;
}
.active .legend.collapsed::after {
  border: none;
}
/* fix banner top */
body.page-offline_courses {
  padding-top: 10px;
}

@media only screen and (max-width: 768px) {
  .d-flex.page-play {
    flex-direction: column-reverse;
  }

  .breadcrumb {
    display: none;
  }

  aside.d-flex {
    position: static !important;
    box-shadow: none !important;
    width: 100% !important;
    overflow: hidden !important;
  }
  aside ul.stepper {
    overflow: hidden;
  }

  #page-body > div.sp > main > section > div > section > div:nth-child(2) {
    margin: 0 !important;
    padding: 0 !important;
  }

  p.legend {
    font-size: 1.5rem;
  }

  .stepper li ul li a {
    font-size: 1rem;
  }
}

/* fix banner top */
body.page-courses {
  padding-top: 10px;
}

/* New Layout */

:root {
  --primary-color: #0275d8;
  --border-color: #dfdfdf;
  --text-color: #888;
  --bg-gray: hsl(210, 20%, 98%, 0.9);
  --sidebar-width: 340px;
}

.breadcrumb {
  height: 48px;
  display: flex;
  align-items: center;
}

.page-courses .sidebar:after {
  content: none;
}

.course-container {
  min-height: 100vh;
}

.breadcrumb-nav {
  background: white;
  padding: 12px 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
}

.breadcrumb-item a,
li.breadcrumb-item h1 {
  color: currentColor;
  text-decoration: none;
  font-size: inherit;
  margin: 0;
  display: inline-block;
  float: none;
}

.breadcrumb-item a {
  color: var(--primary-color);
}

li.breadcrumb-item.active {
  color: var(--text-color);
}

.breadcrumb-item a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.course-layout {
  display: flex;
  gap: 24px;
  margin: 0 auto 24px auto;
}

.sidebar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.resources-list .btn {
  background: var(--bg-gray);
  border-top: 1px solid var(--border-color);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.resources-list .btn:hover {
  backdrop-filter: brightness(50%);
}

.sidebar {
  width: var(--sidebar-width);
  background: white !important;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  padding: 0;

  position: sticky;
  top: 140px;
  height: fit-content;
  max-height: 75vh;
  overflow-y: auto;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 24px 16px;
  border-bottom: 1px solid var(--border-color);
}

.page-courses h2.sidebar-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  color: currentColor;
  font-weight: 400;
}

/* Lista de vÃ­deos */
.video-list,
.lessons-list {
  display: flex;
  flex-direction: column;
  list-style: none;
}

.lessons-list {
  padding-left: 24px;
}

.video-list {
  counter-reset: module;
  padding: 0;
  margin: 0;
}

.video-list > .lessons-list {
  counter-reset: lesson;
  padding: 0;
 }
 
 .video-list > .lessons-list > li {
  counter-increment: lesson;
 }
 
 .video-list > .lessons-list > li::before {
  content: counter(lesson) ".";
  position: absolute;
  left: 16px;
  color: #aaa;
  width: 20px;
  height: 20px;
  display: inline-block;
  text-align: center;
 }
 
 .video-list > .lessons-list > li {
  position: relative;
  padding: 8px 26px;
  border-bottom: 1px solid var(--border-color);
 }

.module {
  counter-reset: lesson;
}

.module-title {
  counter-increment: module;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 16px;
  margin: 0;
  border: none;
  border-bottom: 1px solid var(--border-color);
  background: transparent;
  width: 100%;
  text-align: left;
  font-weight: 400;
  font-size: 0.9rem;
  color: #4b4b4b;
  cursor: pointer;
  position: relative;
}

.module-title:hover {
  background: var(--bg-gray);
}

.module-title:after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  width: 13px;
  height: 13px;
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAHRJREFUOE+10jsKwkAQANC3N0hlaesJ01vbWXiA2NkJEVKlycmCIBbB3RGGTDvMY35FMkqy3m7AAzcsUYe1Dk54ocezhbRGOGLCBUMNiXZw+CB3XH8hEfCu6TBixnmL7A6kRkgtMX3G9CNFD/jN/3OFJpYGVoxwFBFzOCPwAAAAAElFTkSuQmCC)
    no-repeat center;
  background-size: 11px;
  transition: transform 0.3s ease;
}

.module-title.expanded:after {
  transform: translateY(-50%) rotate(-90deg);
}

.module-title.expanded .module-lessons {
  display: flex;
}

.module-title::before {
  content: counter(module) ". ";
}

.module-lessons {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.module-lessons li {
  list-style: none;
  counter-increment: lesson;
  display: flex;
  padding: 8px 16px;
  border-bottom: 1px solid var(--border-color);
}

.module-lessons li::before {
  content: counter(module) "." counter(lesson) " ";
  color: #aaa;
  /* filter: brightness(0.5); */
}

.video-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.2s;
}

.video-link.active {
  color: var(--primary-color);
}

.video-link-content {
  flex: 1;
  margin-left: 16px;
  display: flex;
}

.video-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.video-icon {
  width: 24px;
  height: 24px;
  color: currentColor;
}

.video-link .title {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  color: currentColor;
}

.video-meta {
  display: flex;
  align-items: center;
  font-size: 0.75rem;
}

.video-duration {
  margin-left: auto;
}

.video-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.75rem;
  color: var(--text-color);
  opacity: 0.5;
}

.video-link.active .video-number {
  color: var(--primary-color);
}

.main-content {
  flex: 1;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-info {
  padding: 24px 0;
}

.video-description {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Responsividade */
@media (max-width: 1024px) {
  .course-layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    position: static;
  }
}

/* Toggle button para o menu em dispositivos mÃ³veis */
.menu-toggle {
  display: none;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-color);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* AnimaÃ§Ã£o do menu */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
  .breadcrumb-nav {
    display: none;
  }

  .sidebar-wrapper{
    margin-top: -24px;
  } 

  .menu-toggle {
    display: block;
    background: var(--bg-gray);
    border-radius: 8px;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    /* transform: translateY(25px); */
    margin-top: 24px;
  }

  .sidebar {
    display: none;
    position: static;
  }

  .sidebar.active {
    display: block;
    margin-top: 24px;
  }
}
