/* /\* General overwrides *\/ */
/* h2, h3, h4, h5, h6 { */
/*   font-weight: 300; */
/* } */

/* h2 { */
/*     font: 300 26px/1.7 Roboto, sans-serif; */
/*     text-transform: uppercase; */
/*     letter-spacing: 2px; */
/* } */
/* a:hover h2 { */
/*     color: #228896; */
/* } */

/* h3, h4, h5, h6 { */
/*   margin: 30px 0 5px 0; */
/* } */

/* .archive h2 { */
/*     margin-bottom: 4px; */
/* } */

/* #fh5co-hero .flexslider .flex-control-nav { */
/*     bottom: 60px; */
/* } */

/* about */
.about-image {
    width: 100px;
    border-radius: 50%;
    float: left;
}
/* pages overview */
.overview-link .wrapper .fh5co-feature {
    margin-bottom: 10px;
}

.overview-link .wrapper {
    background: whitesmoke;
    padding: 10px;
    margin-bottom: 30px;
    display:block;
}

.overview-link:hover .wrapper {
    background: #fff;
}

.overview-link .wrapper h3 {
    margin-top: 10px;
}

.overview-link p {
    color: rgba(0, 0, 0, 0.5);
}

.clearfix {
    clear: both;
}


/* pages overview */
/* some fixes */
@media screen and (max-width: 768px) {
    #fh5co-hero .flexslider .slider-text {
       width: 100%;
    }
}

/* search and form */
.search-field {
    width: 205px;
    background: white;

}

.search-submit {
    font-size: 25px !important;
    color: white !important;
    border-radius: 6px;
    height: 54px;
    margin-top: -2px;
}

.search-submit:after, .search-submit:hover:after {
    visibility: hidden !important;
}

/* contact form */
.form-loading {
    background: whitesmoke;
    opacity: 0.5;
    z-index: 10;
    position: absolute;
    width: 100%;
    height: 420px;
    display: none;
}

.form-success {
  color: #3c763d !important;
  padding: 5px;
  padding-left: 20px;
  border-radius: 6px;
  margin-bottom: 15px;
  display: none;
  font-size: 18px;
}

.form-error {
  color: #a94442 !important;
  padding: 5px;
  padding-left: 20px;
  border-radius: 6px;
  margin-bottom: 15px;
  display: none;
  font-size: 18px;
}

.error {
  border: 2px solid #990000 !important;
}

#lastname {
  display: none;
}

/* laguage navigation */
.language-navigation li a {
  color: #aaa !important;
}
.language-navigation li a.lang-active, .language-navigation li a:hover {
  color: #000 !important;
}
.language-navigation li a:hover:after {
  visibility: hidden !important;
}


/* content styling */

/* .page-content .container, .article-content .container { */
/*   width: auto !important; */

/* } */

/* .responsive-image { */
/*   padding: 0; */
/* } */

/* .responsive-image img { */
/*   max-width: 100%; */
/* } */

/* .container.float-left { */
/*   float: left; */
/*   padding-left: 0px; */
/*   padding-bottom: 15px; */
/*   padding-right: 15px; */
/* } */
/* .container.float-right { */
/*   float: right; */
/*   padding-right: 0px; */
/*   padding-bottom: 15px; */
/*   padding-left: 15px; */
/* } */


/* scroll arrow */
/* https://codepen.io/nxworld/pen/OyRrGy */
.scroll a {
    position: absolute;
    bottom: 20px;
    z-index: 2;
    display: inline-block;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    color: #fff;
    font-size: 20px;
    letter-spacing: .1em;
    text-decoration: none;
    transition: opacity .3s;
}
.scroll a:hover {
    opacity: .5;
}
.scroll a {
    padding-top: 60px;
}
.scroll a span {
    position: absolute;
    /* text-align: center; */
    top: 0;
    width: 26px;
    height: 26px;
    margin-left: -13px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: sdb 2s infinite;
    animation: sdb 2s infinite;
    box-sizing: border-box;
}
@-webkit-keyframes sdb {
    0% {
        -webkit-transform: rotate(-45deg) translate(0, 0);
    }
    20% {
        -webkit-transform: rotate(-45deg) translate(-10px, 10px);
    }
    40% {
        -webkit-transform: rotate(-45deg) translate(0, 0);
    }
}
@keyframes sdb {
    0% {
        transform: rotate(-45deg) translate(0, 0);
    }
    20% {
        transform: rotate(-45deg) translate(-10px, 10px);
    }
    40% {
        transform: rotate(-45deg) translate(0, 0);
    }
}

