/*
 Theme Name:   KOKA Produktion Theme
 Theme URI:    http://www.koka-produktion.de
 Description:  Twenty Fourteen Child Theme
 Author:       Kosma Kaczmarski
 Author URI:   http://www.koka-produktion.de
 Template:     twentyfourteen
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twenty-fourteen-child
*/

@import url("../twentyfourteen/style.css");

html{
    background: #000000;
}

body {
    background: #ffffff;
}

.site{
    /*background: url("img/bg-light.png") repeat;*/
}



#menu-footer-menue{
    float: right;
}
#menu-footer-menue li{
    display: inline;
    margin-right: 5px;
    border: none;

}
#menu-footer-menue li a{
    color: #aaaaaa;

}
#menu-footer-menue li a:hover{
    color: #ffffff;

}

.primary-sidebar ul.menu li ul.sub-menu{
    display: none;
}
.primary-sidebar ul.menu li.current-menu-item ul.sub-menu, .primary-sidebar ul.menu li.current-menu-ancestor ul.sub-menu{
    display: block;
}


h1.site-title a img{
    margin-top:-5px;
}

.site-content .entry-header, .site-content .entry-content, .site-content .entry-summary, .site-content .entry-meta, .page-content, .archive-header, .page-header {
    margin: 0 auto;
    max-width: 100%;
    background: transparent;
}

.site,.site-header, .comments-area  {
    max-width: 100%;
}


.site-navigation .current_page_item > a, .site-navigation .current_page_ancestor > a, .site-navigation .current-menu-item > a, .site-navigation .current-menu-ancestor > a {
    color: #55d737;
    color: #F0A146;
}

.primary-navigation ul ul{
    background-color: #000;
}

.search-toggle{
    background-color: #24890d;
    background-color: #003840;
}
::selection{

    background-color: #003840;
}
::-moz-selection {
    background-color: #003840;
}
a {
    color: #24890d;
    color: #003840;
}

.site-navigation a, .primary-navigation li > a{
    color: #cccccc;
    text-transform: uppercase;
}

.search-box, .site-navigation a:hover, .search-toggle:hover, .search-toggle.active ,.primary-navigation li:hover > a, .primary-navigation li.focus > a ,.primary-navigation ul ul a:hover,
.primary-navigation ul ul li.focus > a{
    background-color: #41a62a;
    background-color: #005A5B;
    color: #ffffff;
}
.secondary-navigation{
    border-bottom: 0;
    margin-top: 0;
    padding-top: 20px;
}

.secondary-navigation li{
    border-top: 0;
}

.secondary-navigation li:hover > a, .secondary-navigation li.focus > a, .secondary-navigation ul ul a:hover, .secondary-navigation ul ul li.focus > a{
    background-color: transparent;
    color: #ffffff;
}

.secondary-navigation ul ul{
    background-color: transparent;
}

.entry-meta a:hover, .entry-title a:hover {
    color: #41a62a;
    color: #005A5B;

}
.comment-author a:hover,
.comment-list .pingback a:hover,
.comment-list .trackback a:hover,
.comment-metadata a:hover,a:active, a:hover {
    color: #41a62a;
    color: #005A5B;
}
.widget a:hover ,.site-footer, .site-info, .site-info a:hover, .widget li.current-menu-item > a {
    color: #41a62a;
    color: #F0A146;
}
.widget a {
    color: #fff;
}




.site-description {
    margin: 10px 0 21px;
}


@media screen and (min-width: 1040px){
    .full-width .archive-header, .full-width .comments-area, .full-width .image-navigation, .full-width .page-header, .full-width .page-content, .full-width .post-navigation, .full-width .site-content .entry-header, .full-width .site-content .entry-content, .full-width .site-content .entry-summary, .full-width .site-content footer.entry-meta {
        padding-right: 50px;
        padding-left: 50px;
    }
}

.content-area {
    padding-top: 30px;
    background: url("img/corner-tl.png") no-repeat scroll 0px 0px;
    background-size: 50px;
}

body.home .content-area {
    padding-top: 30px;
    background: url("img/corner-gradient.png") no-repeat scroll 0px 0px;
    background-size: 150px;
}



