
#header .inside
{
	height: 100%;
}

#header_offset {

    top: 0;
	left: 0;
	right: 0;
    padding-left: 0px;
    padding-right: 0px;
	height:170px;
    position: absolute;
	z-index: 9000;
	-webkit-transition: transform 0.25s ease-in-out 0.1s;
	-moz-transition: transform 0.25s ease-in-out 0.1s;
	transition: transform 0.25s ease-in-out 0.1s;
	
    display: block;
    max-width: 1245px;
    margin: auto;	
}

#headlogo
{
    position: absolute;
    top: 30px;
    right: 0px;
    height: 54px;
    width: 292px;
    display: block;
    background-image: url(../elements/sanssouci_logo-1c_white_620x115px_header.png);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 999;
   
}

.hotel #headlogo
{
    position: absolute;
	top: 23px;
    right: 0px;
    height: 71px;
    width: 292px;
    display: block;
    background-image: url(../elements/hotel-birkenstern-logo_4c_weisse-schrift.svg);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 999;
   
}
body.down #header_offset {
	position:fixed;
    -webkit-transform: translate3d(0px, 0px, 0px);
	-moz-transform: translate3d(0px, 0px, 0px);
	transform: translate3d(0px, 0px, 0px);
	background-color:#fff;
}
body.contentpage.down #header_offset {
	background-color:#f5f5f5;
	max-width:unset;
	
}
body.contentpage.down #headlogo
{
	left:27px;
}
body.contentpage.down #header_offset .inside{
	position: relative;
    max-width: 1760px;
    margin-left: auto;
    margin-right: auto;
	padding-left: 20px;
    padding-right: 20px;
	box-sizing: border-box;
	display: block;
}

body.contentpage.down #header_offset .inside:after{
	content: "";
	display: table;
	clear: both;
}

#header_offset > .inside
{
    display: block;
    margin: auto;
    max-width: 1600px;
}


#header_offset .header_logo > a {
    display: block;
	width: 100%;
	height: 100%;
}

#header_offset .header_logo > a > img.logo {
	display: block;
	width: 222px;
	height: 106px;
}

#header_offset .header_topbar {
    float: right;
    clear: right;
    position: relative;
    margin-top: 25px;
    margin-bottom: 25px;
}

#header_offset .header_topbar > .contactbar,
#header_offset .header_topbar > .sociallinks,
#header_offset .header_topbar > .mod_changelanguage {
    float: left;
    position: relative;
}

#header_offset .header_topbar > .contactbar > a {
    font-size: 15px;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: #666666;
    padding-left: 12px;
    padding-right: 12px;
}

#header_offset .header_topbar > .contactbar > span {
    display: inline-block;
    font-size: 15px;
    font-size: 1.5rem;
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
    -moz-font-feature-settings: "tnum";
    -webkit-font-feature-settings: "tnum";
    font-feature-settings: "tnum";
}

#header_offset .header_topbar > .contactbar > span.phone {
    padding-left: 12px;
    color: #666666;
}

#header_offset .header_topbar > .sociallinks {
    margin-left: 60px;
}

#header_offset .header_topbar > .sociallinks ul {
    clear: both;
    overflow: hidden;
    margin: 0;
}

#header_offset .header_topbar > .sociallinks li {
    float: left;
    position: relative;
    margin: 0 0 0 10px;
}

#header_offset .header_topbar > .sociallinks li > a > .fa {
    font-size: 18px;
    font-size: 1.8rem;
    color: #666666;
    vertical-align: text-bottom;
}

#header_offset .header_topbar > .sociallinks span {
    text-indent: -9999em;
    position: absolute;
    overflow: hidden;
    visibility: hidden;
}

#header
{
	max-width:100%;
	margin-left:auto;
	margin-right:auto;

	height:auto;
	margin-top: -48px;
}

.startpage #header
{
		height: 838px;	
}

.startpage .headlogo
{
	display: none;
}

#header_offset #top-navigation
{
	position:absolute;
	right:0;
	width:auto;
	top:22px;
}


#header_offset #top-navigation li
{
	float:left;
	margin-left:10px;
	
}

#header_offset #top-navigation li img
{
	margin-right:10px;
	
}




#header .ce_image:not(#intro):not(.startlogo)
{
	position: relative;
}

#header .ce_image:not(#intro):not(.startlogo):before
{
	content:"";
	position: absolute;
	top:0;
	left:0;
	right:0;
	bottom:10%;
	background: linear-gradient(rgba(36, 36, 36, 0.93) 0%, rgba(18, 18, 18, 0) 100%);
	opacity: 0.62;
	
}

#header .intro-container
{
	    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}


#header .intro-container .ce_image
{
	    width: 100%;
}
#header .intro-container .startlogo
{
	position: absolute!important;
    width: 100%;
    text-align: center;
    margin-top: 45px;
    top: 0;
}
#header .intro-container .ce_image .image_container
{
	    margin-top: 251px;
		max-width: 1285px;
		margin-left: auto;
		margin-right: auto;
    
}

