/*css resets - demosthenes.info*/

* { border: none; }
body { margin: 0; font-size: 62.5% }
img {border:none;}
* { box-sizing: border-box;  margin:0; padding:0;}
html { font-size: 62.5%; }
/* sets the base size of the fonts, allowing us to set font size through rem units */
html, body { min-height: 100%; background: #fff; color: #000; }
/* sets the body height of the browser, so that backgrounds and div heights work correctly. Color and background will almost certainly be altered; they are just placeholders */
body { font-size: 1.4rem; text-rendering: optimizeLegibility; }
/* sets the base font size for the document, equivalent to 14 pixels in height; turns on kerning pairs and ligatures */
body, ul, ol, dl { margin: 0; }
article, aside, audio, footer, header, nav, section, video, hgroup { display: block; }
/* ensures that older browsers will display HTML5 elements correctly */
textarea { resize: vertical; }
/* changes textarea resizing from "both" (UA default) to vertical only */
table { border-collapse: collapse; }
td { padding: .5rem; }
/* causes tables to actually look like tables */
img { border: none; max-width: 100%; }
/* removes outlines from linked images (for older browsers and IE), sets up images for responsive design layout */
input[type="submit"]::-moz-focus-inner, input[type="button"]::-moz-focus-inner {border : 0px; }
/* removes the inner border effect from focused buttons for form elements in Firefox */
input[type="search"] { -webkit-appearance: textfield; }
input[type="submit"] { -webkit-appearance:none; }
/* removes the OS X appearance from HTML5 search inputs and submit buttons when viewed in Safari */
input:required:after { color: #f00; content: " *"; }
/* sets up required form fields with the conventional following red asterix */
input[type="email"]:invalid { background: #2b3430; }
/* causes a visual alert in browsers that do client-side checking of HTML5 email field – this may already be the default in some browsers. */
.right { float: right;  clear: right; }
.left { float: left; clear: left; }
/* allows a quick shortcut for floating elements left and right while avoiding the “float quirk” problem */
sub, sup { line-height: 0; }
/* sets superscript and subscript text so that it doesn't throw off leading for elements in which they are included */
body, html{
		min-height:100%;
		min-width:320px;

}
body{
	font-family: 'Open Sans', Helvetica, Verdana, Candara, sans-serif;
	background-color:#6D7C7F;
	background-image: url('../images/pattern-large.png');
    background-repeat: repeat;
}


main { display: block; 
}
#wrapper{
	max-width:1500px;
	margin:0;
	padding:0;
	margin-right:auto;
	margin-left:auto;

}

/*text styles*/
h2, h3 {
	font-family: 'Poiret One', cursive;
	color: #2b3430;
}
p, #services ul, label, input[type=submit] {
	font-family: 'Gill Sans', 'Gill Sans MT', Calibri, sans-serif;
	color: #2b3430;
	font-size: 1.4em;
	font-weight: 200;
	line-height: 140%;
	margin-bottom: 1em;
}
h2{
	margin:2em auto 1em auto;
	font-size:3.1em;
	text-align: center;
	width:100%;
}
h3{
	margin:2em auto 1em auto;
	font-size:2.1em;
	text-align: center;
	width:100%;
}
h2 span, h3 span{
	display: inline-block;
	position: relative;
}
h2 span:before, h2 span:after, h3 span:before, h3 span:after {
  content: "";
  position: absolute;
  height: 1px;
  border-bottom: 1.5px solid #2b3430;
  top: 55%;
  width: 100%;
}
h2 span:before, h3 span:before {
  right: 100%;
  margin-right: 30px;
}
h2 span:after, h3 span:after  {
  left: 100%;
  margin-left: 30px;
}

/*header styles*/
header {
	background: white;
	width: 100%;
	max-width: 1500px;
	overflow: auto;
}
#sticky{
	position:fixed;
	display:block;
	z-index:2000;
}
nav {
	width: 100%;
	margin: 0;
	padding:0;
	overflow: auto;
	font-size:0.8em;
	font-family: 'Poiret One', cursive;
	color: #2b3430;
	display: table;
}
h1 {
	float: left;
	width: 100%;
}
h1 img{
	display: block;
	width: 45%;
	margin: 2% auto;
}
nav ul{
	display: table-cell;
	vertical-align: middle;
}
#mobilemenu {
	display: none;
}
nav ul li {
	display:inline-block;
}
.links{
	padding-right: 1em;
	text-decoration: none;
	height: 100%;
	font-size: 2.5em;
	color: #2b3430;
	font-weight:800;
	transition: color 0.15s ease;
	-moz-transition: color 0.15s ease;
	-webkit-transition: color 0.15s ease;
	-o-transition: color 0.15s ease;
	-ms-transition: color 0.15s ease;
}
nav a:hover{
	color: #e96c31;
}
ul {
	padding-left: 15%;
}

