﻿
/*================ DESKTOP Nav Memu ================*/

.mobilenav {
	display: none;
}

.navbar {
	float: right;
	margin-top: 20px;
}

.menutext {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 16px;
	color: #ffffff;
	text-decoration: none;
	/*margin: 0px;*/
	padding-right: 30px;
	/*border: 1px solid red;*/ /*for debugging*/
	margin-left: 3px;
	margin-right: 3px;
}


/* Insert arrow-down */
.dropdown-icon-toggle {
	position: relative;
	top: 2px;
	margin-left: 5px;
}

.dropdown-icon-toggle:after {
	content: '\f107';
	font-family: FontAwesome;
	font-weight: 300;
	font-size: 22px;
	color: #fff;
}
/* END Insert arrow-down */


.responsive {
	max-width: 100%;
	height: auto;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
	display: inline-block;
	float: left;
	overflow: hidden;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
	display: none;
	background-color: #fff;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
	border-radius: 8px;
	text-transform: uppercase;
	position: absolute;
	
}

/* Links inside the dropdown */
.dropdown-content a {
	font-family: Lato, sans-serif;
	font-weight: 700;
	text-decoration: none;
	display: block;
	font-size: 15px;
	padding: 10px 20px;
	color: #0066a5;
	
}


/* This [selector] was added to push down the dropdown menu */
.dropdown-content-wrapper {
	margin-top: 10px;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
	display: block;
}



/* Change color of dropdown links on hover */
.dropdown-content a:hover {
	background-color: #0066a6;
	color: #fff;
	border-radius: 8px;
	
}


/********************************************/
/* PRODUCTS menu */
/********************************************/

/* Links inside the dropdown */
.dropdown-content.products a {
	font-family: Lato, sans-serif;
	padding: 10px;
	color: #09a2dd;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	text-transform: uppercase;
	padding: 0px 10px;
}

/* Change color of dropdown links on hover */
.dropdown-content.products a:hover {
	background-color: #0066a6;
	color: #fff;
	border-radius: 8px;
}

/*Flexbox*/
.dropdown-heading-text {
	display: flex;
	align-items: center;
	/*padding: 15px 20px;*/
	padding: 15px 10px;
	color: #0066a5;
	font-size: 15px;
	line-height: 100%;
	font-weight: 700;
	text-transform: uppercase;
	
}

span.dropdown-divider-line {
	width: 100%;
	display: block;
	height: 2px;
	margin-left: 10px;
	background-color: #0066a5;
}

/*Flexbox*/
.routine-block,
.tolerance-block {
	display: flex;
	padding-left: 10px;
	padding-right: 10px;
}

.hypoallergenic-block {
	display: flex;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	
}

	.routine-block a,
	.tolerance-block a,
	.hypoallergenic-block a {
		color: #09a2dd;
		font-size: 13px;
		font-weight: 600;
		text-align: center;
		text-decoration: none;
		text-transform: uppercase;
		
	}

		.routine-block a img,
		.tolerance-block a img
		{
			width: 102px;
			height: auto;
			display: flex;
			justify-content: center;
			align-items: center;
		}

		.hypoallergenic-block a img {
			width: 102px;
			height: auto;
			display: flex;
			justify-content: center;
			align-items: center;
			/*Make HA tub center w/ text*/
			margin-left:auto;
			margin-right:auto;
		}

span.dropdown-image-text {
	position: relative;
	top: -10px;
}

/********************************************/
/* END PRODUCTS menu*/
/********************************************/


/********************************************/
/* PRACTICE RESOURES menu */
/********************************************/
.practice-resources a:first-child:hover {
	border-radius: 8px 8px 0 0;
}

.practice-resources a:hover {
	border-radius: 0;
}

.practice-resources a:last-child:hover {
	border-radius: 0 0 8px 8px;
}
/********************************************/
/* END PRACTICE RESOURES menu*/
/********************************************/



/* Flexbox */
/*.nav-flex-container {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	margin-left: 40px;
	width: 650px;
}*/

/*================END DESKTOP NAV Memu ================*/




/*================ MOBILE NAV Memu ================*/

