/*************************************  FONTS ***********************************************/

@font-face {
    font-family: 'Lato Regular';
    font-style: normal;
    font-weight: normal;
    src: url("../fonts/Lato/Lato-Regular.ttf") format("truetype");
}

@font-face {
    font-family: 'Lato Bold';
    font-style: normal;
    font-weight: normal,bold;
    src: url("../fonts/Lato/Lato-Bold.ttf") format("truetype");
    src: url("../fonts/Lato/Lato-Bold.ttf") format("truetype");
}

@font-face {
    font-family: 'Lato Black';
    font-style: normal;
    font-weight: normal;
    src: url("../fonts/Lato/Lato-Black.ttf") format("truetype");
}

@font-face {
    font-family: 'Lato Italic';
    font-style: italic;
    font-weight: normal;
    src: url("../fonts/Lato/Lato-Italic.ttf") format("truetype");
}

@font-face {
    font-family: 'Lato Light';
    font-style: normal;
    font-weight: normal;
    src: url("../fonts/Lato/Lato-Light.ttf") format("truetype");
}

@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("../fonts/fontawesome/fa-solid-900.woff2") format("woff2"), url("../fonts/fontawesome/fa-solid-900.ttf") format("truetype"), url("../fonts/fontawesome/fa-brands-400.woff2") format("woff2"), url("../fonts/fontawesome/fa-brands-400.ttf") format("truetype"), url("../fonts/fontawesome/fa-v4compatibility.woff2") format("woff2"), url("../fonts/fontawesome/fa-v4compatibility-400.ttf") format("truetype")
}


/**********************************************************************************************/

:root {
    --background-color-base: #DB8035;
    --background-color-titles: #CF3E23;
    --background-color-messages: rgba(207, 62, 35, 0.11);
}



body {
    font-size: 16px;
    font-family: 'Lato Regular';
    background: #F0F0F0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.wrapper {
    flex: 1;
}

h1 {
    font-family: 'Lato Black';
    font-size: 48px;
    color: #e8f3f4;
    line-height: 0;
}

h2 {
    font-weight: 400;
    font-size: 25px;
    color: var(--background-color-titles);
}


h4 {
    font-weight: normal;
    font-size: 26px;
    color: #595959;
}

h5 {
    font-weight: normal;
    font-size: 18px;
    color: #595959;
    font-family: 'Lato Black';
}

h6 {
    font-weight: normal;
    font-size: 10px;
    color: #595959;
}

a {
    font-size: 16px;
    font-family: 'Lato Regular';
    font-size: 16px;
    text-decoration: underline;
    color: #434142;
}

    a:hover {
        color: var(--background-color-titles);
    }

    a.disabled {
        pointer-events: none;
        opacity: 0.5;
        text-decoration: none;
        color: grey;
    }



/********************** HEADER ***********************************/
header {
    margin-bottom: 30px;
    background: var(--background-color-base);
}

    header .navbar {
        padding: 0;
    }

        header .navbar img {
            width: 60px;
        }

    header .navbar-nav .nav-link i {
        color: #e8f3f4;
    }

    header .navbar-nav .nav-link {
        height: 100%;
    }

    header .navbar-nav li img {
        width: 100%;
        min-width: 26px;
        max-width: 26px;
    }

    header .navbar-toggler {
        margin-bottom: 10px;
        border: 0;
        display: flex;
        justify-content: flex-end;
    }

        header .navbar-toggler:focus {
            box-shadow: none;
        }

    header .navbar-toggler-icon-menu {
        color: white;
        font-size: 25px;
        height: 0.7em;
    }

    header nav .menu ul {
        list-style: none;
    }

        header nav .menu ul li {
            display: inline-block;
            line-height: 52px;
        }

            header nav .menu ul li a {
                color: white;
                display: block;
                padding: 0px 20px;
            }

                header nav .menu ul li a:hover {
                    color: #FFFFFF;
                    background-color: var(--background-color-titles);
                    text-decoration: none;
                }

                header nav .menu ul li a .icono {
                    margin-left: 15px;
                }

                header nav .menu ul li a .fa {
                    font-size: 14px;
                }

            header nav .menu ul li .nav-item {
                height: 100%;
            }
/******************** CONTENT ********************************/
.main-content {
    padding: 0 10px;
}

    .main-content .container-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        padding: 20px;
    }


/* CARDS */

