@font-face {
    font-family: 'GT-Eesti-LC-Display';
    src: url('../Fonts/GT-Eesti-LC-Display-Medium.woff2') format('woff2'),
        url('../Fonts/GT-Eesti-LC-Display-Medium.woff') format('woff'),
        url('../Fonts/GT-Eesti-LC-Display-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'GT-Eesti-LC-Display-Regular-Italic';
    src: url('../Fonts/GT-Eesti-LC-Display-Regular-Italic.woff2') format('woff2'),
        url('../Fonts/GT-Eesti-LC-Display-Regular-Italic.woff') format('woff'),
        url('../Fonts/GT-Eesti-LC-Display-Regular-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'GT-Eesti-LC-Display-Regular';
    src: url('../Fonts/GT-Eesti-LC-Display-Regular.woff2') format('woff2'),
        url('../Fonts/GT-Eesti-LC-Display-Regular.woff') format('woff'),
        url('../Fonts/GT-Eesti-LC-Display-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("../Fonts/Inter-4.0/web/Inter-Light.woff2?v=4.0") format("woff2");
}

@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../Fonts/Inter-4.0/web/Inter-Regular.woff2?v=4.0") format("woff2");
}

@font-face {
    font-family: Inter;
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../Fonts/Inter-4.0/web/Inter-Italic.woff2?v=4.0") format("woff2");
}

@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../Fonts/Inter-4.0/web/Inter-SemiBold.woff2") format("woff2");
}

@font-face {
    font-family: Inter;
    font-style: italic;
    font-weight: 600;
    font-display: swap;
    src: url("../Fonts/Inter-4.0/web/Inter-SemiBoldItalic.woff2?v=4.0") format("woff2");
}

@font-face {
    font-display: swap;
    font-family: 'Source Code Pro';
    font-style: normal;
    font-weight: 400;
    src: url('../Fonts/source-code-pro-v23-latin-regular.woff2') format('woff2');
}

:root {
    --bs-border-color: #707070;
    --bs-border-radius-lg: 6px;
}

body {
    color: var(--mg-primary-color-b-full);
    font-family: 'Inter';
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    padding-top: 112px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.has-orga-title {
    padding-top: 154px;
}

body.noscroll {
    overflow: hidden;
}

h1 {
    font-size: 30px;
}

h2 {
    font-size: 26px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 22px;
}

h5 {
    font-size: 22px;
}

h6 {
    font-size: 22px;
}

.upa_header_has_subheader {
    margin-bottom: 20px;
}

.frame-type-header .upa_header_has_subheader {
    margin-bottom: 0;
}

.upa_header_has_subheader :is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 0 !important;
}

.upa_subheader {
    font-weight: 300;
    color: #767676;
    line-height: 1.2;
    font-family: 'Inter';
    font-size: 16px;
}

p {
    margin-bottom: var(--mg-padding-sm);
}

.frame ul li::marker {
    color: var(--mg-primary-color-a-dark);
}

.frame.frame-infobox ul li::marker {
    color: var(--mg-primary-color-b-full);
}

/*
    {
    border-left: 4px solid var(--mg-primary-color-b-medium);
    padding-left: 20px;
}*/

.important-text {
    background-color: var(--mg-primary-color-a-bright);
}

:is(h1, h2, h3, h4, h5, h6) .important-text {
    background-color: transparent;
}

.upa_main_content a {
    color: var(--mg-primary-color-b-full);
    text-underline-offset: 3px;
    text-decoration-color: var(--mg-primary-color-b-full);
    text-decoration-thickness: 1px;
}

.upa_main_content a:hover {
    color: var(--mg-primary-color-a-dark);
    text-decoration-color: var(--mg-primary-color-a-dark);
}

*:focus {
    outline: 1px dotted var(--mg-primary-color-b-full);
}

i {
    font-family: 'Inter';
    font-weight: 400;
}

strong {
    font-family: 'Inter';
    font-weight: 600;
}

strong i {
    font-family: 'Inter';
    font-weight: 600;
}

.upa_bodytext li {
    margin-bottom: 4px;
}

.upa_bodytext li:last-child {
    margin-bottom: 0;
}

.upa_bodytext ul,
.upa_bodytext ol {
    margin-bottom: var(--mg-padding-sm);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'GT-Eesti-LC-Display';
    font-weight: 400;
    letter-spacing: var(--mg-letter-spacing);
}

.frame h1,
.frame h2,
.frame h3,
.frame h4 {
    margin-bottom: 20px;
}

.frame-type-header :is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 0 !important;
}

table {
    -ms-hyphens: manual;
    -webkit-hyphens: manual;
    hyphens: manual;
}

.alert {
    --bs-alert-border-radius: 0;
    --bs-alert-padding-x: 16px;
    --bs-alert-padding-y: 10px;
}

.container {
    --bs-gutter-x: 30px;
}

.row {
    --bs-gutter-x: 30px;
}

.g-0,
.gx-0 {
    --bs-gutter-x: 0;
}

.upa_bodytext .text-left {
    text-align: left !important;
}

.upa_bodytext .text-right {
    text-align: left !important;
}

.upa_bodytext .text-center {
    text-align: left !important;
}

.image-embed-item {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.upa_clear {
    clear: both;
    float: none;
}

.upa_disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
    pointer-events: all !important;
}

.dropdown-menu {
    --bs-dropdown-border-radius: 0;
    --bs-dropdown-border-width: 0;
    --bs-dropdown-font-size: 18px;

    background-color: #fff;
    padding: 5px 0;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    padding: 10px 20px;
    color: var(--mg-primary-color-b-full);
}

.dropdown-item:focus,
.dropdown-item:hover {
    color: var(--mg-primary-color-b-full);
    background-color: transparent;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--mg-primary-color-b-full);
    text-decoration-thickness: 1px;
}

@media (min-width: 1200px) {
    body {
        padding-top: 162px;
    }

    body.has-orga-title {
        padding-top: 212px;
    }

    p {
        margin-bottom: var(--mg-padding-lg);
    }

    .upa_bodytext ul,
    .upa_bodytext ol {
        margin-bottom: var(--mg-padding-lg);
    }

    .frame {
        scroll-margin-top: 62px;
    }
}

@media (min-width: 1440px) {
    body {
        font-size: 18px;
    }
}

@media (min-width: 2560px) {
    body.backendlayout-upahomepage {
        padding-top: 0;
    }
}

/* inline code */
.upa_inlinecode {
    font-family: "Source Code Pro", monospace;
    border-radius: 5px;
    border: 2px solid #ffffff;
    background: var(--mg-primary-color-b-super-bright);
    padding: 4px 9px;
}

/* small text */
.upa_small {
    font-size: 14px;
}

/* source code */
.upa_sourcecode {
    padding: 20px;
    background-color: var(--mg-primary-color-b-super-bright);
    margin-bottom: var(--mg-padding-sm);
    border-radius: 5px;
    border: 1px solid var(--mg-primary-color-b-bright);
    font-family: "Source Code Pro";
    font-weight: 400;
}

.upa_sourcecode>*:not(p) {
    display: none;
}

.upa_sourcecode>p>* {
    display: none;
}

@media (min-width: 1200px) {
    .upa_sourcecode {
        margin-bottom: var(--mg-padding-lg);
    }
}

/* quote */
.upa_bodytext blockquote {
    padding: 20px 0 20px 20px;
    border-top: 1px solid var(--mg-primary-color-b-medium);
    border-bottom: 1px solid var(--mg-primary-color-b-medium);
}

.upa_bodytext blockquote p {
    position: relative;
    z-index: 2;
    padding: 0 0 0 40px;
}

.upa_bodytext blockquote p:first-child:before {
    content: "\201C";
    position: absolute;
    font-size: 80px;
    display: inline-block;
    line-height: 1;
    top: 6px;
    left: -3px;
    font-family: 'GT-Eesti-LC-Display';
    color: var(--mg-primary-color-a-full);
}

@media (min-width: 1200px) {
    .upa_bodytext blockquote {
        padding: 40px;
    }

    .upa_bodytext blockquote p {
        padding: 0 0 0 60px;
    }

    .upa_bodytext blockquote p:first-child:before {
        top: 8px;
        left: -4px;
        font-size: 100px;
    }
}

/* modal */
.modal {
    --bs-modal-inner-border-radius: 0;
    --bs-modal-border-radius: 0;
}

.modal-backdrop {
    background-color: #000;
}

.modal-backdrop.show {
    opacity: 0.95;
}

.modal-body {
    padding: 40px;
}

.modal-body .inner>*:last-child {
    margin-bottom: 0;
}

.modal-header {
    background-color: var(--mg-primary-color-b-bright);
    border-bottom: none;
}

.modal-content {
    border: none;
}

.upa_modal_image {
    max-width: 200px;
    margin: 9px 16px 16px 0;
}

.modal-title {
    margin: 0 !important;
}

.modal-header .btn-close {
    background: transparent;
    border-radius: 0;
    opacity: 1;
    position: relative;
    transition: 0.5s transform;
}

.modal-header .btn-close:before,
.modal-header .btn-close:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--mg-primary-color-b-full);
    margin-top: -2px;
    transition: 0.5s transform 0.5s;
}

.modal-header .btn-close:before {
    transform: rotate(45deg);
    transition: 0.5s transform;
}

.modal-header .btn-close:after {
    transform: rotate(-45deg);
    transition: 0.5s transform;
}

.modal-header .btn-close:hover:before {
    transform: rotate(135deg);
}

.modal-header .btn-close:hover:after {
    transform: rotate(45deg);
}

.upa_modal_close {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 10;
}

.upa_modal_close:before,
.upa_modal_close:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 100%;
    height: 2px;
    margin-top: -1px;
    background-color: var(--mg-primary-color-b-full);
    transform: rotate(45deg);
    transition: 0.5s transform;
}

.upa_modal_close:after {
    transform: rotate(-45deg);
}

.upa_modal_close:hover:before {
    transform: rotate(135deg);
}

.upa_modal_close:hover:after {
    transform: rotate(45deg);
}

.upa_generic_modal h2 {
    margin-bottom: 20px;
}

.upa_modal_inner>*:last-child,
.upa_modal_inner .clearfix>*:last-child {
    margin-bottom: 0;
}

.upa_modal_video {
    width: 100%;
    position: relative;
    padding: 0 0 56.25% 0;
    background-color: #000;
}

.upa_play_video_accept {
    text-decoration: underline;
    cursor: pointer;
}