#content article {
    padding-top: 30px;
    background: url("img/corner-gradient.png") no-repeat scroll 0px 0px;
    background-size: 150px;


}

#content article:first-of-type{
    background: none;
    padding-top: 0;
}

article.has-post-thumbnail a.post-thumbnail{
    margin-top: -30px;
}

body.category-clients article.has-post-thumbnail a.post-thumbnail{
    margin-top: 0;
}

#secondary{
    background-color: #003840;
    border-top: none;
    background: url("img/border-secondary.png") #003840 no-repeat scroll bottom right;
    background-size: 1008px;
}

.site-content{
    background: url("img/corner-br.png") no-repeat scroll bottom right;
    background-size: 150px;

}

.full-width .site-content img.size-medium.alignleft{
    width: 100%;
    float: none;
    border-radius: 3px;
}
@media screen and (max-width: 400px){

    body.page .site-content .entry-header {
        padding: 0 0 12px;
    }

    .list-view .content-area {
        padding: 0; 
    }

    .list-view #content article:first-of-type{
        padding-top: 30px;
    }
    #content article{
        padding-left: 15px;
        padding-right: 15px;
    }

    body.single #content article{
        padding-left: 0;
        padding-right: 0;
    }
    .site-content .entry-title {
        clear: none;
        font-size: 15px;
        font-weight: 900;
        line-height: 1.2;
        margin-bottom: 6px;
    }

    .site-content .entry-title, .list-view .site-content .entry-title{
        text-transform: uppercase;
    }

    .list-view .site-content .cat-links, .list-view .site-content .entry-content, .list-view .site-content .entry-summary, .list-view .site-content footer.entry-meta{
        display: block;
    }
    .site-content .entry-content, .site-content .entry-summary, .page-content{
        padding: 12px 0;
    }

    body.single .site-content .entry-content,body.single .site-content .entry-summary,body.single .page-content{
        padding: 12px 10px 0;
    }
}

@media screen and (min-width: 594px){
    .site-content .entry-header {
        padding-right: 10px;
        padding-left: 10px;
    }
}
@media screen and (min-width: 673px){

    .content-area {
        background: url("img/corner-tl.png") no-repeat scroll 0px 0px;
        background-size: 100px;



    }
    .full-width .site-content img.size-medium.alignleft{
        width: 35%;
        margin-left: 0;
        float: left;
    }
    .header-main {
        padding: 0 30px 0 10px;
    }
    .site-content .entry-header {
        padding-right: 30px;
        padding-left: 30px;
    }
    .site-content{
        background: url("img/corner-br.png") no-repeat scroll bottom right;
        background-size: 200px;

    }



}

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



    .content-area {
        background: url("img/corner-tl.png") no-repeat scroll 180px 0px;
        background-size: 100px;


    }
    .header-main {
        padding: 0 30px;
    }

    body.home .content-area {
        padding-top: 30px;
        background: url("img/corner-gradient.png") no-repeat scroll 180px 0px;
        background-size: 150px;
    }
    .site-main{
        background: url("img/corner-br-black.png") no-repeat scroll bottom right;
        background-size: 200px;

    }
    .site-content{
        background: transparent;

    }

    #secondary{
        background: url("img/border-secondary.png") #003840 no-repeat scroll bottom right;
        background-size: 580px;
    }

    .site-header{
        background: #003840; /* Old browsers */
        /* IE9 SVG, needs conditional override of 'filter' to 'none' */
        background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMzg0MCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjM1JSIgc3RvcC1jb2xvcj0iIzAwMzg0MCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
        background: -moz-linear-gradient(left,  #003840 0%, #003840 35%, #000000 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, right top, color-stop(0%,#003840), color-stop(35%,#003840), color-stop(100%,#000000)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(left,  #003840 0%,#003840 35%,#000000 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(left,  #003840 0%,#003840 35%,#000000 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(left,  #003840 0%,#003840 35%,#000000 100%); /* IE10+ */
        background: linear-gradient(to right,  #003840 0%,#003840 35%,#000000 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#003840', endColorstr='#000000',GradientType=1 ); /* IE6-8 */

    }

    body.blog-layout .site-header{
   

    }

    body.blog-layout #secondary{
    }

    .secondary-navigation li{
        border-top: 0;
    }

    .secondary-navigation li:hover > a, .secondary-navigation li.focus > a, .secondary-navigation ul ul a:hover, .secondary-navigation ul ul li.focus > a{
        background-color: #41a62a;
        background-color: #005A5B;
        color: #ffffff;
    }

    .secondary-navigation ul ul{
        background-color: #003840;
    }


}

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

    .content-area {
        background: url("img/corner-tl.png") no-repeat scroll 220px 0px;
        background-size: 100px;


    }
    body.home .content-area {
        padding-top: 30px;
        background: url("img/corner-gradient.png") no-repeat scroll 220px 0px;
        background-size: 150px;
    }
    .site-main{
        background: url("img/corner-br-black.png") no-repeat scroll bottom right;
        background-size: 400px;

    }




}

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

    .site-content .entry-header, .site-content .entry-content, .site-content .entry-summary, .site-content .entry-meta, .page-content {
        margin: 0;
        max-width: 1000px;
    }
    .comments-area  {
        margin: 0;
        max-width: 1000px;
    }

}

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

    .site-main{
        background: url("img/corner-br-black.png") no-repeat scroll bottom right;
        background-size: 700px;

    }

}

