/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.1
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/

.avia_cur_lang img {
display: none !Important;
}

div .avia_wpml_language_switch img {
    width: 30px !important;
  }

/************************************

 Add a widget area on the right side
 Logo left, Menu center, Widget right

*************************************


CSS Settings:

» Initiate Flexbox
» Topbar
» Header
» Logo
» Menu
» Widget
» Social icons
» Search
» Cart icon

***********************************/



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

» Initiate Flexbox

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



/* Header */
.responsive #top #header,
/* Top bar */
.responsive #top #header #header_meta,
/* Search icon */
.responsive #top #header #menu-item-search a,
/* Cart icon */
.responsive #top #header a.cart_dropdown_link,
/* Social icon */
.responsive #top #header #header_main nav .social_bookmarks,
/* Logo */
.responsive #top #header #header_main .inner-container .logo,
/* Main menu, cart and social icons */
.responsive #top #header #header_main .inner-container .main_menu,
/* Widgets */
.responsive #top #header #header_main .inner-container .widget,
/* Header inner container */
#top #header #header_main .container.av-logo-container .inner-container {
    display: flex;
    position: relative;
}




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

» Topbar

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



/* Top bar */

.responsive #top #header #header_meta {
    flex-basis: 100%;
}



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

» Header

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

/* Height */

#top #header #header_main .container.av-logo-container {
    height: inherit;   /* Auto height: Header takes the height of the contents */
}


/* Header inner container */

#top #header #header_main .container.av-logo-container .inner-container {
  height: inherit;
  position: relative !important;
  flex-wrap: nowrap;
  justify-content: space-between;
}


/* Wrappers
--------------------------------*/

/* Header content and Topbar */

.responsive #top #header {
    flex-wrap: wrap;
}

/* Header contents: Logo, Menu, Social Icons and Widgets. */

.responsive #top #header #header_main {
    flex-basis: 100%;
}

/* Transparent header
--------------------------------*/

.responsive.html_header_transparency #top #wrap_all #header {
    position: absolute;
}


/* Main content:
-----------------------*/

.responsive #top #main {
    padding-top: 0px; /* Gap between the content and header */
}


/* Fixed header
--------------------------------*/

/* Fixed header */

.html_header_sticky.html_header_transparency #top #wrap_all #header,
.html_header_sticky #top #wrap_all #header {
    position: fixed;
}


/* Fixed header and page content gap.
   Padding value should be same as the fixed header height. */

.html_header_sticky:not(.html_header_transparency) #top #wrap_all #main {
    /*padding-top: 145px !important; */
}

@media only screen and (max-width: 767px) {
.html_header_sticky #top #wrap_all #main {
    /*padding-top: 145px !important; */
}}





/*--------------------------------
» Logo
--------------------------------*/




/* Logo */

.responsive #top #header #header_main .inner-container .logo {
    order: 0;
    flex-basis: auto;
    /*width: auto;*/

    /* Define scalable min width of the logo on small screens */
    min-width: 100px;
    /* Define scalable max width of the logo on big screens */
    /* Logo width: (auto | 100% | px );  Set auto to display the uploaded image size */
    max-width: 310px !important;

    z-index: 9;
}


/* Logo image size */

.responsive #top #header .logo,
.responsive #top #header .logo a,
.responsive #top #header .logo img {
    width: auto;

    /* Height specification is not required. It is proportional to the max width of the logo */
    height: auto;
    align-items: center;
    align-self: center;
    justify-content: center;
}


/* Vertically center transparency logo */

.responsive #top #header .logo span img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}



/*--------------------------------
» Menu
--------------------------------*/



/* Menu outer container: Menu with siblings cart and social icons */

.responsive #top #header #header_main .inner-container .main_menu {
    order: 0;
    flex-basis: auto;   /* Use calc to minus the width of the logo */
    align-items: center;
    align-self: center;
}

/* Navigation */

#header .av-main-nav {
    display: flex;
    flex-wrap: nowrap;
}

/*  Activate burger menu  */

@media only screen and (max-width: 1000px) {
    #top #header .av-main-nav>li.menu-item {
        display: none!important;
    }
    #top #header .av-burger-menu-main {
        cursor: pointer;
        display: block!important;
    }
}

@media only screen and (max-width: 767px) {

/* Mobile menu position fix */
.responsive #top .av-logo-container .avia-menu {
    display: flex!important;
    align-items: center;
}}

/* Mega menu position fix */
#header li .avia_mega_div,
#header li:hover .avia_mega_div {
    right: 0 !important; /* submenu position */
    left: auto!important; /* submenu position */
    max-width: 50vw;
}

/*--------------------------------
» Widget
--------------------------------*/


/* Widgets */

.responsive #top #header #header_main .inner-container .widget {
    order: 0;
    flex-basis: auto;
    padding: unset;
    clear: none!important;

    align-self: center;
    align-items: center;
    z-index: 1;

}

.responsive #top #header #header_main .inner-container .widget>div {
    width:100%;
    line-height: 14px;
    padding:0 10px;
}





/*--------------------------------
» Social icons
--------------------------------*/




/* Flex support and position fix */
.responsive #top #header #header_main nav .social_bookmarks {
    display: flex;
     top: auto;
     margin-top: 0;
     align-items: center;
}
/* Inherit height for flex alignment */
#top .av-logo-container .social_bookmarks li {
    height: inherit;
}




/*--------------------------------
» Search
--------------------------------*/



/* Your styles here */
body.login {
    display: none !important;
}

