/*   
Theme Name: 146genau
*/

*{
margin: 0;
padding: 0;
border: 0;
}

html {
overflow-y: scroll;
}

body {
overflow-x: hidden;
}

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

@font-face {
font-family: montserrat;
src: url(font/montserrat-regular.ttf);
}

@font-face {
font-family: montserratbold;
src: url(font/montserrat-bold.otf);
}

#wrap {
margin: 0 auto;
width: 100%;
max-width: 2000px;
min-width: 300px;
overflow-x: hidden;
background: white;
font: 17px montserrat;
line-height: 1.4;
color: #000;
}

img {
padding: 0;
margin: 0;
border: 0;
max-width: 100%;
height: auto;
}

p {
margin: 0 0 1em 0;
}

#smallheader {
width: 100%;
height: 110px;
background: #fff;
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}

header {
margin: 0 auto;
width: 100%;
max-width: 1200px;
height: 100px;
position: relative;
}

#logo {
position: absolute;
left: 1px;
top: 17px;
width: 250px;
}

#menu {
position: absolute;
left: 300px;
top: 30px;
width: 47%;
z-index: 99;	
height: 50px;
}

#language {
position: absolute;
right: 160px;
top: 45px;
}

#language2 {
display: none;
}

#language img, #language2 img {
width: 40px;
}

#phone {
position: absolute;
right: 1px;
top: 37px;
}

#phone a {
font: bold 16px montserrat;
color: #0763b0;
text-decoration: none;
display: block;
}

#title {
position: absolute;
top: 40vh;
left: 1px;
}

#title h1 {
margin: 0 0 30px 0;
font: 60px/60px montserratbold;
color: #fff;
text-align: left;	
}

#title a {
font: bold 20px montserrat;
color: #fff;
background: #0763b0;
padding: 15px 25px;
text-decoration: none;
display: inline-block;
}

.center {
margin: 0 auto;
width: 100%;
max-width: 1200px;
}

.title {
margin: 100px 0 100px 0;
}

.title h2 {
margin: 20px 0 20px 0;
font: 45px/45px montserratbold;
text-align: center;
}

#homeabout {
margin: 0 0 100px 0;
}

.about {
display: grid;
grid-gap: 10px 0;
grid-template-columns: 50% 50%;
}

.about img {
display: block;	
}

.text {
padding: 80px 70px 70px 70px;
-moz-box-sizing: border-box;
box-sizing: border-box;
display: flex;
align-items: center;
color: #fff;
background: #0763b0;
}

.about h2 {
font: 35px/35px montserratbold;
color: #fff;
margin: 0 0 20px 0;
text-align: left;
}

.about p {
font: 16px montserrat;
margin: 0 0 20px 0;
}

#section {
margin: 0 auto;
width: 100%;
max-width: 1200px;
}

h1 {
margin: 50px 0 20px 0;
font: 40px/40px montserratbold;
text-align: center;
}

h2 {
margin: 20px 0 20px 0;
font: 35px/35px montserratbold;
text-align: center;
}

h3 {
margin: 20px 0 20px 0;
font: 30px/30px montserratbold;
text-align: center;
}

#myfooter {
width: 100%;
margin: 50px 0 0 0;
padding: 100px 0 0 0;
background: #333;
}

#myfooter p {
font: 20px montserratbold;
color: #0763b0;
}

#myfooter a {
font: 16px montserrat;
color: #ccc;
text-decoration: none;
}

footer {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 0 100px 0;
display: grid;
grid-gap: 10px 2%;
grid-template-columns: auto auto 250px;
}

footer ul li {
list-style: none;
}

footer a {
font: 16px montserrat;
text-decoration: none;
display: block;
margin: 0 0 15px 0;
}

#copy {
padding: 5px 0 25px 0;
text-align: center;
}

#copy p {
color: #ccc;
font: 14px montserrat;
margin: 0 0 0 0;
padding: 20px 0 0 0;
}

#copy a {
font: 14px montserrat;
text-decoration: none;
}

#gallery {
display: grid;
grid-gap: 30px 2%;
grid-template-columns: 32% 32% 32%;
text-align: center;
}

#catalog {
display: grid;
grid-gap: 30px 2%;
grid-template-columns: 32% 32% 32%;
text-align: center;
}

#catalog img {
display: block;	
}

#catalog p {
font: 16px/16px montserratbold;
color: #333;
margin: 10px 0 0 0;
}

#catalog a {
text-decoration: none;
}

#mylinks {
text-align: center;
margin: 20px 0 0 0;
}

#mylinks a {
font: 16px/16px montserratbold;
color: #fff;
margin: 0 5px 0 0;
padding: 12px 25px;
border-radius: 20px;
background: #01b5ef;
display: inline-block;
cursor: pointer;
text-decoration: none;
}

