@import url("/ullCorePlugin/css/main_responsive_mobile.css") (max-width: 511px);
/* @import "custom_multi_format.css"; */

/*
 * ************************************************
 *  Common (basic styles e.g. links, headings, ...)
 * ************************************************
 */
 
body {
  font-size: 100%;  
  font-family: 'Montserrat', sans-serif;
  background-color: white;
  color: #0e273b;
  margin: 0 0 10em 0;
}

@media (max-width: 1024px) {
  body {
    font-size: 95%;
  }
}

@media (max-width: 900px) {
  body {
    font-size: 90%;
  }
}

b, strong {
  font-weight: 500;
}

p {
  line-height: 1.4em;
  margin-top: 0;
  margin-bottom: 1em;
}

a.link_external {
  background: none;
}

h1,h2,h3,h4 {
  color: #0e273b;
  font-weight: 500;
}

.ghostbutton {
  display: inline-block;
  border-width: 2px;
  border-style: solid;
  padding: 8px 32px;
  background-color: white;
  text-transform: uppercase;
  font-size: 1.4em;
  color: #0e273b;  
  border-radius: 0; /* iOS */
}

.ghostbutton_slim {
  display: inline-block;
  border-width: 2px;
  border-style: solid;
  padding: 2px 32px 1px 32px;
  background-color: white;
  text-transform: uppercase;
  font-size: 1.35em;  
  border-color: #0e273b;
  color: #0e273b;
  border-radius: 0; /* iOS */
}

.ghostbutton:hover,
.ghostbutton_slim:hover {
  background-color: #0e273b;
  color: white !important;
  opacity: 1;
}



@media (max-width: 759px) {

  table {
    overflow-x: auto;
    display: block;
  }
  
}
/*
 * ************************************************
 *  Layout
 * ************************************************
 */

#page {
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  background-color: white;
  position: relative;
} 

#breadcrumbs {
  display: none;
}

.edit_action_buttons {
  line-height: 1.4em;
  font-size: .9em;
}

.edit_action_buttons h3 {
  display: none;
}

.ull_cms_show #container {
  width: 761px;
}


/* do not show inline editing switch on small displays */
@media (max-width: 900px) {
  #ull_cms_switch {
    display: none;
  }
}

/* responsive content left/right padding */
@media (max-width: 479px) {
  main {
    padding: 0 16px;
  }
}

@media (max-width: 399px) {
  main {
    padding: 0 8px;
  }
}


 
/*
 * ************************************************
 *  Header
 * ************************************************
 */
 
header {
  position: relative;
  /* overflow: hidden; */
}

#logo {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  font-size: 0;
  text-align: center;
} 
 
#logo img {
  width: 484px;
  height: auto;
  opacity: .85;
} 

#apply {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  font-size: 0;
  text-align: center;
}

#apply a:hover {
  opacity: 1; 
}

#apply img {
  width: 160px;
  margin-bottom: 110px;
  margin-right: 580px;
}

.cms_page_application-form #apply {
  display: none;
}

#navigation_desktop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

header nav ul {
  list-style-type: none;
  margin: 45px 0 0 0;
  padding: 0;
  text-align: center;
}

header nav ul li {
  display: inline-block;
  margin: 0;
  padding: 0 1em;
}

header nav ul li a, 
header nav ul li a:visited {
  text-transform: uppercase;
  display: block;
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.3em;
  text-shadow: 1.5px 1.5px 0 rgba(0,0,0,.6);
}

header nav ul li a:hover {
  color: #0e273b;
}


ul#language {
  position: absolute;
  top: 45px;
  right: 48px;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

ul#language li {
  margin: 0;
  padding: 3px 10px;
  background-color: white;
  text-transform: uppercase;
  font-weight: 500;
  opacity: .85;
}

ul#language li a {
  color: #0e273b;
  text-decoration: none;
}

ul#language li:hover {
  background-color: transparent;
  opacity: 1;
}

ul#language li:hover a {
  color: white;
}


#menu_button {
  display: none;
}

#social {
  list-style-type: none;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 48px;
  bottom: 20px;
}

.social a {
  display: inline-block;
  /*width: 40px;
  height: 40px;*/
  width: 32px;
  height: 32px;  
  background-repeat: none;
  background-size: contain;
  padding: 0;
  margin: 0;
  margin-left: 22px;
}

.social a.tumblr {
  background-image: url('/images/tumblr.png');
}
.social a.tumblr:hover {
  background-image: url('/images/tumblr-hover.png');
}

.social a.facebook {
  background-image: url('/images/facebook.png');
}
.social a.facebook:hover {
  background-image: url('/images/facebook-hover.png');
}

.social a.instagram {
  background-image: url('/images/instagram.png');
}
.social a.instagram:hover {
  background-image: url('/images/instagram-hover.png');
}

