/**
 * Copyright (c) Istituto Nazionale di Fisica Nucleare (INFN). 2016-2021
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
#iam-content {
    height: calc(100vh - 50px);
    overflow: auto;
}

.main-sidebar {
    height: calc(100vh - 50px);
}

.absolute-center {
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.absolute-center.is-responsive {
    min-width: 400px;
    padding: 40px;
}


#logo-container a {
    display: block;
    width: 100%;
    height: 100%;
}

.ext-authn-info {
    margin: 0 auto;
    padding-top: 2em;
    text-align: justify;
    max-width: 400px;
    font-size: larger;
}

#registration-form {
    padding-top: 2em;
    margin: 0 auto;
    max-width: 400px;
}

.btn-google {
    text-align: center !important;
}

.social-authn {
    text-align: center;
}

#login-form {
    padding-top: 2em;
    margin: 0 auto;
    max-width: 250px;
}

.verify-form {
    padding-top: 1em;
    margin: 0 auto;
    max-width: 250px;
}

#sign-aup-form {
    padding-top: 2em;
    margin: 0 auto;
    width: 90%;
}

#sign-aup-form p {
    font-size: larger;
    text-align: justify;
}

#sign-aup-form .aup-text {
    font-size: x-large;
    text-align: justify;
}

#sign-aup-form .sign-aup-url {
    text-align: center;
}

#sign-aup-form .sign-aup-btns {
    margin-top: 2em;
    font-size: x-large;
    text-align: center;
}

#sign-aup-form #sign-aup-subtitle {
    text-align: center;
}

#login-error {
    margin: 0 auto;
    max-width: 400px;
}

#verify-error {
    margin: 0 auto;
    max-width: 400px;
}

#login-external-authn {
    margin: 0 auto;
    padding-top: 2em;
    text-align: center;
    max-width: 250px;
}

#login-external-authn .btn {
    margin-top: 10px;
    text-align: center;
}

#login-registration {
    padding-top: 2em;
    margin: 0 auto;
    text-align: center;
    max-width: 250px;
}

#verify-registration-form {
    padding-top: 2em;
    margin: 0 auto;
    text-align: justify;
    max-width: 400px;
}

#verify-registration-form p {
    font-size: larger;
}

#register-confirm-message {
    padding-top: 2em;
    margin: 0 auto;
    text-align: justify;
    max-width: 400px;
}

#register-confirm-message p {
    font-size: larger;
}

#register-confirm-message p.error {
    text-align: left;
    font-weight: bold;
}

#register-confirm-back-btn {
    margin-top: 2em;
}

#verify-confirm {
    margin-top: 2em
}

.reset-password-form {
    margin: 0 auto;
    max-width: 400px;
}

.text-wrapped {
    word-break: break-all;
}

[ng\:cloak],
[ng-cloak],
[data-ng-cloak],
[x-ng-cloak],
.ng-cloak,
.x-ng-cloak {
    display: none !important;
}

.profile-user-img {
    background-position: center center;
    background-repeat: no-repeat;
}

.footer-indigo-logo {
    margin: 0px;
    margin-top: -7px;
    margin-right: 5px;
    padding: 0px;
    width: 30px;
}

aside {
    background: #222d32;
}

body.skin-blue {
    background-color: #222d32;
}

.content-wrapper {
    background-color: #ecf0f5;
}

.toast-top-center {
    top: 5px !important;
}

#toast-container>div {
    margin: 0 0 6px;
    padding: 15px 15px 15px 50px;
    min-width: 300px;
    max-width: 500px;
    -moz-border-radius: 3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;
    border-radius: 3px 3px 3px 3px;
    background-position: 15px center;
    background-repeat: no-repeat;
    -moz-box-shadow: 0 0 12px #999999;
    -webkit-box-shadow: 0 0 12px #999999;
    box-shadow: 0 0 12px #999999;
    color: #ffffff;
    opacity: 1;
    -ms-filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=100);
    filter: alpha(opacity=100);
}

.main-header .navbar {
    margin-left: 0;
}

.main-header .logo-sm {
    float: left;
    height: 50px;
    font-size: 20px;
    line-height: 50px;
    text-align: center;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    padding: 0 15px;
    font-weight: 300;
    overflow: hidden;
    color: #ffffff;
    border-bottom: 0px solid transparent;
}

.version-info {
    text-align: center;
    position: absolute;
    color: #b8c7ce;
    background: #1a2226;
    bottom: 0;
    padding: 15px;
    width: 230px;
    height: 50px;
    font-size: 12px;
}

.subjectDn {
    font-weight: 600;
}

.issuerDn {
    margin-top: .2em;
    font-size: smaller;
    color: #4b646f;
}

#x509-authn-info {
    max-width: 400px;
    margin: 0 auto;
    margin-top: 2em;
    text-align: center;
}

#login-custom-content {
    max-width: 600px;
    margin: 0 auto;
    margin-top: 2em;
    text-align: center;
}

.saml-icon {
    font-weight: bolder;
}

.iam-tab-row {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f4f4f4;
}

.iam-tab-row:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.iam-user-group-row,
.iam-div-row {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f4f4f4;
}

.iam-user-group-row:last-of-type,
.iam-div-row:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.link-external-account {
    width: 300px;
    margin-top: 10px;
    float: none;

    margin: 2em auto;
}

.btn-link-external-account {
    margin-bottom: 5px;
}

.iam-linked-account {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f4f4f4;
}

.iam-linked-account:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.btn-login {
    background-color: white;
    border-color: #ddd;
    color: inherit;
}

.btn-verify {
    background-color: white;
    border-color: #ddd;
    color: inherit;
}

.btn-login:hover {
    background-color: white;
}

.btn-verify:hover {
    background-color: white;
}

.login-image-size-SMALL {
    margin-left: 5px;
    height: 22px;
}

.login-image-size-MEDIUM {
    margin-left: 5px;
    height: 44px;
}

.login-image-size-LARGE {
    margin-left: 5px;
    height: 66px;
}

.extn-login-preamble {
    margin-top: 1em;
}

.signin-preamble {
    margin-bottom: 1em;
    text-align: center;
}

.verify-preamble {
    margin-bottom: 1em;
    text-align: center;
}

.registration-preamble {
    margin-bottom: 1em;
}

.btn-social {
    padding-left: 0px;
}

.page-counter {
    margin-right: 10px;
    margin-top: 26px;
    display: inline;
    vertical-align: middle;
}

.table-msg {
    margin-top: 30px;
}

.no-border-top {
    border-top: none !important;
}

.first-no-border-top:first-child {
    border-top: none !important;
}

.text-larger {
    font-size: 115%;
}

.group-description {
    margin-top: .5em;
    float: left;
}

.missing {
    color: #999999;
}

.group-description-edit {
    float: left;
    margin-top: .5em;
    margin-left: 5px;
}

.label-pair {
    margin-bottom: 2px;
    max-width: 100%;
    margin-right: .5em;
}

#group-labels-container {
    margin-top: 5px;
}

.label-pair .label:first-child {
    border-radius: 2px 0 0 2px;
}

.label-pair .label-value {
    border-radius: 0 0 0 0;
}

.label-pair .label:last-child {
    border-radius: 0 2px 2px 0;
}

.label-pair .label-key {
    background-color: #bee1f4;
    color: #00659c;
    padding-top: 4px;
    padding-bottom: 4px;
    margin-left: 0;
    font-size: 12px;
}

.label-pair .label-value {
    background-color: #7dc3e8;
    color: #FFF;
    margin-left: 0;
    padding-top: 4px;
    padding-bottom: 4px;
    font-size: 12px;
}

.label-pair .label-op {
    padding-top: 4px;
    padding-bottom: 4px;
    margin-left: 0;
    font-size: 12px;
    display: none;
}

.label-pair:hover .label-op {
    display: inline;
}

.label-pair .iam-label {
    min-width: 50px;
}

.iam-label-prefix {
    color: #999999;
    font-size: smaller;

}


[ng-click],
[data-ng-click],
[x-ng-click] {
    cursor: pointer;
}

.request-icon {
    color: #999;
}

.table-selector {
    width: 40px;
}

.table .username {
    position: relative;
}

.table .username a {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
    position: absolute;
}

.username:before {
    content: '';
    display: inline-block;
}

#req_pagination_top {
    display: inline !important;
    padding-left: inherit;
    margin: inherit;
}

.request-notes {
    margin-top: 1em;
}

.req-approve {
    width: 90px;
}

#vo-reqs {
    table-layout: fixed;
    word-wrap: break-word;
}

.registration-box {
    height: calc(100vh - 50px);
}

@media (max-width: 767px) {
    #vo-reqs .form-inline .form-control {
        display: inline-block;
        width: auto;
        vertical-align: middle;
    }

    #vo-reqs .form-inline .form-group {
        display: inline-block;
        margin-bottom: 0;
        vertical-align: middle;
    }

    #vo-reqs {
        border: 0;
    }

    .request-detail {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        max-width: 200px;
    }
}

@media (max-width: 567px) {
    .request-detail {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        max-width: 120px;
    }
}

.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}

.bs-callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}

.bs-callout p:last-child {
    margin-bottom: 0;
}

.bs-callout code {
    border-radius: 3px;
}

.bs-callout+.bs-callout {
    margin-top: -5px;
}

.bs-callout-default {
    border-left-color: #777;
}

.bs-callout-default h4 {
    color: #777;
}

.bs-callout-primary {
    border-left-color: #428bca;
}

.bs-callout-primary h4 {
    color: #428bca;
}

.bs-callout-success {
    border-left-color: #5cb85c;
}

.bs-callout-success h4 {
    color: #5cb85c;
}

.bs-callout-danger {
    border-left-color: #d9534f;
}

.bs-callout-danger h4 {
    color: #d9534f;
}

.bs-callout-warning {
    border-left-color: #f0ad4e;
}

.bs-callout-warning h4 {
    color: #f0ad4e;
}

.bs-callout-info {
    border-left-color: #5bc0de;
}

.bs-callout-info h4 {
    color: #5bc0de;
}

.group-select-name {
    font-size: 16pt;
}

.group-select-description {

}

.group-select-labels {
    margin-top: 1em;
    margin-bottom: 1em;
    border-bottom: 1px;
}

.add-group-form{
    
}

.btn-deny {
    background-color: #b94a48;
    border-color: #8b0000;
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.btn-deny:active,
.btn-deny:focus,
.btn-deny:hover {
  background-color: #8b0000;
  color: #fff;
}

.list {
    width: 250px;
    margin: auto;
    text-align: left;
  }
  
.more-info {
   width: 370px;
   margin: 0 auto;
   overflow-y: auto;
   padding: 19px;
   text-align: left;
   font-size: 13px;
   background-color: #f5f5f5;
   border: 1px solid lightgrey;
   border-top-left-radius: 5px;
   border-top-right-radius: 5px;
   border-bottom-left-radius: 5px;
   border-bottom-right-radius: 5px;
}

.scopes-box {
    width: 370px;
    margin: 0 auto;
    padding: 19px;
    text-align: left;
    background-color: #ffffff;
    border: 1px solid lightgrey;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.container-spacer {
    padding-top: 1em !important;
}
