html {
    scroll-behavior: smooth;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/**   **/
@media only screen and (max-width: 992px) {
    .content {
        padding-right: 0;
    }
}

.item-page {
    margin-top: 0 !important;
}

.page-header {
    margin-bottom: 0 !important;
}

body.timeline.generico {
    background: #ffffff;
    font-family: Roboto, sans-serif;
}
::selection {
    color: #fff;
    background: #3498db;
}
.timeline.generico .wrapper {
    max-width: 100%;
    margin: 0 auto;
    /* padding: 0 20px; */
    position: relative;
}

.timeline.generico .wrapper .center-line {
    position: absolute;
    height: 100%;
    width: 4px;
    /* background: #3f8dae; */
    background: #999999;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
}

.timeline.generico .wrapper .row {
    display: flex;
}

.timeline.generico .wrapper .row-currently {
    justify-content: space-between;
    margin-top: 5rem;
}

.timeline.generico .wrapper .row-1 {
    justify-content: flex-start;
}

.timeline.generico .wrapper .row-2 {
    justify-content: flex-end;
}

.timeline.generico .wrapper .row.row-currently.distancia-de-1-ano {
    margin: 0.3rem 0 auto 0;
}

.timeline.generico .wrapper .row-1.distancia-de-1-ano {
    margin: 0.3rem 0 auto 0;
}

.timeline.generico .wrapper .row-2.distancia-de-1-ano {
    margin: -2rem 0 auto 0;
}

.timeline.generico .wrapper .row-1.distancia-de-2-ano {
    margin: 2.8rem 0 2rem 0;
}

.timeline.generico .wrapper .row-1.distancia-de-3-ano {
    margin: 5rem 0 auto 0;
}

.timeline.generico .wrapper .row-2.distancia-de-3-ano {
    margin: 2.5rem 0 auto 0;
}

.timeline.generico .wrapper .row-1.distancia-de-4-ano {
    margin: 5rem 0 auto 0;
}

.timeline.generico .wrapper .row-2.distancia-de-4-ano {
    margin: 3rem 0 auto 0;
}

.timeline.generico .wrapper .row-1.distancia-de-5-ano {
    margin: 3rem 0 auto 0;
}

.timeline.generico .wrapper .row.row-currently.distancia-de-5-ano {
    margin: 3rem 0 auto 0;
}

.timeline.generico .wrapper .row-2.distancia-de-6-ano {
    margin: 5rem 0 auto 0;
}

.timeline.generico .wrapper .row-2.distancia-de-13-ano {
    margin: 3rem 0 auto 0;
}

.timeline.generico .wrapper .row section {
    background: #e2e2e2;
    border-radius: 5px;
    width: calc(50% - 40px);
    padding: 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timeline.generico .wrapper .row section a {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: space-around;
    border-radius: 5px;
    border: 1px solid #e2e2e2;
    background-color: #e2e2e2;
    height: 100%;
}

.timeline.generico .wrapper .row section a:hover {
    background-color: #dddddd;
    border-color: #3498db;
}

.timeline.generico .wrapper .row section a .icons-bar {
    text-align: right;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.timeline.generico .wrapper .row section a .icons-bar i:last-child {
    display: none;
}

.timeline.generico .wrapper .row section a .fa.fa-search {
    text-align: right;
}

.timeline.generico .wrapper .row section img {
    max-width: 100%;
    width: 100%;
}

.timeline.generico .wrapper .row.row-1.distancia-de-1-ano section::before {
    top: 10px;
}

.timeline.generico .wrapper .row section::before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    background: #e2e2e2;
    top: 28px;
    z-index: -1;
    transform: rotate(45deg);
}

.timeline.generico .row-currently section:first-child:before {
    right: -7px;
}
.timeline.generico .row-currently section:last-child:before {
    left: -7px;
}

.timeline.generico .row-1 section::before {
    right: -7px;
}
.timeline.generico .row-2 section::before {
    left: -7px;
}

.timeline.generico .row section .icon,
.timeline.generico .center-line .scroll-icon {
    position: absolute;
    /* background: #61aac9; */
    background: #444444;
    height: 61px;
    width: 61px;
    text-align: center;
    line-height: 31px;
    border-radius: 50%;
    color: #fff;
    font-size: 17px;
    font-weight: bold;
    /*box-shadow: 0 0 0 4px #fff, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);*/
}

.timeline.generico .center-line .scroll-icon {
    bottom: -35px;
    left: 50%;
    font-size: 25px;
    transform: translateX(-50%);
    height: 40px;
    width: 40px;
}

.timeline.generico .row-currently section .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    /*top: 15px;
    right: -60px;*/
    top: 3px;
    right: -70px;
}

.timeline.generico .row-1.row-1.distancia-de-1-ano section .icon {
    top: -13px;
}

.timeline.generico .row-1 section .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    top: 2px;
    right: -70px;
}
.timeline.generico .row-2 section .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    top: 5px;
    left: -71px;
}
.timeline.generico .row-currently section .details {
    margin-bottom: 1rem;
}
.timeline.generico .row section .details,
.timeline.generico .row section .bottom {
    display: flex;
    flex-direction: column-reverse;
    text-align: center;
}
.timeline.generico .row section .details .title {
    font-size: 22px;
    font-weight: 600;
}
.timeline.generico .row section .details .date {
    font-size: 19px;
    font-weight: 600;
    padding: 8px 7px;
    color: #61aac9;
    border: 1px solid #61aac9;
    margin-bottom: 10px;
    border-radius: 5px;
    display: none;
}

