/*	www.modulpark.ch */

/*===Nav===
===menuA===========================*/

/*Level 1*/

/*Level 2*/

/*Level 3*/


/*===Nav===
===menuB===========================*/

/*===Nav===
===menuB===========================*/


/*===loginVue===
===floating labels=================*/

/* Field geometry (44px, Livvic 14px, colors) comes from learncoachingApp.css. Only what the float
   pattern needs is overridden here. That file loads later and matches with 5 classes, so the input
   selectors need 6 to win. */
.mpg-login .dropdown .mp-float {
    position: relative;
}
/* 44px input = 1 border + 18 pad + 20 text + 4 pad + 1 border.
   Floated label occupies 5-16, text 19-39: label and text never share a row. */
.mpg-loginVue .mpg-login .dropdown .dropdown-menu .mp-float input.form-control {
    padding: 18px 12px 4px 12px;
    line-height: 20px;
}
.mpg-loginVue .mpg-login .dropdown .dropdown-menu .mp-float > label {
    position: absolute;
    left: 12px;
    top: 15px;
    z-index: 1;
    margin: 0;
    display: block;
    font-size: 14px;
    line-height: 1;
    color: var(--aflc-storm, #a8a8a8);
    white-space: nowrap;
    pointer-events: none;
    transition: top 150ms ease, font-size 150ms ease;
}
.mpg-loginVue .mpg-login .dropdown .dropdown-menu .mp-float:focus-within > label,
.mpg-loginVue .mpg-login .dropdown .dropdown-menu .mp-float > input:not(:placeholder-shown) + label,
.mpg-loginVue .mpg-login .dropdown .dropdown-menu .mp-float-filled > label {
    top: 5px;
    font-size: 11px;
}

.mpg-login .dropdown .mp-required-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-left: 5px;
    border-radius: 50%;
    background: var(--accent, #e8823a);
    vertical-align: middle;
}

/*===loginVue===
===address field pairs=============*/

.mpg-login .dropdown .mp-field-pair {
    display: grid;
    gap: 0 10px;
}
.mpg-login .dropdown .mp-field-pair-wide-left {
    grid-template-columns: 3fr 1fr;
}
.mpg-login .dropdown .mp-field-pair-narrow-left {
    grid-template-columns: 90px 1fr;
}
/* Partner field switched off in the widget template */
.mpg-login .dropdown .mp-field-pair > .form-group:only-child {
    grid-column: 1 / -1;
}

/*===loginVue===
===country select==================*/

.mpg-login .dropdown .mp-country-select {
    position: relative;
}
.mpg-loginVue .mpg-login .dropdown .dropdown-menu .mp-country-select input.form-control {
    padding-right: 30px;
    cursor: pointer;
}
.mpg-login .dropdown .mp-country-chevron {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: var(--aflc-storm, #a8a8a8);
    pointer-events: none;
    transition: transform 150ms ease;
}
.mpg-login .dropdown .mp-country-chevron.open {
    transform: translateY(-50%) rotate(180deg);
}
.mpg-login .dropdown .mp-country-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    margin: 2px 0 0 0;
    padding: 0;
    list-style: none;
    max-height: 220px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--aflc-cloud, #e5e5e5);
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}
.mpg-login .dropdown .mp-country-option {
    padding: 8px 12px;
    font-family: 'Livvic', sans-serif;
    font-size: 14px;
    color: var(--aflc-charcoal, #212121);
    cursor: pointer;
}
.mpg-login .dropdown .mp-country-option:hover {
    background: var(--accent-soft, #fdf1e7);
}
.mpg-login .dropdown .mp-country-option.active {
    background: var(--accent-soft, #fdf1e7);
    font-weight: 600;
}
