@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700');

button::-moz-focus-inner { border: 0; }

img::-moz-focus-inner { border: 0; }

a {
    outline: 0;
}

h2 {
    font-family: 'Lato';
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    color: #585249;
    margin-top: 0px;
    margin-bottom:0px;
}

h3 {
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    font-weight: bold;
    color: #585249;
    line-height: 20px;
}

.text1 {
    font-family: 'Lato', sans-serif;
    font-size: 30px;
    font-weight: 300;
    line-height: 40px;
    color: #585249;
}

#wrapper .region-content{
    min-height: calc(100vh - 410px);
}

.home .content{
    width:100%;
}

#search-form {
    margin-top: 100px;
    width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

#user-login {
    width: 1180px;
    margin:auto;
}
/*********************** BANNER ***************************/
.home .banner-image{
    /*height:  500px; resolvido com javasript para safari
    height: calc(100vh - 100px);
    height: -webkit-calc(100vh - 100px);*/
    position: relative;
    background-size: cover;
    /******** alteração */
    height: 550px !important;
}

.home .banner-text-wrapper{
    height: 150px;
    background-color: rgba(88,82,73,0.7);
    position: absolute;
    bottom: 0px;
    width: 100%;
}
.home .menu-spacer{height: 100px;}

.home .banner-text-content{
    height:150px;
}
.home .banner-text-content #banner-title{
    width: 1180px;
    margin: auto;
    font-family: 'Lato', sans-serif;
    font-size: 30px;
    font-weight: 300;
    line-height: 30px;
    color: #81E2A8;
    text-transform: uppercase;
    padding-top: 35px;
}

.home .banner-text-content #banner-sub-title{
    width: 1180px;
    margin: auto;
    font-family: 'Lato', sans-serif;
    font-size: 50px;
    font-weight: 300;
    line-height: 60px;
    color: white;
}

.home .banner-text-wrapper .scroll{
    height: 150px;
    width: 150px;
    position: relative;
    background-color: #585249;
    float: right;
    top: -150px;
}

.home .banner-text-wrapper .scroll:hover{
    cursor: hand;
    cursor: pointer;
}

.home .scroll #scroll-image{
    width: 30px;
    height: 40px;
    margin: auto;
    margin-top: 55px;
    margin-left: 60px;
    background-image: url("/sites/default/files/sprt.png");
    background-position: 0px -136px;
}

#tag{
    width: 0px;
    height: 0px;
    top: -127px;
    position: relative;
}

/* set the size at which the content is clipped and we cannot have fixed position */
@media all and (max-width: 1180px) {
    /* things inside here will only have an effect if the browser window shows
    less than 1080 px in the height, so here I apply the special rules */

    .home .banner-image {
        /*height: 100vh !important;*/
        min-width: 1180px !important;
        position: relative;
    }

    .destaques-wrapper {
        min-width: 1180px !important;
        background-color: #b8ab97 !important;
        /*	padding-left: 25px;
                padding-right: 25px;*/
    }

    .listagem-servicos {
        min-width: 1180px !important;
    }
}

/********************** DESTAQUES *******************/

.home .destaques-wrapper{
    width:100%;
    background-color:#b8ab97;
    height: 500px;
}

.home .destaques-wrapper .destaques{
    padding-top: 80px;
    width:1180px;
    margin:auto;
}

.home .destaques #title{
    padding-bottom: 20px;
    text-transform: uppercase;
}

.home .destaques #title hr{
    width: 50px;
    height: 3px;
    border: none;
    background-color: #81E2A8;
    float: left;
    margin-top: 20px;
    margin-bottom: 0px;
}

.home .destaques .views-field-field-image-destaque .field-content{
    width: 280px;
    height: 200px;
    margin-right: 20px;
    margin-top: 40px;
    float:left;
}


.home .destaques .views-field-title{
    padding-top: 40px;
    width: 880px;
    margin-left: 280px;
    font-family: 'Lato', sans-serif;
    font-size: 30px;
    font-weight: 300;
    line-height: 35px;
    color: #585249;
}



.home .destaques .views-field-body{
    font-family: 'Lato', sans-serif;
    font-size: 30px;
    font-weight: 300;
    line-height: 35px;
    color: white;
    margin-left: 280px;
    margin-top: 20px;
    width: 880px;
}

.home .destaques .view{
    float: left;
    width: 100%;
}

.home .destaques .slick-dots{
    margin-top: 0px;
    position: relative;
}

.home .destaques .slick-dots li{
    float:left;
}


.home .destaques .slick-dots li:hover{
    background-image: url("/sites/default/files/sprt.png");
    background-position: 5px -206px;
}

.slick-dots li.slick-active button::before{
    color: #81E2A8 !important;
    opacity: 1 !important;
}


