﻿:root {
    --base-headingfont: "Outfit", sans-serif;
    --base-bodyfont: "Outfit", sans-serif;
    --base-bodyfont-Size: 17px;
    --color-primary: #255e35;
    --color-secondary: #609e4f;
    --color-secondary-light: #d4dec7;
    --color-tertiary: #ffbf3f;
    --color-tertiary-dark: #e8b215;
    --color-dark: #061e13;
    --color-grey: #9ca3af;
    --color-white: #f5f5f5;
}

::-webkit-input-placeholder {
    color: var(--color-primary);
}

::-moz-placeholder {
    color: var(--color-primary);
}

:-ms-input-placeholder {
    color: var(--color-primary);
}

:-moz-placeholder {
    color: var(--color-primary);
}

::selection {
    background: var(--color-tertiary);
    color: var(--color-dark);
}

::-moz-selection {
    background: var(--color-tertiary);
    color: var(--color-dark);
}

html, body {
    font-family: var(--base-bodyfont);
    color: var(--color-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--base-headingfont);
    color: var(--color-primary);
}
.container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 3% !important;
    padding-right: 3% !important;
}
.clear {
    clear: both;
}

    .clear.smallest {
        height: 10px;
    }

    .clear.small {
        height: 20px;
    }

    .clear.medium {
        height: 40px;
    }

    .clear.big {
        height: 80px;
    }

    .clear.bigger {
        height: 100px;
    }

.bg-dark {
    background-color: var(--color-dark) !important;
}

.nav-link {
    color: var(--color-white);
}

.btn-primary {
    background-color: var(--color-secondary);
    border: 1px solid var(--color-primary)
}

    .btn-primary:hover {
        background-color: var(--color-primary);
    }

    .btn-primary:focus-visible, .btn-primary:active {
        background-color: var(--color-tertiary) !important;
        border-color: var(--color-tertiary-dark) !important;
        color: var(--color-secondary) !important;
    }


.body-content {
    padding-top: 60px;
    margin-top: 0px;
}

footer {
    bottom: 0px;
    width: 100%;
}

input, select, textarea {
    max-width: inherit;
}

label, .col-form-label {
    font-size: 19px;
    color: var(--color-primary);
    font-weight: 500;
}

td .alert {
    display: inline-block;
    margin: 0px;
    padding: 5px 10px;
}

.btn.btn-pophover {
    padding: 10px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    padding: 0px;
    font-size: 17px;
}

.tooltip-content {
    color: var(--color-tertiary);
    margin: 0px 2px;
    position: relative;
    display: inline-block;
    width: auto;
}

.dropzone {
    border-color: var(--color-secondary) !important;
    width: 100%;
    padding: 30px;
}

label.form-check-label {
    font-size: 15px;
}

textarea.form-control {
    height: 150px !important;
}

.form-floating > label {
    font-size: 16px;
}

/*inizio badge*/
.badge {
    border-radius: 6px;
    font-size: 16px;
    line-height: 16px;
    text-transform: inherit;
    margin: 1px;
    white-space: normal;
    font-weight: 600;
    padding: 20px;
    text-align: center;
}

    .badge i {
        margin-right: 4px;
        font-size: 14px;
        margin-top: 0px !important;
    }

    .badge.badge-full {
        text-transform: inherit;
        display: block;
        font-weight: 600;
        font-size: 14px;
    }

    .badge.badge-giallo {
        border: 1px solid #ffe69c;
        background-color: #fff3cd;
        color: #664d03;
    }

    .badge.badge-rosso {
        border: 1px solid #f1aeb5;
        background-color: #f8d7da;
        color: #58151c;
    }

.alert-warning {
    border-radius: 6px;
    font-size: 16px;
    line-height: 16px;
    text-transform: inherit;
    margin: 1px;
    white-space: normal;
    font-weight: 600;
    padding: 20px;
    text-align: center;
    border: 1px solid #f1aeb5;
    background-color: #f8d7da;
    color: #58151c;
}

.badge.badge-verde {
    border: 1px solid #a3cfbb;
    background-color: #d1e7dd;
    color: #0a3622;
}

.badge.badge-grigio {
    background-color: #e3e6ea;
    border: 1px solid #cbd2e0;
    color: #1a202c;
}


/*fine badge*/


/*treeview*/
/* Remove default bullets */
ul.treeview, .treeview li {
    list-style-type: none;
}

.treeview li {
    padding: 20px 0px 0px 0px;
    font-size: 16px;
}

.treeview svg {
    color: var(--color-secondary);
    margin: 0px 5px;
    font-size: 20px;
    position: relative;
    top: 2px;
}
/* Remove margins and padding from the parent ul */
.treeview {
    margin: 0;
    padding: 0;
}

/* Style the caret/arrow */
.caret {
    cursor: pointer;
    user-select: none; /* Prevent text selection */
}

/* Create the caret/arrow with a unicode, and style it */
/*    .caret::before {
        content: '\f107';
        font-size: 13px;
        font-weight: bold;
        font-family: 'Font Awesome 6 Pro';
        font-style: normal;
        position: relative;
        transition: .1s all;
    }

.caret-down::before {
    transform: rotate(90deg);
}*/

/* Hide the nested list */
.nested {
    display: none;
}

/* Show the nested list when the user clicks on the caret/arrow (with JavaScript) */
.active {
    display: block;
}
/*fine treeview*/


.svg-btn {
    color: var(--color-secondary);
    font-size: 20px;
}

    .svg-btn:hover {
        color: var(--color-tertiary);
        font-size: 20px;
    }
