/* Table of Content
==================================================
	#Universal Styles
	#Home Styles
	#Page Styles
	#Media Queries
	#Font-Face */
	
	
/* Site Colors
==================================================
	#d22740 red main
	#c21722 red from logo and rebar
	#1c415c blue (dark)
	#3d8ead blue (light)
	#3d3d3d grey/footer
	#565656 text
	#f7f6f6 bkg alt
*/

/* #Universal Styles
================================================== */

.wrapper {
	width: 100%;
}
.topbar {
	background-color: #282828;
	height: 13px;
	}
.nav li.phone, .nav li.phone a { 
	padding-top: 13px;
	padding-right: 11px;
	cursor:pointer;
	text-decoration:none;
	font-size: 1.6rem;
	font-weight: 600;
	text-transform: uppercase;
	color: #d22740;
	}
.redbar {
	background-color: #c21722;
	height: 7px;
	}
.header {
}
div.three.columns.logo {
	float: left;
	text-align: left;
}
div.nine.columns.nav {
	float: right;
	text-align: right;
}
.logo {
	padding-top: 16px;
	padding-bottom: 5px;
}
.subhero {
	background-image: url(../images/hero-subpage-1.jpg);
	background-repeat: no-repeat;
	background-position: right;
	background-size: cover;
	padding: 80px 0;
}
.stats {
	background-color:#1c415c;
	padding: 5px 0 7px 0;
	display: inline-block;
	text-align:center;
	font-size: 2rem;
	color:#aad0de;
	font-family: "source-sans-pro",sans-serif;
	font-weight:400;
	}
.line-stats {
	background-color: #557a90;
    width: 75px;
    height: 2px;
    display: inline-block;
    margin: 19px 0 12px 0;
	}
.content {
	padding: 50px 0;
	position:relative;
}
.sidebar {
	height: 100%;
	position: absolute;
	right: 0;
	top: 0;
	background-image: url(../images/sidebar-first-response.jpg);
	background-repeat: no-repeat;
	background-position: 0 285px;
	background-size:100%;
	}
.sidebar-blog {
	height: 100%;
	position: absolute;
	right: 0;
	top: 0;
	}
.bkg-alt {
	background-color: #f7f6f6;
	}
.center {
	text-align:center ;
	}
.rescenter {
	text-align:inherit;
	}
.footer {
	background-color:#3d3d3d;
	color:#fff;
	text-decoration:none;
}
.footer a:link, .footer a:link, .footer a:visited {
	color:#fff;
	text-decoration:none;
}
.footer a:hover {
	color:#ccc;
	text-decoration:underline;
}
/*.footer .four.columns {
	position:relative;
	left:70px;
	}*/


/* #Search Menu in Header
================================================== */
.astm-search-menu form.search-form {
	width: 300px;
	background-color: #fff;
	padding: 17px 10px 10px 0;
	margin: 0px;
	top: 0px !important;
	border: 1px #ccc solid;
}

.astm-search-menu-wrapper {
    position: relative !important;
    right: 10px !important;
    top: 3px !important;
}


/* #Home Styles
================================================== */

