*,
:after,
:before {
	-webkit-box-sizing: inherit;
	box-sizing: inherit;
}

* {
	word-wrap: anywhere;
}

body,
html {
	height: 100%;
	margin: 0;
	padding: 0;
	background-color: #fff;
	color: #333;
	scrollbar-width: thin;
	font-family: Arial, sans-serif;
	font-size: 12px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

i.mdlCatalogImpExp.material-icons {
	color: inherit;
}

hr {
	color: #dadce0;
	margin: initial;
	border-style: solid;
	border-width: 1px 0 0 0;
}

h1,
h2,
h3,
h4 {
	margin: .3rem .2rem;
}

h1 {
	font-size: 1.3rem;
}

h2 {
	font-size: 1.2rem;
}

h3 {
	font-size: 1.1rem;
}

h4 {
	font-size: .9rem;
}

table {
	border-collapse: collapse;
	empty-cells: show;
}

a {
	text-decoration: none;
	color: #0583f2;
}

a:hover {
	text-decoration: none;
}

p,
pre,
ul {
	margin: 0;
}

.mdlFormDetailedFillSection pre {
	white-space: wrap;
}

.button,
button,
input,
select,
textarea {
	background-color: #fff;
	padding: .25rem .5rem;
	border: 1px solid #dadce0;
	width: 100%;
	border-radius: .5rem;
	color: #333;
	font-size: 1rem;
	line-height: 1.5rem;
}

input[type=file] {
	padding: 1px .5rem 1px .5rem;
}

textarea {
	margin: 0;
	overflow: hidden;
}

.button,
button,
input[type=button],
input[type=submit] {
	width: auto;
	cursor: pointer;
	border-radius: 4px;
	-webkit-appearance: none;
}

input[type=checkbox],
input[type=radio] {
	width: auto;
}

.button:hover,
button:active,
input[type=button]:active,
input[type=submit]:active {
	filter: brightness(.9);
}

select {
	width: 100%;
}

input[readonly] {
	opacity: .5;
}

textarea {
	resize: vertical;
}

label.file {
	border: 1px solid #36505b;
	border-radius: 8px;
	color: #fff;
	display: block;
	padding: .1rem .3rem;
	margin: 0 auto;
}

label.file span {
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
	text-indent: 1.5rem;
	position: relative;
}

label.file span:before {
	content: '';
	background-image: url(../img/file.png);
	background-size: 1rem auto;
	display: block;
	position: absolute;
	width: 1rem;
	height: 1rem;
	top: .1rem;
}

label.file span.empty {
	color: #0583f2;
}

pre.debugPre {
	border: solid 1px #ccc;
}

.form-container {
	max-width: 770px;
	margin: auto;
}
/*!**************************************   header nav   **********************************************/
tr.trHeader td>div>a>img {
	margin: .3rem 0 auto 0;
	max-height: 2.4rem;
	max-width: 11rem;
	vertical-align: bottom;
}

.popup_content {
	margin-top: 3.5rem;
}

.settings-btn-group {
	float: right;
	display: block;
	position: relative;
	top: .5rem;
	right: .2rem;
}

.settings-btn-group>button {
	padding: 0;
	background: transparent;
}

.settings-btn-group>button>i:hover {
	color: #0583f2;
}

.dl-menuwrapper li a {
	color: #555;
}

.dl-menuwrapper li a:hover {
	color: #0583f2;
}

#context-menu,
#settings-account-menu {
	position: fixed;
	right: 0;
	top: 2.9rem;
	z-index: 999;
}

tr td.tdMenu {
	width: 10rem;
}

tr td.tdMenu ul {
	list-style: none;
	padding: 0;
}

tr td.tdMenu ul li {
	box-sizing: border-box;
}

tr td.tdMenu ul li.selected {
	color: #2f69cb;
	border-radius: 8px;
	background: rgba(80, 134, 236, .1);
}

tr td.tdBody {
	padding: .5rem;
}

ul.modList {
	list-style-type: disclosure-closed;
}

.sm-caret {
	cursor: pointer;
	position: absolute;
	top: .1rem;
	left: -.2rem;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.sm-caret-down::after {
	-ms-transform: rotate(90deg);
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
}

.sm-nested {
	display: none;
	font-size: .9rem;
	margin-left: 5px;
}

.sm-active {
	display: block;
}

.sm-highlight {
	text-decoration: underline;
}

ul.smartMenu li {
	position: relative;
	text-indent: .3rem;
}

#msg_div {
	position: fixed;
	pointer-events: none;
	width: 100%;
	max-width: 100%;
	left: 0;
	z-index: 99999;
	display: none;
	color: #fff;
	font-weight: 700;
	text-align: center;
	font-size: 1.5rem;
}

#msg_div a {
	color: #eee;
	text-decoration: none;
	font-size: 1rem;
	position: relative;
	top: -.6rem;
}

#msg_div table {
	pointer-events: auto;
	border-radius: .5rem;
	background-color: #9abf18;
	max-width: 80%;
	margin: auto;
}

#msg_div.errorMsg table {
	background-color: #ff00c8;
}

.not-allowed {
	cursor: not-allowed;
}

.not-allowed a {
	pointer-events: none;
}

.highlight a {
	text-decoration: underline;
}

.thumbnail-img {
	max-width: 50px;
}

/**************************************** BREADCRUMB **************************** */
.breadcrumb {
	margin: 0;
	position: relative;
	top: -.5rem;
}

