/*
 Theme Name:   Fuhrparkwerk
 Description:  Fuhrparkwerk -- Child Theme of OceanWP
 Author:       Tobias Thommesen
 Author URI:   --
 Template:     oceanwp
 Version:      1.0
 Text Domain:  fuhrparkwerk-oceanwp-child
*/


/*--------------------------------------------------------------
# - Fonts
--------------------------------------------------------------*/

/* quicksand-300 - latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 300;
    src: url('assets/fonts/quicksand-v30-latin_latin-ext-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* quicksand-regular - latin_latin-ext */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/quicksand-v30-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* quicksand-500 - latin_latin-ext */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 500;
    src: url('assets/fonts/quicksand-v30-latin_latin-ext-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* quicksand-600 - latin_latin-ext */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 600;
    src: url('assets/fonts/quicksand-v30-latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* quicksand-700 - latin_latin-ext */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 700;
    src: url('assets/fonts/quicksand-v30-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }

  /* dancing-script-regular - latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Dancing Script';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/dancing-script-v24-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* dancing-script-500 - latin_latin-ext */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Dancing Script';
    font-style: normal;
    font-weight: 500;
    src: url('assets/fonts/dancing-script-v24-latin_latin-ext-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* dancing-script-600 - latin_latin-ext */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Dancing Script';
    font-style: normal;
    font-weight: 600;
    src: url('assets/fonts/dancing-script-v24-latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* dancing-script-700 - latin_latin-ext */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Dancing Script';
    font-style: normal;
    font-weight: 700;
    src: url('assets/fonts/dancing-script-v24-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  
/*--------------------------------------------------------------
# Variables
--------------------------------------------------------------*/
:root {
    --site-width: 1350px;
    --color-main: #be1522;
    --color-main-rgb: 190, 21, 34;
    --color-2nd: #4f5355;
    --color-text: #333537;
}

body {
  color: var(--color-text);
  font-size: 16px;
  line-height: 22px;
  overflow-x: unset !important;
}


/*--------------------------------------------------------------
# Global
--------------------------------------------------------------*/
@media only screen and (max-width: 959px) {
  .container, body.content-full-screen .elementor-section-wrap > .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 100% !important;
    padding: 0 10px !important;
  }
}

/* min height content fix test */
.col::after, .clr::after, .group::after, dl::after, .left_float::after, .right_float::after {
  content: none !important;
}
#wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#main {
  flex-grow: 1;
}


/* html - wie können wir ihnen helfen */
.content-block {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.cblock-image {
  width: 33%;
  border: 2px solid var(--color-2nd);
  padding: 4px;
}

.cblock-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cblock-text {
  width: 66%;
  padding-left: 20px;
}

.cblock-text p {
  margin: 0;
}

.helpblock-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
}

.helpblock {
  /*flex: 1;*/
  text-align: center;
  background: #ffffff;
  /*margin: 0 40px 20px;*/
  height: 200px;
  width: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: 2px solid var(--color-2nd);
  transition: all 300ms ease;
}

.helpblock:hover {
  transform: scale(1.04);
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
  color: var(--color-text);
}

.helpblock:focus {
  outline: none !important;
}

.helpblock svg {
  height: 60px;
  width: 60px;
  fill: var(--color-main);
  fill: var(--color-2nd);
  margin-bottom: 20px;
  transition: fill 200ms ease;
}

.helpblock:hover svg {
  fill: var(--color-main);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
header .oceanwp-social-menu {
  display: none;
}

#site-header.minimal-header {
  border: none;
  background: #f9f9f9;
  position: sticky;
  top: 0;
}

#site-header.scrolled #site-logo-inner a img.custom-logo {
  width: 150px;
}

#site-logo #site-logo-inner a img.custom-logo {
  width: 200px;
  max-width: none;
  transition: width 300ms ease;
}

#site-logo #site-logo-inner a:hover img.custom-logo {
  opacity: 1;
}

#site-header.clr:after,
#site-logo.clr:after,
#site-logo-inner.clr:after {
  content: none;
}

#site-header-inner {
  /* test */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#site-header-inner.clr:after {
  content: none;
}

#site-navigation-wrap .main-menu.dropdown-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  position: relative;
  top: -4px;
}

