/***************** 
HOME PAGE CSS
*****************/

/* Home page carousel */
#hp-carousel {
	background: #000000;	
}
#hp-carousel .hp-carouselSlide {
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-size: cover;
	background-position: center top;
    width: 100%;
	height: 470px;
	position: relative;
	z-index: 1;
}
#hp-carousel .carouselSlide-caption {
	color: #ffffff;
	background-color: rgba(0,123,174,0.52);
	margin-top: 8.5%;
	position: absolute;
	margin-right: 110px;
	padding: 10px 30px 40px;
	z-index: 2;
}
#hp-carousel .carouselSlide-caption h1 {
	margin-bottom: 20px;	
}
#hp-carousel .carouselSlide-caption p {
	font-weight: 400;
	line-height: 1.38em;
	font-size: 1.2em;
	margin-top: -6px;
	margin-bottom: 30px;
}

/* Homepage - carousel control */
#hp-carousel .carousel-control {
    height: 100%;
	z-index: 5;
}
#hp-carousel .carousel-control .fa {
	font-size: 2em;
	top: 45%;
}
#hp-carousel .carousel-control.left .fa {
	padding: 4px 20px 6px 16px;
}
#hp-carousel .carousel-control.right .fa {
	padding: 4px 16px 6px 20px;
}
#hp-carousel .carousel-control.left,
#hp-carousel .carousel-control.right,
#hp-adoptionAnimals-carousel .carousel-control.left,
#hp-adoptionAnimals-carousel .carousel-control.right {
	opacity: 0;
	-webkit-transition: all 300ms ease-out 0s;
	-ms-transition: all 300ms ease-out 0s;
	-moz-transition: all 300ms ease-out 0s;
	transition: all 300ms ease-out 0s;
}
#hp-carousel .carousel-control.left,
#hp-adoptionAnimals-carousel .carousel-control.left {
	left: -20px;	
	margin-left: -10px;
}
#hp-carousel .carousel-control.right,
#hp-adoptionAnimals-carousel .carousel-control.right {
	right: -20px;
	margin-right: -10px;	
}
#hp-carousel:hover .carousel-control.left,
#hp-adoptionAnimals-carousel:hover .carousel-control.left {
	left: 0;	
	opacity: 0.9;
}
#hp-carousel:hover .carousel-control.right,
#hp-adoptionAnimals-carousel:hover .carousel-control.right {
	right: 0;	
	opacity: 0.9;
}
#hp-carousel .carousel-control .fa:hover {
	color: #ffffff;	
	border-color: #ffffff;
}

#carouselButtons {
    margin-left: 100px;
    position: absolute;
    bottom: 0px;
	z-index: 20;
	display: none;
}


/*.section-header h2 {
  position: relative;
  text-align: center;
}

.section-header h2 span {
  background: #fff;
  padding: 0 15px;
  position: relative;
  z-index: 1;
}

.section-header h2:before {
  background: #ddd;
  content: "";
  display: block;
  height: 1px;
  position: absolute;
    top: 50%;
  width: 100%;
}

.section-header h2:before {
  left: 0;
}*/


.section-header h2 {
  text-align: center;
}
.section-header h2 span {
  display: inline-block;
  position: relative;  
}
.section-header h2 span:before,
.section-header h2 span:after {
  content: "";
  position: absolute;
  height: 5px;
  border-bottom: 2px solid #52575b;
  top: 18px;
  width: 35%;
}
.section-header h2 span:before {
  right: 100%;
  margin-right: 15px;
}
.section-header h2 span:after {
  left: 100%;
  margin-left: 15px;
}


/* Our Current Numbers section */
#hp-aboutLDH {
	background: #36424C url(../images/hp-stat_illustration.svg) center no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-position: center;
	color: #E4E4E4;
	text-align: center;
	padding: 25px 0 38px;
}
#hp-aboutLDH h2 {
	color: #ffffff;
}
#hp-aboutLDH .section-header h2 {
	margin-bottom: 1.5px;
}
#hp-aboutLDH .section-header p {
	margin-bottom: 10px;	
	color: #E7E6E1;
}
#hp-aboutLDH a {
	color: #ffffff;
}
#hp-aboutLDH a:hover {
	color: #009ada;
	text-decoration: none;
}
.hp-stat {
	padding: 10px 0px 25px 0px;
	margin: 5px 0 20px;
	background: rgba(41,53,62,0.4);
	height: 133px;
}
.hp-stat-img,
.hp-stat-text {
	display: inline-block;	
}
.hp-stat img {
	margin-top: -85px;
	margin-right: 10px;
	height: auto;
	top: 0;
}
#hp-stat-1 img {
	width: 53px;	
}
#hp-stat-2 img {
	width: 51px;	
}
#hp-stat-3 img {
	width: 59px;	
}
#hp-stat-4 img {
	width: 80px;	
}

