/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://ncs.alistairwebster.com/hello-elementor-child
 Description:  Hello Elementor Child Theme
 Author:       Alistair Webster
 Author URI:   http://example.com
 Template:     hello-elementor
 Version:      1.0.0
*/

/* Add custom styles below this line */


/* Newsletter PDF Table Styles */

.newsletter-pdf-table {
    width: 80%;
    margin: 0 auto;
}

.newsletter-pdf-table table {
    width: 100%;
    border-collapse: collapse;
}

.newsletter-pdf-table th, .newsletter-pdf-table td {
    padding: 10px;
    text-align: left;
    border: none;
}

.newsletter-pdf-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.newsletter-pdf-table tbody tr:nth-child(odd) {
    background-color: #F3F4F5;
}

.newsletter-pdf-table tbody tr:hover {
    background-color: #e9ecef;
}

.newsletter-pdf-table a {
    color: inherit;
    font-family: inherit;
    text-decoration: none;
}

.newsletter-pdf-table a:hover {
    text-decoration: underline;
}

.newsletter-pdf-table .pdfs-container {
    width: 100%;
}

.newsletter-pdf-table .pdf-section {
    margin-bottom: 20px;
    border-top: 1px solid #ddd;
}

.newsletter-pdf-table .toggle-button {
    width: 100%;
    text-align: left;
    padding: 10px;
    color: inherit;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none; /* No background color */
}

.newsletter-pdf-table .toggle-button:hover {
    background-color: transparent; /* Ensure no background color change on hover */
}

.newsletter-pdf-table .toggle-content {
    display: block; /* Ensure the content is always in the document flow */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.newsletter-pdf-table .arrow {
    font-size: 1.2rem;
}

.newsletter-pdf-table #pdf-search {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* customisations of home page events plugin */

.ectbe-wrapper {
	--e-ectbe-date-area-background: var(--e-global-color-accent) !important;
	font-family: var(--e-global-typography-3acafe1-font-family), Sans-serif;
}

.ectbe-wrapper .ectbe-evt-read-more {
	font-family: "EB Garamond", Sans-serif;
	color: white !important;
	fill: #FFFFFF !important;
	background-color: var(--e-global-color-accent) !important;
	font-size: 1rem !important;
	font-weight: 400 !important;
	padding: 12px 16px !important;
	border-style: solid !important;
	border-width: 2px 2px 2px 2px !important;
	border-radius: 60px 60px 60px 60px !important;
	transition: transform 0.3s ease;
}
.ectbe-wrapper .ectbe-evt-read-more:hover {
	transform: scale(1.1);
}

.wc-block-components-totals-shipping__change-address__link {
	color: var(--e-global-color-accent)
}
.wc-block-components-totals-shipping__change-address__link:hover {
	color: #28404FCF;
}

.wc-block-checkout__actions_row button {
	color: white;
	background-color:  var(--e-global-color-accent);
	padding: .5rem 1rem;
	font-size: 1rem;
	border-radius: 50px;
	transition: all .3s;
}

.wc-block-checkout__actions_row button:hover {
	transform: scale(1.1);
	transition: all .3s;
	color: white;
	background-color:  var(--e-global-color-accent);
}



