/*
 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
------------------------------------------------------- */

/* Root Styles */
:root {
    font-size: 1rem;
    font-size: clamp(15px, .6rem + .4vw, 21px) !important;
    line-height: 1.5em;

    --primary-colour: #0000fe;
    --secondary-colour: #156593;
}

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: var(#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 bottom Divider position */
.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 {
    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;
    }
}

/* Image 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;
}

/* Divi Controlls Styles */
.et-pb-arrow-prev {
    color: white !important;
}

.et-pb-arrow-next {
    color: white !important;
}

.et-pb-controllers a {
    border: .15rem solid black;
    width: 1rem;
    min-height: 1rem;
    background: var(--primary-colour) !important;
    border-radius: 0rem;
    margin: 0px .2rem;
    transition: .5s cubic-bezier(.55, .05, .40, 2.5) !Important;
}

.et-pb-controllers a:not(.et-pb-active-control) {
    width: 1rem;
    min-height: 1rem;
    opacity: 1;
    background: white !important;
    transform: translateY(.2rem);
}

/* DIVI fix blurb icon width */
@media only screen and (min-width: 1024px) {
    .et_pb_blurb .et_pb_image_wrap {
        max-width: max-content !important;
    }

    .et_pb_blurb_position_left .et_pb_main_blurb_image,
    .et_pb_blurb_position_right .et_pb_main_blurb_image {
        max-width: max-content !important;
    }

    /* Optional */
    /* Change spacing between title and icon */
    .et_pb_blurb_position_left .et_pb_blurb_container {
        padding-left: .5em !important;
    }
}


/* Apply everywhere */
.icon-width-fix.et_pb_blurb .et_pb_image_wrap {
    max-width: max-content !important;
}

.icon-width-fix.et_pb_blurb_position_left .et_pb_main_blurb_image,
.icon-width-fix.et_pb_blurb_position_right .et_pb_main_blurb_image {
    max-width: max-content !important;
}

/* Optional */
/* Change spacing between title and icon */
.icon-width-fix.et_pb_blurb_position_left .et_pb_blurb_container {
    padding-left: .5em !important;
}


@media screen and (max-width:980px), (orientation: portrait) {
    .et_mobile_menu {
		left: unset;
		right: 0;
		width: 200px;
    }
}


/* Font import */

/* montserrat-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: 'Montserrat';
  font-style: normal;
  font-weight: 200;
  src: url('fonts/montserrat-v29-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-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: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/montserrat-v29-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-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: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/montserrat-v29-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-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: 'Montserrat';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/montserrat-v29-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-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: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/montserrat-v29-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-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: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/montserrat-v29-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-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: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/montserrat-v29-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-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: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/montserrat-v29-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-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: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  src: url('fonts/montserrat-v29-latin-900.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-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+ */
}