/* header slider */

header .ull_cms_content_heading_edit_link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

#header-flexslider {  
  position: relative;  
}

#header-flexslider ul.slides {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#header-flexslider ul.slides li {
  margin: 0;
  padding: 0;
}

#header-flexslider .slide_container {
  position: relative;
  width: 100%;   /* desired width */  
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;  
}

#header-flexslider .slide_container:before {
  content: "";
  display: block;
  /*padding-top: 36.6%; */ /* 1:2.7 this is the aspect ratio of the images */
  padding-top: 36.6%; /* 1:2.7 this is the aspect ratio of the images */
}



@media (max-width: 900px) {
  
  /*
  header {
    min-height: 66vw;
  }
  */

  #navigation_desktop {
    display: none;
  }
  
  #menu_button {
    display: inherit;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    overflow: hidden;
    border: 4px solid white;
    background-color: white;
  }
  #menu_button img {
    width: 100%;
    height: auto;
  }
  #menu_button:hover {
    opacity: .8;
  }

  #logo {
    padding: 0 16px 0 16px;
    width: calc(100% - 32px);
  }
  
  #logo img {
    width: 100%;
    max-width: 484px;
  }
  
  #apply {
    position: absolute;
    bottom: -80px;
    left: inherit;
    right: 0;
    /* width: 100%; */
    width: auto;
    overflow: hidden;
    font-size: 0;
    text-align: center;
  }
  
  #apply img {
    width: 100px;
    margin: 0 8px 0 0;
  }  
  
  #social {
    top: 16px;
    left: 16px;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 50px;
  }
  
  #social a {
    margin: 0 16px 0 0;
  }
  
  #header-flexslider .slide_container:before {
    content: "";
    display: block;
    /*padding-top: 36.6%; */ /* 1:2.7 this is the aspect ratio of the images */
    padding-top: 64%; /* 1:2.7 this is the aspect ratio of the images */
  }  
}



/* admin menu */

.admin_menu {
  padding: 0 1em 0 1em;
  margin: 0 0 0 0;
  overflow: hidden;
  font-size: .8em;
  padding-bottom: 5px;
}

.admin_menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: inline-block;
  vertical-align: top;
}

.admin_menu > ul > li {
  display: inline-block;
  text-transform: uppercase;
  font-weight: bold;
  margin: 0 2.5em 0 0;
  padding: 0;
}

.admin_menu li li {
  display: list-item;
  text-transform: none;
  font-weight: normal;
  margin: 0 0 0em 0em;
}


@media (max-width: 900px) {
  .admin_menu {
    font-size: .9em;
    padding-top: .5em;
  }
  .admin_menu ul,
  .admin_menu>ul>li {
    display: inline-block;    
  }
  .admin_menu>ul>li>ul {
    margin-bottom: .5em
  }
  .admin_menu li li {
    margin-bottom: 6px;    
  }    
}

/*
 * ************************************************
 *  Footer
 * ************************************************
 */
 
#navigation_mobile {
  position: relative;
  overflow: hidden;
} 
 
#menu_close_button {
  display: inherit;
  position: absolute;
  top: 8px;
  right: 32px;
  width: 45px;
}
#menu_close_button img {
  width: 100%;
  height: auto;
}
#menu_close_button:hover {
  opacity: .8;
}

#navigation_mobile ul {
  float: none;
  margin: 8px 24px;
}
 
#navigation_mobile ul li {
  display: block;
  margin: 0;
  padding: 0;
}

#navigation_mobile nav#main_menu ul li a,
#navigation_mobile nav#secondary_menu ul li a {
  font-size: 1.25em;
  padding: 8px 16px;
}  
 
footer {
  position: relative;
  overflow: hidden;
  text-align: center;
  
  text-decoration: none;
  font-size: 1em;  
  text-transform: uppercase;
}  

footer a,
footer a:visited {
  text-decoration: none;
  color: #0e273b;
}

#footer_line {
  width: 86%;
  display: inline-block;
  border-top: 1px solid #0e273b;
}

#logo_footer img {
  width: 168px;
  height: auto;
  margin: 50px 0 50px 0;
}

footer .main_menu {
  font-weight: 500;
  margin-bottom: 35px;
}

#secondary_menu {
  margin-bottom: 35px;
  text-transform: none;
}

#secondary_menu a {
  font-weight: normal;
}

#copyright a {
  font-weight: normal;
  cursor: default;
}

footer ul {
  display: inline-block;
  list-style-type: none;
  margin: 0;
  padding: 0;
  
}

footer ul li {
  display: inline-block;
  margin: 0;
  padding: 0 16px;
}

footer ul li a, footer ul li a:visited {
  color: #0e273b;
}

footer #sign_up {
  display: none;
}

#socialfooter {
  margin-top: 2em;
}

