/*
 Theme Name:     Divi Child Theme
 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
------------------------------------------------------- */
/* THEME TYPOGRAPHY */
h1 {
	font-family: "Open Sans", Helvetica, Arial, Lucida, sans-serif;
	font-weight: 700;
	font-size: 75px;
	line-height: 85px;
}
h2 {
	font-family: 'Century', Helvetica, Arial, Lucida, sans-serif;
	font-size: 45px;
	line-height: 50px;
	font-weight: 300;
	font-style: italic;
}
h3 {
	font-family: 'Century', Helvetica, Arial, Lucida, sans-serif;
	font-size: 45px;
	line-height: 50px;
	font-weight: 300;
	padding-bottom: 25px;
    margin: 0 auto;
}
h4 {
	font-family: 'Century', Helvetica, Arial, Lucida, sans-serif;
	font-size: 45px;
	line-height: 50px;
	font-weight: 300;
}
p {
	font-family: "Open Sans", Helvetica, Arial, Lucida, sans-serif;
	font-size: 25px;
	line-height: 35px;
	font-weight: 300;
    color: #000;
}
a {
	font-family: "Open Sans", Helvetica, Arial, Lucida, sans-serif;
}
@media (max-width: 980px) {
	h1 {
		font-size: 45px;
		line-height: 50px;
	}
	h2 {
		font-size: 30px;
		line-height: 35px;
	}
	h3 {
		font-size: 30px;
		line-height: 35px;
	}
	p {
    	font-size: 20px;
    	line-height: 30px;
	}
}
@media (min-width: 981px) {
	h3 {
		max-width: 85%;
	}
}



/* THEME ELEMENTS */
.et_pb_section {
    padding: 50px 0;
}
.et_pb_button:after {
	display: none !important;
}
.et_button_no_icon .et_pb_button {
    padding: 5px 35px !important;
    background-color: #31afde !important;
	transition: all .3s ease-in-out;
	font-size: 20px;
    font-weight: bold;
}
.et_button_no_icon .et_pb_button:hover {
    background-color: #fff !important;
    color: #31afde !important;
    padding: 5px 35px !important;
}
.et_button_no_icon .et_pb_button.light:hover {
    border-color: #1fb0de;
}
.et-menu a:hover {
    opacity: 1;
}
input:-webkit-autofill, 
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #1fb0de inset !important;
    -webkit-text-fill-color: #fff;
}
@media (max-width: 980px) {
	.et_button_no_icon .et_pb_button {
		font-size: 18px;
	}
}



/* CUSTOM ELEMENTS */
.section-medium .et_pb_row {
    max-width: 1100px;
}
.section-small .et_pb_row {
    max-width: 900px;
}
@media (min-width: 1450px) {
	.bg-left-out:before {
		content: "";
		background-image: url(/wp-content/uploads/2024/11/Drops_2.svg);
		position: absolute;
		bottom: -155px;
		left: -160px;
		height: 267px;
		width: 142px;
		background-repeat: no-repeat;
	}
	.bg-right-out .et_pb_column:after {
		content: "";
		background-image: url(/wp-content/uploads/2024/11/Drops_3.svg);
		position: absolute;
		top: 40px;
		right: -250px;
		height: 230px;
		width: 150px;
		background-repeat: no-repeat;
	}
}