.upa_modal_video iframe {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

@media (min-width: 1200px) {
    .upa_modal_close {
        position: fixed;
        top: 30px;
        right: 30px;
        width: 40px;
        height: 40px;
    }

    .upa_modal_close:before,
    .upa_modal_close:after {
        background-color: #fff;
    }
}

@media (min-width: 1200px) {
    .modal-body {
        padding: 80px;
    }
}

@media (min-width: 1920px) {
    .modal-body {
        padding: 100px;
    }
}

/* paginator */
.f3-widget-paginator {
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    line-height: 1.2;
}

.f3-widget-paginator li {
    list-style: none;
    margin: 0 7px;
    background-color: var(--mg-primary-color-b-bright);
    color: var(--mg-primary-color-b-full);
    text-decoration: none;
    border-radius: 0;
    width: 30px;
    height: 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.f3-widget-paginator li.current {
    background-color: var(--mg-primary-color-b-full);
    color: #fff;
}

.f3-widget-paginator li a {
    text-decoration: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.f3-widget-paginator li.previous,
.f3-widget-paginator li.next {
    background-color: transparent;
}

.f3-widget-paginator li.previous a,
.f3-widget-paginator li.next a {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    line-height: 0;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.f3-widget-paginator li.previous a:after,
.f3-widget-paginator li.next a:after {
    content: "";
    background-image: url(../Img/paginator_arrow.svg);
    background-position: center;
    background-size: 20px;
    background-repeat: no-repeat;
    height: 20px;
    width: 20px;
    display: inline-block;
}

.f3-widget-paginator li.next a:after {
    transform: rotate(180deg);
}

.f3-widget-paginator li a:hover {
    background-color: var(--mg-primary-color-b-full);
    color: #fff;
}

.f3-widget-paginator li.previous a:hover,
.f3-widget-paginator li.next a:hover {
    background-color: transparent;
}

.f3-widget-paginator li.current a {
    color: #fff;
}

@media (min-width: 1200px) {
    .f3-widget-paginator {
        font-size: 16px;
    }

    .f3-widget-paginator li {
        width: 40px;
        height: 40px;
    }

    .f3-widget-paginator li.previous,
    .f3-widget-paginator li.next {
        margin: 0 20px;
    }
}

/* header */
.upa_header {
    background: transparent linear-gradient(180deg, rgba(232, 232, 232, 0.99) 0%, rgba(248, 248, 248, 0.99) 100%) 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: transform 0.5s;
    font-family: 'GT-Eesti-LC-Display-Regular';
    line-height: 1.2;
}

.upa_header.upa_header_shrink {
    transform: translateY(-160px);
    background: var(--mg-primary-color-b-super-bright);
}

.upa_header.upa_header_hide {
    transform: translateY(-200%) !important;
}

.upa_header .upa_header_inner_top {
    position: relative;
    height: 70px;
}

.upa_header .upa_header_inner_top_inner {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 70px;
    transition: 0.2s transform linear;
}

.upa_header_topbar {
    background-color: #e8e8e8;
    display: flex;
    width: 100%;
    height: 42px;
    position: relative;
    justify-content: center;
}

.upa_header_login_link {
    position: absolute;
    top: 11px;
    left: 15px;
    text-decoration: none;
    font-size: 18px;
    line-height: 1.2;
}

.upa_header_inner {
    width: 100%;
    max-width: var(--mg-large-width);
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

.upa_logo_link {
    display: inline-block;
    padding: 15px 0;
}

.upa_logo {
    height: 40px;
    width: auto;
    line-height: 0;
    font-size: 0;
}

.upa_logo_short_link {
    position: absolute;
    left: 15px;
    top: 10px;
    display: none;
    width: 58px;
    height: 40px;
    z-index: 100;
}

.upa_logo_short {
    height: 40px;
    width: auto;
}

.upa_burger_wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 15px 0;
}

.upa_burger {
    width: 40px;
    height: 40px;
    display: block;
    line-height: 0;
    font-size: 0;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    padding: 8px 0;
}

.upa_burger_stripe {
    width: 100%;
    height: 4px;
    background-color: var(--mg-primary-color-b-full);
    margin-bottom: 6px;
}

.upa_burger_stripe:last-of-type {
    margin-bottom: 0;
}

.upa_language_menu_mobile {
    text-transform: uppercase;
    position: absolute;
    top: 11px;
    right: 15px;
}

.upa_language_menu_mobile>span {
    font-size: 18px;
    line-height: 1.2;
    cursor: pointer;
}

.upa_language_menu_mobile .dropdown-menu {
    min-width: initial;
}

.upa_quicklink_menu_mobile {
    position: relative;
    top: 11px;
}

.upa_quicklink_menu_mobile>span {
    font-size: 18px;
    line-height: 1.2;
    cursor: pointer;
}

.upa_quicklink_menu_mobile .dropdown-toggle:after {
    display: none;
}

.upa_meta_menu {
    position: relative;
    width: calc(100% - 279px);
    float: right;
    display: none;
    justify-content: flex-end;
    margin: 0 -15px;
    font-size: 18px;
    line-height: 1.2;
}

.upa_quicklink_menu_desktop {
    margin: 0 15px;
}

.upa_quicklink_menu_desktop>span {
    font-size: 18px;
    line-height: 1.2;
    cursor: pointer;
    padding: 12px 24px;
    display: inline-block;
    background-color: #fff;
}

.upa_quicklink_menu_desktop .dropdown-toggle:after {
    display: none;
}

.upa_quicklink_menu_desktop>span:hover {
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.upa_quicklink_menu_desktop .dropdown-item {
    padding: 10px 24px;
}

.upa_meta_menu>span {
    cursor: pointer;
    padding: 12px 24px;
    display: inline-block;
    background-color: #fff;
    margin: 0 15px;
    text-decoration: none;
}

.upa_meta_menu>span:hover {
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.upa_meta_menu>a {
    cursor: pointer;
    padding: 12px;
    display: inline-block;
    text-decoration: none;
}

.upa_meta_menu>a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: var(--mg-primary-color-b-full);
    text-decoration-thickness: 1px;
}

.upa_language_menu_desktop {
    text-transform: uppercase;
    margin: 0 15px 0 0;
}

.upa_language_menu_desktop>span {
    cursor: pointer;
    padding: 12px;
    display: inline-block;
}

.upa_language_menu_desktop .dropdown-menu {
    min-width: initial;
}

.upa_language_menu_desktop .dropdown-item {
    padding: 12px;
}

.upa_orga_title {
    width: 100%;
    text-align: center;
    font-size: 40px;
    line-height: 1.2;
    position: absolute;
    top: 85px;
    right: 0;
    left: 0;
    font-family: 'GT-Eesti-LC-Display';
    font-weight: 400;
    display: none;
}

.upa_orga_title a {
    text-decoration: none;
}

.upa_orga_title a:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 1px;
}

.upa_orga_title_mobile {
    background-color: #e8e8e8;
    height: 42px;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
}

.upa_orga_title_mobile_inner {
    margin: 15px;
    font-size: 14px;
    line-height: 16px;
    overflow-x: scroll;
    white-space: nowrap;
    position: relative;
    top: 2px;
    width: 100%;
    text-align: center;
}

.upa_orga_title_mobile_inner a {
    text-decoration: none;
}

.upa_orga_title_mobile_inner:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 20px;
    background: rgb(255, 255, 255);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(232, 232, 232, 1) 100%);
}

.upa_navbar {
    display: flex;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    flex-direction: row;
    min-height: 62px;
}

.upa_navbar .upa_navbar_item {
    position: relative;
}

.upa_navbar .upa_navbar_item:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 15px;
    height: 4px;
    background-color: var(--mg-primary-color-a-full);
    width: 0;
    transition: width 0.5s;
}

.upa_navbar .upa_navbar_item.is_current:after {
    transition: none;
}

.upa_navbar .upa_navbar_item:hover:after,
.upa_navbar .upa_navbar_item.is_current:after,
.upa_navbar .upa_navbar_item.upa_navbar_open:after {
    width: calc(100% - 30px);
}

.upa_navbar .upa_navbar_item>a {
    display: block;
    padding: 15px 24px;
    text-decoration: none;
    background: 0 0;
    border: 0;
    font-family: 'GT-Eesti-LC-Display';
    font-weight: 400;
    white-space: nowrap;
    font-size: 26px;
    line-height: 32px;
}

.upa_navbar_item_caret {
    margin-left: 10px;
    display: inline-block;
    width: 14px;
    height: 14px;
    background-position: center;
    background-image: url(../Img/caret.svg);
    background-size: 14px;
}

.upa_navbar .upa_navbar_dropdown {
    max-height: 0;
    overflow-y: hidden;
    list-style: none;
    max-width: 360px;
}

.upa_navbar .upa_navbar_dropdown_item>a {
    font-size: 17px;
    line-height: 1.2;
    padding: 8px 20px;
    text-decoration: none;
    display: block;
}

.upa_navbar .upa_navbar_dropdown_item>a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--mg-primary-color-b-full);
    text-decoration-thickness: 1px;
}

.upa_navbar .upa_navbar_dropdown_item_overview>a {
    font-family: 'GT-Eesti-LC-Display';
    font-weight: 400;
}

.upa_navbar .upa_megamenu {
    background-color: rgba(0, 0, 0, .8);
    height: 100vh;
    left: 50%;
    max-height: 100%;
    padding-bottom: 40px;
    position: fixed;
    top: 162px;
    transform: translateX(-50%);
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: all .3s ease-in-out;
    visibility: hidden;
    width: 100%;
    z-index: -1;
}

.has-orga-title .upa_navbar .upa_megamenu {
    top: 212px;
}

.upa_navbar .upa_megamenu:before {
    content: "";
    position: absolute;
    top: -10px;
    width: 100%;
    height: 10px;
    z-index: 10000;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.upa_navbar .upa_megamenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.upa_navbar .upa_megamenu img {
    margin-bottom: 15px;
}

.upa_navbar .upa_megamenu h2 {
    font-size: 22px;
    width: 100%;
    display: inline-block;
}

.upa_navbar .upa_megamenu ul a {
    font-size: 17px;
    line-height: 1.2;
    padding: 8px 15px 8px 0;
    text-decoration: none;
    display: inline-block;
}

.upa_navbar .upa_megamenu ul a:hover,
.upa_navbar .upa_megamenu ul a.is_current,
.upa_navbar ul.upa_navbar_dropdown a.is_current {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--mg-primary-color-b-full);
    text-decoration-thickness: 1px;
}

.upa_navbar .upa_megamenu.upa_megamenu_shrink {
    top: 62px;
}

.upa_navbar .upa_navbar_item.upa_navbar_open .upa_megamenu {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    pointer-events: all;
}

.upa_megamenu_inner {
    background-color: #fff;
    position: relative;
}

.upa_megamenu_inner:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: var(--mg-primary-color-a-bright);
    transition: 1s ease all;
    z-index: 2;
    opacity: 0.6;
    width: var(--mg-slope-a-width-desktop);
    clip-path: var(--mg-slope-a-clippath-desktop);
}

.upa_megamenu_inner:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    background-color: var(--mg-primary-color-a-full);
    transition: 1s ease all;
    opacity: 0.8;
    z-index: 1;
    height: var(--mg-slope-b-width-desktop);
    clip-path: var(--mg-slope-b-clippath-desktop);
}

.upa_megamenu_content_wrapper {
    width: 1200px;
    margin: 0 auto;
    padding: 60px 0 100px 0;
    position: relative;
    z-index: 2;
}

.upa_megamenu_content {
    overflow-x: hidden;
    overflow-y: auto;
    max-height: calc(100vh - 162px - 60px - 100px);
    margin: 0 -12px;
}

.upa_megamenu_shrink .upa_megamenu_content {
    max-height: calc(100vh - 62px - 60px - 100px);
}

@media (min-width: 1200px) {
    .upa_header.upa_header_shrink {
        transform: none;
    }

    .upa_logo {
        height: 70px;
    }

    .upa_header_topbar {
        display: none;
    }

    .upa_header_inner {
        padding: 0 15px;
    }

    .upa_meta_menu {
        display: inline-flex;
    }

    .upa_header .upa_header_inner_top {
        height: 100px;
        transition: 0.2s height linear;
    }

    .upa_header .upa_header_inner_top_inner {
        height: 100px;
    }

    .has-orga-title .upa_header_inner_top {
        height: 150px;
    }

    .has-orga-title .upa_header_inner_top_inner {
        height: 150px;
    }

    .upa_header.upa_header_shrink .upa_header_inner_top {
        height: 0;
    }

    .upa_header.upa_header_shrink .upa_header_inner_top_inner {
        transform: translateY(-150px);
    }

    .upa_header.upa_header_shrink .upa_logo_short_link {
        display: block;
    }

    .upa_orga_title {
        display: block;
    }

    .upa_orga_title.upa_orga_title_long,
    .upa_orga_title.upa_orga_title_super_long {
        width: calc(100% - 530px);
        max-width: 800px;
        margin: 0 auto;
        font-size: 26px;
        top: 65px;
        bottom: 0px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .upa_orga_title_mobile {
        display: none;
    }

    .upa_navbar .upa_navbar_item.upa_navbar_open .upa_navbar_dropdown {
        opacity: 1;
        pointer-events: auto;
        top: 100%;
    }

    .upa_navbar .upa_navbar_dropdown {
        max-height: none;
        overflow-y: inherit;
        background-color: #fff;
        box-shadow: var(--mg-shadow);
        left: 4px;
        min-width: 240px;
        opacity: 0;
        padding: 5px 0;
        pointer-events: none;
        position: absolute;
        text-align: left;
        top: 120%;
        transition: all .2s ease 0s;
    }
}

@media (min-width: 1440px) {
    .upa_orga_title.upa_orga_title_long {
        font-size: 30px;
    }

    .upa_orga_title.upa_orga_title_super_long {
        font-size: 26px;
    }
}

@media (min-width: 2560px) {
    body.backendlayout-upahomepage .upa_header.upa_header_transparent {
        background: transparent linear-gradient(180deg, rgba(232, 232, 232, 0.8) 0%, rgba(248, 248, 248, 0.8) 100%) 0% 0% no-repeat padding-box;
    }
}

/* mobile menu */
.upa_mobile_nav_background {
    background-color: rgba(0, 0, 0, .8);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    z-index: 180;
}

.upa_mobile_nav_background.upa_mobile_nav_background_show {
    display: block;
}

.upa_mobile_nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 200;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.95) 100%);
    transform: translateY(-120vh);
    transition: 0.6s transform linear;
    overflow: hidden;
}

.upa_mobile_nav_spinner {
    margin: 60px auto;
    display: block;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    border-top-color: #fff;
    animation: upa_spin 1s ease-in-out infinite;
}

@keyframes upa_spin {
    to {
        transform: rotate(360deg);
    }
}

.upa_mobile_nav.open {
    transform: translateY(0);
}

.upa_mobile_nav_header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 62px;
    background: transparent linear-gradient(180deg, rgba(232, 232, 232, 0.95) 0%, rgba(248, 248, 248, 0.95) 100%) 0% 0% no-repeat padding-box;
}

.upa_mobile_nav_header_main.upa_mobile_nav_header_main_hide {
    display: none;
}

.upa_mobile_nav_header_main a {
    text-decoration: none;
}

.upa_mobile_nav_body_inner {
    padding: 0 35px;
}

.upa_mobile_nav_link {
    cursor: pointer;
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'GT-Eesti-LC-Display-Regular';
    font-weight: 400;
    position: relative;
}

