/* ========================================================
   MB Landingpage - palais.Berlin
   ======================================================== */
/* Webfonts */
/* Questrial */
@font-face {
    font-family: 'Questrial';
    src: url(/messe-berlin/layout/fonts/questrial-regular.woff2.woff2) format("woff2"),
        url(/messe-berlin/layout/fonts/questrial-regular.woff.woff) format("woff");
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* Maven Pro */
@font-face {
    font-family: 'Maven Pro';
    src: url(/messe-berlin/layout/fonts/maven-pro-700.woff2.woff2) format("woff2"),
        url(/messe-berlin/layout/fonts/maven-pro-700.woff.woff) format("woff");
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

body.palais {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.palais {
    background: #fff;
    font-family: 'Questrial', sans-serif;
}

.palais #screen-fixed.on-scrolling {
    box-shadow: none;
}

.palais #nav-meta ul li a, 
.palais #nav-lang ul li a, 
.palais #nav-social ul li a, 
.palais #nav-footer ul li a, 
.palais #footer-copyright {
    color: #003561;
}

.palais #content p {
    padding: 0.6em 0;
}

/* 16:9 iFrame; */
.video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    width: 100%;
    height: auto;
    z-index: 1;
}

.video-wrap-container {
    position: relative;
    top: 10vw;
}

@media (min-width: 1108px) {
    .video-wrap-container {
        top: 145px;
        margin: 0 auto;
        max-width: 1200px;
    }
}

@media (min-width: 1780px) {
    .video-wrap-container {
        top: 200px;
        margin: 0 auto;
        max-width: 1330px;
    }
}

.video-wrap__inner {
    position: absolute;
    width: 70%;
    height: 70%;
    max-width: 960px;
    max-height: 540px;
    transform: translateX(-50%) translateY(-50%);
    top: 50%;
    left: 50%;
    border: solid 8px #fff;
    background-color: #000;
}

.video-wrap__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    background-image: url(/messe-berlin/medien/landingpages/palais-berlin/mb_palais_video_header_pic3.jpg);
    background-size: cover;
    display: flex;
    cursor: pointer;
    opacity: 1;
    transition: opacity .5s ease-out, z-index .2s step-end;
}

.video-wrap__overlay--hidden {
    opacity: 0;
    z-index: 1;
}

.video-wrap__overlay:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(/messe-berlin/layout/images/youtube_play_buttom_icon.svg);
    background-size: 65px;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: rgba(0,0,0,0);
    transition: background-color .1s ease-out;
}

@media (min-width: 1108px) {
    .video-wrap__overlay:before {
        background-size: 90px;
    }
}

.video-wrap__overlay:hover:before {
    background-color: rgba(0,0,0,.5);
}

.video-wrap iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.video-wrap:before {
    position: absolute;
    display: block;
    content: "";
    top: 10%;
    width: 60%;
    height: 60%;
    z-index: -1;
    background-color: #fff;
    left: 50%;
    transform: translateX(-50%);
    transform: scale(1.0) rotate(8deg);
    transform-origin: 30% -320%;
    background-image: url(/messe-berlin/medien/landingpages/palais-berlin/mb_palais_video_header_pic1.jpg);
    background-size: cover;
    border: solid 10px #fff;
}

.video-wrap:after {
    position: absolute;
    display: block;
    content: "";
    top: 10%;
    width: 60%;
    height: 60%;
    z-index: -2;
    background-color: #fff;
    left: 50%;
    transform: translateX(-50%);
    transform: scale(1.0) rotate(-8deg);
    transform-origin: 100% 950%;
    background-image: url(/messe-berlin/medien/landingpages/palais-berlin/mb_palais_video_header_pic2.jpg);
    background-size: cover;
    border: solid 10px #fff;
}

.palais .video-header-wrapper {
    margin: 0 auto;
}

.palais-logo {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1em;
}

.palais-logo svg {
    width: 220px;
    height: calc(220px / (167.21 / 27.32));
}