.hp-stat-text {
	text-align: left;
}
.hp-stat p {
	margin-top: -8px;
	color: #bbb;
	line-height: 1.4em;
}
.hp-statNumber {
	font-size: 3.1em;
	font-weight: 600;
}

/* Homepage - NEWS SECTION */
#hp-news {
	background: #f7f7f7 url(../images/grey_down-triangle.svg) no-repeat center top scroll;
}
#hp-news h3 {
	margin-bottom: 7px !important;
}
#hp-news h3 a {
	color: #5b6166;
}
#hp-news .thumbnail {
	display: block;
	overflow: hidden;
	margin-bottom: 0;
	-moz-box-shadow: 0 0.5px 2px 0 #dddddd;
	-webkit-box-shadow: 0 0.5px 2px 0 #dddddd;
	box-shadow: 0 0.5px 2px 0 #dddddd;
}	
#hp-news .thumbnail img {
	width: 100%;
	height: 100%;
	display: block;
	-webkit-transform: translateZ(0);
    transform: translateZ(0);
}
#hp-newsThumbnails .thumbnail:hover .img-overlay {
	background-color: #000000;
}
#hp-newsThumbnails .thumbnail:hover img {
	opacity: 0.8;
	-webkit-transition: 300ms ease-in-out;
    -moz-transition: 300ms ease-in-out;
    -o-transition: 300ms ease-in-out;
    transition: 300ms ease-in-out;
}
#hp-newsThumbnails .thumbnailCaption {
	min-height: 230px;
	padding-top: 10px;	
}

/* Homepage - NEWS FEATURE */
#hp-newsFeature {
	background: #ffffff;
	margin-bottom: 20px;	
	-moz-box-shadow: 0 0.5px 2px 0 #dddddd;
	-webkit-box-shadow: 0 0.5px 2px 0 #dddddd;
	box-shadow: 0 0.5px 2px 0 #dddddd;
}

#hp-newsFeature:before  {
	content: url(../images/feature-banner.svg);
	left: -1px;
	top: 12px;
	position: absolute;
	z-index: 20;
}

/* Homepage - News Feature - text */
#hp-newsFeature-text {
	padding-top: 53px;
	background: #fff;
	padding: 25px;
	min-height: 304px;
}

/* Homepage - News Feature - image and/or video */
#hp-newsFeature-media {
	background: #000000;	
	min-height: 304px;
}
#hp-newsFeature-media img {
	width: 100%;
	height: 100%;
}
#hp-newsFeature-media-toggle {
	background: #333f48;	
	padding: 12px 20px;
}
.media-toggle-bar {
	display: inline-block;	
}
#hp-newsFeature-figcap {
	width: 70%;
	padding-right: 10px;
}
#hp-newsFeature-toggle-btn {
	width: 30%;
	float: right;
}
#hp-newsFeature-media-toggle figcaption {
	margin-bottom: 0;
	word-wrap: break-word;
	padding-top: 0;
	line-height: 1.35em;
	font-size: 0.95em;
	color: #f3f1ee;
}
#hp-newsFeature-media-toggle figcaption:before {
	display: none;
}
#hp-newsFeature-toggle-btn ul {
	float: right;
}
#hp-newsFeature-toggle-btn ul > li {
	display: inline-block;
}
#hp-newsFeature-toggle-btn ul > li:last-child {
	margin-left: 5px;
}
#hp-newsFeature-toggle-btn ul > li > a {
	font-size: 1.2em;
	padding: 7px 13px;
	border-radius: 1px;
}
#hp-newsFeature-toggle-btn li > a {
   	color: #62676b;
	background-color: #3b4751;
}
#hp-newsFeature-toggle-btn li > a:hover, 
#hp-newsFeature-toggle-btn li > a:focus {
	color: #f3f1ee;
	background-color: #2c3740;	
}
#hp-newsFeature-toggle-btn li.active > a {
    color: #f3f1ee;
	background-color: #2c3740;
}
#hp-newsFeature-toggle-btn li.active > a:hover, 
#hp-newsFeature-toggle-btn li.active > a:focus {
	background-color: #2c3740;
}
#hp-news-cta .hp-section-cta {
	height: 304px;
	position: relative;	
	background: #0084ba;
}
#hp-news .text-link {
	position: absolute;
	bottom: 20px;	
}


/* Home page - ADOPTION ANIMALS */
#hp-adoptionAnimals {
	background: #e9e3de url(../images/hp-adoption_illustration-bkg.svg) center no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-position: center;
	text-align: center;
	padding-top: 0;
}
#hp-adoptionAnimals:before {
	content: url(../images/lt-grey_down-triangle.svg);
	z-index: 99;
	width: 100px;
	margin-top: -100px;
}

