/*
Theme Name: Twenty Eleven Gemdud
Theme URI: http://example.com/twenty-eleven-child/
Description: Twenty Eleven Gemdud Theme
Author: David Kunzler
Author URI: http://davidkunzler.de
Template: twentyeleven
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain: twenty-eleven-gemdud
*/

/* Background pattern from Subtle Patterns https://www.toptal.com/designers/subtlepatterns/ */

.two-column {
    padding: 15px;
    width: calc(100% - 30px);
}

.one-column {
    padding: 15px;
    width: calc(50% - 30px);
}

.spacer {
    height: 10px;
    clear: both;
}

.homepage-image {
    border: none;
    padding: 0;
    margin-top: 0;
}

#main {
    padding: 0;
}

#page {
    max-width: 1200px;
}

#branding #searchform {
    position: relative;
    height: 4.4em;
    top: 0;
    right: 0;
    float: right;
}

input#s {
    margin-top: 5px;
    margin-right: 5px;
}

#homepage-content {
    margin-top: calc(0px - 15px - 5px - 4.4em);
}

#access {
    margin: 0 auto 0;
}

#news-article {
}

#main-article {
}

#post-table {
    width: 100%;
    display: table;
    table-layout: fixed;
}

.post-wrapper {
    width: 100%;
    display: table-row;
}

#post-1 {
    display: table-cell;
}

#post-2 {
    display: table-cell;
}

#post-3 {
    display: table-cell;
}

#post-4 {
    display: table-cell;
}

.debug {
    /*min-height: 50px;*/
    /*background: -webkit-radial-gradient(cyan, chartreuse);*/
    /*background:    -moz-radial-gradient(cyan, chartreuse);*/
    /*background:         radial-gradient(cyan, chartreuse);*/
}

/* no border at top */
#branding {
    border-top: none;
}

/* Footer style  */
#site-generator {
    padding-left: 1.5em;
    padding-right: 1.5em;
    text-align: left;
}

/* nicer sidebar menu */
.advanced-sidebar-menu > .child-sidebar-menu > li {
    display: block;
    font-size: small;
    border-bottom: 1px solid #777;
}

.advanced-sidebar-menu > .child-sidebar-menu > li:hover {
    background: #38382d; /* Show a solid color for older browsers */
}

.advanced-sidebar-menu > .child-sidebar-menu > li:hover > a{
    text-decoration: none;
    color: white;
}

.advanced-sidebar-menu > .child-sidebar-menu > li:last-child {
    border-bottom: none;
}

.advanced-sidebar-menu > .child-sidebar-menu > li > a {
    color: #555555;
    display: block;
    width: 100%;
}

.advanced-sidebar-menu > .child-sidebar-menu > li.current_page_item > a {
    background-color: #777a69;
    color: white;
}

/* =Menu
-------------------------------------------------------------- */
#qmh div {
    margin: 0 7.6%;
}

#qmh {
    background: #5c5c5c; /* Show a solid color for older browsers */
    background: -moz-linear-gradient(#5c5c5c, #5e5e5e);
    background: -o-linear-gradient(#5c5c5c, #5e5e5e);
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#5c5c5c), to(#5e5e5e)); /* older webkit syntax */
    background: -webkit-linear-gradient(#5c5c5c, #5e5e5e);
    -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
    -moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
    clear: both;
    display: block;
    float: left;
    margin: 0 auto 6px;
    width: 100%;
}
#qmh ul {
    font-size: 13px;
    list-style: none;
    margin: 0 0 0 -0.8125em;
    padding-left: 0;
}
#qmh li {
    float: left;
    position: relative;
}
#qmh a {
    color: #eee;
    display: block;
    line-height: 3.333em;
    padding: 0 1.2125em;
    text-decoration: none;
}
#qmh ul ul {
    -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    display: none;
    float: left;
    margin: 0;
    position: absolute;
    top: 3.333em;
    left: 0;
    width: 188px;
    z-index: 99999;
}
#qmh ul ul ul {
    left: 100%;
    top: 0;
}
#qmh ul ul a {
    background: #f9f9f9;
    border-bottom: 1px dotted #ddd;
    color: #444;
    font-size: 13px;
    font-weight: normal;
    height: auto;
    line-height: 1.4em;
    padding: 10px 10px;
    width: 168px;
}
#qmh li:hover > a,
#qmh ul ul :hover > a,
#qmh a:focus {
    background: #efefef;
}
#qmh li:hover > a,
#qmh a:focus {
    background: #f9f9f9; /* Show a solid color for older browsers */
    background: -moz-linear-gradient(#f9f9f9, #e5e5e5);
    background: -o-linear-gradient(#f9f9f9, #e5e5e5);
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */
    background: -webkit-linear-gradient(#f9f9f9, #e5e5e5);
    color: #373737;
}
#qmh ul li:hover > ul {
    display: block;
}
#qmh .current-menu-item > a,
#qmh .current-menu-ancestor > a,
#qmh .current_page_item > a,
#qmh .current_page_ancestor > a {
    font-weight: bold;
}
