/*
 * All of the rules at the top of this stylesheet, down to .atwm-event-search-shortcode, are moved to style.css,
 * removed from here because overriding the changes made in the main style.css
 * 
 */



.atwm-event-search-shortcode {
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}
.atwm-event-search-shortcode form {
	display: flex;
	justify-content: space-between;
}
.atwm-events-search-button {
	height: 3rem;
}
.atwm-select-event {
	position: relative;
	width: 32%;
	z-index: 2;
}
.atwm-select-event select {
	display: none;
}


.atwm-select-widget-value {
	border: solid 1px #000;
    padding: 10px 30px;
    cursor: pointer;
	border-left: none;
	height: 3rem;
	position: relative;
	background-color: #fff;
}
.atwm-select-widget-value:after {
	content: "";
	background-image: url( images/dropdown.svg );
	background-position: center;
	background-repeat: no-repeat;
	background-size: 18px auto;
	position: absolute;
	top: 1px;
	right: 0;
	width: 60px;
	height: calc( 100% - 2px );
	pointer-events: none;
	transition: all 0.2s;
}
.atwm-select-event.open .atwm-select-widget-value:after {
	transform: rotate( 180deg );
}
.atwm-event-search-shortcode form div.atwm-select-event:first-child .atwm-select-widget-value {
	border: solid 1px #000;
}
.atwm-select-widget-value .desc {
	text-transform: uppercase;
	font-weight: 700;
	margin-right: 10px;
}

.event_type_sel_container select  {
	width: 100%;
	border: solid 1px #000;
    padding: 10px 15px;
    cursor: pointer;
	height: 3rem;
	position: relative;
	background-color: #fff;
	border-radius: 0;
	font-family: "rigid-square",sans-serif;
	font-weight: 700;
}
.event_type_sel_container:before {
	background-color: #fff;
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 60px;
	height: 100%;
	pointer-events: none;
	border: solid 1px #000;
	border-left: none;
	z-index: 1;
}
.event_type_sel_container:after {
	content: "";
	background-image: url( images/dropdown.svg );
	background-position: center;
	background-repeat: no-repeat;
	background-size: 18px auto;
	position: absolute;
	top: 1px;
	bottom: 1px;
	right: 1px;
	width: 60px;
	height: calc( 100% - 2px );
	pointer-events: none;
	transition: all 0.2s;
	z-index: 2;
}
.event_type_sel_container.open:after {
	transform: rotate( 180deg );
}

.atwm-select-widget-dropdown {
	position: absolute;
	background-color: #fff;
	max-height: 10em;
	border: solid 1px #000;
	padding: 10px;
	border-top: none;
	display: none;
	width: calc( 100% + 1px );
	left: -1px;
	z-index: 2;
}
.atwm-select-event.open .atwm-select-widget-dropdown {
	display: block;
}
.atwm-event-search-shortcode form div.atwm-select-event:first-child .atwm-select-widget-dropdown {
	width: 100%;
	left: 0;
}

@media (max-width: 767px) {
	.atwm-event-search-shortcode {
		width: 100%;
	}
	.atwm-event-search-shortcode form {
		flex-wrap: wrap;
	}
	.atwm-select-event {
		width: 100%;
		z-index: 0;
	}
	.atwm-select-event.open {
		z-index: 2;
	}
	.atwm-events-search-button {
		width: 100%;
	}
	.atwm-select-widget-value {
		border: solid 1px #000;
		border-top: none;
	}
	.atwm-event-search-shortcode form div.atwm-select-event:first-child .atwm-select-widget-value {
		border: solid 1px #000;
	}
	.atwm-select-widget-dropdown {
		left: 0;
		width: 100%;
	}
}

