

/*Layout JAPEWU ___________________________________ */

@font-face {
    font-family: 'questa_sansregular';
    src: url('fonts/2-Questa_Sans_Regular-webfont.eot');
    src: url('fonts/2-Questa_Sans_Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/2-Questa_Sans_Regular-webfont.woff2') format('woff2'),
         url('fonts/2-Questa_Sans_Regular-webfont.woff') format('woff'),
         url('fonts/2-Questa_Sans_Regular-webfont.ttf') format('truetype'),
         url('fonts/2-Questa_Sans_Regular-webfont.svg#questa_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
  }

@font-face {
    font-family: 'Socicon';
    src:  url('fonts/Socicon.eot?6mfloc');
    src:  url('fonts/Socicon.eot?6mfloc#iefix') format('embedded-opentype'),
      url('fonts/Socicon.woff2?6mfloc') format('woff2'),
      url('fonts/Socicon.ttf?6mfloc') format('truetype'),
      url('fonts/Socicon.woff?6mfloc') format('woff'),
      url('fonts/Socicon.svg?6mfloc#Socicon') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="socicon-"], [class*=" socicon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'Socicon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-decoration: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.socicon a, .socicon a:hover, .socicon-facebook a, .socicon-facebook a:hover {
  font-style: normal;
  text-decoration: none !important;
}

.socicon-facebook:before {
  content: "\e028";
}

.socicon-instagram:before {
  content: "\e044";
}

.socicon-twitter:before {
  content: "\e08d";
}

body {
  background-color: #00233e;
  font-size: 1.85em; /* currently ems cause chrome bug misinterpreting rems on body element */
  line-height: 1.48;
  font-weight: 400;
  font-family: "questa_sansregular", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0.05rem;
  color: #fff; 
  margin-left: 10%;
  margin-right: 10%;
  margin-top: 7%;
  margin-bottom: 5%; 
}


@media all and (max-width: 768px) {
  body {
    margin: 5%;
  }
}

#japewu {
  margin: 3%;
}

#japewu h5, h6 {
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 1px;

} 

.logo-button {
  background-image:url(../images/japewu.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 85%;
  white-space: nowrap;
  text-indent: 110%;
  overflow: hidden;
  color:transparent;
  width:45px;
  height:45px;
  margin: 0 auto;
}

.more-info p {
  font-size: 1.2em;
}


.japewu-img img {
  width: 100%;
}

.japewu-img {
  margin: 0 auto;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .japewu-img img {
    width: 50%;
  }

  .japewu-img {
   margin: 0 auto;
   text-align: center;
  }
}

/* Grid
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.container {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  box-sizing: border-box; }

.row {
  margin-top: 0.4rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.col {
  flex: 1 1 8%;
  box-sizing: border-box;
}

/* nested grids */
.row .row, .row.nested {
  flex: 1 1 auto;
  margin-top: -0.5em;
}

/* full width grids */
.row.wide-fit {
  margin-left: -10px;
  margin-right: -10px;
}

/* center grids */
.row.center {
  justify-content: center;
}

.center .col {
  flex-grow: 0;
  flex-shrink: 0;
}

/* columns widths */

.col-span-1 {
  flex-basis: 8.3333%;
}

.col-span-2 {
  flex-basis: 16.6666%; 
}

.col-span-3 {
  flex-basis: 25%;
}

.col-span-4 {
  flex-basis: 33.3333%;
}

.col-span-5 {
  flex-basis: 41.6666%;
}

.col-span-6 {
  flex-basis: 50%;
}

.col-span-7 {
  flex-basis: 58.3333%;
}

.col-span-8 {
  flex-basis: 66.6666%;
}

.col-span-9 {
  flex-basis: 75%;
}

.col-span-10 {
  flex-basis: 83.3333%;
}

.col-span-11 {
  flex-basis: 91.6666%;
}

.col-span-12 {
  flex-basis: 100%;
}

/* examples */


@media all and (max-width: 768px) {
  .col-span-1,
  .col-span-2,
  .col-span-3,
  .col-span-4,
  .col-span-5 {
    flex-basis: 50%;
  }

  .col-span-6,
  .col-span-7,
  .col-span-8,
  .col-span-9,
  .col-span-10,
  .col-span-11 {
    flex-basis: 100%;
  }

  .nested .col {
    flex-basis: 100%;
  }
  
}


/* Base Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* NOTE
html is set to 62.5% so that all the REM measurements throughout Skeleton
are based on 10px sizing. So basically 1.5rem = 15px :) */
html {
  font-size: 62.5%; }


/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1, h2, h3, h4, h5 {
  margin-top: 0;
  margin-bottom: 2rem;
  font-weight: 300; }
h1 { font-size: 4.0rem; line-height: 1.2;  letter-spacing: -.1rem;}
h2 { font-size: 3.6rem; line-height: 1.25; letter-spacing: -.1rem; }
h3 { font-size: 3.0rem; line-height: 1.3;  letter-spacing: -.1rem; }
h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: -.08rem; }
h5 { font-size: 1.8rem; line-height: 1.5;  letter-spacing: -.05rem; }
h6 { font-size: 1.5rem; line-height: 1.6;  letter-spacing: 0; }

