/* resets */
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
   THANK you eric!
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/* general settings for desktop */
@font-face {
    font-family: "BentonSansCondBlack";
    src: url("../fonts/BentonSansCond-Black.ttf") format("truetype"),
         url("../fonts/BentonSansCond-Black.woff") format("woff");
    font-weight:400;
}


body {
  background: #FFF;
  font-size: 100%;
  box-sizing: border-box;
}

.wrapper {
    padding: 23px;
    background: white;
}


header {
    vertical-align: middle;
    padding-bottom: 13px;
}

ul{
    width: 100%;

}

li {
    display: inline-block;
    vertical-align: middle;
}

.ad-container {
    padding-bottom: 10px;
    /* same same as desktop ad-placing with a bit overlapping on the left */
    margin-left: -7px;
    text-align: center;
}

.ad-annotation {
    font-family: "BentonSansCondBlack";
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
}

.icon-back {
    width: 5%;
    font-size: 26px;
    font-weight: 100;
    padding: 0 13px 0 6px;
}

.mandant-logo {
    display: inline-block;
    box-sizing: border-box;
}

.wrapper {
    margin-left: 0;
    margin-right: 0;
}



/* media querries: desktop ----------------------------------- */

@media only screen and (min-width: 1024px) and (max-width: 1323px) {
    .wrapper {
        margin-right: auto;
    }

}

/* grow on the left side only and have 300 px on the right */
@media only screen and (min-width: 1324px) and (max-width: 1623px) {
    .wrapper {
        margin-right: 300px;
        margin-left: auto;
    }
}

@media only screen and (min-width: 1624px) {
    .wrapper {
        margin-right: auto;
        margin-left: auto;
    }
}

@media only screen and (min-device-width: 321px){
    .wrapper {
        width: 978px;
    }

    .mandant-logo {
        padding-left: 25%;
    }

}

/* media querries: mobile ----------------------------------- */
@media  screen and (orientation:portrait)
and (min-device-width: 300px)
and (max-device-width: 470px) {

    .wrapper {
        width: 100%;
        padding: 0;
    }

    header {
        padding-top: 2px;
        padding-bottom: 1px;
    }

    .icon-back {
        font-size: 20px;
        padding: 0 0 0 6px;
    }

    .mandant-logo {
        width: 80%;
        padding-left: 0;
        text-align: center;
    }

    .logo {
        width: 170px;
        height: 42px;
    }

    .ad-container {
        margin: 0;
    }

    .ad-container #inside-full-top >div >div iframe {
        margin: 0 auto;
        display: block !important;
    }
}
