/*
Theme Name: RHSPCA
Description: A custom Child Theme created by <a href="http://www.estlanddesign.com">Estland Design</a> in Harrisonburg.
Version: 1.0
Author: Estland
Author URI: http://estlanddesign.com
Template: enfold
*/


/******************************
Table of Contents =TOC
/******************************

Color Guide
Font Imports
Header
Menu
Homepage
Footer
Special Pages
Forms
Global Styles
Mobile Styles

*/

/******************************
=Color Guide

******************************/

/******************************
=Font Imports
******************************/
@font-face {
    font-family:'Antonio Regular';
    src: url('/wp-content/themes/rhspca-enfold-child/fonts/Antonio-Regular.ttf') format('truetype'),
         url('/wp-content/themes/rhspca-enfold-child/fonts/Antonio-Regular.woff') format('woff'),
         url('/wp-content/themes/rhspca-enfold-child/fonts/Antonio-Regular.woff2') format('woff2'),
         url('/wp-content/themes/rhspca-enfold-child/fonts/Antonio-Regular.otf') format('opentype');
         /*url('/wp-content/themes/rhspca-enfold-child/fonts/antonio-regular-webfont.svg') format('svg');*/
}
@font-face {
    font-family:'Antonio Bold';
    src: url('/wp-content/themes/rhspca-enfold-child/fonts/Antonio-Bold.ttf') format('truetype'),
         url('/wp-content/themes/rhspca-enfold-child/fonts/Antonio-Bold.woff') format('woff'),
         url('/wp-content/themes/rhspca-enfold-child/fonts/Antonio-Bold.woff2') format('woff2'),
         url('/wp-content/themes/rhspca-enfold-child/fonts/Antonio-Bold.otf') format('opentype');
}
@font-face {
    font-family:'Antonio Light';
    src: url('/wp-content/themes/rhspca-enfold-child/fonts/Antonio-Light.ttf') format('truetype'),
         url('/wp-content/themes/rhspca-enfold-child/fonts/Antonio-Light.woff') format('woff'),
         url('/wp-content/themes/rhspca-enfold-child/fonts/Antonio-Light.woff2') format('woff2'),
         url('/wp-content/themes/rhspca-enfold-child/fonts/Antonio-Light.otf') format('opentype');
}
@font-face {
    font-family:'Antonio Thin';
    src: url('/wp-content/themes/rhspca-enfold-child/fonts/Antonio-Thin.ttf') format('truetype'),
         url('/wp-content/themes/rhspca-enfold-child/fonts/Antonio-Thin.woff') format('woff'),
         url('/wp-content/themes/rhspca-enfold-child/fonts/Antonio-Thin.woff2') format('woff2'),
         url('/wp-content/themes/rhspca-enfold-child/fonts/Antonio-Thin.otf') format('opentype');
}
@import url('https://fonts.googleapis.com/css2?family=Antonio:wght@100;200;300;400;500;600;700&display=swap');
/*font-family: 'Antonio', sans-serif;*/
/*font-family: new-order, sans-serif;
font-weight: 400;
font-style: normal;*/
/*
font-family: alkaline, sans-serif;
font-weight: 400;
font-style: normal;*/

#top h2 {
    font-family: 'Antonio Light';
    text-transform: uppercase;
    color: #0297DC;
    font-size: 48px;
    line-height: 54px;
    font-weight: 400;
    letter-spacing: 0;
}
#top.secondary-page .avia_textblock h3 {
    font-family: alkaline, sans-serif;
    font-size: 36px;
    line-height: 46px;
    font-weight: 400;
    text-transform: capitalize;
}
p, span, ul, li {
    font-family: new-order, sans-serif;
    font-style: normal;
    font-weight: 300;
}
p, .avia_textblock ul li {
    font-size: 18px;
    line-height: 22px;
}
#top .main_color p a,
#top .main_color .iconlist_content li a {
    color: #013a70;
    font-weight: 400;
}

/******************************
=Fix margins
******************************/

/* Debug */
* {
	/*box-shadow: inset 0 0 1rem 0 pink;*/
	/*background-clip: content-box;*/
}
*:last-child {
	/*box-shadow: inset 0 0 1rem 0 green;*/
}

/*.container_wrap {
	.container {
		
		margin: 0 auto;
		width: 85%;
		
		.content {
			
			padding-bottom: 50px;
			padding-top: 50px;
			
			.post-entry {
				.entry-content-wrapper {
					
					.flex_column {
						margin-bottom: 20px;
					}
					
				}
			}
			
		}
		
		
	}
}*/

@media(max-width: 767px) {
	
	/* Spacing between rows */
	:root {
		--margin-between-rows: 60px;
	}
	
	/* Set new default column margin */
	#top .content {
		padding-bottom: var(--margin-between-rows);
		padding-top: var(--margin-between-rows);
	}
	
	/* Undo default column margins */
	#top .flex_column:last-of-type {
		margin-bottom: 0 !important;
	}
	
	/* Undo style.css margin */
	#top #donate-section,
	#top #latest-news,
	#top#top #animal-slider-section,
	#top #metrics-section,
	#top #partners {
		margin-bottom: 0 !important;
		margin-top: 0 !important;
	}
	#top #footer-form,
	#top#top #animal-slider-section,
	#top #metrics-section,
	#top #partners {
		padding-bottom: 0 !important;
		padding-top: 0 !important;
	}
	#top#top #animal-slider-section .wpv-filter-form {
		bottom: 0;
		margin-top: var(--margin-between-rows);
		position: relative;
	}
	#top#top #animal-slider-section .avia_textblock {
		display: flex;
		flex-direction: column-reverse;
	}
	#top#top #animal-slider-section .wpv-filter-form ul.pagination:not(.pagination-dots) {
		padding-top: 0;
		padding-bottom: 0;
		margin-top: 0;
		margin-bottom: 0;
		height: 30px;
		bottom: 0;
		top: 0;
	}
	#top#top #animal-slider-section .wpv-filter-form ul.pagination-dots {
		bottom: 0;
		top: 0;
	}
	
	/* Undo layout.css margin */
	#top .slide-entry-wrap,
	#top form {
		margin-bottom: 0;
	}
	#top#top .gform_footer {
		padding-bottom: 0;
	}
	/* Undo layout.css margins that need important */
	#top#top#top .slide-entry:not(.first) {
		margin-bottom: 0 !important;
	}
	
}

/******************************
=Header
******************************/
#top #header span.logo {padding: 15px 0;}

