/* * * * * * * * *
    CONTROL BAR
 * * * * * * * * */

#animals_control_bar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	margin-top: 60px;
	height: 50px;
	z-index: 5;
}

#animals_control_bar .content {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	height: 100%;
	width: 100%;
	padding: 0 2em;
	background-color: var(--background-color);
	box-shadow: 0 1px 3px rgba(var(--background-color-inverse-rgb), .15);
}

#animals_control_bar .content .content_item {
	height: 100%;
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

#animals_control_bar .content .content_item.left {
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
}

#animals_control_bar .content .content_item.center {
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;

	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
}

#animals_control_bar .content .content_item.right {
	-webkit-box-pack: end;
	-ms-flex-pack: end;
	justify-content: flex-end;
}

#animals_control_bar .content .content_item .btn_control_item {
	margin-right: 1em;
	cursor: pointer;
	padding: 0.25em 0.5em;
}

#animals_control_bar .content .content_item .btn_control_item:hover {
	background-color: var(--hover-grey);
}

#animals_control_bar .content .content_item .btn_control_item:hover img {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

#animals_control_bar .content .content_item .btn_control_item img.icon {
	height: 1.375em;
	margin-top: 0.2em;
    -webkit-transition: all	0.2s ease-in-out;
    transition: all	0.2s ease-in-out;
}

body.night_mode #animals_control_bar .content .content_item .btn_control_item img.icon {
	filter: invert(1) grayscale(1) brightness(1);
}

#animals_control_bar .content .content_item .btn_control_item.inactive img.icon {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
	border-radius: 50%;
}

#animals_control_bar .content .content_item .btn_control_item div.label {
	font-size: 0.625em;
    color: var(--text-lighter);
}

#animals_control_bar .content .content_item .btn_control_item:hover div.label {
    color: var(--text-default);
}

#animals_control_bar .content .content_item.center #main_header {
	font-weight: bold;
	font-size: 1.0em;
}

#animals_control_bar .content .content_item.center #sub_header {
	font-size: 0.8125em;
}

#animals_control_bar .content .content_item.center #report_question_header {
	font-size: 1.25em;
	font-weight: bold;
	display: none;
}

#animals_control_bar .content .content_item .search_input_container {
	position: relative;
	width: 15em;
}

#animals_control_bar .content .content_item .search_input_container input#search_input {
	height: 2.5em;
	width: 100%;
	border-radius: 1em;
	border: 1px solid silver;
	outline: none;
	background-color: var(--background-color);
	padding: 0 4em 0 1.5em;
	-webkit-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
	-webkit-transition-property: width, background-color;
	-o-transition-property: width, background-color;
	transition-property: width, background-color;
}

body.night_mode #animals_control_bar .content .content_item .search_input_container input#search_input {
	color: var(--text-default);
}

#animals_control_bar .content .content_item .search_input_container input#search_input:focus {
	outline: none;
	border-color: #9ecaed;
	box-shadow: 0 0 10px #9ecaed;
}

#animals_control_bar .content .content_item .search_input_container button.submit,
#animals_control_bar .content .content_item .search_input_container button.cancel {
	position: absolute;
	top: 50%;
	-webkit-transform: translate(0, -50%);
	transform: translate(0, -50%);
	height: 2em;
	background: none;
	border: none;
	outline: none;
	cursor: pointer;
	margin-top: 0.2em;
}

#animals_control_bar .content .content_item .search_input_container button.submit {
	right: 0.75em;
}

#animals_control_bar .content .content_item .search_input_container button.cancel {
	right: 2.25em;
	display: none;
}

#animals_control_bar .content .content_item .search_input_container img.icon {
	height: 1.0em;
}

/* * * * * * * * *
    END CONTROL BAR
 * * * * * * * * */

/*PAGE*/
#page_wrapper {
	width: 100%;
	position:relative;
	margin-top: 8.5em;
	min-height: 80%;
	padding-bottom: 100px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	z-index: 2;

}

#page_left {
	display: none;
	position: fixed;
	top: 7em;
	bottom: 0;
	width: 22em;
	padding: 1em;
	opacity: 1;
	background-color: var(--background-color);
	-webkit-transition: width 0.5s ease-in-out, opacity 0.5s ease-in-out;
	transition: width 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

