html {
	position: relative;
	overflow-y: scroll;
	min-height: 100vh;
}

blink {
	display: inline-block;
	font-size: 20px;
	background-color: yellow;
	padding: 4px;
	margin: 0 2px;
	color: #000000;
	border: 1px solid #000000;
	animation: warning 5s linear infinite;
}
@keyframes warning {
  0% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.5);
  }
  100% {
      transform: scale(1);
  }
}

div.loader {
  border: 4px solid #f3f3f3; /* Light grey */
  border-top: 4px solid #cfcfcf; /* grey */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

body {
	font-family: Lato, Helvetica, Arial, sans-serif;
	font-size: 13px;
	color: #000000;
	padding: 0;
	margin: 0;
	padding-top: 48px;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	background-position: center 48px;
	background-image: url('/images/bg/Teamr_back.jpg');
}

textarea {
	font-family: Lato, Helvetica, Arial, sans-serif;
}

html.teamquality body {
	background-position: left center;
	background-image: url('/images/bg/Teamquality_bg.jpg');
}

html.teamquality div.cogs {
	display: none;
}

pre {
	color: #f0f0f0;
	padding: 40px;
	background-color: rgba(0, 0, 0, 0.2);
}

hr {
	height: 1px;
	border-width: 0;
	color: #d0d1d2;
	background-color: #d0d1d2;
}

img {
	border: 0;
}

.hidden {
	display: none !important;
}

a {
	text-decoration: none;
	color: #000000;
}
a:hover {
	text-decoration: underline;
}

i.material-icons {
	font-size: 20px;
	line-height: inherit;
}

i.material-icons.header1 {
	font-size: 30px;
	vertical-align: text-bottom;
}

h2,
h3 {
	margin: 0;
}

ol.hlink,
ul.hlink {
	margin-top: 0;
	margin-bottom: 0;
}

input,
select {
	font-family: inherit;
	font-size: inherit;
}

a.button,
button.button,
input.button {
	display: inline-block;

    xpadding: 7px 14px;
	padding: 5px 5px;
    margin: 0;
	cursor: pointer;

	text-transform: uppercase !important;
	text-decoration: none !important;
	text-align: center;

	font-family: inherit;
	font-size: inherit;
	font-weight: 600;

	color: rgb(29, 69, 138);
	background-color: transparent;
	border: 1px solid transparent;
    border-radius: 4px;
	line-height: 20px;

	white-space: nowrap;
}
a.button i.material-icons,
button.button i.material-icons {
	vertical-align: bottom;
	line-height: inherit;
}

a.button:hover,
button.button:hover,
input.button:hover {
	background-color: rgba(29, 69, 138, 0.08);
}

a.button:focus,
button.button:focus,
input.button:focus {
	background-color: rgba(29, 69, 138, 0.16);
}

a.button.high,
button.button.high,
input.button.high {
	color: #ffffff;
    border-color: hsl(218, 65%, 33%);
	background-color: hsl(218, 65%, 33%);
}

a.button.high:hover,
button.button.high:hover,
input.button.high:hover {
    border-color: hsl(218, 65%, 38%);
	background-color: hsl(218, 65%, 38%);
}
a.button.high:focus,
button.button.high:focus,
input.button.high:focus {
    border-color: hsl(218, 65%, 40%);
	background-color: hsl(218, 65%, 40%);
}

a.button.medium,
button.button.medium,
input.button.medium {
    border-color: #878787;
}

a.button.disabled,
button.button:disabled,
input.button:disabled,
html.teamquality a.button.disabled,
html.teamquality button.button:disabled,
html.teamquality input.button:disabled {
	color: #878787 !important;
	cursor: default !important;
	background-color: transparent !important;
}
a.button.high.disabled,
a.button.high.disabled:focus,
button.button.high:disabled,
input.button.high:disabled,
html.teamquality a.button.high.disabled,
html.teamquality button.button.high:disabled,
html.teamquality input.button.high:disabled {
	background-color: #cbcbcb !important;
	border-color: #cbcbcb !important;
	color: #878787 !important;
}


nav.bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: fixed;
	top: 0;
	width: 100%;
	height: 48px;
	background-color: #231f20;
	z-index: 500;

	padding-left: 40px;

	box-sizing: border-box;

	user-select: none;
	-ms-user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;

	font-size: 119%;
	font-weight: 400;
	color: #ffffff;

	box-shadow: 5px 5px 16px rgba(0, 0, 0, 0.4);
}

html.media nav.bar {
	padding-left: 40px;
}
html.media nav.bar img.logo {
	height: 22px;
}
div.white_box.media {
	margin: 0 auto;
	max-width: 1280px;
}

nav.site > a.logo {
	width: 110px;
}
nav.site > a.logo img {
	height: 22px;
}
html.teamquality nav.site > a.logo img {
}
nav.site > a.menu.small {
	display: none;
}
nav.site > a.menu.small > i.material-icons.close {
	display: none;
}
nav.bar > div.small.top_level {
	display: none;
}
nav.bar > div {
	width: calc(100vw - 110px);
	display: flex;
	align-items: inherit;
	justify-content: space-between;
}

