html, body {
  margin: 0px !important;
  font-family: 'futura-pt', sans-serif;
}

body[role=popup] {
  background: #fff;
  overflow-x: hidden;
  overflow-y: auto;
}

#container.animal-card {
	padding:0 40px 140px;
}

#content[role=main] h1, #content[role=popup] h1 {
  background: #77ab48;
  color: #fff;
  margin: 0px !important;
  padding: 8px 0px 8px 20px;
  font-weight: 400;
}

#content[role=main] h3, #content[role=popup] h3 {
  clear: both;
  text-transform: capitalize;
  font-size: 1.2em;
  color: #77ab48;
  font-weight: 500;
}

.meet-the-animals h3 {
  clear: both;
  margin-top: 40px;
}

#content[role=main] hr, #content[role=popup] hr {
  height: 1px;
  border-width: 0px;
  background-color: #ccc;
}

#content[role=popup] .entry-content a {
  text-decoration: underline;
  color: #77AB48;
}
  
#content[role=main] img, #content[role=popup] img {
  margin: 0px 20px 0px 0px;
  padding: 0px;
}

#content {
  margin: 0px;
}

#content[role=main] {
  margin: 10px;
  padding: 10px;
  width: 97%;
  position: relative;
}

.meet-the-animals-factbox {  
  float: right;
  margin-top: -40px;
}

.meet-the-animals-factbox h3 {  
  margin-top: 0px;
}

div.navpaged, div.navboth {
  margin-bottom: 40px !important;
}

.container_12 .grid_4 {
  width: 26.333%;
}

#content h3 {
  margin-top: 40px;
}

.animals-spotlight {
  padding-top: 40px;
}

.animals-spotlight div {
  float: left;
  position: relative;
  display: inline-block;
  width: 181px;
  height: 285px;
  margin: 0 10px 10px 0;
  overflow: hidden;
}

a.animal-spotlight {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-attachment: inherit;
  background-clip: content-box;
  background-position: left top;
  display: inline-block;
  margin: 0px 20px 20px 0px;
  line-height: 50px;
}

a.animal-spotlight span {
  background: #77ab48;
  color: #fff;
  width: 160.75px;
  height: 50px;
  padding: 2px 10px 2px 10px;
  position: absolute;
  bottom: -1px;
  left: 0px;
  text-align: center;
  font-size: 14pt;
}

a.animal-spotlight span:hover {
  background: #34691f;
}

#content[role=main] .entry-photo, #content[role=popup] .entry-photo {
  /*margin: 10px;
  float: left;
  width: 30%;*/
}

#content[role=main] .entry-photo img, #content[role=popup] .entry-photo img {
  padding: 8px;
  /*margin-left: 10px;*/
  border: 1px solid #adadad;
  margin-top: 25px;
  width: 100%;
}

#content[role=popup] .entry-content {
  float: right;
  width: 57%;
  position: absolute;
  top: 60px;
  right: 15px;
  color: #5B5B5A;
  line-height: 160%;
}

#content[role=main] {
  margin: 50px;
  width: 88%;
}

#content[role=main] .entry-content {
  float: right;
  /*width: 60%;*/
  position: relative;
  top: 33px;
  right: 15px;
  color: #5B5B5A;
  line-height: 220%;
  padding: 0px 0px 0px 30px;
  margin: 0px;
}

#content[role=main] .entry-content, #content[role=popup] .entry-content  {
  font-size: 16px;
  line-height: 25.6000003814697px;
}

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {

	.single-animal {
		display: flex;
		flex-direction: column;
		padding: 20px;
	}

	.single-animal .entry-header {
		font-size: 16px;
	}

	.single-animal .entry-photo {
		width: 100% !important;
		margin-left: 0 !important;
	}

	.single-animal .entry-content {
		position: relative !important;
		top: 0 !important;
		right: 0 !important;
		width: 100% !important;
		padding-top: 20px;
	}
}

	/*.entry-photo {*/
	/*margin: 10px;*/
	/*float: none;*/
	/*width: 50%;*/
	/*}*/
	/*}*/
	/*.entry-photo.col-md-4 {*/
	/*padding: 0;*/
	/*}*/
	.entry-content strong {
		font-weight: 500;
	}

	.fancybox-close {
		color: #fff;
		position: absolute;
		top: 1px;
		right: 1px;
		cursor: pointer;
		width: 43px;
		height: 43px;		background-image: url('../images/close.png');
		background-size: 100%;
		background-repeat: no-repeat;
	}

	iframe::-webkit-scrollbar {
		/*   width: 15px; */
	}

	iframe {
		/*   scrollbar-face-color: #b46868; */
	}

	iframe::-webkit-scrollbar-track {
		background-color: #d4d4d4;
	}

	/* the new scrollbar will have a flat appearance with the set background color */
	iframe::-webkit-scrollbar-thumb {
		background-color: #73746f;
	}

	/* this will style the thumb, ignoring the track */
	iframe::-webkit-scrollbar-button {
		background-color: #d4d4d4;
	}

	/* optionally, you can style the top and the bottom buttons (left and right for horizontal bars) */
	iframe::-webkit-scrollbar-corner {
		background-color: black;
	}

	/* if both the vertical and the horizontal bars appear, then perhaps the right bottom corner also needs to be styled */


