@import url("global.css");

/* Typography
=================================== */

#banner h1 {
	font-size: 5.1875em;
	color: #fff;
	text-align: center;
	line-height: 1.2;
	text-shadow: 0px 1px 10px rgba(4,33,39, 0.5);
}

	#banner h1 em {
		font-style: italic;
		font-weight: 300;
	}

#home-intro h1,
#symptom-box h1 {
	margin-bottom: 30px;
}

#home-intro p.lead {
	margin-bottom: 0;
}

#symptom-box h2 {
	margin-bottom: 60px;
}

#forum-box h1 {
	margin-bottom: 25px;
}


h3 {
	font-size: 1.4em; /* 24px / 16px */
	line-height: 1.2;
	margin-bottom: 12px;
}




/* Layout
=================================== */

#banner {
	background-color: #018da8;
	background-repeat: no-repeat;
	background-position: top center;
	background-size: cover;
	width: 100%;
	height: 534px;
	max-height: 534px;
	position: relative;
	padding-top: 125px;
}

#home-intro {
	margin-top: -60px;
	text-align: center;
}

	#home-intro .panel {
		padding-left: 5.375rem; /* 84px / 16px */
		padding-right: 5.375rem; /* 84px / 16px */
		padding-top: 3.75rem; /* 60px / 16px */
		padding-bottom: 3.75rem; /* 60px / 16px */
	}

		#intro-icon {
			width: 95px;
			height: 95px;
			border-radius: 50px;
			background: #fff url('../img/icon-crib-@2x.png') no-repeat top center;
			background-position: 24px 19px;
			background-size: 48px 48px;
			position: relative;
			margin: 0 auto;
			margin-top: -107px;
		}

		.custom-columns {
			padding-left: 0.9375rem;
			padding-right: 0.9375rem;
		}
		
			#symptom-box {
				padding-left: 5.375rem;
				padding-right: 5.375rem;
				padding-top: 3.75rem;
				padding-bottom: 3.75rem;
			}
			
				#symptom-box h3 {
					text-align: left;
				}
				
				ul#fancy-bullets {
					list-style: none;
					margin: 0;
				}
				
					ul#fancy-bullets li {
						width: 17.03703703703704%; /* 138px / 810px */
						float: left;
						margin-right: 3.7037037037037%; /* 30px / 810px */
						margin-bottom: 25px;
						/* min-height: 200px; */
					}
					
					ul#fancy-bullets li:nth-child(5n) {
						margin-right: 0;
					}
					
						ul#fancy-bullets li p {
							font-size: 0.875em; /* 14px / 16px */
						}
	
#forum-box #stats {
	margin-bottom: 25px;
}
	
	ul.stat {
		list-style: none;
		position: relative;
		margin-left: 0;
	}
	
		ul.stat li {
			color: #018da8;
			font-family: 'ff-tisa-web-pro', Rockwell, 'Courier Bold', Courier, Georgia, Times, 'Times New Roman', serif;
			font-style: italic;
			float: left;
			position: relative;
			padding: 10px;
		}
		
			ul.stat li:first-child {
				border: 2px solid #ebf6f8;
				width: 45px;
				height: 45px;
				border-radius: 250px;
			}
			
				ul.stat li p {
					color: #018da8;
					font-family: 'adelle-sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
					font-style: normal;
					font-weight: 700;
					margin-top: -2px;
				}
				
				ul.stat li p#twelvek {
					margin-left: -4px;
				}
				
				ul.stat.green li, ul.stat.green li p {
					color: #01a87f;
				}
				
				ul.stat.pink li, ul.stat.pink li p {
					color: #ca016c;
				}

.number {
	color: #b1dfe8;
	border-radius: 6px;
	border: 2px solid #ebf6f8;
	width: 45px;
	height: 45px;
	margin: 0 auto;
	margin-bottom: 12px;
}

	#symptom-box .number > p {
		font-size: 2em;
		text-align: center;
		margin-top: -3px;
	}




/* Animations
=================================== */
	
	#banner h1 {
		-moz-animation-name: floatHeadline;
	    -moz-animation-iteration-count: 1;
	    -moz-animation-timing-function: ease-in-out;
	    -moz-animation-duration: 1s;
	
	    -webkit-animation-name: floatHeadline;
	    -webkit-animation-iteration-count: 1;
	    -webkit-animation-timing-function: ease-in-out;
	    -webkit-animation-duration: 1s;
	
	    animation-name: floatHeadline;
	    animation-iteration-count: 1;
	    animation-timing-function: ease-in-out;
	    animation-duration: 1s;
    }
    
