/*
Theme Name: era-dynamic
Description: Website für Elisabeth Ruge Agentur
Version: 0.7
Author: Jens Nikolaus
Author URL: http://jensnikolaus.com
*/

@import "reset.css";

html {
  font-family: Montserrat, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: garamond-premier-pro, Garamond, serif;
  color: #1b1b1b;
  font-size: 15px;
}

.wrapper {
  margin: 0 auto;
  max-width: 1080px;
  padding: 0 5%;
}

p {
  font-size: 1.6em;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1, h2, h3, h4, h5 {
  font-family: Montserrat, Arial, "Helvetica Neue", sans-serif;
  text-align: center;
  text-transform: uppercase;
}

h1 {
  font-weight: 500;
}

h2 {
  font-size: 5.5em;
  line-height: 1;
  font-weight: 700;
  color: #999;
}

h3 {
  font-size: 1.7em;
  margin: 0.5em 0 0;
  font-weight: 500;
}

h4 {
  font-size: 2.4em;
  font-weight: 500;
  color: #c4171a;
}

h5 {
  font-size: 1.3em;
  font-weight: 700;
  color: #999;
  display: inline-block;
  /*max-width: 160px;*/
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: left;
  margin: 1em 0 0;
}

h5 + p,
h4 + p {
  margin-top: 0;
}

a {
  color: #c4171a;
}
  .button {
    font-family: Montserrat, Arial, "Helvetica Neue", sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #c4171a;
  }
/* Hero */
.hero {
  position: relative;
  background: url(https://elisabeth-ruge-agentur.de/wp-content/themes/era-phase2/static/images/himalaya.jpg) no-repeat;
  background-size: cover;
  background-position: 50% 20%;
  overflow: hidden;
  min-height: 400px;
}
  .hero h1 {
    color: white;
    font-size: 6em;
    font-weight: 700;
    width: 80%;
    height: 50%;
    overflow: hidden;
    margin: auto;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
  }

/* Info */
.info {
  padding: 1% 5%;
  background-color: #c4171a;
  text-align: center;
  font-family: Montserrat, Arial, "Helvetica Neue", sans-serif;
  color: white;
  font-weight: 200;
  font-size: 0.6em;
  margin-bottom: 1.5em;
}
  .info p {
    margin: 0;
  }
  .info p a {
    color: white;
  }

/* Main Menu */
.menu {
  text-align: center;
  margin: 5%;
}

.menu li {
  font-family: Montserrat, Arial, "Helvetica Neue", sans-serif;
  font-size: 2em;
  font-weight: 500;
  display: inline-block;
  margin-right: 5%;
}
  .menu li:last-child {
    margin-right: 0;
  }

.menu a {
  text-decoration: none;
  color: #1b1b1b;
  border-bottom: 2px solid #1b1b1b;
}
  .menu a:hover {
    border: none;
    color: #c4171a;
  }

/*Second level Main Menu*/

.level2-navigation {
  overflow: hidden;
  margin-bottom: 5%;
}

.level2-navigation .anchor {
  float: left;
}

  .anchor img {
    float: left;
    margin-right: 20px;
    width: 163px;
  }

  .anchor h5 {
    max-width: 160px;
  }

  .anchor:hover h5 {
    color: #1b1b1b;
  }

.level2-navigation .menu {
  float: right;
  text-align: left;
  margin: 2.3em 5% 0 0;
}

  .level2-navigation .menu li {
    font-size: 1.5em;
    float: left;
    margin-right: 1.5em;
  }

/*Third level Menu*/
.level3-navigation .menu {
  text-align: center;
  margin: 5% 0;
}

  .level3-navigation .menu li {
    font-size: 1.5em;
    margin-right: 1.5em;
  }
  .level3-navigation .menu li:last-child {
    margin-right: 0;
  }

.level3-navigation .menu .kurs {
  font-size: 1em;
  margin-bottom: 1em;
  
}

.level3-navigation .menu .kurs a {
  color: #c4171a;
  border-bottom-color: #c4171a;
}

/* Footer Menu */
.menu-footer-container {
  text-align: center;
  margin: 5% 0;
}

.menu-footer-container li {
  font-family: Montserrat, Arial, "Helvetica Neue", sans-serif;
  font-size: 0.9em;
  font-weight: 500;
  display: inline-block;
  margin-right: 15%;
}
  .menu-footer-container li:last-child {
    margin-right: 0;
  }

.menu-footer-container a {
  text-decoration: none;
  border: none;
  color: #999;
}
  .menu-footer-container a:hover {
    border: none;
    color: #c4171a;
  }

/* Author List */
.author-list p {
  text-align: center;
  font-size: 3em;
}
  .author-list p span {
    margin-right: 2%;
  }
    .author-list p span:last-child {
      margin-right: 0;
    }

  .author-list p span:nth-child(odd) {
    font-style: italic;
  }

/* Team List */
.team-list {
  overflow: hidden;
  max-width: 640px;
  margin: 0 auto;
}

  .team-list li {
    float: left;
    width: calc(60%/2);
    margin-bottom: 1.5em;
    margin-right: 5%;
  }



  .team-list li:nth-child(3) {
    margin-right: 0;
  }
  
  .team-list img {
    width: 100%;
    height: auto;
  }

.page-template-page-mitarbeiter ul h4 {
  margin: 0 auto;
  line-height: 1.6em;
}

/* Team List 2 */
.sec-list {
  overflow: hidden;
  max-width: 640px;
  margin: 0 auto;
}

  .sec-list li {
    float: left;
    width: calc(60%/2);
    margin-bottom: 1.5em;
    margin-right: 5%;
  }



  .sec-list li:nth-child(3) {
    margin-right: 0;
  }
  
  .sec-list img {
    width: 100%;
    height: auto;
  }

.page-template-page-mitarbeiter ul h4 {
  margin: 0 auto;
  line-height: 1.6em;
}


/* Team List ER */
.team-list-er {
  overflow: hidden;
  max-width: 640px;
  margin: 0 auto;
	background: #000;
}

  .team-list-er li {
    width: calc(60%/2);
    margin-bottom: 1.5em;
    margin-right: 5%;
  }

  .team-list-er li:nth-child(3) {
    margin-right: 0;
  }
  
  .team-list-er img {
    width: 100%;
    height: auto;
  }

.page-template-page-mitarbeiter ul h4 {
  margin: 0 auto;
  line-height: 1.6em;
}

/* Blog */
.blog-info {
  text-align: center;
  border-bottom: 1px solid #CCC;
  padding-bottom: 1em;
}
  .blog-info p {
    font-size: 2em;
    padding: 0 10%;
  }

article {
  max-width: 800px;
  margin: 0 auto 5%;
}
  article h4 {
    text-align: left;
    text-transform: none;
    margin-bottom: 0.5em;
  }
  
  article .date {
    font-family: Montserrat, Arial, "Helvetica Neue", sans-serif;
    color: #999;
    font-size: 1.2em;
  }

  article .video-embed-wrapper {
    text-align: left;
  }

  .termin {
    text-align: center;
  }
  .termin:last-child {
    margin-bottom: 10%;
  }

    .termin h3+h4 {
      margin: 0 0 1em;
      text-transform: none;
    }

 article ul {
  font-size: 1.6em;
  list-style: square;
 }

 article .alignleft {
  float: left;
  margin: 0 1.5em 1em 0;
 }

 article h3 {
  margin: 5% 0;
 }
  
/* Autoren Grid */
.author-grid {
  overflow: hidden;
  margin-bottom: 10%;
}

.square {
  float:left;
  position: relative;
  width: 30%;
  padding-bottom : 40%; /* = width for a 1:1 aspect ratio */
  margin:1.66%;
  /*background-color:#1E1E1E;*/
  overflow:hidden;
}

.content {
  position:absolute;
  height:100%; /* = 100% - 2*5% padding */
  width:100%; /* = 100% - 2*5% padding */
  
}
.table {
  display:table;
  width:100%;
  height:100%;
  table-layout: fixed;
}
.table-cell {
  display:table-cell;
  vertical-align:top;
}

.square h2 {
  font-size: 20em;
  color: #c4171a ;
  margin: 0;
}

.square img {
  width:auto;
  height:auto;
  max-height:90%;
  max-width:100%;
}

.category-W h2 {
  font-size: 18em;
}

/*Schreibkurse*/

.schreibkurse article {
  max-width: inherit;
  text-align: center;
  margin-bottom: 10%;
}

  .schreibkurse h4 {
    text-align: center;
    margin-bottom: 0;
  }

  .schreibkurse h5,
  .schreibkurse-detail h5 {
    max-width: inherit;
    margin-bottom: 0.5em;
  }

  .page-template-page-schreibkurse .termin {
    margin-bottom: 5em;
  }

.schreibkurse-dates {
  font-family: Montserrat, sans-serif;
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1.7em;

}

.video-embed-wrapper {
  margin: 0 auto 1.5em;
  text-align: center;
}
  .video-embed-wrapper .button {
    display: inline-block;
    margin-top: 1em;
  }

/*Kontakt*/
.page-template-page-kontakt {
  background-color: #c4171a;
}

  .page-template-page-kontakt h2,
  .page-template-page-kontakt p,
  .page-template-page-kontakt .menu a,
  .page-template-page-kontakt .anchor h5 {
    color: white;
  }
  .page-template-page-kontakt .level2-navigation .menu a {
    border-bottom-color: white;
  }

.cf-ol {
    list-style: none;
    margin: 0;
    padding: 0;
}
.cf-ol label, .cf_hidden, .linklove {
    display: none;
}
.cf-ol .area {
    height: 12vw;
}
.cf_info {
    text-align: center;
    padding: 0 10vw;
}

.kontaktformular, .contact-form {
    width: calc((100%/3)*2);
    margin: 5% auto 0;
}
.kontaktformular input, .kontaktformular textarea, .send-message input, .send-message textarea,
.contact-form input, .contact-form textarea {
    width: 100% !important;
    margin: 0 auto 20px !important;
    border: 0;
    border-bottom: 1px solid gray;
    font-size: 2em;
    resize: none;
    outline: 0;
    border-radius: 0;
    background-image: none;
	max-width: none !important;
}
.send-message input:focus, .send-message textarea:focus {
    border-color: #c4171a;
}
.kontaktformular input.sendbutton, .send-message input.submit, .contact-form input.submit, .contact-form .pushbutton-wide {
    display: inline-block;
    border: 0;
    background: inherit;
    font-family: Montserrat, sans-serif;
    text-decoration: underline;
    font-size: 1.5em;
}
.send-message:focus, .send-message:hover, .pushbutton-wide:focus, .pushbutton-wide:hover {
    color: #c4171a;
    border-color: #c4171a;
}

.page-template-page-kontakt-php .kontaktformular input, .page-template-page-kontakt-php .kontaktformular textarea, .contact-form textarea, .contact-form input {
    border: 0;
    padding: 15px;
}
.page-template-page-kontakt-php .kontaktformular input.sendbutton, .contact-form .pushbutton-wide {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 1px;
    font-size: 1em;
}

.contact-form div label {
	display: none !important;
}

#contact-form-881 h3 {
	color: white !important;
}

#contact-form-881 a {
	color: white !important;
}