/******************************
=Menu
******************************/
#top #header_main > .container {
    width: 100%;
    padding-left: 50px;
}
#top #header_main .main_menu ul li span {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}
#top #header_main .main_menu li.menu-donate a {
    border-bottom: 15px solid #F79251;
    padding: 0 30px;
}
#top #header_main .main_menu li.menu-donate a span.avia-menu-text {
    font-size: 35px;
    font-weight: 800;
    /*font-family: 'Antonio', sans-serif;*/
    font-family: 'Antonio Bold';
}
#top #header_main .av-main-nav > li > a {padding: 0 16px;}
.header_color .main_menu ul:first-child > li.current-menu-item > a, .header_color .main_menu ul:first-child > li.current_page_item > a, .header_color .main_menu ul:first-child > li.active-parent-item > a {
    color: #013a70 !important;
}
.header_color .main_menu ul:first-child > li.current-menu-item > a span.avia-menu-text, .header_color .main_menu ul:first-child > li.current_page_item > a span.avia-menu-text, .header_color .main_menu ul:first-child > li.active-parent-item > a span.avia-menu-text {
    font-weight: bold !important;
}
/******************************
=Homepage
******************************/
/*top slider*/
#top #layer_slider_1 .slider-bg-swoop,
#top #layer_slider_2 .slider-bg-swoop,
#top #layer_slider_3 .slider-bg-swoop,
#top #layer_slider_4 .slider-bg-swoop {
    position: relative;
    width: 100%;
    height: 100%;
}
#top #layer_slider_1 .slider-bg-swoop::after,
#top #layer_slider_2 .slider-bg-swoop::after,
#top #layer_slider_3 .slider-bg-swoop::after,
#top #layer_slider_4 .slider-bg-swoop::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#top #layer_slider_1 .slider-bg-swoop::after,
#top #layer_slider_2 .slider-bg-swoop::after {
    background-image: url('/wp-content/themes/rhspca-enfold-child/images/white-bg-swoop.svg'), 
                    url('/wp-content/themes/rhspca-enfold-child/images/orange-bg-swoop.svg');
    background-repeat:no-repeat;
    background-position: 20% -45%, 25% -35% !important;
    background-size: 130% auto, 135% auto;
}
#top #layer_slider_3 .slider-bg-swoop,
#top.secondary-page #layer_slider_2 .slider-bg-swoop,
#top #layer_slider_4 .slider-bg-swoop {
    height: 95%;
    bottom: -5px;
    position: absolute;
}
#top #layer_slider_3 .slider-bg-swoop::after,
#top.secondary-page #layer_slider_2 .slider-bg-swoop::after,
#top #layer_slider_4 .slider-bg-swoop::after {
    background-image: url('/wp-content/themes/rhspca-enfold-child/images/white-bg-swoop.svg'), 
                    url('/wp-content/themes/rhspca-enfold-child/images/orange-bg-swoop.svg');
    background-repeat:no-repeat;
    background-position: 60% -85%, 50% 75% !important;
    background-size: 115% auto, 130% auto;
    transform: rotateY(180deg);
}
#top #layer_slider_3 .rhspca-button a,
#top.secondary-page #layer_slider_2 .rhspca-button a,
#top #layer_slider_4 .rhspca-button a {background: #0A406B;}
#top #layer_slider_3 .rhspca-button a:hover,
#top.secondary-page #layer_slider_2 .rhspca-button a:hover,
#top #layer_slider_4 .rhspca-button a:hover {background: #F79251;}
/*home icon section*/
#top #how-you-can-help h2 {
    font-family: 'Antonio Bold';
}
#top #how-you-can-help .home-icon {
    background: #D9F1FD;
    height: 250px;
    min-height: 250px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    transform: scale(1,1);
    transition: all 300ms ease-in-out;
}
#top #how-you-can-help .home-icon .spca-iconbox {
    border: 0;
}
#top #how-you-can-help .home-icon .spca-iconbox h3.iconbox_content_title {
    font-family: 'Antonio Light';
    font-size: 32px;
    line-height: 34px;
    color: #0A406B;
    letter-spacing: 1px;
    transition: all 300ms linear;
}
#top #how-you-can-help .home-icon .iconbox-adopt .iconbox_icon:before {
    content: url('/wp-content/themes/rhspca-enfold-child/images/adopt-icon.svg');
}
#top #how-you-can-help .home-icon .iconbox-foster .iconbox_icon:before {
    content: url('/wp-content/themes/rhspca-enfold-child/images/foster-icon.svg');
}
#top #how-you-can-help .home-icon .iconbox-volunteer .iconbox_icon:before {
    content: url('/wp-content/themes/rhspca-enfold-child/images/volunteer-icon.svg');
}
#top #how-you-can-help .home-icon .iconbox-donate .iconbox_icon:before {
    content: url('/wp-content/themes/rhspca-enfold-child/images/donate-icon.svg');
}
#top #how-you-can-help .home-icon .spca-iconbox .iconbox_icon {
    transform: scale(1,1);
    transition: all 300ms ease-in-out;
}
#top #how-you-can-help .home-icon:hover .spca-iconbox .iconbox_icon {
    transform: scale(1.1,1.1);
}
#top #how-you-can-help .home-icon:hover .spca-iconbox h3.iconbox_content_title {
    letter-spacing: 2px;
}
#top #how-you-can-help .home-icon:hover {transform: scale(1.05,1.05);}
/*view all link*/
#top.home #view-all {margin-top: 5%;}
#top #view-all {min-height: 0;}
#top #view-all > .container > .content {padding: 0;}
#top #view-all p a {
    font-family: new-order, sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 22px;
    line-height: 26px;
    transition: all 300ms ease-in-out;
    text-decoration: none !important;
    color: #0092D6;
}
#top #view-all p a:hover {color: #F79251;}
/*animal slider section*/
#top #animal-slider-section {
    /*background: #FCEBCF;*/
    background: #fff6e3;
    margin: 0% 0 5%;
    padding: 0 0 50px;
}
#top #animal-slider-section .wpv-filter-form {
    position: absolute;
    bottom: -50px;
    width: 100%;
    margin: auto;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 0;
}
#top #animal-slider-section .wpv-filter-form ul.pagination:not(.pagination-dots) {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: visible;
    list-style: none;
}
#top #animal-slider-section .wpv-filter-form ul.pagination:not(.pagination-dots) li.page-item a {
    width: auto;
    height: auto;
    background: transparent;
    border: 0;
    box-shadow: none;
}
#top #animal-slider-section .wpv-filter-form ul.pagination:not(.pagination-dots) li.page-item a > span {
    opacity: 1;
    transform: scale(1);
} 
#top #animal-slider-section .wpv-filter-form ul.pagination:not(.pagination-dots) li.page-item a > span > span {
    font-size: 90px;
    color: #0A406B;
    transition: all 300ms ease-in-out;
}
#top #animal-slider-section .wpv-filter-form ul.pagination:not(.pagination-dots) li.page-item a:hover > span > span {color: #0097DC;}
#top #animal-slider-section .wpv-filter-form ul.pagination:not(.pagination-dots) li.prev {
    width: max-content;
    position: absolute;
    left: -35px;
    margin: 0;
	   z-index: 1;
}
#top #animal-slider-section .wpv-filter-form ul.pagination:not(.pagination-dots) li.next {
    width: max-content;
    position: absolute;
    right: -35px;
    margin: 0;
	   z-index: 1;
}
#top #animal-slider-section .wpv-filter-form ul.pagination-dots {
    padding: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    bottom: -25px;
}
#top #animal-slider-section .wpv-filter-form ul.pagination-dots li {
    margin: 0;
}
#top #animal-slider-section .wpv-filter-form ul.pagination-dots li a {
    width: 20px;
    height: 20px;
    line-height: 20px;
    border: 0;
    box-shadow: none;
    margin: 0 6px;
    opacity: 1 !important;
    background: #fff;
}
#top #animal-slider-section .wpv-filter-form ul.pagination-dots li.wpv_page_current a,
#top #animal-slider-section .wpv-filter-form ul.pagination-dots li a:hover {
    background: #0A406B;
    opacity: 1;
}
#top #animal-slider-section .js-wpv-view-layout {
    overflow: visible !important;
    padding: 0 50px;
    width: 100% !important;
}
#top #animal-slider-section .animal-details-photo-container,
#top .animal .animal-details-photo-container {
    width: 39%;
    display: inline-block;
    vertical-align: middle;
}
#top #animal-slider-section .animal-details-content-container,
#top .animal .animal-details-content-container {
    width: 60%;
    display: inline-block;
    vertical-align: middle;
}
#top #animal-slider-section .animal-details-content-container .animal-details-hello,
#top .animal .animal-details-content-container .animal-details-hello {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#top #animal-slider-section .animal-details-content-container .animal-details-stats,
#top .animal .animal-details-content-container .animal-details-stats {margin-bottom: 50px;}
#top #animal-slider-section .animal-details-content-container .animal-details-stats ul,
#top .animal .animal-details-content-container .animal-details-stats ul {
    list-style: none;
    margin: 0;
}
#top #animal-slider-section .animal-details-content-container .animal-details-stats ul li,
#top .animal .animal-details-content-container .animal-details-stats ul li {
    margin: 10px 0;
    padding-right: 15px;
    width: 30%;
    display: inline-block;
    vertical-align: top;
    color: #44515C;
    /*font-family: 'Antonio', sans-serif;*/
    font-family: 'Antonio Regular';
    font-size: 28px;
    line-height: 32px;
    text-transform: uppercase;
    font-weight: 500;
}
#top #animal-slider-section .animal-details-content-container .animal-details-stats ul li span,
#top .animal .animal-details-content-container .animal-details-stats ul li span {
    display: block;
    font-family: new-order, sans-serif;
    font-weight: 300;
    font-size: 22px;
    line-height: 26px;
    text-transform: capitalize;
}
#top #animal-slider-section .animal-details-hello h3,
#top .animal .animal-details-hello h3 {
    font-family: alkaline, sans-serif;
    font-size: 40px;
    line-height: 46px;
    font-weight: 400;
    color: #0A406B;
}
#top #animal-slider-section .animal-details-hello h3 span,
#top .animal .animal-details-hello h3 span {
    display: block;
    font-family: 'Antonio Bold';
    font-weight: 600;
    letter-spacing: 0;
    text-transform: uppercase;
    font-size: 64px;
    line-height: 74px;
    color: #0092D6;
}
#top #animal-slider-section .animal-details-hello h4,
#top .animal .animal-details-hello h4 {
    color: #0092D6;
    font-family: alkaline, sans-serif;
    font-size: 54px;
    line-height: 60px;
    font-weight: 300;
    position: relative;
    top: -15px;
}
#top #animal-slider-section .animal-details-content-container .animal-details-content .animal-details-content-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
}
#top #animal-slider-section .animal-details-content-container .animal-details-content .animal-details-content-heading h3 {
    font-family: 'Antonio Regular';
    font-size: 28px;
    line-height: 32px;
    text-transform: uppercase;
    font-weight: 500;
    z-index: 9;
}
#top #animal-slider-section .animal-details-content-container .animal-details-content .animal-details-content-heading h3 a {
    transition: all 300ms ease-in-out;
    text-decoration: none !important;
}
#top #animal-slider-section .animal-details-content-container .animal-details-content .animal-details-content-heading h3 a:hover {
    /*letter-spacing: 1px;*/
    color: #F79251;
}
#top #animal-slider-section .animal-details-content-container .animal-details-content .animal-details-content-heading .animal-social {
    display: flex;
    align-items: flex-start;
}
#top #animal-slider-section .animal-details-content-container .animal-details-content .animal-details-content-heading .animal-social span {
    font-family: alkaline, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 22px;
    margin-right: 15px;
    color: #0A406B;
}
#top #animal-slider-section .animal-details-content-container .animal-details-content .animal-details-content-heading .animal-social ul.social_bookmarks {
    float: none;
    display: inline-block;
    position: relative;
    top: -5px;
}
#top #animal-slider-section .animal-details-content-container .animal-details-content .animal-details-content-heading .animal-social ul.social_bookmarks li {
    margin: 0 0 0 10px;
    float: none;
    display: inline-block;
    font-size: 30px;
    background: transparent;
    color: #0A406B;
    border: 0;
}
#top #animal-slider-section .animal-details-content-container .animal-details-content .animal-details-content-heading .animal-social ul.social_bookmarks li a {
    color: #0A406B;
    background: transparent;
    font-size: 30px;
    transform: scale(1);
    transition: all 300ms ease-in-out;
    text-decoration: none !important;
}
#top #animal-slider-section .animal-details-content-container .animal-details-content .animal-details-content-heading .animal-social ul.social_bookmarks li a:hover,
#top #animal-slider-section .animal-details-content-container .animal-details-content .animal-details-content-heading .animal-social ul.social_bookmarks li:hover a {
    color: #0097DC !important;
    transform: scale(1.1,1.1);
}
#top #animal-slider-section .animal-details-photo-container .animal-details-photo-cover-photo,
#top .animal .animal-details-photo-container .animal-details-photo-cover-photo {position: relative;}
#top #animal-slider-section .animal-details-photo-container .animal-details-photo-cover-photo img,
#top .animal .animal-details-photo-container .animal-details-photo-cover-photo img {
    width: auto;
    min-height: 400px;
    max-height: 400px;
    border: 15px solid #fff;
    box-shadow: 0 0 3px 0 rgb(0 0 0 / 20%);
    position: absolute;
    top: calc(50% - 200px);
    left: 0;
}
#top #animal-slider-section .animal-details-photo-container .animal-details-photo-cover-photo img:nth-child(1),
#top.single-animal .animal-details-photo-container .animal-details-photo-cover-photo img:nth-child(1) {
    transform: rotate(5deg) translate(5px,15px);
}
#top #animal-slider-section .animal-details-photo-container .animal-details-photo-cover-photo img:nth-child(2),
#top.single-animal .animal-details-photo-container .animal-details-photo-cover-photo img:nth-child(2) {
    transform: rotate(-5deg);
}
#top #animal-slider-section .animal-details-photo-container .animal-details-photo-cover-photo .animal-details-photo-cover-photo-location-badge,
#top .animal .animal-details-photo-container .animal-details-photo-cover-photo .animal-details-photo-cover-photo-location-badge {
    background: #0097DC;
    width: max-content;
    padding: 12px 40px;
    min-width: 200px;
    font-size: 26px;
    line-height: 28px;
    position: absolute;
    z-index: 4;
    color: #fff;
    text-transform: uppercase;
    border-radius: 10px;
    top: calc(50% + 115px);
    left: -30px;
    text-align: center;
    font-family: 'Antonio Regular';
    font-weight: 400;
    letter-spacing: 1px;
}	
#top#top .animal-details-photo-cover-photo-location-badge[data-location*="pet" i] {
	background: #00a88e;
}
.animal-details-photo-cover-photo-location-badge.in-foster {	
	background: #F79251 !important;
}
/*metrics section*/
#top #metrics-section {margin: 5% 0;}
#top #metrics-section.stats-page {margin: 0;}
#top #metrics-section h4 {
    font-family: 'Antonio Bold';
    font-size: 24px;
    line-height: 28px;
    text-transform: uppercase;
}
#top #metrics-section .avia-animated-number {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background: url('/wp-content/themes/rhspca-enfold-child/images/metric-circle.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;*/
    margin: auto;
    margin-bottom: 25px;
    /*border: 10px solid rgba(0,151,220,0.5);
    border-radius: 50%;*/
	border-color: #7fcbed; /* hardcoded rgba(0,151,220,0.5) since borders overlap when animated */
}
/* Fake loading animation around numbers */
#metrics-section .avia-animated-number-title {
	border-color: inherit;
	position: static;
}
#metrics-section .avia-animated-number-title span {
	position: static;
	z-index: 2;
}
#metrics-section .avia-animated-number-title span::before {
	background: white; /* cover up left portion of border while waiting to animate */
	bottom: 0;
	content: "";
	left: 0;
	position: absolute;
	right: 50%;
	top: 0;
	z-index: -1;
}

#metrics-section .avia-animated-number-title::before,
#metrics-section .avia-animated-number-title::after {
	border: 10px solid;
	border-color: inherit;
	border-radius: 100px 0px 0px 100px;
	border-right: 0;
	bottom: 0;
	box-sizing: border-box;
	content: "";
	left: 0;
	position: absolute;
	top: 0;
	transform-origin: right;
	width: 50%;
	z-index: -2;
}

#metrics-section .avia_start_animation .avia-animated-number-title::before {
	animation: rotateA 1s 0s linear forwards;
}
#metrics-section .avia_start_animation .avia-animated-number-title::after {
	animation: rotateB 1s 1s linear forwards;
}

@keyframes rotateA {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(180deg);
	}
}

@keyframes rotateB {
	from {
		transform: rotate(180deg);
		z-index: 2;
	}
	to {
		transform: rotate(360deg);
		z-index: 2;
	}
}


#top #metrics-section .avia-animated-number span.avia-single-number {
    font-family: 'Antonio Thin';
    font-size: 36px;
    line-height: 40px;
    letter-spacing: 0;
    font-weight: 200;
}
/*donate section*/
#top #donate-section {
    background: url('/wp-content/themes/rhspca-enfold-child/images/bernese-dog.png'),
                linear-gradient(to bottom, #0A406B, #0A3F6A 65%,#012E53);
    background-repeat: no-repeat;
    background-size: auto 85%, cover;
    background-position: 10% bottom, center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    margin-top: 5%;
    margin-bottom: 0;
}
#top #donate-section .avia_textblock p {
    font-family: 'Antonio Regular';
    color: #fff;
    text-transform: uppercase;
    font-size: 36px;
    line-height: 40px;
    margin-top: 0;
}
#top #donate-section .avia_textblock h3 {
    font-family: alkaline, sans-serif;
    font-weight: 400;
    color: #0297DC;
    font-size: 38px;
    line-height: 40px;
}
/*fullwidth button*/
#top .rhspca-full-button a {
    background: #D9F1FD;
    border: 0;
    border-radius: 0;
    padding: 10px !important;
    font-size: 36px;
    line-height: 40px;
    color: #0A406B !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    transition: all 200ms ease-in-out !important;
}
#top .rhspca-full-button.orange-full-button a {
    /*background: #F79251;*/
    background: #013a70;
    color: #fff !important;
}
#top .rhspca-full-button a span {
    font-family: 'Antonio Regular';
    color: #0A406B !important;
    font-weight: 400;
    text-transform: uppercase;
}
#top .rhspca-full-button.orange-full-button a span {color: #fff !important;}
#top .rhspca-full-button a span.avia_button_background {display: none;}
#top .rhspca-full-button a:hover {
    font-size: 42px;
    /*line-height: 44px;*/
}
/*latest news*/
#top #latest-news {margin: 5% 0;}
#top #latest-news.blog-page {margin: 0;}
#top #latest-news .avia_textblock h2 {font-family: 'Antonio Bold';}
#top #latest-news .avia-content-slider .slide-entry a span.image-overlay {display: none !important;}
#top #latest-news .avia-content-slider .slide-entry a {border-radius: 0;}
#top #latest-news .avia-content-slider .slide-entry a img {
    transform: scale(1);
    transition: all 300ms ease-in-out;
    border-radius: 0;
}
#top #latest-news .avia-content-slider .slide-entry a:hover img {transform: scale(1.05, 1.05);}
#top #latest-news .avia-content-slider .slide-entry .slide-content h3.slide-entry-title {
    font-family: 'Antonio Bold';
    text-transform: uppercase;
    font-size: 30px;
    line-height: 40px;
    color: #44515C;
}
#top #latest-news .avia-content-slider .slide-entry .slide-content .slide-meta {display: none;}
#top #latest-news .avia-content-slider .slide-entry .slide-content .slide-entry-excerpt {
    font-family: new-order, sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 22px;
    margin-top: 10px;
}
#top #latest-news .avia-content-slider .slide-entry .slide-content .slide-entry-excerpt .read-more-link a {
    color: #0097DC;
    font-weight: bold;
    font-size: 20px;
    text-transform: capitalize;
    margin-top: 10px;
    text-decoration: none !important;
    transition: all 300ms ease-in-out;
}
#top #latest-news .avia-content-slider .slide-entry .slide-content .slide-entry-excerpt .read-more-link a:hover {color: #faa24a;}
/*footer form*/
#top #footer-form {
    background: #D9F1FD;
    padding: 50px 0;
}
#top #footer-form .avia_textblock h2 {
    font-family: 'Antonio Bold';
    text-transform: capitalize;
    color: #0A406B;
    margin-bottom: 5%;
}
#top #footer-form .gform_wrapper {
    width: 60%;
    margin: auto;
}
/*partners*/
#top #partners {margin: 5% 0;}
#top #partners .avia-content-slider .slide-entry-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}
#top #partners .avia-content-slider .slide-entry-wrap .slide-entry {
    float: none;
    margin: 0;
    padding: 0 15px;
}
#top #partners a {
	transition: transform 0.2s linear;
	transform: scale(0.9);
}
#top #partners a:hover,
#top #partners a:focus-within {
	transform: scale(1);
}
#top #partners .image-overlay {
	display: none !important;
}
/******************************
=Footer
******************************/
#footer {
    border: 0;
    padding: var(--margin-between-rows) 0;
}
#footer .footer-social .social_bookmarks {padding-left: 20px;}
#footer .footer-social .social_bookmarks li {
    display: inline-block;
    float: none;
    border: 0;
    background: transparent !important;
    color: #fff;
    margin: 0 5px;
}
#footer .footer-social .social_bookmarks li a {
    font-size: 30px;
    line-height: 30px;
    color: #fff;
    background: transparent !important;
    text-decoration: none !important;
    transform: scale(1);
    transition: all 300ms ease-in-out;
}
#footer .footer-social .social_bookmarks li.social_bookmarks_facebook a {font-size: 26px;}
#footer .footer-social .social_bookmarks li:hover a,
#footer .footer-social .social_bookmarks li a:hover {
    color: #0097DC !important;
    transform: scale(1.1,1.1);
}
#footer .av-iconlist-small li {margin-bottom: 20px;}
#footer .av-iconlist-small li:last-child .iconlist-char:before {
    content: '';
    position: absolute;
    top: 4px;
    left: 0;
    width: 95%;
    height: 100%;
    background: url('/wp-content/themes/rhspca-enfold-child/images/car-icon.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
#footer .avia-icon-list .iconlist-char {
    font-size: 20px;
    line-height: 22px;
}
#footer .avia-icon-list .iconlist_icon {margin-right: 10px;}
#footer .av_iconlist_title,
#footer p,
#footer li a {
    font-family: new-order, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 22px;
}
#footer .av_iconlist_title a,
#footer li a {
    text-decoration: none !important;
    transition: all 300ms ease-in-out;
}
#footer #custom_html-3 {margin-bottom: 0;}
#footer #custom_html-2 {margin-top: 0;}
#footer h3.widgettitle {
    font-family: 'Antonio Bold';
    font-size: 26px;
    line-height: 30px;
    margin-top: 45px;
    margin-bottom: 35px;
}
#footer .menu li a {padding: 0;}
/*socket*/
#socket {
    border: 0;
    text-align: center;
}
#socket span.copyright {
    float: none;
    width: 100%;
    text-align: center;
    font-weight: 400;
}
#socket span.copyright a {
    color: #0a3f6b;
    text-decoration: none !important;
    transition: all 300ms ease-in-out;
}
#socket span.copyright a:hover {color: #0297dc;}
/******************************
=Special Pages
******************************/

