:root {
  --bg-primario: #fff;
  --bg-secundario: #e3eeff;
}

html{
  scroll-behavior: smooth;
}

body {
  font-family: Montserrat, sans-serif;
  background-color: var(--bg-primario);
  
}

/* ----------------- TOPO DAS PÁGINAS E BOTÃO VOLTAR --------------- */

.section .activity .activityinstance,
.section .activity .activityinstance div {
  display: inline-block;
  width: 100%;
}

.section .activity .contentwithoutlink > a,
.section .activity .activityinstance > a {
  display: block;
  text-indent: 0 !important;
  line-height: 1.2 !important;
  width: 100%;
  padding: 6px 8px 6px 8px !important;
  border-radius: 8px;
}

.section .activity .activityinstance > a:hover {
  display: block;
  text-indent: 0 !important;
  padding-left: 0 !important;
  line-height: 1.2 !important;
  width: 100%;
  background-color: var(--bg-secundario);
  padding: 6px 8px 6px 8px !important;
}

.section .activity .availabilityinfo,
.section .activity .contentafterlink {
  margin: 0 !important;
  padding-left: 8px;
}

.mod-indent-outer {
  display: block;
}

#page-mod-page-view #page-content {
  margin-top: 0 !important;
}

.breadcrumb {
  margin-left: -15px;
  font-size: 11px !important;
}

header#page-header {
  padding-left: 15px;
  padding-right: 15px;
}

.page-context-header {
  overflow: hidden;
}

.course-content-header {
  background-color: var(--bg-primario);
  position: sticky;
  top: 72px;
  z-index: 6;
  padding-top: 8px;
}

div[role="main"] {
  margin-top: 0 !important;
}

.page-header-headings {
  display: none !important;
}

.header.backto .icon {
  background-image: url(https://recursos-moodle.caeddigital.net/projetos/rnc2020/img/home.png);
  color: transparent;
  background-size: 16px;
  background-repeat: no-repeat;
}

.header.backto span {
  display: none;
}

.header.backto a::after {
  content: "Voltar";
}

.header.backto a {
  padding: 4px;
  transition: 0.3s;
}

.header.backto a:hover {
  background-color: var(--bg-secundario);
  padding: 4px;
}

#page-site-index {
  /* background-color: var(--bg-primario); */
  background: url("https://recursos-moodle.caeddigital.net/projetos/2022/es/img/imagem%20de%20fundo_essa.png")
    top / cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

#page-site-index header#page-header {
  background-color: transparent;
}

.format-caedsections .course-content ul.caedsections-level-1 li.section.main {
  border: none;
  border-radius: 10px;
  box-shadow: 0 0 10px #ddd;
}

.mform.full-width-labels .fitem.row {
  margin-left: 0;
  margin-right: 0;
  display: flex;
  flex-direction: column;
}

.mform.full-width-labels .fitem.row .col-md-3 {
  width: 100% !important;
  max-width: 100% !important;
}

.form-control-static {
  margin-top: 32px;
}

.header.backto {
  border: none !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
}

.header.backto span {
  display: none;
}

.header.backto a::after {
  content: "Voltar";
}

.format-caedsections
  .course-content
  ul.caedsections
  li.section
  > .content
  > .summary {
  margin-left: 0;
  padding-left: 0 !important;
}

.format-caedsections:not(.editing)
  .caedsections-level-1
  > li.section.main
  > .content {
  padding: 10px 8px !important;
}

.sectionname {
  padding-left: 8px;
}

.sectionname a {
  cursor: not-allowed;
  text-decoration: none;
}

.sectionname a:hover {
  cursor: initial;
  text-decoration: none !important;
}

/* --------- */

/* OCULTAR ITENS DO MENU LATERAL */

[data-key="mycourses"],
[data-key="calendar"],
[data-key="privatefiles"],
[data-key="home"],
[data-key="badgesview"],
[data-key="participants"],
[data-key="grades"],
[data-key="myhome"],
[data-parent-key="mycourses"],
[data-key="coursehome"],
[data-type="30"] {
  display: none !important;
}