#hp-adoptionAnimals .row {
	margin-left: 0;
	margin-right: 0;	
}
#hp-adoptionAnimals h2 {
	color: #52575b;
}
#hp-adoptionAnimals .hp-section-cta {
	background: rgba(221,213,206,0.75);	
	text-align: left;
	color: #52575b;
	height: 246px;
}
#hp-adoptionAnimals .thumbnail {
	position: relative;
	overflow: hidden;
	margin-bottom: 0;
	border-radius: 0;
}
#hp-adoptionAnimals img {
	width: 100%;	
	/*height: auto;*/
	/*width: 196px;*/
	height: 123px;
}
#hp-adoptionAnimals .thumbnailCaption {
	position: absolute;
    top: 0;
    right: 0;
    background: rgba(0,0,0,0.75);
    width: 100%;
    height: 100%;
    padding: 20px 10px;
    display: none;
    text-align:center;
    color: #fff !important;
    z-index: 10;
	font-weight: 600;
}
#hp-adoptionAnimals .thumbnailCaption h4 {
	font-weight: 700;
	font-size: 1.4em;
	margin-top: 0;
}
#hp-adoptionAnimals-carousel {
	margin-left: -11.25px;	
}

#hp-adoptionAnimals-carousel .carousel-control .fa:hover {
	background: #CCC8C0;
}
#hp-adoptionAnimals-carousel .carousel-control.left {
	margin-left: -367px;
	left: -20px;	
}
#hp-adoptionAnimals-carousel .carousel-control.right {
	margin-right: -100px;
	right: -20px;
}
#hp-adoptionAnimals-carousel .carousel-control .fa {
	border-color: #52575b;
	color: #52575b;
	font-size: 1.6em;
	margin-top: 100px;
}
#hp-adoptionAnimals-carousel .carousel-control.left .fa {
	padding: 3px 15px 4px 12px;
}
#hp-adoptionAnimals-carousel .carousel-control.right .fa {
	padding: 3px 12px 4px 15px;
}

/* Home page - ADVOCACY SECTION */
#hp-adoptionPledge {
	padding-top: 0;
	padding-bottom: 60px;
	background-size: cover;
	text-align: center;
	color: #ffffff;
}
#hp-adoptionPledge:before {
	content: url(../images/lt-beige_down-triangle.svg);
	z-index: 99;
	width: 100px;
	margin-top: -100px;
}
#hp-adoptionPledge h2 {
	color: #ffffff;
	margin-top: 40px;
	margin-bottom: 5px;
}
#hp-adoptionPledge .text-lg {
	color: #E7E6E1;
	margin-bottom: 17px;
}

/***************** 
GENERAL HOMEPAGE
*****************/
.hp-section-cta {
	padding: 30px 25px;
	color: #fff;
	height: 100%;
}
.hp-section-cta h2 {
	font-size: 2em;
	line-height: 1.2em;
	font-weight: 600;
	margin-top: 0;
}
.hp-section-cta p {
	font-size: 1.15em;
	line-height: 1.38em;	
	letter-spacing: normal;
}
.hp-section-cta .btn {
	position: absolute;
	bottom: 8%;
}


/***************** 
MEDIA QUERIES
*****************/

/* MOBILE */
@media only screen and (max-width:450px) {
	#hp-carousel .carousel-inner {
        min-height: 420px;
	}
	#hp-newsFeature-media-toggle figcaption {
		display: none;	
	}
	.media-toggle-bar {
    	display: block;
	}
	#hp-newsFeature-toggle-btn {
    	width: 100%;
	}
}

@media (min-width: 451px) and (max-width: 767px) {
	#hp-carousel .carousel-inner {
        min-height: 385px;
	}	
}

