/*
 Theme Name:   La Peira (Divi Child)
 Theme URI:    https://la-peira.com
 Description:  A custom Divi child theme created for La Pèira.
 Author:       Paul Povoroznuk
 Author URI:   https://codeable.io/developers/paul-povoroznuk/
 Template:     Divi
 Version:      1.21
*/

html, body {
	min-height: 100%;
}

html #main-content {
	min-height: auto!important;
}

html body {
	text-rendering: optimizeLegibility;
	font-family: 'mauerHKG', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 300;
	font-size: 17px;
	line-height: 1.6;
	letter-spacing: 0.005em;
	color: #222;

	font-variant-numeric: lining-nums;
	-moz-font-feature-settings: "lnum";
	-webkit-font-feature-settings: "lnum";
	font-feature-settings: "lnum";
}

html input, html textarea, html select {
	font-family: 'mauerHKG', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 300;
}

html h1, html h2, html h3, html h4, html h5, html h6 {
	font-family: 'EB Garamond', 'Adobe Garamond', Garamond, Times, Geogia, serif;
	font-weight: 500;
	line-height: 1.14;
	letter-spacing: .017em;
	word-spacing: .02em;
	color: #212121;
}

h1, h2, h3 { margin-bottom: 32px; }

h1+h4 {margin-top: -26px;}

html h1 {
	font-size: 34px;
}

html h4 {
	margin-bottom: 24px;
	color: #962a2a;
}

html p {
	padding-bottom: 0;
	margin-bottom: 28px;
}

#main-content {
	background-color: #fffef9;
}

.et_pb_column_4_4 p,
.lprd-narrow-module {
	max-width: 800px;
	margin-right: auto;
	margin-left: auto;
}

.et_pb_module.et_pb_image {
	padding-top:10px;
	padding-bottom: 10px;
}

#main-header input.et-search-field  {
	font-size: 16px!important;
}

.et_header_style_centered .et-search-form input,
.et_header_style_centered span.et_close_search_field {
	top: calc(60% - 14px);
}

html #top-menu a:hover {
	color: #962a2a;
	opacity: 1!important;
	background-color: transparent;
}

html #main-header, html #et-top-navigation {
	font-family: 'mauerHKG', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	line-height: 1.6em;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
}

html .et_header_style_centered .mobile_nav .select_page,
html .et_header_style_split .mobile_nav .select_page,
.et_mobile_menu li a {
	font-size: 12px!important;
}

.et_mobile_menu li li {
	padding-left: 5px;
}

html .et_mobile_menu {
	padding: 20px;
}

html .et_mobile_menu li a {
	padding-right: 10px;
	padding-left: 10px;
}

@media (max-width: 980px) {
	.et_header_style_centered .mobile_menu_bar {
		position: relative;
		display: inline-block;
		top: 10.5px;
		right: 2px;
	}
}

.mobile_nav .select_page {
	padding-left: 10px;
}

.mobile_nav {
	text-align: center!important;
}

.mobile_nav #mobile_menu {
	text-align: left;
}

@media (max-width: 980px) {
	.et_header_style_centered #main-header .mobile_nav {
		background-color: transparent;
	}
}

html #top-menu .menu-item-has-children > a:first-child:after,
html #et-secondary-nav .menu-item-has-children > a:first-child:after {
	display: none;
}

html #top-menu .menu-item-has-children > a:first-child,
html #et-secondary-nav .menu-item-has-children > a:first-child {
	padding-right: 0;
}

html #top-header {
	padding-top: 17px;
}

@media (max-width: 699px) {
	html .et_header_style_centered #main-header {
		padding-top: 7px;
	}
	html .et_header_style_centered #et_mobile_nav_menu {
		margin-top: 4px;
	}
}

html #et-secondary-menu {
	float: left;
	padding-bottom: 3px;
}

html #et-secondary-menu .et-social-icons {
	position: relative;
	left: -4px;
}

html #et-secondary-menu .et-social-icons li {
	margin-top: 0;
	margin-left: 0;
}

html #et-secondary-menu .et-social-icons li a {
	margin-right: 8px;
	padding-bottom: 0;
}

html #et-secondary-menu .et-social-icon a:before {
	font-size: 16px;
}