table {
border-collapse: collapse;
width: 100%;
}

td, tr {
border: 1px solid #333;
padding: 3px;
}

img.alignright {
float: right;
margin: 0 10px 3px 5px;
}

img.alignleft {
float: left;
margin: 0 10px 3px 0;
}

img.aligncenter {
display: block;
margin: 0 auto;
}

.alignright {
float: right;
}

.alignleft {
float: left;
}

.aligncenter {
display: block;
margin: 0 auto;
}

.error {
color: red;
}

.clear {
width: 100%;
height: 1px;
clear: both;
}

.myvideo {
position: relative;
padding: 30px 0 56.25% 0;
height: 0;
overflow: hidden;
border: 1px solid #ccc;
}

.myvideo iframe,.myvideo object,.myvideo embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

article ul, article ol {
margin: 0 0 0 20px;
}

article ul li, article ol li {
margin: 0 0 10px 0;
}

.closebtn, #hamburger, #menucontact {
display: none;
}

#mymenu {
width: 100%;
max-width: 1200px;
margin: 0 auto;
}

#mymenu ul li {
float: left;
list-style: none;
position: relative;	
}

#mymenu ul li a {
font: 16px montserrat;
padding: 15px 15px;
color: #333;
text-decoration: none;
display: block;	
}

#mymenu ul li ul {
display: none;	
}

#mymenu ul li:hover ul {
position: absolute;
top: 47px;
display: block;
z-index: 9;
}

.myspan {
position: relative;
}

.myspan span {
cursor: pointer;
display: none;
color: red;
}

#mymenu ul li span {
position: absolute;
top: 15px;
right: 5px;
}

#mymenu ul li ul li a {
font: 14px montserrat;
padding: 15px 20px;
color: #fff;
background: #333;
text-decoration: none;
display: block;
width: 200px;
}

/* Preload images */
body:after {
  content: url('img/close.png') url('img/loading.gif') url('img/prev.png') url('img/next.png');
  display: none;
}

body.lb-disable-scrolling {
  overflow: hidden;
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: black;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  opacity: 0.8;
  display: none;
}

.lightbox {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
}

.lightbox .lb-image {
  display: block;
  height: auto;
  max-width: inherit;
  max-height: none;
  border-radius: 3px;

  /* Image border */
  border: 4px solid white;
}

.lightbox a img {
  border: none;
}

.lb-outerContainer {
  position: relative;
  *zoom: 1;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  border-radius: 4px;

  /* Background color behind image.
     This is visible during transitions. */
  background-color: white;
}

.lb-outerContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-loader {
  position: absolute;
  top: 43%;
  left: 0;
  height: 25%;
  width: 100%;
  text-align: center;
  line-height: 0;
}

.lb-cancel {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  background: url('img/loading.gif') no-repeat;
}

.lb-nav {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
}

.lb-container > .nav {
  left: 0;
}

.lb-nav a {
  outline: none;
  background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
}

.lb-prev, .lb-next {
  height: 100%;
  cursor: pointer;
  display: block;
}