.home .destaques .slick-dots li button:hover::before{
    opacity: 0;
}

/****************************** SERVIÇOS **********************************/
.home .servicos-wrapper{
    width:100%;
    background-color: white;
    position: relative;
}

.home .servicos-wrapper .servicos{
    height: auto;
    width:1180px;
    margin:auto;
}

.home .servicos-wrapper .servicos .servicos-title{
    padding-top: 100px;
    text-align: center;
    text-transform: uppercase;
}

.home .servicos-wrapper .servicos hr{
    margin-top: 20px;
    margin-bottom: 20px;
    height: 3px;
    border: none;
    background-color: #81E2A8;
    width:50px;
}

.home .servicos-wrapper .servicos .servicos-sub-title{
    font-family: 'Lato', sans-serif;
    font-size: 30px;
    font-weight: 300;
    line-height: 30px;
    color: #585249;
    text-align: center;
    margin-bottom: 60px;
}

.home .servicos-wrapper .view .view-content{
    width: 1180px;
    margin: auto;
}

.home .servicos-wrapper .views-row{
    float: left;
    width: 210px;
    margin-right: 21px;
}

.home .servicos-wrapper .views-row-1{
    margin-left: 30px;
}

.home .servicos-wrapper .views-row-5{
    margin-right: 0px;
}

.home .servicos-wrapper .icon-servico{
    width:210px;
    text-align: center;
}

.home .servicos-wrapper .views-field-nothing .field-content {
    margin-left:auto;
    margin-right:auto;
    width: 100px;
    margin-bottom: 20px;
}

.home .servicos-wrapper .views-field-nothing a{
    width:210px;
    text-decoration: none;
}

.home .servicos-wrapper .views-field-nothing .field-content img {
    margin: auto;
}
/*
.home .servicos-wrapper .views-field-field-icon-servico .field-content img{
margin: auto;
}
*/
.home .servicos-wrapper .views-field-field-titulo{
    text-align: center;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: bold;
    line-height: 28px;
    color: #585249;
    text-transform: uppercase;
    overflow:hidden;
}

.home .servicos-wrapper .servicos-button{
    display: block;
    width: 380px;
    height: 50px;
    border: 0.5px;
    border-style: solid;
    border-color: #B8AB97;
    text-align: center;
    text-transform: uppercase;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 100px;
}

.home .servicos-wrapper .servicos-button:hover{
    border-color: white;
    background-color: #6B655C;
}

.home .servicos-wrapper .servicos-button:hover a{
    background-color: #6B655C;
    color: white;
}

.home .servicos-wrapper .servicos-button a{
    display: block;
    width:100%;
    height:100%;
    background-color: transparent;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: bold;
    line-height: 48px;
    color: #585249;
    text-decoration:none;
    vertical-align: middle;
    width: 380px;
    height: 50px;
}
/********************************** CLIENTES *********************************/

.home .clientes-slider{
    height: 100px;
    width:1168px;
    /*width:1180px;*/
    margin-left: auto;
    margin-right: auto;
    margin-top: 70px;
    margin-bottom: 70px;
}

.home .clientes-slider .field-content{
    width: 140px;
    height:60px;
    margin: 20px 20px 20px 20px;
    position: relative;
}

.home .clientes-slider .field-content img{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 90%;
    max-height: 90%;
    margin:auto;
}

.home .clientes-slider .slick__slide{
    height:100px !important;
    /*width:186px !important;*/
    width:186px !important;
    border: 0;
    /*border-right: solid 1px rgba(184,171,151,0.5);
    border-top: 0;
    border-left: 0;
    border-bottom: 0;
    border-style: solid;*/
    margin-right: 10px;
    outline: none;
    overflow: hidden;
}

.home .clientes-slider .slick-active{
    border-right: solid 1px rgba(184,171,151,0.5);
    border-top: 0;
    border-left: 0;
    border-bottom: 0;
    border-style: solid;
}

.home .clientes-slider .views-field-field-icon-cliente{
    width:186px !important;
}

.home .clientes-slider .slick-track:nth-child(1){
    border-right: 0;
}

.home .clientes-slider .slider-content{
    /*width: 1180px;*/
    width:1168px;
    height:100px;
}

/**************************** footer-egiemb **********************************/
#footer-egiemb{
    height:310px;
    background-color: #413d37;
    clear: both;
    /*	overflow: hidden;*/
}

#footer-egiemb .footer-content{
    width: 1180px;
    height:310px;
    margin: auto;
    background-color: #413d37;
}
/*
#footer-egiemb .contactos-title{
margin-top:40px;
}*/
#footer-egiemb .contactos{
    color: white;
    text-transform: uppercase;
    padding-top: 40px;
    margin-bottom: 20px;
}

#footer-egiemb .contactos p{
    margin-bottom: 0px;
}