nav.page {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin-left: 60px;
}
nav.page ul.logo_small {
	display: none;
}
nav.page ul.menu_button > li:nth-child(2) {
	display: none;
}
nav.globals {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
nav > ul > li:first-child {
	position: relative;
	z-index: 501;
}
nav a.menu_button {
	display: block;
	color: #ffffff;
	text-decoration: none;
	line-height: 48px;
	height: 48px;
	overflow: hidden;
	padding: 0 16px;
}
nav a > i.material-icons {
	vertical-align: top;
	line-height: inherit;
}

nav ul.selected > li > a {
	background-color: #3b73ae;
}
nav a.menu_button.has_no_submenu > i.material-icons.sub_menu {
	display: none;
}
nav i.material-icons.nav_icon {
	vertical-align: top;
	padding-right: 10px;
	line-height: inherit;
}
nav img.nav_icon {
	vertical-align: middle;
	padding-right: 10px;
	line-height: inherit;
	width: 20px;
}
nav span.nav_icon {
	display: inline-block;
	width: 20px;
}

nav ul {
	list-style-type: none;
	margin: 0 10px 0 0;
	padding: 0;
	box-sizing: border-box;
}


nav ul.sub_menu {
	position: absolute;
	top: 48px;
	background-color: #183a68;

	max-height: 0px;
	text-align: left;
	overflow: hidden;

	padding: 0;
	transition: max-height 0.05s;
	z-index: 10;
}
nav ul.open > ul.sub_menu {
	border-radius: 0 0 5px 5px;
	transition: max-height 0.2s;
	box-shadow: 5px 5px 16px rgba(0, 0, 0, 0.4);
}
nav ul > ul.sub_menu > li.first-under-top,
nav ul > ul.sub_menu > li:first-child {
	padding-top: 8px;
}
nav ul > ul.sub_menu > li:last-child {
	padding-bottom: 8px;
}
nav ul > ul.sub_menu li a {
	display: block;
	line-height: 34px;
	padding: 0 16px;
	font-weight: 400;
	color: inherit;
	text-decoration: inherit;
}
nav ul > ul.sub_menu li.selected a {
	background-color: #3b73ae;
}
nav ul > ul.sub_menu li a:hover {
	background-color: #cc9933;
}

nav ul.sub_menu > ul {
	margin: 0;
}
nav ul.sub_menu > ul > li a {
	padding-left: 45px;
}
nav ul > li a.menu_button img.nav_icon.empty {
	display: none;
}
nav ul li.divide_after::after {
	content: '';
	display: list-item;
	border-bottom: 1px solid #606060;
	margin: 8px 16px;
}

nav.globals ul.account a > div.name {
	display: inline-flex;
	flex-direction: column;
	vertical-align: middle;
	line-height: normal;
}
nav.globals ul.account li.small > div.name > div,
nav.globals ul.account a > div.name > div {
	text-align: center;
	line-height: inherit;
}
nav.globals ul.account li.small > div.name > div:nth-child(2),
nav.globals ul.account a > div.name > div:nth-child(2) {
	font-size: 10px;
}
nav.globals ul.account li.small {
	display: none;
}

nav ul.open a.menu_button,
nav ul.selected a.menu_button {
	background-color: #183a68;
}
@media (hover: hover) {
	nav a.menu_button:hover {
		background-color: #1d458a;
	}
}
nav.globals ul.notification ul.sub_menu {
    list-style-type: none;
    box-sizing: border-box;
	max-width: 300px;
}
nav.globals ul.notification ul.sub_menu li {
	padding: 10px 5px;
	background-color: #888888;
	margin: 10px;
	font-size: 12px;
	font-weight: 400;
}
nav.globals ul.notification ul.sub_menu li:first-child {
	background-color: transparent;
	padding: 0 5px;
}


main {
	xdisplay: block;
	display: flex;
	justify-content: center;

	position: relative;
	z-index: 10;
	box-sizing: border-box;
	-webkit-overflow-scrolling: touch;
	xmargin-top: 0;
	xmargin-left: 25vw;
	xmargin-bottom: 20px;
	xmargin-right: auto;
	
	xmargin: 0 34px 20px 34px;
}
main:after {
	display: block;
	content: '';
	clear: both;
}
main h1,
main h1 > a,
main h1 > a:hover {
	color: #ffffff;
	text-decoration: none;
}

div.white_box,
div.drawer {
	background-color: #ffffff;
	background-image: linear-gradient(#ffffff, #ddf3f4);
	padding: 20px;
	border-radius: 20px;
	color: #0f5081;
	max-width: 700px;
	box-sizing: border-box;
	margin-bottom: 16px;
}
div.white_box a,
div.drawer a {
	color: inherit;
}

div.main_content {
	float: left;
	width: 90vw;
	max-width: 700px;
	margin-right: 16px;
}
div.extra_content {
	float: left;
	width: 490px;
}
div.drawer_container_tmp {
	position: fixed;
	top: 112px;
	left: 80%;
	width: 360px;
}
div.drawer_container,
div.drawer_container.open {
	position: fixed;
	top: 112px;
	right: 10%;
	width: 360px;
}
@media screen and (max-width: 1660px) {
	div.drawer_container,
	div.drawer_container.open {
		position: fixed;
		top: 112px;
		right: 0;
		width: 360px;
	}
}

div.cogs {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	max-width: 300px;
	height: 100%;
	max-height: 250px;
	z-index: 1;

	user-select: none;
	-ms-user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;

	overflow: hidden;
}
div.cogs > img {
	position: absolute;
	bottom: 0;
}
div.cogs > img.cog01 {
	width: 65%;
	left: 10%;
	bottom: 18%;
	z-index: 2;
	animation: rotate_ccw 160s linear infinite;
}
div.cogs > img.cog02 {
	width: 40%;
	left: 3%;
	bottom: 10%;
	z-index: 1;
	animation: rotate_ccw 70s linear infinite;
}
div.cogs > img.cog03 {
	width: 65%;
	left: 30%;
	bottom: -20%;
	z-index: 3;
	animation: rotate 210s linear infinite;
}
@keyframes rotate_ccw {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(-360deg);
  }
}

@keyframes rotate {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}

/*
 * Action bar
 */
div.white_box div.action_bar {
	margin-bottom: 8px;
}

div.white_box div.action_bar.small {
	min-width: 50%;
	float: right;
	text-align: right;
	margin-bottom: 0;
}

div.white_box div.action_bar > h2 {
	line-height: 36px;
}

/*
 * Action bar new
 */
div.action_bar.new {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 36px;
}
div.action_bar.new span.header {
	font-size: 15px;
	font-weight: bold;
}
div.action_bar.new span.header i.material-icons {
	vertical-align: bottom;
	font-size: 16px;
}
div.action_bar.new div.actions {
	text-align: right;
	white-space: nowrap;
}

/*
 * Action bar responsive
 */
div.action_bar.responsive {
	display: flex;
	position: relative;
	justify-content: space-between;
	min-height: 36px;
	max-height: 36px;
}
div.action_bar.responsive span.header {
	font-size: 15px;
	font-weight: bold;
}
div.action_bar.responsive span.header i.material-icons {
	vertical-align: bottom;
	font-size: 16px;
}

div.action_bar.responsive div.action_list_container {
	float: right;
	display: flex;
	background-color: none;
	border-radius: 5px;
}

div.action_bar.responsive div.actions {
	text-align: right;
	display: block;
}

div.action_bar.responsive div.actions.closed {
	display: block;
}

div.action_bar.responsive div.actions.open {
	display: block;
}

div.action_bar.responsive a.action_list_toggle {
	text-decoration: none;
}

div.action_list_top {
	display: none;
}

@media screen and (max-width: 735px) {
	div.action_bar.responsive div.action_list_container {
		flex-direction: column;
		max-width: 200px;
		background-color: none;
		border-radius: 5px;
		z-index: 10;
		padding: 0 0 16px 0;
		position: absolute;
		right: 0;
	}

	div.action_bar.responsive div.action_list_container.closed {
		background-color: none;
		z-index: 10;
	}

	div.action_bar.responsive div.action_list_container.open {
		background-color: #ffffff;
		z-index: 100;
		box-shadow: 5px 5px 16px rgba(0,0,0,0.4);
	}

	div.action_bar.responsive div.actions {
		text-align: left;
		display: none;
	}

	div.action_bar.responsive div.actions.closed {
		display: none;
	}

	div.action_bar.responsive div.actions.open {
		display: block;
		height: auto;
	}

	div.action_list_top {
		padding: 2px;
		display: block;
		text-align: right;
	}
}

.divider {
	border-bottom: 1px solid #b8dcdf;
	margin-bottom: 16px;
	padding-bottom: 16px;
}

div.plaque {
	background-image: url('/images/layout/mission_control/bg_plaque.png');
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: center center;
	text-align: center;
	width: 50px;
	height: 50px;

	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;

	color: #ffffff;
	text-shadow: 1px 0 rgba(0,0,0,0.4),	-1px 0 rgba(0,0,0,0.4), 0 1px rgba(0,0,0,0.4), 0 -1px rgba(0,0,0,0.4);
}
div.plaque div.title {
}
div.plaque div.text {
	font-weight: bold;
	font-size: 130%;
}

div.calendar {
	background-image: url('/images/layout/mission_control/bg_calendar.png');
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: center center;
	text-align: center;
	width: 50px;
	height: 50px;

	display: flex;
	justify-content: center;
	align-items: center;

	color: #000000;
	font-size: 24px;
	box-sizing: border-box;
	padding: 16px 0 0 0;
}
div.calendar div.legend {
	font-size: 11px;
	padding: 1px 30px 0 30px;
	line-height: 110%;
}

/*
 * textpage
 */
div.textpage {
	max-width: 700px;
}

/*
 * dashboard
 */
div.org_selection {
}
div.org_selection ul {
	list-style-type: none;
	margin: 0;
	margin-left: -7px;
	padding: 0;
	padding-inline-start: 0;
	box-sizing: border-box;
}
div.org_selection li.submenu ul {
	padding-left: 20px;
	margin-left: 0;
}
div.org_selection li {
	padding: 0;
	margin: 13px 0;
}
div.org_selection li > a {
	display: inline-block;
	font-size: 13px;
	user-select: none;
	-ms-user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	width: calc(100% - 30px);
	word-break: break-word;
	overflow: hidden;
}
div.org_selection li.selected > a {
	font-weight: bold;
}
div.org_selection li > a.toggle_submenu {
	margin-right: 2px;
	vertical-align: top;
	width: 28px;
	line-height: 16px;
	font-size: 28px;
	color: #abcddc;
	visibility: hidden;
	text-decoration: none;
	font-weight: normal;
}
div.org_selection li > a.toggle_submenu:hover {
	color: rgb(15, 80, 129);
}
div.org_selection li.children > a.toggle_submenu {
	visibility: visible;
}
div.org_selection ul.toggle_disabled a.toggle_submenu {
	visibility: hidden;
}
div.org_selection li i.material-icons {
	font-size: inherit;
}
div.org_selection li i.close {
	display: none;
	line-height: inherit;
}
div.org_selection li i.open {
	display: inline;
	line-height: inherit;
}
div.org_selection li.visible i.open {
	display: none;
}
div.org_selection li.visible i.close {
	display: inline;
}

div.org_selection li.children + li.submenu {
	display: none;
}
div.org_selection li.children.visible + li.submenu {
	display: list-item;
}
div.org_selection li.unselectable {
}
div.org_selection li.unselectable > a,
div.org_selection li.unselectable > a:hover {
	text-decoration: none;
	opacity: 0.5;
	cursor: not-allowed;
}

div.dashboard {
}
div.dashboard.team div.team_table,
div.dashboard.org div.org_table,
div.dashboard.user div.user_table {
	width: 100%;
	min-width: 200px;
	max-width: 700px;
	margin-right: 16px;
}

div.dashboard.org div.plaque_container {
	min-height: 125px;
	text-align: center;
}
div.dashboard.org div.plaque_container div.plaque.kpi {
	width: 70px;
	height: 70px;
	margin-top: 16px;
	margin-bottom: 2px;
}
div.dashboard.org div.a_tqs > svg {
	width: 100px;
}
div.dashboard.org div.a_tqs {
	min-height: 125px;	
}

div.org_list div.org_row {
	border-bottom: 1px solid #b8dcdf;
	margin-bottom: 16px;
	padding-bottom: 16px;
}
div.org_list div.org_row:last-child {
	border-bottom: 0 none;
	margin-bottom: 0;
	padding-bottom: 0;
}

input.search {
	border: 1px solid  #2c2c2c;
	background-color: #ffffff;
	padding: 4px 15px;
	box-sizing: border-box;
	min-height: 30px;
	width: 220px;
}
input.search::placeholder {
	text-transform: uppercase;
}

div.dashboard div.team_list {
}
div.dashboard div.org_teams > div.team_list {
	border-top: 0 none;
	margin-top: 0;
}
div.dashboard div.team_table input.team_select {
	vertical-align: middle;
	display: inline-block;
	margin: 0 10px;
}
div.dashboard div.org_teams input.team_select {
	display: none;	
}
div.dashboard div.team_list > div.team_row {
	border-bottom: 1px solid #b8dcdf;
	margin-top: 15px;
	padding-bottom: 15px;
}
div.dashboard div.team_list > div.team_row:last-child {
	border-bottom: 0 none;
}
div.dashboard div.team_list div.team_meta {
	margin-bottom: 10px;
}
div.dashboard div.team_list div.team_meta i.material-icons {
	vertical-align: bottom;
	margin-right: 5px;
	font-size: 16px;
}
div.dashboard div.team_list div.team_meta a.team {
	font-weight: 600;
	font-size: 15px;
}

div.dashboard div.team_list div.team_progress_container {
}

div.dashboard div.team_list div.team_progress_container > div.speed {
	width: 30px;
	margin-right: 8px;
	box-sizing: border-box;
	float: left;
}
div.dashboard div.team_list div.team_progress_container > div.speed > img {
	width: 100%;
}
div.dashboard div.team_list div.team_progress_container > div.team_progress {
	width: calc(100% - 76px);
	float: left;
}
div.dashboard div.team_list div.team_progress_container > div.team_tqs_progress {
	width: calc(100% - 76px);
	float: left;
}
div.dashboard div.team_list div.team_progress_container > div.plaque.kpi {
	width: 30px;
	height: 30px;
	margin-left: 8px;
	box-sizing: border-box;
	float: right;
}
div.dashboard div.team_list div.team_progress_container > div.plaque.kpi div.text {
	font-size: 80%;
}

div.dashboard div.flex_org {
	display: flex;
	flex-direction: column;
}

div.dashboard div.aggregate {
	display: flex;
	float:right;
	justify-content: flex-end;
	align-items: center;
}

html.teamquality div.dashboard div.aggregate {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
}

div.team_progress {
	width: calc(100% - 76px);
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	user-select: none;
	-ms-user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
}
div.team_progress > div {
	margin-right: 5px;
}

div.team_progress > div:last-child {
	margin-right: 0;
}

/*div.team_progress > div.consequence {
	display: flex;
	min-width: calc(18px * 8);
	justify-content: space-evenly;
}*/
div.team_progress img.pace {
	width: 30px;
	vertical-align: middle;
	margin-right: 5px;
}
div.team_progress img.cog {
	width: 18px;
	vertical-align: top;
}
div.team_progress img.star {
	width: 28px;
	vertical-align: top;
}
div.team_progress div.tqs {
	position: relative;
	width: 20px;
}

div.team_progress svg.tqs_small {
	width: 38px;
	height: 28px;

	position: relative;
	left: -9px;
	vertical-align: middle;
}
div.team_progress.member div.tqs {
	width: 14px;
}
div.team_progress.member svg.tqs_small {
	width: 24px;
	height: calc(24px/1.35714285714286);
	left: -5px;
}

div.team_progress div.tqs div.tq_value {
	position: absolute;
	top: 5px;
	left: 1px;
	background-color: #ffffff;
	border-radius: 100%;
	padding: 1px;
}
div.dashboard div.team_list div.teamquality_progress_container {
	margin-left: 30px;
}

div.teamquality_progress {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	user-select: none;
	-ms-user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
}
div.teamquality_progress > div {
	margin-right: 5px;
	margin-bottom: 2px;
}
div.teamquality_progress > div:last-child {
	margin-right: 0;
}
div.teamquality_progress > div.consequence {
	display: flex;
	min-width: calc(18px * 8);
	justify-content: space-evenly;
}
div.teamquality_progress img.pace {
	width: 30px;
	vertical-align: middle;
	margin-right: 5px;
}
div.teamquality_progress img.cog {
	width: 18px;
	vertical-align: top;
}
div.teamquality_progress img.star {
	width: 28px;
	vertical-align: top;
}
div.teamquality_progress div.tqs {
	position: relative;
	width: 30px;
}

div.teamquality_progress svg.tqs_small {
	width: 38px;
	height: 28px;

	position: relative;
	left: -4px;
	vertical-align: middle;
}
div.teamquality_progress.member div.tqs {
	width: 14px;
}
div.teamquality_progress.member svg.tqs_small {
	width: 24px;
	height: calc(24px/1.35714285714286);
	left: -5px;
}

div.teamquality_progress div.tqs div.tq_value {
	position: absolute;
	top: 5px;
	left: 1px;
	background-color: #ffffff;
	border-radius: 100%;
	padding: 1px;
}

div.team_tqs div.tqs {
    width: 40px;
	height: 40px;
}

div.team_tqs img.done_icon {
	width: 20px;
	height: 20px;
}

div.tq_selected {
	padding-bottom: 2px;
	border-bottom: 2px solid #b8dcdf;
}

div.tq_not_selected {
	padding-bottom: 4px;
}

div.team_step div.team_process_item {
	background-color: #ffffff;
	padding: 20px;
	border-radius: 20px;
	border: 1px solid #b8dcdf;
	color: #0f5081;
	max-width: 700px;
	box-sizing: border-box;
	margin-bottom: 16px;
}

div.team_step img.cog {
    width: 30px;
	height: 30px;
    vertical-align: top;
}
div.team_step div.tqs {
    width: 40px;
	height: 40px;
}

div.team_step img.done_icon {
	width: 20px;
	height: 20px;
}

div.team_step .team_step_todo_unfocus {
	color: #b8dcdf;
}

div.step_selected {
	padding-bottom: 2px;
	border-bottom: 2px solid #b8dcdf;
}

div.step_not_selected {
	padding-bottom: 4px;
}

div.team_tempo img.pace {
	height: 90px;
}
div.team_tempo div.plaque.level {
	width: 90px;
	height: 90px;
	margin: 0 32px 0 0;
	font-size: 18px;
}
div.team_tempo div.calendar.days_left {
	width: 75px;
	height: 90px;
}

div.team_tqs_control {
	border-top: 1px solid #b8dcdf;
	margin-top: 16px;
	padding-top: 16px;	
}

div.team_tqs_result {
	border-top: 1px solid #b8dcdf;
	margin-top: 16px;
	padding-top: 16px;
	border-bottom: 1px solid #b8dcdf;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

div.team_task_result {
	display: flex;
	flex-direction: column;
	align-items: center;
}

div.task_answer {
	min-height: 20px;
	width: 90%;
	font-color: #000000;
	font-size: 12px;
	text-align: center;
	background-color: #DAE3F3;
	border-radius: 10px;
	margin: 5px;
	padding: 10px;
}

div.coach_log {
	text-align: left;
	margin-top: 10px;
	padding: 10px;
	max-width: 440px;
}

div.coach_log_comment {
	min-height: 20px;
	font-color: #000000;
	font-size: 12px;
	text-align: left;
	background-color: #FFFFFF;
	border-radius: 10px;
	padding: 10px;
}

div.dashboard.team div.team_overview {
}
div.dashboard.team div.team_overview > div {
	border-bottom: 1px solid #b8dcdf;
	padding-bottom: 16px;
	margin-bottom: 16px;
}
div.dashboard.team div.team_overview > div:last-of-type {
	border-bottom: 0 none;
	padding-bottom: 0;
}

div.dashboard.team div.team_members {
	min-width: 200px;
	max-width: 700px;
	width: 90vw;
}
div.dashboard.team div.team_survey {
	xwidth: 490px;
}
div.dashboard.team div.survey_answers > img {
	width: 30px;
	margin-left: 8px;
	vertical-align: middle;
}
div.dashboard.team div.survey_answers > img:last-of-type {
	width: 45px;
}
div.dashboard.team div.pl_text {
	margin: 8px 0;
}
div.dashboard.team div.survey_row:last-of-type {
	border-bottom: 0 none;
	padding-bottom: 0;
	margin-bottom: 0;
}

div.dashboard.team div.team_kpi {
	xwidth: 490px;
}

div.member.legend {
	display: inline-block;
	line-height: 23px;
}
div.member.legend div {
	display: inline-block;
	margin-right: 16px;
}
div.member.legend span {
	display: inline-block;
	width: 15px;
	height: 15px;
	margin: 4px 0;
	vertical-align: bottom;
	border-radius: 100%;
}
div.member.legend span.grey {
	background-color: #abcddc;
}
div.member.legend span.red {
	background-color: #aa0f10;
}
div.member.legend span.yellow {
	background-color: #eac74b;
}
div.member.legend span.green {
	background-color: #72bc6e;
}
div.member.legend span.blue {
    background-color: #065875;
}
div.member.legend span.black {
    background-color: #000000;
}

div.content_view_feature_box {
	min-width: 710px;
}

div.content_view_container {
	width: 664px;
}

div.content_view_index_box {
	position: fixed;
	left: 1260px;
	height: 700px;
	overflow-y: scroll;
}

/*
 * Team create
 */
div.dashboard.create_team {
	position: relative;
}
div.dashboard.create_team form {
	width: 100%;
	max-width: 480px;
	overflow: hidden;
}

div.dashboard.create_team div.row {
	margin-bottom: 8px;
}
div.dashboard.create_team div.row.extra_space {
	margin-bottom: 16px;
}

div.dashboard.create_team label {
	display: block;
}
div.dashboard.create_team label.required {
	text-align: right;
	font-size: 90%;
	font-style: italic;
	padding-right: 3px;
}

div.dashboard.create_team div.label {
	width: calc(100% - 2px);
	font-size: 130%;
	padding: 5px 0;
	box-sizing: border-box;
}

div.dashboard.create_team select,
div.dashboard.create_team input[type="text"],
div.dashboard.create_team input[type="email"] {
	width: calc(100% - 2px);
	font-size: 130%;
	padding: 10px 20px;
	box-sizing: border-box;
	border: 1px solid #0f5081;
	margin: 1px;
	background-color: #ffffff;
}

div.dashboard.create_team input[type="text"]:disabled {
	background-color: #f2f2f2;
}

div.dashboard.create_team input[type="text"].has_error,
div.dashboard.create_team input[type="email"].has_error {
	width: calc(100% - 2px);
	border: 2px solid #cc0000;
	margin: 0px;
}
ul.ui-autocomplete.email_selector,
ul.ui-autocomplete.coach_selector {
	/* higher than modal */
	z-index: 601;
}
ul.ui-autocomplete.email_selector > li > div,
ul.ui-autocomplete.coach_selector > li > div {
	padding: 8px 16px;
}

/*
 * Input handling
 */
.templates {
	width: 100%;
	max-width: 480px;
}

.templates div.row {
	margin-bottom: 8px;
}
.templates div.row.extra_space {
	margin-bottom: 16px;
}

.templates label {
	display: block;
}
.templates label.checkbox {
	display: inline-block;
	margin-right: 16px;
	font-size: 130%;
}
.templates label.required {
	text-align: right;
	font-size: 90%;
	font-style: italic;
	padding-right: 3px;
}

.templates div.label {
	width: calc(100% - 2px);
	font-size: 130%;
	padding: 5px 0;
	box-sizing: border-box;
}

.templates select,
.templates input[type="text"],
.templates input[type="email"]{
	width: calc(100% - 2px);
	font-size: 130%;
	padding: 10px 20px;
	box-sizing: border-box;
	border: 1px solid #0f5081;
	margin: 1px;
	background-color: #ffffff;
}
.templates input[type="text"]:disabled {
	background-color: #f2f2f2;
}

.templates input[type="text"].has_error,
.templates input[type="email"].has_error {
	width: calc(100% - 2px);
	border: 2px solid #cc0000;
	margin: 0px;
}

.templates div.mdc-switch {
	margin-top: 16px;
	margin-bottom: 16px;
}

.templates input.jq_datepicker {
	max-width: 250px;
	padding-right: 30px;
	vertical-align: middle;
}
.templates input.jq_datepicker + .ui-datepicker-trigger {
	margin-left: -30px;
	margin-top: 0px;
}

/* tree selection */
.templates ul.org_selection {
	list-style-type: none;
	margin: 0;
	padding-inline-start: 20px;
	padding-left: 20px;
	box-sizing: border-box;
	min-width: 280px;
}
.templates ul.org_selection.d0 {
	padding-left: 0px;
}
.templates ul.org_selection li {
	padding: 0;
	margin: 13px 0;
}
.templates ul.org_selection li > a {
	display: block;
	font-size: 13px;
}
.templates ul.org_selection li.selected > a {
	font-weight: bold;
}
.templates ul.org_selection li.unselectable {
	opacity: 0.75;
	cursor: not-allowed;
}

/* smaller templates */
.templates_small div.row {
	margin-bottom: 8px;
}
.templates_small div.row.extra_space {
	margin-bottom: 16px;
}
.templates_small label {
	display: block;
}
.templates_small label.checkbox {
	display: inline-block;
	margin-right: 16px;
	font-size: 130%;
}
.templates_small label.required {
	text-align: right;
	font-size: 90%;
	font-style: italic;
	padding-right: 3px;
}

.templates_small div.label {
	width: calc(100% - 2px);
	font-size: 130%;
	padding: 5px 0;
	box-sizing: border-box;
}
.templates_small select,
.templates_small input[type="text"],
.templates_small input[type="email"]{
	width: calc(100% - 2px);
	font-size: inherit;
	padding: 6px 15px;
	box-sizing: border-box;
	border: 1px solid #0f5081;
	margin: 1px;
	background-color: #ffffff;
}
.templates_small input[type="text"]:disabled {
	background-color: #f2f2f2;
}

.templates_small .datepicker_from_to {
	
}
.templates_small input.jq_datepicker {
	xwidth: calc(100% - 32px);
	padding-right: 30px;
	vertical-align: middle;
}
.templates_small input.jq_datepicker + .ui-datepicker-trigger {
	margin-left: -30px;
	margin-top: 0px;
}

/*
 * Team create
 */
form#edit_team,
form#add_member {
	width: 100%;
	max-width: 480px;
}

form#add_member {
	margin-bottom: 16px;
}

