/* 
 * Foundation Icons v 3.0
 * Made by ZURB 2013 http://zurb.com/playground/foundation-icon-fonts-3
 * MIT License
 */

@font-face {
  font-family: "foundation-icons";
  src: url("../fonts/foundation-icons.eot");
  src: url("../fonts/foundation-icons.eot?#iefix") format("embedded-opentype"),
       url("../fonts/foundation-icons.woff") format("woff"),
       url("../fonts/foundation-icons.ttf") format("truetype"),
       url("../fonts/foundation-icons.svg#fontcustom") format("svg");
  font-weight: normal;
  font-style: normal;
}
.fi-alert:before,
.fi-social-facebook:before,
.fi-social-instagram:before,
.fi-social-twitter:before,
.fi-social-yelp:before,
.fi-social-youtube:before {
  font-family: "foundation-icons";
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  text-decoration: inherit;
}
.fi-alert:before { content: "\f101"; }
.fi-social-facebook:before { content: "\f1c4"; }
.fi-social-instagram:before { content: "\f1cd"; }
.fi-social-twitter:before { content: "\f1e4"; }
.fi-social-yelp:before { content: "\f1e9"; }
.fi-social-youtube:before { content: "\f1ea"; }

/* font resources */
@font-face {
    font-family: 'OpenSansRegular';
    src: url('../fonts/OpenSans-Regular-webfont.eot');
    src: url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OpenSans-Regular-webfont.woff') format('woff'),
         url('../fonts/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('../fonts/OpenSans-Regular-webfont.svg#OpenSansRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'OpenSansItalic';
    src: url('../fonts/OpenSans-Italic-webfont.eot');
    src: url('../fonts/OpenSans-Italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OpenSans-Italic-webfont.woff') format('woff'),
         url('../fonts/OpenSans-Italic-webfont.ttf') format('truetype'),
         url('../fonts/OpenSans-Italic-webfont.svg#OpenSansItalic') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'OpenSansSemibold';
    src: url('../fonts/OpenSans-Semibold-webfont.eot');
    src: url('../fonts/OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OpenSans-Semibold-webfont.woff') format('woff'),
         url('../fonts/OpenSans-Semibold-webfont.ttf') format('truetype'),
         url('../fonts/OpenSans-Semibold-webfont.svg#OpenSansSemibold') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'OpenSansBold';
    src: url('../fonts/OpenSans-Bold-webfont.eot');
    src: url('../fonts/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OpenSans-Bold-webfont.woff') format('woff'),
         url('../fonts/OpenSans-Bold-webfont.ttf') format('truetype'),
         url('../fonts/OpenSans-Bold-webfont.svg#OpenSansBold') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* theme styles - global */
body {
	color: #151515;
	font-family: "OpenSansRegular", Arial, Helvetica, sans-serif;
}
bold {
	font-family: "OpenSansBold";
}

h1, h2, h3, h4, h5, h6, .policy span,
p.h1, p.h2, p.h3, p.h5, p.h6 {
	font-weight: normal;
	font-family: Georgia, serif;
	font-style: normal;
	font-variant: normal;
}
h1,
p.h1 {
  font-size: 1.5rem;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #767676; 
}

h2,
p.h2 {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 0.5rem; 
  color: #13294b;
}

h3,
p.h3 {
  font-size: 1.1875rem;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 0.5rem; 
  color: #13294b;
}

h4 {
  font-size: 1.125rem;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 0.5rem; 
  color: #13294b;
}

h5 {
  font-size: 1.0625rem;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 0.5rem; }

h6 {
  font-size: 1rem;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 0.5rem; }
a {
  color: #006699;
}
a:hover {
  text-decoration: underline;
  color: #4B9CD3;
}
a.button:hover {
  text-decoration: none;
}
hr {
  margin-bottom: 3rem;
}

/* header modifications */
#header {
  position: fixed;
  width: 100%;
  margin: 0 auto;
  background-color: #4b9cd3;
  height: 2.8em;
  padding: 0;
  overflow: hidden;
  z-index: 1000;
}
#top-wrapper {
  padding: 4px 0 0 0;
}
#office-name {
	font-family: Georgia, "Times New Roman", serif;
  color: #ffffff;
  font-size: 1em;
  padding: 5px 0 0 5px;
}
#phone-number {
  color: #ffffff;
  font-size: 1em;
  padding: 5px 5px 0 0;
}
#phone-number a,
#office-name a {
  color: #ffffff;
}
#phone-number a:hover,
#office-name a:hover {
  color: #13294B;
  text-decoration: none;
}
#social-wrapper {
  font-size: 1em;
}
#social-wrapper i {
  font-size: 1.5em;
  padding: 1px 9px;
  margin-right: 10px;
  color: #4b9cd3;
  background-color: #ffffff;
  border-radius: 50%;
  order: 1;
}
#social-wrapper i:hover {
  color: #13294B;
  background-color: #ffffff;
}
#brand-wrapper {
  width: 100%;
  text-align: center;
  margin: 0 auto;
  padding: 2.8em 0 0 0;
  background-color: #ffffff;
}