.card {
    box-shadow: 0px 0px 5px rgba(0,0,0, .5);
    margin-bottom: 20px;
}

.card-title {
    text-align: left;
    color: var(--background-color-titles);
    font-family: 'Lato Bold';
}

.card-sub-title {
    text-align: left;
    color: var(--background-color-titles);
    font-size: 14px;
    font-weight: normal;
}

.card-faqs{
    min-height:100vh;
}

.card-pams .title-pam, .card-faqs .title-faq {
    display: flex;
    align-content: center;
    justify-content: left;
    margin-left: -11px;
}

    .card-pams .title-pam a, .card-faqs .title-faq a {
        text-align: left;
        color: var(--background-color-titles);
        font-family: 'Lato Bold';
        text-decoration: none;
        font-size: 24px;
    }

        .card-pams .title-pam a i, .card-faqs .title-faq a i {
            margin-right: 10px;
            padding: 10px;
            position: relative;
            top: -8px;
        }

.card-pams #formSections span.readonly {
    color: var(--background-color-titles);
}
.card-pams #formSections .text-description p.title{
    border-bottom: 1px solid #e0e8ee;
    padding-bottom: 5px;
    font-weight: 600;
}

.card-pams .title-pam a i:hover {
    cursor: pointer;
}
            .card-pams .title-pam a i:hover, .card-faqs .title-faq a i:hover {
                cursor: pointer;
            }


.card .card-link {
    text-decoration: none;
}


/* CARDS Sections */
.card-sections {
    width: 100%;
    min-height: 126px;
    margin: 10px;
    cursor: pointer;
}

    .card-sections p {
        font-size: 16px;
        color: #424242;
        text-align: left;
        font-weight: 400;
    }

    .card-sections .card-title {
        font-family: 'Lato Italic';
        font-size: 21px;
        color: var(--background-color-titles);
    }

    .card-sections:hover {
        border: 1px solid var(--background-color-titles);
        transition: all 0.2s ease;
        box-shadow: 0 4px 5px rgba(0,0,0,0.2);
        cursor: pointer;
    }

/** CARDS INIT MENU **/
.cards-init-menu {
    min-width: 200px;
    min-height: 113px;
    margin: 10px;
    cursor: pointer;
    width: 90%;
}

    .cards-init-menu p {
        font-size: 16px;
        color: #424242;
        text-align: left;
        font-weight: 400;
    }

    .cards-init-menu .card-title {
        font-family: 'Lato Italic';
        font-size: 21px;
        color: var(--background-color-titles);
    }

    .cards-init-menu:hover {
        border: 1px solid var(--background-color-titles);
        transition: all 0.2s ease;
        box-shadow: 0 4px 5px rgba(0,0,0,0.2);
        cursor: pointer;
    }


/* CARDS Sections detail */

.card-section-detail h5 {
    text-align: center;
}

.card-section-detail i {
    margin-right: 10px;
}

.card-section-detail,
.card-reports {
    font-family: Lato;
    font-size: 36px;
    color: var(--background-color-titles);
    font-weight: 400;
    font-style: normal;
    padding: 20px;
    margin-bottom: 40px;
}

    .card-section-detail p,
    .card-reports p {
        font-family: Lato;
        font-size: 16px;
        color: #424242;
        font-style: normal;
        text-align: left;
    }

    .card-section-detail h2,
    .card-reports h2 {
        color: #595959;
    }

    .card-section-detail h5 a {
        font-size: 18px;
        font-family: 'Lato Black';
    }

    .card-reports #print {
        max-height: 70px;
        min-width: 86px;
        width: 90%;
        height: 100%;
    }



/* CARDS data */
.card-data label {
    font-family: 'Lato Bold';
}

.card-data .card-title {
    font-size: 24px;
}

.card-data form .form-check label {
    font-weight: 400;
}

.card-data form #link-dropdown {
    display: none;
}

    .card-data form #link-dropdown input {
        width: 100%;
        background-color: #F8F8F8;
        cursor: pointer;
        color: #7A7A7A;
    }

.card-data.card-pams {
    min-height: 650px;
}

/* CARD Downloads*/

.card-downloads .icon-download {
    font-size: 20px;
    color: #262626;
    line-height: 37px;
    min-width: 35px;
}

    .card-downloads .icon-download.excel {
        font-size: 17px;
    }

    .card-downloads .icon-download.loading,
    .card-downloads .icon-title.loading,
    .card.loading {
        cursor: wait;
    }

