﻿
a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.form-upload-displayname {
    max-width: 480px;
}

.form-upload-description {
    max-width: 480px;
    height: 300px;
}

.form-upload-description {
    max-width: 480px;
    height: 300px;
}


html {
    font-size: 14px;
    position: relative;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}

.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

header a {
    margin: 0 2px;
    text-decoration: none;
    color: cornflowerblue !important;
}

/* Footer styles */

.footer {
    width: 100%;
    white-space: nowrap;
    line-height: 30px;
    background: #3e4753;
    border-top: none;
    padding: 10px 0 5px;
}

@media (min-width: 768px) {
    .footer {
        line-height: 40px;
    }
}

@media (min-width: 992px) {
    .footer {
        line-height: 50px;
    }
}

.footer a {
    margin: 0 2px;
    text-decoration: none;
    color: cornflowerblue !important;
}

.footer .footerText {
    font-size: 14px;
    color: #ffffff;
}

.footer .social {
    color: #ffffff;
    font-size: 1.25em;
}

.footer .cookieConsent {
    line-height: normal;
    white-space: normal;
    padding: 15px 0 0 15px;
    position: absolute;
    bottom: 75px;
    width: 25rem;
}

.footer .footerTop {
    padding: 40px 0;
    background: #585f69;
}

.footer .footerTop {
    color: #eee;
}

.footer .footerTop h2 {
    color: #ffffff;
    font-size: 40px;
    font-weight: 200;
}

.footer address {
    color: #eee;
    font-size: 14px;
}

.footer address {
    line-height: 23px;
}

.footer .footerTop a:hover {
    text-decoration: underline;
    color: cornflowerblue !important;
}

.footer .footerTop a {
    margin: 0 2px;
    text-decoration: none;
    color: cornflowerblue !important;
}

.footer .footerBottom {
    background: #3e4753;
    border-top: none;
    padding: 10px 0 5px;
}

.footer .footerBottom {
    color: #eee;
    font-size: 14px;
}

.footer .footerBottom a {
    margin: 0 2px;
    text-decoration: none;
    color: cornflowerblue !important;
}

.footer .footerBottom a:hover {
    text-decoration: underline;
    color: cornflowerblue !important;
}

/* Card Layout */

.cardHeader {
    border: 0;
}

.cardTitle {
    color: black;
    font-weight: bold;
    margin-left: 15px
}

.cardCaption {
    color: black;
    font-weight: bold;
}

.signin-card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    align-items: center; 
    text-align: center; 
    height: 400px;
    padding-top: 40px;
}

.signin-card-body p:first-of-type {
    margin-top: 0; 
}

.signin-button-container {
    flex-grow: 1; 
    display: flex;
    align-items: center;
    justify-content: center;
}



.revokeCookieConsent:focus {
    margin: 0 2px;
    text-decoration: none;
    color: cornflowerblue !important;
}

.revokeCookieConsent:hover {
    text-decoration: underline;
    color: cornflowerblue !important;
}

.btn-link.revokeCookieConsent {
    text-decoration: none;
    color: cornflowerblue !important;
    font-size: 14px;
    padding: 0 0 5px 0;
}

.btn-link.revokeCookieConsent:hover {
    text-decoration: underline;
    color: cornflowerblue !important;
    font-size: 14px;
    padding: 0 0 5px 0;
}



/** SIVA Toolkit Purchase Multi Step Form **/

.d-none {
    display: none;
}

.form-step {
    /*border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;*/
    /*padding: 1rem;*/
}


ul.form-stepper {
    counter-reset: section;
    margin-bottom: 3rem;
}

    ul.form-stepper .form-stepper-circle {
        position: relative;
    }

        ul.form-stepper .form-stepper-circle span {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translateY(-50%) translateX(-50%);
        }

.form-stepper-horizontal {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

ul.form-stepper > li:not(:last-of-type) {
    margin-bottom: 0.625rem;
    -webkit-transition: margin-bottom 0.4s;
    -o-transition: margin-bottom 0.4s;
    transition: margin-bottom 0.4s;
}

.form-stepper-horizontal > li:not(:last-of-type) {
    margin-bottom: 0 !important;
}

.form-stepper-horizontal li {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: start;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

    .form-stepper-horizontal li:not(:last-child):after {
        position: relative;
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        height: 1px;
        content: "";
        top: 32%;
    }

    .form-stepper-horizontal li:after {
        background-color: #dee2e6;
    }

    .form-stepper-horizontal li.form-stepper-completed:after {
        background-color: #4da3ff;
    }

    .form-stepper-horizontal li:last-child {
        flex: unset;
    }

ul.form-stepper li a .form-stepper-circle {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-right: 0;
    line-height: 1.7rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.38);
    border-radius: 50%;
}

.form-stepper .form-stepper-active .form-stepper-circle {
    background-color: #4361ee !important;
    color: #fff;
}

.form-stepper .form-stepper-active .label {
    color: #4361ee !important;
}

.form-stepper .form-stepper-active .form-stepper-circle:hover {
    background-color: #4361ee !important;
    color: #fff !important;
}

.form-stepper .form-stepper-unfinished .form-stepper-circle {
    background-color: #f8f7ff;
}

.form-stepper .form-stepper-completed .form-stepper-circle {
    background-color: #0e9594 !important;
    color: #fff;
}

.form-stepper .form-stepper-completed .label {
    color: #0e9594 !important;
}

.form-stepper .form-stepper-completed .form-stepper-circle:hover {
    background-color: #0e9594 !important;
    color: #fff !important;
}

.form-stepper .form-stepper-active span.text-muted {
    color: #fff !important;
}

.form-stepper .form-stepper-completed span.text-muted {
    color: #fff !important;
}

.form-stepper .label {
    font-size: 1rem;
    margin-top: 0.5rem;
    text-decoration: none;
}

.form-stepper a {
    cursor: default;
    text-decoration: none;
}


.summaryStepLabel {
    border: none;
    background-color: transparent;
    width: 100%;

}

.pageCardTitle {
    color: var(--simcyp-black);
    font-size: 26px;
    font-weight: bold;
}

.cardheader {
    padding: 0.5rem 1rem;
    margin-bottom: 0;
    background-color: rgb(52, 152, 219);
    color: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.purchaseInfoCard {
    background-color: rgb(217, 237, 247);
    color: black;
}

.purchasecard-subtitle {
    color: rgb(104, 117, 145);
}

.required:after {
    content: " *";
    color: red;
    padding-bottom: calc(0.375rem + 1px);
}

/** Licence Renewals **/

.bg_infoLight {
    background-color: lightsteelblue !important;
}

.bg_displayLight {
    background-color: #ffe6e6 !important;
}

.bg_cardboxLight {
    background-color: #f2f2f2 !important;
}

/** datatable status columns colors **/

.columnStatusDefault {
    color: var(--simcyp-default);
}

.columnStatusPending {
    color: var(--simcyp-danger);
}

.columnStatusDraft {
    color: var(--simcyp-info);
}

.columnStatusNeedsMod {
    color: var(--simcyp-warning);
}

.columnStatusPublished {
    color: var(--simcyp-success);
}

a:link {
    text-decoration: none;
}

.entryRequired:after {
    content: "*";
    color: red;
}