*{
    font-family:inherit;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

body {
    font-family: Roboto, verdana;
}

a{
    cursor:pointer;
    text-decoration: none;
    color: inherit;
}

h1,h3{text-align: center;}

form {
    display:inline-block;
}

.main-grid{
    max-width:1400px;
}

.stats {
    width: 660px;
    margin: 20px auto;
    padding: 0;
}

.stats li {
    display: inline-block;
    width: 180px;
    margin: 0 10px;
    padding: 10px;
}

.stats h2 {
    margin: 0;
}

.stats p {
    font-size: 2em;
    text-align: right;
    margin: 0;
}

.small-field{
    overflow: hidden;
    text-overflow: ellipsis;
    max-width : 200px;

}

.item {
    padding-top: 4px;
    padding-bottom: 6px;
}

/* Footer */
footer a {
    display:block;
    width:100%
}

/* All charts */
.chart, .bar-chart, .pie-chart {
    padding: 20px;
}

.chart {
    margin: 20px auto;
}

.nav{
    margin-top : 0px;
}
/* user chart */
.chart form {
    height: 30px;
    line-height: 30px;
    margin-bottom: 20px;
}

.chart h1 {
    margin: 0;
    font-size: 0.8em;
}

.chart > div, .bar-chart > div {
    position: relative;
    width: 100%;
}

.chart > div {
    height: 200px;
}

.chart svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.chart path {
    width: 100%;
    stroke: #4db6ac;
    stroke-dasharray: 0;
    stroke-width: 2;
    fill: transparent;
    transition: all 0.5s ease;

    stroke-linecap: square;
    stroke-linejoin: round;
}

.chart circle {
    fill: #4db6ac;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.chart circle.active {
    opacity: 1;
}

/* indicator chart */
.indicator {
    position: absolute;
    line-height: 18px;
    min-width: 100px;
    text-align: center;
    border-radius: 3px;
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.2);
    color: #fff;
    background:#666;
    padding: 5px;
    display: none;
    pointer-events:none;
}

.indicator::before {
    position: absolute;
    content: '';
    left: 50%;
    width: 0;
    height: 0;
    margin-left: -5px;
    border: 5px solid transparent;
}

.indicator.under::before {
    bottom: 100%;
    border-bottom-color:#666;
}

.indicator.above::before {
    top: 100%;
    border-top-color:#666;
}

/* bar chart */
.bar-chart {
    margin: 20px auto;
}

.bar-chart h2 {
    margin: 0;
}

.bar-chart ul {
    padding: 0;
    list-style: none;
    margin: 16px 0 0;
}

.bar-chart li {
    margin: 0;
    height: 20px;
    line-height: 20px;
    margin-bottom: 2px;
    white-space: nowrap;
    transition: all 0.5s ease;
}

.bar-chart span {
    display: inline-block;
    height: 100%;
    vertical-align: top;
}

.bar-chart .legend, .bar-chart .bar {
    margin-right: 10px;
}

.bar-chart .legend {
    width: 50px;
}

.bar-chart .bar {
    width: 0px;
    transition: all 0.5s ease;
    background: #4db6ac;
}

.bar-chart .more {
    text-align: right;
}

.bar-chart.collapsed li:nth-child(25) ~ li {
    display: none;
}

/* pie chart */
.pie-chart {
    margin: 20px auto;
}

.pie-chart .pie-chart-wrapper {
    display: inline-block;
    border-radius: 50%;
    position: relative;
    vertical-align: top;
}

.pie-chart .pie-chart-wrapper svg {
    position: relative;
}

.pie-chart path {
    cursor: pointer;
}

.pie-chart-legend {
    display: inline-block;
    list-style: none;
    vertical-align: top;
    margin: 0;
}

.pie-chart-legend li {
    line-height: 1.8;
    font-family: "","Open Sans";
}

.pie-chart-legend span {
    display: inline-block;
    height: 20px;
    width: 40px;
    margin-right: 10px;
    margin-bottom: -4px;
}

.background-picture {
    background: url(../images/wallpaper.jpg);
    background-size: cover;
    opacity: 1;
}

/* Sticky features */

.error {
    bottom: 60px;
    float: right;
    right: 50%;
    position: fixed;
    z-index: 99;
}
.error--inner-center{
    float: right;
    right: -50%;
    position: relative;
}

.sticky-button{
    position: fixed;
    bottom: 20px;
    right: 60px;
    z-index: 99;
}

.sticky-button-2{
    position: fixed;
    bottom: 20px;
    right: 300px;
    z-index: 99;
}

.sticky-button-3{
    position: fixed;
    bottom: 20px;
    right: 600px;
    z-index: 99;
}

/* Pagination */

.pagination{
    font-size : 18px;
    color: #888;
}

.other-page{
    font-size : 18px;
    color: #9e9e9e;
}
.current-page{
    font-size : 20px;
    color: #555;
    font-weight: bold;
}

/* Google date picker modification */

