
/* 
In this file:
	Form elements
	Form rendering
	Custom layout classes
	Intake form specific
	Preview form specific
	Profile page specific
	Charts styles

See backend-style.css for:
	Plugin Back-end styles

See styles.css in theme layer for:
	Front-end styles 
	form specific styles
*/


/* Form elements
---------------------------------------------------------------------------- */
/* Hide the required mark on form display */
body.wp-singular .jet-form-builder__required { display: none; }

input[type="text"],
input[type="date"],
input[type="datetime-local"],
input[type="email"] {
    border: 1px solid #cbcbcb;
    border-radius: 4px;
    transition: border-color 0.3s ease;
	background: white;
}
input[type="text"]:hover,
input[type="text"]:focus,
input[type="date"]:hover,
input[type="date"]:focus,
input[type="datetime-local"]:hover,
input[type="datetime-local"]:focus,
input[type="email"]:focus {
    border-color: #2271b1;
    outline: none;
}
li.jet-form-builder-choice--item {
	padding: .5em;
    border: 1px solid #cbcbcb !important;
}
.jet-form-builder__desc {
	margin-top: .5em;
}

/* Range slider styles */
input[type="range"] {
    cursor: pointer;
}
/***** Chrome, Safari, Opera and Edge Chromium styles *****/
input[type="range"]::-webkit-slider-runnable-track {
   background-color: silver !important;
   height: 0.1rem !important; 
}
input[type="range"]::-webkit-slider-thumb {
   background-color: var(--wp--preset--color--primary) !important;
}
/******** Firefox styles ********/
input[type="range"]::-moz-range-track {
   background-color: silver !important;
   height: 0.1rem !important; 
}
input[type="range"]::-moz-range-thumb {
   background-color: var(--wp--preset--color--primary) !important;
   border: none !important; /*Removes extra border that FF applies*/
}


/* Form rendering
---------------------------------------------------------------------------- */
.jet-form-builder-page {
    background: white;
    padding: 25px 20px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}
.jet-form-builder-page figure {
    width: 100%;
}
.jet-form-builder-progress-pages {
	padding: 1em 8%;
}
.jet-form-builder__next-page-wrap,
.field-type-submit-field {
	border-top: 1px solid silver;
	padding-top: 15px;
	margin-bottom: 0;
}
.jet-form-builder__submit {
	margin-left: 6px;
}
.jet-form-builder__label-text {
	font-size: 1.1em;
	font-weight: bold;
	margin: .4em 0 1.2em;
}
.jet-form-builder .field-type-radio-field {
	margin-bottom: .8em;
}
.jet-form-builder__fields-group {
	gap: .5em;
}
.jet-form-builder figcaption {
	font-size: 1em;
	margin-bottom: .5em;
}
.jet-form-builder__desc {
	margin-top: .8em;
    opacity: .5;
}
.jet-form-builder #DATA {
	display: none;
}
@media (max-width: 600px) {
	.jet-form-builder-progress-pages__item--wrapper { margin-bottom: 0 !important; }
	.jet-form-builder-progress-pages__item { padding: 5px !important; }
	.jet-form-builder-progress-pages__item--label { display: none; }
}
.jet-form-builder-repeater__items {
	border: 1px solid #cbcbcb;
    padding: 0 1em;
    border-radius: 4px;
}
.jet-form-builder-repeater__row {
	padding: 0;
}
.jet-form-builder-repeater__row-fields .wp-block-columns {
	margin-top: 0;
}


/* Custom layout classes
---------------------------------------------------------------------------- */
.onderin-kolom {
	margin-top: auto !important;
}
.fixed-height {
	height: 2em;
}
.ta_extra_text {
	padding-bottom: 3em;
}


/* Intake form specific
---------------------------------------------------------------------------- */
body.page-id-869 .jet-form-builder-choice,
body.page-id-134691 .jet-form-builder-choice {
	transform: translateX(0) !important;
}
body.page-id-869 ul.abonnementsvorm,
body.page-id-134691 ul.abonnementsvorm {
	margin-left: -2.6em;
	width: calc(100% + 5.2em);
	align-items: stretch;
}
@media (max-width: 782px) {
	body.page-id-869 ul.abonnementsvorm,
	body.page-id-134691 ul.abonnementsvorm {
		display: block;
		margin-left: 0;
		width: 100%;
	}
}
body.page-id-869 ul.abonnementsvorm>li,
body.page-id-134691 ul.abonnementsvorm>li {
	flex: 1;
	padding-top: 1.2em;
	border: 2px solid #eaeaebec !important;
}
body.page-id-869 ul.abonnementsvorm>li:hover,
body.page-id-134691 ul.abonnementsvorm>li:hover {
	background-color: rgb(246 251 255);
    border: 2px solid #0b76ef !important;
}
body.page-id-869 ul.abonnementsvorm>li[aria-checked="true"],
body.page-id-134691 ul.abonnementsvorm>li[aria-checked="true"] {
	background-color: rgb(220 237 250);
    border: 2px solid #0b76ef !important;
}
body.page-id-869 figcaption,
body.page-id-134691 figcaption {
	font-family: var(--wp--preset--font-family--ubuntu);
	font-size: 1.5em;
}
/* Intake form different label sizes */
body.page-id-869 .jet-form-builder__label-text,
body.page-id-134691 .jet-form-builder__label-text {
	font-size: .9em;
	font-weight: normal;
	margin: .2em 0 .7em;
}