#socialfooter a {
  display: inline-block;
  width: 32px;
  height: 32px;  
  padding: 0;
  margin: 0;
  margin-left: 22px;
}

#socialfooter a img {
  width: 100%;
}


@media (max-width: 900px) {
  
  footer {
    margin-bottom: 10em;
  }
  
  
  footer .main_menu li {
    display: block;
    font-size: 1.4em;
    line-height: 1.8em;
  } 
}

 
/*
 * ************************************************
 *  Content
 * ************************************************
 */
 
main {
  padding: 7%;
}

main h1 {
  text-transform: uppercase;
  text-align: center;
  font-weight: bold;
}

main a, main a:visited {
  /* color: #d5da3b; */
  font-weight: bold;
  text-decoration: none;
}

/* a {
  color: #961635;
} */

a:hover {
  opacity: .8;
  text-decoration: none;
} 


/* STARTPAGE */

.cms_page_homepage main {
  padding: 0;
}

.cms_page_homepage section {
  padding: 7%;
}

@media (max-width: 900px) {
  .cms_page_homepage section {
    padding-left: 16px;
    padding-right: 16px;
  }
}

section a,
section a:visited {
  color: #c7cd22;
}


/* das haus */

#das_haus > h2 {
  display: inline-block;
  text-transform: uppercase;
  font-weight: normal;
  font-size: 1.2em;
  border-bottom: 2px solid #0e273b;
  padding-bottom: 4px;
}

#das_haus .flex_container {
  display: flex;
  justify-content: space-between;
}

#das_haus .flex_container > div {
  /* width: 43%; */
}

.das_haus_left h2 {
  margin-top: 0;
  font-size: 2.5em;
  margin-bottom: .4em;
}

.das_haus_left em {
  font-weight: bold;
  font-style: normal;
  color: #d5da3b;
  font-size: 1.1em;
}

.das_haus_right h2 {
  font-size: 2em;
  color: #d5da3b;
  margin: 0;
}

.das_haus_right em {
  font-weight: bold;
  font-style: normal;
  color: #d5da3b;
  font-size: 1.5em;
}

.das_haus_right td {
  vertical-align: top;
  padding-right: 18px;
  padding-bottom: 24px;
  font-size: 1.15em;
}

.circle {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  width: 40px;
  min-width: 40px;
  height: 40px;
  border: 1px solid #0e273b;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  font-size: 14px;  
}

.das_haus_right p > a {
  display: inline-block;
  background-color: #961635;
  color: white;
  font-weight: bold;
  font-size: 1.2em;
  padding: .2em .8em;
}

.das_haus_right p > a:hover {
  background-color: #d5da3b;
  opacity: 1;
}

@media (max-width: 900px) {
  #das_haus .flex_container {
    display: block;
  }
  
  #das_haus .flex_container>div {
    width: 100%;
  }
}


/* Pakete */

#pakete {
  background-color: #d5da3b;
}

#pakete .flex_container {
  display: flex;
  justify-content: space-between;
}

#pakete .flex_container > div {
  width: 54%;
}

#pakete .flex_container > div + div {
  width: 42%;
}

.pakete_left h2 {
  color: white;
  font-size: 2.5em;
  margin-top: 0;
}

.paket {
  width: 47% !important;
  color: #d5da3b;
  font-size: 1.2em;
  font-weight: bold;
}

.paket-header {
  background-color: #0e273b;
  text-align: center;
}


.paket-header h3 {
  display: inline-block;
  color: white;
  font-size: 1.3em;
}

.paket-body {
  background-color: white;
  padding: 2em 1em;
}

.paket-body strong {
  font-size: 2.5em;
}

.paket-body img {
  width: 50px;
  padding: .5em;
}

.paket-body em {
  color: #0e273b;
  font-style: normal;
  font-weight: normal;
}

.pakete_right {
  background-color: white;
  border: 1px solid #0e273b;
}

.pakete_slide_content {
  position: relative;
}

.pakete_right .slide_image {
  float: right;
}

.pakete_right .slide_image img {
  width: 75px;
  margin-right: 100px;
}


.pakete_right .flexslider {  
  position: relative;  
}

