/* DL Amaga check */
input[type="checkbox"] {
	box-sizing: border-box;
	padding: 0;
	width: 0;
	visible: hidden;
}

.dl-tableheader input[type="checkbox"], .dl-tablebody input[type="checkbox"], .com-google-gwt-user-cellview-client-DataGrid-Style-dataGridWidget input[type="checkbox"] {
    width: inherit;
}

/* per mostrar correctament els bottons del rick text*/
button.btn {
	color: inherit;
	font: inherit;
	margin: 0
}

.toast {
	border-radius: 2px;
	top: 0;
	width: auto;
	clear: both;
	margin-top: 10px;
	position: relative;
	max-width: 100%;
	height: auto;
	min-height: 48px;
	line-height: 1.5em;
	word-break: break-all;
	background-color: #323232;
	padding: 10px 25px;
	font-size: 1.1rem;
	font-weight: 300;
	color: #fff;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between
}

.toast .btn, .toast .btn-large, .toast .btn-flat {
	margin: 0;
	margin-left: 3rem
}

.toast.rounded {
	border-radius: 24px
}

.material-tooltip {
	padding: 10px 8px;
	font-size: 1rem;
	z-index: 2000;
	background-color: transparent;
	border-radius: 2px;
	color: #fff;
	min-height: 36px;
	line-height: 120%;
	opacity: 0;
	display: none;
	position: absolute;
	text-align: center;
	max-width: calc(100% - 4px);
	overflow: hidden;
	left: 0;
	top: 0;
	will-change: top, left
}

.backdrop {
	position: absolute;
	opacity: 0;
	display: none;
	height: 7px;
	width: 14px;
	border-radius: 0 0 14px 14px;
	background-color: #323232;
	z-index: -1;
	-webkit-transform-origin: 50% 10%;
	transform-origin: 50% 10%;
	will-change: transform, opacity
}

.btn, .btn-large, .btn-flat {
	border: none;
	border-radius: 2px;
	display: inline-block;
	height: 36px;
	line-height: 36px;
	outline: 0;
	padding: 0 2rem;
	text-transform: uppercase;
	vertical-align: middle;
	-webkit-tap-highlight-color: transparent
}

.btn.disabled, .disabled.btn-large, .btn-floating.disabled, .btn-large.disabled,
	.btn:disabled, .btn-large:disabled, .btn-large:disabled, .btn-floating:disabled
	{
	background-color: #DFDFDF !important;
	box-shadow: none;
	color: #9F9F9F !important;
	cursor: default
}

.btn.disabled *, .disabled.btn-large *, .btn-floating.disabled *,
	.btn-large.disabled *, .btn:disabled *, .btn-large:disabled *,
	.btn-large:disabled *, .btn-floating:disabled * {
	pointer-events: none
}

.btn.disabled:hover, .disabled.btn-large:hover, .btn-floating.disabled:hover,
	.btn-large.disabled:hover, .btn:disabled:hover, .btn-large:disabled:hover,
	.btn-large:disabled:hover, .btn-floating:disabled:hover {
	background-color: #DFDFDF;
	color: #9F9F9F
}

.btn i, .btn-large i, .btn-floating i, .btn-large i, .btn-flat i {
	font-size: 1.3rem;
	line-height: inherit;
}

.btn, .btn-large {
	text-decoration: none;
	color: #fff;
	background-color: #26a69a;
	text-align: center;
	letter-spacing: .5px;
	transition: .2s ease-out;
	cursor: pointer
}

.btn:hover, .btn-large:hover {
	background-color: #2bbbad
}

.btn-floating {
	display: inline-block;
	color: #fff;
	position: relative;
	overflow: hidden;
	z-index: 1;
	width: 37px;
	height: 37px;
	line-height: 37px;
	padding: 0;
	background-color: #26a69a;
	border-radius: 50%;
	transition: .3s;
	cursor: pointer;
	vertical-align: middle
}

.btn-floating i {
	width: inherit;
	display: inline-block;
	text-align: center;
	color: #fff;
	font-size: 1.6rem;
	line-height: 37px
}

.btn-floating:hover {
	background-color: #26a69a
}

.btn-floating:before {
	border-radius: 0
}

.btn-floating.btn-large {
	width: 55.5px;
	height: 55.5px
}

.btn-floating.btn-large i {
	line-height: 55.5px
}