/*section styles*/

section {
	width:100%;
	margin:0;
	padding:0;
}
#aboutSection {
	background-color: #cfdbd2;
	overflow: auto;
	background-image: url('../images/pattern.png');
    background-repeat: repeat;
}
#aboutSection .left, #references .left, #services .left{
	width:49.5%;
}
#aboutSection .left img{
	border: 1px solid #6e7f81;
	transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	width:50%;
	height:auto;
	margin-left:25%;
	margin-top:25%;
	margin-bottom:25%;
}

#mobilePic{
	display:none;
}
#aboutSection .right, #references .right, #services .right{
	width:49.5%;
	padding-right: 3em;
	padding-left: 1.5em;
}
#profurlink, #firstaid{
	text-decoration: none;
	color: #2b3430;
	transition: color 0.15s ease;
	-moz-transition: color 0.15s ease;
	-webkit-transition: color 0.15s ease;
	-o-transition: color 0.15s ease;
	-ms-transition: color 0.15s ease;
}
#nanook{
	text-decoration: none;
	color: #2b3430;
	font-style: italic;
	font-weight: 400;
	transition: color 0.15s ease;
	-moz-transition: color 0.15s ease;
	-webkit-transition: color 0.15s ease;
	-o-transition: color 0.15s ease;
	-ms-transition: color 0.15s ease;
}
#nanook:hover, #profurlink:hover, #firstaid:hover{
	color:#e96c31;
}
#social {
	text-align: center;
	margin:1em 0 2em 0;
	padding:0;
}
#social a {
	padding:0;
	margin:0;
	height:0;
	font-size:0;
}
#social a div {
	height: 60px;
	width: 60px;
	transition: background-image 0.25s ease;
	-moz-transition: background-image 0.25s ease;
	-webkit-transition: background-image 0.25s ease;
	-o-transition: background-image 0.25s ease;
	-ms-transition: background-image 0.25s ease;
	display:inline-block;
	padding:0;
	margin:0;
}
#social a{
	margin-right:15px;
}
#social a:last-child{
	margin-right:0px;
}
#twittercontainer{
	background-image: url("../images/twitter.png");
	background-size: contain;
}
#twittercontainer:hover{
	background-image: url("../images/twitter-rollover2.png");
}
#facebookcontainer{
	background-image: url("../images/facebook.png");
	background-size: contain;
}
#facebookcontainer:hover{
	background-image: url("../images/facebook-rollover2.png");
}
#instagramcontainer{
	background-image: url("../images/instagram.png");
	background-size: contain;
}
#instagramcontainer:hover{
	background-image: url("../images/instagram-rollover.png");
}

/*references section*/
#references{
	background-image: url("../images/references-1500.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: auto auto;
	overflow:auto;
	height:100%;
	padding-bottom:1em;
	background-color: #040404;
}
#references h3, #references h3 span, #references p {
	color:white;
}
#references h3 span:before, #references h3 span:after, #contact h2 span:before, #contact h2 span:after{
	border-bottom: 1.5px solid white;
}
#references p {
	font-weight: 100;
	font-size: 1.2em;
	line-height: 130%;
}
#references p:last-child{
	margin-bottom:3em;
}
#references .left {
	width:50%;
	padding-right: 2em;
	padding-left: 2em;
}
#references .right {
	width:49%;
}
#references hr {
	height: 1px;
	color: #fff;
	background-color: #fff;
	width: 80%;
	margin-right:auto;
	margin-left:auto;
	margin-bottom:1.5em;
	margin-top:1.5em;
}
#references p span{
	font-style: italic;
	padding-left: 1.5em;
}


/*services section*/ 

