/*
Theme Name: laserliner
Theme URI: http://www.laserliner.ch
Author: eberle systems
Author URI: http://www.eberlesystems.ch/
Text Domain: laserliner
*/

/* open-sans-regular - latin: Digitized data copyright 2010-2011, Google Corporation, Apache License Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html) */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans Regular'), local('OpenSans-Regular'),
       url('fonts/open-sans-v15-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/open-sans-v15-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  font-display: swap;
}

/* open-sans-700 - latin: Digitized data copyright 2010-2011, Google Corporation, Apache License Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html) */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: local('Open Sans Bold'), local('OpenSans-Bold'),
       url('fonts/open-sans-v15-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/open-sans-v15-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  font-display: swap;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

audio, canvas, progress, video {
  display: inline-block;
}

* {
  margin: 0; padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
}

*:first-child {
  margin-top: 0;
}

body {
  font: 400 16px/1.6em 'Open Sans', Arial, Helvetica, sans-serif;
  color: #666;
}

b, strong {
  font-weight: 700;
}

h1, h2, h3, h4 {
  margin: 2em 0 1em;
  line-height: 1.6em;
  font-size: 1em;
  font-weight: 700;
  color: #ff9f00; 
}

h1 {
  line-height: 1.2em;
  font-size: 1.6em;
}

h2 {  
  color: #666;
}

p {
  margin-bottom: 1em;
  line-height: 1.6em;
}

ol {
  margin: 0 0 1em 0; padding: 0 0 0 20px;
  list-style-type: decimal;
}

ol li {
  margin-bottom: 1em;
}

ul {
  margin: 0 0 1em 0; padding: 0 0 0 20px;
}

li {
  margin: 0; padding: 0;
  line-height: 1.6em;
}

table {
  margin-bottom: 1em;
  border-collapse: collapse;
  width: 100% !important;
  border-top: 1px solid #ddd;
}

th {
  font-style: italic;
}

th, td {
  padding: 1em 0 1em 10px; margin: 0;
  width: auto !important;
  font: inherit;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #ddd;
}

th:first-child, td:first-child {
  padding-left: 0;
}

a {
  color: #999;
  text-decoration: none;
  outline: 0;
}

a:hover, a:hover h3 {
  color: #666;
}

a img {
  border: none;
}

img {
  max-width: 100%; 
  height: auto !important;
}

a:hover img {
  opacity: 0.8;
  filter:alpha(opacity=80);
}

hr {
  margin: 2em 0;
  width: 100%; height: 0;
  border: none;
  border-top: 1px solid #ddd;
  clear: both;
}

/* Form */
form {
  margin-bottom: 1em;
}

label {
  display: block;
}

label.radio {
  margin: 0 1em 0 0.3em;
  display: inline;
  cursor: pointer;
}

input, textarea, select, .select2 {
  padding: 5px 10px; margin-right: 3px;
  width: 100%;
  font: inherit;
  line-height: 1.6em;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 0;  
  color: #666;   
}  

.select2-selection {
  border: none !important;
}

.select2-selection__rendered {
  padding: 0 !important;
  line-height: 1.6em !important;
}    

input[type=checkbox], input[type=radio] {
  width: auto;
}

input[type=submit], input[type=button],
.button, a.page-numbers, span.page-numbers {
  padding: 6px 20px;
  width: auto;
  font: inherit;  
  line-height: 1.6em;
  display: inline-block;
  background-color: #ff9f00;
  color: #fff;
  cursor: pointer;
  border: 0;
  border-radius: 0;
}

.mc4wp-form input {
  max-width: 300px;
}

input[type=submit]:hover, input[type=button]:hover,
.button:hover, a.page-numbers:hover, span.page-numbers,
.button.active {
  background-color: #ccc;
  color: #fff;
}

input.checkform {
  display: none;
}

label.error {
  display: none !important;
}

input.error, select.error, textarea.error {
  border: 1px solid #706657;
  background: #ffbcbc;
  color: #fff;
}

input[type=radio].error, input[type=checkbox].error {
  margin: 0 4px;
  outline: 3px solid #ffbcbc;
}

/*** Icons ***/
a[href*=".pdf"] {
  padding-left: 30px;
  background-image: url(images/pdf.png);
  background-repeat: no-repeat;
  background-position: 0 center;
}

/*** Klassen ***/
.nav,
.tabs  {
  margin: 0; padding: 0;
  list-style: none; 
}

.nav li,
.tabs li {
  margin: 0; padding: 0;  
  display: block; 
  float: left;
}

.nav a,
.tabs a {
  display: block;
  padding: 6px 20px; 
  color: #fff;   
  border-right: 1px solid #fff;
  background: #ccc;
}

.nav li a:hover,
.tabs li a:hover {
  background: #ff9f00;
}
 
.nav .current-menu-item a,
.nav .current-lang a,
.tabs .active a {  
  font-weight: 700;
  color: #fff;
  background: #ff9f00;
}

.inner {
  margin: 0 auto; padding: 0 50px;
  max-width: 1600px; 
}

.left {
  float: left;
}

.right {
  float: right;
  clear: right;
}

.box {
  padding: 20px;
  background: #fafafa;
  border: 5px solid #eee;
  overflow: hidden;
}

.col2 {
  margin-left: 40px;
  width: calc( 50% - 20px );
  float: left;
}

form .col2 {
  margin-left: 20px;
  width: calc( 50% - 10px );
}

.clear,
form .clear {
  margin-left: 0;
  clear: both;
}

.mobile {
  display: none;
}   

.small {
  font-size: 0.8em;
  line-height: 1.6em;
}

/*** Header ***/
#header {
  padding: 20px 0;
  overflow: hidden;
  background-image: radial-gradient(circle at 40% 10%, #646464, #000000 );
  color: #999;
}

#logo {
  margin: 20px 0 60px;
  max-width: 500px;
  display: block;
}

