/*-----------------------------------------------------------------------------------

   Theme Name: ERS
   Description:A custom made wordpress theme created for EDUARD RHEIN STIFTUNG
   Author: BOLD | concept design shape
   Author URI: http://www.whatsbold.com
   Version: 1.0

-----------------------------------------------------------------------------------*/
@import url(assets/css/normalize.css);
/************************************************************************************
**
** VARIABLES
**
************************************************************************************/
/*-----------------------------------------------------------------------------------
**
** TABLE OF CONTENT
**
** 01 - FONT FACES
** 02 - GENERAL SETUP
** 03 - TYPOGRAPHY 
** 04 - THE GRID 
** 05 - NAVIGATION
** 06 - FORMS
** 07 - CONTENT ELEMENTS
** 08 - LANGUAGE SWITCH
** 09 - 
** 10 - SLIDER (OWL-CAROUSSEL)
**  
**-----------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------
**
** 01 - FONT FACES
**   
**-----------------------------------------------------------------------------------*/
@font-face {
  font-family: 'AvenirNextLTPro';
  src: url("assets/css/fonts/AvenirNextLTPro-Regular.eot?#iefix") format("embedded-opentype"), url("assets/css/fonts/AvenirNextLTPro-Regular.otf") format("opentype"), url("assets/css/fonts/AvenirNextLTPro-Regular.woff") format("woff"), url("assets/css/fonts/AvenirNextLTPro-Regular.ttf") format("truetype"), url("assets/css/fonts/venirNextLTPro-Regular.svg#AvenirNextLTPro-Regular") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'AvenirNextLTPro';
  src: url("assets/css/fonts/AvenirNextLTPro-Demi.eot?#iefix") format("embedded-opentype"), url("assets/css/fonts/AvenirNextLTPro-Demi.otf") format("opentype"), url("assets/css/fonts/AvenirNextLTPro-Demi.woff") format("woff"), url("assets/css/fonts/AvenirNextLTPro-Demi.ttf") format("truetype"), url("assets/css/fonts/venirNextLTPro-Demi.svg#AvenirNextLTPro-Demi") format("svg");
  font-weight: bold;
  font-style: normal;
}

/*-----------------------------------------------------------------------------------
**
** 02 - GENERAL SETUP
**   
**-----------------------------------------------------------------------------------*/
* {
  box-sizing: border-box;
}

.group:after {
  content: "";
  display: block;
  clear: both;
}

body {
  background: url("assets/img/ERS_Background.jpg") no-repeat top right;
  background-size: contain;
}

#globalContainer {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

#ersLogo .logoType {
  text-align: left;
  margin-top: 30px;
  padding-bottom: 1.3em;
  text-align: justify;
}

#ersLogo .logoType .first {
  color: #fb7d5b;
  letter-spacing: 0.1em;
}

#ersLogo .logoType .second {
  color: #fb7d5b;
  letter-spacing: 0.42em;
}

#ersLogo .logoType .third {
  color: #d07961;
  font-weight: normal;
}

#ersLogo .logoType:after {
  content: "";
  display: block;
  width: 140px;
  height: 4px;
  background-color: #fb7d5b;
  margin: 0;
  position: relative;
  top: 30px;
}

.topBox {
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: right;
  left: 0;
  z-index: 999;
  background: #ffffff;
  margin-bottom: 10px;
}

.topBox #quicksearch {
  width: 320px;
  text-align: right;
  display: inline-block;
}

.topBox #quicksearch #searchform-small input {
  background: #efeded;
  color: #5e4f4a;
  display: inline-block;
  margin: 0;
  width: 280px;
  padding: 7px 10px;
}

.topBox #quicksearch #searchform-small input[type="submit"] {
  width: 30px;
  border: none;
}

#content {
  margin-top: 210px;
}

#content section {
  margin-bottom: 120px;
}

header {
  margin-top: 45px;
}

footer {
  max-width: 1200px;
  margin: 0 auto;
}