/* -- Configura a lista de Meu cursos -- */

div#frontpage-available-course-list h2 {
  display: none;
}

#frontpage-course-list h2 {
  display: none;
}

.coursebox {
  background-color: #fff !important;
  min-height: 200px;
  max-height: 200px;
  border-radius: 10px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 10px #ddd;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 16px 0 0;
  margin-bottom: 32px;
  position: relative;
}

.coursebox:hover {
  box-shadow: 0 0 20px #bbb;
}

.coursebox > .info {
  margin-left: 16px;
  padding-right: 120px;
  width: 80%;
}

@media (max-width: 768px) {
  .coursebox {
    min-height: 500px;
    flex-direction: column;
  }

  .coursebox > .info {
    padding-right: 16px;
  }

  .coursebox .content .courseimage {
    width: 100%;
    height: auto;
  }

  .coursebox .content .courseimage img {
    border: none;
    max-width: 100%;
    max-height: 100%;
  }
}

.coursebox > .info > .coursename {
  font-size: 28px;
  font-weight: 300;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  padding: 24px 24px 48px 24px;
}

.coursebox > .info > .coursename::after {
  content: " ";
  width: 100%;
  height: 1px;
  background-color: #fb9cfb;
  position: absolute;
  margin-left: -29px;
}

.coursebox > .info > .coursename a {
  background: transparent;
  padding-left: 0;
  line-height: 1.4;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.coursebox .content {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
}

.coursebox .content p {
  font-size: 14px !important;
}

.coursebox .content .courseimage {
  width: 200px;
  height: 200px;
  min-width: 200px;
  min-height: 200px;
  margin: 0 !important;
  border-radius: 10px 0 0 10px;
  align-items: center;
  display: flex;
}

.coursebox .content .summary {
  float: none;
  margin-left: 25px;
  width: 100%;
  padding-left: 0;
}

.summary .no-overflow {
  overflow: hidden;
}

.courses > .paging.paging-morelink {
  display: none;
}

/* -- Configurações do container das páginas -- */

body#page-course-view-caedsections {
  background-color: var(--bg-primario);
}

#page-course-view-caedsections #page-header {
  background-color: var(--bg-primario);
}

#region-main {
  border: none;
  background-color: transparent;
  padding: 0;
  overflow-x: auto;
  overflow-y: visible;
}

#page-site-index #page-content {
  display: flex;
  align-items: center;
}

.curso-titulo {
  font-size: 36px;
}

.modulo-descricao,
.caedsections.caedsections-level-1 > li.section .summary p {
  font-weight: 400 !important;
  font-size: 16px !important;
  color: #000 !important;
}

.modulo-titulo {
  font-size: 16px !important;
  font-weight: 600 !important;
  margin-bottom: 20px;
  line-height: 24px;
  padding: 0 !important;
}

.section .label .mod-indent-outer {
  padding-left: 0;
  display: block;
}

.objeto-nome {
  padding-bottom: 0px !important;
  line-height: 1.5 !important;
}

.card-body {
  padding: 0;
}

.card {
  background-color: transparent;
  border: 0;
}

@media (min-width: 1200px) {
  .coursebox .content .courseimage img {
    max-width: 200px;
    max-height: 200px;
    border: none;
    border-radius: 10px 0 0 10px;
  }
}

.curso-box-titulo {
  font-size: 18px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
  width: 100%;
}

.indisponivel {
  opacity: 0.4;
}

@media (min-width: 1200px) {
  .courses .coursebox {
    max-width: 80%;
  }
}

@media (max-width: 576px) {
  .iframe-slides {
    display: none;
  }

  #nav-drawer {
    display: none;
  }

  .path-site li.activity > div,
  .path-course-view li.activity > div {
    position: relative;
    padding: 0 !important;
  }

  .section .label .contentwithoutlink,
  .section .label .activityinstance {
    padding-right: 0 !important;
    display: block;
    height: inherit;
  }
}

