/*
Theme Name: Sahifa Child
Description: Child theme for Sahifa theme
Author: TieLabs
Template: sahifa
*/
/* write custom css after this line */
/***************************************
Yarpp related posts Plugin
***************************************/
.related-posts {
  list-style-type: none;
  margin: 0;
  height: 110px;
}
 
.related-posts li {
  padding: 0; margin: 0;
  float: left;
  margin-right: 5px;
  margin-bottom: 5px;
}
 
.related-post {
  position: relative;
  padding: 3px;
  background-color: white;
  border: 1px solid #ddd;
  width: 109px;
  height: 108px;
  overflow: hidden;
}
 
.related-post:hover {
  border: 1px solid #999;
}
 
.related-title {
  position: absolute;
  bottom: 3px;
  left: 0;
  font-size: 0.7em;
  width: 100px;
  margin-left: 3px;
  opacity: 0.5;
  padding: 1px 2px;
  text-align: center;
  line-height: 1.4;
  height: 30px;
  overflow: hidden;
  background-color: black;
  font-family: helvetica, arial;
}
 
.related-title a {
  text-decoration: none;
  color: white;
}
 
.related-thumb {
  font-family: courier;
  background-color: white;
  font-size: 1.2em;
  line-height: 1.2;
  height: 100px;
  overflow: hidden;
  width: 100px;
}
 
.related-thumb a {
  text-decoration: none;
  color: #ddd;
}

#topcontrol:before {
    line-height: 36px;
}
#main-nav ul li.menu-item-home a {
    background-image: url(images/separate.png) !important;
    background-repeat: no-repeat !important;
    background-position: center -350px;
    text-indent: -9999px;
    height: 52px;
    width: 55px;
}
#main-nav ul li.menu-item-home.current-menu-item a {
    background-position: center -292px;
}

.newsletter_sign  .red_heavy {
  color: #bf1f25;
  font-size: 16px;
  font-weight: bold;
}

.newsletter_sign .mc4wp-form-fields input[type="email"] {
  display: block;
  margin: 0 0 10px;
  padding: 8px;
  width: 93%; border: 2px solid #999;
}

.newsletter_sign .signup_area p > br {
  display: none;
}

.td_block_social_counter {
  padding-bottom: 20px;
}

.widget.widget_wpfb_filelistwidget ul li {
  margin: 0;
  padding: 0;
}

.widget.widget_wpfb_filelistwidget ul li .wpfilebase-attachment-widget {
  width: auto;
  margin-left: 0;
}
.widget.widget_wpfb_filelistwidget ul li .wpfilebase-filedetails-widget {
  clear: both;
  font-size: 12px;
  margin: 0 0 0 2px;
  padding: 5px;
  width: auto;
}

.widget.widget_wpfb_filelistwidget ul li .wpfilebase-filedetails-widget p {
  font-size: 13px;
  margin: 0 0 5px;
}

.newsletter_sign input[type="submit"] {
  background: #ba1f24 none repeat scroll 0 0;
  border-radius: 10px;
  color: #ffffff;
  display: inline-block;
  font-family: Century Gothic,sans-serif;
  margin-bottom: 6px;
  padding: 7px 22px;
}
.home .post-comments {
    display: none;
}
.entry ol.related-posts {
    margin: 0;
}
.entry ol.related-posts li {
    list-style: none;
}


/* 
    Document   : added-style.css
    Created on : Apr 12, 2013, 1:18:37 PM
    Author     : PGS Software
    Description:
        Modifications to the sahifa theme
*/
.newsletter_sign 
{
    font-family: Century Gothic, sans-serif;
    background-color:#e9dfdd;
    border:1px solid #c3c3c3;
    
}
.newsletter_sign .widget-top h4
{
    color:#bf1f25;
    font-weight:bold;
    margin-left: 10px;
    font-size: 16px;
}
.newsletter_sign .widget-top .stripe-line
{
    display:none;    
}
#sidebar .newsletter_sign .widget-container
{
    padding:0;
     background:none;
     border:none;
     box-shadow:  none;
		-moz-box-shadow: none;
		-webkit-box-shadow:  none;
}
#sidebar .newsletter_sign .widget-container p
{
    padding: 0 10px;
    
}
#sidebar .newsletter_sign .signup_area
{
  background:#ffffff;  
  padding:8px 10px;
  margin:0 0 8px 0;
  box-shadow:  0 1px 3px 0 #b5b5b5;
		-moz-box-shadow: 0 1px 3px 0 #757575;
		-webkit-box-shadow:  0 1px 3px 0 #757575;
}

