/**
 *      === New ProdLib User Interface ===
 *
 * This is the main CSS file for the new web-based user interface.
 * This stylesheet is common to all libraries who wish to use it.
 * NB! Properties in this stylesheet can also be overridden by a local stylesheet, which allows customization
 * but also makes it susceptible to accidental contamination. Therefore, local stylesheets must not contain
 * e.g. any universal identifiers that would unintentionally override the styling defined here.
 *
 * 		J.G.
 */
@import "global.css";
html {
	height: 100%;
	font-family: "M+ 2p", sans-serif;
	color: #292c33;
}

body {
	background-color: #fbfaf8;
	margin: 0px;
	padding-top: 80px;
	height: calc(100% - 80px);

}
::-webkit-scrollbar {
    width: 8px;
}


::-webkit-scrollbar:horizontal {
	height: 8px;
}
::-webkit-scrollbar-thumb {
    background-color: rgba(130, 160, 180, 0.5);
}

a {
	text-decoration: none;
	color: var(--supplierMainColor);
	transition: color 0.2s;
}

a:hover {
	color: #292c33;
}


.UI_hidden {
	display: none;
}
.UI_indented {
	margin-left: 40px;
	position: relative;
}
.UI_disabled {
	opacity: 0.5;
}

#UI_topBar *, #UI_itemTree * {
	user-drag: none;
	user-select: none;
	-moz-user-select: none;
	-webkit-user-drag: none;
	-webkit-user-select: none;
	-ms-user-select: none;
}

#UI_topBar {
	all: initial;		/* This is needed to avoid (some of the) contamination from page content CSS */
	position: fixed;
	top: 0px; left: 0px;
	height: 80px;
	width: 100%;
	background-color: white;
	font-family: "M+ 2p", Arial, sans-serif;
	z-index: 2;
}

#UI_header {
	width: 300px;
	height: 100%;
	position: absolute;
	top: 0px; left: 0px;
	border-right: 2px solid #ddd;
}
#UI_header:hover {
	cursor: pointer;
}
#UI_header img {
	max-width: 100%;
	max-height: 100%;
}


.UI_topSubMenu {
	display: flex;
  height: 100%;
  position: absolute;
  left: 360px;
  right: 320px;
  overflow-x: auto;
  overflow-y: hidden;
	border-right: 2px solid #ddd;
}

.UI_topSubMenu::-webkit-scrollbar {
    display: none;
}

.UI_topSubMenuRight {
	display: flex;
  float: right;
  width: 280px;
  height: 100%;
  flex-wrap: wrap;
  padding-right: 30px;
  padding-left: 10px;
  border-left: 2px solid #ddd;
}


	.suunnat	{

		padding: 30px 150px;
	overflow: hidden;		}

	.UI_topmenuright, .UI_topmenuleft  {
	display: block;
	}
	.topmenuleft {
      float: left;
    }
     .topmenuright {
     float: right;
	 }



.UI_topMenuButton {
	height: 100%;
	width: 96px;
	margin: 0px;
	display: inline-block;
	text-align: center;
	position: relative;
	padding: 5px 0px;
	color: #292c33;
	font-size: 0.9em;
	transition: all 0.2s;
	white-space: normal;
	/*scroll-margin: 40px;*/
}
.UI_topMenuButton:hover {
	cursor: pointer;
}
.UI_topMenuButton img {
	max-height: 60%;
/*	display: block;*/
	margin: auto;
	mix-blend-mode: normal;
	transition: all 0.3s;
	padding-right: 5px;
	/*-webkit-filter: opacity(0.6);
	filter: opacity(0.6);*/
}
.UI_topMenuButton .UI_topMenuButtonLabel {
	position: absolute;
	bottom: 15px;
	width: 100%;
}
.UI_topMenuButton .UI_topMenuButtonAlert {
	display: none;				/* Hidden by default */
	position: absolute;
	top: 15px;
	right: 18px;
	padding: 0px 1px;
	height: 75%;
}
.UI_topMenuButton.UI_alerted .UI_topMenuButtonAlert {
	display: initial;
}
.UI_topMenuButton.UI_selected {
	color: white;
	background-color: #50b7bc;
}
.UI_topMenuButton.UI_selected img.UI_topMenuButtonThumbnail {
	mix-blend-mode: hard-light;
	/*-webkit-filter: invert(1);
	filter: invert(1);*/
}
.UI_topMenuButton.UI_selected:hover {
	background-color: #4f9994;
}
.UI_topMenuButton:not(.UI_selected):not(.UI_highlighted):not(.UI_disabled):hover {
	background-color: #eee;
}

.UI_topMenuButton.UI_alerted {
	background-color: #f4a714;
	color: white;
}

.UI_topMenuButton.UI_alerted:hover, .UI_topMenuButton.UI_alerted.UI_selected {
	background-color: #E89A0B !important;
}

.UI_topMenuButton.UI_disabled {
	opacity: 0.5;
}

.UI_topMenuButton.UI_highlighted {
	color: white;
}

