/* Menu */
.navbar-custom {
    background-color: #009ec5;
    font-weight: 800;
}

.navbar-custom .navbar-brand,
.navbar-custom .navbar-text {
    color: rgba(255, 255, 255, .8);
}

.navbar-custom .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 1);
}

.navbar-custom .nav-item.active .nav-link,
.navbar-custom .nav-item:hover .nav-link {
    color: #cecece;
}

.navbar-expand-md .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
    font-size: 1.2rem;
}

/* Menu - Fim */
/* Slider - Inicio */
.carousel-item {
    height: 78vh;
    min-height: 300px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ff0000' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ff0000' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

/* Slider - Fim */
/* Empresa */
.tab-pane {
    padding: 0.5rem 0;
}

a#v-pills-tab1-tab.nav-link {
    background-color: #003340 !important;
    color: #fff !important;
    border-radius: 0;
}

a#v-pills-tab2-tab.nav-link.active.show {
    background-color: #00667F !important;
    color: #fff !important;
    border-left: 5px solid #fff;
    border-radius: 0;
}

a#v-pills-tab3-tab.nav-link.active.show {
    background-color: #009ec5 !important;
    color: #fff !important;
    border-left: 5px solid #fff;
    border-radius: 0;
}

a#v-pills-tab4-tab.nav-link.active.show {
    background-color: #8e99ab !important;
    color: #fff !important;
    border-left: 5px solid #fff;
    border-radius: 0;
}

a#v-pills-tab5-tab.nav-link.active.show {
    background-color: #c1cbdb !important;
    color: #fff !important;
    border-left: 5px solid #fff;
    border-radius: 0;
}

a#v-pills-tab1-tab.nav-link.active {
    background-color: #003340 !important;
    color: #fff !important;
    border-left: 5px solid #fff;
    border-radius: 0;
}

a#v-pills-tab2-tab.nav-link.active {
    background-color: #00667f !important;
    color: #fff !important;
    border-left: 5px solid #fff;
    border-radius: 0;
}

a#v-pills-tab3-tab.nav-link.active {
    background-color: #009ec5 !important;
    color: #fff !important;
    border-left: 5px solid #fff;
    border-radius: 0;
}

a#v-pills-tab2-tab {
    background-color: #00667f !important;
    color: #fff !important;
    border-radius: 0;
}

a#v-pills-tab3-tab {
    background-color: #009ec5 !important;
    color: #fff !important;
    border-radius: 0;
}

a#v-pills-tab4-tab {
    background-color: #8e99ab !important;
    color: #fff !important;
    border-radius: 0;
}

a#v-pills-tab5-tab {
    background-color: #c1cbdb !important;
    color: #fff !important;
    border-radius: 0;
}

h5.diferente {
    padding: 8px;
    color: #fff;
    margin: 1.5rem 0;
}

#v-pills-tab4>h5:nth-child(2) {
    background-color: #003340;
}

#v-pills-tab4>h5:nth-child(4) {
    background-color: #00667f;
}

h5.diferente:nth-child(7) {
    background-color: #009ec5;
}

h5.diferente:nth-child(11) {
    background-color: #8e99ab;
}

.empresaItems {
    padding-left: 6rem;
}

/* Empresa - Fim */
/* Serviços */
.card {
    position: relative;
    padding: 0;
    border: 0;
    border-radius: 0;
    margin: 0;
    overflow: hidden;
    padding: 0.3rem;
}

.portfolio {
    padding-bottom: 0;
}

.portfolio-grid .row {
    margin: 0;
}

.portfolio-grid .row>div {
    padding: 0;
}

.portfolio-grid .row>div .card img {
    width: 100%;
}