.upa_mobile_nav_link>span {
    display: inline-block;
    width: calc(100% - 28px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upa_mobile_nav_link.upa_mobile_nav_link_title {
    font-size: 30px;
    margin-bottom: 34px;
    font-family: 'GT-Eesti-LC-Display';
    font-weight: 400;
    color: var(--mg-primary-color-a-full);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upa_mobile_back {
    content: "";
    width: 28px;
    height: 28px;
    background-size: 280px;
    background-image: url(../Img/icons_v4.svg);
    background-position: -84px -28px;
    position: absolute;
    top: 35px;
    left: 11px;
    cursor: pointer;
}

.upa_mobile_nav_entries_inner_main .upa_mobile_nav_link {
    font-size: 30px;
    margin-bottom: 24px;
    font-family: 'GT-Eesti-LC-Display';
    font-weight: 400;
}

.upa_mobile_nav_entries_inner_main .upa_mobile_nav_link_title,
.upa_mobile_nav_entries_inner_main .upa_mobile_back {
    display: none;
}

.upa_mobile_nav_link:last-child {
    margin-bottom: 34px;
}

.upa_mobile_nav_link.upa_mobile_nav_link_has_sub_pages:after {
    content: "";
    width: 22px;
    height: 22px;
    background-size: 220px;
    background-image: url(../Img/icons_v4.svg);
    background-position: -44px -22px;
    position: absolute;
    top: 1px;
    right: 0;
}

.upa_mobile_nav_entries_inner_main .upa_mobile_nav_link.upa_mobile_nav_link_has_sub_pages:after {
    width: 28px;
    height: 28px;
    background-size: 280px;
    background-position: -56px -28px;
    top: 3px;
}

@media (min-width: 1200px) {
    .upa_mobile_nav {
        display: none;
    }

    .upa_mobile_nav_background.upa_mobile_nav_background_show {
        display: none;
    }
}

/* top menu basics (target group and facilities) */
.upa_top_menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 200;
    background-color: #fff;
    transform: translateY(-120vh);
    transition: 0.2s transform linear;
    overflow: hidden;
    max-width: 768px;
}

.upa_top_menu.upa_targetgroups {
    z-index: 220;
}

.upa_top_menu.upa_facilities {
    z-index: 220;
}

.upa_top_menu.open {
    transform: translateY(0);
}

.upa_top_menu_body {
    position: absolute;
    top: 62px;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 32px 15px;
    overflow-x: hidden;
    overflow-y: scroll;
    transition: 0.5s transform;
    background-color: #fff;
}

.upa_top_menu_body_inner {
    width: 100%;
    max-width: var(--mg-large-width);
    margin: 0 auto;
}

.upa_top_menu_close {
    position: absolute;
    top: 11px;
    right: 9px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: 0.5s transform;
}

.upa_top_menu_close:before,
.upa_top_menu_close:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 100%;
    height: 2px;
    background-color: var(--mg-primary-color-b-full);
    margin-top: -2px;
    transform: rotate(0deg);
    transition: 0.5s transform 0.5s;
}

.upa_top_menu.open .upa_top_menu_close:before {
    transform: rotate(45deg);
    transition: 0.5s transform;
}

.upa_top_menu.open .upa_top_menu_close:after {
    transform: rotate(-45deg);
    transition: 0.5s transform;
}

.upa_top_menu.open .upa_top_menu_close:hover:before {
    transform: rotate(135deg);
}

.upa_top_menu.open .upa_top_menu_close:hover:after {
    transform: rotate(45deg);
}

.upa_top_menu_header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 62px;
    background-color: var(--mg-primary-color-a-medium);
}

.upa_top_menu_header h2 {
    font-size: 19px;
    line-height: 32px;
    position: absolute;
    top: 15px;
    left: 49px;
    width: calc(100% - 98px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: center;
    display: block;
}

.upa_top_menu_line {
    height: 1px;
    width: 100%;
    background-color: var(--mg-primary-color-b-medium);
    margin: 30px 0 60px 0;
}

.upa_top_menu_button {
    margin-bottom: 30px;
    text-align: center;
    display: block;
    cursor: pointer;
    font-size: 18px;
    line-height: 1.2;
    background-color: var(--mg-primary-color-b-full);
    padding: 20px;
    color: #fff;
    font-family: 'GT-Eesti-LC-Display-Regular';
    font-weight: 400;
}

.upa_top_menu_button:last-child {
    margin-bottom: 0;
}

@media (min-width: 1200px) {
    .upa_top_menu {
        max-width: 100%;
    }

    .upa_top_menu_header {
        background-color: transparent;
    }

    .upa_top_menu_header h2 {
        display: none;
    }

    .upa_top_menu:before {
        content: "";
        position: absolute;
        clip-path: var(--mg-slope-b-clippath-desktop);
        right: 0;
        bottom: 0;
        width: 100%;
        height: var(--mg-slope-b-width-desktop);
        background-color: var(--mg-primary-color-a-full);
        transition: 1s ease all;
        opacity: 0.8;
        z-index: -1;
    }

    .upa_top_menu:after {
        content: "";
        position: absolute;
        clip-path: var(--mg-slope-a-clippath-desktop);
        top: 0;
        right: 0;
        bottom: 0;
        width: var(--mg-slope-a-width-desktop);
        background-color: var(--mg-primary-color-a-bright);
        transition: 1s ease all;
        z-index: -1;
        opacity: 0.6;
    }

    .upa_top_menu_body {
        padding: 0 15px;
        /* padding top und bottom vorher 64px */
        transition: none;
        background-color: transparent;
    }

    .upa_top_menu h2 {
        font-size: 36px;
        line-height: 42px;
        margin: 0 0 30px 0;
    }
}

/* target group menu */
.upa_targetgroups_wrapper {
    margin: 0 -10px;
}

.upa_targetgroups_wrapper>a {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    width: 50%;
    margin-bottom: 30px;
    float: left;
    padding: 0 10px;
}

.upa_targetgroups_wrapper>a img {
    margin-bottom: 12px;
    transition: transform 0.5s;
}

.upa_targetgroups_wrapper>a:hover img {
    transform: translateY(-10px);
}

.upa_targetgroups_wrapper>a h3 {
    font-size: 15px;
    line-height: 1.4;
}

.upa_targetgroups_wrapper>a h3 span {}

.upa_targetgroups_wrapper>a:hover h3 span {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--mg-primary-color-b-full);
    text-decoration-thickness: 1px;
}

/*
.upa_targetgroups_wrapper>a h3 span:after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    height: 2px;
    background-color: var(--mg-primary-color-a-full);
    width: 0;
    transition: width 0.5s;
}

.upa_targetgroups_wrapper>a:hover h3 span:after {
    width: 100%;
} */

@media (min-width: 414px) {
    .upa_targetgroups_wrapper>a h3 {
        font-size: 17px;
    }
}

@media (min-width: 768px) {
    .upa_targetgroups_wrapper>a {
        width: calc(100% / 3);
    }
}

@media (min-width: 1200px) {
    .upa_targetgroups_body_inner {
        max-width: 1400px;
    }

    .upa_targetgroups_wrapper {
        text-align: center;
    }

    .upa_targetgroups_wrapper>a {
        width: 260px;
        float: initial;
        margin-bottom: 120px;
        position: relative;
    }

    .upa_targetgroups_wrapper>a h3 {
        font-size: 24px;
        position: absolute;
        top: 98px;
        right: 10px;
        left: 10px;
    }

    .upa_targetgroups:before {
        height: var(--mg-slope-b-width-desktop);
        clip-path: var(--mg-slope-b-clippath-desktop);
    }

    .upa_targetgroups:after {
        width: var(--mg-slope-a-width-desktop);
        top: 0;
        clip-path: var(--mg-slope-a-clippath-desktop);
    }
}

/* facilities menu */
.upa_facilities_header_back {
    position: absolute;
    top: 11px;
    left: 7px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transform: translateX(-100vw);
}

.upa_facilities_header_back:before,
.upa_facilities_header_back:after {
    content: "";
    position: absolute;
    top: 50%;
    width: calc(50% + 4px);
    left: 25%;
    height: 4px;
    background-color: var(--mg-primary-color-b-full);
    margin-top: -2px;
    transform: rotate(45deg);
    transform-origin: 2px 2px;
}

.upa_facilities_header_back:before {
    transform: rotate(-45deg);
}

.upa_facilities_header.back .upa_facilities_header_back {
    transform: translateX(0);
}

.upa_facilities_body_a,
.upa_facilities_body_b {
    position: absolute;
    top: 62px;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 32px 15px;
    overflow-x: hidden;
    overflow-y: scroll;
    transition: 0.5s transform;
    transform: translateX(200vw);
    background-color: #fff;
}

.upa_facilities_body.hide {
    transform: translateX(-200vw);
}

.upa_facilities_body_a.show,
.upa_facilities_body_b.show {
    transform: translateX(0);
}

.upa_facilities_entry_wrapper {
    display: block;
}

.upa_facilities_entry {
    text-decoration: none;
    display: block;
    position: relative;
    min-height: 50px;
    margin-bottom: 30px;
}

.upa_facilities_entry img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.8;
    transition: 0.4s all;
}

.upa_facilities_entry:hover img {
    opacity: 1;
}

.upa_facilities_entry_image_wrapper {
    position: relative;
}

.upa_facilities_entry h3 {
    position: relative;
    top: 0;
    left: 95px;
    font-size: 19px;
    line-height: 25px;
    width: calc(100% - 95px);
    margin: 0;
}

.upa_facilities_entry:hover h3 {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--mg-primary-color-b-full);
    text-decoration-thickness: 1px;
}

.upa_facilities ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: 'GT-Eesti-LC-Display-Regular';
    font-weight: 400;
}

.upa_facilities ul li a {
    text-decoration: none;
    font-size: 20px;
    line-height: 1.4;
}

.upa_facilities ul li {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--mg-primary-color-b-medium);
}

.upa_facilities ul li:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

@media (min-width: 1200px) {
    .upa_facilities_header_back {
        display: none;
    }

    .upa_facilities_body_inner {
        max-height: calc(100vh - 150px);
        overflow-y: scroll;
        overflow-x: hidden;
    }

    .upa_facilities_entry_wrapper {
        margin: 0 -20px;
    }

    .upa_facilities_entry {
        width: calc(20% - 40px);
        display: inline-block;
        float: left;
        margin: 0 20px;
    }

    .upa_facilities_entry img {
        position: static;
        margin-bottom: 12px;
    }

    .upa_facilities_body.hide {
        transform: translateX(0);
    }

    .upa_facilities_entry h3 {
        position: static;
        font-size: 20px;
        line-height: 26px;
        margin: 0;
        width: 100%;
    }

    .upa_facilities ul {
        column-count: 3;
        max-width: 1042px;
    }

    .upa_facilities ul li a {
        position: relative;
    }

    .upa_facilities ul li a:hover {
        text-decoration: underline;
        text-underline-offset: 3px;
        text-decoration-color: var(--mg-primary-color-b-full);
        text-decoration-thickness: 1px;
    }

    .upa_facilities ul li {
        padding-bottom: 0;
        margin-bottom: 10px;
        border-bottom: none;
    }
}

@media (min-width: 1920px) {
    .upa_facilities_entry h3 {
        font-size: 24px;
        line-height: 32px;
    }

    .upa_facilities ul li {
        margin-bottom: 14px;
    }

    .upa_facilities_body_inner {
        max-height: calc(100vh - 226px);
    }
}

/* main navbar (without megamenu) */
.navbar {
    --bs-navbar-padding-y: 0;
}

.nav-link {
    --bs-nav-link-font-size: 26px;
    --bs-navbar-nav-link-padding-x: 24px;
    --bs-navbar-nav-link-padding-y: 12px;
    font-family: 'GT-Eesti-LC-Display';
    font-weight: 400;
    color: var(--mg-primary-color-b-full);
    white-space: nowrap;
}

.nav-link:focus-visible {
    box-shadow: none;
}

.upa_main_nav_inner {
    justify-content: center;
    position: relative;
    max-width: var(--mg-large-width);
}

.nav-item {
    position: relative;
}

.nav-item:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 15px;
    height: 4px;
    background-color: var(--mg-primary-color-a-full);
    width: 0;
    transition: width 0.5s;
}

.nav-item:hover:after,
.nav-item.active:after {
    width: calc(100% - 30px);
}

@media (min-width: 1200px) {
    .nav-link {
        --bs-nav-link-padding-y: 15px;
    }
}

/* breadcrumb */
.breadcrumb {
    --bs-breadcrumb-margin-bottom: 0;
    --bs-breadcrumb-font-size: 14px;
    --bs-breadcrumb-item-active-color: var(--mg-primary-color-b-full);
    font-family: 'GT-Eesti-LC-Display-Regular';
    font-weight: 400;
    line-height: 1.8;
}

.upa_breadcrumb {
    padding: 15px 16px 13px 16px;
    overflow: hidden;
    width: 100%;
    max-width: var(--mg-large-width);
    margin: 0 auto;
    position: relative;
}

.upa_breadcrumb:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 60px;
    background: rgb(255, 255, 255);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
}

.upa_breadcrumb_placeholder {
    height: 0;
}

.upa_breadcrumb a {
    text-decoration: none;
}

.upa_breadcrumb a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: var(--mg-primary-color-b-full);
    text-decoration-thickness: 1px;
    color: var(--mg-primary-color-b-full);
}