@media (min-width: 1108px) {
    .palais-logo svg {
        width: 300px;
        height: calc(300px / (167.21 / 27.32));
    }
}

@media (min-width: 1780px) {
    .palais-logo svg {
        width: 360px;
        height: calc(360px / (167.21 / 27.32));
    }
}

@media (min-width: 1108px) {
    .palais-logo {
        display: flex;
        flex: 1;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

/* Full width layout */
.palais .col-12 {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

.palais #page {
    max-width: none;
    padding: 0;
}

@media (min-width: 1108px) {
    .palais #page {
        max-width: none;
        padding: 0;
    }

    .palais #content {
        padding-left: 0;
        padding-right: 0;
    }

    .palais #content .content-section.teaser {
        max-width: 100%;
    }

    .palais #header {
        padding: 0;
        height: 30px;
    }

    .palais #header:before {
        content: '';
        position: fixed;
        width: 100%;
        height: 56px;
        z-index: 5000;
        background-color: #fff;
    }

    .palais #header #screen-fixed {
        left: 50%;
        transform: translateX(-50%);
    }

    .palais #nav-main, .palais #nav-main.nav-main-active {
        padding: 20px 0 0px 0;
    }

    .palais .on-scrolling #nav-main {
        padding: 10px 0!important;
    }

    .palais .col-12 {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    .palais #content .bg-gray > * {
        max-width: 1024px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .palais #content .content-wide > * {
        max-width: 1280px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .palais #screen-fixed {
        padding-top: 5px;
    }

    .palais #screen-fixed.on-scrolling {
        padding-top: 5px;
    }

    .palais .video-header-wrapper {
        width: 100%;
    }
}

@media (min-width: 1780px) {
    .palais #content .bg-gray > * {
        max-width: 1280px;
    }

    .palais #content .content-wide > * {
        max-width: 1680px;
    }

}

/* Full-width rows */
/*.palais div[data-fs-id="eyJpZCI6MjAwMDEzOSwic3RvcmUiOiJQQUdFU1RPUkUifQ=="],
.palais div[data-fs-id="eyJpZCI6MjAwMDE0MCwic3RvcmUiOiJQQUdFU1RPUkUifQ=="],
.palais div[data-fs-id="eyJpZCI6MjAwMDI0OSwic3RvcmUiOiJQQUdFU1RPUkUifQ=="]{
	width: 94%;
	height: 100%;
	margin-right: 3%;
	margin-left: 3%;
	box-sizing: border-box;
}*/
.palais div[data-fs-id="eyJpZCI6MjAwMDEzOSwic3RvcmUiOiJQQUdFU1RPUkUifQ=="], 
.palais div[data-fs-id="eyJpZCI6MjAwMDE0MCwic3RvcmUiOiJQQUdFU1RPUkUifQ=="], 
.palais div[data-fs-id="eyJpZCI6MjAwMDI0OSwic3RvcmUiOiJQQUdFU1RPUkUifQ=="], 
.palais div[data-fs-id="eyJpZCI6MjAwMzU1OCwic3RvcmUiOiJQQUdFU1RPUkUifQ=="] {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
}

@media (min-width: 768px) {
    .palais div[data-fs-id="eyJpZCI6MjAwMDEzOSwic3RvcmUiOiJQQUdFU1RPUkUifQ=="], 
    .palais div[data-fs-id="eyJpZCI6MjAwMDE0MCwic3RvcmUiOiJQQUdFU1RPUkUifQ=="], 
    .palais div[data-fs-id="eyJpZCI6MjAwMDI0OSwic3RvcmUiOiJQQUdFU1RPUkUifQ=="], 
    .palais div[data-fs-id="eyJpZCI6MjAwMzU1OCwic3RvcmUiOiJQQUdFU1RPUkUifQ=="] {
        width: 97%;
        margin-right: 1.5%;
        margin-left: 1.5%;
    }
}

