/*Ajuste moodle*/
:root {
  --primary: #044375; 
  --secondary: #2fa0b9;
  --highlight: #f0f0f0;
  --backgroundcolor: #d1e0e9;
  --backgroundsecondary: #00356f;
  --textcolor: #000000;
}
body {
  font-family: 'Inter', sans-serif;
}
.mb-3,
.my-3 {
  margin-bottom: 0px !important;
}
.card-body {
  flex: 1 1 auto;
  min-height: 100px;
  padding: 1px;
}
#page-header { 
    position: relative;
    background-color: var(--backgroundsecondary);
    background-image: 
        url('https://moodle.unesp.br/theme/cursos/curso-preparatorio-enem-2025/imgs/logo-enem.png'), /* imagem sobreposta */
        url('https://moodle.unesp.br/theme/cursos/curso-preparatorio-enem-2025/imgs/banner01.png');  /* imagem de fundo */
    background-repeat: no-repeat, no-repeat;
    background-position: center center, center center; 
    background-size: 200px auto, cover; /* define tamanho da imagem de cima e da de baixo */
    padding-top: 50px;
    border-left: 10px solid #48a7bf !important;
    margin-top: -6px;
}

.w-100 .flex-wrap {
  width: 100% !important;
  margin-top: 50px;
}
.header-maxwidth {
  max-width: 100%;
}
.header-maxwidth h1 {
  display: none;
}
.secondary-navigation {
  padding-bottom: 0px;
  border-left: 10px solid #48a7bf !important;
}
.secondary-navigation .navigation {
  background-color: var(--backgroundsecondary);
  margin: 0px !important;
  padding: 0 0.5rem;
  border-bottom: 0px;
}
.secondary-navigation .nav-tabs .nav-item {
  background-color: #e7eaea;
}
.secondary-navigation .nav-tabs .nav-item:first-child {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}
.secondary-navigation .navigation .nav-tabs .nav-link {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}
.secondary-navigation .nav-tabs .nav-item:last-child {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}
.secondary-navigation .nav-tabs .nav-link.active {
  background-color: var(--primary);
  color: #ffffff;
  font-weight: bold;
}
.moremenu .nav-tabs {
  background-color: var(--backgroundsecondary);
}
.moremenu .nav-link {
  height: 40px;
}
.moremenu .nav-link.active {
  border-bottom-color: var(--primary);
}
.tabs-wrapper {
  background-color: var(--backgroundsecondary);
  border-left: 10px solid #48a7bf !important;
}
.tabs-wrapper .nav-tabs .nav-item .nav-link {
  background-color: #ffffff;
}
.tabs-wrapper .nav-tabs .nav-item .nav-link.active {
  background-color: var(--secondary);
  color: #ffffff;
}
.tabs-wrapper .nav-tabs {
    border-bottom: 0px solid #dee2e6 !important;
    margin-left: 40px !important;

    /* Adicionando imagem */
    background-image: url('https://moodle.unesp.br/theme/cursos/curso-preparatorio-enem-2025/imgs/onda.png'); 
    background-repeat: no-repeat;    /* não repetir */
    background-position: center center; /* centralizar */
    background-size: contain;        /* ou cover, dependendo do efeito */
}

#page.drawers div[role='main'] {
  padding-left: 1px !important;
  padding-right: 1px !important;
}
.format-onetopic .onetopic-tab-body {
  padding-top: 0px;
}
.single-section {
  background: linear-gradient(to bottom, #f4f4f4 2%, #f5f5f5 50%) !important;
}
.course-content {
  margin-top: -10px;
  border-left: 10px solid #19747b;
  margin-left: -1px;
}
.course-section {
  margin-top: 0px;
}
/*Fim ajuste moodle*/
#page.drawers .main-inner {
  margin-top: -10px !important;
  background-color: var(--backgroundcolor);
}

#page {
  background-color: var(--backgroundcolor) !important;
}