@media (max-width: 980px) {
	#et-secondary-menu {display: block!important;}
}

@media only screen and (min-width: 981px) {
	html .et_header_style_centered #logo {
		max-height: 100%;
	}
	html #main-header .logo_container {
		margin-bottom: 38px;
	}
}

html #top-menu>li>a {
	display: inline-block;
	padding: 0 27px 20px!important;
	font-size: 13px;
}

html #top-menu>li {
	padding:0;
	float: left;
}

html #top-menu>li li {
	line-height: 1.7;
	padding: 0 8px;
}

html #top-menu>li li a {
	white-space: nowrap;
	width: auto;
	padding-top: 4px;
	padding-bottom: 4px;
}

html #top-menu .sub-menu {
	border-top-width: 2px;
	padding-top: 16px;
	padding-bottom: 16px;
	width: auto;
	min-width: 120px;
}

#top-menu>li:before {
	display: inline-block;
	position: relative;
	top: 2px;
	content: '';
	height: 14px;
	width: 1px;
	background: #d6d6d6;
}

#top-menu li:first-child:before {
	display: none;
}

html .et_pb_toggle {
	/*border-color: #e5e5e5;*/
	border-color: transparent;
	-webkit-transition: all .14s linear;
	-o-transition: all .14s linear;
	transition: all .14s linear;

	-webkit-box-shadow: 0px 0px 22px -2px rgba(0,0,0,0.1);
	-moz-box-shadow: 0px 0px 22px -2px rgba(0,0,0,0.1);
	box-shadow: 0px 0px 22px -2px rgba(0,0,0,0.1);
}

html .et_pb_toggle_title:before {
	color: #555;
	font-size: 20px;
	content: "\33";
}

html .et_pb_toggle_open {
	padding: 28px;
}

html .et_pb_toggle_close {
	padding: 28px;
	background-color: #fff;
}

html .et_pb_fullwidth_header {
	padding: 42px 0 5px;
}

html .et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {
	margin: 0 auto;
	width: 100%;
}

@media (max-width: 699px) {
	html .et_pb_fullwidth_header .header-content {
		padding: 0;
	}
	html .et_pb_fullwidth_header_2.et_pb_fullwidth_header .header-content h1 {
		font-size: 36px;
	}
}

html #main-header {
	padding-bottom: 10px;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

html .et_pb_gallery_image .et_overlay:before {
	display: none;
}

@media (min-width: 981px) {
	.et_pb_gutters3 .et_pb_column_4_4 .et_post_gallery .et_pb_grid_item {
		width: 22.7%;
		margin: 0 3% 3% 0;
	}
	.et_pb_column_4_4 .et_post_gallery .et_pb_grid_item:nth-child(4n) {
		margin-right: 0;
	}
}

.lprd-large-heading {
	font-size: 47px;
	margin-bottom: 40px;
}

@media (max-width: 599px) {
	.lprd-large-heading {
		font-size: 40px;
	}
}

.lprd-extra-top-spacing {
	margin-top: 58px;
}

.lprd-testimonials {
	font-size: 16px;
	font-family: 'EB Garamond', 'Adobe Garamond', Garamond, Times, Geogia, serif;
}

.lprd-testimonials em {
	font-style: normal;
	font-size: 25px;
	line-height: 1.5;
	display: inline-block;
	margin-bottom: 9px;
	margin-top: 40px;
}

.lprd-testimonials strong {
	display: inline-block;
	font-weight: 500;
	font-size: 13px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #777;
}

.lprd-testimonials {
	padding-right: 40px;
}

.lpr-slider-button,
.lpr-slider-button:visited {
	display: inline-block;
	color: #fff;
	border: 1px solid #fff!important;
	border-radius: 9999px;
	font-family: 'mauerHKG', 'Helvetica Neue', Helvetica, Arial, sans-serif!important;
	line-height: 1.6em!important;
	font-weight: 400!important;
	letter-spacing: .18em!important;
	text-transform: uppercase!important;
	text-shadow: 0px 0px 5px rgba(0,0,0,0.19);
	padding: 12px 28px 12px 32px!important;
}

@media (max-width: 599px) {
	.lpr-slider-button,
	.lpr-slider-button:visited {
		padding: 8px 18px 8px 24px!important;
	}
}

