/*  MICROTHEMER STYLES  */

/*= Full Code Editor CSS ====== */

/* CONTENTS
– Colors
– Fonts
– Header (Logo & Navigation)
– Hero
– Page «Home»
– Page «Vision»
– Page «Projekt»
– Page «Aesch»
– MOBILE
*/





/* COLORS */
:root {
  --as-red: #ee6366;
  --as-blue: #bad8ea;
  --as-brown: #C7B9AC;
}





/* FONTS */

@font-face {
  font-family: 'Apax';
  src: url('https://www.aeschsoleil.ch/wp-content/fonts/Apax-Medium.eot');
  src: url('https://www.aeschsoleil.ch/wp-content/fonts/Apax-Medium.eot?#iefix') format('embedded-opentype'),
       url('https://www.aeschsoleil.ch/wp-content/fonts/Apax-Medium.woff2') format('woff2'),      
       url('https://www.aeschsoleil.ch/wp-content/fonts/Apax-Medium.woff') format('woff');      
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Apax';
  src: url('https://www.aeschsoleil.ch/wp-content/fonts/Apax-Regular.eot');
  src: url('https://www.aeschsoleil.ch/wp-content/fonts/Apax-Regular.eot?#iefix') format('embedded-opentype'),
       url('https://www.aeschsoleil.ch/wp-content/fonts/Apax-Regular.woff2') format('woff2'),      
       url('https://www.aeschsoleil.ch/wp-content/fonts/Apax-Regular.woff') format('woff');      
  font-weight: 400;
  font-style: normal;
}





/* BASIC TYPOGRAPHY */

body {
    font-size: 1rem;
	font-family: "Apax";
    font-feature-settings: "ss03";
    font-weight: 400;
    color: black;
    background-color: var(--as-brown);
}

h1, h2, h3, h4 {
    font-size: 1.8rem;
    color: var(--as-red);
    font-weight: 500;
    margin-bottom: 1rem;
}

h2, h3, h4 {
    font-size: 1.4rem;
    color: black;
}

p, a, li {
    line-height: 1.5rem;
}

.more-link {
    padding-top: 0.8rem;
    display: block;
}

.as-more-button {
    border: 0;
    font-size: 1rem;
    font-weight: 400;
    padding: 0;
    margin: 0;
    top: -0.6rem;
}

.et_pb_button.as-more-button:hover {
    border: 0;
    background-color: white;
    padding: 0;
    margin: 0;
}

.as-more-button:hover:after {
    content: unset;
}





/* HEADER */

#top-menu-nav>ul>li>a {
    font-weight: 500;
}





/* HERO */

.et_pb_fullwidth_header {
    height: 505px;
    padding: 48px;
}

.et_pb_fullwidth_header_container {
}

.et_pb_fullwidth_header .header-content {
	width: 50%;
	background-color: white;
	float: left;
	padding: 0;
}

.et_pb_header_content_wrapper {
    margin: 28px 36px 36px 36px;
    float: left;
}


.header-content {
}

.header-content h2 {
	color: var(--as-red) !important;
	line-height: 1.2em;
	float: left;
	margin-top: 0.4rem;
	margin-bottom: 1rem;
}

.header-content img {
	background-color: var(--as-blue);
	border-radius: 100%;
}

.header-content p {
    width: 60%;
	color: black;
	float: left;
}

/* portrait */
.header-content p:nth-of-type(1) {
    margin-right: 24px;
    width: 25%;
}

/* name */
.header-content p:nth-of-type(2) {
    margin-top: 2em;
    font-weight: 500;
}

/* function */
.header-content p:nth-of-type(3) {
    line-height: 1.2rem !important;
}





/* NEWSLETTER */

.as-mailchimp-subscription {
        width: 100%;
}

.as-mailchimp-subscription input {
    padding: 0.8rem;
    font-size: 1.1rem;
    border: 0;
}

.as-mailchimp-subscription input[type=email] {
    width: 65%;
}

.as-mailchimp-subscription input[type=submit] {
    width: 30%;
    color: white;
    background-color: #B64F4F;
}

.as-mailchimp-subscription input[type=submit]:hover {
    background-color: #444;
}

.mc4wp-response {
    margin-top: 1rem;
}

/* FOOTER */

footer img {
    margin-top: 25px;
    max-width: 150px;
}


/* PAGE «HOME» */

