html, body, #wrap {
    margin: 0;
    padding: 0;
    background-color:#F5F5F5;

}

html {
    font-size: 14px;
    height: 100%;
}

#wrap {
    width: 100%;
    margin:0 auto; /* center, not in IE5 */
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;
    min-height: 100vh;
    height: 100px;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    flex: 1 1 auto;
}

.header {
    display: flex;
    flex-direction: column;
    -ms-flex-direction: column;
    flex: 0 0 auto;
}

body {
    font: 14px "Open Sans", Helvetica, Arial, sans-serif;
    line-height: 24px;
    height: 100vh;
    display: flex;
}

.footer a {
    text-decoration: none;
    color: #ffffff;
}

.msg-column a {
    text-decoration: underline;
    color: #030;
}

.footer {
    font: 12px/1.2 "Open Sans", Helvetica, Arial, sans-serif;
    line-height: 16px;
    background-color: #030;
    text-align: center;
    flex-shrink: 0;
    -ms-flex-shrink: 0;
}

.template_menu_bg_color {
    background-color: #4c8c4a;
}

.template_header_bg_color {
    background-color: #030;
    min-height: 24px;
    padding-top: 4px;
}

.requiredMessage:before, .required:after {
    color: #f44336;
    content: "* ";
}

.requiredMessage {
    font: 12px/1.2 "Open Sans", Helvetica, Arial, sans-serif;
    color: #6c757d;
    content: "* ";
}

.Message {
    font: 12px/1.2 "Open Sans", Helvetica, Arial, sans-serif;
    color: #6c757d;
}

label.error {
    color: #f44336;
}

input.error, textarea.error, select.error, span.error {
    border-color: #f44336 !important;
}

.select2-container--bootstrap4.error .select2-selection--single.error {
    border-color: #f44336 !important;
}

select2-selection.error select2-selection--single.error{
    border-color: #f44336 !important;
}

label {
    display: block;
    margin-bottom: 0;
}

.plus-minus {
    background-color: #ffc107;
    font-size: 0.75em;
    padding: 7px 7px 5px 7px;
    margin: 0px 10px 0px 0px;
    cursor: pointer;
}

.fas, .float-right {
    cursor: pointer;
}

.msg.error {
    background-color: #f4cccc;
    border: 1px solid #f44336;
}

.msg.success {
    background-color: #d9ead3;
    border: 1px solid #4c8c4a;
}

.msg {
    margin-top: 2em;
    padding: 0.75em;
}

.msg-column {
    display: table-cell;
}

.msg-column img {
    padding-right: 1em;
}

.link-default-button, .link-default-button:hover {
    color: black;
    background-color: #dddddd;
}

.stepwizard-step p {
    margin-top: 10px;
}

.stepwizard-step button[disabled] {
    opacity: 1 !important;
    filter: alpha(opacity=100) !important;
}

.stepwizard-step {
    display: inline-block;
    text-align: center;
    position: relative;
    font-size: 12px;
    line-height: 1em;
    color: #4C8C4A;
}

.btn-circle {
    width: 35px;
    height: 35px;
    padding: 6px 0px;
    text-align: center;
    font-size: 16px;
    line-height: 1.42857;
    box-shadow: none !important;
    outline: 5px solid #ffffff !important;
}

.btn-circle-green {
    background-color: #4c8c4a;
}

.btn-circle-orange {
    background-color: orange;
    font-weight: bold;
}

.btn-circle-red {
    background-color: #f44336;
}

.setup-content {
    display: block;
    display: none;
}

.content {
    background-color: #ffffff;
    flex: 1 0 auto;
    -ms-flex: 1 0 auto;
    margin-top: auto;
    display: block;
    overflow-y: auto;
}

.lang, .system-version {
    font: 12px "Open Sans", Helvetica, Arial, sans-serif !important;
    font-size: 18px;
    white-space: nowrap;
}

.lang a {
    text-decoration: none;
}

.lang-item:active, .lang-item:hover {
    border-bottom: 2px solid #FFC107;
    text-decoration: none;
}

.system-title {
    font: 16px "OpenSans", Helvetica, Arial, sans-serif;
    line-height: 1.25em;
}

.system-user {
    font: 12px "OpenSans", Helvetica, Arial, sans-serif;
    line-height: 1.25em;
}

#exit {
    font: 12px "OpenSans", Helvetica, Arial, sans-serif;
    line-height: 18px;
    color: black;
    border-bottom: 2px solid #000;
    padding: 0px 7px 3px 7px;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-menu {
    border-radius: 0 !important;
    border: none;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    margin-top: 0px;
    display: none;
}

.dropdown-item {
    padding: 10px 20px 10px 20px;
}

