/*global variables*/
 :root {
	--color-primary-red: rgb(129, 27, 48);
	--color-primary-blue: rgb(68, 84, 106);
	--color-primary-green: rgb(37, 124, 120);
	
	--text-color:rgb(129, 27, 48);
	--primary-color:rgb(68, 84, 106);
	--alvara-primary-color:rgb(68, 84, 106);
/*	--background-color:rgb(184, 196, 214, 0.5); */
	--background-color:rgb(255, 255, 255);
}

a:link, a:visited, a:active, a:hover {
  color: white;
}

body {
/*	background:*/ 
	font-family: 'Open Sans', sans-serif;
	margin: 0 !important;
	z-index: 1;
	background-color: var(--background-color);
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	color: rgb(73, 80, 87);
}

body .ui-button:active, body .ui-button:focus {
	text-decoration: none !important;
	border: none !important;
	box-shadow: none !important;
}

html body .ui-button {
	background-color: var(--color-primary-blue);
	color:white;
	border: none !important;
}

html body .ui-button:hover {
	background-color: var(--color-primary-green);
}


html body .ui-chkbox .ui-chkbox-box.ui-state-hover,
html body .ui-chkbox .ui-chkbox-box.ui-state-focus,
html body .ui-chkbox .ui-chkbox-box.ui-state-focus:hover {
	box-shadow: none;
	border-color: var(--color-primary-green);
}

html body .ui-chkbox .ui-chkbox-box.ui-state-active:hover,
html body .ui-chkbox .ui-chkbox-box.ui-state-active {
	background-color: var(--color-primary-green);
	border-color: var(--color-primary-green);
}

html body .ui-radiobutton {
	background: none;
}

html body .ui-radiobutton .ui-radiobutton-box.ui-state-focus,
html body .ui-radiobutton .ui-radiobutton-box.ui-state-active.ui-state-hover,
html body .ui-radiobutton .ui-radiobutton-box.ui-state-active,
html body .ui-radiobutton {
	border-color: var(--color-primary-green);
	box-shadow: none;
	background: none;
}

html body .ui-radiobutton .ui-radiobutton-box.ui-state-hover,
html body .ui-radiobutton .ui-radiobutton-box.ui-state-active .ui-icon-bullet {
	background-color: var(--color-primary-green);
	border-color: var(--background-color);
	box-shadow: none;
}

html body .ui-wizard .ui-wizard-step-titles .ui-wizard-step-title {
	background-color: var(--color-primary-blue);
	color: white;
}

html body .ui-wizard .ui-wizard-step-titles .ui-wizard-step-title.ui-state-highlight{
	background-color: var(--background-color);
}

.ui-wizard-navbar {
	margin-top: 10px;
}

html body .ui-panelgrid.no-border tbody tr td,
html body .ui-panel .no-border > .ui-panel-content {
	border:none;
}

html body .ui-panelgrid.no-padding tbody tr,
html body .ui-panel .no-padding > .ui-panel-content  {
	padding:0px;
}

html body .ui-panelgrid.padding-top-5-only .ui-panelgrid-cell {
	padding-top:10px;
	padding-left:0px;
	padding-right:0px;
	padding-bottom:0px;
}

html body .ui-tabs.ui-tabs-top > .ui-tabs-nav li.ui-tabs-header a,
html body .ui-tabs.ui-tabs-top > .ui-tabs-nav li.ui-tabs-header {
	background-color: var(--color-primary-blue);
	color: white;
	margin-left:1px;
}

html body .ui-tabs.ui-tabs-top > .ui-tabs-nav li.ui-tabs-header.ui-state-hover {
	border-color: var(--color-primary-red);
}

html body .ui-tabs.ui-tabs-top > .ui-tabs-nav li.ui-tabs-header.ui-state-active {
	background-color: var(--background-color);
	color: black;
	border-color: var(--color-primary-red);
}

html body .ui-tabs.ui-tabs-top > .ui-tabs-nav li.ui-tabs-header.ui-state-active a{
	background-color:transparent;
	color: black;
}

.main {
	width: 98%;
}

#header{
	/*margin-left: 4%;
	width: 96%;*/
	background-color: white;
	vertical-align: middle;
}

#main {
	flex: 1;
}
#avatar {
	margin: 5px;
	background-color: var(--background-color);
}

#avatar > a {
	text-align: right; 
	display: inline-block; 
	text-decoration: none;
	font-size: x-large;
	color: transparent;
}

#avatar > span {
	line-height: 160%;
	font-size:1.2em;
	font-weight: bold;
}

#content{
	width: 92%;
	margin-right: 1%;
	float: right;
	z-index: 1;
}



.sidebarDiv{
	width: 100%;
	/*margin-bottom: 3vh;*/
	margin-bottom: 0px;
	text-align: center;
}

.sidebarLink{
	text-decoration: none;
	width: 100%;
	display: inline-block;
}



.sidebarText{
	display: inline-block;
	text-decoration: none;
	color: white;
	margin-top: 1.6vh;
	float: left;
	overflow: hidden;
	width: 0px;
	transition: width 0.5s;
	text-align: left;
	height: 3vh;
	white-space: nowrap;
}

.borderTopDiv, .borderBottomDiv{
	background-color: white;
	width: 0%;
	display: block;
	height: 1px;
	transition: width 0.5s;
}

#sidebarHomeDiv{
	margin-top: 5vh;
	margin-bottom: 6vh;
}

#sidebarLogoutDiv{
	margin-top: 10vh;
	margin-bottom: 0px;
}