/* fix issue with George's badge pulling in description */
[href="https://rhspca.org/animal/george-17/"] + .animal-header-badge-container div {
	font-size: 0 !important;
	color: transparent !important;
}
[href="https://rhspca.org/animal/george-17/"] + .animal-header-badge-container div::before {
	color: white;
	content: "in foster";
	font-size: 20px;
}

/*adopt page*/
#top.page-id-27 .featured-hero .hero-bg {background-position: center 20%;}
#top.page-id-27 .rhspca-step-iconlist ul.avia-icon-list {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
#top.page-id-27 .rhspca-step-iconlist ul.avia-icon-list li {
    padding: 15px;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    width: 100%;
}
/*barn cats page*/
#top.page-id-29 .featured-hero .hero-bg {background-position: center 25%;}
/*apply page*/
#top.page-id-31 .featured-hero .hero-bg {background-position: center 30%;}
/*vet page*/
#top.page-id-61 .featured-hero .hero-bg {background-position: center 40%;}
/*about page*/
#top.page-id-65 .featured-hero .hero-bg {background-position: center 30%;}
/*board of directors page*/
#top.page-id-69 .featured-hero .hero-bg {background-position: center 70%;}
/*contact page*/
#top.page-id-73 #donate-section {margin-top: 0;}
#top .contact-page-info p + h3 {margin-top: 30px;}

/*donate page*/
#top .paypal-button a,
#top .fake-givebutter {
	width: 100%;
	max-width: 730px;
	margin: auto;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #D9F1FD;
	border-radius: 8px;
	padding: 25px;
}
#top .paypal-button a .paypal-text,
#top .fake-givebutter {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}
#top .paypal-button a {
	text-decoration: none !important;
}
#top .paypal-button h3,
#top .fake-givebutter::before {
	font-family: alkaline, sans-serif;
	font-size: 36px;
	line-height: 46px;
	font-weight: 400;
	text-transform: capitalize;
	color: #0A406B;
	margin: 0;
	margin-right: 15px;
	transition: all 300ms ease-in-out;
}
@media( max-width:767px ) {
	#top .paypal-button h3,
	#top .fake-givebutter::before {
		margin-right: 0;
	}
}
#top .fake-givebutter::before {
	content: "Donate Now";
}
#top .paypal-button img {
	width: 210px;
	transition: all 300ms ease-in-out;
}
#top .paypal-button .paypal-text,
#top .fake-givebutter::before {
	transform: scale(1,1);
	transition: all 300ms ease-in-out;
}
#top .paypal-button a:hover .paypal-text,
#top .fake-givebutter:hover::before {
	transform: scale(1.1,1.1);
}
/* Givebutter widget uses shadow DOM which we can't affect, so just make it really big and invisible over fake button */
#top .fake-givebutter {
	background: #fcebcf;
	overflow: hidden;
	position: static;
}
#top .fake-givebutter givebutter-widget {
	left: 0;
	opacity: 0;
	position: absolute;
	top: 0;
	transform: scale(10);
	transform-origin: top center;
}

/* Donate page grid */
#top .donate-grid .entry-content-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}
#top .donate-grid .entry-content-wrapper::before,
#top .donate-grid .entry-content-wrapper::after {
	display: none;
}
#top .donate-grid .flex_column {
	background: #FCEBCF;
	border-radius: 8px;
	flex-grow: 1;
	margin: 0;
	padding: 1.5rem;
	width: 40%;
}
#top .donate-grid .avia-image-container {
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 1.5rem;
}
#top .donate-grid img {
	height: 300px;
	object-fit: cover;
}
#top .donate-grid .avia_textblock {
	display: flex;
	gap: 1.5rem;
	justify-content: space-between;
}
@media( max-width:767px ) {
	#top .donate-grid .avia_textblock {
		flex-direction: column;
	}
}
#top .donate-grid p {
	margin: 0;
}
@media( min-width:768px ) {
	#top .donate-grid p:last-child {
		text-align: right;
		max-width: 100%;
		width: 300px;
	}
}
#top#top .donate-grid strong {
	color: #0097DC;
}

/* Newsletter signup page */
#top.page-id-53601 .title_container,
#top.page-id-53601 .newsletter-row {
	background: #d9f1fd;
	margin-bottom: 0;
}
#top.page-id-53601 #donate-section {
	margin-top: 0;
}

/******************************
=Forms
******************************/
#top .gform_wrapper .gform_heading p.gform_required_legend {display: none;}
#top .gform_wrapper ul li.gfield {
    margin: 0;
    padding: 0;
}

.main_color div.gform_wrapper {
	margin: 0;
}

#top .gform_wrapper .input-text, #top .gform_wrapper input[type='text'], 
#top .gform_wrapper input[type='input'], #top .gform_wrapper input[type='password'], 
#top .gform_wrapper input[type='email'], #top .gform_wrapper input[type='number'], 
#top .gform_wrapper input[type='url'], #top .gform_wrapper input[type='tel'], 
#top .gform_wrapper input[type='search'], #top .gform_wrapper textarea, 
#top .gform_wrapper select {
    color: #0097DC;
    font-family: 'Antonio Regular';
    font-weight: 400;
    border: 0;
    border-radius: 10px;
    background: #fff;
    padding: 20px;
    font-size: 24px;
    line-height: 34px;
}
#top .gform_wrapper .gform_footer .button {
    background: #0297DC;
    color: #fff;
    font-family: 'Antonio Regular';
    font-size: 24px;
    line-height: 26px;
    text-transform: uppercase;
    padding: 13px 40px 14px;
    border-radius: 10px;
    box-shadow: none;
    border: 0;
    text-decoration: none !important;
    min-width: 200px;
    text-align: center;
    margin: auto;
    transition: all 300ms ease-in-out;
}
#top .gform_wrapper .gform_footer .button:hover {background: #F79251;}
#top .gform_wrapper textarea {max-height: 150px;}

#top .gform_wrapper .input-text::-webkit-input-placeholder, 
#top .gform_wrapper input[type='text']::-webkit-input-placeholder, 
#top .gform_wrapper input[type='input']::-webkit-input-placeholder, 
#top .gform_wrapper input[type='password']::-webkit-input-placeholder, 
#top .gform_wrapper input[type='email']::-webkit-input-placeholder, 
#top .gform_wrapper input[type='number']::-webkit-input-placeholder, 
#top .gform_wrapper input[type='url']::-webkit-input-placeholder, 
#top .gform_wrapper input[type='tel']::-webkit-input-placeholder, 
#top .gform_wrapper input[type='search']::-webkit-input-placeholder, 
#top .gform_wrapper textarea::-webkit-input-placeholder, 
#top .gform_wrapper select::-webkit-input-placeholder {
    color: #0097DC;
    text-transform: uppercase;
}
#top .gform_wrapper .input-text:-moz-placeholder, 
#top .gform_wrapper input[type='text']:-moz-placeholder, 
#top .gform_wrapper input[type='input']:-moz-placeholder, 
#top .gform_wrapper input[type='password']:-moz-placeholder, 
#top .gform_wrapper input[type='email']:-moz-placeholder, 
#top .gform_wrapper input[type='number']:-moz-placeholder, 
#top .gform_wrapper input[type='url']:-moz-placeholder, 
#top .gform_wrapper input[type='tel']:-moz-placeholder, 
#top .gform_wrapper input[type='search']:-moz-placeholder, 
#top .gform_wrapper textarea:-moz-placeholder, 
#top .gform_wrapper select:-moz-placeholder  {
    /* Firefox 18- */
    color: #0097DC;
    text-transform: uppercase;
}

#top .gform_wrapper .input-text::-moz-placeholder, 
#top .gform_wrapper input[type='text']::-moz-placeholder, 
#top .gform_wrapper input[type='input']::-moz-placeholder, 
#top .gform_wrapper input[type='password']::-moz-placeholder, 
#top .gform_wrapper input[type='email']::-moz-placeholder, 
#top .gform_wrapper input[type='number']::-moz-placeholder, 
#top .gform_wrapper input[type='url']::-moz-placeholder, 
#top .gform_wrapper input[type='tel']::-moz-placeholder, 
#top .gform_wrapper input[type='search']::-moz-placeholder, 
#top .gform_wrapper textarea::-moz-placeholder, 
#top .gform_wrapper select::-moz-placeholder { 
    /* Firefox 19+ */
    color: #0097DC;
    text-transform: uppercase;
}

#top .gform_wrapper .input-text:-ms-input-placeholder, 
#top .gform_wrapper input[type='text']:-ms-input-placeholder, 
#top .gform_wrapper input[type='input']:-ms-input-placeholder, 
#top .gform_wrapper input[type='password']:-ms-input-placeholder, 
#top .gform_wrapper input[type='email']:-ms-input-placeholder, 
#top .gform_wrapper input[type='number']:-ms-input-placeholder, 
#top .gform_wrapper input[type='url']:-ms-input-placeholder, 
#top .gform_wrapper input[type='tel']:-ms-input-placeholder, 
#top .gform_wrapper input[type='search']:-ms-input-placeholder, 
#top .gform_wrapper textarea:-ms-input-placeholder, 
#top .gform_wrapper select:-ms-input-placeholder  {
    color: #0097DC;
    text-transform: uppercase;
}

#top .gform_wrapper input:focus::-webkit-input-placeholder { color:transparent; }
#top .gform_wrapper input:focus:-moz-placeholder { color:transparent; } /* FF 4-18 */
#top .gform_wrapper input:focus::-moz-placeholder { color:transparent; } /* FF 19+ */
#top .gform_wrapper input:focus:-ms-input-placeholder { color:transparent; } /* IE 10+ */
#top .gform_wrapper textarea:focus::-webkit-input-placeholder { color:transparent; }
#top .gform_wrapper textarea:focus:-moz-placeholder { color:transparent; } /* FF 4-18 */
#top .gform_wrapper textarea:focus::-moz-placeholder { color:transparent; } /* FF 19+ */
#top .gform_wrapper textarea:focus:-ms-input-placeholder { color:transparent; } /* IE 10+ */
/******************************
=Global Styles
******************************/

