.oesp {
  display: inline-block;
  font-family: "OESP";
  font-size: inherit;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.oesp-estadao:before {
  content: '\f000';
}

/* base da aplicação */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: #F7F2EB;
}

body {
  font-family: Lato, sans-serif;
  color: #2f4753;
  line-height: 1.5;
  margin-top: 24px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.brand {
  margin-bottom: 80px;
  color: #006194;
  font-size: 26px;
}

/* Chart Bar */
.chart-bar {
    display: flex;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Vini Chart bar

.geral-graphic {
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color: #fff;
    padding: 12px;
    /* border-radius: 8px; */ /*
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    border-bottom: 4px solid white;
    /* box-shadow: 0 0 12px 0 white; */
    /*
    */

.bar {
  height: 8px;
  width: 25%;
  background-color: #A7A9AC;
}

.bar[data-status="Concluído"] {
  background-color: #4DBC8F;
}

.bar[data-status="Em andamento"] {
  background-color: #EAC767;
}

.bar[data-status="Cancelado"] {
  background-color: #EA6956;
}

/* header */
.app-header {
  text-align: center;
}

.title {
  font-family: "Estado Fine", sans-serif;
  font-size: 52px;
  max-width: 320px;
  line-height: 1.1;
  margin: 0 auto 16px;
  color: #2f4753;
}

.lead {
  font-size: 16px;
  font-weight: 400;
  color: #2f4753;
  max-width: 250px;
  margin: 0 auto 50px;
}

p a {
  color: #006196;
}

.header-text {
  max-width: 500px;
  padding: 0 16px;
  text-align: left;
  margin: 70px auto 96px;
  color: #2f4753;
}

.separator {
  margin: 0px auto 0;
  max-width: 1120px;
  border-color: rgba( 0, 0, 0, 0.0 );
}

p.slide-title {
  cursor: pointer;
}

.swiper-container {
  max-width: 250px;
  height: 50px;
  user-select: none;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #F7F2EB;
  font-size: 18px;
  line-height: 1.2;
}

.bolinhas {
  display: inline-flex;
  justify-content: center;
  position: relative;
  z-index: 10;
  background-color: white;
  padding: 12px;
  border-radius: 8px;
  margin-top: 12px;
}

.bolinha {
  margin: 4px;
  background-color: #a7a9ac;
  height: 16px;
  width: 6px;
  border-radius: 9999px;
  cursor: pointer;
}

.current-status {
  display: flex;
  justify-content: center;
  margin: 24px;
  max-width: 180px;
  margin: 24px auto;
  cursor: pointer;
}

.current-status::after {
  content: attr(data-status);
  background: #ccc;
  padding: 6px 12px;
  font-size: 12px;
  color: white;
  text-transform: uppercase;
  border-radius: 15px;
  font-weight: bold;
}

/* Content */

.content {
  display: flex;
  justify-content: center;
  line-height: 1.333;
  background-color: white;
  padding-bottom: 96px;
}

.content::after {
  content: "";
  max-width: 375px;
  width: 100%;
  display: flex;
}

@media (max-width: 800px){
  .content{
    flex-direction: column;
    align-items: center;
  }

  .geral{
    padding-bottom: 24px;
  }
}

.geral{
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 375px;
  position: relative;
  padding: 144px 16px 0px;
  line-height: 1.5;
  align-content: center;
  align-items: flex-start;
}

/* Estilo dos Cards */
.card-title {
  font-family: "Estado Fine", serif;
  margin-top: .5em;
}

.cards {
  display: flex;
  align-items: center;
  padding: 96px 16px 0;
  flex-direction: column;
  flex-shrink: 0;
  color: #5A879E;

}

.card {
  width: 100%;
  border-radius: 5px;
  max-width: 375px;
  position: relative;
}

.card + .card {
  margin-top: 48px;
}

.toggle {
  transform: translateY(-50%);
  position: absolute;
  right: 30px;
  top: 50%;
  background-color: white;
  border-radius: 50%;
  width: 24px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  line-height: 24px;
  transition: all 0.2s;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 1);
}

.card:first-child:not(.open) .toggle {
  animation: pulse 1.6s infinite;
}

.card:first-child:not(.open) .toggle:hover {
  animation: none;
}

@-webkit-keyframes pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(255, 255, 255, 1);
  }
  100% {
    -webkit-box-shadow: 0 0 0 16px rgba(255, 255, 255, 0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 1);
  }
  100% {
    box-shadow: 0 0 0 16px rgba(255, 255, 255, 0);
  }
}

.toggle:hover {
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.4);
}