.home .hero {
	background-image: url(../images/hero-home.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	    padding: 50px 0;
}
.home .hero.proportionate { /* Should become cover on mobile (only needed if text) */	
	background-image: url(../images/hero-home.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
    width: 100%;
    height: 0;
	padding-top: 10.2291665%;	 /* (img-height / img-width * container-width) */
    padding-bottom: 26.2291665%; /* (700px / 1920px * 100(%)) */
}	
/*.gradient {
	background-image: url(../images/hero-gradient.png);
	position: absolute;
	background-repeat: repeat-y;
	height:100px;
	width:100%;
	padding:12px 0;
	}*/
.gradient {
	text-shadow: 1px 1px 0px rgba(0, 0, 0, .5);
	font-weight:600;
	color:#fff;
	font-size: 1.8rem;
	line-height: 3.2rem;
	background-color: rgba(0, 0, 0, .25);
	padding:10px 20px;
	margin:10px 0;
	}
.memorials-home {
	background-image: url(../images/bkg-memorials.jpg);
	background-repeat: no-repeat;
	background-position: top right;
	padding: 115px 0;
	}
.issues {
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	color:#fff;
	font-size: 1.3rem;
	}
.bkg-1 {
	background-image: url(../images/bkg-issues-1.jpg);
	transition: all 0.2s ease 0s;
	}
.bkg-2 {
	background-image: url(../images/bkg-issues-2.jpg);
	transition: all 0.2s ease 0s;
	}
.bkg-3 {
	background-image: url(../images/bkg-issues-3.jpg);
	transition: all 0.2s ease 0s;
	}
.bkg-4 {
	background-image: url(../images/bkg-issues-4.jpg);
	transition: all 0.2s ease 0s;
	}
.bkg-5 {
	background-image: url(../images/bkg-issues-5.jpg);
	transition: all 0.2s ease 0s;
	}
.bkg-6 {
	background-image: url(../images/bkg-issues-6.jpg);
	transition: all 0.2s ease 0s;
	}
.line-blue {
	background-color:#aad0de;
	width:75px;
	height:3px;
	display: inline-block;
	transition: all 0.2s ease 0s;
	}
.line-yellow {
	background-color:#ffcb30;
	width:75px;
	height:3px;
	display: inline-block;
	}
.line-red {
	background-color:#b7222f;
	width:75px;
	height:3px;
	display: inline-block;
	}
a:hover .issues, a:hover .issues h3 {
	color:#EAEAEA;
	text-shadow: 0px 0px 12px rgba(0, 0, 0, 0.3); 
	transition: all 0.4s ease 0s;
	}
a:hover .bkg-1, a:hover .bkg-2, a:hover .bkg-3, a:hover .bkg-4, a:hover .bkg-5, a:hover .bkg-6 {
	opacity:.95;
	transition: all 0.4s ease 0s;
	}
a:hover .line-blue, a:hover .line-yellow, a:hover .line-red {
	width:150px;
	transition: all 0.2s ease 0s;
	}
/* Twitter Posts */
.home .tp_recent_tweets  li {
	background-image: url(../images/tweet.png);
	background-repeat: no-repeat;
	background-position: 0px 4px;
	padding-left: 30px;
	padding-bottom: 20px;
	line-height: 20px;
	list-style-type: none;
	}
.home .tp_recent_tweets  li a {
	text-decoration:none;
	}
.home .tp_recent_tweets  li::after{
	content: " ";
	background-color:#aad0de;
	width:75px;
	height:3px;
	display: inline-block;
	transition: all 0.2s ease 0s;
	margin-top:28px;
	}
	
	


/* #Memorial Archive Page Styles
================================================== */

/*.memorials  h2.screen-reader-text {
	display: none;
}*/

.memorials nav.navigation.post-navigation {
	display: none;
	}

.memorials-nav input[type="password"], .memorials-nav input[type="email"], .memorials-nav input[type="tel"], .memorials-nav input[type="phone"], .memorials-nav textarea, .memorials-nav select {
	width:222px;
	height:30px;
	max-width:initial;
	padding: 2px;
	color:#999;
	}
.memorials-nav input[type="text"]{
	width:222px;
	height:15px;
	max-width:initial;
	padding: 5px;
	border-radius: 5px;
	color:#999;
	}
.memorials-nav {
	background-color:#3d3d3d;
	color:#fff;
	text-align: center;
	margin:0px;
	}
.memorials-nav form {
	margin-bottom:0px;
	margin-left: 120px;
	}
.searchandfilter label {
	margin:0px 10px;
	}
	
body .memorials-nav ul li {
	float: left;
	padding: 0px 0px;
	}
.black {
	background: rgba(0, 0, 0, 0); 
	height:100%;
    width: 100%;
	cursor: pointer;
	position: absolute;
    top:0;
	}
.black:hover {
	background: rgba(0, 0, 0, .5); 
	height:100%;
    width: 100%;
	cursor: pointer;
	position: absolute;
    top:0;
	}

div.button.transparent {
	cursor: pointer;
	background-color: transparent;
	border: 2px solid #fff;
	width: 100%;
	max-width: 200px;
	min-width: 1px;
	display: inline-block;
	text-decoration: none;
	line-height: 2.6rem;
	padding: 6px 0px 6px 0px;
	margin: 10px 0px;
	text-align: center;
	text-transform: uppercase;
	transition: all 0.4s ease 0s;
	font-weight:600;
	}
.rollover-image {
	position: relative;
	overflow: hidden;
	line-height: 0rem;
	background-size: cover;
	background-repeat: no-repeat;
	width: 100%;
	height: 0; background-position:center;
	padding-top: 100%;
	
}
.rollover-image .rollover-textbox {
    height:100%;
    width: 100%;
	cursor: pointer;
	position: absolute;
    top:0;
}
body .memorials .rollover-text h3 {
	color: #fff;
	font-size: 2.6rem;
	font-family: "source-sans-pro",sans-serif;
	font-weight:600;
	margin: 10px 0;
}
.rollover-text {
	z-index: 5;
	color: #fff;
    position: absolute;
    width: 100%;
    top: 50%;   
    transform: translateY(-50%); 
    text-align: center;
}
.effect4 .rollover-textbox {
    top: 50%;   
    transform: translateY(-50%);
    opacity: 0;
    -webkit-backface-visibility: hidden;
	transition: all 0.4s ease 0s;
}
.rollover-image .effect4:hover{
	opacity: 0.5;
	transition: all 0.4s ease 0s;
}
.effect4:hover .rollover-textbox{
	opacity: 1;
}




.memorial-thumb {
	opacity:0;
	width:100%;
	height:auto;
	}
.memorial-thumb:hover {
	opacity:100;
	background: rgba(0, 0, 0, .5); 
	}



/* #Post Navigation (Memorials & Blog etc.)
================================================== */


nav.navigation.post-navigation {
	padding-top: 50px;
}
nav.navigation.post-navigation a {
	text-decoration: none;
	font-size: 20px;
	color: #c21722;
}



/* #Blog Styles
================================================== */

.blog .screen-reader-text{
	display:none;
	}
span.edit-link {
	display:block;
	margin-top:10px;
	}
time.updated {
	display:none;
	}
.widget-area ul {
	list-style: none;
	margin:0px;
	}
.blog h2.widget-title, .blog h2.widget-title a {
	font-size: 2.2rem;
	font-weight:normal;
	line-height:3rem;
}
.widget-area a {
	text-decoration:none;
	}
.widget-area a:hover  {
	color:#ccc;
	}


/* #Captions
================================================== */

.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}


/* #Galleries
================================================== */

.gallery {
	margin-bottom: 1.5em;
}
.gallery img {
	width:90%;
	height:auto;
	border: 0px solid #fff !important;
	}
.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}