/* Manual hero */
#top .est-hero {
	--hero__swoop: 100px;
	--hero__icons: 2rem;
	--hero__gap: 1rem;
	--hero__bottom: calc( var(--hero__swoop) + var(--hero__icons) + var(--hero__gap) );
	position: relative;
}
@media( min-width:768px ) {
	#top .est-hero {
		--hero__swoop: 200px;
	}
}
#top .est-hero::before {
	background: linear-gradient( to bottom, rgba(0,0,0,0) 150px, rgba(0,0,0,1) );
	bottom: 0;
	content: "";
	display: block;
	left: 0;
	opacity: 1;
	position: absolute;
	right: 0;
	top: 0;
	visibility: visible;
	z-index: 2;
}
@media( min-width:768px ) {
	#top .est-hero::before {
		background: linear-gradient( to top left, rgba(0,0,0,1), rgba(0,0,0,0) 80% );
	}
}
#top .est-hero::after {
	background:
		url("images/est-swoop.svg"),
		linear-gradient( white, white );
	background-position:
		left 0 bottom calc( var(--hero__icons) + var(--hero__gap) ),
		left 0 bottom 0;
	background-repeat:
		no-repeat;
	background-size:
		100% var(--hero__swoop),
		100% calc( var(--hero__icons) + var(--hero__gap) );
	bottom: 0;
	content: "";
	display: block;
	height: var(--hero__bottom);
	left: 0;
	opacity: 1;
	pointer-events: none;
	position: absolute;
	visibility: visible;
	width: 100vw;
	z-index: 3;
}
#top .est-hero .content {
	margin: 0;
	padding: 0;
	padding-bottom: var(--hero__bottom);
	padding-top: 400px;
	z-index: 10;
}
@media( min-width:768px ) {
	#top .est-hero .content {
		padding-top: 200px;
	}
}
#top .est-hero .entry-content-wrapper {
	display: flex;
	flex-wrap: wrap;
}
#top#top#top .est-hero__content {
	margin-bottom: 0;
	margin-left: auto;
	max-width: 100%;
	width: 400px;
}
#top .est-hero h3,
#top .est-hero h2 {
	text-shadow: 0 0 1.5rem black;
}
#top .est-hero h3,
#top .est-hero h2,
#top .est-hero .avia-button {
	line-height: 1;
	margin-top: 1rem;
}
#top .est-hero h3 {
	color: #e9965e;
	font-family: "alkaline", cursive;
	font-size: 26px;
	font-weight: normal;
}
#top .est-hero h2 {
	color: #ffffff;
	font-family: "Antonio Bold", sans-serif;
	font-size: 42px;
	text-transform: none;
}
@media( min-width:768px ) {
	#top .est-hero h3 {
		font-size: 42px;
	}
	#top .est-hero h2 {
		font-size: 80px;
	}
}
#top .est-hero__icons {
	bottom: 0;
	display: flex;
	font-size: var(--hero__icons);
	gap: 1rem;
	left: 0;
	margin: 0;
	padding: 0;
	position: absolute;
}
@media( min-width:768px ) {
	#top .est-hero {
		--hero__icons: 3rem;
	}
}
#top .est-hero__icons * {
	color: inherit;
	font-size: inherit;
	height: auto;
	line-height: 1;
	margin: 0;
	min-height: 0;
	padding: 0;
}
#top .est-hero__icons a {
	color: #0297DC;
}
#top .est-hero__icons a:where(:hover,:focus-visible) {
	color: #F79251;
}

/* Pre-styled popups */
#top#top .pum-theme-blue-bottom-slide-in .pum-container {
	background: #0A406B;
	border-radius: 10px 10px 0 0;
	/*bottom: 0 !important;*/ /* undo default PUM positioning */
	margin: 0; /* undo PUM default */
	max-height: 60vh !important;
	overflow-x: hidden;
	overflow-y: auto; /* for very small screens */
	padding: 40px 60px;
	padding: clamp(1.875rem, 1.146rem + 4.17vw, 3.75rem);
	padding-top: 0;
	/*top: auto !important;*/ /* prevent overflow on very small screens */
}
@media( max-width:767px ) {
	#top .pum-theme-blue-bottom-slide-in .pum-container {
/* 		padding: 40px; */
	}
}
#top .pum-theme-blue-bottom-slide-in .pum-content {
	align-items: center;
	display: flex;
	gap: 2rem;
	justify-content: space-between;
	padding-top: clamp(1.875rem, 1.146rem + 4.17vw, 3.75rem);
}
@media( max-width:767px ) {
	#top .pum-theme-blue-bottom-slide-in .pum-content {
		flex-direction: column;
	}
}
#top .pum-theme-blue-bottom-slide-in .spca-popup-title {
	border: none !important;
	max-width: 500px;
}
#top .pum-theme-blue-bottom-slide-in h2 {
	color: #FAA24A;
	font-family: "Antonio Bold";
	font-size: clamp(1.5rem, 0.917rem + 3.33vw, 3rem);
	line-height: 1;
	margin: 0;
}
#top .pum-theme-blue-bottom-slide-in h3 {
	color: #ffffff;
	font-family: "Alkaline", serif;
	font-size: clamp(1.5rem, 0.917rem + 3.33vw, 3rem);
	line-height: 1;
	margin: 0;
}
#top .pum-theme-blue-bottom-slide-in p:last-child {
	margin-bottom: 0;
}
#top .pum-theme-blue-bottom-slide-in .spca-popup-content {
	border: none !important;
	max-width: 500px;
}
#top .pum-theme-blue-bottom-slide-in .spca-popup-content * {
	margin: 0;
}
#top .pum-theme-blue-bottom-slide-in .spca-popup-content * + * {
	margin-top: 0.5rem;
}
#top .pum-theme-blue-bottom-slide-in .spca-popup-content a {
	background: #F79251;
	display: inline-block;
	font-size: clamp(1.125rem, 0.979rem + 0.83vw, 1.5rem);
}
#top .pum-theme-blue-bottom-slide-in .spca-popup-content a:hover {
	background: #0297DC;
}
#top .pum-theme-blue-bottom-slide-in .pum-close {
	align-items: center;
	border: none;
	color: #ffffff;
	display: inline-flex;
 font-family: "entypo-fontello";
	font-size: 2.5rem;
	height: 3rem;
	justify-content: center;
	line-height: 1;
	margin: 0;
	min-width: 0;
	padding: 0;
	right: 0;
	top: 0;
	width: 3rem;
	z-index: 999;
}
#top .pum-theme-blue-bottom-slide-in .pum-close:hover {
	color: #FAA24A;
}
#top .pum-theme-blue-bottom-slide-in .pum-close * {
	color: inherit;
	display: inline;
	font: inherit;
	line-height: inherit;
	margin: 0;
	padding: 0;
	position: static;
}
#top .pum-theme-blue-bottom-slide-in .pum-close::before {
	content: "";
}
#top .pum-theme-blue-bottom-slide-in .pum-close i {
	display: none;
}

#top .title_container {
    margin-bottom: 5%;
    padding: 10px 0;
}
.title_container,
.main_color {border: 0;}
.title_container .main-title, .title_container .trail-before {
    display: inline-block;
    float: left;
    height: 0;
    min-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    white-space: nowrap;
    width: 0;
}
#top .title_container .container {
    min-height: 0;
    padding-bottom: 0;
    padding-top: 0;
    width: 100%;
    max-width: 100%;
}
.title_container .breadcrumbs {
    display: inline-block;
    position: static;
    width: 100%;
}
.title_container .container * {
    font-size: 14px;
    height: auto;
    line-height: inherit;
    margin: 0;
    padding: 0;
    text-transform: capitalize;
    vertical-align: bottom;
}
.title_container .breadcrumbs span a {
    color: #013a70;
    font-weight: 500;
    text-decoration: none !important;
}
.title_container .breadcrumbs span a span {font-weight: 500;}
.title_container .breadcrumbs span.sep {margin: 0 2px 0 4px;}
.template-page .entry-content-wrapper h1, 
.template-page .entry-content-wrapper h2 {
    text-transform: none;
}

body .alignleft, .entry-content-wrapper a:hover .alignleft {margin: 4px 20px 5px 0;}
#top .avia_textblock p strong,
#top .rhspca-step-iconlist p strong {color: #44515C;}
/*popup forms*/
.mfp-bg {background: #DEDEDE;}

#top .white-popup .sub-header {
  width: 100%;
  text-align: center;
}

#top .white-popup .sub-header h2 {
  font-family: 'Antonio Bold';
    text-transform: capitalize;
    color: #0A406B;
    margin-bottom: 5%;
}

.white-popup {
  position: relative;
  background: #D9F1FD;
  padding: 40px 40px 10px 40px;
  width: auto;
  max-width: 600px;
  margin: 20px auto;
}

#top .white-popup .input-text, #top .white-popup input[type="text"], 
#top .white-popup input[type="input"], #top .white-popup input[type="password"], 
#top .white-popup input[type="email"], #top .white-popup input[type="number"], 
#top .white-popup input[type="url"], #top .white-popup input[type="tel"], 
#top .white-popup input[type="search"], #top .white-popup textarea, #top .white-popup select {
    color: #0097DC;
    font-family: 'Antonio Regular';
    font-weight: 400;
    border: 0;
    border-radius: 10px;
    background: #fff;
    padding: 20px;
    font-size: 24px;
    line-height: 34px;
}

#top .white-popup .gform_wrapper ul li.gfield {
  padding-right: 10px;
  padding-left: 10px;
}

#top .white-popup .gform_wrapper input[type="submit"] {
    background: #0297DC;
    color: #fff;
    font-family: 'Antonio Regular';
    font-size: 24px;
    line-height: 26px;
    text-transform: uppercase;
    padding: 13px 40px 14px;
    border-radius: 10px;
    box-shadow: none;
    border: 0;
    text-decoration: none !important;
    min-width: 200px;
    text-align: center;
    margin: auto;
    transition: all 300ms ease-in-out;
}
/*#top .white-popup label, .white-popup .gform_description {color: #fff; }*/

/* Bloomerang popup form */
#top .interaction-form input,
#top .interaction-form textarea,
#top .interaction-form select {
	max-width: 100%;
}

.mfp-close-btn-in .mfp-close,
#top .white-popup label span,
#top .white-popup .gform_wrapper div.validation_error {
    color: #0297DC !important;
}

#top .white-popup .gform_wrapper ul li.gfield {margin-top: 10px !important;}

#top .white-popup .gform_wrapper .gform_footer {text-align: center;}
#top .white-popup .gform_wrapper fieldset {margin-bottom: 0;}
/*buttons*/
#top .rhspca-button a {
    background: #0297DC;
    color: #fff;
    font-family: 'Antonio Regular';
    font-size: 24px;
    line-height: 26px;
    text-transform: uppercase;
    padding: 13px 40px 14px;
    border-radius: 10px;
    box-shadow: none;
    border: 0;
    text-decoration: none !important;
    min-width: 200px;
    text-align: center;
    transition: all 300ms ease-in-out;
}
#top .rhspca-button a span {font-family: 'Antonio Regular';}
#top .rhspca-button a:hover {
    background: #F79251;
}
/*fullwidth buttons*/
#top .rhspca-full-button.full-button-dark a {
    background: #043257;
    color: #fff;
}
#top .rhspca-full-button.full-button-dark a span {color: #fff !important;}
/*step section*/
#top #step-section,
#top .step-section {margin: 3% 0;}
#top #step-section > .container,
#top .step-section > .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}
#top #step-section h2,
#top .step-section h2 {
    font-weight: 700;
    margin-bottom: 0;
}
#top #step-section .rhspca-step-iconlist,
#top .step-section .rhspca-step-iconlist {margin-top: 0;}
#top #step-section:not(.steps-left-img) .flex_column.first,
#top .step-section:not(.steps-left-img) .flex_column.first {
    width: 100%;
    max-width: 1310px;
    padding: 0 50px;
    margin: auto;
    float: none;
}
#top #step-section.steps-left-img .flex_column:not(.first),
#top .step-section.steps-left-img .flex_column:not(.first) {
    float: right;
    width: 55%;
    padding: 0 50px 0 0;
}
#top #step-section:not(.steps-left-img) .flex_column.first > *,
#top .step-section:not(.steps-left-img) .flex_column.first > * {width: 55%;}
#top #step-section:not(.steps-left-img) .flex_column.double-img,
#top .step-section:not(.steps-left-img) .flex_column.double-img {
    position: absolute;
    right: 0;
    width: 45%;
    height: 100%;
    top: 0;
    display: flex;
    align-items: center;
}
#top #step-section.steps-left-img .flex_column.double-img,
#top .step-section.steps-left-img .flex_column.double-img {
    position: absolute;
    left: 0;
    width: 45%;
    height: 100%;
    top: 0;
    display: flex;
    align-items: center;
}
#top #step-section .flex_column.double-img .avia-image-container img,
#top .step-section .flex_column.double-img .avia-image-container img {
    border: 15px solid #fff;
    box-shadow: 0 0 3px 0 rgba(0,0,0,0.2);
}
#top #step-section:not(.steps-left-img) .flex_column.double-img .avia-image-container img:first-child,
#top .step-section:not(.steps-left-img) .flex_column.double-img .avia-image-container img:first-child {
    transform: rotate(-1deg) translate(90px,40px);
    width: 98%;
    position: absolute;
    max-height: 600px;
}
#top #step-section.steps-left-img .flex_column.double-img .avia-image-container img:first-child,
#top .step-section.steps-left-img .flex_column.double-img .avia-image-container img:first-child {
    transform: rotate(1deg) translate(-40px,40px);
    width: 98%;
    position: absolute;
    max-height: 600px;
}
#top #step-section:not(.steps-left-img) .flex_column.double-img .avia-image-container img:last-child,
#top .step-section:not(.steps-left-img) .flex_column.double-img .avia-image-container img:last-child {
    transform: rotate(4deg) translateX(100px);
    max-height: 600px;
    width: auto;
}
#top #step-section.steps-left-img .flex_column.double-img .avia-image-container img:last-child,
#top .step-section.steps-left-img .flex_column.double-img .avia-image-container img:last-child {
    transform: rotate(-4deg) translateX(-65px);
    max-height: 600px;
    width: auto;
}
/*step iconlist*/
#top .rhspca-step-iconlist > ul.avia-icon-list > li {
    counter-increment: list-counter;
    font-size: 28px;
    padding-bottom: 0;
}
#top .rhspca-step-iconlist ul li .iconlist-timeline {display: none;}
#top .rhspca-step-iconlist ul li .iconlist_icon {
    background: transparent;
    margin: 0;
    margin-right: 10px;
    width: auto;
    height: 46px;
    margin-top: -5px;
}
#top .rhspca-step-iconlist ul li span.iconlist-char,
#top .rhspca-step-iconlist ul li h4.iconlist_title {
    font-size: 36px;
    line-height: 46px;
    color: #0297DC;
    font-weight: 400;
    font-family: alkaline, sans-serif;
}
#top .rhspca-step-iconlist ul li h4.iconlist_title {text-transform: capitalize;}
#top .rhspca-step-iconlist ul li h4.iconlist_title a {
    font-family: 'Antonio Regular';
    font-size: 24px;
    text-transform: uppercase;
    margin-left: 10px;
}
#top .rhspca-step-iconlist ul li span.iconlist-char::before {
    content: counter(list-counter) ".";
    font-family: alkaline, sans-serif;
}
#top .rhspca-step-iconlist ul li .iconlist_content_wrap {overflow: visible;}
#top .rhspca-step-iconlist ul li .iconlist_content {margin-left: 0;}
#top .rhspca-step-iconlist ul li .iconlist_content p {margin-top: 5px;}
#top .rhspca-step-iconlist ul li .iconlist_content ul li {
    font-size: 18px;
    line-height: 22px;
}
/*accordions*/
#top .rhspca-accordion .single_toggle p.toggler {
    color: #0297DC;
    font-family: 'Antonio Bold';
    /*font-weight: 700;*/
    font-size: 24px;
    line-height: 28px;
    padding: 15px 30px 15px 75px;
    border-radius: 0;
    top: 0;
    /*border-top: 1px solid #F79151;*/
    border-bottom: 0;
    background: transparent;
    transition: all 300ms ease-in-out;
	background-image: linear-gradient( #F79151, #F79151 );
	background-position: center top;
	background-repeat: no-repeat;
	background-size: calc( 100% - 8px - 8px ) 1px;
}
#top .rhspca-accordion section.av_toggle_section:first-child p.toggler {
	background-image: none;
	border-top: 0;
}
#top .rhspca-accordion .single_toggle {margin: 0;}
#top .rhspca-accordion .single_toggle p.activeTitle,
#top .rhspca-accordion .single_toggle p.toggler:hover {
    background-color: #FCEBCF;
    border-color: #fff;
    border-radius: 8px;
    opacity: 1;
}
#top .rhspca-accordion .single_toggle p.activeTitle + .toggler,
#top .rhspca-accordion .single_toggle p.toggler:hover + .toggler {border-color: #fff;}
#top .rhspca-accordion .single_toggle p.toggler span.toggle_icon {
    width: 60px;
    height: 100%;
    top: 0;
    left: 0;
    margin: 0;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    background: transparent;
    transition: all 300ms ease-in-out;
}
#top .rhspca-accordion .single_toggle p.toggler span.toggle_icon > span {display: none;}
#top .rhspca-accordion .single_toggle p.toggler span.toggle_icon::before,
#top .rhspca-accordion .single_toggle p.toggler span.toggle_icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 300ms ease-in-out;
}
#top .rhspca-accordion .single_toggle p.toggler span.toggle_icon::before {
    background: url('/wp-content/themes/rhspca-enfold-child/images/orange-paw.svg');
    background-repeat: no-repeat;
    background-size: 60%;
    background-position: center;
    opacity: 1;
}
#top .rhspca-accordion .single_toggle p.toggler span.toggle_icon::after {
    background: url('/wp-content/themes/rhspca-enfold-child/images/light-paw.svg');
    background-repeat: no-repeat;
    background-size: 60%;
    background-position: center;
    opacity: 0;
}
#top .rhspca-accordion .single_toggle p.activeTitle span.toggle_icon,
#top .rhspca-accordion .single_toggle p.toggler:hover span.toggle_icon {
    background: #F79251;
}
#top .rhspca-accordion .single_toggle p.activeTitle span.toggle_icon:before,
#top .rhspca-accordion .single_toggle p.toggler:hover span.toggle_icon:before {opacity: 0;}
#top .rhspca-accordion .single_toggle p.activeTitle span.toggle_icon:after,
#top .rhspca-accordion .single_toggle p.toggler:hover span.toggle_icon:after {opacity: 1;}
#top .rhspca-accordion .single_toggle .toggle_content {background: transparent;}
#top .rhspca-accordion .single_toggle .toggle_content ul li {
    font-size: 18px;
    line-height: 22px;
}

