/* 
	Template #3 "Parallax Universe"
	-------------------------------
	Media queries for this template
	in a mostly mobile-first approach.
	Mostly because my monitor is maxed
	at 1600px width so thats what the
	regular css goes up to. So there's
	a bump up from the regular css for
	high res as well.
 */


@media all and (min-width: 280px) {

	.logo {
		-webkit-background-size: 120px 58px;
		background-size: 120px 58px;
		left: 5%;
		top: 25px;
	}

	.title, .subtitle {
		visibility: hidden;
	}

	.hamburger {
		top: 25px;
	}

	.main-menu ul {
		margin: 0;
		right: 5%;
		width: 100%;
		text-align: right;
	}

	.dropdown {
		width: 160%;
		left: -50%;
	}

	.dropdown:before {
		top: -9px;
	}

	.dropdown ul {
		text-align: left !important;
	}

	.social-icons {
		font-size: 1.1rem;
		width: auto;
		top: 80px;
	}

	.social-icons i {
		display: none;
	}

	.top-phone {
		font-size: 1.2rem;
		width: 100%;
		text-align: right;
		display: inline-block;
	}

	.bucket-wrapper {
		height: 910px;
	}

	.buckets {
		padding: 50px 0;
	}

	.buckets .col-4 {
		width: 80%;
		margin: 0 10%;
		min-height: 250px;
		margin-bottom: 30px;
	}

	.buckets h2 {
		font-size: 1.1rem;
	}

	.buckets p {
		width: 85%;
		margin: 0 auto;
		font-size: 1rem;
		padding: 10px 20px;
	}

	a.button {
 		bottom: 0px;
 		width: 80%;
 		left: 10%;
 		margin-bottom: 20px;
 	}

 	.content {
 		padding-top: 0;
 	}

	.left {
		width: 100%;
	}

 	.main-content {
 		width: 100%;
 		padding-top: 100px;
 	}

 	.page-title {
 		font-size: 1.8rem;
 		padding-left: 10px;
 		padding-right: 10px;
 	}

 	.rounded-lg {
 		display: none;
 	}

 	.col-2 {
 		width: 0;
 	}

	.memberships, .office-hours {
		width: 100%;
		text-align: center;
	}

	.testimonials h3 {
		text-align: center;
	}

 	.footer {
 		width: 85%;
 		font-size: 0.9rem;
 		text-align: center;
 	}

 	.footer .col-1 {
 		height: 30px;
 	}

 	.footer .col-2, .footer .col-6 {
 		width: 100%;
 	}

 }


/* title/subtitle visible, logo shrinks to half-size */
 @media all and (min-width: 350px) {

 	.logo {
		top: 25px;
		-webkit-background-size: 60px 29px;
		background-size: 60px 29px;
	}

	.title {
		font-size: 1.1rem;
		padding-top: 10px;
	}

	.subtitle {
		font-size: 0.85rem;
	}

	.title, .subtitle {
		padding-left: 63px;
		visibility: visible;
	}

	.buckets h2 {
		font-size: 1.3rem;
	}

	a.button {
		margin-bottom: 30px;
	}

 }


/* left content area goes from stacked to left floated */
 @media all and (min-width: 410px) {

	.buckets h2 {
		font-size: 1.4rem;
	}

	.buckets p {
		font-size: 1.1rem;
		padding: 20px;
	}

	.col-2 {
		width: 16.666666667%;
	}

	.memberships, .office-hours {
		width: 41.666666666%;
	}

	.testimonials h3 {
		text-align: left;
	}

 }


/* footer goes from stacked to left floated */
@media all and (min-width: 470px) {

	.title {
		font-size: 1.2rem;
	}

	.subtitle {
		font-size: 0.93rem;
	}

	.buckets h2 {
		font-size: 1.6rem;
	}

	.buckets p {
		font-size: 1.2rem;
	}

	.footer {
		text-align: left;
	}

	.footer .col-1 {
		width: 8.333333334%;
		height: 0;
	}

	.footer .col-2 {
		width: 16.666666667%;
	}

	.footer .col-6 {
		width: 50%;
	}

}


/* enlarge contact-box on smaller screens */
@media all and (max-width: 500px) {

	.contact-box {
		width: 85%;
	}

}