.upa_breadcrumb .breadcrumb {
    overflow-x: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.upa_breadcrumb .breadcrumb:-webkit-scrollbar {
    display: none;
}

.upa_breadcrumb .breadcrumb li {
    display: inline-flex;
    position: relative;
    padding-left: 24px;
}

.upa_breadcrumb .breadcrumb li:first-child {
    padding-left: 0;
}

.upa_breadcrumb_home {
    position: relative;
    top: -2px;
}

.upa_breadcrumb_home:after {
    content: "";
    height: 16px;
    width: 16px;
    background-image: url(../Img/icons_v4.svg);
    background-repeat: no-repeat;
    background-size: 160px;
    background-position: center;
    display: inline-block;
    transform: translateY(4px);
    background-position: 0 -16px;
}

.breadcrumb-item+.breadcrumb-item:before {
    content: "";
    width: 14px;
    height: 14px;
    background-size: 140px;
    background-image: url(../Img/icons_v4.svg);
    background-position: -126px 0;
    position: absolute;
    left: 5px;
    top: 5px;
}

@media (min-width: 1200px) {
    .upa_breadcrumb_placeholder {
        height: 60px;
    }

    .upa_breadcrumb:after {
        display: none;
    }
}

/* typo3 content element images */
.upa_image_gallery_item {
    padding-bottom: 20px;
}

.upa_image_gallery_item:last-child {
    padding-bottom: 0;
}

.ce-textpic.ce-right .upa_image_gallery_item:last-child,
.ce-textpic.ce-left .upa_image_gallery_item:last-child {
    padding-bottom: 20px;
}

.frame-type-textpic .ce-above .upa_image_gallery_item:last-child {
    padding-bottom: 20px;
}

.frame-type-textpic .ce-below .upa_image_gallery_item:first-child {
    padding-top: 20px;
}

.ce-left,
.ce-right {
    float: none;
    clear: both;
}

@media (min-width: 992px) {

    .ce-textpic.ce-right .upa_image_gallery_item:last-child,
    .ce-textpic.ce-left .upa_image_gallery_item:last-child {
        padding-bottom: 0;
    }

    .frame-type-textpic .ce-textpic.ce-right .upa_image_gallery_items {
        max-width: 33%;
        float: right;
        margin: 6px 0 0 20px;
    }

    .frame-type-textpic .ce-textpic.ce-left .upa_image_gallery_items {
        max-width: 33%;
        float: left;
        margin: 6px 20px 0 0;
    }
}

/* faq */
.upa_faq_list {
    border-top: 1px solid var(--mg-primary-color-b-medium);
}

.upa_faq_list .accordion {
    --bs-accordion-btn-active-icon: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8" standalone="no"%3F><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:1.5;"><g transform="matrix(1.07016,0,0,1,1.103,0.644158)"><path d="M0.838,7.356L12.051,7.356" style="fill:none;stroke:rgb(75,75,75);stroke-width:0.8px;"/></g></svg>');
    --bs-accordion-btn-icon: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8" standalone="no"%3F><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:1.5;"><g transform="matrix(1.07016,0,0,1,1.103,0.644158)"><path d="M0.838,7.356L12.051,7.356" style="fill:none;stroke:rgb(75,75,75);stroke-width:0.8px;"/></g><g transform="matrix(6.55285e-17,1.07016,-1,6.12323e-17,15.3558,1.103)"><path d="M0.838,7.356L12.051,7.356" style="fill:none;stroke:rgb(75,75,75);stroke-width:0.8px;"/></g></svg>');
}

.upa_faq_list .accordion-header {
    font-family: 'GT-Eesti-LC-Display-Regular';
    font-weight: 400;
}

.upa_faq_list .accordion-button {
    font-size: 20px;
    line-height: 1.6;
}

.upa_faq_list .accordion-item {
    border-top: none;
}

.upa_faq_inner {
    padding: var(--mg-padding-sm) 16px;
}

.upa_faq_inner p:last-child {
    margin-bottom: 0;
}

.upa_faq_list .accordion-button {
    padding: 10px 16px;
}

.upa_faq_list .accordion-button:after {
    height: 24px;
    width: 24px;
    background-size: 24px;
}

.accordion .upa_faq_list {
    display: none;
}

@media (min-width: 1200px) {
    .upa_faq_inner {
        padding: var(--mg-padding-lg) 16px;
    }
}

/* accordions */

.accordion {
    --bs-accordion-border-width: 0;
    --bs-accordion-border-radius: 0;
    --bs-accordion-inner-border-radius: 0;
    --bs-accordion-active-bg: transparent;
    --bs-accordion-active-color: var(--mg-primary-color-b-full);
    --bs-accordion-btn-padding-x: 0;
    --bs-accordion-btn-padding-y: 20px;
    --bs-accordion-body-padding-x: 20px;
    --bs-accordion-body-padding-y: 20px;
    --bs-accordion-btn-color: var(--mg-primary-color-b-full);
    --bs-accordion-color: var(--mg-primary-color-b-full);
    --bs-accordion-btn-icon-width: 28px;
    --bs-accordion-btn-bg: #ffffff;
    --bs-accordion-btn-active-icon: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8" standalone="no"%3F><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:1.5;"><g transform="matrix(1.07016,0,0,1,1.103,0.644158)"><path d="M0.838,7.356L12.051,7.356" style="fill:none;stroke:rgb(75,75,75);stroke-width:0.8px;"/></g></svg>');
    --bs-accordion-btn-icon: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8" standalone="no"%3F><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:1.5;"><g transform="matrix(1.07016,0,0,1,1.103,0.644158)"><path d="M0.838,7.356L12.051,7.356" style="fill:none;stroke:rgb(75,75,75);stroke-width:0.8px;"/></g><g transform="matrix(6.55285e-17,1.07016,-1,6.12323e-17,15.3558,1.103)"><path d="M0.838,7.356L12.051,7.356" style="fill:none;stroke:rgb(75,75,75);stroke-width:0.8px;"/></g></svg>');
}

.accordion-button {
    font-size: 20px;
    line-height: 1.2;
    transition: 0.5s background-color, 0.2s padding;
    padding: 12px;
    background-color: #ffffff;
}

.accordion-button span {
    transform: translateY(2px);
}

.accordion-header {
    margin-bottom: 0 !important;
}

.accordion-item:hover .accordion-button {
    background-color: #ffffff;
    color: var(--mg-primary-color-a-dark);
}

.accordion-item:hover .accordion-button::after {
    --bs-accordion-btn-icon: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8" standalone="no"%3F><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:1.5;"><g transform="matrix(1.07016,0,0,1,1.103,0.644158)"><path d="M0.838,7.356L12.051,7.356" style="fill:none;stroke:rgb(215,116,0);stroke-width:0.8px;"/></g><g transform="matrix(6.55285e-17,1.07016,-1,6.12323e-17,15.3558,1.103)"><path d="M0.838,7.356L12.051,7.356" style="fill:none;stroke:rgb(215,116,0);stroke-width:0.8px;"/></g></svg>');
}

.accordion-item:hover .accordion-button:not(.collapsed)::after {
    --bs-accordion-btn-active-icon: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8" standalone="no"%3F><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:1.5;"><g transform="matrix(1.07016,0,0,1,1.103,0.644158)"><path d="M0.838,7.356L12.051,7.356" style="fill:none;stroke:rgb(215,116,0);stroke-width:0.8px;"/></g></svg>');
}

.accordion-button:focus {
    box-shadow: none;
    outline: 1px dotted var(--mg-primary-color-b-full);
}

.accordion-button:not(.collapsed) {
    background-color: #ffffff;
}

.accordion-item {
    border-top: 1px solid var(--mg-primary-color-b-medium);
    border-right: none;
    border-bottom: 1px solid var(--mg-primary-color-b-medium);
    border-left: none;
    background-color: #ffffff;
}

.accordion-body {
    padding: 12px;
}

.accordion-body .frame {
    padding: 0 0 20px 0;
}

.accordion-body .frame-type-gridelements_pi1 {
    padding: 0;
}

@media (min-width: 1200px) {
    .accordion {
        --bs-accordion-btn-icon-width: 36px;
    }

    .accordion-button {
        font-size: 24px;
    }
}

/* tooltips */
.upa_tooltip {
    text-decoration-style: dotted; 
}

.upa_tooltip_style {
    --bs-tooltip-bg: var(--mg-primary-color-b-bright);
    --bs-tooltip-color: var(--mg-primary-color-b-full);
    --bs-tooltip-font-size: 14px;
    --bs-tooltip-padding-y: 16px;
    --bs-tooltip-padding-x: 16px;
    --bs-tooltip-opacity: 0.95;
    --bs-tooltip-border-radius: 4px;
    --bs-tooltip-max-width: 240px;
}

/* link icons */
.upa_bodytext a[href$=".zip"],
.upa_bodytext a[href$=".pdf"],
.upa_bodytext a[href$=".docx"],
.upa_bodytext a[href$=".xlsx"],
.upa_bodytext a[href$=".pptx"] {
    position: relative;
    padding: 0 0 0 18px;
}

.upa_bodytext a[href$=".zip"]:after,
.upa_bodytext a[href$=".pdf"]:after,
.upa_bodytext a[href$=".docx"]:after,
.upa_bodytext a[href$=".xlsx"]:after,
.upa_bodytext a[href$=".pptx"]:after {
    content: "";
    width: 14px;
    height: 14px;
    background-size: 140px;
    position: absolute;
    left: 0;
    top: 2px;
    background-image: url(../Img/icons_v4.svg);
}

.upa_bodytext a[href$=".zip"]:after {
    background-position: 0 0;
}

.upa_bodytext a[href$=".pdf"]:after {
    background-position: -14px 0;
}

.upa_bodytext a[href$=".docx"]:after {
    background-position: -28px 0;
}

.upa_bodytext a[href$=".xlsx"]:after {
    background-position: -42px 0;
}

.upa_bodytext a[href$=".pptx"]:after {
    background-position: -56px 0;
}

.upa_main_content .frame a.upa_mail {
    position: relative;
    padding: 0 0 0 18px;
}

.upa_main_content .frame a.upa_mail:after {
    content: "";
    width: 14px;
    height: 14px;
    background-image: url(../Img/icons_v4.svg);
    background-position: -98px -14px;
    background-size: 140px;
    position: absolute;
    left: 0;
    top: 2px;
}

.upa_main_content .frame a.upa_phone {
    position: relative;
    padding: 0 0 0 18px;
}

.upa_main_content .frame a.upa_phone:after {
    content: "";
    width: 14px;
    height: 14px;
    background-image: url(../Img/icons_v4.svg);
    background-position: -112px -14px;
    background-size: 140px;
    position: absolute;
    left: 0;
    top: 2px;
}

.upa_main_content .frame a.upa_external_link {
    position: relative;
    padding: 0 0 0 18px;
}

.upa_main_content .frame a.upa_external_link:after {
    content: "";
    width: 14px;
    height: 14px;
    background-image: url(../Img/icons_v4.svg);
    background-position: -70px 0;
    background-size: 140px;
    position: absolute;
    left: 0;
    top: 2px;
}

@media (min-width: 1200px) {

    .upa_bodytext a[href$=".zip"],
    .upa_bodytext a[href$=".pdf"],
    .upa_bodytext a[href$=".docx"],
    .upa_bodytext a[href$=".xlsx"],
    .upa_bodytext a[href$=".pptx"] {
        padding: 0 0 0 22px;
    }

    .upa_bodytext a[href$=".zip"]:after,
    .upa_bodytext a[href$=".pdf"]:after,
    .upa_bodytext a[href$=".docx"]:after,
    .upa_bodytext a[href$=".xlsx"]:after,
    .upa_bodytext a[href$=".pptx"]:after {
        width: 18px;
        height: 18px;
        background-size: 180px;
    }

    .upa_bodytext a[href$=".zip"]:after {
        background-position: 0 0;
    }

    .upa_bodytext a[href$=".pdf"]:after {
        background-position: -18px 0;
    }

    .upa_bodytext a[href$=".docx"]:after {
        background-position: -36px 0;
    }

    .upa_bodytext a[href$=".xlsx"]:after {
        background-position: -54px 0;
    }

    .upa_bodytext a[href$=".pptx"]:after {
        background-position: -72px 0;
    }

    .upa_main_content .frame a.upa_external_link {
        padding: 0 0 0 22px;
    }

    .upa_main_content .frame a.upa_external_link:after {
        width: 18px;
        height: 18px;
        background-position: -90px 0;
        background-size: 180px;
    }

    .upa_main_content .frame a.upa_mail {
        padding: 0 0 0 22px;
    }

    .upa_main_content .frame a.upa_mail:after {
        width: 18px;
        height: 18px;
        background-position: -126px -18px;
        background-size: 180px;
    }

    .upa_main_content .frame a.upa_phone {
        padding: 0 0 0 22px;
    }

    .upa_main_content .frame a.upa_phone:after {
        width: 18px;
        height: 18px;
        background-position: -144px -18px;
        background-size: 180px;
    }
}

/* teaser */
.upa_teaser h2 {
    font-family: 'GT-Eesti-LC-Display';
    font-weight: 400;
}

/* generic dropdown navigation */
.upa_dropdown_nav label {
    font-weight: 600;
    margin-bottom: 10px;
}

/* browse nav */
.upa_browse_nav {
    margin-bottom: calc(var(--mg-padding-sm) * 2);
    max-width: var(--mg-small-width);
}

.upa_browse_nav .row {
    --bs-gutter-x: 0px;
    --bs-gutter-y: 0px;
}

.upa_browse_nav a {
    display: inline-block;
    text-decoration: none;
    font-family: 'GT-Eesti-LC-Display';
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1;
    font-size: 18px;
    position: relative;
    padding: 0 0 0 22px;
}

.upa_browse_nav a:hover {
    color: var(--mg-primary-color-b-full);
    text-decoration: underline;
}

.upa_browse_nav a.upa_browse_nav_next {
    padding: 0 22px 0 0;
}

.upa_browse_nav a:before {
    content: "";
    width: 10px;
    height: 18px;
    position: absolute;
    top: -2px;
    left: 0;
    background-image: url(../Img/BrowseNavigation/prev.svg);
    background-position: center;
    background-size: 10px;
    overflow: hidden;
}

.upa_browse_nav a.upa_browse_nav_next:before {
    left: initial;
    right: 0;
    background-image: url(../Img/BrowseNavigation/next.svg);
}

.upa_browse_nav a.upa_browse_nav_next {
    text-align: right;
}

@media (min-width: 1440px) {
    .upa_browse_nav {
        margin-bottom: calc(var(--mg-padding-lg) * 2);
    }

    .upa_browse_nav a {
        font-size: 24px;
        padding: 0 0 0 32px;
        font-size: 27px;
    }

    .upa_browse_nav a.upa_browse_nav_next {
        padding: 0 32px 0 0;
    }

    .upa_browse_nav a:before {
        width: 14px;
        height: 24px;
        background-size: 14px;
        top: -1px;
    }
}

/* Stud.IP */
.frame-listtype-importstudip_pi1 label {
    max-width: 100%;
    font-weight: 400;
    font-family: 'Inter';
    line-height: 1.4;
    font-size: 16px;
    display: block;
    margin-bottom: 16px;
}

.frame-listtype-importstudip_pi1 label input[type=text],
.frame-listtype-importstudip_pi1 label select {
    margin-top: 6px;
}

.frame-listtype-importstudip_pi1 form {
    padding: 20px;
    background-color: var(--mg-primary-color-b-super-bright);
}

.frame-listtype-importstudip_pi1 input[type=text],
.frame-listtype-importstudip_pi1 select {
    max-width: 100%;
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.studip-coursedetails section {
    margin-bottom: var(--mg-padding-sm);
}

.frame-listtype-importstudip_pi1 input[type=submit] {
    margin-top: 32px;
    margin-bottom: 0;
    display: inline-block;
    color: #ffffff;
    background-color: var(--mg-primary-color-b-full);
    background-image: url(../Img/right_white.svg);
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center right 14px;
    padding: 14px 40px 14px 16px;
    font-weight: 600;
    position: relative;
    font-size: 18px;
    line-height: 1;
    border: none;
}

.frame-listtype-importstudip_pi1 form br {
    display: none;
}

.studip-coursedetails section h1,
.studip-coursedetails section h2,
.studip-coursedetails section h3,
.studip-coursedetails section h4,
.studip-coursedetails section h5,
.studip-coursedetails section h6 {
    padding-top: var(--mg-padding-sm);
}

.studip-persondetails {
    background-color: var(--mg-primary-color-b-super-bright);
    padding: 20px;
    text-align: center;
    position: relative;
    font-size: 16px;
}

.studip-persondetails .studip-persondetails-name {
    font-size: 24px;
    margin-bottom: 20px;
    line-height: 1.3;
    font-family: 'GT-Eesti-LC-Display';
    font-weight: 400;
}

.studip-persondetails .studip-persondetails-name.studip-persondetails-name-no-margin {
    margin-bottom: 0;
}

.studip-persondetails .studip-persondetails-position {
    margin-bottom: 20px;
}

.studip-persondetails .studip-persondetails-picture {
    text-align: center;
    margin-bottom: 20px;
}

.studip-persondetails .studip-picture-frame {
    display: inline-block;
}

.studip-persondetails .studip-picture-frame img {
    width: 100%;
    max-width: 120px;
    height: auto;
    border-radius: 100%;
}

.studip-persondetails .studip-persondetails-zipcity,
.studip-persondetails .studip-persondetails-spacer {
    margin-bottom: 20px;
}

.studip-persondetails .studip-persondetails-officehours {
    margin-top: 20px;
}

.studip-persondetails .studip-persondetails-officehours :is(p, ul, ol) {
    margin-bottom: 10px;
}

.studip-persondetails .studip-persondetails-officehours>*:last-child {
    margin-bottom: 0;
}

.studip-persondetails .upa_contactbox_modal_link {
    margin-top: 20px;
}

.studip-persondetails .upa_contactbox_modal_link span {
    text-decoration: underline;
    cursor: pointer;
}

.studip-persondetails .studip-persondetails-contact>section {
    margin-bottom: 20px;
}

.studip-persondetails-data>.studip-persondetails-spacer:last-child {
    display: none;
}

.studip-coursedetails {
    background-color: var(--mg-primary-color-b-super-bright);
    padding: 20px;
    position: relative;
    font-size: 16px;
}

.studip-coursedetails h1 {
    font-size: 26px;
}

.studip-coursedetails h2 {
    font-size: 20px;
    margin: 16px 0 10px 0;
}

@media (min-width: 1200px) {
    .frame-listtype-importstudip_pi1 form {
        padding: 40px;
    }

    .studip-coursedetails section {
        margin-bottom: var(--mg-padding-lg);
    }

    .studip-coursedetails section h1,
    .studip-coursedetails section h2,
    .studip-coursedetails section h3,
    .studip-coursedetails section h4,
    .studip-coursedetails section h5,
    .studip-coursedetails section h6 {
        padding-top: var(--mg-padding-lg);
    }

    .studip-persondetails {
        padding: 40px;
        text-align: left;
    }

    .studip-persondetails .studip-persondetails-picture {
        width: 120px;
        position: absolute;
        left: 40px;
        top: 40px;
    }

    .studip-persondetails.upa_studip_contactbox_has_image>h2,
    .studip-persondetails.upa_studip_contactbox_has_image .studip-persondetails-data {
        padding-left: 160px;
        min-height: 120px;
    }

    .studip-coursedetails {
        padding: 40px;
    }

    .studip-coursedetails h1 {
        font-size: 38px;
    }
}

/* table */
.table-responsive {
    margin-bottom: calc(var(--mg-padding-sm) * 2);
}

.upa_bodytext .table-responsive:last-child,
.upa_frame_inner .table-responsive:last-child {
    margin-bottom: 0;
}

table tr th:first-child {
    text-align: left;
    width: 1%;
}

table tr:first-child th:first-child {
    width: auto;
}

table {
    width: 100%;
    min-width: 100%;
    font-size: 16px;
    line-height: 1.7;
}

table td {
    padding: 16px 14px;
    vertical-align: top;
    table-layout: fixed;
    word-wrap: break-word;
}

table td a {
    word-break: initial;
}

table th {
    background-color: var(--mg-primary-color-b-super-bright);
    color: var(--mg-primary-color-b-full);
    padding: 16px 14px;
    text-align: left;
    vertical-align: top;
}

table th p {
    margin-bottom: 0;
}

table tr:first-child th {
    border-top: none;
}

table td p:last-child {
    margin-bottom: 0;
}

table tr {
    border-bottom: 1px solid var(--mg-primary-color-b-bright);
}

table tr.upa_table_is_th {
    border-bottom: none;
}

table tr:last-child {
    border-bottom: none;
}

table thead tr {
    border-bottom: none;
}

table caption {
    font-family: 'GT-Eesti-LC-Display';
    font-weight: 400;
    font-size: 24px;
    caption-side: top;
    display: table-caption;
    margin-bottom: 10px;
    line-height: 1.2;
    color: var(--mg-primary-color-b-full);
}

@media (min-width: 1200px) {
    .table-responsive {
        margin-bottom: calc(var(--mg-padding-lg) * 2);
    }

    table {
        font-size: 18px;
    }
}

/* buttons */
.btn-primary {
    --bs-btn-bg: var(--mg-primary-color-b-bright);
    --bs-btn-border-color: var(--mg-primary-color-b-bright);
    --bs-btn-hover-bg: var(--mg-primary-color-b-medium);
    --bs-btn-hover-border-color: var(--mg-primary-color-b-medium);
    --bs-btn-active-color: var(--mg-primary-color-b-full);
    --bs-btn-color: var(--mg-primary-color-b-full);
    --bs-btn-hover-color: var(--mg-primary-color-b-full);

    --bs-btn-active-bg: var(--mg-primary-color-b-medium);
    --bs-btn-active-color: var(--mg-primary-color-b-full);
    --bs-btn-active-border-color: var(--mg-primary-color-b-medium);

    --bs-btn-padding-x: 30px;
    --bs-btn-padding-y: 15px;

    --bs-btn-disabled-bg: var(--mg-primary-color-b-super-bright);
    --bs-btn-disabled-color: var(--mg-primary-color-b-medium);
    --bs-btn-disabled-border-color: var(--mg-primary-color-b-super-bright);
    --bs-btn-disabled-opacity: 1;

    --bs-border-radius: 5px;

    line-height: 1.2;
    text-decoration: none;
    font-family: 'GT-Eesti-LC-Display';
    font-weight: 400;
}

.upa_button_old {
    display: none;
}

.upa_button_new {
    width: 100%;
    text-align: center;
}

.upa_button_a,
.upa_button_b {
    line-height: 1.5;
    text-decoration: none;
    font-family: Inter;
    font-weight: 600;
    margin: 0 auto !important;
    border: 1px solid var(--mg-primary-color-b-full);
    border-radius: 2px;
    padding: 16px 35px;
    position: relative;
    display: inline-block;
    overflow: hidden;
    color: var(--mg-primary-color-b-full);
    z-index: 1;
}

.upa_button_a:before,
.upa_button_b:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--mg-primary-color-b-bright) 0% 0% no-repeat padding-box;
    z-index: -1;
}