/*foster care section*/
#top #foster-care-section > .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}
#top #foster-care-section > .container > .content {padding-top: 0;}
#top #foster-care-section .flex_column.first {
    width: 45%;
    margin: auto;
    float: none;
}
#top #foster-care-section .rhspca-full-button a {
    background: #013a70;
    color: #fff;
}
#top #foster-care-section .rhspca-full-button a span {color: #fff !important;}
/* Featured image hero container */
.featured-hero {
    min-height: 450px;
    height: 100%;
}
.featured-hero .hero-bg,
.featured-hero::after {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}
.featured-hero .hero-bg {
    background-position: center 60%;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
    /*height: calc(30vw + 400px);*/
    left: 0;
    max-height: 100%;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
}
/*.featured-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background-image: url('/wp-content/themes/rhspca-enfold-child/images/swoop-bg.svg'),
                        linear-gradient(110deg,rgba(255,255,255,0) 60%, #000000);
    background-repeat: no-repeat;
    background-position: center bottom, center center !important;
    background-size: 100% auto, cover;
}*/
.featured-hero .container {
    z-index: 4;
    height: 100%;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    max-width: 100%;
				padding-bottom: 120px;
}
.featured-hero .container * {
    margin: 0;
    padding: 0;
}
.featured-hero .hero-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.featured-hero .hero-content .hero-title {
    width: 30%;
}
.featured-hero h1 {
    font-family: 'Antonio Bold';
    color: #fff;
    font-size: 50px;
    line-height: 52px;
    position: relative;
    text-align: right;
    text-transform: uppercase;
}
#top .featured-hero .hero-socials {
    display: inline-block;
    font-size: 20px;
    padding: 20px 0;
    position: absolute;
    left: 50px;
    bottom: 0;
    width: auto;
}
#top .featured-hero .hero-social {
    margin-right: 15px;
    font-size: 40px;
    transform: scale(1);
    display: inline-block;
    text-decoration: none !important;
    transition: all 300ms ease-in-out;
}
#top .featured-hero .hero-social:hover {
    color: #f79251;
    transform: scale(1.1,1.1);
}
#top .featured-hero .featured-tagline {
    position: absolute;
    top: 20px;
    left: 50px;
    display: inline-block;
    z-index: 4;
}
#top .featured-hero .featured-tagline h3 {
    color: #E9965E;
    font-family: alkaline, sans-serif;
    font-weight: 300;
    font-size: 32px;
    line-height: 34px;
}
/*radial hero overlays*/
#top .featured-hero::after {
	background-image:
		linear-gradient( white, white ),
		url(/wp-content/themes/rhspca-enfold-child/images/swoop-bg.svg),
		radial-gradient( rgba(255,255,255,0) 30%, #031522 ),
		linear-gradient( 110deg,rgba(255,255,255,0) 60%, #000000 ),
		linear-gradient( to left, rgba(255,255,255,1) 20%, rgba(255,255,255,0) );
	background-repeat: no-repeat;
	background-position:
		center bottom,
		center bottom,
		center center,
		center center,
		center center !important;
	background-size:
		0 0,
		100% 100%,
		0 0,
		cover,
		0 0;
	content: '';
	left: 0;
	position: absolute;
	top: 0;
	z-index: 2;
}
#top.radial-overlay .featured-hero::after {
	background-size:
		0 0,
		100% 100%,
		cover,
		0 0,
		0 0;
}
/*no hero overlays*/
#top.no-hero-overlay .featured-hero .featured-tagline h3 {color: #FAA24A;}
#top.no-hero-overlay .featured-hero .hero-bg,
#top.single-animal .featured-hero .hero-bg {
    background-size: contain;
    background-position: center -40px;
}
#top.no-hero-overlay .featured-hero::after {
    /*content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background-image: url(/wp-content/themes/rhspca-enfold-child/images/swoop-bg.svg);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100%;*/
	background-size:
		0 0,
		100% 100%,
		0 0,
		0 0,
		0 0;
}
#top.no-hero-overlay .featured-hero .hero-content .hero-title h1 {color: #0297DC;}
/*no news section*/
#top.no-latest-news #footer-form {background: #fff;}
#top.no-latest-news #footer-form .gform_wrapper input,
#top.no-latest-news #footer-form .gform_wrapper textarea {box-shadow: 0 5px 10px 0 rgba(0,0,0,10%);}
/*tab widgets*/
#top .rhspca-tabs {
    width: 75%;
    margin: auto;
}
#top .rhspca-tabs .tab_titles {
    width: 35%;
    max-width: 100%;
}
#top .rhspca-tabs .tab_titles .tab {
    color: #44515c;
    width: 100% !important;
    margin: 0;
    /*font-family: 'Antonio', sans-serif;*/
    font-family: 'Antonio Thin';
    font-size: 26px;
    text-transform: uppercase;
    line-height: 32px;
    text-align: right;
    font-weight: 300;
    opacity: 1;
    border-top: 1px solid #0297DC;
    border-bottom: 0;
    border-right: 0;
    transition: all 300ms ease-in-out;
}
#top .rhspca-tabs .tab_titles .tab.active_tab,
#top .rhspca-tabs .tab_titles .tab:hover {
    background: #0297DC;
    border-color: #fff;
    border-radius: 8px;
    color: #fff;
}
#top .rhspca-tabs .tab_titles div.tab:first-child {border-top: 0;}
#top .rhspca-tabs .av_tab_section .tab_content {
    padding: 25px 50px;
    box-shadow: none;
}
#top .rhspca-tabs .tab_titles .tab.active_tab + .tab,
#top .rhspca-tabs .tab_titles .tab:hover + .tab {border-color: #fff;}
/*tab sections*/
#top #rhspca-tab-section .av-tab-section-tab-title-container {background: #D9F1FD;}
#top #rhspca-tab-section .av-tab-section-tab-title-container a.av-section-tab-title {
    color: #0A406B;
    border-bottom: 10px solid #D9F1FD;
    padding-top: 0;
    transition: all 300ms ease-in-out;
}
#top #rhspca-tab-section .av-tab-section-tab-title-container a.av-section-tab-title span.av-tab-arrow-container {display: none;}
#top #rhspca-tab-section .av-tab-section-tab-title-container a.av-section-tab-title span.av-inner-tab-title {
    font-size: 35px;
    font-family: 'Antonio', sans-serif;
    font-weight: 300;
}
#top #rhspca-tab-section .av-tab-section-tab-title-container a.av-section-tab-title.av-active-tab-title {border-bottom-color: #F79251;}
#top #rhspca-tab-section .av-tab-section-tab-title-container a.av-section-tab-title.av-active-tab-title span.av-inner-tab-title,
#top #rhspca-tab-section .av-tab-section-tab-title-container a.av-section-tab-title:hover span.av-inner-tab-title {font-weight: 800;}
/*tables*/
#top .avia-table tr.avia-heading-row th {
    background-color: #0A406B !important;
    color: #fff !important;
    border-right: 1px solid #fff;
    border-left: 0;
    border-bottom: 0;
    border-top: 0;
}
#top .avia-table tr td {
    border: 0;
    background: #D9F1FD;
    border-right: 1px solid #fff;
}
/*adoption fees section*/
#top #adoption-fees div.flex_column .avia-icon-list {width: 75%;}
#top #adoption-fees div.flex_column:first-child .avia-icon-list {
    margin: auto;
    margin-right: 0;
}
#top #adoption-fees div.flex_column:first-child .avia-icon-list li .iconlist_content_wrap {overflow: visible;}
#top #adoption-fees div.flex_column:first-child .avia-icon-list li .iconlist_icon,
#top #adoption-fees div.flex_column .avia-icon-list .iconlist-timeline {display: none;}
#top #adoption-fees div.flex_column:first-child .avia-icon-list h4.iconlist_title {
    font-family: alkaline, sans-serif;
    font-size: 36px;
    line-height: 40px;
    font-weight: 400;
    text-transform: capitalize;
}
#top #adoption-fees div.flex_column:last-child .avia-icon-list .iconlist_title_small {
    font-size: 18px;
    line-height: 30px;
}
#top #adoption-fees div.flex_column:first-child .avia-icon-list p {line-height: 35px;}
#top #adoption-fees div.flex_column .avia-icon-list p strong {color: #44515C;}
#top #adoption-fees div.flex_column:last-child .avia-icon-list li {margin: 0 0 15px;}
#top #adoption-fees div.flex_column:last-child .avia-icon-list li .iconlist_icon {
    width: 25px;
    height: 25px;
    line-height: 35px;
    font-size: 30px;
    margin-right: 15px;
}
#top #adoption-fees div.flex_column:last-child .avia-icon-list li .iconlist_icon span {
    background: url('/wp-content/themes/rhspca-enfold-child/images/check-circle-icon.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 25px;
    height: 25px;
    position: relative;
    display: inline-block;
}
#top #adoption-fees div.flex_column:last-child .avia-icon-list li .iconlist_icon span:before {
    display: none;
}
#top #adoption-fees div.flex_column:last-child .avia-image-container {
    z-index: 0;
    top: -20px;
    left: -10%;
}
/*animal filter-search*/

#top #animal-filter .wpv-filter-form ::placeholder{
    color: #0A406B;
}

