/*
*	https://material.io/color/#!/?view.left=1&view.right=1&primary.color=005ABE&secondary.color=f1f1f1
*/
/*
$backgroundColor: rgba(241, 241, 241, 1);
$secondaryColor: rgba(241, 241, 241, 1);
$secondaryLightColor: rgba(255, 255, 255, 1);
$secondaryDarkColor: rgba(190, 190, 190, 1);
*/
/*$buttonShadow: 0px 0px 2px 0 rgba(0,0,0,0.4);
$buttonShadowHover: 2px 2px 4px 0 rgba(0,0,0,0.4);*/
/* #E4EEF3 */
/* $defaultShadow: 0px 0px 4px 0 rgba(0,0,0,0.4); */
/*
*****************
*	OLD COLORS	*
*****************
	Header color: #383A3B
					rgba(56, 58, 59, 1)
	Clean blue: #0EB3FF
					rgba(14, 179, 255, 1)
	Almost white: #F1F1F1
					rgba(241, 241, 241, 1)
	Almost black: #1F1F1F
					rgba(31, 31, 31, 1)
	Light gray: #DEDEDE
					rgba(222, 222, 222, 1)
	Gray: rgba(56, 58, 59, 0.4)									NOTE; Used in textbox thin underline
					#A7A7A8
	Darker Gray: rgba(145, 145, 145, 1)
					#919191
	Green: rgba(46, 204, 113, 1)
					#2ECC71
	Red: rgba(242, 38, 19, 1)
					#F22613
	Tag hover: inset 0px 0px 0px 100px rgba(255,255,255,0.25)		
	
	
	Shadow: 0px 0px 4px 0 rgba(0,0,0,0.4)
	Button shadow: 1px 1px 2px 0 rgba(0,0,0,0.4)
	Button shadow hover: 2px 2px 4px 0 rgba(0,0,0,0.4)
	DEFAULT Button background: rgba(255, 255, 255, 0)
	Disabled button color: rgba(56, 58, 59, 0.1)
	
	Disabled opacity: 0.45

	
	
	
	
*****************
*	NEW COLORS	*
*****************
	LightBlue	#ADBFD8
				rgba(71, 117, 179, 0.4) !important
				
*/
#header {
  position: fixed;
  display: block;
  width: 100%;
  height: 60px;
  left: 0px;
  right: 0px;
  top: 0px;
  /*background-color: #383A3B;*/
  background-color: #005abe;
  color: #f1f1f1;
  /*border-bottom: 2px solid $backgroundColor;*/
  z-index: 99999990;
  /* Almost top value of z-index */
}

#logoBar {
  position: absolute;
  width: 170px;
  left: 60px;
  right: 0;
  margin: 0px;
  padding: 0px 10px 0px 10px;
  height: 100%;
  background-image: url("../images/header_logo-black.svg");
  background-color: #f1f1f1;
  background-size: auto 30px;
  /*background-image: url("../images/header_logo.svg");*/
  background-repeat: no-repeat;
  background-position: center;
  /*background-size: contain;*/
}

@media all and (max-width: 400px) {
  #logoBar {
    width: calc(100% - 145px);
    background-size: 90% auto;
  }
}
#logoTitle {
  position: absolute;
  width: 300px;
  left: 250px;
  right: 0;
  margin: 0px;
  padding: 0px 10px 0px 10px;
  height: 100%;
  background-image: url("../images/systemname.svg");
  background-size: auto 30px;
  /*background-image: url("../images/header_logo.svg");*/
  background-repeat: no-repeat;
  background-position: 25px center;
  /*background-size: contain;*/
}

@media all and (max-width: 800px) {
  #logoTitle {
    display: none;
    width: 0;
    background: none;
  }
}
#header input, #header input + label:before, #header input label:after, #header input:checked + label:after {
  display: none !important;
}

#header input, #header input + label {
  width: 60px;
  height: 60px;
}

#navMenu {
  position: relative;
  float: left;
  display: inline-block;
  width: 40px;
  height: 40px;
  margin: 10px;
}