#page_wrapper.listening #page_left {
	padding-top: 1em;
}

#page_left.invisible {
	opacity: 0;
}

#page_right {
	position: relative;
	-ms-flex: 1;
	flex: 1;
	text-align: left;
	margin-left: 24em;
	margin-right: 2em;
	opacity: 1;
	-webkit-transition: margin-left 0.5s ease-in-out, opacity 0.5s ease-in-out;
	transition: margin-left 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

#page_right.full_width {
	margin-left: 2em;
}

#mask {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	background: rgba(0,0,0,0.75);
	display: none;
}

/*END PAGE*/

/*MENU*/

#animals_menu {
	/*overflow: hidden;*/
}

#menu_content_wrapper {
	position: relative;
	padding: 0.25em 0;
	background: var(--background-whitesmoke);
	border-radius: 1em;
	border: 1px solid silver;
	overflow: hidden;
}

#menu_content_wrapper .menu_content {
	height: 100%;
	overflow-y: auto;
	max-height: calc(100vh - 10em);
	padding: 1em 0 1.5em 0;
}

.category_heading {
	position: relative;
    display: block;
}

.category_heading:hover,
.category_heading.selected {
	background: var(--hover-grey-darker);
}

.category_heading.selected {
	font-weight: 500;
}

.category_heading a {
    display: flex;
	align-items: center;
	justify-content: flex-start;
	cursor: pointer;
	padding: 0.75em 1em;
}

.category_heading img.item_icon {
	height: 2em;
	width: auto;
	margin: 0 0.75em 0 0;
}

.category_heading img.main_item_toggle {
	height: 1.25em;
}

body.night_mode .category_heading img.main_item_toggle {
	filter: invert(1);
}

.category_heading a .category_label {
	flex: 1;
}

.menu_content ul {
	display: none;
    padding: 0;
	list-style-type: none;
	margin: 0;
}

.menu_content li {
	padding: 0;
	margin: 0;
}

.menu_content li a {
	padding: 0.25em 1em 0.25em 2em;
	margin: 0;
}

.menu_content li a span.animal_name {
	color: var(--text-lighter);
}

.menu_content .category a {
	text-decoration: none;
	color: var(--text-default);
	text-align: left;
	width: 100%;
	height: 100%;
}

.menu_content .category a:not(.menu_main_item):hover,
.menu_content .category a:not(.menu_main_item).selected {
    background: var(--hover-grey);
}

.menu_content .category a.selected {
	font-weight: bold;
}

.animal_link {
	display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.animal_link span {
	font-size: 0.95em;
	padding: 0.25em;
}

.animal_link img  {
    height: 12px;
    width: 12px;
}

body.night_mode .animal_link img  {
	filter: invert(1);
}


/*END MENU*/

/* MOBILE */

/*SEARCH RESULTS*/
mark {
	background: lightyellow;
}

#search_content_container {
	display: none;
}

#search_content {
	position: relative;
}

#search_result_summary {
	text-align: left;
	margin-bottom: 20px;
}

.search_result_item {
	position: relative;
	width: 100%;
	height: 100px;
	margin-bottom: 20px;
	text-align: left;
	cursor: pointer;
	display: flex;
	overflow: hidden;
}

.search_result_item:hover {
	background-color: var(--background-whitesmoke);
}

.search_result_item:hover img {
	-webkit-filter: brightness(.8);
    filter: brightness(.8);

}

.search_result_item img {
	background: #336633;
	padding: 2px;
	height: 100%;
	margin-right: 20px;
}

.search_result_item:hover .search_result_title {
	color: #3e3e3e;
}

body.night_mode .search_result_item:hover .search_result_title {
	color: var(--text-default);
}

.search_result_category {
	font-size: 1em;
	color: #ccc;
	margin-bottom: 3px;
}

.search_result_description {
	font-size: 0.75em;
	color: silver;
}

/*END SEARCH RESULTS*/


/*OVERVIEW*/

#overview_container {
	width: 100%;
	text-align: left;
}

#overview_title {
	padding: 0;
	margin: 0 0 50px 0;
	text-align: center;
}

