/* formulare */
.vcreate-form-box {
	padding: 0;	
}

.vcreate-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-header {
	flex-basis: 100%;
	padding: 0 0 30px 0; 
	font-size: 250%;
	line-height: 1;
	font-weight: 700;
}

.form-heading {
 	flex-basis: 100%;
	padding: 0 10px; 
	font-size: 200%;
	line-height: 1;
	font-weight: 700;
}

.form-subheading {
   flex-basis: 100%;
   padding: 0 10px; 
}

.form-intro-text {
	font-size: 125%;
	padding: 0 0 30px 0; 
}

.form-thumbnail {
	padding: 0 0 30px 0;
}

.form-submit-box {
	flex-basis: 100%;
	padding: 0 10px; 
}

.form-field {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    padding: 10px;
}

/* Společné styly pro všechny vstupní prvky */
.form-field input[type="text"],
.form-field input[type="number"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field input[type="date"],
.form-field input[type="file"],
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 0;
    font-size: 16px;
    line-height: 1.5;
	color: #999;
    transition: border-color 0.3s ease;
}

.form-field input[type="text"]:focus,
.form-field input[type="number"]:focus,
.form-field input[type="tel"]:focus,
.form-field input[type="email"]:focus,
.form-field input[type="date"]:focus,
.form-field input[type="file"]:focus,
.form-field select:focus,
.form-field textarea:focus {
	color: #3e3e3e;
}

/* Specifické styly pro select */
.form-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333333' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

/* Specifické styly pro textarea */
.form-field textarea {
    min-height: 100px;
    resize: vertical;
}

/* Specifické styly pro file input */
.form-field input[type="file"] {
    padding: 8px;
}

/* Hover a focus efekty */
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
    border-color: #999;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color:#9ecaed;
    box-shadow:0 0 10px #9ecaed;
}

/* Styly pro labels */
.form-field label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.vcreate-form-submit {
	color: #fff;
	background: #3e3e3e;
	padding: 15px 25px;
	font-size: 18px;
	font-weight: 600 !important;
	border: none;
	border-radius: 0;
	cursor: pointer;
	transition: 350ms all ease;
}

.required:after {
    content:" *";
    color: red;
}

.vcreate-form-message, .form-capacity-zero {
	color: #3e3e3e;
	background: rgba(0,0,0,0.05);
	padding: 30px;
	font-size: 16px;
	text-align: center;
	transition: 350ms all ease;
}

.inverse .vcreate-form-message, .inverse .form-capacity-zero {
	background: rgba(255,255,255,1);
}

.vcreate-form-message.successful {
	color: var(--mainWhite);
	background: #7ad03a;
}

.vcreate-form-message.error {
	color: var(--mainWhite);
	background: #a00;
}

.vcreate-form a {
	color: var(--mainBlue);
	text-decoration: underline;
}

.vcreate-form a:hover {
	text-decoration: none;
}

.inverse .vcreate-form a {
	color: var(--mainWhite);
}

@media (min-width: 60em) {
    .form-field.full {
        flex-basis: calc(100% - 20px);
    }
    .form-field.quarterx3 {
        flex-basis: calc(75% - 20px);
    }	
	.form-field.thirdx2 {
        flex-basis: calc(66.666% - 20px);
    }
    .form-field.half {
        flex-basis: calc(50% - 20px);
    }
    .form-field.thirdext {
        flex-basis: calc(37.5% - 20px);
    }
	.form-field.third {
        flex-basis: calc(33.333% - 20px);
    }
    .form-field.quarter {
        flex-basis: calc(25% - 20px);
    }
    .form-field.eighth {
        flex-basis: calc(12.5% - 20px);
    }	
}

/* pruhlednost menu co vyskakuje z admina */
.ab-sub-wrapper {
	opacity: 0.95;
}