/*-------------------------------------------------------
Theme Name: Tema Lintel
Author: Cloudbyte
Author URI: https://cloudbyte.pt/
Template: Divi
Version: 1.0.0
----------------- ADDITIONAL CSS HERE ------------------*/



/*** TWEAKS - general ***/
img[src$=".svg"] {min-height:50px !important; height: auto;}


/** BUTTONS **/
.et_pb_button {
	padding: 10px 30px !important;
}

.btn_inline_block .et_pb_button_0_wrapper {z-index: 999 !important;}

/*ANCHOR*/
.anchor{
    display: block;
    position: relative;
    top: -90px;
    visibility: hidden;
}

/** BUTTONS MOBILE **/
@media (min-width: 320px) and (max-width: 480px) {
  
.et_pb_button {
	padding: 10px 10px !important;
}
}

body #page-container .et_pb_section .et_pb_button_1:hover:after {
    margin-left: .5em !important;
}


/***************************************/
/* MENU */
/***************************************/

#main-header{
	width: calc(100% - 120px) !important;
	margin: 0 60px !important;
}

#page-container{
	padding-top: 0px !important;
}

#top-menu ul{
	padding-right: 60px !important;
}
#top-menu li{
	padding-right: 60px !important;
}
#top-menu li:last-child{
	padding-right: 0px !important;
}

#et-top-navigation{
	padding-right: 20px !important;
}

.menu-menu-principal-container li{
	list-style-type: none;
}

li.lang-item:before{
	content: "\e0e3";
    font-family: etmodules;
    color: #666;
    font-weight: 300;
    font-size: 12px;
    padding-left: 1px;
    position: absolute;
    left: -20px;
    display: inline-block;
}

.et_color_scheme_orange #top-menu li.current-menu-item>a:after {
    content: '';
    width: 100%;
    position: absolute;
    left: 0;
    top: 18px;
    border-width: 0 0 1px;
    border-style: solid;
	border-color: #cca553;
}

.et_color_scheme_orange #top-menu ul.sub-menu li.current-menu-item>a:after {
    content: '';
    width: 100%;
    position: absolute;
    left: 0;
    top: 26px;
    border-width: 0 0 0px;
    border-style: solid;
	border-color: #cca553;
}

#top-menu-nav>ul>li>a:hover{
    opacity: 1;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
	color:#cca553;
}

@media (max-width: 1024px){
#et_mobile_nav_menu {
    display: block;
}
	#top-menu {
    display: none;
}
}


/**  MENU MOBILE **/

@media (min-width: 320px) and (max-width: 480px) {
#main-header{
	width: 100vw !important;
	margin: 0!important;
}
	.et_header_style_left #logo{
		max-width:40% !important;
	}
}


/***************************************/
/* ANIMATION HOME ARROW */
/***************************************/

.arrow-move {
  animation: MoveUpDown 5s linear infinite;
  position: relative;
}

@keyframes MoveUpDown {
  0%, 100% {
    top: -5px;
  }
  50% {
    top: 15px;
  }
}

.img-full-cover img{
	object-fit:cover;
	object-position: center center;
}

@media (min-width: 1024px) {
	
.galeria-projectos-altura img{
	height:300px;
}
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  
 .galeria-projectos-altura img{
	height:300px !important;
}  
}


/* ---------- FORMINATOR FORMS ---------- */

/*** General settings ***/
form .hide_label div.forminator-field label.forminator-label {display: none !important;} /* hide label */

.forminator-ui.forminator-design--flat .forminator-consent .forminator-checkbox-box {
	color: #403F3D !important; 
	border: 1px solid #c4c4c4 !important; 
	background-color: #f7f7f7 !important;
}