/* HEADER */
#et-main-area {
    margin-top: 235px;
}
header.et-l {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}
.logged-in header.et-l {
    top: 32px;
}
header.et-l.scrolled {
	box-shadow: 0px -4px 10px #000;
}
header.et-l img {
    max-width: 450px;
	transition: all .3s ease;
}
header.et-l.scrolled img {
    max-width: 250px;
}
#menu-address p, 
#menu-address a {
    color: #fff;
}
#menu-address a:hover {
    opacity: .7;
}
#menu-address .et_pb_text_inner span {
    margin-right: 15px;
}
#menu-section .et_pb_row .et_pb_column:last-child {
    position: absolute;
    right: 0;
    bottom: 39%;
}
#menu-section .et_pb_row .et_pb_column:last-child .et_pb_module {
    float: right;
}
#menu-section .et_pb_menu .et-menu > li {
    padding: 0 15px;
}
#menu-section .et-menu li > a {
    font-size: 28px;
}
@media (max-width: 424px) {
	#menu-address .et_pb_text_inner {
		font-size: 10px;
	}
}
@media (min-width: 425px) and (max-width: 499px) {
	#menu-address .et_pb_text_inner {
		font-size: 12px;
	}
}
@media (min-width: 500px) and (max-width: 767px) {
	#menu-address .et_pb_text_inner {
		font-size: 14px;
	}
}
@media (min-width: 768px) and (max-width: 980px) {
	#menu-address .et_pb_text_inner {
		font-size: 20px;
	}
}
@media (max-width: 980px) {
	#et-main-area {
		margin-top: 151px;
	}
	#menu-section .et_pb_column {
        margin-bottom: 0;
		width: auto !important;
    }
	header.et-l img {
		width: 200px !important;
	}
	#menu-section .mobile_menu_bar:before {
		font-size: 40px;
	}
	#menu-section .et_mobile_menu {
		position: fixed;
		top: 151px;
		border: none;
		padding: 0 5% 2%;
	}
	.logged-in #menu-section .et_mobile_menu {
		top: 207px;
	}
	#menu-section .et_mobile_menu li a {
		border: none;
	}
}
@media (min-width: 981px) {
	#menu-section .menu-item a:after {
		background: #134da0;
		content: "";
		position: absolute;
		bottom: -8px;
		left: 0;
		width: 0;
		height: 3px;
		transition: all .25s ease-in-out;
	}
	#menu-section .current-menu-item a:after,
	#menu-section .menu-item a:hover:after{
		width: 100%;
		opacity: 1 !important;
	}
}



/* INTRO SECTION */
#intro-section .et_pb_row {
	width: 100%;
}
#intro-section .et_pb_row .et_pb_column:last-child .et_pb_module {
	float: right;
	padding: 0 10%;
}
@media (min-width: 981px) {
	#intro-section .et_pb_row .et_pb_column:last-child .et_pb_module {
		float: right;
	}
}



/* FEATURED SECTION */
#section-featured {
    max-width: 1460px;
    margin: 0 auto;
    background-color: #134da0;
}
#section-featured .et_pb_row {
    max-width: 900px;
}
#section-featured .featured-icons img {
    max-width: 140px;
    margin: 0 auto;
    display: block;
}
#section-featured .featured-icons p {
	color: #fff;
	font-size: 30px;
	font-weight: bold;
}
#section-featured a.et_pb_button {
	background-color: #31afde;
}