@media (min-width: 1108px) {
    .palais div[data-fs-id="eyJpZCI6MjAwMDEzOSwic3RvcmUiOiJQQUdFU1RPUkUifQ=="], 
    .palais div[data-fs-id="eyJpZCI6MjAwMDE0MCwic3RvcmUiOiJQQUdFU1RPUkUifQ=="], 
    .palais div[data-fs-id="eyJpZCI6MjAwMDI0OSwic3RvcmUiOiJQQUdFU1RPUkUifQ=="], 
    .palais div[data-fs-id="eyJpZCI6MjAwMzU1OCwic3RvcmUiOiJQQUdFU1RPUkUifQ=="] {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }
}

b.palais, strong.palais {
    font-weight: 600;
}

.palais #content .col-12 {
    padding-bottom: 0;
}

.palais #content h2 {
    font-weight: 600;
}

.palais #content p, .palais #content li {
    font-size: 1.35em;
    font-weight: 300;
    line-height: 1.5em;
}

@media (min-width: 1780px) {
    .palais #content p, .palais #content li {
        font-size: 1.6em;
    }
}

.palais .col-highlight a, 
.palais #content .highlight a, 
.palais a.link-highlight,
.palais a.link-highlight-block,
.palais table a.palais,
.palais .tab-navigation a,
.palais .ui-accordion a,
.palais .text-success a,
.palais .text-error a,
.palais form a.palais, 
.palais #content .col-highlight li:before, 
.palais #content .highlight li:before, 
.palais #content .ui-accordion li:before, 
.palais #content .pressdates-item li:before {
    color: #007be0;
}

.palais #content h4 {
    color: #0c4d94;
}

.palais .col-highlight, .palais #content .highlight {
    background-color: rgba(12, 77, 148, 0.17);
}

.palais #screen-fixed {
    background: transparent;
}

.palais #nav-main ul.nav-second {
    background-color: #0c4d94;
}

.palais #nav-main ul.nav-second li a {
    color: #fff;
}

.palais.content #nav-main ul a,
.palais.content #nav-main ul a:hover {
    color: #0c4d94;
    border-bottom-color: transparent;
}

.palais.content #nav-main ul li a,
.palais.content #nav-main ul li > span {
    font-size: 1.3em;
}

.palais.content #nav-main ul li ul.nav-second, 
.palais.content #nav-main.on-scrolling ul li ul.nav-second {
    font-size: 0.7em;
}

.palais #nav-main ul.nav-second li a:hover {
    color: #fff;
}

.palais #nav-main ul li a.nav-main-current {
    color: #0c4d94;
}

.palais #content .teaser {
    display: flex;
    flex-direction: column;
    padding: 2em;
    height: auto;
}

@media (min-width: 1108px) {
    .palais #content .teaser {
        height: 680px;
        /*background-position: center 28%;*/
        padding-top: 2.6em;
        padding-left: 2%;
        padding-right: 2%;
    }
}

@media (min-width: 1780px) {
    .palais #content .teaser {
        height: 900px;
        /*background-position: center 34%;*/
    }
}

.palais #content .teaser p {
    font-size: 1.2em;
    text-align: center;
}

.palais #content .teaser h3 {
    font-family: 'Maven Pro', sans-serif;
    color: #fff;
    padding: 0;
    font-size: 3em;
    line-height: 1em;
    text-transform: uppercase;
    text-align: center;
    font-weight: 800;
    padding-bottom: 0.5em;
    margin: 0 auto;
}

@media (min-width: 1108px) {
    .palais #content .teaser h3 {
        font-size: 4em;
    }
}

@media (min-width: 1780px) {
    .palais #content .teaser h3 {
        font-size: 5em;
    }
}

.palais #content .teaser h4 {
    margin-bottom: auto;
    color: #fff;
    font-size: 2em;
}

@media (min-width: 1780px) {
    .palais #content .teaser h4 {
        width: 1280px;
        font-size: 2.5em;
    }
}