@-moz-keyframes floatHeadline {
	    0% {
	        -moz-transform: translateY(40px);
	        opacity: 0;
	    }
	    100% {
	        -moz-transform: translateY(0);
	        opacity: 1;
    	}
}

@-webkit-keyframes floatHeadline {
	    0% {
	        -webkit-transform: translateY(40px);
	        opacity: 0;
	    }
	    100% {
	        -webkit-transform: translateY(0);
	        opacity: 1;
	    }
}

@keyframes floatHeadline {
	    0% {
	        transform: translateY(40px);
	        opacity: 0;
	    }
	    100% {
	        transform: translateY(0);
	        opacity: 1;
	    }
}




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

@media only screen and (max-width: 40.063em) {
	#home-intro h1 {
		text-align: center;
	}
	
		#home-intro p.lead {
			font-size: 1rem;
		}
	
	.third-img-mod {
		border-radius: 0;
		border-bottom-left-radius: 5px;
		border-bottom-right-radius: 5px;
	}
	
	#banner {
		height: 150px;
	}
	
		#banner h1 {
			font-size: 1rem;
			display: none;
		}
		
	#symptom-box {
		padding-top: 1.75rem;
		padding-bottom: 1.75rem;
	}
	
		#symptom-box h1,
		#forum-box h1 {
			font-size: 1.4rem;
			margin-bottom: 12px;
			line-height: 1.2;
		}
		
		#symptom-box h2 {
			color: #8a9296;
			font-family: 'adelle-sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
			font-size: 1rem;
			line-height: 1.45;
			margin-bottom: 30px;
		}
	
		ul#fancy-bullets li {
			margin-bottom: 10px;
		}
	
	#forum-box {
		margin-bottom: 30px;
	}
		
		#forum-box p {
			margin-bottom: 0;
		}
			
		#stats {
			display: none;
		}
}

			
@media (max-width: 405px) {
	
	#home-intro {
		margin-top: -30px;
	}
	
		#home-intro .panel {
			padding-top: 1.75rem;
		}
		
		#intro-icon {
			display: none;
		}
	
	
	#symptom-box ul#fancy-bullets li {
		width: auto;
		margin-right: 0;
		float: none;
		/* min-height: 100px; */
	}
	
		#symptom-box ul#fancy-bullets li:nth-child(5n) {
			margin-right: 0;
		}
}


@media (max-width: 644px) {
	#banner {
		background-image: url('../img/design_banner_mobile.jpg');
	}
} 


@media (min-width: 645px) { 
	
	#banner {
		background-image: url('../img/design_banner_desktop.jpg');
	}
}


@media (min-width: 406px) and (max-width: 660px) {
	#symptom-box ul#fancy-bullets li {
		width: 45.45454545454545%; /* 300px / 660px */
		margin-right: 4.54545454545455%; /* 30px / 660px */
	}
	
		#symptom-box ul#fancy-bullets li:nth-child(5n) {
			margin-right: 4.54545454545455%; /* 30px / 660px */
		}
		
		#symptom-box ul#fancy-bullets li:nth-child(even) {
			margin-right: 0;
		}
}

@media only screen and (min-width: 40.063em) and (max-width: 48em) {
	h1 {
		font-size: 2.5rem;
	}
}


@media only screen and (max-width: 48em) /* 768px */ { 
	#home-intro .panel {
		padding-left: 0.9375rem;
		padding-right: 0.9375rem;
	}
}


@media (max-width: 660px) {
	#symptom-box {
		padding-left: 0.9375rem;
		padding-right: 0.9375rem;
	}
	
	#forum-box .two-third-mod {
		padding: 1.9375rem;
	}
}

@media (min-width: 642px) and (max-width: 675px) {
	#page #banner {
		padding-top: 8px;
	}
}

@media (max-width: 790px) {
	#symptom-box ul#fancy-bullets li {
		/* min-height: 220px; */
	}
}


@media (min-width: 800px) {
	#symptom-box h1 {
		width: 80%;
		margin: 0 auto;
		margin-bottom: 30px;
	}
}


@media (max-width: 960px) {
	#symptom-box ul#fancy-bullets li h4 {
		font-size: 0.875rem;
	}
}


@media (max-width: 865px) {
	#banner {
		padding-top: 70px;
	}
}

				
@media (min-width: 661px) and (max-width: 900px) {
	
	ul#fancy-bullets li {
		width: 22.22222222222222%; /* 180px / 810px */
	}
	
		#symptom-box ul#fancy-bullets li:nth-child(5n) {
			margin-right: 3.7037037037037%; /* 30px / 810px */
		}
		
		#symptom-box ul#fancy-bullets li:nth-child(4n+0) {
			margin-right: 0;
		}
}