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;
}

ul.animals-list {
  clear: both;
  list-style-type: none;
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 0px 5px;
}

ul.animals-list li {
  color: #5b5b5a;
  font-weight: normal;
  /*text-indent: 2em;*/
  font-size: 16px;
}

ul.animals-list li .square {
  width: 143px;
  height: 142px;
  background-size: cover;
  background-attachment: inherit;
  background-clip: content-box;
  background-position: right top;
  border: none;
  display: inline-block;
  margin: 0px 10px 10px 0px;
  float: left;
}

ul.animals-list.triple li  { width:33.333%; }

#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) {
  #content[role=main] .entry-content  {
    clear: both;
    float: none;
    margin: 0 30px 0 30px;
  }

  .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;
}