/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

/***********************************/
/************** Geral **************/
/***********************************/
body:not(.et-tb) #main-content .container, body:not(.et-tb-has-header) #main-content .container {
    padding-bottom: 58px;
}

header .et_builder_inner_content {
    z-index: 12 !important;
}

.single-post p.post-meta a, .widget_categories ul li a, p.termos a {
	transition: all 300ms ease 0s;
}

.single-post p.post-meta a:hover, .widget_categories ul li a:hover, p.termos a:hover {
	opacity: 0.6;
	transition: all 300ms ease 0s;
}

.mfp-gallery .mfp-title {
    display: none;
}

.mapa .et_pb_code_inner {
	height: 100% !important;
}

.et_pb_row {
	max-width: 2000px !important;
}

.large-sec .et_pb_row {
	width: calc(100% - 48px) !important;
}




@media(max-width: 981px) {
	.large-sec .et_pb_row {
		width: calc(100% - 32px) !important;
	}	
}

@media(max-width: 767px) {
	.large-sec .et_pb_row {
		width: calc(100% - 24px) !important;
	}	
}


/***********************************/
/************** Form **************/
/***********************************/


.form_contacto input.text, input.title, .form_contacto input[type=email], .form_contacto input[type=password], .form_contacto input[type=tel], .form_contacto input[type=text], .form_contacto select, .form_contacto textarea {
    background-color: #f5f5f5;
    border: none;
    color: #373737;
    padding: 10px 14px 7px !important;
    width: 100%;
    font-weight: 500;
    margin-top: 5px !important;
    font-size: 14px;
	transition: all 300ms ease 0s;
}

.form_contacto input[type=email]:focus, .form_contacto input[type=password]:focus, .form_contacto input[type=tel]:focus, .form_contacto input[type=text]:focus, .form_contacto select:focus, .form_contacto textarea:focus {
    background: white;
    box-shadow: inset 0px 0px 0px 1px #e6e6e6;
	transition: all 300ms ease 0s;
}

.form_contacto ::placeholder {
	font-weight: 500;
	opacity: 0.4;
	color: #373737;
}

.form_contacto label.gone {
    font-size: 12px;
    margin-left: 13px;
    color: #838383;
}

.form_contacto span.wpcf7-list-item {
	margin: 0px !important;
}

.form_contacto input.wpcf7-form-control.wpcf7-submit {
	background-color: transparent;
    border: 1px solid #2d3539;
    border-radius: 0px;
    padding: 8px 14px;
    font-size: 14px;
    color: #2d3539;
    font-weight: 500;
    margin-top: 10px;
    transition: all 300ms ease 0ms;
}

.form_contacto input.wpcf7-form-control.wpcf7-submit:hover {
    background-color: #2d3539;
	color: #fff !important;
	transition: all 300ms ease 0ms;
}

p.termos, p.termos a {
    height: auto;
    color: #222!important;
}

p.termos a {
	font-weight: 700;	
}

/***********************************/
/************** Header **************/
/***********************************/

.sec-header {
    padding: 24px 0px 0px 0px !important;
	background: transparent !important;
}

.sec-header .et_pb_row {
    padding: 0px 45px;
}

.sec-header .col-logo {
    max-width: 286px !important;
	width: 100% !important;
    margin-bottom: -35px;
	margin-right: 35px !important;
}

.sec-header .col-menu {
    max-width: calc(100% - 321px) !important;
	width: 100% !important;
	padding: 21px 0px;
}

.sec-header .col-menu {
    margin: auto;
}

.et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-item a, .et_pb_menu_0_tb_header.et_pb_menu .nav li ul.sub-menu li.current-menu-item a {
	font-weight: 800 !important;
}

.col-logo .et_pb_image {
	transition: all 300ms ease 0s !important;
}

.col-logo .et_pb_image:hover {
    transform: translatey(10px) !important;
    position: relative;
	transition: all 300ms ease 0s !important; 
}

.col-logo .et_pb_image:before {
    content: " ";
    background: white;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: -10px;
}

div#et-main-area {
    margin-top: -86px;
}

.sec-header-pags {
    padding-top: 120px !important;
}

.btn-book-now {
    background: #c4a33f;
    padding: 10px 12px !important;
    margin-top: 0px !important;
    margin-left: 17px !important;
}

.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li>a {
    padding-bottom: 0px !important;
}