#logoutForm > .ui-button{
	background-color: transparent;
	color: white;
	border: none;
	font-size: 2vh !important;
}

#logoutForm > button{
	font-size: 1.8vw !important;
	margin-left: 0.9vw;
	margin-right: 0.5vw;
	display: block;
	transition:width 0.8s, margin-left 0.5s;
	overflow: hidden;
	width: 31px;
}

#logoutForm > .ui-button > .ui-button-text{
	float: left;
	font-size: 2vh !important;
	padding-left: 2vw;
	text-align: left !important;
	margin-top: -0.5vh;
	overflow: hidden;
	width: 0px;
	display: block;
	transition: width 0.8s, margin-left 0.8s;
}

#mySidebar{
	height: 100vh;
	background-color: var(--color-primary-blue);
	color: white;
	border-bottom-right-radius: 20px;
	border-top-right-radius: 20px;
	position: fixed;
	top: 0px;
	left: 0px;
	z-index: 2;
	transition: width 0.8s;
	overflow: hidden;
	font-size: 2vh;
}

@media screen and (max-width:991px) {
	#mySidebar{
		width:8%;
	}
	/*
	#mySidebar:hover {
		width: 50vw;
		transition: width 0.5s;
	}
	
	#mySidebar:hover > div > a > .sidebarImg{
		margin-left: 5vw;
		transition: margin-left 0.8s;
	}
	
	#mySidebar:hover > div > a > .sidebarText{
		width: 40vw;
		transition: width 0.8s;
	}
	
	 #mySidebar:hover > div > #logoutForm > button{
		margin-left: 3vw;
		width: 40vw;
		transition: width 0.8s, margin-left 0.8s;
	}
	
	#mySidebar:hover > div > #logoutForm > button > .ui-button-text{
		width: 40vw;
		transition: width 0.8s, margin-left 0.8s;
		text-align: left !important;
	} 
	*/
	.sidebarImg{
	width: 4vw;
	height: auto;
	float: left;
	margin-right: 0.5vw;
	margin-left: 1vw;
	margin-top: 1vh;
	margin-bottom: 1vh;
	transition: margin-left 0.5s;
}
}

@media screen and (min-width:992px) {
	#mySidebar{
		width:4%;
	}
	
	/*
	#mySidebar:hover {
		width: 18vw;
		transition: width 0.5s;
	}
	
	#mySidebar:hover > div > a > .sidebarImg{
		margin-left: 3vw;
		transition: margin-left 0.8s;
	}
	
	#mySidebar:hover > div > a > .sidebarText{
		width: 10vw;
		transition: width 0.8s;
	}
	
	 #mySidebar:hover > div > #logoutForm > button{
		margin-left: 3vw;
		width: 10vw;
		transition: width 0.8s, margin-left 0.8s;
	}
	
	#mySidebar:hover > div > #logoutForm > button > .ui-button-text{
		width: 20vw;
		transition: width 0.8s, margin-left 0.8s;
		text-align: left !important;
	} 
	*/
	
	.sidebarImg{
		width: 1.6vw;
		height: auto;
		float: left;
		margin-right: 0.5vw;
		margin-left: 1vw;
		margin-top: 1vh;
		margin-bottom: 1vh;
		transition: margin-left 0.5s;
	}
	.sidebarImgModern {
		width: 2.0vw;
	}
}

/*
.sidebarDiv:hover > .borderTopDiv, .sidebarDiv:hover > .borderBottomDiv{
	width: 15%;
}
*/


.side-margin-5vw {
	margin-left: 5vw !important;
	margin-right: 5vw !important;
}

.text-full-width {
	width: 100%;
}

body > .ui-panel{
	margin: 8px;
	width: 98%;
}

#details label, #details span {
	padding: 8px;
}

.headline {
	font-weight: bold;
	font-size: 2em;	
}
.sub_headline {
	font-weight: bold;
	font-size: 1.1em;	
}
.vertical {
	flex-direction:column; 
}

.right {
	float: right !important;
}

.subtotal {
	text-decoration: underline;
}

.subtotal {
	text-decoration: underline;
	text-decoration-style: solid;
}

.total {
	text-decoration: underline;
	text-decoration-style: double;
}

.padding16 {
	padding: 16px !important;
}

.grouping-title {
	font-weight: bold;
}

#footer {
	background-color: white;
	text-align: center;
	z-index: 1;

}
#footer > div{
	display:inline-block;
	margin-left: 20px;
	text-decoration: none;
}

#footer > div > a{
	color: black;
	font-size: 1.2em;
}

#footer .ui-widget {
	color:black !important; 
	text-decoration: underline !important; 
	font-family: 'Open Sans', sans-serif !important;
	font-size: 1.2em;
}

.sidebarLogoutButtonImage {
	width: 32px; 
    height: 30px; 
    background: url("../icons/logout32.png") !important;
    background-repeat: no-repeat !important;
    display: flex;
    align-items: flex-end;
}

.bold {
	font-size: 1.2em;
	font-weight: bold;
}

.margin-top-10 {
	margin-top: 10vw !important;
}

.no-margin-top-bottom {
	margin-top: 0px !important;
	margin-bottom: 0px !important;
}
.striked{
	text-decoration: line-through;
}

body .ui-panelgrid .ui-panelgrid-cell {
	/* box-shadow: 8px 6px 5px #495057; */
}
.no-shadow div{
	box-shadow: none !important;
}
.border{
	border: 1px solid #dddddd;
	padding: 5px;
}
body .ui-dialog .ui-dialog-content > form {
	width: 98%;
}