.portfolio-grid .row>div .card .portfolio-over {
    position: absolute;
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    height: 100%;
    background: rgba(0, 157, 198, 1);
    top: 0;
    left: 0;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.portfolio-grid .row>div .card .portfolio-over>div {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.portfolio-grid .row>div .card .portfolio-over .card-title {
    color: #fff;
    font-size: 30px;
    text-align: center;
}

.portfolio-grid .row>div .card .portfolio-over .card-text {
    color: #fff;
    opacity: .75;
    padding: 0 45px;
}

.portfolio-grid .row>div .card:hover .portfolio-over {
    opacity: 1;
    visibility: visible;
}

a.nav-link {
    font-weight: 600;
}

/* Serviços - Fim */
/* Produtos */
.section-produtos {
    padding-top: 0;
    padding-bottom: 0;
    border-top: 0 !important;
}

.section-produtos+[class*="section_"] {
    border-top: 0;
}

.section-produtos .container-fluid .row {
    padding-left: 2.5px;
    padding-right: 2.5px;
}

.section-produtos .container-fluid .row [class*="col-"] {
    padding-left: 2.5px;
    padding-right: 2.5px;
}

.section-produtos .produto-item {
    position: relative;
    margin-bottom: 5px;
}

.section-produtos .produto-item-img {
    overflow: hidden;
}

.section-produtos .produto-item-img>img {
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
}

.section-produtos .produto-item-img-mask {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-pack: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition: opacity 1s ease;
    transition: opacity 1s ease;
}

.section-produtos .produto-item-img-mask>* {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    opacity: 0;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.section-produtos .produto-item-img-mask>h3 {
    margin-bottom: 1em;
    color: white;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
}

.section-produtos .produto-item-img:hover>img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.section-produtos .produto-item-img:hover .produto-item-img-mask {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}

.section-produtos .produto-item-img:hover .produto-item-img-mask>* {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}

.close {
    position: absolute;
    top: 20px;
    right: 26px;
    z-index: 20;
}

#embalagens div div div.modal-body,
#construcao div div div,
#artigos-promocionais div div div.modal-body {
    padding: 0;
}

.produtos {
    margin: 8rem auto;
}

/* Produtos - Fim */
/* Recursos Humanos */
#recursoshumanos {
    /* padding: 2rem 3rem; */
    background: url('../img/banners/fipla-banner-recursos-humanos.jpg') no-repeat center center;
    background-color: rgba(0, 0, 0, .3);
    background-blend-mode: multiply;
    background-size: cover;
    color: #fff;
}

.rh {
    padding: 2rem 4rem;
}

#rheading {
    color: #fff;
}

#recursoshumanos div div.row:nth-child(3) {
    margin: 0 auto 4rem;
}

/* upload button */
.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

/* upload button - Fim */
p#rh-subheading {
    font-weight: bold;
}

/* Recursos Humanos - Fim */
/* Contactos */
#mapa {
    width: 100%;
    height: auto;
}

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

#contactos {
    padding-bottom: 0 !important;
}

/* Contactos - Fim */
/* Global */
.fipla-heading {
    margin: 5rem 0 3rem 0;
    color: #555;
}

.contact-list>li:nth-child(4)>p:nth-child(2) {
    vertical-align: middle;
    vertical-align: -moz-middle-with-baseline;
    vertical-align: -webkit-baseline-middle;
}

.btn-primary {
    color: #fff;
    background-color: rgb(0, 158, 197);
    border-color: rgb(0, 158, 197);
}

.btn-primary:hover {
    color: #fff;
    background-color: #00667f;
    border-color: #00667f;
}

.setinhas {
    color: #009ec5;
    font-size: 22px !important;
    font-weight: bold;
}

/* Global - Fim */
ul.contact-list li {
    list-style: none;
}

.contact-list li {
    margin-bottom: 20px;
}

.contact-list li>i {
    margin: 0 15px;
    vertical-align: middle;
    /*color: rgb(0,158,197,1);*/
    color: #009ec5;
}

.fipla-contact {
    display: inline-block;
}

.fipla-contact a {
    text-decoration: none;
    color: #212529;
}

/* Scroll to Top */
#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgb(0, 0, 0);
    background: rgba(0, 158, 197, 1);
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#return-to-top i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 16px;
    top: 13px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#return-to-top:hover {
    background: rgba(0, 0, 0, 0);
}

#return-to-top:hover i {
    color: #009ec5;
    top: 5px;
}

/* Scroll to Top - Fim */
/* Media queries */
@media (max-width: 767px) {
    .empresaItems {
        padding: 0 2rem !important;
    }

    .fixed-top {
        position: relative !important;
        z-index: 0 !important;
    }

    .fipla-heading {
        margin: 2rem 2rem 2rem 2rem !important;
        text-align: center;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .portfolio-grid {
        margin-top: 0px !important;
    }

    .card {
        padding: 50px 0px !important;
    }

    #norte2020 {
        margin: 0px !important;
    }
}

@media (max-width: 575px) {
    .empresaItems {
        border: none !important;
    }
}

@media (max-width: 460px) {
    .portfolio-grid .row>div .card .portfolio-over .card-text {
        font-size: 0.8rem !important;
    }

    .portfolio-grid .row>div .card .portfolio-over .card-title {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 380px) {
    .portfolio-grid .row>div .card .portfolio-over .card-text {
        font-size: 0.6rem !important;
    }

    .portfolio-grid .row>div .card .portfolio-over .card-title {
        font-size: 1rem !important;
    }
}

/* Media queries - Fim */
/* LightBox */
html.lb-disable-scrolling {
    overflow: hidden;
    /* Position fixed required for iOS. Just putting overflow: hidden; on the body is not enough. */
    position: fixed;
    height: 100vh;
    width: 100vw;
}

.lightboxOverlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: black;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
    opacity: 0.8;
    display: none;
}