@media(max-width: 1100px) {
	.sec-header .col-logo {
		max-width: 170px !important;
		margin-bottom: 0px !important;
	}
	.sec-header .col-menu {
		max-width: calc(100% - 205px) !important;
	}
	div#et-main-area {
		margin-top: -72px;
	}
	.sec-header-pags {
		padding-top: 106px !important;
	}
}

@media(max-width: 981px) {
	.sec-header .et_pb_row {
		padding: 0px 20px 0px 0px;
	}
	.sec-header .col-logo {
		margin-bottom: 0px;
	}
	.sec-header .col-menu {
		padding: 0px !important;
		position: absolute;
		max-width: calc(100% - 40px) !important;
		top: 18px;
		right: 20px;
	}
	.sec-header {
		padding-top: 16px !important;
	}
	.et_pb_menu .et_mobile_menu {
		top: 168%;
	}
	div#et-main-area {
		margin-top: -72px;
		display: inline-block;
	}
}


@media(max-width: 767px) {
	.sec-header {
		padding-top: 12px !important;
	}
}


/***********************************/
/************** Footer **************/
/***********************************/


footer .contacts .contacts_icon, footer .contacts .contacts_text {
    display: inline-grid;
}

footer .contacts .contacts_icon {
    margin-right: 14px !important;
	width: 12px;
}

footer .contacts .contacts_icon, footer .contacts .contacts_text {
    display: inline-grid;
    max-width: calc(100% - 30px);
}

.contacts_adress {
    margin-bottom: 25px;
}

footer .fwidget h4.title {
    margin-bottom: 15px;
    font-family: 'Lato';
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
}

footer .fwidget {
    margin-bottom: 0px !important;
}

footer .fwidget ul.menu li {
    margin-bottom: 8px;
}

footer .fwidget a {
	transition: all 300ms ease 0s;
}

footer .fwidget a:hover {
    opacity: 0.6;
    color: #2d3539;
    transition: all 300ms ease 0s;
}

.f-logo, .f-social, .f-icone {
    display: inline-block;
    vertical-align: middle !important;
    margin-bottom: 0px !important;
}

.f-logo {
    margin-right: 40px;
}

.f-contact .et_pb_column:last-child {
    margin: auto;
    text-align: right;
}

.f-icone:last-child {
    margin-left: 35px;
}

.f-social .et_pb_social_media_follow li {
	margin-bottom: 0px !important;
}

.f-icone .et_pb_main_blurb_image {
    vertical-align: bottom;
}

.f-widgets {
    padding-top: 50px !important;
}

.f-col-menu .et_pb_image {
	display: inline-block;
	vertical-align: middle;
	margin-bottom: 30px !important;
	margin-right: 30px;
}

@media(min-width: 981px) {
	.f-widgets .f-col-menu {
		width: 170px;
		margin-right: 50px;
	}
	.f-widgets .f-col-map {
		width: calc(calc(100% - 490px) / 2);
		margin-right: 50px;
	}

}

@media(max-width: 1182px) {
	.f-logo {
		max-width: 135px !important;
		margin-right: 20px;
	}
	.f-contact .et_pb_column:last-child {
		width: 450px;
	}
	.f-contact .et_pb_column:first-child {
		width: calc(100% - 450px);
		margin-right: 0px !important;
	}
}

@media(max-width: 981px) {
	.f-logo, .f-social, .f-icone {
		display: block;
		margin-bottom: 15px !important;
	}
	
	.f-contact .et_pb_column:first-child {
		margin-bottom: 0px;
		width: 180px;
	}
	.f-social {
		margin-bottom: 0px !important;
		margin-left: 7px !important;
	}
	.f-contact .et_pb_column:last-child {
		width: calc(100% - 180px);
		text-align: right !important;
	}
	.f-icone .et_pb_blurb_content {
		width: auto;
		margin-right: 0;
	}
}

@media(max-width: 767px) {
	.f-contact .et_pb_column {
		width: 100% !important;
		text-align: left;
	}
	.f-icone .et_pb_blurb_content {
		width: auto;
		margin-right: unset;
		margin-left: 0;
	}
	.f-icone:last-child {
		margin-left: 0px;
	}
	.f-logo {
		max-width: 175px !important;
		margin-right: 0px;
		margin-bottom: 25px !important;
	}
	.f-social {
		margin-bottom: 25px !important;
		margin-left: 0px !important;
	}
}

@media(max-width: 479px) {
	.f-widgets .et_pb_column:not(:first-child) {
		margin-bottom: 50px;
	}
}