#overview_description {
	color: grey;
	text-align: left;
	margin-bottom: 40px;
}

#category_container ul, #animal_container ul {
	padding-inline-start: 2em;
}

#category_container ul li, #animal_container ul li {
	font-size: 1.0em;
	margin: 0.5em 0;
}

#overview_content, .animal_category_content {

	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;

}

.category_overview_item {
	width:	calc(25% - 3em);
	margin-right: 3em;
	margin-bottom: 3em;
}

.category_overview_item img {
	display:block;
	width: 100%;
	height:auto;
	border-radius: 0.5em;
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}

.category_overview_item a {
	display:block;
	width: 100%;
	text-decoration: none;
}

.category_overview_item a div {
	text-align: center;
	color: var(--text-lighter);
	margin-top: 1.0em;
}

.category_overview_item a:hover img {
	-webkit-transform: scale(1.025);
	transform: scale(1.025);
	-webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.6);
	box-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.category_overview_item a:hover div {
	color: var(--text-default);
	font-weight: 500;
}

/*END OVERVIEW*/

/* ANIMAL PAGE  */

#content_container {
	line-height: 1.375em;
	padding-top: 0.5em;
}

#animal_container,  #animal_category_container, #overview_container {
	overflow: hidden;
	width: 100%;
}

#content_container div.guest_only {
	display: none;
	margin-bottom: 2em;
	color: var(--text-lighter);
}

#animal_content,  #animal_category_content {
	margin: 0 auto;
	width: 100%;
	padding-bottom: 100px;
	-webkit-user-select: none;  /* Chrome all / Safari all */
	-moz-user-select: none;     /* Firefox all */
	-ms-user-select: none;      /* IE 10+ */
	user-select: none;          /* Likely future */
	cursor: default;
}

#animal_category_content img {
	width: 100%;
	margin-bottom: 30px;
	padding: 1px 1px 0.5px 1px;
	background: black;
}

h1 {
	text-align: left;
	margin: 0 0 1.25em 0;
	font-size: 2.0em;
}

h1.animal_only {
	margin: 0 0 0.5em 0;
}

#animal_content div.animal_header {
	margin-bottom: 1em;
	padding-top: 0.25em;
}

#animal_content div, #animal_category_content div, .animal_category_description {
	text-align: left;
}

#animal_description h4 {
	font-size: 1.125em;
	margin-top: 2em;
	margin-bottom: 1em;
}

#animal_media_container {
	position: relative;
}

#animal_image_container,
#animal_video_container {
	position: relative;
	width: 100%;
	margin-bottom: 2em;
	padding: 0;
	display: none;
}

#animal_image_container #animal_image_wrapper {
	position: relative;
}

#animal_image_container #animal_image_wrapper #animal_image {
	position: relative;
	display: block;
	width: 100%;
	cursor: pointer;
}

#animal_image_container #animal_image_wrapper img.icon_fullscreen {
	position: absolute;
	right: 0.75em;
	bottom: 0.75em;
	width: 2em;
	border-radius: 50%;
	padding: 0.25em;
	cursor: pointer;
	pointer-events: none;
	transition: background-color 0.2s ease-out;
}

#animal_image_container #animal_image_wrapper img.icon_fullscreen:hover,
#animal_image_container #animal_image_wrapper #animal_image:hover ~ img.icon_fullscreen {
	background-color: rgba(1,1,1,0.65);
}

#animal_image_caption {
	position: relative;
	background-color: var(--background-whitesmoke);
	color: var(--text-lighter);
	width: 100%;
	padding: 0.75em 1em;
	font-size: 0.95em;
}

#animal_image_container #fullscreen_animal_image_notification {
	display: none;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	background: rgba(0,0,0,0.65);
	text-align: center;
	padding: 0.75em;
	font-size: 1em;
	border-radius: 0.5em;
	pointer-events: none;
}

#animal_media_container #animal_video_container {
	position: relative;
}

#animal_media_container #animal_video_container #animal_video {
	width: 100%;
	outline: none;
}

#animal_video_caption {
	position: relative;
	color: var(--text-lighter);
	width: 100%;
	padding: 0.5em 1em;
	font-size: 0.95em;
	margin-top: -4px;
}

.animal_category_description {
	margin-bottom: 30px;
}