h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 300; }

/* Larger than phablet */
@media (min-width: 550px) {
  h1 { font-size: 5.0rem; }
  h2 { font-size: 4.2rem; }
  h3 { font-size: 3.6rem; }
  h4 { font-size: 3.0rem; }
  h5 { font-size: 2.4rem; }
  h6 { font-size: 1.5rem; }
}

p {
  margin-top: 0; }


/* Links
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
  color: #fff;
  text-decoration: none;
   }

.japewu-links a {
  margin-bottom: 3px;
  border-bottom: solid 2px white;
}

.japewu-links a:hover {
  color: #c9c9c9;
  border-bottom: solid 2px #c9c9c9;
}

p a:hover {
  color: #c9c9c9;
}


/* Lists
–––––––––––––––––––––––––––––––––––––––––––––––––– */
ul {
  list-style: circle inside; }
ol {
  list-style: decimal inside; }
ol, ul {
  padding-left: 0;
  margin-top: 0; }
ul ul,
ul ol,
ol ol,
ol ul {
  margin: 1.5rem 0 1.5rem 3rem;
  font-size: 90%; }
li {
  margin-bottom: 1rem; }


/* Code
–––––––––––––––––––––––––––––––––––––––––––––––––– */
code {
  padding: .2rem .5rem;
  margin: 0 .2rem;
  font-size: 90%;
  white-space: nowrap;
  background: #F1F1F1;
  border: 1px solid #E1E1E1;
  border-radius: 4px; }
pre > code {
  display: block;
  padding: 1rem 1.5rem;
  white-space: pre; }


/* Tables
–––––––––––––––––––––––––––––––––––––––––––––––––– */
th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #E1E1E1; }
th:first-child,
td:first-child {
  padding-left: 0; }
th:last-child,
td:last-child {
  padding-right: 0; }


/* Spacing
–––––––––––––––––––––––––––––––––––––––––––––––––– */
button,
.button {
  margin-bottom: 1rem; }
input,
textarea,
select,
fieldset {
  margin-bottom: 1.5rem; }
pre,
blockquote,
dl,
figure,
table,
p,
ul,
ol,
form {
  margin-bottom: 2.5rem; }


/* Utilities
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.u-full-width {
  width: 100%;
  box-sizing: border-box; }
.u-max-full-width {
  max-width: 100%;
  box-sizing: border-box; }
.u-pull-right {
  float: right; }
.u-pull-left {
  float: left; }


/* Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  border-width: 0;
  border-top: 1px solid #E1E1E1; }


/* Clearing
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Self Clearing Goodness */
.container:after,
.row:after,
.u-cf {
  content: "";
  display: table;
  clear: both; }


/* Modal
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.modal-window {
  position:fixed;
  font-family: "Courier New";
  font-size: 0.7em;
  background-color: rgba(255,255,255,0.3);
  top:0;
  right:0;
  bottom:0;
  left:0;
  z-index:999;
  opacity:0;
  pointer-events:none;
  overflow: auto;
  -webkit-transition:all 0.3s;
  -moz-transition:all 0.3s;
  transition:all 0.3s;
}
.modal-window:target {
  opacity:1;
  pointer-events:auto;
}
.modal-window>div {
  width:80%;
  position:relative;
  margin:8% auto;
  padding:5rem;
  background:#fff;
  color:#444;
}

.modal-close {
  color:#aaa;
  line-height:50px;
  font-size:110%;
  font-weight: bold;
  position:absolute;
  right:20px;
  text-align:center;
  top:0;
  width:70px;
  text-decoration:none;
}
.modal-close:hover {
  color:#000;
}




/* Media Queries
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/*
Note: The best way to structure the use of media queries is to create the queries
near the relevant code. For example, if you wanted to change the styles for buttons
on small devices, paste the mobile query code up in the buttons section and style it
there.
*/

@media (min-width: 768px) and (max-width: 1000px) {
  #kontakt-column {
  padding-left: 20px;
}
}

@media (min-width: 460px) and (max-width: 768px) {
    .japewu-img img {
    width: 80%;
  }

  .japewu-img {
    margin: 0 auto;
    text-align: center;
  }
}



/* Larger than mobile */
@media (min-width: 400px) {}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 550px) {}

/* Larger than tablet */
@media (min-width: 750px) {}

/* Larger than desktop */
@media (min-width: 1000px) {}

/* Larger than Desktop HD */
@media (min-width: 1200px) {}
