/*
Theme Name: HNRE Theme
Description: HNRE Theme
Author: Sergio Rodrigues / HNRE
*/

html, body {
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: auto;
    height: 100%;
    margin: 0;

}

.home {
    background:#000;
    height: 100%;
    margin: 0;
    /* overflow: hidden; */
    padding:0;
    margin:0;
    }
    
.container {
            display: flex;
            height: 100%;
            justify-content: center;
            align-items: center;
            }
            
.half {
    flex: 1;
    height: 100%;
    overflow: hidden;
    text-align:center;
    }

.half.second img {
        padding-top:60px;
        }
            
 .half img {
     max-width: 300px;
     margin-top:50%;
    }


.main-menu {
    float:left;
    width: 100%;
}

.main-menu .pull-right {
    margin-top: 40px !important;
}


.main-menu p {
    color:#FFF;
    font-size:16px;
}

.language-menu {
    float:right;
}


nav#main .language-menu li {
    display:inline-block;
    margin-top: 28px !important;
    margin-left:10px !important;
}

nav#main .language-menu li a {
    font-size: 12px !important;
    color:#000;
}




nav#main .language-menu .current-lang a {
    color:#BDBDBD;
}


ol,ul {
    box-sizing: border-box;
    margin: 0;
    padding: 0 0;
}
#post {
    padding-top:50px;
}
    
h1 {
    line-height: 40px;
    text-align: center;
    color: #db0b14;
    margin-bottom: 47px;
    text-transform: uppercase;
    font-size: 25px;
}

.bg-0 {
    background: linear-gradient(135deg, #b8001a 0%, #e6001f 50%, #ff1a1a 100%);
}

.bg-0 h1 {
    /* padding-top: 40px; */
}

.bg-0 h2 {
   color: #37bacb;
   border-bottom: 1px solid ##37bacb;
   font-weight: 300;
   display: inline-block;
   /* margin: auto; */
   /* text-align: center; */
}

h4 {
    font-weight: 400 !important;
    font-size: 34px;
    text-align: left;
    color: #ffffff;
    }



    #homenext img {
        max-width: 209px;
        margin: auto;

        }

.impic img {
    max-width:140px;
    }
h2 {
    font-size: 30px;
    line-height: 31px;
    text-align: left;
    color: #000000;
    margin-bottom: 30px;
}

h3 {
    /* font-weight:300 !important; */
    font-size: 32px;
    line-height:40px;
}

p.lead {
    font-weight:200 !important;
    font-size:23px;
    line-height:30px;
    margin-bottom: 30px;
}

p {
    /* font-weight:200 !important; */
    font-size: 16px;
    line-height: 26px;
    text-align: left;
    margin: 17px 0;
}

img {
    width:100%;
}
    
li {
    list-style:none;
}

img, li ,a, div {
    transition: all 0.5s;
    -moz-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
}

a:hover {
    text-decoration:none;
}

a.anchor {
    margin-top: -50px;
    position: absolute;
}

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

.container-fluid  {
    padding-left:5%;
    padding-right:5%;
    max-width: 1200px;
}

.col-centered {
    float: none;
    margin: 0 auto;
}

.bar {
    width:50px;
    height:2px;
    background: #ffffff;
    margin: 2px auto 40px auto;
}


.blink {
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.bg-1 {
    background: #e8e8e8;
    }

.bg-2 {
    background: #ffffff;
}
.bg-2 p.lead {
    color: #dcdcdc;
}
.bg-2 p {
    color: #dcdcdc;
}

.bg-3 {
    background: #f6f6f6;
    padding-top: 100px;
    padding-bottom: 100px;
}
.bg-4 {
    background: #ffffff;
    padding-top: 60px;
    padding-bottom: 60px;
}
.bg-4 h2, .bg-3 h2 {
    color: #db0c14;
    font-size: 22px;
    font-weight:500;
    line-height:31px;
}

.bg-5 {
    background:#FFF;
    }
.bg-5 h2 {
    color: #8853ff;
    }
.bold {
    font-weight:500;
}

.bio-pic {
    border-radius:500px;
    max-width:300px;
}

#work .content {
    min-height: 330px;
}
#work .content .image {
    width:100%;
    height:200px;
    background-size:cover;
    background-position:center center;
}

