/* 
Theme Name: Sommerschlacht
Theme Description: Das Theme der Sommerschlachtseite auf Basis von Bootstrap.
Author: Michael Wolf
URI: http://www.sommerschlacht.de/
Version: 1.0
*/

/*
table of contents

1.0 general styles
x.x accessability
2.0 header
2.1 header general
2.2 header countdown
x.x header menu
x.x content
x.x widgets
x.x widget search
x.x pagination

x.x footer

*/

/*@import url('css/bootstrap.min.css');*/
@import url('css/font-awesome.min.css');
@import url('css/fonts.css');


/* 1.0 general styles */

html{
    font-size: 100%;
}

body{
    font-family:'BebasNeue', Arial, Helvetica, sans-serif;
    line-height: normal;
    color: #fff;
    background: #262626;
}

a, a:hover, a:active, a:focus{
    color: #AA141D;
    outline: 0;
    text-decoration: none;
}

*:focus, button:focus{
    outline: 0;
}

ul{
    list-style: none;
    padding: 0;
}

h1{
    color: #CCCCCC;
    border-bottom: 0.4rem #CCCCCC solid;
    margin-bottom: 2rem;
}

h2{
    color: #CCCCCC;
}

a:hover h2, a:active h2, a:focus h2{
    color: #AA141D;
}

h3{
    color: #262626;
}

p{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.1rem;
    color: #262626;
}

.center{
    /*display: table;*/
    display: block;
    margin: 0 auto;
}

.bg-accent{
    background: #AA141D;
}

.flex-horizontal{    
    display: flex;
    flex-direction: row;
}

.flex-vertical{    
    display: flex;
    flex-direction: column;
}

.justify-space-between{
    justify-content: space-between;
}




/* x.x wordpress - important theme code */

img.alignright { float: right; margin: 0 0 1rem 1rem; }
img.alignleft { float: left; margin: 0 1rem 1rem 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }


/* x.x accessability */

/* Text meant only for screen readers. */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

/* 2.0 header */

/* 2.1 header general */

header{
    position: relative;
}

#ship{
    max-height: 300px;
    margin-top: 25px;
    margin-bottom: 25px;
}

@media (max-width: 767px) {
    
    #ship{
        max-height: 200px;
    }

}

.anchor{
    vertical-align: middle;
    height: 40px;
    margin: 0 20px;
}

#date{
    display: inline-block;
    /*position: absolute;
    bottom: 0;*/
    width: 100%;
    *height: 50px;    
}

.date-part{

}

#date span{   
    display: inline-block;	 
    font-size: 32px;
}

#location-date{	
    position: relative;	
    width: 100%;
    max-width: 600px;
    min-height: 50px;
    padding: 5px 0;
    /*color: #fff;*/
    text-align: center;
}

@media (max-width: 479px) {
    
    .date-part{
        width: 100%;
    }
    .anchor{
        margin: 0;
    }

}

@media (min-width: 480px) {
    
    #location-date{
        display: table;	
    }

    .date-part{
        vertical-align: middle;	
    }
}

/* 2.1 header countdown */

#countdown{	
    width: 100%;
    max-width: 400px;
    height: 65px;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #fff;
}

.countdown-section{
    display: block;
    float: left;
    width: 20%;
    text-align: center;
}

.countdown-value{
    display: block;
    float: left;
    width: 100%;
    font-size: 32px;
}

.countdown-unit{
    display: block;
    float: left;
    width: 100%;
    font-size: 16px;
}

/* x.x header menu */

.menu-main-container{
    width: 100%;
}

#top-menu{
    display: flex;
    align-items: stretch;
    margin: 0;
    color: #fff;
}

#top-menu li{
    display: inline-block;
    max-width: 768px;
    width: 100%;
    text-align: center;
}

#top-menu li a{
    display: block;
    padding: 10px;
    font-size: 1rem;
    color: #262626;
}

#top-menu li a:hover, #top-menu li a:active, #top-menu li a:focus{
    background-color: #931521;
}

#top-menu li a:hover:before, #top-menu li a:active:before, #top-menu li a:focus:before{
    /*display: inline-block;
    width: 1rem;
    height: 1.2rem;
    content: '';    
    background-image: url(img/anchor_black.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1rem 1.2rem;*/
}

#navigation-toggle{
    position: absolute;
    z-index: 1000;
    width: 3rem;
    height: 3rem;
    padding: 0.3125rem 0.5rem 0.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
}

#navigation-top{
    overflow: hidden;
}

@media (max-width: 575px) {
    
    #navigation-top{
        max-height: 0rem;
        
        -webkit-transition: max-height 0.4s;
        transition: max-height 0.4s;
    }
    
    #navigation-top.active{
        max-height: 300px;
    }
    
    #top-menu{
        flex-direction: column;
    }
    
}

@media (min-width: 768px) {
    
    #top-menu li a{
        font-size: 1.1rem;
    }

}