form#edit_team div.row {
	margin-bottom: 8px;
}
form#edit_team div.row.extra_space {
	margin-bottom: 16px;
}

form#edit_team label {
	display: block;
}
form#edit_team label.required {
	text-align: right;
	font-size: 90%;
	font-style: italic;
	padding-right: 3px;
}

form#edit_team div.label {
	width: calc(100% - 2px);
	font-size: 130%;
	padding: 5px 0;
	box-sizing: border-box;
}

form#edit_team select,
form#edit_team input[type="text"],
form#edit_team input[type="email"],
form#add_member input[type="text"] {
	width: calc(100% - 2px);
	font-size: 130%;
	padding: 10px 20px;
	box-sizing: border-box;
	border: 1px solid #0f5081;
	margin: 1px;
	background-color: #ffffff;
}

form#edit_team input[type="text"]:disabled {
	background-color: #f2f2f2;
}

form#edit_team input[type="text"].has_error,
form#edit_team input[type="email"].has_error {
	width: calc(100% - 2px);
	border: 2px solid #cc0000;
	margin: 0px;
}

/*
 * modal guide
 */
div.modal_guide.templates {
	max-width: 640px;
}

div.modal_tqs_container {
	margin-top: 15px;
}

div.tqs_track_select_text {
	float:left; 
	max-width: 520px;
	margin-bottom: 20px;
}

