@import url(https://fonts.googleapis.com/css2?family=Racing+Sans+One&display=swap);

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
  margin:0;
  padding:0;
  border:0;
  font-size:100%;
  font:inherit;
  vertical-align:baseline
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
.d-block {
  display:block
}

body {
  line-height:1
}

ol,
ul {
  list-style:none
}

blockquote,
q {
  quotes:none
}

ebm-event-link{
  font-size: null
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content:'';
  content:none
}

table {
  border-collapse:collapse;
  border-spacing:0
}

/* ============================================
   PRÓXIMOS EVENTOS - DESIGN MODERNO COMPACTO
   ============================================ */

.ebm-upcoming-events.ebm-upcoming-events-improved {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 16px;
  background: transparent;
  width: 100%;
}

.up-event-item {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.up-event-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Imagem do evento */
.up-event-item .ebm-event-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  border-radius: 0;
  transition: transform 0.3s ease;
}

.up-event-item:hover .ebm-event-thumb {
  transform: scale(1.03);
}

/* Conteúdo do evento */
.up-event-item .col-md-9 {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.up-event-item .col-md-9 > a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #000;
  flex-grow: 1;
  padding: 10px;
  margin: 0;
  transition: all 0.3s ease;
}

.up-event-item .col-md-9 > a:hover {
  color: #667eea;
}

/* Texto do título - Sem aparência de link */
.up-event-item .col-md-9 > a {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.3;
  color: #1a1a1a;
  text-align: center;
  letter-spacing: 0.2px;
  justify-content: flex-start;
}

.up-event-item .col-md-9 > a:visited {
  color: #1a1a1a;
}

/* Badge de data - Centralizado abaixo do nome */
.up-event-item .col-md-3 {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0 10px 10px 10px;
  position: static;
  z-index: auto;
}

.up-event-item .ebm-event-date {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  text-align: center;
  margin: 0;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.up-event-item .ebm-event-month {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
}

.up-event-item .ebm-event-day {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  margin-top: 1px;
}

/* Evento em destaque */
.up-event-item.eb-event-featured {
  grid-column: span 1;
}

.up-event-item.eb-event-featured .ebm-event-date {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  box-shadow: 0 4px 12px rgba(245, 87, 108, 0.3);
}

/* ============================================
   SLIDER DE EVENTOS (CAROUSEL)
   ============================================ */

.eb-slider-container {
  background: transparent;
  position: relative;
}

.my-eb-slider {
  display: flex;
  position: relative;
}

.slider-item {
  width: 100%;
  flex-shrink: 0;
}

.eb-event-wrapper.clearfix {
  background: #ffffff;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.eb-event-wrapper.clearfix:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.eb-thumb-left {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.eb-event-wrapper.clearfix:hover .eb-thumb-left {
  transform: scale(1.03);
}

.eb-event-title-container {
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  margin: 0;
  line-height: 1.3;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  padding: 10px;
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.eb-event-title {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 700;
}

.eb-event-title:visited {
  color: #1a1a1a;
}

.eb-event-date-time {
  text-align: center;
  font-size: 13px;
  color: #fff;
  margin: 0;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  margin: 0 10px 10px 10px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.eb-event-date-time i {
  color: #fff;
  font-size: 13px;
}

.eb-event-location-price {
  display: none;
}

/* ============================================
   CONTROLES DO SLIDER
   ============================================ */

.controls {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
  top: 0;
  left: 0;
}

.controls li {
  pointer-events: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 16px;
  transition: all 0.3s ease;
}

.controls li i {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  font-size: 36px;
}

.controls li:hover i {
  transform: scale(1.1);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* ============================================
   ESTILOS ORIGINAIS MANTIDOS
   ============================================ */

.eb-collumns2 img {
  border:0;
  width:110px;
  height:180px
}

.eb-event-date-collumns {
  text-align:center
}

.eb-taskbar-collumns {
  text-align:center
}

.form-actions {
  text-align:center
}

#eb-categories .eb-description,
#eb-events .eb-description,
#eb-event-page .eb-description {
  border:1px solid #dbdee1;
  border-radius:10px
}

.eb-columns-layout-container .eb-event-wrapper {
  background-color:#fffff9;
  border:1px solid #ddd;
  box-shadow:none;
  border-radius:4px;
  position:relative;
  overflow:hidden!important;
  margin:10px 0
}

.eb-event-wrapper:hover {
  box-shadow:0 1px 5px 5px #dddfe2;
  background-color:#fff999;
  margin:8px 8;
  -webkit-transform:scale(70.9);
  transform:scale(1.01)
}

label.checkbox {
  text-align:center
}

.col-md-9 {
  display:flex
}

.d-block {
  display:flex;
  text-align:center;
  padding:3px;
  margin:5px;
  border-radius:5px;
  border:solid;
  background:#dddfe2;
  border:10px;
  padding:5px
}

.eb-invisible-to-visitors {
  visibility:hidden
}

table,
tr,
td,
th {
  border:#ccc solid 1px;
  width:100%;
  border-collapse:collapse;
  text-align:center;
  margin-left:auto;
  margin-right:auto;
  width:100%;
  text-transform:uppercase
}

td {
  width:150px;
  height:30px;
  vertical-align:middle
}

td p {
  padding:0;
  margin:0
}

th {
  background-color:#4287f5;
  font-weight:600;
  color:#fff;
  align-items:right;
  text-align:center;
  margin:0 0 10px 0
}

.eb-event-large-image {
  border-radius:10px 10px 0 0
}

.upcomming>.sp-module-title {
  line-height:40px;
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.row>.col-md-9>.url {
  line-height:20px
}

.qrcode {
  display:block;
  margin:0 auto
}

.copiaecola {
  display:block;
  margin:0 auto
}

/* ============================================
   RESPONSIVIDADE - TABLETS
   ============================================ */

@media (max-width: 1024px) {
  .ebm-upcoming-events.ebm-upcoming-events-improved {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 12px;
  }
  
  .up-event-item .ebm-event-thumb {
    height: 160px;
  }
  
  .eb-thumb-left {
    height: 160px;
  }
  
  .up-event-item .col-md-9 > a {
    font-size: 15px;
    padding: 8px;
  }
  
  .eb-event-title-container {
    font-size: 15px;
    padding: 8px;
  }
  
  .up-event-item .ebm-event-date {
    padding: 8px 14px;
    min-width: 80px;
  }
  
  .up-event-item .ebm-event-day {
    font-size: 22px;
  }
  
  .upcomming > .sp-module-title {
    font-size: 24px;
  }
}

/* ============================================
   RESPONSIVIDADE - CELULARES
   ============================================ */

@media (max-width: 768px) {
  .ebm-upcoming-events.ebm-upcoming-events-improved {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 8px;
  }
  
  .up-event-item .ebm-event-thumb {
    height: 140px;
  }
  
  .eb-thumb-left {
    height: 100%;
  }
  
  .up-event-item .col-md-9 > a {
    font-size: 13px;
    padding: 6px;
  }
  
  .eb-event-title-container {
    font-size: 13px;
    padding: 6px;
  }
  
  .eb-event-date-time {
    padding: 6px 10px;
    margin: 0 6px 6px 6px;
    font-size: 11px;
  }
  
  .up-event-item .ebm-event-date {
    padding: 6px 10px;
    min-width: 70px;
  }
  
  .up-event-item .ebm-event-month {
    font-size: 9px;
  }
  
  .up-event-item .ebm-event-day {
    font-size: 20px;
  }
  
  .up-event-item .col-md-3 {
    padding: 0 6px 6px 6px;
  }
  
  .upcomming > .sp-module-title {
    font-size: 20px;
  }
  
  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
}

/* ============================================
   RESPONSIVIDADE - CELULARES PEQUENOS
   ============================================ */

@media (max-width: 480px) {
  .ebm-upcoming-events.ebm-upcoming-events-improved {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 6px;
  }
  
  .up-event-item .ebm-event-thumb {
    height: 120px;
  }
  
  .eb-thumb-left {
    height: 100%;
  }
  
  .up-event-item .col-md-9 > a {
    font-size: 12px;
    padding: 4px;
  }
  
  .eb-event-title-container {
    font-size: 12px;
    padding: 4px;
  }
  
  .eb-event-date-time {
    padding: 4px 8px;
    margin: 0 4px 4px 4px;
    font-size: 10px;
  }
  
  .up-event-item .ebm-event-date {
    padding: 4px 8px;
    min-width: 60px;
  }
  
  .up-event-item .ebm-event-month {
    font-size: 8px;
  }
  
  .up-event-item .ebm-event-day {
    font-size: 18px;
  }
  
  .up-event-item .col-md-3 {
    padding: 0 4px 4px 4px;
  }
  
  .upcomming > .sp-module-title {
    font-size: 18px;
  }
  
  .controls li {
    padding: 10px;
  }
  
  .controls li i {
    font-size: 24px;
  }
  
  td {
    font-size: 10px;
    height: 25px;
    padding: 4px;
  }
  
  th {
    font-size: 11px;
    padding: 8px 4px;
  }
}

.checkbox-item {
  display: flex;
  align-items: left;
  justify-content: flex-start; /* garante alinhamento à esquerda */
  gap: 8px;
}

/* Texto padrão */
.checkbox-item label {
  text-align: left;
  cursor: pointer;
  color: #000;
}

/* Quando o checkbox estiver marcado */
.checkbox-item input[type="checkbox"]:checked + label {
  color: #999; /* cinza */
}

/* Label do checkbox */
body.view-register form#adminForm .row.form-group.form-row label.checkbox {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* texto alinhado à esquerda */
  gap: 8px;
  cursor: pointer;
  text-align: left;
  color: #000;
}

/* Checkbox em si */
body.view-register form#adminForm .row.form-group.form-row label.checkbox input[type="checkbox"] {
  margin: 0;
}

/* Quando o checkbox estiver marcado */
body.view-register form#adminForm 
label.checkbox input[type="checkbox"]:checked {
  accent-color: #999; /* checkbox cinza (navegadores modernos) */
}

/* Texto fica cinza quando marcado */
body.view-register form#adminForm 
label.checkbox:has(input[type="checkbox"]:checked) {
  color: #999;
}



/* checkbox  */

/* Reset básico para checkbox */
input[type="checkbox"] {
  all: unset;              /* remove quase tudo do estilo padrão */
  box-sizing: border-box;
  display: inline-grid;
  place-content: center;

  width: 16px;
  height: 16px;

  border: 1px solid currentColor;
  border-radius: 3px;
  background-color: transparent;

  cursor: pointer;
}

/* Remove estilo estranho no Safari / iOS */
input[type="checkbox"]::-webkit-checkbox {
  display: none;
}

/* Estado checked */
input[type="checkbox"]:checked::before {
  content: "";
  width: 10px;
  height: 10px;
  background-color: currentColor;
}

/* Focus acessível */
input[type="checkbox"]:focus-visible {
  outline: 2px solid Highlight;
  outline-offset: 2px;
}

/* Disabled */
input[type="checkbox"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================
   CORREÇÃO: ALINHAMENTO E COR VERDE (CHECKBOX)
   ============================================ */

/* 1. Alinhamento Flexível para evitar sobreposição */
.eb-container .checkbox, 
.eb-container .radio,
label.checkbox {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: left !important;
  padding-left: 0 !important;
  margin-bottom: 8px !important;
  width: 100% !important;
  cursor: pointer;
  font: inherit !important; /* Mantém a fonte do site */
  text-transform: none !important; /* Evita que o texto do checkbox fique todo em maiúsculo se não desejar */
}

/* 2. Estilo do Quadrado (Contorno e Cor) */
.eb-container input[type="checkbox"],
.eb-container input[type="radio"],
label.checkbox input {
  /* Força o aparecimento do contorno padrão */
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  
  /* Espaçamento para não tocar no texto */
  margin: 0 10px 0 0 !important; 
  
  /* Cor Verde ao ser marcado (Navegadores Modernos) */
  accent-color: #28a745 !important; 
  
  /* Reset de posicionamentos antigos que causavam sobreposição */
  float: none !important;
  position: relative !important;
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
}

/* 3. Ajuste para o texto não herdar alinhamentos centrais de tabelas */
.eb-container label.checkbox {
  color: #1a1a1a !important;
  font-weight: normal !important;
}