.upa_button_b:before {
    background: var(--mg-primary-color-a-bright) 0% 0% no-repeat padding-box;
}

.upa_button_a:after,
.upa_button_b:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--mg-primary-color-b-medium) 0% 0% no-repeat padding-box;
    z-index: -1;
    transform: translateX(80%);
    transition: 0.6s ease transform, 0.9s ease opacity;
    opacity: 0;
}

.upa_button_b:after {
    background: var(--mg-primary-color-a-medium) 0% 0% no-repeat padding-box;
}

.upa_button_a:hover:after,
.upa_button_b:hover:after {
    transform: translateX(0);
    opacity: 1;
}

.upa_button_a:hover,
.upa_button_b:hover {
    color: var(--mg-primary-color-b-full) !important;
}

/* flash messages */
.upa_flash {
    padding: 20px;
    border-radius: 0;
    color: #856404;
    background-color: #fff3cd;
    border: 1px solid transparent;
    border-color: #ffeeba;
}

.upa_flash.upa_flash_error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.upa_flash p {
    margin-bottom: 0;
}

/* frames */
.frame {
    max-width: var(--mg-small-width);
    margin: 0 auto;
    padding: var(--mg-padding-sm) 16px;
}

.frame.upa_frame_stretch {
    max-width: var(--mg-medium-width);
}

/* 2 column container */
.frame-type-gridelements_pi1-1 {
    padding: 0 !important;
}

.frame-type-gridelements_pi1-1 .upa_grid_two_columns_row {
    --bs-gutter-x: 0;
}

@media (min-width: 768px) {
    .frame-type-gridelements_pi1-1 .upa_grid_two_columns_row {
        --bs-gutter-x: 30px;
    }
}

/* 2 column container for accordions */
.frame-type-gridelements_pi1-10 {
    padding: 0 !important;
}

.frame-type-gridelements_pi1-10 .upa_grid_two_columns_accordion_row {
    --bs-gutter-x: 0;
}

@media (min-width: 768px) {
    .frame-type-gridelements_pi1-10 .upa_grid_two_columns_accordion_row {
        --bs-gutter-x: 30px;
    }
}

/*
see ticket #10342506
.frame-type-gridelements_pi1-1 .upa_frame_inner {
    overflow-x: hidden;
}
*/

/* 3 column container */
.frame-type-gridelements_pi1-2 {
    max-width: var(--mg-medium-width);
    padding: 0 !important;
}

.frame-type-gridelements_pi1-2 .upa_grid_three_columns_row {
    --bs-gutter-x: 0;
}

@media (min-width: 768px) {
    .frame-type-gridelements_pi1-2 .upa_grid_three_columns_row {
        --bs-gutter-x: 30px;
    }
}

/*
see ticket #10342506
.frame-type-gridelements_pi1-2 .upa_frame_inner {
    overflow-x: hidden;
}
*/

/* legacy color container */
.frame-type-gridelements_pi1-5 {
    padding: 0 !important;
}

/* short profile container */
.frame-type-gridelements_pi1-6 {
    padding: 0 !important;
}

/* tile container */
.frame-type-gridelements_pi1-7 {
    padding: var(--mg-padding-sm) 0;
}

.frame-type-gridelements_pi1-7 {
    max-width: var(--mg-medium-width);
}

/* remove the space between two consecutive tile container */
.frame-type-gridelements_pi1-7+.frame-type-gridelements_pi1-7 {
    margin-top: calc(var(--mg-padding-sm) * -1) !important;
}

/* testimonial slider */
.frame-type-gridelements_pi1-8 {
    max-width: calc(var(--mg-medium-width) + 32px);
    padding: 0 !important;
}

/* logo container */
.frame-type-gridelements_pi1-11 {
    max-width: var(--mg-medium-width);
}

.frame-type-gridelements_pi1-11 .upa_logo_container_wrapper_small {
    max-width: var(--mg-small-width);
    margin: 0 auto;
}

.frame-type-gridelements_pi1>.upa_frame_inner>header {
    padding: var(--mg-padding-sm) 16px;
}

.frame-type-gridelements_pi1>.upa_frame_inner>header h1,
.frame-type-gridelements_pi1>.upa_frame_inner>header h2,
.frame-type-gridelements_pi1>.upa_frame_inner>header h3,
.frame-type-gridelements_pi1>.upa_frame_inner>header h4,
.frame-type-gridelements_pi1>.upa_frame_inner>header h5 {
    margin: 0 !important;
}

