/*
    Site-specific styles on top of theme.css.
*/

/* Icon font for the carousel arrows and the mobile menu icon (FontAwesome 4.6.3). */
@font-face {
    font-family: 'FontAwesome';
    src: url('fonts/fontawesome-webfont.woff2?v=4.6.3') format('woff2'),
         url('fonts/fontawesome-webfont.woff?v=4.6.3') format('woff');
    font-weight: normal;
    font-style: normal;
}

/*
    Styles that were inline (<style> block / style="" attributes) on the original tilbizz.nl.
    Moved here because the Content-Security-Policy does not allow inline styles.
    !important keeps the precedence the original inline style attributes had.
*/
footer p {
    font-size: 19.5px;
    margin-bottom: 18px;
    font-weight: 300;
    line-height: 1.4;
}

#Logo img {
    border-width: 0 !important;
}

.carousel-caption p.caption-text {
    margin-bottom: 15px !important;
}

.align-center {
    text-align: center !important;
}

.align-right {
    text-align: right !important;
}

#footerCopyright .footer-link {
    font-size: .85em !important;
}

.search-pagination {
    float: right !important;
    margin-right: 15px !important;
}

/* Mobile menu: the main menu is replaced by a "Go to..." select (built by site.js). */
@media (max-width: 767px) {
    #MenuH {
        display: block !important;
        height: auto;
        position: relative;
    }

    #MenuH .menu {
        display: none !important;
    }

    #MenuH > select {
        height: 50px;
        margin: 0;
        opacity: 0;
        position: relative;
        width: 100%;
        z-index: 10;
    }

    #MenuH > select + span {
        display: block;
        font-size: 22px;
        height: 50px;
        left: 0;
        line-height: 46px;
        position: absolute;
        top: 0;
        white-space: nowrap;
        z-index: 1;
    }

    #MenuH > select + span:before {
        content: "\f0c9";
        font-family: fontawesome;
        margin-right: 10px;
    }
}