html .rev_slider_wrapper h2 {
	color: #fff;
	line-height: 1.24!important;
	text-shadow: 0px 0px 5px rgba(0,0,0,0.19);
}

html .tp-caption {
	max-width:none!important;
	width:auto!important;
}

@media (max-width: 599px) {
	html .rev_slider_wrapper h2 {font-size: 26px!important;}
	.lpr-slider-button {font-size: 10px!important;}
}

@media (min-width: 600px) and (max-width: 999px) {
	html .rev_slider_wrapper h2 {font-size: 32px!important;}
	.lpr-slider-button {font-size: 11px!important;}
}

@media (min-width: 1000px){
	html .rev_slider_wrapper h2 {font-size: 38px!important;}
	.lpr-slider-button {font-size: 13px!important;}
}



html .tparrows.gyges {
	opacity: 0;
	border-radius: 9999px;
	background: rgba(18,18,18,0.4);
	-webkit-transition: background-color .12s linear, opacity .3s linear;
	-o-transition: background-color .12s linear, opacity .3s linear;
	transition: background-color .12s linear, opacity .3s linear;
}

html .tparrows.gyges:hover {
	background: rgba(18,18,18,0.8);
}

@media (max-width: 899px) {
	html .tparrows.gyges {
		display: none;
	}
}

html #footer-info {
	float: none;
	text-align: center;
	font-weight: 300;
	font-size: 13px;
}

html #footer-bottom {
	padding: 25px 0 15px
}

@media (max-width: 699px) {
	html #footer-bottom {
		padding: 15px 0 5px
	}
}

@media (max-width: 980px) {
	body:not(.page-id-43) #top-header>.container {
		width:80%;
	}
}

body.page-id-43 #top-header>.container {
	max-width:100%!important;
}

@media (max-width: 599px) {
	.et_pb_fullwidth_section.lprd-full-width-with-side-padding, body.page-id-43 #top-header>.container {padding-right: 12px; padding-left: 12px;}
}

@media (min-width: 600px) and (max-width: 1199px) {
	.et_pb_fullwidth_section.lprd-full-width-with-side-padding, body.page-id-43 #top-header>.container {padding-right: 36px; padding-left: 36px;}
}

@media (min-width: 1200px){
	.et_pb_fullwidth_section.lprd-full-width-with-side-padding, body.page-id-43 #top-header>.container {padding-right: 70px; padding-left: 70px;}
}


.et-social-icon i.fa {
	position: relative;
	bottom: 1px;
	font-size:18px;
}


.lprd-team-members-row h2 {
	font-size: 26px;
	margin-top: -18px;
}

.lprd-team-members-row h2+h5 {
	text-transform: uppercase;
	font-weight: 400;
	font-size: 14px;
	color: #666;
	margin-top: -34px;
	margin-bottom: 16px;
}

body.search-results .post-meta {
	display:none;
}

body.search-results #main-content .container:before {
	display: none;
}

body.search-results h2.entry-title {
	margin-bottom: 6px;
}

img.alignleft {
	margin-right: 20px;
}

img.alignright {
	margin-left: 20px;
}

@media (max-width: 530px) {
	img.alignleft, img.alignright {
		width:100%;
	}
}

img.alignleft, img.alignright {
	margin-bottom: 10px;
}

#main-header .et_mobile_menu .menu-item-has-children > a { background-color: transparent; position: relative; }
#main-header .et_mobile_menu .menu-item-has-children > a:after { font-family: 'ETmodules'; text-align: center; speak: none; font-weight: normal; font-variant: normal; text-transform: none; -webkit-font-smoothing: antialiased; position: absolute; }
#main-header .et_mobile_menu .menu-item-has-children > a:after { font-size: 16px; content: '\4c'; top: 13px; right: 10px; }
#main-header .et_mobile_menu .menu-item-has-children.visible > a:after { content: '\4d'; }
#main-header .et_mobile_menu ul.sub-menu { display: none !important; visibility: hidden !important;  transition: all 1.5s ease-in-out;}
#main-header .et_mobile_menu .visible > ul.sub-menu { display: block !important; visibility: visible !important; }