/* Greyscale bootstrap */
.card-container {
    padding-top: 10px;
}
.card-container .card {
    /* flex: 1; */
    padding:15px;
    text-align:center;
    border:.15rem solid #4e6e7a;
    border-radius: 1rem;
}
.card-container .card i {
    color: #4e6e7a;
    /* font-size:50px; */
}
.card-container hr {
    margin: 1rem 0;
    /* font-size:50px; */
}

/* .card-container .card .divider { */
/*     /\* width:10px; *\/ */
/*     height:2px; */
/*     background-color:#e9e9e9; */
/*     margin:20px auto; */
/* } */
/* .card-container .card .title { */
/*     font-weight:700; */
/*     color:#1d2026; */
/*     /\* margin-bottom:20px; *\/ */
/*     text-transform:uppercase; */
/* } */
/* .card-container .card .description { */
/*     /\* line-height:32px; *\/ */
/*     /\* font-weight:300 *\/ */
/* } */
.card-container .card:hover {
    box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.4);
    transition: all 400ms ease-out;
}

.full-height {
    height: 100vh;
}

/* .fh5co-footer { */
/*     width: 93%; */
/*     margin: 0 auto; */
/*     padding: 4em 0em; */
/* } */

.color-myblue {
    color: #4e6e7a;
}

/* Fix centering jump */
html {
    overflow-y: scroll;
    background: whitesmoke;
}

.has-equal-height {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.img-wrapper {
    /* Image is centered vertically and horizontally at all times */
    background-position: center center;
    /* Image doesn't repeat */
    background-repeat: no-repeat;
    /* Makes the image fixed in the viewport so that it doesn't move when
     the content height is greater than the image height */
    background-attachment: fixed;
    /* This is what makes the background image rescale based on its container's size */
    background-size: cover;
}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:active {
    text-decoration: underline;
}

.fa-25x {
    font-size: 2.5em;
}

/* Hex Grid */
/* https://codepen.io/web-tiki/pen/NzYBYV */
#hexGrid {
  display: flex;
  flex-wrap: wrap;
  width: 90%;
  margin: 0 auto;
  overflow: hidden;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  list-style-type: none;
}

.hex {
  position: relative;
  visibility:hidden;
  outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */
}
.hex::after{
  content:'';
  display:block;
  padding-bottom: 86.602%;  /* =  100 / tan(60) * 1.5 */
}
.hexIn{
  position: absolute;
  width:96%;
  padding-bottom: 110.851%; /* =  width / sin(60) */
  margin:0 2%;
  overflow: hidden;
  visibility: hidden;
  outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */
  -webkit-transform: rotate3d(0,0,1,-60deg) skewY(30deg);
      -ms-transform: rotate3d(0,0,1,-60deg) skewY(30deg);
          transform: rotate3d(0,0,1,-60deg) skewY(30deg);
}
.hexIn * {
  position: absolute;
  visibility: visible;
  outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */
}
.hexLink {
    display:block;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #fff;
    overflow: hidden;
    -webkit-transform: skewY(-30deg) rotate3d(0,0,1,60deg);
        -ms-transform: skewY(-30deg) rotate3d(0,0,1,60deg);
            transform: skewY(-30deg) rotate3d(0,0,1,60deg);
}

/*** HEX CONTENT **********************************************************************/
.hex img {
  left: -100%;
  right: -100%;
  width: auto;
  height: 100%;
  margin: 0 auto;
  -webkit-transform: rotate3d(0,0,0,0deg);
      -ms-transform: rotate3d(0,0,0,0deg);
          transform: rotate3d(0,0,0,0deg);
}