@media all and (max-width:990px) {

	div.widthright {
		display: none;
	}

	.pagemenu {
		display: block;
	}

	.responsive {
		max-width: 80%;
		height: auto;
	}

	.desktopnav {
		display: none;
	}

	.mobilenav {
		display: block;
	}

	.pagemenu .width50 {
		width: 100%;
	}

	img.logo-image {
		display: block;
		margin: auto;
		max-width: 100%;
		height: auto;
	}

	.width50XX {
		width: 100px;
		margin: auto;
	}


	/* Nav Menu Container */
	.sitenav {
		/*margin-top: -110px;*/
		/*position: -webkit-sticky;*/ /* Safari */
		/*position: sticky;*/
		/*background: #ffffff;
		box-shadow: 0px 0px 5px #cccccc;
		z-index: 1;*/
	}

	/* Nav Menu Container */
	.sitenav {
		position: -webkit-sticky; /* Safari */
		position: sticky;
		z-index: 1;
		margin-top: 0px;
		margin-bottom: -70px;
	}


	#menuToggle {
		display: block;
		position: relative;
		top: -48px;
		left: 0px;
		z-index: 1;
		-webkit-user-select: none;
		user-select: none;
		/*border: 1px solid #01a5df;*/ /*For debugging*/
	}

		#menuToggle input {
			display: block;
			width: 40px;
			height: 32px;
			position: absolute;
			top: -7px;
			left: -5px;
			cursor: pointer;
			opacity: 0; /* hide this */
			z-index: 2; /* and place it over the hamburger */
			-webkit-touch-callout: none;
		}

		/* Hamburger Nav Menu Bar  */
		#menuToggle span {
			display: block;
			width: 30px;
			height: 3px;
			margin-bottom: 5px;
			position: relative;
			background-color: #fff;
			border-radius: 3px;
			z-index: 1;
			transform-origin: 4px 0px;
			transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0), background 0.5s cubic-bezier(0.77,0.2,0.05,1.0), opacity 0.55s ease;
			margin-left: 20px;
		}

			#menuToggle span:first-child {
				transform-origin: 0% 0%;
			}


			#menuToggle span:nth-last-child(2) {
				transform-origin: 0% 100%;
			}


		/* 
	* Transform all the slices of hamburger
	* into a crossmark.
	*/
		#menuToggle input:checked ~ span {
			opacity: 1;
			transform: rotate(45deg) translate(-2px, -1px);
			background: #ffffff;
		}


			/*
	 * But let's hide the middle one.
	 */
			#menuToggle input:checked ~ span:nth-last-child(3) {
				opacity: 0;
				transform: rotate(0deg) scale(0.2, 0.2);
			}


			/*
	 * Ohyeah and the last one should go the other direction
	 */
			#menuToggle input:checked ~ span:nth-last-child(2) {
				transform: rotate(-45deg) translate(0, -1px);
			}

	.menuToggleInner {
		height: 1px;
		/*border: 1px solid red;*/ /*For debugging*/
	}

		.menuToggleInner ul {
		}


	/*
	 * Nav Menu Items Wrapper
	 * Make this absolute positioned
	 * at the top left of the screen
	 */
	#menu {
		margin: 20px 0 0 0px;
		/*padding-top: 50px;*/
		padding-top: 20px;
		background: #0066a6;
		webkit-font-smoothing: antialiased;
		/* to stop flickering of text in safari */
		transform-origin: 0% 0%;
		/*transform: translate(-100%, 0);*/ /*This make side navigation slide out from left to right of the screen*/
		transform: translate(100%, 0); /*This make side navigation slide out from right to left of the screen*/
		transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
		display: block;
		width: 100%;
		height: 1000px;
		position: fixed;
	}


		#menu > div {
			font-size: 22px;
			color: #ffffff;
			text-decoration: none;
			display: block;
			margin-bottom: 10px;
		}

			#menu > div > a {
				text-decoration: none;
				color: #ffffff;
				font-size: 16px;
				text-transform: uppercase;
			}

	.center {
		width: 50%;
		padding: 0px;
		margin: auto;
		text-align: center;
	}


	.menusublist {
		/*font-size: 14px;*/
		font-size: 18px;
		display: flex;
		justify-content: center;
		text-align: left;
	}

		.menusublist > div {
			margin: 0px 10px 10px 10px;
			/*line-height: 18px;*/
			line-height: 24px;
		}

			.menusublist > div li {
				list-style: none;
				line-height: 14px;
			}

				.menusublist > div li a {
					/*font-size: 12px;*/
					font-size: 18px;
					font-weight: normal;
					/*line-height: 14px;*/
					line-height: 24px;
				}

	.menusublistsmall {
		margin: auto;
		text-align: left;
		border: 0px solid red;
		display: inline-block;
	}

		.menusublistsmall li {
			list-style: none;
			/*font-size: 14px;*/
			font-size: 18px;
			/*line-height: 14px;*/
			line-height: 24px;
		}

		.menusublistsmall a {
			font-weight: normal;
		}



	/*
	 * And let's slide it in from the left
	 */
	#menuToggle input:checked ~ div {
		transform: none;
	}


}



@media all and (max-width:415px) {


	.menusublist {
		/*flex-direction: column;*/
		flex-wrap: wrap;
		text-align: center;
	}

		
		.menusublist > div li {
			/*max-width: 230px;*/
			width: 160px;
			margin: auto;
			text-align: left;
		}

	
}

	/*================ MOBILE NAV Memu ================*/