.pakete_right .flexslider ul.slides {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.pakete_right .flexslider ul.slides li {
  margin: 0;
  padding: 0;
}

.pakete_right .flexslider .slide_container {
  position: relative;
  width: 100%;   /* desired width */  
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top left;
}

.pakete_right .slide_content {
  padding: 1.5em;
}

.pakete_right h2 {
  margin: 0 0 .3em 0;
  color: #d5da3b;
  font-size: 1.3em; 
}

.pakete_right em {
  display: inline-block;
  margin-top: .7em;
  color: #d5da3b;
  font-style: normal;
  font-weight: bold;
  font-size: 1.2em;
}

.pakete_right .flex-direction-nav {
  list-style-type: none;
  position: absolute;
  top: 0;
  right: 0;
}

.pakete_right .flex-nav-prev {
  display: none;
}

.pakete_right .flex-next {
  /* cursor: pointer; */
  display: block;
  height: 36px;
  width: 36px;
  overflow: hidden;
  position: absolute;
  top: 30px;
  right: 50px;
  z-index: 10;
  color: rgba(255,255,255,0);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;  
  background-image: url("/images/arrow-right.png");
}


@media (max-width: 900px) {
  #pakete .flex_container {
    display: block;
  }
  
  #pakete .flex_container>div {
    width: 100%;
  }
  
  .paket {
    width: 100% !important;
    margin-bottom: 1em;
  }
  
  #pakete .flex_container>div+div {
    width: 100%;
  }  
}

@media (max-width: 480px) {
   .pakete_right .slide_image {
      float: none;
   }
}


/* reasons */

.cms_page_homepage section#reasons {
  padding: 0;
}

#reasons .flexslider {  
  position: relative;  
}

#reasons .flexslider ul.slides {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#reasons .flexslider ul.slides li {
  margin: 0;
  padding: 0;
}

#reasons .flexslider .slide_container {
  position: relative;
  width: 100%;   /* desired width */  
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top left;
}

#reasons .flexslider .slide_container:before {
  content: "";
  display: block;
  padding-top: 55%; /* 1:2 this is the aspect ratio of the images */
}

#reasons .slide_content {
  position: absolute;
  bottom: 56px;
  left: 7%;
  padding: 1.5em;
  background-color: #0e273b;
  width: 420px;
}

#reasons h2 {
  margin: 0 0 .3em 0;
  color: white;
  font-size: 1.5em; 
}

#reasons p {
  color: white;
}

#reasons .flex-direction-nav {
  list-style-type: none;
  position: absolute;
  padding: 0;
  margin: 0;
  bottom: 0;
  left: 0;
  width: 100%;
}

#reasons .flex-direction-nav a {
  position: absolute;
  display: block;
  height: 36px;
  width: 36px;
  overflow: hidden;
  z-index: 10;
  color: rgba(255,255,255,0);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  bottom: 54px;     
}

#reasons .flex-prev {
  left: 32px;  
  background-image: url("/images/arrow-left.png");
}

#reasons .flex-next {
  right: 32px;
  background-image: url("/images/arrow-right.png");
}

@media (max-width: 900px) {
  #reasons .flexslider .slide_container:before {
    padding-top: 90%; 
  }
  
  #reasons .slide_content {
    bottom: 0;
    left: 0;
    width: calc(100% - 70px);
    padding: 16px;
    padding-right: 70px;
  }
  
  #reasons .slide_content p:last-of-type {
    margin-bottom: 0;
  }
  
  #reasons .flex-direction-nav {
    bottom: initial;
    top: 16px;
  }
  
  #reasons .flex-direction-nav a {
    bottom: initial;
  }
  
  #reasons .flex-prev {
    left: 16px;
  }  
  
  #reasons .flex-next {
    right: 16px;
  }  
  
  /*
  #reasons .flex-direction-nav a {
    top: 16px;
  } 
  */ 
}


/* visions */

.cms_page_homepage section#visions {
  padding: 0;
  position: relative;
}

#visions .flexslider {  
  position: relative;  
}

#visions .flexslider ul.slides {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#visions .flexslider ul.slides li {
  margin: 0;
  padding: 0;
}

#visions .flexslider .slide_container {
  position: relative;
  width: 100%;   /* desired width */  
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
}

#visions .flexslider .slide_container:before {
  content: "";
  display: block;
  padding-top: 55%; /* 1:2 this is the aspect ratio of the images */
}


#visions .flexslider .slide_container > h2 {
  position: absolute;
  top: 76px;
  left: 7%;
  text-transform: uppercase;
  font-weight: normal;
  font-size: 1.2em;
  border-bottom: 2px solid #0e273b;  
  color: #0e273b;
  padding-bottom: 4px;
  display: inline-block;
}


#visions .slide_content {
  position: absolute;
  top: 220px;
  left: 7%;
  width: 516px;
}

#visions h2 {
  margin: 0 0 .5em 0;
  color: #0e273b;
  font-size: 2.5em;
  max-width: 320px;
  line-height: 1.1em;
}

#visions strong {
  font-size: 1.2em;
}

#visions .flex-direction-nav {
  list-style-type: none;
  position: absolute;
  padding: 0;
  margin: 0;
  bottom: 0;
  left: 0;
  width: 100%;
}

#visions .flex-direction-nav a {
  position: absolute;
  display: block;
  height: 36px;
  width: 36px;
  overflow: hidden;
  z-index: 10;
  color: rgba(255,255,255,0);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  bottom: 54px;     
}

