/*===== Variables =====*/
:root{
	--rch-primary-color: #4c75a0;
	--rch-primary-text-color: #ffffff;
	--rch-primary-hover-color: #3d5e80;
	--rch-secondary-color: #f7f7f7;
	--rch-secondary-text-color: #5e5e5e;
	--rch-secondary-hover-color: #e8e8e8;
	--rch-border-color: #444444;
	--rch-link-color: #3d5e80;
	--rch-background-color: rgb(255, 255, 255);
}

/*===== END Variables =====*/


#redim-cookiehint-bottom #redim-cookiehint,
#redim-cookiehint-top #redim-cookiehint{
	max-width: 100%;
}

#redim-cookiehint-top{
	position: fixed;
	top: 0px;
	right: 0px;
	bottom: auto !important;
	left: 0px;
	z-index: 99999;
	border-bottom: 1px solid var(--rch-border-color);
}

#redim-cookiehint-bottom{
	position: fixed;
	top: auto !important;
	right: 0px;
	bottom: 0px;
	left: 0px;
	z-index: 99999;
	border-top: 1px solid var(--rch-border-color);
}


#redim-cookiehint-modal{
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 99999;
}

#redim-cookiehint-modal{
	width: 100%;
	height: 100%;
	padding: 20px;
	background-color: rgba(0, 0, 0, 0.75);
	/*position: absolute*/;
}

.cookiecontent p{
	font-size: 1em;
}

#redim-cookiehint-modal #redim-cookiehint{
	display: table;
	margin: auto;
}

#redim-cookiehint-modal #redim-cookiehint p{
	font-size: 16px;
}

/* --- DEFAULT-STYLE --- */

#redim-cookiehint{
	max-width: 500px;
	z-index: 99999;
	padding: 15px 30px;
	font-size: 14px;
	/*-webkit-box-shadow: 0px 0px 5px 4px rgba(0,0,0,0.21);
	-moz-box-shadow: 0px 0px 5px 4px rgba(0,0,0,0.21);
	box-shadow: 0px 0px 5px 4px rgba(0,0,0,0.21);*/
	line-height: 20px;
	font-weight: 400;
	border-radius: 3px;
	background: var(--rch-background-color);
	box-sizing: border-box;
}

#redim-cookiehint .cookiehead{
	display: inline-block;
	margin-bottom: 20px;
}

#redim-cookiehint .headline{
	font-size: 20px;
	line-height: 26px;
	position: relative;
	padding: 3px 0 10px 50px !important;
	display: inline-block;
	text-transform: uppercase;
	color: var(--rch-secondary-text-color);
}

#redim-cookiehint .headline::before{
	content: '';
	display: inline-block;
	width: 35px;
	height: 32px;
	position: absolute;
	top: 0px;
	left: 0px;
	background-image: url(/wp-content/plugins/cookiehint-wp/assets/img/little_cookie.png);
	background-repeat: no-repeat;
	background-position: left center;
}

#redim-cookiehint .cookiecontent{
	display: inline-block;
	font-size: 14px;
	line-height: 18px;
	color: var(--rch-secondary-text-color);
}

#redim-cookiehint .cookiecontent{
	padding-bottom: 20px;
}


#redim-cookiehint .clr{
	clear: both;
}

#redim-cookiehint .cookiebuttons .btn{
	display: block;
	margin-bottom: 15px;
	padding: 12px 8px !important;;
	font-size: 18px;
	line-height: 24px;
	cursor: pointer;
	text-align: center;
	border:none;
}



#redim-cookiehint .cookiebuttons .btn{
	text-decoration: none !important;
	background-image: none !important;
}

#redim-cookiehint-modal .cookiebuttons .btn{
	width: 100%;
}

#redim-cookiehint.hidden{
	display: none;
	visibility: hidden;
}

#redim-cookiehint a, #redim-cookiehint a:link, #redim-cookiehint a:visited, #cookieresetbtn a {
    color: var(--rch-link-color);
    text-decoration: none;
}

#redim-cookiehint a:hover, #cookieresetbtn a:hover {
    text-decoration: underline;
 	color: var(--rch-border-color);
}

div#cookiehintinfo.text-center {
    text-align: center;
}

#cookiehintsubmit,
#cookiehintsubmitno{
	border-radius: 4px !important;
	transition: background 0.3s ease;
}

#cookiehintsubmit, #cookiehintsubmitno{
	color: var(--rch-primary-text-color) !important;
	background: var(--rch-primary-color) !important;
}

#cookiehintsubmit:hover, #cookiehintsubmitno:hover{
	background: var(--rch-primary-hover-color) !important;
	color: var(--rch-primary-text-color) !important;
}


/*
#redim-cookiehint .cookiebuttons p:last-child{
	padding-top: 10px;
	padding-bottom: 10px;
}
*/

/* --- BOTTOM-STYLE --- */

#redim-cookiehint-bottom{
	background-color: var(--rch-background-color);
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
	text-align: center;
}

#redim-cookiehint-bottom #redim-cookiehint{
	max-width: 980px;
	margin: 0 auto;
	text-align: left;
}

#redim-cookiehint-bottom #cookiehintinfo{
	float: left;
}

#redim-cookiehint-bottom .cookiehead{
	margin-bottom: 10px;
}

#redim-cookiehint-bottom .cookiecontent{
	padding-bottom: 5px;
}

#redim-cookiehint-bottom .cookiebuttons{
	text-align: right;
}

#redim-cookiehint-bottom .cookiebuttons .btn{
	display: inline-block;
	margin: 0px 10px 0px 0px;
	padding: 8px 14px !important;
}


#redim-cookiehint span.headline::before{
	content: '';
	display: inline-block;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 35px;
	height: 32px;
	background-image: url(/wp-content/plugins/cookiehint-wp/assets/img/little_cookie.png);
	background-repeat: no-repeat;
	background-position: left center;
}

@media (max-width: 576px){
	
	#redim-cookiehint{
		padding: 7px 15px;
	}
	
	#redim-cookiehint-modal #redim-cookiehint p{
		font-size: 12px;
	}
	
	#redim-cookiehint .headline{
		color: #707070;
		font-size: 20px;
		line-height: 26px;
		position: relative;
		padding: 3px 0 3px 50px;
		display: inline-block;
	}
	
	#redim-cookiehint .headline::before{
		display: none;
	}
	
	#redim-cookiehint .cookiebuttons{
		text-align: center;
	}
	
	#redim-cookiehint .cookiebuttons .btn{
		width: 60%;
		margin: 0 auto 8px;
		padding: 8px !important;
		font-size: 14px;
		line-height: 20px;
	}
	
	#redim-cookiehint .cookiecontent{
		padding-bottom: 3px;
	}
	
	#redim-cookiehint-bottom #cookiehintinfo{
		float: none;
	}
	
}