.UI_topMenuButton.UI_highlighted img.UI_topMenuButtonThumbnail {
	mix-blend-mode: hard-light;
	/*-webkit-filter: invert(1);
	filter: invert(1);*/
}

.UI_topMenuButton.UI_alerted img {
	mix-blend-mode: hard-light;
}

.UI_right_item .UI_topMenuButtonThumbnail {
	float:left;
	max-height: 90%;
}
.UI_right_item .UI_topMenuButtonAlert {
	right: 90%;
	top: 10px;
}
.UI_right_item .UI_topMenuButtonLabel {
	padding-left: 25px;
	padding-top: 3px;
	text-align: left;
	position: initial;
}
.UI_topMenuButton.UI_right_item {
	line-height: unset;
  	max-height: 30px;
/*  margin-right: 5px;*/
	padding-left: 5px;
	flex-basis: 48%;
	max-width: 150px;
}

#UI_topMenuButtonTooltips > div {
	display: none;			/* Hidden by default */
	position: fixed;
	background-color: white;
	font-weight: 600;
	width: 270px;
	transition: background-color 0.2s;
	box-shadow: 0px 3px 3px 3px rgba(0,0,0,0.1);
}
#UI_topMenuButtonTooltips > div.UI_tooltip_warning {
	background-color: #E89A0B;
	color: white;
	padding: 12px;
}

#UI_topMenuButtonTooltips .tooltipTitle {
	cursor: default;
	padding: 12px;
}

#UI_topMenuButtonTooltips .tooltipTitle::after {
	background: #292c33;
	display:block;
	content: "";
	height: 1px;
	width: 50%;
	margin-top: 5px;
	position: relative;
}

#UI_topMenuButtonTooltipsSmall > div {
/*	display: none;*/			/* Hidden by default */
	position: fixed;
	background-color: white;
	font-weight: 600;
	width: 150px;
	transition: background-color 0.2s;
	box-shadow: 0px 3px 3px 3px rgba(0,0,0,0.1);
}
#UI_topMenuButtonTooltipsSmall > div.UI_tooltip_warning {
	background-color: #E89A0B;

	color: white;
	padding: 12px;
}

#UI_topMenuButtonTooltipsSmall .tooltipTitle {
	cursor: default;
	padding: 12px;
}

#UI_topMenuButtonTooltipsSmall .tooltipTitle::after {
	background: #292c33;
	display:block;
	content: "";
	height: 1px;
	width: 50%;
	margin-top: 5px;
	position: relative;
}
#UI_topmenusmall .UI_topMenuButtonLabel {
	position: absolute;
	bottom: 20px;
	width: 100%;
}
.UI_topMenuDropdown {

}
.UI_topMenuDropdownMember {
	padding: 8px 14px;
	font-weight: 400;
	cursor: pointer;
	/*border: 1px solid grey;*/
}
.UI_topMenuDropdownMember.UI_selected {
	color: white;
}
.UI_topMenuDropdownMember:not(.UI_selected ):hover {
	background-color: #eee;
}
#UI_topMenuButtonTooltipsSmall .UI_topMenuDropdownMember {
	padding-left: 16px;
	width: 100%;
	height: 40px;
}
#UI_itemTree {
	all: initial;		/* This is needed to avoid (some of the) contamination from page content CSS */
	position: fixed;
	top: 0px; left: 0px;
	width: 300px;
	width: 300px;
	overflow: auto;
	margin-top: 80px;
	padding: 0px 0px 5px 0px;
	border-top: 2px solid #ddd;
	height: calc(100% - 80px);
	background-color: #fff;
	font-family: "M+ 2p", Arial, sans-serif;
	text-transform: uppercase;
	font-size: 0.8em;
	display:flex;
	flex-direction:column;
}


/**
 * Filtering of hierarchy tree
 */
.UI_itemFilterBlock {
    width: 100%;
    overflow: hidden;
    /*background-color: #eee;*/
    border-bottom: 1px solid #eee;
}
.UI_itemFilterBlock div {
	text-align: center;
}
.UI_itemFilterCustomClosed .expansionTriangle  {
	position: static;
	-webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}
.UI_itemFilterCustomOpen .expansionTriangle  {
	position: static;
	-webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
}
.UI_itemFilterForm {
	padding: 10px 20px 0px 10px;
}
.UI_itemFilterCustomClosed .UI_itemFilterCustomForm {
	display: none;
}
.UI_itemFilterCustomOpen .UI_itemFilterCustomForm {
	display: block;
}
.UI_itemFilterOpen .UI_itemFilterSearch {
	display: none;
}
.UI_itemFilterContent {
	text-transform: none;
	color: #333;
	padding: 0px 0px 10px 5px;
}
.UI_itemFilterCustomForm > div, .UI_itemFilterCustomFormFixed > div {
	font-size: 1.0em;
	font-weight: 400;
	width: 100%;
	display: block;
}
.UI_itemFilterCustomFormFixed > div:first-child {
	margin-top: 3px;
}

.UI_itemFilterCustomForm > div:first-child {
	margin-top: 5px;
	padding-top: 6px;
	border-top: 1px solid #50b7bc;
}
.UI_itemFilterCustomForm > div:last-child {
	padding-bottom: 10px;
}

