h3.content_title,
.box_title {
    font-size: 1.3rem;
    line-height: 3rem;
    height: 2.5rem;
    text-align: left;
    color: #000;
}

@media only screen and (max-height: 800px) {
    h3.content_title,
    .box_title {
        font-size: 1.15rem;
    }
}

/* Limit size for really big screens (4K/UHD)*/
html, body, main {
    max-width: 3840px;
    margin: 0 auto;
}

nav {
    margin: 0 auto;
}

a {
    text-decoration: none;
}

p.bodytext a,
.glider_content li a {
    text-decoration: underline;
}

html {
    position: relative;
    height: 100%;
    background-color: #fff;
    min-height: 200px;
    min-width: 200px;
    font-size: 16px;
}

body {
    table-layout: fixed;
    background-clip: content-box;
    font-family: "GalaxiePolaris-Book", sans-serif;
    height: 100%;
    font-size: 0.94rem;
    line-height: 1.42em;
    background-attachment: fixed;
    background-position: center bottom;
    background-size: cover;
    display: table;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

#wrapper {
    display: table-row;
    overflow: hidden;
    height: 100%;
}

@media (max-width: 199px),(max-height: 199px) {
    html {
        overflow: scroll;
    }
}

html {
    /*Remove horizontal scrollbar on IE*/
    overflow-x: hidden;
}

@media only screen and (min-width: 1000px) {
    html.no_scroll_page #wrapper {
        padding-bottom: 0;
        height: 100%;
    }
}

#wrapper .glider_background li:before,
#wrapper .box_100 li:before {
    color: #ff0000;
    content: "_ ";
}

#wrapper .glider_background li,
#wrapper .box_100 li {
    padding-bottom: 0.1rem;

}

#wrapper .glider_background li:first-of-type,
#wrapper .box_100 li:first-of-type {
    padding-top: 0.3rem;
}

main {
    display: block;
    height: 100%;
    box-sizing: border-box;
    min-height: 100%;
}

main.no_footer_distance {
    padding-bottom: 0;
}

#glider_site {
    height: 100%;
    color: #000;
    margin: 0 auto;
}

#glider_teaser {
    min-height: 400px;
    overflow: hidden;
}

#glider_teaser img {
    width: 100%;
    height: auto;
}

.glider_background,
.background_toggle {
    background-color: #fff;
    padding: 1rem 0;
    width: 100%;

}

.glider_content {
    font-family: "GalaxiePolaris-Book", sans-serif;
    margin: 0 auto;
    max-width: 1000px;
    position: relative;
}

#glider_site .box_content {
    max-width: 1000px;
    margin: 0 auto;
}

div.glider_background:nth-of-type(even),
.background_toggle:nth-of-type(even) {
    background-color: #ececea;
}

h3.glider_subtitle {
    font-family: "GalaxiePolaris-Book", sans-serif;
    font-size: 2.0rem;
}

.glider_content section {
    display: inline-block;
    margin: 1rem auto;
    max-width: 57%;
}

/* Chinese works better with justified text */
html:lang(cn) .glider_content section,
html:lang(cn) .glider_content .glider_subtitle {
    text-align: justify;
}

.float_image_box {
    display: inline-block;
    width: 39%;
    /* 1.3rem top keeps the image on one line with the text */
    margin: 1.3rem 3% 0 0;
    vertical-align: top;
    position: relative;
    padding-bottom: 1rem;
}

.float_image_box img {
    max-width: 100%;
    max-height: 400px;
    height: auto;
    width: auto;
}

#glider_site .glider_background .glider_content .float_image_box {
    max-height: 400px;
    overflow: hidden;
}

#glider_site .glider_background .glider_content .float_image_box img {
    max-height: 100%;
}

.float_image_box.icon {
    width: 19%;
    height: 170px;
    margin: 1.3rem 13% 0 10%;
    text-align: center;
}

.box_content .float_image_box.icon > img {
    max-height: 100%;
    max-width: 100%;
    display: inline;
}

.float_image_box:last-of-type {
    padding-bottom: 0;
}

#wrapper {
    position: relative;
    min-height: 100%;
    box-sizing: border-box;
}

#wrapper.nav_margin main {
    padding-top: 2.8rem;
}

footer {
    /*http://galengidman.com/2014/03/25/responsive-flexible-height-sticky-footers-in-css/*/
    display: table-row;
    width: 100%;
    font-size: 0.84rem;
    line-height: 1.6rem;
    height: 1px;
    background: #fff;
    text-align: center;
    overflow: hidden;
}

footer .left {
    float: left;
    vertical-align: top;
    position: relative;
    top: 0.1rem;
}

footer .left a {
    display: inline-block;
    height: 1.6rem;
    vertical-align: top;
}

footer .left img {
    display: inline-block;
    height: 1.45rem;
    width: auto;
    vertical-align: top;
}

footer .center {
    display: inline-block;
}

footer .left a img:last-of-type,
.no-js footer .left a:hover img:first-of-type,
.no-touch footer .left a:hover img:first-of-type {
    display: none;
}

.no-js footer .left a:hover img:last-of-type,
.no-touch footer .left a:hover img:last-of-type {
    display: block;
}

footer .language_selector {
    font-size: 0.7rem;
    display: inline-block;
    float: right;
    padding-right: 1rem;
}

footer .language_selector a {
    padding: 0;
}

footer .language_selector span:after {
    content: "|";
}

footer .language_selector span:last-of-type:after {
    content: "";
}

footer .language_selector span.current a {
    color: #ec0000;
}

footer a {
    padding: 0 10px;
    color: #4b4b4d;
}

/* two_image_hover shows the first image normally and the second on hover */

.two_image_hover img:last-of-type,
.no-js .two_image_hover:hover img:first-of-type,
.no-touch .two_image_hover:hover img:first-of-type {
    display: none;
}

.no-js .two_image_hover:hover img:last-of-type,
.no-touch .two_image_hover:hover img:last-of-type {
    display: inherit;
}

/* Hide Lazy image if javascript disabled */
/*.no-js .lazy-image {
    display: none;
}*/
