.defesas-agendadas {
  background: var(--bs-gray-light);
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  margin-top: 40px;
  height: 100%;
  max-width: 660px;
}



.defesas-agendadas .table.table-borderless.table-hover.cols-0 {
  margin: 0;
}

.defesas-agendadas tr {
  background-color: var(--bs-gray-light);
  border-bottom: none;
  height: 50px;
  vertical-align: baseline;
}

.defesas .defesa,
.defesas-agendadas .defesa {
  display: flex;
  justify-content: flex-start;
  gap: 1.25rem;
}

.defesas .data,
.defesas-agendadas .data {
  border-radius: 24px;
  background: var(--bs-gray-dark);
  color: var(--bs-white);
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 160px;
  height: 26px;
  font-size: var(--bs-btn3-font-size);
  font-style: normal;
  font-weight: 600;
  line-height: 14px;
  max-height: 26px;
  max-width: 160px;
  min-width: 160px;
}


.defesas .titulo-defesa,
.defesas-tipo-nome a,
.link {
  text-decoration: none;
  font-size: var(--bs-t4-font-size);
  font-style: normal;
  font-weight: 700;
  color: var(--bs-dark);
  line-height: 26px;
}

.defesas-tipo-nome {
  font-size: var(--bs-t4-font-size);
  font-style: normal;
  font-weight: 700;
  color: var(--bs-dark);
  line-height: 26px;
}

.defesas-agendadas td.views-field.views-field-nothing {
  border-color: transparent;
}

.defesas-agendadas .more-link {
  display: flex;
  justify-content: center;
}


.defesa-link,
.defesas-agendadas .more-link a {
  color: var(--bs-primary);
  font-size: var(--bs-btn2-font-size);
  font-weight: 700;
  line-height: 22px;
  display: inline-flex;
  padding: 6px 30px;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.defesas .item-defesa .defesa-link {
  font-size: var(--bs-btn3-font-size);
  min-width: max-content;
  margin-left: auto;
}

.defesas .defesa-link span {
  text-decoration: underline;
  margin-right: 0.5rem;
}



.defesas-agendadas .more-link a::after {
  content: "\f061";
  font-family: "Font Awesome 5 Free";
  margin-left: 8px;
}


.defesas-agendadas .view-content.row {
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.defesas-agendadas .defesa-bloco-title {
  font-size: var(--bs-h3-font-size);
  font-weight: 700;
  text-align: center;
  line-height: 2.5;
  margin-bottom: 2rem;
}

.block-views-blockbloco-defesas-agendadas-block-1 .content {
  height: 100%;
}

.block-views-blockbloco-defesas-agendadas-block-1 .contextual-region {
  height: 100%;
}

.defesas-agendadas table.table {
  border-spacing: 1.2rem;
  border-collapse: separate;
  margin-bottom: 2rem;
}

.card-eventos .layout__region.layout__region--first {
  height: fit-content;
}

/* Esconder Header de maneira acessível */
.defesas thead {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
}

.defesas tbody td {
  background: var(--bs-white);
}

li.item-defesa {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  align-items: center;
}



.defesas li.item-defesa>* {
  margin: 0;
}

.defesas .item-list {
  margin-bottom: 4rem;
}

.defesas .item-defesa .defesa-link:hover,
.defesas .item-defesa .defesa-link:active {
  color: var(--bs-primary-text-emphasis);
}
/************************
 *			View Vazia			*
 ************************/

.defesas-agendadas .view-empty {
  background: none;
  width: 100%;
  margin: unset;
  align-items: center;
}

.defesas-vazias {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.25rem;
  color: var(--bs-gray-dark);
}

.defesas-vazias i.far.fa-calendar {
  font-size: 10rem;
  color: var(--bs-gray-medium);
  margin-bottom: 4rem;
}

.defesas-vazias h3.header {
  font-size: var(--bs-h3-font-size);
  font-weight: 800;
}

.defesas-vazias p.content {
  font-size: var(--bs-t2-font-size);
  font-weight: 400;
}

.defesas-vazias strong.text-underline {
  text-decoration: underline;
}

.defesas-vazias h2.defesa-bloco-title {
  color: var(--bs-black);
  margin-bottom: 4rem;
}

.defesas .defesas-vazias,
.defesas .view-empty {
  background: var(--bs-white);
  
}

.defesas-vazias .more-link a {
  text-decoration: none;
  font-size: var(--bs-btn3-font-size);
  background: var(--bs-primary);
  color: var(--bs-white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  gap: 0.5rem;
  display: flex;
  width: fit-content;
}

.defesas-vazias .more-link a::after {
    content: '\f061';
    font-family: 'Font Awesome 5 Free';
    font-weight: 600;
}

/******************************
 *			Diferentes telas			*
 ******************************/
@media screen and (min-width: 1080px) {

  .defesas .defesas-vazias,
  .defesas .view-empty {
    background: var(--bs-white);
    display: grid;
  }

  .defesas .defesas-vazias {
    display: grid;
    grid-template-areas:
      'icon header'
      'icon text'
      'icon link';
    grid-template-columns: min-content minmax(min-content, 480px);
    margin: auto;
  }

  .defesas .defesas-vazias i.far.fa-calendar {
    grid-area: icon;
    font-size: 15.8rem;
  }

  .defesas .defesas-vazias h3.header,
  .defesas .defesas-vazias .content {
    text-align: left;
  }
}

@media (max-width: 1080px) {
	.defesas .defesas-vazias,
  .defesas .view-empty {
		max-width: 320px;
	  margin: auto;
  }
  
  .defesas-agendadas {
    background-color: var(--bs-white);
  }

  .defesas-agendadas .defesa-bloco-title {
    text-align: left;
  }

  .defesas-agendadas .defesa {
    flex-direction: column;
  }
}

@media screen and (max-width: 768px) {
	.defesas .item-defesa {
    flex-direction: column;
    align-items: flex-start;
  }
}