/*---------------------------------------------------------------------------------

 Theme Name:   GartenGnom
 Theme URI:    https://www.gartengnom.live
 Description:  
 Author:       Michael Fischer
 Author URI:   
 Template:     Divi
 Version:      3.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

------------------------------ ADDITIONAL CSS HERE ------------------------------*/

p {
    font-family: Arial, Helvetica, sans-serif;
}

#gg-topbox {
	position:absolute;
	left:-160px;
	top:-234px;
	display: block;
	background:url(/wp-content/uploads/2018/03/gnom-002.png) top right no-repeat;
	width:264px;
	height:344px;
}

.centered {
	margin-left: auto;
	margin-right: auto;
	width: 20em;
}


/*—————————————————————*/
/*——SimpleTOC Inhaltsverzeichnis——*/
/*—————————————————————*/
.simpletoc-list ul {
	padding: 0 0 0 1em;
}


/*—————————————————————*/
/*——Replace the Divi Search Button with an Icon——*/
/*—————————————————————*/

/*Hide the search button*/

.db-icon-search input.et_pb_searchsubmit,
.widget_search input#searchsubmit {
background: transparent;
color: transparent;
border: none;
width: 75px;
z-index: 2;
}

/*Add padding to the search input field*/

.db-icon-search input.et_pb_s,
.widget_search input#s {
padding-right: 75px !important;
}

/*Add the icon*/

.db-icon-search .et_pb_searchform:before,
.widget_search::before {
content: '\55';
position: absolute;
font-family: 'ETModules';
z-index: 1;
right: 0;
font-size: 16px;
padding: 16px 38px;
}

/*—————————————————————*/
/*—End – Replace the Divi Search Button with an Icon—*/
/*—————————————————————*/

/*! Webfont */

@font-face {
    font-family: 'cabin_sketchbold';
    src: url('/wp-content/themes/gartengnom/fonts/cabinsketch.woff2') format('woff2'),
         url('/wp-content/themes/gartengnom/fonts/cabinsketch.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/*! Überschriften */

h1, h2, h3 {
    font-family: 'cabin_sketchbold';
}

.ds-related-posts-header p {
    font-family: 'cabin_sketchbold';
	font-size: 35px;
	color: #666666;
}

.page-template-default .wp-caption {
    max-width: 100% !important;
	background-color: #ffffff !important;
	border: none !important;
	padding-left: 0px !important;
	padding-right: 0px !important;
}

@media only screen and (max-width: 480px) {
.single .container {
width: 95%;
}}

.et_right_sidebar #sidebar {
  padding-left: 0 !important;
}


/*! mobile full-width */

@media only screen and (max-width: 980px) {
.page-template-default .et_pb_row {
width: 100% !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
	
.page-template-default .et_pb_text_inner p,
.page-template-default .post-content p,
.page-template-default .et_pb_row h1,
.page-template-default .et_pb_row h2,
.page-template-default .et_pb_row h3,
.page-template-default .et_pb_row .et_pb_blurb_description {
padding-left: 10px !important;
padding-right: 10px !important;
}
	
#gg-topbox {
	left:-153px !important;
}

}

@media (max-width: 479px) {
.et_pb_blog_grid h2,
.et_pb_post h2 {
padding-bottom: 0.8em;
font-size: 20px;
}}


/*************Custom Single Post Layout*************/
/*******************By Divi Soup********************/


/***Post Content***/


/*Add margin below the featured image*/

.single .et_pb_post .et_post_meta_wrapper img {
    margin-bottom: 20px;
}


/*Add margin to the post meta elements*/

.single .author,
.single .published,
.single .post-meta a[rel~="category"],
.single .comments-number {
    margin: 0 15px 0 20px;
}


/*Style the post meta icons*/

.single .author a:before,
.single .published:before,
.single .post-meta a[rel~="category"]:before,
.single .comments-number a:before {
    font-family: 'ETModules';
    color: #636789;
    margin-right: 5px;
    margin-left: -20px;
}


/*Add the post meta icons*/

.single .author a:before {
    content: '\e08a';
}

.single .published:before {
    content: '\e023';
}

.single .post-meta a[rel~="category"]:before {
    content: '\e07c';
}

.single .comments-number a:before {
    content: '\77';
}


/*Make the first letter a drop cap*/

.single .et_pb_post .entry-content:first-letter {
    color: #666666;
    float: left;
    font-size: 4em;
    margin: .25em .05em 0 -.06em;
	font-family: 'cabin_sketchbold';
}


/***Sidebar***/


/*Remove the dividing line*/

@media all and (min-width: 981px) {
    .single #main-content .container:before {
        display: none;
    }
}