.lb-nav a.lb-prev {
  width: 34%;
  left: 0;
  float: left;
  background: url('img/prev.png') left 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

.lb-nav a.lb-prev:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-nav a.lb-next {
  width: 64%;
  right: 0;
  float: right;
  background: url('img/next.png') right 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

.lb-nav a.lb-next:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-dataContainer {
  margin: 0 auto;
  padding-top: 5px;
  *zoom: 1;
  width: 100%;
  -moz-border-radius-bottomleft: 4px;
  -webkit-border-bottom-left-radius: 4px;
  border-bottom-left-radius: 4px;
  -moz-border-radius-bottomright: 4px;
  -webkit-border-bottom-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.lb-dataContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-data {
  padding: 0 4px;
  color: #ccc;
}

.lb-data .lb-details {
  width: 85%;
  float: left;
  text-align: left;
  line-height: 1.1em;
}

.lb-data .lb-caption {
  font-size: 13px;
  font-weight: bold;
  line-height: 1em;
}

.lb-data .lb-caption a {
  color: #4ae;
}

.lb-data .lb-number {
  display: block;
  clear: left;
  padding-bottom: 1em;
  font-size: 12px;
  color: #999999;
}

.lb-data .lb-close {
  display: block;
  float: right;
  width: 30px;
  height: 30px;
  background: url('img/close.png') top right no-repeat;
  text-align: right;
  outline: none;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  opacity: 0.7;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.lb-data .lb-close:hover {
  cursor: pointer;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

button {
margin: 0;
padding: 0;
background: none;
border: none;
border-radius: 0;
outline: none;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
cursor: pointer;
}

.slide-arrow {
position: absolute;
top: 50%;
margin-top: -15px;
z-index: 99999;  
}

.prev-arrow {
left: -20px;
width: 0;
height: 0;
border: solid #00C0ED;
border-width: 0 4px 4px 0;
display: inline-block;
padding: 8px;
transform: rotate(135deg);
-webkit-transform: rotate(135deg);
}

.next-arrow {
right: -20px;
width: 0;
height: 0;
border: solid #00C0ED;
border-width: 0 4px 4px 0;
display: inline-block;
padding: 8px;
transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
}

.slick-list {
padding: 0 0 0 0 !important;
}

@media only screen and (max-width:1200px){
article, .center {
width: 96%;
padding: 0 2% 0 2%;	
}
}

@media only screen and (max-width:1100px){
#smallheader {
width: 100%;
height: 80px;
padding: 0 0 0 0;
}
#logo {
position: absolute;
top: 15px;
left: 1px;
width: 150px;
}
#language {
display: none;
}
#language2 {
padding: 10px 20px;
}
#phone {
position: absolute;
right: 45px;
top: 23px;
padding: 0 0 0 0;
background: transparent;
}
#phone a {
font: 16px montserratbold;
text-decoration: none;
display: block;
}
#hamburger {
position: absolute;
right: 1px;
top: 25px;
cursor: pointer;
display: inline-block;
}
#title {
position: absolute;
top: 40vh;
left: 1px;
}
#title h1 {
margin: 0 0 30px 0;
font: 30px/40px montserratbold;
color: #fff;
text-align: left;	
}
#title a {
font: 16px montserratbold;
color: #fff;
padding: 10px 15px;
text-decoration: none;
display: inline-block;
}
#menu {
background: rgba(7, 99, 176, 0.95);
margin: 0 0 0 0;
height: 100%;
width: 0;
max-width: 800px;
position: fixed;
z-index: 9999999;
top: 0;
left: 0;
overflow-x: hidden;
transition: 0.2s;
padding-top: 30px;
}
#menu .closebtn {
position: absolute;
top: 0;
right: 0;
font-size: 36px;
padding: 0 10px 0 10px;
line-height: 1;
color: rgba(7, 99, 176, 1);
background: #F6000E;
color: #fff;
text-decoration: none;
display: block;
}
#menu {
border-top: none;
}
#menucontact {
display: block;	
}
#mymenu ul li {
float: none;
display: block;
list-style: none;
position: relative;	
}
#mymenu ul li a {
font: 16px montserrat;
padding: 15px 20px;
color: #fff;
text-decoration: none;
display: block;	
}
.myspan span {
display: block;
border: solid white;
border-width: 0 3px 3px 0;
display: inline-block;
padding: 5px;
transform: rotate(45deg);
-webkit-transform: rotate(45deg);
}
#mymenu ul li:hover ul {
position: relative;
top: 0;
display: none;
}
#mymenu ul li ul {
display: none;	
}
#mymenu ul li ul li a {
font: 14px montserrat;
padding: 15px 20px;
color: #fff;
background: #333;
text-decoration: none;
display: block;
width: 100%;
}
}

@media only screen and (max-width:800px){
.title {
margin: 30px 0 30px 0;
}
.title h2 {
margin: 20px 0 20px 0;
font: 25px/25px montserratbold;
text-align: center;
}
#homeabout {
margin: 0 0 30px 0;
}
.about {
display: grid;
grid-gap: 0 0;
grid-template-columns: 100%;
}
.about img {
display: block;	
}
.text {
padding: 30px 2% 20px 2%;
}
.about h2 {
font: 25px/25px montserratbold;
color: #fff;
margin: 0 0 10px 0;
text-align: left;
}
.about p {
font: 16px montserrat;
}
.reverse {
display: flex;
flex-direction: column-reverse;
}
h1 {
margin: 30px 0 20px 0;
font: 25px/25px montserratbold;
text-align: center;
}
h2 {
margin: 20px 0 20px 0;
font: 23px/23px montserratbold;
text-align: center;
}
h3 {
margin: 20px 0 20px 0;
font: 21px/21px montserratbold;
text-align: center;
}
footer {
display: grid;
grid-gap: 10px 2%;
grid-template-columns: 49% 49%;
width: 98%;
margin: 0 auto;
}
footer ul li {
list-style: none;	
}
#myfooter p {
margin: 10px 0 20px 0;
}
#gallery {
display: grid;
grid-gap: 30px 0;
grid-template-columns: 100%;
text-align: center;
}
#catalog {
display: grid;
grid-gap: 30px 0;
grid-template-columns: 100%;
text-align: center;
}
#catalog p {
font: 16px montserratbold;	
}
}