@font-face {
    font-family: Comfortaa;
    src: url(../fonts/Comfortaa-VariableFont_wght.ttf);
}

body {
    font-family: Comfortaa;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.modal-casinha {
    padding-right: 0 !important;
}

.modal-casinha .modal-dialog .modal-content {
    border-radius: 0;
    border: none;
}

.modal-casinha .modal-dialog .modal-content .modal-header {
    background-color: rgb(33, 99, 138);
    border-radius: 0;
    border: none;
}

.modal-casinha .modal-dialog .modal-content .modal-title {
    color: #fff;
    font-family: Comfortaa;
}

.modal-casinha .modal-dialog .modal-content .modal-header span {
    color: #fff;
}

.modal-casinha .modal-dialog .modal-content .modal-header button.close, .modal-casinha .modal-dialog .modal-content .modal-footer button.close {
    outline: none;
    box-shadow: none;
}

.modal-casinha .modal-footer {
    border: none;
}

/* Cores */

.color-dark {
    color: #000;
}

.color-dark-grey {
    color: #545555;
}

.color-white {
    color: #fff;
}

.color-grey-transparency {
    color: rgba(0, 0, 0, 0.35);
}

.color-limon {
    color: #cadb03;
}

.color-blue {
    color: #413f76;
}

.navbar-wrap {
    position: fixed;
    top: 0;
    z-index: 20;
    background-color: #fff;
    margin: 0 auto;
    left: 0;
    right: 0;
}

.shadow-effect {
    -webkit-box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.58);
    -moz-box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.58);
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.58);
}

.navbar {
    position: fixed;
    width: 100%;
    padding: 3px !important;
    z-index: 20 !important;
    background: #fff !important;
}

.nav-item.active {
    border-bottom: 3px solid rgb(33, 99, 138);
}

.nav-link {
    font: 16px Comfortaa;
    color: #545555 !important;
}

.logo-wrap {
    position: absolute;
    margin: 0 auto;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 30;
    background: rgba(255, 255, 255, 0.9);
}

.logo-center {
    height: 200px;
    width: 200px;
    background: url(../images/logo-sm-new.png) center center no-repeat;
    background-size: contain;
    color: #545555;
    max-width: 70%;
    z-index: 1500;
}

.logo {
    height: 80px;
    background: url(../images/logo-sm-new.png) left no-repeat;
    background-size: contain;
    color: #545555;
    padding-left: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.0em;
    /*z-index: 16;*/
}