.card-downloads .title-download {
    font-family: Lato Bold;
    font-size: 16px;
    color: #333333;
}


.card-downloads a:hover,
.card-downloads .icon-download:hover,
.card-downloads .icon-download:hover .icon-title,
.card-downloads .icon-title:hover .icon-download {
    color: var(--background-color-titles);
    cursor: pointer;
}


.card-downloads .link-container {
    width: auto;
}


.card-downloads .desc-download {
    font-family: Lato Regular;
    font-size: 16px;
    color: #262626;
    text-decoration: none;
    margin-left: 54px;
}

.card-downloads .title-section-download {
    font-family: Lato Regular;
    font-size: 18px;
    color: #CF5121;
}

.card-downloads .list-group {
    padding: 25px;
}

.card-downloads h5 {
    padding-left: 26px;
}


/* CARDS forms */
.card form.form-restrict-data {
    background-color: #ededed;
    padding: 20px;
    margin-bottom: 20px;
}

    .card form.form-restrict-data .container-buttons {
        display: flex;
        justify-content: right;
        margin-top: 30px;
    }

.card form .actions {
    display: flex;
    justify-content: flex-end;
}

.card form label {
    margin: 0 3px 6px 0;
}

.card form span.infotext {
    font-size: 11px;
    color: #424242;
}


.form-admin div.results-count select,
.form-admin div.results-count > span {
    font-size: 13px;
    font-family: 'Lato Regular';
}

.form-admin #cboResults {
    width: 93px;
    margin: -6px 10px;
}

.form-section-data.loading {
    cursor: wait;
}


.form-personal-data .info-personal-data {
    padding: 40px;
    line-height: 22.2px;
}

    .form-personal-data .info-personal-data p {
        padding: 0;
        margin: 0;
    }

    .form-personal-data .info-personal-data .title-personal-data {
        border-bottom: 1px solid #e0e8ee;
        padding-bottom: 5px;
        font-weight: 600;
    }

    .form-personal-data .info-personal-data b {
        font-size: 13px;
    }


/******************** INPUTS ************************************/
input[type="text"],
input[type="password"] {
    height: 38px;
}

input[type="submit"] {
    font-size: 16px;
    color: white;
    background-color: var(--background-color-base);
    padding: 15px;
    border-radius: 2px;
    border: none;
    cursor: pointer;
}

    input[type="submit"]:hover {
        font-size: 16px;
        color: #FFFFFF;
        background-color: var(--background-color-titles);
    }

#input-search {
    min-width: 150px;
    height: 33px;
}

input[type="text"]:disabled {
    background-color: #f9f9f9 !important;
    color: darkgray;
}

input[type="checkbox"]:disabled {
    color: darkgray;
}



/******************** FORM VALIDATION *****************************/
form span.field-validation-error {
    font-family: 'Lato Regular';
    font-size: 16px;
    display: flex;
}

form .alert-danger p span {
    font-weight: 900;
}

.form-control:focus, .form-select:focus {
    border-color: var(--background-color-titles) !important;
    outline: 0 !important;
    box-shadow: 0 0 0 .25rem rgb(207, 82, 36,0.2) !important;
}

/******************* MESSAGES *************************************/

.message-info {
    background-color: #cff4fc;
    display: none;
}


/******************* BUTTONS *************************************/
button {
    font-size: 16px;
    color: #424242;
    background-color: var(--background-color-base);
}

.btn-section-save {
    margin-left: 6px;
}

.btn-section-save, .btn-user-invitation, .btn-modal-send, .btn-modal-aceptar, .btn_modal_save, .btn-user-faqs, .btn-add-faqs {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    width: auto;
    padding: 10px !important;
    font-size: 16px;
    color: white;
    background-color: var(--background-color-base);
    border-radius: 2px;
    border: none;
}

    .btn-section-save:hover, .btn-user-invitation:hover, .btn-modal-send:hover, .btn-modal-aceptar:hover, .btn_modal_save:hover, .btn-user-faqs:hover {
        color: #FFFFFF;
        background-color: var(--background-color-titles);
    }

.btn-underline {
    background-color: white;
    border: 1px solid var(--background-color-base);
    color: var(--background-color-base);
}

    .btn-underline:hover {
        color: white;
    }