button.btn-floating {
	border: none
}


[type="checkbox"]+label {
	position: relative;
	padding-left: 35px;
	cursor: pointer;
	display: inline-block;
	height: 25px;
	line-height: 25px;
	font-size: 1rem;
	-webkit-user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
	-ms-user-select: none
}

[type="checkbox"]+label:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 12px;
	height: 12px;
	z-index: 0;
	border: 1px solid #aaaaaa;
	border-radius: 1px;
	margin-top: 5px;
	transition: .2s
}

[type="checkbox"]:not (:checked ):disabled+label:before {
	border: none;
	background-color: rgba(0, 0, 0, 0.26)
}

[type="checkbox"]:checked+label:before {
	top: -4px;
	left: -3px;
	-width: 12px;
	-height: 22px;
	width: 6px;
	height: 12px;
	border-top: 2px solid transparent;
	border-left: 2px solid transparent;
	border-right: 2px solid #26a69a;
	border-bottom: 2px solid #26a69a;
	-webkit-transform: rotate(40deg);
	transform: rotate(40deg);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform-origin: 100% 100%;
	transform-origin: 100% 100%
}

[type="checkbox"]:checked:disabled+label:before {
	border-right: 2px solid rgba(0, 0, 0, 0.26);
	border-bottom: 2px solid rgba(0, 0, 0, 0.26)
}

[type="checkbox"]:indeterminate+label:before {
	left: -10px;
	top: -11px;
	width: 10px;
	height: 22px;
	border-top: none;
	border-left: none;
	border-right: 2px solid #26a69a;
	border-bottom: none;
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform-origin: 100% 100%;
	transform-origin: 100% 100%
}

[type="checkbox"]:indeterminate:disabled+label:before {
	border-right: 2px solid rgba(0, 0, 0, 0.26);
	background-color: transparent
}

[type="checkbox"].filled-in+label:after {
	border-radius: 2px
}

[type="checkbox"].filled-in+label:before, [type="checkbox"].filled-in+label:after
	{
	content: '';
	left: 0;
	position: absolute;
	transition: border .25s, background-color .25s, width .20s .1s, height
		.20s .1s, top .20s .1s, left .20s .1s;
	z-index: 1
}

[type="checkbox"].filled-in:not (:checked )+label:before {
	width: 0;
	height: 0;
	border: 3px solid transparent;
	left: 6px;
	top: 10px;
	-webkit-transform: rotateZ(37deg);
	transform: rotateZ(37deg);
	-webkit-transform-origin: 20% 40%;
	transform-origin: 100% 100%
}

[type="checkbox"].filled-in:not (:checked )+label:after {
	height: 20px;
	width: 20px;
	background-color: transparent;
	border: 2px solid #5a5a5a;
	top: 0px;
	z-index: 0
}

[type="checkbox"].filled-in:checked+label:before {
	top: 0;
	left: 1px;
	width: 8px;
	height: 13px;
	border-top: 2px solid transparent;
	border-left: 2px solid transparent;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	-webkit-transform: rotateZ(37deg);
	transform: rotateZ(37deg);
	-webkit-transform-origin: 100% 100%;
	transform-origin: 100% 100%
}

[type="checkbox"].filled-in:checked+label:after {
	top: 0px;
	width: 20px;
	height: 20px;
	border: 2px solid #26a69a;
	background-color: #26a69a;
	z-index: 0
}

[type="checkbox"].filled-in:disabled:not (:checked )+label:before {
	background-color: transparent;
	border: 2px solid transparent
}

[type="checkbox"].filled-in:disabled:not (:checked )+label:after {
	border-color: transparent;
	background-color: #BDBDBD
}

[type="checkbox"].filled-in:disabled:checked+label:before {
	background-color: transparent
}

[type="checkbox"].filled-in:disabled:checked+label:after {
	background-color: #BDBDBD;
	border-color: #BDBDBD
}

/* richtext */
.note-editor .note-toolbar.btn-toolbar {
    padding: initial;
}

.note-editor .note-editable {
    padding: 8px !important;
    margin: 16px 0px 0px 0px !important;
	white-space: normal;
}

.note-editor {
    padding: 16px;
}

.note-editor button, .note-editor note-toolbar button, .popover button, .popover note-toolbar button {
	/* height: 24px !important; */
}

