html, body {
    padding: 0;
    margin: 0;
    font-family: Helvetica, Arial;
    color: #3A4244;
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px; /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga';
}

section {
    padding: 0 30px;
}

/*select2 z-index fix*/
.select2-container {
    z-index: 100;
}

div.popup .select2-container, .select2-container--open {
    z-index: 10000;
}

p.error {
    font-weight: bold;
    color: red;
}

p.success {
    font-weight: bold;
    color: #008004;
}

dt, dd, dl {
    display: inline-block;
    margin: 0;
}

h3 {
    font-size: 1em;
    margin: 0.5em 0;
}

.pseudo {
    background: white;
    color: black;
    border: 0;
}

.inline-label {
    font-size: 0.6em;
    color: #ffffff;
    background: #858585;
    border-color: #444444;
    border-radius: 4px;
    border: solid 1px;
    padding: 2px;
    margin-left: 5px;
    vertical-align: middle;
    -moz-border-radius: 4px;
}

.transaction-canceled {
    background: #4a4949;
    border-color: #333432;
}

.transaction-other {
    background: #466aaa;
    border-color: #1d226c;
}

.transaction-ok {
    background: #68a95f;
    border-color: #3b8842;
}

.transaction-err {
    background: #a9605c;
    border-color: #a93944;
}

.transaction-pending {
    background: #8188a9;
    border-color: #6a6ea9;
}

.stock-initial {
    background: #8188a9;
    border-color: #6a6ea9;
}

.stock-addition {
    background: #68a95f;
    border-color: #3b8842;
}

.stock-assignment {
    background: #309131;
    border-color: #065810;
}

.stock-revoking {
    background: #ac8600;
    border-color: #594800;
}

.stock-subtracting {
    background: #ac5100;
    border-color: #592d00;
}

.stock-blocking {
    background: #7e2acc;
    border-color: #2c0056;
}

p.assignment {
    font-size: 0.8em;
    margin: 0.3em;
}

p.notes {
    font-size: 0.8em;
    margin: 0.3em;
    background: lightgray;
    border-radius: 4px;
    border: solid 1px lightgray;
    padding: 2px;

    -moz-border-radius: 4px;
}

#struct-table tbody tr:nth-child(odd) {
    background-color: white;
}

#struct-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

#struct-table tbody tr.selected {
    background: #1f8dd6;
}

.pure-button-xsmall {
    font-size: 70%;
}

.pure-button-green {
    background: rgb(28, 184, 65);
}

.pure-button-red {
    background: rgb(202, 60, 60);
}

.action .pure-button {
    visibility: hidden;
}

.selected .action .pure-button {
    visibility: visible;
}

.pure-table tr.disabled {
    color: darkgray;
    font-style: italic;
}

.pure-table tr.suspended {
    color: #a9474b;
    font-style: italic;
    font-size: 0.8em;
}

.dev-warn {
    background: #cb0000;!important;
    color: white;
}

.pure-menu .user-heading {
    float: right;
    padding: 10px 20px;
}

a.pure-menu-link {
    color: white;
}

a:hover, a.pure-menu-link:focus {
    color: black;
}

span.help {
    font-size: 0.6em;
    color: lightgray;
}

div.popup {
    background: white;
    max-width: 1000px;
    width: 1000px;
    padding: 20px 30px;
    text-align: left;
    position: relative;
}

.err-popup {
    background: white;
    width: 500px;
    padding: 20px 30px;
    position: relative;
    text-align: center;
}

.err-msg-wrapper {
    display: inline-block;
}

.err-text {
    padding: 25px;
    line-height: 3.5;
}

.pure-form input, .pure-form select {
    width: 300px;
}

.pure-form input[type=checkbox] {
    width: auto;
}

.pure-form textarea {
    width: 300px;
    height: 75px;
}

span.password-display {
    width: 200px;
    display: inline-block;
    font-size: 0.8em;
}

button.password-generate {
    width: 95px;
}

