.poa-wrapper {
    background-color: white;
}

.poa-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.poa-scrollable {
    margin-top: 105px;
    overflow-y: auto;
    height: calc(100vh - 105px);
}

.poa-wrapper .search-input {
    border: 0;
}

.poa-wrapper .search-input:focus {
    outline: 0 !important;
    box-shadow: none;
}

.poa-wrapper .search-div {
    border-bottom: 2px solid #DDDDDD;
}

.poa-loading-div {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    text-align: center;
    padding-top: 90%;
    background-color: white;
}

/* Header */
.poa-header {
    background-color: #3a383a;
    padding: 0;
    padding-left: 7px;
    padding-right: 7px;
    height: 55px;
    display: flex;
}

.poa-header-logo {
    width: 20%;
    display: flex;
    justify-content: start;
    text-align: left;
    padding-top: 7px;
    padding-bottom: 7px;
}

.poa-header-domain {
    color: #9C9B9C;
    border-left: 1px solid #FFFFFF;
    width: 45%;
}

.poa-header-user {
    color: #FFFFFF;
    border-left: 1px solid #FFFFFF;
    width: 35%;
}

.poa-header-domain, .poa-header-user {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.poa-user-dropdown {
    position: absolute;
    width: 35%;
    max-width: 35%;
    top: 55px;
    right: 0px;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    padding: 10px;
}

.poa-user-dropdown .poa-logout-text {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.poa-logout-icon {
    color: #495057;
}

/* Classification tree */
/* Remove default bullets */
#classificationTree, .nested {
    list-style-type: none;
}

/* Remove margins and padding from the parent ul */
#classificationTree {
    margin: 0;
    padding: 0;
    margin-bottom: 0.25rem;
    padding-left: 1rem;
    padding-bottom: 0.5rem;
    padding-top: 10px;
}

/* Style the caret/arrow */
#classificationTree .caret {
    cursor: pointer;
    user-select: none;
}

/* Hide the nested list */
#classificationTree .nested {
    display: none;
    padding-left: 15px;
}

/* Show the nested list when the user clicks on the caret/arrow (with JavaScript) */
#classificationTree .active {
    display: block;
}

#classificationTree .fa-chevron-right {
    color: lightgray;
}

#classificationTree .fa-chevron-down {
    color: #FAAF14;
}

/* Classification modal */
.classification-list-item {
    cursor: pointer
}

.classifications-modal {
    padding-right: 0px !important;
}

.classifications-modal .modal-dialog {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-top: 55px;
    max-width: 100%;
    width: 100%;
    max-height: calc(100vh - 55px);
    height: calc(100vh - 55px);
}

.classifications-modal .modal-content {
    max-width: 100%;
    width: 100%;
    border-radius: 0;
    height: 100%;
}

.classifications-modal .modal-footer {
    padding: 0;
    border: 0;
}

.classifications-modal .modal-body {
    padding: 0;
    overflow-y: hidden;
}

/*Files */
#poa-file-modal {
    font-size: 15px;
}

.poa-modal-padding {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 10px;
}

.poa-file {
    margin-bottom: 10px; 
    display: flex; 
    align-items: center;
}

.poa-file-item-data {
    white-space: nowrap;
    overflow: hidden;
}

.poa-file-date {
    color: #9C9B9C;
    font-size: 12px;
}

.poa-file-name {
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
}

.poa-file-icon {
    margin-right: 20px;
    margin-left: 4px;
    color: #DDDDDD;
}

.poa-close {
    border: 0;
    background-color: white;
    color: #444444;
}

.poa-add-file-btn, .poa-cancel-btn {
    height: 55px;
    border-radius: 0;
    border: 0;
}

.poa-add-file-btn {
    background-color: #FAAF14;
    color: white;
}

.poa-add-file-btn:hover {
    color: white;
}

.poa-cancel-btn {
    background-color: white;
    border-top: 3px solid #FAAF14;
}

.poa-cancel-btn i {
    color: #FAAF14;
}

.poa-close-modal-btn {
    background-color: white;
    border: none;
}

.poa-close-modal-btn i {
    color: #FAAF14;
}

.poa-file-connection-item {
    margin: 0;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    width: 100%;
    background-color: #e9ecef;
}

.poa-nav-tabs {
    border-bottom: 2px solid #ddd;
    margin-left: -15px;
    margin-right: -15px;
    overflow: hidden;
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.poa-nav-item{
    border: 0;
}

.poa-nav-link {
    border: 0;
    color: #212529;
}

.poa-nav-link:hover {
    border: 0;
    color: #212529;
}

.poa-nav-link:focus {
    border: 0;
    color: #212529;
}

.poa-nav-link.active {
    border: 0;
    border-bottom: 4px solid #faaf14 !important;
    color: #212529;
}

#poa-message-modal {
    padding-right: 15px;
    padding-left: 15px;
}