.btn-add-type {
    width: auto;
    position: relative;
    top: 17px;
    font-size: 13px;
}

.btn-secondary {
    border-radius: 2px;
    min-width: 110px;
}

.btn-section-info {
    background-color: #cff4fc;
    border: 2px solid #cff4fc;
    border-radius: 50%;
    color: black;
    width: 17px;
    height: 17px;
    padding: 0;
    position: relative;
    margin-right: auto;
    top: 1px;
    left: 9px;
}

    .btn-section-info i {
        position: absolute;
        font-size: 9px;
        top: 1px;
        left: 5px;
    }
/***************** MODALS ******************************************/
.modal p {
    text-align: left;
    font-family: 'Lato Regular';
}

.modal i {
    font-size: 24px;
    margin-right: 18px;
}

.modal h7 {
    font-family: 'Lato Regular';
    font-weight: 900;
}

.modal .fa-xmark, .fa-circle-exclamation {
    color: #CF3E23;
}

.modal .fa-triangle-exclamation {
    color: #FCC537;
}

.modal .fa-circle-info {
    color: #235A62;
}

.modal .fa-circle-check {
    color: #00A78B;
}

.modal .fa-circle-question {
    color: #0d6efd;
}

#modalMessage .hide-actions, #modalMessage2 .hide-actions {
    display: none;
}

#modalMessage .show-actions, #modalMessage2 .show-actions {
    display: flex;
}

#modalAirQualityPollutants .modal-dialog,
#modalEnergySecurity .modal-dialog,
#modalGhgs .modal-dialog,
#modalActionsLife .modal-dialog,
#modalResearch .modal-dialog {
    max-width: 800px;
}

#modalEntities .modal-dialog,
#modalFinancing .modal-dialog,
#modalIndicators .modal-dialog,
#modalReference .modal-dialog,
#modalFaqs .modal-dialog {
    max-width: 875px;
}

#modalEnergy .modal-dialog {
    max-width: 1097px;
}
/******************** GRIDS ***********************************/
#gridNewUsers, #gridActiveUsers, #gridPams, #gridSection, #gridSectiontype, #gridSectionMeasurement, #gridPamsUsers, #gridReportUsers, #gridFaqs {
    font-family: 'Lato Regular';
    font-size: 14px;
    width: 100% !important;
}

    #gridReportUsers i {
        font-size: 14px;
    }

#gridNewUsers_wrapper .pagination .dt-paging-button,
#gridActiveUsers_wrapper .pagination .dt-paging-button,
#gridPams_wrapper .pagination .dt-paging-button,
#gridSection_wrapper .pagination .dt-paging-button,
#gridSectiontype_wrapper .pagination .dt-paging-button,
#gridSectionMeasurement_wrapper .pagination .dt-paging-button,
#gridPamsUsers_wrapper .pagination .dt-paging-button,
#gridReportUsers_wrapper .pagination .dt-paging-button,
#gridFaqs_wrapper .pagination .dt-paging-button {
    line-height: 12px;
}

#gridNewUsers_wrapper .dt-search label,
#gridActiveUsers_wrapper .dt-search label,
#gridPams_wrapper .dt-search label,
#gridSection_wrapper .dt-search label,
#gridSectionMeasurement_wrapper .dt-search label,
#gridPamsUsers_wrapper .dt-search label,
#gridReportUsers_wrapper .dt-search label,
#gridFaqs_wrapper .dt-search label {
    font-size: 13px;
}

#gridNewUsers_wrapper .pagination .dt-paging-button a,
#gridActiveUsers_wrapper .pagination .dt-paging-button a,
#gridPams_wrapper .pagination .dt-paging-button a,
#gridSection_wrapper .pagination .dt-paging-button a,
#gridSectiontype_wrapper .pagination .dt-paging-button a,
#gridSectionMeasurement_wrapper .pagination .dt-paging-button a,
#gridPamsUsers_wrapper .pagination .dt-paging-button a,
#gridReportUsers_wrapper .pagination .dt-paging-button a,
#gridFaqs_wrapper .pagination .dt-paging-button a {
    color: rgb(33, 37, 41);
}

