/*
! MAIN UTILS
*/

body {
    margin: 0;
    background-color: var(--telekom-color-background-canvas);
    color: var(--telekom-color-text-and-icon-standard);
}

.container {
    width: auto !important;
}

/*
! LAYOUT UTILS
*/

.float-right {
    float: right;
}

img.fill {
    width: 100%;
    max-width: 100%;
}

img.img-fluid {
  max-width: 100%;
}

img.rounded-corners {
    border-radius: var(--telekom-radius-large);
}

img.object-fit-contain {
    object-fit: contain;
}

.h-100 {
    height: 100%;
}

.h-0 {
    height: 0;
}

.w-100 {
    width: 100%;
}

.w-unset {
    width: unset !important;
}

.max-width-100 {
    max-width: 100%;
}

.max-height-6em {
    max-height: 6em;
}

.max-height-12em {
    max-height: 12em;
}

.mms-partner-logo {
    margin-left: auto;
    margin-right: auto;
    height: 2.5em;
}

.benefit-icon {
    max-height: 8em;
}

img.expert-img {
    max-width: 13em;
}

.position-end {
    position: absolute;
    right: 0;
}

.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.min-width-fit-content {
    min-width: fit-content;
}

.flex-end {
    display: flex;
    justify-content: flex-end;
}

#bottomLayerLeft {
    position: fixed;
    bottom: var(--scl-spacing-24);
    left: var(--scl-spacing-24);
    z-index: 94;
}

#bottomLayerRight {
    position: fixed;
    bottom: var(--scl-spacing-24);
    right: var(--scl-spacing-24);
    z-index: 94;
}

.show-only-mobile {
    display: block;
}

.show-only-desktop {
    display: block;
}

@media (min-width: 1039px) {
    .show-only-mobile {
        display: none;
    }
}

@media (max-width: 1039px) {
    .show-only-desktop {
        display: none;
    }
}

@media (max-width: 768px) {
    .center-header-text {
        text-align: center
    }
}

:target {
    scroll-margin-top: 60px;
}

.mega-menu__wrapper {
    border-radius: 0 0 var(--header-border-radius) var(--header-border-radius);
}

