/*
Theme Name: Esaf Events
Version: Coco-Loco
Author: OHO Design GmbH
Author URI: https://ohodesign.ch
Description: Eigenes Theme von ESAF2022.
*/

/* -------------- */
/* DESKTOP */
/* TABLET */
/* MOBILE */
/* MINI-MOBILE*/
/* SPECIAL BREAKPOINTS */
/* -------------- */


/* DESKTOP //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Navigation
03. Footer
04. Inner Content
*/

/*
-----------------------------------------------------------------------------

01. Presets

-----------------------------------------------------------------------------
*/

/* Layout */
body {
  background: #f0f0f0;
}

main {
  position: relative;
  overflow: hidden !important;
}

article {
  display: block;
  width: 100%;
  background: #fff;
  border: 1px solid #d3d2d3;
  border-radius: 4px;
  max-width: 1170px;
  margin: 80px auto 160px auto;
  box-shadow: 0px 3px 13px -16px rgba(0,0,0,0.5);
}

img.logo {
  margin: 40px auto 60px auto;
  max-width: 280px;
  display: block;
}


/*
-----------------------------------------------------------------------------

02. Navigation

-----------------------------------------------------------------------------
*/

/* Display */

#mobilenav-trigger, #navi-wrap__inner--mobile {
  display: none;
}

/* Navi-Wrapper */

#navi-wrap {
  width: 100%;
  height: 100px;
  position: fixed;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 8px solid #585758;
  overflow: visible;
  transition: all 0.2s ease-out;
}

#navi-wrap__inner {
  max-width: 1270px; /* SPACE-SETUP */
  margin: auto;
  height: 80px;
  width: 100%;
  padding: 10px 35px;
  transition: all 0.2s ease-out;
}

#navi-wrap .brand-wrap {
  position: absolute;
  top: 22px;
  overflow: hidden;
  transition: all 0.2s ease-out;
}

/* Logo Styling (SVG) */
#esaf-logo {
  width: 180px;
  margin: -120px auto 50px auto;
  display: block;
}

#esaf-logo .eichel_dunkel {
  fill: #9D7453;
}
#esaf-logo .eichel_hell {
  fill: #D0A072;
}
#esaf-logo .eichel-stiel_hell {
  fill: #795234;
}
#esaf-logo .eichel-stiel_dunkel {
  fill: #593a1f;
}
#esaf-logo .blatt_hell {
  fill: #53bb48;
}
#esaf-logo .blatt_dunkel {
  fill: #0d4c1d;
}
#esaf-logo .typography {
  fill: #FFFFFF;
  transition: all 0.3s ease-out;
}

/* Navi-Styling */

#navi-list a {
  font-family: 'Asap', sans-serif;
  font-weight: normal;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: inherit;
  margin: 15px 22px;
  transition: all 0.2s ease-out;
  text-decoration: none;
}

#navi-list a:hover,
#navi-list a.actual-parent,
#navi-list a.actual-site {
  color: red;
}

#navi-list {
  list-style-type: none;
  padding: 0;
  overflow: hidden;
  float: right;
  margin: 20px 15px;
  position: relative;
  transition: all 0.2s ease-out;
}

#navi-list li {
  margin-top: 0;
  display: inline;
}

/**** Scrolled-Navi-State */
.scrolled-nav #navi-wrap {
  height: 80px;
  top: 0px;
}

.scrolled-nav #navi-wrap .brand-wrap {
  top: 12px;
  height: 48px;
}

.scrolled-nav #navi-wrap__inner {
  padding: 0px 35px;
}

.scrolled-nav #navi-list {
  margin: 23px 15px;
}

/*
-----------------------------------------------------------------------------

03. Footer

-----------------------------------------------------------------------------
*/

footer {
  height: auto;
  color: #fff;
  margin: 0;
  bottom: 0;
  width: 100%;
  font-size: 16px;
  line-height: 21px;
  font-weight: 300;
  letter-spacing: 0.02em;
  position: absolute;
  z-index: 99;
}

.footer-wrap {
  max-width: 1270px; /* SPACE-SETUP */
  margin: auto; /* SPACE-SETUP */
  position: relative;
  padding: 0 35px;
}

.footer-wrap .box {
  padding: 40px 0;
  transition: all 0.2s ease-out;
}