::-webkit-calendar-picker-indicator {
    color: transparent;
    content: '';
    display: block;
    background: url(../images/keyboard_arrow_down_48px.svg) no-repeat;
    background-size: 100%;
    position: absolute;
    height: 4px;
    width: 4px;
    right: 14px;
}
input[type="date"]:hover:after {
  padding-right: 5px;
}
input[type="date"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* mdl custom style */
/* https://material.io/color/#!/?view.left=0&view.right=0&primary.color=546E7A&secondary.color=26A69A */

.mdl-color--primary {background-color: #ffffff !important; color: #607d8b !important;}
.mdl-color--primary-light {background-color: #ffffff !important; color: #8eacbb !important;}
.mdl-color--primary-dark {background-color: #ffffff !important; color: #34515e !important;}

.mdl-color--secondary {background-color: #4db6ac !important; color: #ffffff !important;}
.mdl-color--secondary-light {background-color: #82e9de !important; color: #000 !important;}
.mdl-color--secondary-dark {background-color: #00867d !important; color: #ffffff !important;}

.mdl-color--orange {
    background-color: #ff9800 !important;
    color: #000 !important;
    font-weight: bold;
}

.mdl-color--grey-100 {background-color: #f5f5f5 !important;}

.mdl-navigation a.active{font-weight:bold;}
.mdl-layout__drawer .mdl-navigation .submenu-group .mdl-navigation__link {margin-left:20px;}
.mdl-tooltip {max-width: 1200px;}
.mdl-textfield__input{
    border-color: inherit;
}
.mdl-textfield__label.mdl-color-text--white:after{
    background-color: #fff;
}

.field-deletable {
	display: none;
}

.mdl-grid--no-expand{
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-align-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
}
.mdl-list__item{
    padding:0;
}
.mdl-grid--padding-top {
    padding-top: 200px;
    position: relative;
}
fieldset[disabled] .mdl-textfield .mdl-textfield__input, .mdl-textfield.is-disabled .mdl-textfield__input, .disabled {
    color: rgba(0,0,0,.50);
}
.mdl-icon--table {
    color: #546e7a;
    cursor:pointer;
}

.mdl-logo--sub-header {
    width: initial;
    margin: 0 15px;
    vertical-align: middle;
}

.mdl-textfield--sub-header{
    width: 120px;
    margin: 0 15px;
    vertical-align: middle;
}

.alternate-image {
    margin-left: 0px;
}

.gray-text > label {
    color: #757575 !important;
}

.mdl-textfield--sub-header---moderator {
    width: 300px;
}
.mdl-textfield--sub-header-select{
    width: initial;
    margin: 0 15px;
    vertical-align: middle;
}

.mdl-tooltip{
    text-align: left;
}
.mdl-card, .mdl-card__supporting-text{
    overflow: visible;
}
.overflow-hidden {
    overflow: hidden;
}
.mdl-textfield__label{
    color : inherit !important;
}

.demo-separator {
  height: 16px;
}
/* end */

/* submenu */

.submenu .submenu-group{
    display:none;
}

.submenu.active .submenu-group{
    display:block;
}
.menu-icon {
    float: right;
}

/* end */

option {
	color: #666;
}

.form-error {
	background: rgba(255,0,0,0.5);
    padding: 3px 6px;
    margin: 4px 0 4px;
    font-size: 0.8em;
}

.mdl-layout__content {
	display: flex;
	flex-direction: column;
}

.main-grid {
    flex-grow: 1;
}

.mdl-mini-footer {
	padding: 16px;
}

td.actions {
	padding: 6px;
}

td.actions i {
    vertical-align: middle;
}

td.actions button {
	padding: 0 6px;
	min-width: auto;
}

button.no-layout {
	background: inherit;
    box-shadow: none;
}

button.no-layout:hover {
	background: inherit;
}

button.mdl-color--secondary i {
	color: inherit;
}

.tag-center {
    margin-left:4px;
    margin-right:2px;
    background: transparent;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    padding: 0;
}

.tagvalue-select-width {
    width: 600px;
}

.mdl-button-view {
    width: max-content;
}

.additional-metadata-flex {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.additional-metadata-button {
    margin-bottom: 0.3em;
    margin-inline-end: 1em;
}
.additional-metadata-textarea {
    padding-inline-end: 6em;
}

div.mdl-selectMetadata div.mdl-menu__container {
    max-height: 200px;
    overflow: clip scroll;
}

.mdl-row {
    padding-left: 50px;
}

form.list div.mdl-row
{
    margin-top:10px;
}

form.list div.mdl-row:first-child
{
    margin-top : 0px;
}

form.list div.mdl-row:last-child
{
    margin-top : 20px;
    padding-left : 64px;
}

.mdl-img30 {
    width : 30px;
    position : relative;
    top : -3px;
}

.image-display {
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
    border: none;
    padding: .1em;
    border-radius: 5px;
    transition: box-shadow .1s, border .1s;
}

.image-display:hover {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    cursor: pointer;
    transition: .1s all;
}

.checkbox-with-logo:checked + img {
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
    border: 1px solid white;
    transition: .1s all;
}

.checkbox-with-logo:not(:checked) + #sortingLogo {
    transform: rotate(180deg);
}

.mdl-textfield__input-json {
    width: 300px;
    overflow-wrap: anywhere;
}

.mdl-textfield__input-json-title {
    width: 300px;
    border-bottom: 1px dotted rgba(0,0,0,.12);
    padding-bottom: 2px;
    margin-bottom: 4px;
}

.formatted-json {
    white-space: pre-wrap;
}

.fileselector {
    position: relative;
}

.fileselector input[type=file] {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0;
}

.fileselector .fileselector-btn {
    margin-left: 10px;
}

.mdl-tooltip:not(.is-active) img {
    display: none;
}

.sortable-col-default:before {
    content: "\e8d5" !important;
}

.sortable-col label {
    cursor: pointer;
}

.js-sort-col {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.js-sort-col input {
    display: none;
}

.cell-flex__center {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center
}

.icon-save {
    float: right;
    line-height: 32px;
    margin-top: -30px
}