.forminator-error-message {
	font-size: 12px;
	font-family: inherit;
	font-weight: 500;
	background-color: #F9E4E8;
	color: #E04562;
}
.forminator-response-message.forminator-success {background-color: #BCEEE6;}

/*** Labels ***/
.forminator-ui.forminator-design--flat .forminator-label {
	font-weight: 600 !important; 
	margin-bottom: 10px !important;
}

/*** Inputs and textareas settings ***/
.forminator-ui.forminator-design--flat .forminator-input, .forminator-ui.forminator-design--flat .forminator-textarea {
	background-color: #f7f7f7 !important;
	border: 1px solid #c4c4c4 !important;
	color: #333 !important;
	font-size: 14px !important;
	padding: 13px !important;
}

.forminator-ui.forminator-design--flat .forminator-input:not([type=button]):focus, .forminator-ui.forminator-design--flat .forminator-textarea:focus {
	background: #fff !important;
    border-color: #919191 !important;
    transition: all .5s;
}

/*** Change placeholders color ***/
.forminator-ui.forminator-design--flat .forminator-input::placeholder, .forminator-ui.forminator-design--flat .forminator-textarea::placeholder {color: #787878 !important;}

/*** Buttons ***/

/* Send button */
.forminator-ui.forminator-design--flat button.forminator-button.forminator-button-submit {
	background-color: #cca553 !important;
    border: 1px solid #cca553 !important;
    color: #fff !important;
    font-size: 14px !important;
    padding: 14px 30px;
    text-transform: uppercase;
}

.forminator-ui.forminator-design--flat button.forminator-button.forminator-button-submit:hover {
	background-color: #fff !important;
	border: 1px solid #cca553 !important;
	color: #cca553 !important;
	box-shadow: none !important; /* remove shadow */
}

/* Upload file button */
.forminator-ui.forminator-design--flat .forminator-file-upload .forminator-button-upload {
	background-color: #f7f7f7 !important;
    color: #777777 !important;
    font-size: 14px !important;
    text-transform: uppercase;
    padding: 14px 25px !important;
	border: 1px solid #c4c4c4 !important;
	box-shadow: none !important; /* remove shadow */
}

.forminator-ui.forminator-design--flat .forminator-file-upload .forminator-button-upload:hover {
	background-color: #333 !important;
	border: 1px solid #333 !important;
	color: #fff !important;
}


/***************************************/
/* PROJECT GALLERY */
/***************************************/

.justified-gallery {
  width: 100%;
  position: relative;
  display: flex;
  flex-wrap: wrap;
	overflow: unset;
height: auto !important;
}
.justified-gallery figure{width: 25% !important;/*max-width: 160px;*/position:relative !important;cursor:pointer;left:0 !important; top:0 !important;}
.justified-gallery figure:after {
  content: '';
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 99999;
  position: absolute;
  top: 0;
  left: 0;
  transition:opacity 300ms ease-in-out;
  pointer-events:none;
  opacity:0;
}
.justified-gallery figure:hover:after{opacity:.5}

/*.justified-gallery figure figcaption{position:static !important;height:auto !important;font-size:12px !important;width:25%;max-width:160px;}*/
.justified-gallery figure figcaption{display:none;}
.justified-gallery figure p{text-align:center !important;padding-bottom:10px !important;pointer-events:none!important}
.justified-gallery figure img{margin:0 !important;object-fit:cover;width: 100% !important;border-right: 1px white solid !important;}
.justified-gallery > figure > img {top:0;left:0;}


/***************************************/
/* FOOTER */
/***************************************/

#footer-info {
    font-size: 12px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

@media (min-width: 981px){

.footer-widget:not(:last-child), .footer-widget:last-child {
    display: flex;
}
.footer-widget:not(:last-child){	
    align-items: center;
    justify-content: center;
	margin-bottom: 80px !important;
}
.footer-widget:last-child {
    align-items: flex-end;
    justify-content: flex-end;
}
.footer-widget:first-child {
    align-items: flex-start;
    justify-content: flex-start;
}

.footer-widget:nth-child(2), .footer-widget:nth-child(3) {
    width: 25% !important;
	margin-right:0px;	
	}
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  
 .hide_tablet_mobile{display:none;}
}

@media (max-width: 980px){
	
	.hide_tablet_mobile{
		display:none;
	}
	
	.et_pb_widget {
    float: none !important;  
	text-align: center;		
}
	
	#footer-info {
		font-size: 12px;
		max-width: 90vw;
		margin: 0 auto;
		flex-direction:column;	
		}
	
    .footer-widget:nth-child(n) {
    margin: 0!important;
}
	 .footer-widget:not(:last-child), .footer-widget:not(:first-child), #footer-widgets .footer-widget:nth-last-child(-n+2) {
   
    margin-bottom: 40px !important;
}
}

#footer-widgets .footer-widget li a:hover, #footer-widgets .footer-widget li.current_page_item  a{
	 -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
	color:#cca553 !important;
}

html #footer-widgets .footer-widget .et_pb_widget:not(.woocommerce) ul li.lang-item{visibility:hidden;}


