/* ==========================================================================
Body Margin
========================================================================== */
body {
    margin-top: 0;
    background-color: white;
}


/* ==========================================================================
Problems with row
========================================================================== */
div.row.justify-content-center.text-center {
    margin-right: 0;
    margin-left: 0;
}


/* ==========================================================================
Problems with row
========================================================================== */
iframe {
    border: 0;
    width: 100%;
    margin-top: 85px;
}

@media screen and (max-width: 767px) {
    iframe {
        margin-top: 67px;
        height: 500px;
    }
}


/* =============== Contact form =============== */
/* ============ Position of the "contatos" ============ */
.contatos {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (min-width: 991px) and (max-width: 1200px) {
    .contatos {
        width: 960px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (min-width: 767px) and (max-width: 991px) {
    .contatos {
        width: 720px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (min-width: 575px) and (max-width: 767px) {
    .contatos {
        width: 540px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (min-width: 300px) and (max-width: 575px) {
    .contatos {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==========================================================================
(CONTACTE-NOS) and (INFORMAÇÕES ÚTEIS) ALL
========================================================================== */

/* ==========================================================================
(CONTACTE-NOS) and (INFORMAÇÕES ÚTEIS) ALL
========================================================================== */
/* ====== Background color ====== */
.jumbotron.text-center {
    background-color: #fff;
}


/* Titulos com background cinzento */
.jumbotron-midlebar {
    text-align: center;
    vertical-align: middle;
    position: relative;
    line-height: 100px;
    padding-top: 50px;
    padding-bottom: 50px;
    background: #f5f8fa;
}


/* Titulos com background cinzento */

@media screen and (min-width: 575px) and (max-width: 991px) {
    .jumbotron-topbar {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .jumbotron-midlebar {
        padding-top: 35px;
        padding-bottom: 35px;
    }
}


@media screen and (min-width: 300px) and (max-width: 575px) {
    .jumbotron-midlebar {
        line-height: 26px;
        padding-top: 26px;
        padding-bottom: 25px;
    }

    .jumbotron-midlebar h2 {
        font-size: 22px;
    }

}

@media screen and (min-width: 300px) and (max-width: 991px) {
    iframe {
        height: 400px;
    }
}


/* ============ Position of the title of the form ============ */
div.contactos {
    text-align: left;
}


/* ============ Form Bar Size ============ */
input.form-control {
    width: 300px;
}

@media screen and (min-width: 300px) and (max-width: 575px) {
    input.form-control {
        width: 100%;
    }
}


/* =============== Contact information =============== */
/* ========= Remove the first border "GPS and norte" ========= */
div.row.contact div.col-md-6 tbody tr th.norte {
    vertical-align: middle;
    border-top-width: 0;
}

div.row.contact div.col-md-6 tbody tr td.norte {
    border-top-width: 0;
}

@media screen and (min-width: 575px) and (max-width: 767px) {
    div.row.contact div.col-md-6 tbody tr th.norte {
        padding-top: 50px;
    }

    div.row.contact div.col-md-6 tbody tr td.norte {
        padding-top: 50px;
    }
}

@media screen and (min-width: 300px) and (max-width: 575px) {
    div.row.contact div.col-md-6 tbody tr th.norte {
        padding-top: 50px;
    }

    div.row.contact div.col-md-6 tbody tr td.norte {
        padding-top: 50px;
    }

    div.contactos-companies div.col {
        right: 52px;
    }
}


/* ====== Centralized images ====== */
@media screen and (min-width: 767px) and (max-width: 991px) {
    div.jumbotron.text-center div.row.img {
        width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    div.jumbotron.text-center div.row.contact {
        width: 720px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (min-width: 575px) and (max-width: 767px) {
    div.jumbotron.text-center div.row.img {
        width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}


/* === Get together images from "INFORMAÇÕES ÚTEIS" === */
div.col-xl-4 {
    padding-right: 0;
    padding-left: 0;
}


/* ==========================================================================
Image information for Nazare, Leiria and Marinha Grande
========================================================================== */
.css-slideshow1 {
    background: url(../img/informacoes-uteis/cidade-marinha-grande.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.css-slideshow2 {
    background: url(../img/informacoes-uteis/cidade-leiria.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.css-slideshow3 {
    background: url(../img/informacoes-uteis/vila-nazare.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.css-slideshow4 {
    background: url(../img/informacoes-uteis/cidade-batalha.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.css-slideshow5 {
    background: url(../img/informacoes-uteis/cidade-alcobaca.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.css-slideshow6 {
    background: url(../img/informacoes-uteis/cidade-fatima.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.css-slideshow7 {
    background: url(../img/informacoes-uteis/praia-sao-pedro-de-moel.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* ====== Images without Mouse Over (Tablet and Mobile) ====== */
.css-slideshow figcaption {
    color: #fff;
    background: rgba(0, 0, 0, 0.75);
    font-size: .8em;
    padding: 8px 12px;
    opacity: 0;
    transition: opacity .5s;
    height: 15vw;

}

@media screen and (max-width: 991px) {
    .css-slideshow figcaption {
        color: #fff;
        background: rgba(0, 0, 0, 0.65);
        font-size: .8em;
        padding: 8px 12px;
        opacity: 0;
        transition: opacity .5s;
    }

    .css-slideshow figure figcaption {
        transition: opacity .5s;
        opacity: 1;
        margin-bottom: 0 !important;
    }
}

div.col-md-12 figcaption {
    min-height: 270px;
}

.slideshow-mobile figure figcaption {
    height: 300px;
}

.slideshow-mobile .row {
    padding-right: 30px;
    padding-left: 30px;
}

@media screen and (min-width: 767px) and (max-width: 991px) {
    .slideshow-mobile .row {
        padding-right: 50px;
        padding-left: 50px;
    }

    .slideshow-mobile figure figcaption {
        height: 350px;
    }
}

@media screen and (min-width: 991px) {
    .slideshow-mobile {
        display: none;
    }
}

@media screen and (min-width: 0px) and (max-width: 991px) {
    .carousel-wrapper {
        display: none;
    }
}


/* ==========================================================================
Image information (MouseOver)
========================================================================== */
/* ====== Useful Information Text (mouseover) ====== */

.hover-text-center {
    margin-top: 20px;
    text-align: center;
}

.imformacoesuteisesq p {
    text-align: left;
}

div.bottom-right p {
    /*position: absolute;*/
    text-align: right;
    /*bottom: 8px;*/
    /*right: 16px;*/
}


/* ====== Center Kilometers ====== */
p.kilometers_info {
    text-align: center;
}

.col.qrcode {
    padding-top: 40px;
}


@media screen and (max-width: 575px) {
    div.row td.col.qrcode img {
        display: none;
    }

    td.space {
        display: none;
        padding-top: 0px;
        padding-bottom: 0px;
    }

    td.col.qrcode {
        padding-top: 0px;
        padding-bottom: 0px;
    }

}

.carousel-indicators li {
    background-color: hsla(0, 0%, 0%, 0.4) !important;
}

.carousel-indicators .active {
    background-color: hsla(0, 0%, 0%, 0.8) !important;
}

@media screen and (max-width: 991px) {
    .carousel-indicators li {
        background-color: hsla(0, 0%, 100%, 0.4) !important;
    }

    .carousel-indicators .active {
        background-color: hsla(0, 0%, 100%, 0.8) !important;
    }
}