/*ANIMAL GALLERY*/

#animal_gallery {

	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-bottom: 30px;
    padding: 2px;

}

.animal_gallery_item {
	width: calc(20% - 1.5em);
	margin-right: 1.875em;
	margin-bottom: 0.75em;
	cursor: pointer;
	border-radius: 0.5em;
}

.animal_gallery_item:nth-child(5n+1) {
	margin-right: 0;
}

.animal_gallery_item.disabled {
	opacity: 0.5;
	cursor: default;
	border: none;
}

.animal_gallery_item img {
	width: 100%;
	-webkit-transition: all .2s ease-in-out; 
	transition: all .2s ease-in-out;
}

.animal_gallery_item.selected img {
	outline: 2px solid dodgerblue;
}

.animal_gallery_item:not(.selected):not(.disabled) img:hover {
	-webkit-transform: scale(1.025);
	transform: scale(1.025);
	-webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.6);
	box-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.animal_gallery_hidden_caption {
	display: none;
}

/* END ANIMAL GALLERY */

/* FULL SCREEN IMAGE */
#fullscreen_animal_image_container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100%;
	background: rgba(0, 0, 0, 0.9);
	overflow: hidden;
	display: none;
	z-index: 10001;
	animation: bounceIn 0.1s;
}

#fullscreen_animal_image_zoom_wrapper {
	position: absolute;
	top: 0;
	bottom: 3.5em;
	left: 0;
	right: 0;
	overflow-x: auto;
	overflow-y: auto;
	cursor: grab;
	scrollbar-gutter: stable;
}

#fullscreen_animal_image {
	position: absolute;
	top: 0;
	left: 0;
	transform-origin: top left;
	max-width: none;
	max-height: none;
	/* width/height will be set via JS */
	opacity: 0;
	transition: opacity 0.1s ease;
}

#fullscreen_animal_image_controller_container {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 3.5em;
	background: black;
	z-index: 10002;
}

#btn_exit_fullscreen_animal_image {
	z-index: 10002;
	position: absolute;
	left: 50%;
	bottom: 0.6125em;
	transform: translateX(-50%);
	width: auto;
	height: auto;
	display: flex;
	align-items: center;
	padding: 0.75em 1.5em;
	white-space: nowrap;
}

#btn_exit_fullscreen_animal_image span {
	margin-right: 0.75em;
	font-size: 1.25em;
}

#btn_exit_fullscreen_animal_image img.icon {
	height: 1.5em;
	width: auto;
}

#fullscreen_animal_image_zoom_slider {
	position: absolute;
	bottom: 0.25em;
	right: 2em;
	width: 12em;
	z-index: 10002;
	margin-bottom: 1.25em;
}

/* full screen image animations */
@keyframes bounceIn {
	0% {
		transform: scale(0.1);
		opacity: 0;
	}
	60% {
		transform: scale(1.1);
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}

@-webkit-keyframes bounceIn {
	0% {
		transform: scale(0.1);
		opacity: 0;
	}
	60% {
		transform: scale(1.1);
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}

/* END FULL SCREEN IMAGE */

/* SAVED ANIMALS */
#category_content .saved_animals_description {
	text-align: left;
	color: var(--text-lighter);
}

#no_saved_animals_content {
	text-align: left;
	display: none;
}

#no_saved_animals_content a {
	color: dodgerblue;
}

#no_saved_animals_content a:hover {
	color: var(--color-link-hover);
}

#saved_animal_items_container {
	position: relative;
	display: -webkit-box;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	margin: 1em -1em;
}

#saved_animal_items_container div.saved_animal_item {
	position: relative;
	width: 14em;
	padding: 0.75em 1em;
	cursor: pointer;
}

#saved_animal_items_container div.saved_animal_item:hover {
	/*-webkit-box-shadow: 0 3px 6px rgba(0,0,0,0.5);
	box-shadow: 0 3px 6px rgba(0,0,0,0.5);*/
}

#saved_animal_items_container div.saved_animal_item img.icon_delete {
	display: none;
	position: absolute;
	right: 0;
	top: 0;
	height: 1.25em;
	z-index: 1;
	cursor: pointer;
	-webkit-transition: all 0.25s ease-in-out;
	transition: all 0.25s ease-in-out;
}

