.lds-dual-ring {
    display: inline-block;
    width: 150px;
    height: 150px;
    margin-top: 100px;
}
.lds-dual-ring:after {
    content: ' ';
    display: block;
    width: 150px;
    height: 150px;
    margin: 1px;
    border-radius: 50%;
    border: 18px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 100000;
    text-align: center;
}

.flag-dropdown {
    float: right;
    cursor: pointer;
}
.flag-dropdown ul {
    min-width: auto;
    padding: 0;
    border: 1px solid #ccc;
    box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
    -webkit-box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
}
.flag-dropdown ul li {
    min-width: auto;
}
.flag-dropdown ul li a {
    padding: 4px 5px;
}
.flag-icon {
    width: 27px;
    height: 21px;
    border: 1px solid #ccc;
}
.flag-icon.flag-pl {
    background-image: url(/gfx/pl.svg);
}
.flag-icon.flag-en {
    background-image: url(/gfx/en.svg);
}

.login .remind-pass {
    line-height: 32px;
}

.navbar-nav > .user-menu > .dropdown-menu > li.user-header {
    height: auto;
}

.navbar-nav .flag-dropdown {
    padding: 15px 15px;
}

.notifications .alert {
    cursor: pointer;
}

.alert {
    margin-top: 20px;
    margin-bottom: 10px;
}

pre.wrap {
    white-space: pre-wrap;
}

.label {
    font-weight: 600;
    letter-spacing: 0.5px;
}
.label-color0 {
    background-color: #d2d6de;
    color: #444;
}
.label-color1 {
    background-color: #00a65a !important;
}

.label-color2 {
    background-color: #3c8dbc !important;
}

.label-color3 {
    background-color: #df47a7 !important;
}

.label-color4 {
    background-color: #f39c12 !important;
}

.label-color5 {
    background-color: #8257cd !important;
}

.content-wrapper .content {
    padding: 15px 15px 0 15px;
    width: 100%;
}

.main-footer {
    padding: 2px 15px;
}

.mono {
    font-family: monospace;
}

.navbar-nav > .user-menu > .dropdown-menu {
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
    padding: 0;
    border: none;
}
.dt-log_baseurl tbody td {
    font-family: monospace;
    font-size: 11px;
}

textarea.abstract {
    height: 200px;
}

.artecontent {
    padding: 40px 0;
}
.artecontent textarea {
    height: 400px;
}

.modal-dialog {
    min-width: 600px;
    max-width: 90%;
}

.table-center-v td,
.table-center-v th {
    vertical-align: middle !important;
}

.center-v {
    vertical-align: middle !important;
}

.center-h {
    text-align: center;
}

input.thin {
    width: 50px !important;
}

#appbundle_article_folders {
    font-family: monospace;
    height: 300px;
}

span.begin {
    display: inline-block;
    width: 200px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.bootbox-body {
    font-size: 18px;
    padding: 36px 20px;
}

td.no-data-row {
    font-size: 18px;
    padding: 40px 20px !important;
}

.panel-body > .box-header {
    padding: 0 0 10px 0;
}
.content-header button {
    margin-left: 20px;
}

.image-viewer {
    position: relative;
    width: 100% !important;
    border: 1px solid rgb(123, 123, 123);
}

.image-viewer.viewer-fixed {
    position: fixed;
}

.wysihtml-toolbar {
    margin-bottom: 16px;
}

.wysihtml-toolbar > div {
    margin-right: 12px;
}

.wysihtml5-command-active {
    background-image: none;
    -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),
        0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),
        0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),
        0 1px 2px rgba(0, 0, 0, 0.05);
    background-color: #d9d9d9;
    outline: 0;
}

iframe.wysihtml5-sandbox {
    flex: 1;
    margin-bottom: 20px !important;
}

.form-group.has-error iframe.wysihtml5-sandbox {
    border-color: #dd4b39 !important;
}

.form-group.has-success iframe.wysihtml5-sandbox {
    border-color: #00a65a !important;
}

.form-group input.error {
    border-color: #dd4b39;
}

.form-group label.error {
    color: #dd4b39;
}

.modal-body form input.error {
    border-color: #dd4b39;
}

.modal-body form label.error {
    color: #dd4b39;
}

.translation-source-text {
    border-color: rgb(169, 169, 169);
    border-style: solid;
    border-width: 1px;
    padding: 15px;
    overflow: auto;
}

.pdf-navi {
    margin-top: 10px;
    display: none;
}

.tooltipster-base {
    font-size: 1.2em;
}

.translation_form-controls {
    flex-wrap: wrap;
}

.translation_form-controls_left {
    padding-bottom: 12px;
    min-width: 350px;
}

.translation_form-controls_right {
    float: right;
    display: -ms-flex;
    display: -webkit-flex;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.translation_form-controls_right > * {
    margin-left: 12px;
}

.translation_form-controls_right .progress-label {
    line-height: 34px;
}

.translation_form-controls_right .progress-select {
    width: 100px;
    margin-right: 80px;
}

.progress {
    min-width: 100px;
    background-color: rgba(0, 0, 0, 0.1);
}

.sidebar-menu > li .badge {
    margin-top: -1px;
}

#modal-history .modal-dialog {
    width: 900px;
}

#modal-history .modal-body {
    height: 500px;
}

#modal-history .modal-body > div {
    height: 100%;
}

#modal-history .modal-body > div > select {
    margin-bottom: 20px;
}

.nobr,
.no-br,
.dt-options {
    white-space: nowrap;
}

table td.onlyxls,
table th.onlyxls {
    display: none;
}

/*//////////////////////////
//          FLEX          //
//////////////////////////*/
.flex-row {
    display: -ms-flex;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
}

.flex-col {
    display: -ms-flex;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
}

.flex-col .fl-1,
.flex-row .fl-1 {
    flex: 1;
    flex-shrink: 0;
}
.flex-col .fl-2,
.flex-row .fl-2 {
    flex: 2;
    flex-shrink: 0;
}
.flex-col .fl-3,
.flex-row .fl-3 {
    flex: 3;
    flex-shrink: 0;
}
.flex-col .fl-4,
.flex-row .fl-4 {
    flex: 4;
    flex-shrink: 0;
}
.flex-col .fl-5,
.flex-row .fl-5 {
    flex: 5;
    flex-shrink: 0;
}