/* MAP SECTION */
#map-section .et_pb_row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
#map-section .et_pb_column:first-child {
    margin: 0;
    padding: 5px 20px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
}
#map-section .et_pb_column:first-child .et_pb_image {
	margin: 0 auto 5px;
}
#map-section .et_pb_column:first-child img {
	max-width: 125px;
    width: 100%;
	margin-bottom: 10px;
}
#map-section .et_pb_column:last-child {
    margin: 0;
}
#map-section .et_pb_column:last-child .et_pb_module {
    margin: 0;
}
#map-section h4 {
    font-size: 45px;
}
#map-section .et_pb_button_module_wrapper {
    margin-bottom: 15px;
}
#map-section .et_pb_button_module_wrapper:last-child {
    margin: 0;
}
#map-section .et_pb_button_module_wrapper .et_pb_button {
    width: 90%;
}
.pin {
    position: absolute;
    width: 36px;
	opacity: .7;
	transition: all .3s ease-in-out;
	cursor: pointer;
}
.pin:hover,
.pin.active {
	opacity: 1;
}
.pin .et_pb_image_wrap:after {
    content: "";
    position: absolute;
    top: 9px;
    left: calc(100% + 10px);
    width: auto;
    line-height: 20px;
    white-space: nowrap;
    background: #fff;
    padding: 2px 6px;
    overflow: hidden;
    box-sizing: content-box;
    transition: all .3s ease-in-out;
	cursor: default;
    opacity: 0;
    visibility: hidden;
}
.pin.active .et_pb_image_wrap:after,
.pin:hover .et_pb_image_wrap:after {
	opacity: 1;
    visibility: visible;
}
.pin-btn.active {
    background-color: #fff !important;
    color: #31afde !important;
    padding: 5px 35px !important;
	border: 2px solid #fff;
}
#pin-1 {
    top: 43%;
    right: 24.4%;
}
#pin-2 {
    top: 77%;
    left: 25%;
}
#pin-3 {
	top: 32.2%;
    left: 18.2%;
}
#pin-1 .et_pb_image_wrap:after {
    content: "Gemüsemarkt 2, 9450 Altstätten";
	right: calc(100% + 10px);
    left: auto;
}
#pin-2 .et_pb_image_wrap:after {
    content: "Zielstrasse 23, 9050 Appenzell";
}
#pin-3 .et_pb_image_wrap:after {
    content: "Hauptstrasse 1, 9053 Teufen";
}
@media (max-width: 980px) {
	#map-section .et_pb_column:first-child {
		padding: 20px;
	}
	.pin {
		width: 16px;
	}
	.pin .et_pb_image_wrap:after {
		font-size: 18px;
	}
	#pin-1 .et_pb_image_wrap:after {
		right: -75px;
		top: 25px;
	}
	#pin-2 .et_pb_image_wrap:after {
		left: -75px;
        top: 18px;
	}
	#pin-3 .et_pb_image_wrap:after {
		top: -26px;
		left: -55px;
	}
}
@media (min-width: 981px) {
	#map-section .et_pb_column:first-child {
		width: 25%;
	}
	#map-section .et_pb_column:last-child {
		width: 75%;
	}
}
@media (min-width: 981px) and (max-width: 1200px) {
	#map-section .et_pb_column:first-child img {
		max-width: 100px;
	}
	#map-section h4 {
		font-size: 30px;
		line-height: 35px;
		padding: 0;
	}
	#map-section .et_pb_button_module_wrapper {
		margin-bottom: 10px;
	}
	#map-section .et_button_no_icon .et_pb_button {
		font-size: 12px;
	}
}



/* DETAIL SECTION */
#section-detail .et_pb_row {
	padding: 50px 10%;
	width: 100%;
}
#section-detail .et_pb_row .et_pb_column img {
    max-width: 130px;
    width: 100%;
}
#section-detail p {
    color: #fff;
    font-size: 20px;
    line-height: 30px;
}
#section-detail .detail-title p {
    color: #fff;
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
}

@media (min-width: 981px) {
	#section-detail .et_pb_row:after {
		content: none;
	}
	#section-detail .et_pb_row {
		width: 80%;
		padding: 50px 30px;
		display: flex;
		justify-content: space-between;
	}
	#section-detail .et_pb_row .et_pb_column {
		margin: 0 !important;
		width: 32% !important;
		padding: 0 10px;
	}
	#section-detail .detail-title p {
		font-size: 30px;
		line-height: 36px;
	}
}



