/* global */

@media (max-width: 1300px) {
	#et_mobile_nav_menu {
		display: block;
	}	
	#top-menu {
		display: none;
	}
	#main-header {
		padding: 10px 0;
	}
}

@media (max-width: 767px) {
	h2 {
		font-size: 20px !important;
	}
	body {
		font-size: 16px !important;
	}
}

.hidden {
	display: none !important;
}

@media (max-width: 1024px) {
	.et_pb_section.et_pb_with_background.mobile-bg-image-fix {
		background-image: initial !important;
	}
}

@media (min-width: 768px) {
	.lifted-title {
		position: absolute;
	    top: -30px;
	    z-index: 5;
	}
}

.lifted-title-sub-element {
	position: relative;
	z-index: 1;
}

.et_pb_gallery.full-width .et_pb_gallery_item {
	margin-bottom: 0;
}

/* fixing responsivness */

@media (max-width: 1180px) {
	#et_mobile_nav_menu {
		display: block;
	} 
	#top-menu {
		display: none;
	}
}

/* slider */

.et_pb_slide_description, .et_pb_slider_fullwidth_off .et_pb_slide_description {
	padding: 25% 8%;
}

/* NGG Gallery */

.galleria-theme-nextgen_pro_horizontal_filmstrip .galleria-thumb-nav-left, .galleria-theme-nextgen_pro_horizontal_filmstrip .galleria-thumb-nav-right, .galleria-theme-nextgen_pro_horizontal_filmstrip .galleria-info-link, .galleria-theme-nextgen_pro_horizontal_filmstrip .galleria-info-close, .galleria-theme-nextgen_pro_horizontal_filmstrip .galleria-image-nav-left, .galleria-theme-nextgen_pro_horizontal_filmstrip .galleria-image-nav-right {
	background-image: url(../images/nextgen-custom-icons.png) !important;
}

/* header menu */

#top-menu-nav {
	padding: 20px 0;
	transition: all 0.2s ease-in-out;
}

.et-fixed-header #top-menu-nav {
	padding: 0;
}

@media (min-width: 769px) {
	#top-menu > .menu-item:not(.menu-item-has-children) a:before {
		content: '';
		position: absolute;
		top: 20px;
		left: 0px;
		width: 0;
		height: 2px;
		display: inline-block;
		transition: all 0.2s ease-in-out;
		background-color: rgba(0, 0, 0, 0.3);
	}
	
	#top-menu > .menu-item:not(.menu-item-has-children) a:hover:before {
		width: 100%;
	}
}

.material, .material-button .et_pb_promo_button.et_pb_button {
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
	transition: all 0.2s cubic-bezier(.25,.8,.25,1);
}

.material.with-hover:hover, .material-button .et_pb_promo_button.et_pb_button:hover {
	box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
	transform: scale(1.01);
}

/* back to top button */

.et_pb_scroll_top.et-pb-icon {
	background: #000;
	color: #fff;
	transition: all 0.2s cubic-bezier(.25,.8,.25,1);
}

.et_pb_scroll_top.et-visible {
	opacity: 0.7;
}

.et_pb_scroll_top.et-pb-icon:hover {
	opacity: 1;
}

.contact-person .et_pb_team_member_image {
	text-align: left !important;
}

/* input styles */

.caldera_forms_form input:not([type=checkbox]), .caldera_forms_form textarea, .caldera_forms_form .btn {
	width: 100%;
	padding: 16px;
	border: none;
	border-radius: 0;
	font-size: 14px !important;
	background-color: rgba(149, 136, 128, 0.9) !important;
	color: #fff;
	opacity: 0.6;
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
	transition: all 0.2s cubic-bezier(.25,.8,.25,1);

}

.caldera_forms_form textarea {
	max-width: 100%;
	min-width: 100%;
	min-height: 50px;
	margin-bottom: -9px !important;
}

.caldera_forms_form input:not([type=checkbox]):focus, .caldera_forms_form textarea:focus {
	background-color: rgba(149, 136, 128, 1) !important;
	box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
	opacity: 1;
	transform: scale(1.01);
}

.light-form .caldera_forms_form .cf-adv-preview-list {
	color: #fff;
}

.light-form .caldera-grid .has-error .checkbox, .caldera-grid .has-error .checkbox-inline, .caldera-grid .has-error .control-label, .caldera-grid .has-error .form-control-feedback, .caldera-grid .has-error .help-block, .caldera-grid .has-error .radio, .caldera-grid .has-error .radio-inline {
	color: #fff !important;
}

@media (max-width: 767px) {
	.caldera-grid .row {
		margin-right: 0 !important;
		margin-left: 0 !important;
	}
	.caldera-grid .row .col-sm-12, .caldera-grid .row .col-sm-6 {
		padding-right: 0 !important;
		padding-left: 0 !important;
	}
}

.caldera-forms-consent-field {
	padding-left: 15px;
}

.caldera-forms-gdpr-field-label {
	font-size: 0.8rem;
	margin: 0 !important;
	color: #000;
}

.caldera-forms-gdpr-field-label p, .caldera-forms-gdpr-field-label a {
	display: inline-block;
	margin-bottom: 0;
}