#top #animal-filter .wpv-filter-form .animal-filter-by-type label {text-align: center;}
#top #animal-filter .wpv-filter-form .animal-filter-by-type .filter-row-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
}
#top #animal-filter .wpv-filter-form .animal-filter-by-type .filter-row-buttons .radio label {
    background: #0297DC;
    padding: 12px 30px;
    border-radius: 10px;
    min-width: 150px;
    width: 100%;
    position: relative;
    display: inline-block;
    cursor: pointer;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Antonio Regular';
    font-size: 26px;
    font-weight: 400;
    transition: all 300ms ease-in-out;
}
#top #animal-filter .wpv-filter-form .animal-filter-by-type .filter-row-buttons .radio label.active,
#top #animal-filter .wpv-filter-form .animal-filter-by-type .filter-row-buttons .radio label:hover {
    background: #0A406B;
}
#top #animal-filter .wpv-filter-form .animal-filter-by-type .filter-row-buttons .radio label input {
    opacity: 0;
    width: 0;
    margin: 0;
}
#top #animal-filter .wpv-filter-form .animal-filter-by-type .filter-row-buttons .radio {margin: 0 5px;}
#top #animal-filter .wpv-filter-form .animal-filter-second-row {
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
}
#top #animal-filter .wpv-filter-form /*.animal-filter-second-row*/ .form-group {
    position: relative;
}
#top #animal-filter .wpv-filter-form /*.animal-filter-second-row*/ .form-group-checkbox button::before {
        content: '\e877';
    opacity: 1;
}
#top #animal-filter .wpv-filter-form /*.animal-filter-second-row*/ .form-group-checkbox button::after {
        content: '\e87a';
    opacity: 0;
}
#top #animal-filter .wpv-filter-form /*.animal-filter-second-row*/ .form-group-checkbox button::before,
#top #animal-filter .wpv-filter-form /*.animal-filter-second-row*/ .form-group-checkbox button::after {
	align-items: center;
	color: #0297DC;
	display: flex;
	font-family: 'entypo-fontello';
	font-size: 30px;
	height: 100%;
	justify-content: center;
	pointer-events: none;
	position: absolute;
	right: 10px;
	top: 0;
}
/*#top #animal-filter .wpv-filter-form .animal-filter-second-row .form-group-select select,*/
#top #animal-filter .wpv-filter-form /*.animal-filter-second-row*/ .form-group-checkbox {
	background: #D9F1FD;
	border-radius: 10px;
	flex-basis: 170px;
	flex-grow: 1;
}

#top #animal-filter .wpv-filter-form /*.animal-filter-second-row*/ .form-group-attributes {
    background: #D9F1FD;
    border-radius: 10px;
    flex-basis: 260px;
    flex-grow: 1;
}

#top #animal-filter .wpv-filter-form .animal-filter-third-row .form-group-checkbox {
}
#top #animal-filter .wpv-filter-form /*.animal-filter-second-row*/ .form-group-checkbox > label {
    color: #0A406B;
    font-family: 'Antonio', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 18px;
    text-align: center;
    /*background: #D9F1FD;*/
    border: 0;
    /*border-radius: 10px;*/
    padding: 5px 10px;
    line-height: 28px;
    display: inline-block;
    width: 100%;
}
#top #animal-filter .wpv-filter-form /*.animal-filter-second-row*/ .form-group-checkbox .checkbox-container {
    padding: 15px 30px;
    /*display: none;
    opacity: 0;*/
    transition: all 300ms ease-in-out;
}
#top #animal-filter .wpv-filter-form /*.animal-filter-second-row*/ .form-group-checkbox button {
    background: transparent;
    border: 0;
    padding: 10px 30px;
    width: 100%;
    text-align: center;
    position: relative;
    cursor: pointer;
}
#top #animal-filter .wpv-filter-form /*.animal-filter-second-row*/ .form-group-checkbox button label {
    font-family: 'Antonio Regular';
    text-transform: uppercase;
    font-weight: 400;
    font-size: 24px;
    line-height: 28px;
    color: #0A406B;
    cursor: pointer;
}
#top #animal-filter .wpv-filter-form /*.animal-filter-second-row*/ .form-group-checkbox button.active:before {opacity: 0;}
#top #animal-filter .wpv-filter-form /*.animal-filter-second-row*/ .form-group-checkbox button.active:after {opacity: 1;}
#top #animal-filter .wpv-filter-form /*.animal-filter-second-row*/ .form-group-checkbox .checkbox label,
#top #animal-filter .wpv-filter-form /*.animal-filter-second-row*/ .form-group-checkbox #sort-filter label {
    color: #0A406B;
    font-family: new-order, sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 17px;
    display: flex;
    align-items: flex-start;
    margin: 0px 0 5px;
    text-transform: capitalize;
    cursor: pointer;
}
#top #animal-filter .wpv-filter-form /*.animal-filter-second-row*/ .form-group-checkbox .checkbox label input {
    position: relative;
    margin: 0;
    margin-right: 10px;
    top: 1px;
    cursor: pointer;
}
#top #animal-filter .wpv-filter-form /*.animal-filter-second-row*/ .form-group-checkbox .checkbox label input::before,
#top #animal-filter .wpv-filter-form /*.animal-filter-second-row*/ .form-group-checkbox #sort-filter label input::before {
    content: '';
    display: inline-block;
    position: absolute;
    width: 13px;
    height: 13px;
    border-radius: 3px;
    border-style: solid;
    border-width: 2px;
    border-color: #0A406B;
    background: #D9F1FD;
    top: -1px;
    left: -1px;
}
#top #animal-filter .wpv-filter-form /*.animal-filter-second-row*/ .form-group-checkbox .checkbox label input::after,
#top #animal-filter .wpv-filter-form /*.animal-filter-second-row*/ .form-group-checkbox #sort-filter label input::after {
    content: '';
    position: absolute;
    display: none;
    left: 2px;
    top: 2px;
    width: 11px;
    height: 11px;
    background: #0097DC;
}
#top #animal-filter .wpv-filter-form /*.animal-filter-second-row*/ .form-group-checkbox .checkbox label input:checked:after,
#top #animal-filter .wpv-filter-form /*.animal-filter-second-row*/ .form-group-checkbox #sort-filter label input:checked:after {display: inline-block;}
#top #animal-filter .wpv-filter-form /*.animal-filter-second-row*/ .form-group-checkbox #sort-filter {
    display: flex;
    flex-direction: column;
}
#top #animal-filter .wpv-filter-form /*.animal-filter-second-row*/ .form-group-checkbox #sort-filter label {
    display: flex;
    align-items: flex-start;
}
#top #animal-filter .wpv-filter-form /*.animal-filter-second-row*/ .form-group-checkbox #sort-filter label input {
    margin: 0;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
}
#top #animal-filter .wpv-filter-form .animal-filter-third-row {
    display: flex;
    align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
    justify-content: center;
    margin: 15px 0 50px 0;
}
#top #animal-filter .wpv-filter-form .animal-filter-second-row .form-group-search {
    margin: 0;
    background: #D9F1FD;
    border-radius: 10px;
	flex-basis: 180px;
	flex-grow: 2;
}
#top #animal-filter .wpv-filter-form .animal-filter-second-row .form-group-search .search-group {
    display: flex;
    align-items: center;
    position: relative;
}
#top #animal-filter .wpv-filter-form .animal-filter-second-row .form-group-search .search-group input[type="text"] {
    margin: 0;
    border: 0;
    background: transparent;
    font-family: 'Antonio Regular';
    text-transform: uppercase;
    font-weight: 400;
    font-size: 24px;
    line-height: 28px;
    color: #0A406B;
    padding: 10px 55px 10px 15px;
    border-radius: 10px;
    outline: none;
}
#top #animal-filter .wpv-filter-form .animal-filter-second-row .form-group-search .search-group input[type="text"]::-webkit-input-placeholder,
#top #animal-filter .wpv-filter-form .animal-filter-second-row .form-group-search .search-group input[type="text"]:-ms-input-placeholder,
#top #animal-filter .wpv-filter-form .animal-filter-second-row .form-group-search .search-group input[type="text"]:-moz-placeholder,
#top #animal-filter .wpv-filter-form .animal-filter-second-row .form-group-search .search-group input[type="text"]::placeholder,
#top #animal-filter .wpv-filter-form .animal-filter-second-row .form-group-search .search-group input[type="text"]:placeholder-shown {color: #0A406B !important;}

#top #animal-filter .wpv-filter-form .animal-filter-second-row .form-group-search .search-group input[type="text"]:focus::-webkit-input-placeholder { color:transparent; }
#top #animal-filter .wpv-filter-form .animal-filter-second-row .form-group-search .search-group input[type="text"]:focus:-moz-placeholder { color:transparent; } /* FF 4-18 */
#top #animal-filter .wpv-filter-form .animal-filter-second-row .form-group-search .search-group input[type="text"]:focus::-moz-placeholder { color:transparent; } /* FF 19+ */
#top #animal-filter .wpv-filter-form .animal-filter-second-row .form-group-search .search-group input[type="text"]:focus:-ms-input-placeholder { color:transparent; } /* IE 10+ */
#top #animal-filter .wpv-filter-form .animal-filter-second-row .form-group-search .search-group input[type="submit"] {
    font-family: 'entypo-fontello';
    font-size: 24px;
    padding: 0;
    width: 45px;
    position: absolute;
    right: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    height: 100%;
    transition: all 300ms ease-in-out;
}
#top #animal-filter .wpv-filter-form .animal-filter-second-row .form-group-search .search-group input[type="submit"]:hover {
    background: #0289c7;
}
#top #animal-filter .wpv-filter-form .animal-filter-third-row .reset-button-container input {
    border: 0;
    box-shadow: none;
    padding: 10px 30px;
    font-size: 24px;
    font-family: 'Antonio Regular';
    font-weight: 400;
    text-transform: uppercase;
    border-radius: 10px;
    line-height: 28px;
    color: #fff;
    background: #0A406B;
    cursor: pointer;
    transition: all 300ms ease-in-out;
}
#top #animal-filter .wpv-filter-form .animal-filter-third-row .reset-button-container input:hover {
    background: #052f59;
}
#top #animal-filter .js-wpv-view-layout .row .col-sm-4 .single-animal-card {
    height: 325px;
    border: 10px solid #fff;
    box-shadow: 0 0 3px 0 rgb(0 0 0 / 20%);
    position: relative;
}

#top #animal-filter .js-wpv-view-layout .row .col-sm-4 .single-animal-card-container{
    position: relative;
}

#top #animal-filter .js-wpv-view-layout .row .col-sm-4 .animal-header-badge-container{
    width: max-content;
    background: transparent;
    color: #fff;
    font-family: 'Antonio Regular';
    text-transform: uppercase;
    font-size: 20px;
    padding: 0;
    margin: 0;
    border-radius: 10px;
    position: absolute;
    right: -10px;
    top: -15px;
}

#top .badge {
	background: #0297DC;
	border-radius: 10px;
	box-shadow: 0 0 3px 0 rgb(0 0 0 / 20%);
	box-sizing: content-box;
	color: #fff;
	display: inline-block;
	font-family: 'Antonio Regular';
	font-size: 20px;
	height: 20px;
	line-height: 20px;
	padding: 8px 25px;
	margin: 0;
	position: relative;
	text-align: right;
	text-decoration: none;
	text-transform: uppercase;
	vertical-align: middle;
}
/* Petsmart/petco badge */
#top .badge[data-title*="petsmart" i],
#top .badge[data-title*="petco" i],
#top .badge.location.petsmart,
#top .badge.location.petco{
	background: #00a88e;
}
#top .badge + .badge {
	margin-top: 10px;
}
#top .single-animal-card-container .badge {
	clear: both;
	float: right;
}
#top .animal-search-legend {
	font-family: new-order;
	font-size: 1rem;
	margin: 20px auto;
	max-width: 1310px;
}
@media( min-width:990px ) {
	#top .animal-search-legend {
		padding: 0 50px;
	}
}
#top .animal-search-legend div + div {
	margin-top: 10px;
}

#top #animal-filter .js-wpv-view-layout .row .col-sm-4 .animal-header-badge-container .location {
    /*background: #0297DC;*/
}
#top .have-a-heart-fund {
    background: #7A3879;
}
#top .adoption-special {
    background: #E6A757;
}

#top .have-a-heart-fund,
#top .adoption-special{
    padding-left: 28px;
    padding-right: 0;
    width: auto;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    -webkit-transition: max-width 1s;
    transition: max-width 1s;
}

#top .have-a-heart-fund:not(:empty):hover,
#top .adoption-special:not(:empty):hover{
    width: fit-content;
    max-width: 350px;
    padding-right: 8px;
}


#top .have-a-heart-fund::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/wp-content/themes/rhspca-enfold-child/images/heart-badge.svg);
    background-repeat: no-repeat;
    background-position: center left 5px !important;
    background-size: 18px;
}

#top .adoption-special::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/wp-content/themes/rhspca-enfold-child/images/star-badge.svg);
    background-repeat: no-repeat;
    background-position: center left 5px !important;
    background-size: 18px;
}

#top .badge.in-foster,
#top .badge.sac-foster-program {
	background: #f79251;
}
#top #animal-filter .js-wpv-view-layout .row .col-sm-4 .single-animal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(20deg,#032B4B,rgba(8,58,98,0.6) 35%, rgba(8,58,98,0) 50%);
}
#top #animal-filter .js-wpv-view-layout .row .col-sm-4 .single-animal-card .animal-detail-info {
    position: absolute;
    bottom: 0px;
    padding: 10px;
    width: 100%;
}
#top #animal-filter .js-wpv-view-layout .row .col-sm-4 .single-animal-card .animal-detail-info .animal-title {
    font-family: 'Antonio Bold';
    color: #fff;
    text-transform: uppercase;
    font-size: 30px;
    line-height: 34px;
    /*font-weight: 800;*/
    margin-bottom: 10px;
}
#top #animal-filter .js-wpv-view-layout .row .col-sm-4 .single-animal-card .animal-detail-info div span {
    color: #fff;
    font-family: 'Antonio Regular';
    font-weight: 400;
    text-transform: uppercase;
    font-size: 20px;
    line-height: 24px;
}

/* Adopt pages (Adopt, Lost, Found, Strays) */
#top.page-id-49 .featured-hero,
#top.page-id-51 .featured-hero,
#top.page-id-53 .featured-hero {
	display: none;
}