#work {
    padding-top:70px;
}

#work .content .content h2 {
    text-align:left;
    font-size:18px;
    line-height:21px;
}

#work .content .date {
    color:#ffffffb0;
    
}


#prefooter {
    padding: 50px;
    }
#prefooter .frame {
    background-color:#FFF;
    border-radius:5px;
    /* padding: 0px 7px; */
    /* margin: 10px 0px; */
}
#prefooter .logo {
    width:100%;
    height: 150px;
    background-size:contain;
    background-repeat:no-repeat;
    background-position:center;
}


nav#main {
    display:block;
    position: fixed;
    width: 100%;
    z-index: 50;
    top: 0;
}

#homenext li {
    line-height: 18px;
    font-size:15px;
    padding: 0px;
    margin-bottom: 5px;
    color:#000;
    text-align:left;
    margin-left:0;
}

#homenext ul {
    margin:30px 0px;
    
}

#homenext ul li {
    margin:0px 0px;
    float:left;
    clear:both;
    padding:10px 0;
    border-bottom:1px solid #bebebe;
    
}



#equipa img {
    max-width: 250px;
    width: 250px;
    border-radius: 250px;
    border: 0px solid #FFF;
}

#equipa .text {
    text-align:center;
}

#equipa .text h2 {
    text-align:center;
}

#equipa .text li {
    text-align:left;
    padding-left:15%;
    padding-right:15%;
}



#main.xcroll {
    background: linear-gradient(
        135deg,
        rgba(184, 0, 26, 0.95) 0%,
        rgba(230, 0, 31, 0.95) 50%,
        rgba(255, 26, 26, 0.95) 100%
    );
    
}

#main.xcroll a {
    color:#FFF;
}



#main.xcroll li.logo img {
   width:150px;
}
#main.xcroll li {
   /* margin-top:40px; */
}
#main.xcroll li.logo {
   margin-top:20px;
}



#main li.logo {
    margin: 25px auto 20px 15px;
}

#main li {
    margin: 25px 0 0 20px;
    font-size: 17px;
}
#main li a {
    color: #ffffff;
    font-weight: 400;
    text-transform:uppercase;
    border-bottom:2px solid transparent;
    display: block;
}

#main li img {
    max-width: 120px;
}
#main li.menu-item {
    float:left
}




#homenext {
    color:#FFF;
    padding-top: 180px;
    margin-top: -35px;
    background-color: #FFF;
    padding-bottom: 70px;
}
#servicos {
    /* color:#FFF; */
    padding-top: 100px;
    padding-bottom: 100px;
}
#servicos li {
    font-size:15px;
    line-height:26px;
}

.box {
    /* max-width: 600px; */
    background: #063b4347;
    padding: 20px 0 50px 0;
    border-radius: 35px;
    border: 5px solid #fff;
    box-shadow: 0 0 50px rgba(0,0,0,0.4);
}

.single .box{
    max-width: 500px;
    margin: 40px auto !important;
}


#homenext a {
    color:#FFF;
}


#homenext .content {
    padding-top: 30px;
    padding-bottom: 30px;
}

#homenext .block img.seta {
    max-width:40px;
    margin-top: 60px;
    margin-bottom:20px;
}


/* ===== Homenext full-height fix (minimal) ===== */

#homenext {
    min-height: 50vh;
    display: flex;
    overflow: hidden;
}

#homenext h1 {
    color:#FFF;
    text-align:left;
    font-size:50px;
}

#homenext .container-fluid,
#homenext .row.content,
#homenext .text {
    flex: 1;
    display: flex;
}

#homenext .block-wrapper {
    flex: 1;
}


#contactos a {
    font-size:90px;
    color:#c7c7c7;
}
#contactos a:hover {
    text-decoration:none;
}

#imoveis img {
    height:300px;
    width:Auto;
}
#imoveis h2 {
    display: inline-block;
    color: #FFF;
    background: linear-gradient(
        135deg,
        rgba(184, 0, 26, 0.95) 0%,
        rgba(230, 0, 31, 0.95) 50%,
        rgba(255, 26, 26, 0.95) 100%
    );
    padding: 6px 12px; /* opcional, para respirar */
}
#imoveis p.price {
    color:#000;
    margin-top:-20px;
    font-weight:bold;
}

