/*
Theme Name: Church & Dwight 2017
Author: Nattercan | Ben Ihle
Author URI: http://nattercan.com/
:Theme URI: http://nattercan.com
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{font-size:100%;font:inherit;padding:0;border:0;margin:0;vertical-align:baseline}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.clear{clear:both}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}.screen-reader-text{clip:rect(1px, 1px, 1px, 1px);position:absolute !important}

@font-face {
	font-family: 'blackjack';
	src: url('fonts/blackjack.eot');
	src: local('☺'), url('fonts/blackjack.woff') format('woff'), url('fonts/blackjack.ttf') format('truetype'), url('fonts/blackjack.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Geometria-Bold';
	src: url('fonts/Geometria-Bold.eot');
	src: local('☺'), url('fonts/Geometria-Bold.woff') format('woff'), url('fonts/Geometria-Bold.ttf') format('truetype'), url('fonts/Geometria-Bold.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Geometria-Light';
	src: url('fonts/Geometria-Light.eot');
	src: local('☺'), url('fonts/Geometria-Light.woff') format('woff'), url('fonts/Geometria-Light.ttf') format('truetype'), url('fonts/Geometria-Light.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Geometria';
	src: url('fonts/Geometria.eot');
	src: local('☺'), url('fonts/Geometria.woff') format('woff'), url('fonts/Geometria.ttf') format('truetype'), url('fonts/Geometria.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

body {
	color: #191919;
	font-family: 'Geometria', sans-serif;
	font-size: 24px;
	line-height: 27px;
	font-style: normal;
	font-weight: 300;
	border-top: 5px solid #cc1648;
	border-bottom: 5px solid #cc1648;
}

a {
	transition: color ease-in-out 0.2s;
	color: #0a4a78;
}

a:focus, a:active, a:hover {
	color: #cc1648;
	text-decoration: none;
}

strong {
	font-family: 'Geometria-Bold', sans-serif;
}
em { 
	font-family: 'Geometria-Light', sans-serif;
}
sup {
	font-size: 0.75em;
}

#header {
	background-color: #f5f3f2;
	width: 100%;
	text-transform: uppercase;
	position: relative;
	font-family: 'Geometria-Bold', sans-serif;
	color: #0a4a78;
}

#header .container::before, #header .container::after {
	display: none !important;
}

.logo {
	position: absolute;
	top: 20px;
	height: 140px;
	width: auto;
	z-index: 100;
}
#header #branding {
	font-size: 1em;
	padding-left: 160px;
}

header#header > .container {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	height: 100px;
}
#branding {
	display: flex;
	justify-content: flex-start;;
}
div.menus {
	justify-content: flex-end;;
}

/* menu */
#main-menu {
	font-size: 0.66em;
}
#main-menu ul {
	margin-bottom: 0;
	list-style: none;
	margin-left: 0;
}
#main-menu a {
	padding: 0.6em;
}
#main-menu a:hover {
	background-color: initial;
}
#main-menu .sub-menu {
	display: none;
}
#main-menu .menu-item:hover .sub-menu {
	display: block;
}
#main-menu .menu-item .sub-menu {
	position: absolute;
	background-color: white;
	padding: 0.4em;
	white-space: nowrap;
	margin-left: -0.4em;
	margin-top: -0.4em;
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
	text-align: left;
}
#main-menu .menu-item .sub-menu li { padding: 0.2em 0; }

/* mobile menu */
header#header > div.container { position: relative; }
#mobile-menu ul.nav {
	position: absolute;
	top: 100px;
	left: 0;
	background-color: #f5f3f2;
	display: block;
	z-index: 10;
	width: 100%;
	text-align: center;
	margin: 0;
	font-size: 0.66em;
}
#mobile-menu ul.nav li {
	float: none;
}
#mobile-menu ul.nav li i.fa { display: none; }
#mobile-menu ul.nav li .sub-menu li { padding: 15px; }
#mobile-menu.active a#mobile-toggle {
	color: #a0a0a0;
}
#mobile-menu nav { display: none; }
#mobile-menu.active nav { display: block; }
a#mobile-toggle { font-size: 1em; }