.palais #content p a.link-highlight-block {
    display: inline-block;
    width: auto;
    padding-left: 1em;
    padding-right: 1em;
    margin: 1em 1em;
    text-align: center;
    text-transform: uppercase;
    font-weight: 800;
    color: #003561;
    background-color: #fff;
    border: solid 3px transparent;
}

@media (min-width: 1108px) {
    .palais #content p a.link-highlight-block {
        padding-left: 2em;
        padding-right: 2em;
        margin: 2em 2em;
    }
}

.palais #content p a.link-highlight-block:hover {
    background-color: #003561;
    color: #fff;
}

.palais #content .bg-gray p {
    color: #fff;
    padding-top: 0;
}

.palais #content .bg-gray a {
    color: #fff;
    text-decoration: none;
}

.palais #content .bg-gray .highlight {
    color: #fff;
    background-color: transparent;
    border: dashed 1px rgba(255, 255, 255, 0.7);
    margin-top: 1em;
}

@media (min-width: 1780px) {
    .palais #content .bg-gray .highlight {
        font-size: 1.6em;
    }
}

/* Video Header*/
.palais div[data-fs-id="eyJpZCI6MjAwMDI0OSwic3RvcmUiOiJQQUdFU1RPUkUifQ=="], 
.palais .bg-video-header {
    background-image: url(/messe-berlin/medien/landingpages/palais-berlin/mb_palais_video_header.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

/* Full-width rows: Copytext */
.palais div[data-fs-id="eyJpZCI6MjAwMDEzOSwic3RvcmUiOiJQQUdFU1RPUkUifQ=="], 
.palais .bg-copytext {
    background-image: url(/messe-berlin/medien/landingpages/palais-berlin/mb_palais_copytext-bg.jpg);
    background-color: #003561;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
}

.palais .section-copytext {
    padding: 18vw 2em 4em 2em;
}

.palais .section-copytext p:first-child:first-letter {
    font-size: 2.5em;
}

@media (min-width: 1108px) {
    .palais .section-copytext {
        padding: 375px 2em 8em 2em;
    }
}

/* Full-width rows: Teaser text, YouTube video */
.palais div[data-fs-id="eyJpZCI6MTkyOTk0Nywic3RvcmUiOiJQQUdFU1RPUkUifQ=="], 
.palais div[data-fs-id="eyJpZCI6MTkzMDg3MCwic3RvcmUiOiJQQUdFU1RPUkUifQ=="] {
    background-color: #052241;
}

/* Call-to-Action, Instagram */
.palais .bg-cta {
   background-image: url(/messe-berlin/medien/landingpages/palais-berlin/mb_palais_cta_bg_mobile.jpg);
    background-color: #baa53e;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
}

@media (min-width: 768px) {
    .palais .bg-cta {
        background-image: url(/messe-berlin/medien/landingpages/palais-berlin/mb_palais_cta_bg.jpg);
    }
}

.palais .section-cta {
    padding: 1em;
    text-align: center;
    justify-content: center;
    align-items: center;
    height: 850px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

@media (min-width: 1780px) {
    .palais .section-cta {
        height: 1300px;
    }
}

.palais #content .bg-gray.section-cta > * {
    max-width: 100%;
}

.palais #content .section-cta h3 {
    color: #fff;
    padding: 0;
    font-size: 2em;
    line-height: 1.3em;
    text-align: center;
    font-weight: 800;
    padding-bottom: 0.5em;
}

@media (min-width: 1108px) {
    .palais #content .section-cta h3 {
        font-size: 2.5em;
    }
}

@media (min-width: 1780px) {
    .palais #content .section-cta h3 {
        font-size: 3.6em;
    }
}

.palais .cta-button {
    margin: 2em;
}

.palais .section-cta-text {
    display: flex;
    flex-direction: column;
}

.palais .section-cta-btn {
    display: flex;
    flex-direction: column;
}