.UI_itemFilterRow {
	width: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	font-size: 1.0em;
	font-weight: 400;
}
.UI_itemFilterRow > div:first-child {
	padding: 7px 0px 1px 0px;
	text-align: left;
	float: left;
	width: 40%;
}
.UI_itemFilterRow > div:last-child {
	padding: 4px 0px 3px 0px;
	float: left;
	width: 100%;
}
.UI_itemFilterInput {
    box-sizing: border-box;
    border-style: solid;
    border-color: #888;
    border-width: 1px 1px 1px 1px;
    /*box-shadow: 0px 1px 1px 0px #888;*/
    box-shadow: 0;
    padding: 5px;
    background-color: white;
    height: 25px;
    width: 100%;
}

.prodlib_bindingFiltering_dropdown {
	width: 100%;
	/*float: right;*/
	height: 30px;
	color: rgb(136, 136, 136);
}
.categoryLink.gf_hide {
	display:none;
}
.plt22_linkGalleryItemContainer.gf_hide {
	display: none;
}
.prodlib_selectitemtable_itemrow.gf_hide {
	display: none;
}
.gallerylink.gf_hide {
	display:none;
}
.ST_gallerylink.gf_hide {
	display: none;
}
.ST_gallerylink2.gf_hide {
	display: none;
}
.gridItem.gf_hide,.prodlib_card.gf_hide {
	display: none;
}
.UI_itemFilterRow.bfdd_show {
	display: block;
}

.UI_itemFilterRow.bfdd_hide {
	display: none;
}

.UI_itemFilterInput:focus{
    outline: 1px solid #888;
}

.UI_itemFilterInput polygon {
	fill:#333;
}
.UI_itemFilterWildcardSearch {
	flex:1;
	overflow: auto;
	padding: 1px 0px 2px 0px;
}
.UI_itemFilterWildcardSearch input {
	float:left;
	width: 100%;

}
.UI_itemFilterWildcardSearch button {
	float:left;
	width: 9%;
	background-color: white;
	padding-bottom: 9px;
	display: none;
}
.UI_itemFilterWildcardSearch button div {
	height: 12px;
	font-size: 0.96em;
	color: #333;
}

.UI_itemFilterWildcardSearchActive input {
	width: 91% !important;
}
.UI_itemFilterWildcardSearchActive button {
	width: 9% !important;
	display: inline !important;
}


.onHoverSupplierColorBG:hover {
    background-color: #dddddd;
}


/**
 * End of filtering of hierarchy tree
 */
    #UI_fixedDummies {
	position: fixed;
	width: 0px;
	height: 0px;
	overflow: hidden;
}
#UI_horizontalShadowDummy {
	box-shadow: 0px 30px 30px -30px rgba(68,68,68,0.20);
	position: fixed;
	top: 0px; left: 0px;
	height: 80px;
	width: 150%;
	background-color: white;
}
#UI_verticalShadowDummy {
	box-shadow: 30px 0px 30px -30px rgba(68,68,68,0.20);
	position: fixed;
	top: 0px; left: 0px;
	width: 300px;
	height: 150%;
	background-color: white;
}

#UI_itemTree .categoryLink {
	cursor: pointer;
	padding-right: 0px; margin-right: 0px;
	width: 300px;
  color: #292c33;
}
#UI_itemTree .categoryLink.UI_closed > .categoryLink {
	display: none;
}
#UI_itemTree .categoryLink.divider {
	cursor: initial;
}
#UI_itemTree .categoryLink.divider > .categoryLabel {
	font-weight: bold;
	background-color: #eee;
}
#UI_itemTree .categoryLabel {
	display: table-cell;
	height: 40px;
	width: 300px;
	padding: 5px 0px 5px 10px;
	vertical-align: middle;
	transition: background-color 0.2s;
	position:relative;

}
#UI_itemTree .categoryLabel:hover {
	background-color: #eee;
}

#UI_itemTree .categoryLabel span {
	display: inline-block;
	margin-left: 25px;
	margin-right: 8px;
	vertical-align: -webkit-baseline-middle;
}
#UI_itemTree .categoryLink.UI_selected > .categoryLabel {
	color: white;
	font-weight: bold;
	background-color: #50b7bc;
}
#UI_itemTree .categoryLink:not( .UI_closed ) > .categoryLabel .expansionTriangle {
	-webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

#UI_itemTree .UI_leaf {
	color: #50b7bc;
}

#UI_fullPageContainer {

}
#UI_template_root {
	display: none;
}
#UI_pageContentContainer {
	display: inline-block;
	margin-left: 300px;
	padding-left: 80px;
	width: calc(100% - 300px - 80px);
	vertical-align: top;
	/*text-align: center;*/
}
#UI_pageContent,#UI_template_root {
	background-color: var(--te-background);
	padding: 24px;
	border-top: 6px solid var(--supplierMainColor);
	margin-top: 52px;
	margin-bottom: 52px;
	box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.1);
}