#gridNewUsers_wrapper .pagination .dt-paging-button a,
#gridActiveUsers_wrapper .pagination .dt-paging-button a,
#gridPams_wrapper .pagination .dt-paging-button a,
#gridSection_wrapper .pagination .dt-paging-button a,
#gridSectiontype_wrapper .pagination .dt-paging-button a,
#gridSectionMeasurement_wrapper .pagination .dt-paging-button a,
#gridPamsUsers_wrapper .pagination .dt-paging-button a,
#gridReportUsers_wrapper .pagination .dt-paging-button a,
#gridFaqs_wrapper .pagination .dt-paging-button a {
    color: rgb(33, 37, 41);
}

#gridNewUsers_wrapper .pagination .dt-paging-button.page-item.active a,
#gridActiveUsers_wrapper .pagination .dt-paging-button.page-item.active a,
#gridPams_wrapper .pagination .dt-paging-button.page-item.active a,
#gridSection_wrapper .pagination .dt-paging-button.page-item.active a,
#gridSectiontype_wrapper .pagination .dt-paging-button.page-item.active a,
#gridSectionMeasurement_wrapper .pagination .dt-paging-button.page-item.active a,
#gridPamsUsers_wrapper .pagination .dt-paging-button.page-item.active a,
#gridReportUsers_wrapper .pagination .dt-paging-button.page-item.active a,
#gridFaqs_wrapper .pagination .dt-paging-button.page-item.active a {
    color: white;
}

    #gridNewUsers_wrapper .pagination .dt-paging-button.page-item.active a:focus,
    #gridActiveUsers_wrapper .pagination .dt-paging-button.page-item.active a:focus,
    #gridPams_wrapper .pagination .dt-paging-button.page-item.active a:focus,
    #gridSection_wrapper .pagination .dt-paging-button.page-item.active a:focus,
    #gridSectiontype_wrapper .pagination .dt-paging-button.page-item.active a:focus,
    #gridSectionMeasurement_wrapper .pagination .dt-paging-button.page-item.active a:focus,
    #gridPamsUsers_wrapper .pagination .dt-paging-button.page-item.active a:focus,
    #gridReportUsers_wrapper .pagination .dt-paging-button.page-item.active a:focus,
    #gridFaqs_wrapper .pagination .dt-paging-button.page-item.active a:focus,
    #gridNewUsers_wrapper .pagination page-link:hover,
    #gridActiveUsers_wrapper .pagination .page-link:hover,
    #gridPams_wrapper .pagination .page-link:hover,
    #gridSection_wrapper .pagination .page-link:hover,
    #gridSectiontype_wrapper .pagination .page-link:hover,
    #gridSectionMeasurement_wrapper .pagination .page-link:hover,
    #gridPamsUsers_wrapper .pagination .page-link:hover,
    #gridReportUsers_wrapper .pagination .page-link:hover,
    #gridFaqs_wrapper .pagination .page-link:hover,
    #gridNewUsers_wrapper .pagination page-link:active,
    #gridActiveUsers_wrapper .pagination .page-link:active,
    #gridPams_wrapper .pagination .page-link:active,
    #gridSection_wrapper .pagination .page-link:active,
    #gridSectiontype_wrapper .pagination .page-link:active,
    #gridSectionMeasurement_wrapper .pagination .page-link:active,
    #gridPamsUsers_wrapper .pagination .page-link:active,
    #gridReportUsers_wrapper .pagination .page-link:active,
    #gridFaqs_wrapper .pagination .page-link:active {
        box-shadow: 0 0 0 0.25rem rgb(207, 82, 36,0.2);
    }


#gridNewUsers th,
#gridActiveUsers th,
#gridPams th,
#gridSectiontype th,
#gridPamsUsers th,
#gridReportUsers th,
#gridFaqs th {
    border-bottom: 1px solid rgb(33, 37, 41);
}

#gridPamsUsers td input[type="checkbox"] {
    cursor: pointer;
}

#gridSectiontype .newline, #gridFaqs .newline {
    background-color: rgb(83,203,35,20%) !important;
    transition: background-color 1s ease;
}

#gridSection thead,
#gridSectionMeasurement thead {
    display: none;
}


#gridPams td {
    max-width: 100px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    position: relative;
}

#gridPamsUsers_wrapper tbody tr, #gridReportUsers_wrapper tbody tr {
    height: 26px;
}


#gridPamsUsers tbody {
    border-bottom: 1px solid #e9e9e9;
}

#gridSectiontype_wrapper .dt-type-numeric {
    text-align: left !important;
}