button#sdrive-edit-open {
    width: 95px;
    margin-left: 203px;
}

.sDriveParameters {
    width: 100%;
    resize: vertical;
    min-height: 400px;
}

span.errors {
    color: red;
    font-size: 0.6em;
}

div#top-menu {
    background: #8e8e8e;
}

img#cwb-logo {
    float: left;
    padding: 3px 10px;
}

#loginform dd {
    display: inline-block;
}

#loginform dd.info {
    display: none;
}

#loginform dd.error {
    margin-left: 10px;
    font-size: 12px;
    color: #c00;
}

#loginform label {
    font-size: 14px;
}

#loginform dl {
    padding: 10px;
}

#loginform dl.error {
    background: #FBDDE6;
}

#loginform dt {
    display: inline-block;
    width: 160px;
}

.report_item {
    height: 24px;
    margin-bottom: 5px;
    cursor: pointer;
    padding-top: 5px;
    padding-left: 11px;

}

.report_item:hover {
    background: #e0e0e0;
    border-radius: 2px;
}

/*.material-button, .material-button:hover, .material-button:focus , .ajax-file-upload, .ajax-file-upload:hover, .ajax-file-upload:focus{*/
.material-button, .ajax-file-upload {
    border: none;
    background: none;
    box-sizing: border-box;
    display: inline-block;
    font-family: Roboto, sans-serif;
    cursor: pointer;
    text-decoration: none;
    outline: none;
    transform: translate3d(0, 0, 0);
    position: relative;
    padding: 8px 15px;
    font-size: 15px;
    height: 36px;
    line-height: 20px;
    text-align: center;
    overflow: hidden;
    border-radius: 2px;
    transition: all .2s ease;
    background-color: #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.12);
    vertical-align: middle;
}

.material-button:hover, .ajax-file-upload:hover {
    box-shadow: 0 1px 7px rgba(0, 0, 0, 0.22), 0 1px 5px rgba(0, 0, 0, 0.42);
}

.material-button:focus, .ajax-file-upload:focus {
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.22);

}

.material-button .material-icons {
    margin-right: 5px;
    color: #333333;
    line-height: 20px;
    height: 24px;
    vertical-align: middle;
    margin-left: -5px;
}

.material-button.with-space, .material-button + .material-button {
    margin-left: 15px;
}

.button-primary {
    background: #e65c5c;
    color: #fff;
}

.button-secondary {
    background: #00bcd4;
    color: #fff;
}

.button-action {
    background: #17af32;
    color: #fff;
}

.button-primary .material-icons, .button-secondary .material-icons {
    color: #fff;
}

.ajax-file-upload, .ajax-file-upload:hover, .ajax-file-upload:focus {
    background: rgba(57, 73, 171, 0.7);
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    margin: 0;
    border-radius: 0;
}

.ajax-file-upload-statusbar {
    display: none;
}

.ajax-file-upload-statusbar:last-child {
    display: block;
}

.ajax-file-upload-bar {
    background-color: rgb(0, 188, 212);
    height: 4px;
    border-radius: 0;
}

.ajax-file-upload-progress {
    margin: 0px 0;
    width: 135px;
    border: none;
    border-radius: 0;
    background: #bdbdbd;
    display: block;
    padding: 0;
}

.ajax-file-upload-container {
    margin: 0;
    clear: left;
}

.ajax-file-upload-filename {
    display: none;
}

.ajax-file-upload-statusbar {
    border: none;
    margin: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    padding: 0;
}

.ajax-file-upload .material-icons {
    font-size: 20px;
    line-height: 20px;
    vertical-align: middle;
    margin: -2px 3px 0 0;
}

.ajax-file-upload-red, .ajax-file-upload-green {
    box-shadow: none;
    vertical-align: middle;
    margin: 5px 10px 5px 0px;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    border-radius: 2px;
    height: 36px;
    box-sizing: border-box;
    line-height: 15px;
    padding: 10px 15px;
    text-shadow: none;
}