/* Actual break point is 1400px (the default window size) but the window has a bit of borders*/
@media screen and (min-width: 1434px) {
	#UI_pageContent,#UI_template_root {
		width: calc(100% - 254px);
	}
}
@media screen and (max-width: 1433px) {
	#UI_pageContent,#UI_template_root {
		width: 800px;
	}
}



.UI_subPageContainer {
	/* background-color: #fff;
	padding: 24px;
	border-top: 6px solid #38d;
	box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.1); */
	margin: 34px 50px 0 75px;
}

/* KIM START*/

.UI_arrowstyle {
	margin: 0 auto;
}

.UI_arrowcontainer {
	position: relative;
	width: 100%;
	text-align: center;
	padding: 7px 0 7px;
	transition: all 0.2s;
}

.UI_scrollArrow {
	border: solid #292c33;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 5px;
    transition: all 0.1s;
   }

.UI_arrowcontainer:hover .UI_scrollArrow{
 	border: solid #292c33;
 	border-width: 0 4px 4px 0;
 }

.UI_hoverWrapper:hover {
    background: #eeeeee;
}

#UI_arrowup:hover i {
    top: -5px;
}

#UI_arrowup {
	top: 0px;
}

#UI_arrowup i {
	transform: rotate(-135deg);

}

#UI_arrowdown {
	bottom: 0px;
}

#UI_arrowdown i {
	transform: rotate(45deg);
}

#UI_attachmentsPanel {
	position: fixed; /* KIM */
	display: none;
	flex-direction: column;			/* Not displayed by default */
	overflow: auto; /* KIM */
	bottom: 0px; /* KIM */
	top: 132px;
	right: 42px;
	height: fit-content;
	width: 120px;
	min-height: 120px;
	border-top: 6px solid #50b7bc;
	background-color: #fff;
	box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.1);
	padding: 0px 0px 0px 0px;
	margin-bottom: 52px;
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
}

#UI_attachmentsScrollContainer::-webkit-scrollbar {
    display: none;
}
/* KIM END*/

#UI_attachmentsScrollContainer {
	position: relative; /* KIM */
	/*display: none;*/	/* KIM */					/* Not displayed by default */
	overflow: scroll; /* KIM */
	width: 120px;
	min-height: 120px;
	/*border-top: 6px solid #50b7bc;*/
	background-color: #fff;
	/*box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.1);*/
	padding: 0px 0px 0px 0px;
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
}
#UI_attachmentsScrollContainer .UI_attachmentContainer {
	width: 100%;
	display: block;
	user-select: none;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

#UI_attachmentsScrollContainer .UI_attachmentContainer.UI_closed{
	display: none;
}

#UI_attachmentsScrollContainer .UI_attachmentOverlay {
	display: block;
	width: 120px;
	height: 100%;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s;
}

#UI_attachmentsScrollContainer .UI_attachmentOverlay .UI_attachmentImageContainer {
	display: block;
	position:relative;
	margin: auto;
	margin-top: 12px;
	margin-bottom: 0px;
	border: 3px solid #ddd;
	border-radius: 3px;
	width: 70px;
	height: 70px;
	padding: 1px;
}

#UI_attachmentsScrollContainer .UI_attachmentOverlay .UI_attachmentImageContainer img {
	 margin: 0 auto;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 68px;
	max-height: 68px;
}

#UI_attachmentsScrollContainer .UI_attachmentOverlay .UI_attachmentButtonImage img {
	border: none;
	width: 70px;
	height: 70px;
}