/*animal detail page*/
#top.single-animal .featured-hero {
	display: none;
}
#top.single-animal .title_container {
	background: #fff6e3;
	margin-bottom: 0;
}
#top.single-animal #view-all {
	background: #fff6e3;
}
#top.single-animal #view-all a::after {
	content: " adoptable animals";
}
#top#top.single-animal .animal-details-photo-additional-photos a:first-child:last-child {
	display: none !important;
}
#top.single-animal .featured-hero:after {
    /*content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background-image: url(/wp-content/themes/rhspca-enfold-child/images/swoop-bg.svg);
    background-repeat: no-repeat;
    background-position: center bottom -20px !important;
    background-size: 100% auto;*/
	background-size:
		0 0,
		100% 100%,
		0 0,
		0 0;
}
#top.single-animal .featured-hero .hero-title h1 {color: #0297DC;}
#top.single-animal .container_wrap_first.main_color.fullsize {background: #fff6e3;}
#top.single-animal .animal .standard-content header.entry-content-header {display: none;}
#top.single-animal #main .container_wrap_first .entry-content-wrapper,
#top.single-animal #main .container_wrap_first .entry-content-wrapper > *,
#top.single-animal #main .container_wrap_first > .container {
    width: 100%;
    max-width: 100% !important;
}
#top.single-animal article.animal {padding-bottom: 5%;}
#top.single-animal article.animal .post_delimiter {display: none;}
#top .animal .animal-details-photo-container {
    width: 45%;
    vertical-align: top;
    text-align: center;
}
#top .animal .animal-details-content-container {width: 54%;vertical-align: top;}
#top.single-animal .animal-details-photo-container .animal-details-photo-cover-photo {
    display: inline-block;
    width: 100%;
    text-align: center;
    height: 400px;
}
#top.single-animal .animal .animal-details-photo-container .animal-details-photo-cover-photo > img,
#top.single-animal .animal .animal-details-photo-container .animal-details-photo-cover-photo > a > img {
    top: calc(50% - 200px);
    left: calc(50% - 200px);
    min-height: 350px;
    max-height: 350px;
}
#top.single-animal .animal .animal-details-photo-container .animal-details-photo-cover-photo > img {
    transform: rotate(5deg) translate(25px,15px);
}
#top.single-animal .animal .animal-details-photo-container .animal-details-photo-cover-photo > a {
	box-shadow: 0 0 3px 0 rgb(0 0 0 / 20%);
    transform: rotate(-5deg) translate(0,5px) !important;
	display: inline-block !important;
	height: 350px;
	position: static !important;
	width: 350px;
}
#top.single-animal .animal .animal-details-photo-container .animal-details-photo-cover-photo > a img {
	box-shadow: none;
	transform: none;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
}
#top.single-animal .animal .animal-details-photo-container .animal-details-photo-cover-photo > a .image-overlay {
	display: none !important;
}
#top.single-animal .animal .animal-details-photo-container .animal-details-photo-additional-photos {
    display: inline-block;
    position: relative;
    text-align: left;
    width: 70%;
}
#top.single-animal .animal .animal-details-photo-container .animal-details-photo-additional-photos a {
    display: inline-block !important;
    width: 30.33%;
    margin: 1%;
}
#top.single-animal .animal .animal-details-photo-container .animal-details-photo-additional-photos img {
    border: 7px solid #fff;
    box-shadow: 0 0 3px 0 rgb(0 0 0 / 20%);
	width: 100%;
}
#top .animal .animal-details-content-container .animal-details-stats {margin: 5% 0;}
#top .animal .animal-details-content-container .animal-details-stats ul {text-align: left;}
#top .animal .animal-details-content-container .animal-details-stats ul li {width: 30%;}
#top.single-animal .animal-details-photo-container .animal-details-photo-cover-photo .animal-details-photo-cover-photo-location-badge {
    left: calc(50% - 250px);
    min-width: 180px;
    padding: 12px 30px;
    font-size: 24px;
    line-height: 26px;
    top: calc(50% + 90px);
    box-shadow: 0 0 3px 0 rgb(0 0 0 / 20%);
}
#top .animal .animal-details-content-container .animal-details-badges ul {
    list-style: none;
    margin: 0;
}
#top .animal .animal-details-content-container .animal-details-badges ul li {
    margin: 10px 10px 0 0;
    width: max-content;
    background: rgba(250,162,74,1);
    padding: 10px 25px;
    border-radius: 10px;
    vertical-align: top;
    color: #FFFFFF;
    display: inline-block;
}

#top .animal .animal-details-content-container .animal-details-badges ul li.animal-badge-adoption-special {
    background: #E6A757;
    position: relative;
    padding-left: 40px;
}

#top .animal .animal-details-content-container .animal-details-badges ul li.animal-badge-adoption-special::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10px;
    width: 100%;
    height: 100%;
    background-image: url(/wp-content/themes/rhspca-enfold-child/images/star-badge.svg);
    background-repeat: no-repeat;
    background-position: center left 5px !important;
    background-size: 18px;
}

#top .animal .animal-details-content-container .animal-details-badges ul li.animal-badge-have-a-heart-fund {
    background: #7A3879;
    position: relative;
    padding-left: 40px;
}

#top .animal .animal-details-content-container .animal-details-badges ul li.animal-badge-have-a-heart-fund::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10px;
    width: 100%;
    height: 100%;
    background-image: url(/wp-content/themes/rhspca-enfold-child/images/heart-badge.svg);
    background-repeat: no-repeat;
    background-position: center left 5px !important;
    background-size: 18px;
}

#top .animal .animal-details-content-container .animal-details-badges ul li a {
    color: #FFFFFF;
    font-family: 'Antonio Regular';
    font-size: 20px;
    line-height: 20px;
    text-transform: uppercase;
    font-weight: 400;
    display: flex;
    align-self: center;
    pointer-events: none;
}
#top .animal .animal-details-content-container .animal-details-content {margin-top: 8%;}
#top .animal .animal-details-content-container .animal-details-content .animal-details-content-heading h3 {
    font-family: 'Antonio Bold';
    font-weight: 800;
    font-size: 34px;
    line-height: 38px;
    text-transform: uppercase;
}
#top .animal .animal-details-content-container .animal-details-content .entry-content {width: 85%;}
#top.single-animal .animal .animal-details-photo-container .below-animal-photo-buttons {margin: 3% 0;}
#top.single-animal .animal .animal-details-photo-container .below-animal-photo-buttons .rhspca-button {margin: 10px 0;}
#top.single-animal .animal .animal-details-photo-container .below-animal-photo-buttons .rhspca-button a {min-width: 255px;}
#top.single-animal .animal .animal-details-photo-container .below-animal-photo-buttons .rhspca-button.donate a {
    background: #0A406B;
}
#top.single-animal .animal .animal-details-photo-container .below-animal-photo-buttons .rhspca-button.donate a:hover {
    background: #052f59;
    opacity: 1;
}
#top.single-animal .animal-details-photo-container .animal-social {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 10%;
}
#top.single-animal .animal-details-photo-container .animal-social span {
    font-family: alkaline, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 22px;
    margin-right: 15px;
    color: #0A406B;
}
#top.single-animal .animal-details-photo-container .animal-social ul.social_bookmarks {
    float: none;
    display: inline-block;
    position: relative;
    top: -5px;
}
#top.single-animal .animal-details-photo-container .animal-social ul.social_bookmarks li {
    margin: 0 0 0 10px;
    float: none;
    display: inline-block;
    font-size: 30px;
    background: transparent;
    color: #0A406B;
    border: 0;
}
#top.single-animal .animal-details-photo-container .animal-social ul.social_bookmarks li a {
    color: #0A406B;
    background: transparent;
    font-size: 30px;
    transform: scale(1);
    transition: all 300ms ease-in-out;
    text-decoration: none !important;
}
#top.single-animal .animal-details-photo-container .animal-social ul.social_bookmarks li a:hover,
#top.single-animal .animal-details-photo-container .animal-social ul.social_bookmarks li:hover a {
    color: #0097DC !important;
    transform: scale(1.1,1.1);
    background-color: transparent !important;
}
#top.single-animal .animal-details-content-container .animal-details-hello {width: 85%;}
#top.single-animal .rhspca-full-button.dark-blue a {
    color: #fff !important;
    background: #0A406B;
}
#top.single-animal .rhspca-full-button.dark-blue a span {
    color: #fff !important;
}
#top.single-animal #adoption-fees,
#top.single-animal #animal-faqs {margin-top: 5%;}
#top.single-animal #view-all > .container {max-width: 100% !important;}
#top.single-animal .container_wrap_first > .container > .content {
    padding-top: 70px;
    padding-bottom: 0;
}
#top.single-animal #adoption-fees.cat div.flex_column:first-child .avia-icon-list li:nth-child(1) h4.iconlist_title {
    background: #0297dc;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
}
#top.single-animal #adoption-fees.dog div.flex_column:first-child .avia-icon-list li:nth-child(2) h4.iconlist_title {
    background: #0297dc;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
}
#top.single-animal #adoption-fees.small-mammal div.flex_column:first-child .avia-icon-list li:nth-child(3) h4.iconlist_title {
    background: #0297dc;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
}
/*popup widget*/
#top .pum .pum-container,
#top .pum-theme-lightbox .pum-container {
    border-radius: 0;
    border: 0;
    background-color: #D9F1FD;
    padding: 40px;
}	
#top .pum .pum-container .pum-title,
#top .pum-theme-lightbox .pum-title {
    font-family: 'Antonio Bold';
    text-transform: capitalize;
    color: #0A406B;
    font-size: 48px;
    line-height: 54px;
    text-align: center;
}	
.pum .pum-container .pum-content h3 {
    color: #0A406B;
    font-family: 'Antonio Regular';
    font-weight: 400;
    font-size:24px;
    line-height:34px;
    margin-bottom: 40px;
}	
.pum .pum-container .pum-content p a {
background: #0297DC;
    color: #fff;
	display: inline-block;
    font-family: 'Antonio Regular';
    font-size: 24px;
    line-height: 26px;
    text-transform: uppercase;
    padding: 13px 40px 14px;
    border-radius: 10px;
    box-shadow: none;
    border: 0;
    text-decoration: none !important;
    min-width: 200px;
    text-align: center;
    margin: auto;
    transition: all 300ms ease-in-out;
}	
.pum .pum-container .pum-content p a:hover {background: #F79251;}
.pum .pum-container button.pum-close {
    border-radius: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    color: #F79251;
    font-size: 38px;
    height: 30px;
    width: 30px;
    right: 0;
    top: 5px;
    transform: scale(1);
    transition: all 300ms ease-in-out;
}	
.pum .pum-container button.pum-close:hover {transform: scale(1.2);}
/******************************
=Mobile Styles
******************************/
@media only screen and (max-width: 1300px) {
    #top #animal-slider-section .animal-details-content-container {padding-left: 50px;}
}
@media only screen and (max-width: 1250px) {
    #top #animal-slider-section .animal-details-content-container, 
    #top .animal .animal-details-content-container {padding-left: 40px;}
    #top #animal-slider-section .animal-details-photo-container .animal-details-photo-cover-photo img, 
    #top .animal .animal-details-photo-container .animal-details-photo-cover-photo img {
        min-height: 0;
    }
    #top.single-animal .animal-details-content-container .animal-details-hello {width: 100%;}
}
/*larger than tablet*/
@media only screen and (min-width: 990px) {

}

/*tablet and smartphone*/
@media only screen and (max-width: 989px) {
    #top #header_main .main_menu li.menu-donate a span.avia-menu-text {font-family: 'Antonio Bold';}
    #header_main.burger-menu-open .main_menu li.menu-item-avia-special {
        position: fixed;
        right: 50px;
    }
    #top #header_main .main_menu #av-burger-menu-ul > li > a > span.avia-menu-text {
        font-size: 18px;
        font-weight: 600;
    }
    .html_av-overlay-side #top #wrap_all .av-burger-overlay-scroll #av-burger-menu-ul a {color: #013a70;}
    .html_av-overlay-side #top .av-burger-overlay-scroll {background: #D9F1FD;}
    .html_av-overlay-side-classic #top #wrap_all .av-burger-overlay #av-burger-menu-ul li a {border: 0;}
    .html_av-overlay-side-classic #top #wrap_all .av-burger-overlay #av-burger-menu-ul li a span.avia-bullet {background: #013a70;}
    #top #header_main .main_menu li.menu-donate {margin-top: 30px;}
    #top #header_main .main_menu li.menu-donate a {
        text-align: center;
        line-height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #0297DC;
        width: max-content;
        margin: auto;
        border-radius: 10px;
        color: #fff !important;
        padding: 10px 35px;
    }
    #top #header_main .main_menu li.menu-donate a:hover {background-color: #F79251 !important;}
    .html_av-overlay-side.av-burger-overlay-active #top .av-hamburger-inner,
    .html_av-overlay-side.av-burger-overlay-active #top .av-hamburger-inner::before, 
    .html_av-overlay-side.av-burger-overlay-active #top .av-hamburger-inner::after {
        background-color: #0297DC;
    }
    #top #header_main .main_menu li.menu-donate a span.avia-menu-text {font-size: 30px !important;}
    #top #header_main > .container {padding-right: 50px;}
    #top #metrics-section .avia-animated-number {
        width: 175px;
        height: 175px;
    }
    #top .rhspca-tabs {width: 100%;}
    #top #animal-slider-section .animal-details-container,
    #top .animal .animal-details-container {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    #top #animal-slider-section .animal-details-photo-container, #top .animal .animal-details-photo-container {
        width: 100%;
        display: inline-block;
        height: 100%;
    }
    #top #animal-slider-section .animal-details-photo-container .animal-details-photo-cover-photo, #top .animal .animal-details-photo-container .animal-details-photo-cover-photo {
        width: 100%;
        height: 400px;
        text-align: center;
    }
    #top #animal-slider-section .animal-details-photo-container .animal-details-photo-cover-photo img, #top .animal .animal-details-photo-container .animal-details-photo-cover-photo img {
        left: calc(50% - 200px);
    }
    #top #animal-slider-section .animal-details-content-container, #top .animal .animal-details-content-container {
        padding: 0;
        width: 100%;
        margin-top: 50px;
    }
    #top #animal-slider-section .animal-details-photo-container .animal-details-photo-cover-photo .animal-details-photo-cover-photo-location-badge, #top .animal .animal-details-photo-container .animal-details-photo-cover-photo .animal-details-photo-cover-photo-location-badge {
        left: calc(50% - 250px);
    }
    #top.single-animal .animal-details-content-container .animal-details-hello {
        flex-direction: column-reverse;
        align-items: flex-start;
        text-align: center;
    }
    #top.single-animal .animal-details-content-container .animal-details-hello h3 {text-align: left !important;}
    #top #animal-filter .wpv-filter-form /*.animal-filter-second-row*/ {
        display: inline-block;
        width: 100%;
    }
    #top #animal-filter .wpv-filter-form /*.animal-filter-second-row*/ .form-group-checkbox {
        /*width: 30.9%;*/
        margin: 0;
        display: inline-block;
        vertical-align: top;
    }
    #top #animal-filter .js-wpv-view-layout > .container {padding: 0 !important;}
}

