.za-show-button {
    margin-top: 15px;
}
.za-data-table {
    white-space: normal;
    position: static;
}

.scrollable {
    overflow-x: auto;
}

.word-break {
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
}

.za-data-table th {
    color: black;
    font-size: 14px;
}

.za-data-table td {
    /*font-size: 14px;*/
}

.za-page-content a {
    font-weight: inherit;
    color: #616161;
}

.za-navigation > .mdl-navigation__link {
    font-weight: bold;
    color: #000 !important;
}

.za-navigation-current {
    background-color: #e0e0e0;
}

.za-main-wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
}

.za-success-card {
    min-height: 32px;
    background: #bff1bc;
    text-align: center;
}

.za-success-card > .mdl-card__supporting-text {
    font-size: 16px;
}

.za-fail-card {
    min-height: 32px;
    background: #fcf0b0;
    text-align: center;
}

.za-fail-card > .mdl-card__supporting-text {
    font-size: 16px;
}

.za-login-form > .mdl-textfield {
    display: block;
    width: 100%;
}

.za-login-card-title {
    display: block;
}

.za-login-card-title > .mdl-card__title-text, .za-login-card-title > h6 {
    display: block;
    text-align: center;
}

.za-login-section {
    max-width: 400px;
}

.za-sub-title-text {
    font-size: 20px;
    padding-bottom: 10px;
    font-weight: 300;
    color: #000;
}

.toc {
    border-left: 4px solid #C1EEF4;
    margin: 24px;
    padding: 0;
    padding-left: 8px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.toc h4 {
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 0;
}

.toc a {
    color: #00bcd4;
    text-decoration: none;
    font-size: 16px;
    line-height: 28px;
    display: block;
}

/* Style Select Field */
select {
    font-family: inherit;
    background-color: transparent;
    width: 100%;
    padding: 4px 0;
    font-size: 16px;
    color: #616161 !important;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

/* Remove focus */
select:focus {
    outline: none;
}

/* Hide label */
.mdl-selectfield label {
    display: none;
}

/* Use custom arrow */
.mdl-selectfield select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.mdl-selectfield {
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    position: relative;
}

.mdl-selectfield:after {
    position: absolute;
    top: 0.75em;
    right: 0.5em;
    /* Styling the down arrow */
    width: 0;
    height: 0;
    padding: 0;
    content: '';
    border-left: .25em solid transparent;
    border-right: .25em solid transparent;
    border-top: 0.375em solid rgba(0, 0, 0, 0.12);
    pointer-events: none;
}

.za-footer {
    padding-right: 20px;
}

.za-footer-select select {
    color: #fff !important;
}

blockquote {
    padding-left: 1.5rem;
    border-left: 5px solid #7dbb21;
}

blockquote:after {
    content: '';
    margin: 0;
}

blockquote:before {
    content: '';
    margin: 0;
}

.select2-container--default .select2-results__option--highlighted[aria-selected], div.tagsinput span.tag {
    background-color: #42A5F5
}

.select2-container--default .select2-selection--multiple, .select2-container--default .select2-selection--single, .select2-container--default.select2-container--focus .select2-selection--multiple {
    height: 40px;
    border: none;
    border-bottom: 1px solid #9e9e9e;
    border-radius: 0;
    outline: 0
}

.select2-container--default .select2-selection--multiple, .select2-container--default.select2-container--focus .select2-selection--multiple {
    height: auto
}

.select2-container--default .select2-search--inline .select2-search__field {
    height: 30px
}

.select2-container--default .select2-selection--multiple input {
    margin: 0
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    border: none;
    color: #fff;
    margin-top: 8px;
    padding: 3px 10px;
    background-color: #42A5F5
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove, .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #fff;
    margin-right: 5px
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px;
    padding-left: 0
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: rgba(0, 0, 0, .3) transparent transparent
}

.select2-container--open .select2-dropdown--above, .select2-container--open .select2-dropdown--below {
    border: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .26)
}

.select2-results__option {
    padding: 1rem
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border-top: none;
    border-right: none;
    border-left: none
}

input[type=search] {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #9e9e9e;
    border-radius: 0;
    outline: 0;
    height: 3rem;
    width: 100%;
    font-size: 1rem;
    margin: 0 0 15px;
    padding: 0;
    box-shadow: none;
    box-sizing: content-box;
    transition: all .3s
}

input[type=search]:disabled, input[type=search][readonly=readonly] {
    color: rgba(0, 0, 0, .26);
    border-bottom: 1px dotted rgba(0, 0, 0, .26)
}

input[type=search][readonly=readonly] + label {
    color: rgba(0, 0, 0, .26)
}

input[type=search]:focus:not([readonly]) {
    border-bottom: 1px solid #42A5F5;
    box-shadow: 0 1px 0 0 #42A5F5
}

input[type=search]:focus:not([readonly]) + label {
    color: #42A5F5
}

input[type=search].valid, input[type=search]:focus.valid {
    border-bottom: 1px solid #4CAF50;
    box-shadow: 0 1px 0 0 #4CAF50
}

input[type=search].valid + label:after, input[type=search]:focus.valid + label:after {
    content: attr(data-success);
    color: #4CAF50;
    opacity: 1
}

input[type=search].invalid, input[type=search]:focus.invalid {
    border-bottom: 1px solid #F44336;
    box-shadow: 0 1px 0 0 #F44336
}

input[type=search].invalid + label:after, input[type=search]:focus.invalid + label:after {
    content: attr(data-error);
    color: #F44336;
    opacity: 1
}

input[type=search] + label:after {
    display: block;
    content: "";
    position: absolute;
    top: 65px;
    opacity: 0;
    transition: .2s opacity ease-out, .2s color ease-out
}

#ui-autocomplete-results {
    display: block;
    position:relative
}
.ui-autocomplete {
    position: absolute;
    max-height: 100px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
}

