@CHARSET "UTF-8";

/* tripweb.css
 * 
 * This stylesheet file contains definitions common to all pages of the
 * Tieto TRIPweb application.
 */

/* Internet Explorer 10 in Windows 8 and Windows Phone 8 */
@-ms-viewport {
    width: device-width;
}

/* Firefox responsible table */
@-moz-document url-prefix() {
    fieldset {
        display: table-cell;
    }
}

body, html {
    height: 100%;
}

.logotype {
    max-height: 50px;
    height: 100%;
    width: auto;
}

body {
    padding-top: 60px; /* because of navigation bar on the top */
    font-family: "Arial Regular",Helvetica Neue,Helvetica,sans-serif !important;
}

mark {
    font-weight: bold;
    background-color: yellow;
}

div#dbselect {
    min-width: 200px;
    height: 100%;
}

@media screen and (max-width: 768px) {
    div#dbselect {
        min-width: 0px;
    }
}

@media screen and (max-height: 550px) {
    .innerSpinner {
        margin-top: 40px;
    }
}

.small-spinner-content {
    background: url(/resources/themes/spinner_small-888fb7625abb82eef53716927c48f92a.gif) no-repeat center center;
    width: 60px;
    height: 30px;
}

.small-spinner {
    display: inline-block;
    vertical-align: middle;
}

.inline-edit-button {
    display: inline;
}

.btn-group-sort {
    float: right;
    min-width: 53px;
}

.dropdown-sort-li {
    /*min-height: 30px;*/
    font-size: 15px;
    margin-left: 5px;
    margin-bottom: 5px;
    color: black;
    width: auto;
    display: flex;
}

.sort-li-text {
    float: left;
    max-width: 150px;
    width: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.dropdown-sort-button {
    margin-left: 5px;
    margin-right: 5px;
    border: none;
}

.result-item {
    cursor: pointer;
}

.result-item:hover {
    background-color: #f5f5f5;
}

.typeahead.dropdown-menu {
    max-width: 92%;
}

.typeahead.dropdown-menu a {
    -ms-word-break: break-all;
    word-break: break-all;
    /*Non standard for webkit*/
    word-break: break-word !important;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    white-space: normal;
    display: block;
    text-align: justify;
}

/* END needed or only for tokenizer? */

.result-item {
    /* Warning: Needed for oldIE support, but words are broken up letter-by-letter */
    -ms-word-break: break-all;
    word-break: break-all;

    /* Non standard for webkit */
    word-break: break-word;

    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.export-container {
    margin-bottom: 25px;
}

.search-history-numbers {
    width: auto;
}

.search-history-command {
    width: 100%;
    clear: both;

    /* Warning: Needed for oldIE support, but words are broken up letter-by-letter */
    -ms-word-break: break-all;
    word-break: break-all;

    /* Non standard for webkit */
    word-break: break-word;

    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.table.data-table-data-flds {
    overflow-y: visible;
}

div#thesaurusInfoPanel {
    padding-bottom: 10px;
}

div#thesaurusInfoPanel:empty {
    display: none;
}

.record-matadata {
    font-style: italic;
    font-size: 0.875em;
    color: Grey;
}

.record-deleted-after-reindexing {
    color: red;
}

.non-clickable-area {
    background-color: white;
    position: fixed;
    opacity: 0.5;
    filter: alpha(opacity=50);
    width: 100%;
    height: 100%;
    z-index: 1000000;
    top: 0px;
    left: 0px;
}

.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    z-index: 10000000;
    position: fixed;
    margin: 5% auto;
    left: 0;
    right: 0;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.dropdown-menu {
    z-index: 10000000;
}

/**  */
.margin-top-20 {
    margin-top: 20px;
}

/** rows */
.row-buffer {
    margin-top: 10px;
    margin-bottom: 10px;
}

/** links */

a.deco-none {
    color: #000000 !important;
    text-decoration: none;

}

.bg-menu:hover {
    background-color: #f5f5f5;
}

.clickable {
    cursor: pointer;
    display: inline-block;
    width: 100%;
}

.height-100 {
    height: 100%;
}

.height-50 {
    height: 50%;
}

.padding-top-20 {
    padding-top: 20px;
}

.margin-top-6 {
    margin-top: 6px;
}

.margin-top-15 {
    margin-top: 15px;
}

.padding-left-right-10 {
    padding-left: 10px;
    padding-right: 10px;
}

/** bootstrap 3 with fixed column height **/
.equal {
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .row.equal {
        display: flex;
        flex-wrap: wrap;
    }
}

.search-options {
    padding-right: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

@media (min-width: 1200px) {
    .search-options {
        justify-content: flex-end;
    }
}

.nested-links-block {
    position: relative;
}

.primary-link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1000;
}

.nest-link {
    position: relative;
    text-decoration: none !important;
}

.document-link {
    position: relative;
    text-decoration: none !important;
}

.width-100 {
    width: 100%;
}

.item-submit-warning {
    text-align: left;
    display: none;
}

.hidden-element {
    visibility: hidden;
}

.border-none {
    border: none;
}

.border-none-important {
    border: none !important;
}

.facet-searchbox {
    padding-left: 15px;
    padding-right: 15px;
}

.facet-searchbox__content {
    background-color: #f5f5f5;
    padding-left: 5px;
    padding-right: 5px;
}

.facet-searchbox__form-group {
    margin-top: 5px;
    margin-bottom: 5px;
}

.facet-searchbox__validation-messages {
    margin-bottom: 5px;
    padding: 5px;
}

.facet-searchbox__all-filters-selected {
    font-size: 10px;
}

.facet-searchbox__remove-filter-button {
    font-size: 10px;
    margin-bottom: 2px;
}

.facet-searchbox__search-magnifier {
    pointer-events: inherit;
    cursor: pointer;
}

.border-top-none {
    border-top: none !important;
}

::-ms-clear {
    display: none;
    width: 0;
    height: 0;
}

.form-control-clear {
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
}

::-webkit-search-decoration,
::-webkit-search-cancel-button,
::-webkit-search-results-button,
::-webkit-search-results-decoration {
    display: none;
    width: 0;
    height: 0;
}

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

.no-bold {
    font-weight: normal;
}

.menu-icon--font-weight_bold {
    font-weight: bolder !important;
}

.menu-item-padding{
    padding-left: 2.25em !important;
}

.margin-left-14{
    margin-left: -14px !important;
}

.margin-right-16{
    margin-right: 16px !important;
}

.width-214{
    width: 214px !important;
}

.hide-item{
    display: none;
}

.display-item{
    display: block;
}

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

.glyphicon-ban-circle-color {
    color: #23527c;
}

.validation-text-danger {
    color: #a94442;
}

.details-page__label {
    position: absolute;
    bottom: 0;
    left: 0;
    margin-bottom: 0 !important;
}

.position-relative {
    position: relative;
}