body {
    font-size: 1em;
}

.preloader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar_div {
    border-radius: 50% !important;
    overflow: hidden;
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 80%;
    max-width: 250px;
    margin: 0 auto 20px;
}

.avatar_div:before {
    content: "";
    display: block;
    padding-top: 100%;
}

.logo_div {
    border-radius: 5px !important;
    overflow: hidden;
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 80%;
    max-width: 250px;
    margin: 0 auto 20px;
}

.logo_div:before {
    content: "";
    display: block;
    padding-top: 100%;
}

label.text-sm-right {
    line-height: 32px;
    margin: 0;
}

@media only screen and (min-width: 1201px) and (max-width: 1700px) {
    #id_group_form .col-sm-3, #id_group_form .col-sm-9 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    label.text-sm-right {
        text-align: left !important;
    }
}

.form-element-wrapper .tag-container {
    min-height: calc(1.8125rem + 2px);
    height: auto;
    padding: 1px 5px;

}

.form-element-wrapper .tag-container ul.as-selections li.as-original input {
    border: 0;
    width: 100%;
    line-height: 25px !important;;
    height: 25px !important;
    padding-left: 6px;
    padding-right: 6px;
    color: #6c757d;
}

.form-element-wrapper .tag-container ul.as-selections li.as-original inputform-control::placeholder {
    color: #6c757d;
    opacity: 1;
}

.form-element-wrapper .tag-container ul.as-selections {
    padding: 0;
    background: transparent !important;
}

.form-element-wrapper .tag-container ul.as-selections li.as-selection-item {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 1px;
    margin-bottom: 1px;
    line-height: 23px;
}

.form-element-wrapper .tag-container ul.as-list {
    padding: 0;
    margin: 0;
}

.group-logo {
    width: 48px;
    height: 48px;
    background-color: #203a45;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 25px;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
}

.user-icon {
    width: 24px;
    height: 24px;
    background-color: #203a45;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
    float: left;
    margin-right: 8px;
    text-align: center;
}

.group-search-logo {
    width: 48px;
    height: 48px;
    background-color: #203a45;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 25px;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    border-radius: 5px;

}

.group-logo i {
    margin: 0 !important;
}

.group-table a {
    text-decoration: none;
}

.lookup-form {
    position: relative;
    width: 100%;
}

.lookup-form input {
    width: 100%;
}

.lookup-results {
    display: none;
    position: absolute;
    top: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
    z-index: 10000;
    width: 100%;
    border-radius: 5px;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 300px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, .2);
}

.lookup-results li {
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #DDDDDD;
}

.lookup-results li.message {
    text-align: center;
    color: #999;
    padding: 14px 10px;
}

.lookup-results li:last-child {
    border-bottom: 0 none;
}

.lookup-results li a {
    display: block;
    padding: .5rem .7rem;
    position: relative;
    min-height: 55px;
}

.lookup-results li a:hover {
    text-decoration: none;
    background: #2196f3;
}

.lookup-results li a:hover span, .lookup-results li a:hover span.link span.description {
    color: #FFF;
}

.lookup-results li a span.icon {
    position: absolute;
    top: 0;
    left: 0.5rem;
    width: 35px;
    height: 35px;
    font-size: 16px;
    background: #2196f3;
    background-size: cover;
}

.lookup-results li a span.link {
    display: flex;
    padding: 0 0 0 40px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
    min-height: 38px;
}

.lookup-results li a span.link span {
    display: block;
    text-align: left;
    width: 100%;
}

.lookup-results li a span.link span.name {
    font-weight: bold;
}

.lookup-results li a span.link span.description {
    color: #aaa;
    font-size: 95%;
}

.btn-orcid {
    color: #A6CE39 !important;
    background: #FFFFFF !important;
    border-color: #A6CE39 !important;
}

.btn-orcid:hover {
    color: #FFFFFF !important;
    background: #A6CE39 !important;
    border-color: #A6CE39 !important;
}

.is-invalid .form-control {
    border-color: #e53935;
}

.is-invalid .invalid-feedback {
    display: block;
}

.card-header-blue {
    color: #000;
}