/**
 * Paging
 */

.mdl-paging {
    color: rgba(0, 0, 0, 0.54);
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    height: 56px;
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
}

.mdl-paging > * {
    -webkit-flex: none;
    -ms-flex: none;
    flex: none;
}

.mdl-list + .mdl-paging {
    margin: 0;
}

.mdl-paging__per-page {
    position: relative;
}

.mdl-paging__per-page-label {
    margin-right: 40px;
}

.mdl-paging__per-page-value {
    position: absolute;
    right: 36px;
    top: 6px;
}

.mdl-paging__per-page + .mdl-paging__count {
    margin-left: 24px;
}

.mdl-paging .mdl-menu {
    min-width: 64px;
}

.mdl-paging__prev:last-child {
    margin-right: 44px;
}

.mdl-paging__count + .mdl-paging__prev {
    margin-left: 24px;
}

.mdl-paging__prev + .mdl-paging__next {
    margin-left: 12px;
}

.mdl-paging__count + .mdl-paging__next {
    margin-left: 68px;
}

a.breadcrumbs:hover {
    text-decoration: underline;
}

a.breadcrumbs {
    text-decoration: none;
}

.mdl-color-text--grey-600-bold {
    color: #757575 !important;
    font-weight: bold !important;
}

/* TODO: Hover and Focus state.
 *       Fix position of mobile search button.
 */
.mdh-expandable-search {
    margin: 0 50px;
    align-items: center;
    justify-content: center;
}

.mdh-expandable-search form {
    max-width: 600px;
}

.mdh-expandable-search,
.mdh-expandable-search form,
.mdh-expandable-search input {
    /* Cross browser flex-grow */
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.mdh-expandable-search,
.mdh-expandable-search form {
    /* Cross browser inline-flex */
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
}

/* Position search icon */
.mdh-expandable-search .material-icons {
    position: relative;
    right: -40px;
    margin-left: -24px; /* Remove the blank space left behind by the icon being relatively positioned */
}

.mdh-expandable-search input {
    outline: none;
    border: none;
    font-size: 16px;
    color: #FFFFFF;
    background-color: #ffffff26;
    padding: 0px 35px 0px 70px;
    height: 40px;
    line-height: 40px; /* TODO: This was recommended for cross browser compatability of input height, check if its actually needed in modern browsers */

    border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
}

.mdh-expandable-search input::-webkit-input-placeholder { /* WebKit browsers */
    color: #FFFFFF;
}

.mdh-expandable-search input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #FFFFFF;
    opacity: 1; /* Firefox gives the placeholder a reduced opacity so we have to increase it */
}

.mdh-expandable-search input::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #FFFFFF;
    opacity: 1; /* Firefox gives the placeholder a reduced opacity so we have to increase it */
}

.mdh-expandable-search input:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: #FFFFFF;
}