.footer-wrap__sub {
  position: absolute;
  background: #f0f0f0;
  width: 100%;
  height: auto;
  bottom: 0;
  padding: 15px 35px;
  text-align: center;
  font-size: 14px;
  font-weight: 300;
}

/**/

footer .footer-wrap__sub,
footer .footer-wrap__sub a {
  color: #000;
}

footer .footer-wrap__sub a:hover {
  color: #000;
}


/*
-----------------------------------------------------------------------------

04. Inner Content

-----------------------------------------------------------------------------
*/

/* Post-Grid */
.post-grid .centered-image-wrap {
  height: 250px; /* SPACE-SETUP */
}


/* LOGIN */

.login main {
  padding: 0 60px;
}

.login article {
  margin: calc(45vh - 200px) auto 160px auto;
}

.login .form-wrap {
  max-width: 400px;
}
.login .field-wrap {
  margin: 0 auto 20px auto;
  max-width: 250px;
}

.login p.secur {
  color: #2ca13f;
}

/* ONBOARDING */

.onboarding main {
  padding: 0 60px;
}

.onboarding .grid-wrap {
  max-width: 850px;
}
.onboarding .grid-wrap .box:nth-of-type(1) .grid-wrap {
  padding-right: 30px;
}
.onboarding .grid-wrap .box:nth-of-type(2) .grid-wrap {
  padding-left: 30px;
}

.onboarding .grid-wrap .box .grid-wrap .box.padding-lg {
  padding-right: 20px;
}
.onboarding .grid-wrap .box:nth-of-type(1) .grid-wrap .box:nth-of-type(5) {
  padding-right: 0;
}

.onboarding p {
  max-width: 590px;
}

.onboarding form.submitted {
  display: none;
}



/* DASHBOARD */

/**** dashbar */

body.dash-bar .border-top {
  width: 100%;
  height: 1px;
  background: #553131;
}

.dashboard .dashbar-wrap {
  position: fixed;
  text-align: right;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #fff;
  border-bottom: 10px solid #0d4c1d;
  z-index: 100;
}

.dashboard .dashbar-wrap__inner {
  max-width: 1170px;
  margin: auto;
  padding: 0 35px;
}

.dashboard .dashbar-wrap input[type="submit"] {
  float: right;
  margin: 37px auto 0 auto;
  padding: 0 12px;
  height: 35px;
}

/*
.browser-ie .dashboard .dashbar-wrap svg#esaf-logo {
width: 100px;
}
*/
.dashboard .dashbar-wrap svg#esaf-logo {
  margin: 10px 0 0 0;
  width: 45px;
}

.dashboard .dashbar-wrap svg#esaf-logo .typography {
  opacity: 0;
}

.dashboard .dashbar-wrap span.user {
  color: #553131;
  margin: 26px 40px 0 0;
  display: inline-block;
  opacity: 0.6;
}


/**/

.dashboard .support-wrap {
  position: fixed;
  right: 0;
  bottom: 80px;
  z-index: 999;
  padding: 21px;
  border-radius: 0 0 4px 0;
  background: #0d4c1d;
  -webkit-animation: support 0.8s ease-out 0s 1 forwards;
          animation: support 0.8s ease-out 0s 1 forwards;
  transform: translateX(262px);
  box-shadow: 2px 2px 5px 1px rgba(0,0,0,0.15);
  transition: all 0.8s ease-out;
  border-bottom-left-radius: 4px;
}
.dashboard .support-wrap .marginal {
  color: #fff !important;
}
.dashboard .support-wrap .close-trigger {
  width: 40px;
  height: 40px;
  color: #fff;
  background: #0d4c1d;
  z-index: -1;
  position: absolute;
  border-radius: 4px 0 0 4px;
  left: -40px;
  top: 0;
  cursor: pointer;
}
.dashboard .support-wrap .close-trigger i {
  font-size: 22px;
  padding: 10px;
  margin-left: 2px;
}
.dashboard .support-wrap .close-trigger i.fa-question {
  display: none;
}
.dashboard .support-wrap .close-trigger i.fa-times {
  display: block;
}
.dashboard .support-wrap h4 {
  margin-bottom: 0;
}
.dashboard .support-wrap p {
  margin-top: 0;
  color: #fff;
}

