/*
 Theme Name:   Eight Degree Child Theme
 Theme URI:    http://www.raschal.ch
 Description:  Child Theme for Raschal
 Author:       Lapala web solutions
 Author URI:   http://www.lapala.ch
 Template:     EightDegree
 Version:      1.0.0
*/
 
@import url("../EightDegree/style.css");
html, body, .gm-style-iw {
	font-family: 'Fira Sans Extra Condensed', sans-serif !important;
	font-size: 16px !important;
	line-height: 1.5;
}
h1 {
	font-family: 'Fira Sans Extra Condensed', sans-serif !important;
	line-height: 1.5;
    font-weight: 600 !important;
    color: #c00d0d !important;
}
h2 {
	font-family: 'Fira Sans Extra Condensed', sans-serif !important;
	line-height: 1.5;
    font-weight: 700 !important;
    color: #c00d0d !important;
	margin-bottom: 1.1rem;
}
h3 {
	font-family: 'Fira Sans Extra Condensed', sans-serif !important;
	line-height: 1.5;
    font-weight: 700 !important;
    color: #ffffff !important;
	text-transform: uppercase;
    text-align: center;
	margin-bottom: 1.5rem;
}
h3:hover, h3:active, h3:focus {
    color: #c00d0d !important;
}
b, strong {
    font-weight: 600;
}
p {
    margin-bottom: 15px;
}
#main, #primary, body {
	height: initial;
    min-height: initial;
}
.page, .mainnav, .sub-menu, .mainnav .children, .footer {
	background-color: transparent !important;
}
#light {
	background-color: #c00d0d !important;
}

#main ul {
    list-style-image: url('images/haken.png');
}
#main li {
    font-size: 25px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #c00d0d;
}
/* WPML Language Switcher */
.wpml-ls-legacy-list-horizontal {
    padding: 50px !important;
    position: absolute;
	top: 0;
    right: 0;
	font-weight: 600 !important;
}
.wpml-ls-legacy-list-horizontal a {
    color: rgba(231,64,17, 0.5) !important;
}
.wpml-ls-current-language a {
	color: #c00d0d !important;
}
#light .wpml-ls-legacy-list-horizontal a{
    color: #DF8686 !important;
}
#light .wpml-ls-current-language a {
	color: #ffffff !important;
}

/* WPML Trennstrich */
.wpml-ls-legacy-list-horizontal li {
    position: relative;
}

.wpml-ls-legacy-list-horizontal li:first-child:after {
    content: '|';
    position: absolute;
    right: -2px;
    top: 2px;
    color: #DF8686;
}
/* Navigation */
.mainLogo {
    padding: 0;
    float: left;
    line-height: 80px;
    width: 100%;
    text-align: center;
    line-height: 1;
}
.mainLogo a {
    background: url(images/RASCHAL-Logo-rot.svg) no-repeat;
    height: 55px;
    width: 100%;
    display: inline-block;
    border-bottom: none;
}
#light .mainLogo a {
	background: url('images/RASCHAL-Logo-weiss.svg') no-repeat;
}
.mainnav {
    display: block;
    width: 100%;
    z-index: 1050;
    border-bottom: 0px;
    position: fixed;
    max-width: 260px;
    float: left;
    left: 50px;
    top: 50px;
	opacity: 1 !important;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=1)" !important;
    filter: alpha(opacity=1) !important;
    -moz-opacity: 1 !important;
    -khtml-opacity: 1 !important;
}
.mainnav ul {
    float: left;
}
.mainnav ul > li:first-child {
    width: auto;
}
.mainnav ul > li {
    padding: 0;
    position: relative;
    width: 100%;
    height: 40px;
    margin-right: 0;
    text-align: left;
    line-height: 40px;
    float: none;
    display: inline-block;
}
.mainnav ul > li > a {
    font-weight: 600;
}
.mainnav a, .footer a, #ihre-vorteile a {
    color: #df8686 !important;
}
.mainnav a:hover, .mainnav a:focus, .mainnav a:active,
.footer a:hover, .footer a:focus, .footer a:active,
#ihre-vorteile a:hover, #ihre-vorteile a:focus, #ihre-vorteile a:active{
    color: #c00d0d !important;
}
.mainnav .sub-menu a, .mainnav .children a {
    padding: 0;
}
.mainnav .sub-menu, .mainnav .children {
    visibility: visible;
    opacity: 1;
    position: relative;
    padding: 0px;
    left: 0;
    border: 0px;
    top: -6px;
	float:none;
}
.nav-links > li:first-child {
    visibility: hidden;
    line-height: 0px;
}