#visions .flex-prev {
  left: 32px;  
  background-image: url("/images/arrow-left.png");
}

#visions .flex-next {
  right: 32px;
  background-image: url("/images/arrow-right.png");
}

@media (max-width: 900px) {
  
  #visions ul.slides {
    display: flex;
    flex-wrap: wrap;
  }
  
  #visions li.slide {
    width: 100vw;
    flex-basis: 100vw;
  }
  
  #visions .flexslider .slide_container {
      width: auto;
      height: 100%;
      padding: 16px;
  }  
  
  #visions .flexslider .slide_container:before {
    display: none;
  }
  
  #visions .flexslider .slide_container > h2 {
    position: relative;
    top: 0;
    left: 0;
    margin-bottom: 2em;
  }
  
  #visions .slide_content {
    position: relative;
    top: 0;
    left: 0;
    width: auto;
    background-color: rgba(255,255,255,.5);
    margin-bottom: 40px; /* room for arrow buttons */
  }
  
  #visions .slide_content p:last-of-type {
    margin-bottom: 0;
  }
  
  #visions .flex-direction-nav a {
    bottom: 16px;
  }   
  
  #visions .flex-prev {
    left: 16px;
  }  
  
  #visions .flex-next {
    right: 16px;
  }  
}



/* calendar */


#calendar {
  background-color: #e7e8e9;
}

#calendar > h2 {
  display: inline-block;
  text-transform: uppercase;
  font-weight: normal;
  font-size: 1.2em;
  border-bottom: 2px solid #0e273b;
  padding-bottom: 4px;
  color: #0e273b;
  margin-bottom: 0;
}

.calendar-nav {
}

.calendar-nav > h2 {
  text-transform: uppercase;
  font-size: 2.5em;
  font-weight: 800;
  text-align: center;
}

.calendar-nav-arrow {
  background-position: center;
  background-size: 66%;
}

#calendar .flex-direction-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex: 1 1 auto;
  justify-content: space-between;
  align-items: stretch;  
  flex-wrap: nowrap;     
  margin: 0;
  padding: 0;
  font-size: 2.5em;
  margin-top: 1em;
  padding-top: 4px;
}

#calendar .flex-direction-nav li {
  list-style-type: none;
  display: inline-block;
  flex-grow: 0;
  flex-shrink 0;
  flex-basis: 50%;
  text-align: center;  
}

#calendar .flex-direction-nav a {
  width: 15px;
  height: 28px;
  display: block;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

#calendar .flex-prev {
  font-size: 0;
  background-image: url('/images/arrow1-left.png');
  margin-left: 33%;
}

#calendar .flex-prev:hover {
  background-image: url('/images/arrow1-left-hover.png');
}

#calendar .flex-next {
  font-size: 0;
  background-image: url('/images/arrow1-right.png');
  margin-right: 33%;
  float: right;
}

#calendar .flex-next:hover {
  background-image: url('/images/arrow1-right-hover.png');
}


#calendar .flex-disabled {
  display: none !important;
}
  
#calendar .flexslider {  
  position: relative;  
}

#calendar .flexslider ul.slides {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#calendar .flexslider ul.slides li {
  margin: 0;
  padding: 0;
}

#calendar .flexslider .slide_container {
  position: relative;
  width: 100%;   /* desired width */  
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top left;
}

#calendar .flexslider .slide_container:before {
  content: "";
  display: block;
  padding-top: 55%; /* 1:2 this is the aspect ratio of the images */
}

#calendar .flexslider .slide_container > h2 {
  position: absolute;
  top: 76px;
  left: 7%;
  text-transform: uppercase;
  font-weight: normal;
  font-size: 1.2em;
  border-bottom: 2px solid white;  
  color: white;
  padding-bottom: 4px;
  display: inline-block;
}

ul.calendar-month {
  display: flex;
  flex: 1 1 auto;
  justify-content: space-between;
  align-items: stretch;  
  flex-wrap: wrap; 
  margin: 0;
  padding: 0;
}

ul.calendar-month li {
  list-style-type: none;
  margin-bottom: 12px !important; 
  /* margin: 6px 10px !important; */
  /* min-width: 320px; */
  /* max-width: 400px; */
  /* width: 300px; */
  flex-grow: 0;
  flex-shrink 0;
  flex-basis: 32%;
}

.calendar-entry-header {
  overflow: hidden;
  min-height: 117px;
  background-color: white;
  position: relative;
  cursor: pointer;
  color: #0c273b;
}

.calendar-entry-header-date {
  float: left;
  width: 12%;
  margin-left: 12%;
  padding-top: 20px;
  text-align: center;
}

.calendar-entry-header-date-weekday {
  font-size: 1.3em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 1px solid #0e273b;
  margin-bottom: 3px;
}