/* teaser container */
/* TODO: delete */
.frame-type-gridelements_pi1-9 {
    max-width: calc(var(--mg-medium-width) + 32px);
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* color container */
.frame-type-gridelements_pi1-12 {
    max-width: calc(var(--mg-medium-width) + 32px);
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.frame.frame-type-gridelements_pi1-3 {
    max-width: var(--mg-small-width);
}

.frame.frame-type-gridelements_pi1-3 .frame.frame-type-gridelements_pi1-3 {
    display: none !important;
}

.frame.frame-type-gridelements_pi1-3 .frame.frame-type-gridelements_pi1-1 {
    display: none !important;
}

.frame.frame-type-gridelements_pi1-3 .frame.frame-type-gridelements_pi1-2 {
    display: none !important;
}

.frame.frame-listtype-mattgoldtheme_banner {
    max-width: calc(var(--mg-medium-width) + 32px);
}

.frame:not(.frame-gallery) .upa_bodytext p:last-child,
.frame:not(.frame-gallery) .upa_bodytext ul:last-child {
    margin-bottom: 0;
}

.frame-remove_indentation {
    max-width: var(--mg-medium-width);
}

.frame-type-text.frame-infobox .upa_frame_inner,
.frame-type-textpic.frame-infobox .upa_frame_inner {
    padding: calc(var(--mg-padding-sm) * 2);
    position: relative;
    z-index: 1;
    background-color: var(--mg-primary-color-a-bright);
}

.upa_additional_info .frame-type-text.frame-infobox .upa_frame_inner,
.upa_additional_info .frame-type-textpic.frame-infobox .upa_frame_inner,
    {
    padding: 0;
}

.frame-type-text.frame-infobox .upa_frame_inner p:last-child,
.frame-type-textpic.frame-infobox .upa_frame_inner p:last-child {
    margin-bottom: 0;
}

.frame-type-gridelements_pi1-3 .frame-type-text.frame-infobox .upa_frame_inner,
.frame-type-gridelements_pi1-3 .frame-type-textpic.frame-infobox .upa_frame_inner {
    padding: 0;
    position: static;
    background-color: initial;
}

.frame-type-text.frame-graybox .upa_frame_inner,
.frame-type-textpic.frame-graybox .upa_frame_inner {
    padding: calc(var(--mg-padding-sm) * 2);
    position: relative;
    z-index: 1;
    background-color: var(--mg-primary-color-b-super-bright);
}

.frame-type-text.frame-graybox .upa_frame_inner p:last-child,
.frame-type-textpic.frame-graybox .upa_frame_inner p:last-child {
    margin-bottom: 0;
}

.frame-type-gridelements_pi1-3 .frame-type-text.frame-graybox .upa_frame_inner,
.frame-type-gridelements_pi1-3 .frame-type-textpic.frame-graybox .upa_frame_inner {
    padding: 0;
    position: static;
    background-color: initial;
}

.upa_additional_info .frame-type-text.frame-graybox .upa_frame_inner,
.upa_additional_info .frame-type-textpic.frame-graybox .upa_frame_inner {
    padding: 0;
}

.upa_footer .frame {
    padding: 0;
}

/* remove the space between two consecutive accordion elements */
.frame-type-gridelements_pi1-3+.frame-type-gridelements_pi1-3 {
    margin-top: calc((2 * var(--mg-padding-sm)) * -1) !important;
}

.frame-type-gridelements_pi1-3+.frame-type-gridelements_pi1-3 .accordion-item {
    border-top: none;
}

@media (min-width: 768px) {

    .frame-type-text.frame-graybox .upa_frame_inner,
    .frame-type-textpic.frame-graybox .upa_frame_inner {
        padding: calc(var(--mg-padding-lg) * 2);
    }

    .frame-type-text.frame-infobox .upa_frame_inner,
    .frame-type-textpic.frame-infobox .upa_frame_inner {
        padding: calc(var(--mg-padding-lg) * 2);
    }
}

@media (min-width: 1200px) {
    .frame.frame-listtype-mattgoldtheme_banner {
        padding-left: 16px;
        padding-right: 16px;
        max-width: var(--mg-large-width);
    }

    .frame {
        margin: 0 auto;
        padding: var(--mg-padding-lg) 0;
    }

    /* remove the space between two consecutive tile containers */
    .frame-type-gridelements_pi1-7+.frame-type-gridelements_pi1-7 {
        margin-top: calc(var(--mg-padding-lg) * -1 - 8px) !important;
    }

    /* remove the space between two consecutive accordion elements */
    .frame-type-gridelements_pi1-3+.frame-type-gridelements_pi1-3 {
        margin-top: calc((2 * var(--mg-padding-lg)) * -1) !important;
    }

    .frame-type-gridelements_pi1-7 {
        padding: var(--mg-padding-lg) 0;
    }

    /* TODO: remove */
    .frame-type-gridelements_pi1-9 {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .frame-type-gridelements_pi1-12 {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .frame-type-gridelements_pi1>.upa_frame_inner>header {
        padding: var(--mg-padding-lg) 0;
    }
}

@media (min-width: 1920px) {
    .frame.frame-listtype-mattgoldtheme_banner {
        max-width: var(--mg-large-width);
    }

    /* TODO: remove */
    .frame-type-gridelements_pi1-9 {
        max-width: var(--mg-large-width);
    }

    .frame-type-gridelements_pi1-12 {
        max-width: var(--mg-large-width);
    }
}

/* gallery frame */
.frame-gallery.frame-type-textpic,
.frame-gallery.frame-type-image {
    max-width: var(--mg-small-width);
}

.frame-gallery.frame-type-textpic.frame-gallery-has-text header,
.frame-gallery.frame-type-image.frame-gallery-has-text header {
    display: block;
    max-width: var(--mg-small-width);
    margin: 0 auto;
}

.frame-gallery.frame-type-textpic h1,
.frame-gallery.frame-type-image h1,
.frame-gallery.frame-type-textpic h2,
.frame-gallery.frame-type-image h2,
.frame-gallery.frame-type-textpic h3,
.frame-gallery.frame-type-image h3,
.frame-gallery.frame-type-textpic h4,
.frame-gallery.frame-type-image h4,
.frame-gallery.frame-type-textpic h5,
.frame-gallery.frame-type-image h5,
.frame-gallery.frame-type-textpic h6,
.frame-gallery.frame-type-image h6 {
    margin-bottom: 20px;
}

.frame-gallery.frame-type-textpic .slick-list,
.frame-gallery.frame-type-image .slick-list {
    margin-bottom: 0;
}

.upa_image_gallery_slide {
    margin: 0 10px;
}

.frame-gallery.frame-type-textpic .slick-arrow,
.frame-gallery.frame-type-image .slick-arrow {
    background-color: transparent;
    background-image: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8" standalone="no"%3F><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 60 60" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-miterlimit:1.5;"><path d="M45,1L16.042,30L45,59" style="fill:none;stroke:rgb(75,75,75);stroke-width:1.87px;"/></svg>');
    width: 60px;
    height: 60px;
    background-size: 60px;
    transform: none;
    padding: 0;
    margin-top: -30px;
    top: 50%;
}

.frame-gallery.frame-type-textpic .slick-arrow.slick-prev,
.frame-gallery.frame-type-image .slick-arrow.slick-prev {
    left: -60px;
}

.frame-gallery.frame-type-textpic .slick-arrow.slick-next,
.frame-gallery.frame-type-image .slick-arrow.slick-next {
    transform: rotate(180deg);
    right: -60px;
}

.frame-gallery.frame-type-textpic .upa_bodytext,
.frame-gallery.frame-type-image .upa_bodytext {
    display: block;
    max-width: var(--mg-small-width);
    margin: 0 auto;
}

@media (min-width: 992px) {
    .upa_image_gallery_inner {
        margin: 0 -10px;
    }
}

@media (min-width: 1440px) {

    .frame-gallery.frame-type-textpic,
    .frame-gallery.frame-type-image {
        max-width: var(--mg-medium-width);
    }
}

/* content pictures */
.image-caption {
    background-color: var(--mg-primary-color-b-bright);
    padding: 15px;
    font-size: 14px;
}

/* slick slider basic configuration */
.slick-list {
    margin-bottom: 0;
    /* changed 30px to 0, check normal slider */
}

.slick-dots {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0;
    line-height: 0;
    margin-bottom: 30px;
}

.slick-dots li {
    display: inline-block;
}

.slick-dots li button {
    border: none;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 100%;
    display: inline-block;
    padding: 0;
    background-color: var(--mg-primary-color-b-medium);
}

.slick-dots li.slick-active button {
    background-color: var(--mg-primary-color-b-full);
}

.slick-arrow {
    font-size: 0;
    line-height: 0;
    position: absolute;
    right: 15px;
    top: 100%;
    width: 40px;
    height: 40px;
    background-color: var(--mg-primary-color-b-full);
    border: none;
    margin-top: 0;
    background-image: url('data:image/svg+xml,<svg clip-rule="evenodd" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" viewBox="0 0 14 20" xmlns="http://www.w3.org/2000/svg"><path d="m5 9 1.41 1.41 4.59-4.58v16.17h2v-16.17l4.59 4.59 1.41-1.42-7-7z" fill="%23fff" fill-rule="nonzero" transform="translate(-5 -2)"/></svg>');
    transform: rotate(90deg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
}

.slick-prev {
    right: unset;
    left: 15px;
    transform: rotate(-90deg);
}

.slick-arrow.slick-disabled {
    background-color: var(--mg-primary-color-b-bright);
}

@media (min-width: 1920px) {
    .slick-arrow {
        top: 50%;
        right: -55px;
        margin-top: -20px;
    }

    .slick-prev {
        left: -55px;
    }
}

/* slide */
.frame-type-gridelements_pi1-4>.upa_frame_inner>header {
    padding: var(--mg-padding-sm) 0;
}

.frame-type-gridelements_pi1-4 {
    max-width: var(--mg-small-width);
}

.frame-type-gridelements_pi1-4 .frame {
    position: relative;
    margin: initial !important;
    max-width: initial !important;
    padding: 0 10px;
}

.frame-type-gridelements_pi1-4 .frame .upa_theme_old {
    display: none !important;
}

.frame-type-gridelements_pi1-4 .frame header {
    position: absolute;
}

.frame-type-gridelements_pi1-4 .frame header h2 {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: block;
    font-size: 14px;
    font-weight: 400;
    font-family: 'GT-Eesti-LC-Display';
    line-height: 29px;
    margin: 0;
    padding: 5px 15px;
    display: inline-block;
}

.frame-type-gridelements_pi1-4 .frame header span {
    background-color: rgba(0, 0, 0, 0.5);
    margin: 0;
    width: auto;
    color: #fff;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: right 10px top 13px;
    padding: 0 10px;
    font-size: 13px;
    line-height: 22px;
}

.frame-type-gridelements_pi1-4 .frame img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.frame-type-gridelements_pi1-4 .slick-dots {
    position: absolute;
    background-color: #fff;
    margin-bottom: 0;
    bottom: 0;
    display: inline-block;
    left: 30px;
    width: auto;
    padding: 0 10px;
}

.frame-type-gridelements_pi1-4 .slick-dots li button {
    margin: 10px 5px;
}

.slider-main .slick-arrow {
    background-color: transparent;
    background-image: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8" standalone="no"%3F><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 60 60" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-miterlimit:1.5;"><path d="M45,1L16.042,30L45,59" style="fill:none;stroke:rgb(75,75,75);stroke-width:1.87px;"/></svg>');
    width: 60px;
    height: 60px;
    background-size: 60px;
    transform: none;
    padding: 0;
    margin-top: -30px;
    top: 50%;
}

.slider-main .slick-arrow.slick-prev {
    left: -80px;
}

.slider-main .slick-arrow.slick-next {
    transform: rotate(180deg);
    right: -80px;
}

@media (min-width: 768px) {
    .frame-type-gridelements_pi1-4 .frame header h2 {
        font-size: 30px;
        line-height: 45px;
    }

    .frame-type-gridelements_pi1-4 .frame header span {
        font-size: 18px;
        line-height: 27px;
        padding: 10px 35px 10px 10px;
    }
}

@media (min-width: 992px) {
    .frame-type-gridelements_pi1-4 .frame {
        padding: 0;
    }
}

/* Vimeo video plugin */
.upa_main_content .upa_vimeo_single_wrapper_small .upa_vimeo_single_layer h2 {
    font-size: 16px !important;
}

@media (min-width: 992px) {
    .upa_main_content .upa_vimeo_single_layer h2 {
        font-size: 36px;
    }
}

@media (min-width: 1200px) {
    .upa_main_content .upa_vimeo_single_wrapper_small .upa_vimeo_single_layer h2 {
        font-size: 20px !important;
    }
}

/* YouTube video plugin */
.upa_main_content .upa_youtube_single_wrapper_small .upa_youtube_single_layer h2 {
    font-size: 16px !important;
}

@media (min-width: 992px) {
    .upa_main_content .upa_youtube_single_layer h2 {
        font-size: 36px;
    }
}

@media (min-width: 1200px) {
    .upa_main_content .upa_youtube_single_wrapper_small .upa_youtube_single_layer h2 {
        font-size: 20px !important;
    }
}

/* tiles */
.upa_tile_old_design {
    display: none;
}

.upa_tile_container_wrapper {
    max-width: var(--mg-medium-width);
    margin: 0 auto;
}

.upa_tile_container_header_small {
    max-width: var(--mg-medium-width);
    margin: 0 auto;
}

.upa_tile_container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 -16px -16px;
}

.upa_tile_container>* {
    width: 100%;
    flex: 0 100%;
    margin: 0 0 0 16px;
}

.upa_tile_wrapper {
    margin: 0 15px;
}

.upa_tile {
    padding: 0 0 68% 0;
    display: block;
    text-decoration: none;
    font-size: 18px;
    line-height: 1.2;
    text-align: center;
    font-family: 'GT-Eesti-LC-Display';
    font-weight: 400;
    position: relative;
    overflow: hidden;
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
    cursor: pointer;
    margin-bottom: 16px;
}

.upa_tile .upa_tile_icon {
    content: "";
    top: 0;
    right: 0;
    background-color: #ffffff;
    z-index: 10;
    position: absolute;
    padding: 4px;
    opacity: 0.8;
}

.upa_tile .upa_tile_icon .upa_tile_icon_modal_icon {
    width: 18px;
    height: 18px;
    background-image: url(../Img/icons_v4.svg);
    background-position: -90px -36px;
    background-size: 180px;
}

.upa_tile:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: var(--mg-primary-color-a-medium);
    z-index: -1;
    opacity: 0.3;
}

.upa_tile:after {
    content: "";
    position: absolute;
    top: -5px;
    right: -5px;
    bottom: -5px;
    left: -5px;
    background-color: var(--mg-primary-color-a-medium);
    z-index: -1;
    clip-path: polygon(95% 0, 100% 0, 100% 100%, 90% 100%);
    transition: 0.4s ease clip-path;
    opacity: 0.5;
}

.upa_tile:hover:after {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    opacity: 0.3;
}

.upa_tile h2 {
    font-size: 26px;
}

.upa_tile:hover h2 {
    color: var(--mg-primary-color-b-full);
}

.upa_tile_inner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 20px;
}

.upa_tile_inner_bottom {
    position: absolute;
    display: block;
    right: 0;
    bottom: 20px;
    left: 0;
    font-size: 18px;
    color: var(--mg-primary-color-a-full);
    padding: 0 16px;
}

.upa_main_content_more_slider {
    margin: 0 -15px;
}

.upa_main_content_more_slider .slick-list {
    margin-bottom: 0;
}

.upa_main_content_more_slide {
    margin: 0 15px;
}

.upa_tile.upa_tile_image {
    color: #ffffff;
}

.upa_tile.upa_tile_image>img {
    width: 100%;
    max-width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(1.05);
    transition: 0.4s ease all;
    transition-delay: 250ms;
}

.upa_tile.upa_tile_image:hover>img {
    transform: scale(1.1);
}

.upa_tile.upa_tile_image .upa_tile_inner {
    z-index: 20;
}

.upa_tile.upa_tile_image:before {
    display: none;
}

.upa_tile.upa_tile_image:after {
    display: none;
}

.upa_tile.upa_tile_image .upa_tile_inner_bottom h2 {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 62%;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    font-size: 16px;
}

.upa_tile.upa_tile_image:hover .upa_tile_inner_bottom h2 {
    color: var(--mg-primary-color-a-medium);
}

.upa_tile.upa_tile_image .upa_tile_inner_bottom {
    color: #fff;
    bottom: 0;
    height: 40%;
    overflow: hidden;
}

.upa_tile.upa_tile_image .upa_tile_inner_bottom:after {
    content: "";
    position: absolute;
    top: 0;
    right: -2px;
    bottom: -2px;
    left: -2px;
    background-color: var(--mg-primary-color-b-full);
    opacity: 0.95;
    z-index: -1;
    clip-path: polygon(100% 0, 100% 38%, 100% 100%, 0 99%, 0% 38%);
}

@media (min-width: 576px) {
    .upa_generic_modal .modal-dialog {
        max-width: 800px;
    }
}

@media (min-width: 1200px) {
    .upa_tile_container_header_small {
        max-width: var(--mg-small-width);
    }

    .upa_tile h2 {
        font-size: 32px;
    }

    .upa_tile_inner {
        padding: 30px;
    }

    .upa_tile_inner_bottom {
        font-size: 20px;
    }

    .upa_tile_container_wrapper_2 {
        max-width: var(--mg-small-width);
    }

    .upa_tile_container_2>* {
        flex: 0 0 calc(100% / 2 - 16px);
    }

    .upa_tile_container_3>* {
        flex: 0 0 calc(100% / 3 - 16px);
    }

    .upa_tile_container_4>* {
        flex: 0 0 calc(100% / 4 - 16px);
    }

    .upa_tile_wrapper {
        margin: 0;
    }

    .upa_tile.upa_tile_image .upa_tile_inner_bottom h2 {
        font-size: 20px;
    }
}

/* main content */
.upa_main_content {
    min-height: initial;
    max-width: var(--mg-large-width);
    margin: 0 auto;
}

.upa_main_title {
    padding: 0 15px;
    width: 100%;
    max-width: var(--mg-large-width);
    margin: 0 auto;
    display: flex;
}

.upa_main_title h1 {
    position: relative;
    max-width: var(--mg-medium-width);
    margin: 0 auto;
    width: 100%;
    padding: var(--mg-padding-sm) 0 0 0;
}

.upa_main_content_more {
    width: 100%;
    max-width: calc(var(--mg-medium-width) + 32px);
    margin: 0 auto;
    position: relative;
    padding: 60px 15px;
    text-align: center;
}

.upa_main_content_more h2 {
    margin: 0 0 48px 0;
    font-size: 24px;
}

.upa_main_content_more>h2 {
    padding-top: 48px;
    border-top: 1px solid var(--mg-primary-color-b-medium);
}

.upa_main_content_more .upa_tile:before {
    background-color: var(--mg-primary-color-b-medium);
}

.upa_main_content_more .upa_tile:after {
    background-color: var(--mg-primary-color-b-full);
    opacity: 0.1;
}

.upa_main_content_more .upa_tile_inner_bottom {
    color: var(--mg-primary-color-b-full);
}

.upa_main_content_more .upa_tile:hover:after {
    opacity: 0.1;
}

@media (min-width: 1200px) {
    .upa_main_content {
        min-height: calc(100vh - 467px);
    }

    .upa_main_title h1 {
        font-size: 60px;
        padding: var(--mg-padding-lg) 0 20px 0;
    }

    h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 38px;
    }

    h3 {
        font-size: 24px;
    }

    h4 {
        font-size: 20px;
    }

    h5 {
        font-size: 20px;
    }

    h6 {
        font-size: 20px;
    }

    .upa_main_content_more {
        padding: 100px 15px;
    }

    .upa_main_content_more h2 {
        font-size: 36px;
    }
}

/* side button */
.upa_cta_button {
    display: flex;
    align-items: center;
    line-height: 1;
    padding: 0 20px 0 48px;
    height: 46px;
    position: fixed;
    background-color: var(--mg-primary-color-b-full);
    text-transform: uppercase;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    background-image: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8" standalone="no"%3F><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 20 14" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><g transform="matrix(1,0,0,1,-2,-5)"><path d="M15,5L13.59,6.41L18.17,11L2,11L2,13L18.17,13L13.58,17.59L15,19L22,12L15,5Z" style="fill:white;fill-rule:nonzero;"/></g></svg>');
    background-repeat: no-repeat;
    background-position: left 20px center;
    background-size: 20px;
    z-index: 40;
    bottom: 0;
    left: 0;
}

@media (min-width: 1200px) and (min-height: 600px) {
    .upa_cta_button {
        display: flex;
        top: calc(100vh / 2);
        right: 0;
        bottom: initial;
        left: initial;
        transform: rotate(-90deg);
        transform-origin: bottom right;
        height: 60px;
        padding: 0 32px 0 64px;
        background-position: left 32px center;
        background-size: 24px;
    }
}

/* back to top */
.upa_back_top {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 46px;
    height: 46px;
    background-color: var(--mg-primary-color-b-full);
    background-image: url('data:image/svg+xml,<svg clip-rule="evenodd" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" viewBox="0 0 14 20" xmlns="http://www.w3.org/2000/svg"><path d="m5 9 1.41 1.41 4.59-4.58v16.17h2v-16.17l4.59 4.59 1.41-1.42-7-7z" fill="%23fff" fill-rule="nonzero" transform="translate(-5 -2)"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 15px;
    cursor: pointer;
    transform: translateX(100px) translateY(100px);
    display: flex;
    transition: 0.5s transform;
    z-index: 40;
}

.upa_back_top.show {
    transform: translateX(0) translateY(0);
}

@media (min-width: 1200px) {
    .upa_back_top {
        width: 60px;
        height: 60px;
    }
}

/* grid container */
.upa_container {
    max-width: 1302px;
    margin: 0 auto;
}

.upa_container_col {
    padding: 20px 0;
    margin-bottom: 40px;
}

.upa_container_col_green {
    background-color: var(--mg-secondary-color-b-medium);
}

.upa_container_col_gray {
    background-color: var(--mg-primary-color-b-bright);
}

@media (min-width: 992px) {
    .upa_container_wrapper {
        margin: 0 8px;
    }

    .upa_container {
        display: flex;
        flex-wrap: wrap;
    }

    .upa_container_col {
        width: calc(50% - 16px);
        margin: 0 8px;
    }
}

@media (min-width: 1200px) {
    .upa_container_wrapper {
        margin: 0 16px;
    }

    .upa_container_col {
        width: calc(50% - 32px);
        margin: 0 16px;
        padding: 20px 80px;
    }
}

/* news */
.frame-listtype-news_pi1 .archive {
    padding-top: 10px;
}

.upa_news_more_link {
    display: inline-block;
    text-decoration: none;
    background-color: var(--mg-primary-color-b-full);
    padding: 8px 16px;
    font-weight: 600;
    color: #fff !important;
}

.news-list-view .article {
    background-color: #ffffff;
    border-radius: 3px;
    padding: 0;
    color: var(--mg-primary-color-b-full) !important;
}

.news-list-view .article a {
    color: var(--mg-primary-color-b-full) !important;
}

.news-list-view .article img {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.news-list-view .article .header {
    padding: 15px;
}

.news-list-view .article .header h2 {
    margin: 0;
    padding: 0;
    font-size: 20px;
    line-height: 26px;
}

.news-list-view .article a {
    text-decoration: none;
}

.news-list-view .news-list-view-ajax .article a {
    text-decoration: underline;
}

.news-list-view .news-list-view-ajax .article {
    margin-bottom: 16px;
}

.news-list-view .news-list-view-ajax .article .header {
    padding: 0;
}

.frame-listtype-mattgoldnews_pi1 .archive a {
    display: inline-block;
    color: #fff;
    background-color: var(--mg-primary-color-b-full);
    padding: 8px 40px 8px 16px;
    font-weight: 600;
    position: relative;
}

.frame-listtype-mattgoldnews_pi1 .archive a:after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    background-image: url(../Img/right_white.svg);
    background-size: 16px;
    margin-top: -8px;
    right: 14px;
}

.frame-listtype-mattgoldnews_pi1 .archive {
    padding-top: 16px;
}

.frame-listtype-mattgoldnews_pi1 .archive a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

@media (min-width: 1200px) {
    .news-list-view .article img {
        border-top-left-radius: 3px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 3px;
    }
}

/* image copyright */
figure {
    position: relative;
}

.upa_image_copyright {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background-color: var(--mg-primary-color-b-full);
    opacity: 0.95;
    cursor: pointer;
    line-height: 1;
    color: #fff;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* pre footer */
.upa_pre_footer {
    padding: 5px 16px;
    max-width: var(--mg-large-width);
    margin: 0 auto;
    text-align: center;
    font-size: 14px;
    line-height: 1.2;
}

.upa_pre_footer_inner {
    margin: 0 -16px;
}

.upa_pre_footer_item {
    position: relative;
    padding-left: 22px;
    display: inline-block;
    margin: 10px 15px;
}

.upa_pre_footer_item_last_updated {
    display: inline-block;
    padding-left: 0;
}

.upa_pre_footer_print_icon,
.upa_pre_footer_share_icon,
.upa_pre_footer_updated_icon {
    width: 14px;
    height: 14px;
    background-image: url(../Img/icons_v4.svg);
    background-position: -98px 0;
    background-size: 140px;
    display: inline-block;
    position: absolute;
    top: 1px;
    left: 0;
}

.upa_pre_footer_updated_icon {
    background-position: -14px -14px;
}

.upa_pre_footer_share_link {
    cursor: pointer;
}

.upa_pre_footer_share_link:hover {
    text-decoration: underline;
}

.upa_pre_footer_share_icon {
    background-position: -112px 0;
}

.upa_pre_footer_print_link {
    text-decoration: none;
}

.upa_pre_footer_print_link:hover {
    text-decoration: underline;
    cursor: pointer;
}

.upa_share_modal {
    margin: 0;
    padding: 0;
    list-style: none;
}

#upaShare .modal-dialog {
    max-width: 360px;
    margin: 0 auto;
}

#upaShare .modal-body {
    padding: 0;
}

#upaShare .modal-content {
    border: 1px solid var(--mg-primary-color-b-medium);
}

