/*
	Template #3 "Parallax Universe"
	-------------------------------
	1920px max-width "1080p" template
	with parallax effects and lots of other
	scroll-triggered animations.

	Layout colors
	---------------------
	off-white: #F2F2F2
	light yellow-green: #C6E070
	yellow-green: #91C46C
	teal: #287D7D
	dark blue: #1C344C
	very dark blue for text: #1A2E40

	7/22/2015 Mark Lockhart
*/

body {
	margin: 0;
	font-size: 1rem;
	font-family: 'Ubuntu', Verdana, Geneva, sans-serif;
	background-color: #F2F2F2;
}

a {
	-o-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-khtml-transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	transition: all 0.2s linear;
	color: #287D7D;
	text-decoration: none;
}

a:hover {
	color: #78A35A;
}

h1 {
	font-size: 1.8rem;
	padding: 0;
	margin: 0;
}

h2 {
	font-size: 1.5rem;
}

img {
	max-width: 100%;
	height: auto;
}

.scale-up {
	-o-transition: all 0.15s linear;
	-moz-transition: all 0.15s linear;
	-khtml-transition: all 0.15s linear;
	-webkit-transition: all 0.15s linear;
	-ms-transition: all 0.15s linear;
	transition: all 0.15s linear;
}

.rounded-lg {
	border-radius: 10px;
}

.top-wrapper, .top, .bucket-wrapper, .top-link, .mobile-menu, .hamburger, .contact-close, .login-button {
	-o-transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
	-khtml-transition: all 0.3s linear;
	-webkit-transition: all 0.3s linear;
	-ms-transition: all 0.3s linear;
	transition: all 0.3s linear;
}

.top-wrapper {
	background-color: #F2F2F2;
	height: 125px;
	border-bottom: 1px solid #1A2E40;
	position: static;
	width: 100%;
	top: 0;
	z-index: 999;
}

.top {
	margin: 0 auto;
	padding-top: 25px;
	width: 95%;
	max-width: 1920px;

}

.logo {
	background: url("../images/logo.png") center left no-repeat;
	height: 58px;
	display: inline-block;
	position: absolute;
	top: 25px;
	left: 5%;
	z-index: 10;
}

.title {
	font-weight: bold;
	color: #0E162E;
	padding-top: 5px;
	padding-bottom: 3px;
}

.subtitle {
	position: relative;
}

.top-right {
	float: right;
	width: 60%;
}

.main-menu {
	text-align: center;
	display: none;
	margin-left: 2%;
	width: 100%;
}

.main-menu ul {
	list-style-type: none;
	padding: 47px 0 0 0;
	font-size: 1.3rem;
	font-weight: bold;
	position: absolute;
	width: 50%;
}

.main-menu li {
	display: inline;
	padding-right: 4%;
	position: relative;
}

.main-menu li:last-of-type {
	padding-right: 0;
}

.main-menu ul li:hover a {
	color: #1C344C;
}

.menu-trigger:hover > .dropdown {
    visibility: visible;
    opacity: 1;
    top: 37px;
}

.menu-trigger2:hover > .dropdown {
    visibility: visible;
    opacity: 1;
    top: 40px;
}


/* dropdown menu css */
.dropdown {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 0px;
    z-index: 999;
    width: 400%;	
    -o-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-khtml-transition: all 0.4s ease-in-out;
	-webkit-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
    transition-delay: 0.05s;
}
 
.dropdown ul {
    font-size: 1.2rem;
    background-color: rgba(28,52,76, 0.97);
    padding: 15px;
    text-align: left;
    padding-top: 20px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border: 1px solid #112;
    border-top: none;
}
 
.dropdown li {
    width: 100%;
    display: block;
    margin: 0;
    padding-bottom: 15px;
     
}

.dropdown a {
	color: #91C46C;
}

.dropdown a:hover {
	color: #FFF;
}

.dropdown ul li a {
	color: #91C46C !important;
}

.dropdown ul li a:hover {
	color: #F2F2F2 !important;
}

.dropdown:before {
	content: '';
	width: 0;
	height: 0;
	top: -10px;
	left: 47%;
	position: absolute;
	border-style: solid;
	border-width: 0 12.5px 10px 12.5px;
	border-color: transparent transparent #192D3F transparent;
}

