/*
Theme Name: FOB 2015
Description: FOB 2015 theme
Author: Laboratorium.ee - Marcin Kościelnicki
*/

/*
Sie will es und so ist es fein
So war es und so wird es immer sein
Sie will es und so ist es Brauch
Was sie will bekommt sie auch
*/

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    min-width: 768px;
    background: white;
}

a {
    text-decoration: none;
    color: inherit;
}

a img {
    border: 0;
}

/* Header */

.fob-header {
    background: white;
    height: 120px;
    position: relative;
    margin: auto;
    width: 1366px;
    color: black;
}

.fob-header-logo {
    position: absolute;
    left: 31px;
    top: 20px;
    display: block;
    line-height: 0;
}

.fob-header>ul {
    padding: 0;
    margin: 0;
    position: absolute;
}

.fob-header-reports {
    left: 142px;
    top: 26px;
}

.fob-header-categories {
    left: 242px;
    top: 75px;
}

.fob-header>ul>li {
    display: inline-block;
}

.fob-header-social>li {
    margin-right: 30px;
}

.fob-header-reports>li {
    font-size: 12px;
    letter-spacing: 2px;
}

.fob-header-categories>li {
    margin-right: 30px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1.7px;
    height: 45px;
    position: relative;
}

.fob-header-categories>li>a {
    height: 40px;
    display: block;
}

.fob-header-categories>li:hover>a, .fob-header-categories>li.current-menu-parent>a {
    border-bottom: solid black 2px;
}

.fob-header-categories>li>ul {
    display: none;
    position: absolute;
    top: 45px;
    left: 0px;
    z-index: 3;
    background: white;
    padding: 4px 10px;
    min-width: 100%;
    border: 2px #a9a9a9 solid;
}

.fob-header-categories>li>ul:hover {
    display: block;
}

.fob-header-categories>li:hover>ul {
    display: block;
}

.fob-header-categories>li>ul>li {
    display: block;
    color: #535353;
    white-space: nowrap;
}

.fob-header-categories>li>ul>li:hover {
    background-color: #7b7b7b;
    color: #ffffff;
}

.fob-header-categories>li>ul>li>a {
    display: block;
    height: 30px;
    font-size: 12px;
    padding: 9px 10px;
    font-weight: 400;
}

.fob-header-categories>li>ul>li:not(:first-child) {
    border-top: solid 1px #a9a9a9;
}

.fob-header-social {
    left: 242px;
    top: 16px;
}

.fob-header-download {
    position: absolute;
    right: 33px;
    top: 15px;
}