nav#primary-nav:after {
    content: '';
    background-image: url('images/swiss-made.svg');
	background-size: contain;
    background-repeat: no-repeat;
    position: fixed;
    bottom: 50px;
    left: 50px;
    z-index: 99;
    width: 40px;
    height: 65px;
}

#light nav#primary-nav:after {
    content: '';
    background-image: url('images/swiss-made-weiss.svg');
}
#light .flashover > a:hover {
    color: #c00d0d !important;
}


#light a {
    color: #ffffff !important;
}
#light a:hover,#light  a:focus,#light  a:active,
#light li:hover > a,#light li:focus > a,#light li:active > a{
    color: #DF8686 !important;
}
#light .nav-active > a {
    color: #DF8686 !important;
}
#light .popup a {
	color: #666666 !important;
}
#light .impressum > a {
    color: #DF8686 !important;
}

/* Mobile Menu Button */
.toggle-nav, .mobile-language  {
    display:none;
}
.mobile-language a {
    padding: 10px;
    margin-top: 5px;
}
.toggle-nav {
    width: 60px;
    height: 40px;
    float: right;
    cursor: pointer;
    position: relative;
    top: 24px;
    right: 10px;
    padding: 10px;
}
.toggle-nav span, .toggle-nav span:before, .toggle-nav span:after {
  cursor: pointer;
  border-radius: 1px;
  height: 5px;
  width: 35px;
  background: #c00d0d;
  position: absolute;
  display: block;
  content: '';
}
#light .toggle-nav span, #light .toggle-nav span:before, #light .toggle-nav span:after {
  background: #ffffff;
}
.toggle-nav span:before {
  top: -10px;
}
.toggle-nav span:after {
  bottom: -10px; 
}
.toggle-nav span, .toggle-nav span:before, .toggle-nav span:after {
  transition: all 500ms ease-in-out;
}
.toggle-nav.active span {
  background-color: transparent !important;
}
.toggle-nav.active span:before, .toggle-nav.active span:after {
  top: 0;
}
.toggle-nav.active span:before {
  transform: rotate(45deg);
}
.toggle-nav.active span:after {
  transform: rotate(-45deg);
}

.menuopen {
	overflow: hidden !important;
}
/*Home Images Hover */
.flashover::after {
    visibility: hidden;
    content: '';
    position: fixed;
    width: 100%;
    height: 100%;
    right: 0;
    top: 0;
	z-index: -1;
}
.flashover.active::after {
	visibility: visible;
}

.hover .nav-links, .hover .flashover {
	opacity: 0;
}
.flashover.active {
	opacity: 1 !important;
}
#distanz::after {
    background: url(images/Raschal-Produktfotos-1.jpg) no-repeat;
    background-size: contain;
	background-position: center;
}
#distanzein::after {
    background: url(images/Raschal-Produktfotos-12.jpg) no-repeat;
    background-size: contain;
	background-position: center;
}
#schienen::after {
    background: url(images/Raschal-Produktfotos-8.jpg) no-repeat;
    background-size: contain;
	background-position: center right;
}
#zusatzteile::after {
    background: url(images/Raschal-Produktfotos-5.jpg) no-repeat;
    background-size: contain;
	background-position: center;
}