/* footer */
footer {
	background-color: #214679;
	border-top: 1px solid #547198;
	color: white;
	margin-top: 2.5em;
}

footer > div {
	padding-top: 20px;
	padding-bottom: 20px;
}
footer img {
	width: 6%;
	max-width: 100px;
	min-width: 50px;
	height: auto;
	padding-left: 10px;
	padding-right: 10px;
	vertical-align: middle;
}
footer a {
	color: white;
}
footer .subfooter {
	font-size: 0.58em;
	border-top: 1px solid #4f7199;
	background-color: #37608f;
}

/* home template */
.home #header { /* sit over the top of the slider */
	z-index: 1000;
}
.home section#about {
	margin-top: 40px;
	font-size: 0.75em;
}
.home section#about p {
	margin-bottom: 1.25em;
}

/* content */
div.bg-img {
	background-position: 100%;
	background-size: cover;
}
section#content {
	font-size: 0.75em;
	padding-top: 130px;
}
section#content h1,
section#content h2 {
	text-transform: uppercase;
	color: #0a4a78;
	font-size: 1.25em;
	font-family: 'Geometria-Bold', sans-serif;
	margin-bottom: 1.25em;
}
section#content h2 {
	margin-top: -20px;
	font-family: 'Geometria-Light', sans-serif;
}
section#content h5 {
	font-family: 'Geometria-Bold', sans-serif;
	color: #0a4a78;
	margin-bottom: 0.6em;
}
section#content p {
	margin-bottom: 1.25em;
}
section#content .wpcf7-form-control-wrap {
	display: block;
	margin-bottom: 0.6em;
}
section#content .wpcf7-form-control-wrap > * {
	width: 100%;
	border-radius: 5px;
	background-color: #f5f3f2;
	border: 1px solid #ddd;
	line-height: 1em;
	font-size: 0.8em;
	padding: 5px;
}
section#content .wpcf7-submit {
	border-radius: 5px;
	background-color: #f5f3f2;
	border: 1px solid #ddd;
	line-height: 1em;
	font-size: 0.8em;
	padding: 5px 10px;
}
section#content .wpcf7-submit:hover {
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
	color: #777;
}
.divider {
	border-right: 1px dashed #214679;
}

/* products */
.page-template-product-list header {
	text-align: center;
}
.page-template-product-list section.entry-content {
	text-align: center;
}
.page-template-product-list a.product-box {
	display: block;
	padding-bottom: 15px; /* special -- matches bootstrap col gutter */
}
.page-template-product-list a.product-box img {
	transition: box-shadow 0.2s ease-in-out;
	display: inline-block;
	width: 100%;
	height: auto;
}
.page-template-product-list a.product-box:hover img {
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

/* product detail */
.page-template-product-detail header h1 {
	text-align: center;
}
.page-template-product-detail section h3 {
	text-transform: uppercase;
	color: #0a4a78;
	font-size: 1em;
	font-family: 'Geometria-Bold', sans-serif;
	margin-bottom: 0.6em;
}
.page-template-product-detail .product-banner {
	height: 7em;
	display: block;
	background-color: #37608f;
	margin-bottom: 60px;
	margin-top: 1.25em;
}
.page-template-product-detail .product-banner img {
	height: 9.5em;
	width: auto;
	display: block;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	top: -1.25em;
}
.page-template-product-detail small {
	font-size: 0.6em;
	line-height: 0.5em;
}
.page-template-product-detail ul {
	list-style: circle outside;
	margin-left: 20px;
	margin-bottom: 1.25em;
}

.page-id-202 ul,
.page-id-201 ul {
	list-style: inside;
	margin-bottom: 1.25em;
}

@media (max-width: 1199px) {
	body { font-size: 20px; }
}
@media (max-width: 991px) {
}
@media (max-width: 767px) {
	.divider { border-right: none; }
	div.bg-img { background-image: none !important; }

}
@media (max-width: 550px) {
	#header .logo {
		height: 70px;
		top: 10px;
	}
	#header #branding {
		padding-left: 80px;
	}
}