#sidebar .newsletter_sign p, #sidebar .newsletter_sign h5, #sidebar .newsletter_sign ul
{
padding:0 10px;
}


#sidebar .newsletter_sign ul
{
list-style:none;
}
#sidebar .newsletter_sign li
{
padding-left:15px;
background: url(images/cross.png) no-repeat 0 0;
}

#sidebar .newsletter_sign .signup_picture
{
  background:url('images/abonnieren.png') no-repeat 95% 100%;
  padding: 0 0 35px 0;
}
#sidebar .newsletter_sign .signup_picture h5
{
font-size:16px;
}
#sidebar .newsletter_sign .signup_picture a
{
text-decoration:underline;
}
#sidebar .newsletter_sign .signup_picture p
{
margin-bottom:10px;
}

#sidebar .newsletter_sign .signup_picture p span.red_heavy
{
font-weight:bold;
color:# ;
}
#sidebar .newsletter_sign .signup_area .submit-button
{
    background:#ba1f24;    
    color:#ffffff;
    border-radius:10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    padding:7px 22px;
    display:inline-block;
    font-family: Century Gothic, sans-serif;
}
#sidebar .newsletter_sign .signup_area .mymail-submit-wrapper
{
width: 60%;
padding-right: 0;
display: inline-block;
}
#sidebar .newsletter_sign .signup_area .mymail-email
{
    border-width: 2px;
    border-color: #a9a9aa;
    color:#a9a9aa;
}
#sidebar .newsletter_sign .signup_area .unsubscribe_link
{
    text-decoration:underline;
    display:inline-block;
}

#sidebar .newsletter_sign .signup_area .step
{
    
    color:#aaaaaa;
    padding: 10px 0px 0px 20px;
}

#sidebar .newsletter_sign .signup_area .leftside
{
    
    width:68px;
	padding-right:12px;
    min-height:45px;
    display:inline-block;
    vertical-align: top;
    font-weight: bold;
}
#sidebar .newsletter_sign .signup_area .leftside div.smaller_red
{

    text-align: center;
    font-size: 16px;
    
	color:#a91e22;

}
#sidebar .newsletter_sign .signup_area .rightside
{
color: #424343;
    width:180px;
    min-height:45px;
 display:inline-block;
}

#sidebar .newsletter_sign .signup_area .completed_step
{
    font-family: Century Gothic, sans-serif;
    color:#636362;
    padding: 10px 0px 0px 20px;
 
    background:url(images/check.png) no-repeat 30px 35px;
}
#sidebar .newsletter_sign .signup_area .completed_step .inside
{
    border-bottom:1px solid #aaaaaa;
    padding-bottom:10px;
 
}
#sidebar .newsletter_sign .widget-container .signup_area p.red_heavy
{
    
    padding:0 0 10px 0;
}
#sidebar .newsletter_sign .red_heavy
{
font-size: 16px;
    color:#bf1f25;
    font-weight:bold;    
}

/*social icon modification*/

#main-nav .social-icons{float:right;}
#main-nav .social-icons a {	filter: url(css/filters.svg#grayscale);filter: gray;-webkit-filter: grayscale(1); margin: 13px 0 0 1px;}
#main-nav .social-icons a:hover {filter: none;-webkit-filter: grayscale(0); top:0;}
#main-nav .social-icons a img{width:32px; height:32px;}