/***********************************/
/************** Home **************/
/***********************************/

.banner-hp .et_pb_container {
    margin-left: 0 !important;
}

.banner-hp .et_pb_slide {
    padding-left: 45px;
}

.banner-hp .et_pb_slide_description {
    padding-left: 0px !important;
}

.banner-hp .et_pb_slides .et_pb_slider_container_inner {
    vertical-align: bottom;
}

.banner-hp .et-pb-controllers {
    text-align: left;
    padding-left: 45px;
}

.et-pb-controllers a {
    width: 15px;
    height: 5px;
}

a.et-pb-active-control {
    width: 24px;
}

.banner-hp .et_pb_slide_overlay_container:after {
    content: " ";
    display: block;
    position: absolute;
    background: linear-gradient(0deg, rgb(0 0 0 / 40%), transparent);
    width: 100%;
    height: 100%;
}

.row-intro .col-info {
    padding: 40px 0px;
	margin-right: 12% !important;
}

.row-intro .col-info:before {
    content: " ";
    background-image: url("/wp-content/uploads/2021/08/decorative-lines.svg");
    width: 80%;
    height: 80%;
    position: absolute;
    z-index: -1;
    top: 10%;
    right: -40%;
}

.sec-intro-hp {
	overflow: hidden;
}

.row-intro .col-info:before {
    content: " ";
    background-image: url(/wp-content/uploads/2021/08/decorative-lines.svg);
    width: 350px;
    background-size: contain;
    height: 350px;
    position: absolute;
    z-index: -1;
    top: 10%;
    right: -60vw;
}
/*
.sec-special-1 {
    background-image: linear-gradient(-90deg, #ffffff 50%, transparent 29%), linear-gradient(0deg, #003960 30%, transparent 29%) !important;
}

.sec-special-2 {
    background-image: linear-gradient(-90deg, #ffffff 50%, transparent 29%), linear-gradient(180deg, #003960 80%, transparent 0%) !important;
}*/