#header .left {
  color: #fff;
}

#header .right {
  text-align: right;
}

#header .right p {
  margin: 10px 0;
  font-size: 0.9em;
}

#header .right img {
  width: 50px;
  vertical-align: middle;
}

#menu-kontakt {
  margin-bottom: 30px; padding: 0;
  list-style: none;
}

#menu-kontakt li {
  margin: 0 0 0 20px; padding: 0;
  display: inline-block;
}

#menu-kontakt a {
  color: #ff9f00;
}

#menu-kontakt a:hover {
  color: #fff;
}

#menu-kontakt a:first-child[href*="mailto:"] {
  padding-left: 30px;
  background-image: url(images/mail.svg);
  background-repeat: no-repeat;
  background-position: 0 center;
}

#menu-kontakt a:first-child[href*="tel:"] {
  padding-left: 30px;
  background-image: url(images/phone.svg);
  background-repeat: no-repeat;
  background-position: 0 center;
}

#header-search {
  margin-right: 20px;
  display: inline-block;
}

#header-search input {
  margin: 0;
  width: 200px;
}

#header-search .search_button {
  padding-left: 40px;
  background-image: url(images/search.svg);
  background-repeat: no-repeat;
  background-position: center center;
  text-indent: -9999px;
}

/*** Navigation ***/
#secondary {
  background: #ccc;
  overflow: hidden; 
}

#secondary .nav {
  border-left: 1px solid #fff;
  overflow: hidden;
}

#secondary .nav a {
  padding: 5px 15px;
}

#secondary .nav li.icon > a {
  width: 10px;
  text-indent: -9999px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 16px 16px;
}

#secondary .nav li.icon.facebook a {
  background-image: url(images/facebook.png);
}

#secondary .nav li.icon.youtube a {
  background-image: url(images/youtube.png);
}

#secondary .nav li.icon.instagram a {
  background-image: url(images/instagram.png);
}

/*** Mega Menu ***/
#primary {
  position: relative;
  z-index: 200;
  background: #fff;  
  -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

.scroll #primary {
  position: fixed; left: 0; right: 0; top: 0;
}

.megamenus {
  margin: 0; padding: 0;
  list-style: none;
  position: relative;
  border-left: 1px solid #ddd;
}

.megamenus > li {
  margin: 0; padding: 0;
  display: block;
  float: left;
  border-right: 1px solid #ddd;
}

.megamenus > li:first-child {
  border-left: 1px solid #ddd;
}

.megamenus > li > a {
  padding: 10px 15px;
  display: block;
}

.megamenus > .menu-item a {
  color: #fff;
  background: #ff9f00;
}

.megamenus > .menu-item a:hover {
  background: #ccc;
}

.megamenu {
  padding-top: 20px;
  position: absolute; top: 45px; left: 0; right: 0;
  z-index: 100;
  display: none;
}