/* ACCORDION */
#section-accordion .et_pb_row {
    display: flex;
    flex-direction: row;
}
#section-accordion .et_pb_row:after {
	content: none;
}
#section-accordion .et_pb_row .et_pb_column {
    margin: 0;
}
#section-accordion .et_pb_row .et_pb_column:first-child {
    width: 30%;
}
#section-accordion .et_pb_row .et_pb_column:first-child .et_pb_module {
    position: absolute;
	top: 20%;
    left: 30%;
}
#section-accordion .et_pb_row .et_pb_column:first-child img {
    width: 150px;
}
#section-accordion .et_pb_row .et_pb_column:nth-child(2) {
    width: 50%;
}
#section-accordion .et_pb_row .et_pb_column:last-child {
    width: 20%;
}
#section-accordion .et_pb_row .et_pb_column:last-child .et_pb_module {
    position: absolute;
    top: 40%;
    right: 35%;
}
#section-accordion .et_pb_row .et_pb_column:last-child img {
	width: 150px;
}
#section-accordion .et_pb_toggle {
    background: transparent;
    border: none;
    padding: 10px;
    margin-bottom: 30px;
}
#section-accordion h5 {
    font-size: 45px;
	line-height: 50px;
    display: inline-block;
    padding-right: 0;
}
#section-accordion h5:before {
	content: none;
}
#section-accordion h5:after {
    content: '+';
    margin-left: 15px;
}
#section-accordion .et_pb_toggle_open h5:after {
    content: '-';
}
#section-accordion p {
	font-size: 20px;
	line-height: 30px;
}
@media (max-width: 980px) {
	#section-accordion .et_pb_row .et_pb_column:first-child,
	#section-accordion .et_pb_row .et_pb_column:last-child {
		display: none;
	}
	#section-accordion .et_pb_row .et_pb_column:nth-child(2) {
		width: 100%;
	}
	#section-accordion .et_pb_toggle {
		margin-bottom: 10px;
	}
	#section-accordion h5 {
		font-size: 30px;
		line-height: 35px;
	}
}


/* GALLERY SECTION */
#section-gallery .et_pb_slider {
    overflow: visible;
}
#section-gallery .et_pb_slider img {
    border: 5px solid #b3b6b6;
}
#section-gallery .et-pb-slider-arrows a {
    opacity: 1;
    color: #fff !important;
    background-color: #1fb0de;
    border-radius: 50%;
	opacity: .5;
}
#section-gallery .et-pb-slider-arrows a:hover {
    opacity: 1;
}
#section-gallery .et-pb-slider-arrows a.et-pb-arrow-next {
    right: -70px;
}
#section-gallery .et-pb-slider-arrows a.et-pb-arrow-prev {
    left: -70px;
}
#section-gallery .et-pb-controllers {
    display: none;
}
#section-gallery .et_pb_row {
    display: flex;
    flex-direction: row;
}
#section-gallery .et_pb_row .et_pb_column:first-child .et_pb_module {
    position: absolute;
    top: 15%;
    left: 30%;
}
#section-gallery .et_pb_row .et_pb_column:first-child .et_pb_module img {
	width: 150px;
}
#section-gallery .et_pb_row .et_pb_column:last-child .et_pb_module {
    position: absolute;
    top: 27%;
    right: 35%;
}
#section-gallery .et_pb_row .et_pb_column:last-child .et_pb_module img {
	width: 150px;
}
#section-gallery .et_pb_module:first-child:after {
    content: "";
	display: block;
    height: 20px;
    width: 20px;
	position: absolute;
    background: #fff;
    bottom: 0;
    left: -20px;
    z-index: 1000;
}
@media (max-width: 400px) {
	#section-gallery .et_pb_button {
		font-size: 16px;
		padding: 5px 15px !important;
	}
}
@media (max-width: 980px) {
	#section-gallery .et_pb_row .et_pb_column:first-child,
	#section-gallery .et_pb_row .et_pb_column:last-child {
		display: none;
	}
	#section-gallery .et_pb_row .et_pb_column:nth-child(2) {
		padding: 0 10%;
	}
	#section-gallery .et-pb-slider-arrows a.et-pb-arrow-prev {
		left: -60px;
	}
	#section-gallery .et-pb-slider-arrows a.et-pb-arrow-next {
		right: -60px;
	}
}