.logo span {
    font-family: Comfortaa;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

.logo span small {
    color: #545555;
}

.loading {
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    width: 18px;
    height: 18px;
    background: url(../images/loading.gif) center;
    background-size: contain;
    display: none;
}

#wrap-img-heading {
    position: relative;
    z-index: 22;
    display: flex;
    justify-content: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-absolute {
    position: absolute;
    top: 200px;
    z-index: 23;
}

.header-text-center {
    position: absolute;
    align-self: flex-end;
    color: #fff;
    z-index: 1500;
    background: rgba(31, 39, 77, 0.0);
    width: 100vw;
    padding: 30px 10px;
    text-align: center;
}

.header-logo-center {
    position: absolute;
    align-self: flex-start;
    color: #fff;
    z-index: 1500;
    background: rgba(31, 39, 77, 0.0);
    width: 100vw;
    padding: 30px 10px;
    text-align: center;
}

.header-left-side {
    position: absolute;
    z-index: 18;
    background: rgba(0, 0, 0, 0.5);
    margin-top: 10%;
    padding: 15px;
    color: #fff;
}

.header-right-side {
    margin-top: 15%;
}

h1.heading-text-1 {
    font-family: Comfortaa;
    font-size: 2.3vw;
    font-weight: bold;
    text-transform: uppercase;
    -webkit-transform: scale(1, 1.35);
    /* Safari and Chrome */
    -moz-transform: scale(1, 1.35);
    /* Firefox */
    -ms-transform: scale(1, 1.35);
    /* IE 9+ */
    -o-transform: scale(1, 1.35);
    /* Opera */
    transform: scale(1, 1.35);
}

.btn-telm {
    position: absolute;
    right: -2px;
    padding: 0px;
    background: rgb(255, 255, 255) !important;
    z-index: 40;
    color: #000 !important;
    animation: bounce;
    /* referring directly to the animation's @keyframe declaration */
    animation-duration: 2.5s;
    /* don't forget to set a duration! */
    font-family: Comfortaa;
    font-size: 18px;
}

h2.heading-text-1 {
    font-family: Comfortaa;
    font-size: 2vw;
}

h2.heading-text-2 {
    font-family: Comfortaa;
    font-size: 2.1vw;
}

h2.heading-text-1.n-1 {
    /*
    margin-top: 10%;
    margin-left: -10px;
    */
    margin-top: 10px;
}

h2.heading-text-1.n-2 {
    /*
    margin-top: 10%;
    margin-left: -27px;
    */
    margin-top: 10px;
}

h2.heading-text-1.n-3 {
    margin-top: 10%;
    margin-left: -46px;
}

p.text-1 {
    font-family: Comfortaa;
    font-size: 18px;
}

p.text-2 {
    font-family: Comfortaa;
    font-size: 16px;
    line-height: 28px;
    margin: 0;
}

/*
.rehau-quality-img {
    position: absolute;
    width: 40%;
    right: 0;
    bottom: 20px;
    margin-right: 15px;
}
*/

section {
    position: relative;
    z-index: 10;
    margin-top: 62px;
    color: #fff;
}

#historial {
    z-index: 100;
}

.container-dispomos {
    margin: 45px 0 0 0;
    background-attachment: fixed;
    background-image: url(../fotos/recreio.jpg);
    background-size: cover;
    padding: 60px 10px;
}

section#sect-home {
    background-color: #fff;
    overflow: hidden;
}

section#sect-bercario {
    margin-top: 0;
}

section#sect-galeria {
    background-color: #fff;
}

section#sect-contactos {
    background-color: #fff;
}

.separador {
    text-align: center;
    padding: 40px 10px 34px 10px;
    font-family: Comfortaa;
    font-size: 2.3vw;
    font-weight: bold;
    text-transform: uppercase;
    -webkit-transform: scale(1, 1.30);
    /* Safari and Chrome */
    -moz-transform: scale(1, 1.30);
    /* Firefox */
    -ms-transform: scale(1, 1.30);
    /* IE 9+ */
    -o-transform: scale(1, 1.30);
    /* Opera */
    transform: scale(1, 1.30);
    margin-bottom: 60px !important;
}

.separador-first {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.separador-black {
    background: #000;
    color: #fff;
    color: #cadb03;
}

.separador-blue {
    /*background: rgb(72, 188, 255);*/
    background: rgb(33, 99, 138);
    color: #fff;
}

.separador-white {
    background: #fff;
    color: #000;
}

.heading-img-wrap {
    border-top: 1px solid #d6d6d6;
    border-bottom: 1px solid #d6d6d6;
    padding: 18px 0;
    text-align: center;
    font-weight: bold;
}

.body-img-wrap {
    padding: 18px 0;
    text-align: center;
    min-height: 82px;
    line-height: 25px;
}

form label {
    font: 16px Comfortaa;
}

.btn-form-send {
    background: #cadb03 !important;
    color: #fff !important;
    margin: 25px 0 40px 0;
}

.img-galeria-wrap {
    overflow: hidden;
}

.btn-mais, .btn-mais-galeria {
    display: inline-block;
    width: 55px;
    height: 55px;
    border-radius: 50% !important;
    border: none;
    font-weight: bold;
    font-size: 18px;
}

.btn-mais {
    color: rgba(0, 0, 0, 0.35) !important;
    background: rgb(255, 255, 255);
    -webkit-box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.35);
    -moz-box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.35);
    box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.35);
    transition: 0.4s;
}

