.sobreafdr {
    position: relative;
    top: 185px;
}

/*conteudo sobre*/
.sobre {
    margin-top: -124px;
}

.button-slide {
    background-color: #61FFCF;
    color: #081349;
    padding: 8px 15px;
    border-radius: 24px;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    float: left;
    transition: all 0.4s ease 0s;
    outline: none;
    margin-top: 15px;
}

button {
    font-family: 'Rubik-Bold';
    border: none;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.sobre p,
.text-img p,
.areas p,
.anosfdr p,
.democrito p,
.missao p,
.informacoes p,
.privacidade p {
    font-family: 'Rubik-Regular';
    font-size: 17px;
    color: #707070;
    line-height: 22px;
}

.sobre p {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.historia-text p,
.missao-colorida p {
    font-family: 'Rubik-Regular';
    font-size: 17px;
    color: #0A043C;
}

.sociais {
    margin-top: 50px;
}

.button-informacoes:hover {
    background-color: #0A043C;
    letter-spacing: 0px;
}

.button-informacoes {
    background-color: #0A043C;
    color: #fff;
    width: 130px;
    height: 45px;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.4s ease 0s;
    font-family: 'Rubik-Medium';
    border: none;
    border-radius: 24px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.sobre h1,
.historia-text h1,
.areas h1,
.anosfdr h1,
.democrito h1,
.missao h1,
.informacoes h1 {
    font-family: 'Rubik-Bold';
    font-size: 30px;
    color: #0A043C;
    text-align: center;
}

.sobre-h1 {
    font-family: 'Rubik-Bold';
    font-size: 35px;
    color: #0A043C;
    text-align: left !important;
}


.sobre li {
    list-style: none;
}

.historia img {
    width: 545px;
    height: 363px;
    border-radius: 10px;
    margin-left: 20px;
}

.historia-text h1 {
    padding-top: 170px;
}

.historia-text {
    /* background-image:  url(../img/bg-edicoes.png); */
    background-color: #28F9BA;
    background: rgb(97, 255, 207);
    background: radial-gradient(circle, rgba(97, 255, 207, 1) 4%, rgba(101, 219, 183, 1) 96%);
    background-repeat: no-repeat;
    background-size: cover;
}

.historia-text li p {
    font-size: 15px;
}


li.imagem img {
    width: 381px;
    height: 513px;
}

/* conteudo text-img */
.text-img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}




.historia-card img {
    width: 638px;
    height: 403px;
    border-radius: 10px;
}

.card {
    box-shadow: -6px 6px 10px #00000029;
    transition: 0.3s;
    width: 357;
    height: 292px;
    border-radius: 12px;
    position: absolute;
    background-color: #0A043C;
    margin-left: 500px;
    margin-top: 65px;
    padding: 40px 30px;
}

.card h1,
.card p {
    font-family: 'Rubik-Bold';
    font-size: 22px;
    text-align: left;
    color: #FFF;
}

.card p {
    font-family: 'Rubik-Regular';
    font-size: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.ebook img {
    border-radius: 7px;
}

.stripe {
    width: 730px;
    height: 191px;
    margin: 140px auto;
    background-color: #EEEEEE;
    /* position: absolute; */
    top: 35px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    padding: 0 50px;
    color: #0A043C;
    justify-content: space-around;
}

.stripe>p {
    font-family: 'Rubik-Bold';
    font-size: 19px;
    color: #0A043C;
}

.stripe img {
    height: 274px;
    width: 187px;
    margin: 0 20px 0 15px;
}


/*areas de atuacao*/
.areas {
    background-color: #0A043C;
    background: rgb(10, 4, 60, 1);
    background: radial-gradient(circle, rgba(7, 21, 90, 1) 7%, rgba(10, 4, 60, 1) 31%);
}

.areas h1 {
    color: #FFF;
}

.areas li {
    list-style: none;
    margin-bottom: 10px;
    width: 220px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.areas img {
    width: 186px;
    height: 206px;
}

.area-container {
    position: relative;
}

.texto-centro {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    transform: translate(-50%, -50%);
    text-align: center;
}

.texto-centro span {
    font-family: 'Rubik-SemiBold';
    font-size: 16px;
    color: #0A043C;
    text-transform: uppercase;
    text-align: center;
}

.texto-grande-centro span {
    font-family: 'Rubik-SemiBold';
    font-size: 14px;
    color: #0A043C;
    text-transform: uppercase;
    text-align: center;
}

.texto-grande-centro {
    position: absolute;
    top: 32%;
    margin: 0 15px;
    display: block;
    text-align: center;
}

.bottom-left {
    position: absolute;
    bottom: 50px;
    margin: -14px 65px;
}

.bottom-left p {
    font-family: 'Rubik-SemiBold';
    font-size: 13px;
    color: #0A043C;
    text-decoration: underline;
    text-align: center;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 15%;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0, 0.8);
}

.modal h1 {
    font-family: 'Rubik-Bold';
    color: #0A043C;
    font-size: 22px;
    text-align: center;
}

.modal p {
    font-family: 'Rubik-Regular';
    color: #0A043C;
    font-size: 16px;
    text-align: center;
    padding-top: 20px;
}

/* Modal Content */
.modal-content {
    background-color: #FFF;
    margin: auto;
    padding: 20px;
    width: 640px;
    height: 300px;
    border-radius: 6px;
}

/* The Close Button */
.close {
    background-color: #0A043C;
    color: white;
    float: right;
    font-size: 30px;
    font-weight: bold;
    border-radius: 96px;
    width: 30px;
    height: 31px;
    text-align: center;
}

.close:hover,
.close:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

/* 35anosfdr */
.anosfdr h2 {
    font-family: 'Rubik-Bold';
    font-size: 20px;
    color: #0A043C;
}

.anosfdr p {
    font-family: 'Rubik-Regular';
    font-size: 16px;
    color: #707070;
    line-height: 16px;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.anosfdr img {
    width: 160px;
    height: 260px;
}

/* Demócrito */
.democrito li {
    list-style: none;
}

.democrito img {
    width: 360px;
    height: 460px;
    border-radius: 10px;
}


.owl-carousel.carousel-timeline .owl-item img {
    width: 140px;
    height: 100px;
    max-width: 100%;
    margin-right: 20px;
}

.owl-carousel .owl-item.center img {
    width: auto;
    height: 120px;
    margin-top: 8%;
}

.container-buttons {
    max-width: 740px;
    margin: 0 auto;
}

.owl-stage {
    display: flex;
    align-items: center;
}

.carousel-timeline {
    height: 450px;
}


.teste {
    height: 100%;
}

.container-buttons .item {
    text-align: center;
}

.owl-item.active.center {
    z-index: 9;
}

.owl-carousel .owl-item figure {
    transform: scale(.6);
    transition: .175s;
    padding: 30px 20px;
    border-radius: 10px;
    margin: 65px auto;
    box-shadow: 0px 3px 6px #00000029;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* min-height: 180px;*/
    height: auto;
    background-color: #fff;
}

.owl-carousel.carousel-timeline .owl-stage:before {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: #D4D4D4;
    position: absolute;
    top: 133px;
    z-index: -1;
}

.anosfdr .teste span {
    display: none;
    transition: .3s;
}

.owl-item.center .datamaster {
    top: -23px;
}

.owl-item.active.center figure {
    border: 2px solid #0A043C;
    transform: scale(1.1);
    opacity: 1;
    /* height: 250px; */
}

.owl-item.active.center .teste span {
    display: -webkit-box;
    -webkit-line-clamp: 15;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.container-buttons button {
    border: 0;
    color: #0A043C;
    font-size: 22px;
    background-color: transparent;
    outline: none;
    text-decoration: underline;
    font-family: 'Rubik-Medium';
    cursor: pointer;
}

.container-buttons button:hover {
    color: #0A043C;
}

.container-buttons button:not(.active-btn) {
    opacity: .5;
}

.container-buttons .center button {
    font-size: 25px;
}

.owl-theme .owl-nav {
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    display: flex;
    justify-content: space-between;
}

.owl-theme .owl-nav [class*=owl-] {
    width: 30px;
    height: 30px;
    margin: 0;
    background-color: #fff !important;
    border-radius: 0 !important;
    opacity: 1 !important;
}

.anosfdr .datamaster {
    font-family: 'Rubik-Medium';
    position: absolute;
    top: -36px;
    color: #fff;
    width: 160px;
    height: 44px;
    background-color: #0A043C;
    border: 8px solid #fff;
    border-radius: 12px;
    font-size: 16px;
    padding: 2px 2px;
    z-index: -1;
    display: flex;
    line-height: 21px;
    justify-content: center;
}

.owl-theme.owl-buttons {
    max-width: 300px;
    margin: 0 auto;
}

/* missao e valores */
.missao-colorida {
    background-color: #61FFCF;
    background: rgb(97, 255, 207);
    background: radial-gradient(circle, rgba(97, 255, 207, 1) 4%, rgba(101, 219, 183, 1) 96%);
    border-radius: 10px;
    padding: 60px 50px;
}

.missao-colorida p {
    text-align: center;
    width: 550px;
    margin: 0 auto;
}

.caixa {
    background-color: #0A043C;
    background: rgb(15, 57, 102);
    background: radial-gradient(circle, rgba(15, 57, 102, 1) 7%, rgba(8, 19, 73, 1) 31%);
    border-radius: 10px;
    width: 357px;
    padding: 40px 40px;
    margin: 0 30px 20px;
}

.caixa h4 {
    font-family: 'Rubik-Regular';
    font-size: 24px;
    color: #FFF;
    text-align: center;
}

.caixa p {
    font-family: 'Rubik-Regular';
    font-size: 18px;
    color: #FFF;
    text-align: center;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
}



/*MENU DESKTOP*/
@media only screen and (min-width: 1190px) {
    .cards-timeline {
        height: 340px;
        width: 550px;
    }
}


@media only screen and (max-width: 1189px) {
    .sobre-h1 {
        font-size: 16px;
        font-family: 'Rubik-Bold';
    }

    .parceiros li {
        margin-bottom: 40px;
    }

    .historia img {
        width: 320px;
        height: 210px;
    }

    li.imagem img {
        height: 260px;
        width: 287px;
    }

    .democrito img {
        width: 100%;
        height: auto;
    }

    .areas li {
        width: 300px;
    }

    p,
    .autores p {
        font-size: 18px;
    }

    .sobre h1,
    .areas h1,
    .anosfdr h1,
    .democrito h1,
    .missao h1,
    .informacoes h1 {
        font-size: 30px;
    }

    .modal-content {
        margin: 0 auto;
        width: 300px;
        height: 450px;
    }
}

@media (max-width: 1024px) {
    .owl-carousel.carousel-timeline .owl-stage:before {
        top: 185px;
    }

    .owl-theme .owl-nav [class*="owl-"] span {
        font-size: 0px;
        color: #fff;
    }
}

@media (max-width: 991px) {
    .owl-item.active.center figure {
        flex-direction: column;
        align-items: center;
    }

    .owl-carousel .owl-item.center img,
    .owl-carousel .owl-item img {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .owl-carousel.carousel-timeline {
        height: 100%;
    }

    .owl-item.active.center figure {
        border: 1px solid #0A043C;
        transform: scale(.9);
        opacity: 1;
        height: 400px;
    }

    .owl-theme .owl-nav [class*="owl-"] span {
        font-size: 0px;
        color: #fff;
    }

    .card h1 {
        font-size: 18px;
    }

    .card p {
        font-size: 16px;
    }
}

@media (min-width: 768px) and (max-width: 1019px) {
    .sobre {
        margin-top: 20px;
    }

    .sobreafdr {
        top: 110;
    }

    .historia img {
        width: 450px;
        height: 363;
    }

    .historia-card {
        text-align: center;
    }

    .card {
        height: 310px;
        position: unset;
        margin: -50px auto 10px;
    }

    .anosfdr h2,
    .anosfdr p {
        text-align: center;
    }
}

@media (min-width: 1020px) and (max-width: 1435px) {
    .sobre {
        margin-top: 10px;
    }

    .sobreafdr {
        top: 155;
    }

    .historia img {
        width: 545px;
        height: auto;
    }

    .historia-card {
        text-align: center;
    }

    .card {
        margin-top: 65px;
    }

}

@media (max-width: 765px) {
    .sobre .sobre-h1 {
        text-align: center !important;
    }

    /* .sobre p {
        margin-bottom: 20px;
    } */

    .historia img {
        width: 100%;
        height: auto;
        margin-left: 0;
        position: relative;
        top: -68px;
    }

    .historia-card img {
        width: 100%;
        height: auto;
    }

    .card {
        width: 90%;
        height: 310px;
        position: unset;
        margin: -50px auto 10px;
        z-index: 6;
    }

    .democrito img {
        width: 100%;
        height: auto;
    }

    .missao-colorida p {
        width: 100%;
    }

    .caixa {
        width: 100%;
    }

    .stripe {
        width: 100%;
        height: 191px;
    }

    .stripe>p {
        font-size: 13px;
    }

    .stripe img {
        height: 260px;
        width: 172px;
        margin: 0px 0px 0 15px;
    }

    .owl-carousel.carousel-timeline .owl-stage:before {
        top: 100px;
        left: 70px;
    }

    .owl-item.active.center figure,
    .owl-carousel .owl-item figure {
        transform: none;
        max-width: 75%;
        transition: none;
        margin: 0 auto;
    }

    .owl-item .datamaster,
    .owl-item.center .datamaster {
        z-index: 99;
    }

    .owl-theme.carousel-timeline .owl-nav {
        top: calc(50% - 30px);
        margin-top: 0;
    }

    .owl-carousel .owl-nav button.owl-prev,
    .owl-carousel button.owl-dot {
        background: url('../img/esquerda.png') no-repeat;
        color: transparent;
        border: none;
        padding: 0 !important;
        font: inherit;
        margin: 15px !important;
    }

    .owl-carousel .owl-nav button.owl-next,
    .owl-carousel button.owl-dot {
        background: url('../img/direita.png') no-repeat;
        color: transparent;
        border: none;
        padding: 0 !important;
        font: inherit;
        margin: 15px !important;
        outline: none;
    }

    .owl-theme .owl-nav [class*="owl-next"]:hover {
        background: url('../img/direita.png');
        background-repeat: no-repeat;
        color: #FFF;
        text-decoration: none;
    }

    .owl-theme .owl-nav [class*="owl-prev"]:hover {
        background: url('../img/esquerda.png');
        background-repeat: no-repeat;
        color: #FFF;
        text-decoration: none;
    }

    .owl-carousel .owl-nav .owl-prev,
    .owl-carousel .owl-nav .owl-next,
    .owl-carousel .owl-dot {
        width: 30px;
        height: 30px;
    }

    .owl-item.active.center figure {
        border: 1px solid #0A043C;
        transform: scale(.9);
        opacity: 1;
        height: 450px;
    }

    .button-informacoes {
        background-color: #0A043C;
        color: #fff;
        width: 160px;
        height: 40px;
    }

}

@media only screen and (min-width: 768px) {
    .stripe {
        height: 191px;
    }

    .stripe p {
        max-width: 371px;
        font-size: 24px;
        margin-left: 18px;

    }

    .ebook img {
        height: 249px;
        width: 159px;
        bottom: -25px;
        right: 100px;
    }

}

@media only screen and (min-width: 1000px) {
    .texto-sobre {
        width: 40%;
    }
}

/* Banners */
@media (max-width: 768px) {
    .ad-banner-desktop {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .ad-banner-mobile {
        display: none !important;
    }
}

/* end banners*/