/* LOCATIONS SECTION */
#locations .contact-info .et_pb_column:first-child {
    width: 33%;
	margin-right: 30px;
}
#locations .contact-info .et_pb_column:last-child {
    width: calc(67% - 30px);
}
#locations .contact-info h4 {
    color: #114ea2 !important;
    font-size: 40px;
    line-height: 40px;
	margin-bottom: 15px;
}
#locations .contact-info h6 {
    font-weight: 700;
    color: #114ea2 !important;
    font-size: 20px;
	padding: 0;
	margin-bottom: 5px;
}
#locations .et_pb_column p {
    padding-bottom: 0;
    font-size: 20px;
	line-height: 28px;
}
@media (max-width: 980px) {
	#locations .contact-info h4 {
		font-size: 35px;
    	line-height: 40px;
		margin-bottom: 0;
	}
	#locations .et_pb_column p {
		font-size: 18px;
		line-height: 26px;
	}
	#locations .et_pb_column a {
		font-size: 18px;
		line-height: 26px;
	}
}
@media (min-width: 1149px) {
	#locations .contact-info .et_pb_module {
		margin-bottom: 0;
	}
}



/* CONTACT */
.contact-info .et_pb_column:last-child {
    display: flex;
    flex-wrap: wrap;
	justify-content: space-between;
}
.contact-info .et_pb_column:last-child .et_pb_module:first-child {
    width: 100%;
}
.contact-info .et_pb_column:last-child .et_pb_module:nth-child(2) {
    width: auto;
}
.contact-info .et_pb_column:last-child .et_pb_module:nth-child(3) {
    width: auto;
}
.contact-info .et_pb_column:last-child .et_pb_module:last-child {
    width: 100%;
}
#contact .contact-form {
    padding: 50px 40px;
}
.contact-form .et_pb_column:first-child {
    width: 42%;
    margin-right: 40px;
}
.contact-form .et_pb_column:first-child img {
    max-width: 30%;
    margin: 0 auto;
    display: block;
}
.contact-form .et_pb_column:last-child {
    width: calc(58% - 40px);
}
.contact-form form input, 
.contact-form form textarea {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #fff !important;
    color: #fff !important;
	width: 100%;
	font-size: 25px;
    margin-bottom: 30px;
	font-weight: 300;
}
.contact-form form textarea {
    height: 180px !important;
    width: 100% !important;
}
.contact-form form input::placeholder, 
.contact-form form input, 
.contact-form form textarea::placeholder {
    color: #fff;
}
.contact-form form > p {
	padding: 0;
}
.contact-form form .form-agree {
    display: flex;
}
.contact-form form .form-agree span {
    margin: 0;
}
.contact-form form .form-agree p {
	color: #fff;
	font-size: 20px;
}
.contact-form form .form-agree a {
    color: #fff !important;
	text-decoration: underline;
}
span.wpcf7-not-valid-tip {
    position: absolute;
    left: 0;
    width: 100%;
    top: 21px;
    font-size: 15px;
    line-height: 15px;
    border-bottom: 1px solid red;
    text-indent: -9999px;
}
.contact-form form .form-agree span.wpcf7-not-valid-tip {
    position: absolute;
    height: 24px;
    width: 24px;
    border: 2px solid red;
    top: 6px;
	pointer-events: none;
}
.contact-form form .form-agree span.wpcf7-list-item.first.last {
    display: flex;
}
.contact-form form .form-agree span.wpcf7-list-item.first.last span.wpcf7-list-item-label {
    margin-left: 10px;
    margin-right: 5px;
}
.contact-form form .form-agree span input[type="checkbox"] {
    width: 24px;
    margin: 0;
	cursor: pointer;
}
.contact-form form .form-agree span input[type="checkbox"]:before {
    content: "";
    position: absolute;
    top: 6px;
    left: 0px;
    width: 22px;
    height: 22px;
    border: 1px solid #fff;
    background: #1fb0de;
}
.contact-form form .form-agree span input[type="checkbox"]:after {
    content: none;
    display: inline-block;
    transform: rotate(45deg);
    height: 14px;
    width: 5px;
    margin-left: 7px;
    margin-bottom: 1px;
    border-bottom: 5px solid #ffffff;
    border-right: 5px solid #ffffff;
    background: transparent !important;
}
.contact-form form .form-agree span input[type="checkbox"]:checked:after {
	content: "";
}
.contact-form form input.wpcf7-form-control.wpcf7-submit {
    display: inline-block;
    width: auto;
    padding: 7px 65px !important;
    background-color: #31afde !important;
    transition: all .3s ease-in-out;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: "Open Sans", Helvetica, Arial, Lucida, sans-serif;
    border: 2px solid #fff !important;
    border-radius: 30px;
	cursor: pointer;
	transition: all .3s ease-in-out;
	margin: 0;
}
.contact-form form input.wpcf7-form-control.wpcf7-submit:hover {
	color: #31afde !important;
	background-color: #fff !important;
}
.contact-form span.wpcf7-spinner {
    display: none;
}
.wpcf7-response-output {
    color: #fff;
    border: none !important;
    margin: 20px 0 0 !important;
    padding: 0 !important;
    font-size: 20px;
}
@media (max-width: 980px) {
	#contact .contact-form {
		padding: 50px 10%;
		width: 100%;
	}
	.contact-form form input,
	.contact-form form textarea {
		font-size: 20px;
	}
	.contact-form form textarea {
		height: 150px !important;
	}
	span.wpcf7-not-valid-tip {
		top: 14px;
		border-width: 2px;
	}
	.contact-form form .form-agree span input[type="checkbox"]:before {
		top: 3px;
	}
	.contact-form form .form-agree span input[type="checkbox"]:after {
		margin-bottom: -1px;
	}
	.contact-form form .form-agree span.wpcf7-not-valid-tip {
		top: 3px;
	}
	.contact-form form input.wpcf7-form-control.wpcf7-submit {
		width: 100%;
	}
}
@media (max-width: 1280px) {
	.contact-form form .form-agree {
		flex-direction: column;
	}
	.contact-form form .form-agree p {
		padding-bottom: 0;
	}
	.contact-form form input.wpcf7-form-control.wpcf7-submit {
		margin-top: 20px;
	}
}