.calendar-entry-header-date-day {
  font-size: 1.8em;
  font-weight: 800;
}

.calendar-entry-header-rest {
  margin-left: 35%;
  padding-right: 16px;
   padding-top: 24px;
}

.calendar-entry-header-rest b {
  color: #c7cd22;
  font-size: 1.1em;
}

.calendar-entry-header-rest h3 {
  color: #0e273b;
  font-size: 1.1em;
  margin: .1em 0 0 0;
  font-weight: 600;
}

.calendar-entry-header-arrow {
  position: absolute;
  bottom: 12px;
  right: 17px;
  width: 23px;
}


.calendar-entry-body {
  margin-top: 12px;
  border: 1px solid #0e273b;
  background-color: white;
  padding: 24px 32px;
  display: none;
}

.calendar-entry-body-date {
  color: #0e273b;
  font-size: 1.1em;
  margin: .1em 0 0 0;
  font-weight: 600; 
}

.calendar-entry-header-category {
  float: right;
  padding-right: 6px;
}

.calendar-entry-header-category img {
  width: 12px;
  height: auto;
}

.calendar-entry-body-category {
  width: 69px;
  margin-top: 6px;
  /* border-top: 1px solid #0e273b; */
  padding-top: 15px;
  margin-bottom: 16px;
}

.calendar-entry-body-category img {
  width: 12px;
  height: auto;
}

.calendar-entry-body h3 {
  font-size: 1.8em;
  font-weight: 800;
  color: #0e273b;
  margin: 0 0 16px 0;
}

.calendar-entry-body em {
  font-style: normal;
  color: #961635;
}

.calendar-entry-body p:last-of-type {
  margin-bottom: 0;
}

.calendar-entry-body-download {
  text-align: right;
  vertical-align: bottom;
}

.calendar-entry-body-download a {
}

#calendar a.download {
  margin-left: .6em;
  padding: 0;
  display: inline-block;
  width: 30px;
  height: 30px;
  background-image: url("/images/download.png");
  background-repeat: no-repeat;
  background-size: cover;
  vertical-align: middle;
}

#calendar a.download:hover {
  background-image: url("/images/download-hover.png");
}


ul.calendar-legend {
  margin: 0;
  margin-top: 5em;
  padding: 0;
  list-style-type: none;
  text-align: center;
}

ul.calendar-legend li {
  /* list-style-type: none; */
  display: inline-block;
  margin: 0;
  padding: 0 1.6em;
}

ul.calendar-legend li img {
  width: 16px;
  height: auto;
  vertical-align: middle;
  padding-right: .2em;
}


@media (max-width: 900px) {
  
  .calendar-nav {
    /* margin-bottom: 56px; */
  }
  
  .calendar-nav h2 {
    font-size: 1.6em;
  }
  
  #calendar .flex-direction-nav {
    /* top: 32px; */
    margin-top: 14px;
  }
  
  #calendar .flex-direction-nav li {
    flex-basis: 0;
    /* text-align: left; */
  }
  #calendar li.flex-nav-next {
    /* text-align: right; */
  }
  
  
  ul.calendar-month {
    display: block;
  }
  
  ul.calendar-legend {
    margin-top: 2em;
  }  
}


/* kontakt */

#kontakt {
  overflow: hidden;
  position: relative;
}

#apply-contact {
  position: absolute;
  top: 7%;
  right: 7%;
  overflow: hidden;
  font-size: 0;
  text-align: center;
}

#apply-contact a:hover {
  opacity: 1; 
}

#apply-contact img {
  width: 160px;
}


#kontakt > h2 {
  display: inline-block;
  text-transform: uppercase;
  font-weight: normal;
  font-size: 1.2em;
  border-bottom: 2px solid #0e273b;
  padding-bottom: 4px;
  margin-bottom: 2em;
}

#kontakt h3 {
  margin-bottom: 1.5em;
  font-size: 1.3em;
}

.contact-image img {
  width: 100%;
  height: auto;
}

.kontakt-text {
  margin-top: 3.5em;
}

.kontakt-text h2 {
  text-transform: uppercase;
  font-size: 1.3em;
}


// contact form
/* CONTACT */

.contact_box {
  overflow: hidden;
}

.contact_form {
  float: left;
}

.contact_form form {
}

.contact_form input[type=text], 
.contact_form textarea {
  background-color: #ede9ed;
  border: none;
  width: 100%;
  padding: 3px 6px;
  color: #261e1f;
  border-radius: 0; /* iOS */
}

.contact_form textarea {
  height: 150px;
}

.contact_form .error_list li {
  font-size: 1em;  
  text-transform: uppercase;
  font-weight: normal;   
  list-style-type: none;
  color: #961635;
}

.form_error {
  font-size: 1em;  
  text-transform: uppercase;
  font-weight: normal;   
  color: #961635;
}