.timeline.generico.direcao .row section .details .date {
    font-size: 15px;
}

.timeline.generico .row section p {
    font-size: 10pt;
}

.timeline.generico.direcao .row section p {
    font-size: 14pt;
}

.timeline.generico.direcao .row section .details .date {
    color: #fff;
    background-color: #61aac9;
}

.timeline.generico .row.row-1 section .details .title,
.timeline.generico .row.row-2 section .details .title {
    /*text-transform: uppercase;*/
    font-size: 18px;
}
.timeline.generico .row.row-1 section .details .date,
.timeline.generico .row.row-2 section .details .date {
    border: 1px solid #61aac9;
    color: #61aac9;
    background-color: transparent;
}
.timeline.generico .row section p {
    margin: 10px 0 17px 0;
    text-align: center;
}
.timeline.generico .row section .bottom a {
    text-decoration: none;
    background: #ff7979;
    color: #fff;
    padding: 7px 15px;
    border-radius: 5px;
    /* font-size: 17px; */
    font-weight: 400;
    transition: all 0.3s ease;
}
.timeline.generico .row section .bottom a:hover {
    transform: scale(0.97);
}

@media (max-width: 1220px) {
    .timeline.generico .row section .details .title {
        font-size: 20px;
    }
}

@media (max-width: 1130px) {
    .timeline.generico .row section .details .title {
        font-size: 17px;
    }
}

@media (max-width: 790px) {
    .timeline.generico .wrapper .center-line {
        left: 40px;
    }
    .timeline.generico .wrapper .row {
        margin: 30px 0 3px 60px !important;
    }
    .timeline.generico .wrapper .row section {
        width: 100%;
    }

    .timeline.generico .wrapper .row-currently {
        flex-direction: column;
    }

    .timeline.generico .wrapper .row-currently section {
        width: 100%;
    }

    .timeline.generico .wrapper .row-currently section img {
        max-width: 45%;
        margin-right: 0.8rem;
        margin-bottom: 0.2rem;
        float: left;
    }

    .timeline.generico .wrapper .row-currently section:first-child {
        margin-bottom: 10px;
    }

    .timeline.generico .wrapper .row-currently section:first-child:before {
        left: -7px;
    }

    .timeline.generico .wrapper .row-currently section:last-child:before {
        display: none;
    }

    .timeline.generico .row-1 section::before {
        left: -7px;
    }
    .timeline.generico .row-1 section .icon {
        left: -55px;
    }
    .timeline.generico .row-currently section .icon {
        /*left: -60px;*/
        left: -55px;
    }
}

@media (max-width: 590px) {
    .timeline.generico .wrapper .row-currently section img {
        max-width: 100%;
        float: clear;
    }
}

