/*
 Theme Name:     DIVI TJweb Theme
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    DIVI TJweb Theme
 Author:         TJWeb
 Author URI:     https://www.tjweb.eu
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

/* Defaults */
:root {
    font-size: 1rem;
    font-size: clamp(14px, .4rem + .6vw, 24px) !important;
    --primary-colour: #b78854;
    --secondary-colour: #ebded1;
}

html,
body,
#page-container {
    max-width: 100%;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    padding: 0;
}

/* DIVI Parallax Position */
.et_parallax_bg {
    background-position: center;
}

/* Chromium Scrollbar styles */
::-webkit-scrollbar {
    background-color: #222;
    width: 20px;
}

::-webkit-scrollbar-track {
    background-color: #222;
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary-colour);
}


/* Firefox scrollbar styles */
:root {
    scrollbar-color: var(--primary-colour) #222;
    scrollbar-width: thick;
}

@media screen and (max-width:980px),
(orientation:portrait) {
    :root {
        scrollbar-width: thin;
    }

    ::-webkit-scrollbar {
        background-color: #222;
        width: 10px;
    }
}

::selection {
    background-color: var(--primary-colour);
    color: white;
}


/* Fixes Divider position */
.et_pb_top_inside_divider {
    top: -.5px !important;
}

.et_pb_bottom_inside_divider {
    bottom: -.5px !important;
}

/*-------------------------*/
/*- Contact form 7 Styles -*/
/*-------------------------*/
.wpcf7 .wpcf7-form-control-wrap input:not([type="checkbox"]),
textarea,
select {
    width: 100%;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="password"],
.wpcf7 input[type="search"],
.wpcf7 input[type="number"],
.wpcf7 input[type="tel"],