.toggle h3 {
    font-size: 24px;
    cursor: pointer;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    align-items: center;
}
.widget-container li {
    background: url(images/sidebar-bullet.png) no-repeat left 8px;
    padding: 0 0 5px 12px;
    line-height: 18px;
    overflow: hidden;
}
.widget_wpfb_filelistwidget .widget-container li {
    padding: 0;
    background: none;
}
div.wpcf7-response-output {
    margin-left: auto;
    margin-right: auto;
    border-width: 1px;
    font-size: 14px;
    line-height: 18px;
    padding: 10px;
}
.today-date {
    padding: 4px 10px;
    background: #ddd;
    font-size: 11px;
    color: #333;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    margin: 4px 10px 0 5px;
    border: 0;
    font-weight: normal;
    text-transform: none;
}
.social-icons a {
    margin: 2px 5px;
}
.sitemap-col ul li {
    list-style: none;
}
.sitemap-col ul li ul {
    margin-left: 0 !important;
}
.item-list .entry {
    overflow: hidden;
}
.my-slider img {
    opacity: 0 !important;
}
.my-slider li {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}
.logo h1 a {
    line-height: 1;
}
.wpfilebase-attachment {
    margin-left: 0;
    margin-right: 0;
    display: flex;
    display: -webkit-flex;
}
.entry table:empty {
    margin-bottom: 0;
}
.wpfilebase-attachment {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.wpfilebase-filedetails {
    width: auto !important;
    margin-right: 0 !important;
}
.wpfilebase-fileicon {
    min-width: 60px;
}
.wpfilebase-filetitle {
    height: auto !important;
}
.wpfilebase-filedetails br {
    display: none;
}
.share-post li, .mini-share-post li {
    width: auto;
    margin-right: 30px;
}
.share-post li:last-child, .mini-share-post li:last-child {
    margin-right: 0;
}
.related-title {
    height: auto;
    min-height:30px;
}


@media only screen and (min-width: 1025px) {
    .content .ei-slider {
        height: 440px;
    }
}

@media only screen and (max-width: 1045px) {
    #wrapper.boxed, #footer-widget-area, #wrapper #main-content {
        width: 100% !important;        
    }
    #footer-widget-area {
        padding: 0 15px;
    }
}

@media only screen and (max-width: 900px) {
    #wrapper #main-content, .post-navigation, #sidebar {
       padding: 0 15px; 
    }
    .cat-box-title {
        padding-left: 10px;
    }
    .header-content {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    #slide-out-open {
        top: 50%;
        margin-top: -17px;
    }
    .toggle .toggle-content {
        padding: 10px;
    }
    .single-post-thumb {
        margin: 0 !important;
    }
}

@media only screen and (max-width: 670px) {
    .share-post {
        padding: 10px;
        margin: 10px 0 0;
    }
}

@media only screen and (max-width: 500px) {
    .ei-slider, .flexslider, .flexslider .slides > li, .content .ei-slider, .content .flexslider, .content .flexslider .slides > li {
        height: 250px !important;
    }
    .ei-title h2 {
        font-size: 18px !important;
    }
    #wrapper #main-content, .post-navigation, #sidebar, #footer-widget-area, .post-inner {
       padding-left: 10px; 
       padding-right: 10px; 
    }
    .share-post {
        padding-bottom: 0;
    }
    .share-post li {
        margin-bottom: 10px;
    }
}

.post-views {
       display: none !important;
   }

   .post-listing .item-list .post-thumbnail {
        width: 50%;
   }

/* custom code */
.theme-header .top-nav .container {
  display: flex;
  flex-wrap: wrap;
}
.theme-header .top-nav .container .top-menu {
  margin-left: auto;
}
.theme-header .top-nav .container .top-menu .cartcontents {
  display: inline-flex !important;
  min-width: 15px;
  min-height: 15px;
  background-color: rgb(244, 67, 54);
  color: rgb(255, 255, 255) !important;
  height: auto !important;
  line-height: 1em !important;
  text-align: center !important;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  font-weight: 600;
  font-size: 11px;
}

.theme-header .top-nav .container .today-date {
  order: 1;
}
.theme-header .top-nav .container  .top-menu {
  order: 2;
}
.theme-header .top-nav .container .search-block {
  order: 4;
}
.theme-header .top-nav .container .social-icons {
  order: 3;
}

.cart-menu {
	display: none !important;
}

.my_account_orders .button {
    margin: 2px 2px;
}

@media only screen and (max-width: 900px) {
	.cart-menu {
		display: block !important;
	}
}