/* Embed fonts */
@font-face {
    font-family: 'Nexa';
    src: url('../fonts/nexa_bold-webfont.eot');
    src: url('../fonts/nexa_bold-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/nexa_bold-webfont.woff2') format('woff2'),
    url('../fonts/nexa_bold-webfont.woff') format('woff'),
    url('../fonts/nexa_bold-webfont.ttf') format('truetype'),
    url('../fonts/nexa_bold-webfont.svg#nexa_boldregular') format('svg');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'OpenSans';
    src: url('../fonts/opensans-regular-webfont.eot');
    src: url('../fonts/opensans-regular-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/opensans-regular-webfont.woff2') format('woff2'),
    url('../fonts/opensans-regular-webfont.woff') format('woff'),
    url('../fonts/opensans-regular-webfont.ttf') format('truetype'),
    url('../fonts/opensans-regular-webfont.svg#open_sansregular') format('svg');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'OpenSans-italic';
    src: url('../fonts/opensans-italic-webfont.eot');
    src: url('../fonts/opensans-italic-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/opensans-italic-webfont.woff2') format('woff2'),
    url('../fonts/opensans-italic-webfont.woff') format('woff'),
    url('../fonts/opensans-italic-webfont.ttf') format('truetype'),
    url('../fonts/opensans-italic-webfont.svg#open_sansitalic') format('svg');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'OpenSans-bold';
    src: url('../fonts/opensans-bold-webfont.eot');
    src: url('../fonts/opensans-bold-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/opensans-bold-webfont.woff2') format('woff2'),
    url('../fonts/opensans-bold-webfont.woff') format('woff'),
    url('../fonts/opensans-bold-webfont.ttf') format('truetype'),
    url('../fonts/opensans-bold-webfont.svg#open_sansbold') format('svg');
    font-weight: 700;
    font-style: normal;
}

/* Styles reset */
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;
}

body {
    font-family: OpenSans, sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #fff;
    font-style: normal;
}

body,
html {
    width: 100%;
    overflow-x: hidden;
}

.clearfix:before,
.clearfix:after {
    display: table;
    content: "";
}

.clearfix:after {
    clear: both;
}

div.content {
    margin: 0 auto;
    max-width: 960px;
    height: 100%;
    position: relative;
}

p {
    line-height: 25px;
    padding: 0 0 30px;
}

div.col-50 {
    margin: 0;
    padding: 0 15px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 50%;
    float: left;
}

div.slide-box {
    width: 100%;
    min-height: 100vh;
    height: auto;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    padding: 0 0 190px;
    position: relative;
}

div.coffee {
    text-align: center;
    background: transparent url('../images/beszeljunk.png') 50% 0 no-repeat;
    position: absolute;
    bottom: 90px;
    left: 15px;
    width: 100%;
    padding: 40px 0 0;
}

div.slide-box ul {
    margin: 0;
    padding: 0;
    list-style-position: inside;
}

.bold {
    font-weight: 700;
    font-family: OpenSans-bold, sans-serif;
}

.turquoise {
    color: #35BFAE;
}

.float-left {
    float: left;
    margin: 0 15px 0 0;
}

section a {
    color: #fff;
    text-decoration: none;
}

section#home > div.slide-box {
    background-color: #35BFAE;
    background-image: url('../images/bg_01.jpg');
}

section#toborzas > div.slide-box {
    background-color: #38B5E6;
    background-image: url('../images/bg_toborzas.jpg');
}

section#coaching > div.slide-box {
    background-color: #F9B233;
    background-image: url('../images/bg_02.jpg');
}

section#trening > div.slide-box {
    background-color: #BE1522;
    background-image: url('../images/bg_03.jpg');
}

section#kepzes > div.slide-box {
    background-color: #951B81;
    background-image: url('../images/bg_04.jpg');
}

section#kapcsolat > div.slide-box {
    background-color: #38B5E6;
    background-image: url('../images/bg_05.jpg');
}

/* Site logo */
div#site-logo:before {
    content: '';
    display: block;
    width: 2px;
    background: #fff;
    margin: 0 auto;
    height: 35vh;
}

div#site-logo {
    margin: 0 auto;
    width: auto;
    text-align: center;
}

div#site-logo > span {
    font-family: Nexa, sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    display: block;
    margin: 20px 0 0;
}

h2.content-title {
    margin: 0;
    padding: 50px 0 100px;
    text-align: center;
    font-weight: 700;
    font-family: Nexa, sans-serif;
}

h2.content-title > span {
    font-size: 40px;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-block;
    padding: 10px 20px 10px 20px;
    border: 1px solid #ffffff;
}

.section-text {
    margin: 0 -15px;
}

/* Navigation */
nav {
    width: 100%;
    position: absolute;
    bottom: 35px;
}

nav ul.navigation {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0;
    display: block;
    width: 100%;
    text-align: center;
}

nav ul.navigation > li {
    display: inline-block;
    margin: 0 30px;
}

nav ul.navigation > li > a {
    font-size: 20px;
    color: #fff;
    font-family: Nexa, sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    padding: 0 0 5px;
}

nav ul.navigation > li > a:hover,
nav ul.navigation > li > a.current {
    border-bottom: 2px solid #fff;
}

button#menuToggler {
    border: none;
    background: transparent;
    cursor: pointer;
    position: absolute;
    right: 0;
    bottom: 0;
    display: none;
}

button#menuToggler > span {
    width: 25px;
    height: 3px;
    border-radius: 1px;
    background: #fff;
    display: block;
    margin: 3px 0;
}


/* Footer */
footer {
    position: fixed;
    bottom: 0;
    overflow: hidden;
    width: 100%;
}

footer > div.footer {
    width: calc(100%/6);
    height: 5px;
    float: left;
}

footer > div.footer.red {
    background: #BE1522;
}

footer > div.footer.orange {
    background: #E94E1B;
}

footer > div.footer.yellow {
    background: #F9B233;
}

footer > div.footer.turquoise {
    background: #35BFAE;
}

footer > div.footer.cyan {
    background: #38B5E6;
}

footer > div.footer.purple {
    background: #951B81;
}

a#backToTop {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 38px;
    height: 38px;
    background: transparent url('../images/top.png') 0 0 no-repeat;
    cursor: pointer;
    z-index: 999;
    opacity: .5;
}

a#backToTop:hover {
    opacity: 1;
}

/* Media queries */
@media only screen and (max-width: 767px) {
    div.content {
        padding: 0 15px;
    }
    div.slide-box {
        margin: 0;
    }
    div.col-50 {
        width: 100%;
        float: none;
        padding: 0;
    }
    div.slide-box {
        background-attachment: scroll;
    }
    nav ul.navigation > li {
        margin: 0 10px 10px;
    }
    nav ul.navigation > li > a {
        font-size: 12px;
        padding: 0;
    }
    nav {
        bottom: 10px;
    }
    div.coffee {
        bottom: 60px;
    }
    h2.content-title > span {
        font-size: 30px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1000px) {
    div.content {
        width: 700px;
    }
    nav ul.navigation > li {
        margin: 0 15px;
    }
    nav ul.navigation > li > a {
        font-size: 16px;
    }
}