/*tablet only*/
@media only screen and (min-width: 768px) and (max-width: 989px) {

}

/*larger than smartphone*/
@media only screen and (min-width: 767px) {

}

/*smartphone and smaller*/
@media only screen and (max-width: 767px) {
    #top #header_main > .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 25px !important;
    }
    #header_main.burger-menu-open .main_menu li.menu-item-avia-special {right: 25px;}
    .responsive #top #header_main > .container .main_menu .av-main-nav > li > a, .responsive #top #wrap_all .av-logo-container {
        height: 110px;
        line-height: 110px;
    }
    #top #donate-section {
        background-size: auto 50%, cover;
        background-position: center bottom, center;
        min-height: 700px;
        align-items: flex-start;
    }
    #top #latest-news .avia-content-slider .slide-entry:not(:last-child) {margin-bottom: var(--margin-between-rows) !important;}
    #top #latest-news .avia-content-slider .slide-entry a img,
    #top #footer-form .gform_wrapper {width: 100%;}
    #footer {text-align: center;}
    #footer .widget {margin: 0;}
    #footer .av-iconlist-small li {
        display: flex;
        justify-content: center;
    }
    #footer .footer-social ul.social_bookmarks {padding: 0;}
    #top #layer_slider_2 .slider-bg-swoop::after {background-position: 20% 115%, 25% 85% !important;}
    #top #layer_slider_4 .slider-bg-swoop::after {background-position: 60% 110%,50% 85% !important;}
    .featured-hero .hero-content .hero-title {width: 55%;} 
    .featured-hero .container,
    .featured-hero {min-height: 375px;}
    .featured-hero .container {
        align-items: center;
        padding-bottom: 80px;
    }
	
    #top .featured-hero::after,
    #top.single-animal .featured-hero:after,
    #top.no-hero-overlay .featured-hero::after,
    #top.radial-overlay .featured-hero::after {
					background-size:
						100% 50px,
						150% 100%,
						0 0,
						cover,
						0 0;
					background-position:
						center bottom,
						right bottom 50px,
						center center,
						center center !important;
    }
    #top.radial-overlay .featured-hero::after {
					background-size:
						100% 50px,
						150% 100%,
						cover,
						0 0,
						0 0;
				}
    #top.single-animal .featured-hero:after,
    #top.no-hero-overlay .featured-hero::after {
					background-size:
						100% 50px,
						150% 100%,
						0 0,
						0 0,
						cover;
				}
	
	
    #top.single-animal .featured-hero .hero-bg {background-position: center 20px;}
    #top .featured-hero .hero-socials {
        padding: 20px 0 0;
        left: 0;
    }
    .featured-hero h1 {
        font-size: 40px;
        line-height: 46px;
    }
    #top.page-id-27 .rhspca-step-iconlist ul.avia-icon-list {
        display: inline-block;
        width: 100%;
    }
    #top.page-id-27 .rhspca-step-iconlist ul.avia-icon-list li {padding: 0;}
    #top.page-id-27 #animal-filter {margin-top: 5% !important;}
    #top #step-section, #top .step-section {margin: 0;}
    #top #step-section:not(.steps-left-img) .flex_column.first, 
    #top .step-section:not(.steps-left-img) .flex_column.first,
    #top #step-section.steps-left-img .flex_column:not(.first), 
    #top .step-section.steps-left-img .flex_column:not(.first) {
        padding: 0;
        width: 100%;
    }
    #top #step-section:not(.steps-left-img) .flex_column.double-img, 
    #top .step-section:not(.steps-left-img) .flex_column.double-img {
        position: relative;
        width: 100%;
        margin-top: 50px;
    }
    #top #step-section.steps-left-img .flex_column.double-img, 
    #top .step-section.steps-left-img .flex_column.double-img {
        position: relative;
        width: 100%;
        margin-top: 0 !important;
        margin-bottom: 50px !important;
    }
    #top #step-section:not(.steps-left-img) .flex_column.first > *, 
    #top .step-section:not(.steps-left-img) .flex_column.first > * {width: 100%;}
    #top #step-section:not(.steps-left-img) .flex_column.double-img .avia-image-container img:last-child, 
    #top .step-section:not(.steps-left-img) .flex_column.double-img .avia-image-container img:last-child {
        transform: rotate(4deg) translateX(50px);
    }
    #top #step-section:not(.steps-left-img) .flex_column.double-img .avia-image-container img:first-child, 
    #top .step-section:not(.steps-left-img) .flex_column.double-img .avia-image-container img:first-child {
        transform: rotate(-1deg) translate(40px,40px);
    }
    #top .step-section:not(.steps-left-img) .entry-content-wrapper {
        display: flex;
        flex-direction: column-reverse;
    }
    #top .step-section:not(.steps-left-img) .double-img {margin-bottom: 50px !important;}
    #top .step-section:not(.steps-left-img) .flex_column:not(.double-img) {text-align: right;}
    #top .step-section:not(.steps-left-img) .flex_column:not(.double-img) .rhspca-button a {float: right;}
    #top .step-section .flex_column:not(.double-img) .avia_textblock ul li {width: max-content;}
    #top #adoption-fees div.flex_column:first-child .avia-icon-list {
        width: 100%;
        text-align: center;
    }
    #top #adoption-fees div.flex_column:first-child .avia-icon-list p {
        text-align: center !important;
        line-height: 22px;
    }
    #top #adoption-fees div.flex_column:last-child .avia-icon-list .iconlist_title_small {line-height: 22px;}
    #top #adoption-fees div.flex_column:last-child .avia-image-container {
        left: inherit;
        margin: 0;
    }
    #top #adoption-fees div.flex_column .avia-icon-list {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        margin: auto;
    }
    #top #adoption-fees div.flex_column:last-child .avia-icon-list li {width: 100%;}
    #top #adoption-fees .flex_column_table div.flex_column:last-child .avia_textblock h3 {text-align: center !important;}
    #top .rhspca-tabs {
        border: 0;
        margin: 30px 0;
    }
    #top .rhspca-tabs .av_tab_section .tab {
        color: #44515c;
        width: 100% !important;
        margin: 0;
        font-family: 'Antonio Regular';
        font-size: 26px;
        text-transform: uppercase;
        line-height: 32px;
        text-align: left;
        font-weight: 300;
        opacity: 1;
        border-top: 1px solid #0297DC;
        border-bottom: 0;
        border-right: 0;
    }
    #top .rhspca-tabs .av_tab_section .tab.active_tab {
        background: #0297DC;
        border-color: #fff;
        border-radius: 8px;
        color: #fff;
    }
    #top .rhspca-tabs .av_tab_section .tab_content {
        background: transparent;
        padding: 15px 25px;
    }
    #top #foster-care-section > .container {
        width: 100% !important;
        max-width: 100% !important;
    }
    #top #foster-care-section .flex_column.first {width: 100%;}
    #top .avia-table {border: 0;}
    #top .avia-table tr td:first-child {
        background: #0A406B !important;
        color: #fff !important;
        text-transform: uppercase;
        font-family: 'Antonio',sans-serif;
        font-style: normal;
        font-size: 18px;
        font-weight: 300;
        line-height: 30px;
    }
    #top .avia-table tr td:first-child:before {
        display: block;
        font-style: normal;
        font-size: 20px;
        font-weight: bold;
    }
    #top .avia-table tr td {
        font-size: 16px;
        border-right: 0;
        border-left: 0;
    }
    #top .avia-table tr td:before {
        font-style: normal;
        font-size: 16px;
    }
    #top .animal .animal-details-content-container .animal-details-stats ul li {width: 49%;}
    #top #animal-filter .js-wpv-view-layout > .container {
        width: 100% !important;
        max-width: 100% !important;
    }
    #top #animal-filter .js-wpv-view-layout > .container > .row {
        display: inline-block !important;
        width: 100%;
        margin: 0;
    }
    #top #animal-filter .js-wpv-view-layout > .container > .row > .col-sm-4 {
        width: 100% !important;
        margin: 5% 0 !important;
    }
    #top #animal-filter .js-wpv-view-layout > .container > .row > div.col-sm-4:last-child {margin-bottom: 0 !important;}
    #top #animal-filter .wpv-filter-form .animal-filter-by-type .filter-row-buttons {
        width: 100%;
        display: inline-block;
    }
    #top #animal-filter .wpv-filter-form .animal-filter-by-type .filter-row-buttons .radio {
        width: 48%;
        margin: 1%;
        display: inline-block;
    }
    #top #animal-filter .wpv-filter-form /*.animal-filter-second-row*/ .form-group-checkbox {
        /*width: 47.25%;
        margin: 1%;*/
    }
    #top #animal-filter .js-wpv-view-layout .row .col-sm-4 .single-animal-card .animal-header-badge {
        right: inherit;
        left: -20px;
    }
    #top #animal-slider-section .animal-details-content-container .animal-details-hello {
        flex-direction: column-reverse;
        text-align: left;
        align-items: flex-start;
    }
    #top #animal-slider-section .js-wpv-view-layout {padding: 0;}
    #top #animal-slider-section .wpv-filter-form {align-items: flex-end;}
    #top #animal-slider-section .wpv-filter-form ul.pagination:not(.pagination-dots) {
        bottom: -40px;
        margin: 0;
    }
    #top .animal .animal-details-content-container {padding: 0 30px;}
    #top.home #view-all p {text-align: center !important;}
}
@media only screen and (max-width: 549px) {
    #top.secondary-page #layer_slider_2 .slider-bg-swoop::after {background-position: 60% 110%,50% 85% !important;}
}
/*iPhone 6 and smaller*/
@media only screen and (max-width: 500px) {
    #top .featured-hero .featured-tagline {display: none;}
    #top.no-hero-overlay .featured-hero .hero-bg {background-position: center top;}
    #top #donate-section {
        min-height: 750px;
        background-size: auto 40%, cover;
    }
    #top #donate-section .avia_textblock p {
        font-size: 32px;
        line-height: 36px;
    }
    #top #partners .avia-content-slider .slide-entry-wrap {display: inline-block;}
    #top #partners .avia-content-slider .slide-entry-wrap .slide-entry {
        display: inline-block;
        width: 50%;
    }
    #socket span.copyright a {display: block;}
    #top #adoption-fees div.flex_column .avia-icon-list {width: 100%;}
    #top .paypal-button a .paypal-text {flex-direction: column;}
    .featured-hero .hero-content .hero-title {width: 65%;}
    /*#top #animal-slider-section .animal-details-hello h3, #top .animal .animal-details-hello h3 {text-align: center;}*/
    #top #animal-slider-section .animal-details-content-container .animal-details-hello, #top .animal .animal-details-content-container .animal-details-hello {
        flex-direction: column-reverse;
    }
    #top #animal-slider-section .animal-details-content-container .animal-details-stats ul li, #top .animal .animal-details-content-container .animal-details-stats ul li {
        width: 49%;
    }
    #top #animal-slider-section .animal-details-content-container .animal-details-content .animal-details-content-heading {
        width: 100%;
        flex-direction: column;
    }
    #top #animal-slider-section .animal-details-content-container .animal-details-content .animal-details-content-heading .animal-social {margin-top: 25px;}
    #top #animal-slider-section .animal-details-photo-container .animal-details-photo-cover-photo img, #top .animal .animal-details-photo-container .animal-details-photo-cover-photo img {
        left: inherit;
    }
    #top #animal-slider-section .animal-details-photo-container .animal-details-photo-cover-photo, #top .animal .animal-details-photo-container .animal-details-photo-cover-photo {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    #top #animal-slider-section .animal-details-photo-container .animal-details-photo-cover-photo .animal-details-photo-cover-photo-location-badge, #top .animal .animal-details-photo-container .animal-details-photo-cover-photo .animal-details-photo-cover-photo-location-badge {
        left: 0;
    }
    #top .animal .animal-details-photo-container .animal-details-photo-cover-photo {
        width: 85%;
        margin: auto;
    }
    #top.single-animal .animal .animal-details-photo-container .animal-details-photo-cover-photo img {
        left: inherit;
    }
    #top.single-animal .animal .animal-details-photo-container .animal-details-photo-cover-photo img:nth-child(2) {
        transform: rotate(-5deg) translate(0,5px);
    }
    #top.single-animal .animal .animal-details-photo-container .animal-details-photo-cover-photo img:nth-child(1) {
        /*transform: rotate(5deg) translate(0,15px);*/
        min-height: 300px;
        max-height: 300px;
    }
    #top.single-animal .animal .animal-details-photo-container .animal-details-photo-additional-photos img {width: 100%;}
    #top #animal-filter .wpv-filter-form /*.animal-filter-second-row*/ .form-group-checkbox .checkbox-container {padding: 15px;}
    #top.single-animal .animal .animal-details-photo-container .animal-details-photo-additional-photos a {width: 47%;}
    #top.single-animal .animal .animal-details-photo-container .animal-details-photo-cover-photo > a {
        height: 300px;
        width: 300px;
    }
    #top .animal .animal-details-content-container .animal-details-content .entry-content {width: 100%;}
}