.hex h1, .hex p {
  width: 100%;
  padding: 5%;
  box-sizing:border-box;
  background-color: rgba(0, 128, 128, 0.8);
  font-weight: 300;
  -webkit-transition:  -webkit-transform .2s ease-out, opacity .3s ease-out;
          transition:          transform .2s ease-out, opacity .3s ease-out;
}
.hex h1 {
  bottom: 50%;
  padding-top:50%;
  font-size: 1.5em;
  z-index: 1;
  -webkit-transform:translate3d(0,-100%,0);
      -ms-transform:translate3d(0,-100%,0);
          transform:translate3d(0,-100%,0);
}
.hex h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 45%;
  width: 10%;
  text-align: center;
  border-bottom: 1px solid #fff;
}
.hex p {
  top: 50%;
  padding-bottom:50%;
  -webkit-transform:translate3d(0,100%,0);
      -ms-transform:translate3d(0,100%,0);
          transform:translate3d(0,100%,0);
}


/*** HOVER EFFECT  **********************************************************************/
.hexLink:hover h1, .hexLink:focus h1,
.hexLink:hover p, .hexLink:focus p{
  -webkit-transform:translate3d(0,0,0);
      -ms-transform:translate3d(0,0,0);
          transform:translate3d(0,0,0);
}

/*** HEXAGON SIZING AND EVEN ROW INDENTATION *****************************************************************/
@media (min-width:1201px) { /* <- 5-4  hexagons per row */
  #hexGrid{
    padding-bottom: 4.4%
  }
  .hex {
    width: 20%; /* = 100 / 5 */
  }
  .hex:nth-child(9n+6){ /* first hexagon of even rows */
    margin-left:10%;  /* = width of .hex / 2  to indent even rows */
  }
}

@media (max-width: 1200px) and (min-width:901px) { /* <- 4-3  hexagons per row */
  #hexGrid{
    padding-bottom: 5.5%
  }
  .hex {
    width: 25%; /* = 100 / 4 */
  }
  .hex:nth-child(7n+5){ /* first hexagon of even rows */
    margin-left:12.5%;  /* = width of .hex / 2  to indent even rows */
  }
}

@media (max-width: 900px) and (min-width:601px) { /* <- 3-2  hexagons per row */
  #hexGrid{
    padding-bottom: 7.4%
  }
  .hex {
    width: 33.333%; /* = 100 / 3 */
  }
  .hex:nth-child(5n+4){ /* first hexagon of even rows */
    margin-left:16.666%;  /* = width of .hex / 2  to indent even rows */
  }
}

@media (max-width: 600px) { /* <- 2-1  hexagons per row */
  #hexGrid{
    padding-bottom: 11.2%
  }
  .hex {
    width: 50%; /* = 100 / 3 */
  }
  .hex:nth-child(3n+3){ /* first hexagon of even rows */
    margin-left:25%;  /* = width of .hex / 2  to indent even rows */
  }
}

@media (max-width: 400px) {
    #hexGrid {
        font-size: 13px;
    }
}


#hexGrid {
  display: flex;
  flex-wrap: wrap;
  width: 90% !important;
  padding-top: 10px;
  margin: 0 auto;
  overflow: hidden;
  /* font-family: 'Raleway', sans-serif; */
  font-size: 15px;
  list-style-type: none;
}

.hex {
  position: relative;
  visibility:hidden;
  outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */
}
.hex::after{
  content:'';
  display:block;
  padding-bottom: 86.602%;  /* =  100 / tan(60) * 1.5 */
}
.hexIn{
  position: absolute;
  width:96%;
  padding-bottom: 110.851%; /* =  width / sin(60) */
  margin:0 2%;
  overflow: hidden;
  visibility: hidden;
  outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */
  -webkit-transform: rotate3d(0,0,1,-60deg) skewY(30deg);
      -ms-transform: rotate3d(0,0,1,-60deg) skewY(30deg);
          transform: rotate3d(0,0,1,-60deg) skewY(30deg);
}
.hexIn * {
  position: absolute;
  visibility: visible;
  outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */
}
.hexLink {
    display:block;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #fff;
    overflow: hidden;
    -webkit-transform: skewY(-30deg) rotate3d(0,0,1,60deg);
        -ms-transform: skewY(-30deg) rotate3d(0,0,1,60deg);
            transform: skewY(-30deg) rotate3d(0,0,1,60deg);
}