#site-navigation-wrap .dropdown-menu > li.menu-item {
  /*padding: 10px 10px;*/
  margin: 0 10px;
  font-size: 18px;
  cursor: pointer;
  transition: all 200ms ease;
}

#site-navigation-wrap .dropdown-menu li.current_page_item {
  border-bottom: 2px solid var(--color-main);
}

#site-navigation-wrap .dropdown-menu li.current_page_item:hover {
  border-color: rgba(var(--color-main-rgb), 0.5);
}

#site-navigation-wrap .dropdown-menu > li.menu-item > a {
  font-size: 18px;
  color: var(--color-text);
  line-height: normal;
  letter-spacing: normal;
  padding: 10px 10px;
}

#site-navigation-wrap .dropdown-menu > li.menu-item > a:hover {
  color: var(--color-text);
}

#site-navigation-wrap .dropdown-menu > li.menu-item > a:focus {
  outline: none !important;
}

#site-navigation-wrap .dropdown-menu li.current_page_item a {
  padding-bottom: 8px;
}

#site-navigation-wrap .dropdown-menu li:not(.current_page_item):not(.search-toggle-li) {
  color: #18272F;
  position: relative;
  text-decoration: none;
}

#site-navigation-wrap .dropdown-menu li:not(.current_page_item):not(.search-toggle-li)::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;

  background-color: #4f5355;
  bottom: 0;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform .2s ease-in-out;
}

#site-navigation-wrap .dropdown-menu li:not(.current_page_item):not(.search-toggle-li):hover::before {
  transform-origin: left;
  transform: scaleX(1);
}

/* search */
#site-navigation-wrap .dropdown-menu .site-search-toggle {
  line-height: normal;
  padding: 10px 10px;
}

#site-navigation-wrap .dropdown-menu > li > a.site-search-toggle:hover {
  color: var(--color-main);
}

#site-navigation-wrap .dropdown-menu > li > a.site-search-toggle:focus {
  outline: none !important;
}

#searchform-dropdown, #icon-searchform-dropdown {
  border-color: var(--color-2nd);
}

/* mobile menu */
.oceanwp-mobile-menu-icon a:hover {
  color: var(--color-main);
}

.oceanwp-mobile-menu-icon a:focus,
.oceanwp-mobile-menu-icon a:active {
  outline: none !important;
}

#mobile-dropdown .oceanwp-social-menu {
  display: none !important;
}

#mobile-dropdown #mobile-menu-search {
  margin-top: 15px;
}


/*--------------------------------------------------------------
# Content / Elementor
--------------------------------------------------------------*/
.elementor-widget-wrap h2.elementor-heading-title {
  font-family: "Dancing Script";
  color: var(--color-main);
  text-align: center;
  font-size: 40px;
  font-size: 42px;
  margin-top: 0;
  /*margin-bottom: 20px;*/
}

.elementor-widget-wrap h3.elementor-heading-title {
  font-family: "Dancing Script";
  color: var(--color-main);
  font-size: 30px;
  font-size: 32px;
  margin-top: 0;
  /*margin-bottom: 20px;*/
}

/* img with border elementor class */
.imgwithborder,
.imgwithborder .elementor-widget-container,
.imgwithborder img {
  height: 100%;
}

.imgwithborder .elementor-widget-container {
  border: 2px solid var(--color-2nd);
  padding: 4px;
}

.imgwithborder img {
  object-fit: cover;
}