/*
#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;
}

#svg-map .atwm-map-image svg {
	min-height: 800px;
}
#svg-map-story .atwm-map-image svg {
	min-height: 600px;
}
@media (max-width: 767px) {
	#svg-map .atwm-map-image svg,
	#svg-map-story .atwm-map-image svg {
		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: -10%;
	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;
}
@media (max-width: 767px) {
	.atwm-map-popup svg {
		position: absolute;
		bottom: auto;
		top: 50%;
		left: 50%;
		transform: translate( -50%, -50% );
		width: 100%;
		height: auto;
	}
}

.atwm-terry-timeline-shortcode {
	font-family: "rigid-square",sans-serif;
}
.atwm-terry-timeline-shortcode .atwm-terry-timeline-slides {
	margin-top: 150px;
}
.atwm-terry-timeline-shortcode .atwm-terry-timeline-slides .atwm-timeline-slide {
	background-color: #fff;
	padding: 15px;
	display: flex;
}
.atwm-terry-timeline-shortcode .atwm-timeline-slide-image,
.atwm-terry-timeline-shortcode .atwm-timeline-slide-content {
	width: 50%;
}
.atwm-timeline-slide-image {
    position: relative;
    display: block;
    overflow: hidden;
}
.atwm-timeline-slide-image::before {
    content: "";
    display: block;
    position: relative;
    padding-bottom: 60%;
    height: 0;
}
.atwm-timeline-slide-image img {
    display: block;
    position: absolute;
    max-width: none;
    height: 100%;
    width: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
    background-color: #fff;
}
.atwm-timeline-slide-content {
	padding: 20px 40px 0 60px;
	text-align: left;
	position: relative;
}
.atwm-timeline-slide-title {
	margin-bottom: 50px;
}
.atwm-timeline-slide-title img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	float: left;
	margin-right: 20px;
}
.atwm-timeline-slide-title .suptitle {
	font-size: 1.1rem;
	font-weight: 700;
	margin: 0;
}
.atwm-timeline-slide-content h2 {
	padding: 0;
	margin: 0;
}
.atwm-timeline-slide-data {
	margin-bottom: 30px;
	display: flex;
	justify-content: space-between;
}
.atwm-timeline-slide-data > * {
	width: 33.333%;
	padding-top: 7px;
}
.atwm-timeline-slide-data .distance {
	background-image: url( images/runner.svg );
	background-position: left center;
	background-size: auto 100%;
	background-repeat: no-repeat;
	padding-left: 25px;
}
.atwm-timeline-slide-data .route {
	background-image: url( images/road.svg );
	background-position: left center;
	background-size: 30px auto;
	background-repeat: no-repeat;
	padding-left: 35px;
}
.atwm-timeline-slide-data .location {
	background-image: url( images/country.svg );
	background-position: left center;
	background-size: 30px auto;
	background-repeat: no-repeat;
	padding-left: 35px;
}
.atwm-terry-timeline-shortcode .atwm-timeline-slide-content .hashtag {
	position: absolute;
	bottom: 0;
	color: #B32C2D;
}
.atwm-timeline-slide-content-body {
	max-height: 200px;
	overflow-y: auto;
	position: relative;
	scrollbar-color: #B32C2D #f1f1f1;
	scrollbar-width: thin;
}
@media (max-width: 989px) {
	.atwm-terry-timeline-shortcode .atwm-terry-timeline-slides .atwm-timeline-slide {
		flex-wrap: wrap;
	}
	.atwm-terry-timeline-shortcode .atwm-timeline-slide-image, 
	.atwm-terry-timeline-shortcode .atwm-timeline-slide-content {
		width: 100%;
	}
	.atwm-terry-timeline-shortcode .atwm-timeline-slide-content {
		padding: 20px 0 0 0;
	}
	.atwm-timeline-slide-image::before {
		padding-bottom: 55%;
	}
	.atwm-timeline-slide-title {
		margin-bottom: 10px;
	}
	.atwm-timeline-slide-title img {
    	width: 60px;
		height: 60px;
	}
	.atwm-timeline-slide-content-body {
		max-height: 125px;
		margin-bottom: 10px;
	}
	.atwm-terry-timeline-shortcode .atwm-timeline-slide-content .hashtag {
		position: relative;
		bottom: unset;
	}
	atwm-timeline-slide-data {
		font-size: 0.8em;
	}
	.atwm-timeline-slide-data .distance {
		padding-left: 20px;
	}
	.atwm-timeline-slide-data .route {
		background-size: 20px auto;
		padding-left: 25px;
	}
	.atwm-timeline-slide-data .location {
		background-size: 20px auto;
		padding-left: 25px;
	}
}
@media (min-width: 990px) {
	.atwm-timeline-slide-content-body {
		max-height: 100px;
		padding-right: 20px;
	}
}
@media (min-width: 1200px) {
	.atwm-timeline-slide-content-body {
		max-height: 120px;
		padding-right: 20px;
	}
}
@media (min-width: 1400px) {
	.atwm-timeline-slide-content-body {
		max-height: 150px;
		padding-right: 20px;
	}
}
@media (min-width: 1650px) {
	.atwm-timeline-slide-content-body {
		max-height: 200px;
		padding-right: 20px;
	}
}
/* width */
.atwm-timeline-slide-content-body::-webkit-scrollbar {
  width: 10px;
}
/* Track */
.atwm-timeline-slide-content-body::-webkit-scrollbar-track {
  background: #f1f1f1;
}
/* Handle */
.atwm-timeline-slide-content-body::-webkit-scrollbar-thumb {
  background: #B32C2D;
}
.atwm-timeline-slide-content-body .cbs-audio-link a {
	background-image: url( images/audio-icon.svg);
	background-repeat: no-repeat;
	background-position: left center;
	padding: 30px;
	
}

