/*
Theme Name:   Ruueschtemplate
Description:  Ruueschtemplate
Author:       rueweb
Author URL:   https://www.ruesch-ag.ch/2021
Template:     hello-elementor
Version:      1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  Ruueschtemplate
*/
.gs-dev-tools {
  z-index: 999999 !important;
}
html body {
    font-family: 'Titillium Web', sans-serif;
}
.site-main, .elementor-location-single {
    padding-left: 40px;
    padding-right: 40px;
}
.front-video .elementor-container{
    height: calc(100vh - 130px);
}
a{
  transition: color 0.5s ease;
}



/* Main Navigation */
#headersection .menu-item-has-children .elementor-sub-item:hover{
  color: #fff;
}
#headersection {
  transition: all ease 0.5;
}
#headersection.elementor-sticky--effects {
  -webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,0.2);
box-shadow: 0 0 5px 0 rgba(0,0,0,0.2);
}
.icons-menu .elementor-icon-box-wrapper:hover a {
  color: #54595F !important;
}
/* Main Navigation End */


/* Overlay Navigation */
.overlay-navigation-button svg{
  width: 50px;
}
.overlay-navigation {
    background: black;
    color: white;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    position: fixed;
    z-index: 99999;
    transform: translateX(-100%);
    padding:100px 45px;
}
.overlay-navigation-inner {
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: space-between;
}
.overlay-navigation-menu li {
    text-align: right;
    list-style: none;
    overflow: hidden;
}
.overlay-navigation-menu li a {

    font-size: 45px;
    color: white;
    display: inline-block;

    font-weight: 700;
    text-transform: uppercase;
}
.overlay-menu > li > a {
    opacity: 0;
      transform: translateY(-50px);
}
.overlay-navigation-menu .current-menu-item a{
  color: #7a7a7a;
}
.overlay-navigation-text .widget_text {
    transform: translateY(-50px);
    opacity: 0;
}
.overlay-navigation-text .widget_text + .widget_text {
  margin-top: 30px;
}
.overlay-header {
    position: absolute;
    top:40px;
    left: 40px;
    right: 40px;
    display: flex;
    justify-content: space-between;
}
.overlay-close {

}
.overlay-close svg{
    width: 50px;
}
.overlay-navigation-menu .sub-menu li a{
  font-size: 25px;
  text-transform: none;
}
body .overlay-navigation-text .widget_text + .overlay-impressum {
  margin-top: 8vh;
}
.overlay-navigation-text a:link, .overlay-navigation-text a:visited {
  color: white;
}

/* Overlay Navigation End */

/* Footer */
.elementor-location-footer .widget_text{
    display: inline-block;
}
.global-footer .widget{
  width: 50%;
  vertical-align: top;
}
.elementor-location-footer {
  margin-top: 8vw;
}
.services-template-default .elementor-location-footer,
.serviceproducts-template-default .elementor-location-footer  {
    margin-top: 0;
}
.back-top-button span {
  cursor: pointer;
}
#text-3 p {
  margin-bottom: 0;
}
.datentransfer-box .elementor-icon-box-content{
  display: inline-block;
}
body .datentransfer-box .elementor-icon-box-icon {
  display: inline-block;
  margin-right: 15px !important;
}
/* Footer End */


/* Persons */
.cpt-personen {
  display: flex;
  margin-left: -10px;
  margin-right: -10px;
  flex-wrap: wrap;
  justify-content: center;
}
.person-item {
  padding: 10px;
  width: 33.3333%;
}
.person-image {
  background: #f0f0f0;
  margin-bottom: 10px;
}
.servicedetail-persons .person-image{
  background: #ffffff;
}
.person-image img {
  display: block;
}
.person-name {
  font-weight: 700;
  font-size: 130%;
}
.person-funktion {
  color: #918c8c;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.person-item a {
  color: inherit;
}
/* Persons End */

/* Elementor-Accordion */
.elementor-widget-container .elementor-accordion{
  border: none !important;
}
.elementor-accordion .elementor-accordion-item{
  border-bottom: 1px solid !important;
  padding: 0.5vw 1vw 0.5vw 0;
}
/* Elementor-Accordion End */

