*,
::before,
::after {
    box-sizing: border-box;
}

.icons {
    display: inherit;
    position: absolute;
    right: 10px;
    font-size: 0.8em;
}

[role="tooltip"]:not(.show)[id^="editarticle-"],
[role="tooltip"]:not(.show)[id^="editcontact-"] {
    margin-inline-start: -10em;
    right: auto;
}

[role="tooltip"]:not(.show) {
    z-index: 1070;
    color: #000;
    text-align: start;
    background: #fff;
    border: 1px solid #6d757e;
    border-radius: .25rem;
    max-width: 100%;
    margin: .5em;
    padding: .5em;
    display: none;
    right: 5em;
    box-shadow: 0 0 .5rem #000c;
}

.fade {
    transition: opacity .15s linear;
}

.fade:not(.show) {
    opacity: 0;
}

.edit.item-page {
    margin: 1rem auto;
    max-width: 1280px;
    width: 90%;
}

/* joomla-tab[view="tabs"]>div[role="tablist"] {
    display: none
} */
/* joomla-tab button[aria-controls] {
    display: none !important;
} */
joomla-tab#com-content-form div button[aria-controls="attrib-fields-16"] {
    display: none;
}

joomla-tab#com-content-form div button[aria-controls="attrib-fields-1"] {
    display: none;
}

joomla-tab#com-content-form div button[aria-controls="attrib-fields-11"] {
    display: none;
}

joomla-tab#com-content-form div button[aria-controls="attrib-fields-16"] {
    display: none;
}

.joomla-dialog-header {
    border-bottom: 1px solid var(--border-color);
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    display: flex;
    position: relative;
}

.btn-close {
    --btn-close-color: #000;
    --btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='hsl%280, 0%, 0%%29'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
    --btn-close-opacity: .5;
    --btn-close-hover-opacity: .75;
    --btn-close-focus-shadow: 0 0 0 .25rem #01015640;
    --btn-close-focus-opacity: 1;
    --btn-close-disabled-opacity: .25;
    --btn-close-white-filter: invert(1)grayscale(100%)brightness(200%);
    box-sizing: content-box;
    color: var(--btn-close-color);
    background: transparent var(--btn-close-bg)center/1em auto no-repeat;
    opacity: var(--btn-close-opacity);
    border: 0;
    border-radius: .25rem;
    width: 1em;
    height: 1em;
    padding: .25em;
}

/* modal */
iframe {
    border: 0
}

.modal iframe {
    width: 100%
}

.modal {
    --modal-zindex: 3100;
    --modal-width: 500px;
    --modal-padding: 1rem;
    --modal-margin: .5rem;
    --modal-color: ;
    --modal-bg: var(--body-bg);
    --modal-border-color: var(--border-color-translucent);
    --modal-border-width: var(--border-width);
    --modal-border-radius: var(--border-radius-lg);
    --modal-box-shadow: var(--box-shadow-sm);
    --modal-inner-border-radius: calc(var(--border-radius-lg) - (var(--border-width)));
    --modal-header-padding-x: 1rem;
    --modal-header-padding-y: 1rem;
    --modal-header-padding: 1rem 1rem;
    --modal-header-border-color: var(--border-color);
    --modal-header-border-width: var(--border-width);
    --modal-title-line-height: 1.5;
    --modal-footer-gap: .5rem;
    --modal-footer-bg: ;
    --modal-footer-border-color: var(--border-color);
    --modal-footer-border-width: var(--border-width);
    z-index: var(--modal-zindex);
    outline: 0;
    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden auto
}

.modal-dialog {
    margin: var(--modal-margin);
    pointer-events: none;
    width: auto;
    position: relative
}

.modal.fade .modal-dialog {
    transition: transform .3s ease-out;
    transform: translateY(-50px)
}

@media (prefers-reduced-motion:reduce) {
    .modal.fade .modal-dialog {
        transition: none
    }
}

.modal.show .modal-dialog {
    transform: none
}

.modal.modal-static .modal-dialog {
    transform: scale(1.02)
}

.modal-dialog-scrollable {
    height: calc(100% - var(--modal-margin)*2)
}

.modal-dialog-scrollable .modal-content {
    max-height: 100%;
    overflow: hidden
}

.modal-dialog-scrollable .modal-body {
    overflow-y: auto
}

.modal-dialog-centered {
    min-height: calc(100% - var(--modal-margin)*2);
    align-items: center;
    display: flex
}

.modal-content {
    color: #000000;
    pointer-events: auto;
    background-color: #e6e6e6;
    border: var(--modal-border-width)solid var(--modal-border-color);
    border-radius: var(--modal-border-radius);
    background-clip: padding-box;
    outline: 0;
    flex-direction: column;
    width: 100%;
    display: flex;
    position: relative
}

.modal-backdrop {
    --backdrop-zindex: 9;
    --backdrop-bg: #000;
    --backdrop-opacity: .5;
    z-index: var(--backdrop-zindex);
    background-color: var(--backdrop-bg);
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0
}

.modal-backdrop.fade {
    opacity: 0
}

.modal-backdrop.show {
    opacity: var(--backdrop-opacity)
}

.modal-header {
    padding: var(--modal-header-padding);
    border-bottom: var(--modal-header-border-width)solid var(--modal-header-border-color);
    border-top-left-radius: var(--modal-inner-border-radius);
    border-top-right-radius: var(--modal-inner-border-radius);
    flex-shrink: 0;
    align-items: center;
    display: flex
}

.modal-header .btn-close {
    padding: calc(var(--modal-header-padding-y)*.5)calc(var(--modal-header-padding-x)*.5);
    margin: calc(-.5*var(--modal-header-padding-y))calc(-.5*var(--modal-header-padding-x))calc(-.5*var(--modal-header-padding-y))auto
}