footer p {
  border-top: 4px solid #dfdcdb;
  width: 83.333%;
  margin-left: 16.667%;
  text-align: right;
  color: #a69e9b;
  padding-top: 15px;
}

/*-----------------------------------------------------------------------------------
**
** 03 - TYPOGRAPHY
**   
**-----------------------------------------------------------------------------------*/
body {
  font-size: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, p, ul, ol, li {
  color: #5e4f4a;
  font-family: 'AvenirNextLTPro', sans-serif;
  font-size: 1em;
  font-style: normal;
  font-weight: normal;
  line-height: 1em;
  margin: 0;
  padding: 0;
}

h1 {
  color: #fb7d5b;
  font-size: 3em;
  font-weight: bold;
  line-height: 1em;
  padding-bottom: 1.5em;
  text-transform: uppercase;
  text-align: center;
}

h2 {
  font-size: 3em;
  font-weight: bold;
  line-height: 1em;
  padding-bottom: 3em;
  text-transform: uppercase;
  text-align: center;
}

h2:after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background-color: #fb7d5b;
  margin: 0 auto;
  position: relative;
  top: 45px;
}

h3 {
  color: #fb7d5b;
  font-size: 2em;
  line-height: 1em;
  font-weight: bold;
  text-transform: uppercase;
  margin-top: 3em;
  margin-bottom: 0.5em;
}

h4 {
  font-size: 3em;
  font-weight: bold;
  line-height: 1em;
  padding-bottom: 0.5em;
  text-transform: uppercase;
  text-align: center;
}

h5 {
  color: #fb7d5b;
  font-size: 1.5em;
  line-height: 1.5em;
  font-weight: bold;
  text-transform: uppercase;
}

p {
  color: #111111;
  font-size: 1.5em;
  line-height: 1.66em;
  margin-bottom: 1.66em;
}

p.small {
  font-size: 1.2em;
}

strong {
  font-weight: bold;
  color: #5e4f4a;
}

a {
  text-decoration: none;
  color: #fb7d5b;
}

a:hover {
  color: #d07961;
}

p a {
  font-size: 1em;
}

ul, ol {
  margin: 1em 0 1em 1.5em;
  padding: 0;
  list-style: disc;
}

li {
  font-size: 1em;
  color: #5e4f4a;
  font-size: 1.5em;
  line-height: 1.66em;
  margin-bottom: 0em;
}

td {
  font-size: 1em;
  color: #5e4f4a;
  font-size: 1.5em;
  line-height: 1.66em;
  margin-bottom: 0em;
}

/*-----------------------------------------------------------------------------------
**
** 04 - THE GRID
**   
**-----------------------------------------------------------------------------------*/
.theGrid {
  position: relative;
  margin: 0 auto;
  width: 100%;
}

.theGrid .ge1, .theGrid .ge2, .theGrid .ge3, .theGrid .ge4, .theGrid .ge5, .theGrid .ge6, .theGrid .ge7, .theGrid .ge8, .theGrid .ge9, .theGrid .ge10, .theGrid .ge11, .theGrid .ge12,
.theGrid .ge13, .theGrid .ge14, .theGrid .ge15, .theGrid .ge16, .theGrid .ge17, .theGrid .ge18, .theGrid .ge19, .theGrid .ge20, .theGrid .ge21, .theGrid .ge22, .theGrid .ge23, .theGrid .ge24,
.theGrid .ge20pct {
  float: left;
  padding: 0 2.5%;
  position: relative;
}

.theGrid .ge1.nomargin, .theGrid .ge2.nomargin, .theGrid .ge3.nomargin, .theGrid .ge4.nomargin, .theGrid .ge5.nomargin, .theGrid .ge6.nomargin, .theGrid .ge7.nomargin, .theGrid .ge8.nomargin, .theGrid .ge9.nomargin, .theGrid .ge10.nomargin, .theGrid .ge11.nomargin, .theGrid .ge12.nomargin,
.theGrid .ge13.nomargin, .theGrid .ge14.nomargin, .theGrid .ge15.nomargin, .theGrid .ge16.nomargin, .theGrid .ge17.nomargin, .theGrid .ge18.nomargin, .theGrid .ge19.nomargin, .theGrid .ge20.nomargin, .theGrid .ge21.nomargin, .theGrid .ge22.nomargin, .theGrid .ge23.nomargin, .theGrid .ge24.nomargin,
.theGrid .ge20pct.nomargin {
  padding: 0;
}