/* OUTRO SECTION */
#outro-section {
	padding-top: 240px;
	padding-bottom: 100px;
}
#outro-section .et_pb_row {
    display: flex;
    justify-content: flex-end;
}
#outro-section .et_pb_column {
    display: flex;
    flex-direction: column;
    width: auto;
}
#outro-section h2 {
    font-size: 65px;
    line-height: 75px;
}
@media (max-width: 980px) {
	#outro-section {
		padding-top: 80px;
		padding-bottom: 50px;
	}
	#outro-section h2 {
		font-size: 40px;
		line-height: 45px;
	}
}
@media (min-width: 981px) {
	#outro-section .et_pb_column {
		max-width: 60%;
	}
}



/* FOOTER */
footer .et_pb_section {
    padding: 40px 0;
}
footer .et_pb_text_inner h5 {
    color: #fff;
    font-size: 30px;
    font-weight: bold;
}
footer p {
    color: #fff;
    font-size: 18px;
    line-height: 28px;
	cursor: default;
}
footer a {
    color: #fff;
	text-decoration: underline;
    font-size: 18px;
    line-height: 28px;
	font-weight: 300;
	transition: all .3s ease-in-out;
}
footer a:hover {
	text-decoration: underline;
	opacity: .7
}
#footer-bottom p {
    text-decoration: underline;
    font-weight: 700;
    font-size: 20px;
	transition: all .3s ease-in-out;
	cursor: pointer;
}
#footer-bottom p:hover {
	opacity: .7;
}
@media (max-width: 980px) {
	footer .et_pb_column {
		margin-bottom: 40px;
	}
	footer .et_pb_column .et_pb_module {
		margin-bottom: 15px;
	}
	footer .et_pb_text_inner h5 {
		font-size: 24px;
        line-height: 30px;
        padding-bottom: 5px;
	}
	footer p {
		font-size: 16px;
		line-height: 24px;
	}
	footer a {
		font-size: 16px;
		line-height: 24px;
	}
	#footer-bottom p {
		font-size: 18px;
	}
}
