#DIVID {
	-webkit-text-size-adjust: 100%; /* Prevent Apple devices to do font-scaling on orientation changes */
	font-size: 16px;
	width: 100%;
	position: relative;
	top: 0;
	left: 0;
	background-color: #BCKGDCOLOR;
	border-bottom : 1px solid #f3f0ea;
}

#DIVID a {
	text-decoration: none;
	
}

#DIVID a:hover {
	text-decoration: underline;
}

#INNERWRAPID {
	max-width: 1205px;
	margin: 0 auto;
}

#INNERBTNWRAPID a {
	display: block;
	/*background : url("/typo3conf/ext/thememedialight/Resources/Public/js/legals/close.png") no-repeat scroll 95% 50% #61177C;
	background-size: 5px 12px;*/
	color: #FFFFFF;
	/*padding: 8px 0 7px;*/
    text-align: center;
    text-transform: uppercase;
    /*font-size: 16px;*/
    width: 100px;
    margin-bottom: 0;
    text-decoration: none;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
    margin: 0 4px 4px 0;
    background-color: #411f1f;
    border-radius: 0px;
}

#INNERBTNWRAPID a:hover {
	text-decoration: none;
	background-color: #ffffff;
	color: #411f1f;
	border: 1px solid #411f1f;
}

#INNERBTNWRAPID {
	float: right;
	width: 100px;
}

#INNERTEXTID {
	float: left;
	padding-top: 13px;
	padding-bottom: 13px;
	max-width: 1097px;
}

@media screen and (max-width: 320px) {
	#DIVID {
		font-size: 14px;
	}
}

@media screen and (max-width:479px), screen and (max-width:769px) { 
	#INNERWRAPID {
		line-height: normal;
		
	}
	
	#INNERBTNWRAPID {
		width: auto;
		/*margin-top: -15px;*/
	}
	
	#INNERBTNWRAPID a {
		width: 16px;
		height: 16px;
		text-indent: -99999px;
		background: none;
		background-size: 16px 16px;
		background-image: url('/typo3conf/ext/packagemedialight/Resources/Public/images/bg-close-black.png');
		background-repeat: no-repeat;
		margin: 0 4px 4px 0 !important;
		border: 0;
	}
	
	#INNERTEXTID {
		padding: 4px 4px 0 4px;
	}
}

@supports (display: -webkit-flex) or
          (display: -moz-flex) or
          (display: flex) {

    #INNERWRAPID {
    	display: -webkit-flex;
    	display: -moz-flex;
    	display: flex;
    	-webkit-align-items: center;
    	align-items: center;
		justify-content: space-between;
		padding: 6px 0;
    }
    
    #INNERBTNWRAPID {
		float: none;
	}
	
	#INNERTEXTID {
		float: none;
		padding: 0;
		max-width: none;
	}
	
	#INNERBTNWRAPID a {
		margin: 0;
	}
	
	@media screen and (max-width:479px), screen and (max-width:769px) { 
		#INNERTEXTID {
			padding-left: 4px;
		}
	}
}