/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {}

#foto {
    max-width: 70%;
    height: auto;
}

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*
.navbar-brand {
  transform: translateX(-50%);
  left: 50%;
  position: relative;
}
/* Extra large devices (large desktops)
No media query since the extra-large breakpoint has no upper bound on its width */


/* New design */

* {
    font-family: Montserrat;
}

body {
    font-family: Montserrat;
    background: url(../../icons/header-background.png) repeat-x top center #F2F4F7;
    color: #101828;
}

img {
    max-width: 100%;
}

.container {
    max-width: 800px;
}

h1 {
    font-size: 30px;
    font-weight: 700;
    line-height: 34px;
    margin: 12px 0;
    cursor: default;
}

h5 {
    font-weight: 600;
    cursor: default;
}

h6 {
    font-size: 18px;
    font-weight: 600;
    cursor: default;
}

/* Nav */

.navbar-brand {
    background: white;
    border-radius: 8px;
    margin: 40px auto;
    padding: 8px 4px;
}

.navbar-brand img {
    width: 226px;
}


/* Cards */

.card {
    border: none;
    border-radius: 10px;
}

.card-header {
    background: white;
    border: none;
}

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

.card-header h1,
.card-header h5 {
    max-width: 396px;
    margin: 18px auto;
    cursor: default;
    font-weight: 700;
}

.card-header p {
    color: #344054;
    font-size: 24px;
    font-weight: 600;
    cursor: default;
}

.card-header.com-imagem {
    display: flex;
}

.card-body {
    background: #F2F4F7;
}

@media (max-width: 767.98px) {
    .card-header h1 {
        max-width: 100%;
    }

    .card-body {
        padding-left: 0;
        padding-right: 0;
    }

    .card-header.com-imagem {
        display: block;
    }
}

/* Button */
.btn.w-100 {
    max-width: 380px;
}

.btn-action .btn {
    display: block;
    margin: 0 auto 8px;
    clear: both;
}

#countdownText, #loading {
    display: none;
}

@media (max-width: 767.98px) {
    .card-body .btn {
        max-width: 100%;
    }

    .btn-action {
        position: fixed;
        z-index: 9;
        bottom: 30px;
        left: 0;
        width: 100%;
        background: white;
        border-top: 2px solid #efefef;
        padding: 8px;
    }
}


/* Inicio e fim dos eventos */

.inicio-fim {
    display: flex;
    justify-content: space-around;
    margin-bottom: 36px;
}

.inicio-fim p {
    margin-bottom: 6px;
}

.inicio-fim .inicio,
.inicio-fim .fim {
    width: 50%;
}

.inicio-fim .inicio {
    padding-right: 8px;
}

.inicio-fim .fim {
    padding-left: 8px;
}

.inicio-fim .list-group-item {
    width: 50%;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .inicio-fim {
        display: block;
    }

    .inicio-fim .inicio,
    .inicio-fim .fim {
        width: 100%;
        padding: 0;
        margin: 6px 0;
    }
}

#wrapper {
    min-height: calc(100vh - 40px);
    padding-bottom: 36px;
}

.termo {
    background: white;
    border: 2px solid #EAECF0;
    border-radius: 8px;
    padding: 16px;
    max-width: 590px;
    margin: auto;
}

label {
    font-weight: 500;
}

.cadastro {
    max-width: 590px;
    margin: 16px auto 0;
}

.cadastro label {
    font-size: 14px;
}

.cadastro .campo-telefone {
    display: flex;
}

.cadastro .campo-telefone .fone-ddd {
    width: 70px;
    max-width: 70px;
    margin-right: 8px;
}

.cadastro .campo-telefone .fone-numero {
    width: calc(100% - 78px);
    max-width: calc(100% - 78px);
}

@media (max-width: 767.98px) {
    .cadastro {
        max-width: 100%;
        margin: 0;
    }
}

.consulta {
    width: 380px;
    margin: auto;
}

.arquivos-relacionados {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.arquivos-relacionados a {
    width: 352px;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 5px #ccd3e1;
    margin-top: 16px;
}

.arquivos-relacionados a:nth-child(odd) {
    margin-right: 26px;
}

.arquivos-relacionados a .icon {
    width: 92px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #FEF3F2;
    border-radius: 8px 0 0 8px;
}

.arquivos-relacionados a .nome {
    flex: 1;
    padding-left: 26px;
    margin: 0;
    color: #101828;
    font-size: 16px;
    font-weight: 500;
}

@media (max-width: 767.98px) {
    .arquivos-relacionados a {
        width: 100%;
        margin: 16px 0 0 !important;
    }
}

.voto {
    max-width: 385px;
    margin: auto;
}

.voto .list-group-item {
    padding-left: 36px;
}

.voto .list-group-item label {
    margin: 0;
}

.voto .list-group-item label.selected {
    color: #D92D20;
    font-weight: 700;
}

.resultado {
    background: white;
    border: 1px solid #D0D5DD;
    padding: 8px;
    border-radius: 8px;
    width: auto;
    margin: 16px auto;
    display: table;
}

.resultado .table {
    font-size: 14px;
    margin-bottom: 0;
}

.resultado .table th {
    border-top: none;
}


#myChart {
    max-width: 100%;
}

@media (max-width: 570px) {

    .resultado .table,
    .resultado .table tbody,
    .resultado .table tfoot,
    .resultado .table th,
    .resultado .table tr,
    .resultado .table td {
        display: block;
        width: 100%;
        text-align: center !important;
    }

    .resultado .table tbody tr td:first-child::before {
        content: 'Alternativa: ';
    }

    .resultado .table tbody tr td:first-child+td+td::after {
        content: ' votos';
    }

    .resultado .table thead {
        display: none;
    }
}


/* Footer */

footer {
    background: white;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer p,
footer p a {
    color: #667085;
    font-size: 14px;
    margin: 0;
}

footer p a {
    font-weight: 700;
}

@media (max-width: 767.98px) {
    body {
        padding-bottom: 50px;
    }

    footer {
        position: fixed;
        z-index: 9;
        bottom: 0;
        left: 0;
        width: 100%;
        background: white;
    }
}