#gridNewUsers_wrapper tbody tr:nth-child(odd),
#gridActiveUsers_wrapper tbody tr:nth-child(odd),
#gridPams_wrapper tbody tr:nth-child(odd),
#gridSectiontype_wrapper tbody tr:nth-child(odd),
#gridPamsUsers_wrapper tbody tr:nth-child(odd),
#gridReportUsers_wrapper tbody tr:nth-child(odd),
#gridFaqs_wrapper tbody tr:nth-child(odd) {
    background-color: #f8f9fa;
}


#gridNewUsers_wrapper tbody tr:nth-child(even),
#gridActiveUsers_wrapper tbody tr:nth-child(even),
#gridPams_wrapper tbody tr:nth-child(even),
#gridSectiontype_wrapper tbody tr:nth-child(even),
#gridPamsUsers_wrapper tbody tr:nth-child(even),
#gridReportUsers_wrapper tbody tr:nth-child(even),
#gridFaqs_wrapper tbody tr:nth-child(even) {
    background-color: #ffffff;
}


#gridNewUsers_wrapper .dt-length, #gridNewUsers_wrapper .dt-info,
#gridActiveUsers_wrapper .dt-length, #gridActiveUsers_wrapper .dt-info,
#gridPams_wrapper .dt-length, #gridPams_wrapper .dt-info,
#gridSection_wrapper .dt-length, #gridSection_wrapper .dt-info,
#gridPamsUsers_wrapper .dt-length, #gridPamsUsers_wrapper .dt-info,
#gridSectionMeasurement_wrapper .dt-length,
#gridReportUsers_wrapper .dt-length, #gridReportUsers_wrapper .dt-info,
#gridSectiontype_wrapper .dt-info {
    font-size: 12px;
}

#gridNewUsers_wrapper .dt-info,
#gridActiveUsers_wrapper .dt-info,
#gridPams_wrapper .dt-info,
#gridSection_wrapper .dt-info,
#gridSectionMeasurement_wrapper .dt-info,
#gridPamsUsers_wrapper .dt-info,
#gridReportUsers_wrapper .dt-info,
#gridFaqs_wrapper .dt-info {
    margin-top: 12px;
}

#gridNewUsers_wrapper .pagination,
#gridActiveUsers_wrapper .pagination,
#gridPams_wrapper .pagination,
#gridSectiontype_wrapper .pagination,
#gridPamsUsers_wrapper .pagination,
#gridReportUsers_wrapper .pagination,
#gridFaqs_wrapper .pagination {
    margin-top: 12px;
}

#gridSection_wrapper .pagination,
#gridSectionMeasurement_wrapper .pagination {
    margin-top: 22px;
}

#gridNewUsers_wrapper .active > .page-link, .page-link.active,
#gridActiveUsers_wrapper .active > .page-link, .page-link.active,
#gridPams_wrapper .active > .page-link, .page-link.active,
#gridSection_wrapper .active > .page-link, .page-link.active,
#gridSectiontype_wrapper .active > .page-link, .page-link.active,
#gridSectionMeasurement_wrapper .active > .page-link, .page-link.active,
#gridPamsUsers_wrapper .active > .page-link, .page-link.active,
#gridReportUsers_wrapper .active > .page-link, .page-link.active,
#gridFaqs_wrapper .active > .page-link, .page-link.active {
    background-color: var(--background-color-titles);
    color: white;
    border-color: var(--background-color-titles);
}

#gridPams th.dt-type-numeric,
#gridPams th.dt-type-date,
#gridPams td.dt-type-numeric,
#gridPams td.dt-type-date,
#gridPamsUsers th.dt-type-numeric,
#gridPamsUsers th.dt-type-date,
#gridPamsUsers td.dt-type-numeric,
#gridPamsUsers td.dt-type-date {
    text-align: left;
}

#gridSection_wrapper .dt-length,
#gridSectiontype_wrapper .dt-length,
#gridSectionMeasurement_wrapper .dt-length,
#gridPamsUsers_wrapper .dt-length,
#gridReportUsers_wrapper .dt-length {
    display: none;
}

#gridSectiontype_wrapper .find-input,
#gridSectiontype_wrapper .dt-search {
    display: none;
}

#gridSection_wrapper .find-input,
#gridSectionMeasurement_wrapper .find-input {
    display: flex;
    margin: 16px 0;
}