.contact_form label {
  font-size: 1em;  
  text-transform: uppercase;
  font-weight: bold; 
  color: #261e1f;
}

.contact_form td {
  padding: 5px 3px;
}

/* label */
.contact_form tr td:FIRST-CHILD {
  /* width: 180px; */
  vertical-align: top;
}

.contact_form input[type=submit] {
  float: right;
  margin: 12px 0 0 0;
}

@media (max-width: 900px) {
  
  #apply-contact {
    top: 16px;
    right: 16px;
  }
  
  #apply-contact img {
    width: 100px;
  }    
  
  .contact_form {
    float: none;
  }
  
  .contact_form table {
  }
  
  .contact_form td {
    display: block;
    padding: 0;
    width: auto;
  }
  
  .contact_form tr td:FIRST-CHILD {
    padding-top: 1em;
    width: 90%;
  }  
}


/* application form */

#application_form {
  overflow: hidden;
  position: relative;
  padding-top: 0;
}

#application_form > h2 {
  display: inline-block;
  text-transform: uppercase;
  font-weight: normal;
  font-size: 1.2em;
  border-bottom: 2px solid #0e273b;
  padding-bottom: 4px;
  margin-bottom: 2em;
}



/* scroll to top */

.scrolltop {
  width: 45px;
  height: 45px;
  position: fixed;
  bottom: 0;
  left: calc(50% - 45px / 2);
  display: none;
  /* text-indent: -9900px; */
  /* background: url('icon_top.png') no-repeat; */
  background-color: transparent;
}

.scrolltop img {
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .scrolltop {
    width: 32px;
    height: 32px;
    position: fixed;
    bottom: 0;
    right: 8px;
  }  
}


/* BLOG */

#blog {
  overflow: hidden;
}

#blog .ghostbutton_slim {
  border-color: #d5da3b;
  color: #d5da3b;
}

#blog .ghostbutton_slim:hover {
  background-color: #d5da3b;
  color: white;
}



.blog_link {
  margin-top: 1em;
}

/* Aside */

#blog_aside {
  float: right;
  width: 280px;
}

#blog_aside h3 {
  color: white;
  background-color: #d5da3b;
  margin-top: 0;
}

#blog_newsletter {
  margin-top: 40px;
  background-color: #d5da3b;
  color: white;
  padding: 20px;
  margin-bottom: 55px;
}

#blog_newsletter a {
  display: block;
}

#blog_side_tags {
  background-color: #d5da3b;
  padding-top: 1em;
  padding-bottom: 1em;
}

#blog_side_tags h3 {
  padding: 6px 20px;
  text-transform: uppercase;
  font-size: 2em;
  margin-bottom: 0.7em;
}

#blog_side_tags ul {
  list-style-type: none;
  margin: 0;
  padding: 0 20px;
}

#blog_side_tags li {
  margin: 0;
  padding: 0;
  line-height: 1.8em;  
}

#blog_side_tags a,
#blog_side_tags a:visited {
  color: white;
  text-transform: uppercase;
}

#blog_side_tags li a:before {
  content: "# ";
}

#blog_add {
  min-height: 100px;
  display: flex;
  align-items: center;
  text-align: left;
}



/* Posts */

#blog_posts {
  margin-right: 360px;
}

.blog_post {
  overflow: hidden;
  margin-bottom: 90px;
}

.blog_post_image {
  float: left;
  width: 280px;
  height: 280px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;  
}

.blog_post_content {
  margin-left: 360px;
}  

.type_blog_post .blog_post_content {
  margin-left: 0;
}

.type_blog_post .blog_summary {
  font-weight: bold;
  margin-bottom: 2em;
  color: #0e273b;
}

.blog_post_content h3 {
  margin-top: 0;
  font-weight: 500;
  font-size: 2em;
  text-transform: uppercase;
}

.blog_post_content h3 a {
  color: #d5da3b;
  font-weight: 500;
}

.blog_share_container {
  text-align: right;
}

.blog_share {
  display: inline-block;
  background-color: #d5da3b;
  color: white;
  font-weight: bold;
  padding: 8px 16px;
  line-height: 1em;
}

.blog_share a {
  vertical-align: baseline;
  margin-left: 8px;
  margin-bottom: -4px;
}


@media (max-width: 1279px) {
  #blog_posts {
    margin-right: 340px;
  }
  .blog_post_content {
    margin-left: 300px;
  }
  .blog_post_image {
    float: left;
    width: 240px;
    height: 240px;
  }
}

@media (max-width: 1023px) {
  #blog_aside {
    float: none;
    width: auto;
    margin-bottom: 80px;
  }
  
  #blog_side_tags h3 {
    margin-bottom: .5em;
  }  
  
  #blog_side_tags li {
    display: inline-block;
    margin-right: 2em;
  }
  
  #blog_posts {
      margin-right: 0;
  }  
  
}