/* logo enlarged to full-size */
@media all and (min-width: 500px) {

	.logo {
		-webkit-background-size: 120px 58px;
		background-size: 120px 58px;
		left: 0%;
	}

	.title {
		font-size: 1.3rem;
		padding-top: 0;
	}

	.subtitle {
		font-size: 1rem;
	}

	.title, .subtitle {
		padding-left: 110px;
	}

	.hamburger {
		top: 65px;
	}

	.social-icons {
		top: 25px;
	}

 }


/* left content area goes to left */
@media all and (min-width: 600px) {

	.scale-up:hover {
		-webkit-transform: scale(1.1,1.1);
	   -moz-transform: scale(1.1,1.1);
	   -o-transform: scale(1.1,1.1);
	   -ms-transform: scale(1.1,1.1);
	   transform: scale(1.1,1.1);
	}

	.logo {
		left: 5%;
	}

	.title {
		font-size: 1.5rem;
	}

	.subtitle {
		font-size: 1.15rem;
	}

	.top-phone {
		font-size: 1.3rem;
	}

	.buckets p {
		font-size: 1.3rem;
	}

	.content {
		padding-top: 60px;
	}

	.rounded-lg {
		display: block;
	}

 	.memberships, .office-hours {
 		width: 100%;
 		margin-left: 10%;
 		text-align: left;
 	}

 	.memberships {
 		margin-left: 0;
 	}

 	.content-row .col-2 {
 		width: 0;
 	}

	.left {
		width: 33.333333334%;
	}

 	.main-content {
 		width: 58.3333333333%;
 		padding-top: 0;
 	}

 	.footer {
 		max-width: 580px;
 		font-size: 1rem;
 	}

}


/* display hero image and menu */
@media all and (min-width: 700px) {

	body {
		background: url("../images/hero.jpg") top center no-repeat;
		background-size: cover;
		background-attachment: fixed;
	}

	.top-wrapper {
		position: fixed;
		background-color: rgba(242,242,242, 0.93);
	}
	
	.logo {
		top: 15px;
	}

	.main-menu {
		display: inline-block;
	}

	.main-menu ul {
		right: 3.5%;
	}

	.mobile-menu-container {
		display: none !important;
	}

	.hamburger {
		display: none !important;
	}

	.login-button {
		display: block;
	}

	.hero {
		margin-top: 600px;
	}	

	.hero-box {
		width: 60%;
	}

	.page-title {
		font-size: 2rem;
	}

	.quote-box:hover {
		box-shadow: 5px 5px 8px #888;
	}

	.footer {
		max-width: 680px;
	}

	.footer input[type=submit] {
		box-shadow: 3px 3px 5px #111;
	}

}


/* specifically target iPad portrait res, it's the 3rd most popular res at time of writing */
@media screen and (width: 768px) and (height: 1024px) {

	.hero {
		margin-top: 765px;
	}

}


/* display map */
@media all and (min-width: 800px) {

	.main-menu ul {
		right: 5%;
	}

	.map-wrapper {
		display: block;
	}

 	.footer {
 		max-width: 750px;
 	}

}


/* buckets become floated left and thin width-wise */
@media all and (min-width: 900px) {

	.main-menu li {
		padding-right: 3.5%;
	}

	.social-icons i {
		display: inline;
	}

	.social-icons i:not(.fa-user) {
		display: inline;
	}

	.top-phone {
		display: inline;
		width: auto;

	}

	.login-button {
		display: inline-block;
		margin-top: 0;
		width: auto;
		position: static;
	}

	.bucket-wrapper {
		height: 800px;
	}

	.buckets .col-4 {
		max-width: 240px;
		margin-right: 0px;
		margin-left: 25px;
		width: 33.333333334%;
		min-height: 340px;

	}

	.buckets {
		padding: 204px 0;
	}

	.buckets .col-4:last-of-type {
		margin-right: 0;
	}

	.buckets p {
		margin: 0 auto auto auto;
	}

	.bucket-family {
 		margin-left: 5.3333334% !important;
 	}

 	a.button {
 		width: 85%;
 		left: 7.5%;
 	}

 	.memberships, .office-hours {
 		margin-left: 10%;
 	}

 	.footer {
 		max-width: 850px;
 	}

}