#footer-widgets .footer-widget li:before {
display: none; 
} 

html #footer-widgets .footer-widget .et_pb_widget:not(.woocommerce) ul li {
line-height: 26px; 
padding-left: 0px; 
}



/** Página Contactos **/

.icon_telefone:before, .icon_email:before, .icon_morada:before {
    font-family: "ETmodules"!important;
    position: relative;
    top: 1px;
    margin-right: 10px;
    content: "\e00b";
}
.icon_email:before{
content: "\e010";
}
.icon_morada:before{
content: "\e081";
}

/** DIVI CUSTOM STACKING COLUMNS ORDER **/

@media (min-width: 320px) and (max-width: 480px) {
  

.custom_row {
  display: -webkit-box !important;
  display: -moz-box !important;
  display: -ms-flexbox !important;
  display: -webkit-flex !important;
  display: flex !important;
-webkit-flex-wrap: wrap !important; /* Safari 6.1+ */
flex-wrap: wrap !important;
}
 

.first-on-mobile {
-webkit-order: 1;
order: 1;
}
 
.second-on-mobile {
-webkit-order: 2;
order: 2;
margin-bottom: 0px !important
}
 
.third-on-mobile {
-webkit-order: 3;
order: 3;
}
 
.fourth-on-mobile {
-webkit-order: 4;
order: 4;
}
/*** add margin to last column ***/ 
.custom_row:last-child .et_pb_column:last-child {
margin-bottom: 30px;
}

}

#contactos_footer a[href^=tel]:before, #contactos_footer a[href^="mailto:"]:before{ 
    font-family: "ETmodules" !important;
    position: relative;
    top: 4px;
    margin-right: 10px;
    content: "\e00b";
	color: #cca553;
	font-size:16px;
}

#contactos_footer a[href^=tel], #contactos_footer a[href^="mailto:"]{
	color:#333;
}
#contactos_footer a[href^="mailto:"]:before{ 
    content: "\e010";
}


/** WHATSAPP BUTTON **/

.btn_icon_whatsapp{}

.btn_icon_whatsapp:before { 
    display:inline-block;
    position: relative;
    top: 3px;
    margin-right: 5px;
    content: " ";
	 width: 15px;
    height: 15px;
    background:  url(/wp-content/uploads/2020/01/whatsapp-1.svg) no-repeat;
    background-size: auto 15px;
    background-position: center;
	-webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

a.btn_icon_whatsapp { 
  background-color: #cca553;
	border: 1px solid #cca553;
    padding: 5px 10px !important;
    border-radius: 80px;
    color: white !important;
	-webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
	font-size:14px;
	font-weight:500;
	display: inline-block;
	width:fit-content;
	margin-bottom:10px;
}

a.btn_icon_whatsapp:hover  { 
  background-color: white;
	border: 1px solid #cca553;
    border-radius: 80px;
    color: #cca553 !important;	
}
a.btn_icon_whatsapp:hover:before{
	 background:  url(/wp-content/uploads/2020/01/whatsapp_hover_00.svg) no-repeat;
	background-size: auto 15px;
    background-position: center;
}

/** COOKIE POPUP **/

#cookie-law-info-bar {
	width: 320px !important;
	box-shadow: rgba(0,0,0,.2) 0px 5px 10px;
}

#cookie-law-info-bar span {
    font-size: 12px;
    line-height: 10px;
	font-weight: 400;
	color:#333;
}

.cli_settings_button {
   text-decoration:underline !important;
    margin: 10px 10px 5px 0px !important;
	font-size: 10px;
}
.cli_settings_button:hover {
   text-decoration:none !important;
}
.cli-plugin-button:hover{
	background-color:white !important;
}
.cli-plugin-main-link, .cli-plugin-button {  
    font-size: 10px !important;
}
#cookie_action_close_header{
  width: 235px;
	border: 1px solid #a8b700;
}
#cookie_action_close_header:hover{
	background-color: white;
    border: 1px solid #a8b700;
    color: #a8b700!important;
}

/* ----- SINGLE PROJECT PAGE ----- */

/* Tweaks */
.img-cover-bottom img {
	object-fit:cover;
	object-position: center bottom;
}

/* Remove negative margins from blog featured image */
.et_pb_image_container {
	margin: 0px;
}

