/* 
Theme Name: Terry Fox School Run
Theme URI: https://www.scratchmarketing.com
Description: Terry Fox School Run 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
*/

.gform_wrapper.gravity-theme .gfield_label {
	font-weight: 600 !important;
}
.elementor-element-edit-mode {
	-webkit-text-fill-color: inherit !important;
}
.elementor-heading-title {
	display: initial;
}
a {
	color: #ED2754;
}
.menu-button-open  .elementor-button-text::after {
    transform: rotate(180deg);
}
.button-orange .elementor-button:hover,
.button-orange .elementor-button:focus {
    color: #ffffff !important;
    background-color: #F2613C !important;
}
.gradient-vertical, .gradient-vertical h2, .gradient-vertical h3 {
	background: #002E52;
	background: -webkit-linear-gradient(0deg, #002E52 0%, #ED2754 100%);
	background: -moz-linear-gradient(0deg, #002E52 0%, #ED2754 100%);
	background: linear-gradient(0deg, #002E52 0%, #ED2754 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.gradient-horizontal, .gradient-horizontal h2, .gradient-horizontal h3 {
	background: #002E52;
	background: -webkit-linear-gradient(90deg, #002E52 0%, #ED2754 100%);
	background: -moz-linear-gradient(90deg, #002E52 0%, #ED2754 100%);
	background: linear-gradient(90deg, #002E52 0%, #ED2754 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.gradient-horizontal-180, .gradient-horizontal-180 h2, .gradient-horizontal-180 h3 {
	background: #002E52;
	background: -webkit-linear-gradient(270deg, #002E52 0%, #ED2754 100%);
	background: -moz-linear-gradient(270deg, #002E52 0%, #ED2754 100%);
	background: linear-gradient(270deg, #002E52 0%, #ED2754 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.gradient-tl-br, .gradient-tl-br h2, .gradient-tl-br h3 {
	background: #002E52;
	background: -webkit-linear-gradient(135deg, #002E52 0%, #ED2754 100%);
	background: -moz-linear-gradient(135deg, #002E52 0%, #ED2754 100%);
	background: linear-gradient(135deg, #002E52 0%, #ED2754 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.gradient-orange-tl-br, .gradient-orange-tl-br h2, .gradient-orange-tl-br h3 {
	background: #FEA328;
	background: -webkit-linear-gradient(135deg, #FEA328 0%, #F2613C 100%);
	background: -moz-linear-gradient(135deg, #FEA328 0%, #F2613C 100%);
	background: linear-gradient(135deg, #FEA328 0%, #F2613C 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}


.home-slider .elementor-swiper .elementor-swiper-button-prev .eicon-chevron-left,
.home-slider .elementor-swiper .elementor-swiper-button-next .eicon-chevron-right {
    display: none;
}
.home-slider .elementor-swiper .elementor-swiper-button-prev {
    bottom: 0;
    top: calc(100% + 64px) !important;
    left: calc(-70px - 100px);
    background-color: var(--e-global-color-secondary);
    background-image: url("https://terryfoxschoolrun.org/wp-content/uploads/2021/06/arrow-left.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
    width: 100px;
    height: 100px;
    padding: 30px;
	border-style: solid;
	border-width: 1px 1px 1px 0;
	border-color: #ffffff;
}
.home-slider .elementor-swiper .elementor-swiper-button-next {
    bottom: 0;
    top: calc(100% + 64px) !important;
    left: calc(-70px - 100px + 100px);
    background-color: var(--e-global-color-secondary);
    background-image: url("https://terryfoxschoolrun.org/wp-content/uploads/2021/06/arrow-right.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
    width: 100px;
    height: 100px;
    padding: 30px;
	border-style: solid;
	border-width: 1px 1px 1px 0;
	border-color: #ffffff;
}
.home-slider .swiper-pagination-bullets {
	display: none;
}

.elementor-custom-embed-play i {
    display: none;
}
.elementor-custom-embed-play {
	width: 140px;
	height: 140px;
	background-image: url("https://terryfoxschoolrun.org/wp-content/uploads/2021/07/btn-play.png");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	border: none;
	margin: 0;
	transform: translate3d(-50%,-50%,0.4px);
	transition: all 0.3s ease-in-out;
}
.elementor-custom-embed-play:hover {
  background-image: url("https://terryfoxschoolrun.org/wp-content/uploads/2021/07/btn-play-hover.png");
}


@media (min-width: 769px) and (max-width: 1024px) {
	.home-slider .elementor-swiper-button-prev {
		top: calc(100% + 48px);
		left: -25px;
	}
	.home-slider .elementor-swiper-button-next {
		bottom: 0;
		top: calc(100% + 48px);
		left: 75px;
	}	
}
@media (max-width: 768px) {
	  .elementor-custom-embed-play {
		width: 90px;
		height: 90px;
	  }
	.home-slider .elementor-swiper-button-prev {
		top: calc(100% + 48px);
		left: -25px;
		background-size: 32px;
		width: 64px;
		height: 64px;
		padding: 15px;
	}
	.home-slider .elementor-swiper-button-next {
		top: calc(100% + 48px);
		left: calc(-25px + 64px);
		background-size: 32px;
		width: 64px;
		height: 64px;
		padding: 15px;
	}	
}
@media (max-width: 480px) {
	.home-slider .elementor-swiper-button-prev,
	.home-slider .elementor-swiper-button-next {
		display: none;
	}	
	.home-slider .swiper-pagination-bullets {
		display: block;
	}
	.elementor-element.elementor-widget.elementor-widget-button {
		width: 100%;
		max-width: 100%;
		margin-bottom: 20px;
	}
	/*
	.elementor-element.elementor-widget.elementor-widget-button .elementor-widget-container {
		margin: 0 0 20px;
	}
	*/
	.elementor-button-link.elementor-button {
		display: block;
	}
  .elementor-custom-embed-play {
    width: 50px;
    height: 50px;
  }
}

.playbook-carousel .swiper-button-prev i,
.playbook-carousel .swiper-button-next i {
    display: none;
}
.playbook-carousel .swiper-button-prev {
    bottom: 0;
    top: 20px;
    left: 0px;
    background-color: var(--e-global-color-secondary);
    background-image: url("https://terryfoxschoolrun.org/wp-content/uploads/2021/06/arrow-left.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
    width: 80px;
    height: 80px;
    padding: 30px;
	border-style: solid;
	border-width: 1px 1px 1px 1px;
	border-color: #ffffff;
}
.playbook-carousel .swiper-button-next {
    bottom: 0;
    top: 20px;
    left: 81px;
    background-color: var(--e-global-color-secondary);
    background-image: url("https://terryfoxschoolrun.org/wp-content/uploads/2021/06/arrow-right.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
    width: 80px;
    height: 80px;
    padding: 30px;
	border-style: solid;
	border-width: 1px 1px 1px 1px;
	border-color: #ffffff;
}
/*
.making-difference .elementor-cta__title {
	padding: 0.5em;
	background: #002E52;
	background: -webkit-linear-gradient(to top, RGBA(0, 46, 82, 0.82) 0%, RGBA(237, 39, 84, 0.82) 100%);
	background: -moz-linear-gradient(to top, RGBA(0, 46, 82, 0.82) 0%, RGBA(237, 39, 84, 0.82) 100%);
	background: linear-gradient(to top, RGBA(0, 46, 82, 0.82) 0%, RGBA(237, 39, 84, 0.82) 100%);
}
*/
.making-difference .elementor-element .elementor-flip-box .elementor-flip-box__front {
	background-color: transparent;	
}
.making-difference .elementor-element .elementor-flip-box .elementor-flip-box__back {
	background-color: transparent;
	background-image: -webkit-linear-gradient(to top, RGBA(0, 46, 82, 0.82) 0%, RGBA(237, 39, 84, 0.82) 100%);
	background-image: -moz-linear-gradient(to top, RGBA(0, 46, 82, 0.82) 0%, RGBA(237, 39, 84, 0.82) 100%);
	background-image: linear-gradient(to top, RGBA(0, 46, 82, 0.82) 0%, RGBA(237, 39, 84, 0.82) 100%);
}

.tf-video-slider .ms-slide-info  {
	color: #ffffff;
  left: 50px;
}
.tf-video-slider .ms-slide-info h4 {
	font-size: 40px;
	font-family: var(--e-global-typography-primary-font-family);
	font-weight: var(--e-global-typography-primary-font-weight);
}
.tf-video-slider .ms-slide .ms-slide-vpbtn {
	width: 140px;
	height: 140px;
	background-color: rgba(237,39,84,0.5);
	background-image: url("https://terryfoxschoolrun.org/wp-content/uploads/2021/07/btn-play.png");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	border: none;
	margin: 0;
	transform: translateY(-50%);
	transition: all 0.3s ease-in-out;
}
.tf-video-slider .ms-slide .ms-slide-vpbtn:hover {
  background-color: rgba(237,39,84,1);
  background-image: url("https://terryfoxschoolrun.org/wp-content/uploads/2021/07/btn-play-hover.png");
}

.gform_wrapper .tf-form .gfield input:not([type="submit"]),
.gform_wrapper .tf-form .gfield select,
.gform_wrapper .tf-form .gfield textarea {
	font-size: 16px;
	padding: 16px;
	border-color: #b9b9b9;
	border-radius: 0;
}
.gform_wrapper .tf-form .gfield input:not([type="submit"]):focus,
.gform_wrapper .tf-form .gfield select:focus,
.gform_wrapper .tf-form .gfield textarea:focus {
	border-color: #666666;
}
.gform_wrapper .tf-form .gfield select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: #ffffff;
	background-image: url("https://terryfoxschoolrun.org/wp-content/uploads/2021/07/icon-dropdown.svg");
	background-repeat: no-repeat;
	background-position: 95% 50%;
	background-size: auto;
	cursor: pointer;
}
.gform_wrapper .tf-form .gfield select::-ms-expand {
    display: none;
}
.gform_wrapper .gform_title {
	font-size: 30px;
}
.gform_wrapper .tf-form h4,
.gform_wrapper .tf-form h5 {
	font-weight: bold;
	margin-top: 1em;
}
.gform_wrapper .tf-form h4 {
	border-top: 1px solid #b9b9b9;
	padding: 0.5em 0;
}




#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;
}
#svg-map,
#svg-map .elementor-widget-container,
#svg-map .elementor-shortcode {
	position: relative;
	height: 100%;
}
.atwm-shortcode-map {
	position: relative;
	height: 100%;
}
.atwm-map-area-container {
	overflow: hidden;
	cursor: grab;
	height: 100%;
}
.atwm-map-area,
.atwm-map-image {
	height: 100%;
}
.atwm-map-image svg {
	width: 100%;
	height: 100%;
}
.atwm-map-area-buttons {
	position: absolute;
	bottom: 0px;
	right: 0px;
	user-select: none;

}
.atwm-map-area-buttons > div {
	border: solid 1px #B32C2D;
	width: 32px;
	height: 32px;
	display: inline-block;
	position: relative;
	cursor: pointer;
	
}
.atwm-map-area-buttons > div:after {
	content: "";
	position: absolute;
	width: 86%;
	height: 2px;
	background-color: #B32C2D;
	top: 50%;
	left: 50%;
	transform: translate( -50%, -50% );
}
.atwm-map-button-zoomin:before {
	content: "";
	position: absolute;
	width: 2px;
	height: 86%;
	background-color: #B32C2D;
	top: 50%;
	left: 50%;
	transform: translate( -50%, -50% );
}
.atwm-enlarge-map {
	position: absolute;
	bottom: 0;
	left: 0;
}
#atwm-enlarge-map-link {
	color: #B32C2D;
	text-decoration: underline;
	cursor: pointer;
}
@media (max-width: 767px) {
	.atwm-shortcode-map {
		min-height: 400px;
	}
}

.atwm-map-popup-bg {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background-color: rgba( 0,0,0,0.4 );
	z-index: 200;
	justify-content: center;
	align-items: center;
	display: none;
}
.atwm-map-popup-bg.open {
	display: flex;
}
.atwm-map-popup {
	background-color: #fff;
	width: 96vw;
	height: 70vh;
	overflow: hidden;
	position: relative;
}
.atwm-map-popup-title {
    position: absolute;
	padding: 12px 20px;
    z-index: 10000;
	top: 0;
	left: 0;
	right: 0;
	background-color: rgba(255,255,255,0.5);
	font-size: 1.3em;
}
.atwm-map-popup svg {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX( -50% );
	width: 100%;
	height: auto;
}
.atwm-map-popup-close {
    position: absolute;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 10001;
	top: 10px;
	right: 10px;
}
.atwm-map-popup-close:after, .atwm-map-popup-close:before {
    display: block;
    content: "";
    width: 24px;
    height: 2px;
    background: #B32C2D;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    -webkit-transition: all .25s ease;
    transition: all .25s ease;
}
.atwm-map-popup-close:before {
    transform: translate( -50%, -50%) rotate(-45deg)!important;
}
.atwm-map-popup-close:after {
    transform: translate( -50%, -50%) rotate(45deg)!important;
}