/* #Page Styles
================================================== */



/* #Media Queries
================================================== */

	/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 979px) {
		
/* 
  Responsive Nav/Social columns split on mobile 
*/	
body .nav .social ul {
	margin: 0px;
	padding-left: 9px;
	/*margin: 0 141px;*/
	}
body .nav .social li {
	padding: 0px;
	}
body .social a.button.donate {
	display:none;
	/*margin: 0px 0px;
	min-width: 75px;
	position: absolute !important;
	left: 0 !important;*/
	}
div.nine.columns.social {
	top: 25px;
	/*width: 50%;*/
	position: relative;
}
div.nine.columns.social ul {
	float: left;
}
body .nav .social a {
	width: 25px;
	margin-top: 4px;
	}
div.nine.columns.social {
	top: 0px;
	height: 6px;
}
body .footer ul.social {
	position: static;
	}
div.nine.columns.nav {
	background-color: #d22740;
}
body .nav .social li.phone, body .nav .social li.phone a { 
	color: #fff;
	font-size: 1.5rem;
	padding-top: 10px;
	font-weight: 600;
	background-image:none;
	display:inline;
	}
div.three.columns.logo {
	text-align: center;
	padding-top: 7px;
	padding-bottom: 6px;
	}
div.three.columns.logo img {
	width:160px;
	}
body a.button.donate {
	min-width: 75px;
	}

	.topbar {
	background-color: #fff;
	}
	
/* 
  Other
*/							
.rescenter {
	text-align:center;
	}
.sidebar, .sidebar-blog {
	position: relative;
	background-position: right bottom;
	background-size:contain;
	}
.memorials-home {
	background-image: none;
	padding: 70px 0px 40px 0px;
	}
.memorials-home::after {
	content: "";
	opacity: 0.5;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	position: absolute;
	z-index: -1;
	height: 448px;
	width: 100%;  
	
	background-image: url(../images/bkg-memorials.jpg);
	background-repeat: no-repeat;
	background-position: top right;
	padding: 115px 0;
	}
.subhero {
    padding: 30px 0;
}
}


/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 979px) {
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 768px) {
	/* 
  Home
*/
body .home h1 {
    font-size: 5.2rem;
    line-height: 6.2rem;
    text-shadow: 0px 0px 30px rgba(255, 255, 255, 1);
    text-align: center;
}
body .home .hero {
    background-image: none;
        padding: 55px 0 79px 0;
    text-align: center;
}


body .home .hero::after {
  	content: "";
	background-image: url(../images/hero-home.jpg);
	opacity: 0.5;
	top: 148px;
	left: 0;
	bottom: 0;
	right: 0;
	position: absolute;
	z-index: -1;
	height: 448px;
	width: 100%;
	/* background-size: cover; */
	background-position: -595px -32px;
	background-repeat: no-repeat;   
}



    


/*body .subhero {
	background-image: none;
    padding: 15px 0 45px 0;
}
body .subhero::before {
	content: "";
    background-image: url(../images/hero-subpage-1.jpg);
    opacity: 0.5;
    top: 148px;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
    width: 100%;
    padding: 15px 0 45px 0;
	background-size:contain;
}*/




.gradient {
	display:none;}
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
	body .home .hero::after {
	background-position: -780px top;
}

body a.button, body button, body nput[type="submit"], body input[type="reset"], body input[type="button"] {
    min-width: 100%;
	
}
}

/* #Font-Face
================================================== */
/* 	This is the proper syntax for an @font-face file
		Just create a "fonts" folder at the root,
		copy your FontName into code below and remove
		comment brackets */

/*	@font-face {
	    font-family: 'FontName';
	    src: url('../fonts/FontName.eot');
	    src: url('../fonts/FontName.eot?iefix') format('eot'),
	         url('../fonts/FontName.woff') format('woff'),
	         url('../fonts/FontName.ttf') format('truetype'),
	         url('../fonts/FontName.svg#webfontZam02nTh') format('svg');
	    font-weight: normal;
	    font-style: normal; }
*/