.lightbox {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 10000;
    text-align: center;
    line-height: 0;
    font-weight: normal;
}

.lightbox .lb-image {
    display: block;
    height: auto;
    max-width: inherit;
    max-height: none;
}

.lightbox a img {
    border: none;
}

.lb-outerContainer {
    position: relative;
    *zoom: 1;
    width: 250px;
    height: 250px;
    margin: 0 auto;
    border-radius: 4px;
    background-color: white;
}

.lb-outerContainer:after {
    content: "";
    display: table;
    clear: both;
}

.lb-loader {
    position: absolute;
    top: 43%;
    left: 0;
    height: 25%;
    width: 100%;
    text-align: center;
    line-height: 0;
}

.lb-cancel {
    display: block;
    width: 32px;
    height: 32px;
    margin: 0 auto;
    background: url(../img/loading.gif) no-repeat;
}

.lb-nav {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 10;
}

.lb-container>.nav {
    left: 0;
}

.lb-nav a {
    outline: none;
    background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
}

.lb-prev,
.lb-next {
    height: 100%;
    cursor: pointer;
    display: block;
}

.lb-nav a.lb-prev::before {
    font-family: FontAwesome;
    content: "\f053";
    color: #009ec5;
    font-size: 25px;
    position: absolute;
    top: 49%;
    left: 2%;
}

.lb-nav a.lb-prev {
    width: 34%;
    left: 0;
    float: left;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    opacity: 0;
    -webkit-transition: opacity 0.6s;
    -moz-transition: opacity 0.6s;
    -o-transition: opacity 0.6s;
    transition: opacity 0.6s;
    height: 90%;
}

.lb-nav a.lb-prev:hover {
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
    text-decoration: none;
}

.lb-nav a.lb-next::before {
    font-family: FontAwesome;
    content: "\f054";
    color: #009ec5;
    font-size: 25px;
    position: absolute;
    top: 49%;
    right: 2%;
}

.lb-nav a.lb-next {
    width: 64%;
    right: 0;
    float: right;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    opacity: 0;
    -webkit-transition: opacity 0.6s;
    -moz-transition: opacity 0.6s;
    -o-transition: opacity 0.6s;
    transition: opacity 0.6s;
    height: 90%;
}

.lb-nav a.lb-next:hover {
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
    text-decoration: none;
}

.lb-close {
    width: 100%;
    display: block;
    height: 10%;
}

#fechar {
    display: none;
}

.lb-container:hover #fechar {
    display: inline;
    position: absolute;
    top: 2.5%;
    right: 2%;
    color: #009ec5;
    font-size: 23px;
    -webkit-transition: opacity 2s;
    -moz-transition: opacity 2s;
    -o-transition: opacity 2s;
    transition: opacity 2s;
    cursor: pointer;
}

/* LightBox - Fim */
/* Notícias */
.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

a.noticiasLink {
    text-decoration: none;
    color: #212529;
}

a.noticiasLink:hover {
    color: #555;
}

.termosecondicoes {
    display: inline;
    margin-left: 10px;
}

.card-img-top {
    margin: auto;
    width: 60%;
    border-radius: 1rem;
}

.card.news {
    margin-bottom: 3rem;
}

.card-body h5.card-title {
    font-weight: bold;
}

.news-card {
    position: relative;
    padding: 0;
    border: 0;
    border-radius: 0;
    margin: 0;
    overflow: hidden;
    padding: 0;
}

.news-grid {
    margin-top: 0px;
}

.news-grid .row {
    margin: 0;
}

.news-grid .row>div {
    padding: 0;
}

.news-grid .row>div .news-card img {
    width: 100%;
}

.news-grid .row>div .news-card .news-over {
    position: absolute;
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    height: 100%;
    background: rgba(0, 157, 198, 1);
    top: 0;
    left: 0;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.news-grid .row>div .news-card .news-over>div {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.news-grid .row>div .news-card .news-over .card-title {
    color: #fff;
    font-size: 22px;
    text-align: center;
    padding: 0 40px 20px 19px;
}

.news-grid .row>div .news-card .news-over .card-text {
    color: #fff;
    opacity: .75;
    padding: 0 40px;
}

.news-grid .row>div .news-card:hover .news-over {
    opacity: 1;
    visibility: visible;
}

.btn-news {
    color: rgb(0, 158, 197);
    background-color: #fff;
    border-color: #fff;
}

.btn-news:hover {
    color: #fff;
    background-color: rgb(0, 158, 197);
    border-color: rgb(0, 158, 197);
}

/* Notícias - Fim */
/* Política de Cookies */
.table-responsive-stack tr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}

.table-responsive-stack td,
.table-responsive-stack th {
    display: block;
    /*
   flex-grow | flex-shrink | flex-basis   */
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}

.table-responsive-stack .table-responsive-stack-thead {
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    .table-responsive-stack tr {
        -webkit-box-orient: vertical !important;
        -webkit-box-direction: normal !important;
        -ms-flex-direction: column !important;
        flex-direction: column !important;
        border-bottom: 3px solid #ccc !important;
        display: block !important;
    }

    /*  IE9 FIX   */
    .table-responsive-stack td {
        float: left\9;
        width: 100%;
    }
}

/* Política de Cookies - Fim */
/* Footer */
footer {
    text-align: center;
    background-color: #009ec5;
    padding-top: 20px;
}

.list-unstyled li a {
    text-decoration: none;
    color: #fff;
}

/* Footer - Fim */
#norte2020 {
    width: 600px;
}

