#header {
	min-width: 320px;
	background-color: #46667D;
	/*position: fixed;*/
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1;
}
#logo {float: left;}
#logo a, .register-logo {
	display: block;
	width: 320px;
	height: 57px;
	margin: 10px 0 0 40px;
}
[data-site-type='tasmahoito'] #logo a, [data-site-type='tasmahoito'] .register-logo {
	background: #FFFFFF url(/i/tasmahoito/header_logo.png) no-repeat center center;
	border-radius: 18px;
}
[data-site-type='mumo'] #logo a, [data-site-type='mumo'] .register-logo {
	background: url(/i/mumo/header_logo.png) no-repeat left center;
}
[data-site-type='psttry'] #logo a, [data-site-type='psttry'] .register-logo {
	background: url(/i/psttry/header_logo.svg) no-repeat left center;
}
.register-logo {
	display: inline-block;
	margin: 10px 0 13px 0;
	cursor: pointer;
}
#block-nav {position: relative;}
#l-h-button, #r-h-button{
	width: 25px;
	height: 80px;
	position: absolute;
	cursor: pointer;
	vertical-align: middle;
}
#l-h-button{
	z-index: 15;
	left: 0;
	padding: 0 0 0 5px;
	background: #46667D url(/i/menu_img_left.svg) no-repeat center;
}
#r-h-button{
	z-index: 15;
	right: 0;
	padding: 0 5px 0 0;
	background: #46667D url(/i/menu_img_right.svg) no-repeat center;
}
#mainNav {
	z-index: 2;
	max-width: calc(100% - 50px);
	margin-left: 25px;
	background-color: #46667D;
	text-align: center;
}
#mainNav ul {font-size: 0; white-space: nowrap;}
#mainNav i {font-size: 3em;}
#mainNav li {
	font-size: 14px;
	display: inline-block;
	height: inherit;
}
#mainNav a {
	width: 92px;
	height: 80px;
	margin: 0 4px 0 4px;
	padding: 12px 0 0 0;
	color: #FFFFFF;
	display: block;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
#mainNav a:hover, #mainNav a.sel {
	color: #0E1219;
	background-color: #E0E0E0;
	transition: background .25s ease;
}
#mainNav a .header_icon {
	position: relative;
	width: 34px;
	height: 34px;
	margin: 0 auto 6px;
	background: no-repeat center center;
}
#mainNav a .header_icon.icon_requests {background-image: url(/i/icon_request.svg);}
#mainNav a.sel .header_icon.icon_requests, #mainNav a:hover .header_icon.icon_requests {background-image: url(/i/icon_request_w.svg);}
#mainNav a .header_icon.icon_schedule {background-image: url(/i/icon_schedule.svg);}
#mainNav a.sel .header_icon.icon_schedule, #mainNav a:hover .header_icon.icon_schedule {background-image: url(/i/icon_schedule_w.svg);}
#mainNav a .header_icon.icon_call_list {background-image: url(/i/icon_call_list.svg);}
#mainNav a.sel .header_icon.icon_call_list, #mainNav a:hover .header_icon.icon_call_list {background-image: url(/i/icon_call_list_w.svg);}
#mainNav a .header_icon.icon_patients {background-image: url(/i/icon_patients.svg);}
#mainNav a.sel .header_icon.icon_patients, #mainNav a:hover .header_icon.icon_patients {background-image: url(/i/icon_patients_w.svg);}
#mainNav a .header_icon.icon_relatives {background-image: url(/i/icon_patients.svg);}
#mainNav a.sel .header_icon.icon_relatives, #mainNav a:hover .header_icon.icon_relatives {background-image: url(/i/icon_patients_w.svg);}
#mainNav a .header_icon.icon_staff {background-image: url(/i/icon_staff.svg);}
#mainNav a.sel .header_icon.icon_staff, #mainNav a:hover .header_icon.icon_staff {background-image: url(/i/icon_staff_w.svg);}
#mainNav a .header_icon.icon_medical_topics {background-image: url(/i/icon_medical_topic.svg);}
#mainNav a.sel .header_icon.icon_medical_topics, #mainNav a:hover .header_icon.icon_medical_topics {background-image: url(/i/icon_medical_topic_w.svg);}
.new_requests_icon {
	position: absolute;
	display: block;
	right: -20px;
	top: -2px;
	width: 16px;
	height: 16px;
	background: #A6192E;
	border-radius: 50%;
	text-align: center;
	line-height: 16px;
	font-size: 12px;
	color: white;
}
#profile {
	width: 324px;
	height: 80px;
	float: right;
}
#block-profile{
	margin: 26px 40px 0 0;
	float: right;
}
#profile p {
	position: relative;
	display: inline-block;
	font-size: 20px;
	color: #FFFFFF;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
#exit{
	position: relative;
	display: inline-block;
	cursor: pointer;
	margin: 5px;
	padding: 5px;
	width: 16px;
	height: 16px;
	background: url("/i/arrow_right_w.svg") no-repeat;
}
#langSel {
	width: 30px;
	height: 19px;
	margin: 3px 12px 0 0;
	display: inline-block;
	border: 1px solid #E0E0E0;
}
#langSel .headerLang {
	color: #FFFFFF;
	cursor: pointer;
}
.lang-eng {
	width: 28px;
	height: 17px;
	background: url("/i/icon_eng.svg") no-repeat;
}
.lang-suo {
	width: 28px;
	height: 17px;
	background: url("/i/icon_suo.svg") no-repeat;
}

