/*
Theme Name: thTheme Elementor
Theme URI: https://thmedia.design
Author: th media
Author URI: https://thmedia.design
Description: thTheme optimiert für Elementor.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: th-theme-elementor
*/
:root { accent-color: var(--e-global-color-accent); }
:focus-visible { outline-color: var(--e-global-color-accent); }
::selection { background-color: var(--e-global-color-accent); }
::marker { color: var(--e-global-color-accent); }

:is(
  ::-webkit-calendar-picker-indicator,
  ::-webkit-clear-button,
  ::-webkit-inner-spin-button, 
  ::-webkit-outer-spin-button
) {
  color: var(--e-global-color-accent);
}

html, body { margin:0; padding:0; }
body { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }

/* WPCF7 */
.wpcf7 .th-form {
    grid-template-columns: repeat(12, 1fr);
    gap: var(--bde-form-gap);
    display: grid;
}
.wpcf7 .th-form > p,
.wpcf7 .th-form-field > p {
	display: contents;
}

.wpcf7 .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.wpcf7 .th-form input.button-atom--primary {
	text-align: center;
	font-weight: bold;
	text-decoration: none;
    background-color: var(--e-global-color-accent);
    color:#fff;
	padding: 10px 20px;
    font-size: 1rem;
	border-radius: 50px;
	cursor: pointer;
	border-width: var(--bde-button-border-width);
	border-style: solid;
	border-color: transparent;
	transition-timing-function: ease-in-out;
	transition-property: all;
	transition-duration: var(--bde-transition-duration);
	overflow: hidden;
}
.th-form .th-form-field {
    display: flex;
    width: 100%;
    grid-column-start: span 12;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 30px;
    position: relative;
}
.th-form .th-form-field__label {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(0);
    transition: all 0.3s ease-in-out;
    pointer-events: none;
    z-index: 1;
	font-size:1rem;
}

.th-form .th-form-field:focus-within .th-form-field__label,
.th-form .th-form-field:has(input:not(:placeholder-shown)) .th-form-field__label,
.th-form .th-form-field:has(textarea:not(:placeholder-shown)) .th-form-field__label {
    transform: translateY(-100%);
    font-size: 0.75rem;
}

.th-form .th-form-field__input {
    display: block;
    width: 100%;
    font-size: 1rem;
    padding: 5px 0;
    border-width: 0 0 2px;
    border-color: var(--e-global-color-text);
    background-color: transparent;
	color:#fff;
    transition: all 0.3s ease-in-out;
}
.th-form .th-form-field__input::placeholder {
        opacity: 0;
    }
.th-form .th-form-field__input:focus{
    border-color: var(--e-global-color-accent);
    outline: none;
    box-shadow: none;
}
.th-form .th-form-field__input.wpcf7-not-valid {
    border-color: #dc3232!important;
}
.th-form .wpcf7-not-valid-tip {
    color: #dc3232;
    text-align: right;
    font-size: 0.8rem;
    font-weight: normal;
    display: block;
    padding:5px 0;
}
.codedropz-upload-inner h3 {
	margin: 5px 0;
	font-size: 28px;
	word-break: break-word;
	font-family:var(--bde-body-font-family);
	font-size:1rem;
	color:var(--e-global-color-text)!important;
	font-weight:600;
}

.dnd-upload-status .dnd-upload-details .name,
.dnd-upload-status .dnd-upload-details .name em{
	color:var(--e-global-color-text)!important;
}
.dnd-upload-status .dnd-upload-details .dnd-progress-bar span {
	background: linear-gradient(-90deg,var(--e-global-color-accent) 0%,var(--e-global-color-accent) 98.97435897435898%);
	font-size: 12px;
	line-height: 13px;
	padding-right:3px
}
.codedropz-upload-inner .codedropz-btn-wrap {
	margin:1em 0 0;
}
.codedropz-upload-inner .cd-upload-btn {
	background: var(--e-global-color-text);
	padding: 10px 40px 12px;
	border-radius: 3px;
	font-weight: 600;
	color: #fff;
	cursor: pointer;
	transition: background 300ms ease-in-out;
	line-height:2em;
}
.codedropz-upload-inner .cd-upload-btn:hover {
	background:var(--e-global-color-accent);
	color: #fff;
}
.wpcf7-checkbox .wpcf7-list-item {
    margin-left: 0;
}
.wpcf7-checkbox .wpcf7-list-item label {
    display: flex;
    align-items: baseline;
    gap: 10px;
} 
.wpcf7-checkbox .wpcf7-list-item .wpcf7-list-item-label {
    font-size:1rem;
}
.wpcf7-checkbox .wpcf7-list-item label input[type="checkbox"] {
    margin: 0;
    height: 1.5em;
    width: 1.5em;
    flex-shrink: 0;
    border:2px solid var(--e-global-color-text);
    accent-color: var(--e-global-color-accent);
    border-radius: 0;

}