/* 
Theme Name: Terry Fox Foundation
Theme URI: https://www.scratchmarketing.com
Description: Terry Fox Foundation is a child theme of Hello Elementor, created by Scratch team
Author: Scratch Team
Author URI: https://www.scratchmarketing.com
Template: hello-elementor
Version: 1.0.0
Text Domain: terry-fox
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

a {
	color: #B32C2D;
}
input[type="date"], 
input[type="email"], 
input[type="number"], 
input[type="password"], 
input[type="search"], input[type="tel"], 
input[type="text"], 
input[type="url"], 
select, textarea {
	border-color: #DDDFE1;
}
.home-box-bg .elementor-cta__bg-overlay {
	background: rgb(0,46,82);
	background: linear-gradient(180deg, rgba(0,46,82,0) 0%, rgba(27,28,29,1) 100%);
}
.home-box-links {
    position: absolute;
    bottom: 35px;
    left: 35px;
    max-width: 95%;
}
@media (max-width: 768px) {
    .home-box-links {
    position: absolute;
        bottom: 20px;
        left: 20px;
    }
}
.category-centre-des-media .elementor-46905 .elementor-element.elementor-element-1bbf7e1 {
    display: none;
}
.category-media-centre .elementor-29574 .elementor-element.elementor-element-1bbf7e1 {
    display: none;
}
.category-centre-des-media .elementor-46905 .elementor-element.elementor-element-dca4d45 {
    width: 100%;
}
.category-media-centre .elementor-29574 .elementor-element.elementor-element-dca4d45 {
    width: 100%;
}

.elementor-nav-menu li.menu-item-separator {
	margin-top: 1em;
}
.elementor-nav-menu--dropdown.elementor-nav-menu__container .elementor-sub-item {
    font-size: 16px;
}
#internal-page-hero > .elementor-container > .elementor-column > .elementor-widget-wrap .elementor-inner-section:last-child {
	bottom: -1px;
}
#internal-page-hero > .elementor-container > .elementor-column > .elementor-widget-wrap {
	padding: 10% 0 15%;
}

#svg-map .svgcontainer {
	display: flex;
	flex-direction: column-reverse;
}
#svg-map .svgControl {
	display: flex;
	justify-content: space-evenly;
}
#svg-map input[type=button] {
	padding: 10px 20px;
}

.tf-cta-box .elementor-cta__description {
	min-height: 7em;
}
.tf-cta-box .elementor-cta__content {
	padding: 35px 50px;
}
.tf-cta-box .elementor-cta__button:hover {
	background-color: rgba(179,44,45,0.8) !important;
}

.btn-sliding a {
	background: linear-gradient(to right, #B32C2DC7 50%, transparent 0%);
	background-size: 200% 100%;
	background-position: right bottom;
	font-weight: bold !important;
}
.btn-sliding a:hover {
	background-position: left bottom;
}
.cat-recent-posts .elementor-post__title {
    text-indent: -1.75em;
	padding-left: 1.75em;
}
.cat-recent-posts .elementor-post__title a::before {
    content: "→";
    margin-right: 0.5em;
}
.cat-recent-posts .elementor-post__title a:hover {
    color: var( --e-global-color-accent );
}
.cat-list-posts .elementor-pagination .page-numbers.prev {
	float: left;
}
.cat-list-posts .elementor-pagination .page-numbers.next {
	float: right;
}

.events-box-static .elementor-image-box-img img {
	width: 100%;
}
.events-box-static .elementor-image-box-content {
	padding: 1em 2em 4em;
}
.events-box-static .elementor-inner-section {
	position: absolute;
	bottom: 2em;
	left: 2em;
}

.participant-login-box label {
	width: 100%;
	margin-bottom: 1em;
}
.participant-login-box label input {
	margin-top: 0.5em;
}
.participant-login-box .action-links {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 1em;
}

@media (max-width: 1280px) {
	#internal-page-hero .elementor-widget:not(:last-child) {
		margin-bottom: 0;
	}
	/*
	#internal-page-hero .elementor-container > .elementor-column > .elementor-widget-wrap.elementor-element-populated {
		padding: 20% 0;
	}
	*/
}