.card-header-blue .card-title, .card-header-blue .card-subtitle {
   color: #000 !important;
}

.card-collapsed  .card-header {
    border-radius: .2rem;
}

.card-collapsed .card-title, .card-done .card-title {
    margin-top: 0.375em;
    margin-bottom: 0.375em;
}

.card-done .card-title {
    position: relative;
}
.card-done .card-title::after {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    position: absolute;
    right: 0;
    top: 0;
}

.card-collapsed .card-body, .card-collapsed .card-subtitle {
    display: none;
}

.card-collapsed  .card-header-blue {
    background: #FFF;
}

.card-collapsed .card-header-blue .card-title, .card-collapsed .card-header-blue .card-subtitle {
    color: #999 !important;
}

.card-collapsed  .card-header, .card-done .card-header {
    border-radius: .2rem;
}

.card-collapsed .card-body, .card-done .card-body {
    display: none;
}

.card-collapsed  .card-header-blue, .card-done  .card-header-blue {
    background: #FFF;
}

.card-done .card-header-blue {
    background: #30a322;
}

.card-collapsed .card-header-blue .card-title, .card-collapsed .card-header-blue .card-subtitle {
    color: #999 !important;
}

.invitation {
    color: #10bdd3;
}

.removing {
    background: #ff7e54;
}

svg {
    color: #FFFFFF;
}
.content {
    margin-top: 0;
}

.header {
    margin-top: 2em;
}

.member-link {
    padding: 5px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    color: #335869;
}

.member-link .group-logo {
    width: 64px;
    height: 64px;
    margin-right: 10px;
}

.member-link .member-name {
    color: #203a45;
}

.member-link .member-name strong {
    color: #203a45;
    display: block;
}

.member-link .member-name .member-position {
    color: #999;
    display: block;
}

.member-link .member-name .member-orcid {
    color: #999;
    font-size: 12px;
    display: block;
    white-space: nowrap;
}