.toggle::after {
  content: "+";
  transform: translateY(-1px);
}

.card[data-open=true] .toggle::after {
  /* content: "–"; */
  transform: rotate(45deg) translateY(-1px);
}

.card[data-status="Concluído"] .toggle {
  color: #4dbc8f;
}

.card[data-status="Em andamento"] .toggle {
  color: #EAC767; color: #E7B250;
}

.card[data-status="Cancelado"] .toggle {
  color: #ea6956;
}

.card[data-status="Aguardando ação"] .toggle {
  display: none;
}

p.department {
    padding: 8px 0 16px 0;
    text-transform: uppercase;
    font-family: Lato, sans-serif;
    font-weight: 500;
    font-size: 12px;
    max-width: 85%;
}

.status {
  position: absolute;
  top: 0;
  transform: translateY(-50%);
  right: 24px;
  background: #ccc;
  padding: 6px 12px;
  font-size: 12px;
  color: white;
  text-transform: uppercase;
  border-radius: 999px;
  font-weight: bold;
}


.step{
  list-style: none;
  position: relative;
  padding-left: 24px;
}


.steps {
  margin: 0;
  max-height: 0;
  overflow: hidden;
  list-style: none;
  background-color: #F7F2EB;
}

.open .steps:not(.empty){
  max-height: none;
  padding: 24px;
}

.empty + .progress-container{
  cursor: not-allowed;
}

.project-steps{
  margin-top: 4px;
}

/* .project-steps {
  margin-top: 0px;
}

*/

/* Cada Detalhe */

p.step-title {
    font-family: Lato;
    font-weight: bold;
    font-size: 16px;
}

a.step-link {
    border-radius: 999px;
    background-color: #008AB0;
    padding: 2px 8px 2px 8px;
    font-size: 12px;
    text-decoration: none;
    color: white;
    margin-left: 5px;
    text-transform: uppercase;
}

p.step-date {
    font-size: 12px;
    margin: 4px 0px 8px 0px;
}

p.step-description {
    color: #8FA1B2;
    font-size: 14px;
    padding-bottom: 24px;
}

.step::before {
    content: "";
    background-color: #5A879E;
    height: 100%;
    width: 2px;
    position: absolute;
    display: block;
    top: 4px;
    left: 0;
    transform: translateX(-50%);
}

/*
  .step::after {
    content: "";
    background-color: #5A879E;
    height: 8px;
    border-radius: 999px;
    width: 8px;
    position: absolute;
    display: block;
    top: 4px;
    left: 24px;
    transform: translateX(-50%);
    box-shadow: 0 0px 0 12px rgba(90, 135, 158, 0.5);
}
*/

  .step::after {
    content: "";
    border: solid 2px #5A879E;
    background-color: #ECEFF2;
    height: 8px;
    border-radius: 999px;
    width: 8px;
    position: absolute;
    display: block;
    top: 4px;
    left: 0;
    transform: translateX(-50%);
  }

  .step[data-status="Concluído"]::after {
    background-color: #5A879E;
}

.step:last-child::before {
  display: none;
}

/* Tracker da Proposta */