#UI_attachmentsScrollContainer .UI_attachmentOverlay .UI_attachmentNameLabel {
	width: 100%;
	padding: 0 2px;
	line-height: 20px;
	min-height: 20px;
	margin-bottom: 10px;
	/*overflow: hidden;
	max-height: 20px;*/
}
#UI_attachmentsScrollContainer .UI_attachmentOverlay .UI_attachmentFiletypeLabel {
	position: absolute;
	top: 3px;
	left: 50%;
	transform: translateX(-50%);
	background-color: #ddd;
	padding: 4px 8px;
	border-radius: 3px;
	line-height: 14px;
	font-size: 14px;
}
#UI_attachmentsScrollContainer .UI_attachmentOverlay .UI_attachmentFiletypeLabel:empty {
	visibility: hidden;
}
#UI_attachmentsScrollContainer .UI_attachmentOverlay .UI_attachmentFiletypeLabel.UI_LabelDisabled{
  color:white;
}
#UI_attachmentsScrollContainer .UI_attachmentOverlay div.UI_attachmentButtonText {
	width: 120px;
	text-align: center;
	vertical-align: top;
	margin-top: 5px;
	display: block;
	font-size: 1.3em;
	font-weight: bold;
	color: white;
}
#UI_attachmentsScrollContainer .UI_attachmentOverlay.UI_openButton, #UI_attachmentsScrollContainer .UI_attachmentOverlay.UI_insertButton {
	display: none;						/* Not displayed by default */
	transition: all 0.3s;
}
#UI_attachmentsScrollContainer .UI_attachmentOverlay.UI_openButton, #UI_attachmentsScrollContainer .UI_attachmentOverlay.UI_downloadButton {
	display: none;						/* Not displayed by default */
	transition: all 0.3s;
}
#UI_attachmentsScrollContainer .UI_attachmentOverlay.UI_openButton, #UI_attachmentsScrollContainer .UI_attachmentOverlay.UI_warningButton {
	display: none;						/* Not displayed by default */
	transition: all 0.3s;
}
#UI_attachmentsScrollContainer .UI_attachmentOverlay.UI_dragdropButton, #UI_attachmentsScrollContainer .UI_attachmentOverlay.UI_insertButton {
	display: none;						/* Not displayed by default */
	transition: all 0.3s;
}
#UI_attachmentsScrollContainer .UI_attachmentOverlay.UI_dragdropButton, #UI_attachmentsScrollContainer .UI_attachmentOverlay.UI_downloadButton {
	display: none;						/* Not displayed by default */
	transition: all 0.3s;
}
#UI_attachmentsScrollContainer .UI_attachmentOverlay.UI_dragdropButton, #UI_attachmentsScrollContainer .UI_attachmentOverlay.UI_warningButton {
	display: none;						/* Not displayed by default */
	transition: all 0.3s;
}
#UI_attachmentsScrollContainer .UI_attachmentOverlay.UI_attachmentHoverBox {
	display: none;
	background-color: rgba(100, 100, 100, 0.1);
	transition: all 0.3s;
}
#UI_attachmentsScrollContainer .UI_attachmentOverlay.UI_openButton {
	background-color: #83b776;
	position: absolute;
	top: 0;
}
#UI_attachmentsScrollContainer .UI_attachmentOverlay.UI_dragdropButton {
	background-color: #618f56;
	position: absolute;
	top: 0;
}
#UI_attachmentsScrollContainer .UI_attachmentOverlay.UI_dragdropButton .UI_attachmentButtonText{
}
#UI_attachmentsScrollContainer .UI_attachmentOverlay.UI_insertButton {
	background-color: #a4ce6e;
	position: absolute;
	top: 0;
}
#UI_attachmentsScrollContainer .UI_attachmentOverlay.UI_downloadButton {
	background-color: #3fa6cc;
	position: absolute;
	top: 0;
}
#UI_attachmentsScrollContainer .UI_attachmentOverlay.UI_warningButton {
	background-color:  #C0C0C0;
	position: absolute;
	top: 0;
}

#UI_attachmentsScrollContainer .UI_attachmentOverlay .UI_attachmentButtonImage {
	transition: all 0.3s;
}


#UI_attachmentsScrollContainer .UI_attachmentOverlay.UI_attachmentAction .UI_attachmentButtonImage img {
	margin-top: 5px;
	margin-bottom: 0;
	mix-blend-mode: hard-light;
}

#UI_attachmentsScrollContainer .attachmentLink {
	cursor: pointer;
}

#UI_attachmentsScrollContainer .attachmentLink.UI_closed > .attachmentLink {
	display: none;
}
#UI_attachmentsScrollContainer .attachmentLabel {
	display: table-cell;
	vertical-align: middle;
	left: 7px;
	width: 105px;

	background-color: #ddd;
	border-radius: 5px;
	transition: background-color 0.2s;
	position:relative;
	font-size: 16px;
}

#UI_attachmentsScrollContainer .attachmentLabel.UI_LabelDisabled{
  color:white;
}

#UI_attachmentsScrollContainer .attachmentLabel:hover {
	background-color: #eee;
}

#UI_attachmentsScrollContainer .attachmentLabel span {
	display: inline-block;
  vertical-align: -webkit-baseline-middle;
	width: 30px;
	margin-left: 5px;
	margin-right: 25px;
	padding-bottom: 3px;
	padding-top: 3px;
}
#UI_attachmentsScrollContainer .attachmentLink.UI_selected > .attachmentLabel {
	font-weight: bold;
	background-color: #888;
}

#UI_attachmentsScrollContainer .attachmentLink.UI_closed > .attachmentLabel .expansionTriangle {
	-webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

#UI_downloadsPanel {
	position: fixed;
	display: none;						/* Not displayed by default */
	top: 110px;
	right: 30px;
	width: 120px;
	min-height: 80px;
	background-color: #fff;
	border-top: 6px solid #50b7bc;
	box-shadow: 0px 0px 60px 5px rgba(0,0,0,0.15);
	padding: 15px 0px 20px 0px;
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
}
#UI_downloadsPanel .UI_downloadContainer {
	width: 100%;
	text-align: center;
	overflow-x: hidden;
}
#UI_downloadsPanel .UI_downloadContainer img {
	display: block;
	margin: auto;
	margin-top: 10px;
	margin-bottom: 10px;
	max-width: 80px;
	max-height: 120px;
}
#UI_downloadsPanel .UI_downloadContainer div {
	font-size: 0.7em;
}

.expansionTriangle  {
	height: 12px;
	display: inline-block;
	vertical-align: middle;
	top: 0;
	bottom: 0;
	margin: auto 3px;
	position: absolute;
}