@media only screen and (max-width:767px) {	
	/* Mobile - Home page carousels */
	#hp-carousel .carousel-indicators li, 
	#hp-carousel .carousel-indicators li.active,
	#hp-adoptionAnimals .carousel-indicators li, 
	#hp-adoptionAnimals .carousel-indicators li.active {
		height: 25px;
		width: 25px;
		border-radius: 30px;
	}
    
    /* Mobile - Shortcut adoption buttons on homepage */
    #hp-adoptionBtn-mobile {
        background: #38A8DF;
        padding: 10px 15px;
        margin: 65px 0 0;
		height: 65px;
    }
    #hp-adoptionBtn-mobile .hp-mobileBtn {
        background: #009ada;
        border-radius: 2px;
        padding: 11px 10px 10px;
        width: 48%;
       	height: 45px;
    }
    #hp-adoptionBtn-mobile .hp-mobileBtn.cat {
        float: right;
    }
 
    /* Mobile - Homepage carousel */
    #hp-carousel .hp-carouselSlide {
		height: 200px;
		background-position: 80% 0;
		background-attachment: scroll;
		background-size: cover;
	}
	#hp-carousel .carousel-inner {
        background: #007bae;
        padding-bottom: 20px;
		position: relative;
    }
	#hp-carousel .carouselSlide-caption {
		background: transparent;
		position: relative;
		padding: 2px 5px;
        margin-top: 195px;
		margin-right: 0;
        color: #ffffff;
    }
	#hp-carousel .carouselSlide-caption  h1 {
		line-height: 1.3em;
		margin-bottom: 10px;
	}
    #hp-carousel .carouselSlide-caption p {
		font-size: 1.25em;
        margin-bottom: 17px;
    }
    #hp-carousel .carousel-indicators {
        top: 157px;
	bottom:220px;
    }

	/* Mobile - Statistics section */
	#hp-aboutLDH {
		padding-top: 12px;
		padding-bottom: 20px;
	}
	.hp-stat {
		height: auto;
		padding-top: 19px;
		padding-bottom: 19px;
		padding-left: 56px;
		margin-bottom: 0;
		display: inline-block;
		width: 100%;
	}
	.hp-stat-img img {
		left: 0;	
		position: absolute;
		height: 100%;
		vertical-align: middle;
		margin-top: 0;
	}
	#hp-stat-1 img {
		margin-left: 7%;
		width: 50px;
	}
	#hp-stat-2 img {
		margin-left: 7.5%;
		width: 46px;
	}
	#hp-stat-3 img {
		margin-left: 7%;
		width: 51px;
	}
	#hp-stat-4 img {
		margin-left: 6%;
		width: 60px;
	}
	.hp-statNumber {
		font-size: 2.2em;
	}
	.hp-stat-text {
		width: 85%;
	}
	.hp-stat p  {
		margin: 0;	
	}
	.hp-stat-text br {
		display: none;
	}
	
	/* Mobile - News section */
	#hp-newsFeature-media,
	#hp-newsThumbnails .thumbnailCaption {
		min-height: 180px;
		width: 100%;
	}
	#hp-newsFeature-media iframe {
		height: 176px;
	}
	#hp-newsThumbnails .thumbnailCaption p {
		margin-bottom: 30px;	
	}
	#hp-news .thumbnail {
		margin-bottom: 10px;	
	}
	
	/* Mobile - Adoption animals carousel */
	#hp-adoptionAnimals {
		padding-bottom: 50px;	
	}
	#hp-adoptionAnimals img {
		height: 100%;
	}
	#hp-adoptionAnimals .carousel-indicators {
    	margin-bottom: -47px;
	}
	.carousel-control{
		position: relative;
	}
	.carousel-control .fa {
		width:25px;
	}
}

/*****************
ALL SCREENS BIGGER THAN MOBILE
*****************/
@media only screen and (min-width: 750px) {
	.hp-stat {
		margin-bottom: 5px;
	}
}

@media only screen and (min-width: 768px) {
	.hp-stat {
		margin-bottom: 5px;
	}
}

@media (min-width: 768px) and (max-width: 848px) {
	#hp-carousel .carouselSlide-caption {
		margin-left: 40px;
		margin-right: 60px;
	}
}

/* DESKTOP SCREENS */
/*@media only screen and (min-width:992px) {
	.hp-section-cta {
		min-height: 288px;	
	}
	#hp-newsFeature-media {
		min-height: 288px;	
	}
}*/

/* MOBILE - LANDSCAPE ORIENTATION */
@media (min-width: 568px) and (max-width: 1000px) {
	/*.hp-stat img {
		margin-top: -65px;	
	}
	#hp-stat-1 .hp-stat-img img {
		max-width: 10.5%;
	}
	#hp-stat-2 .hp-stat-img img {
		max-width: 9%;
	}
	#hp-stat-3 .hp-stat-img img {
		max-width: 11%;
	}
	#hp-stat-4 .hp-stat-img img {
		max-width: 13%;
	}*/
}


/***************** 
TABLETS
*****************/
@media only screen and (max-width:992px) {

    /**** TABLET - Home page ****/
	#hp-newsFeature-text ul {
		float: none;
        margin-top: 5px;
	}
	.hp-section-cta {
		display: none;
	}
	/**** TABLET - Home page ****/
	.carousel-indicators li {
		position: relative;
	}
}

@media only screen and (max-width:1025px) {
	#hp-adoptionBtn-mobile img {
		margin-right: 5px;
		margin-top: -3px;
    }
	 #hp-adoptionBtn-mobile a {
        color: #fff;
        font-weight: 600;
        font-size: 1.1em;
    }
	.hp-btn-mobile {
		text-align: center;
	}
}

@media only screen and (max-width:991px) {
	#hp-newsThumbnails .thumbnailCaption {
		min-height: 165px;
	}
}

@media (min-width:992px) and (max-width:1300px) {
	#hp-newsThumbnails .thumbnailCaption {
		min-height: 250px;
	}

}
