body { 
	background-image: url('../img/bg-dots.jpg');
	font-family: arial, sans-serif;
	font-weight: 400;
	font-size: 11pt;
	line-height: 11pt;
}

h1 { 
	color: #642c87; 
	font-size: 16pt; 
	font-weight: 200;
	padding-bottom: 5px;
}
h1 a { color: #642c87; }
h1 a:hover { color: #b96fe8; }

h2 {
	color: #808080;
	font-size: 12pt;
	font-weight: 200;
}
	h2 a:link { 
		color: #808080;
		text-decoration: none;
	}
	h2 a:hover { color: #b96fe8; }

h3 { text-transform: capitalize;}

b, strong { font-weight: 700; }

i { font-style: italic; }

a { color: #9b69ba; }
a:visited { color: #857188; }
a:link { color: #9b69ba; }
a:hover { color: #c76eff; }
a:active { color: #d69dfa;}

hr {
	border-top: 1px solid #642c87;
	margin: 10px 0;
}

blockquote {
	border-top: 1px solid #642c87;
	border-bottom: 1px solid #642c87;
	color: #642c87;
	font-size: 14pt;
	font-style: italic;
	line-height: 18pt;
	margin: 10px 0;
	padding: 20px 30px;
	text-align: center;
}

ul {
	font-size: 11pt;
	line-height: 18pt;
	list-style-type: square;
	margin-left: 30px;
}

li a { text-decoration: none; }
li a:hover { color: #8d46ba; }

ol { 
	font-size: 11pt;
	line-height: 18pt;
	margin-left: 20px; }

p {
	margin: 15px 0;
	line-height: 18pt;
	text-align: justify;
	-webkit-hyphens: none;
  	-moz-hyphens: none;
    hyphens: none;
}

.purple {
	color: #642c87;
	font-weight: 700;
}

.float-left {
	float: left;
	padding: 10px 15px 10px 0;
}

.float-right {
	float: right;
	padding: 10px 0 10px 15px;
}

/*------------------------------------------------------------------------------------------



NAVIGATION BAR



------------------------------------------------------------------------------------------*/

nav { text-transform: uppercase; }

#menu {
	width: 100%;
	height: 70px;
	background-image: url('../img/menu-pattern.png');
	background-color: #652D88;
	border-bottom: 2px solid #85908C;
}

	#menu-container {
		margin: auto;
		width: 960px;
	}

		#menu-container ul li {
			display: inline;
			padding-left: 7px;
		}

	#logo-top {
		float: left;
		padding-top: 12px;
		width: 100px;
	}
		
		#logo-top:hover { opacity: .8; }

/*--MAIN MENU - MAIN LINK IN DARK PURPLE--*/

#mainnav {
	display: inline-block;
	padding-top: 25px;
}

	#mainnav ul { font-size: 10pt; }

	#mainnav a {
		color: #ffffff;
		text-transform: uppercase;
	}
		
		#mainnav a:hover { 
			border-top: 1px #ffffff solid;
			padding-top: 2px;
		 }

			#what-is #nav-what-is a,
			#sleeping #nav-sleeping a,
			#soothing #nav-soothing a,
			/* added for purple app campaign by cj, 150605 */
			#purpleapp #nav-purpleapp a,
			#crying #nav-crying a,
			#protecting #nav-protecting a, 
			#information #nav-information a,
			#nicu #nav-nicu a,
			#research #nav-research a,
			#program #nav-program a,
			#recognition #nav-recognition a,
			#resources #nav-resources a {
				color: #dea8de;
				border-top: 1px #dea8de solid;
				padding-top: 2px;
			}

/*--SUBMENU - SUB LINKS IN LIGHT PURPLE--*/

#submenu {
	width: 100%;
	min-height: 30px;
	background-image: url('../img/menu-sub-pattern.png');
	background-color: #bb8cbb;
}

	#subnav {
		width: 960px;
		margin: auto;
		padding: 10px 0;
		
	}

		#subnav a { color: #fff; }

		#subnav ul { 
			font-size: 10pt;
			line-height: 16pt;
			text-align: center;
		}

			#subnav ul li {
				display: inline;
				padding-right: 20px;
			}

				#subnav ul li:last-child { padding-right: 0; }

				#subnav ul li a:hover { color: #edd0ff; }

	#about.about-us .about-us a,
	#about.feedback .feedback a,
	#about.terms-of-service .terms-of-service a,
	#about.privacy-policy .privacy-policy a,

	#crying.why-this-crying-is-normal .why-this-crying-is-normal a,
	#crying.will-this-crying-ever-end .will-this-crying-ever-end a,
	#crying.why-does-my-baby-cry-so-much .why-does-my-baby-cry-so-much a,
	#crying.a-mothers-story-of-surviving-a-high-cryer .a-mothers-story-of-surviving-a-high-cryer a,
	#crying.why-we-know-your-infant .why-we-know-your-infant a,
	#crying.what-is-colic .what-is-colic a,		
	#crying.what-else-you-should-know .what-else-you-should-know a,
	#crying.real-life-challenges .real-life-challenges a,

	#info.helful-informational-sites .helpful-informational-sites a,
	#info.frustrated-with-your-babys-crying .frustrated-with-your-babys-crying a,
	#info.articles-and-authors .articles-and-authors a,

	#information.fatherhood-challenges .fatherhood-challenges a,
	#information.are-mothers-and-fathers .are-mothers-and-fathers a,
	#information.getting-dads-more-involved .getting-dads-more-involved a,
	#information.fatherhood-when-the .fatherhood-when-the a,
	#information.becoming-attached .becoming-attached a,
	#information.the-military .the-military a,

	#nicu.applies .applies a,
	#nicu.barr .barr a,

	#program.contact .contact a,
	#program.dose .dose a,
	#program.program .program a,
	#program.protocol .protocol a,

	#protecting.parenting-well .parenting-well a,
	#protecting.myths-about-good-parenting .myths-about-good-parenting a,
	#protecting.tips-to-deal .tips-to-deal a,
	#protecting.selecting-someone-to-care .selecting-someone-to-care a,
	#protecting.what-to-expect .what-to-expect a,
	#protecting.child-care-providers .child-care-providers a,
	#protecting.shaken-baby-syndrome .shaken-baby-syndrome a,
	#protecting.relations-of-crying .relations-of-crying a,
	#protecting.commonly-asked-quesions .commonly-asked-quesions a,

	#recognition.recognition .recognition a,

	#research.bibliography .bibliography a,
	#research.ongoing .ongoing a,
	#research.random .random a,
	#research.scientific .scientific a,
	#research.whitepaper .whitepaper a,
	#research.infant .infant a,
	
	#resources.jurisdiction .jurisdiction a,
	#resources.news .news a,
	#resources.resources .resources a,

	#sleeping.preventing-or-managing .preventing-or-managing a,
	#sleeping.treating-sleep-problems .treating-sleep-problems a,

	#soothing.common-features-and-principles .common-features-and-principles a,
	#soothing.common-sense-and-well .common-sense-and-well a,
	#soothing.soothing-methods-to-avoid .soothing-methods-to-avoid a,

	/* added for purple app campaign by cj, 150605 */
	#purpleapp.purpleapp .purpleapp a,

	#what-is.components-of-the-program .components-of-the-program a,
	#what-is.parent-focus-groups .parent-focus-groups a,
	#what-is.program-recognition .program-recognition a,
	#what-is.welcome .welcome a,
	#what-is.getting-started .getting-started a { 
		color: #642c87; 
	}