button.modal_guide_next_button {
	margin-left: 20px;
	float: right;
}

button.modal_guide_prev_button {
	margin-left: 20px;
	float: left;
}

button.modal_guide_save_button {
	margin-left: 20px;
	float: right;
}

/*
 * Org create / edit
 */
div.dashboard.create_org {
	position: relative;
}
form#edit_org,
div.edit_org_modal {
	width: 100%;
	max-width: 480px;
	xmargin: auto;
}

form#edit_org div.row,
div.edit_org_modal div.row {
	margin-bottom: 8px;
}
form#edit_org div.row.extra_space,
div.edit_org_modal div.row.extra_space {
	margin-bottom: 16px;
}

form#edit_org label,
div.edit_org_modal label {
	display: block;
}
form#edit_org label.required,
div.edit_org_modal label.required {
	text-align: right;
	font-size: 90%;
	font-style: italic;
	padding-right: 3px;
}

form#edit_org div.label,
div.edit_org_modal div.label {
	width: calc(100% - 2px);
	font-size: 130%;
	padding: 5px 0;
	box-sizing: border-box;
}

form#edit_org select,
form#edit_org input[type="text"],
form#edit_org input[type="email"],
form#edit_org textarea,
div.edit_org_modal select,
div.edit_org_modal input[type="text"],
div.edit_org_modal input[type="email"],
div.edit_org_modal textarea {
	width: calc(100% - 2px);
	font-size: 130%;
	padding: 10px 20px;
	box-sizing: border-box;
	border: 1px solid #0f5081;
	margin: 1px;
	background-color: #ffffff;
}
form#edit_org textarea,
div.edit_org_modal textarea {
	resize: none;
}
form#edit_org textarea.disabled,
form#edit_org textarea:disabled,
div.edit_org_modal textarea.disabled,
div.edit_org_modal textarea:disabled {
	color: rgb(84, 84, 84);
	background-color: #eaeaea;
}

form#edit_org input[type="text"].has_error,
form#edit_org input[type="email"].has_error,
div.edit_org_modal input[type="text"].has_error,
div.edit_org_modal input[type="email"].has_error {
	width: calc(100% - 2px);
	border: 2px solid #cc0000;
	margin: 0px;
}
ul.ui-autocomplete.email_selector,
ul.ui-autocomplete.coach_selector {
	/* higher than modal */
	z-index: 601;
}
ul.ui-autocomplete.email_selector > li > div,
ul.ui-autocomplete.coach_selector > li > div {
	padding: 8px 16px;
}


/*
 * TQS
 */
svg > polyline.base_triangle {
	fill: #abcddc;
}
svg.black > polyline.base_triangle {
    fill: url('#tqs_gradient_black');
}
svg.red > polyline.base_triangle {
	fill: url('#tqs_gradient_red');
}
svg.yellow polyline.base_triangle {
	fill: url('#tqs_gradient_yellow');
}
svg.green > polyline.base_triangle {
	fill: url('#tqs_gradient_green');
}
svg.gold > polyline.base_triangle {
	fill: url('#tqs_gradient_gold');
}
svg.unknown > polyline.base_triangle {
}
svg.unknown > circle,
svg.unknown > text {
	display: none;
}
svg.org.tqs > polyline.red {
	fill: rgb(211, 61, 61);
}
svg.org.tqs > polyline.yellow {
	fill: rgb(255, 204, 0);
}
svg.org.tqs > polyline.green {
	fill: rgb(92, 183, 90);
}
svg.org.tqs > polyline.gold {
	fill: rgb(207, 190, 106);
}
svg.org.tqs > polyline.gray {
	fill: #abcddc;
}

/*
 * frontpage
 */

div.frontpage {
	color: #ffffff;
}
div.frontpage a {
	color: #ffffff;
}

div.frontpage > div.top {
	margin-top: 48px;
	margin-bottom: 80px;
	display: flex;
	justify-content: space-between;
}
div.frontpage > div.top div.faces {
	width: 50%;
}
div.frontpage > div.top div.faces > div:first-of-type {
	padding-right: 50px;
}
div.frontpage div.faces_placement {
	position: relative;
	height: 620px;
}
div.frontpage div.faces_placement img.face {
	position: absolute;
}
div.frontpage div.faces_placement img.face:nth-of-type(1) {
	width: 150px;
	right: 350px;
	top: 40px;
}
div.frontpage div.faces_placement img.face:nth-of-type(2) {
	width: 260px;
	right: 0px;
}
div.frontpage div.faces_placement img.face:nth-of-type(3) {
	width: 210px;
	right: 235px;
	top: 195px;
}
div.frontpage div.faces_placement img.face:nth-of-type(4) {
	width: 176px;
	right: 0px;
	top: 295px;
}
div.frontpage div.faces_placement img.face:nth-of-type(5) {
	width: 200px;
	right: 180px;
	top: 420px;
}

div.box {
	border-radius: 16px;
	padding: 24px;
	padding-bottom: 16px;
	background-blend-mode: multiply;
	background-color: rgba(0,0,0,0.6);
}


div.frontpage form.login {
}
div.frontpage form.login a {
}
div.frontpage form.login div.row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 16px;
}
div.frontpage form.login div.forgot_password {
	text-align: center;
}
div.frontpage form.login div.row div.forgot_password {
	display: none;
}

div.frontpage form.login input {
	padding: 7px;
	max-width: 50%;
	margin-right: 16px;
	border: 1px solid #3b73ae;
	background-color: #ffffff;
}
html.teamquality div.frontpage form.login input {
	border: 1px solid #76b1b9;
}

div.frontpage > div.top div.login_side {
	width: 50%;
}
div.frontpage > div.top div.login_side div.login_container {
	width: 500px;
}
div.frontpage button.small_login {
	display: none;
}

div.frontpage h1 {
	font-family: itc-american-typewriter, serif;
	font-weight: 500;
	font-size: 48px;
	color: #cc9933;
	line-height: 56px;
}

div.frontpage div.login_text_container h1 {
	margin-top: 120px;
	line-height: 72px;
	font-size: 56px;
}
div.frontpage div.login_text_container div.tagline {
	color: #a6b5d7;
	font-size: 48px;
	margin-bottom: 24px;
}

div.frontpage div.read_more {
	min-height: 100vh;
	margin-bottom: 24px;
}
div.frontpage div.read_more > div:first-of-type {
	margin: 0 auto;
	width: 80%;
	max-width: 1200px;
}
div.frontpage div.read_more > div:first-of-type::after {
	display: block;
	content: '';
	clear: both;
}

div.frontpage div.read_more div.text_container {
	width: 500px;
	float: right;
}
div.frontpage div.read_more h1 {
	margin-top: 16px;
	float: right;
}
div.frontpage div.preamble {
	color: #a6b5d7;
	font-size: 24px;
	font-weight: bold;
	line-height: 38px;
	margin-bottom: 16px;
}
div.frontpage div.text {
	font-size: 18px;
}