.login {
background-repeat: no-repeat;
    background-image: url(http://hammerbacher.touch2be.de/wp-content/uploads/2019/09/Fachhaendler_Anmelden_2500x1600.jpg);
    background-attachment: scroll;
    background-position: center center;
    margin-top: 0px;
    margin-bottom: 0px;
}


/*--------------------------------
» print.css
--------------------------------*/
@media print {
 /* All your print styles go here */
.container .av-content-small.units {
    width: 100%;
}

h1, h2, h3 {font-size: 20px !important; line-height: 20px !important;}

.page-break { display: block; page-break-before: always; }

p, a, strong{
  color: black !important;
}

a{
  text-decoration: underline;
}

/* Alle Seitenumbrüche definieren */
a {
    page-break-inside:avoid
}
blockquote {
    page-break-inside: avoid;
}
h1, h2, h3, h4, h5, h6 { page-break-after:avoid;
     page-break-inside:avoid }
img { page-break-inside:avoid;
     page-break-after:avoid; }
table, pre { page-break-inside:avoid }
ul, ol, dl  { page-break-before:avoid }

@page {
  margin: 1cm 2mm;
}

.pagebreak {
        clear: both;
        page-break-after: always;
    }

/* Removes
============================*/

/*General Items*/
nav,
#footer,
#scroll-top-link,
.image-overlay,
#top #main .sidebar
{display: none !important;}


.avia-shadow {
  box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0);
}
.grid-entry .inner-entry {
  margin-right: 0px;
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
}
.content{ border: 0;}
.boxed .container {margin: 0;}

/* Remove Full Width slideshows*/
.avia-layerslider,
.avia-fullwidth-slider{
  display: none;
}

.social_bookmarks {
  display: none;
}

.main_menu, #icl_lang_sel_widget-2, #custom_html-2, #lcb_main_area, .avia-cookie-consent-wrap {display: none !important;}


/* Re-Do Containers
============================*/
.container {
  width: 100%;
}
 #top {
  overflow-x: hidden;
}
.boxed#top {
  width: 100%;
}
.container {
  width: 100%;
  margin: 0 auto;
}
.units,
.unit {
  margin: 0;
}
.container .one.unit,
.container .one.units,
.container .two.units,
.container .three.units,
.container .four.units,
.container .five.units,
.container .six.units,
.container .seven.units,
.container .eight.units,
.container .nine.units,
.container .ten.units,
.container .eleven.units,
.container .twelve.units,
#top .flex_column {
  margin: 0;
  width: 100%;
}

.container_wrap {
  padding-top: 1cm;
}

.av-logo-container {
  height: 1cm !important;
}

#top.boxed .stretch_full {
  width: 100%;
}
/* Offsets */
#top .offset-by-one,
#top .offset-by-two,
#top .offset-by-three,
#top .offset-by-four,
#top .offset-by-five,
#top .offset-by-six,
#top .offset-by-seven,
#top .offset-by-eight,
#top .offset-by-nine,
#top .offset-by-ten,
#top .offset-by-eleven {
  padding-left: 0;
}

/*Section Padding*/
.avia-section-large .content, .avia-section-large .sidebar {
  padding-top: 2%;
  padding-bottom: 2%;
}

/*Give some column Support*/
#top .flex_column.av_one_half {
  width: 48%;
}
#top .flex_column.av_one_half.first {
  padding-right: 2%;
}

/* Header
============================*/
#header_main { display:none; }

#header_main :first { display:block; }



.responsive #top #header .logo {
  width: 200px !important;
}





/*Shortcode Cleanup
============================*/

/*Text Block*/
/*Horizontal Ruler*/
/*Special Heading*/
/*Icon Box*/
/*Icon List*/
.avia_transform .avia-icon-list .iconlist_icon {
  opacity: 1;
  -moz-transform: scale(1);
  -webkit-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
  /*color: #333;*/
}
/*Icon*/
/*Content Slider*/
/*Button*/
/*Notification*/
/*Tabs*/
/*Accordion*/
.js_active .toggle_wrap {
  visibility: visible;
  display: block;
  position: static;
}
/*Promo Box*/
/*Contact Form*/
/*Table*/
/*Portfolio Grid*/
.grid-sort-container {
    width: 60%;
    margin: 0 auto;
}
#top .isotope-item {
  position: initial !important;
  top: 0 !important;
  left: 0 !important;
  -webkit-transform: translate3d(0,0,0) !important;
}
/*Fullwidth Masonry*/
/*Team Member*/
/*Post Slider*/
/*Progress Bars*/
.avia-progress-bar {
    margin: 5px 0;
    border: 1px solid #555 !important;
    border-radius: 3px !important;
}
.avia-progress-bar .progress{
    box-shadow: inset 0px 0px 0px 0px rgba(0, 0, 0, 0) !important;
    border: 0 !important;
}
.avia-progress-bar div.progress .bar {
    border: 0px solid;
    border-right: 1px solid #555 !important;
    border-radius: 0;
}

/*Testimonials*/
.avia-testimonial-image{
  margin:0;
  width:100%;
  float:none;
  text-align: center;
  margin-bottom: 15px;
  height: auto;
}
.avia-grid-testimonials .avia-testimonial-meta{margin-left:0;}
body div .avia-testimonial {display: block; float: left;}
.avia_transform .avia-testimonial .avia-testimonial-image {
  opacity: 1;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}
/*Widget Area*/
/*Comments*/
/*Video*/
/*Image*/
/*Easy Slider*/
/*Fullwidth Easy Slider*/
/*Fullscreen Slider*/
/*Advanced Layerslider*/
/*Partner/Logo Element*/
/*Gallery*/
.avia_transform .avia-gallery-thumb img {opacity: 1;}
/*Fullwidth Masonry Gallery*/

}