#upaShare .modal-header {
    border-bottom: 1px solid var(--mg-primary-color-b-medium);
}

.upa_share_modal li {
    border-bottom: 1px solid var(--mg-primary-color-b-medium);
    position: relative;
    padding: 15px 15px 15px 50px;
    line-height: 1.2;
}

.upa_share_modal li:last-of-type {
    border-bottom: none;
}

.upa_share_modal li a {
    text-decoration: none;
}

.upa_share_modal_icon {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 11px;
    left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.upa_share_modal_icon svg {
    height: 20px;
    width: auto;
    fill: var(--mg-primary-color-b-medium);
}

.upa_share_modal li:hover svg {
    fill: var(--mg-primary-color-b-full);
}

@media(min-width: 1200px) {
    .upa_pre_footer {
        text-align: left;
    }

    .upa_pre_footer_item {
        float: right;
    }

    .upa_pre_footer_item_last_updated {
        float: left;
    }

    .upa_pre_footer {
        font-size: 16px;
    }

    .upa_pre_footer_print_icon,
    .upa_pre_footer_share_icon,
    .upa_pre_footer_updated_icon {
        width: 16px;
        height: 16px;
        background-size: 160px;
        background-position: -112px 0;
    }

    .upa_pre_footer_updated_icon {
        background-position: -16px -16px;
    }

    .upa_pre_footer_share_icon {
        background-position: -128px 0;
    }
}

/* footer */
.upa_footer {
    font-size: 14px;
    line-height: 1.6;
    background-color: var(--mg-primary-color-b-super-bright);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    font-weight: 400;
}

.upa_footer a {
    color: var(--mg-primary-color-b-full);
    text-decoration: none;
}

.upa_footer a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: var(--mg-primary-color-b-full);
    text-decoration-thickness: 1px;
}

.upa_footer li {
    padding: 0 0 6px 0;
}

.upa_footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.upa_footer_inner {
    position: relative;
    z-index: 30;
}

.upa_footer_layer_a {
    position: absolute;
    clip-path: var(--mg-slope-a-clippath-desktop);
    top: 0;
    right: 0;
    bottom: 0;
    width: 100px;
    background-color: rgba(255, 255, 255, 0.6);
    transition: 1.5s ease all 0.5s;
}

.upa_footer_layer_b {
    position: absolute;
    clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 0% 100%);
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100px;
    background-color: var(--mg-primary-color-a-full);
    transition: 1.5s ease all 0.5s;
    opacity: 0.8;
}

.upa_footer_meta {
    text-align: center;
    padding: 40px 0;
}

.upa_footer_copyright {
    text-align: center;
}

.upa_footer_follow_bar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    align-content: stretch;
    margin: 0 -7px;
}

.upa_footer_follow {
    width: 32px;
    height: 32px;
    background-color: var(--mg-primary-color-b-full);
    border-radius: 100%;
    margin: 7px;
    display: flex;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
    justify-content: center;
    align-items: center;
}

.upa_footer_follow a {
    line-height: 0;
    font-size: 0;
    display: flex;
}

.upa_footer_follow svg {
    height: 16px;
    width: auto;
    fill: #ffffff;
}