@media screen and (max-width: 1023px) {
	/*
	 * Medium
	 */
	div.frontpage > div.top {
		display: block;
	}
	div.frontpage > div.top div.faces {
		position: relative;
		width: auto;
		max-width: 400px;
		margin: 0 auto;
		height: 285px;
	}
	div.frontpage > div.top div.faces > div:first-of-type {
		padding-right: 0;
	}
	div.frontpage div.faces_placement {
		position: relative;
		height: auto;
	}
	div.frontpage div.faces_placement img.face:nth-of-type(1) {
		width: 75px;
		left: 10px;
		top: 40px;
	}
	div.frontpage div.faces_placement img.face:nth-of-type(2) {
		width: 38vw;
		max-width: 180px;
		left: 35px;
		top: 125px;
	}
	div.frontpage div.faces_placement img.face:nth-of-type(3) {
		width: 105px;
		right: 10px;
		top: 75px;
	}
	div.frontpage div.faces_placement img.face:nth-of-type(4) {
		width: 88px;
		right: 20px;
		top: 190px;
	}
	div.frontpage div.faces_placement img.face:nth-of-type(5) {
		width: 100px;
		left: 110px;
		top: 0px;
	}

	div.frontpage > div.top div.login_side div.login_container {
		width: auto;
		max-width: 500px;
	}

	div.frontpage button.small_login {
		display: inline;
		position: absolute;
		top: 20px;
		right: 20px;
	}
	div.frontpage.show_login button.small_login {
		display: none;
	}
	div.frontpage.show_login div.login_box_container div.box {
		display: block;
		position: absolute;
		top: 10px;
	}
	div.frontpage > div.top div.login_side {
		width: auto;
		max-width: 500px;
		margin: 0 auto;
	}
	div.frontpage div.login_text_container h1 {
		margin-top: 40px;
		line-height: 72px;
		font-size: 56px;
	}

	div.frontpage div.login_text_container div.tagline {
		color: #a6b5d7;
		font-size: 48px;
		margin-bottom: 24px;
	}

	div.frontpage div.read_more div.text_container {
		float: none;
		width: auto;
		max-width: 500px;
		margin: 10px auto;
	}
	
	div.frontpage div.read_more h1 {
		float: none;
	}

	html.teamquality body {
		background-position: -80px center;
	}

}
@media screen and (max-width: 735px) {
	div.frontpage h1 {
		font-size: calc(48px / 1.7);
		line-height: calc(56px / 1.7);
	}

	div.frontpage > div.top {
		margin-top: 20px;
		margin-bottom: 40px;
	}

	div.frontpage div.login_text_container h1 {
		margin-top: 10px;
		margin-bottom: 10px;
		line-height: calc(72px / 1.7);
		font-size: calc(56px / 1.7);
	}
	div.frontpage div.login_text_container h1 > br {
		display: none;
	}
	div.frontpage div.login_text_container div.tagline {
		color: #a6b5d7;
		font-size: calc(48px / 1.7);
		margin-bottom: 24px;
	}

	div.frontpage div.read_more > div:first-of-type {
		width: auto;
		margin: 0 10px;
	}
	div.frontpage div.read_more div.text_container {
		margin-top: 10px;
		float: none;
		width: auto;
	}
	div.frontpage div.read_more h1 > br {
		display: none;
	}

	div.frontpage div.preamble {
		font-size: 18px;
		line-height: normal;
	}
	div.frontpage div.text {
		font-size: 15px;
	}
	
	div.frontpage > div.top div.login_side,
	div.frontpage > div.top div.login_side div.login_container {
		max-width: none;
	}
	div.frontpage > div.top div.login_text_container {
        width: auto;
		max-width: 500px;
		margin: 0 auto;
        padding: 0 10px;
	}

	div.frontpage.show_login div.login_box_container {
		position: absolute;
		top: 20px;
		left: 0;
		width: 100%;
		padding: 0 10px;
		box-sizing: border-box;
	}
	div.frontpage.show_login div.login_box_container div.box {
		position: static;
		overflow: hidden;
		width: auto;
		max-width: 400px;
		box-sizing: border-box;
		margin: 0 auto;
		background-color: rgba(0,0,0,0.8);
	}
	div.frontpage form.login div.row {
		display: block;		
	}
	div.frontpage form.login div.row input {
		display: block;
		box-sizing: border-box;
		max-width: none;
		width: 100%;
		margin: 0;
		margin-bottom: 16px;
	}
	div.frontpage form.login div.row button {
		display: block;
		margin: 0 auto;
	}
	div.frontpage form.login div.forgot_password {
		display: none;
	}
	div.frontpage form.login div.row div.forgot_password {
		display: block;
		margin-bottom: 16px;
	}
	div.frontpage form.login div.row {
		margin-bottom: 0;
	}
}

/*
 * Privacy policy
 */
div.privacy_policy {
	position: fixed;
	background-color: rgba(50, 50, 50, 0.85);
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	text-align: left;
	z-index: 1000;
}
div.privacy_policy > div:first-child > div:nth-child(2) {
	width: 100%;
	background-color: #ffffff;
	padding: 20px 50px;
	box-sizing: border-box;
}
div.privacy_policy > div:first-child {
	width: 100vw;
	max-width: 694px;
	height: calc(100vh - 20px);
	margin: 10px auto;
	background-color: #ffffff;
	box-sizing: border-box;
	border: 1px solid #555555;
	overflow-y: auto;
}
div.privacy_policy > div:first-child > a:first-child {
	float: right;
	font-size: 20px;
	font-weight: normal;
	color: #555555;
	background-color: #f6f6f6;
	border-radius: 10%;
	display: inline-block;
	margin: 10px 10px;
}
div.privacy_policy h1 {
	text-align: center;
	text-transform: none;
	margin: 0;
	margin-bottom: 20px;
}
div.privacy_policy h2 {
	text-transform: none;
	margin: 0;
	margin-bottom: 4px;
	font-size: 1.2em;
}
div.privacy_policy ul {
	margin: 0;
	padding: 0;
	padding-left: 17px;
	list-style: outside;
}
@media screen and (max-width: 694px) {
	div.privacy_policy > div:first-child {
		margin: 0;
		height: 100vh;
		border: none;
	}
	div.privacy_policy > div:first-child > div:nth-child(2) {
		padding: 20px 5%;
	}
}

div.delete-user-container {
	margin-top: 10%;
}

/*
 * Translations
 */
div.base_bar.tri {
	width: 100%;
	height: 100%;
	display: inline-block;
}
div.base_bar.tri > div {
	width: 0px;
	height: 100%;
	display: inline-block;
}
div.base_bar.tri > div.color_good {
	background-color: #228b22;
}
div.base_bar.tri > div.color_bad {
	background-color: #b22222;
}
div.base_bar.tri > div.color_stale {
	background-color: #22228b;
}
div.resource_translate {
}
div.resource_translate div.resource {
	margin-bottom: 30px;
}
div.resource_translate div.resource_key {
	margin: 0;
	padding: 0;
	margin-bottom: 2px;
	margin-left: 37px;
}
div.resource_translate div.translate_row textarea.translate {
	font-family: Lato;
	width: calc(100% - 35px - 46px);
	box-sizing: border-box;
	margin-left: 5px;
	height: 35px;
	min-height: 35px;
	max-height: 250px;
	resize: none;
	padding: 8px;
	margin-bottom: 5px;
	vertical-align: bottom;
	outline: none;
	border: 1px solid #aeaeae;
	font-size: 13.3px;
}
div.resource_translate div.translate_row textarea.translate:focus {
	border: 1px solid #8080f0;
}
div.resource_translate div.language_container,
div.resource_translate div.selection_container {
	display: inline-block;
	vertical-align: top;
}
div.resource_translate  div.language_container label,
div.resource_translate div.selection_container label {
	display: inline-block;
	text-align: right;
	box-sizing: border-box;
	padding-right: 5px;
	vertical-align: middle;
	margin-bottom: 5px;
}
div.resource_translate  div.language_container label {
	width: 80px;
}
div.resource_translate div.selection_container label {
	width: 80px;
}
input#search_text,
select#l1,
select#l2,
select#s1,
select#s2,
input#s3 {
	margin-bottom: 5px;
}
select#l1,
select#l2,
select#s1,
select#s2 {
	border: 1px solid #aeaeae;
	background-color: #ffffff;
}
input#search_text {
	width: 200px;
	padding: 9.5px 4px;
	vertical-align: top;
}
select#l1 {
}
select#l1,
select#l2 {
	width: 130px;
	height: 19px;
	vertical-align: middle;
}
select#s1 {
	width: 120px;
	vertical-align: middle;
}
select#s2 {
	width: 120px;
	vertical-align: middle;
}
input#s3 {
	vertical-align: middle;
}
div.resource_translate div.translate_row textarea.translate.readonly {
	background-color: #f0f0f0;
	border: 1px solid #f0f0f0;
}
div.resource_translate div.translate_row textarea.translate.readonly + button.save {
	display: none;
}
div.resource_translate div.translate_row img.flag {
	width: 22px;
	border: 1px solid #efefef;
	vertical-align: top;
	margin-top: 6px;
}

div.resource_translate div.control_buttons {
	padding-top: 7px;	
}

div.resource_translate div.resource button {
	width: 24px;
    color: #000000;
	background-color: transparent;
	pointer-events: all;
	cursor: default;
	border: none;
}

div.resource_translate div.resource button.disabled {
    color: #aeaeae;
	pointer-events: none;
    cursor: default;
}


/*
 * about_me
 */
#about_me {
	width: 300px;
}
#about_me span.title {
	display: inline-block;
	width: 120px;
}
#about_me input {
	margin-bottom: 5px;
}
#about_me input[type="text"] {
	box-sizing: border-box;
	width: calc(100% - 120px);
}
#about_me input.button {
	float: right;
}


/*
 * user/verify
 * user/reset
 */
div.user_verify {
}

div.user_verify input.new_name,
div.user_reset input.new_name,
div.user_verify input[type="password"],
div.user_reset input[type="password"] {
	width: 100%;
	font-size: 130%;
	padding: 10px 20px;
	box-sizing: border-box;
	border: 1px solid #0f5081;
	margin: 1px;
}
div.user_verify input.new_name.has_error,
div.user_reset input.new_name.has_error,
div.user_verify input[type="password"].has_error,
div.user_reset input[type="password"].has_error {
	border: 2px solid #cc0000;
	margin: 0px;
}

div.user_verify div.password_to_short,
div.user_reset div.password_to_short {
	margin-right: 10px;
	
}

