/* 
 * Name:          components.css
 * Description:   components styles for IMPP
 * Author:        design frischgepresst
 * Author URI:    https://design-frischgepresst.de/
 * Contributors:  design frischgepresst
 * Version:       0.0.1 (c) 2018 design frischgepresst
 *
 */


/*  HEADER COMPONENTS */

.branding {
  display: block;
  position: absolute;
  top: 0.35em;
  left: 0.75em;  
  height: 1.5em;
  width: 4.5em;
  font-size: 2em;
  z-index: 100000;
}


@media only screen and (min-width: 48em) {
  .branding {
    position: fixed;
    }
  }

.branding a {
  display: block;
  height: 100%;
  text-indent: -9999em;
  background-image: url(../img/impp-logo.svg);
  background-size: contain;
  background-repeat: no-repeat;
  }

.branding.logo-shade-02 a {
  background-image: url(../img/impp-logo-shade-02.svg);
  }


/*  Header images */

#header .ce_image {
  width: 100%;
  height: calc(12em + (2 * 7vw));
  min-height: 100%;
  }

#header .image_container {
  position: relative;
  margin: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  }

#header .image_container img {
  display: block;
  position: absolute;
  min-height: 100%;
  min-width: 100%;
  width: auto;
  height: auto;
  top: 50%;
  left: 50%; 
  transform: translate(-50%, -50%);
  opacity: 0.7;
}

/*  header headlines */

#header .ce_headline,
#header .ce_text {
  position: absolute;
  width: 100%;
  max-width: 60rem;
  left: 50%;
  left: 0; /* ADDED FOR ALT HOME HEADLINES */
  /* transform: translateX(-50%);*/  /* COMMENTED OUT FOR ALT HOME HEADLINES */
  z-index: 10;
  }

h1.ce_headline {
  top: 5.25rem;
  font-size: 1.55em;
  }

@media only screen and (min-width: 30em) {
  h1.ce_headline {
    top: 3rem;
    font-size: 2em;
    }
  }
  
h2.ce_headline {
  top: 1.5rem;
  font-size: 1em;
  font-weight: normal;
  text-transform: uppercase;
  }

@media only screen and (min-width: 48em) {
  h1.ce_headline {
    top: auto;
    bottom: 1em;
    }
  
  h2.ce_headline {
    top: auto;
    bottom: 6rem;
    }
  }



/* ADDED FOR ALT HOME HEADLINES */
/*
.home #header .ce_headline {
  display: table;
  padding: 0.25rem 1rem;
  color: #2E4154;
  background: rgba(255,255,255,0.8);
  }
*/
@media only screen and (min-width: 58em) {
  #header .ce_headline,
  #header .ce_text {
    left: 50%;
    transform: translateX(-29rem); /* ADDED FOR ALT HOME HEADLINES */
    }
  }
/*
.home h1.ce_headline {
  top: 4.7rem;
  font-size: 1.55em;
  }

@media only screen and (min-width: 30em) {
  .home h1.ce_headline {
    font-size: 2em;
    }
  }
  
.home h2.ce_headline {
  top: 1.5rem;
  font-size: 1em;
  font-weight: normal;
  text-transform: uppercase;
  }

@media only screen and (min-width: 48em) { 
  .home h1.ce_headline {
    top: auto;
    }
     
  .home h2.ce_headline {
    top: auto;
    bottom: 5.9rem;
    }
  }
*/

/* / ADDED FOR ALT HOME HEADLINES */


/*  header link */

#header .ce_hyperlink {
  display: block;
  position: absolute;
  width: 100%;
  max-width: 60rem;
  left: 50%;
  bottom: 1rem;
  font-size: 0.75em;
  text-align: right;
  transform: translateX(-50%);
  z-index: 10;
  }

#header .ce_hyperlink a {
  display: inline-block;
  position: relative;
  margin: 0 1rem;
  padding: 0.5em 1em;
  -webkit-clip-path: polygon(0.5em 0, 100% 0, 100% 100%, 0 100%, 0 1.5em);
  clip-path: polygon(0.5em 0, 100% 0, 100% 100%, 0 100%, 0 1.5em);
  text-transform: uppercase;
  }

@media only screen and (min-width: 48em) {
  #header .ce_hyperlink {
    bottom: 3.5rem;
    }
  }


/*  MAIN CONTENT COMPONENTS */

#main ul,
#left ul,
#right ul {
  margin: 0 2em 1em 2em;
  list-style: disc;
  list-style-position: outside;
  }
  
  
#main ol,
#left ol,
#right ol {
  margin: 0 2em 1em 2em;
  margin-bottom: 1em;
  list-style-type: decimal-leading-zero;
  list-style-position: outside;
  }



/*  MISC */

.invisible {
  display: none !important;
  }