.upa_footer_nav {
    column-count: 2;
}

.upa_footer_nav li {
    display: inline-block;
    width: 100%;
    max-width: 170px;
    line-height: 1.4;
}

.upa_footer p a:hover,
.upa_footer_nav a:hover {
    text-decoration: underline;
}

.upa_footer_logos {
    margin: 40px -15px;
    text-align: center;
}

.upa_footer_logo {
    height: 40px;
    display: inline-block;
    margin: 10px 15px;
}

.upa_footer_logo a {
    display: block;
}

.upa_footer_logo img {
    height: 40px;
    width: auto;
}

@media (min-width: 768px) {
    .upa_footer_meta {
        text-align: left;
        padding: 0;
    }
}

@media (min-width: 1200px) {
    .upa_footer {
        font-size: 16px;
        padding: 100px 0;
    }

    .upa_footer .container {
        max-width: var(--mg-large-width);
    }

    .upa_footer_follow_bar {
        justify-content: start;
        margin: 40px -12px;
    }

    .upa_footer_copyright {
        text-align: left;
        align-self: end;
    }

    .upa_footer_copyright span {
        transform: translateY(6px);
        display: inline-block;
    }

    .upa_footer_layer_a {
        width: 200px;
    }

    .upa_footer_layer_b {
        height: 150px;
    }

    .upa_footer:hover .upa_footer_layer_a {
        width: 250px;
    }

    .upa_footer:hover .upa_footer_layer_b {
        height: 250px;
    }

    .upa_footer_follow {
        width: 50px;
        height: 50px;
        margin: 12px;
    }

    .upa_footer_follow svg {
        height: 22px;
    }

    .upa_footer_nav {
        column-count: 3;
    }

    .upa_footer_nav li {
        max-width: 200px;
    }

    .upa_footer_logos {
        text-align: right;
        margin: 0 -30px;
    }

    .upa_footer_logo {
        height: 60px;
        margin: 0 30px;
    }

    .upa_footer_logo img {
        height: 60px;
    }
}

/* forms */
.form-control-lg {
    font-size: 18px;
}

.form-select-lg {
    font-size: 18px;
}

.btn-ub {
    background-color: var(--mg-primary-color-a-medium);
    font-size: 16px !important;
    border-color: var(--mg-primary-color-b-full);
}

.form-check {
    line-height: 1.4;
}

.form-check-input:checked {
    background-color: var(--mg-primary-color-b-full);
    border-color: var(--mg-primary-color-b-full);
}

.form-control:focus {
    border-color: #447AFB;
    box-shadow: 0 0 0 2px rgba(68, 122, 251, .25);
}

.form-select:focus {
    border-color: #447AFB;
    box-shadow: 0 0 0 2px rgba(68, 122, 251, .25);
}

.form-check-input:focus {
    border-color: #447AFB;
    box-shadow: 0 0 0 2px rgba(68, 122, 251, .25);
}

.form-check-input.is-invalid~.form-check-label,
.was-validated .form-check-input:invalid~.form-check-label {
    color: var(--mg-primary-color-b-full);
}

.form-control.is-invalid:focus,
.was-validated .form-control:invalid:focus {
    box-shadow: 0 0 0 2px rgba(var(--bs-danger-rgb), .25);
}

.form-select.is-invalid:focus,
.was-validated .form-select:invalid:focus {
    box-shadow: 0 0 0 2px rgba(var(--bs-danger-rgb), .25);
}

.form-check-input.is-invalid:focus,
.was-validated .form-check-input:invalid:focus {
    box-shadow: 0 0 0 2px rgba(var(--bs-danger-rgb), .25);
}

.btn:hover {
    background-color: var(--mg-primary-color-a-full);
    border-color: var(--mg-primary-color-b-full);
}

.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
    background-color: var(--mg-primary-color-a-full);
    border-color: var(--mg-primary-color-b-full);
}

.btn:focus-visible {
    background-color: var(--mg-primary-color-a-full);
    border-color: var(--mg-primary-color-b-full);
    box-shadow: 0 0 0 2px rgba(68, 122, 251, .25);
}

.frame-type-form_formframework label {
    font-weight: 400;
    font-family: 'GT-Eesti-LC-Display';
    letter-spacing: var(--mg-letter-spacing);
}

.frame-type-form_formframework .inputs-list {
    margin-top: 10px;
}

.frame-type-form_formframework .inputs-list label span {
    font-weight: 400;
    font-family: 'GT-Eesti-LC-Display-Regular';
    letter-spacing: var(--mg-letter-spacing);
    padding-left: 28px;
    display: block;
    font-size: 16px;
}

.frame-type-form_formframework .radio label {
    position: relative;
}

.frame-type-form_formframework .form-check-input {
    border: 1px solid var(--mg-primary-color-b-medium);
    width: 16px;
    height: 16px;
    position: absolute;
    top: 0;
    left: 0;
}

.frame-type-form_formframework .form-check-input:checked {
    background-color: var(--mg-primary-color-b-medium);
    border-color: var(--mg-primary-color-b-medium);
}

.frame-type-form_formframework .required {
    color: var(--mg-color-red);
}

.frame-type-form_formframework .form-control {
    border: 1px solid var(--mg-primary-color-b-medium);
    border-radius: 5px;
    padding: 10px;
    background-color: rgba(239, 239, 239, 0.4);
}

.frame-type-form_formframework .form-control:focus {
    background-color: var(--mg-primary-color-a-bright);
    border-color: var(--mg-primary-color-b-full);
    box-shadow: 0 0 0 .25rem var(--mg-primary-color-a-medium);
}

.frame-type-form_formframework .form-group {
    margin-bottom: 20px;
}

.frame-type-form_formframework .checkbox .form-check {
    position: relative;
    padding-left: 0;
}

.frame-type-form_formframework .checkbox .form-check input {
    width: 16px;
    height: 16px;
    position: absolute;
    top: 3px;
    left: 0;
}

.frame-type-form_formframework .help-block {
    font-size: 14px;
    line-height: 1.4;
    display: block;
}

.frame-type-form_formframework .input.checkbox>.form-check {
    padding-left: 28px;
}

@media (min-width: 1200px) {
    .frame-type-form_formframework .form-check-input {
        width: 17px;
        height: 17px;
        top: 1px;
    }

    .frame-type-form_formframework .checkbox .form-check input {
        width: 17px;
        height: 17px;
        top: 11px;
    }

}

/* follow bar */
.upa_follow {
    display: block;
    line-height: 0;
    font-size: 0;
    margin: 0 -5px -10px -5px;
}

.upa_follow .upa_follow_outer {
    display: inline-block;
    width: 60px;
    margin: 0 5px 10px 5px;
}

.upa_follow .upa_follow_inner {
    width: 100%;
    padding: 0 0 100% 0;
    position: relative;
}

.upa_follow .upa_follow_inner a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    background-color: var(--mg-primary-color-b-super-bright);
    align-items: center;
    justify-content: center;
    transition: 0.2s background-color;
}

.upa_follow .upa_follow_inner a svg {
    height: 30px;
    width: auto;
    fill: var(--mg-primary-color-b-full);
}

.upa_follow .upa_follow_inner a:hover {
    background-color: var(--mg-primary-color-b-bright);
}

/* lightbox */
.upa_lightbox_overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: #000000;
    opacity: 0.9;
    display: none;
}

.upa_lightbox {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 10000;
    text-align: center;
    line-height: 0;
    font-weight: 400;
    outline: none;
}

.upa_lightbox .lb-image {
    display: block;
    height: auto;
    max-width: inherit;
    max-height: none;
}

.upa_lightbox a img {
    border: none;
}

.lb-outerContainer {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto;
    background-color: var(--mg-primary-color-b-bright);
}

.lb-outerContainer:after {
    content: "";
    display: table;
    clear: both;
}

.lb-loader {
    position: absolute;
    top: 43%;
    left: 0;
    height: 25%;
    width: 100%;
    text-align: center;
    line-height: 0;
}

.lb-nav {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 10;
}

.lb-nav a.lb-next,
.lb-nav a.lb-prev {
    cursor: pointer;
    font-size: 0;
    line-height: 0;
    position: absolute;
    right: 0;
    top: -60px;
    width: 40px;
    height: 40px;
    background-color: var(--mg-primary-color-b-full);
    border: none;
    background-image: url('data:image/svg+xml,<svg clip-rule="evenodd" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" viewBox="0 0 14 20" xmlns="http://www.w3.org/2000/svg"><path d="m5 9 1.41 1.41 4.59-4.58v16.17h2v-16.17l4.59 4.59 1.41-1.42-7-7z" fill="%23fff" fill-rule="nonzero" transform="translate(-5 -2)"/></svg>');
    transform: rotate(90deg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
    z-index: 1100;
}

.lb-nav a.lb-prev {
    right: 50px;
    transform: rotate(-90deg);
}

.lb-dataContainer {
    margin: 0 auto;
    width: 100%;
    background-color: var(--mg-primary-color-b-bright);
}

.lb-dataContainer:after {
    content: "";
    display: table;
    clear: both;
}

.lb-data {
    padding: 0;
    color: var(--mg-primary-color-b-full);
}

.lb-data .lb-details {
    width: 100%;
    text-align: left;
}

.lb-data .lb-caption {
    font-size: 16px;
    line-height: 1.5;
    padding: 15px;
    display: block;
}

.lb-data .lb-number {
    display: none !important;
}

.lb-data .lb-close {
    display: block;
    width: 40px;
    height: 40px;
    position: fixed;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.lb-data .lb-close:before,
.lb-data .lb-close:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #ffffff;
    transform: rotate(45deg);
    transition: 0.5s transform 0.5s;
    margin-top: -2px;
}

.lb-data .lb-close:after {
    transform: rotate(-45deg);
}

/* A-Z index */
.upa_keyword_index .upa_letter {
    display: block;
    margin: 20px 0;
    font-size: 40px;
    font-family: 'GT-Eesti-LC-Display';
    font-weight: 400;
    color: var(--mg-primary-color-a-full);
}

.upa_keyword_index .upa_keyword_link {
    display: block;
    padding-left: 40px;
}

/* maps */
.frame.frame-listtype-uposmmanager_uposmmanager {
    max-width: var(--mg-medium-width);
}

/* sphere */
.frame.frame-listtype-mattgoldsphere_sphere {
    max-width: var(--mg-medium-width);
}

/* INT2.0 */
.frame-listtype-upaint_pi1 {
    padding: 0 16px;
}

.frame-listtype-upaint_pi1 .frame-listtype-upaint_pi1 {
    padding: 0;
}

.frame-listtype-upaint_pi1 .upa_frame_inner header {
    margin-top: var(--mg-padding-sm);
    margin-bottom: calc(-1 * var(--mg-padding-sm));
}

.frame-type-gridelements_pi1-3 .accordion-body .frame-listtype-upaint_pi1:first-child .upaint_container .upaint_infoitem:first-child {
    padding-top: 0 !important;
}

.frame-type-gridelements_pi1-3 .accordion-body .frame-listtype-upaint_pi1:last-child .upaint_container .upaint_infoitem:last-child {
    padding-bottom: 0 !important;
}

.upaint_formstage_frame {
    padding: var(--mg-padding-sm) 0;
}

.upaint_formstage_wrapper {
    background: var(--mg-primary-color-b-super-bright);
    padding: 20px;
}

.upaint_formstage_wrapper label {
    font-weight: 400;
    font-family: 'Inter';
    line-height: 1.4;
    font-size: 16px;
    display: block;
    margin-bottom: 6px;
}

.upaint_formstage_wrapper .form-group {
    margin-bottom: 16px;
}

.upaint_formstage_wrapper .form-group:last-child {
    margin-bottom: 0;
}

.upaint_formstage_wrapper .upaint_submit {
    margin-top: 32px;
    margin-bottom: 0;
    display: inline-block;
    color: #ffffff;
    background-color: var(--mg-primary-color-b-full);
    padding: 14px 40px 14px 16px;
    font-weight: 600;
    position: relative;
    font-size: 18px;
    line-height: 1;
}

.upaint_formstage_wrapper .upaint_submit::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    top: 50%;
    background-image: url(../Img/right_white.svg);
    background-size: 14px;
    margin-top: -8px;
    right: 14px;
}

.upaint_container {
    padding: 0;
}

.upaint_container:empty {
    padding: 0;
}

.upaint_container .upaint_infoitem:first-child {
    padding-top: var(--mg-padding-sm);
}

.upaint_container .upaint_infoitem {
    padding: 0 0 var(--mg-padding-sm) 0;
}

.upaint_container .upaint_infoitem_teaser_text > *:last-child {
    margin-bottom: 0;
}

.upaint_button_new {
    display: inline-block;
    color: #ffffff !important;
    background-color: var(--mg-primary-color-b-full);
    padding: 16px 40px 16px 16px;
    font-weight: 600;
    position: relative;
    font-size: 18px;
    line-height: 1;
}

.upaint_button_new:hover {
    text-decoration-color: #ffffff !important;
}

.upaint_button_new::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    top: 50%;
    background-image: url(../Img/right_white.svg);
    background-size: 14px;
    margin-top: -7px;
    right: 14px;
}

@media (min-width: 1200px) {
    .frame-listtype-upaint_pi1 .upa_frame_inner header {
        margin-top: var(--mg-padding-lg);
        margin-bottom: calc(-1 * var(--mg-padding-lg));
    }

    .upaint_container .upaint_infoitem:first-child {
        padding-top: var(--mg-padding-lg);
    }

    .frame-listtype-upaint_pi1 {
        padding: 0;
    }

    .upaint_formstage_frame {
        padding: var(--mg-padding-lg) 0;
    }

    .upaint_formstage_wrapper {
        padding: 40px;
    }

    .upaint_container .upaint_infoitem {
        padding: 0 0 var(--mg-padding-lg) 0;
    }
}