.vertical-space-between {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/*
! TEXT UTILS
*/

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

.text-uppercase {
    text-transform: uppercase;
}

.text-0-7 {
    font-size: 0.7rem !important;
}

.text-1 {
    font-size: 1rem !important;
}

.text-1-2 {
    font-size: 1.2rem !important;
}

.text-1-5 {
    font-size: 1.5rem !important;
}

.text-2 {
    font-size: 2rem !important;
}

.text-3 {
    font-size: 3rem !important;
}

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

.text-5 {
    font-size: 5rem !important;
}

.text-bold {
    font-weight: bold;
}

.text-normal {
    font-weight: normal;
}

.text-light {
  font-weight: lighter;
}

.text-italic {
    font-style: italic;
}

.text-right {
    text-align: right;
}

.text-monospace {
    font-family: monospace;
}

.text-break {
    overflow-wrap: break-word;
}

/*
! COLOR UTILS
*/

.color-magenta, .text-magenta {
    color: var(--telekom-color-primary-standard) !important;
}

.color-success {
    color: var(--telekom-color-text-and-icon-functional-success);
}

.color-error {
    color: var(--telekom-color-text-and-icon-functional-danger);
}

.color-warning {
    color: var(--telekom-color-text-and-icon-functional-warning);
}

.border-magenta {
    border: solid var(--telekom-color-primary-standard) .3em;
}

.color-text-additional {
    color: var(--telekom-color-text-and-icon-additional);
}

.color-text-disabled {
    color: var(--telekom-color-text-and-icon-disabled);
}

.bg-magenta {
    color: var(--telekom-color-text-and-icon-standard);
    background-color: var(--telekom-color-primary-standard);
}

.bg-highlight {
    color: var(--telekom-color-text-and-icon-standard);
    background-color: var(--telekom-color-background-surface-highlight);
}

.bg-surface {
    color: var(--telekom-color-text-and-icon-standard);
    background-color: var(--telekom-color-background-surface);
}

.bg-surface scale-card::part(base) {
    background: var(--telekom-color-background-canvas);
}

.bg-subtle {
    color: var(--telekom-color-text-and-icon-standard);
    background-color: var(--telekom-color-background-surface-subtle);
}

.bg-dark {
    color: var(--telekom-color-text-and-icon-standard);
    background-color: #000000;
}

/*
! OTHER UTILS
*/

.border-round {
    border-radius: 50%;
}

.cursor-pointer {
    cursor: pointer;
}

tr[href],
scale-tab-header[href] {
    cursor: pointer;
}

*[trigger*="click"] {
    cursor: pointer;
}

.page-link {
    display: inline-block;
    border: var(--telekom-spacing-unit-x025) solid var(--telekom-color-ui-border-standard);
    min-width: var(--telekom-spacing-unit-x11);
    height: var(--telekom-spacing-unit-x11);
    border-left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-link:hover {
    background-color: var(--telekom-color-background-surface-subtle);
}

a.page-link {
    color: var(--color-button);
    text-decoration: none;
}

ul.pagination > .page-item:first-child .page-link {
    border-left: var(--telekom-spacing-unit-x025) solid var(--telekom-color-ui-border-standard);
    border-radius:  var(--telekom-radius-standard) 0 0 var(--telekom-radius-standard);
}

ul.pagination > .page-item:last-child .page-link {
    border-radius:  0 var(--telekom-radius-standard) var(--telekom-radius-standard) 0;
}

/* TODO fnbe: only temporally, please remove after redesigned all paginations */
ul.pagination {
    display: flex;
    flex-flow: row;
    list-style: none;
    padding-left: 0;
}

.iconWrapper {
    width: 24px;
    height: 24px;
    position: relative;
    transform-origin: center;
}

table tr th {
    text-overflow: ellipsis;
    overflow: hidden;
}

table tr td {
    word-wrap: break-word;
    white-space: initial !important;
}

#ticketsTable table {
    width: 100%;
    table-layout: fixed;
}



/*
! FORM UTILS
*/

.float-on-textfield {
    top: -1.95em;
    position: relative;
    left: -1em;
    float: right;
}

.iconHidePassword, .tooltipHidePassword {
    display: none;
}

*[data-mms-max-filesize-validation-field] {
    display: none;
}

.file-floating-label-container {
    border: var(--telekom-spacing-unit-x025) solid var(--telekom-color-ui-border-standard);
    border-radius: var(--telekom-radius-standard);
    padding: .75em;
}

.file-floating-label {
    font-size: var(--telekom-typography-font-size-footnote);
    color: var(--telekom-color-text-and-icon-additional);
    font-weight: bold;
    margin-right: .5em;
}

input[type="file"] {
    width: 100%;
}

.note-editor.note-airframe, .note-editor.note-frame {
    border-color: var(--telekom-color-ui-border-standard) !important;
    border-radius: var(--telekom-radius-standard) !important;
}

.note-toolbar {
    border-top-left-radius: var(--telekom-radius-standard) !important;
    border-top-right-radius: var(--telekom-radius-standard) !important;
}

/*
! BOOSTRAP-OVERWRITE
*/

@media (min-width: 992px) {
    .mms-row-cols-lg-5 > .col {
        flex: 0 0 auto;
        width: 20%;
    }

    .mms-row-cols-lg-4 > .col {
        flex: 0 0 auto;
        width: 25%;
    }
}

/*
! VIDEO UTILS (FROM BOOTSTRAP)
*/

.embed-responsive-16by9::before {
  padding-top: 56.25%;
}

.embed-responsive::before {
  display: block;
  content: "";
}

.embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.embed-responsive .embed-responsive-item, .embed-responsive embed, .embed-responsive iframe, .embed-responsive object, .embed-responsive video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/*
! SCALE COMPONENTS
*/

:root {
    --scl-font-size-10: 14px;
    --scl-font-size-12: 14px;
}

scale-app-shell {
    --spacing-x: 0;
}

scale-tooltip::part(tooltip) {
    white-space: normal;
    text-align: left;
    max-width: 20em;
}

scale-card::part(border) {
    display: flex;
    height: 100%;
}

scale-card::part(body) {
    height: calc(100% - 2.5em);
}

scale-card::part(base) {
    transition: all 0.2s ease;
    -webkit-box-shadow:inset 0px 0px 0px 0px transparent;
    -moz-box-shadow:inset 0px 0px 0px 0px transparent;
    box-shadow:inset 0px 0px 0px 0px transparent;
}

scale-card.active::part(base) {
    -webkit-box-shadow:inset 0px 0px 0px var(--scl-spacing-4) var(--scl-color-primary);
    -moz-box-shadow:inset 0px 0px 0px var(--scl-spacing-4) var(--scl-color-primary);
    box-shadow:inset 0px 0px 0px var(--scl-spacing-4) var(--scl-color-primary);
}

scale-card[data-mms-scale-card-tab-trigger]::part(base):hover,
scale-card::part(base interactive):hover {
    -webkit-box-shadow:inset 0px 0px 0px var(--scl-spacing-2) var(--scl-color-primary);
    -moz-box-shadow:inset 0px 0px 0px var(--scl-spacing-2) var(--scl-color-primary);
    box-shadow:inset 0px 0px 0px var(--scl-spacing-2) var(--scl-color-primary);
    cursor: pointer;
}

scale-card.active::part(base) {
    -webkit-box-shadow:inset 0px 0px 0px var(--scl-spacing-4) var(--scl-color-primary);
    -moz-box-shadow:inset 0px 0px 0px var(--scl-spacing-4) var(--scl-color-primary);
    box-shadow:inset 0px 0px 0px var(--scl-spacing-4) var(--scl-color-primary);
}

scale-card .mb-0 {
    margin-bottom: calc(var(--spacing-body)*-1) !important;
}

scale-card .mr-0 {
    margin-right: calc(var(--spacing-body)*-1) !important;
}

scale-card[to]::part(base):focus,
scale-card[data-mms-scale-card-tab-trigger]::part(base):focus {
    border: solid var(--scl-spacing-2) #7d94f9;
}

scale-card::part(base) {
  overflow: visible;
}

*[data-mms-scale-card-tab]:not(:first-child),
*[data-mms-scale-segment-tab]:not(:nth-child(2)){
    display: none;
}

scale-button.shadow::part(base) {
    box-shadow: var(--lt-shadow-website-overlay);
}

scale-button.w-100::part(base) {
    width: 100%;
}

scale-dropdown-select::part(label) {
    text-align: left;
}

.bg-magenta scale-button:not([variant="secondary"])::part(base) {
    background: var(--telekom-color-background-surface-subtle);
}

.bg-magenta scale-button:not([variant="secondary"])::part(base):hover {
    background: var(--telekom-color-background-canvas-subtle);
}

scale-sidebar-nav::part(sidebar-nav collapsible) {
    padding: 0;
}

scale-collapsible::part(heading) {
    word-wrap: anywhere;
}

scale-notification-toast {
    z-index: 94;
    position: absolute;
}

scale-list.mb-0::part(base) {
    margin-bottom: 0 !important;
}

scale-list.mt-0::part(base) {
    margin-top: 0 !important;
}

/* TODO fnbe: only temporally, please remove after textfield-label-overflow fixed by SCALE-Team */
.text-field__label {
    width: -moz-available;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    margin-right: 1.5em;
    left: 0;
    text-align: left;
}

.sector-navigation__portal-name {
    color: var(--telekom-color-text-and-icon-standard);
}

.img-filter-gray,
.img-filter-gray svg {
    transition: filter 1s;
    filter: saturate(0%);
}

scale-card:hover .img-filter-gray,
scale-card:hover .img-filter-gray svg {
    filter: saturate(100%);
}

a[aria-haspopup="true"] scale-icon-navigation-collapse-down {
    margin-left: .2em;
}

.mega-menu--visible a[aria-haspopup="true"] scale-icon-navigation-collapse-down {
     rotate: 180deg;
}

a.main-navigation-mobile__item-link a scale-icon-navigation-collapse-down {
    display: none !important;
}

/*
! CUSTOM CLASSES
*/

.mms-identifier {
    height: 1em;
}

.mb-price {
    margin-bottom: 3.3em;
}

.card-img {
    height: 20vh;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 1em;
}

.link-nostyle {
    color: inherit;
    text-decoration: inherit;
}

.link-nostyle:hover {
    color: var(--telekom-color-text-and-icon-primary-hovered);
}

.mobile-menu-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1em;
    list-style-type: none;
}