input[type=checkbox]#navigationCheckbox_00 + #header label div#navMenu span.burger, input[type=checkbox]#navigationCheckbox_00 + #header label div#navMenu span.burger:before, input[type=checkbox]#navigationCheckbox_00 + #header label div#navMenu span.burger:after {
  content: "";
  position: absolute;
  display: inline-block;
  left: 0px;
  background-color: #f1f1f1;
  border-radius: 3px;
  height: 3px;
  width: 30px;
  -webkit-transform-origin: center;
  transform-origin: center;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transition: all 120ms ease-in-out;
  transition: all 120ms ease-in-out;
}

input[type=checkbox]#navigationCheckbox_00 + #header label div#navMenu span.burger {
  top: 0px;
  bottom: 0px;
  margin-top: auto;
  margin-bottom: auto;
  left: 5px;
}

input[type=checkbox]#navigationCheckbox_00 + #header label div#navMenu span.burger:before {
  -webkit-transform: rotate(0deg) translateY(10px);
  transform: rotate(0deg) translateY(10px);
}

input[type=checkbox]#navigationCheckbox_00 + #header label div#navMenu span.burger:after {
  -webkit-transform: rotate(0deg) translateY(-10px);
  transform: rotate(0deg) translateY(-10px);
  top: 0px;
  bottom: 0px;
  margin-top: auto;
  margin-bottom: auto;
}

input[type=checkbox]#navigationCheckbox_00:checked + #header label div#navMenu span.burger {
  background-color: transparent;
}

input[type=checkbox]#navigationCheckbox_00:checked + #header label div#navMenu span.burger:before {
  background-color: #f1f1f1;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

input[type=checkbox]#navigationCheckbox_00:checked + #header label div#navMenu span.burger:after {
  background-color: #f1f1f1;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#menu {
  position: fixed;
  display: block;
  top: 60px;
  left: -250px;
  opacity: 0;
  width: 250px;
  height: calc(100vh - 60px);
  background-color: #FFFFFF;
  opacity: 1;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  z-index: 99999989;
  /* One less than the z-index value of #header */
}

#menuList a {
  text-decoration: none !important;
}

/*
#menu.menuIconView
{
    width: 60px !important;
    left: 0px !important;
    
    -moz-transform: none !important;
    -webkit-transform: none !important;
    -o-transform: none !important;
    -ms-transform: none !important;
    transform: none !important;
}

input[type=checkbox]#navigationCheckbox_00:checked ~ #header + #menu.menuIconView
{
    width: 300px !important;
}*/
@media all and (max-width: 400px) {
  #menu {
    max-width: 90%;
  }
}
input[type=checkbox]#navigationCheckbox_00:checked ~ #header + #menu {
  -webkit-transform: translateX(250px);
  transform: translateX(250px);
  opacity: 1 !important;
}

#menu #menuList {
  position: relative;
  display: block;
  float: left;
  top: 0px;
  left: 0px;
  margin: 10px auto 10px auto;
  width: 100%;
  height: calc(100% - 20px);
  overflow: auto;
}

#menuList li {
  display: table;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  height: auto;
}

.menuItem {
  display: block;
  width: 100% !important;
  padding: 2px 0px 2px 0px;
  background-color: #FFFFFF !important;
  color: #1f1f1f;
}

.menuItem:hover {
  background-color: #F4F4F4 !important;
}

.menuItem span {
  margin: auto auto auto 20px;
  /* New align to text for possible icons and multilayer navigation */
  line-height: 20px;
  white-space: nowrap;
  font-size: 0.8em !important;
}

.menuItem svg, .menuItem img {
  position: relative;
  display: inline;
  float: left;
  margin: 0px -6px 0px 2px;
  padding: 6px;
  left: 0;
  width: 28px;
  height: 28px;
}

