/*
Theme Name: Giese-Söhle
Description: Ein Theme exklusiv für die Partnergesellschaft mbB Giese & Söhle
Version: 1.1.1
Requires at least: 5.6
Tested up to: 5.6
Requires PHP: 7.2
Author: Florian Rusch <moin@florianrusch.de>
Author URI: https://www.florianrusch.de
License: No license
*/



/* GENERAL STUFF
****************************************************/
* {
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, p { margin: 10px 0 20px; }
h1, .h1 {
    font-size: 27px;
    color: #333;
    font-weight: normal;
}

a {
    color: #A1A1A1;
    text-decoration: none;
}
a:hover { text-decoration: underline; }

img { border: none; }

address { font-style: normal !important; }

.pr10 { padding-right: 10px; }
.pl10 { padding-left: 10px; }
.w48p { width: 48%; }
.w50p { width: 50%; }
.mb0 { margin-bottom: 0; }
.clear { clear: both; }
.left { float: left; }
.right { float: right; }
.tdu { text-decoration: underline; }
.dt { display: table; }
.taj { text-align: justify; }

input,
textarea {
    border: 1px solid black;
    padding: 7px;
    font-size: 14px;
    background: #fff;
    width: 450px;
}
input[type=submit], button {
    cursor: pointer;
    width: 90px;
    font-weight: bold;
}
input[type=submit]:hover, button:hover {
    background: #000;
    color: #fff;
}

.glyphicons {
    width: 15px;
    height: 14px;
    display: inline-block;
    background-repeat: no-repeat !important;
    background-position: 49% 100% !important;
}

.glyphicons-phone {
    background: url(images/glyphicons_441_phone_alt.png);
}
.glyphicons-mobile {
    background: url(images/glyphicons_163_iphone.png);
}
.glyphicons-email {
    background: url(images/glyphicons_010_envelope.png);
}



/* BACKBONE
****************************************************/
body {
    font-family: arial, verdana, georgia, sans-serif;
    font-size: 12px;
    background-color: #fff;
    color: #c7c7c7;
}

#outside_container {
    margin: 20px auto;
    background-color: #fff;
    width: 1039px;
}

#main_container {
    width: 959px;
    margin: 0 auto;
}



/* HEADER
****************************************************/
#header {
    border-bottom: 1px solid #333;
    position: relative;
    padding: 0 0 15px 10px;
}
#header a {
    display: inline-block;
    font-size: 43px;
    color: #333;
}
#header a:hover {
    text-decoration: none;
}

#header #siteTitle {
    float: left;
    padding-top: 12px;
    padding-left: 15px;
    display: inline-block;
    font-size: 43px;
    color: #333;
}
#header #description {
    padding-left: 5px;
    font-size: 16px;
    color: #333;
}



/* MENÜ
****************************************************/
#menu_container {
    padding: 5px 0;
    border-bottom: 1px solid #333;
}

#menu_container ul {
    list-style-type: none;
    padding-top: 1px;
}

#menu_container ul li {
    float: left;
    font-size: 12px;
}

#menu_container ul li a {
    display: block;
    padding: 5px 15px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
}

#menu_container ul li a:hover,
#menu_container ul li.current-menu-item a {
    background-color: #333;
    color: #fff;
}



/* MENÜ SEARCH-BAR
****************************************************/
.header_search {
    float: right;
    position: relative;
}

.header_search input[type=text] {
    width: 284px;
    height: 28px;
    border: 1px solid #eee;
    padding-right: 30px;
}

.search_icon {
    padding: 8px;
    position: absolute;
    right: 0;
    top: 0;
    border-left: 1px solid #eee;
}



/* CONTENT
****************************************************/
#single_container {
    padding: 10px 15px 15px;
    color: #575757;
    font-size: 14px;
}
#single_container ul {
    padding-left: 20px;
}
#single_container ul.blocks-gallery-grid {
    padding-left: 0;
}
#single_container ul li {
    padding-bottom: 10px;
}
#single_container div.entry-meta,
#category div.entry-meta {
    font-size: 13px;
    color: #8F8F8F;
}
#single_container .post-thumbnail,
#category .post-thumbnail {
    float: left;
    padding: 0 15px 15px 0;
}
#single_container .entry-content .alignright {
    float: right;
    padding-left: 20px;
}

.entry-content {
    text-align: justify;
}
.home h1.entry-title {
    font-size: 33px;
}

/* Disable responsibility of image gallery */
.blocks-gallery-grid.columns-5 .blocks-gallery-image,
.blocks-gallery-grid.columns-5 .blocks-gallery-item,
.wp-block-gallery.columns-5 .blocks-gallery-image,
.wp-block-gallery.columns-5 .blocks-gallery-item {
    width: 185px !important;
    margin-right: 1em;
}
.blocks-gallery-grid.columns-5 .blocks-gallery-image:nth-of-type(5n),
.blocks-gallery-grid.columns-5 .blocks-gallery-item:nth-of-type(5n),
.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n),
.wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n) {
    margin-right: 0;
}
.blocks-gallery-grid .blocks-gallery-image:nth-of-type(2n),
.blocks-gallery-grid .blocks-gallery-item:nth-of-type(2n),
.wp-block-gallery .blocks-gallery-image:nth-of-type(2n),
.wp-block-gallery .blocks-gallery-item:nth-of-type(2n) {
    margin-right: 1em !important; /* Should be the same as in :244 */
}
@media (min-width: 600px) {
    .blocks-gallery-grid.columns-5 .blocks-gallery-image,
    .blocks-gallery-grid.columns-5 .blocks-gallery-item,
    .wp-block-gallery.columns-5 .blocks-gallery-image,
    .wp-block-gallery.columns-5 .blocks-gallery-item {
        width: 185px !important;
        margin-right: 1em !important;
    }
}


/* CATEGORY
****************************************************/
#category {
    padding: 5px 15px 15px;
    color: #575757;
    font-size: 14px;
}
#category header h1 {
    margin-bottom: 10px;
}
#category h2.entry-title {
    margin-bottom: 0;
    margin-top: 30px;
}
#category h2.entry-title a,
#category #customPost1996_2002 h2.entry-title {
    font-weight: normal;
    font-size: 21px;
    color: #3C3C3C;
}

#category div.entry-meta {
    display: none;
}

#category .entry-content p:last-of-type {
    margin-bottom: 7px;
}



/* Bilder-Galerie
****************************************************/
dt.gallery-icon.landscape,
dd.wp-caption-text.gallery-caption {
    padding: 0 15px;
}

#cboxOverlay {
    background: #000 none !important;
}



/* VITA
****************************************************/
table {
    border-spacing: 0 20px;
}
#single_container table tbody th {
    width: 120px;
    text-align: left;
    vertical-align: top;
}
dl.vita dt {
    font-weight: bold;
    padding-bottom: 5px;
}

dl.vita dd {
    padding-bottom: 20px;
}



/* FOOTER
****************************************************/
#footer {
    background-color: #fff;
    padding-top: 5px;
    color: #838383;
    font-size: 14px;
    text-align: right;
    margin-top: 15px;
    margin-bottom: 10px;
    border-top: 1px solid #333;
}

#footer div {
    padding-top: 1px;
}
#footer div.right {
    padding: 5px 15px;
}

#footer div ul {
    list-style-type: none;
}

#footer ul li {
    float: left;
    font-size: 12px;
}

#footer ul li a {
    display: block;
    padding: 5px 15px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
}

#footer ul li a:hover,
#footer ul li.current-menu-item a {
    background-color: #333;
    color: #fff;
}