.btn-mais:hover {
    color: rgb(255, 255, 255) !important;
    background: rgb(33, 99, 138) !important;
    -webkit-box-shadow: 0px 0px 0px 2px rgb(33, 99, 138);
    -moz-box-shadow: 0px 0px 0px 2px rgb(33, 99, 138);
    box-shadow: 0px 0px 0px 2px rgb(91, 108, 117);
    transition: 0.4;
}

.btn-mais-galeria {
    color: rgba(0, 0, 0, 0.35) !important;
    background: rgb(255, 255, 255);
    -webkit-box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.35);
    -moz-box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.35);
    box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.35);
    transition: 0.4s;
}

.btn-mais-galeria:hover {
    color: rgb(255, 255, 255) !important;
    background: rgb(33, 99, 138) !important;
    -webkit-box-shadow: 0px 0px 0px 2px rgb(33, 99, 138);
    -moz-box-shadow: 0px 0px 0px 2px rgb(33, 99, 138);
    box-shadow: 0px 0px 0px 2px rgb(91, 108, 117);
    transition: 0.4;
}

.btn-mais-galeria.selected {
    color: rgb(255, 255, 255) !important;
    background: rgb(33, 99, 138) !important;
    -webkit-box-shadow: 0px 0px 0px 2px rgb(33, 99, 138);
    -moz-box-shadow: 0px 0px 0px 2px rgb(33, 99, 138);
    box-shadow: 0px 0px 0px 2px rgb(33, 99, 138);
    transition: 0.4s;
}

.btn-mais:focus, .btn-mais-galeria:focus {
    outline: none;
}

.btn-externato, .btn-form-send {
    display: inline-block;
    background: rgb(33, 99, 138) !important;
    color: #fff !important;
    border: none;
    font-weight: bold;
    font-size: 18px;
}

.btn-galeria-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../images/line-1.png) repeat-x center center;
    z-index: 29;
    margin-top: 10px;
}

/*
.btn-trigger-galeria{
    text-align: center;
    background-color: #fff !important;
    color: rgba(0, 0, 0, 1) !important;
    font-size: 23px;
    font-family: Comfortaa;
    display: inline-block;
    width: 200px;
    height: 60px;
    padding: 10px 30px !important;
    border-radius: 20px !important;
    margin: 0 auto;
    left: 0;
    right: 0;
}
*/

#bercario-container, #creche-container, #jinfancia-container, #atl-container, #ginasio-container, #biblioteca-container, #quintinha-container {
    display: none;
    margin-top: 50px;
}

/* This changes all the animations globaly */

.n-0 {
    animation: slideInUp;
    --animate-duration: 2s;
    --animate-delay: 3s;
}

.n-1 {
    animation: slideInUp;
    --animate-duration: 1s;
    --animate-delay: 1s;
}

.n-2 {
    animation: slideInUp;
    --animate-duration: 1.5s;
    --animate-delay: 2s;
}

.n-3 {
    --animate-duration: 1100ms;
    --animate-delay: 0.4s;
}

.n-4 {
    --animate-duration: 900ms;
    --animate-delay: 1s;
}

.n-5 {
    --animate-duration: 2s;
}

/* seta para baixo */

.btn-goto-bottom {
    position: relative;
    margin: 0 auto;
    top: 10px;
    left: 0;
    right: 0;
    width: 58px;
    height: 72px;
    background: url(../images/arrow_goto_bottom.png) no-repeat !important;
    bottom: 0px;
    left: 0;
    /*calc(50% - 30px);*/
    z-index: 20;
}

.btn-goto-top {
    width: 58px;
    height: 72px;
    background: url(../images/arrow_goto_top.png) 50% no-repeat;
    margin-bottom: 50px;
}

