/**
* 2007-2024 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2024 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

.table-row {
	line-height: 40px;
}

/* For all pages */
#intersvetainecustomerinfo-assigned-kids tr:not(:last-child), 
#intersvetainecustomerinfo-kid-data tr {
	border-bottom: 1px solid #f6f6f6;
}

#intersvetainecustomerinfo-assigned-kids tr.active,
#intersvetainecustomerinfo-kid-data .kid-visiting-row.active {
	background: #ebfce1;
}

#intersvetainecustomerinfo-assigned-kids tr.inactive,
#intersvetainecustomerinfo-kid-data .kid-visiting-row.inactive {
	background: #f4f4f4;
}

#intersvetainecustomerinfo-kid-data .expired {
	color: red;
	font-weight: bold;
}

/* KIDS DATA page */
#intersvetainecustomerinfo-assigned-kids tr.active .kid-name-button {
	background: #356c4c;
	color: white;
}
#intersvetainecustomerinfo-assigned-kids tr.inactive .kid-name-button {
	background: #ddd;
}
/* end of KIDS DATA page */


/* Make table data on mobiles as columns */
@media only screen and (max-width: 800px) {
	
	/* Force table to not be like tables anymore */
	[id^="module-intersvetainecustomerinfo-"] table, 
	[id^="module-intersvetainecustomerinfo-"] thead, 
	[id^="module-intersvetainecustomerinfo-"] tbody, 
	[id^="module-intersvetainecustomerinfo-"] th, 
	[id^="module-intersvetainecustomerinfo-"] td, 
	[id^="module-intersvetainecustomerinfo-"] tr { 
		display: block; 
	}
 
	/* Hide table headers (but not display: none;, for accessibility) */
	[id^="module-intersvetainecustomerinfo-"] thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
 
	[id^="module-intersvetainecustomerinfo-"] tr { border: 1px solid #ccc; }
 
	[id^="module-intersvetainecustomerinfo-"] tr:not(#attendance-data-tr) td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
		white-space: normal;
		text-align:left;
	}
	
	[id^="module-intersvetainecustomerinfo-"] th { 
		display: none;
	}
 
	[id^="module-intersvetainecustomerinfo-"] td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
		text-align:left;
		font-weight: bold;
	}
 
	/*
	Label the data
	*/
	[id^="module-intersvetainecustomerinfo-"] td:before { content: attr(data-title); }
}

/* For sign page */
#module-intersvetainecustomerinfo-kidAgreementSign #intersvetainecustomerinfo-kid-data-form {
	display: flex;
	flex-direction: column;
}

#module-intersvetainecustomerinfo-kidAgreementSign #intersvetainecustomerinfo-kid-data {
	margin: auto;
}

#module-intersvetainecustomerinfo-kidAgreementSign .eat-plan-select-container {
	display: flex;
	width: max-content;
	margin: 10px 0;
}

#module-intersvetainecustomerinfo-kidAgreementSign .agreement_agree_checkbox_wrapper {
	display: flex;
	align-items: center;
}

#module-intersvetainecustomerinfo-kidAgreementSign .agreement_agree_checkbox_wrapper input {
	margin: 15px;
	scale: 1.8;
}

#module-intersvetainecustomerinfo-kidAgreementSign .eat-plan-select-container label,
#module-intersvetainecustomerinfo-kidAgreementSign #signature-wrapper label, 
#module-intersvetainecustomerinfo-kidAgreementSign .agreement_agree_checkbox_wrapper label {
	font-size: 0.8rem;
	color: #7a7a7a;
	margin: 0;
	text-align: initial;
}

#module-intersvetainecustomerinfo-kidAgreementSign .submit-button-wrapper,
#module-intersvetainecustomerinfo-kidAgreementSign .submit-button-row {
	display: flex;
	justify-content: center;
}

.shadow-box-border {
	padding: 15px;
	margin: 15px 0;
	box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
}

.shadow-box-border.error-box {
	box-shadow: rgba(179, 29, 27, 0.5) 0px 4px 8px -2px, rgba(179, 29, 27, 0.2) 0px 0px 0px 3px;
}

tr.shadow-box-border > td {
  padding-bottom: 1em;
}

body#identity.page-customer-account .customer-information-wrapper {
	float: none;
	margin: auto;
}

body#my-account .page-footer .account-link {
	display: none;
}