#gridNewUsers td input[type="checkbox"],
#gridActiveUsers td input[type="checkbox"],
#gridSection_wrapper td input[type="checkbox"],
#gridSectionMeasurement_wrapper td input[type="checkbox"],
#gridFaqs_wrapper td input[type="checkbox"] {
    cursor: pointer;
}

#gridSectiontype td input[type="checkbox"] {
    margin: 3px;
}



#gridSection tr.dtrg-group th,
#gridSectionMeasurement tr.dtrg-group th,
#gridFaqs tr.dtrg-group th {
    background-color: inherit;
}

#gridSectiontype tr.pre-header th:not(:first-child) {
    text-align: center;
    border-bottom: 1px solid var(--background-color-titles);
    padding: 10px;
    font-weight: 100;
    height: 70px;
    background-color: var(--background-color-messages);
    color: black;
}


#gridSectiontype .pre-header th.border-bottom {
    border-bottom: 2px solid var(--background-color-titles) !important;
}


#gridSectiontype {
    border-collapse: separate;
    border-spacing: 5px 0;
}


    #gridSectiontype ul {
        list-style-type: none;
        padding-left: 0;
        margin: 6px 0;
    }

    #gridSection .dtrg-group,
    #gridSectionMeasurement .dtrg-group {
        padding: 3px 0;
        font-weight: bold;
        border-bottom: 1px solid #D8D8D8;
    }

#gridFaqs .dtrg-group {
    padding: 3px 0;
    font-weight: bold;
}

#gridFaqs tr td {
    padding-top: 8px;
}

#gridSection tr,
#gridSectionMeasurement tr {
    display: flex;
    min-width: 300px;
}

    #gridSection tr td, #gridSectiontype tr td,
    #gridSectionMeasurement tr td {
        margin-right: 10px;
    }

    #gridSection tr .row-input,
    #gridSectionMeasurement tr .row-input {
        width: 80%;
        height: 28px;
    }

#gridSection_wrapper.disabled,
.unionPolicyOther.disabled {
    opacity: 0.5;
    pointer-events: none;
}

span.truncate-text {
    /*white-space:nowrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 590px;
    display: inline-block;
    padding: 4px;
}

.other-energySupply.disabled,
.other-energyConsumption.disabled,
.other-transport.disabled,
.other-industrialProcesses.disabled,
.other-waste.disabled,
.other-agriculture.disabled,
.other-landUseChangeandForestry.disabled,
.other-objectives.disabled,
.other-fuels.disabled {
    opacity: 0.5;
    pointer-events: none;
    display: none;
}

/******************** CHECKS/RADIOS ********************************/
.form-check-input:checked {
    background-color: var(--background-color-titles);
    border: 0;
}

.form-check-input {
    transform: scale(1.2);
    cursor: pointer;
}

    .form-check-input:focus,
    .label::after,
    label.form-check-label:focus,
    .form-check-input::after,
    .form-check-input:not(:disabled):not(.disabled):active:focus {
        color: black;
        outline: 0;
        border: 0;
        box-shadow: 0 0 0 0.1rem var(--background-color-titles);
    }


/******************** ACCORDION *****************************/

.custom-accordion-button {
    background-color: #ffffff;
    color: black;
    border: 1px solid #eee;
}

    .custom-accordion-button:not(.collapsed) {
        background-color: var(--background-color-messages);
        color: black;
    }

    .custom-accordion-button:focus,
    .custom-accordion-button:not(.collapsed) {
        border: 1px solid var(--background-color-base);
        box-shadow: 0 0 2px #f3f3f3;
    }


.custom-accordion-button {
    transition: background-color 0.3s ease,border-color 0.3s ease, box-shadow 0.3s ease;
}


.custom-accordion-body {
    border: 1px solid #ddd;
}

.accordion-item {
    margin-top: 10px;
}

.accordion-collapse {
    transition: height 0.5s ease;
}

/******************** SIDEBAR *******************************/
.sidebar {
    font-weight: 600;
    font-size: 14px;
    color: #757575;
    border: 1px solid #D8D8D8;
    background-color: white;
    display: flex;
    justify-content: left;
    height: 75vh;
    min-width: 194px;
    overflow-y: scroll;
    overflow-x: hidden;
    margin-bottom: 27px;
}

    .sidebar ul {
        padding: 0;
    }


    .sidebar .nav-item {
        border-bottom: 1px solid #D8D8D8;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: left;
        text-decoration: none;
        cursor: pointer;
        padding: 8px 0px;
    }

        .sidebar .nav-item .icon-wrapper {
            width: 29px;
            padding-right: 29px;
        }

            .sidebar .nav-item .icon-wrapper .section-warning-show {
                color: var(--background-color-titles);
                position: relative;
                left: -10px;
                display: flex;
            }

            .sidebar .nav-item .icon-wrapper .section-warning-hide {
                display: none;
            }

        .sidebar .nav-item p {
            overflow: hidden;
            text-overflow: ellipsis;
            margin: 0;
            text-align: left;
        }

        .sidebar .nav-item active {
            color: var(--background-color-titles);
        }

        .sidebar .nav-item:hover {
            background-color: #f8f9fa;
        }

        .sidebar .nav-item active {
            color: var(--background-color-titles);
        }

        .sidebar .nav-item.selected {
            color: var(--background-color-titles);
            background-color: #f8f9fa;
        }

.loading-sidebar {
    pointer-events: none;
    opacity: 0.6;
}


/********************* FAQS *********************************************/

#accordionFaqs .accordion-button::after {
    display: none;
}