/* Switch language on 'BEFORE' titles */
html[lang="en-GB"] .id-project-client:before {
	content:"Client:";
	font-weight: 700;
}

html[lang="pt-AO"] .id-project-client:before {
	content:"Cliente:";
	font-weight: 700;
}

html[lang="en-GB"] .id-project-location:before {
	content:"Location:";
	font-weight: 700;
}

html[lang="pt-AO"] .id-project-location:before {
	content:"Localização:";
	font-weight: 700;
}

html[lang="en-GB"] .id-project-date:before {
	content:"Start of Construction:";
	font-weight: 700;
}

html[lang="pt-AO"] .id-project-date:before {
	content:"Início de Obra:";
	font-weight: 700;
}

/* Switch language on CTA Contacts */
html[lang="en-GB"] .cta-contacts-pt {display: none;}
html[lang="pt-AO"] .cta-contacts-en {display: none;}


/* ----- GENERAL PROJECTS PAGE ----- */

/* Switch language on BANNER TEXT*/
html[lang="en-GB"] body:not(.wp-admin) .banner-projects-pt {display: none;}
html[lang="pt-AO"] body:not(.wp-admin) .banner-projects-en {display: none;}


/* ----- BLOG - ARTICLES SETTINGS ----- */
.et_pb_post .entry-featured-image-url {margin-bottom: 10px;}


/* ----- VIDEO POSITION ----- */
.et_pb_section_video_bg .mejs-video {bottom: 0 !important;}

@media (max-width: 479px) {
	.et_pb_section_video_bg .mejs-video {bottom: 0 !important;} 
}

/* VIDEO PROJECTOS SINGLE */
@media (min-width: 1025px) {
.video-autoplay .et_pb_video_box {min-height:450px;max-height:60vh;}
.video-autoplay .et_pb_video_box video{margin-top:-200px;}
.video-autoplay .et_pb_video_overlay{display:none;}
	
}
@media (max-width: 479px) {
.video-autoplay .et_pb_video_box video{margin-top:80px;}	
.video-autoplay .et_pb_video_overlay{display:none;}		
}
@media (max-width: 320px) {
@media not all and (min-resolution:.001dpcm) { 
     @supports (-webkit-appearance:none) {
		 .video-autoplay .et_pb_video_overlay{display:block}
     }
	}
}	

/* ----- ALL PAGES - TITLES NEW POSITION ----- */

/* Tweaks */

@media (max-width: 767px) {
	body:not(.home) .et_pb_section_0 {
		height: 60vh !important;
		min-height: 0 !important;
	}
}

@media (max-width: 320px) {
	.et_pb_section_0 {
		height: 40vh !important;
	}
}

/* ----------------- Force Magnific Popup Arrow Style ----------------- */
.mfp-arrow-left:before, .mfp-arrow-right:before {display:none !important;} 
.mfp-arrow-left .mfp-a, .mfp-arrow-left:after, .mfp-arrow-right .mfp-a, .mfp-arrow-right:after {
	content: "4" !important;
	color: #fff!important;
	opacity:1 !important;
    font-family: ETmodules;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
	width: 48px!important;
	font-size: 64px;
    height: 48px!important;
    line-height: 1;
	margin: 0!important;
    top: 0!important;
    border: none!important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.mfp-arrow-right .mfp-a, .mfp-arrow-right:after {
	content: "5" !important;
}
.mfp-bg{background-color: rgba(34,34,34,0.8)!important;}

 .mfp-image-holder .mfp-close {
    width: 44px;
    height: 44px;
    line-height: 44px;
    position: absolute;
    right: 0;
    top: 0;
    text-decoration: none;
    text-align: center;
	font-style: normal;
    font-size: 28px;
    font-family: Arial,Baskerville,monospace;
	overflow: visible;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    display: block;
    outline: none;
    padding: 0;
    z-index: 1046;
    box-shadow: none;
	color: #FFFFFF!important;
	opacity:1!important;
}

/** WhatsApp btn **/

a.footer_whatsapp_btn {
    position: fixed;
    bottom: 40px;
    right: 0;
    background: #cca453;
    padding: 10px 10px 10px 15px;
    z-index: 9999;
    border-radius: 5px 0px 0 5px;
	transition: background 600ms ease;
	box-shadow: 2px 1px 4px rgb(0 0 0 / 40%);
}
a.footer_whatsapp_btn:hover{
	background:#25D366;
}