.link-selected {
    background: linear-gradient(to right, #dbeafe, #e0e7ff) !important;
    color: #1f2937 !important;
}
.link-selected span, .link-selected strong, .link-selected a {
    color: #1f2937 !important;
}

.table td.left-cell, .table th.left-cell {
    padding-left: 1.3rem;
}

.table td.right-cell, .table th.right-cell {
    padding-right: 1.3rem;
}

.table td.nowrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.country-link {
    display: flex;
    padding: 2px 0 2px 5px;
    border-radius: 5px;
    text-decoration: none !important;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.country-link .flag-span {
    width: 50%;
    line-height: 1;
    font-size: 1em;
}
.country-link .flag-span .flag-icon {
    width: 100%;
    max-width: 1.33333333em;
    line-height: 1;
}
.country-link .h5 {
    margin: 0;
    padding: 0 0 0 5px;
    width: 50%;
    white-space: nowrap;
    text-align: left;
    line-height: 1;
}

text.keyword-node:hover { text-shadow: 1px 1px 3px rgba(0, 0, 0 ,0.3); cursor: pointer; }

text.keyword-node.active { text-shadow: 2px 2px 4px rgba(0, 0, 0 ,0.5); cursor: pointer; fill: #b30a0a !important; }

.gauge {
    border: 1px solid rgb(111,176,21);
    border-radius: 5px;
    padding: 1px;
}

.gauge div {
    border-radius: 3px;
    height: 10px;
    background: rgb(111,176,21);
    background: -moz-linear-gradient(100deg, rgba(111,176,21,1) 0%, rgba(73,122,5,1) 100%);
    background: -webkit-linear-gradient(100deg, rgba(111,176,21,1) 0%, rgba(73,122,5,1) 100%);
    background: linear-gradient(100deg, rgba(111,176,21,1) 0%, rgba(73,122,5,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#6fb015",endColorstr="#497a05",GradientType=1);
}

.orcid_link, .orcid_link:hover, .orcid_link:active {
    text-decoration: none;
    color: #a6ce39;
}

#group_collaboration_title {
    position: relative;
}

#group_collaboration_title .orcid_link {
    margin-left: 10px;
    border-left: 1px solid #E5E5E5;
    padding-left: 10px;
}

@media (max-width: 767px) {
    #group_collaboration_title .orcid_link {
        margin-left: 0;
        border-left: 0 none;
        padding-left: 0;
        margin-top: 3px;
        display: block;
    }
}
.hr {
    display: table;
    width: 100%;
    margin: 0 auto 1.5rem auto;
}
.hr .item {
    display: table-cell;
}
.hr .text {
    white-space: nowrap;
    width: 1%;
    padding: 0 10px 0 0;
    font-size: 12px;
    color: #cacaca;
    text-shadow: 0 1px 0 #FFF;
    font-weight: bold;
}
.hr .line {
    border-bottom: 1px solid #d0d0d0;
    box-shadow: 0 1px 0 #FFFFFF;
    position: relative;
    top: -.5rem;
}

.overflow-hidden {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FFF;
    z-index: 10500;
    box-sizing: border-box;
    padding: 20px;
}

.fullscreen-modal .modal-content {
    height: 100%;
    width: 100%;
}
.fullscreen-modal .popup-close {
    position: absolute;
    margin: 25px 30px;
    z-index: 10600;
    top: 0;
    right: 0;
    cursor: pointer;
    font-size: 1.5em;
    color: #333;
}

.fullscreen-modal .popup-close a {
    color: #333;
}

.fullscreen-modal .popup-close a:hover {
    color: #0a6ebd;
}

.empty-table {
    text-align: center;
    padding: 2em 1.3em !important;
    color: #999;
    font-size: 1.1em;
    background-color: #FFFFFF !important;
}

.lookup-form input:focus {
    background: rgba(255,255,255,.3);
    width: 100%;
    border-radius: .2rem;
}

.row_hint {
    display: block;
    font-size: 0.85em;
    line-height: 0.9em;
}

.table-hover tbody tr:hover {
    color: #203a45;
    background-color: rgba(0,0,0,.1);
}

.navbar-expand {
    min-height: 64px;
}

.avatar_exists {
    cursor: pointer;
}

.avatar_exists:hover::after {
    content: "\f304";
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    width: 250px;
    height: 250px;
    line-height: 250px;
    text-align: center;
    font-size: 33px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .7);
    background-color: rgba(234, 121, 36, .7);
}

.avatar-image {
    width: 100%;
}

.form-control-file {
    line-height: 15px;
}
.input-xl {
    height: 46px;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333333;
    border-radius: 6px;
}
.btn-xl {
    height: 46px;
    padding: 10px 16px;
    line-height: 1.3333333;
    font-size: 1rem;
    border-radius: 6px;
}

.dashboard-lookup-results {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
}

.dashboard-lookup-results li {
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #DDDDDD;
}

.dashboard-lookup-results li.message {
    text-align: center;
    color: #999;
    padding: 14px 10px;
}

.dashboard-lookup-results li:last-child {
    border-bottom: 0 none;
}

.dashboard-lookup-results li a {
    display: block;
    padding: .5rem .7rem;
    position: relative;
    min-height: 55px;
}

.dashboard-lookup-results li a:hover {
    text-decoration: none;
    background: #2196f3;
}

.dashboard-lookup-results li a:hover span, .dashboard-lookup-results li a:hover span.link span.description {
    color: #FFF;
}

.dashboard-lookup-results li a span.icon {
    position: absolute;
    top: 0;
    left: 0.5rem;
    width: 35px;
    height: 35px;
    font-size: 16px;
    background: #2196f3;
    background-size: cover;
}

.dashboard-lookup-results li a span.link {
    display: flex;
    padding: 0 0 0 40px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
    min-height: 38px;
}

.dashboard-lookup-results li a span.link span {
    display: block;
    text-align: left;
    width: 100%;
}

.dashboard-lookup-results li a span.link span.name {
    font-weight: bold;
}

.dashboard-lookup-results li a span.link span.description {
    color: #aaa;
    font-size: 95%;
}

.team-logo {
    background: #FFF;
    display: inline-block;
}

.team-logo img {
    max-height: 80px;
    max-width: 100%;
}

.btn.disabled {
    background-color: #666 !important;
    border-color: #666 !important;
}