@media (max-width: 600px) {
  .blog_post_image {
    float: none;
    width: auto;
    margin-bottom: 30px;
  }
  
  .blog_post_content {
      margin-left: 0;
  }

  
}




/* COMMENTABLE */

.commentable {
  margin-top: 3em;
  background-color: #edeee8; 
  padding: 1em;
}

.commentable h3 {
  color: #0e273b;
  font-size: 1.4rem;
}

.commentable_comments {
  margin-bottom: 2em;
}

.commentable_comments h3 {
  font-size: 1em;
  text-transform: none; 
}

.commentable_comment {
  margin-bottom: 3em;
}

.commentable_is_admin {
  border: 3px solid #d5da3b;
  padding: 1em;
}

.commentable_comment_photo {
  display: none;
}

.commentable_comment_poster {
  font-weight: bold;
  margin: .3em 0;
}

.commentable_is_admin .commentable_comment_poster {
   /* color: #d5da3b; */
}

.commentable_form table {
  width: 100%;
}

.commentable_form td {
  margin-bottom: .3em;
}

.commentable_form input,
.commentable_form textarea {
  border: none;
  background-color: white;
  color: #0e273b;
  width: 100%;
  font-family: 'Montserrat', sans-serif;
  font-size: 1em;
}



.commentable_form input[type="submit"] {
    display: inline-block;
    background-color: #961635;
    color: white;
    font-weight: bold;
    font-size: 1.2em;
    padding: .2em .8em;
}
.commentable_form input[type="submit"]:hover {
    background-color: #d5da3b;
    opacity: 1;
}


/*
  Newsletter
*/

.ull_newsletter_public h1 {
  color: #0e273b;
  font-size: 2.5em;
  font-weight: 500;
}

.ull_newsletter_public h2 {
  text-transform: uppercase;
  font-size: 1.6em;
}

.ull_newsletter_public h3 {
  color: #c7cd22;
  font-weight: bold;
  font-size: 1.2em;
  text-transform: uppercase;
}

.ull_newsletter_public form {
}

.ull_newsletter_public form .edit_table td {
  background-color: white;
  border: none;
}

.ull_newsletter_public form input[type=text], 
.ull_newsletter_public form textarea {
  background-color: #ede9ed;
  border: none;
  width: 100%;
  padding: 3px 6px;
  color: #261e1f;
  border-radius: 0; /* iOS */
}

.ull_newsletter_public form textarea {
  height: 150px;
}

.ull_newsletter_public form .error_list li {
  font-size: 1em;  
  text-transform: uppercase;
  font-weight: normal;   
  list-style-type: none;
  color: #961635;
}

.form_error {
  font-size: 1em;  
  text-transform: uppercase;
  font-weight: normal;   
  color: #961635;
}

.ull_newsletter_public form label {
  font-size: 1em;  
  text-transform: uppercase;
  font-weight: bold; 
  color: #261e1f;
}

.ull_newsletter_public form td {
  padding: 5px 3px;
}

/* label */
.ull_newsletter_public form tr td:FIRST-CHILD {
  width: 90px;
  vertical-align: top;
}

.ull_newsletter_public .edit_action_buttons {
  background: none;
  padding: 0;
  overflow: hidden;
}

.ull_newsletter_public .edit_action_buttons_left {
  float: right;
}

.ull_newsletter_public .edit_action_buttons_left ul {
  list-style-type: none;
}

.ull_newsletter_public input[type=submit] {
  display: inline-block;
  border-width: 2px;
  border-style: solid;
  padding: 2px 32px 1px 32px;
  background-color: white;
  text-transform: uppercase;
  font-size: 1.35em;
  border-color: #0e273b;
  color: #0e273b;
  border-radius: 0;
}

.ull_newsletter_public input[type=submit]:hover {
    background-color: #0e273b;
    color: white !important;
    opacity: 1;
}


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

.ull_newsletter_archive_mailing_list li {
  margin: 0 0 1em 0;
  padding: 0;
}

.ull_newsletter_archive_mailing_list a, 
.ull_newsletter_archive_mailing_list a:visited {
  color: #c7cd22;
}

@media (max-width: 900px) {
  
  .ull_newsletter_public form {
    float: none;
  }
  
  .ull_newsletter_public form table {
  }
  
  .ull_newsletter_public form td {
    display: block;
    padding: 0;
    width: auto;
  }
  
  .ull_newsletter_public form tr td:FIRST-CHILD {
    padding-top: 1em;
    width: 90%;
  }  
}


/*
 * ************************************************
 *  Printout settings
 * ************************************************
 */
 
@media print {
  
  html {
    font-size: 90%;
  }
  
  header, footer, .admin_menu, .inline_editing, #ull_cms_switch  {
    display: none;
  }

  
}
