﻿

/* Responsive */
@media all and (max-width:990px) {


	/**********************************************************
	Mobile Nav
	**********************************************************/
	#menuToggle {
		display: block;
		position: relative;
		top: 30px;
		left: 0px;
		z-index: 1;
		-webkit-user-select: none;
		user-select: none;
		margin-bottom: 0px;
	}

	#menuToggle #checkbox {
		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 Menu  */
	#menuToggle span {
		display: block;
		width: 33px;
		height: 4px;
		margin-bottom: 5px;
		position: relative;
		background: #cdcdcd;
		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 #checkbox:checked ~ span {
		opacity: 1;
		transform: rotate(45deg) translate(-2px, -1px);
		background: #ffffff;
	}


	/*
	 * But let's hide the middle one.
	 */
	#menuToggle #checkbox: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 #checkbox:checked ~ span:nth-last-child(2) {
		transform: rotate(-45deg) translate(0, -1px);
	}


	/*
	 * Make this absolute positioned
	 * at the top left of the screen
	 */
	#menu {
		position: absolute;
		width: 100%;
		height: 1000px;
		margin: -100px 0 0 0px;
		padding-top: 125px;
		background: #024ea4;
		list-style-type: none;
		-webkit-font-smoothing: antialiased;
		/* to stop flickering of text in safari */
		transform-origin: 0% 0%;
		transform: translate(-100%, 0);
		transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
		text-align: center;
		padding-left: 0px; /* makes menu center of the screen */
	}


	/*
	 * And let's slide it in from the left
	 */
	#menuToggle #checkbox:checked ~ div {
		transform: none;
	}
	/**********************************************************
	END Mobile Nav
	**********************************************************/


	/**********************************************************
	Expandable Submenu Items 
	**********************************************************/
	.menu-container-mobile {
		margin-top: 10px;
	}

	.home-link-mobile {
		margin-bottom: 25px;
	}

	.home-link-mobile a {
		font-family: Lato, sans-serif;
		color: #ffffff;
		font-size: 16px;
		font-weight: bold;
		cursor: pointer;
		text-transform: uppercase;
		text-decoration: none;
	}

	.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;
		position: relative;
	}

	.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;
		right: 25px;
		position: absolute;
	}


	/* 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;
	}


	/*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*/
	.milk-based-block-mobile,
	.sensitive-block-mobile,
	.specialty-block-mobile {
		display: flex;
		padding-left: 10px;
		padding-right: 10px;
		margin-top: 8px;
		margin-bottom: 0px;
	}

	.milk-based-block-mobile a,
	.sensitive-block-mobile a,
	.specialty-block-mobile a {
		color: #272727;
		font-size: 12px;
		font-weight: 600;
		text-align: center;
		text-decoration: none;
		text-transform: uppercase;
	}

	.milk-based-block-mobile a:hover,
	.milk-based-block-mobile a:focus,
	.milk-based-block-mobile a:active,
	.sensitive-block-mobile a:hover,
	.sensitive-block-mobile a:focus,
	.sensitive-block-mobile a:active,
	.specialty-block-mobile a:hover,
	.specialty-block-mobile a:focus,
	.specialty-block-mobile a:active {
		color: #0066a5;
	}

	/*Flexbox*/
	.milk-based-block-mobile a img,
	.sensitive-block-mobile a img,
	.specialty-block-mobile a img {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 81px;
		height: auto;
	}

	.submenu-container-mobile-about,
	.submenu-container-mobile-resources,
	.submenu-container-mobile-offers-promotions,
	.submenu-container-mobile-buy-now
	{
		padding-top: 10px;
		padding-bottom: 5px;
	}

	.submenu-container-mobile-about a,
	.submenu-container-mobile-resources a,
	.submenu-container-mobile-offers-promotions a,
	.submenu-container-mobile-buy-now a {
		display: block;
		padding-bottom: 7px;
		color: #272727;
		font-family: "Raleway", Arial, sans-serif;
		font-weight: 500;
	}

	.submenu-container-mobile-about a:hover,
	.submenu-container-mobile-about a:focus,
	.submenu-container-mobile-about a:active,
	.submenu-container-mobile-resources a:hover,
	.submenu-container-mobile-resources a:focus,
	.submenu-container-mobile-resources a:active,
	.submenu-container-mobile-offers-promotions a:hover,
	.submenu-container-mobile-offers-promotions a:focus,
	.submenu-container-mobile-offers-promotions a:active,
	.submenu-container-mobile-buy-now a:hover,
	.submenu-container-mobile-buy-now a:focus,
	.submenu-container-mobile-buy-now a:active {
		color: #0066a5;
	}

	/**********************************************************
	END Expandable Submenu Items 
	**********************************************************/

	


	/**********************************************************
	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_sm.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
	**********************************************************/


	/*Flexbox*/
	.milk-based-block-mobile,
	.sensitive-block-mobile,
	.specialty-block-mobile {
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
	}

	/*Flexbox*/
	.milk-based-block-mobile a,
	.sensitive-block-mobile a,
	.specialty-block-mobile a {
		margin: 0px 5px 0px 5px;
	}


	/*Flexbox*/
	.milk-based-block-mobile img,
	.sensitive-block-mobile img,
	.specialty-block-mobile img {
		display: inline-block;
		margin-left: auto;
		margin-right: auto;
	}


	.specialty-block-mobile {
		margin-bottom: 10%;
	}



}