.wpcf7 input[type="range"],
.wpcf7 input[type="date"],
.wpcf7 input[type="month"],
.wpcf7 input[type="week"],
.wpcf7 input[type="time"],
.wpcf7 input[type="datetime"],
.wpcf7 input[type="datetime-local"],
.wpcf7 input[type="color"],
.wpcf7 select,
.wpcf7 textarea,
.wpcf7 input[type="checkbox"] {
    background: #ddd !important;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="password"],
.wpcf7 input[type="search"],
.wpcf7 input[type="number"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="range"],
.wpcf7 input[type="date"],
.wpcf7 input[type="month"],
.wpcf7 input[type="week"],
.wpcf7 input[type="time"],
.wpcf7 input[type="datetime"],
.wpcf7 input[type="datetime-local"],
.wpcf7 input[type="color"],
.wpcf7 select,
.wpcf7 textarea {
    padding: 1rem;
    border: 0px solid #f8f8f8;
    background-color: #f8f8f8;
    font-size: 1rem;
    line-height: 1.2em;
    transition: .3s;
    border-radius: 0px;
    margin-bottom: .5rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="password"],
.wpcf7 input[type="search"],
.wpcf7 input[type="number"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="range"],
.wpcf7 input[type="date"],
.wpcf7 input[type="month"],
.wpcf7 input[type="week"],
.wpcf7 input[type="time"],
.wpcf7 input[type="datetime"],
.wpcf7 input[type="datetime-local"],
.wpcf7 input[type="color"],
.wpcf7 select,
.wpcf7 textarea {
    color: #3c3c3b;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="password"]:focus,
.wpcf7 input[type="search"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="range"]:focus,
.wpcf7 input[type="date"]:focus,
.wpcf7 input[type="month"]:focus,
.wpcf7 input[type="week"]:focus,
.wpcf7 input[type="time"]:focus,
.wpcf7 input[type="datetime"]:focus,
.wpcf7 input[type="datetime-local"]:focus,
.wpcf7 input[type="color"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    /* Add styles for when the input field is in focus */
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

.wpcf7 input[type="text"]:not(:placeholder-shown),
.wpcf7 input[type="email"]:not(:placeholder-shown),
.wpcf7 input[type="url"]:not(:placeholder-shown),
.wpcf7 input[type="password"]:not(:placeholder-shown),
.wpcf7 input[type="search"]:not(:placeholder-shown),
.wpcf7 input[type="number"]:not(:placeholder-shown),
.wpcf7 input[type="tel"]:not(:placeholder-shown),
.wpcf7 input[type="range"]:not(:placeholder-shown),
.wpcf7 input[type="date"]:not(:placeholder-shown),
.wpcf7 input[type="month"]:not(:placeholder-shown),
.wpcf7 input[type="week"]:not(:placeholder-shown),
.wpcf7 input[type="time"]:not(:placeholder-shown),
.wpcf7 input[type="datetime"]:not(:placeholder-shown),
.wpcf7 input[type="datetime-local"]:not(:placeholder-shown),
.wpcf7 input[type="color"]:not(:placeholder-shown),
.wpcf7 textarea:not(:placeholder-shown) {
    /* Add styles for when the input field is not empty */
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

/*Contact form 7 Submit Button*/
.wpcf7 input[type=submit] {
    margin-top: 1em;
    padding: .5rem 1rem;
    /*Submit Farbe*/
    background: #555;
    color: #fff;
    font-size: 1rem;
    border: none;
    font-weight: 500;
    transition-duration: 0.5s;
    letter-spacing: 0.05em;
}

.wpcf7 input[type=submit]:hover {
    /*Submit Hover Farbe*/
    background: #a5a5a5;
    transition-duration: 0.5s;
}

.wps-form {
    flex-direction: column;
    display: flex;
    gap: .5rem;
}

@media only screen and (min-width: 1100px) {
    .wps-form-row {
        flex-direction: row;
        display: flex;
        gap: .5rem;
    }

    .wps-form-row>* {
        flex: 1;
    }
}

.ds-box {
    font-size: .8rem;
    line-height: 1.4em;
}

.wpcf7 p {
    padding: 0px;
    margin: 0px;
}

.wpcf7-radio,
.wpcf7-form-control {
    display: flex !important;
    gap: 1rem;
}

input[type=radio] {
    width: unset !important;
    height: 1rem;
}

.wpcf7-list-item {
    display: inline-block;
    margin: 0;
}

.wpcf7-not-valid-tip {
    position: absolute;
    top: 160%;
    right: 0;
    font-size: .8rem;
    font-weight: 900;
}

.wpcf7-spinner {
    display: none;
}

/*-------------------------*/
/*------ Styles Ende ------*/
/*-------------------------*/

/* Box-Inhalt per Flexbox vertikal zentrieren */
.vertical-align {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* DIVI Controlls bullet position Fix */
.et-pb-controllers {
    bottom: 0%;
    height: unset !important;
    bottom: 1rem;
}

.clearfix::after {
    display: none;
}

.et-pb-controllers {
    line-height: 1.2em;
}

/* Eigener Breakpoint 1 */
@media (max-width: 1024px) {
    #et_mobile_nav_menu {
        display: block;
    }

    #top-menu {
        display: none;
    }
}

/* DIVI Gallery Grid Layout */
/* With DIVI Booster The gallery needs to be set to one image per row */
.grid-gallery-two {
    --gallery-grid-columns: repeat(2, 1fr);
}

.grid-gallery-three {
    --gallery-grid-columns: repeat(3, 1fr);
}

.grid-gallery-four {
    --gallery-grid-columns: repeat(4, 1fr);
}

.grid-gallery-five {
    --gallery-grid-columns: repeat(5, 1fr);
}

.grid-gallery .et_pb_gallery_items {
    display: grid;
    gap: .4rem;
    grid-template-columns: var(--gallery-grid-columns)
}

.grid-gallery .et_pb_gallery_item {
    width: 100% !important;
}

.grid-gallery .clearfix:after {
    display: none;
}

@media screen and (max-width:980px),
(orientation:portrait) {
    .grid-gallery .et_pb_gallery_items {
        grid-template-columns: repeat(2, 1fr);
    }
}

selector .et_pb_gallery_items {
    gap: .4rem;
    --gallery-grid-columns: repeat(4, 1fr);
}

@media screen and (max-width:980px) {
    selector .et_pb_gallery_items {
        gap: .4rem;
        --gallery-grid-columns: repeat(2, 1fr);
    }
}

/* Image forced Aspect ratio */
.aspect-ratio-16-9 img {
    aspect-ratio: 16/9;
    object-fit: cover;
    width: 100% !important;
}

.aspect-ratio-4-3 img {
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100% !important;
}

.aspect-ratio-1-1 img {
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100% !important;
}

.aspect-ratio-2-1 img {
    aspect-ratio: 2/1;
    object-fit: cover;
    width: 100% !important;
}

/* Font import */

/* poppins-100 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 100;
  src: url('fonts/poppins-v23-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 200;
  src: url('fonts/poppins-v23-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/poppins-v23-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 300;
  src: url('fonts/poppins-v23-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/poppins-v23-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/poppins-v23-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/poppins-v23-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 500;
  src: url('fonts/poppins-v23-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/poppins-v23-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/poppins-v23-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 700;
  src: url('fonts/poppins-v23-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/poppins-v23-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 900;
  src: url('fonts/poppins-v23-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* manrope-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200;
  src: url('fonts/manrope-v15-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* manrope-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/manrope-v15-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* manrope-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/manrope-v15-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* manrope-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/manrope-v15-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* manrope-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/manrope-v15-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* manrope-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/manrope-v15-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* manrope-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/manrope-v15-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}