﻿
body {
    background-color: #f2f2f2;
    font-family: Arial, Helvetica, sans-serif;
}

#header {
    width: 100%;
    max-width: 30rem;
}


.header-section {
    flex: 1 1 0;
}


.header-divider {
    width: 1px;
    background-color: black;
}

.header-section:first-child > .logo {
    margin-right: 3.125rem;
}

.header-section:last-child > .header-text {
    margin-left: 3.125rem;
}

.header-text {
    font-size: 1.125rem;
    font-weight: 500;
}

.logo {
    width: 5.5rem;
    height: auto;
}


h1 {
    color: #003a5d;
    font-weight: 500;
}

#listing {
    width: 100%;
}

.selection_button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px 0;
    border: none;
    border-bottom: 1px solid #dcdcdc;
    background: none;
    font-size: 16px;
    color: #003a5d;
    text-align: left;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.selection_button:before {
    content: " ";
    width: 100%;
    height: 1px;
    background: #cccccc;
    display: inline-block;
    position: absolute;
    right: 0;
    bottom: 0;
    transform: translate3d(0, 0, 0);
    transition: transform 0.3s;
    }

.selection_button:hover::before {
    transform: translate3d(100%, 0, 0);
    }

.selection_button:after {
    content: " ";
    width: 100%;
    height: 1px;
    background: #1497ca;
    display: inline-block;
    position: absolute;
    right: 0;
    bottom: 0;
    transform: translate3d(-100%, 0, 0);
    transition: transform 0.3s;
    }

.selection_button:hover:after {
    transform: translate3d(0, 0, 0);
    }

.selection_button:hover {
    color: #1497ca;
    }

#listing .selection_button:first-child {
    border-top: 1px solid #dcdcdc;
}

.selection_button .chevron {
    width: 16px;
    height: 16px;
    display: inline-block;
    background-image: url("data:image/svg+xml;utf8,\
    <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'>\
    <path d='M6 3l4 5-4 5' stroke='%236c757d' stroke-width='2' fill='none' stroke-linecap='round'/>\
    </svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#qrCodeImage {
    width: 220px;
    height: 220px;
    object-fit: contain;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 8px;
    background-color: #fff;
}

#bankIdStatus {
    min-height: 24px;
}

#pnlScanQRCode {
    border-radius: 8px;
    max-width: 480px;
}

#pnlThisDevice {
    max-width: 480px;
}

#footer {
    color: #086995;
    text-align: center;
    font-size: 12px;
    margin-top: 80px;
}

#footer hr {
    margin: 25px 0;
    }

#footer a {
    color: #086995;
    text-decoration: none;
    }

#footer .footerlogga {
    background: url('/Content/Images/E-identitet-logo.png') center center no-repeat;
    background-size: contain;
    height: 33px;
    width: 100%;
    display: block;
    }

.footer-wrapper {
    max-width: 480px;
}

.bankid-logo {
    max-height: 120px;
    width: auto;
}


#header {
    text-align: center;
    padding-top: 30px;
    padding-bottom: 10px;
}

.error-text {
    color: #dc1150;
    display: none;
    font-size: 0.9em;
    margin-top: 7px;
}

.qr-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #313c58;
    margin: 20px 0;
}

.qr-divider::before,
.qr-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #bbb;
    margin: 0 10px;
    }

.loader-img {
    height: 20px;
}

#loginWrapper {
    max-width: 480px;
}