.dashboard .support-wrap h4 a,
.dashboard .support-wrap b {
    color: #fff;
}

@-webkit-keyframes support {
  from { transform: translateX(262px); }
  to { transform: translateX(0); }
}

@keyframes support {
  from { transform: translateX(262px); }
  to { transform: translateX(0); }
}

.dashboard .support-wrap.hidden {
  -webkit-animation: supportHidden 0.8s ease-out 0s 1 forwards;
          animation: supportHidden 0.8s ease-out 0s 1 forwards;
}
.dashboard .support-wrap.hidden.forced-by-cookie {
  -webkit-animation: supportHidden 0s ease-out 0s 1 forwards;
          animation: supportHidden 0s ease-out 0s 1 forwards;
}
.dashboard .support-wrap.hidden .close-trigger i.fa-times {
  display: none;
}
.dashboard .support-wrap.hidden .close-trigger i.fa-question {
  display: block;
}

@-webkit-keyframes supportHidden {
  from { transform: translateX(0); }
  to { transform: translateX(262px); }
}

@keyframes supportHidden {
  from { transform: translateX(0); }
  to { transform: translateX(262px); }
}


.dashboard article {
  background: none;
  border: none;
  box-shadow: none;
  max-width: none;
  margin: 80px auto 40px auto;
}

.dashboard .sec-wrap:nth-of-type(1) {
  background: #fff;
}
.dashboard .sec-wrap:nth-of-type(2) {
  background: #fff;
  border: 1px solid #d3d2d3;
  border-radius: 4px;
  box-shadow: 0px 3px 13px -16px rgba(0,0,0,0.5);
}

.dashboard .sec-wrap__inner {
  max-width: 1170px;
  margin: auto;
}

.dashboard table.angaben {
  border: 1px solid #d3d2d3;
  border-radius: 4px;
  border-collapse: unset;
  border-spacing: 0;
  box-shadow: 0px 3px 13px -16px rgba(0,0,0,0.5);
  display: inline-flex;
  margin-right: 10px;
}
.dashboard table.angaben td {
  padding: 10px 20px 10px 10px;
}
.dashboard table.angaben td:nth-of-type(2) {
  border-left: 2px solid #fff;
}
.dashboard table.angaben tr:nth-of-type(even) {
  background: #f0f0f0;
}

.dashboard .sec-wrap__inner.products {
  padding-bottom: 200px;
}

.dashboard .article-list td.order {
   width: 200px;
}



/* UPLOAD OVERVIEW */

.uploads ul {
  padding-left: 4px;
}

.uploads ul li {
  list-style: none;
}

.uploads ul li a {
  transition: all 0.2s ease;
  color: #553131;
}

.uploads ul li a:hover {
  color: #53bb48;
}

/**/

.uploads .file-wrap {
  background: #f1f1f1;
  border-radius: 4px;
  padding: 15px;
}
.uploads .file-wrap p {
  margin: 0;
}


/* Impressum + Datenschutz */

.info .box:nth-child(odd) {
  padding-right: 25px;
}

.info .box:nth-child(even) {
  padding-left: 25px;
}

.info a:hover,
.info a.active-link {
  color: #585758;
  border-bottom: 1px solid #585758;
}

.info #oho-table p {
  margin: 0;
}

.info #impressum-oho-logo {
  width: 20px;
  margin-right: 20px;
  margin-top: 5px;
}

/* 404 */

#main.error {
  margin: 200px auto 400px auto;
}

.error-404 {
  text-align: center;
}

.error404 h1 {
  margin: 0px 0 30px 0;
}

.error-404 .border {
  height: 1px;
  max-width: 225px;
  margin: 25px auto;
  border-bottom: 1px dashed black;
}

.error-404 p a:hover {
  cursor: pointer;
  border-bottom: 1px solid #585758;
  color: #585758;
}



/* TABLET //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Navigation
03. Footer
04. Inner Content
*/

