@import url(mini-reset.css);
@import url(fonts.css);

html {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
    color: #b8cedc;
    font-size: 18px;
    line-height: 26px;
    font-family: 'Lato', sans-serif;
    font-weight: 300;

    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#4f5663+0,2d3643+100 */
background: #4f5663; /* Old browsers */
background: -moz-radial-gradient(center, ellipse cover,  #4f5663 0%, #2d3643 100%); /* FF3.6-15 */
background: -webkit-radial-gradient(center, ellipse cover,  #4f5663 0%,#2d3643 100%); /* Chrome10-25,Safari5.1-6 */
background: radial-gradient(ellipse at center,  #4f5663 0%,#2d3643 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4f5663', endColorstr='#2d3643',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

}

input, textarea {
  -webkit-appearance: none;
  -webkit-border-radius: 0;
}

/*
==============
    Font related stuff
==============
*/

h1, h2.h1 {
    font-family: 'Oswald', serif;
    font-size: 45px;
    line-height: 55px;
    margin-bottom: 2%;
}

h2.h1 {
    margin-bottom: 4%;
}

h2 {
    font-family: 'Oswald', serif;
    font-size: 35px;
    margin-bottom: 2%;
}

h3 {
    font-family: 'Oswald', serif;
    font-size: 20px;
    margin-bottom: -2%;
    margin-top: 5%;
}

p {
    margin: 3% 0;
}

strong { font-weight: 400; }

a,
a:visited {
    color: #d08137;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #e88323;
    cursor: pointer;
}

header {
    margin: 0 auto;
    position: relative;
}

.headerImage {
    width: 100%;
    border-bottom: 8px solid #2D3544
}

.headerBadge {
    position: absolute;
    right: 15%;
    bottom: -7%;
    width: 100%;
    max-width: 200px;
}

.centerText { text-align: center; }


/*
==============
    languages
==============
*/

nav {
    padding-top: 15px;
    text-align: center;
    display: block;
}

nav li {
    display: inline-block;
    margin-left: 10px;
}

nav li a {
    padding: 5px 10px;
    width: 100%;
}

.activeLanguage a {
    background: #386580;
    box-shadow: 0 4px #304147;
    top: 2px;
    color: #fff;
}

.inactiveLanguage a {
    background: #d08137;
}


.inactiveLanguage a,
.inactiveLanguage a:visited,
.inactiveLanguage a:hover,
.inactiveLanguage a:focus {
    color: #fff;

}


.activeLanguage a:hover {
    box-shadow: 0 4px #304147;
}


.activeLanguage a:active {
    box-shadow: 0 0 #1f272a;
    top: 6px;
}

/*
==============
    Articles
==============
*/
article,
section {
    max-width: 960px;
    margin: 8% auto;
    padding: 0 5%;
    text-align: center;
}

article {
  margin-top: 4%;
}

/*
==============
    Content
==============
*/

.downloadApp {
    margin: 7%;
}

.downloadSection {
  display: block;
  bottom: 40px;
  position: absolute;
  width: 100%;
  margin: 0 calc(50% - 85px);
}

.downloadButtons {
    display: block;
    position: relative;
}

.downloadButtons a{
    width: auto;
    min-width: 170px;
    display: inline-block;
    margin-right: 2%;
    padding: 15px;
    background: #d7c75e;
    color: #4f5663;
    position: relative;
    border-radius: 5px;
    box-shadow: 0 6px #1f272a;
    font-family: 'Lato', sans-serif!important;
}

nav a {
    width: auto;
    display: inline-block;
    margin-right: 2%;
    padding: 15px;
    background: #d7c75e;
    color: #4f5663;
    position: relative;
    border-radius: 5px;
    box-shadow: 0 6px #1f272a;
    font-family: 'Lato', sans-serif!important;
}

.downloadButtons a:last-child { margin-right: 0; }

.downloadButtons a:hover,
nav a:hover {
    box-shadow: 0 4px #1f272a;
    top: 2px;
}

.downloadButtons a:active,
nav a:active {
    box-shadow: 0 0 #1f272a;
    top: 6px;
}

.downloadButtons a:before {
    margin-right: 10px;
    font-family: 'icomoon';
}

.educationalResources {
    max-width: 450px;
    margin: 35px auto;
    overflow: hidden;
}

.educationalResources li {
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    padding-left: 30px;
    margin-bottom: 2%;
}

.educationalResources li a { position: relative; }

.educationalResources li span:before {
    content: '\e900';
    font-family: 'icomoon';
    font-size: 20px;
    color: #f05d52;
    position: absolute;
    left: -30px;
    top: 2px;
}

.educationalResources li a:hover span:before {
    color: #ff3829;
}

.store-buttons {
  display: flex;
  height: 54px;
  justify-content: center;
}

.store-buttons a {
  margin: 0 10px;
}

.store-buttons img {
  max-height: 54px;
}

img.google-badge {
  max-height: 76px;
  margin-top: -11px;
}

/*
==============
    Credits
==============
*/


.credits {
    background-color: white;
    text-align: center;
    padding: 3% 0;
}

.credits > div {
    margin: 3% auto 0 auto;
    display: inline-block;
    width: 90%;
}

.credits h2 {
    font-size: 22px;
    color: #4f5663;
    text-align: left;
}

.credit {
    width: 31%;
    float: left;
    margin-right: 2%;
    margin-bottom: 3%;
}

.credit img {
    max-width: 250px;
    margin: 1% 0;
    margin: 0 auto;
    width: 100%;
}

/*
==============
    Cookie Consent
==============
*/

button#title_targeting {
    display: none;
}


/*
==============
    Home Navigation
==============
*/

ul.nav_home {
    margin-top: 25px;
}

.nav_home li a:before {
    content: '';
    background-image: url(../img/icon-home.svg);
    background-repeat: no-repeat;
    position: relative;
    height: 25px;
    width: 25px;
    left: -6px;
    top: 2px;
    display: block;
    float: left;
    margin-left: 5px;
    margin-right: 2px;
}

/*
==============
    Footer
==============
*/

footer {
    padding: 0 5%;
    font-size: 14px;
    line-height: 25px;
    max-width: 960px;
    margin: 0 auto;
}

.footerLine {
    border-top: 2px solid #b8cedc;
}

footer p { margin: 10px 0; }

.copyright {
    float: left;
}

.imprint, .dataprivacy, .cookie-preferences {
  float: right;
  padding-left: 10px;
}

.cc-cp-foot-byline {
  visibility: hidden;
}


@media only screen and (max-width: 1200px) {
    .headerBadge {
        max-width: 150px;
        right: 10%;
    }
}

@media only screen and (max-width: 899px) {
    .headerBadge {
        max-width: 100px;
    }
}

@media only screen and (max-width: 750px) {

    .downloadButtons a {
        width: 170px;
        bottom: 20px;
    }

    .downloadButtons a:first-child {
        float: none;
        margin: 0 auto 15px auto;
    }
}

@media only screen and (max-width: 650px) {
    .headerBadge {
        max-width: 80px;
        right: 7%;
    }
}

@media only screen and (max-width: 499px) {

    body {
        font-size: 16px;
        line-height: 23px;
    }

    p { margin: 5% 0; }

    h2 {
        font-size: 22px;
        margin-bottom: 5%;
    }

    article,
    section {
        margin: 10% auto;
    }

    .headerBadge {
        max-width: 60px;
        right: 4%;
    }

    .downloadSection {
      bottom: -14px;
    }

    .downloadButtons a:first-child {
        margin: 25px auto 15px auto;
    }
}