.underline {
	display: inline-block;
	position: relative;
}
.underline:after {
	content: '';
	position: absolute;
	top: 0px;
	left: 45%;
	height: 0px;
	width: 10px;
	border-style: solid;
	border-width: 0 12.5px 10px 12.5px;
	border-color: transparent;
	-webkit-transition: all ease 0.5s;
	-moz-transition: all ease 0.5s;
	transition: all ease 0.5s;
}

.underline:hover:after {
	top: 27px;
	border-color: transparent transparent #192D3F transparent;
}

.underline2:hover:after {
	top: 29px;
	border-color: transparent transparent #192D3F transparent;
}

.social-icons {
	font-size: 1.2rem;
	text-align: right;
	width: 30%;
	position: absolute;
	top: 25px;
	right: 5%;
}

.social-icons a {
	color: #1A2E40;
	margin-left: 10px;
}

.social-icons a:hover {
	color: #287D7D;
}

.social-icons i:last-of-type {
	color: #91C46C;
}

.social-icons i:last-of-type:hover {
	color: #C6E070;
}

.social-icons i:not(.fa-user) {
	display: none;
}

.login-button {
	background-color: #1A2E40;
	border-radius: 5px;
	padding: 4px 10px 8px 10px;
	color: #78A35A;
	font-weight: bold;
	font-size: 0.95rem;
	width: 58px;
	position: relative;
	right: 50px;
	top: -45px;
	display: none;
}

.login-button:hover {
	background-color: #287D7D;
	color: #C6E070;
}

.login-button:hover i {
	color: #C6E070;
}

.top-phone {
	font-size: 1.4rem;
	font-weight: bold;
}


/********************************** lower-res popup menu  */
.mobile-menu {
	position: absolute;
	top: 125px;
	right: 0;
	width: 175px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	opacity: 0;
	background-color: #1A2E40;
	padding: 15px 10px;
	display: none;
	font-size: 1.2rem;
	line-height: 2.8rem;
	font-weight: bold;
}

.mobile-menu a {
	color: #78A35A;
}

.mobile-menu a:hover {
	color: #C6E070;
}

.hamburger {
	font-size: 2.5rem !important;
	color: #287D7D;
	position: absolute;
	right: 5%;
	display: none;
	cursor: pointer;
}

.hamburger:hover {
	color: #1C344C;
}



/***************************************** hero section */
.hero {
	color: #FFF;
	background-color: rgba(242,242,242, 0.6);
}

.hero-box {
	width: 80%;
	margin: 0 auto;
	padding: 15px;
	color: #1A2E40;
}

.hero-box h1 {
	text-align: center;
	font-size: 2rem;
}

.hero-box p {
	font-size: 1.1rem;
	line-height: 1.5rem;
}