@media only screen and (max-width: 880px) {

  /*
  -----------------------------------------------------------------------------

  01. Presets

  -----------------------------------------------------------------------------
  */

  /* Layout */

  article {
    margin-top: 45px;
  }


  /*
  -----------------------------------------------------------------------------

  02. Navigation

  -----------------------------------------------------------------------------
  */

  /* Display */

  #mobilenav-trigger, #navi-wrap__inner--mobile {
    display: block;
  }

  #navi-list {
    display: none;
  }

  /* Navi-Trigger */

  #mobilenav-trigger {
    width: 90px;
    height: 80px;
    padding: 25px;
    top: 20px;
    right: 0;
    position: absolute;
    float: right;
    cursor: pointer;
    z-index: 9;
  }

  #mobilenav-trigger span {
    width: 40px;
    height: 3px;
    background: #000;
    display: block;
    transition: all 0.2s ease-out;
    -webkit-animation-name: navborder;
            animation-name: navborder;
    -webkit-animation-duration: 0.3s;
            animation-duration: 0.3s;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    -webkit-animation-iteration-count: 1;
            animation-iteration-count: 1;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
  }

  #mobilenav-trigger span:nth-child(2) {
    margin-top: 10px;
    -webkit-animation-name: navborder;
            animation-name: navborder;
    -webkit-animation-duration: 0.5s;
            animation-duration: 0.5s;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    -webkit-animation-iteration-count: 1;
            animation-iteration-count: 1;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
  }

  @-webkit-keyframes navborder {
    0%  { margin-left: 150px; }
    100%   { margin-left: 0px; }
  }

  @keyframes navborder {
    0%  { margin-left: 150px; }
    100%   { margin-left: 0px; }
  }

  /* Navi-Wrap */

  #navi-wrap__inner--mobile {
    position: fixed;
    overflow: visible;
    top: 0;
    right: 0;
    height: 0;
    width: 100%;
    background-color: #fff;
    padding: 0px 25px;
    margin-top: 170px;
    z-index: 999;
    transition: all 0.2s ease-out;
  }

  #navi-wrap__inner--mobile li a:hover,
  #navi-wrap__inner--mobile a.actual-site {
    color: red;
    transition: all 0.2s ease-out;
  }

  #navi-wrap__inner--mobile ul {
    margin: auto;
    padding: 0;
  }

  #navi-wrap__inner--mobile li {
    color: #000;
    list-style: none;
    font-size: 40px;
    line-height: 90px;
    text-align: center;
  }

  #navi-wrap__inner--mobile,
  #navi-wrap__inner--mobile li {
    transform: translateY(-400px);
    opacity: 0;
  }

  #navi-wrap__inner--mobile li:nth-child(1) {
    transition: all 0.9s ease-out;
  }

  #navi-wrap__inner--mobile li:nth-child(2) {
    transition: all 0.8s ease-out;
  }

  #navi-wrap__inner--mobile li:nth-child(3) {
    transition: all 0.7s ease-out;
  }

  /* Navi-Styling */

  #navi-wrap .brand-wrap {
    left: 35px;
    z-index: 9;
  }

  /**** Open-Navi-State */

  #mobilenav-trigger.open {
    top: -20px;
  }

  #mobilenav-trigger.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 50px;
    position: absolute;
  }

  #mobilenav-trigger.open span:nth-child(2) {
    transform: rotate(-45deg);
    top: 40px;
    position: absolute;
  }

  #navi-wrap.open {
    height: 100vh !important;
    border-bottom: 10px solid #f8f8f8 !important;
  }

  #navi-wrap.open #navi-wrap__inner--mobile,
  #navi-wrap.open #navi-wrap__inner--mobile li {
    transform: translateY(0px);
    opacity: 1;
  }

  /**** Scrolled-Navi-State */

  .scrolled-nav #mobilenav-trigger {
    top: 3px;
  }

  .scrolled-nav #navi-wrap.open {
    height: 100vh !important;
  }

  .prevent-scrolling {
    height: 100vh !important;
    overflow: hidden !important;
  }


  /*
  -----------------------------------------------------------------------------

  04. Inner Content

  -----------------------------------------------------------------------------
  */

  /* LOGIN */

  .login main {
    padding: 0 35px;
  }

  /* ONBOARDING */

  .onboarding main {
    padding: 0 35px;
  }

  .onboarding p.marginal {
    margin-bottom: 10px;
  }

  .onboarding .grid-wrap .box .grid-wrap .box:nth-of-type(odd) {
    padding-right: 0;
  }
  .onboarding .grid-wrap .box:nth-of-type(1) .grid-wrap {
    padding-right: 20px;
  }
  .onboarding .grid-wrap .box:nth-of-type(2) .grid-wrap {
    padding-left: 20px;
  }

  .onboarding .grid-wrap .box .grid-wrap .box.padding-lg {
    padding-right: 0;
  }
  .onboarding .grid-wrap .box .grid-wrap .box.padding-md {
    padding-right: 20px;
  }

  .onboarding .grid-wrap .box:nth-of-type(7),
  .onboarding .grid-wrap .box:nth-of-type(8) {
    margin: 0px 0 40px 0;
  }

  /* DASHBOARD */

  .dashboard .dashbar-wrap__inner {
    padding: 0 25px;
  }

  .dashboard article {
    margin: 80px auto;
  }

  .dashboard .dashbar-wrap span.user {
    display: none;
  }





}

