.cookie-notice {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .8);
	z-index: 9999;
}

.cookie-wrapper {
	color: #000;
	width: calc(100% - 20px);
	max-width: 600px;
	margin: 20% auto 0 auto;
}

body.header {
	padding-top: 110px;
}

/* .cookie-wrapper div {
    padding: 20px;
    background-color: #fff;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
} */

.cookie-wrapper div + div {
	border-top: solid 1px #ccc;
	background-color: #eee;
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	/* display: flex; */
}
.cookie-wrapper div + div a.secondary.button {
	font-size: 14px;
	color: #fff;
	font-weight: bold;
	background: none;
	background-color: #cc0000;
	padding: 10px 33px 10px 32px;
	border: none;
	border-radius: 5px;
	white-space: nowrap;
	color: #fff !important;
}
/* .cookie-wrapper div + div a.secondary.button span.button-mobile {
	display: none;
} */
/* .cookie-wrapper div + div a + a {
    text-align: right;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
} */

@media (max-width: 500px) {
	.cookie-wrapper div + div a.secondary.button span.button-mobile {
		display: inline;
	}
	.cookie-wrapper div + div a.secondary.button span.button-desktop {
		display: none;
	}
}
.cookie-wrapper .button::-moz-focus-inner {
	padding: 0 !important;
	border: 0 none !important;
}
.cookie-wrapper .button {
	display: inline-block;
	text-align: center;
	text-decoration: none;
	font-size: 100%;
	padding: 5px 10px;
	color: #000;
	font-weight: bold;
	background-color: #ccc;
	border: solid 1px #666;
	border-radius: 4px;
	background-image: url("//www.digikey.com/~/media/images/global/buttons/gray-button-background.jpg");
	cursor: pointer;
}
.cookie-wrapper .button:hover {
	background-color: #666;
	background-image: url("//www.digikey.com/~/media/images/global/buttons/gray-button-background-hover.jpg");
	color: #fff;
	border-color: #333;
	text-decoration: none !important;
}
.cookie-wrapper .button.secondary {
	background-color: #FFC425;
	background-image: url("//www.digikey.com/~/media/images/global/buttons/yellow-button-background.jpg");
}
.cookie-wrapper .button.secondary:hover {
	background-color: #403106;
	background-image: url("//www.digikey.com/~/media/images/global/buttons/yellow-button-background-hover.jpg");
	border-color: #000;
}
.cookie-notice {
	color: #000;
	background: url(//www.digikey.com/-/media/designer/header/mvc/images/header-search.png) repeat-x bottom / 1px 75px #eee;
	position: absolute;
	top: 0;
	width: 100%;
	height: 110px;
}
.cookie-wrapper {
	display: flex;
	align-items: center;
	max-width: 1024px;
	width: calc(100% - 40px);
	margin: 0 auto;
	padding: 20px;
	height: 70px;
	box-sizing: content-box;
}
.cookie-wrapper p {
	padding: 0 25px 0 0;
	margin: 0;
	font-size: 13px;
}
.rtl .cookie-wrapper p {
	padding: 0 0 0 25px;
}
.cookie-wrapper p a {
	text-decoration: underline;
	color: #000;
}
.cookie-notice .button.secondary {
	padding: 10px 32px 10px 10px;
	white-space: nowrap;
	font-size: 14px;
	width: auto !important;
	background: url(//www.digikey.com/~/media/images/global/icons/x.png) no-repeat center right 5px / 22px 22px, url("//www.digikey.com/~/media/images/global/buttons/yellow-button-background.jpg") repeat 0 0;
}

.cookie-notice .button.secondary:hover {
	background: none;
	background-color: #cc0000;
}

@media (min-width: 769px) {
	html body.gdpr {
		margin-top: 110px;
		background-position: 0px 110px;
	}
	.cookie-wrapper div + div a + a {
		display: none;
	}

	.cookie-wrapper span.button-mobile {
		display: none;
	}

}
@media (max-width: 768px) {
	.cookie-wrapper span.button-desktop {
		display: none;
	}
	body.gdpr {
		background-position: 0px 150px;
	}
	.cookie-mask {
		position: absolute;
		top: 0;
		left: 0;
		height: 100%;
		width: 100%;
		background-color: #000;
		z-index: 9998;
		opacity: 0.8
	}
	.cookie-notice {
		width: 90%;
		z-index: 9999;
		top: 20%;
		left: 5%;
		height: auto;
		background: white;
		border-radius: 4px
	}

	.cookie-wrapper {
		height: auto;
		display: block;
		width: 100%;
		padding: 0;
	}
	.cookie-wrapper div {
		padding: 15px;
	}
	.cookie-wrapper div + div {
		background-color: #eee;
		border-radius: 0 0 4px 4px;
		border-top: solid 1px #ccc
	}
	.cookie-wrapper div + div a {
		float: right;
		color: #3366BB;
		padding-top: 10px;
	}
	
	.rtl 	.cookie-wrapper div + div a {
		float: none;
		float: left;
	}
	
	 .cookie-wrapper div + div a.button {
  float:none;
 }
	.cookie-notice .button.secondary,
	.cookie-notice .button.secondary:hover {
		padding: 10px 22px 10px 10px;
		white-space: nowrap;
		font-size: 14px;
		width: auto !important;
		background: none;
		background-color: #cc0000;
		padding: 10px 33px 10px 32px;
		color: white;
		border: none;
	}
	.cookie-wrapper p {
		padding: 0 10px 0 0;
		background: #fff;
	}
}
@media (max-width: 500px) {
	.cookie-wrapper div + div a.button {
		float: none;
		display: block;
	}

	.cookie-wrapper div + div a {
		float: none;
		display: block;
		text-align: center;
	}
	
	.rtl 	.cookie-wrapper div + div a {
		float: none;
		display: block;
		text-align: center;
	}
	
}