#poa-message-modal .modal-header {
    border-bottom: 0;
}

#poa-message-modal .modal-footer {
    border-top: 2px solid #DDD;
}

.poa-metadata-modal {
    padding-right: 15px;
    padding-left: 15px;
}

.poa-metadata-modal .modal-header {
    padding: 0.5rem 1rem;
    justify-content: end;
    border-bottom: 0;
}

.poa-metadata-modal .modal-content {
   height: 60%;
}

.poa-sort-icon {
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: .375rem .75rem;
    margin-bottom: 0;
    font-size: 1rem;
    color: #495057;
    padding-left: 0;
}

.poa-sort-options {
    border: 2px solid #DDDDDD;
    border-top: 0;
    position: absolute;
    right: 0;
    background-color: white;
    padding: 10px;
}

#filesSortSelect:focus {
    outline: 0 !important;
    box-shadow: none;
    border: 1px solid #ced4da;
}

.poa-sort-option{
    cursor: pointer;
}

.poa-sort-option.selected {
    color: #FAAF14;
}

#poa-files-list {
    height: 89%;
    overflow-y: scroll;
}

.poa-tab-content {
    margin-right: -15px;
    overflow-y: scroll;
    overflow-x: hidden;
}

/*Login*/
.poa-login {
    height: 100%;
    overflow: auto;
    float: right;
    width: 100%;
    padding: 30px 30px;
    padding-bottom: 0;
    background-color: white;
}

.poa-login-logo {
    width:70px;
    height: 70px;
}

.poa-login-logo-wrapper {
    display: inline-block;
    width: 80%;
}

.poa-login-partner-icons {
    display: inline-block;
}

.poa-login-title {
    font-size: 24px;
    line-height: 29px;
    font-weight: 600;
    letter-spacing: 0;
    margin-top: 7vh;
    margin-bottom: 3vh;
    color: #FAAF14;
}

.poa-login-submit {
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0;
    padding: 11px 20px;
    position: relative;
    cursor: pointer;
    transition: all 200ms ease;
    background-color: #FAAF14;
    border-color: #FAAF14;
    color: #FFF;
    text-decoration: none;
    border: 0;
    margin-bottom: 15px;
}

.poa-login-submit i {
    position: absolute;
    top: calc(50% - 7px);
    left: calc(50% - 7px);
    transform: translate(-50%, -50%);
}

.poa-login-submit:disabled {
    background-color: #F0F0F0;
}

.poa-login-form .field-validation-error {
    font-size: 14px;
}

.poa-login-form .has-error input {
    border-color: #BB5534;
}

.poa-login-validation,
.poa-login-form .has-error span,
.poa-login-form .has-error label {
    color: #BB5534;
}

.poa-login-form label {
    font-weight: 600;
    font-size: 14px;
    line-height: 19px;
}

.poa-login-form input {
    height: 40px;
    border: 1px solid #DDDDDD;
    font-weight: 300;
    border-radius: 0;
}

.poa-login-form input:focus {
    border: 1px solid #FAAF14 !important;
}

.poa-login-form input:-webkit-autofill,
.poa-login-form input:-webkit-autofill:hover,
.poa-login-form input:-webkit-autofill:focus,
.poa-login-form input:-webkit-autofill:active {
    border: 1px solid #FAAF14;
    -webkit-box-shadow: 0 0 0 30px #FFF8E9 inset !important;
}

.poa-login-links {
    margin-top: 35px;
}

.poa-login-link a {
    font-weight: 600;
    font-size: 13px;
    line-height: 24px;
    color: #444444;
    padding-bottom: 30px;
}

.poa-login-link {
    margin-bottom: 10px;
}

.poa-login-links p {
    margin-top: 33px;
}

.poa-login-copyright {
    font-size: 13px;
    color: #888888;
}

.poa-login-country{
    margin-bottom: 4px;
}

.poa-login-question {
    margin-top: 30px;
    margin-bottom: 15px;
    font: 15px;
}

.poa-login-country-img{
    max-width: 30px;
    max-height: 30px;
    margin-right: 10px;
}

.poa-login-country-name {
    cursor: pointer;
}

.poa-login-country-name:hover {
    color: #FAAF14;
}

/*Metadata select2*/
.select2 .select2-search--dropdown {
    padding: 0;
}

.select2-container--bootstrap .select2-search--dropdown .select2-search__field {
    border-radius: 0px !important;
    border-left: none;
    border-right: none;
    border-top: none;
    padding: 6px 12px 6px 12px;
    height: 34px;
}