/* contact page */
.contact-text p.head {
  color: var(--color-main);
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.contact-text p.head-add {
  color: var(--color-2nd);
  font-size: 22px;
  font-weight: bold;
  font-family: "Dancing Script";
  margin-bottom: 30px;
}

.contact-text p.adress {
  color: var(--color-text);
  margin-bottom: 5px;
}

.contact-text .contactblock {
  margin-top: 40px;
}

.contact-text .contactblock span,
.contact-text .contactblock table {
  color: var(--color-text) !important;
  width: auto;
}

.contact-text .openingblock {
  margin-top: 40px;
}

.contact-text .openingblock span,
.contact-text .openingblock table {
  color: var(--color-text) !important;
  width: auto;
}

.contact-text .contactblock a,
.contact-text .contactblock a span {
  color: var(--color-text) !important;
  background: transparent;
  transition: color 300ms ease;
}

.contact-text .contactblock a:hover,
.contact-text .contactblock a:hover span {
  color: var(--color-main) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.wpcf7-form p {
  margin: 0 0 15px;
}

/*--------------------------------------------------------------
# Footer Widgets
--------------------------------------------------------------*/
.footer-widgets-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#footer-widgets div.footer-box {
    width: auto;
    padding: 0;
}

.footerblock {
    color: #f9f9f9;
    line-height: normal;
}

.footerblock.fb4 img {
    height: 155px;
}

.footerblock table {
    color: #f9f9f9;
    margin: 0;
    border-spacing: revert;
    border-collapse: separate;
}

.footerblock table td:first-child {
    padding: 2px 5px 2px 0;
}

.footerblock table td {
    padding: 2px 0 2px 5px;
    border-bottom: none;
}

.footerblock a {
    color: #f9f9f9;
    text-decoration: none;
    white-space: nowrap;
}

.footerblock a {
    box-shadow: inset 0 0 0 0 #f9f9f9;
    color: #f9f9f9;
    padding: 0 .25rem;
    margin: 0 -.25rem;
    transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
  }

.footerblock  a:hover {
    color: var(--color-main);
    box-shadow: inset 200px 0 0 0 #f9f9f9;;
}

.fbheading {
    color: #f9f9f9;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 6px;
}

.meisterbetrieb-image {
    height: 155px !important;
    width: auto;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
/* footer menu */
#footer-bottom {
  padding: 10px 0;
}

#footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  flex-direction: row-reverse;
}

#footer-bottom #copyright {
  display: flex;
  align-items: center;
}

#footer-bottom #footer-bottom-menu {
  display: flex;
  justify-content: end;
  align-items: center;
}

#footer-bottom a:hover, #footer-bottom #footer-bottom-menu a:hover {
    text-decoration: underline;
}

#footer-bottom li::after {
    content: none !important;
}

#footer-bottom #footer-bottom-menu ul {
  display: flex;
  gap: 30px;
}

#footer-bottom #footer-bottom-menu a {
  padding: 5px 10px;
}

#footer-bottom .oceanwp-social-menu {
  display: block;
}

#footer-bottom .oceanwp-social-menu .social-menu-inner {
  height: auto;
}

#footer-bottom .oceanwp-social-menu .social-menu-inner ul {
  gap: 0px !important;
  margin-left: 10px !important;
}

#footer-bottom .oceanwp-social-menu .social-menu-inner li i {
  font-size: 18px;
}

#footer-bottom .oceanwp-social-menu .social-menu-inner li a {
  padding: 5px 6px !important;
}

#footer-bottom .oceanwp-social-menu .social-menu-inner li a:hover {
  opacity: 0.7;
}

@media only screen and (max-width: 959px) {
  #footer-widgets .col {
    margin-bottom: 0px;
  }
}

@media only screen and (max-width: 767px) {
  #footer-bottom {
    padding: 20px 0;
  }

  #footer-bottom #footer-bottom-menu,
  #footer-bottom #copyright {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .footer-box table {
    width: auto;
  }

  /* center test */
  #footer-widgets {
    text-align: center;
  }

  .footer-box table {
    margin: 0 auto;
  }

  #footer-widgets .col {
    margin-bottom: 40px;
  }

  #footer-widgets .col:last-child {
    margin-bottom: 0px;
  }
}

/*--------------------------------------------------------------
# Seiten
--------------------------------------------------------------*/
.impressum-text h2,
.impressum-text h3,
.impressum-text h4 {
  font-family: "Quicksand";
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/
/* slider */
div#n2-ss-2 .n2-ss-slide { 
  height: 500px !important;
  transition: height 300ms ease;
}

@media only screen and (max-width: 959px) {
  .slider500 .n2-ss-slide { 
    height: 400px !important;
  }
  .slider400 .n2-ss-slide {
    height: 300px !important;
  }
}

.customimgoverlay {
  position: absolute !important;
  top: 36% !important;
  left: 8% !important;
  text-align: left !important;
}

.customimgoverlay h3 {
  background: var(--color-main) !important;
  background-attachment: scroll !important;
  display: inline !important;
  box-shadow: .625rem 0 var(--color-main),-.625rem 0 var(--color-main) !important;
  box-decoration-break: clone !important;
  color: #ffffff !important;
  line-height: 1.4 !important;
  padding: 5px 0 !important;
  opacity: 0.9 !important;
}