/*
Theme Name: Gedicht und Spruch
Author: Philipp Helminger
Description: Bootstrap WP-Theme für Gedicht und Spruch
Version: 1.1
*/


/*
Required WordPress CSS
*/
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}
.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}
.bypostauthor {
}
.gallery-caption {
}
.sticky {
}
.wp-caption {
    border: 1px solid #ccc;
    margin-bottom: 1.5em;
    max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
    display: block;
    margin: 1.2% auto 0;
    max-width: 98%;
}
.wp-caption-text {
    text-align: center;
}
.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

/*
Gedicht und Spruch
*/
.Ad800{width:800px;margin:0 auto;text-align:center;}
@media (max-width: 800px) {
    .Ad800{
        width:300px; margin: 0 auto;
    }
}

/* Main Content */

div#main h1 {text-align: center;font-size: 32px;}
div#main h2 {text-align: center;font-size: 20px;margin-bottom: 32px;}
div#main p {text-align: justify;line-height: 1.42857143;font-size: 14px;}
article#post-not-found p{text-align: center;}

@media (max-width: 767px) {
	div#main p {font-size:15px !important;}
#main table tr td {font-size:14px !important;}
} 

/* make sidebar nav vertical */
@media (min-width: 768px) {
    .sidebar-nav .navbar .navbar-collapse {
        padding: 0;
        max-height: none;
    }
    .sidebar-nav .navbar ul {
        float: none;
    }
    .sidebar-nav .navbar ul:not {
        display: block;

    }
    .sidebar-nav .navbar li {
        float: none;
        display: block;
    }
    .sidebar-nav .navbar li a {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .paging-container{width: 640px}

}
@media (min-width: 768px) {
    /* uncomment if you would like the menu to be fixed */
    /* .navbar {
        position: fixed;
        width: 170px;
        z-index: 2;
    }*/
}
@media (min-width: 992px) {
    .navbar {
        width: 220px;
    }
    .col-md-3 {width:240px}
    .paging-container{width: 320px}
}
@media (min-width: 1200px) {
    .navbar {
        width: 220px;
    }
    .col-md-3 {width:240px}
    .col-md-6 {width:788px}
    .paging-container{width: 640px}
}

@media (max-width: 990px) {
    .navbar-header {
        float: none;
        background: #a0ce4e;
        color:#fff;
        margin-top:6px;
    }

    .navbar-header .navbar-brand{color:#fff;}
    .navbar-header .navbar-brand:focus{color:#fff !important;}
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
    
}





.sidebar-nav .navbar-header{ float: none;}
.sidebar-nav{padding: 15px;}
.widget_search{margin-bottom: 15px;}

body{ background: #f3ede5;}
h1{font-size:32px;}
h2{font-size:20px; margin-bottom:32px;}
a {color:#333;}

/* CONTAINER */
.container{border:1px solid #999;background: #fff;}



    /* ==========================================================================
       MAIN MENU
       ========================================================================== */

    a.nav-expander {
    background: none repeat scroll 0 0 #000000;
    color: #FFFFFF;
    display: block;
    font-size: 15px;
    font-weight: 400;
    height: 50px;
    margin-right: 0;
    padding: 1em 1.6em 2em;
    position: absolute;
    right: 0;
    text-decoration: none;
    text-transform: uppercase;
    top: 0;
    transition: right 0.3s ease-in-out 0s;
    width: 130px;
    z-index: 12;

    transition: right 0.3s ease-in-out 0s;
    -webkit-transition: right 0.3s ease-in-out 0s;
    -moz-transition: right 0.3s ease-in-out 0s;
    -o-transition: right 0.3s ease-in-out 0s;
}

a.nav-expander:hover {
    cursor: pointer;
}

a.nav-expander.fixed {
position: fixed;
}

.nav-expanded a.nav-expander.fixed {
right: 20em;
}

.navbar-default {
    background-color: #fff;
    border: none;
}

nav {
background: #fff;
display: block;
height: 100%;
overflow: auto;
position: fixed;
right: -20em;
font-size: 15px;
top: 0;
width: 20em;
z-index: 2000;

transition: right 0.3s ease-in-out 0s;
-webkit-transition: right 0.3s ease-in-out 0s;
-moz-transition: right 0.3s ease-in-out 0s;
-o-transition: right 0.3s ease-in-out 0s;

}
.nav-expanded nav {
right: 0;
}

body.nav-expanded {
margin-left: 0em;
transition: right 0.4s ease-in-out 0s;
-webkit-transition: right 0.4s ease-in-out 0s;
-moz-transition: right 0.4s ease-in-out 0s;
-o-transition: right 0.4s ease-in-out 0s;
}

#nav-close {
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
font-weight: 300;
font-size: 24px;
padding-right: 10px;
}

.navbar ul{
    list-style:square;
}

.navbar h3{
    font-size: 16px;
    font-weight: bold;
    margin: 25px 4px -10px 0px;
    background: #270b07;
    color:#fff;
    padding:4px;
}

h3.widgettitle{
    font-size: 16px;
    font-weight: bold;
    margin: 25px 4px 10px 0px;
    background: #270b07;
    color:#fff;
    padding:4px;
}


.menu {
    padding-top: 12px;
    padding-left: 6px;
}

.menu li {
margin-left: 4px;
font-size: 15px;
padding: 3px;
}

.menu li a {
color: #333;
text-decoration: none;
}

.menu li a:hover {
text-decoration: underline;
}

.menu li .sub-nav {
border-bottom: 0px;
padding: 4px;
}

.menu a .caret {
width: 0;
height: 0;
display: inline-block;
vertical-align: top;
border-top: 4px solid #4f5963;
border-right: 4px solid transparent;
border-left: 4px solid transparent;
content: "";
margin-top: 8px;
}

.menu a:hover .caret {
border-top-color: #4f5963;
}

.menu li.open > a > .caret {
border-top: none;
border-bottom: 4px solid #4f5963;
border-right: 4px solid transparent;
border-left: 4px solid transparent;
}

.menu li.open > a:hover > .caret {
border-bottom-color: #4f5963;
}

.icon:before {
font-family: 'FontAwesome';
font-style: normal;
font-variant: normal;
font-weight: normal;
line-height: 1;
text-transform: none;
content: '\f105';
}

.menu li > a > span.icon {
float: right;
margin: 0.1em 1.7em -0.1em 0;
opacity: 0;
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;

}

.menu li > a:hover > span.icon {
float: right;
margin: 0.1em 0.8em -0.1em 0;
opacity: 1;
}


/* HEADER */
.wide {
    width:100%;
    height:150px;
    background-image:url("images/header.jpg");
    background-size:cover;
    border-bottom:4px solid #270b07;
}

.wide img {
    width:100%;
}

.siteTitle {
    color:#333;
    font-weight:bold;
    font-size:20pt;
    padding:6px;
    text-align:center;
    margin: 30px 0 8px 0;
}

.siteDescription {
    color:#333;
    font-weight:bold;
    font-size:13pt;
    padding:6px;
    text-align:center;
}

/* FOOTER */

#inner-footer{background-color: #000;color:#fff;margin-top: 20px;}
#inner-footer a{color:#fff;}
#widget-footer{padding: 15px;}
p.attribution{text-align: center;}


/* AD SLOTS */
.bigAdSquare{width: 300px; height: 250px; border: 1px solid #ccc; float: right; margin: 0 0 10px 10px}
.smallAdSquare{width:300px;height:250px; margin:0 auto;}

.mediumAdLead{width: 728px; height: 90px; border: 1px solid #333;}
.customAd728{width:728px; height:250px;margin:0 auto; }
.linkblock{width:180px; height:90px; margin: 20px 0 0 0px;}

.skyAd{width:120px;height:auto;margin:0 auto; }
.wideskyAd{width:160px;height:auto;margin:15px auto; }
.halfPageAd{width:300px;height:auto;margin:15px auto; }

.billboardBig{width: 1240px; height: 200px; margin-top:6px;}
.billboardNormal{width: 940px; height: 200px;  margin-top:6px;}
.billboardSmall{width: 720px; height: 150px; margin-top:6px;}



#main table tr td {
    border-top: 1px solid #745b46;
    font-size: 12px;
    padding: 6px 24px;
}

#main table {
    border: 1px solid #745b46;
    margin: 0 -1px 24px 0;
    text-align: left;
    width: 100%;
}

h3, h4{
    background-color: #c5b9ac;
    font-size: 16px;
    margin: 0 0 10px !important;
    padding: 3px 3px 3px 10px;
}

.box-rightbar {
    background: none repeat scroll 0 0 #d8cab0;
    border: 1px solid #999;
    padding: 8px;
    width: 220px;
    margin:15px 0;
}
.box-rightbar img {
    border: 1px solid #fff;
    display: block;
    margin: 8px auto;
}
.box-rightbar a {
    display: block;
    margin: 0 0 0 6px;
}
.box-rightbar strong {
    color: #333;
    display: block;
    margin: 4px 0 6px;
}
.box-rightbar p {
    color: #333;
}
.box-rightbar ul {
    margin: 4px 0 0 14px !important;
    padding:0px;
    list-style: none;
}
.widget_nav_menu ul.menu li ul { display: none; }
.widget_nav_menu ul.menu li.current-menu-item ul, .widget_nav_menu ul.menu li.current_page_item ul, .widget_nav_menu ul.menu li.current-page-ancestor ul, .widget_nav_menu ul.menu li.current-menu-ancestor ul, .widget_nav_menu ul.menu li.current-menu-parent ul, .widget_nav_menu ul.menu li.current-page-parent ul, .widget_nav_menu ul.menu li.current_page_parent ul { display: block; list-style: square !important; }

.widget_nav_menu ul ul {
    margin-left: 20px;
    padding:0px;
}

.sendButton1 {
    background: none repeat scroll 0 0 #755d49;
    border: 1px solid #ccc;
    color: #fff !important;
    float: right;
    font-size: 12px;
    font-weight: bold;
    height: 30px;
    margin: 2px -18px 0 0;
    padding-top: 5px;
    text-align: center;
    width: 170px;
}

/** paging **/

.pagination {
    clear:both;
    padding:0;
    margin: 10px 0;
    position:relative;
    font-size:11px;
    line-height:13px;
    width:100%;
}

.pagination .platz {
    display: block;
    float: left;
    margin: 2px 1px 2px 0;
    padding: 7px 6px 7px 6px;
    text-decoration: none;
    width: 20%;
    color: #fff;
    background: #a0ce4e;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
}

.pagination span, .pagination a {
    display:block;
    float:left;
    margin: 2px 2px 2px 0;
    padding:7px 7px 7px 7px;
    text-decoration:none;
    width:39%;
    color:#fff;
    background: #555;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
}

.pagination a:hover{
    color:#fff;
    background: #a0ce4e ;
}

.pagination .current{
    padding:6px 9px 5px 9px;
    background: #a0ce4e ;
    color:#fff;
}

figcaption{
    width: 100%;
    background: #ccc;
    color: #fff;
    padding:4px;
    text-align: center;
    display: block;
}