#footer-egiemb .contactos-wrapper{
    height:60px;
    padding-bottom: 20px;
}

#footer-egiemb hr{
    width: 50px;
    float: left;
    margin-top:0px;
    margin-bottom: 20px;
    height: 3px;
    border:none;
    background-color: #81E2A8;
}

#footer-egiemb #nome{
    color: white;
    clear: both;
    font-family: 'Lato';
    font-size: 30px;
    line-height: 40px;
    font-weight: 300;
    margin-bottom: 40px;
}

#footer-egiemb #icon-morada{
    height: 33px;
    width: 30px;
    background-image: url("/sites/default/files/sprt.png");
    background-position-y: -844px;
    float:left;
}

#footer-egiemb #morada{
    float:left;
    font-family: 'Lato';
    font-size: 20px;
    line-height: 30px;
    color: white;
    margin-left: 20px;
    width: 430px;
    height: 30px;
}

#footer-egiemb #morada p{
    margin-top:0px;
}

#footer-egiemb #icon-telefone{
    height: 33px;
    width: 30px;
    background-image: url("/sites/default/files/sprt.png");
    background-position-y: -905px;
    float:left;
    margin-left: 120px;
}

#footer-egiemb #telefone{
    float:left;
    font-family: 'Lato';
    font-size: 20px;
    line-height: 30px;
    color: white;
    margin-left: 20px;
    width: 170px;
}

#footer-egiemb #telefone p{
    margin-top:0px;
}

#footer-egiemb #icon-email{
    height: 33px;
    width: 30px;
    background-image: url("/sites/default/files/sprt.png");
    background-position-y: -968px;
    float:left;
    margin-left: 160px;
}

#footer-egiemb #email{
    float:left;
    font-family: 'Lato';
    font-size: 20px;
    line-height: 30px;
    color: white;
    width: 100px;
    margin-left: 20px;
}

#footer-egiemb #email p{
    margin-top:0px;
}

/*#footer-egiemb #cpright{
width: 250px;
color:#6B655C;
font-family: 'Lato';
font-size: 13px;
}*/
#footer-egiemb #cpright{
    /*width: 250px;*/
    color: #6B655C;
    font-family: 'Lato';
    font-size: 13px;
    float: left;
    width:200px;
}

#footer-egiemb .bottom-line{
    /*display: inline;*/
    width: 1180px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#footer-egiemb .power-wrapper{
    /*    width: 142px;
        float:right;*/
    display: flex;
    align-items: center;
}

#footer-egiemb #javali-power{
    /*width: 76px;*/
    color: #6B655C;
    font-family: 'Lato';
    font-size: 13px;
    /*float:left;*/
}
/*
#footer-egiemb #javali-power{
width: 76px;
margin-left: 792px;
color: #6B655C;
font-family: 'Lato';
font-size: 13px;
}*/

#footer-egiemb #javali-icon{
/*    height: 40px;
    width: 66px;*/
    background-image: url("/sites/default/files/sprt.png");
    /*background-position-y: -1029px;*/
    background-position-y: -1040px;
    /*float:right;*/
    margin-left: 4px;
}

#footer-egiemb #javali-icon a{
    height: 20px;
    width: 66px;
    /*margin-top: 10px;*/
    display: block;
}

/*
#footer-egiemb .bottom-line{
clear:both;
background-color:#413d37;
display: flex;
margin-top: 15px;
height:32px;
}
*/

/************************************* LISTAGEM SERVICOS ************************************/
.listagem-servicos{
    margin-top:100px;
    width:100%;
}

.overcome-menu{
    height:100px;
}


.listagem-servicos-title{
    text-align: center;
    text-transform: uppercase;
}

.listagem-servicos hr{
    margin-top: 20px;
    margin-bottom: 40px;
    height: 3px;
    border: none;
    background-color: #81E2A8;
    width:50px;
}

.listagem-servicos .wrapper-servico-content{
    /*  width: 1180px;*/
    margin: auto;
}

.listagem-servicos .wrapper-servico{
    height: 500px;
    position: relative;
    width: 100%;
}

.listagem-servicos .servico-novo:nth-child(odd){
    background-color: #b8ab97;
}

.listagem-servicos #wrapper-servico-row{
    height: 500px;
    margin: auto;
}


.wrapper-servico #imagem-servicos{
    box-sizing: border-box;
    width: -webkit-calc(50% - 25px);
    width: calc(50% - 25px);
    height: 500px;
    float: left;
    border-top:solid;
    border-bottom: solid;
    border-left: solid;
    border-width: 25px;
    border-color: transparent;
    overflow: hidden;
    position: relative;
}

.wrapper-servico #imagem-servicos img{
    /*height: 100%;*/
    /*min-height: 480px;*/
    /*width: 100%;*/
    height: 100%;
    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    margin:auto;
}


