@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

html,
body,
textarea,
input,
select {
    font-family: "Montserrat", serif;
}

.anc-logo {
    background-image: url(/static/images/ancdroid_black.png);
    display: block;
    width: 200px;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.anc-input-full {
    display: block;
    width: 100%;
}

.anc-login-html {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

a.anc-accordion-title {
    background-color: #ededed;
    padding: 10px 15px;
    border-radius: 4px;
    margin-top: 15px;
    /* text-align: center; */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.uk-open a.anc-accordion-title {
    background-color: #3073b7;
    color: #fff;
    font-weight: bold;
    gap: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.anc-accordion-left {
    margin-left: 0;
    flex: 1;
}

.anc-accordion-slot-grayed {
    color: #fff;
    background-color: #7099c3;
}

.anc-accordion-slot {
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.anc-img-v-center {
    display: block;
    margin-top: 6vh;
}

.uk-navbar-container:not(.uk-navbar-transparent).anc-nav-guest {
    background-color: transparent;
}

.anc-nav-guest .anc-logo {
    background-image: url(/static/images/logo-ancmedia-hz.png);
    width: 277px;
}

footer {
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background-color: #f7f7f7;
    margin: 40px 0 0 0;
}

footer p {
    margin: 0;
    clear: both;
    position: relative;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

footer ion-icon {
    font-size: 24px;
    margin: -7px 4px 0;
    position: relative;
    top: 6px;
    color: #3073b7;
}

.anc-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

.uk-open a.anc-accordion-title::before {
    filter: invert(1) brightness(1000%);
}

.anc-button {
    background-color: #00000054;
    padding: 0 14px;
}

td.anc-inline-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}


td.anc-inline-actions div {
    display: flex;
    gap: 5px;
    align-items: center;
}

.uk-table th,
.uk-table td {
    vertical-align: middle;
}

.anc-button-disabled {
    background-color: #c9c9c9;
    color: #242424;
    pointer-events: none;
}

.anc-icon-action {
    color: #3073b7;
    background-color: #3073b71f;
    border-radius: 100%;
    padding: 5px;
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.uk-button {
    border-radius: 4px;
    font-weight: 600;
}

.anc-list {
    line-height: 10px;
}

.anc-list li {
    line-height: 20px;
}

input.anc-file-input {
    background-color: white !important;
    border: 2px dashed #3073b7 !important;
    border-radius: 4px;
    padding: 25px !important;
    width: 100%;
    margin: 0 0 9px 0;
    text-align: center;
}

.uk-form-custom input[type=file] {
    cursor: pointer;
}

.anc-modal {
    width: 830px;
}

.anc-inline-actions div>.uk-button {
    width: 175px;
}

.uk-table th>.uk-button {
    width: 175px;
    white-space: nowrap;
}

.anc-file-filled input.anc-file-input {
    border-color: green !important;
    background-color: #c7e7c6 !important;
    color: transparent;
}

.anc-file-filled::after {
    content: "PDF selezionato";
    position: absolute;
    top: 15px;
    left: 0;
    bottom: 0;
    right: 0;
    margin: 0 0 0 0;
    text-align: center;
    color: green;
}

.anc-file-filled {
    position: relative;
    overflow: hidden;
}

.xdebug-error.xe-notice,
.anc-table-panel {
    display: none;
}

.anc-fill-button {
    width: 100%;
}

.anc-mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .anc-navbar {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .anc-navbar .uk-navbar-right {
        display: flex;
        justify-content: center;
        margin-left: 0;
    }

    a.anc-accordion-title {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .uk-open a.anc-accordion-title::before {
        margin-left: 0;
    }

    .anc-no-mobile {
        display: none !important;
    }

    .anc-mobile-only {
        display: initial !important;
    }

    .anc-table-panel {
        display: block;
    }

    .anc-table-panel span {
        display: flex;
        gap: 10px;
    }

    .anc-table-panel {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin: 10px 0 0 0;
    }

    .anc-nav-guest .anc-logo {
        width: 164px;
    }
}

.uk-button-primary {
    background-color: #19395A;
}

.uk-accordion-content {
    margin: 0;
}

.uk-accordion-content .uk-table {
    margin: 0;
}

.anc-inline-actions div>.uk-button:hover {
    background-color: #efefef;
}

.uk-button-primary:hover {
    background-color: #4E9AE9;
}

.anc-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}