#push-connect {
	position: relative;
	padding: 6px 0;
	color: #FFFFFF;
	background: #B30D25;
	font-size: 12px;
	line-height: 16px;
	text-align: center;
}
#push-connect.push-connect-error,
  #push-connect.push-connect-error .push-connect-info {background: #B30D25;}
#push-connect.push-connect-process,
  #push-connect.push-connect-process .push-connect-info {background: #FE8F00;}
#push-connect.push-connect-online,
  #push-connect.push-connect-online .push-connect-info {background: #41B6A6;}
#push-connect .push-connect-info {
	position: absolute;
	display: none;
	width: 100%;
	top: 28px;
	padding: 5px 15px;
	/*border-top: 1px solid white;*/
	z-index: 1;
}
#push-connect .push-connect-status {cursor: default;}
#push-connect .push-connect-status:hover + .push-connect-info {display: block;}
#push-connect .push-connect-button {
	position: relative;
	min-width: 65px;
	height: 16px;
	margin-left: 20px;
	padding-left: 20px;
	border: 1px solid #FFFFFF;
	border-radius: 1px;
	color: #FFFFFF;
	font-size: 10px;
	line-height: 14px;
	text-align: left;
	cursor: pointer;
}
#push-connect .push-connect-button[disabled] {
	opacity: .4;
	cursor: default;
}
#push-connect .push-connect-button:before {
	content: '';
	position: absolute;
	display: block;
	width: 10px;
	height: 10px;
	top: 2px;
	left: 5px;
	background: url("/i/icon_button_refresh.svg") no-repeat;
}


@media only screen and (max-width: 959px) {
	[data-site-type='tasmahoito'] #logo a, [data-site-type='tasmahoito'] .register-logo {
		background-image: url(/i/tasmahoito/header_logo_mobile.png);
	}
	[data-site-type='mumo'] #logo a {
		background-image: url(/i/mumo/header_logo_mobile.png);
		background-position: center center;
	}
	[data-site-type='mumo'] .register-logo {
		background-position: center center;
	}
	[data-site-type='psttry'] #logo a, [data-site-type='psttry'] .register-logo {
		background-image: url(/i/psttry/header_logo_mobile.svg);
		background-position: center center;
	}
}
@media only screen and (max-width: 480px) {
	#logo {
		width: 100%;
		text-align: center;
		text-align: -webkit-center;
		text-align: -moz-center;
		background-color: #FFFFFF;
	}
	#logo a {
		top: 0;
		position: relative;
		margin: 0;
	}
	#block-nav {clear: both;}
	#mainNav {
		height: 100%;
		position: relative;
	}
	#profile {
		height: 40px;
		background-color: #FFFFFF;
		margin: 0;
		width: 100%;
		text-align: center;
		position: relative;
	}
	#block-profile {
		margin: 0 auto;
		width: 70%;
		float: none;
	}
	#profile p {
		position: relative;
		color: #0E1219;
		font-size: 14px;
		margin: 6px 0 0 0;
	}
	#exit {
		margin: 10px 5px 5px 5px;
		background: url("/i/rectangle_arrow_exit_b.svg") no-repeat;
	}
}

@media only screen and (min-width: 560px) {
	#l-h-button, #r-h-button {display: none;}
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
	#logo {
		width: 100%;
		text-align: center;
		text-align: -webkit-center;
		text-align: -moz-center;
		background-color: #FFFFFF;
	}
	#logo a {
		top: 0;
		position: relative;
		margin: 0;
	}
	#block-nav {clear: both;}
	#mainNav {
		height: 100%;
		position: relative;
	}
	#profile {
		height: 40px;
		background-color: #FFFFFF;
		margin: 0;
		width: 100%;
		text-align: center;
		position: relative;
	}
	#block-profile {
		margin: 8px auto 0;
		width: 30%;
		float: none;
	}
	#profile p {
		position: relative;
		color: #0E1219;
		font-size: 14px;
		margin: 6px 0 0 0;
	}
	#exit {
		margin: 10px 5px 5px 5px;
		background: url("/i/rectangle_arrow_exit_b.svg") no-repeat;
	}
}
@media only screen and (min-width: 768px) and (max-width: 959px) {
	#logo {
		width: 100%;
		text-align: center;
		text-align: -webkit-center;
		text-align: -moz-center;
		background-color: #FFFFFF;
	}
	#logo a {
		top: 0;
		position: relative;
		margin: 0;
	}
	#block-nav {clear: both;}
	#mainNav {
		height: 100%;
		position: relative;
	}
	#profile {
		height: 40px;
		background-color: #FFFFFF;
		margin: 0;
		width: 100%;
		text-align: center;
		position: relative;
	}
	#block-profile {
		margin: 8px auto 0;
		float: none;
		width: 20%;
	}
	#profile p {
		position: relative;
		color: #0E1219;
		font-size: 14px;
		margin: 6px 0 0 0;
	}
	#exit {
		margin: 10px 5px 5px 5px;
		background: url("/i/rectangle_arrow_exit_b.svg") no-repeat;
	}
}
@media only screen and (min-width: 960px) {
	#block-nav {height: 80px;}
}
@media only screen and (min-width: 960px) and (max-width: 1179px) {
	#logo a {margin: 10px 0 0 5px;}
	#block-profile {margin: 26px 5px 0 0;}
	#block-nav {position: static;}
}

@media only screen and (min-width: 1179px) {
	#block-nav {position: static;}
}