/*.wrapper-servico #imagem-servicos:nth-child(odd){
width: calc(50% - 10px);
height: 490px;
float: left;
border:solid;
border-width: 5px;
border-color: transparent;
overflow: hidden;
}
*/
.wrapper-servico #imagem-servicos-img{
    background-size: cover;
    height: 450px;
}

.wrapper-servico .info-servicos{
    width: 50%;
    height: 500px;
    float: left;
    overflow: hidden;
}

.wrapper-servico .icon-titulo{
    height:110px;
    margin-left: 50px;
    margin-top: 50px;
}
.wrapper-servico #icon-servicos{
    height: 80px;
    width: 80px;
    margin-bottom: 20px;
    /***** alteração ******/
    float:left;

}

.wrapper-servico #nome{
    margin-left: 50px;
    margin-bottom: 20px;
    height: 80px;
    width: 70%;
    font-family: 'Lato';
    font-size: 29px;
    font-weight: bold; /**********alteração ******/
    line-height: 40px;
    color: #585249;
    text-transform: uppercase;
    overflow: hidden;
    /***** alteração ******/
    float:left;

}

.wrapper-servico #descricao{
    margin-left: 50px;
    height: 320px;
    width:80%;
    font-family: 'Lato';
    font-size: 20px;
    line-height: 29px;
    color: #413d37; /*************** alteração ************/
    margin-top: 0px;
    margin-bottom:20px;
    overflow: hidden;
    clear:both;
}


/***********search************/

.content #search-form {
    width: 1180px;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 100px !important;
}

.page-search .content h2{
    width: 1180px;
    margin: auto;
    font-family: 'Lato', sans-serif;
    font-size: 30px;
    font-weight: 300;
    line-height: 30px;
    color: #585249;
}

.page-search .content ul{
    width: 1180px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
}

#search-form .form-type-textfield{
    font-family: 'Lato';
    font-size: 20px;
    line-height: 30px;
    color: #413d37;
}

#search-form .form-type-textfield label{
    margin-right: 45px;
}

#search-form .form-type-textfield #edit-keys{
    background-color: #b8ab97;
    height: 40px;
    width: 620px;
    border: none;
    font-family: 'Lato';
    font-size: 20px;
    line-height: 30px;
    color: #413d37;
    padding-left: 5px;
    /*margin-right: 240px;*/
    margin-bottom: 45px;
}

#search-form #edit-submit{
    width: 130px;
    height: 35px;
    border: solid 1px rgba(184,171,151,0.5);
    background-color: white;
    font-size: 13px;
    font-weight: bold;
    line-height: 28px;
    color: #585249;
    text-transform: uppercase;
    float: right;
    margin-top: 5px;
}

#search-form #edit-submit:hover{
    background-color: #6B655C;
    color: white;
    cursor: pointer;
    cursor: hand;
}

#search-form legend {
    display: none;;
}

.search-results{
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    width: 1180px;
}

.search-results .title{
    font-size: 18px !important;
}
/************************************** LOGIN ********************************/

#user-login{
    font-family: 'Lato';
}

/********************************* PAGE ERROER ***************/

.not-found-or-denied{
    height: 100vh;
    background-color: #FFFBF4;
    text-align:center;
    font-family: "Arial";
}

.not-found-or-denied .error-number{
    padding-top: 35vh;
    font-size: 150px;
    color: red;
}

.not-found-or-denied .error-message{
    font-size: 40px;
    color:red;
}

.not-found-or-denied .error-text{
    color: #B8AB97;
}

.not-found-or-denied .error-wrapper{
    margin-bottom: 50px;
}

.not-found-or-denied .error-text{
    line-height: 35px;
}

.not-found-or-denied .error-footer{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-right: auto;
    margin-left: auto;
}

.not-found-or-denied .error-redirect a{
    color:red;
}


.not-found-or-denied .error-footer .error-footer-wrapper{
    width:160px;
    margin: auto;
}

.not-found-or-denied .error-footer .error-footer-wrapper .text{
    float: left;
    font-size: 15px;
    width:92px;
}

.not-found-or-denied .error-footer .javali-icon{
    height: 40px;
    width: 66px;
    background-image: url("/sites/default/files/sprt.png");
    background-position-y: -1041px;
    float:right;
}

.not-found-or-denied .error-footer .javali-icon a{
    height: 20px;
    width: 66px;
    margin-top: 10px;
    display: block;
}

.page-quem-somos .sobre-nos-section .title h2{
    font-size: 22px;
}

.page-servicos .listagem-servicos-title h2{
    font-size: 22px;
}

.page-portfolio #portfolio .title h2{
    font-size: 22px;
}

.page-contactos .title-section{
    font-size: 22px;
}
