﻿/* CSS Document */

.w1 {
	width: 100px !important;
    max-width: 100%;
}
.w2 {
	width: 160px !important;
    max-width: 100%;
}
.w3 {
	width: 415px !important;
    max-width: calc(100% - 20px);
}

select {
    max-width: 100% !important;
}

.ag-form label.ag-f-label {
    display: inline-block;
	vertical-align: top;
	padding: .375em 0;
	width: 100px;
}

.ag-form-item.ag-bar {
	margin-top: 1em;
	padding: 0.5em;
	border-top: 1px solid #C8C8C8;
	border-bottom: 1px solid #C8C8C8;
}

input[type=text], select {
    background-color: #efefef;
    border: 1px solid #cdcdcd;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 11px;
}

.ag-form .ag-form-sect.ag-f-sep {
	padding: 0;
	margin: 2em 0 1em;
}

.ag-form span.ag-f-label {
    line-height: normal;
    cursor: pointer;
    font-size: 1em;
    font-weight: 400;
    margin: 0 5px 0 0;
    text-align: left;
	display: inline-block;
	vertical-align: top;
	padding: .375em 0;
	width: 200px;
}

label.label-nested {
	font-weight: 300;
}

.ag-sep-inner {
	padding: 0.5em 0 0;
	font-weight: bold;
}

.ui-button {
	padding: 0.5em 0.75em;
	text-transform: uppercase;
	font-weight: bold;
	cursor: pointer;
    font-size: 11px;
    background-color: #efefef;
}

.forminput {
	display: inline-block;
    width: calc(100% - 110px);
    margin-bottom: 10px;
}

.error {
	border: 1px solid #ff0000 !important;
}

.errormessage {
	color: #ff0000;
	font-size:0.85em;
}

.ui-state-partlybooked > a {
	border: 1px solid #c4a600 !important;
	background: #fae468 !important;
}

.ui-state-free > a {
	border: 1px solid #24a800 !important;
	background: #d9edd4 !important;
}

.timeslotfield {
	display: flex;
	gap: 10px;

	> div {
		width: 25%;
		display: flex;
		flex-direction: column;
		align-items:center;
		border: 1px solid #cdcdcd;
		background-color: #efefef;
		border-radius: 4px;
		padding: 5px 10px;
		cursor: pointer;

		&:hover {
			filter: brightness(95%);
		}

		&.active, &.choosen {
			filter: brightness(85%);
		}

		&.disabled {
			color: #cdcdcd;
			cursor: not-allowed;
		}
	}
}

@media screen and (max-width: 1200px) {
	.formContainer {
		padding: 0 0.5em;
	}
}

@media screen and (max-width: 450px) {
	.w1, .w2, .w3 {
		width: 100% !important;
	}

	.forminput {
		width: 100%;
	}

}