/*Style the sidebar links*/

.single #sidebar .et_pb_widget a {
    color: #333;
    font-weight: 300;
    border-left: 5px solid #f5f5f5;
    padding-left: 10px;
    display: block;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}


/*Style the sidebar links on hover*/

.single #sidebar .et_pb_widget a:hover {
    border-color: #636789;
    background: #f5f5f5;
    margin-left: 10px;
}


/*Style the search box*/

.single #sidebar .widget_search input#s,
.single #sidebar .widget_search input#searchsubmit {
    border-radius: 0;
}

.single #sidebar .widget_search input#s {
    border: 5px solid #f5f5f5;
}


/*Hide the search button*/

.single #sidebar .widget_search input#searchsubmit {
    background: transparent;
    color: transparent;
    border: none;
    z-index: 1;
}


/*Add the magnifying glass icon*/

.single #sidebar .widget_search #searchform:after {
    content: '\55';
    font-family: 'ETModules';
    position: absolute;
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #636789;
    right: 10px;
    top: 10px;
}


/***Author Box***/


/*Set the border and spacing*/

.single .ds-author-bio-section {
    border: 5px solid #f5f5f5;
    padding: 15px;
    margin-top: 20px;
}


/*Style the author name*/

.single .ds-author-name {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    color: #333;
}


/*Add padding for the author description*/

.single p.ds-author-details {
    padding-bottom: 1.2em;
}


/*Position the author avatar*/

.single .ds-author-details img {
    float: left;
    margin: 7px 10px 10px 0;
}


/*Style the links*/

.single .ds-author-links a {
    color: #636789;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
}


/***Post navigation***/


/*Next/previous post nav*/


/*Navigation sizing*/

.single #ds-single-post-nav {
    margin: 40px 0;
    display: inline-block;
    width: 100%;
}


/*Post title styling*/

.single #ds-single-post-nav h2 {
    margin-top: 20px;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 1.2em;
}


/*Align the prev post nav*/

.single span.ds-single-nav-previous {
    width: 47.5%;
    margin-right: 5%;
    float: left;
}


/*Align the next post nav*/

.single span.ds-single-nav-next {
    display: block;
    text-align: right;
}


/*Prev/next post nav button styling*/

.single span.ds-single-nav-previous a[rel~="prev"],
.single span.ds-single-nav-next a[rel~="next"] {
    color: #fff;
    background: #636789;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    padding: .7em 1em !important;
    border: 2px solid #636789;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}


/*Prev/next post nav button hover styling*/

.single span.ds-single-nav-previous a[rel~="prev"]:hover,
.single span.ds-single-nav-next a[rel~="next"]:hover {
    color: #636789;
    background: #fff;
}


/*Prev/next arrows size*/

.single .ds-meta-nav {
    font-size: 18px;
}


/*Reduce post nav button size on mobile*/

@media all and (max-width: 479px) {
    .single span.ds-single-nav-previous a[rel~="prev"],
    .single span.ds-single-nav-next a[rel~="next"] {
        font-size: 10px;
        padding: .7em .75em !important;
    }
}


/***Related posts***/


/*Hide the default title and meta*/

.single .ds-related-posts .post-meta,
.single .ds-related-posts .entry-title {
    display: none;
}


/*Set the display and margin*/

.single .ds-related-posts {
    display: inline-block;
    margin-top: 30px;
}


/*Remove padding*/

.single #left-area .ds-related-posts ul {
    padding-left: 0;
}


/*Style the post title*/

.single .ds-related-content h4 {
    line-height: 1.2em;
    text-transform: uppercase;
    font-size: 18px;
}


/*Set post width and margin*/

.single .ds-related-list {
    list-style-type: none;
    width: 30%;
    float: left;
    margin-right: 5%;
}


/*Remove margin from last post*/

.single .ds-related-list:last-child {
    margin-right: 0;
}


/***Comments***/


/*Add the comment border*/