#UI_modalBackground {
	display: none;
	position: fixed;
	z-index: 200;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	margin: 0px;
	padding: 0px;
	background-color: rgba(0, 0, 0, 0.5);
}

#UI_modalPageBackground {
	display: none;
	position: fixed;
	z-index: 199;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	margin: 0px;
	padding: 0px;
	background-color: rgba(0, 0, 0, 0.5);
}

#UI_modalWindow {
	position: absolute;
	box-sizing: border-box;
	width: 450px;
	padding: 35px 25px 10px 25px;
	left: calc(50% - 225px);
	top: calc(50% - 200px);
	background-color: white;
	border-top: 6px solid #50b7bc;
	box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.1);
}

#UI_modalPage {
	position: absolute;
	box-sizing: border-box;
	width: 650px;
	padding: 20px 40px 15px 40px;
	left: calc(50% - 325px);
	top: calc(50% - 300px);
	background-color: white;
	border-top: 6px solid #50b7bc;
	box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.1);
}

/* === Custom pages === */

#UI_updateLibraryPanel .versionNote::after {
	background: #50b7bc;
	display:block;
	content: "";
	height: 1px;
	width: 50%;
	margin: 42px auto 20px;
	position: relative;
}

#UI_updateLibraryPanel .versionNote_content {

}

#UI_updateLibraryPanel .versionNote_content ul li {
	margin-bottom: 3px;
}

.prodlib_button:disabled {
	background-color: lightgray !important;
}

.prodlib_button {
	border: 2px solid white;
	color: white;
	font-size: 1em;
	font-weight: 600;
	letter-spacing: 1px;
	background-color: #50b7bc;
	margin: 24px auto;
	padding: 21px 33px;
	display: block;
	text-transform: uppercase;
	transition: all 0.3s;
}

.prodlib_button_small {
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 12px 33px;
	font-weight: 500;
}

.prodlib_button_dark {
	background-color: #292c33;

}

.prodlib_button_dark:hover {
	background-color: black;

}

/*.prodlib_button.UI_disabled {
	opacity: 0.4;
}*/
.prodlib_button:not(.UI_disabled):hover {
	background-color: #292c33;
	color: white;
}

.prodlib_button_dark:not(.UI_disabled):hover {
	background-color: black;

}


#UI_contactInformationPanel ul.contactInformation {
		list-style-type: none;
		margin: 30px 0;
		float: left;
		width: 33%;
		-webkit-padding-start: 0px;

}

#UI_contactInformationPanel ul.contactInformation li {
		margin-bottom: 12px;
		display: table;

}

#UI_contactInformationPanel ul.contactInformation li img {
		height: 40px;
		margin-right: 42px;
}

#UI_contactInformationPanel ul.contactInformation li span {
		vertical-align: middle;
		display: table-cell;


}

#UI_contactInformationPanel ul.socialMediaLinks {
		list-style-type: none;
		overflow: hidden;
		-webkit-padding-start: 0px;
		text-align: center;
		margin-top: 0;
}

#UI_contactInformationPanel ul.socialMediaLinks li {
		display: inline;
}


#UI_contactInformationPanel ul.socialMediaLinks li a {
		padding: 10px;
		display: inline-block;
		transition: all 0.2s;
}

#UI_contactInformationPanel ul.socialMediaLinks li a img {
		height: 40px;
		float:left;
		mix-blend-mode: normal;
		transition: all 0.2s;
}

#UI_contactInformationPanel ul.contactPersons, #UI_contactProdLibPanel ul {
		list-style-type: none;
		overflow: hidden;
		-webkit-padding-start: 0px;
		margin-top: 30px;
}

#UI_contactInformationPanel ul.contactPersons li, #UI_contactProdLibPanel ul li {
		float: left;
		width: 33%;

}

#UI_contactProdLibPanel ul li div {
		display: table;
}

#UI_contactProdLibPanel ul li div span {
		display: table-cell;
		vertical-align: middle;
}


#UI_contactProdLibPanel ul li img {
		margin-right: 42px;
		height: 40px;
}

#UI_contactInformationPanel ul.contactPersons li span.contactPersonName {
		font-weight: 600;
}



#UI_contactInformationPanel ul.socialMediaLinks li a:hover img {
		mix-blend-mode: hard-light;
}

#UI_contactInformationPanel ul.socialMediaLinks li a.linkFacebook:hover {
		background-color: #3b5998;
}

#UI_contactInformationPanel ul.socialMediaLinks li a.linkYoutube:hover {
		background-color: #CD201F;
}

#UI_contactInformationPanel ul.socialMediaLinks li a.linkLinkedin:hover {
		background-color: #0077b5;
}

#UI_contactInformationPanel ul.socialMediaLinks li a.linkTwitter:hover {
		background-color: #00aced;
}

#UI_panelContainer {
	width: 100%;
	overflow: auto;
	padding-left: 10px;
}

#UI_panelContainer.equalHeight  {
	display: flex;
}

#UI_panelContainer .UI_panel {
	float: left;
	padding: 24px;
	margin-right: 30px;
	margin-bottom: 52px;
	background-color: white;
	box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.1);
	border-top: 6px solid #50b7bc;
}