@media only screen and (max-width: 768px) {
	#container.animal-card {
		padding: 10px 0;
	}
	
	#content {
		margin: 0 !important;
		width: 100% !important;
		padding: 0 0 60px !important;
	}
	
	.entry-photo.col-md-4 {
		width: 100%;
		margin: 0;
	}
	
	.entry-photo img {
		margin: 20px auto 0 !important;
		width: 100% !important;
	}
}

@media only screen and (min-width: 768px) and (max-width: 850px) {
	#content {
		margin: 50px auto 0 !important;
	}
}

.fancybox-iframe {
  width: 100%;
  height: 100%;
  z-index: 99999999999;
}

.type-animals .entry-photo {
  width: 35%;
  margin-left: 20px;
}

.entry-photo.animal-page {
	border:none !important;
	width:33.3333% !important;
	padding:0 !important;
}


/**
 * [animals] styling
 */
.animals-list{
	width: 100%;
}

.animals-list__grid{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.animals-list__grid__item{
	width: 25%;
	padding: 0 5px;
	padding-bottom: 20px;
}

.animals-list__grid__item__image{
	height: 100%;
	width: 100% !important;
	overflow: hidden;
}

.animals-list__grid__item img{
	width: 100%;
	height: auto;
}

.animals-list__grid__item p{
	padding-top: 10px;
	color: #77ab48;
	font-style: normal;
	font-weight: 500;
	text-align: center;
}

@media (max-width: 1024px){
	.animals-list__grid__item{
		width: 50%;
	}
}


/**
 * Meet the animals single page Our Animals 4 column section update
 * 11th May 2017
 */
/*.animals-list{*/

/*}*/

/*.animals-list div{*/
	/*padding: 5px !important;*/
/*}*/


/*.animals-list div a{*/
	/*width: 100% !important;*/
	/*height: 100% !important;*/
	/*background-position: center !important;*/
	/*background-repeat: no-repeat !important;*/
	/*background-size: cover !important;*/
/*}*/
/*********************/
/*.animals-list {*/
	/*height: 100px;*/
	/*width: 100%;*/
	/*text-justify: distribute;*/
/*}*/

/*.animals-list .col-md-3 {*/
	/*border:none !important;*/
	/*!*height:140px !important;*!*/
	/*text-align: center;*/
	/*padding-bottom: 10px;*/
/*}*/

/*.animals-list .col-md-3 a {*/
	/*width: 100%;*/
	/*height: 100%;*/
	/*background-size: cover;*/
	/*background-attachment: inherit;*/
	/*background-clip: content-box;*/
	/*background-position: center top;*/
	/*border: none;*/
	/*display: inline-block;*/
	/*margin: 0;*/
/*}*/

/*@media only screen and (max-width: 991px) {
	/*.animals-list .col-md-3 a {*/
		/*width: 138px;*/
		/*height: 140px;*/
		/*background-size: cover;*/
		/*background-attachment: inherit;*/
		/*background-clip: content-box;*/
		/*background-position: right top;*/
		/*border: none;*/
		/*display: inline-block;*/
		/*margin: 5px auto 10px auto;*/
	/*}*/
	/**/
	/*.animals-list .col-md-3 {*/
		/*border:none !important;*/
		/*height:150px !important;*/
		/*text-align: center;*/
		/*padding-bottom: 10px;*/
	/*}*/
/*}*/

/*@media only screen and (min-width: 991px) and (max-width: 1050px) {
	/*.animals-list .col-md-3 a {*/
		/*width: 95px;*/
		/*height: 95px;*/
		/*background-size: cover;*/
		/*background-attachment: inherit;*/
		/*background-clip: content-box;*/
		/*background-position: right top;*/
		/*border: none;*/
		/*display: inline-block;*/
		/*margin: 5px auto 10px auto;*/
	/*}*/
	
	/*.animals-list .col-md-3 {*/
		/*border:none !important;*/
		/*height:100px !important;*/
		/*text-align: center;*/
		/*padding-bottom: 10px;*/
	/*}*/
/*}

@media only screen and (min-width: 1250px) {
	/*.animals-list .col-md-3 a {*/
		/*width: 140px;*/
		/*height: 140px;*/
		/*background-size: cover;*/
		/*background-attachment: inherit;*/
		/*background-clip: content-box;*/
		/*background-position: right top;*/
		/*border: none;*/
		/*display: inline-block;*/
		/*margin: 5px auto 10px auto;*/
	/*}*/
	
	/*.animals-list .col-md-3 {*/
		/*border:none !important;*/
		/*height:150px !important;*/
		/*text-align: center;*/
		/*padding-bottom: 10px;*/
	/*}*/
/*}