.select2-container--bootstrap .select2-search--dropdown .select2-search__field:focus {
    border-radius: 0px !important;
}

select2-dropdown select2-dropdown--below {
    width: 600px !important;
}

.select2-dropdown-large {
    position: relative;
    overflow-x: unset !important;
}

.select2-results__option:hover {
    background-color: #FFF8E9 !important;
}

.select2-results__option:nth-child(2n+1):hover {
    background-color: #FFF8E9 !important;
}

.select2-results__option {
    background-color: #F9F9F9 !important;
    color: #444444 !important;
    padding: 0px !important;
}

.select2-results__option:nth-child(2n+1) {
   background-color: white !important;
}

.select-option-custom {
    padding: 8px 0 8px 6px;
    font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-size: 13px;
    height: 34px;
   /* border-bottom: 1px solid #DDDDDD;*/
    padding-right: 10px;
}

.option-column-gathering {
    height: 50px !important;
}

.gathering-text {
    font-size: 9px;
    margin: 5px 0px;
}

.select2HeaderCustom {
    background-color: #F1F2F4 !important;
    padding: 8px 0 8px 6px;
    font-weight: bold;
    font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 13px;
    color: #444444;
    height: 34px;
}

.rowHeader {
    width: 100%;
    background-color: #F1F2F4 !important;
    border-top: 2px solid #DDDDDD;
    border-bottom: 2px solid #DDDDDD;
}

.select2-container--bootstrap .select2-results > .select2-results__options {
   /* max-height: 400px !important;*/
    overflow-y: scroll !important;
    overflow-x: unset;
}

.select2-container--bootstrap .select2-dropdown {
    border-color: #DDDDDD !important;
    margin-top: 0px !important;
    background-color: #ffffff;
}

.select2-container--bootstrap .select2-dropdown input {
    background-color: #ffffff;
    color: #444444;
}

.select2-results__options {
    overflow-y: scroll;
    max-height: 200px;
}

.select2-results__options .row{
    display: flex;
    flex-wrap: nowrap;
    border-bottom: 1px solid #DDDDDD;
}

span[id^="select2-bank"] {
    font-size: small;
    font-weight: normal !important;
}

.select2-results {
    padding: 10px;
    box-shadow: 1px 1px 4px rgba(0,0,0, 0.16);
}

.select2-results__option--highlighted {
    background-color: #FFF8E9 !important;
}

.select2-results__option--highlighted:nth-child(2n+1) {
    background-color: #FFF8E9 !important;
}

.select2-container--bootstrap .select2-selection {
    border-radius: 0px !important;
    border: none !important;
    border-top: none !important;
}

.select2-container--bootstrap .select2-selection--single {
    color: #ddd;
    /*border-bottom: 1px solid #ddd;*/
    padding: 6px 0px 6px 0px;
}

.select2-container--bootstrap .select2-selection {
    -webkit-box-shadow: none !important;
}

.select2-selection--single .select2-selection__rendered {
    border-bottom: 1px solid #DDDDDD;
    padding: 1px 12px 6px 12px;
    color: #444444;
}

.select2-container--focus .select2-selection--single .select2-selection__rendered {
    border-bottom: 1px solid #FAAF14;
    color: #444444;
}

.select2-container--bootstrap .select2-selection--multiple .select2-selection__rendered {
    border-bottom: 1px solid #DDDDDD;
    color: #444444;
}

.select2-container--focus .select2-selection--multiple .select2-selection__rendered {
    border-bottom: 1px solid #FAAF14;
    color: #444444;
}

.select2-selection--multiple > ul > li:last-child > input {
    border-bottom: 0 !important;
}

.select2-container--bootstrap.select2-container--disabled .select2-selection, .select2-container--bootstrap.select2-container--disabled .select2-selection--multiple .select2-selection__choice {
    background-color: #F1F2F4;
}

.table-bordered .select2-selection__rendered {
    border-bottom: none;
}

.input-no-bottom-border .form-control {
    border-bottom: none !important;
}

.input-no-bottom-border .form-control:focus {
    border-bottom: 1px solid #FAAF14 !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 0;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    outline: none;
}

.select2-remove-float-right + span .select2-selection__choice__remove {
    float: right;
    margin-left: 5px;
    margin-right: 0;
}

@media (max-width: 767px) {
    .col-xs-6 {
        width: 50%;
    }

    .col-xs-4 {
        width: 33.3333%;
    }

    .col-xs-3 {
        width: 25%;
    }

    .col-xs-1 {
        width: 8.3333%;
    }
}