@media (min-width: 1108px) {
    .palais .section-cta-btn {
        display: flex;
        flex-direction: row;
    }
}

.palais #content .section-cta-btn p {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.1em;
    color: #003561;
    background-color: white;
    border-radius: 2em;
    padding-bottom: 0px;
    margin: 0 auto;
    margin-bottom: 1.6em;
    transition: background 0.3s;
}

@media (min-width: 1108px) {
    .palais #content .section-cta-btn p {
        margin-top: 1.5em;
        margin-left: 1em;
        margin-right: 1em;
        font-size: 1.3em;
    }
}

.palais #content .section-cta-btn p:hover {
    background-color: #003561;
    color: white;
}

.palais #content .section-cta-btn p a {
    color: inherit;
}

.palais #content .section-cta-btn p:last-child a {
    padding-top: 0.5em;
}

.palais #content .section-cta-btn p:last-child:before {
    content: '';
    background-image: url(/messe-berlin/medien/landingpages/palais-berlin/mb_palais_logo_instagram.png);
    background-size: 2em 2em;
    background-repeat: no-repeat;
    background-position: center bottom;
    width: 2.1em;
    height: 2.1em;
    flex-shrink: 0;
    padding-top: 0.75em;
    transition: inherit;
}

.palais #content .section-cta-btn p:last-child:hover:before {
    background-image: url(/messe-berlin/medien/landingpages/palais-berlin/mb_palais_logo_instagram_white.png);
}

.palais #content p a.cta-button.link-highlight-block {
    font-size: 1.2em;
    background-color: transparent;
    margin: 0px;
}

@media (min-width: 500px) {
    .palais #content .section-cta-btn p:last-child {
        flex-direction: row;
    }

    .palais #content .section-cta-btn p:last-child a {
        padding-top: 0.6em;
    }

    .palais #content .section-cta-btn p:last-child:before {
        padding-left: 1em;
        background-position: right;
    }

    .palais #content .section-cta-btn p a.follow-instagram {
        padding-left: 0.5em;
    }
}

/* Full-width row: Facts */
.palais div[data-fs-id="eyJpZCI6MTkxMzgzMSwic3RvcmUiOiJQQUdFU1RPUkUifQ=="] {
    background-color: #225a73;
}

/* Full-width row: Virtual Market Place */
.palais div[data-fs-id="eyJpZCI6MTkxMzgzMiwic3RvcmUiOiJQQUdFU1RPUkUifQ=="] {
    background-color: #efefef;
}

/* Full-width row: Tickets IGW */
.palais div[data-fs-id="eyJpZCI6MTkxMzgzNCwic3RvcmUiOiJQQUdFU1RPUkUifQ=="] {
    background-color: #bee3b9;
}

.palais #content .mar-bot08 {
    margin-top: 10px;
    background-color: #0c4d94;
}

.palais #content .mar-bot08 h2 {
    display: flex;
    flex-direction: column;
    padding: 0.5em;
    color: #fff;
    font-size: 1.5em;
    text-align: center;
}

/* YouTube video */
.palais #content .yt-embedded {
    margin: 0 auto;
    padding: 0 2em 5em 2em;
    width: auto;
    height: 400px;
}

@media (min-width: 1108px) {
    .palais #content .yt-embedded {
        width: 1024px;
    }
}

@media (min-width: 1780px) {
    .palais #content .yt-embedded {
        width: 1440px;
        height: 600px;
    }
}

/* Facts */
.palais #content .facts h3 {
    color: #fff;
    padding: 0;
    margin-top: 0.5em;
    margin-bottom: 0.8em;
    font-size: 3em;
    line-height: 1em;
    text-transform: uppercase;
    font-weight: 800;
}

.palais #content .facts p, .palais #content .facts li {
    color: #fff;
    padding: 0.6em 0;
}

.palais #content .facts li {
    margin: 0 auto;
    width: 70%;
}

.palais #content .facts li:before {
    color: #fff;
    padding-top: 12px;
}