@media screen and (max-width: 39.9375em) {
  #social-wrapper i {
    font-size: 1.35em;
    padding: 0px 7px;
    margin-right: 6px;
    color: #4b9cd3;
    background-color: #ffffff;
    border-radius: 50%;
    order: 1;
  } 
  p.h1:after {
    content: "";
    border-bottom: #306ABF 1px dotted ;
    width:25%;
    display:block;
    margin:0 auto;
    }
}




/* container modifications */
.body_wrapper {
  background-color: #ffffff;
  padding: 3em 3%;
}
.body_wrapper_alt {
  background-color: #f2f2f2;
  padding: 3em 3%;
}
.down_arrow_grey {
	height: 50px;
	width: 100%;
	overflow: hidden;
	background: #ffffff url(../images/down-arrow-grey.gif) no-repeat center top;
}
.down_arrow_white {
	height: 50px;
	width: 100%;
	overflow: hidden;
	background: #f2f2f2 url(../images/down-arrow-white.gif) no-repeat center top;
}
.service {
  padding: 0;
  text-align: center;
  margin-bottom: 4em;
}
.service p {
  margin-left: 0.5em;
  margin-right: 0.5em;
}
.service h2 {
  background-color: #13294b;
  color: #4b9cd3;
  padding: 0.75em 0;
}
.bottom_1 {
  margin-bottom: 1em;
}
.bottom_2 {
  margin-bottom: 2em;
}
.bottom_3 {
  margin-bottom: 3em;
}
.bottom_4 {
  margin-bottom: 4em;
}
.staff-wrapper {
  text-align: center;
}
.staff-wrapper:hover {
  cursor: pointer;
}

blockquote {
	background-color: #efefef;
  margin: 1em 3em 2em 1em;
  padding: 1em 1em 0.5em 1em ;
  border-left: 5px solid #4B9CD3; 
}
  blockquote, blockquote p {
    line-height: 1.6;
    color: #1f1f1f; 
}

textarea {
  height: auto;
  min-height: 8em; 
}

.emergency {
	background-color: #e0e6e8;
}

/* navigation modifications */
.menu-icon.dark::after {
	background: #4B9CD3;
	box-shadow: 0 7px 0 #4B9CD3, 0 14px 0 #4B9CD3; }
.is-stuck .menu-icon.dark::after {
	background: #ffffff;
	box-shadow: 0 7px 0 #ffffff, 0 14px 0 #ffffff; }
.menu-icon.dark:hover::after {
	background: #13294B;
	box-shadow: 0 7px 0 #13294B, 0 14px 0 #13294B; }

.menu-icon.dark::after {
	background: #4B9CD3;
	box-shadow: 0 7px 0 #4B9CD3, 0 14px 0 #4B9CD3; }
.is-stuck .menu-icon.dark:hover::after {
	background: #13294B;
	box-shadow: 0 7px 0 #13294B, 0 14px 0 #13294B; }

.top-bar,
.top-bar ul,
.title-bar {
  background-color: #ffffff;
}
.top-bar-left .menu a,
.title-bar {
  color: #4b9cd3;
  font-family: Georgia, "Times New Roman", serif;
  font-variant: small-caps;
  font-size: 1.1em;
}
.title-bar {
  padding-left: 1em;
}
.top-bar-left .menu a:hover {
	color: #13294B;
}
.title-bar-title {
  margin-left: 10px;
	width: auto;
}

.title-bar-title {
  margin-left: 10px;
	cursor: pointer;
}
.title-bar-title:hover {
	color: #13294B;
}

.is-stuck .top-bar,
.is-stuck .top-bar ul {
  background-color: #4b9cd3;
}
.is-stuck .top-bar-left .menu a {
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-variant: small-caps;
  font-size: 1.1em;
}
.is-stuck .top-bar-left .menu a:hover {
	color: #13294B;
}
.is-stuck .hover-underline-menu .menu .underline-from-center::after {
    border-bottom: 0.125rem solid #13294B;
}
.is-stuck .title-bar {
  background-color: #4b9cd3;
}
.is-stuck .title-bar {
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-variant: small-caps;
  font-size: 1.1em;
}





@media screen and (min-width: 64em) {
  .hover-underline-menu .menu a {
    padding: 0.7rem 1.25rem;
		color: #4b9cd3;
  }
  .hover-underline-menu .menu .underline-from-center {
    position: relative;
    text-decoration: none;
  }
  .is-stuck .hover-underline-menu .menu .underline-from-center::after {
    content: "";
    position: absolute;
    top: calc(100% - 0.125rem);
    border-bottom: 0.125rem solid #13294B;
    left: 50%;
    right: 50%;
    transition: all 0.5s ease;
  }
  .hover-underline-menu .menu .underline-from-center::after {
    content: "";
    position: absolute;
    top: calc(100% - 0.125rem);
    border-bottom: 0.125rem solid #4b9cd3;
    left: 50%;
    right: 50%;
    transition: all 0.5s ease;
  }
  .hover-underline-menu .menu .underline-from-center:hover::after {
    left: 0;
    right: 0;
    transition: all 0.5s ease;
    } 
}

/* slide show modifications */
.orbit-container {
  position: relative;
	height: 0;
  margin: 0;
  list-style: none;
  overflow: hidden; 
}

/* large screen slider caption */
@media screen and (min-width: 64em) {
	.orbit-caption {
		position: absolute;
		bottom: -1px;
		width: 100%;
		padding: 1.2rem 10%  1.2rem 0;
		background-color: rgba(5, 5, 5, 0.5);
		color: #fefefe; 
		font-family: Georgia, "Times New Roman", serif;
		font-size: 2.1em;
		text-align: right;
	}
}
/* medium screen slider caption */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
		.orbit-caption {
		position: absolute;
		bottom: 0;
		width: 100%;
		padding: 1.0rem 1rem;
		background-color: rgba(5, 5, 5, 0.5);
		color: #fefefe; 
		font-family: Georgia, "Times New Roman", serif;
		font-size: 1.9em;
		text-align: center;
	}
	
}
/* small screen slider caption */
@media screen and (max-width: 39.9375em) {
	.orbit-caption {
		position: absolute;
		bottom: 0;
		width: 100%;
		padding: 0.1em 1rem;
		background-color: rgba(5, 5, 5, 0.5);
		color: #fefefe; 
		font-family: Georgia, "Times New Roman", serif;
		font-size: 1.1em;
		text-align: center;
	}
}


/* footer modifications */
#footer-wrapper {
  background-color: #13294b;
  border-top: #4b9cd3 10px solid;
  color: #ffffff;
  padding-top: 2em;
}
#footer-wrapper a {
  color: #ffffff;
  text-decoration: none;
}
#footer-wrapper a:hover {
  color: #ffffff;
  text-decoration: underline;
}
#footer-wrapper p.h1 {
  color: #ffffff;
  font-variant: small-caps;
	margin-bottom: 1em;
	line-height: 1em;
}
#copyright {
  padding: 8em 0 3em;
  background: #13294b url("../images/footer-logo.jpg") no-repeat center top;
}
#footer-hours p {
	line-height: 0.9;
}
#footer-hours p span {
  display: inline-block;
  width: 110px;
}
#footer-wrapper small {
  font-size: 80%;
}