/********************************************* Buckets */
.bucket-wrapper {
	background: url("../images/family.jpg") top center no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

.buckets {
	margin: 0 auto;
	padding: 240px 0;
	max-width: 1920px;
	width: 95%;
}

.buckets .col-4 {
	text-align: center;
	color: #F2F2F2;
	border-radius: 10px;
	background-color: rgba(28,52,76, 0.98);
	margin: 0 50px;
	position: relative;
}

.buckets h2 {
	border-bottom: 3px solid #91C46C;
	width: 75%;
	margin: 0 auto;
	padding: 20px 0 10px 0;
}

a.button {
	font-size: 1.3rem;
	font-weight: bold;
	background-color: #91C46C;
	padding: 8px 15px;
	margin: 50px auto 30px auto;
	color: #1A2E40;
	border-radius: 5px;
	display: block;
	position: absolute;
	bottom: 30px;
	box-shadow: 4px 4px 6px #222;
}

a.button:hover {
	background-color: #C6E070;
}

@keyframes fdsseq { 100% { opacity: 1; } }
.fds img { animation: fdsseq .5s forwards; }
.bucket-family img { animation-delay: .1s; }
.bucket-cosmetic img { animation-delay: .25s; }
.bucket-orthodontics img { animation-delay: .45s; }


/************************************** main content */
.page-title {
	padding-top: 60px;
	text-align: center;
	font-size: 2rem;
	font-weight: bold;
	color: #1C344C;
}

.content-wrapper {
	background-color: #F2F2F2;
}

.content {
	color: #1A2E40;
	margin: 0 auto;
	line-height: 1.4rem;
	max-width: 1920px;
	width: 85%;
	padding: 60px 0 100px 0;
}

.content h1 {
	padding-bottom: 30px;
	text-align: center;
}

.content h3 {
	color: #287D7D;
	padding-top: 40px;
}

.content ul {
	list-style-type: none;
}

.memberships img {
	padding-top: 20px;
}

.memberships img:first-of-type {
	padding-top: 60px;
}

.office-hours {
	line-height: 1.6rem;
}

.quote-box {
	position: relative;
	padding: 15px;
	background: #2C3E50;
	border: #2C3E50 solid 2px;
	border-radius: 15px;
	font-size: 1.1rem;
	line-height: 1.5rem;
	color: #FFF;
}

/* triangle on bottom of quote box */
.quote-box:after {
	content: '';
	position: absolute;
	border-style: solid;
	border-width: 18px 15px 0;
	border-color: #2C3E50 transparent;
	display: block;
	width: 0;
	margin-left: 0px;
	bottom: -18px;
	left: 21%;
}

.quote-author {
	font-size: 1.25rem;
	font-weight: bold;
	padding-top: 25px;
	padding-left: 15px;
}

.main-content img {
	margin-top: 75px;
}

.main-content p:first-of-type {
	margin-top: 0;
}


/***************************************** map  */
.map-wrapper {
	background: url("../images/map.jpg") top center no-repeat;
	background-size: cover;
	display: none;
}

.map {
	height: 478px;
	position: relative;
}

.map-marker {
	position: absolute;
	top: 300px;
	right: 50%;
	height: 50px;
	width: 50px;
	-o-transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
	-khtml-transition: all 0.3s linear;
	-webkit-transition: all 0.3s linear;
	-ms-transition: all 0.3s linear;
	transition: all 0.3s linear;
}

.map-marker i {
	font-size: 3rem;
	color: #192D3F;
}

.map-marker i:hover, .map-marker a:hover i {
	color: #287D7D;
}

.map-marker:hover > a.tooltip span {
	visibility: visible;
}

a.tooltip strong {
	line-height: 30px;
	color: #287D7D;
	font-size: 1.3rem;
}

a.tooltip:hover {
	text-decoration: none;
} 

a.tooltip span {
    z-index: 10;
    visibility: hidden;
    padding: 14px 20px;
    margin-top: -50px; 
    margin-left: 25px;
    min-width: 350px; 
    line-height: 16px;
    border-radius: 6px;
    box-shadow: 5px 5px 8px #555;
    position: absolute; 
    color: #1A2E40;
    background: #F2F2F2;
    font-size: 1.2rem;
}

.map-box i {
	font-size: 1.2rem;
}

.map-box:after {
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 12.5px 20px 12.5px 0;
	border-color: transparent #F2F2F2 transparent transparent;
	position: absolute;
	display: block;
	left: -20px;
	top: 40%;
}
   


/***************************************** footer */
.footer-wrapper {
	background-color: #1C344C;
	padding-top: 40px;
}

.footer {
	margin: 0 auto;
	color: #FFF;
}

.footer a {
	color: #FFF;
}

.footer a:hover {
	color: #C6E070;
}

.footer div {
	float: left;
}

.footer h3 {
	color: #91C46C;
}

.footer ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.footer li {
	padding-bottom: 10px;
}

.footer form b {
	font-size: 1.1rem;
	padding-right: 10px;
	color: #91C46C;
}

input {
	border: 1px solid #2C3E50;
	border-radius: 5px;
	background-color: #F1EDEC;
	padding: 10px;
	width: 85%;
	color: #131B22;
	min-height: 25px;
}

input[type=email]:focus:invalid {
	background: url("../images/form-invalid.png") no-repeat;
	background-position: right 5px top 5px;
	background-color: #F1EDEC;
}

input[type=email]:required:valid {
	background: url("../images/form-valid.png") top right no-repeat;
	background-position: right 5px top 5px;
	background-color: #F1EDEC;
}

.submit {
	width: 100%;
}

.footer input[type=email] {
	box-shadow: 4px 4px 6px #222;
}

input[type=submit] {
	margin: 20px 4px 0 0;
	padding: 15px;
	background-color: #287D7D;
	border: none;
	border-radius: 5px;
	color: #91C46C;
	font-size: 1.2rem;
	font-weight: bold;
	-o-transition: color 0.3s linear;
	-moz-transition: color 0.3s linear;
	-khtml-transition: color 0.3s linear;
	-webkit-transition: color 0.3s linear;
	-ms-transition: color 0.3s linear;
	transition: color 0.3s linear;
}

input[type=submit]:hover {
	background-color: #F2F2F2;
	color: #287D7D;
}

.copyright {
	text-align: center;
	padding: 50px 0;
	color: #DDD;
}

.top-link, .contact-close, .login-close {
	position: fixed;
	bottom: 5%;
	right: 2.5%;
	border-radius: 5px;
	background-color: #1A2E40;
	padding: 5px 9px 10px 9px;
	font-size: 1.4rem;
	display: none;
	color: #78A35A;
	box-shadow: 3px 3px 5px #111;
}

.top-link:hover, .contact-close:hover, .login-close:hover {
	background-color: #287D7D;
	color: #C6E070;
}


/*********************************************** overlays  */
.contact-overlay, .login-overlay {
	width: 100%;
	height: 100%;
	z-index: 1000;
	background-color: rgba(242,242,242, 0.7);
	position: absolute;
	top: -100%;
	opacity: 0;
}

.contact-box {
	margin: 0 auto;
	width: 65%;
	max-width: 500px;
	margin-top: 150px;
	background-color: rgba(242,242,242, 0.94);
	border: 1px solid #1A2E40;
	border-radius: 15px;
	padding: 30px;
	color: #1A2E40;
	box-shadow: 6px 6px 10px #AAA;
}

.contact-box h1 {
	color: #287D7D;
	margin-bottom: 20px;
}

.contact-box form {
	margin: 0 auto;
	width: 95%;
}

.field {
	display: inline-block;
	padding: 20px 10px 10px 0;
	font-size: 1.2rem;
	color: #1C344C;
}

.login-overlay input {
	margin-top: 0 !important;
}

.login-overlay .field:first-of-type {
	padding-top: 0;
}

.contact-box input {
	background-color: #FFF;
	width: 100%;
	margin-top: 30px;
}

.contact-box input:first-of-type {
	margin-top: 15px;
}

.contact-box input[type=submit] {
	background-color: #1A2E40;
	color: #78A35A;
	box-shadow: 2px 2px 4px #999;
	margin-top: 30px;
}

.contact-box input[type=submit]:hover {
	background-color: #287D7D;
	color: #C6E070;
}

textarea {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
	border: 1px solid #2C3E50;
	border-radius: 7.5px;
	padding: 5px 7px;
}

.contact-close, .login-close  {
	font-size: 1.3rem !important;
	position: relative;
	display: block;
	width: 35px;
	float: right;
	box-shadow: 2px 2px 4px #999;
}

.contact-close i,  .login-close i {
	padding: 0 2px;
}

.contact-box input[type=checkbox] {
	display: none;
}

.remember-me {
	height: 35px;
	line-height: 2rem;
	margin: 20px 0;
}

input[type='checkbox'].bigcheck {     
    position: relative;
   left: -9999px;
}

input[type='checkbox'].bigcheck + span.bigcheck-target:after {
    content: "\f096"; 
    font-family: FontAwesome;  
    padding-right: 4.5px;
    font-size: 1.8rem;
    color: #1C344C;
    margin-left: 10px;
}

input[type='checkbox'].bigcheck:checked + span.bigcheck-target:after {
    content: "\f046";
    font-size: 1.8rem; 
    color: #287D7D;
    padding-right: 0px;
}

span.bigcheck { 
    display: block;	 
    font-size: 1.1rem; 
    cursor: pointer;
}

span.bigcheck label { 	
	cursor: pointer;
	font-family: 'Ubuntu', Verdana, Geneva, sans-serif !important;
	font-size: 1.3rem;
}

label.bigcheck {
	padding-bottom: 5px;
}

.contact-link, .login-button {
	cursor: pointer;
}