.atwm-terry-timeline-shortcode .atwm-terry-timeline-thumbs {
	position: relative;
	margin-top: 50px;
	margin-bottom: 100px;
}
.atwm-terry-timeline-thumbs .swiper-wrapper {
	height: 300px;
}
.atwm-terry-timeline-thumbs .swiper-slide {
	height: 150px;
	position: relative;
	overflow: unset;
}
.swiper-button-next::after, .swiper-button-prev::after {
	display: none;
}
.atwm-terry-timeline-thumbs .swiper-button-prev {
	width: 50px;
	height: 50px;
	background-color: #fff;
	left: 0;
	background-image: url( images/arrow-left-red.svg );
	background-size: 15px auto;
	background-position: center;
	background-repeat: no-repeat;
}
.atwm-terry-timeline-thumbs .swiper-button-next {
	width: 50px;
	height: 50px;
	background-color: #fff;
	right: 0;
	background-image: url( images/arrow-right-red.svg );
	background-size: 15px auto;
	background-position: center;
	background-repeat: no-repeat;
}
.atwm-terry-timeline-thumbs .swiper-button-prev.swiper-button-disabled, 
.atwm-terry-timeline-thumbs .swiper-button-next.swiper-button-disabled {
	opacity: 1;
}
.atwm-terry-timeline-thumbs .swiper-slide:nth-child(odd) {
	border-bottom: solid 1px #fff;
}
.atwm-terry-timeline-thumbs .swiper-slide:nth-child(odd):after  {
	content: "";
    display: block;
    position: absolute;
	width: 1px;
	height: 40px;
	background-color: #fff;
	left: 50%;
	bottom: 0;
	transform: translateX( -50% );
}

.atwm-terry-timeline-thumbs .swiper-slide:nth-child(even) {
	margin-top: 149px;
	border-top: solid 1px #fff;
}
.atwm-terry-timeline-thumbs .swiper-slide:nth-child(even):after  {
	content: "";
    display: block;
    position: absolute;
	width: 1px;
	height: 40px;
	background-color: #fff;
	left: 50%;
	top: 0;
	transform: translateX( -50% );
}
.atwm-terry-timeline-thumbs .swiper-slide:nth-child(even) .atwm-timeline-thumb {
	padding-top: 50px;
}

.atwm-terry-timeline-thumbs .swiper-slide.swiper-slide-thumb-active:after {
	background-color: #B32C2D;
}
.atwm-terry-timeline-thumbs .swiper-slide.swiper-slide-thumb-active:nth-child(odd):before  {
	content: "";
    display: block;
    position: absolute;
	width: 10px;
	height: 20px;
	background-color: #B32C2D;
	left: 50%;
	bottom: -10px;
	transform: translateX( -50% );
}
.atwm-terry-timeline-thumbs .swiper-slide.swiper-slide-thumb-active:nth-child(even):before  {
	content: "";
    display: block;
    position: absolute;
	width: 10px;
	height: 20px;
	background-color: #B32C2D;
	left: 50%;
	top: -10px;
	transform: translateX( -50% );
}

.atwm-timeline-thumb-image {
	width: 70px;
	height: 70px;
	margin-left: auto;
	margin-right: auto;
	cursor: pointer;
}
.atwm-timeline-thumb-image img {
	max-width: 100%;
	max-height: 100%;
	border-radius: 50%;
	border: solid 1px #fff;
}

.atwm-timeline-thumb-content h3 {
	font-size: 12px;
	color: #fff;
	font-weight: 400;
	text-align: center;
}
.atwm-terry-timeline-thumbs .swiper-slide.swiper-slide-thumb-active .atwm-timeline-thumb-image img {
	border-color: #B32C2D;
}