/*
 * Modal
 */
div#modal_container {
	position: fixed;
	background-color: rgba(50, 50, 50, 0.5);
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	text-align: left;
	z-index: 600;
}
div#modal_container > div.modal {
	width: 100vw;
	max-width: 694px;
	min-height: 140px;
	max-height: 100vh;
	margin: 0 auto 16px auto;
	box-sizing: border-box;
	overflow-y: auto;

	background-color: #ffffff;
	background-image: linear-gradient(#ffffff, #ddf3f4);
	padding: 0 24px 24px 24px;
	border-radius: 0 0 20px 20px;
	border-top: 0 none;
	color: #0f5081;
}
div#modal_container div.modal_header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
div#modal_container div.modal_header.no_flex {
	display: block;
	text-align: right;
}
div#modal_container a.modal_close {
	margin-top: 8px;
}
div#modal_container h2 {
}
div#modal_container h2 i.material-icons {
	vertical-align: text-bottom;
}
@media screen and (max-width:767px) {
	div#modal_container {
		overflow-y: auto;
	}
	div#modal_container > div.modal {
		border-radius: 0 0 10px 10px;
		border-top: 0 none;
		padding: 0 12px 12px 12px;
	}
}


div.org_logo_image,    
img.org_logo_image {
    width: 70px;
    height: 70px;
    background-color: #eaeaea;
    box-sizing: border-box;

	border: 1px solid #eaeaea;
    margin: 5px;
}

div.org_logo div.img_crop {
    overflow: hidden;
    width: 100%;
    height: 500px;
}

div.preview {
    float: left;
    overflow: hidden;
    width: 122px;
    text-align: center;
}
div.org_logo div.org_logo_image.img_preview {
    margin: 20px;
    overflow: hidden;
    width: 100px;
    height: 100px;
}

#new_org_logo_img {
    float: right;
    border: 2px dashed #aeaeae;
    width: 50%;
    max-width: 300px;
}

form.org_logo_dropzone {
	position: relative;
	float: right;
	min-height: 100px;
	height: 100px;
	width: 500px;
	margin: 20px 0px 0px 0px;
	padding: 13px 0;
	border: 2px dashed #eaeaea;
}

/*
 * Page/Dashboard
 */
div.site_dashboard div.white_box::after {
	display: block;
	content: '';
	clear: both;
}
div.site_dashboard_box {
	width: 200px;
	border: 2px solid rgb(173, 175, 175);
	float: left;
	margin: 0 20px 15px 0;
	padding: 16px 12px 6px 12px;
	border-radius: 10px;
	line-height: normal;
}
a.db_top,
div.db_top {
	font-size: 48px;
	font-weight: bold;
	text-decoration: none;
}
div.db_bottom {
	text-align: right;
}

/*
 * Customer view
 */
div.customer_contact {
    font-size: 14px;
}
div.customer_contact a {
    font-weight: normal;
}
div.customer_contact.left,
div.customer_contact.right {
    width: 50%;
    min-height: 1px;
    float: left;
    box-sizing: border-box;
}
div.customer_contact.left {
    padding-right: 20px;
}
div.customer_contact.right {
    padding-left: 20px;
}

/*
 * customer selection
 */
div#customer_select a:link,
div#customer_select a:visited,
div#customer_select a:hover {
	display: block;
	font-weight: normal;
}
div.customer_select_column {
	width: 50%;
	float: left;
}
div.customer_select_box {
}
div.customer_list {
	padding-right: 10px;
}
div.customer_select_column.col_2 div.customer_list {
	padding-right: 0;
	padding-left: 10px;
}
div.customer_list a.customer {
	padding: 1px 5px;
}
div.customer_list a.customer:focus,
div.customer_list a.customer:hover {
	color: #000000;
}
div.customer_select_area {
	display: flex;
	align-items: center;
	margin-top: 8px;
	margin-right: 10px;
	border-bottom: 3px solid #aeaeae;
	user-select: none;
	cursor: pointer;
}
div.customer_select_column.col_2 div.customer_select_area {
	margin-right: 0;
	margin-left: 10px;
}
div.customer_directory {
	width: 1em;
	padding: 1px 5px 0 5px;
	border-radius: 5px 5px 0 0;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	color: #ffffff;
	background-color: #ada18a;
}
div.customer_directory_text {
	margin-left: 5px;
	padding: 1px 0 0 0;
}
div.customer_select_area {
	border-color: #ada18a;
}

/*
 * TQ
 */
div.tq_pres_list_box {

}

div.tq_pres_list_box div.tq_box_breaker.cnt2 {
    clear: both;
    margin-bottom: 15px;
}

div.tq_pres_list_box h3 {
    text-transform: uppercase;
    font-weight: bold;
    color: #555;
    margin-bottom: 10px;
    margin-right: 5%;
}

div.tq_pres_list_box ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

div.tq_pres_list_box li {
/*  xbackground-repeat: no-repeat;
    xbackground-position: 0 2px;
    xpadding-left: 25px;*/
    xvertical-align: middle;
    margin: 0 10px 5px 5px;
    cursor: pointer;
}

div.tq_pres_list_box li > svg {
    vertical-align: middle;
    margin-right: 7%;
}

div.tq_pres_list_box h3 > svg {
    vertical-align: middle;
    margin-right: 3.2%;
}

div.tq_pres_list_box div.long_text {
    color: #555555;
    font-size: 85%;
    font-style: italic;
    xpadding-left: 24px;
}

div.tq_pres_list_box.tq_pres_overview_show div.long_text{
    xpadding-left: 33px;
}


div.tq_pres_list_box div > ul:nth-of-type(1) {
    margin-bottom: 15px;
}


/* TQ Listbox */
div.tq_pres_list_box div.tq_list {
    float: left;
    width: 33.33%;
    max-width: 218px;
    min-width: 180px;
    margin-bottom: 20px;
}

div.tq_pres_list_box > h2 {
	margin: 0 0 15px 0;
}

div.tq_pres_list_box.tq_list_top_five div.tq_list,
div.tq_pres_list_box.tq_list_dev_areas div.tq_list {
    float: none;
    width: 100%;
    margin-bottom: 20px;
}

div.tq_pres_list_box.tq_list_top_five_show div.long_text,
div.tq_pres_list_box.tq_list_dev_areas_show div.long_text {
    xpadding-left: 50px;
}

div.tq_pres_list_box.tq_list_top_five,
div.tq_pres_list_box.tq_list_dev_areas,
div.tq_pres_list_box.tq_triangle,
div.tq_pres_list_box.tq_scatter_chart {
    width: calc(100%/2 - 15px);
    float: left;
}
div.tq_pres_list_box.tq_list_dev_areas,
div.tq_pres_list_box.tq_scatter_chart {
    float: right;
}

div.show div.tq_show_info_text {
	color: #aaaaaa;
	font-size: 18px;
	text-align: center;
	margin-bottom: 91px;
}

div.show div.tq_pres_list_box li {
    background-position: 0 8px;
}

div.show div.tq_pres_list_box.tq_pres_overview_show li {
    background-position: 0 6px;
}

div.show div.tq_pres_list_box h2 {
    text-align: center;
    font-size: 25px;
    margin-bottom: 35px;
}



div.show div.tq_pres_list_box h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

div.show div.tq_pres_list_box {
    margin-top: 35px;
}

div.show div.tq_pres_list_box div.tq_list {
    font-size: 20px;
    float: none;
    width: 100%;
    max-width: none;
    min-width: none;
    margin-bottom: 0px;
    margin-top: 50px;
}

div.show div.tq_pres_list_box.tq_pres_overview_show div.tq_list {
    font-size: 17px;
    float: left;
    width: calc(100%/3);
    margin-top: 24px;
    margin-bottom: 30px;
}

div.show div.tq_pres_list_box li {
    xpadding-left: 50px;
    margin-bottom:10px;
}
div.tq_pres_list_box.tq_list_dev_areas_show {

}

div.tq_pres_list_box.tq_triangle,
div.tq_pres_list_box.tq_scatter_chart {
    text-align: left;
    min-height: 305px;
}

div.show div.tq_scatter_list {
    font-size: 17px;
    float: left;
    width: 100%;
    max-width: 250px;
    min-width: none;
    margin-bottom: 0px;
    margin-top: 40px
}

div.show div.tq_scatter_list li{
    background-position: 0 6px;
}

div.show div.tq_pres_list_box.tq_triangle {
    float: none;
}