.objeto-nome .prefixo-aula {
  display: none !important;
}

.format-caedsections:not(.editing) .caedsections.caedsections-level-1 > li {
  -webkit-box-shadow: none;
  box-shadow: none;
}

nav.navbar .logo img {
  width: 100px;
  max-width: 100px;
}

.card-header-image {
  border-radius: 10px 10px 0 0;
}

/* ----- BARRA LATERAL -----*/

#nav-drawer {
  overflow: hidden;
  background-color: #f5f5f5;
}

#nav-drawer:hover {
  overflow-y: scroll;
  width: 360px !important;
  box-shadow: 0 0 10px #ddd;
}

#nav-drawer .list-group-item {
  height: 48px !important;
  display: flex;
  align-items: center;
  background-color: transparent;
}

#nav-drawer .media {
  display: flex;
  align-items: center;
  height: 48px !important;
}

#nav-drawer .media-left {
  margin-right: 8px;
}

#nav-drawer .media-body {
  text-align: left;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

/* [data-key="coursehome"] i {
  border: none !important;
  color: transparent;
  background-image: url("https://recursos-moodle.caeddigital.net/projetos/rnc2020/img/home.png");
  background-size: 18px;
  background-repeat: no-repeat;
  background-position: center;
}
 */
[data-key="coursehome"] {
  display: none;
}

[data-key="sitesettings"] i {
  border: none !important;
  color: transparent;
  background-image: url("https://recursos-moodle.caeddigital.net/projetos/rnc2020/img/ferramentas.png");
  background-size: 18px;
  background-repeat: no-repeat;
  background-position: center;
}

.em-breve {
  background-color: #ddd;
  color: #bbb;
  padding: 4px 12px 4px 12px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
}

.format-caedsections:not(.editing) .activityinstance:before {
  display: none;
}

#page-site-index .section .label .contentwithoutlink,
.section .label .activityinstance {
  padding-right: 0 !important;
}

#page-site-index .section .activity.modtype_label.label div:nth-of-type(1) {
  padding: 0 !important;
}

@media (max-width: 768px) {
  #nav-drawer {
    display: none;
  }

  body#page-course-view-caedsections #region-main .caedsections-level-1 li {
    width: 100%;
  }

  .format-caedsections:not(.editing)
    .caedsections-level-1
    > li.section.main
    .card-header-image {
    max-width: 100%;
    width: 100%;
  }

  .coursebox .content {
    flex-direction: column;
  }

  .branchbuttoncontainer .singlebutton {
    width: 100%;
    max-width: 100% !important;
    min-width: 100% !important;
  }
}

#region-main-settings-menu > div {
  margin: 8px 0 !important;
}

.contentwithoutlink .no-overflow {
  overflow: inherit;
}

.contentwithoutlink {
  padding-right: 0 !important;
}

.format-caedsections:not(.editing) .type-simple-card .activity,
.format-caedsections:not(.editing) .type-expandable-card .activity {
  padding: 16px 0;
  border-bottom: 1px solid #8b8b8b;
}

.thememodelo1_footer {
  position: static;
  background: #f9f9f9;
  padding: 24px 30px 24px 86px;
}

.thememodelo1_footer .row {
  justify-content: space-between !important;
}

.thememodelo1_footer .row div:first-child {
  min-width: 50%;
}

.thememodelo1_footer_logos {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  width: 50%;
  max-width: 50%;
  padding: 15px;
  align-items: center;
}

.navbar-light .navbar-nav .nav-link{
  color: #71767a !important;
}

.activity-navigation{
  background-color: #f9f9f9;
  padding: 32px;
  margin: 64px -15px 0 -15px !important;
}

#page-content{
  padding-bottom: 0 !important;
}

#region-main{
  margin-bottom: 0 !important;
}

#page{
  min-height: calc(100vh - 83px);
}