#saved_animal_items_container div.saved_animal_item:hover img.icon_delete {
	display: block;
}

#saved_animal_items_container div.saved_animal_item img.icon_delete:hover {
	-webkit-filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
	-webkit-transform: scale(1.05);
	transform: scale(1.05);
}

#saved_animal_items_container div.saved_animal_item:hover img.icon_delete {
	opacity: 1;
}

#saved_animal_items_container div.saved_animal_item img.icon_delete.hidden {
	display: none;
}

#saved_animal_items_container div.saved_animal_item a {
	position: relative;
	display: block;
	width: 100%;
	text-decoration: none;
}

#saved_animal_items_container div.saved_animal_item a img.animal_image {
	display: block;
	width: 100%;
	-webkit-transition: all 0.25s ease-in-out;
	transition: all 0.25s ease-in-out;
	border-radius: 0.5em;
}

#saved_animal_items_container div.saved_animal_item:hover a img.animal_image {
	-webkit-transform: scale(1.05);
	transform: scale(1.05);
	filter: drop-shadow(0 3px 2px rgba(0,0,0,0.5));
}

#saved_animal_items_container div.saved_animal_item div.label_animal_name {
	color: var(--text-lighter);
	text-align: center;
	margin-top: 0.75em;
}

#saved_animal_items_container div.saved_animal_item:hover div.label_animal_name {
	color: var(--text-default);
	font-weight: 500;
}


/* END SAVED ANIMALS */

/* QUIZ BUTTON */
div.btn_start_animal_category_quiz {
	display: block;
	position: relative;
	font-size: 1.0em;
	font-weight: 500;
	text-align: center;
	line-height: 2.5em;
	color: var(--text-lighter);
	cursor: pointer;
	vertical-align: middle;
	padding: 0;
	width: 22em;
	border-radius: 0.5em;
	border: 1px solid;
	border-color: var(--text-lighter);
	background-color: var(--background-color);
	margin: 1em 0 1em 0;
}

div.btn_start_animal_category_quiz:hover,
div.btn_start_animal_category_quiz:active,
div.btn_start_animal_category_quiz:focus {
	background-color: var(--text-lighter);
	color: white;
}

/* READSPEAKER */
#readspeaker_container {
	position: fixed;
	top: 6.9em;
	left: 1px;
	width: 100%;
	z-index: 10;
}

/* PROMO - SIGNUP */
.promo_signup {
	width: 100%;
	margin-top: 2em;
	padding-top: 1em;
	border-top: 1px solid #eaeaea;
	text-align: left;
	margin-bottom: 3em;
}

.promo_signup_content {
	width: 100%;
	display: none;
	text-align: center;
	margin: 1em auto;
}

.promo_signup_content p {
	color: grey;
}

.promo_signup_content.reco button.btn_reco_signup {
	border: none;
	padding: 0.75em 3em;
	cursor: pointer;
	font-weight: bold;
	font-size: 1.125rem;
	border-radius: 0.5em;
}

.promo_signup ul {
	padding-left: 0;
}

.promo_signup li {
	list-style-position:inside;
	font-weight: 500;
}

.promo_signup_content .promo_image {
	margin: 2em auto 3em auto;
	width: 50%;
}

.promo_image img {
	width: 100%;
}

.btn_promo_convert_wrapper {
	text-align: center;
}