div.show div.tq-triangle-container {
	padding-bottom: 41px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

div.show div.tq-triangle-legend {
	width: 80%;
	margin-left: 10%;
	font-size: 16px;
}


div.slide-content-container {
	align-items: center;
	max-width: 900px;
	margin: 0 auto;
	overflow-y: auto;
	height: calc(100vh - 35px - 35px - 31px - 140px);
}

div.show div.show-top-bottom-list-container {
	max-width: 410px;
	width: 100%;
	margin: 0 auto;
}

@media screen and (max-width:725px) {
    div.tq_pres_list_box.tq_triangle,
    div.tq_pres_list_box.tq_scatter_chart,
    div.tq_pres_list_box.tq_list_top_five,
    div.tq_pres_list_box.tq_list_dev_areas {
        float: none;
        width: 100%;
        max-width: none;
    }
    div.tq_pres_list_box div.tq_list {
        width: calc(100%/2 - 15px);
    }

    div.tq_pres_list_box div.tq_box_breaker.cnt0,
    div.tq_pres_list_box div.tq_box_breaker.cnt1,
    div.tq_pres_list_box div.tq_box_breaker.cnt2 {
        clear: none;
        margin-bottom: 0;
    }
    div.tq_pres_list_box div:last-child {
        padding-bottom: 10px;
    }

	div.show div.tq_scatter_list {
		margin-top: 20px;
		font-size: 13px;
	}

	div.show div.tq_pres_list_box.tq_pres_overview_show div.tq_list {
		font-size: 12px;
		width: 100%;
		margin-top: 13px;
		margin-bottom: 15px;
	}

	div.show div.tq_pres_list_box h3 {
		font-size: 24px;
		margin: 0 50px 15px 50px;
	}

	div.show div.tq_pres_list_box ul {
		margin: 0 50px;
    }

	div.show div.tq_show_info_text {
		width: 100%;
		color: #aaaaaa;
		font-size: 18px;
		text-align: center;
		margin-bottom: 10%;
	}

	div.show div.tq-triangle-legend {
		width: 80%;
		margin-left: 10%;
		font-size: 13px;
	}

	div.show h1.show_h1 {
		font-size: 40px;
	}

	div.show div.zoom-legend {
		display: none;
	}

	div.show div.tq-triangle-container {
		padding-bottom: 0;
	}
}

@media screen and (max-width:500px) {
    div.tq_pres_list_box.tq_triangle,
    div.tq_pres_list_box.tq_scatter_chart,
    div.tq_pres_list_box.tq_list_top_five,
    div.tq_pres_list_box.tq_list_dev_areas {
        float: none;
        width: 100%;
        max-width: none;
    }
    div.tq_pres_list_box div.tq_list {
        width: calc(100%/2 - 15px);
    }

    div.tq_pres_list_box div.tq_box_breaker.cnt0,
    div.tq_pres_list_box div.tq_box_breaker.cnt1,
    div.tq_pres_list_box div.tq_box_breaker.cnt2 {
        clear: none;
        margin-bottom: 0;
    }
    div.tq_pres_list_box div:last-child {
        padding-bottom: 10px;
    }

	div.show div.tq_scatter_list {
		margin-top: 20px;
		font-size: 13px;
	}

	div.show div.tq_pres_list_box.tq_pres_overview_show div.tq_list {
		font-size: 13px;
		width: 100%;
		margin-top: 13px;
		margin-bottom: 15px;
	}

	div.show div.tq_show_info_text {
		width: 100%;
		color: #aaaaaa;
		font-size: 18px;
		text-align: center;
		margin-bottom: 6%;
	}

	div.show h1.show_h1 {
		font-size: 32px;
	}

	div.show div.tq-triangle-container {
		padding-bottom: 20px;
	}

	div.show ul#list_top_show {
		font-size: 13px;
	}

	div.show ul#list_bottom_show {
		font-size: 13px;
	}
}

/* 
 * tq_pres_slider 
 */
div.tq_pres_slider {
    width: 400px;
    height: 20px;
    position: absolute;
    left: calc(50% - 201px);
    bottom: 9%;
    border: 1px solid #aaaaaa;
    border-radius: 7px;
    opacity: 0.3;
    transition: opacity .15s;
}
div.tq_pres_slider:hover {
    opacity: 1;
    transition: opacity .15s;
}
@media screen and (max-width:725px) {
	div.tq_pres_slider {
		width: 80%;
		height: 20px;
		position: absolute;
		left: 10%;
		bottom: 9%;
		border: 1px solid #aaaaaa;
		border-radius: 7px;
		opacity: 0.3;
		transition: opacity .15s;
	}
}

/*****************/