#imoveis p.info {
    color:#000;
    margin-top:-20px;
}

#imoveis .item {
    overflow:hidden;
}
/* animation of homepage */

.block-wrapper {
    position: relative;
    height: 250px; /* adjust based on content */
    margin-top: -50px;
}

.block {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px); /* initial slide down */
    animation: slideFade 8s infinite;
    transition: opacity 1s ease, transform 1s ease;
    height: 550px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: -50px;
}

/* First block starts at 0s */
.block1 {
    animation-delay: 0s;
}

/* Second block starts at 4s */
.block2 {
    animation-delay: 4s;
}

@keyframes slideFade {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    45% {
        opacity: 1;
        transform: translateY(0);
    }
    50% {
        opacity: 0;
        transform: translateY(20px);
    }
    95% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}




#feedback {
    padding: 80px 20px;
    color:#FFF;
}
#feedback h1 {
    line-height:25px;
}

#feedback h1 {
    text-align: left;
    margin-bottom: 8px;
    color: #fff;
    font-size: 19px;
    font-weight: 400;
    text-transform: uppercase;
}


#feedback .feedback {
    text-align: left;
}


#feedback .feedback img {
    width: 100px;
    height: 100px;
    border-radius: 100px;
    border: 3px solid #FFF;
}
#feedback .feedback p.lead {
    margin-bottom: 0;
    margin-top: 12px;
}

#feedback .feedback blockquote {
    padding: 0;
    border: none;
    font-size: 14px;
    text-align: left;
}


#servicos .item img {
    margin-left: -11px;
    height: 100px;
    width: auto;
}


#parceiros {
    padding:80px;
}

#parceiros h1 {
    text-align:center;
    margin-bottom: 8px;
    color: #fff;
    font-size: 19px;
    font-weight: 400;
    text-transform: uppercase;
}

#parceiros p {
    color:#ffffff91;
    text-align:center;
    margin-top:5px;
    text-transform:uppercase;
    font-size:12px;
}

#parceiros img {
    border-radius:5px;
}
#parceiros a:hover {
    opacity:0.9;
}


#footer {
    padding:30px;
}

#footer .content {
    text-align:center;
    color:#FFF;
}

#footer li {
    color: #ffffff;
    margin: 10px 0px 0px 0px;
    font-size: 10px;
    text-align: left;
}
#footer a {
    line-height: 26px;
    color: #ffffff94;
    font-size: 14px;
}
#footer .small {
    margin-top:10px;
}




/* smaller than 600px; */

@media screen and (max-width: 600px) {
    
    .container {
        display:block;
        }
    
    .half {
    flex: 1;
    height: 300px;
    overflow: hidden;
    text-align:center;
    }

    #main li {
        font-size:13px;
    }
    
    
    .half .second img {
        padding-top:10px;
        }
        
            
 .half img {
     max-width: 300px;
     margin-top: 25%;
    }
    

    ul {
        margin:0;
        padding: 0;
    }
 
#main li.logo {
    margin: 10px auto 20px auto;
    width: 80%;
    text-align:center;
    float: none;
}

#main .pull-right {
    float:none;
   }

#homenext {
    min-height: 80vh;
}

    
#main.xcroll li.logo
{
    margin-bottom:7px;
}
#main li.pull-right {
    margin: -1px 0px 0;
    width: 100%;
    text-align:center;
    float: none;
    padding-top: 0px;
    font-size: 13px !important;
    margin-top: 5px !important;
    border-top: 1px solid #ffffff42;
}



#homenext .content {
    padding-bottom: 8px;
    padding-top: 90px;
}


    #homenext .block-wrapper
    {
        height:200px;
    }

     #homenext .block
    {
        height:450px;
    }


#homenext .content h1,#homenext .content h4 {
    text-shadow: 3px 3px 5px #00000073;
}

#homenext  .text {
    padding-right: 10px;
    padding-top: 0px;
}

#homenext .text li {
    line-height: 15px;
    font-size: 13px;
    padding-left: 0;
    position: relative;
    text-align: center;
    margin-bottom: 28px;
    padding-top: 50px;
    background-size: 40px;
    background-repeat:no-repeat;
    background-position-x: 50%;
}



#footer p {
    line-height:20px;
}