.btn_promo_convert {

	display: inline-block;
	font-weight: 500;
	font-size: 1.125em;
	padding: 0.75em 5em;
	margin: 0 auto 0 auto;
	border-radius: 10px;
	border: none;
	cursor: pointer;
	color: white;
	outline: none;
	text-decoration: none;
	text-align: center;

	background: #1b99e6; /* For browsers that do not support gradients */
	background: -webkit-linear-gradient(#1da1f2, #1b99e6); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(#1da1f2, #1b99e6); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(#1da1f2, #1b99e6); /* For Firefox 3.6 to 15 */
	background: linear-gradient(#1da1f2, #1b99e6); /* Standard syntax */

}

.btn_promo_convert:hover {
	color: white;
	background: #1069bc; /* For browsers that do not support gradients */
	background: -webkit-linear-gradient(#1da1f2, #1069bc); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(#1da1f2, #1069bc); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(#1da1f2, #1069bc); /* For Firefox 3.6 to 15 */
	background: linear-gradient(#1da1f2, #1069bc); /* Standard syntax */

}

/* END PROMO CONTENT */

/* TIPS */
div.tip {
	background-color: #f81b84;
	color: white;
	padding: 0.75em 1em;
	border-radius: 1em;
	box-shadow: 0 3px 6px rgba(248,27,132, 0.5);
	cursor: pointer;
	z-index: 5;
}

#video_quality_tip_anchor {
	height: 0;
	width: 0;
	position: absolute;
	bottom: 0;
	right: 0;
}

#video_quality_tip {
	display: none;
	width: 15em;
}

#video_quality_tip:before {
	content: '';
	position: absolute;
	right: 3px;
	top: -1em;
	width: 0;
	height: 0;
	border-left: 13px solid transparent;
	border-bottom: 26px solid #f81b84;
	border-right: 13px solid transparent;
}

#fullscreen_animal_image_zoom_tip {
	display: none;
	width: 20em;
	max-width: calc(100% - 1em);
	position: absolute;
	right: 5.5em;
	bottom: 4.5em;
}

#fullscreen_animal_image_zoom_tip:before {
	content: '';
	position: absolute;
	right: 2px;
	bottom: -1em;
	width: 0;
	height: 0;
	border-left: 13px solid transparent;
	border-top: 26px solid #f81b84;
	border-right: 13px solid transparent;
}

/* END TIPS */


/********************

  MEDIA QUERIES

*********************/
 /* Larger Devices, Wide Screens */
@media only screen and (max-width : 1600px) {

}

 /* Larger Devices, Wide Screens */