/*------------------------------------------------------------------------------------------



HEADER



------------------------------------------------------------------------------------------*/

header {
	height: 20px;
	width: 100%;
}

	#h-cont {
		margin: auto;
		padding: 25px 0 10px 0;
		width: 960px;
	}

		#search-bar {
			float: right;
		}

		#sharing {
			float: right;
			padding-right: 10px;
			position: relative;
		}

#index-header {
	margin: auto;
	padding-bottom: 50px;
	width: 960px;
}

/*------------------------------------------------------------------------------------------



HOME PAGE



------------------------------------------------------------------------------------------*/

#rotator {
	width: 960px;
	height: 300px;
	margin: 0 auto 40px;
	border: 3px solid #cdd4d2;
	border-radius: 15px;
	background-color: #ffffff;
	-moz-box-shadow: 0 3px 6px #cbcbcb;
	-webkit-box-shadow: 0 3px 6px #cbcbcb;
	box-shadow: 0 3px 6px #cbcbcb;
}

#home-wrap {
	width: 900px;
	margin: auto;
}

/*--LINK BOX - WHITE BOXES ON HOME--*/

.link-box {
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 3px 6px #cbcbcb;
	-moz-box-shadow: 0 3px 6px #cbcbcb;
	-webkit-box-shadow: 0 3px 6px #cbcbcb;
	display: inline-block;
	height: 330px;
	margin: 8px;
	padding: 15px;
	width: 250px;
	vertical-align: top;
}

