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

/***** TWEAKS *****/

.force_cover img{object-fit:cover;}

/* Remove bullets */
.privacy-policy .et-l--body ul {list-style-type: none;}
.et-l--body ul {padding: 0 0 5px 1em;}
ol[type="a"]{list-style-type: lower-alpha;}




/***** FONTS *****/

/***** Typography *****/
@font-face {
  font-family: 'WixMadeforText';
  font-style: normal;	
  src: url("/wp-content/themes/Tema-Cabo/fonts/WixMadeforText-VariableFont_wght.woff2") format("woff2 supports variations"),
       url("/wp-content/themes/Tema-Cabo/fonts/WixMadeforText-VariableFont_wght.woff2") format("woff2-variations");
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: 'WixMadeforText-Italic';
  font-style: italic;	
  src: url("/wp-content/themes/Tema-Cabo/fonts/WixMadeforText-Italic-VariableFont_wght.woff2") format("woff2 supports variations"),
       url("/wp-content/themes/Tema-Cabo/fonts/WixMadeforText-Italic-VariableFont_wght.woff2") format("woff2-variations");
  font-weight: 100 800;
  font-display: swap;
}

html,body{font-family: 'WixMadeforText',Helvetica,Arial,Lucida,sans-serif;font-weight:400;}
em,i{font-family: 'WixMadeforText-Italic',Helvetica,Arial,Lucida,sans-serif;}

@media (max-width: 1440px){.h2_smaller h2 {font-size: 58px !important;}}
@media (max-width: 767px){.h2_smaller h2 {font-size: 36px !important; line-height: 1.2em !important;}}



/***** MENUS *****/

/*** Main Menu ***/

/* On mobile*/
@media (max-width: 980px) {
	.menu_header_row .et_pb_column {width: 50% !important; margin-bottom: 0 !important;}
}

/*** Footer ***/
.vertical_menu nav ul li {
	width: 100%;
	display: block;
}

/*** Menus on smaller screens ***/
@media (max-width: 980px) {
	
	/* Show desktop menu */
	.vertical_menu .et_pb_menu__menu {display: flex!important;}
	.vertical_menu .et_mobile_nav_menu {display: none!important;}
	
	/* Align menu on footer */
	footer .et_pb_menu--style-left_aligned .et_pb_menu__wrap {justify-content: flex-start;}
	
	/* Full width texts */
	.et_pb_module.txt_full_width.et_pb_text_align_left {width: 100%;}
}


/***** BANNERS *****/
@media (max-width:1024px) {
	.top_banner.et_pb_row_0 {max-height: 40vh;}
}


/***** ABOUT *****/

/* Special section - reorder columns on tablet and mobile */
@media (max-width:980px) {
    .et_section_specialty>.et_pb_row {
        display: flex;
        flex-direction: column-reverse;
    }
}


/***** HOUSES *****/

/*** Photo Galleries ***/

.et_pb_gallery_fullwidth .et_pb_gallery_image a img {
	width: 100%;
	object-fit: cover;
	height:80vh;
	max-height:800px;
}

@media (max-width:1920px) {
	.et_pb_gallery_fullwidth .et_pb_gallery_image a img {
   		max-height: 700px;
	}
}	
	
@media (max-width:1300px) {
	.et_pb_gallery_fullwidth .et_pb_gallery_image a img {
   		max-height: 500px;
	}	
}	

@media (max-width:768px) {
	.et_pb_gallery_fullwidth .et_pb_gallery_image a img {
   		height: 400px;
	}
}

@media all and (max-width: 479px) {
	.et_pb_gallery_fullwidth .et_pb_gallery_image a img {
   		height: 250px;
	}
}

/** Arrow Navigation **/

.et_pb_gallery .et-pb-arrow-next, .et_pb_gallery .et-pb-arrow-prev {
	background-color: #fff;
	border-radius: 50px;
    width: 50px;
    height: 50px;
}
/* Arrows always visible */
.et_pb_gallery.nav_arrows .et-pb-arrow-prev {left: 22px !important; opacity: 1 !important;}
.et_pb_gallery.nav_arrows .et-pb-arrow-next {right: 22px !important; opacity: 1 !important;}

.et_pb_gallery.nav_arrows .et-pb-arrow-prev:hover,
.et_pb_gallery.nav_arrows .et-pb-arrow-next:hover {opacity: .9 !important;}

/* Arrows - smaller on mobile */
@media (max-width:768px) {
	.et_pb_gallery .et-pb-arrow-next, .et_pb_gallery .et-pb-arrow-prev {
		width: 40px;
		height: 40px;
		font-size: 38px;
	}
	.et_pb_gallery.nav_arrows .et-pb-arrow-prev {left: 12px !important;}
	.et_pb_gallery.nav_arrows .et-pb-arrow-next {right: 12px !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: #333 !important; 
	border: 1px solid #ccc !important;
	background-color: #f7f7f7 !important;
	border-radius: 3px !important;
}

.forminator-error-message {
	font-size: 12px;
	font-family: inherit;
	font-weight: 500;
	text-align: left;
	background-color: #F9E4E8;
	color: #E04562;
}

/*** 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 #ccc !important;
	border-radius: 5px !important;
	color: #000 !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	padding: 12px !important;
}

/*** Labels ***/
.forminator-ui.forminator-design--flat .forminator-label {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #000 !important;
	text-align: left !important;
	margin-bottom: 5px !important;
}

/*** Send button ***/
.forminator-ui.forminator-design--flat button.forminator-button.forminator-button-submit {
	color: #fff !important;
	font-size: 16px !important;
    font-weight: 400 !important;
    background-color: #000 !important;
    padding: 12px 30px !important;
	border-radius: 50px !important;
}

.forminator-ui.forminator-design--flat button.forminator-button.forminator-button-submit:hover {
	background-color: #2969FF !important;
	box-shadow: none !important; /* remove shadow */
}