#UI_panelContainer .panel_full {
	width: calc(100% - 78px);
}

#UI_panelContainer .panel_full_withAttachments {
	width: calc(100% - 198px);
}

@media screen and (max-width: 900px) {

	#UI_panelContainer .UI_panel {
		float: none;
	}
	#UI_panelContainer .panel_half {

		width: calc(100% - 78px);
	}

	#UI_contactInformationPanel ul.contactInformation {
		width: calc(100% - 20px);
		-webkit-padding-start: 20px;
		margin: 0;
	}

	 #UI_contactProdLibPanel ul li {
			width: 100%;
			margin-bottom: 12px;
	 }
}

@media screen and (min-width: 901px) {

	#UI_panelContainer  .panel_half {
		width: calc(50% - 78px); /* the removed space is equal to UI_panel's margin + 2* padding */
	}

	.panel_onethird {
		width: calc(33.333333%);
	}

	.panel_twothirds {
		width: calc(66.666666%);
	}
}

#UI_panelContainer h1 {
		font-size: 1.35em;
		margin: 0 0 24px 0;
		font-weight: 800;
		text-transform: uppercase;
}

#UI_panelContainer h2 {
		font-size: 1.15em;
		margin: 0 0 13px 0;
		font-weight: 500;
}

#UI_panelContainer h3 {
		font-size: 1em;
		margin: 5px 0 5px 0;
		font-weight: 600;
}

button {
	font-family: "m+ 2p", Arial, sans-serif;
}

.UI_bigSetting {
	position: relative;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;

}

.UI_bigSetting .setting-icon {
	height: 60px;
	float: left;
	margin-right: 24px;
}

.UI_bigSetting .setting-description {
	float: left;
	margin: 5px 0;

}

.UI_bigSetting .setting-description span {
	display: block;

}

.UI_bigSetting .setting-description span.setting-title {
	font-weight: 600;
	font-size: 18px;
}

.UI_normalSetting {
	margin-top: 5px;
	margin-bottom: 7px;
}

.UI_normalSetting input {
	float: right;
}
#UI_softwareSettingsPanel{
	display:none;
}
#UI_softwareSettingsPanel input:invalid {
	background-color: #d87c87;
}





#UI_tutorialBackground {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 1000000;
	/*background-color: red;*/
	/*background-color: rgba(20,50,20, 0.3);*/
}

#UI_tutorialBackground > * {
	position: fixed;
}

#UI_tutorialBackground > .UI_tutorialPage {

}


.UI_tutorialWindow {
	width: 850px;
	height: 480px;
	background-color: white;
	box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.1);
	overflow: auto;
}

/*remove this h1 style when global font setup is complete*/
.UI_tutorialWindow h1 {
	font-weight: 800;
	text-transform: uppercase;
	font-size: 1.3em;
}


.UI_tutorialWindow .UI_tutorial_left {
	float: left;
	width: 300px;
	height: 100%;
	/*background-image: url("tutorial_leftBG.png");*/
}

.UI_tutorialWindow .UI_tutorial_leftTitle {
	float: right;
	margin-right: 12px;
	margin-top: 42px;
	color: white;
}

.UI_tutorialWindow .UI_tutorial_right {
	float: left;
	width: 550px;
	height: 100%;
	position: relative;
	overflow: hidden;
}

.UI_tutorialWindow .UI_tutorial_content {
	width: 420px;
	height: 396px;
	margin: 42px 0 42px 12px;
	position: relative;
}

.UI_tutorialWindow p {
	margin-left: 24px;
}

.UI_tutorialWindow .UI_tutorial_progress {
	left: 62px;
	position: absolute;
	bottom: 42px;
	text-align: center;
}

.UI_tutorialWindow .UI_tutorial_progressBar {
	height: 7px;
	width: 300px;
	background: linear-gradient(to right, #50b7bc 0%,#416377 100%);
	margin: 12px auto;
	position: relative;
}


.UI_tutorialWindow .UI_tutorial_progressBarProgress {
	position: absolute;
	right: 0;
	background: #eee;
	height: 7px;
}

.UI_tutorialWindow .UI_tutorialButton_exit {
	position: absolute;
	top: 10px;
	right: 10px;
	color: #50b7bc;
	font-weight: 800;
	font-size: 24px;
	line-height: 24px;
	transform: color 0.2s;
	cursor: default;
}

.UI_tutorialWindow .UI_tutorialButton_exit:hover {
	color: #292c33;
	cursor: pointer;
}

.UI_tutorialWindow .UI_tutorialButton_next {
	position: absolute;
	bottom: 10px;
	right: 10px;
}

.UI_filteredOut {
	display: none;
}

#UI_itemTreeBlock {
	overflow-x: hidden;
	overflow-y: scroll;
	flex: 1;
}


.UI_menu-wrapper {
	/*position: relative;
	height: 100%;
	overflow-x: hidden;
	overflow-y: hidden;*/
}