.link-box a {
	text-decoration: none;
	color: #8d46ba;
}

.link-box a:hover {
	text-decoration: underline;
	color: #9670ad;
}

.link-box img {
	padding: 8px;
	background-color: #edeee4;
	width: 225px;
	margin: 0 0 7px 5px;
}

.link-box h1 { 
	padding: 0 0 10px 6px;
	line-height: 16pt; 
}

.link-box h1:hover { color: #8d46ba; }

.link-box p {
	color: #8b868d;
	line-height: 16pt;
	margin-left: 6px;
	min-height: 120px;
}

/*------------------------------------------------------------------------------------------



ALL PAGES



------------------------------------------------------------------------------------------*/

#sub-wrap {
	width: 960px;
	margin: auto;
}

.content { 
	border-top: 2px solid #642c87;
	margin-top: 10px;
	min-height: 400px;
	padding-top: 5px; 
}	

.youtube-left {
	padding: 10px 15px 15px 0;
	float: left;
}

.youtube-right {
	padding: 10px 0 15px 15px;
	float: right;
}

.youtube-center {
	padding: 10px 0 15px;
	text-align: center;
}

.purple-acro {
	display: block;
	width: 630px;
	height: 345px;
	margin: auto;
}

/*------------------------------------------------------------------------------------------



CONTACT FORM



------------------------------------------------------------------------------------------*/

#contact p,
label,
legend { font: 1.2em 'Source Sans Pro', sans-serif; }

#contact h1 { 
	margin: 10px 0 10px; 
	font-size: 24px; 
	color: #333333; 
}

#contact hr { 
	color: inherit; 
	height: 0; 
	margin: 6px 0 6px 0; 
	padding: 0; 
	border: 1px solid #d9d9d9; 
	border-style: none none solid; 
}

#contact { 
	display: block; 
	width: 650px; 
	margin: 50px auto; 
	padding: 35px; 
	border: 1px solid #cbcbcb; 
	background-color: #FFF; 
	-webkit-border-radius:5px;
}

/* Form style */

#contact label { 
	display: inline-block; 
	float: left; 
	height: 26px; 
	line-height: 26px; 
	width: 155px; 
	font-size: 1.1em; 
	-webkit-border-radius:5px; 
	text-align: right;
	padding-right: 15px;
	margin-top: 10px;
}

#contact input, 
textarea, 
select { 
	width: 280px; 
	margin: 0; 
	padding: 5px; 
	color: #666; 
	background: #f5f5f5; 
	border: 1px solid #ccc; 
	margin: 5px 0; 
	font:1.1em 'Source Sans Pro', sans-serif; 
	webkit-border-radius:5px; 
}

#contact input:focus, 
textarea:focus, 
select:focus { 
	border: 1px solid #999; 
	background-color: #fff; 
	color:#333; 
}

#contact input.submit { 
	width: 85px; 
	cursor: pointer; 
	background:#642c87; 
	color:#fff;
	margin-left: 170px; 
	border-radius: 5px;
}

#contact input.submit:hover { 
	background:#bb8cbb; 
}

#contact input[type="submit"][disabled] { 
	background:#888; 
}

#contact fieldset { 
	padding:20px; 
	border:1px solid #eee; 
	-webkit-border-radius:5px; 
	-moz-border-radius:5px; 
}