#secondary {

    min-height: 600px;
}

.post-thumbnail {
    background: transparent;

}
.full-width .post-thumbnail img {
    margin: 0;
}

.featured-content a:hover {
    color: #F0A146;
}


/* grid */

body.category-clients.grid .featured-content {
    background: transparent;
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
    position: relative;
    width: 100%;
}

@media screen and (min-width: 1008px){
    body.category-clients.grid .featured-content {
        max-width: 1000px;
    }
}

body.category-clients.grid .featured-content-inner {
    overflow: visible;
}

body.category-clients.grid .featured-content .hentry {
    color: #fff;
    margin: 0;
    max-width: 100%;
    width: 100%;
}

body.category-clients.grid .featured-content .post-thumbnail,
body.category-clients.grid .featured-content .post-thumbnail:hover {
    background: transparent;
}

body.category-clients.grid .featured-content .post-thumbnail {
    display: block;
    position: relative;
    padding-top: 0;
    height:100px;
    overflow: visible;
    text-align: center;

}

body.category-clients.grid .featured-content .post-thumbnail img {
    left: auto;
    position: relative;
    margin:0 auto;
    top: 10%;
    vertical-align: baseline;
    max-width: 200px;


}

body.category-clients.grid .featured-content .entry-header {
    background-color: transparent;
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
    min-height: 96px;
    overflow: hidden;
    padding: 24px 10px;
}

body.category-clients.grid .featured-content a {
    color: #000;
}

body.category-clients.grid .featured-content a:hover {
    color: #005A5B;
}

body.category-clients.grid .featured-content .entry-meta {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.0909090909;
    margin-bottom: 12px;
}

body.category-clients.grid .featured-content .cat-links {
    font-weight: 700;
}

body.category-clients.grid .featured-content .entry-title {
    font-size: 12px;
    font-weight: 300;
    line-height: 1.3333333333;
    margin: 0;
    text-transform: none;
    text-align: center;
}

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

    body.category-clients.grid .featured-content .hentry {
        float: left;
        width: 50%;
    }

    body.category-clients.grid .featured-content .hentry:nth-child( 2n+1 ) {
        clear: both;
    }

    body.category-clients.grid .featured-content .entry-header {
        /*border-color: #000;
        border-style: solid;
        border-width: 12px 10px;*/
        border: none;
        height: 96px;
        padding: 0;
    }

}

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

    body.category-clients.grid .featured-content {
        margin-bottom: 0;
    }
}

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

    body.category-clients.grid .featured-content {
        padding-left: 182px;
    }

    body.category-clients.grid .featured-content .hentry {
        width: 33.3333333%;
    }

    body.category-clients.grid .featured-content .hentry:nth-child( 2n+1 ) {
        clear: none;
    }

    body.category-clients.grid .featured-content .hentry:nth-child( 3n+1 ) {
        clear: both;
    }

    body.category-clients.grid .featured-content .entry-header {
        height: 120px;
    }

}

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

    body.category-clients.grid .featured-content {
        padding-left: 222px;
    }
}

.featured-content {
background: #000;
}