@media (max-width: 768px) {
    .historico-text img {
        /* display: none; */
    }
    .timeline.generico .wrapper .row section::before {
        display: none;
    }
    .timeline.generico .wrapper .center-line,
    .timeline.generico .row section .icon {
        display: block;
    }
    .timeline.generico .row section .icon {
        left: 44%;
        height: 40px;
        width: 40px;
        top: -25%;
        font-size: 11px;
        display: flex;
    }
    .timeline.generico .wrapper .center-line {
        left: 50%;
    }
    .timeline.generico .wrapper .row {
        margin: 50px 0 !important;
    }
    .historico-text img {
        float: unset !important;
        margin: 0 !important;
        width: 100% !important;
    }
    .timeline.generico .row-1.distancia-de-1-ano section .icon {
        top: -35px !important;
    }
    .timeline.generico .row-1.distancia-de-2-ano section .icon {
        top: -35px !important;
    }
    .timeline.generico .row-2.distancia-de-1-ano section .icon {
        top: -35px !important;
    }
    .timeline.generico .row-2.distancia-de-3-ano section .icon {
        top: -35px !important;
    }
    .timeline.generico .row-1.distancia-de-3-ano section .icon {
        top: -35px !important;
    }
    .timeline.generico .row-2.distancia-de-4-ano section .icon {
        top: -35px !important;
    }
    .timeline.generico .row-currently.distancia-de-3-ano section .icon {
        top: -13px !important;
    }
    .timeline.generico .row section .icon,
    .timeline.generico .center-line .scroll-icon {
        height: 40px;
        width: 40px;
        bottom: -35px;
    }
}

.timeline.generico .wrapper .row {
    margin: 0;
}

.timeline.generico .wrapper .row:before,
.timeline.generico .wrapper .row:after {
    content: none;
}

.timeline.generico.direcao .row.row-currently {
    margin-bottom: 5rem;
}

.timeline.generico .row.row-1.mt-5 {
    margin-top: 5rem;
}

.historico-text {
    width: 100%;
    border: 0px solid black;
    margin: 1rem auto;
}

.historico-text img {
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
}

.historico-text p {
    margin-top: 10px;
    text-align: justify;
}

.timeline.generico .buttons-bar {
    text-align: center;
    padding-top: 1rem;
}

.timeline.generico .buttons-bar a {
    border-radius: 5px;
}

.timeline.generico .buttons-bar a i {
    margin-left: 5px;
    color: #000000;
}

.timeline.generico .buttons-bar a::content {
    content: "";
}

.scroll-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.scroll-icon:hover {
    text-decoration: none;
}

.scroll-icon i.fa.fa-caret-up {
    margin-top: -4px;
}

.link-historico-eventos {
    word-break: break-word;
}



/* Correção do header */
@media only screen and (max-width: 992px) {
    #mainnav .nav-collapse {
        background-color: transparent !important;
    }
    .sticky-main-header {
        position: static !important;
    }
    #mainnav .btn-navbar:hover,
    #mainnav .btn-navbar {
        padding: 6px 10px 0 10px !important;
        width: 85px !important;
    }
    #header a {
        color: #ffffff !important;
        text-align: left !important;
        background-color: transparent !important;
    }

    #header #mainnav .dropdown-menu,
    .nav .nav-child {
        background-color: transparent !important;
    }
    #header #mainnav .nav-collapse .nav > li > a {
        color: #ffffff !important;
    }
    #header #mainnav .nav > li.active a {
        background-color: transparent !important;
    }
    #header #mainnav .nav > li > a,
    #header #mainnav .nav > li .separator {
        padding-left: 10px;
        padding-right: 20px;
    }
}
/* Fecha correção do header */

/* Correção conteudo jcemediabox em dispositivos pequenos*/
@media only screen and (max-width: 440px) {
    #jcemediabox-popup-content > img {
        width: 95% !important;
    }
    #jcemediabox-popup-body {
        left: 0 !important;
        width: 100% !important;
    }
}
/* Fecha correção conteudo jcemediabox em dispositivos pequenos*/