.drawercontent,
.drawerheader {
  background-color: var(--backgroundcolor);
}
#page.drawers.show-drawer-right {
  padding-right: 0px !important;
}
.block .header {
  background-color: var(--backgroundcolor);
}
.block .header .title h2 {
  color: #fff;
  text-align: center;
}
.block.card.block_html {
  background-color: var(--backgroundcolor);
  color: #ffffff;
  border: none;
}
.onetopic-tab-body {
  background-color: var(--backgroundcolor);
}
.agenda-top {
  border-top-right-radius: 20px;
}
.section-agenda {
  background: linear-gradient(to bottom, #f4f4f4 2%, #ffffff 50%) !important;
  border-bottom: var(--primary);
  font-size: 1.125rem;
}
.section-footer {
  background-color: #f1f3f4;
}
.content-border {
  border-radius: 0px 20px 5px 5px;
}
.title-agenda {
  color: var(--textcolor);
  text-align: center;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  padding: 5px 0 5px 0;
}
.limits-area-icon {
  position: relative;
  max-width: 15em;
  text-align: center;
}
.space-icon {
  position: relative;
  height: auto;
  top: 5%;
}
/*Periodo*/
.offer-box {
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  width: fit-content;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.offer-left {
  background-color: #000000;
  color: white;
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  gap: 0.5rem;
}
.offer-icon {
  font-size: 2rem;
}
.offer-icon img {
  width: 50px;
}
.offer-text {
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1.2;
}
.offer-right {
  background-color: white;
  color: black;
  padding: 0.5rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-weight: bold;
  text-align: right;
}

/*Carga horária*/
.workload-box {
  text-align: center;
  color: #000;
}

.workload-icon {
  font-size: 2rem;
  margin-bottom: 0.3rem;
}
.workload-icon img {
  width: 50px;
}
.workload-title {
  margin-bottom: 0.3rem;
}

.workload-divider {
  border: 0;
  border-top: 1px solid #888;
  margin: 0.4rem auto;
}

.workload-distribution {
  font-size: 1.125rem;
}

.workload-distribution strong {
  font-weight: bold;
}

.text-workload-distribution {
  color: #888;
}
/*Box destaque encontros*/
.highlights-box {
  background-color: var(--highlight);
  padding: 1rem;
  text-align: center;
  border-radius: 6px;
}

.highlights {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  color: #000;
}

.highlights strong {
  font-weight: bold;
  display: block;
  font-size: 1.125rem;
  margin-bottom: 0.3rem;
}

.highlights span {
  font-size: 1rem;
  color: #444;
}

.highlights:last-child {
  margin-bottom: 0;
}

.img-flex-space {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/*Publico Alvo*/
.lista-publico-alvo {
  position: relative;
  list-style: none;
  padding-left: 0rem;
  margin: 0;
  color: #333;
}

.lista-publico-alvo::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: #999;
}

.lista-publico-alvo li {
  position: relative;
  margin-bottom: 0.6rem;
  padding-left: 1rem;
}

.lista-publico-alvo li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.6rem;
  height: 1px;
  background-color: #999;
}
/*separador*/
.separador {
  display: flex;
  align-items: center;
  text-align: center;
  color: #000;
  font-size: 1.125rem;
  font-weight: bold;
  margin: 1rem 0;
}

.separador::before,
.separador::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e0e0e0;
  margin: 0 0.75rem;
}

/*Aulas*/
.section-aula {
  background: linear-gradient(to bottom, #f4f4f4 2%, #ffffff 50%) !important;
  border-bottom: var(--primary);
  font-size: 1.125rem;
}
.aula-info {
  background-color: var(--primary);
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  padding: 5px;
  margin-bottom: 5px;
}
.aula-info i {
  color: #ffffff;
}
.aula-description {
  padding: 5px;
}
.atividade-info {
  display: flex;
  align-items: center;
}
.atividade-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.btn-atividade {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn-atividade:hover {
  background-color: #929292;
  color: #fff !important;
}
.btn-atividade a:hover {
  color: #fff !important;
}

[data-region-content="forum-post-core-subject"] {
  background-color: var(--primary);
  padding: 10px;
  border-radius: 5px;
  color: #ffffff;
}
/*Menu*/
.menu-schedule {
  font-size: 1.1em;
  color: #123e59;
  margin: 0;
  padding: 0;
}
#menu-course {
  text-align: center;
}
#menu-course a {
  font-weight: bold;
}
.icons-block:hover {
  transform: scale(0.9);
}
/*Pesquisa*/
fieldset .d-flex.flex-wrap.align-items-center {
  margin-top: 0px;
}
/*Responsivo */
@media (max-width: 768px) {
  #page {
    background: linear-gradient(to bottom, #000 25%, var(--secondary) 25%) !important;
  }
  .header-maxwidth {
    max-width: 100%;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
  }
  .limits-area-icon {
    margin: auto !important;
  }
}

/*Fonts */
@import url('https://fonts.googleapis.com/css2?family=Dawning+of+a+New+Day&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