#services {
	background-color: #fdedd0;
	overflow: auto;
	background-image: url('../images/pattern3.png');
    background-repeat: repeat;
    padding-bottom:1em;
}
#services .left img{
	background-color: white;
	padding:10px;
	border: 1px solid #6e7f81;
	width:70%;
	height:auto;
	margin-left:15%;
	margin-top:10%;
	margin-bottom:10%;
}
#services span:before, #services span:after {
  content: "";
  position: absolute;
  height: 1px;
  border-bottom: 1.5px solid #2b3430;
  top: 55%;
  width: 30%;
}
#services span:before, #services span:before {
  right: 100%;
  margin-right: 30px;
}
#services span:after, #services span:after  {
  left: 100%;
  margin-left: 30px;
}
#list{
	margin-bottom:0;
}
#services ul{
	margin-top:0;
	padding-left:0;
}
#services ul li{
	list-style-type: none;
}
#services ul li::before { 
	content: "\2022 ";
	padding-right:10px;
}
#services #PDFlink{
	display:block;
	background-color: #FAD589;
	width: 90%;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	/*font-style: italic;*/
	padding:7px;
	text-decoration: none;
	margin-top:1em;
	color: #2b3430;
}
#services #PDFlink:hover{
	background-color: #f7bd4a;
}

/*contact styles */
#contact {
	background-color:#2b3430;	
	overflow: auto;
	padding:2em 2em 5em 2em;
}
#contact h2, #contact p {
	color: white;
}
#contact p{
	text-align: center;
	font-weight: 100;
	letter-spacing: .8px;
	margin-bottom: 3em;
	margin-top:1em;
}
/*form styles*/
form{
	width:70%;
	margin-right:auto;
	margin-left:auto;
}
label{
	color:white;
	display:block;
	margin-bottom: 1.1em;
}
#first{
	float: left;
	width:45%;
}
#second{
	float: right;
	width:45%;
}
#third{
	margin-right:auto;
	margin-left:auto;
	width:55%;
	text-align: center;
	margin-bottom:2em;
}
#firstfieldset{
	margin-bottom: 4em;
}
input[type=text], input[type=email], textarea {
    border: none;
    border-bottom: 1px solid white;
    background-color: #2b3430;
    color: white;
    font-family : inherit;
  	font-size : 120%;
}
input[type=text], input[type=email] {
	width:100%;
}
textarea {
	width:100%;
	margin-bottom:4em;
}
#buttonHolder {
	width:100%;
	text-align:center;
}
#message{
	margin-top:0;
}
input[type=submit]{
	line-height:100%;
	text-align: center;
	width:140px;
	background-color: white;
	color:#2b3430;
	font-weight: 500;
	padding:15px 10px;
	transition: background-color 0.15s ease;
	-moz-transition: background-color 0.15s ease;
	-webkit-transition: background-color 0.15s ease;
	-o-transition: background-color 0.15s ease;
	-ms-transition: background-color 0.15s ease;
	margin-bottom: 0;
}
input[type=submit]:hover{
	background-color: #e96c31;
}

/*footer styles*/
footer{
	background-color: white;
	padding:30px 10px 10px 10px;
}
#footercenter1{
	text-align:center;
	margin-bottom:1.5em;
}
#footercenter1 img{
	height:70px;
	width:auto;
}
#profur{
	margin-right:1em;
}
#footercenter{
	width:100%;
	text-align: center;
	margin-bottom:1em;
}
footer p{
	width:100%;
	text-align: center;
}
footer p a {
	text-decoration: none;
	font-weight: 400;
	color: #2b3430;
}
footer p a:hover {
	color: #e96c31;
}
#footerlogo img{
	width:200px;
	height:auto;
	margin-right:15px;
}
footer a{
	text-decoration: none;
}
#footertwittercontainer, #footerfacebookcontainer, #footerinstagramcontainer{
	width:50px;
	height:50px;
	display:inline-block;
	transition: background-image 0.25s ease;
	-moz-transition: background-image 0.25s ease;
	-webkit-transition: background-image 0.25s ease;
	-o-transition: background-image 0.25s ease;
	-ms-transition: background-image 0.25s ease;
}
#footertwittercontainer {
	background-image: url('../images/footer-twitter.png');
	margin-right:5px;
}
#footertwittercontainer:hover {
	background-image: url('../images/footer-twitter-rollover.png');
}
#footerinstagramcontainer {
	background-image: url('../images/footer-instagram.png');
	margin-right:5px;
}
#footerinstagramcontainer:hover {
	background-image: url('../images/footer-instagram-rollover.png');
}
#footerfacebookcontainer {
	background-image: url('../images/footer-facebook.png');
}
#footerfacebookcontainer:hover {
	background-image: url('../images/footer-facebook-rollover.png');
}

/*maternity message update*/
#aboutSection .left h3, #aboutSection .left p{
	display:block;
	padding-right: 1.5em;
    padding-left: 1.5em;
    color: #e96c31; 
}
#aboutSection .left p{
	margin-bottom: -1em;
}
#aboutSection #matheader{
	font-weight: 400;
}
.matleave{
	display:none;
	color: #e96c31;
}