.theGrid .ge1 img, .theGrid .ge2 img, .theGrid .ge3 img, .theGrid .ge4 img, .theGrid .ge5 img, .theGrid .ge6 img, .theGrid .ge7 img, .theGrid .ge8 img, .theGrid .ge9 img, .theGrid .ge10 img, .theGrid .ge11 img, .theGrid .ge12 img,
.theGrid .ge13 img, .theGrid .ge14 img, .theGrid .ge15 img, .theGrid .ge16 img, .theGrid .ge17 img, .theGrid .ge18 img, .theGrid .ge19 img, .theGrid .ge20 img, .theGrid .ge21 img, .theGrid .ge22 img, .theGrid .ge23 img, .theGrid .ge24 img,
.theGrid .ge20pct img {
  max-width: 100%;
  height: auto;
}

.theGrid .ge1 {
  width: 4.166%;
}

.theGrid .ge2 {
  width: 8.333%;
}

.theGrid .ge3 {
  width: 12.5%;
}

.theGrid .ge4 {
  width: 16.666%;
}

.theGrid .ge5 {
  width: 20.833%;
}

.theGrid .ge6 {
  width: 25%;
}

.theGrid .ge7 {
  width: 29.166%;
}

.theGrid .ge8 {
  width: 33.333%;
}

.theGrid .ge9 {
  width: 37.5%;
}

.theGrid .ge10 {
  width: 41.666%;
}

.theGrid .ge11 {
  width: 45.833%;
}

.theGrid .ge12 {
  width: 50%;
}

.theGrid .ge13 {
  width: 54.166%;
}

.theGrid .ge14 {
  width: 58.333%;
}

.theGrid .ge15 {
  width: 62.5%;
}

.theGrid .ge16 {
  width: 66.666%;
}

.theGrid .ge17 {
  width: 70.833%;
}

.theGrid .ge18 {
  width: 75%;
}

.theGrid .ge19 {
  width: 79.166%;
}

.theGrid .ge20 {
  width: 83.333%;
}

.theGrid .ge21 {
  width: 87.5%;
}

.theGrid .ge22 {
  width: 91.666%;
}

.theGrid .ge23 {
  width: 95.833%;
}

.theGrid .ge24 {
  width: 100%;
}

.theGrid .ge20pct {
  width: 20%;
}

.theGrid .ge24.opener p {
  font-size: 2.5em;
  color: #5e4f4a;
}

/*-----------------------------------------------------------------------------------
**
** 05 - NAVIGATION
**   
**-----------------------------------------------------------------------------------*/
header nav.menu-main a#menu-main-anchor {
  display: none;
}

header nav.menu-main ul {
  list-style: none;
  margin: 0;
}

header nav.menu-main ul li {
  font-size: 1em;
  line-height: 1em;
  margin: 3em 0 0 0;
  padding: 0;
}

header nav.menu-main ul li a {
  color: #5e4f4a;
  font-size: 1.5em;
  font-weight: bold;
  letter-spacing: 0.25em;
  line-height: 1em;
  text-transform: uppercase;
}

header nav.menu-main ul li a:hover {
  color: #d07961;
}

header nav.menu-main ul li.current-menu-item > a, header nav.menu-main ul li.current_page_ancestor > a {
  color: #fb7d5b;
}

header nav.menu-main ul li.current-menu-item ul.sub-menu, header nav.menu-main ul li.current_page_ancestor ul.sub-menu {
  display: block;
}

header nav.menu-main ul.sub-menu {
  display: none;
}

header nav.menu-main ul.sub-menu li {
  margin-top: 1.5em;
}

