@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

h1:focus {
    outline: none;
}

@font-face {
    font-family: 'Minimo';
    src: url('./fonts/Minimo.otf') format('truetype');
    font-style: normal;
    font-weight: normal;
}

html, body {
    height: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: Minimo;
}

@media (width: 768px) {
    #tam {
        margin: 10px;
    }
}

@media (width: 1865px) {
    #tam {
        margin: 125px;
    }
}

html {
    scroll-behavior: smooth;
}


body {
    background-color: rgb(255, 255, 255);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 1800px;
}

.header-border {
    border-bottom: 2px solid #0D6EFD;
}

.breadcrumb-item {
    font-size: 0.8rem;
}

.text-small {
    font-size: 85%;
}

.dropdown-toggle {
    outline: 0;
}


/* CAMPS PERSONALITZATS */

.fitxa-etiqueta {
    font-size: 0.8rem;
    color: #6C757D;
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.2em;
}

.fitxa-camp {
    font-size: 1rem;
    color: #515c65;
    font-weight: 600;
    margin-top: 0.1rem;
    line-height: 1.2em;
}

.fitxa-nom {
    font-family: 'Karma', serif;
    line-height: 1.1em;
    margin-top: 0.3rem;
    Color: #0659aa;
}

.section-nav {
    position: sticky;
    top: 2rem;
    align-self: start;
}

.co-boto-acordeo {
    font-size: 1.3rem;
}

.accordion-button {
    transition: color .5s, font-weight .2s;
    font-weight: 400;
    color: #0659aa;
}

    .accordion-button:not(.collapsed) {
        color: #0c63e4;
        background-color: #fff;
        box-shadow: inset 0 0px 0 rgba(0,0,0,.125);
        font-weight: 500;
    }

.co-filtres .form-label {
    font-size: 0.85rem;
    margin-bottom: .2rem;
    color: #6C757D;
}

.llista-continguts {
    line-height: 1.2rem
}

.acordeo-grup h5 {
    margin-bottom: 0.75rem !important;
    color: #0659aa;
    font-weight: 600;
    font-size: 1.1rem;
}

.acordeo-grup label {
    font-size: 0.9rem;
    font-weight: 400;
    color: #515c65;
    margin-bottom: 0.25rem;
}


/* FI CAMPS PERSONALITZATS */

/* FI CSS ROMEU */

.botolink {
    background-color: transparent !important;
    color: #0D6EFD !important;
    border-color: transparent !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

    .botolink:hover {
        background-color: transparent !important;
        color: #0D6EFD !important;
        border-color: transparent !important;
    }

    .botolink:focus, .e-btn:active {
        background-color: transparent !important;
        color: #0D6EFD !important;
        border-color: transparent !important;
        outline: none !important;
        box-shadow: 0 0 0 0px transparent !important;
    }


.e-btn {
    font-family: 'Inter', sans-serif !important;
}

.e-control {
    font-family: 'Inter', sans-serif !important;
}

.e-grid {
    font-family: 'Inter', sans-serif !important;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}



.e-filemanager .e-fe-popup.e-dialog.e-popup.e-dlg-resizable {
    z-index: 1202 !important;
}

.content {
    padding-top: 4.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1200;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        /*margin-left: 0;*/
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 20rem !important;
        padding-right: 1.5rem !important;
        padding-top: 1.1rem;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}