.aright {
    text-align: right;
}

div.popup.confirm-remove {
    width: 560px;
}

div.popup.edit-popup {
    width: 650px;
}

div.hidden {
    display: none;
}
.sdrive_popup {
    display: none;
}

.material-style .select2-container {
    width: 100% !important;
}

.material-style .select2-container--default .select2-selection--single, .material-style .select2-container--default .select2-selection--multiple {
    background-color: transparent;
    border: none;
    border-radius: 0;
    border-bottom: solid 1px #e0e0e0;
}

.material-style .select2-container .select2-selection--single {
    height: 35px;
    outline: none;
}

.material-style .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #3A4244;
    line-height: 24px;
}

.material-style .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 5px 20px 5px 0;
    font-size: 16px;
}

.material-style .select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .material-style .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
    border-bottom-color: #00BCD4;
    box-shadow: 0 -1px 0 #00BCD4 inset;
}

.material-style .select2-container--default.select2-container--focus .select2-selection--multiple {
    border: none;
    border-radius: 0;
    border-bottom: solid 1px #e0e0e0;
    outline: none;
}

.material-style .select2-container--classic .select2-selection--single:focus, .material-style .select2-container--classic .select2-selection--multiple:focus {
    border: none;
    border-bottom: solid 1px #e0e0e0;
}

.material-style .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding: 5px 0;
    margin: 4px 0 -4px;
}

.material-style .select2-container--default .select2-selection--multiple .select2-selection__choice {
    padding: 0 5px;
    line-height: 20px;
    font-size: 14px;
    margin: 2px 5px 2px 0;
    background-color: rgba(228, 228, 228, 0.28);
    border: 1px solid #e0e0e0;
}

.modal_mask {
    position: fixed;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    z-index: 99;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.4);
    overflow-y: auto;
    overflow-x: hidden;
}

.modal_wrapper, .modal_centered {
    min-width: 400px;
    min-height: 200px;
}

.modal_wrapper {
    display: table;
}

.modal_centered {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    padding: 40px;
}

.modal {
    padding: 20px;
    background: #fff;
    display: inline-block;
    overflow-y: auto;
    position: relative;
    text-align: left;
    max-width: 800px;
    max-width: 80vw;
}

.modal.confirm-upload {
    min-width: 400px;
}

.modal-close {
    position: absolute;
    top: 5px;
    right: 5px;
    color: #777;
}

.modal.confirm-remove {
    border-left: 3px solid #e65c5c;
}

.modal.confirm-remove h2 {
    margin-bottom: 20px;
}

.hidden-translate {
    display: none;
}

.hidden-translate.visible {
    display: block;
}

.material-header {
    white-space: nowrap;
    /*overflow: hidden;*/
    text-overflow: ellipsis;
    letter-spacing: 0;
    font-size: 28px;
    font-weight: 400;
    color: #ffffff;
    line-height: 64px;
    margin: 0 -30px;
    padding: 0 30px;
}

.popup-wrapper span.select2 {
    width: 300px !important;
}

.material-header.items-header {
    background-color: #ac8600;
}

.material-header.structogram-header {
    background-color: #1a973a;
}
.material-header.config-header {
    background-color: #FFA570;
}

 .pure-form .input-long {
     width: 100% ;
 }

.footer-body {
    background-color: #FFFFFF;
    font-size: 12px;
    line-height: 1.66666666666667;
    margin-top: 15px;
    padding: 0 10px 20px 10px;
    min-height: 44px;
    text-align: center;
}
.md-footer {
    display: inline-block;
    color: #707070;
    padding-right: 20px;
}
.footer-separator {
    margin-top: 30px;
    height: 10px;
    border: 0;
    box-shadow: 0 10px 7px -10px #8c8b8b inset;
}

.ver-num {
    font-weight: bold;
}

.md-footer+.md-footer:before {
    content: "\b7";
    margin-right: 20px;
    speak: none;
}