/*Impressum*/
.page-id-13 {
  text-align: center;
}

.video-embed-wrapper,
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}
 
.video-embed-wrapper iframe,
.video-embed-wrapper object,
.video-embed-wrapper embed,
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-width : 320px) 
and (max-width : 480px) {
/* Styles */
body {
  font-size: 11px;
}

.hero {
  min-height: 150px;
}
  .hero h1 {
    font-size: 2.6em;
  }

.info {
  font-size: 0.8em;
}

h2 {
  font-size: 2.5em;
}

h4 {
  font-size: 1.5em;
}

.author-list p {
  font-size: 2.4em;
 }
  .author-list p span {
    display: block;
  } 

.team-list .left {
  margin-right: 0;
}
.team-list .left, .team-list .right {
  width: 100%;
  text-align: center;
}
  .team-list img {
    width: 66%;
  }

.menu li,.menu-footer-container li {
  display: block;
  margin-right: 0;
  line-height: 1.5em;
}
  .menu-footer-container li {
    font-size: 1.2em;
    line-height: 2em;
  }

.square {
  width: 46%;
  padding-bottom: 60%;
}

.square h2 {
  font-size: 16em;
}

.square h3,
.team-list h3 {
  font-size: 1.2em;
  font-weight: 500;
}

.team-list img {
  width: 100%;
}

.level2-navigation .menu {
  float: right;
  text-align: left;
  margin: 2.3em 5%;
}

.anchor img {
  width: 80px;
}

article img {
  width: 100%;
}

.level3-navigation .menu li {
  margin-right: 0;
}

.kontaktformular {
  width: 100%;
}

}

/* iPads (portrait and landscape) ----------- */
@media only screen 
and (max-width : 1024px) {

.square {
/*  width: 46%;
  padding-bottom: 60%;*/
}

.square h2 {
  font-size: 16em;
}

.square h3,
.team-list h3 {
  font-size: 1.2em;
  font-weight: 500;
}

.team-list img {
  width: 100%;
}

}

/*Debug*/
/** {
  background: #000 !important;
  color: #0f0 !important;
  outline: solid #f00 1px !important;
}*/