.breadcrumb>div {
	position: fixed;
	width: calc(100% - 10.5rem);
	font-size: 1.2em;
	font-weight: bold;
	background-color: #f7fafb;
	z-index: 99;
	white-space: break-spaces;
}

.breadcrumb>div>span,
.breadcrumb>div>a>span,
.breadLeftTd span {
	display: inline-block;
	margin: 0 .15rem 0 .15rem;
	font-weight: bold;
	padding: .25rem 0;
}

td.breadMiddleTd,
td.breadRightTd {
	font-size: 1rem;
	font-weight: normal;
	vertical-align: middle;
}

td.breadRightTd a {
	padding: .15rem;
}

.breadcrumb .add-new {
	position: relative;
	left: .2rem;
	vertical-align: middle;
}

/****************************************   Contextual and right menu  **********************************************/
.svg-icon {
	vertical-align: middle;
}

a .svg-icon {
	color: #0583f2;
}

#context-menu a .svg-icon,
#settings-account-menu a .svg-icon {
	color: inherit;
	margin-right: .3rem;
	vertical-align: top;
	font-size: 1.5rem;
}

/**************************************** Time filters menu **************************** */
ul.sortableList li {
	position: relative;
}

ul.sortableList li input[type=text] {
	width: calc(100% - 2rem);
}

li.gu-mirror {
	list-style-type: none;
}

li.gu-mirror input[type=text] {
	width: calc(100% - 2rem);
	border-width: 0 0 1px 0;
	border-radius: 0;
}

/*!**************************************   SMART ITEMS  **********************************************/
.smart-item {
	display: inline-block;
	width: 16rem;
	margin: 10px;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: -8px -8px 8px rgb(255, 255, 255, .9), 8px 8px 8px rgb(0, 0, 0, .15);
}

.smart-item>tbody>tr:first-child td {
	text-align: center;
	height: 7rem;
	overflow: hidden;
	width: 16rem;
}

.smart-item>tbody>tr:first-child td a {
	color: #fff;
	font-weight: 700;
	display: inline-block;
	padding: 0 1.5rem 0 1.5rem;
	font-size: 1.5rem;
	text-decoration: underline;
	white-space: nowrap;
	max-width: 13rem;
	overflow: hidden;
	text-overflow: ellipsis;
}

.smart-item>tbody>tr:first-child td div {
	max-width: 16rem;
	max-height: 7rem;
}

.smart-item>tbody>tr:first-child td div img {
	width: 17rem;
	position: relative;
	top: -1rem;
}

.smart-item>tbody>tr:nth-child(2) {
	background-color: #fff;
}

.smart-item>tbody>tr:nth-child(2) td {
	padding: .3rem .4rem .4rem .3rem;
}

div.overflow {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.smart-item-icon {
	max-width: 1rem;
	max-height: 1rem;
}

.smart-item .form-buttons {
	margin-left: -1rem;
}

/*!**************************************   DATETIMEPICKER  **********************************************/
.dpicker+i,
.tpicker+i,
.dtpicker+i {
	position: absolute;
	padding: .4rem 0 0 0;
	text-indent: -2rem;
	color: #0583f2;
}

/*!**************************************  Profile Picture  **********************************************/
.profilePicture {
	border-radius: 50%;
	width: 100px;
	height: 100px;
	/*vertical-align: middle;*/
}

.groupProfilePicture {
	border-radius: 50%;
	width: 50px;
	height: 50px;
	vertical-align: middle;
}

.settingsProfilePicture {
	vertical-align: middle;
	width: 1.8em;
	height: 1.8em;
	border-radius: 50%;
}

#imgDiv {
	text-align: center;
}

#deleteLink {
	white-space: nowrap;
}

/*!**************************************  Summmernote  **********************************************/
.note-editor .note-toolbar .note-btn-group button.note-btn.note-current-color-button {
	margin-right: 0;
}

/*!**************************************  Module specific code  **********************************************/
.iframe-form-rich-text {
	max-width: 100%;
	border: 1px solid #dadce0;
	height: 10rem !important;
}

tr td.tdBody>div:not(.breadcrumb):not(.steps),
tr td.tdBody form,
tr td.tdBody center {
	text-align: center;
}

tr td.tdBody>div:not(.breadcrumb):not(.steps),
tr td.tdBody center {
	margin: auto;
}

tr td.tdBody>div table,
tr td.tdBody form {
	text-align: initial;
}

/****************************************   HOME PAGE BOXES   **********************************************/
.mdlBox span.material-icons.iconPlaceholder {
	font-size: 8em;
	/* 80% of the parent container's font size */
	color: #aaa;
}
.material-icons.hasYes {
	color: #188532;
	font-weight: bold;
}

.material-icons.hasNot {
	color: red;
	font-weight: bold;
}

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

	body,
	html {
		font-size: 16px;
	}

	td.tdMenu {
		display: none;
		width: 0 !important;
		min-width: auto !important;
	}

	td.tdMenu>div {
		display: none;
	}

	tr td.tdMenu ul li a {
		width: 150px;
	}

	.breadcrumb>div {
		left: 0;
	}

	.smart-item {
		display: table;
		width: calc(80vw);
		margin: 1rem auto;
	}

	table.table-editor tr td.profilePictureCell {
		display: table-cell !important;
	}

	.note-editor .note-toolbar .note-btn-group button.note-btn {
		margin-right: 2px;
	}

	tr td.tdBody>div:not(.breadcrumb):not(.steps),
	tr td.tdBody center {
		max-width: 100vw;
	}
}