.noUi-target,
.noUi-target * {
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-user-select: none;
    -ms-touch-action: none;
    touch-action: none;
    -ms-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.noUi-target {
    position: relative;
    direction: ltr;
}
.noUi-base {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
/* Fix 401 */
}
.noUi-connect {
    position: absolute;
    right: 0;
    top: 0;
    left: 0;
    bottom: 0;
}
.noUi-origin {
    position: absolute;
    height: 0;
    width: 0;
}
.noUi-handle {
    position: relative;
    z-index: 1;
}

.noUi-state-tap .noUi-connect,
.noUi-state-tap .noUi-origin {
/*
    -webkit-transition: top 0.3s, right 0.3s, bottom 0.3s, left 0.3s;
    transition: top 0.3s, right 0.3s, bottom 0.3s, left 0.3s;
*/

}
.noUi-state-drag * {
    cursor: inherit !important;
}
.noUi-base,
.noUi-handle {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
.noUi-horizontal .noUi-handle {
    display: none;

    width: 28px;
    height: 28px;
    background-color: #dddddd;
    border: 1px solid #000000;
    border-radius: 100%;

    left: -17px;
    top: -5px;
    outline: none;

    cursor: default;
}
div.tq_pres_slider.noUi-horizontal .noUi-handle {
    display: block;
    border-color: #aaaaaa;
    left: -14px;
}
.noUi-horizontal .noUi-handle.set {
    display: block;
}
.noUi-target {
}
.noUi-draggable {
    cursor: ew-resize;
}


.noUi-pips, .noUi-pips * {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.noUi-pips {
    position: absolute;
    color: #999;
}
.noUi-value {
  position: absolute;
  white-space: nowrap;
  text-align: center;
}
.noUi-value-sub {
  color: #ccc;
  font-size: 10px;
}
.noUi-marker {
  position: absolute;
  background: #CCC;
}
.noUi-marker-sub {
  background: #AAA;
}
.noUi-marker-large {
  background: #AAA;
}

.noUi-pips-horizontal {
  padding: 10px 0;
  height: 80px;
  top: 100%;
  left: 0;
  width: 100%;
}

.noUi-value-horizontal {
  -webkit-transform: translate3d(-50%, 50%, 0);
  transform: translate3d(-50%, 50%, 0);
}

.noUi-marker-horizontal.noUi-marker {
  margin-left: -1px;
  width: 2px;
  height: 5px;
}

.noUi-marker-horizontal.noUi-marker-sub {
  height: 10px;
}

.noUi-marker-horizontal.noUi-marker-large {
  height: 15px;
}

div.tq_pres_slider .noUi-marker-horizontal.noUi-marker {
    height: 0px;
}

div.tq_pres_slider .noUi-marker-horizontal.noUi-marker-sub {
    height: 0px;
}

div.tq_pres_slider .noUi-marker-horizontal.noUi-marker-large {
    height: 3px;
}

div.tq_published_box {
    position: absolute;
    left: calc(100% - 150px);
    top: 8px;
    line-height: 29px;
    font-size: 16px;
    color:#aaaaaa;
}

/*
 * Show mode
 */
div.show {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    min-height: 100%;
    background-color: white;
}
div.show div.slide_visible {

}
div.show div.slide_hidden {
    display: none;
}
div.show div.nav_inactive {

}
div.show div.nav_inactive {
    display: none;
}

.no_show {
    display: none;
}

div.show div.show_nav i.material-icons {
	font-size: 36px;
	margin: 8px 8px 8px 8px;
	opacity: 0.3;
}

@media screen and (max-width:725px) {
	div.show div.show_nav i.material-icons {
		font-size: 24px;
	}
}

/*
 * Drawer
 */
div.drawer {
	margin-bottom: 0;
	max-height: 800px;
}
div.drawer_org_tree {
	max-height: 440px;
	overflow-y: auto;
}
div.drawer_icon {
	display: none;
}
div.drawer_close {
	visibility: hidden;
}
div.drawer_top {
	width: 100%;
	display: table;
	margin-bottom: 8px;
}
div.drawer_top > div {
	display: table-row;
}
div.drawer_top > div > div {
	display: table-cell;
	vertical-align: top;
}
div.drawer_top > div > div:nth-child(1) {
	padding-top: 7px;
}
div.drawer_top > div > div:nth-child(2) {
	text-align: right;
}
div.drawer_top h2 {
	line-height: 22px;
}
div.drawer_top h2 > i.material-icons {
	width: 28px;
	vertical-align: top;
}
div.drawer_top h2 > div {
	display: inline-block;
	width: calc(100% - 28px);
}
div.drawer_footer {
	display: none;
}

@media screen and (max-width:1440px) {
	div.drawer_container_tmp {
		margin-left: 16px;
	}
	div.drawer_container.open,
	div.drawer_container {
		float: none;
		position: fixed;
		right: 0px;
		top: 165px;
		width: auto;
	}
	div.drawer_container.open {
		top: 48px;
		padding-right: 0;
		width: 100%;
		max-width: 360px;
	}
	div.drawer_close {
		visibility: visible;
	}
	div.drawer > .drawer_icon {
		display: inline-block;
	}
	div.drawer.open > .drawer_icon {
		display: none;
	}
	div.drawer > .drawer_top,
	div.drawer > .drawer_content {
		display: none;
	}
	div.drawer {
		border-radius: 10px;
		border-top-right-radius: 0;
		border-bottom-right-radius: 0;
		border: 1px solid rgba(0, 0, 0, 0.2);
		border-right: 0 none;
		background-image: none;
		background-color: #ffffff;
		padding: 20px 10px;
		box-shadow: -4px 8px 14px 1px rgba(0, 0, 0, 0.4);
	}
	div.drawer.open {
		overflow: hidden;
		max-height: calc(100vh - 48px);
		background-image: linear-gradient(#ffffff, #ddf3f4);
		padding: 10px 0 10px 10px;
		margin: 0;
	}
	div.drawer.open > .drawer_top {
		display: table;
		height: 36px;
	}
	div.drawer.open > .drawer_content {
		display: block;
		overflow-y: auto;
		max-height: calc(100vh - 48px - 44px - 20px - 2px);
		padding-right: 10px;
		box-sizing: border-box;
	}
}

/*
 * system content page
 */
div.content_view {
	border-radius: 10px;
	padding: 5px;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

div.content_view_anchor {
#	height: 48px;
	width: 100%;
	scroll-margin-top: 48px;
}

div.content_view_feature_box {
	float: left;
	scroll-margin-top: 48px;
}

div.content_view_index_box {	
	float: left;
	margin-left: 16px;
#	margin-top: 48px;
}

div.content_view div.action_bar img.flag {
	width: 22px;
    border: 1px solid #efefef;
    vertical-align: top;
}

div.modal_header img.flag {
	width: 22px;
    border: 1px solid #efefef;
    vertical-align: top;
}

/*
 * Sizes
 */
div.css_size {
	content: 'large';
}
@media screen and (max-width: 1158px) {
	/*
	 * Medium
	 */
	main {
		margin-left: 16vw;
	}

	div.css_size {
		content: 'medium';
	}
	nav.page {
		margin-left: 7%;
	}
	nav.globals ul.account > li.large {
		display: none;
	}
	nav.globals ul.account li.small {
		display: list-item;
	}
	nav.globals ul.account li.first-under-top {
		padding-top: 0;
	}

	div.dashboard.team.single {
		width: auto;
	}
	div.main_content {
		width: 90vw;
		max-width: 700px;
		margin-right: 0;		
	}
	div.extra_content {
		width: 90vw;
		max-width: 700px;
	}
	div.drawer_container_tmp {
		margin-left: 16px;
	}
	div.drawer_container.open,
	div.drawer_container {
		float: none;
		position: fixed;
		right: 0px;
		top: 165px;
		width: auto;
	}
	div.drawer_container.open {
		top: 48px;
		padding-right: 0;
		width: 100%;
		max-width: 360px;
	}
	div.drawer_close {
		visibility: visible;
	}
	div.drawer > .drawer_icon {
		display: inline-block;
	}
	div.drawer.open > .drawer_icon {
		display: none;
	}
	div.drawer > .drawer_top,
	div.drawer > .drawer_content {
		display: none;
	}
	div.drawer {
		border-radius: 10px;
		border-top-right-radius: 0;
		border-bottom-right-radius: 0;
		border: 1px solid rgba(0, 0, 0, 0.2);
		border-right: 0 none;
		background-image: none;
		background-color: #ffffff;
		padding: 20px 10px;
		box-shadow: -4px 8px 14px 1px rgba(0, 0, 0, 0.4);
	}
	div.drawer.open {
		overflow: hidden;
		max-height: calc(100vh - 48px);
		background-image: linear-gradient(#ffffff, #ddf3f4);
		padding: 10px 0 10px 10px;
		margin: 0;
	}
	div.drawer.open > .drawer_top {
		display: table;
		height: 36px;
	}
	div.drawer.open > .drawer_content {
		display: block;
		overflow-y: auto;
		max-height: calc(100vh - 48px - 44px - 20px - 2px);
		padding-right: 10px;
		box-sizing: border-box;
	}
}

@media screen and (max-width: 767px) {
	/*
	 * Small
	 */
	div.css_size {
		content: 'small';
	}
	div.main_content {
		width: 90vw;
	}
	div.extra_content {
	}
	div.drawer_container.open {
		max-width: 100vw;
		width: 100vw;
		height: calc(100vh - 48px);
		background-color: rgba(0,0,0,0.5);
	}
	div.drawer_container_tmp > .white_box {
		margin-right: 8px;
	}
	div.drawer_container > .drawer.open {
		position: fixed;
		right: 0;
		width: 100%;
		max-width: 360px;
	}
	div.drawer.open > .drawer_content {
		xmax-height: calc(100vh - 48px - 44px - 20px - 2px - 46px);
	}
	div.drawer.open > .drawer_footer {
		display: block;
		height: 46px;
		box-sizing: border-box;
	}

	div.cogs {
		opacity: 0.75;
	}
	div.cogs > img.cog01 {
		width: 65%;
		left: -10%;
		bottom: -27%;
	}
	div.cogs > img.cog02 {
		width: 40%;
		left: -17%;
		bottom: -35%;
	}
	div.cogs > img.cog03 {
		width: 65%;
		left: 30%;
		bottom: -65%;
	}

	div.org_selection li > a,
	body {
		font-size: 14px;
	}
	nav {
		font-size: 16px;
	}

	nav.bar {
		padding-left: 0;
		padding-right: 0;
	}
	nav.bar > div {
		justify-content: flex-end;
	}
	nav.site > a.logo {
		display: none;
	}
	nav.site > a.menu.small {
		display: block;
		color: inherit;
		line-height: 48px;
		padding: 0 16px 0 12px;
		text-align: center;
		text-decoration: none;
		margin-right: 10px;
		width: 48px;
		box-sizing: border-box;
		white-space: nowrap;
	}

	nav.site > a.menu.small:hover {
		background-color: #183a68;
	}
	html.teamquality nav.site > a.menu.small:hover {
		background-color: #345f65;
	}

	nav.page ul.menu_button li a:hover {
		background-color: #cc9933;
	}
	html.teamquality nav.page ul.menu_button li a:hover {
		background-color: #5d493c;
	}

	nav.site.open > a.menu.small {
		background-color: #183a68;
	}
	html.teamquality nav.site.open > a.menu.small {
		background-color: #345f65;
	}
	nav.site > a.menu.small > i.material-icons {
		padding-right: 5px;
		display: inline-block;
		margin-right: 8px;
	}
	nav.site.open > a.menu.small > i.material-icons.menu {
		display: none;
	}
	nav.site.open > a.menu.small > i.material-icons.close {
		display: inline-block;
	}
	nav.bar > div.small.top_level {
		display: block;
		font-size: 16px;
	}
	nav.bar > div.small.top_level a {
		color: inherit;
		text-decoration: inherit;
	}
	nav.bar > div {
		width: auto;
	}

	nav.page {
		position: absolute;
		display: block;
		top: 48px;
		background-color: #183a68;
		left: 0;
		margin-left: 0;

		border-radius: 0 0 5px 5px;
		box-shadow: 5px 5px 16px rgba(0, 0, 0, 0.4);

		overflow: hidden;
		min-width: 240px;
		max-height: 0;
		transition: max-height 0.2s;
	}
	html.teamquality nav.page {
		background-color: #345f65;
	}
	nav.page ul.logo_small {
		display: block;
	}
	nav.page ul.logo_small a.logo {
		display: block;
		padding: 8px 16px 16px 16px;
	}
	nav.page ul.logo_small a.logo img {
		height: 22px;
	}

	nav.page.open {
		height: calc(100vh - 48px);
		transition: max-height 0.2s;
	}
	nav.page ul {
		margin-right: 0;
	}
	nav.page > ul::after {
		content: '';
		display: list-item;
		border-bottom: 1px solid #606060;
		margin: 8px 15px;
	}
	html.teamquality nav.page > ul::after {
		border-bottom: 1px solid #537e82;
	}
	nav.page > ul:first-child::after,
	nav.page > ul:last-child::after {
		content: none;
		display: none;
		border-bottom: 0 none;
		margin: 0;
	}
	nav.page > ul:last-child {
		padding-bottom: 8px;
	}
	nav.page ul.sub_menu {
		position: static;
		max-height: 40000px;
		transition-duration: 0s;
	}
	nav.page ul.open > ul.sub_menu {
		transition-duration: 0s;
	}
	nav.page ul > ul.sub_menu > li:first-child {
		padding-top: 0;
	}
	nav.page ul > ul.sub_menu > li:last-child {
		padding-bottom: 0;
	}
	nav.page a.menu_button > i.material-icons.sub_menu {
		display: none;
	}

	nav.page a.menu_button {
		line-height: 34px;
		height: auto;
	}

	nav.globals ul {
		margin: 0;
	}

	nav i.material-icons {
		font-size: 24px;
	}
	nav img.nav_icon {
		width: 24px;
	}

	main {
		margin-left: 2vw;
		margin-right: 2vw;
		padding: 0 8px;
	}
	div.white_box {
		padding: 10px;
		border-radius: 10px;
	}

	html.media nav.bar {
		padding-left: 8px;
	}

	h1 {
		padding-left: 8px;
	}
	h1,
	h1 i.material-icons {
		font-size: 18px;
		line-height: 18px;
		vertical-align: bottom;
	}

	h2,
	h2 i.material-icons {
		font-size: 16px;
        xline-height: 18px;
        vertical-align: bottom;
	}

	div.dashboard div.team_list div.team_meta a.team,
	div.dashboard div.team_list div.team_meta a.team i.material-icons {
        vertical-align: bottom;
		font-size: 1em;
	}
}


@media print {
	.noprint {
		display: none;
	}
	body {
		padding-top: 0;
		background-image: none;
		background-color: transparent;
	}
	nav.bar {
		display: block;
		position: static;
		box-shadow: none;
		background-color: transparent;
		padding: 0;
	}
	nav.bar > div {
		display: none;
	}
	nav.site a.logo > img {
		padding: 10px;
		background-color: #000000;
	}
	main {
		height: auto;
		margin: 0;
		padding: 0;
	}
	main h1 {
		color: inherit;
	}
	a.button,
	button.button,
	input.button {
		visibility: hidden;
	}

	div.main_content {
		float: none;
	}
	div.extra_content {
	}
	div.drawer_container_tmp,
	div.drawer_container {
		display: none;
	}
	div.drawer_container > .drawer {
	}

	div.white_box,
	div.drawer {
		background-image: none;
	}

	div.dashboard div.flex_org {
		display: block;
	}
}

/* MDC Colors */
:root {
    --mdc-theme-primary: hsl(218, 65%, 33%);
    --mdc-theme-secondary: hsl(218, 65%, 33%);
}

/*
 * tqs colors
 */
html.teamquality nav ul.open a.menu_button,
html.teamquality nav ul.selected a.menu_button {
	background-color: #345f65;
}
html.teamquality nav a.menu_button:hover {
	background-color: #345f65;
}
html.teamquality nav ul.sub_menu {
	background-color: #345f65;
}
html.teamquality nav ul > ul.sub_menu li.selected a {
	background-color: #76b1b9;
}

html.teamquality nav ul > ul.sub_menu li a:hover {
	background-color: #5d493c;
}

html.teamquality a.button,
html.teamquality button.button,
html.teamquality input.button {
	color: #345f65;
}

html.teamquality a.button:hover,
html.teamquality button.button:hover,
html.teamquality input.button:hover {
	background-color: rgba(119, 195, 200, 0.08);
}

html.teamquality a.button:focus,
html.teamquality button.button:focus,
html.teamquality input.button:focus {
	background-color: rgba(119, 195, 200, 0.16);
}

html.teamquality a.button.high,
html.teamquality button.button.high,
html.teamquality input.button.high {
	color: #ffffff;
    border-color: #76b1b9;
	background-color: #76b1b9;
}

html.teamquality a.button.high:hover,
html.teamquality button.button.high:hover,
html.teamquality input.button.high:hover {
	border-color: #77c3c8;
	background-color: #77c3c8;
}
html.teamquality a.button.high:focus,
html.teamquality button.button.high:focus,
html.teamquality input.button.high:focus {
    border-color: #77c3c8;
	background-color: #77c3c8;
}

html.teamquality a.button.medium,
html.teamquality button.button.medium,
html.teamquality input.button.medium {
    border-color: #345f65;
}