.btn-goto-top:focus {
    background: url(../images/arrow_goto_top.png) 50% no-repeat;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.btn-goto-bottom:focus {
    background: url(../images/arrow_goto_bottom.png) 50% no-repeat;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.copyright{
    font-size: 12px !important;
    color: #a0a0a0; 
}

.copyright a, .copyright a:hover{
    color: #777777; 
}

@-webkit-keyframes arrow-animations {
    /* Botoes para cima e para baixo */
    0% {}
    70% {
        -moz-transform: translateY(15px);
        -ms-transform: translateY(15px);
        -o-transform: translateY(15px);
        -webkit-transform: translateY(15px);
    }
    100% {}
}

@-moz-keyframes arrow-animations {
    /* Botoes para cima e para baixo */
    0% {}
    70% {
        -moz-transform: translateY(15px);
        -ms-transform: translateY(15px);
        -o-transform: translateY(15px);
        -webkit-transform: translateY(15px);
    }
    100% {}
}

@-o-keyframes arrow-animations {
    /* Botoes para cima e para baixo */
    0% {}
    70% {
        -moz-transform: translateY(15px);
        -ms-transform: translateY(15px);
        -o-transform: translateY(15px);
        -webkit-transform: translateY(15px);
    }
    100% {}
}

@keyframes arrow-animations {
    /* Botoes para cima e para baixo */
    0% {}
    70% {
        -moz-transform: translateY(15px);
        -ms-transform: translateY(15px);
        -o-transform: translateY(15px);
        -webkit-transform: translateY(15px);
    }
    100% {}
}

.btn-goto-bottom, .btn-goto-top {
    /* Botoes para cima e para baixo */
    -webkit-animation: arrow-animations 1s infinite;
    /* Safari 4+ */
    -moz-animation: arrow-animations 1s infinite;
    /* Fx 5+ */
    -o-animation: arrow-animations 1s infinite;
    /* Opera 12+ */
    animation: arrow-animations 1s infinite;
    /* IE 10+, Fx 29+ */
}

@media (max-width: 1200px) {
    h2.heading-text-1 {
        font-size: 26px;
    }
}

@media (max-width: 992px) {
    h2.heading-text-1 {
        font-size: 26px;
    }
}

@media (max-width: 767px) {
    .logo {
        width: auto;
        height: 60px;
        font-size: 0.8em;
    }
    h1.heading-text-1 {
        font-size: 2.9vw;
    }
    h2.heading-text-2 {
        font-size: 3.5vw;
    }
    h2.heading-text-1 {
        font-size: 20px;
    }
    h2.heading-text-1.n-1 {
        margin-left: -2px;
    }
    h2.heading-text-1.n-2 {
        margin-left: -6px;
    }
    h2.heading-text-1.n-3 {
        margin-left: -10px;
    }
    h2.text-1 {
        font-size: 22px;
    }
    .n-4 {
        display: none;
        ;
    }
    .separador h1 {
        font-size: 4vw;
    }
    p.text-1 {
        font-size: 14px;
    }
    p.text-2 {
        font-size: 16px;
    }
}

@media (min-width: 411px) and (max-width: 767px) {}

@media (max-width: 410px) {
    .navbar-toggler {
        padding: 4px !important;
    }
    .nav-link {
        padding-left: 5px !important;
    }
    .header-text-center {
        margin-top: 30px;
    }
    h2.heading-text-1.n-1 {
        /*
        margin-top: 10%;
        margin-left: -10px;
        */
        margin-top: 0px;
    }
    .btn-goto-bottom {
        display: none !important;
    }
    .separador-first {
        margin-bottom: 25px !important;
    }
    h1.heading-text-1 {
        font-size: 2.5vw;
    }
    h2.heading-text-1 {
        font-size: 20px;
    }
    h2.heading-text-2 {
        font-size: 3.9vw;
    }
    h2.heading-text-1.n-1 {
        margin-left: -2px;
    }
    h2.heading-text-1.n-2 {
        margin-left: -4px;
    }
    h2.heading-text-1.n-3 {
        margin-left: -6px;
    }
    .separador h1 {
        font-size: 6vw;
    }
}