@charset "UTF-8";

html, body {
    height: 100%;
}

body {
    font-family: "Source Sans 3", sans-serif;
    font-size: 16px;
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1 0 auto;
}

header {
    background: #262626;
}

.header-brand {
    padding: 17px 20px 20px 20px;
    position: relative;
}

.header-brand-title a > img {
    width: 438px;
    max-width: 100%;
}

.main-section {
    padding: 1rem;
    margin-left: -15px;
    margin-right: -15px;
}


.main-content {
    max-width: 1600px;
    margin: auto;
}

.info h1 {
    font-size: 23px;
    font-weight: bold;
}

label {
    font-weight: bold;
    margin-bottom: 0.2rem;
}

.header-lang {
    color: #fff;
    font-size: 14px;
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    margin-top: 20px;
    margin-right: 20px;
    line-height: 1em;
}

.header-lang .list-inline-item:not(:last-child) {
    margin-right: 4px;
    padding-right: 4px;
    border-right: 1px solid #8e8e8e;
}

.header-lang .active {
    font-weight: bold;
    text-decoration: underline;
}

.header-lang a, .header-lang a:hover {
    color: #fff;
    text-decoration: none;
}

.header-ribbon {
    width: 100px;
    height: 100%;
}

.ribbon {
    width: 150px;
    position: absolute;
    top: 15px;
    left: -40px;
    font-size: 1.2em;
    text-align: center;
    line-height: 30px;
    letter-spacing: 1px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.ribbon.int {
    background: yellow;
}

.ribbon.qas {
    background: #D52826;
}

.ribbon.prod {
    display: none;
}

.btn-primary {
    background-color: #D52826 !important;
    color: #fff !important;
    border-color: #D52826 !important;
}

.btn-primary:hover {
    background-color: #FFFFFF !important;
    color: #D52826 !important;
    border-color: #D52826 !important;
}

.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.has-error .form-control {
    border-color: #D52826;
}

.control-label.required:after {
    color: #D52826;
    content: "*";
    font-size: 15px;
    font-weight: bold;
    position: absolute;
    margin-left: 8px;
}


.zocial {
    color: #262626;
    display: flex;
    align-items: center;

}

a.zocial {
    height: 54px;
}


.zocial:hover {
    text-decoration: none !important;
    color: #262626 !important;
}

.zocial .title {
    display: flex;
    align-items: center;
}

.zocial.agov {
    border: 4px solid #501eb6;
    height: 91px;
}


.zocial.agov .title img {
    height: 80px;
    margin-top: 2px;
    margin-left: 3px;
    margin-bottom: 1px;
}

.zocial.agov .title span {
    font-size: 45px;
    padding-left: 75px;
}

.zocial.agov:hover {
    background-color: #CBBCE9;
}


.zocial.agov:hover .title {
    color: #FFFFFF !important;
}

.zocial.agov:hover .title span {
    color: #FFFFFF !important;
}


.zocial.swissid {
    border: 2px solid #FE0000 !important;
}

.zocial.swissid .title img {
    height: 54px;
}

.zocial.swissid .title span {
    vertical-align: middle;
    font-weight: bold;
    font-size: 20px;
    padding-left: 50px;
}

.zocial.swissid:hover {
    background-color: #F47373;
}

.zocial.swissid:hover .title {
    color: #FFFFFF !important;
}

.zocial.swissid:hover .title span {
    color: #FFFFFF !important;
}

.zocial.ictvs {
    border: 2px solid #6C757D !important;
}

.zocial.ictvs .title img {
    height: 50px;
}

.zocial.ictvs .title span {
    vertical-align: middle;
    font-weight: bold;
    font-size: 20px;
    padding-left: 30px;
}

.zocial.vsid-ldap {
    border: 2px solid #6C757D !important;
    margin-bottom: 0;
    margin-top: 0;
    padding: 8px !important;
    padding-left: 50px !important;
}


.zocial.vsid-ldap .title span {
    font-weight: bold;
    font-size: 20px;
    display: contents;
    width: 100%;
}

.zocial:hover {
    background-color: #6C757D;
}

.zocial:hover .title {
    color: #FFFFFF !important;
}

.zocial:hover .title span {
    color: #FFFFFF !important;
}

.ui-password-meter {
    height: 10px;
    background: transparent url("../img/password-meter.png") no-repeat left top;
    padding: 0;
    margin: 0;
}

a {
    color: #e31e10;
}

a:hover {
    color: #b3180d;
}

.bg-black {
    background-color: #262626;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background-color: #f8f9fa !important;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.display-4 {
    font-size: 3.5rem;
    font-weight: 500;
}

.card {
    border: 2px solid rgba(0, 0, 0, .125);
}

.identityInfo {
    padding-top: 5px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 0.9rem;
    line-height: 1.2;
}



footer {
    background: #FFFFFF;
    border-top: solid 1px #262626;
    padding: 15px;
    position: relative;
}

footer .footer-logo {
    float: left;
    margin-right: 30px;
    width: 130px
}

footer .footer-logo img {
    width: 130px;
}

footer .footer-links {
    float: left;
    margin: 20px 0 0 12px
}

footer .footer-links a {
    color: #262626;
    text-decoration: none;
}

footer .footer-links a:hover, footer .footer-links a:focus {
    color: #262626;
    text-decoration: underline;
}

footer .footer-links ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

footer .footer-logo-right {
    float: right;
    margin-left: 0;
    margin-right: 0 !important;
    width: 100px;
}

footer .footer-logo-right img {
    height: 64px
}

footer .footer-logo-right.footer-logo-canton {
    margin-left: auto;
}

footer .footer-logo:first-child img {
    margin-top: 8px;
}

footer .footer-links li {
    margin-right: 48px
}

.mycard {
}

.mycard .card-title {
    font-size: 20px;
    font-weight: bold;
}

.mycard .card-body {
    padding-top: 1rem;
    padding-bottom: 0;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}


@media (max-width: 767px) {
    .main-section {
        padding: 1rem 1rem 0 1rem !important;
    }

    .info {
        margin-top: 1.5rem !important;
    }

    .display-4 {
        font-size: 2.5rem !important;
    }

    .header-brand {
        padding-bottom: 15px;
    }

    .header-brand-title {
        padding-top: 20px;
    }

    .zocial.agov {
        border: 3px solid #501eb6 !important;
    }

    .zocial.agov .title img {
        height: 80px;
        margin-top: 2px;
        margin-left: 2px;
        margin-bottom: 2px;
    }

    .zocial.agov .title span {
        font-size: 30px;
        padding-left: 75px;
    }

    .zocial.swissid .title {
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .zocial.vsid-ldap {
        border: 2px solid #6C757D !important;
        margin-bottom: 0;
        margin-top: 0;
        padding: 8px !important;
    }


    footer .footer-logo img {
        width: 85px;
    }

    footer .footer-links {
        font-size: 15px;
        margin-top: 0;
        width: -webkit-fill-available;
    }

    footer .footer-links ul:after {
        content: "";
        display: block;
        clear: both
    }

    footer .footer-links li {
        margin-right: 3%;
        width: 100%;
        padding: 3px 0
    }

    footer .footer-logo img {
        margin-top: 10px
    }

    footer .footer-logo {
        margin-right: 30px;
        width: 85px
    }

    footer .footer-logo-right.footer-logo-canton {
        margin-left: 30px
    }
}

@media (min-width: 768px) {
    footer {
        margin-top: 0;
        display: flex;
        flex-direction: row;
    }
}