.hover .mainnav, .hover .flashover, .hover .wpml-ls-legacy-list-horizontal {
	opacity: 0;
}
/* Grid and Content */
div.page {
    padding: 30px 0px;
    overflow: visible;
}
.page-template-default #main {
    padding-top: 0px;
}
.grid {
    max-width: 630px;
    padding-left: 15px;
    padding-right: 15px;
}


/* Störer Button */
.stoerer {
    position: relative;
    display: block;
    width: 100%;
    height: 200px;
    background: url(images/Stoerer-DE.svg) no-repeat;
    background-size: contain;
    background-position: center;
    margin-top: -30px;
}

html[lang="fr-FR"] .stoerer {
    position: relative;
    display: block;
    width: 100%;
    height: 200px;
    background: url(images/Stoerer-FR.svg) no-repeat;
    background-size: contain;
    background-position: center;
    margin-top: -30px;
}



/* Produkte */

.entry {
	position: relative;
}
.produkt span {
	display: inline-block;
	text-align: right;
}
.produkt .preis {
    width: 40%;
	float: right;
	padding-right: 10px;
}
.produkt.distanzhalter .preis, .produkt.distanceurs .preis {
    width: 50%;
}
.produkt .name {
    width: 40%;
	text-align: left;
	padding-left: 10px;
}
.produkt .laenge, .produkt .stueck {
    width: 20%;
}
.schienen .loch, .rails .loch {
    width: 18%;
}
.schienen .laenge, .rails .laenge {
    width: 25%;
}
.schienen .stueck, .rails .stueck {
    width: 17%;
}
.produkt .title {
    font-weight: 600;
}
.produkt .entry, .produkt .title {
    border-bottom: 1px solid #000;
    width: 100%;
    line-height: 36px;
}
.entry .preis {
    color: #666666;
}
span.preis.email {
    display: none;
}
.preis a {
    color: #ffffff !important;
}
.imagebox {
    display: none;
    width: 300px;
    height: 200px;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    right: -300px;
    top: -73px;
}
.entry:hover, .entry:focus, .entry:active {
    background-color: #c00d0d;
    color: #fff;
}
.entry:hover > .preis.anfrage, .entry:focus > .preis.anfrage, .entry:active > .preis.anfrage, .entry.clicked > .preis.anfrage {
    display: none;
}
.entry:hover > .preis.email, .entry:focus > .preis.email, .entry:active > .preis.email, .entry.clicked > .preis.email {
    display: block;
}
.entry:hover > .imagebox, .entry:focus > .imagebox, .entry:active > .imagebox {
    display: block;
}
/* Slider */
.soliloquy-container {
    box-sizing: initial !important;
    margin-bottom: 50px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.soliloquy-controls-direction {
    display: none;
}
a.soliloquy-pager-link {
    border: 1px solid #c00d0d !important;
    border-radius: 50%;
    background: none !important;
}
a.soliloquy-pager-link.active {
    background: #c00d0d !important;
}
.soliloquy-container .soliloquy-pager {
    bottom: -30px !important;
}

/* Google MAP */
div#googlemaps {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -999;
}
.home #googlemaps {
	display: none;
}

/* PERSONEN */
.column3 {
    width: 33.3%;
    padding-right: 30px;
    float: left;
    box-sizing: border-box;
}
.popup {
    position: absolute;
    top: 100px;
    width: 100%;
}
.popup-inner {
    background-color: #fff;
    padding: 30px 0 30px 30px;
}
.popup-inner.active {
    display: none;
}
.personen {
    display: inline-block;
    width: 100%;
}

