/*
Stud-Reisen Aachen

Author: Manuel da Silva Joaquim
URL:    http://www.stud-reisen.de
Email:  mail@mdsj.eu
*/

/* Fonts
-------------------------------------------------- */
@font-face {
    font-family: 'dejavu_sansbook';
    src: url('../fonts/dejavusans-webfont.eot');
    src: url('../fonts/dejavusans-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/dejavusans-webfont.woff2') format('woff2'),
         url('../fonts/dejavusans-webfont.woff') format('woff'),
         url('../fonts/dejavusans-webfont.ttf') format('truetype'),
         url('../fonts/dejavusans-webfont.svg#dejavu_sansbook') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'dejavu_sansbold';
    src: url('../fonts/dejavusans-bold-webfont.eot');
    src: url('../fonts/dejavusans-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/dejavusans-bold-webfont.woff2') format('woff2'),
         url('../fonts/dejavusans-bold-webfont.woff') format('woff'),
         url('../fonts/dejavusans-bold-webfont.ttf') format('truetype'),
         url('../fonts/dejavusans-bold-webfont.svg#dejavu_sansbold') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'dejavu_sansextralight';
    src: url('../fonts/dejavusans-extralight-webfont.eot');
    src: url('../fonts/dejavusans-extralight-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/dejavusans-extralight-webfont.woff2') format('woff2'),
         url('../fonts/dejavusans-extralight-webfont.woff') format('woff'),
         url('../fonts/dejavusans-extralight-webfont.ttf') format('truetype'),
         url('../fonts/dejavusans-extralight-webfont.svg#dejavu_sansextralight') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'dejavu_sansoblique';
    src: url('../fonts/dejavusans-oblique-webfont.eot');
    src: url('../fonts/dejavusans-oblique-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/dejavusans-oblique-webfont.woff2') format('woff2'),
         url('../fonts/dejavusans-oblique-webfont.woff') format('woff'),
         url('../fonts/dejavusans-oblique-webfont.ttf') format('truetype'),
         url('../fonts/dejavusans-oblique-webfont.svg#dejavu_sansoblique') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Reset
-------------------------------------------------- */
*, *:before, *:after {
    margin: 0;
    padding: 0;
    border: 0;
    -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
            box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, main, nav, section, summary {
    display: block;
}


/* Pix
-------------------------------------------------- */
img {
    display: block;
    max-width: 100%;
}
.team {
    float: left;
    width: 50%;
    padding-right: 1.5em;
}
.clear {
    clear: both;
}

/* Links
-------------------------------------------------- */
a {
    color: #000;
    text-decoration: none;
    transition: color .3s, background .3s, border .3s;
}
a:hover {
    color: #0e5087;
}


/* Clearfix
-------------------------------------------------- */
.cf:after {
    content: "";
    display: table;
    clear: both;
}


/* Site
-------------------------------------------------- */
html {
    height: 101%;
    font-family: "dejavu_sansbook", sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}
body {
    margin: 0 auto;
    font-size: 1.1em;
    line-height: 1.4em;
    padding: 1.5em;
    max-width: 66em;
    background: url('../images/stud_background.jpg') no-repeat center fixed #fff;
    background-size: cover;
    color: #333;
}
@media (max-width: 60em) {
    body {
        font-size: 0.9em;
        padding: 0 1.5em;
    }
}


/* Header
-------------------------------------------------- */
.header {
    border-bottom: 2px solid #0e5087;
    margin-bottom: 1.5em;
    background: #fff;
    padding: 12px 24px 0;
}
.logo {
    display: block;
    /* margin-bottom: 1.5em; */
}
.logo img {
  width: auto;
}
.quickbar {
    display: block;
    background: #fff;
    padding: 10px 24px;
    margin: 0 0 0.5em;
    font-size: 0.9em;
    font-weight: 600;
}
.quickbar ul {
    list-style: none;
    text-align: center;
}
.quickbar ul li {
    display: inline;
    padding: 0 20px;
}
@media (max-width: 60em) {
    .quickbar ul li {
        display: list-item;
        font-size: 0.9em;
        padding: 0 10px;
    }
}
.bookingbar {
    display: block;
    background: #fff;
    margin: 0 0 0.5em;
    font-weight: 600;
}
.bookingbar .booking {
    width: 100%;
    padding: 10px 0;
    color: #fff;
    background-color: #0e5087;
    display: block;
    font-size: 1.1em;
    font-weight: 600;
    border: 1px solid #333;
    text-align: center;
}
.booking:hover {
    background-color: #333;
}

/* Navigation
-------------------------------------------------- */
.menu a {
    display: block;
    color: #333;
}
.menu a:hover {
    color: #0e5087;
    text-decoration: none;
}
.menu .active {
    color: #0e5087;
}
.menu li {
    list-style: none;
}
.menu > li {
    position: relative;
}
.menu > li > a {
    padding: .35em 0;
    border-top: 1px solid #ddd;
    font-weight: 600;
}

.submenu {
    position: absolute;
    z-index: 1;
    display: none;
    left: 1em;
}
.submenu:before {
    position: absolute;
    z-index: -1;
    content: '';
    top: -.5em;
    left: 0;
    border-top: .5em solid transparent;
    border-bottom: .5em solid transparent;
    border-left: .5em solid #333;
}
.submenu li {
    border-bottom: 1px solid #444;
}
.submenu a {
    padding: .5em 1.5em;
    font-size: .9em;
    font-weight: 300;
    color: #fff;
    background: #333;
    white-space: nowrap;
}
.submenu a:hover {
    background: #0e5087;
    color: #fff;
}

@media screen and (min-width: 40em) {
    body {
        padding: 2em 3em;
    }
    .logo {
        float: left;
    }
    .menu {
        float: right;
        margin-right: -1em;
    }
    .menu > li {
        float: left;
    }
    .menu > li > a {
        padding: .35em 1em;
        border: 0;
    }
    .menu > li:hover .submenu {
        display: block;
    }
}


/* Headings
-------------------------------------------------- */
h1 {
    font-size: 2em;
    line-height: 1.25em;
    font-weight: 400;
    margin-bottom: .5em;
    color: #0e5087;
}
h2 {
    font-size: 1.6em;
    line-height: 1.25em;
    font-weight: 300;
    margin-bottom: .5em;
    color: #0e5087;
}
h3 {
    font-size: 1.4em;
    line-height: 1.5em;
    font-weight: 400;
    margin-bottom: .5em;
    color: #0e5087;
}
h4 {
    font-size: 1.125em;
    font-weight: 600;
    line-height: 1.5em;
    margin-bottom: .5em;
    color: #0e5087;
}
h1 a, h2 a, h3 a, h4 a {
    color: inherit;
    border: 0 !important;
}
@media (max-width: 60em) {
    h1 {
        font-size: 140%;
    }

    h2,
    h3,
    h4,
    h5,
    h6 {
        font-size: 125%;
    }
}


/* Main
-------------------------------------------------- */
.main {
    border-bottom: 2px solid #0e5087;
    background: #fff;
    padding: 24px;
}
.main hr {
    margin: 3em 0;
    height: 2px;
    background: #ddd;
}
.main p,
.main figure,
.main ul,
.main ol {
    margin-bottom: 1.5em;
}
.main a {
  color: #0E5087;
}
.main a:hover {
    text-decoration: underline;
}

/* Text blocks */
.text ul,
.text ol {
    margin-left: 1em;
}

/* Project meta
-------------------------------------------------- */
.meta {
    margin-bottom: 1.5em;
}
.meta li {
    float: left;
    list-style: none;
    margin-right: 2em;
    color: #0e5087;
}
.meta li b {
    font-weight: 400;
    color: #000;
    padding-right: .25em;
}


/* Project teaser
-------------------------------------------------- */
.teaser {
    list-style: none;
}
.teaser li {
    margin-bottom: 1.5em;
    list-style: none;
}
@media screen and (min-width: 50em) {
    .teaser li {
        float: left;
        width: 30%;
        margin-left: 5%;
    }
    .teaser li:first-child {
        margin-left: 0;
    }
}


/* Next/Prev nav
-------------------------------------------------- */
.nextprev {
    padding: 1em 0;
}
.nextprev a {
    border: 0;
}
.nextprev .prev {
    float: left;
}
.nextprev .next {
    float: right;
}


/* Footer
-------------------------------------------------- */
.footer {
    font-size: .8em;
    background: #fff;
    margin-bottom: 2em;
    padding: 24px;
}
.footer ul li {
    display: inline;
    padding-left: 1em;
}
.copyright {
    float: right;
}
@media (max-width: 50em) {
    .copyright {
        float: none;
        width: 100%;
    }
}
.colophon {
    float: left;
    width: 50%;
}
@media (max-width: 50em) {
    .colophon {
        float: none;
        display: inline-block;
        width: 100%;
        padding-bottom: 1em;
    }
}
.colophon a b {
    color: #0e5087;
    padding-left: .25em;
}

/* Social */
.social {
    float: right;
    top: 20px;
    height: 40px;
    width: 40px;
    background-color: red;
    right: 0;
    position: fixed;
}