﻿.mitIdButtonField:hover,
.mitIdButtonField:focus,
.mitIdButtonField:active {
    background-color: #000 !important;
    color: #fff !important;
    cursor: pointer;
}

.btn_black_tab {
    color: #fff;
    background-color: #000;
}

    .btn_black_tab:focus {
        color: #fff;
        background-color: #000;
    }

/* CSS for mobile devices */
.login-option {
    width: 100%;
    text-align: center;
    margin: 8px 0; /* Add space between buttons. Adjust as needed. */
}

.btn {
    font-family: "ralewaylight",sans-serif;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    -webkit-appearance: none;
    border: none;
    outline: none;
    display: inline-block;
    text-decoration: none !important;
}

.btn_40 {
    font-size: 14px;
    line-height: 16px;
    padding: 12px;
    font-family: "ralewaymedium",sans-serif;
}

@media screen and (max-width: 480px) {
    .login-option button,
    .btn_green,
    .btn,
    .btn_rounded,
    .btn_40 {
        width: calc(100% - 5px); /* Adjust for the added 5px padding on each side */
        box-sizing: border-box;
        height: 40px; /* Set the button height. Adjust as needed. */
        border-radius: 5px; /* Slightly round corners. Adjust as needed. */
    }

    .btn_100 {
        font-size: 20px;
        line-height: 0px;
    }
}

/* CSS for desktop devices */
@media screen and (min-width: 481px) {
    .login-container {
        display: flex;
        flex-wrap: nowrap; /* Prevent buttons from wrapping to the next line */
        justify-content: flex-start; /* Align buttons to the start of the line */
    }

    .login-option {
        width: auto; /* Allow each button to take up only as much space as it needs */
        padding: 0; /* No padding */
        margin-right: 2px; /* No margin */
    }

        .login-option:first-child {
            margin-left: 0; /* No margin to the left for the first button */
        }
}

.logincardclass-fieldset {
    text-align: center;
    position: absolute;
    top: 30%;
}
.socialLogin-height {
    height: 70px;
}

.form-height-small {
    height: 150px !important;
}

.form-height-large {
    height: 225px !important;
}

/* MitID button containers */
.mitid-button-style {
    min-width: 280px;
    padding: 12px;
    border-radius: 5px;
    color: #fff;
}

/* Specific types */
.mitid-blue {
    background-color: #0060E6;
    border-color: #0060E6;
}

.mitid-green {
    background-color: #66c251;
    border-color: #0060E6;
}

.mitid-company-grey {
    background-color: #3f4a41;
    border-color: #3f4a41;
}

/* Positioning utilities */
.mitid-top-24 {
    top: 24%;
}

.mitid-top-38 {
    top: 38%;
}

.mitid-top-50 {
    top: 50%;
}

.mitid-top-62 {
    top: 62%;
}

.mitid-top-76 {
    top: 76%;
}

.mitid-top-124 {
    top: 124%;
}

.mitIdButtonFieldset {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

#MitIDSSNErhvervForm{
    height: 450px !important;
}


.grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    padding: 10px;
    row-gap: 20px;
    column-gap: 5px;
    height: 50px;
}

.social-fieldset {
    display: block;
    margin: 1.0em auto;
    text-align: center;
}

.social_icons {
    max-width: 40px;
}

.login_social_button {
    width: 240px;
    margin-bottom: 10px;
    border-radius: 5px;
    height: 50px;
    background: white;
    color: #444;
    border: thin solid #888;
    box-shadow: 1px 1px 1px grey;
    white-space: nowrap;
}

    .login_social_button:hover {
        cursor: pointer;
        background-color: #F5F5F5;
    }

.login_social_button_text {
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    font-weight: bold;
}

.login_social_button_icon {
    display: inline-block;
    vertical-align: middle;
    width: 35px;
    height: 35px;
    padding-right: 8px;
}

.socialLoginFormStyling {
    min-width: 20px;
    padding: 8px;
    border-radius: 5px;
    max-height: 28px;
}