.toggle {
    width: 60px;
    height: 60px;
    float: right;
    cursor: pointer;
    position: relative;
    top: 0px;
    right: 0px;
    padding: 10px;
	background: #ffffff;
}
.toggle.active {
	background: transparent;
}
.toggle span, .toggle span:before, .toggle span:after {
  cursor: pointer;
  border-radius: 1px;
  height: 5px;
  width: 35px;
  background: transparent;
  position: absolute;
  display: block;
  content: '';
    top: 14px;
    left: 7px;
}
.toggle span:before {
  transform: rotate(45deg);
    background-color: #000;
}
.toggle span:after {
  transform: rotate(-45deg);
    background-color: #000;
}
.toggle span, .toggle span:before, .toggle span:after {
  transition: all 300ms ease-in-out;
}
.toggle.active span {
  background-color: transparent;
}
.toggle.active span:before {
  transform: rotate(90deg);
    background-color: #fff;
}
.toggle.active span:after {
  transform: rotate(0deg);
    background-color: #fff;
}


/* Footer */
footer {
    color: #DF8686;
    font-weight: 600;
    padding: 30px 15px 70px 15px !important;
}

footer h2 {
    padding: 0 80px;
}
.impressum {
    position: absolute;
    right: 50px;
    bottom: 50px;
}


@media screen and (max-width: 1200px) {
	h1 { padding-top: 60px;}
	.toggle-nav, .mobile-language {display: block;}
	.mainnav { position: fixed; max-width: 100%; left: 0; top: 0;}
	.mainLogo { width: 60%;  padding: 15px 0 0 15px;}
	footer { padding: 30px 15px !important;}
	.impressum { position: initial; right: initial; bottom: initial;}
	nav#primary-nav:after, .home .impressum { display:none;}
	.home nav#primary-nav:after {display:block;}
	ul.nav-links {
		display:none;
		position: fixed;
		width: 100%;
		overflow: scroll;
		margin: 0 !important;
		top: 0px;
		padding-top: 90px;
		border: 0px;
		background: #ffffff;
		max-height: initial;
		z-index: -1;
	}
	#light ul.nav-links {background: #c00d0d;}
	.mainnav a, .mainnav .sub-menu a { border: 0px;text-align: center;}
	#light .mainnav {background-color: initial !important;}
	.mainnav {background-color: #ffffff !important;}
	.mainnav ul > li > a {font-size: 24px !important;}
	.mainnav .sub-menu, .mainnav .children { top: -12px;}
	.home .wpml-ls { top: 70px; padding: 0 !important; right: 15px; display: block;}
	.wpml-ls {display: none;}
	.mainnav .grid { max-width: 100%;}
}

@media screen and (max-width: 768px) {
	.grid { max-width: 100%;}
}

@media (max-width: 600px) {
	.soliloquy-container .soliloquy-pager, .soliloquy-container .soliloquy-caption, .soliloquy-container .soliloquy-controls-auto {display: block !important;}
	.home .wpml-ls { top: 70px; padding: 0 !important; right: 15px; display: block;}
	.column3 { width: 100%; padding-right: 0px;}
	.popup {
		position: relative;
		top: 50px !important;
		margin-bottom: 30px;
	}
}

@media screen and (max-width: 480px) {
	h1 { font-size: 36px !important;padding-top: 60px;}
	h2 { font-size: 36px !important;}
	h3, .gamma { font-size: 44px !important;}
	.produkt .entry {display: inline-block;}
	.schienen .loch {width: 25%;}
	.schienen.produkt .laenge, .schienen.produkt .stueck { width: 34%;}
	.produkt .laenge, .produkt .stueck { width: 48%;}
	.produkt .preis { width: 100% !important;}
	.produkt .title .preis { display: none;}
	.produkt.zusatzteile .name { width: 75%;}
	.produkt.zusatzteile .stueck { width: 20%;}
	footer h2 {padding: 0; font-size: 32px !important;}
	footer h2 span {display: none;}
	nav#primary-nav:after { position: absolute; left: 50%; margin-left: -20px;}
	.home #main .grid {margin-top: 125px !important;}
	div.page {margin-top: 0px !important;}
}