@media only screen and (max-width : 1450px) {

	.promo_signup_content .promo_image {
		width: 66%;
	}

}

 /* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {

	.promo_signup_content .promo_image {
		width: 75%;
	}

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {

	#page_left.visible {
		height: 100%;
		z-index: 4;
	}

	#page_right,
	#page_right.full_width {
		width: 100%;
		margin: 1em;
	}

	.category_overview_item {
		width:30%;
		margin-right: 3%;
	}

	#content_container {
		padding: 0.5em 1em 0 1em;
	}

	.category_overview_item {
		width: calc(33% - 2em);
		margin-right: 3em;
	}

	.category_overview_item:nth-child(3n) {
		margin-right: 0;
	}

	#readspeaker_container {
		top: 7.3em;
	}

	.promo_signup_content .promo_image {
		width: 85%;
	}

	.animal_gallery_item:nth-child(5n+1) {
		margin-right: 2em;
	}

	.animal_gallery_item {
		width: calc(25% - 1.5em);
		margin-right: 2em;
	}

	.animal_gallery_item:nth-child(4n+1) {
		margin-right: 0;
	}

	#saved_animal_items_container div.saved_animal_item {
		width: calc(33% - 0.25em);
	}

}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {

	#animals_control_bar .content .content_item .btn_control_item img.icon {
		height: 1.5em;
	}

	#search_container {
		padding: 0 25px;
	}

}

/* Very large phones */
@media only screen and (max-width : 620px) {

	.promo_signup_content .promo_image,
	.btn_promo_convert,
	.promo_signup_content.reco button.btn_reco_signup{
		width: 100%;
	}

	#overview_content,
	.animal_category_content {
		-webkit-box-pack: justify;
		justify-content: space-between;
	}

	#content_container {
		padding: 0.5em 0.5em 0 0.5em;
	}

	.category_overview_item {
		width:calc(50% - 1em);
		margin: 0 0 1.75em 0;
	}

	.category_overview_item a div {
		margin-top: 0.75em;
	}
}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 480px) {

	#animals_control_bar .content {
		padding: 0 0.75em;
	}

	#animals_control_bar .content .content_item.left,
	#animals_control_bar .content .content_item.right {
		width: 25%;
		-webkit-box-flex: 1;
		-ms-flex: auto;
		flex: auto;
		z-index: 1;
	}

	#animals_control_bar .content .content_item .btn_control_item div.label {
		display: none;
	}

	#animals_control_bar .content .content_item .btn_control_item:not(:last-child) {
		margin-right: 0.5em;
	}

	#animals_control_bar .content .content_item.right.focused {
		position: absolute;
		background-color: var(--background-color);
		right: 0;
		left: 0;
		width: 100%;
		height: 100%;
		padding: 0 1em;
	}

	#animals_control_bar .content .content_item.right:not(.focused) input#search_input {
		padding: 1em;
		border: none;
		background-color: transparent;
		width: 100%;
		height: 4em;
		padding: 0;
		margin: 0;
		cursor: pointer;
		color: transparent;
	}

	#animals_control_bar .content .content_item.right .search_input_container img.icon {
		height: 1.25em;
		margin-top: 0;
	}

	#animals_control_bar .content .content_item.right:not(.focused) .search_input_container img.icon {
		height: 1.5em;
		margin: 0;
	}

	#animals_control_bar .content .content_item .search_input_container button.cancel {
		right: 2.75em;
	}

	#animals_control_bar .content .content_item.right:not(.focused) ::-webkit-input-placeholder {
		color:transparent;
	}

	#animals_control_bar .content .content_item.right:not(.focused) :-moz-placeholder { /* Firefox 18- */
		color:transparent;
	}

	#animals_control_bar .content .content_item.right:not(.focused) ::-moz-placeholder {  /* Firefox 19+ */
		color:transparent;
	}

	#animals_control_bar .content .content_item.right:not(.focused) :-ms-input-placeholder {
		color:transparent;
	}

	#animals_control_bar .content .content_item.center {
		width: 50%;
		-webkit-box-flex: 1;
		-ms-flex: auto;
		flex: auto;
		padding: 0 0.5em;
	}

	#animals_control_bar .content .content_item .btn_control_item {
		margin-right: 0.5em;
		padding: 0.75em 0.25em;
	}

	#animals_control_bar .content .content_item .search_input_container {
		width: 100%;
	}

	#page_left {
		width: 100%;
	}

	#page_right,
	#page_right.full_width {
		-webkit-box-flex: 1;
		-ms-flex: auto;
		flex: auto;
		width: 100%;
		margin: 0 1em 1em 1em;
	}

	#page_wrapper.listening #page_right,
	#page_wrapper.listening #page_right.full_width {
		margin-top: 1.5em;
	}

	.animal_gallery_item:nth-child(5n+1),
	.animal_gallery_item:nth-child(4n+1) {
		margin-right: 1em;
	}

	.animal_gallery_item {
		width: calc(33% - 0.6em);
		margin-right: 1em;
		margin-bottom: 0.5em;
	}

	.animal_gallery_item:nth-child(3n+1) {
		margin-right: 0;
	}

	#saved_animal_items_container {
		gap: 0;
	}

	#saved_animal_items_container div.saved_animal_item {
		width: calc(50% - 0em);
	}

	div.btn_start_animal_category_quiz {
		width: 100%;
	}

	#page_right,
	#animal_container {
		overflow: unset;
	}

	#animal_media_container {
		left: 50%;
		margin-left: -50vw;
		margin-right: -50vw;
		max-width: 100vw;
		position: relative;
		right: 50%;
		width: 100vw;
	}

	h1.animal_only {
		margin: 0 0 0.375em 0;
	}

	#btn_exit_fullscreen_animal_image {
		bottom: 1.5em;
	}

	#fullscreen_animal_image_zoom_slider {
		bottom: 4.5em;
		left: 50%;
		right: 50%;
		transform: translate(-50%, -50%);
	}

	#fullscreen_animal_image_zoom_tip {
		right: unset;
		left: 50%;
		bottom: 8.5em;
		transform: translateX(-50%);
	}

	#fullscreen_animal_image_zoom_tip:before {
		right: unset;
		left: 50%;
		transform: translateX(-50%);
	}
}

@media only screen and (max-width : 340px) {

	#animals_control_bar .content .content_item .btn_control_item img.icon {
		height: 1.25em;
	}

	#animals_control_bar .content .content_item .btn_control_item:not(:last-child) {
		margin-right: 0.25em;
	}
}

/********************

  END MEDIA QUERIES

*********************/