@media (max-width: 756px) {
	.caldera-forms-gdpr-field-label p, .caldera-forms-gdpr-field-label a {
		font-size: 0.6rem;
	}
}

.ie input {
	padding: 10px !important;
	padding-bottom: 15px !important;
}

/* single */

.page-title {
	display: inline-block;
}

.page-title h1 {
	padding: 0;
	margin: 0;
}

@media (max-width: 767px) {
	.page-title h1 {
		font-size: 21px !important;     
	}
}

/* custom timeline module */

.timeline .et_pb_blurb {
	padding-left: 2.17391rem;
	position: relative;
	margin-bottom: 0 !important;
}

.timeline .et_pb_blurb:last-child {
	padding-bottom: 0;
}

.timeline .timeline-marker {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 30px;
}

.timeline .timeline-marker:before {
	content: "";
	width: 20px;
	height: 20px;
	top: 0.32609rem;
	left: -7px;
	background: #958880;
	border: 3px solid transparent;
	border-radius: 100%;
	display: block;
	position: absolute;
	transition: all 0.2s ease-in-out;
}

.timeline .timeline-marker:after {
	content: "";
	width: 2px;
	background: #958880;
	display: block;
	position: absolute;
	top: 35px;
	bottom: 0;
	left: 5px;
}

.et_pb_blurb:last-child .timeline-marker:after {
	content: none;
}

.timeline .et_pb_blurb:hover .timeline-marker:before {
	background: transparent;
	border: 3px solid #958880;
}

.timeline .et_pb_module_header {
	font-size: 3rem;
	color: #958880;
	position: relative;
}

.timeline .et_pb_blurb_content {
	padding-bottom: 35px;
}

.timeline .et_pb_blurb_content p:last-child {
	margin-bottom: 0;
}

@media print, screen and (min-width: 64em) {
	.timeline.timeline-centered {
		display: table;
	}
	.timeline.timeline-centered .et_pb_blurb {
		display: table-row;
		padding: 0;
	}
	.timeline.timeline-centered .timeline-marker,
	.timeline.timeline-centered .et_pb_blurb_content {
		display: table-cell;
		vertical-align: top;
	}
	.timeline.timeline-centered .timeline-marker {
		position: relative;
	}
	.timeline.timeline-centered .et_pb_blurb_content {
		padding-left: 30px;
	}
	.timeline.timeline-centered,
	.timeline.timeline-centered .et_pb_blurb,
	.timeline.timeline-centered .timeline-marker,
	.timeline.timeline-centered .et_pb_blurb_content {
		display: block;
		margin: 0;
	}
	.timeline.timeline-centered .et_pb_blurb {
		padding-bottom: 2.17391rem;
		overflow: hidden;
	}
	.timeline.timeline-centered .et_pb_module_header {
		position: absolute;
		top: 0;
	}
	.timeline.timeline-centered .timeline-marker {
		position: absolute;
		left: 50%;
		margin-left: -7.5px;
	}
	.timeline.timeline-centered .et_pb_blurb_content {
		position: relative;
		width: 50%;
		transition: all .2s ease-in-out;
	}
	.timeline.timeline-centered .et_pb_blurb:nth-child(odd) .et_pb_blurb_content:hover, .timeline.timeline-centered .et_pb_blurb:nth-child(odd) .timeline-marker:hover + .et_pb_blurb_content {
		transform: translateX(-10px);
	}
	.timeline.timeline-centered .et_pb_blurb:nth-child(even) .et_pb_blurb_content:hover, .timeline.timeline-centered .et_pb_blurb:nth-child(even) .timeline-marker:hover + .et_pb_blurb_content {
		transform: translateX(10px);
	}
}

@media print, screen and (min-width: 64em) and (min-width: 40em) {
	.timeline.timeline-centered .et_pb_blurb_content {
		width: 40%;
	}
}

@media print, screen and (min-width: 64em) and (min-width: 64em) {
	.timeline.timeline-centered .et_pb_blurb_content {
		width: 35%;
	}
}

@media print, screen and (min-width: 64em) {
	.timeline.timeline-centered .et_pb_blurb:nth-child(odd) .et_pb_blurb_content {
		float: right;
		text-align: left;
		padding-left: 30px;
	}
	.timeline.timeline-centered .et_pb_blurb:nth-child(odd) .et_pb_blurb_content .et_pb_module_header {
		left: -100px;
	}
	.timeline.timeline-centered .et_pb_blurb:nth-child(even) .et_pb_blurb_content {
		float: left;
		text-align: right;
		padding-right: 30px;
	}
	.timeline.timeline-centered .et_pb_blurb:nth-child(even) .et_pb_blurb_content .et_pb_module_header {
		right: -100px;
	}
}

.timeline .marker-outline .timeline-marker:before {
	background: transparent;
	border-color: #958880;
}

.timeline .marker-outline .et_pb_blurb:hover .timeline-marker:before {
	background: #958880;
}

/* footer */

#footer-info {
	font-size: 14px;
}

@media screen and (max-width: 650px) {
	#footer-info {
		padding-bottom: 45px;
	}
}