/*** HEX CONTENT **********************************************************************/
.hex img {
  left: -100%;
  right: -100%;
  width: auto;
  max-width: none;
  height: 100%;
  margin: 0 auto;
  -webkit-transform: rotate3d(0,0,0,0deg);
      -ms-transform: rotate3d(0,0,0,0deg);
          transform: rotate3d(0,0,0,0deg);
}

.hex h1, .hex p {
  width: 100%;
  padding: 5%;
  line-height: 120%;
  box-sizing:border-box;
  /* background-color: rgba(0, 128, 128, 0.8); */
  background-color: rgb(78, 110, 122, 0.7);
  color: #ffffff;
  font-weight: 500;
  font-smoothing: antialiased !important;
  -webkit-transition:  -webkit-transform .2s ease-out, opacity .3s ease-out;
          transition:          transform .2s ease-out, opacity .3s ease-out;
}
.hex h1 {
  bottom: 50%;
  padding-top:50%;
  font-size: 1.5em;
  z-index: 1;
  -webkit-transform:translate3d(0,-100%,0);
      -ms-transform:translate3d(0,-100%,0);
          transform:translate3d(0,-100%,0);
}
.hex h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 45%;
  width: 10%;
  text-align: center;
  border-bottom: 1px solid #fff;
}
.hex p {
  top: 50%;
  padding-bottom:60%;
  font-size: 0.85rem !important;
  -webkit-transform:translate3d(0,100%,0);
      -ms-transform:translate3d(0,100%,0);
          transform:translate3d(0,100%,0);
}


/*** HOVER EFFECT  **********************************************************************/
.hexLink:hover h1, .hexLink:focus h1,
.hexLink:hover p, .hexLink:focus p{
  -webkit-transform:translate3d(0,0,0);
      -ms-transform:translate3d(0,0,0);
          transform:translate3d(0,0,0);
   backface-visibility: hidden;
}

/*** HEXAGON SIZING AND EVEN ROW INDENTATION *****************************************************************/
@media (min-width:1201px) { /* <- 5-4  hexagons per row */
  #hexGrid{
    padding-bottom: 4.4%
  }
  .hex {
    width: 20%; /* = 100 / 5 */
  }
  .hex:nth-child(9n+6){ /* first hexagon of even rows */
    margin-left:10%;  /* = width of .hex / 2  to indent even rows */
  }
}

@media (max-width: 1200px) and (min-width:901px) { /* <- 4-3  hexagons per row */
/* @media (min-width:901px) { /\\* <- 4-3  hexagons per row *\\/ *\/ */
  #hexGrid{
    padding-bottom: 5.5%
  }
  .hex {
    width: 25%; /* = 100 / 4 */
  }
  .hex:nth-child(7n+5){ /* first hexagon of even rows */
    margin-left:12.5%;  /* = width of .hex / 2  to indent even rows */
  }
}

@media (max-width: 900px) and (min-width:601px) { /* <- 3-2  hexagons per row */
  #hexGrid{
    padding-bottom: 7.4%
  }
  .hex {
    width: 33.333%; /* = 100 / 3 */
  }
  .hex:nth-child(5n+4){ /* first hexagon of even rows */
    margin-left:16.666%;  /* = width of .hex / 2  to indent even rows */
  }
}

@media (max-width: 600px) { /* <- 2-1  hexagons per row */
  #hexGrid{
    padding-bottom: 11.2%
  }
  .hex {
    width: 50%; /* = 100 / 3 */
  }
  .hex:nth-child(3n+3){ /* first hexagon of even rows */
    margin-left:25%;  /* = width of .hex / 2  to indent even rows */
  }
}

@media (max-width: 400px) {
    #hexGrid {
        font-size: 13px;
    }
}

/* Mail */
.cryptedmail:after {
    content: attr(data-name) "@" attr(data-domain) "." attr(data-tld);
}