.atwm-terry-journal-container,
.atwm-terry-journal-container .elementor-widget-container,
.atwm-terry-journal-container .elementor-widget-container .elementor-shortcode {
	height: 100%;
}
.atwm-terry-journal-shortcode {
	font-family: "rigid-square",sans-serif;
	height: 100%;
	background-color: #e8e8e8;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.atwm-terry-journal-shortcode .atwm-terry-timeline-slides {
	background-color: #f2f2f2;
}
.atwm-terry-journal-shortcode .atwm-timeline-slide-image::before {
    padding-bottom: 39%;
}
.atwm-terry-journal-shortcode .atwm-timeline-slide-content .hashtag {
	color: #B32C2D;
	margin-top: 20px;
	margin-bottom: 30px;
}
.atwm-terry-journal-shortcode .atwm-terry-timeline-thumbs {
	height: 100%;
    display: flex;
    align-items: center;
	padding: 0 20px;
	padding-bottom: 50px;
}
.atwm-terry-journal-shortcode .atwm-terry-timeline-thumbs .swiper-container {
	width: 100%;
}
.atwm-terry-journal-shortcode .atwm-terry-timeline-thumbs .swiper-slide {
    border-color: #000;
}
.atwm-terry-journal-shortcode .atwm-terry-timeline-thumbs .swiper-slide:after {
    height: 40px;
    background-color: #000;
}
.atwm-terry-journal-shortcode .atwm-terry-timeline-thumbs .swiper-slide.swiper-slide-thumb-active:before {
	z-index: 2;
}
.atwm-terry-journal-shortcode .atwm-timeline-thumb-content h3 {
	color: #000;
}

@media (max-width: 767px) {

	.atwm-terry-journal-shortcode .atwm-timeline-slide-image::before {
		padding-bottom: 55%;
	}
	.atwm-timeline-slide-data {
		flex-wrap: wrap;
	}
	.atwm-timeline-slide-data > * {
		width: 50%;
	}
	.atwm-terry-journal-shortcode .atwm-timeline-slide-content-body {
		max-height: unset;
		overflow-y: visible;
	}
	.atwm-timeline-slide-content {
		padding: 30px 15px 0 15px;
	}
	.atwm-terry-journal-shortcode .atwm-terry-timeline-thumbs {
		padding-top: 20px;
	}
	.atwm-terry-timeline-thumbs .swiper-button-prev {
		width: 30px;
		height: 30px;
		background-size: 10px auto;
	}
	.atwm-terry-timeline-thumbs .swiper-button-next {
		width: 30px;
		height: 30px;
		background-size: 10px auto;
	}

}

#atwm_front_events_slider .elementor-widget-container {

}
.atwm-slider {
	position: relative;
	font-family: "rigid-square",sans-serif;
}
.atwm-slide {
	position: relative;
}
.atwm-slide .atwm-slide-image {
	position: relative;
	overflow: hidden;
}
.atwm-slide .atwm-slide-image::before {
    content: "";
    display: block;
    position: relative;
    padding-bottom: 90%;
    height: 0;
	z-index: 1;
}
.atwm-slide a:hover .atwm-slide-image::before {
	background-color: rgba(0,0,0,0.25);
}
.atwm-slide .atwm-slide-image::after {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0,46,82);
    background: linear-gradient(180deg, rgba(0,46,82,0) 0%, rgba(27,28,29,1) 100%);
	z-index: 2;
}
.atwm-slide .atwm-slide-image img {
    display: block;
    position: absolute;
    width: 100%;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
	z-index: 0;
}
.atwm-slide-content {
	position: absolute;
	bottom: 0;
	width: 100%;
	padding-left: 40px;
	padding-bottom: 50px;
	z-index: 3;
}
.atwm-slide-content, 
.atwm-slide-content h3,
.atwm-slide-content a {
	color: #fff;
	text-align: left;
}

.atwm-slider .swiper-button-prev,
.atwm-slider .swiper-button-next {
	font-size: 70px;
	color: #fff;
	background-color: #B9B9B96E;
    border-radius: 5px 5px 5px 5px;
    padding: 10px 10px 10px 10px;
}
.atwm-slider .swiper-button-prev i:before,
.atwm-slider .swiper-button-next i:before {
	display: none;
}
.atwm-slider .swiper-button-prev,
.atwm-slider .swiper-button-next {
	background-color: #fff;
	border-radius: 0;
	width: auto;
	height: auto;
    font-size: 16px;
    padding: 0;
}
.atwm-slider .swiper-button-prev i {
    background: url(https://tff.scratchdev.ca/wp-content/uploads/2021/06/arrow-prev.svg) no-repeat center;
    width: 67px;
    height: 67px;
}
.atwm-slider .swiper-button-next i {
    background: url(https://tff.scratchdev.ca/wp-content/uploads/2021/06/arrow-next.svg) no-repeat center;
    width: 67px;
    height: 67px;
}
@media (max-width: 767px) {
	.atwm-slide-content {
		padding-left: 20px;
		padding-bottom: 20px;
	}
	.atwm-slide-content h3,
	.atwm-slide-content p {
		margin-bottom: 0;
		font-size: 1rem;
	}
	.atwm-slide-content p {
		font-size: 0.8em;
	}
}