#accordionFaqs .accordion-button::before {
    font-family: "Font Awesome 6 Free";
    content: '\2b';
    font-size: 1rem;
    margin-right: 10px;
    transition: transform 0.3s,content 0.3s;
}

#accordionFaqs .accordion-button:not(.collapsed)::before {
    content: '\f068';
}

#accordionFaqs {
    padding: 0 22px 22px 22px;
    font-size: 15px;
}

    #accordionFaqs h2 {
        font-size: 17px;
        color: var(--background-color-base);    
        font-family: 'Lato Bold';
    }

    #accordionFaqs .accordion-header {
        font-family: 'Lato Regular';
    }

    #accordionFaqs .accordion-item {
        margin-top: 0;
    }

    #accordionFaqs .accordion-body {
        width: 100%;
        color: rgba(33, 37, 41, 0.8);
       
    }

        #accordionFaqs .accordion-body span {
            display: block;
            font-weight:400;
        }

        #accordionFaqs .accordion-body img {
            width: 50%;
            max-width: 800px;
            margin-top: 15px;
        }

/******************** REPORT POWERBI CONTAINER ************************/
#report-container {
    height: calc(0.5625 * 61vw); /* 16:9 aspect ratio */
}

/******************** FOOTER ********************************/
.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e8f3f4;
    background: var(--background-color-base);
    text-align: center;
    min-height: 10vh;
}

    .footer a.policy {
        color: #d3d2d2cc;
        text-decoration: none;
        margin-top: 10px;
        font-size: 14px;
    }

        .footer a.policy:hover {
            color: rgb(232, 243, 244);
        }


/***************** UTILS ***************************************/

.flex-center {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.flex-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.language img {
    width: 17px;
}

/* loading data */
.backdrop {
    z-index: 1050;
    opacity: 0.5;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #eee;
    display: none;
    cursor: wait;
}

/***************** RESPONSIVE *********************************/

@media screen and (min-width:412px) {
    header h1 {
        font-size: 16px;
    }

    header .navbar-nav .nav-link span {
        display: inline-block;
    }


    #gridNewUsers, #gridActiveUsers, #gridFaqs {
        font-size: 11px;
    }

    footer span {
        font-size: 12px;
    }
}

@media screen and (min-width:600px) {
    header h1 {
        font-size: 21px;
    }

    header .navbar-nav .nav-link span {
        display: inline-block;
    }

    footer span {
        font-size: 16px;
    }
}

@media screen and (min-width:767px) {
    header h1 {
        font-size: 20px;
    }


    #gridNewUsers, #gridActiveUsers, #gridFaqs {
        font-size: 13px;
    }

    .navbar-collapse.show .menu ul.navbar-nav li {
        /*margin: 0 auto;*/
    }

    footer span {
        font-size: 16px;
    }
}

@media screen and (min-width:950px) {
    header h1 {
        font-size: 21px;
    }

    footer span {
        font-size: 16px;
    }
}

@media screen and (min-width:1214px) {
    .cards-init-menu {
        width: 30%;
    }
}


@media screen and (min-width:823px) and (max-width:1214px) {
    .cards-init-menu {
        width: 46%;
    }
}



@media screen and (min-width:992px) {

    header .navbar-nav .nav-link span {
        display: none;
    }
}