.mm-box { 
  background: #fff;
  border: 10px solid #ccc;
  overflow: hidden; 
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.mm-box li {
  margin: 0; padding: 0;
  list-style: none;
}

.mm-category { 
  padding: 20px; 
  width: 500px;
  position: relative;
  float: left;
}

.mm-image {
  width: 200px; height: 200px;
  position: absolute; left: 20px; top: 75px;
  text-align: center;
  background: #fff;
}

.mm-image img {
  max-width: 200px; max-height: 200px;
}

.mm-categories {
  margin-left: 220px;
  border-left: 1px solid #ddd;  
}

.mm-categories .mm-image {
  display: none;
}

.mm-categories a:hover .mm-image {
  display: block;
}

.mm-products {
  margin-left: 500px; padding: 20px;
}

/*** BxSlider ***/
.bx-viewport {
  height: auto !important;  
}

.bx-wrapper {
  position: relative;
}

.bx-controls-direction a {
  margin-top: -20px;
  width: 40px; height: 40px;
	position: absolute; top: 50%;
	display: block;
	text-indent: -9999px;
	z-index: 90;
	background-color: #ff9f00;  
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.bx-controls-direction a:hover {
  background-color: #ccc;
}

.bx-controls-direction .bx-prev {
	left: 0;
}

.bx-controls-direction .bx-next {
	right: 0;
}

.bx-controls-direction a span {
  margin: 10px 5px 10px 15px;
  width: 20px; height: 20px;
  display: block;
  border-color: #fff;
  border-style: solid;
  border-width: 2px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}

.bx-controls-direction .bx-prev span {
	border-right: none;
	border-top: none;
}

.bx-controls-direction .bx-next span {
  margin: 10px 15px 10px 5px;
	border-left: none;
	border-bottom: none;
}

.bx-pager {
  overflow: hidden;
  position: absolute; bottom: 20px; right: 0;
  z-index: 90;
}

.bx-pager .bx-pager-item {
  display: inline-block ;
}

.bx-pager a {
  text-indent: -9999px;
	display: block;
	width: 10px;
	height: 10px;
	margin: 0 0 0 10px;
	outline: 0;
  background: #ccc;
}

.bx-pager a:hover,
.bx-pager a.active {
	background: #ff9f00;
}

/*** Slideshow ***/
#slideshow {
  -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

#slideshow .inner { 
  position: relative;  
}

#slides {  
  height: 480px;  
}

#slideshow .slide {
  padding: 0 80px;
  width: 100%;
  display: none;
}

#slideshow .slide-image {
  padding: 40px;
  width: 40%; height: 400px;
  line-height: 400px;
  display: block;  
  text-align: center;
  float: left;
  background: #fff;
}

#slideshow .slide-image img {
  max-width: 100%; max-height: 100%;  
  width: auto !important;
  height: auto !important;
  vertical-align: middle;
}

#slideshow .slide-content {
  padding-top: 60px;
}

#slideshow .slide h3 {
  margin: 2em 0 1em;
  font-size: 1.6em;
  line-height: 1.2em;
}

/*** breadcrumb ***/
#breadcrumb {
  padding: 10px 0;
  line-height: 1.6em;
  font-size: 0.9em;
  border-bottom: 1px solid #eee;
}

/*** Main ***/
#container {
  margin-top: 40px; margin-bottom: 40px;
  overflow: hidden;
}

#main {
  position: relative;
}

#sidebar + #main {
  width: 75%;
  float: right;  
}

.category #main, 
.single-post #main {
  margin: 40px auto 60px;
  max-width: 960px;
}

#map {
  margin: 2em 0;
  height: 300px;
  clear: both;
}

.screen-reader-text {
  display: none;
}



/*** WP Blocks ***/

.wp-block-table td, .wp-block-table th {
  border: none;
}



/*** Search ***/
.search-image {
  margin: 0 30px 2em 0;
  width: 150px; height: 150px;
  display: block;
  text-align: center;
  float: left;
}

.search-image img {
  width: auto !important; height: auto !important;
  max-width: 150px; max-height: 150px;
}

/*** Sidebar ***/
#sidebar {
  margin-top: 55px;
  width: 23%;
  float: left;
  margin-bottom: 20px;
  padding: 20px;
  background: #fafafa;
  border: 5px solid #eee;
}

#sidebar .widget {
  margin-top: 1em; padding-top: 1em;
  border-top: 1px solid #ddd;
}