.mobile-menu-wrapper li {
    margin: 0;
}

/*
!   ORDER DETAIL
*/

#termsCollapsible {
    display: none;
}

.termsCollapsibleLink {
    cursor: pointer;
    color: var(--telekom-color-primary-standard);
}

#collapseNewProject {
    display: none;
}

#stickyOrderbox {
    position: -webkit-sticky;
    position: sticky;
    top: 5em;
}

.p-0 > scale-card::part(body) {
    padding: 0;
}

.px-0 > scale-divider::part(base),
.ps-0 > scale-divider::part(base) {
    padding-left: 0;
}

.px-0 > scale-divider::part(base),
.pe-0 > scale-divider::part(base) {
    padding-right: 0;
}

.orderpaymentinformation {
    background-color: var(--telekom-color-background-surface-highlight);
}

.imgAi4tesHowItWorks {
    width: 9.8em;
}

/*
!   LANDINGPAGE
*/
#firstViewContainer {
    min-height: 85vh;
}

#img-experts {
    height: 10em;
}

img.spec-bottom {
    position: absolute;
    top: 100%;
    left: 0;
    display: block;
    width: 200%;
    height: auto;
 }

.spec-value {
    padding-left: 0.75rem;
    margin-bottom: 1rem;
    border-left: 0.175rem solid #fff;
    font-size: 2rem;
}