header nav.menu-main ul.sub-menu li a {
  font-weight: normal;
  letter-spacing: 0em;
  text-transform: none;
}

body.single-awardee nav.menu-main #menu-item-32 > a {
  color: #fb7d5b;
}

body.single-awardee nav.menu-main #menu-item-32 ul.sub-menu {
  display: block;
}

/*-----------------------------------------------------------------------------------
**
** 06 - FORMS
**   
**-----------------------------------------------------------------------------------*/
input {
  background: #e3e0e0;
  border: none;
  display: block;
  outline: none;
  color: #5e4f4a;
  padding: 5px 5px;
  width: 100%;
  margin-bottom: 2em;
  font-size: 1.5em;
}

textarea {
  background: #e3e0e0;
  border: none;
  display: block;
  outline: none;
  color: #5e4f4a;
  width: 100%;
  min-height: 160px;
  margin-bottom: 2em;
}

label {
  color: #a69e9b;
  font-size: 1.2em;
  font-weight: bold;
}

input[type="submit"], button[type="submit"] {
  background: none;
  border-bottom: 4px solid #fb7d5b;
  text-transform: uppercase;
  font-weight: bold;
  color: #fb7d5b;
}

input[type="submit"]:hover, button[type="submit"]:hover {
  background: #fb7d5b;
  color: #FFFFFF;
}

input[type="checkbox"] {
  width: auto;
  display: inline;
  margin: 0 10px 20px 0;
}

.signupError {
  display: none;
}

.errorBorder {
  border: 1px solid #FF0000;
}

/*-----------------------------------------------------------------------------------
**
** 07 - CONTENT ELEMENTS
**   
**-----------------------------------------------------------------------------------*/
.impressionSlider {
  width: 100%;
  height: auto;
}

.impressionSlider .slides {
  width: 100%;
  height: auto;
}

.impressionSlider .slides img {
  width: 100%;
  height: auto;
}

.impressionSlider .contentOverlay {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  margin-left: 5%;
}

.impressionSlider .contentOverlay h2 {
  color: #ffffff;
  text-align: left;
  padding-bottom: 1.5em;
}

.impressionSlider .contentOverlay h2:after {
  content: none;
}

.impressionSlider .contentOverlay h3 {
  color: #ffffff;
  text-align: left;
}

.impressionSlider .contentOverlay p {
  color: #ffffff;
  text-align: left;
  width: 40%;
}

.portrait {
  background: url("assets/img/placeholder-portrait.jpg") no-repeat center center;
  background-size: cover;
}

.ringbearerPresent {
  width: 90% !important;
  margin-left: 5%;
  margin-right: 5%;
}

.ringbearerPresent .portrait {
  width: 40%;
  padding-top: 0%;
  float: left;
  margin-left: 5%;
  margin-right: 5%;
  position: relative;
}

.ringbearerPresent .portrait img {
  position: relative;
  top: 0;
}

.ringbearerPresent h3 {
  margin-top: 0;
}

.ringbearerPast .portrait {
  width: 100%;
  padding-top: 125%;
  position: relative;
  margin-bottom: 30px;
}

.ringbearerPast h5 {
  background: rgba(255, 255, 255, 0.5);
  position: absolute;
  bottom: 30px;
  width: 75%;
  text-align: center;
  padding: 5%;
  font-size: 1.2em;
  line-height: 1.2em;
}

.award > .portrait {
  width: 100%;
  padding-top: 125%;
}

.award.singleAward {
  text-align: center;
}

.awardees {
  text-align: center;
  margin-bottom: 30px;
}

.awardees .portrait {
  padding-top: 120%;
  position: relative;
}

.awardees .portrait img {
  position: absolute;
  top: 0;
  left: 0;
}

.awardees .portrait.portraitAvailable {
  padding-top: 0;
  background: none;
}

.awardees .portrait.portraitAvailable img {
  position: relative;
}

.awardees .awardee {
  position: relative;
}