#sidebar h3 {
  margin-top: 0;
}

#sidebar ul {
  margin: 0 0 1em; padding: 0;
  list-style: none;
}

/*** Sidebar Menu ***/
#sidebar .menu li {
  display: none;
}

#sidebar .menu a {
  padding: 10px 0;
  display: block;
  border-top: 1px solid #ddd;
}

#sidebar .menu > ul {
  margin: 1em 0 0;
}

#sidebar .menu > ul > li > a {
  font-weight: 700;
}

#sidebar .menu .current_page_parent,
#sidebar .menu .current_page_parent li,
#sidebar .menu .current_page_item,
#sidebar .menu .current_page_item li {
  display: block;
}

#sidebar .menu .current_page_item > a {
  color: #ff9f00;
}

#sidebar-bottom {
  padding: 0;
  max-width: 1500px;
  clear: both;
}

/*** Footer ***/
#footer {
  margin: 0; padding: 40px 0 20px;
  clear: both;
  overflow: hidden;  
  color: #fff;
  background-image: radial-gradient(circle at 40% 10%, #646464, #000000 );
}

#footer a {
  color: #fff;
}

#footer a:hover {
  color: #ff9f00;
}

#footer ul {
  margin: 0 0 1em; padding: 0;
  list-style: none;
}

#footer .widget {
  padding: 0 60px 20px 0;
  max-width: 300px;
  float: left;
}

#footer .widget:last-child {
  clear: both;
  max-width: none;
}

#footer .widget h3 {
  margin-top: 0;
}

@media screen and (max-width: 1000px) {
  div.col2 {
    margin-left: 0;
    width: auto;
    float: none;
  }
  
  .mobile {
    line-height: 50px;
    display: block;
    overflow: hidden;
    color: #999;
  }

  .mobile:hover {
    color: #ff9f00 !important;
  }

  .mobile span {
    width: 24px;
    display: block;
  }

  .mobile > span {
    margin: 15px 16px 9px 0;
    float: left;
  }

  .mobile > span > span {
    margin-bottom: 4px;
    height: 4px;
    background: #999;
  }

  .mobile:hover > span > span {
    background: #ff9f00 !important;
  }

  .mobile-box {
    display: none;
  }
    
  #logo {
    margin: 20px 0;
  }

  #secondary .mobile {
    color: #fff;
  }

  #secondary .mobile > span > span {
    background: #fff;
  }

  #secondary .nav {
    float: none;
    border: none;
  }

  #secondary .nav li {
    float: none;
    border-top: 1px solid #fff;
  }

  #secondary .nav a {
    padding: 10px 40px;
    border: none;
  } 
  
  .megamenus {
    border: none;
  }
  
  .megamenus > li,
  .megamenus > li:first-child {
    float: none;
    border: none;
    border-top: 1px solid #ddd;
  }
  
  .megamenus > li > a {
    padding: 10px 40px;
  }
  
  .megamenu {
    display: none !important;
  }
  
  #header {
    padding-bottom: 0;
  }

  #logo {
    float: none;
  }
  
  #menu-kontakt {
    display: none;
  }
  
  #sidebar + #main {
    width: auto;
    float: none;
  }

  #sidebar {
    padding: 10px 20px;
    margin: 0 0 20px;
    width: auto;
    float: none;
  }
  
  #sidebar .mobile {
    float: left;
  }
  
  #sidebar .mobile > span {
    margin: 2px 16px 0 0;
  }

  #sidebar .filter-title {
    margin: 0; 
  }
  
  #sidebar .mobile-box {
    clear: both;
  }  
}

@media screen and (max-width: 800px) {
  h1 {
    font-size: 1.4em;
  }
  
  .inner {
    padding: 0 25px;
  }
    
  #header-search input {
    width: 160px;
  }
  
  #header-search .button {
    display: none;
  }
    
  #slideshow {
    display: none;
  }
  
  .category #main,
  .single-post #main {
    margin: 0 auto 20px;
  }
  
  #footer .widget {
    padding: 0 0 20px;
    float: none;
  }
}

@media screen and (max-width: 600px) {  
  th, td {
    font-size: 0.8em;
  }
  
  .col2,
  form .col2 {
    margin-left: 0;
    width: auto;
    float: none;
  }
  
  .search-image {
    margin: 0 0 1em;
    float: none;
  }
}