.landingpage-icon-small,
.landingpage-icon-small svg{
    height: 3rem;
    max-width: 100%;
}

.landingpage-icon-medium {
    height: 5rem;
    max-width: 100%;
}

.landingpage-bordered {
    border: 2px white solid;
    padding: 2.2rem !important;
}

.landingpage-title-left {
    border-right: 0.175rem solid rgb(216, 0, 116);
    padding-right: 0.75rem;
    display:inline-block;
}

.landingpage-title-right {
    border-left: 0.175rem solid rgb(216, 0, 116);
    padding-left: 0.75rem;
    display:inline-block;
}

.landingpage-box-left {
    text-align: right;
}

@media (max-width: 768px) {

    .landingpage-box-left {
        text-align: left;
    }

    .landingpage-title-left {
        border-left: 0.175rem solid rgb(216, 0, 116);
        padding-left: 0.75rem;
        padding-right: 0rem;
        border-right: none;
    }

    .landingpage-title-right {
        border-left: 0.175rem solid rgb(216, 0, 116);
        padding-left: 0.75rem;
    }

}

.ref-slider-container {
    overflow: hidden;
    position: relative;
}

.ref-slider {
    padding-left: 1em;
    padding-right: 1em;
    display: flex;
    transition: transform 1s ease-in-out;
}

.ref-slide:hover .img-filter-gray, .ref-slide:hover .img-filter-gray svg {
    filter: saturate(100%);
}

.ref-slide {
    min-width: 33.33%;
    box-sizing: border-box;
}

@media (max-width: 575.98px) {
    .ref-slide {
        min-width: 50% !important;
    }
}

