/*
	Theme Name: Daniel-Toelke
	Theme URI: http://www.danieltoelke.de
	Description: HTML5 WordPress Theme
	Version: 1.4.2
	Author: Fabian Klekamp
	Author URI: http://klekamp-websolutions.de
	Tags: HTML5, CSS3
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

@font-face {
  font-family: 'Open Sans';
  src: url('fonts/OpenSans-Regular.woff2') format('woff2'),
  url('fonts/OpenSans-Regular.woff') format('woff'),
  url('fonts/OpenSans-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* global box-sizing */
*,
*:after,
*:before {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;

    text-rendering: optimizeLegibility;
}

/* html element 62.5% font-size for REM use */
html {
    font-size: 62.5%;
    height: 100%;
}

body {
    font: 400 11px/1.4 'Open Sans', sans-serif;
    color: #444;
    background: #000;
    height: 100%;
}

/* clear */
.clear:before,
.clear:after {
    content: ' ';
    display: table;
}

.clear:after {
    clear: both;
}

.clear {
    *zoom: 1;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

a {
    color: #444;
    text-decoration: none;
}

a:hover {
    color: #444;
}

a:focus {
    outline: 0;
}

a:hover,
a:active {
    outline: 0;
}

input:focus {
    outline: 0;
    border: 1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
    width: 100%;
    position: relative;
    min-height: 100%;
    /* equal to footer height */
    margin: 0 0 -4.5rem;
}

.wrapper:after {
    content: "";
    display: block;
}

/* header */
.header {
    position: fixed;
    padding-left: 3.5rem;
    top: 0;
    z-index: 99;
    background: #000;
    width: 100%;
    height: 205px;
}

body.home .header {
    position: fixed;
    padding-left: 3.5rem;
    top: 0;
    z-index: 99;
    background: #000;
    width: 100%;
    height: 180px;
}

/* logo */
.logo {

}

.logo-img {

}

/* nav */
.nav {
    margin: 3.5rem 0;
    font: 300 11px/1.4 'Lucida Grande', 'Lucida Sans Unicode', Helvetica, Arial, sans-serif;
}

.nav ul {
    padding: 0;
    margin: 0;
}

.nav ul li {
    display: inline-block;
    margin-right: 10px;
}

.nav ul li a {
    color: #555;
    font-size: 1.2rem;
}

.nav ul li a:hover {
    color: #b0afaf;
    text-decoration: none;
}

.nav ul li.current-menu-item a {
    color: #b0afaf;
}

nav ul li.current-menu-parent a {
    color: #ddd;
}

nav ul li.current-menu-parent ul.sub-menu li a {
    color: #555;
}

nav ul li.current-menu-parent ul.sub-menu li.current-menu-item a {
    color: #ddd;
}

.nav ul li.menu-item-has-children ul.sub-menu {
    display: none;
    position: absolute;
    left: 3.5rem;
    top: 15.8rem;
}

body.single .nav ul li.menu-item-has-children ul.sub-menu, .nav ul li.current-menu-item.menu-item-has-children ul.sub-menu, .nav ul li.current-menu-parent ul.sub-menu {
    display: block;
}

footer .nav {
    position: absolute;
    bottom: 3rem;
    left: 3.5rem;
    margin: 0;
}

body.home footer .nav {
    position: absolute;
    bottom: 1.5rem;
    left: 3.5rem;
    margin: 0;
}

footer .nav ul {
    margin: 0;
    padding: 0;
}

/* sidebar */
.sidebar {

}

/* footer */
.footer {
    width: 100%;
    bottom: 0;
    background: #000;
    position: relative;
}

body.home .footer {
    position: fixed;
    width: 100%;
    bottom: 0;
    background: #000;
}

.wrapper-footer {
    width: 100%;
    margin: 0 auto;
    text-align: right;
}

.footer, .wrapper:after {
    /* .push must be the same height as footer */
    height: 45px;
}

.footer p.copyright {
    margin: 1.0rem 3.5rem 0 0;
    padding: 0;
}

.footer p.copyright strong {
    text-transform: uppercase;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/
body section {
    padding-left: 3.5rem;
    color: #b0afaf;
}

.push {
    display: block;
    height: 170px;
    width: 100%;
}

section article p a {
    color: #fff;
}

/* home */
body.home section {
    width: 3000px;
    min-height: 400px;
}

body.home section article {
    float: left;
    margin-right: 40px;
    width: 500px;
    position: relative;
}

body.home section article h2 {
    font-size: 1.6rem;
    margin: 33px 0 21px;
    color: #ed8d37;
}

body.home section article p {
    font-size: 1.5rem;
    font-weight: 400;
}

body.home section article ul {
    list-style: none;
    padding: 0;
}

body.home section article li {
    font-size: 1.5rem;
    font-weight: 400;
}

body.home section article img {
    width: 500px;
}

body.home section article a img {
    width: 500px;
}

.vjs-default-skin .vjs-big-play-button {
    width: 6.5rem !important;
    height: 4rem !important;
    border: none !important;
    -webkit-border-radius: 0.5rem !important;
    -moz-border-radius: 0.5rem !important;
    border-radius: 0.5rem !important;
    left: 21rem !important;
    top: 12rem !important;
}

.vjs-default-skin .vjs-big-play-button:before {
    line-height: 4rem !important;
}

/* portfolio */
body.single .push, body.page-template-template-portfolio-php .push {
    display: block;
    height: 215px;
    width: 100%;
}

body.single section article, body.impressum section article, body.netzwerk section article {
    width: 500px;
}

body.page-template-template-portfolio-php article {
    width: 200px;
    height: 200px;
    display: inline-block;
    margin: 0 10px 10px 0;
    position: relative;
    text-align: center;
}

body.page-template-template-portfolio-php section article.post a {
    display: block;
    height: 155px;
}

body.page-template-template-portfolio-php article:hover h2 {
    color: #fff;
    text-decoration: underline;
}

body.page-template-template-portfolio-php article h2 {
    color: #dddddd;
    font-size: 11px;
    line-height: 1.5em;
    overflow: hidden;
    text-align: center;
}

body.page-template-template-portfolio-php article a p {
    color: #b0afaf;
    text-decoration: none;
    font-size: 1.2rem;
    margin-top: 1.2rem;
}

body.page-template-template-portfolio-php article a:hover p {
    color: #555;
    text-decoration: none;
}

body.page-template-template-portfolio-php article img {
    width: 200px;
}

/* ueber-mich */
body.ueber-mich article, body.page article {
    width: 300px;
}

/* page */
body.page section {
    padding-top: 13px;
}

/* single */
body.single section article h1 {
    font-size: 1.6rem;
    margin: 33px 0 21px;
    color: #ed8d37;
}

body.single section article p {
    font-size: 1.5rem;
    font-weight: 400;
}

body.single section article ul {
    list-style: none;
    padding: 0;
}

body.single section article li {
    font-size: 1.5rem;
    font-weight: 400;
}

/* lightbox */
#fancybox-overlay {
    width: 6000px !important;
}

/*------------------------------------*\
    IMAGES
\*------------------------------------*/
.blueimp-gallery {
    width: 100%;
}

.blueimp-gallery > .close {
    display: block !important;
    z-index: 99999
}

.blueimp-gallery > .next, .blueimp-gallery > .prev, .blueimp-gallery > .indicator {
    display: none !important;
}

.blueimp-gallery > .slides > .slide > .slide-content {
    max-width: 80%;
}

/*------------------------------------*\
    Video Lazy Loading
\*------------------------------------*/
.video-header {
    position: relative;
}

.video-header:before {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    content: "\25B6";
    font-size: 50px;
    font-family: Arial, sans-serif;
    color: #fff;
    opacity: .7;
    z-index: 3;
    text-shadow: 0 0 60px rgba(0, 0, 0, 1);
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.video-header.loaded:before {
    display: none;
}

.video-header .overlay{
    display: block;
    width: 100%;
    position: absolute;
    height: 100%;
    z-index: 99;;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width: 320px) {

}

@media only screen and (min-width: 480px) {

}

@media only screen and (min-width: 768px) {

}

@media only screen and (min-width: 1024px) {

}

@media only screen and (min-width: 1140px) {

}

@media only screen and (min-width: 1280px) {

}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
    background: #04A4CC;
    color: #FFF;
    text-shadow: none;
}

::-moz-selection {
    background: #04A4CC;
    color: #FFF;
    text-shadow: none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #FFF;
    border: 1px solid #F0F0F0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption .wp-caption-text,
.gallery-caption {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.sticky {

}

.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre, blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr, img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/*------------------------------------*\
    EXTRAS
\*------------------------------------*/
.eraser {
    clear: both;
}
