﻿
.mobilenav {
	display: none;
}

.mobiletopbarnav {
	display: none;
}



/* Responsive */
@media all and (max-width:990px) {


	.desktoptopbarnav{
		display:none;
	}

	/* Making the [Welcome, Pediatric Providers!] sub nav pushing down homepage slider */
	.mobiletopbarnav {
		display: block;
	}

	/* Making the [Welcome, Pediatric Providers!] sub nav goes on top homepage slider */
	/*.mobiletopbarnav {
		display: block;
		position: relative;
		padding-bottom: 50px;
	}*/


	/**********************************************************
	Top Bar Nagivation Items
	**********************************************************/
	/* Making the [Welcome, Pediatric Providers!] sub nav pushing down homepage slider */
	.welcome-text-topbarnav-mobile {
		font-family: Vollkorn, serif;
		font-size: 18px;
		font-weight: 500;
		color: #3a649c;
		line-height: 100%;
		text-transform: uppercase;
		background-color: #f7f6f6;
		padding-top: 15px;
		display: block;
		text-align: center;
		position: relative;
		top: 70px;
	}

	/* Making the [Welcome, Pediatric Providers!] sub nav goes on top homepage slider */
	/*.welcome-text-topbarnav-mobile {
		font-family: Vollkorn, serif;
		font-size: 18px;
		font-weight: 500;
		color: #3a649c;
		line-height: 100%;
		text-transform: uppercase;
		background-color: #f7f6f6;
		padding-top: 15px;
		display: block;
		text-align: center;
		position: absolute;
		top: 70px;
		width: 100%;
	}*/

	/* Adding down-arrow icon before clicks */
	.topbarnav-expandable-mobile {
		position: relative;
		top: 15px;
		cursor: pointer;
		background-image: url('../images/down-arrow-icon-mobile-small-1.png');
		background-repeat: no-repeat;
		background-position: 95%;
		width: 38px;
		height: 33px;
		display: block;
		margin-left: auto;
		margin-right: auto;
		margin-top: -15px;
		/*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4);*/
	}

	/* Adding x-icon after clicks */
	.topbarnav-expandable-mobile.active {
		background-image: url('../images/x-icon-mobile-small-2.png');
		background-repeat: no-repeat;
		background-position: 95%;
		width: 38px;
		height: 33px;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}

	.topbarnav-panel-items-mobile {
		background-color: #f7f6f6;
		max-height: 0px;
		overflow: hidden;
		transition: max-height 0.5s ease-out; /*Adding transition effect*/
	}

		
	/*Flexbox*/
	.topbarnav-panel-item-mobile {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		font-family: Lato, sans-serif;
		font-size: 18px;
		font-weight: 500;
		color: #3a649c;
		text-transform: none;
		padding-top: 10px;
		padding-bottom: 10px;
		border-bottom: 2px solid #cccccc; 
		margin-top: 15px;
	}

	.topbarnav-panel-item-mobile a {
		margin-top:15px;
		margin-bottom:15px;
	}

	.topbarnav-panel-item-mobile img {
		width:40%;
		height: auto;
		cursor: pointer;
	}
	/**********************************************************
	END Top Bar Nagivation Items
	**********************************************************/




	/**********************************************************
	Expandable Submenu Items 
	**********************************************************/
	/*Flexbox*/
	.dropdown-heading-text-mobile {
		display: flex;
		align-items: center;
		color: #0066a5;
		font-size: 12px;
		line-height: 100%;
		font-weight: 700;
		text-transform: uppercase;
		padding: 0px 20px 0px 20px;
	}

	.divider-line-mobile {
		border-bottom: 2px solid #0066a5;
		width: 100%;
		margin-left: 10px;
	}


	/*Flexbox*/
	.routine-block-mobile,
	.tolerance-block-mobile,
	.hypoallergenic-block-mobile {
		display: flex;
		padding-left: 10px;
		padding-right: 10px;
		margin-top: 8px;
		margin-bottom: 0px;
		
	}

	.routine-block-mobile a,
	.tolerance-block-mobile a,
	.hypoallergenic-block-mobile a {
		color: #09a2dd;
		font-size: 12px;
		font-weight: 600;
		text-align: center;
		text-decoration: none;
		text-transform: uppercase;
	}


	/*Flexbox*/
	.routine-block-mobile a img,
	.tolerance-block-mobile a img,
	.hypoallergenic-block-mobile a img {
		width: 81px;
		height: auto;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.menu-container-mobile {
		margin-top: 10px;
		
	}
	
	.menu-expandable-mobile {
		font-family: Lato, sans-serif;
		color: #ffffff;
		font-size: 16px;
		line-height: 110%;
		font-weight: bold;
		cursor: pointer; 
		text-transform: uppercase;
		text-decoration: none;
		margin-top: -10px;
		margin-bottom: -10px;
		
		padding-left:15px;
	}

	.menu-expandable-mobile:hover,
	.menu-expandable-mobile:focus,
	.menu-expandable-mobile:active {
	}


	/* Add awesome font icons before clicks */
		.menu-expandable-mobile:after {
			content: '\f107'; /*down-arrow icon*/
			color: #ffffff;
			float: right;
			font-size: 22px;
			font-family: FontAwesome;
			font-weight: 600;
			position: relative;
			right: 25px;
			/*right: 75px;*/
		}

		
	/* Add awesome font icons after clicks */
		.menu-expandable-mobile.active:after {
			content: '\f106'; /*up-arrow icon*/
		}

	.menu-panel-mobile {
		background-color: white;
		max-height: 0px;
		overflow: hidden;
		margin-top: 20px;
		margin-bottom: 20px;
		transition: max-height 0.5s ease-out; /*Adding transition effect*/
		/*border-bottom: 1px #808080 solid;*/ /*Adding bottom border*/
	}

	.submenu-container-mobile {
		font-family: Lato, sans-serif;
		color: #272727;
		font-size: 16px;
		font-weight: 400;
		line-height: 140%;
		margin-top: 8px;/*Adding IF ROUTINE category line divider*/
		margin-bottom: 16px;
	}

	.submenu-container-mobile-why-perrigo,
	.submenu-container-mobile-practice-resources {
		padding-top: 5px;
		padding-bottom: 5px;
	}

	.submenu-container-mobile-why-perrigo a, 
	.submenu-container-mobile-practice-resources a {
		color: #0066a5;
		font-family: Lato, sans-serif;
		margin-top: 16px;
		margin-bottom: 16px;
		font-size: 16px;
		font-weight: bold;
		padding-top: 10px;
		padding-bottom: 10px;
	}
	/**********************************************************
	END Expandable Submenu Items 
	**********************************************************/



	.faqs-link-mobile {
		margin-top: -10px;
		margin-bottom: 20px;
		
	}

	.news-link-mobile {
		margin-bottom: 20px;
		
	}

		.faqs-link-mobile a,
		.news-link-mobile a {
			display: block;
			width: 100%;
			margin-left: auto;
			margin-right: auto;
			font-family: Lato, sans-serif;
			color: #ffffff;
			font-size: 16px;
			line-height: 110%;
			font-weight: bold;
			cursor: pointer;
			text-transform: uppercase;
			text-decoration: none;
			
		}


	/**********************************************************
	Site Search Textbox
	**********************************************************/
	/*input[type="search"] {
		-webkit-appearance: none;
	}

	input[type="text"] {
		-webkit-appearance: none;
	}*/


	.search-textbox-mobile {
		/*max-width: 400px;*/
		width: 80%;
		height: 34px;
		margin-bottom: 0px;
		/*border: 0;
		outline: 0;*/
		border: 2px solid #fff;
		border-radius: 5px;
		font-size: 15px;
		color: #333333;
		background-image: url('../images/search-icon-2.png');
		background-repeat: no-repeat;
		background-position: 95%;
		padding: 0px 0px 0px 10px;
		margin-left: auto;
		margin-right: auto;
	}

	/*.search-textbox-mobile:focus {
		border: 0 !important;
		-webkit-appearance: none;
		border-width: 0px;
		border: none;
	}*/


	/* Search Box Input Placehoder */
	.search-textbox-mobile::placeholder { /* Chrome/Opera/Safari */
		color: #aaa;
		text-transform: uppercase;
		font-family: Lato;
		font-weight: bold;
	}

	.search-textbox-mobile::-webkit-input-placeholder {
		color: #aaa;
		text-transform: uppercase;
		font-family: Lato;
		font-weight: bold;
	}

	.search-textbox-mobile:-ms-input-placeholder {
		color: #aaa;
		text-transform: uppercase;
		font-family: Lato;
		font-weight: bold;
	}

	.search-textbox-mobile::-ms-input-placeholder {
		color: #aaa;
		text-transform: uppercase;
		font-family: Lato;
		font-weight: bold;
	}


	/*input {
		border: 0;
		outline: 0;
	}

	input:focus {
		outline: none !important;
	}*/
	/**********************************************************
	END Site Search Textbox
	**********************************************************/


	.pagemenu {
		display: block;
	}

	.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 {
		position: -webkit-sticky; /* Safari */
		position: sticky;
		z-index: 1;
		margin-top: 0px;
		margin-bottom: -70px;
	}

	#menuToggleMobile {
		display: block;
		position: relative;
		top: -48px;
		left: 0px;
		z-index: 1;
		-webkit-user-select: none;
		user-select: none;
	}

	#menuToggleMobile #checkbox {
		display: block;
		width: 40px;
		height: 32px;
		position: absolute;
		top: -7px;
		left: -5px;
		cursor: pointer;
		opacity: 0;
		z-index: 2;
		-webkit-touch-callout: none;
	}

	/* Toggle: Hamburger Nav Menu Bar  */
	#menuToggleMobile span {
		display: block;
		width: 30px;
		height: 3px;
		margin-bottom: 5px;
		position: relative;
		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;
		background-color: #fff;
	}

	#menuToggleMobile span:first-child {
		transform-origin: 0% 0%;
	}

	#menuToggleMobile span:nth-last-child(2) {
		transform-origin: 0% 100%;
	}

		
	/* Toggle: Hamburger Nav Menu Bar  */
	/* Transform all the slices of hamburger into a crossmark. */
	#menuToggleMobile input:checked ~ span {
		opacity: 1;
		transform: rotate(45deg) translate(-2px, -1px);
	}

	/* But let's hide the middle one. */
	#menuToggleMobile 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 */
	#menuToggleMobile input:checked ~ span:nth-last-child(2) {
		transform: rotate(-45deg) translate(0, -1px);
	}

	.menuToggleInnerMobile {
		height: 1px;
	}


	/*
	 * Nav Menu Items Wrapper
	 * Make this absolute positioned
	 * at the top left of the screen
	 */
	#menuMobile {
		margin: 20px 0 0 0px;
		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;
	}

	.center {
		width: 50%;
		padding: 0px;
		margin: auto;
		text-align: center;
	}


	/* And let's slide it in from the left */
	#menuToggleMobile input:checked ~ div {
		transform: none;
	}



}


/* Responsive */
@media all and (max-width:769px) {


	/*Flexbox*/
	.routine-block-mobile,
	.tolerance-block-mobile,
	.hypoallergenic-block-mobile {
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
	}

	/*Flexbox*/
		.routine-block-mobile a,
		.tolerance-block-mobile a,
		.hypoallergenic-block-mobile a {
			margin: 0px 5px 0px 5px;
		}


		/*Flexbox*/
		.routine-block-mobile img,
		.tolerance-block-mobile img,
		.hypoallergenic-block-mobile img {
			
			display: inline-block;
			margin-left: auto;
			margin-right: auto;
		}


	.hypoallergenic-block-mobile {
		margin-bottom: 10%;
	}



}


@media all and (max-width:415px) {


		/*Flexbox*/
	.routine-block-mobile,
	.tolerance-block-mobile,
	.hypoallergenic-block-mobile {
		margin-top:10px;
		margin-bottom:5px;
	}



}