.fob-header-download a {
    border: solid black 2px;
    width: 197px;
    height: 38px;
    display: block;
    padding: 7px 0px 7px 14px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.fob-header-download a::before {
    content: url(img/download.png);
    margin-right: 4px;
    position: relative;
    top: 2px;
}

/* Jumbo */

.fob-jumbo {
    height: calc(100vh - 10px);
    min-height: 400px;
    background-image: url(img/jumbo_bg_2015.jpg);
    background-size: cover;
    background-position: top;
    color: white;
    padding-top: calc(60vh - 275px);
    text-align: center;
    text-transform: uppercase;
}

.fob-jumbo h1 {
    margin: 0;
    font-size: 24px;
    letter-spacing: 2px;
    font-weight: 800;
    padding-top: 20px;
}

.fob-jumbo p {
    font-size: 44px;
    font-weight: 600;
    font-family: 'Bebas', sans-serif;
}

.fob-jumbo-big {
    font-size: 215px;
    line-height: 160px;
}

.fob-jumbo a {
    display: block;
    margin-top: 70px;
    color: white;
    font-weight: 800;
}

/* Firstrow */

.fob-firstrow {
    margin-left: 50%;
    background-image: url(img/quote_bg.png);
    background-size: cover;
    color: white;
    position: relative;
    padding-left: 50px;
    padding-right: 30px;
    padding-top: 70px;
    padding-bottom: 100px;
    display: block;
}

.fob-firstrow p {
    max-width: 600px;
    line-height: 30px;
    font-size: 18px;
    letter-spacing: 1px;
    margin: 24px 0;
}

.fob-firstrow::before {
    content: " ";
    background-image: url(img/prezeska.jpg);
    background-size: cover;
    background-position: 75% 50%;
    position: absolute;
    top: 0;
    left: -100%;
    bottom: 0;
    width: 100%;
}

p.fob-firstrow-big {
    font-size: 48px;
    font-family: 'Bebas', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    max-width: 420px;
    margin-top: 0;
    line-height: normal;
}

p.fob-firstrow-right {
    text-align: right;
    line-height: normal;
}

.fob-firstrow-link {
    display: block;
    margin-top: 100px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
}

/* Categories & items */

.fob-category {
    position: relative;
}

.fob-category-left {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 680px;
    padding: 70px 30px 20px;
    z-index: 2;
    text-shadow:
        -1px -1px white,
        -1px 0px white,
        -1px 1px white,
        0px -1px white,
        0px 1px white,
        1px -1px white,
        1px 0px white,
        1px 1px white;
}
.fob-category-left ::selection {
    text-shadow: none;
}

.fob-category-left h2 {
    margin: 0 0 30px 0;
    font-family: 'Bebas', sans-serif;
    text-transform: uppercase;
    font-size: 60px;
    line-height: 50px;
    font-weight: 600;
}

.fob-category-left p {
    margin: 0;
    font-size: 18px;
    line-height: 30px;
    color: #5d5d5d;
}

.fob-category>img {
    position: absolute;
    display: block;
    bottom: 30px;
    right: 50%;
    z-index: 1;
}

.fob-item {
    margin-left: auto;
    width: 50%;
    height: 600px;
    position: relative;
}

.fob-category-1 .fob-item {
    background-color: #eb4d0c;
}

.fob-category-2 .fob-item {
    background-color: #ff4d4d;
}

.fob-category-3 .fob-item {
    background-color: #33b39a;
}

.fob-category-4 .fob-item {
    background-color: #b2b2b2;
}

.fob-item-wrapper {
    width: 680px;
    height: 600px;
    position: relative;
    color: white;
    display: block;
}

/* left/top/... for the following are in the HTML. */

.fob-item-text {
    position: absolute;
    font-family: 'Bebas', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 34px;
    z-index: 1;
}

.fob-item-number {
    position: absolute;
    font-family: 'Bebas', sans-serif;
    font-weight: 600;
    font-size: 300px;
    z-index: 1;
}

.fob-item img {
    position: absolute;
}

.fob-item-link {
    display: block;
    font-weight: 600;
    font-size: 16px;
    position: absolute;
    left: 30px;
    bottom: 20px;
    z-index: 2;
}

/* Content */

.fob-content {
    width: 800px;
    margin: 20px auto;
    font-size: 16px;
}

/* Content - headers */

.fob-content h1, .fob-content h2, .fob-content h3 {
    font-family: 'Bebas', sans-serif;
    font-weight: 600;
    text-align: center;
}

.fob-content h1::after, .fob-content h2::after, .fob-content h3::after {
    display: block;
    content: " ";
    height: 1px;
    width: 350px;
    margin: 30px auto 0;
    border-bottom: 1px solid #b2b2b2;
}

.fob-content h1 {
    font-size: 60px;
}

.fob-content h2 {
    font-size: 48px;
}

.fob-content h3 {
    font-size: 24px;
}

.fob-content a {
    text-decoration: underline;
}

.fob-content a:hover {
    color: #793b86;
}

/* Content - quote */

.fob-content blockquote {
    page-break-inside: avoid;
}

.fob-content .fob-quote {
    position: relative;
    margin-left: 300px;
    min-height: 340px;
}

.fob-content .fob-quote>img {
    position: absolute;
    left: -290px;
    width: 250px;
    height: 250px;
    top: 100px;
    border-radius: 125px;
}

.fob-content .fob-quote-main {
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
    font-size: 18px;
}

.fob-content .fob-quote-main::before, .fob-content .fob-quote-main::after {
    font-family: 'Bebas', sans-serif;
    font-weight: 600;
    font-size: 300px;
    color: #793b86;
    position: absolute;
    z-index: -1;
}

.fob-content .fob-quote-main::before {
    content: "”";
    right: 0px;
    top: -40px;
}

.fob-content .fob-quote-main::after {
    content: "„";
    left: 0px;
    bottom: -50px;
}

.fob-content .fob-quote-sub {
    text-align: right;
    font-size: 18px;
    font-weight: 600;
}

/* Content - table */

.fob-content tr:nth-child(even) td {
    background: #f3f3f3;
}

.fob-content tr:nth-child(odd) td {
    background: #e8e8e8;
}

.fob-content tr:first-child td {
    background: #793d86;
    color: white;
    border-bottom: 10px solid white;
}

.fob-content table {
    border-spacing: 0px;
}

.fob-content td {
    border-right: 10px solid white;
    padding: 10px;
}

/* Content - big images */

.fob-content .fob-big-img {
    position: relative;
    line-height: 0;
}

.fob-content .fob-big-img>img {
    width: 100%;
}

.fob-content .fob-big-img::before, .fob-content .fob-big-img::after {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    width: calc((100vw - 800px) / 2);
    content: "";
}

.fob-content .fob-big-img::before {
    right: 100%;
    background: #793b86;
}

.fob-content .fob-big-img::after {
    left: 100%;
    background: #34b49b;
}

/* Footer */

.fob-footer {
    background-color: #3a3a3a;
    color: white;
}

.fob-footer-wrapper {
    width: 1366px;
    height: 114px;
    position: relative;
    margin: 0 auto;
}

.fob-footer ul {
    padding: 0;
    margin: 0;
    position: absolute;
}

.fob-footer li {
    display: inline-block;
}

.fob-footer-nav {
    left: 30px;
    top: 45px;
}

.fob-footer-social {
    left: 760px;
    top: 40px;
}

.fob-footer-nav li {
    margin-right: 64px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 2px;
}

.fob-footer-social li {
    margin-right: 30px;
}

.fob-footer-ee {
    position: absolute;
    top: 40px;
    right: 30px;
    text-align: left;
    font-weight: 300;
    letter-spacing: 1px;
    font-size: 12px;
}

@media (max-width: 1365px) {
    .fob-header {
        width: 1200px;
    }
    .fob-footer-wrapper {
        width: 1200px;
    }
    .fob-header-categories {
        left: 160px;
    }
    .fob-header-social {
        left: 160px;
    }
    .fob-category-left {
        width: 600px;
    }
    .fob-category>img {
        max-width: 580px;
    }
    .fob-item {
        height: 528px;
    }
    .fob-item-wrapper {
        width: 598px;
        height: 528px;
    }
    .fob-item-text {
        font-size: 32px;
        line-height: 30px;
    }
    .fob-item-number {
        font-size: 264px;
    }
    .fob-footer-social {
        left: 660px;
    }
    .fob-footer-nav li {
        margin-right: 44px;
    }
    .fob-footer-social li {
        margin-right: 20px;
    }
}

@media (max-width: 1199px) {
    .fob-header {
        width: 992px;
    }
    .fob-header-categories>li:last-child>ul {
        left: auto;
        right: 0px;
    }
    .fob-footer-wrapper {
        width: 992px;
    }
    .fob-category-left {
        width: 496px;
    }
    .fob-category>img {
        max-width: 476px;
    }
    .fob-item {
        height: 432px;
    }
    .fob-item-wrapper {
        width: 490px;
        height: 432px;
    }
    .fob-item-text {
        font-size: 26px;
        line-height: 24.5px;
    }
    .fob-item-number {
        font-size: 216px;
    }
    .fob-footer-nav {
        top: 25px;
        left: 0;
        right: 0;
        width: 100%;
        text-align: center;
    }
    .fob-footer-social {
        top: 70px;
        left: 30px;
    }
    .fob-footer-social li {
        margin-right: 30px;
    }
    .fob-footer-ee {
        top: 70px;
    }
}

@media (max-width: 991px) {
    .fob-header {
        width: 768px;
    }
    .fob-header-logo {
        top: 15px;
    }
    .fob-header-logo>img {
        width: 36px;
    }
    .fob-header-categories {
        left: 20px;
    }
    .fob-header-categories>li {
        font-size: 14px;
    }
    .fob-category-left {
        width: 384px;
    }
    .fob-category>img {
        max-width: 364px;
    }
    .fob-item {
        height: 336px;
    }
    .fob-item-wrapper {
        width: 381px;
        height: 336px;
    }
    .fob-item-text {
        font-size: 20px;
        line-height: 19px;
    }
    .fob-item-number {
        font-size: 168px;
    }
    .fob-content {
        width: 768px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .fob-content .fob-big-img::before, .fob-content .fob-big-img::after {
        width: calc((100vw - 728px) / 2);
    }
    .fob-footer-wrapper {
        width: 768px;
    }
}

@media print {
    .fob-header, .fob-footer {
        display: none;
    }
    .fob-content tr:not(:last-child) td {
        border-bottom: solid 1px black;
    }
}
