.bioportal-btn {
    background-color: #0071E3 !important;
    border: solid 1px #0071E3;
    border-radius: 24px;
    cursor: pointer;
    color: white !important;
    display: block;
    font-weight: 400;
    padding: 10px 30px;
    text-align: center;
    text-decoration: none !important;
    width: 100%;
    transition: all 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.bioportal-btn.arrow-right {
    display: inline-flex;
}

.bioportal-btn.arrow-right:after {
    color: inherit;
    content: '\f078';
    font: 10px / 1 'FontAwesomeProRegular';
    margin: auto 0;
    padding-left: 5px;
}

.bioportal-btn.external-link-right {
    display: inline-flex;
}

.bioportal-btn.external-link-right:after {
    content: '\f08e';
    font: 12px / 1 'FontAwesomeProLight';
    margin: auto 0;
    padding-left: 5px;
}

.bioportal-btn.no-animation {
    transition: none;
}

.bioportal-btn.tight {
    width: fit-content !important;
}

.bioportal-btn.loose {
    width: 100% !important;;
}

.bioportal-btn:hover {
    color: white;
    opacity: 0.7;
}

.bioportal-btn.primary {
    background-color: #0071E3 !important;
    color: white !important;
}

.bioportal-btn-primary:hover {
    color: white;
    opacity: 0.7;
}

.bioportal-btn.secondary {
    color: #0071E3 !important;
    background-color: white !important;
}

.bioportal-btn.secondary:hover {
    background-color: #0071E3 !important;
    color: white !important;
    opacity: 1;
}

.bioportal-btn.secondary.old {
    border-color: #5fa2dd !important;
    color: #2a6aa5 !important;
    background-color: white !important;
}

.bioportal-btn.secondary.old:hover {
    background-color: #5fa2dd !important;
    color: white !important;
    opacity: 1;
}

.bioportal-btn.tertiary {
    color: dimgrey !important;
    background-color: transparent !important;
    border: solid 1px gray;
}
.bioportal-btn.tertiary:hover {
    background-color: rgba(128, 128, 128, 0.25) !important;
    opacity: 1;
}


.bioportal-btn.sm {
    padding: 6px 18px;
    justify-content: center;
    width: fit-content;
}


.bioportal-btn .x-btn-inner-default-small {
    color: inherit;
    padding: 0;
}

.bioportal-btn .x-btn-inner-default-toolbar-small{
    color: inherit;
}

.bioportal-btn .x-btn-icon-el-default-small{
    color: inherit;
}

.bioportal-btn .x-menu-item-text-default{
    line-height: normal !important;
}

.bioportal-btn .x-menu-item-text-default.x-menu-item-indent-no-separator{
    margin: 0 auto;
}

.gsi-material-button {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-appearance: none;
    background-color: WHITE;
    background-image: none;
    border: 1px solid #747775;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #1f1f1f;
    cursor: pointer;
    font-family: 'Roboto', arial, sans-serif;
    font-size: 14px;
    height: 40px;
    letter-spacing: 0.25px;
    outline: none;
    overflow: hidden;
    padding: 0 12px;
    position: relative;
    text-align: center;
    -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
    transition: background-color .218s, border-color .218s, box-shadow .218s;
    vertical-align: middle;
    white-space: nowrap;
    width: 100%;
    /*max-width: 400px;*/
    min-width: min-content;
}

.gsi-material-button .gsi-material-button-icon {
    height: 20px;
    margin-right: 12px;
    min-width: 20px;
    width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
    -webkit-align-items: center;
    align-items: center;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    height: 100%;
    justify-content: space-between;
    position: relative;
    width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
    -webkit-flex-grow: 1;
    flex-grow: 1;
    font-family: 'Roboto', arial, sans-serif;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
    -webkit-transition: opacity .218s;
    transition: opacity .218s;
    bottom: 0;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.gsi-material-button:disabled {
    cursor: default;
    background-color: #ffffff61;
    border-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
    opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
    opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state,
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
    background-color: #303030;
    opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
    -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
    background-color: #303030;
    opacity: 8%;
}