.progress-container {
  background-color: #EAC767;
  height: 48px;
  width: 100%;
  border-radius: 0 0 8px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.project-summary {
  background-color: #F7F2EB;
  padding: 24px;
  border-radius: 8px 8px 0 0;
}

.progress-label:empty::before {
    content: "Etapas";
}

.empty + .progress-container .progress-label:empty::before {
    content: "Sem etapas definidas";
}

.progress-label {
  font-size: 12px;
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 4px;
  text-align: center;
}

.progress-graphic{
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.progress-graphic div {
  display: flex;
  align-items: center;
}

.progress-graphic div::before {
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 999px;
  border: 2px solid white;
}

.progress-graphic div:not(:last-child)::after {
  background-color: white;
  width: 8px;
  height: 2px;
  content: "";
}

.progress-graphic div[data-status="Concluído"]::before {
    background: white;
}

/* Customização Dinâmica */

.card[data-status="Concluído"] .status,
.progress-container[data-status="Concluído"],
.bolinha[data-status="Concluído"],
.current-status[data-status="Concluído"]::after  {
  background-color: #4dbc8f;
}

.card[data-status="Em andamento"] .status,
.progress-container[data-status="Em andamento"],
.bolinha[data-status="Em andamento"],
.current-status[data-status="Em andamento"]::after {
  background-color: #eac767;
}

.card[data-status="Aguardando ação"] .status,
.progress-container[data-status="Aguardando ação"],
.bolinha[data-status="Aguardando ação"],
.current-status[data-status="Aguardando ação"]::after  {
  background-color: #a7a9ac;
}

.card[data-status="Cancelado"] .status,
.progress-container[data-status="Cancelado"],
.bolinha[data-status="Cancelado"],
.current-status[data-status="Cancelado"]::after  {
  background-color: #ea6956;
}

.lalala[data-status="Concluído"],
.swiper-slide[data-status="Concluído"] {
  color: #4dbc8f;
  font-weight: bold;
}

.lalala[data-status="Em andamento"],
.swiper-slide[data-status="Em andamento"] {
  color: #EAC767; color: #E7B250;
  font-weight: bold;
}

.lalala[data-status="Aguardando ação"],
.swiper-slide[data-status="Aguardando ação"] {
  color: #a7a9ac;
  font-weight: bold;
}

.lalala[data-status="Cancelado"],
.swiper-slide[data-status="Cancelado"] {
  color: #ea6956;
  font-weight: bold;
}

.geral-graphic div[data-status="Concluído"]{
  background-color: #4dbc8f;
}

.geral-graphic div[data-status="Em andamento"]{
  background-color: #eac767;
}

.geral-graphic div[data-status="Aguardando ação"] {
  background-color: #a7a9ac;
}

.geral-graphic div[data-status="Cancelado"]{
  background-color: #ea6956;
}

/* Gráfico Geral */
.excerpt {
    margin-bottom: 24px;
    position: sticky;
    top: 50%;
    transform: translateY(-50%);
    max-width: 300px;
}

.geral-graphic{
  display: flex;
  flex-direction: row;
  justify-content: center;
  background-color: #ECEFF2;
  padding: 12px;
  border-radius: 8px;
}

.geral-graphic div {
  display: flex;
  align-items: center;
  background-color: white;
  height: 16px;
  width: 6px;
  border-radius: 9999px;
}

.geral-graphic div + div {
  margin-left: 4px;
}

.propostas {
  margin: 4px 11px 12px;
}

/* Swiper Parte 2 */
/* .bolinha.highlight[data-status="Concluído"] {
  animation: pulse-concluido 2s infinite;
}

@keyframes pulse-concluido {
  0% {
    box-shadow: 0 0 0 0 rgba(77, 188, 143, 0.6);
  }
  70% {

      box-shadow: 0 0 0 12px rgba(77, 188, 143, 0);
  }
  100% {

      box-shadow: 0 0 0 0 rgba(77, 188, 143, 0);
  }
}

.bolinha.highlight[data-status="Em andamento"] {
  animation: pulse-andamento 2s infinite;
}

@keyframes pulse-andamento {
  0% {
    box-shadow: 0 0 0 0 rgba(234, 199, 103, 0.8);
  }
  70% {

      box-shadow: 0 0 0 12px rgba(234, 199, 103, 0);
  }
  100% {

      box-shadow: 0 0 0 0 rgba(234, 199, 103, 0);
  }
}

.bolinha.highlight[data-status="Aguardando ação"] {
  animation: pulse-aguardando 2s infinite;
}

@keyframes pulse-aguardando {
  0% {
    box-shadow: 0 0 0 0 rgba(167, 169, 172, 0.6);
  }
  70% {

      box-shadow: 0 0 0 12px rgba(167, 169, 172, 0);
  }
  100% {

      box-shadow: 0 0 0 0 rgba(167, 169, 172, 0);
  }
}

.bolinha.highlight[data-status="Cancelado"] {
  animation: pulse-cancelado 2s infinite;
}

@keyframes pulse-cancelado {
  0% {
    box-shadow: 0 0 0 0 rgba(234, 105, 86, 0.6);
  }
  70% {

      box-shadow: 0 0 0 12px rgba(234, 105, 86, 0);
  }
  100% {

      box-shadow: 0 0 0 0 rgba(234, 105, 86, 0);
  }
} */

.bolinha.highlight{
  box-shadow: 0 0 0 0px white,
              0 0 0 2px #5a879e;
}

/* Expediente */

.colophon dt,
.colophon dd {
  font-size: 80%;
  display: inline-flex;
  padding-right: .5em;
}

.colophon {
  font-size: 11px;
  text-transform: uppercase;
  color: #5a879e;
  margin: 16px auto;
  max-width: 375px;
  padding: 24px;
}

.colophon dt {
  font-weight: bold;
}

.colophon dl dt:not(:first-of-type)::before {
  content: '/';
  padding: 0 4px;
}

.colophon dl dt:not(:first-of-type)::after {
  content: ':';
}