@media (min-width: 992px) {
    
    #top-menu li a{
        font-size: 1.2rem;
    }

}

@media (min-width: 1200px) {
    
    #top-menu li a{
        font-size: 1.5rem;
    }

}

/* x.x content */

#content{
    margin: 1rem 0px;
    
}

#content-wrap{
    padding: 50px;
    background-color: #fff;
}

.page p{
    *margin-bottom: 2rem;
}

@media (max-width: 575px){
    
    #content{
        margin-top: 0;
    }
    
    #content-wrap{
        padding: 1rem;
        background-color: #fff;
    }
}

/* sidebar */
@media (max-width: 767px){
    
    #sidebar-main{
        margin-top: 2rem;
    }
    
}

/* x.x posts */

.post{
    position: relative;
    margin-bottom: 3rem;
}

h2.post-title{
    display: inline-block;
    color: #AA141D;
}

/* secure that no image outstands the post container */
.post img{
    max-width: 100%;
    height: auto;
}

.post-thumbnail-link{
    display: inline-block;
    -webkit-box-shadow: 0px 0px 6px #262626;
    box-shadow: 0px 0px 6px #262626;
    
}

.post-meta{
    display: inline-block;
    font-size: 1.3rem;
}

.post-meta.author{
    margin-right: 1rem;
    color: #AA141D;
}

.post-meta.date{
    color: #cccccc;
}

.more-link{
    position: absolute;
    bottom: 0;
    right: 15px;
    padding: 4px 10px;
    background: #000;
    color: #fff;
    font-family: 'BebasNeue', Arial, Helvetica, sans-serif;
    font-size: 1.1rem;
}

a.more-link:hover, a.more-link:active, a.more-link:focus{
    color: #fff;
}

/* x.x post gallery */

.gallery-title{
    width: 100%;
    margin: 1rem 0;
    word-wrap: break-word;
}

.gallery-link:hover .gallery-title{
    color: #AA141D;
    
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}

.gallery-link:hover .post-thumbnail{
    -webkit-box-shadow: 0px 0px 6px #262626;
    box-shadow: 0px 0px 6px #262626;
    
    -webkit-transition: box-shadow 0.2s;
    transition: box-shadow 0.2s;
}

@media (max-width: 575px){
    .gallery-title{
        font-size: 1rem;
    }
}

/* x.x widgets */

.widget{
    margin-bottom: 3rem;
}

.widget ul{
    color: #262626;
    font-size: 1.4rem;
}

@media (max-width: 767px) {
    
    .widget{
        text-align: center;
    }
    
    .widget-title{
        text-align: center;
    }
    
}

/* x.x widget search */

#widget-search-form{
    display: flex;
    height: 2rem;
}

#sidebar-main #widget-search-form{
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.widget-search-input{
	font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    height: 100%;
	padding-left: 3px;
    border: 1px #262626 solid;
}

#widget-search-submit{
    width: 2rem;
    height: 100%;
    background-color: #262626;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* x.x widget flyer */
.widget_flyer img{
    max-width: 100%;
}

/* x.x widget bands */
/*@media (max-width: 575px) {
    
    .widget_bands{
        text-align: center;
    }
    
}*/

/* x.x pagination */

navigation.pagination{
    width: 100%;
}

.nav-links{
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
}

.page-numbers{
    display: inline-block;
    padding: 0.5rem;
    margin: 0.2rem;
    color: #ccc;
}

a.page-numbers, a.page-numbers:hover{
    color: #AA141D;
    border-bottom: 2px #fff solid;
}

a.page-numbers:hover{
    color: #AA141D;
    border-bottom: 2px #AA141D solid;
}

a.page-numbers.next, a.page-numbers.prev{
    border-bottom: none;
    color: #fff;
}

.page-numbers.next, .page-numbers.prev{
    width: 2rem;
    height: 2rem;
    padding-top: 0;
    padding-bottom: 0;
    background: #262626;
    color: #fff;
    font-size: 1.5rem;
}

/* x.x map */
#map{
    height: 300px;
}

@media (min-width: 992px) {
    #map{
        height: 400px;
    }
}

@media (min-width: 1200px) {
    #map{
        height: 500px;
    }
}

/* x.x footer */
#footer{
    height: 120px;	
}

footer span, footer a{
    display: inline-block;
    text-align: center;
    width: 100%;
    color: #fff;
}

footer a:hover {
	color: #262626;
}

#footer_ev{
    margin-top: 5px;
    font-size: 36px;
}

#footer_mail{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
}

#footer_links{
	/*display: flex;
	align-items: stretch;*/
}

#footer_imprint, #footer_privacy{
    margin-top: 15px;
    color: #262626;
    font-size: 24px;
}

#footer_imprint:hover, #footer_privacy:hover{
    color: #fff;
}

@media (max-width: 310px) {
    footer{
        height: 170px;	
    }
}

@media (max-width: 310px) {
    footer{
        height: 170px;	
    }
}