/* MOBILE //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Navigation
03. Footer
04. Inner Content
05. NoScript / Cookie Banner
*/

@media only screen and (max-width: 580px) {

  /*
  -----------------------------------------------------------------------------

  01. Presets

  -----------------------------------------------------------------------------
  */

  article {
    margin-top: 25px;
  }

  h1 {
    -webkit-hyphens: auto;
        -ms-hyphens: auto;
            hyphens: auto;
  }
  /*
  -----------------------------------------------------------------------------

  02. Navigation

  -----------------------------------------------------------------------------
  */

  /* Navi-Trigger*/

  #mobilenav-trigger {
    width: 80px;
    top: 2px;
  }

  #mobilenav-trigger span {
    width: 30px;
    height: 3px;
  }

  /* Navi-Wrap */

  #navi-wrap {
    height: 80px;
  }

  /* Navi-Styling */

  #navi-wrap .brand-wrap {
    left: 20px;
    top: 12px;
  }

  #navi-wrap__inner--mobile li {
    list-style: none;
    font-size: 30px;
    line-height: 60px;
  }

  /**** Open-Navi-State */

  /**** Scrolled-Navi-State */

  .scrolled-nav #mobilenav-trigger {
    top: 2px;
  }

  .scrolled-nav #navi-wrap {
    height: 80px !important;
  }

  /*
  -----------------------------------------------------------------------------

  03. Footer

  -----------------------------------------------------------------------------
  */

  .footer-wrap {
    padding: 0 25px;
  }

  .footer-wrap .box {
    padding: 20px 0;
  }

  .footer-wrap .box:nth-of-type(3) {
    text-align: left;
  }

  .footer-wrap__sub {
    padding: 15px 25px;
  }

  /*
  -----------------------------------------------------------------------------

  04. Inner Content

  -----------------------------------------------------------------------------
  */

  img.logo {
    margin: 20px auto 40px auto;
    max-width: 240px;
  }

  /* LOGIN */

  .login main {
    padding: 0 25px;
  }

  .login article {
    margin: 180px auto 160px auto;
  }

  .login .field-wrap {
    max-width: 100%;
  }


  /* ONBOARDING */


  .onboarding main {
    padding: 0 15px;
  }

  .onboarding .grid-wrap .box:nth-of-type(1) .grid-wrap,
  .onboarding .grid-wrap .box:nth-of-type(2) .grid-wrap {
    padding: 0;
  }

  .onboarding .grid-wrap .box:nth-of-type(7),
  .onboarding .grid-wrap .box:nth-of-type(8) {
    margin: 0
  }

  .onboarding .grid-wrap .box:nth-of-type(9) {
    margin: 40px 0 0 0;
  }




  /*  Impressum + Datenschutz  */

  .info .box:nth-child(odd),
  .info .box:nth-child(even) {
    padding: 0;
  }

}


/* MINI-MOBILE //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Navigation
03. Footer
04. Inner Content
05. NoScript / Cookie Banner
*/

@media only screen and (max-width: 430px) {

  /*
  -----------------------------------------------------------------------------

  04. Inner Content

  -----------------------------------------------------------------------------
  */

  /* DASHBOARD */



  .dashboard .dashbar-wrap img.logo {
    margin: 13px 0 0 0;
    max-width: 170px;
    width: 170px;
  }

}

/* SPECIAL BREAKPOINTS //////////////////////////////////////////////////////// */