.ref-slide img {
    max-height: 15em;
    max-width: 100%;
    display: block;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

/*
!   USAGE
*/

svg.usageTabIcon path,
svg.usageTabIcon circle {
    fill: currentColor !important;
}

svg.usageTabIcon ellipse {
    stroke: currentColor !important;
}

svg.usageTabIcon {
    height: 1em;
}

/*
!   BLOG
*/

.card-article {
    height: 100%;
    position: relative;
}

.card-article-date {
    margin-top: -2em;
}

.card-article-seemore {
    position: absolute;
    bottom: 0;
    right: 0;
}

.card-article-seemore-wrapper {
    position: relative;
    height: 100%;
    min-height: 3.5em;
}

/*
!   FAQ
*/

#faq-result.searchmode .faq_block {
    display: none;
}

#faq-result.searchmode .faq_block.search-hit {
    display: block;
}

/*
! BLOG (MODERATION)
*/
.note-editing-area {
    color: var(--telekom-color-text-and-icon-standard);
}

/*
!   BUSINESS CUSTOMERS (MODERATION)
*/

table {
    width: 100%;
    table-layout: fixed;
}

@media (min-width: 992px) {
    table tr td, table tr th {
        word-wrap: anywhere;
        white-space: initial !important;
        line-height: initial !important;
    }
}

table tr th {
    padding-top: .5em !important;
    padding-bottom: .5em !important;
}

.table--sortable th .scale-sort-indicator {
    width: 16px;
    height: 13px;
    margin: 0;
}

#th-fullName {
    width: 19%
}

#th-email {
    width: 19%
}

#th-emailVerified {
    width: 8%
}

#th-debitorNr {
    width: 8%
}

#th-userRole {
    width: 8%
}

#th-companyName {
    width: 18%
}

#th-registrationDate {
    width: 10%
}

#th-actions {
    width: 9%;
}

/*
!   CONTINUE BUTTON (LANDINGPAGE)
*/
@keyframes continue-wobble-bottom  {
    0% { bottom: 1%; }
    50% { bottom: 6%; }
    100% { bottom: 1%; }
}

.continue-bottom{
    z-index: 1070;
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    animation-name: continue-wobble-bottom;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    transition: transform 0.2s ease, opacity 1s, visibility 1s;
}

.continue-bottom:hover {
    transform: scale(1.2);
    cursor: pointer;
}

.continue-bottom .continue-arrow-bottom{
    display: inline-block;
    position: relative;
    transform: rotate(90deg) scale(4.0) translateY(-6%);

    text-shadow: -1px -1px 10px #000, 1px -1px 10px #000, -1px 1px 10px #000, 1px 1px 10px #000;
    color: #fff;
}

#backarrowbutton {
    visibility: hidden;
    opacity: 1;
    transition: transform 0.2s ease, opacity 1s, visibility 1s;
}

/*
!   FOOTER
*/

.socialmedia-icon-wrapper {
    padding-right: .3em;
    text-decoration: none;
    display: inline-block;
}

.socialmedia-icon-wrapper img {
    width: 3em;
}

.footer-link {
    color: var(--color-link-standard);
    font-weight: 800;
    font-size: 14px;
    margin: 0 8px;
    text-decoration-line: none;
}

.footer-link-text {
    padding: 4px 0;
}

.footer-link-icon {
    padding-right: 8px;
    top: 3px;
    position: relative;
}

.footer-link:hover .footer-link-text {
    border-bottom: 1px white solid;
}

.topyenoh-field {
    position: absolute;
    opacity: 0.01;
}

.topyenoh-field input {
    cursor: default !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
}

scale-telekom-mega-menu-column span {
    margin-left: var(--telekom-spacing-composition-space-06);
    color: var(--telekom-color-text-and-icon-additional);
    font-style: italic;
}

@media screen and (min-width: 1040px) {
    .burger-item {
        display: none;
    }
}

@media screen and (max-width: 1040px) {
    scale-telekom-nav-item scale-badge::part(label) {
        display: none;
    }
}