/* Language selector */
.bootstrap-select {
    position: absolute;
    right: 20px;
}

@media screen and (max-width: 768px) {
    .bootstrap-select {
        position: relative !important;
        display: inline-block !important;
        margin-right: auto !important;
        margin-left: auto !important;
        right: 0 !important;
    }

    #teste {
        padding-right: 0 !important;
    }

    .navbar-custom {
        background-color: #009ec5;
        font-weight: 800;
        margin-bottom: -1rem !important;
        padding-bottom: 0rem !important;
    }

    div.show#navbarSupportedContent {
        padding-bottom: 1rem !important;
    }
}

/* Language selector - Fim */
#ol-text {
    list-style-type: none;
    counter-reset: elementcounter;
    padding-left: 0;
}

#ol-text>li:before {
    content: "Atividade " counter(elementcounter) ". ";
    counter-increment: elementcounter;
    font-weight: bold;
}

header {
    position: relative;
    background-color: black;
    height: 100vh;
    min-height: 25rem;
    width: 100%;
    overflow: hidden;
}

header video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

header .hearder-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0;
    z-index: 1;
}

/******************  News Slider Demo-2 *******************/
.post-slide2 {
    margin: 0 15px;
    box-shadow: 0 1px 2px rgba(43, 59, 93, .3);
    margin-bottom: 2em
}

.post-slide2 .post-img {
    overflow: hidden
}

.post-slide2 .post-img img {
    width: 100%;
    height: auto;
    transform: scale(1);
    transition: all 1s ease-in-out 0s
}

.post-slide2:hover .post-img img {
    transform: scale(1.08)
}

.post-slide2 .post-content {
    background: #fff;
    padding: 20px
}

.post-slide2 .post-title {
    font-size: 17px;
    font-weight: 600;
    margin-top: 0;
    text-transform: capitalize
}

.post-slide2 .post-title a {
    display: inline-block;
    color: grey;
    transition: all .3s ease 0s
}

.post-slide2 .post-title a:hover {
    color: #3d3030;
    text-decoration: none
}

.post-slide2 .post-description {
    font-size: 15px;
    color: #676767;
    line-height: 24px;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.post-slide2 .post-bar {
    padding: 0;
    margin-bottom: 15px;
    list-style: none
}

.post-slide2 .post-bar li {
    color: #676767;
    padding: 2px 0
}

.post-slide2 .post-bar li i {
    margin-right: 5px
}

.post-slide2 .post-bar li a {
    display: inline-block;
    font-size: 12px;
    color: grey;
    transition: all .3s ease 0s
}

.post-slide2 .post-bar li a:after {
    content: ","
}

.post-slide2 .post-bar li a:last-child:after {
    content: ""
}

.post-slide2 .post-bar li a:hover {
    color: #3d3030;
    text-decoration: none
}

.post-slide2 .read-more {
    display: inline-block;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: #e7989a;
    border-bottom-right-radius: 10px;
    text-transform: capitalize;
    transition: all .3s linear
}

.post-slide2 .read-more:hover {
    background: #333;
    text-decoration: none
}

.fade-fipla {
    background-color: #009ec5;
    color: white;
    transition: background-color 0.7s linear, color 0.7s linear;
    -moz-transition: background-color 0.7s linear, color 0.7s linear;
    -webkit-transition: background-color 0.7s linear, color 0.7s linear;
    -ms-transition: background-color 0.7s linear, color 0.7s linear;
}

.fadeOut {
    background-color: transparent;
    color: black;
}

.fadeIn {
    background-color: #009ec5;
    color: white;
}

/* @media screen and (max-width: 768px) {
    .fipla-heading {
        margin-top: 50px;
    }
} */

/*@media screen and (min-width: 769px) {

     Custom navbar desktop style 
    .navbar-custom {
        background-color: #009ec5;
        font-weight: 800;
        margin-bottom: -1rem !important;
        padding-bottom: 1.5rem !important;
    }

}*/