@media (min-width: 1025px) {
	#tff-main-nav .elementor-nav-menu {
		align-items: center;
		text-align: center;
	}
	#tff-main-nav .elementor-nav-menu li {
		display: flex;
		align-self: stretch;
	}
}
@media (max-width: 1279px) {
	/*#give-today-menu-wrapper .elementor-widget-wrap,
	#give-today-menu-wrapper .elementor-widget-container,
	#give-today-menu-wrapper .elementor-menu-toggle {
		background-color: #ffffff;
	}*/
	#give-today-menu-wrapper .elementor-menu-toggle .eicon-menu-bar {
		background-image: url("/wp-content/uploads/2021/05/heart.svg");
		width: 25px;
		height: 22px;
		background-position: center;
		background-repeat: no-repeat;
		background-size: cover;
	}
	#give-today-menu-wrapper .elementor-menu-toggle.elementor-active .eicon-menu-bar {
		background-image: url("/wp-content/uploads/2021/05/heart-filled.svg");
	}
	#give-today-menu-wrapper .elementor-menu-toggle .eicon-menu-bar::before {
		display: none;
	}
	#give-today-mobile-menu .elementor-item {
		text-align: right;
	}
}
@media (min-width: 1025px) and (max-width: 1279px) {
	#give-today-menu-wrapper .elementor-widget-wrap,
	#give-today-menu-wrapper .elementor-widget-container,
	#give-today-menu-wrapper .elementor-menu-toggle {
		background-color: var( --e-global-color-accent );
	}
}
@media (max-width: 1024px) {
	#find-run .elementor-widget-text-editor {
		padding: 0 15px;
	}
	.tff-section-cta {
		margin: 15px auto;
		padding: 300px 0 0 0 !important;
		/*
		background-position: top center !important;
		background-size: contain !important;
		*/
		background-repeat: no-repeat;
	}
	.tff-section-cta .elementor-column:first-child,
	.tff-section-cta.text-box-right .elementor-column:last-child {
		width: 100% !important;
	}
	.tff-section-cta .elementor-column:first-child .elementor-widget-wrap,
	.tff-section-cta.text-box-right .elementor-column:last-child .elementor-widget-wrap {
		padding: 50px !important;
	}
	.tff-section-cta.text-box-right .elementor-column:first-child  .elementor-widget-wrap {
		padding: 0 !important;
	}
	/*
	.tf-cta-box {
		margin: 20px 0;
	}
	*/
	.tf-cta-box .elementor-cta__description {
		min-height: unset;
	}
	.tff-quote-box > .elementor-widget-wrap {
		padding: 80px 20px 20px !important;
	}
	.tff-quote-box section:first-child {
		margin: 0;
	}
	.tff-quote-box-mark {
		width: 150px !important;
	}
}
@media (max-width: 480px) {
	.tff-section-cta {
		padding: 140px 0 0 0 !important;
	}
	.tff-section-cta .elementor-column:first-child .elementor-widget-wrap {
		padding: 20px 20px 40px !important;
	}
	.tf-cta-box .elementor-cta__content {
		padding: 30px;
	}
	.tff-quote-box .tff-quote-box-quote {
		font-size: 16px !important;
	}
	.tff-quote-box-mark {
		max-width: 80px !important;
		top: -20px !important;
		bottom: 0;
	}
	.tff-quote-box-title .elementor-column {
		width: 50%;
	}
	.tff-quote-box-title .elementor-column p {
		font-size: 18px !important;
	}
	.events-box-static .elementor-inner-section {
		position: relative;
	}
	.events-box-static .elementor-inner-section .elementor-column {
		margin: 10px auto;
	}
}