/* button modifications */
.button {
  font-family: Georgia, "Times New Roman", serif;
}

/* form modifications */
form {
  margin: 2em 1em;
  padding: 1em;
  border: #efefef dotted 1px;
  background-color: #f1f1f1;
  font-family: Georgia, "Times New Roman", serif;
}
label,
legend {
  color: #069;
}
.help-text {
  color: #777;
}
label span {
  color: #990000;
  font-size: 80%;
}
label span::before {
  content: " ("
}
label span::after {
  content: ")"
}

/* miscellaneous modifications */
.radius {
  border-radius: 5px;
}
.drop-shadow {
  box-shadow: 0 5px 10px #999;
}

/* testimonials slider */
.endorse-wrapper {
  background-image: url(../images/quote.png);
  background-repeat: no-repeat;
  background-position: top left;
}
.endorse-wrapper p {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.1em;
  color: #13294b;
  margin: 0 1em 0 1.75em;
  padding-top: 1em;
}
.endorse-wrapper .client  {
  color: #333333;
	font-family: "OpenSansRegular", Arial, Helvetica, sans-serif;
  text-align: center;
}

.orbit-controls .orbit-next,
.orbit-controls .orbit-previous {
  height: 2em;
  width: 1em;
}


/* -------------------------------- 
     Return to top of page
-------------------------------- */
.cd-top {
	display: inline-block;
	height: 40px;
	width: 40px;
	position: fixed;
	bottom: 20px;
	right: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
	/* image replacement properties */
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	visibility: hidden;
	opacity: 0;
	-webkit-transition: opacity .3s 0s, visibility 0s .3s;
	-moz-transition: opacity .3s 0s, visibility 0s .3s;
	transition: opacity .3s 0s, visibility 0s .3s;
	background-color: #4b9cd3;
	background-image: url(../images/cd-top-arrow.svg);
	background-repeat: no-repeat;
	background-position: center 50%;}
.cd-top.cd-is-visible, 
.cd-top.cd-fade-out, 
.no-touch .cd-top:hover {
	-webkit-transition: opacity .3s 0s, visibility 0s 0s;
	-moz-transition: opacity .3s 0s, visibility 0s 0s;
	transition: opacity .3s 0s, visibility 0s 0s;}
.cd-top.cd-is-visible {
	/* the button becomes visible */
	visibility: visible;
	opacity: 1;}
.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5;}
.no-touch .cd-top:hover,
.cd-top:hover {
  background-color: #336699  ;
  opacity: 1}
@media only screen and (min-width: 40.0625em) {
  .cd-top {
    right: 20px;
    bottom: 20px;} 
}
@media only screen and (min-width: 64.0625em) {
  .cd-top {
    height: 40px;
    width: 40px;
    right: 30px;
    bottom: 30px;} 
}