.modal-title {
    line-height: var(--modal-title-line-height);
    margin-bottom: 0
}

.modal-body {
    padding: var(--modal-padding);
    flex: auto;
    position: relative
}

.modal-footer {
    padding: calc(var(--modal-padding) - var(--modal-footer-gap)*.5);
    background-color: var(--modal-footer-bg);
    border-top: var(--modal-footer-border-width)solid var(--modal-footer-border-color);
    border-bottom-right-radius: var(--modal-inner-border-radius);
    border-bottom-left-radius: var(--modal-inner-border-radius);
    flex-wrap: wrap;
    flex-shrink: 0;
    justify-content: flex-end;
    align-items: center;
    display: flex
}

.modal-footer>* {
    margin: calc(var(--modal-footer-gap)*.5)
}

@media (width>=576px) {
    .modal {
        --modal-margin: 1.75rem;
        --modal-box-shadow: var(--box-shadow)
    }

    .modal-dialog {
        max-width: var(--modal-width);
        margin-left: auto;
        margin-right: auto
    }

    .modal-sm {
        --modal-width: 300px
    }
}

@media (width>=992px) {

    .modal-lg,
    .modal-xl {
        --modal-width: 800px
    }
}

@media (width>=1200px) {
    .modal-xl {
        --modal-width: 1140px
    }
}

.modal-fullscreen {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0
}

.modal-fullscreen .modal-content {
    border: 0;
    border-radius: 0;
    height: 100%
}

.modal-fullscreen .modal-header,
.modal-fullscreen .modal-footer {
    border-radius: 0
}

.modal-fullscreen .modal-body {
    overflow-y: auto
}

@media (width<=575.98px) {
    .modal-fullscreen-sm-down {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0
    }

    .modal-fullscreen-sm-down .modal-content {
        border: 0;
        border-radius: 0;
        height: 100%
    }

    .modal-fullscreen-sm-down .modal-header,
    .modal-fullscreen-sm-down .modal-footer {
        border-radius: 0
    }

    .modal-fullscreen-sm-down .modal-body {
        overflow-y: auto
    }
}

@media (width<=767.98px) {
    .modal-fullscreen-md-down {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0
    }

    .modal-fullscreen-md-down .modal-content {
        border: 0;
        border-radius: 0;
        height: 100%
    }

    .modal-fullscreen-md-down .modal-header,
    .modal-fullscreen-md-down .modal-footer {
        border-radius: 0
    }

    .modal-fullscreen-md-down .modal-body {
        overflow-y: auto
    }
}

@media (width<=991.98px) {
    .modal-fullscreen-lg-down {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0
    }

    .modal-fullscreen-lg-down .modal-content {
        border: 0;
        border-radius: 0;
        height: 100%
    }

    .modal-fullscreen-lg-down .modal-header,
    .modal-fullscreen-lg-down .modal-footer {
        border-radius: 0
    }

    .modal-fullscreen-lg-down .modal-body {
        overflow-y: auto
    }
}

@media (width<=1199.98px) {
    .modal-fullscreen-xl-down {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0
    }

    .modal-fullscreen-xl-down .modal-content {
        border: 0;
        border-radius: 0;
        height: 100%
    }

    .modal-fullscreen-xl-down .modal-header,
    .modal-fullscreen-xl-down .modal-footer {
        border-radius: 0
    }

    .modal-fullscreen-xl-down .modal-body {
        overflow-y: auto
    }
}

@media (width<=1399.98px) {
    .modal-fullscreen-xxl-down {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0
    }

    .modal-fullscreen-xxl-down .modal-content {
        border: 0;
        border-radius: 0;
        height: 100%
    }

    .modal-fullscreen-xxl-down .modal-header,
    .modal-fullscreen-xxl-down .modal-footer {
        border-radius: 0
    }

    .modal-fullscreen-xxl-down .modal-body {
        overflow-y: auto
    }
}

.jviewport-height10 {
    height: 10vh
}

.jviewport-height20 {
    height: 20vh
}

.jviewport-height30 {
    height: 30vh
}

.jviewport-height40 {
    height: 40vh
}

.jviewport-height50 {
    height: 50vh
}

.jviewport-height60 {
    height: 60vh
}

.jviewport-height70 {
    height: 70vh
}

.jviewport-height80 {
    height: 80vh
}

.jviewport-height90 {
    height: 90vh
}

.jviewport-height100 {
    height: 100vh
}

[class*=jviewport-height] iframe {
    height: 100%
}

.modal-dialog.jviewport-width10 {
    width: 10vw;
    max-width: none
}

.modal-dialog.jviewport-width20 {
    width: 20vw;
    max-width: none
}

.modal-dialog.jviewport-width30 {
    width: 30vw;
    max-width: none
}

.modal-dialog.jviewport-width40 {
    width: 40vw;
    max-width: none
}

.modal-dialog.jviewport-width50 {
    width: 50vw;
    max-width: none
}

.modal-dialog.jviewport-width60 {
    width: 60vw;
    max-width: none
}

.modal-dialog.jviewport-width70 {
    width: 70vw;
    max-width: none
}

.modal-dialog.jviewport-width80 {
    width: 80vw;
    max-width: none
}

.modal-dialog.jviewport-width90 {
    width: 90vw;
    max-width: none
}

.modal-dialog.jviewport-width100 {
    width: 100vw;
    max-width: none
}

/* quantum */
.quantumtoolbar-module {
    z-index: 9000;
}

.quantumtoolbar-module .quantumtoolbar-module-buttons-group {
    flex-flow: wrap !important;
}

.qm-btn-primary:hover,
.qm-btn-primary:focus,
.qm-btn-primary:active {
    color: inherit;
    opacity: 0.7;
}