@media all and (min-width: 1001px) {

	.main-menu li {
		padding-right: 4%;
	}

	.buckets .col-4 {
		margin-right: 20px;
	}

	.bucket-family {
 		margin-left: 4.3333334% !important;
 	}

 	.footer input[type=submit] {
 		float: right;
 		padding: 5px 15px;
 		width: 25%;
 	}

}


@media all and (min-width: 1100px) {

	.buckets .col-4 {
		max-width: 280px;
		margin-right: 35px;
	}

	.bucket-family {
 		margin-left: 5.3333334% !important;
 	}

 	.footer {
 		max-width: 1000px;
 	}

}

@media all and (min-width: 1200px) {

	.rounded-lg {
		border-radius: 15px;
	}

	.logo {
		top: 25px;
	}

	.buckets .col-4 {
		max-width: 280px;
		margin-right: 35px;
	}

	.buckets p {
		margin-top: 1em;
	}

	.bucket-family {
 		margin-left: 6.3333334% !important;
 	}

}


/* put menu in center, break memberships and office-hours into two lines */
@media all and (min-width: 1300px) {

	.main-menu ul {
		margin: 0 auto 0 25%;
		right: auto;
		width: 80%;
		text-align: center;
	}

	.dropdown {
		left: -93%;
		width: 200%;
	}

	.dropdown:before {
		left: 61%;
	}

	.hero-box {
		padding: 25px 15px;
	}

	.buckets h2 {
		font-size: 1.3rem;
	}

	.bucket-family {
 		margin-left: 8.3333334% !important;
 	}

 	a.button {
 		bottom: 15px;
 	}

 	.footer {
 		min-width: 1250px;
 	}

 	.footer input[type=submit] {
 		margin-right: 30px;
 	}

}


@media all and (min-width: 1364px) {

	.hero {
		margin-top: 590px;
	}

	.hero-box {
		padding: 25px 15px;
	}

	.buckets .col-4 {
		max-width: 300px;
		margin: 0 50px;

	}

	.buckets h2 {
		font-size: 1.5rem;
	}

	.bucket-family {
 		margin-left: 9.3333334% !important;
 	}

 	.memberships, .office-hours {
 		width: 41.666666666%;
 		margin-left: 0;
 	}

 	.content-row .col-2 {
 		width: 16.666666667%;
 	}

}

/* shift menu from right to center */
@media all and (min-width: 1500px) {

	.main-menu ul {
		margin: 0 auto 0 10%;
	}

	.dropdown {
		left: -69%;
	}

	.dropdown:before {
		left: 47%;
	}

	a.button {
		font-size: 1.5rem;
	}

	.bucket-family {
 		margin-left: 10.3333334% !important;
 	}

}


@media all and (min-width: 1600px) {

	a.button {
		font-size: 1.7rem;
	}

	.buckets .col-4 {
		max-width: 350px;

	}

 	.bucket-family {
 		margin-left: 9.3333334% !important;
 	}

 }


/* start expanding the layout since it is for 1600px */

 @media all and (min-width: 1680px) {

	.hero {
		margin-top: 742px;
	}

	.hero h1 {
		font-size: 2.6rem;
	}

	.hero-box {
		padding: 35px 15px;
	}

	.hero p {
		font-size: 1.4rem;
	}

 	.bucket-family {
 		margin-left: 13.3333334% !important;
 	}

 }


 @media all and (min-width: 1920px) {

	body {
		font-size: 1.1rem;
	}

	h3 {
		font-size: 1.4rem;
	}

	.main-menu ul {
		padding-left: 0;
	}

	.main-menu li {
		padding-right: 5%;
	}

	.menu-trigger:hover > .dropdown {
   		top: 36px;
	}

	.menu-trigger2:hover > .dropdown {
	    top: 39px;
	}

	.dropdown {
		max-width: 340px;
	}

	.dropdown li {
		padding-left: 20px;
	}

	.top-phone {
		font-size: 1.6rem;
	}

	.hero {
		margin-top: 822px;
	}

	.bucket-family {
 		margin-left: 16% !important;
 	}

 	.page-title {
 		font-size: 2.5rem;
 	}

 	.office-hours, .quote-box {
 		font-size: 1.2rem;
 	}

 	.quote-box {
 		max-width: 550px;
 	}

}