.startpage #headlogo
{
	display: none!important;
}
/* --- Large devices - Desktop // xxl
 * ---------------------------------------- */

@media only screen and (max-width: 1600px) {
	
	#header_offset {
		padding-left: 16px;
		padding-right: 16px;
	}



/* --- Large devices - Desktop // xl
 * ---------------------------------------- */
 
@media only screen and (max-width: 1380px) {
	
	#headlogo1 {
		position: absolute;
		top: 54px;
		left: 0px;
		width: 270px;
		height:75px;
		display: block;
		
		background-repeat: no-repeat;
		background-size: contain;
		z-index: 9999;
	}

	#header_offset #top-navigation {
		top: 99px;
	}
		
	#header_offset{
		height: 155px;
	}	
	
}

@media only screen and (max-width: 1300px) {
	#header {
		margin-left: -4% !important;
		margin-right: -4% !important;
		width: auto !important;
		max-width: none !important;
	}

	#header .ce_headlinebox {
		position: relative !important;
		top: 0 !important;
		left: 0 !important;
		margin: 0 0 20px 0 !important;
		display: block;
		width: 100% !important;
		text-align: center;
	}

	#header .ce_headlinebox .container-inside {
		max-width: 100% !important;
	}
}

@media only screen and (max-width: 991px) {
	#header {
		margin-left: -2% !important;
		margin-right: -2% !important;
	}
}

/* --- Large devices - Desktop // lg
 * ---------------------------------------- */
 
@media only screen and (max-width: 1199px) {
	

	#header_offset{
		height: 130px;
	}

	#headlogo1 {
		position: absolute;
		top: 55px;
		left: 0px;
		height: 55px;
		width: 200px;
		display: block;
		background-repeat: no-repeat;
		background-size: contain;
		z-index: 9999;
	}

	#header_offset #top-navigation {
		top: 79px;
	}
	

/* --- Medium devices - Tablet // sm
 * ---------------------------------------- */
 
@media only screen and (max-width: 1024px) {
	
	
}


/* --- Medium devices - Tablet // md
 * ---------------------------------------- */
 
@media only screen and (max-width: 991px) {
	
	#header_offset {
		height:110px;
	}

	.startpage #header .content-container > .ce_image {
		display: none;
	}
	
	#headlogo1 {
		position: absolute;
		top: 34px;
		left: 0px;
		height: 66px;
	}
	
	#header_offset #top-navigation {
	  top: 60px;
	}
	
	#header_offset #top-navigation li img {
	  margin-right: 0px;
	}

	#headlogo {
		width: 200px;
		height: 46px;
		top: 22px;
		left: 50% !important;
		transform: translateX(-50%) !important;
		right: auto !important;
	}

	.hotel #headlogo {
		width: 200px;
		height: 52px;
		top: 18px;
		left: 50% !important;
		transform: translateX(-50%) !important;
		right: auto !important;
	}

	.startpage #header {
		height: auto;
		min-height: 500px;
		margin-top: 0 !important;
	}

	#header .intro-container .ce_image .image_container {
		margin-top: 150px;
	}

	#header .intro-container .startlogo {
		margin-top: 25px;
	}

	#header figure {
		margin: 0 !important;
	}

	#header_offset > .inside {
		max-width: 100%;
		padding-left: 16px;
		padding-right: 16px;
	}
}


/* --- Small devices - Phone // sm
 * ---------------------------------------- */
 
@media only screen and (max-width: 767px) {
	
	#headlogo {
		width: 240px;
		height: 45px;
		top: 25px;
	}

	.hotel #headlogo {
		width: 280px;
		height: 74px;
		top: 18px;
	}

	.startpage #header {
		height: auto;
		min-height: unset !important;
		margin-top: 0 !important;
	}
	body {
		padding-top: 0 !important;
	}

	#header .intro-container {
		position: relative !important;
	}

	#header .intro-container .ce_image .image_container {
		margin-top: 100px;
		max-width: 100%;
	}

	#header .intro-container .startlogo {
		margin-top: 15px;
	}

	.hotel #header .intro-container .startlogo img {
		max-width: 280px;
	}
	
	#header .intro-container .startlogo img {
		max-width: 240px;
	}

}

/* --- Small devices - Phone // s
 * ---------------------------------------- */
 
@media only screen and (max-width: 639px) {
	


}


/* --- Extra small devices - Phone // xs
 * ---------------------------------------- */
 
@media only screen and (max-width: 544px) {

	#header_offset
	{
		height:94px;
	}

	#header_offset #top-navigation {
	  top: 45px;
	}
	
	#headlogo1
	{
		width: 170px;
		height: 60px;
		top:29px;
	}

	.startpage #header {
		height: auto;
		min-height: 300px;
	}

}