.menuItem.dropDownToggle {
  width: 50px !important;
  height: 50px !important;
  padding: 5px !important;
  float: right;
  border-radius: 0px !important;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.menuItem.dropDownToggle span {
  margin: auto !important;
}

.subMenuList {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  background-color: #F4F4F4;
  -webkit-box-shadow: inset 0 0 2px 0px rgba(0, 0, 0, 0.25);
          box-shadow: inset 0 0 2px 0px rgba(0, 0, 0, 0.25);
  overflow-y: hidden;
  opacity: 1;
  -webkit-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}

.subMenuList .subMenuList {
  background-color: #DEDEDE;
}

.subMenuList .subMenuList li .menuItem:hover {
  background-color: #919191 !important;
}

.subMenuList.closed {
  opacity: 0;
}

.subMenuList li .menuItem {
  background-color: transparent !important;
}

.subMenuList li .menuItem:hover {
  background-color: #DEDEDE !important;
}

.menuItem span span.tag {
  position: absolute;
  float: left;
  top: 0;
  bottom: 0;
  margin: auto auto auto 6px;
  padding: 1px 8px 1px 8px;
}

.menuItem.subitems {
  width: calc(100% - 50px) !important;
}

#bottomMenu {
  position: relative;
  display: block;
  float: left;
  bottom: 0px;
  width: 100%;
  max-height: 140px;
  height: 100%;
}

#userProfile {
  display: block;
  width: 80px;
  height: 80px;
  margin: 10px auto 10px auto;
  background-color: #DEDEDE;
  color: #1f1f1f;
  border-radius: 100%;
}

#userNav {
  position: relative;
  display: table;
  float: right;
  height: 60px;
  margin: 0px 2vw;
  max-width: 240px;
  z-index: 99999989;
}

#userNav .defaultUserIcon {
  display: table-cell;
  float: right;
  width: 40px;
  height: 40px;
  padding: 5px;
  margin: 5px 0px;
  background-image: url("../images/user-bg.svg");
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

#userNav .userName {
  display: table-cell;
  vertical-align: middle;
  text-align: right;
  max-width: calc(100% - 60px);
  width: calc(100% - 60px);
  height: 40px;
  line-height: 20px;
  font-size: 1em;
  font-weight: 500;
  padding: 0px 10px 0px 0px;
  margin: auto;
  top: 0;
  bottom: 0;
}

#userNav .domainName {
	font-size: 0.75em;
}

@media all and (max-width: 550px) {
  #userNav .userName {
    display: none;
    width: 0;
  }
}
#userMenu {
  position: fixed;
  top: 0px;
  right: 0px;
  margin: 10px;
  margin-top: 0px;
  min-width: 200px;
  min-height: 0px;
  max-height: 0px;
  background-color: #FFFFFF;
  max-width: calc(100% - 20px);
  padding: 10px;
  border-radius: 2px;
  overflow-y: hidden;
  opacity: 0;
  z-index: 99999989;
}

#userMenu.shown {
  top: 65px !important;
  margin-top: 10px !important;
  min-width: 200px !important;
  min-height: 185px !important;
  max-height: 600px !important;
  opacity: 1 !important;
}

#userMenu.shown.withDomainMenu {
  min-height: 180px !important;
}

#userMenu ul li {
  padding: 5px 0px;
}

#userMenu .logoutBtn {
  position: absolute;
  display: block;
  float: left;
  bottom: 10px;
  margin: 0px;
  width: calc(100% - 20px);
  height: 40px;
  vertical-align: bottom;
}

#userMenu .logoutBtn button {
  width: 100%;
}

.navUserInfoContainer {
  position: relative;
  display: table;
  margin: auto;
}

.navUserProfileIcon {
  position: relative;
  display: block;
  float: left;
  width: 50px;
  height: 50px;
  margin: 0;
  padding: 0;
  background-image: url("../images/user.svg");
  background-size: 80%;
  background-position: center;
  background-repeat: no-repeat;
}

.navUserProfileInfo {
  position: relative;
  display: inline-block;
  float: left;
  width: calc(100% - 50px);
  line-height: 22px;
  font-size: 1em;
  text-align: left;
}

.halfButton {
  display: inline-block;
  float: left;
  width: 50%;
  color: #1f1f1f;
}

#quickSettings span, #logoutMenu span {
  text-align: center;
  margin: 0px auto 0px auto;
}