/* Justified Gallery */
.ha-justified-gallery .elementor-widget-container{
  display: flex;
  flex-direction: column;
}
.ha-filter {
  order: 2;
}
.hajs-justified-grid {
  order: 1;
}
.ha-filter .ha-filter__item{
  display: none;
  border: none;
}
.ha-filter .ha-filter__item:first-child{
  display: inline-block;
}
/* Justified Gallery End */

/* Header */
.service-header {

}
.service-icon img{
  filter: brightness(0) invert(1);
}

/* Header End */

/* Slick */
body .slick-dots li button::before {
  display: none;
}
body .slick-dots li button {
  border:1px solid black;
  border-radius: 50%;
  width: 10px;
  height: 10px;
}
body .slick-dots li.slick-active button {
  border-color:#D4007F;
  background: #D4007F;
}
body ul.slick-dots li {
  display: inline-block;
}
.cpt-personen-slider .person-image {
  background: #F0F0F0;
}
.cpt-personen-slider .person-infos{
width:500px;
display: block;
margin-left: auto;
margin-right: auto;
}
.cpt-personen-slider .person-image img{
display: block;
}
.cpt-personen-slider .slick-dots {
  bottom: auto;
  top:-25px;
  left: 10px;
  right: auto;
  text-align: left;
}
/* Slick end */

/* Elementor Post */
.elementor-post .elementor-post__read-more{
  background-color: #000;
  color: #fff;
  padding: 0.5vh 2vh;
  display: inline-block;
}
/* Elementor Post End */

/* Service Slider */
.service-slider-overlay {
  position: absolute;
  top:0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  opacity: 0.8;
}
.service-slider-content {
  position: relative;
  z-index: 2;
}
.service-slider-text {
  z-index: 3;
  position: relative;
}
.service-slider-content {
  background-size: cover;
  background-position: center;
  padding: 65px 20px;
  text-align: center;
}
.service-slider-text {
  display: flex;
  justify-content: center;
  align-items: center;
}
.service-slider-content h3 {
  color: white;
  text-transform: uppercase;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 10px;
}
.service-slider-content img {
  filter: brightness(0) invert(1);
}
/* Service Slider End */

/* Produkte Grid */
.produkte-grid {
  display: flex;
  flex-wrap: wrap;
}
.produkte-grid-item {
  width: 20%;
  border-right:1px solid #918C8C;
  border-bottom:1px solid #918C8C;
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
  padding-top: 30px;
  transition: background ease 0.5s;
}
.produkte-grid-item:hover {
  background:rgba(0,0,0,0.05);
}
.produkte-grid-item:hover img {
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
}
.produkte-grid-item:nth-child(5n+5) {
  border-right: none;
}
.produkte-grid-item-title {
  text-transform: uppercase;
  color:#918C8C;
}
.produkte-grid-item-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.produkte-grid-item-inner img {
  transition: all ease 0.5s;
}

.produkte-grid-item-title {
  margin-top: 15px;
  font-size: 131%;
  line-height: 1.2;
}
.mfp-img {
  background: #F0F0F0;
  transition: background-color ease 0.5s;
}
body img.mfp-img {
  padding: 0;
}
/* Produkte Grid End */

/* Contact Form */
.wpcf7 .wpcf7-submit{
  border: none;
}
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form textarea {
  border: none;
  border-radius: 0;
  border-bottom: 1px solid black;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 7px;
  padding-top: 7px;
}
.wpcf7-form textarea {
  height: 170px;
}
.wpcf7-form label {
  width: 100%;
  border-radius: 0;
}
.contact-label {
  transform: translateY(30px);
display: inline-block;
z-index: 2;
position: relative;
pointer-events: none;
transition: all ease 0.5s;
font-size: 15px;
}
.is-focused .contact-label{
transform: translateY(0);
}
.wpcf7-form label {
  margin-bottom: 5px;
}
/* Contact Form End */


/* Öffnungszeiten */
.elementor-location-footer table td,
.overlay-navigation table td {
  padding: 0;
  background:transparent !important;
  border:none;
}
.elementor-location-footer table td + td,
.overlay-navigation table td + td {
  padding-left: 12px;
}
/* Öffnungszeiten End */
