/**
 * Hamburg Convention Bureau - Eventlotse 2016
 *
 * LICENSE
 *
 * This software and its source code is protected by copyright law (Sec. 69a ff. UrhG).
 * It is not allowed to make any kinds of modifications, nor must it be copied,
 * or published without explicit permission. Misuse will lead to persecution.
 *
 * @copyright  2016 infomax websolutions GmbH
 * @link       http://www.infomax-it.de
 * @package    css
 * @subpackage headerImage
 * @author     gueldner
 * @since      29.02.2016
 * @version    $Id$
 **/
/*  =========================================================
basic config
general structure
figure
apple dots
add
========================================================== */
/*  =========================================================
basic config
========================================================= */
/* dimensions */
/* path variables */
/*corporate design*/
/*text*/
/*backgrounds*/
/*table colors*/
/*other colors*/
/*percentage dimensions*/
/*percentage margins*/
/*percentage paddings*/
/*vertical aligns*/
.verticalAlignHelper {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 1px;
  height: 100%;
  margin: 0px;
}

/*  =========================================================
general structure
========================================================= */
@media screen {
  .headerImage {
    position: relative;
  }
}

@media screen {
  .headerImage__image {
    width: 100%;
    overflow: hidden;
  }
}

/*  =========================================================
panorama
========================================================= */
@media screen {
  .headerImage__panorama {
    width: 100%;
    overflow: hidden;
  }

  .headerImage__panorama > a {
    display: none
  }

  .headerImage__panorama:after {
    content: '';
    background: url(../../images/_vendor/360.svg) no-repeat;
    background-size: cover;
    position: absolute;
    top: -webkit-calc(50% - 25px);
    top: calc(50% - 25px);
    left: -webkit-calc(50% - 25px);
    left: calc(50% - 25px);
    display: block;
    width: 50px;
    height: 50px;
    -webkit-transition: opacity .35s ease;
    transition: opacity .35s ease;
  }

  .headerImage__panorama:hover:after {
    opacity: 0;
  }

  .headerImage__panorama:not(:hover):after {
    opacity: 1;
  }
}

@media screen and (min-width: 801px) {
  .headerImage__panorama {
    height: 0;
    padding-bottom: 29.76190476%;
    position: relative
  }
}

@media screen and (max-width: 800px) {
  .headerImage__panorama {
    height: 300px
  }
}

/*  =========================================================
figure
========================================================= */
@media screen {
  .headerImage__image__row > figure,
  .headerImage__image > figure {
    position: relative;
    margin: 0px;
    padding: 0px;
    width: 100%;
    float: left;
  }
}

@media screen and (min-width: 801px) {
  .headerImage__image__row > figure > div,
  .headerImage__image > figure > div {
    height: 0px;
    padding-bottom: 29.76190476%;
    position: relative;
  }
}

@media screen and (max-width: 800px) {
  .headerImage__image__row > figure > div,
  .headerImage__image > figure > div {
    height: 300px;
  }
}

/* styling of the image */
@media screen {
  .headerImage__image__row > figure img,
  .headerImage__image > figure img {
    height: 100%;
  }
}

@media screen and (min-width: 801px) {
  .headerImage__image__row > figure img,
  .headerImage__image > figure img {
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
  }
}

@media screen and (max-width: 800px) {
  .headerImage__image__row > figure img,
  .headerImage__image > figure img {
    display: inline-block;
    margin: 0px -1000px;
  }
}

/*  =========================================================
apple dots
========================================================= */
@media screen {
  .headerImage__appledots {
    position: absolute;
    bottom: 37px;
    left: 0px;
    right: 0px;
    text-align: center;
  }

  .headerImage__appledots > div {
    width: 7px;
    height: 7px;
    margin: 0px 5px;
    display: inline-block;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    cursor: pointer;
  }

  .headerImage__appledots > div.active {
    background: #fff;
  }

  .headerImage__appledots > div:not(.active) {
    background: #968680;
  }
}

/*  =========================================================
add (this 'back to' link thingy)
========================================================= */
@media screen {
  .headerImage__add {
    position: absolute;
    top: 100%;
    left: 0px;
    padding: 10px 0px 0px 0px;
  }
}

@media screen {
  .headerImage__add a {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1.5rem;
    line-height: 1.66666667em;
    font-weight: 600;
    color: #003063;
    text-decoration: none;
  }
}

/*  =========================================================
prev/next-buttons
========================================================= */
@media screen {
  .switch--next,
  .switch--prev {
    display: inline-block;
    width: 48px;
    height: 48px;
    position: absolute;
    top: 50%;
    z-index: 5;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-border-radius: 100%;
    border-radius: 100%;
    cursor: pointer;
    -webkit-transition: all 175ms ease;
    transition: all 175ms ease;
    font-size: 0;
  }

  .switch--prev {
    left: 20px
  }

  .switch--next {
    right: 20px
  }

  .switch--next:before, .switch--prev:before {
    font: 400 normal 3.2rem icomoon;
    color: #fff;
    text-shadow: 0 0 5px rgba(0, 0, 0, .7);
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%)
  }

  .switch--prev:before {
    content: '\e903'
  }

  .switch--next:before {
    content: '\e901'
  }
}