.sec-special, .et_pb_section.et_pb_section_3.sec-special.et_section_regular {
    background-image: linear-gradient(-90deg, #ffffff 50%, transparent 29%), linear-gradient(0deg, #ffffff 10%, transparent 0%), linear-gradient(0deg, #003960 80%, transparent 0%) !important;
    padding-bottom: 100px;
	overflow: hidden;
}

.row-special-1 .col-down, .row-special-2 .col-down {
    top: 50px;
}

.sec-special .col-img {
    height: 35vw;
    max-height: 470px;
}

.sec-special .et_pb_column:not(.col-img) {
    min-width: 280px;
}

.sec-special .et_pb_column.col-img:not(:last-child) {
    margin-right: 2vw;
}

.sec-special .row-special-1 .et_pb_column:not(.col-img) {
    margin-left: 5vw;
    z-index: 0;
}

.sec-special .row-special-2 .et_pb_column:not(.col-img) {
    margin-right: 7vw;
}

.row-special-1 .et_pb_column:last-child:before {
    content: " ";
    background-image: url(/wp-content/uploads/2021/08/decorative-lines.svg);
    width: 350px;
    background-size: contain;
    height: 350px;
    position: absolute;
    z-index: -1;
    top: 10%;
    left: -74vw;
}

.gallery-hp .et_pb_gallery_item {
    width: 23.875% !important;
    margin-right: 1.5% !important;
    clear: initial;
	margin-bottom: 1.5% !important;
}

.gallery-hp .et_pb_gallery_item:nth-child(1), .gallery-hp .et_pb_gallery_item:nth-child(2) {
    width: 49.25% !important;
    margin-right: 1.5% !important;
    margin-bottom: 1.5%;
}

.gallery-hp .et_pb_gallery_item img {
	height: min(12vw, 320px) !important;
    object-fit: cover !important;
}

.gallery-hp .et_pb_gallery_item:nth-child(1) img, .gallery-hp .et_pb_gallery_item:nth-child(2) img {
    height: min(24vw, 640px) !important;
}

.gallery-hp .et_pb_gallery_item:nth-child(2) {
    margin-right: 0% !important;
}

.gallery-hp .et_pb_gallery_item:nth-child(6) {
    margin-right: 0px !important;
}

.et_pb_team_member_image {
    max-width: 100%;
    margin: 0px 0px 20px !important;
}

.slider-testemunhos .et_pb_slide {
    padding: 0px;
}

.slider-testemunhos .et_pb_slide_description {
    display: flex;
    flex-direction: column;
	padding: 0px;
}

.slider-testemunhos h2.et_pb_slide_title {
    order: 2;
    margin-top: 25px !important;
    text-transform: none !important;
}

.slider-testemunhos .et_pb_container.clearfix {
    height: auto !important;
    padding-bottom: 50px;
}

.slider-testemunhos .et-pb-controllers {
    text-align: left;
    bottom: -10px;
}


@media(max-width: 980px) {
	.row-intro .col-img {
		height: 65vw;
		display: block;
	}
	.row-intro .col-info:before {
		width: 50vw;
		height: 50vw;
		top: unset;
		bottom: -50vw;
		right: 0;
		left: -15vw;
	}
	
	.sec-special .col-img {
		display: inline-block !important;
		margin: 0px !important;
		width: 50% !important;
		height: 55vw;
	}
	.sec-special, .et_pb_section.et_pb_section_3.sec-special.et_section_regular {
		background-image: linear-gradient(0deg, #ffffff 10%, transparent 0%), linear-gradient(0deg, #003960 70%, transparent 0%) !important;
	}
	.sec-special .row-special-1 .et_pb_column:not(.col-img) {
		margin-bottom: calc(60px + 10%);
		margin-left: 0px;
	}
	.sec-special .row-special-2 .et_pb_column:not(.col-img) {
		margin-bottom: calc(20px + 10%);
		margin-top: 140px;
		margin-right: 0px;
	}
	.row-special-1 .col-img.col-down, .row-special-2 .col-img {
		left: 10%;
		transform: scale(1.25);
	}
	.row-special-1 .col-img, .row-special-2 .col-img.col-down {
		left: -10%;
		transform: scale(1.25);
	}
	.row-special-1 .et_pb_column:last-child:before {
		width: 35vw;
		height: 35vw;
		top: calc(130px + 270%);
		left: -15vw;
	}
	.row-team .et_pb_column {
		display: inline-block;
		width: 30%;
	}
	.row-team .et_pb_column:not(:last-child) {
		margin-right: 5% !important;
	}
}

@media(max-width: 767px) {
	.banner-hp .et_pb_slide {
		padding-right: 20px !important;
		padding-left: 20px !important;
	}
	.banner-hp .et-pb-controllers {
		padding-left: 20px;
	}
	.row-special-1 .col-down, .row-special-2 .col-down {
		top: 30px;
	}
	.sec-special, .et_pb_section.et_pb_section_3.sec-special.et_section_regular {
		background-image: linear-gradient(0deg, #ffffff 10%, transparent 0%), linear-gradient(0deg, #003960 62%, transparent 0%) !important;
	}
	.sec-special .row-special-2 .et_pb_column:not(.col-img) {
		margin-top: 120px;
	}
	.row-special-1 .et_pb_column:last-child:before {
		display: none;
	}
	.row-special-2 .et_pb_column:first-child:before {
		content: " ";
		background-image: url(/wp-content/uploads/2021/08/decorative-lines.svg);
		width: 250px;
		background-size: contain;
		height: 250px;
		position: absolute;
		z-index: -1;
		top: calc(-340px + 7%);
		left: -15vw;
	}
	.row-special-2 {
		z-index: 1;
	}
	.gallery-hp .et_pb_gallery_item {
		width: 49.25% !important;
		margin-right: 1.5% !important;
		clear: initial !important;
 	}
	.gallery-hp .et_pb_gallery_item:nth-child(2n) {
		margin-right: 0px !important;
	}
	.row-team .et_pb_column {
		width: 100%;
		margin-right: 0% !important;
	}
	.gallery-hp .et_pb_gallery_item img {
		height: min(24vw, 640px) !important;
	}
}

@media(max-width: 480px) {
	.banner-hp .et_pb_slide_description {
		padding: 100px 0px 75px !important;
	}
	.gallery-hp .et_pb_gallery_item:nth-child(1), .gallery-hp .et_pb_gallery_item:nth-child(2) {
		width: 100% !important;
		margin-right: 0% !important;
	}
	.gallery-hp .et_pb_gallery_item:nth-child(1) img, .gallery-hp .et_pb_gallery_item:nth-child(2) img {
		height: min(48vw, 1280px) !important;
	}
}

/***********************************/
/********** Booking form ***********/
/***********************************/


iframe#booking-tool-iFrame-allApartments, body.collapsing_header.font-family.iframe {
   max-width: 100% !important;
    width: 100% !important;
}