#contact legend { 
	padding:7px 10px; 
	font-weight:bold; 
	color:#000; 
	border:1px solid #eee; 
	-webkit-border-radius:5px; 
	-moz-border-radius:5px; 
	margin-bottom:0 !important; 
	margin-bottom:20px; 
}

#contact span.required { 
	font-size: 13px; 
	color: #ff0000; 
} /* Select the colour of the * if the field is required. */

#message { 
	margin: 10px 0; 
	padding: 0; 
}

.error_message { 
	display: block; 
	height: 22px; 
	line-height: 22px; 
	background: #FBE3E4 url('../assets/error.gif') no-repeat 10px center; 
	padding: 3px 10px 3px 35px; 
	color:#8a1f11;
	border: 1px solid #FBC2C4; 
	-webkit-border-radius:5px; 
}

.loader { 
	padding: 0 10px; 
}

#contact #success_page h1 { 
	background: url('../assets/success.gif') left no-repeat; 
	padding-left:22px; 
}

acronym { 
	border-bottom:1px dotted #ccc; 
}

/*------------------------------------------------------------------------------------------



FOOTER



------------------------------------------------------------------------------------------*/

footer {
	background-color: #bababa;
	background-image: url('../img/menu-pattern-gray.png');
	border-top: 2px solid #85908C;
	margin-top: 50px;
	margin-bottom: -30px;
	width: 100%;
}

footer ul {	list-style-type: none; }

#foot-cont {
	width: 960px;
	margin: auto;
}

#foot-cont-nann {
	width: 300px;
	margin: auto;
}

.foot-box-1 {
	display: inline-block;
	margin: 15px 15px;
	text-shadow: 0px 1px 1px #e8e8e8;
	text-align: center;
	vertical-align: top;
	width: 280px;
}

.foot-box-2 {
	display: inline-block;
	margin: 15px 15px;
	text-shadow: 0px 1px 1px #e8e8e8;
	text-align: center;
	vertical-align: top;
	width: 300px;
}

	.foot-box-1 h1,
	.foot-box-2 h1 {
		border-bottom: 1px solid #000000;
		width: 100%;
		padding: 5px 0;
		font-size: 1em;
	}

.foot-box-1 p,
.foot-box-2 p { padding: 10px 0; }

.foot-box-1 p a,
.foot-box-2 p a { text-decoration: none; }
.foot-box-1 p a:hover, 
.foot-box-2 p a:hover { color: #8d46ba; }

.foot-box-1 a, 
.foot-box-2 a { color: #000000; }
.foot-box-1 a:hover,
.foot-box-2 a:hover, { text-decoration: underline; }


#social-icons-foot { margin-top: 15px; }

#social-icons-foot img {
	width: 30px;
	margin: 0 5px;
}

#social-icons-foot img:hover { opacity: .8; }

/*--TOP - BACK TO TOP BUTTON --*/

#top {
	padding: 0 0 5px 0;
	margin: auto;
	text-align: center;
	text-shadow: 0px 1px 1px #e8e8e8;
}

#top a {
	color: #000000;
	text-decoration: none;
}

#top a:hover { color: #8d46ba; }

/*--LEGAL - DISCLAIMER ACROSS BOTTOM--*/

#legal {
	width: 100%;
	background-color: #888888;
	color: #000000;
}

#legal p {
	text-align: center;
	padding: 10px 0;
}

/*------------------------------------------------------------------------------------------



NANN SPECIFIC



------------------------------------------------------------------------------------------*/

#mainnav-nann {
	display: inline-block;
	padding: 25px 0 0 10px;
}

	#mainnav-nann ul { font-size: 9pt; }

	#mainnav-nann a {
		color: #ffffff;
		text-transform: uppercase;
	}
		
		#mainnav-nann a:hover { 
			border-top: 1px #ffffff solid;
			padding-top: 2px;
		 }

.foot-box-nann { width: 220px; }

#social-icons-foot-nann { 
	width: 180px;
	margin: 0 auto 10px;
	text-align: center;
}

#social-icons-foot-nann img {
	width: 30px;
	margin: 0 5px;
}

#social-icons-foot-nann img:hover {
	opacity: .8;
}