.btn, .btn-large, .btn-flat {
	height: 24px !important;
	line-height: 24px !important;
}

.note-editor .btn, .note-editor .btn-large, .popover .btn, .popover .btn-large {
    padding: 0 8px !important;
}

.note-editor .note-toolbar .note-current-fontname {
    text-align: left;
    user-select: none;
}

/* note-dialog */
.note-dialog .modal {
	box-shadow: 0 16px 28px 0 rgba(0, 0, 0, 0.22), 0 25px 55px 0 rgba(0, 0, 0, 0.21);
	position: fixed;
	left: 0;
	right: 0;
	width: 60%;
	margin: auto;
	border-radius: 2px;
	will-change: top, opacity;
}

.note-dialog .modal-content {
	padding: 24px;
}

.note-dialog .modal-footer {
	border-radius: 0 0 2px 2px;
	background-color: #fafafa;
	padding: 4px 6px;
}

.note-dialog .modal-footer .btn {
	float: right;
	margin: 6px 0;
}

.note-dialog .modal-fixed-footer .modal-footer {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	position: absolute;
	background: #E9E9E9;
	left: 0;
	right: 0;
}

.note-dialog .modal-content h4 {
    font-size: large;
    margin-bottom: 24px;
    font-weight: 400;
}

.note-dialog .input-field {
	position: relative;
	margin-top: 1rem;
}

.note-dialog .input-field label {
	color: #9e9e9e;
	position: absolute;
	top: 0.8rem;
	left: 0.75rem;
	font-size: 1rem;
	cursor: text;
	transition: .2s ease-out
}

.note-dialog .input-field label.active {
	font-size: 0.8rem;
	-webkit-transform: translateY(-140%);
	transform: translateY(-140%)
}

.note-dialog .file-field .file-path-wrapper {
	overflow: hidden;
	padding-left: 16px;
}

.note-dialog .file-field .btn, .file-field .btn-large {
	float: left;
	height: 3rem;
	line-height: 3rem
}

.note-dialog .file-field input[type=file] {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	width: 100%;
	margin: 0;
	padding: 0;
	font-size: 20px;
	cursor: pointer;
	opacity: 0;
	filter: alpha(opacity = 0);
}

.note-dialog .row {
    margin-bottom: 32px;
}

.note-dialog .input-field input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #BBB;
    padding: 16px 8px 8px 8px;
}

/* note-editable */
.note-editable .hoverable {
    transition: box-shadow .25s;
    box-shadow: 0;
}

.note-editable .hoverable:hover {
    transition: box-shadow .25s;
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.note-editable table, th, td {
    border: none;
}

.note-editable table {
    width: 100%;
    display: table;
}

.note-editable table.bordered > thead > tr, table.bordered > tbody > tr {
    border-bottom: 1px solid #d0d0d0;
}

.note-editable table.striped > tbody > tr:nth-child(odd) {
    background-color: #f2f2f2;
}

.note-editable table.striped > tbody > tr > td {
    border-radius: 0px;
}

.note-editable table.highlight > tbody > tr {
    transition: background-color .25s ease;
}

.note-editable table.highlight > tbody > tr:hover {
    background-color: #f2f2f2;
}

.note-editable table.centered thead tr th, table.centered tbody tr td {
    text-align: center;
}

.note-editable thead {
    border-bottom: 1px solid #d0d0d0;
}

.note-editable td, th {
    padding: 15px 5px;
    display: table-cell;
    text-align: left;
    vertical-align: middle;
    border-radius: 2px;
}

/* colors */
#colors .tabs .tab {
    display: block;
    width: 50%;
    float: left;
    text-align: center;
    line-height: 48px;
    height: 48px;
    padding: 0;
    margin: 0;
    text-transform: uppercase;
    text-overflow: ellipsis;
    overflow: hidden;
    letter-spacing: .8px;
}

#colors .tabs .tab a {
    color: #7F7A7A;
    display: block;
    width: 100%;
    height: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    transition: color .28s ease;
    text-decoration: none;
}

#colors ul.tabs {
    overflow: hidden !important;
    position: relative;
}

#colors .tabs .indicator {
    position: absolute;
    bottom: 0;
    height: 8px;
    background-color: #868181;
    will-change: left, right;
    padding:0px;
    margin:0px;
}
