.react-rotating-text-cursor {
  animation: blinking-cursor 0.8s cubic-bezier(0.68, 0.01, 0.01, 0.99) 0s infinite;
}

@keyframes blinking-cursor {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

#su-wrap {
	background-color:#fff !important;

    background: #fff; /* For browsers that do not support gradients */
	/* fix for white along right side on mobile */
	overflow-x:hidden;
	overflow-y:hidden;
}

body {
	font-family: 'Source Sans Pro', sans-serif !important;
	line-height: 24px;
	color: #666;
	background-color: #fff;	
	margin-top: 50px;  
}

h1, h2, h3, h4, h5, h6 {
  color: #333;
  font-family: 'Source Sans Pro', sans-serif !important;
  font-weight:bold;
}

p {
	font-family: 'Source Sans Pro', sans-serif !important;
}

h1 {
  /* margin-bottom: 36px; */
  font-size:4rem;
  font-weight:800;
  /* text-transform: uppercase; */
}

h2 {
  font-size: 30px;
 /* margin-bottom: 20px; */
}

h3 {
  font-size: 18px;
}

.navbar {
    border-radius: 0px;
	margin-bottom:0;
}

.navbar-default {
    background-color: #8c1515;
	border-color: #8c1515;
	font-weight:bold;
	text-transform:uppercase;
}
/*.navbar-default .navbar-nav  {
    text-transform:uppercase;
}
*/
.navbar-brand {
	padding-top:16px;
	padding-right:0;
	padding-bottom:16px;
	padding-left:16px;
}

.navbar-default .navbar-nav > li > a {
    color: #fff;
	font-size: 12px !important;
}

.nav-tabs {
    border-bottom: none;
}

.navbar-default .navbar-nav > li > a:active {
    background-color: white;
    color: #8c1515;
}

.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
    background-color: white;
    color: #8c1515;
	border-bottom: 3px solid #fff;
}

.nav-tabs > li > a {
    margin-right: 2px;
    line-height: 1.42857143;
    border: none;
    border-radius: 0 0 0 0;
}


/* for added menu item */
.nav > li > a {
    position: relative;
    display: block;
    padding: 16px 4px 16px 4px;
}


.navbar-fixed-top {
    padding: 0;
}


#home {
	margin-top: 1em;
	margin-bottom:2em;	
}



#hero {
    background: #fff; /* For browsers that do not support gradients */
	background-image: url("../images/clouds.jpg") !important;	
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
#about {
	-webkit-box-shadow: 0 15px 40px #000;
	-moz-box-shadow: 0 15px 40px #000;
 	box-shadow: 0 15px 40px #000;
	background-color:#e3dfd5;	
	max-width:95%;
	margin-top:1em;
	margin-bottom:1em;
	padding: .5em 2em .5em 2em;
}

#stories {
	background-color:#e9e6df;
}
#stories h5 {
	font-weight:bold;
	color: #333;
}
#stories h4 {
	font-weight:bold;
	color: #333;
	padding: 0 1em .5em 1em;
}
#stories h3 {
	font-weight:bold;
	color: #333;
	padding: 1em 1em 2em 1em;
}
#stories a {
	color:#8c1515;
}

.story-card {
	background-color:#fff;	
	margin-bottom:3em;
	position:relative;
	height: 560px;
}

.story-card img {
	width:100%;
}

.story-card #makeagift img {
	height: 468px;
}

.story-card:not(.nohover):hover {  
	-webkit-box-shadow: 0 0 30px #fff;
	-moz-box-shadow: 0 0 30px #fff;
 	box-shadow: 0 0 30px #fff;
	border: 1px solid #fff;	
	cursor: pointer;
}

.story-card p {
	padding: 0 1em 6em 1em;
}

.story-card .story-title {
	text-align:center;
}
.story-card .story-title span {
	color:#8c1515 !important;
}

.story-card .caption {
	font-weight:bold;
	line-height:18px;
}

.story-card .fund {
	background-color:#8C1515;
	text-align:center; 
	text-transform:uppercase; 
	font-weight:bold;
	color:white; 
	letter-spacing:1px; 
	font-size:14px;
	position:absolute;
	margin:0;
	padding: .35em;
    bottom: 0;	
	width: 100%;
}

#stories { 
	background-color: #fff;
    background-image: url("../images/background.jpg") !important;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	}


#stories .back h4 {
	visibility: hidden
}

#stories .front .readMore:before {
	content:'\a';
	white-space: pre ;
}
#stories .front .readMore {
	font-weight:bold;
	color:#8C1515;
	float:right;
	padding-right:2em;
}
#stories .back .author:before {
	content:'\a';
	white-space: pre ;
}
#stories .back .author {
	font-weight:bold;
	float:right;
	padding-right:2em;
}



/* Fix for anchors */
.jumptarget:before { 
    display: block; 
    content: " "; 
    margin-top: -1em; 
    height: 1em; 
    visibility: hidden; 
}
    
/* Landscape */
@media (max-width: 767px) and (min-width: 527px) {
	
   .story-card {
	height: 700px;
}
}

@media (max-width: 767px) and (orientation: landscape) {
	
   .story-card {
	height: 560px;
}
}
@media (max-width: 736px) and (orientation: landscape) {
	
   .story-card {
	height: 675px;
}
}
@media (max-width: 732px) and (orientation: landscape) {
	
   .story-card {
	height: 675px;
}
}
@media (max-width: 640px) and (orientation: landscape) {
	
   .story-card {
	height: 650px;
}
}
@media (max-width: 568px) and (orientation: landscape) {
	
   .story-card {
	height: 600px;
}
}
@media (max-width: 480px) and (orientation: landscape) {
	
   .story-card {
	height: 600px;
}
}

@media (max-width: 736px) and (orientation: landscape) {	
   .story-card #makeagift img {
	   height: 580px;
   }
}

@media (max-width: 732px) and (orientation: landscape) {	
   .story-card #makeagift img {
	   height: 580px;
   }
}

@media (max-width: 640px) and (orientation: portrait) {	
   .story-card #makeagift img {
	   height: 468px;
   }
}
@media (max-width: 640px) and (orientation: landscape) {	
   .story-card #makeagift img {
	   height: 556px;
   }
}

@media (max-width: 600px) and (orientation: portrait) {	
   .story-card #makeagift img {
	   height: 600px;
   }
}
@media (max-width: 568px) and (orientation: landscape) {	
   .story-card #makeagift img {
	   height: 500px;
   }
}
@media (max-width: 480px) and (orientation: landscape) {	
   .story-card #makeagift img {
	   height: 500px;
   }
}

@media (max-width: 420px) and (orientation: portrait) {
	
   .story-card #makeagift img {
	height: 460px;
}
}

@media (max-width: 360px) and (orientation: portrait) {	
   .story-card #makeagift img {
	   height: 460px;
   }
}
@media (max-width: 320px) and (orientation: portrait) {	
   .story-card #makeagift img {
	   height: 460px;
   }
}