#th-logo-slider {
  fill: #963;
}

@media (min-width:1049px) {
#homegrid-top>div>div {
    margin-top:-100px;
}
#homegrid-bottom>div>div {
    margin-bottom:-100px;
}
}

.wp-block-embed-youtube {
	overflow: hidden;
	position: relative;
	max-width: 100%;
	height: auto;
	padding-bottom: 56.25%;
}

.wp-block-embed-youtube iframe,
.wp-block-embed-youtube object,
.wp-block-embed-youtube embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

figure.wp-block-image {
    margin: 0;
    padding: 20px 0 40px;
}

body .elementor p a {
	text-decoration:underline;
}
	
/* Animated The Horton Main Logo */
.th-logo-wrap {
	margin:0 auto;
}

#th-logo-main {
	padding-bottom: 3.6%;
}

#th-logo-main, #th-logo-slider {
	
}

#th-logo-the-horton {
	width:100%
}


#th-logo-bottom {
	width:100%;
	/*padding-top:3.9141%;*/
	}

#th-logo-slider {
	width:100%;
	display:inline-block;
	position: relative;
	height:70px;
}

#th-logo-slider > div {
width: 100%;
position: absolute;
top:0;
}

[class*=__icon].icon_17px {
    font-size: 16px!important;
}

#th-logo-slider:after {
	width:100%;
	display:inline-block;
	content:'';
}

#th-logo-arts, #th-logo-epsom, #th-logo-cafe, #th-logo-heritage {
	display: block;
	margin: 0 auto;
}

#th-logo-epsom, #th-logo-arts, #th-logo-heritage {
	padding-top: 1.1%;
}

#th-logo-arts {
	width:17.69%;
}

#th-logo-cafe {
	width:17.99%;
}

#th-logo-heritage {
	width:34.01%;
}

#th-logo-epsom {
	width:23.39%;
}
/* End of Animated The Horton Logo */


/* Change fade in out animations */ 
@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translate3d(0, -7px, 0)
	}
	to {
		opacity: 1;
		transform: none;
	}
}
@keyframes fadeInLeft {
	from {
		opacity: 0;
		transform: translate3d(-7px, 0, 0)
	}
	to {
		opacity: 1;
		transform: none
	}
}
@keyframes fadeInRight {
	from {
		opacity: 0;
		transform: translate3d(7px, 0, 0)
	}
	to {
		opacity: 1;
		transform: none;
	}
}
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translate3d(0, 7px, 0)
	}
	to {
		opacity: 1;
		transform: none;
	}
}

section.square-ratio {

   position: relative;
   width: 100%;
   padding-top: 100%; /* 4:3 Aspect Ratio */
}
section.square-ratio>div.elementor-container {
       position:  absolute;
   top: 0;
   left: 0;
   bottom: 0;
   right: 0;
}
