.card {
  padding: 0;
  margin: 0 0 20px;
  overflow: hidden;
  min-height: 230px;
  position: relative;
  transition: all 0.2s;
}

.card.card-course-online {
  margin-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.card a:hover {
  text-decoration: none;
}

.card-label {
  background: #eaedf2;
  padding: 8px 25px;
  display: block;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  font-weight: bold;
  font-size: 12px;
  letter-spacing: 1px;
}

.card-title {
  margin: 15px 25px 10px;
  overflow: hidden;
  position: relative;
  height: 55px;
}

.card-description {
  padding: 0 25px 0;
  font-size: 13px;
  line-height: 20px;
  color: #636c72;
}

.card-description p {
  overflow: hidden;
  max-height: 60px;
  position: relative;
}

.card-description p:after,
.card-title:after {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 16px;
  width: 100px;
  content: "";
  background-image: -webkit-linear-gradient(
    left,
    rgba(255, 255, 255, 0),
    #fff 40%,
    #fff
  );
  background-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 0),
    #fff 40%,
    #fff
  );
}

.card-title:after {
  height: 24px;
}

.card-links {
  border: 1px solid #d9e0ea;
  position: relative;
  top: -1px;
  display: flex;
}

.card-links a {
  font-weight: bold;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #636c72;
  flex: 1;
  text-align: center;
  border-left: 1px solid #d9e0ea;
  padding: 10px 25px;
  background: rgba(234, 237, 242, 0.5);
}

.card-links a:hover {
  background: rgba(234, 237, 242, 1);
  text-decoration: none;
}

.card-links a:first-child {
  border: none;
}

.card-tags {
  padding: 0 25px 15px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: transparent;
}

.card-tags span {
  display: inline-block;
  border-radius: 25px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 10px;
  letter-spacing: 1px;
  border: 2px solid #eaedf2;
  padding: 3px 10px;
  color: #636c72;
}

.tag-list {
  margin: 20px 0;
}

.tag-list a {
  border: 2px solid #eaedf2;
  margin: 0 5px 5px 0;
  border-radius: 25px;
  color: #636c72;
  display: inline-block;
  padding: 6px 16px;
}

.tag-list a:hover {
  text-decoration: none;
  background: rgba(234, 237, 242, 0.4);
}

.tag-list a.active {
  background: #eaedf2;
  color: #636c72;
  text-decoration: none;
}

.circle {
  width: 9px;
  height: 9px;
  display: inline-block;
  border-radius: 25px;
  position: relative;
  top: -1px;
  margin-right: 10px;
}

.tag-list a.todos .circle {
  background: #3e5062;
}

.card.todos .card-label {
  background-color: #3e5062;
}

.card.todos .card-title {
  color: #3e5062;
}

.tag-list a.curso_online_e_ao_vivo .circle {
  background: #f9845b;
}

.card.curso_online_e_ao_vivo .card-label {
  background-color: #f9845b;
}

.card.curso_online_e_ao_vivo .card-title {
  color: #f9845b;
}

.tag-list a.curso_presencial .circle {
  background: #5cb860;
}

.card.curso_presencial .card-label {
  background-color: #5cb860;
}

.card.curso_presencial .card-title {
  color: #5cb860;
}

.tag-list a.curso_gravado .circle {
  background: #39add1;
}

.card.curso_gravado .card-label {
  background-color: #39add1;
}

.card.curso_gravado .card-title {
  color: #39add1;
}

.tag-list a.pt_minicursos .circle {
  background: #80438e;
}

.card.pt_minicursos .card-label {
  background-color: #80438e;
}

.card.pt_minicursos .card-title {
  color: #80438e;
}

.flag {
  width: 18px;
}

/* CSS from offline courses */

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;
}

.active .legend:not(.collapsed)::after {
  border-top: 5px solid #0275d8;
}

.active .legend.collapsed::after {
  border-left: 5px solid #0275d8;
}

.legend a {
  color: #292b2c;
}

.legend a.active {
  color: #0275d8;
}

.stepper {
  min-width: 330px;
}

.stepper > li .legend {
  font-family: Calibri, Arial, Helvetica, sans-serif;
}

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";
}

.card-grid {
  border-top: none;
}

.stepper > li {
  padding: 0 !important;
}

.stepper > li:before {
  left: -15px !important;
}

.stepper li ul li a {
  font-size: 14px;
}

/* .button-drive:hover,
.button-drive:active,
.button-drive:visited,
.button-drive:focus {
  text-decoration: none;
  color: #0275d8;
}

.button-drive {
  color: #0275d8;
} */

.description-yt {
  border-top: 1px solid #d9e0ea;
  margin-top: 10px;
  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 > div > div > section > div.px-5.my-5.mx-5{
    margin: 0 !important;
    padding: 0 !important;
  }

  p.legend{
    font-size: 1.5rem;
  }

 .stepper li ul li a{
    font-size: 1rem;
  }
}