.as-lead-section div {
    padding-top: 0;
}

.as-lead p {
    font-size: 1.4rem;
    line-height: 1.8rem;
}

#as-section-vision {
    padding-top: 0;
}

#as-section-vision .et_pb_row_1 {
    padding-top: 0;
}

#as-section-vision h1 {
    padding-bottom: 0;
    margin-bottom: 0;
}

#as-section-projekt h1 {
    margin-bottom: 0;
    padding-bottom: 0;
    
}

#as-section-projekt .et_pb_image_wrap {
    width: 90%;
    border-radius: 100%;
    margin-bottom: 1rem;
}

#as-section-projekt img {
    border-radius: 100%;
}

#as-section-aesch h1 {
    margin-bottom: 0;
    padding-bottom: 0;
    
}

/* PAGE «VISION» */

#as-section-news article {
    background-color: var(--as-blue);
    border: 0;
}

/* PAGE «PROJEKT» */

#as-plan-caption p {
    padding-bottom: 0.5rem;
}

#as-plan-caption ul {
    padding-bottom: 2rem;
}

.as-key-figures-outer {
    position: relative;
    width: 100%; /* desired width */  
}

.as-key-figures-outer:before {
  content: "";
  display: block;
  padding-top: 100%;
  /* height in relation to width */
}

.as-key-figures-inner {
    font-weight: 500;
    color: var(--as-red);
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    line-height:100%;
    height:100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#as-key-figure-1 .as-big-text,
#as-key-figure-3 .as-big-text {
    font-size: 10rem;
}

#as-key-figure-2 .as-big-text {
    font-size: 4.5rem;
}

.as-small-text {
    font-size: 1.5rem;
}

.as-owner-text {
    border-top: 1px solid black;
    padding-top: 1.8rem;
}


/* PAGE «AESCH» */

/* Aktuelle Projekte */
/* accordeon */

.as-column-1, .as-column-2 {
    width: 45%;
    float: left;
}

.as-column-1 {
    margin-right: 5%;
}



/* NEWS */

#sidebar a {
    color: var(--as-red);
}

.post-date {https://www.aeschsoleil.ch/ueber-aesch-scheint-die-sonne/
    display: block;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

#as-news-section .et_pb_salvattore_content {
    /* display: grid; */
}



/* MOBILE */

/*** Responsive Styles Large Desktop And Above ***/
@media all and (min-width: 1405px) {
  
}
 
/*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 1100px) and (max-width: 1405px) {
 
}
 
/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {
    
    .et_pb_fullwidth_header .header-content {
    	width: 80%;
    }  

    /* accordeon */    
    .as-column-1, .as-column-2 {
        width: 100%;
    }
    .as-column-1 {
        margin-right: 0%;
        margin-bottom: 2rem;
    }

    
    
}
 
/*** Responsive Styles Tablet Only ***/
@media all and (min-width: 768px) and (max-width: 980px) {

}
 
/*** Responsive Styles Smartphone Only ***/

@media all and (max-width: 767px) {

    .et_pb_fullwidth_header .et_pb_fullwidth_header_container {
        width: 100%;
    }

     .et_pb_fullwidth_header .header-content {
    	width: 100%;
    }
    
    .et_pb_header_content_wrapper {
        margin: 24px 18px
    }
    
    .et_pb_fullwidth_header_container.left h2 {
        font-size: 1.2rem;
    }
    
}
 
/*** Responsive Styles Smartphone Portrait ***/
@media all and (max-width: 479px) {
 
}


/* adjust image/text order on mobile */



@media all and (max-width: 980px) {
/*** wrap row in a flex box ***/
.custom_row {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
-webkit-flex-wrap: wrap; /* Safari 6.1+ */
flex-wrap: wrap;
}
 
/*** custom classes that will designate the order of columns in the flex box row ***/
.first-on-mobile {
-webkit-order: 1;
order: 1;
}

.first-on-mobile img {
    margin-bottom: 2rem;
}
 
.second-on-mobile {
-webkit-order: 2;
order: 2;
}
 
.third-on-mobile {
-webkit-order: 3;
order: 3;
}
 
.fourth-on-mobile {
-webkit-order: 4;
order: 4;
}
/*** add margin to last column ***/
.custom_row:last-child .et_pb_column:last-child {
margin-bottom: 30px;
}
 
}