.UI_menu	{
	box-sizing: border-box;
	height: 110%;
	white-space: nowrap;
	overflow-x: scroll;
	overflow-y: hidden;
	padding-bottom: 5px;
	-webkit-overflow-scrolling: touch;

}
.UI_menu_item {
/*	display: inline-block;
	width: 100px;
	padding: 1em;
	box-sizing: border-box; */
}

.UI_paddles {
	position: absolute;
	left: 360px;
	right: 322px;
}
.UI_paddle {
	position: absolute;
	top: 30%;
}
.UI_paddle > div {
    border: 3px solid #292c33;
    height: 20px;
    width: 20px;
}
.UI_paddle > div:hover {
		border: 4px solid #50b7bc;
}
.UI_left-paddle {
	left: 0;
	transform: rotate(-45deg);
	height: 12px;
	width: 12px;
	overflow: hidden;
	transition: all 0.25s linear;
	margin-left: 15px;
	margin-top: 10px;
}
.UI_right-paddle {
	right: 0;
	transform: rotate(135deg);
	height: 12px;
	width: 12px;
	overflow: hidden;
	transition: all 0.25s linear;
	margin-top: 10px;
	margin-right: 5px;
}
.UI_left-paddleExterior {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 80px;
	background: linear-gradient(-90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 90%);
}
.UI_right-paddleExterior {
	position: absolute;
	top: 0;
	right: 0;
	width: 40px;
	height: 80px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 90%);
}

.UI_topSubMenuSmall {
	display: flex;
  height: 100%;
  position: absolute;
  left: 360px;
  right: 0;
  overflow-x: hidden;
  overflow-y: hidden;
	border-right: 2px solid #ddd;
}
.UI_down-paddle {
	transform: rotate(-135deg);
	height: 12px;
	width: 12px;
	overflow: hidden;
	transition: all 0.25s linear;
	margin-left: 45%;
	margin-top: 41%;
}
.UI_down-paddle.UI_flip {
	transform: rotate(45deg);
	margin-top: 47%;
}
.UI_down-paddleExterior {
	position: absolute;
	width: 96px;
	height: 100%;
	z-index: 100;
}
.UI_topMenuDropdownSmall {

}
.UI_right_item {
  order: 1;
  flex: 1 1 50%;
	max-height: 30px;
}
.UI_right_item:nth-child(2n) {
  order: 1;
}

.UI_SelectionFilterBlock {
	position: fixed;
    top: 80px;
    left: 300px;
    width: 310px;
    min-height: 300px;
    background-color: white;
    padding: 10px;
    border-top: 2px solid #ddd;
    border-left: 2px solid #ddd;
    box-shadow: 0px 0px 15px 5px rgb(0 0 0 / 10%);
}

.filtersBlockOpenButton svg {
	fill: var(--supplierMainColor);
}

.filtersBlockOpenButton {
	display: none;
	width: 28px;
    margin-left: 4px;
	user-select: none;
}

.filtersBlockOpenButton:hover  {
	cursor:pointer;
}

.UI_itemFilterOptionsContainer {
	display:flex;
	width:278px;
}

.UI_FiltersActivatedAlert {
	display: none;
	background-color: black;
    color: white;
    border-radius: 8px;
    width: 16px;
    height: 16px;
    font-size: 11px;
    position: absolute;
    right: 5px;
    top: 6px;
}

.UI_filterscontainerheader {
	display: flex;
}
.UI_fc_header {
	flex:1;
	font-weight: bold;
}
.UI_fc_header span {
	line-height: 27px;
}
.UI_fc_clearbutton{
	flex:1;
	background-color: var(--supplierMainColor);
	text-align: center;
	padding: 3px;
	color: white;
	font-weight: bold;
	user-select: none;
}

.UI_fc_clearbutton:hover {
	cursor: pointer;
	background-color: var(--supplierMainColor_dark);
}






.BU_contentFilterProperty {
	overflow: auto;	
	padding: 2px 2px 2px 1px;
}
.BU_contentFilterProperty > div:first-child {
	float:left;
	width: 160px;
	text-align: left;
	margin-top: 4px;
	margin-right: 10px;
	overflow: auto;
}
.BU_contentFilterProperty span {
	float:left;
}
.BU_contentFilterProperty > div:last-child {
	float:left;
	overflow: auto;
	padding: 1px 2px 2px 1px;
}
.BU_contentFilterProperty > div:last-child input {
	float:left;
	width: 50px;
	margin-right: 5px;
}
.BU_contentFilterProperty > div:last-child select {
	float:left;
	min-width: 100px;
}
#BU_contentFilterTypeOptions {
	overflow: auto;	
	padding: 5px 5px 0px 5px;
}
#BU_contentFilterTypeOptions span {
	float: left;
}
#BU_contentFilterTypeOptions div {
	float: left;
	overflow: auto;	
}
#BU_contentFilterTypeOptions > div > div {
	padding: 5px 5px 0px 5px;
}
.BU_contentFilterCheckbox {
	float: left;
}


.propNameOverflow {
	overflow-x: hidden;
	-webkit-mask-image: linear-gradient(90deg, black 90%, transparent); 
}

.propNameOverflow:hover {
	overflow-x: visible;
	-webkit-mask-image: none;
	z-index: 0;

}