.nav-item {
    display: block;
    padding: 5px 20px 5px 20px;
    alignment: center;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.nav-item:hover {
    background-color: #ffc107;
}

.aktyvus {
    box-shadow: inset 0 -3px 0 #FFC107;
    background-color: #4c8c4a;
    border-collapse: separate;
}

.navbar {
    padding: 0 0 0 0;
}

#navbardropqueries, #navbardropapplications{
    color: #000000;
}

.select2-container--bootstrap4 .select2-selection, .select2-container--open .select2-dropdown--below,.select2-container--bootstrap4.select2-container--focus .select2-selection, .select2-container--bootstrap4.select2-container--open .select2-selection, .form-control, .btn, .gj-datepicker-bootstrap [role=right-icon] button {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    border: 1px solid #F5F5F5;
    box-shadow: none;
}

.btn {
    border: none;
}

.form-control:disabled, .form-control[readonly], .form-control:disabled .form-control:focus {
    background-color: #ffffff;
    color: #aaaaaa;
    border: 1px solid #F5F5F5;
}

.select2-container--bootstrap4 .select2-selection--single {
    height: calc(2.25rem + 2px);
    line-height: 18px;
    padding: 0.5rem 1.125rem 0.8rem 0.375rem;
}

.select2-results__group {
    font-size: 90% !important;
    background: #f9f9f9 !important;
}

.select2-results__options--nested {
    padding-left: 15px !important;
}

.form-control:focus {
    box-shadow: none;
}

.btn-warning.disabled, .btn-warning:disabled {
    color: #aaaaaa;
    background-color: #f5f5f5;
    border-color: #f5f5f5;
}

.btn-secondary {
    background-color: #6c757d;
    border: 1px solid #6c757d;
}

.panel-heading {
    padding: 1em;
    border-top: 1px solid #f5f5f5;
}

.panel-heading h5 {
    margin-bottom: 0px !important;
    display: inline;
}

.search-results {
    border-collapse: separate;
    border-spacing: 2rem 0rem;
}

.search-results th {
    text-align: left;
    padding: 0.5em 0em 0.5em 0em !important;
}

.setup-line {
    /*Prašymų pildymo žingsnių linijos atvaizdavimas*/
    content: " ";
    width: 100%;
    height: 1px;
    background-color: #4C8C4A;
    z-index: 0 !important;
    position: absolute;
    top: 4.25rem;
}

_:-ms-input-placeholder, :root .setup-line {
    /*Prašymų pildymo žingsnių linijos nerodymas IE browseriuose*/
    display: none;
}

/*@-moz-document url-prefix() {
    .setup-line {
        Prašymų pildymo žingsnių linijos nerodymas Firefoxe
        display: none;
    }
}*/

.setup-panel {
    position: relative;
}

.representatives tr:nth-child(odd) {
    background: #f5f5f5;
}

.representatives {
    border-collapse: collapse !important;
    border: 0px !important;
}

.representatives td {
    padding: 0.5em 1em 0.5em 1em !important;
}

.representatives th {
    background: #ffffff;
    padding: 0em 0em 0em 1em
}

.representatives a {
    color: #4C8C4A;
}

.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #003300;
    background-color: #fff;
    border: 1px solid #F5F5F5;
    border-radius: 0px !important;
    margin: 1em 0em 1em 0em;
}

.page-item.active .page-link {
    z-index: 1;
    color: #003300;
    background-color: #F5F5F5;
    border-color: #F5F5F5;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    margin: 2px 0;
    white-space: nowrap;
    justify-content: flex-start;
}

/*Kalendoriaus mėnesio ir metų rodymo fixas IE browseriuose*/
_:-ms-input-placeholder, :root .gj-picker div[role=navigator] div[role=period] {
    width: 80%;
}

.gj-picker-bootstrap table tr td.selected.gj-cursor-pointer div {
    color: #fff;
    background-color: #4c8c4a;
    border-radius: 0px;
}

.gj-picker-bootstrap table tr td.today div {
    color: #4c8c4a;
    font-weight: 700;
}

.button-to-link {
    background:none!important;
    color:#548c47;
    border:none;
    padding:0!important;
    font: inherit;
    cursor: pointer;
}
.button-to-link:hover {
    color:inherit;
    border-bottom:1px solid #444;
}

[readonly='readonly'] {
    pointer-events: none;
}

.answerLink, .answerLink:hover {
    color: #4C8C4A;
}


.select2-container--bootstrap4 .select2-results > .select2-results__options {
    max-height: 45vh;
    overflow-y: auto;
}

.btn-file {
    background-color: #dddddd;
    color: black;
}

.btn-file:hover {
    background-color: #b9b5a9;
    color: black;
}

.file-error-message li,
.file-input .file-preview-frame .file-details-cell div{
    word-break: break-all;
}


.close {
    float: right;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

.font-size-16 {
    font-size: 16px
}