#header .inside
{
	height: 100%;
}

#header_offset {

    top: 0;
	left: 0;
	right: 0;
    padding-left: 0px;
    padding-right: 0px;
	height:170px;
    
	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: 1600px;
    margin: auto;	
}

#headlogo
{
	position:absolute;
	top: 40px;
	left: 0px;
	height: 106px;
	width: 222px;	
	display:block;
	background-image: url(../elements/jobcenter-logo.png);
	background-repeat:no-repeat;
	background-size:cover;
	z-index:9999;
}

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: 1600px;
    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:1600px;
	margin-left:auto;
	margin-right:auto;
	height:782px;
	height:auto;
}

#header_offset #top-navigation
{
	position:absolute;
	right:0;
	width:auto;
	top:26px;
}


#header_offset #top-navigation li
{
	float:left;
	margin-left:10px;
	
}

.lang-fa #header_offset #top-navigation li
{
	margin-left:0px;
	margin-right:10px;
}

#header_offset #top-navigation li img
{
	margin-right:10px;
	
}

.lang-fa #header_offset #top-navigation li img
{
	margin-right:0px;
	margin-left:10px;
}

#header_offset .lang-container
{
	float: left;
}


/* --- 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) {
	
	#headlogo {
		position: absolute;
		top: 40px;
		left: 0px;
		height: 86px;
		width: 222px;
		display: block;
		background-image: url(../elements/jobcenter-logo.png);
		background-repeat: no-repeat;
		background-size: contain;
		z-index: 9999;
	}

	#header_offset{
		height: 152px;
	}	
}


/* --- Large devices - Desktop // lg
 * ---------------------------------------- */
 
@media only screen and (max-width: 1199px) {
	

	#header_offset{
		height: 130px;
	}

	#headlogo {
		position: absolute;
		top: 32px;
		left: 0px;
		height: 76px;
		width: 222px;
		display: block;
		background-image: url(../elements/jobcenter-logo.png);
		background-repeat: no-repeat;
		background-size: contain;
		z-index: 9999;
	}
	
}

/* --- Medium devices - Tablet // sm
 * ---------------------------------------- */
 
@media only screen and (max-width: 1024px) {
	
	#header_offset #top-navigati1on {
		position: absolute;
		right: 16px;
		width: 33px;
		top: 70px;
	}


}


/* --- Medium devices - Tablet // md
 * ---------------------------------------- */
 
@media only screen and (max-width: 991px) {
	
	#header_offset {
		height:110px;
	}
	
	#headlogo {
		position: absolute;
		top: 22px;
		left: 0px;
		height: 66px;
	}
	
	#header_offset #top-navigatio1n {
		position: absolute;
		right: 77px;
		width: 33px;
		top: 66px;
	}

}


/* --- Small devices - Phone // sm
 * ---------------------------------------- */
 
@media only screen and (max-width: 767px) {
	


}

/* --- 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;
	}

	#headlogo
	{
		width: 150px;
		height: 60px;
		top:15px;
	}

	#header_offset #top-navigation li.last img
	{
		margin-right:0px;
	}
	
	/*#header_offset #top-navigation
	{
		right:-11px;
	}*/


}