.awardees .awardee h5 {
  background: none;
  position: relative;
  bottom: 0px;
  width: auto;
  text-align: center;
  padding: 5%;
  font-size: 1.2em;
  line-height: 1.2em;
  display: block;
  left: 0;
  right: 0;
}

.singlePost {
  text-align: center;
}

.ge12 h2, .ge12 h3, .ge12 p {
  text-align: left;
}

.ge12 h2:after {
  margin: 0;
}

.ge12 p.postTags {
  margin-bottom: 0.5em;
}

.ge12 p.postTags a {
  color: #a69e9b;
  text-transform: uppercase;
  font-weight: bold;
}

.postImage {
  margin-bottom: 30px;
}

.ge24.cta {
  background: url("assets/img/cta_background.jpg") no-repeat center center;
  background-size: cover;
  height: 120px;
  width: 95%;
  margin: 0 2.5% 0 2.5%;
  padding: 45px 0 0 90px;
}

.ge24.cta:after {
  content: '';
  display: block;
  background: url("assets/img/cta_arrow.jpg") no-repeat center center;
  background-size: cover;
  height: 120px;
  position: absolute;
  left: 0;
  top: 0;
  width: 90px;
}

.ge24.cta h1 {
  padding: 0;
  display: inline-block;
  vertical-align: top;
}

.ge24.cta h1:after {
  content: none;
}

.ge24.cta h1 a {
  color: #fb7d5b;
}

.ge24.cta h1 a:hover {
  color: #d07961 !important;
}

.ge24.cta #newsletterSubscription {
  display: inline-block;
  vertical-align: top;
  margin-left: 60px;
}

.ge24.cta #newsletterSubscription input {
  display: inline-block;
  color: #FFFFFF;
  width: auto;
  margin: 0;
  background: #fb7d5b;
}

.ge24.cta #newsletterSubscription input[type="submit"] {
  border-bottom: none;
  width: 27px;
}

.ge24.cta.ctaChronologie {
  padding: 30px 0 0 90px;
}

#wpadminbar {
  display: none;
}

/*-----------------------------------------------------------------------------------
**
** 08 - LANGUAGE SWITCH
**   
**-----------------------------------------------------------------------------------*/
#languageMenu {
  display: inline-block;
}

#languageMenu ul {
  list-style: none;
}

#languageMenu ul li {
  display: inline-block;
  margin: 0 5px;
}

#languageMenu ul li.selected a {
  font-weight: bold;
  color: #5e4f4a;
}

#languageMenu ul li a {
  text-transform: uppercase;
}

/*-----------------------------------------------------------------------------------
**
** 10 - SLIDER (OWL-CAROUSSEL)
**   
**-----------------------------------------------------------------------------------*/
.owl-controls {
  height: 50px;
}

.owl-controls .owl-dots {
  bottom: 0;
  position: absolute;
  width: 100%;
  text-align: center;
}

.owl-controls .owl-dots .owl-dot {
  background: #a69e9b;
  border-radius: 100%;
  display: inline-block;
  height: 8px;
  margin: 0 4px;
  overflow: hidden;
  padding-bottom: 0;
  text-indent: -9999px;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  white-space: nowrap;
  width: 8px;
}

.owl-controls .owl-dots .owl-dot:hover, .owl-controls .owl-dots .owl-dot.active {
  background: #fb7d5b;
}

.owl-controls .owl-nav .owl-prev,
.owl-controls .owl-nav .owl-next {
  background: url("assets/img/ui_symbols.png") no-repeat;
  width: 50px;
  height: 50px;
  display: block;
  overflow: hidden;
  text-indent: -999em;
  top: 50%;
  margin-top: -25px;
  position: absolute;
}

.owl-controls .owl-nav .owl-prev {
  background-position: -0px -0px;
  left: 0;
}

.owl-controls .owl-nav .owl-prev:hover {
  background-position: -50px -0px;
}

.owl-controls .owl-nav .owl-next {
  background-position: -0px -50px;
  right: 0;
}

.owl-controls .owl-nav .owl-next:hover {
  background-position: -50px -50px;
}