/* Preview form specific
---------------------------------------------------------------------------- */
body.page-id-134787 button.jet-form-builder__submit, /* on test server*/
body.page-id-134750 button.jet-form-builder__submit { /* on local host */
    pointer-events: none;
    opacity: 0.5;
}

/* Profielpagina
---------------------------------------------------------------------------- */

body.page-id-821 .wp-block-post-title,
body.page-id-134693 .wp-block-post-title { 
	display: none; 
}
body.page-id-821 .entry-content,
body.page-id-134693 .entry-content { 
	padding-top: 1.5em;
}
body.page-id-821 .entry-content h3,
body.page-id-134693 .entry-content h3 { 
	margin-top: 1.6em;
	margin-bottom: .25em;
}
.ta_block_title { 
	margin-bottom: 1em; 
}

.profile_card .avatar {
	width: 64px;
	height: 64px;
    border-radius: 32px;
	flex: 0 0 64px;
	background-size: 64px 64px;
	background-repeat: no-repeat;
}
.profile_card .display_name {
    margin-top: 1em;
}
form#ta_user_info {
	margin-top: 1.6em;
    font-size: smaller;
}
form#basic-user-avatar-form {
	border: 1px solid silver;
    border-radius: 5px;
    position: relative;
    margin-top: 29px;
    padding: 25px 15px 10px;
    margin-left: 2em;
    font-size: smaller;
}
form#basic-user-avatar-form input#basic-local-avatar {
	background: none;
    border: none;
    padding: 0 0 .1em;
}
form#ta_user_info input[type="text"] {
	padding: 4px 7px;
	margin-bottom: .4em;
}
form#ta_user_info input[type="text"][readonly] {
    cursor: not-allowed;
}
form#ta_user_info input[type="submit"],
form#basic-user-avatar-form input[type="submit"] {
    margin: .5em 0 1em;
	cursor: pointer;
}
.team_content_block,
.profile_card {
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0px 0px 15px #00000010;
    padding: 5px 25px 25px;
    outline: 1px solid #cfcece;
	margin-bottom: 1.5em;
}
.team_content_block:hover,
.profile_card:hover {
	outline: 1px solid #2271b1b8;
    box-shadow: 0px 0px 15px #00000040;
}
.team_content_block h3 {
    margin-block-start: .25em;
}
.team_content_block .contract_info {
    margin-top: .5em;
	margin-bottom: 1em;
}
#ta_user_info .description,
#basic-user-avatar-form .description,
.team_content_block .description {
	font-size: smaller;
	opacity: .5;
	margin-bottom: 0.5em;
}

.team_posts table tr.submitted td {
	color: rgba(0,0,0,0.25);
}
.team_content_block .listing_table tr.warning {
	background-color: #ffd6d6;
}
.team_content_block .listing_table tr.warning:hover {
	background-color: #ffe6e6;
}

.team_content_block .contract_table,
.team_content_block .listing_table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5em;
}
.team_content_block .contract_table th,
.team_content_block .listing_table th {
	text-align: left;
	font-weight: unset;
	font-size: .9em;
}
.team_content_block .contract_table input[type="submit"] {
	width: 100%;
}
.team_content_block .contract_table td:has(input[type="date"]),
.team_content_block .contract_table td:has(select) {
    padding-right: 5px;
}

.team_content_block .contract_table td,
.team_content_block .listing_table td {
	padding: 4px 0;
}

.team_content_block .listing_table td:last-child,
.team_content_block .listing_table th:last-child {
	width: 30%;
}
.team_content_block .listing_table tr:not(:has(th)) td {
	border-top: 1px solid #e0e0e0;
	border-bottom: 1px solid #e0e0e0;
}
.team_content_block .listing_table tr:not(:has(th)):hover {
	background-color: #f9f9f9;
}
.team_content_block .contract_table input,
.team_content_block .contract_table select {
	padding: 6px 8px;
    border-color: #cbcbcb;
	background-color: white;
}
.team_content_block .contract_table input:hover,
.team_content_block .contract_table input:focus,
.team_content_block .contract_table select:hover,
.team_content_block .contract_table select:focus {
	cursor: pointer;
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 5px rgba(34, 113, 177, 0.25);
}

.team_content_block .coaching_schedule {
	background: #f1f5fb;
    padding: 1px 25px;
    margin: 25px -25px -25px -25px;
}
.team_content_block .coaching_schedule h3 {
	margin-top: 1em !important;
}

/* Charts styles
---------------------------------------------------------------------------- */

.ta_chart.square {
    max-width: 90%;
    max-height: 90%;
    width: 90%;
    height: 90%;
	aspect-ratio: 1 / 1;
}
.ta_chart_title {
	width: 100%;
	text-align: center;
}
.ta_chart_footer {
	display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    opacity: .25;
}
.ta_chart_footer img {
	width: 16px;
	height: 16px;
    margin: .25em;
	opacity: .5;
}
.ta_chart_footer em {
	font-size: unset;
	line-height: unset;	
}