.single .comment-body {
    border: 5px solid #f5f5f5;
}


/*Position the text*/

.single .comment-body {
    position: relative;
    padding: 20px;
    margin-bottom: 30px;
}


/*Position the avatar container*/

.single .comment_avatar {
    position: relative;
    top: 0;
}


/*Position the avatar image*/

.single .comment_avatar img {
    display: inline-block;
    float: left;
    margin-right: 20px;
    height: auto;
}


/*Adjust the indent for replies*/

.single .comment .children {
    margin-left: 30px;
}


/*Style the comment form input text*/

.single #commentform textarea,
.single #commentform input:not(.et_pb_button) {
    font-family: "Open Sans", Arial, sans-serif;
    background-color: transparent;
    font-size: 14px;
    margin-bottom: 20px;
    color: #333;
    border: 5px solid #f5f5f5;
}


/*Style the reply and submit buttons*/

.single a.comment-reply-link.et_pb_button,
.single .form-submit .et_pb_button {
    border-radius: 0;
    color: #fff;
    background: #636789;
    font-weight: bold;
    text-transform: uppercase;
    border: 2px solid #636789;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}


/*Styling for the reply link button only*/

.single a.comment-reply-link.et_pb_button {
    font-size: 14px;
    margin-right: 20px;
    top: 20px;
    padding: .1em .5em;
}


/*Move the submit button to the left*/

.single #commentform .form-submit {
    float: left;
}


/*Style the reply and submit buttons on hover*/

.single a.comment-reply-link.et_pb_button:hover,
.single .form-submit .et_pb_button:hover {
    background: transparent;
    color: #636789;
    font-weight: bold;
}


/*Hide the reply link button arrow*/

.single a.comment-reply-link.et_pb_button:hover:after {
    display: none;
}


/*Style the edit comment link*/

.single .comment-edit-link {
    color: #636789;
}


/*Comment Form*/


/*Style the logged in as link*/

.single p.logged-in-as a {
    color: #636789;
    text-transform: uppercase;
    font-size: 12px;
}


/*Remove excess padding from the form fields*/

.single p.comment-form-author,
.single p.comment-form-comment,
.single p.comment-form-email,
.single p.comment-form-url {
    padding-bottom: 0;
}


/*Align the form fields on larger screens*/

@media all and (min-width: 768px) {
    .single #commentform input#author {
        width: 48.5%;
        float: left;
    }
    .single #commentform input#email {
        width: 48.5%;
        float: right;
    }
    .single #commentform input#url {
        width: 100%;
    }
}


/*Green bars*/


/*Style the titles*/

.single p.ds-related-posts-header,
.single #respond h3,
.single h1#comments,
.single #sidebar h4.widgettitle {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    z-index: 1;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}


/*Add the left and right bars*/

.single p.ds-related-posts-header:before,
.single p.ds-related-posts-header:after,
.single #respond h3 span:before,
.single #respond h3 span:after,
.single h1#comments:before,
.single h1#comments:after,
.single #sidebar h4.widgettitle:before,
.single #sidebar h4.widgettitle:after {
    position: absolute;
    top: 30%;
    overflow: hidden;
    width: 50%;
    height: 5px;
    content: '\a0';
    background-color: #7D9B55;
}

.single p.ds-related-posts-header:before,
.single #respond h3 span:before,
.single h1#comments:before,
.single #sidebar h4.widgettitle:before {
    margin-left: -52%;
}

.single p.ds-related-posts-header:after,
.single #respond h3 span:after,
.single h1#comments:after,
.single #sidebar h4.widgettitle:after {
    margin-left: 2%;
}


/**********End - Custom Single Post Layout**********/
/*******************By Divi Soup********************/

/* START - Divi Form Styling */
#fbuilder {
padding: 0 10px !important;
}

#fbuilder input, select{
background-color: #eee;
border: none;
-moz-border-radius: 0;
-webkit-border-radius: 0;
border-radius: 0;
font-size: 16px;
color: #999 ;
padding: 16px !important;
-moz-box-sizing: border-box !important;
-webkit-box-sizing: border-box !important;
box-sizing: border-box !important;
}

#fbuilder select{
width: 100% !important;
height: 50px !important;
border-radius: 0;
-moz-border-radius: 0;
-webkit-border-radius: 0;
}


/* END - Divi Form Styling */