/*
Theme Name: Design Italia Child
Theme URI: https://github.com/italia/design-wordpress-theme/
Author: Author
Description: Child theme for Design Italia.
Template: design-italia
Version: 1.0
Text Domain: wppa
*/

a[type="button"]{
	-webkit-appearance: caret;
}

header.header.mt-5 {
    display: none;
}

#wrapper a, #wrapper button {
    font-weight: 800 !important;
}

.menu-main .nav li {
    z-index: 1 !important;
}

.entry-content [href$=".pdf"]:after, .entry-content [href$=".doc"]:after, .entry-content [href$=".docs"]:after, .entry-content [href$=".xls"]:after, .entry-content [href$=".xlsx"]:after, .entry-content [href$=".zip"]:after {
    display: none;
}

.entry-content {
    margin: 0;
}

.page-id-274 .menu-main {
    display: none;
}

.page-id-274 #content, .page-id-274 #container {
    background: #F8F9FA;
}

body {
    overflow-x: hidden;
}

.adc-svg-icon-flag {
    width: 1.5em;
    height: 2em;
}

a[type="button"] {
    box-sizing: border-box;
    font-size: 1em;
    padding: 1em 2em;
    background: #185bc2;
    font-weight: 600;
    color: #ffffff;
    border: 1px solid #185bc2;
    border-width: 1px 0;
    -webkit-border-radius: 0.25em;
    -moz-border-radius: 0.25em;
    border-radius: 0.25em;
    text-shadow: 0 1px 0 rgb(0 0 0 / 5%);
    text-decoration: none;
    margin-top: 20px;
}

/*404 page*/
.not-found form.searchform {
    margin-bottom: 50px;
}

/*Styling header*/
.fbc.fbc-page, .fbc-page .fbc-wrap .fbc-items {
    font-family: "Titillium Web", Geneva, Tahoma, sans-serif;
    font-weight: 300;
}

.it-nav-wrapper .it-header-center-wrapper {
    height: 150px;
}

.nav .adc-top-menu-voice a {
    font-weight: 300;
}

.it-header-center-wrapper .col-12 .it-header-center-content-wrapper .it-right-zone {
    display: block;
    width: 50%;
}

/*add italian flag to header*/
.it-header-center-wrapper .row:after {
    content: " ";
    width: 100%;
    height: 5px;
    margin: 10px 18px 0 18px;
    background: linear-gradient(to right, #008c45 0, #008c45 33%, #f5f7f6 33%, #f5f7f6 66%, #cd212a 66%, #cd212a 100%);
}

/*styling header instutions logos*/
.adc-header-institution-logo img {
    height: 60px;
    margin: 0 30px;
}

.adc-header-institution-logo:before {
    content: "";
    background: white;
    width: 1px;
    height: 60px;
}

.it-brand-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

/*Styling header login button*/
.it-search-wrapper {
    width: 100% !important;
}

a.adc-login-header-button {
    text-align: right;
    color: white;
    text-decoration: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

a.adc-login-header-button:hover {
    color: white;
    text-decoration: underline;
}

.adc-user_btn_icon {
    display: inline-block;
    background-image: url(icons/user-circle.svg);
    width: 25px;
    height: 25px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 15px;
}

/* styling header search button */
.it-right-zone .it-socials {
    width: 75% !important;
    float: right;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-between;
}

.adc-search-btn-container {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

a.adc-search-btn {
    margin-right: 15px;
}

span.adc-search_btn_icon {
    border-radius: 20px;
    width: 40px;
    display: inline-block;
    height: 40px;
    background-size: 20px;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url(icons/search-solid.svg);
    background-color: white;
}

.adc-search-btn-container a {
    color: white;
    text-decoration: none;
}

.adc-search-btn-container a:hover {
    color: white;
    text-decoration: underline;
}


/*Styling header social icons*/
.adc-social-menu-icon img {
    height: 30px;
}

.it-header-center-wrapper .it-header-center-content-wrapper .it-right-zone .it-socials ul {
    justify-content: flex-end;
    margin-top: 30px !important;
}

.adc-social-menu-icon {
    padding: 5px !important;
}

.it-header-center-wrapper .it-header-center-content-wrapper .it-search-wrapper {
    width: 50%;
    text-align: right;
    display: inline-block !important;
    margin: 0 !important;
}

/* styling breadcrumb */
.breadcrumb-container {
    background: white;
    border-bottom: 1px solid #c1c1c1;
}

/*styling footer*/
.it-footer-main .it-brand-wrapper a p {
    font-size: 1.25em;
    margin-bottom: 0;
    font-weight: 600;
    letter-spacing: unset;
    line-height: 1.1;
}

.it-footer-small-prints.clearfix {
    background: #31373c;
}

.it-footer-main .it-brand-wrapper {
    justify-content: flex-start;
}

.it-footer-main .it-brand-wrapper.adc-brand a .icon {
	width: 120px;
    height: auto;
}

ul#menu-legal-menu a {
    font-size: 14px;
    color: #d1e6fd;
}

#footer ul#menu-legal-menu li {
    padding: 0px 5px 10px 5px;
    border-top: 1px solid #d1e6fd;
}

#footer .copyright {
    display: none;
}

/*styling footer contact and social parts*/
#footer .adc-footer-row-title {
    padding: 0;
}

.adc-footer-contant-social-row .panel-grid-cell {
    border-top: 1px solid #565656;
}

#footer .adc-footer-column-title h3.widget-title {
    text-transform: inherit;
}

.adc-footer-column-content {
    font-size: 14px;
    color: #c1c1c1;
}

#footer .adc-footer-column-content a {
    font-size: 14px;
    color: #c1c1c1;
    text-decoration: none;
}

#footer .adc-footer-column-content h3 {
    font-size: 14px;
    text-transform: inherit;
    color: white;
    font-weight: 300;
}

.adc-footer-column-social ul.menu li.adc-social-menu-icon {
    display: inline-block;
}

.adc-footer-column-social ul.menu {
    margin: 0;
}

/*HOMEPGAE STYLING*/
/* styling homepage editorial content */
.post_content-side h2 {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2em;
    /*text-shadow: 2px 2px #ffffff;*/
}

/*.post_content-side h3 {
    text-shadow: 2px 2px #ffffff;
}*/

.post_content-side p a {
    box-sizing: border-box;
    font-size: 1em;
    padding: 1em 2em;
    background: #185bc2;
    font-weight: 600;
    color: #ffffff;
    border: 1px solid #185bc2;
    border-width: 1px 0;
    -webkit-border-radius: 0.25em;
    -moz-border-radius: 0.25em;
    border-radius: 0.25em;
    text-shadow: 0 1px 0 rgb(0 0 0 / 5%);
    text-decoration: none;
    margin-top: 20px;
	-webkit-appearance: caret;
}

.post_content-side p a:hover {
    background: #1a64d4;
    border-color: #1a64d4;
}

.adc-text-home-banner {
    font-size: 32px;
    text-align: center;
    font-weight: 600;
}

.adc-editorial-content-homepage-row-video #post-content-container {
    padding: 100px 50px;
}

.adc-editorial-content-homepage-row-video .adc-homepage-first-cpt {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
}

.adc-editorial-content-homepage-row-video video {
    width: 100%;
	margin-top: -95px;
}

.adc-editorial-content-homepage-row-video {
    max-height: 70vh;
    overflow: hidden;
}

.adc-homepage-desktop-video{
	display: block;
}
	
.adc-homepage-mobile-video{
	display: none;
}

@media only screen and (max-width: 576px) {
	.adc-editorial-content-homepage-row-video video {
		margin-top: 0px;
	}
}

/* styling homepage contenuti redazionali */
.editorial-content-main h3 {
    font-size: 18px;
    color: #5a5a5b;
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 1rem;
}

.editorial-content-main h2 {
    font-size: 31px;
    line-height: 1.25;
}

.editorial-content-main a {
    box-sizing: border-box;
    font-size: 1em;
    padding: 1em 2em;
    background: #185bc2;
    font-weight: 600;
    color: #ffffff;
    border: 1px solid #185bc2;
    border-width: 1px 0;
    -webkit-border-radius: 0.25em;
    -moz-border-radius: 0.25em;
    border-radius: 0.25em;
    text-shadow: 0 1px 0 rgb(0 0 0 / 5%);
    text-decoration: none;
    margin-top: 20px;
	-webkit-appearance: caret;
}

.editorial-content-main a:hover {
    background: #1a64d4;
    border-color: #1a64d4;
    color: #ffffff;
    text-decoration: none;
}

.editorial-content-post {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: stretch;
    position: relative;
    margin-bottom: 100px;
}

.editorial-content-main {
    width: 50%;
}

.editorial-content-image {
    width: 50%;
    background-size: cover;
    background-repeat: no-repeat;
}

.editorial-content-post:nth-of-type(odd) .editorial-content-main {
    order: 1;
    margin-left: 0;
    margin-right: 30px;
}

.editorial-content-post:nth-of-type(odd) .editorial-content-image {
    order: 2;
}

.editorial-content-post:nth-of-type(even) .editorial-content-main {
    order: 2;
    margin-left: 30px;
    margin-right: 0;
}

.editorial-content-post:nth-of-type(odd) .editorial-content-image {
    order: 1;
}

.editorial-content-post:last-child {
    margin-bottom: 0;
}


.adc-home-loop-title h3 {
    font-size: 40px;
    border-bottom: 1px solid #c1c1c1;
    padding-bottom: 10px;
}

.adc-how-use-btn {
    position: absolute;
    right: 0;
    margin-top: -60px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 15px;
}

.adc-how-use-btn:after {
    display: inline-block;
    content: " ";
    width: 15px;
    height: 15px;
    margin-left: 5px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(icons/long-arrow-alt-right-solid.svg);
}

.adc-separator-row {
    border-bottom: 1px solid #c1c1c1;
}

.adc-home-filters-title h3 {
    font-size: 60px;
    text-align: center;
}

/*homepage resources loops styling*/
.loop_wrapper {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
}

.loop_card {
    min-width: 25%;
    padding-right: 30px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    flex: 1 1 0;
}

.loop_card > a {
    text-decoration: none;
}

.loop_logo {
    height: 100px;
    overflow: hidden;
}

.loop_logo img {
    max-height: 100px;
}

.loop_category {
    text-transform: uppercase;
    font-size: 15px;
    display: flex;
}

.loop_category:before {
    display: inline-block;
    content: " ";
    width: 20px;
    height: 20px;
    margin-right: 5px;
    background-size: contain;
    background-repeat: no-repeat;
}

.loop_card .loop_category:before {
    background-image: url(icons/terminal-solid.svg);
}

.loop_card.OPEN_DATA .loop_category:before {
    background-image: url(icons/dataset-solid.svg);
}

.loop_card.API .loop_category:before {
    background-image: url(icons/api-solid.svg);
}

a.read-more {
    text-decoration: none;
}

/* API no icon override*/
.loop_card.hide_type_icon .loop_category:before {
    display: none !important;
}

.loop_card.APPLICATION_FROM_STORE .loop_category:before {
    background-image: url(icons/app-store.svg);
}

.loop_title {
    font-size: 25px;
    color: black;
    display: block;
    font-weight: 700;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
	line-height: 1.5em;
    height: 3em;
}

.loop_content {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    white-space: normal;
    max-width: 100%;
}

.loop_link {
    margin-bottom: 0;
    margin-top: auto;
}

/* LOGIN PAGE STYLING */
.login-error-message {
    color: red;
    padding-top: 30px;
}

.adc-login-row {
    box-shadow: 2px 2px 20px 5px rgb(0, 0, 0, 15%);
    border-radius: 10px;
}

.adc-login-title, .adc-login-logo {
    text-align: center;
}

.adc-login-title h3 {
    font-weight: 500;
    font-size: 40px;
}

.adc-login-description, .adc-login-shortcode, .adc-login-anchor-container {
    margin: 0 30%;
}

.adc-oidcl-auth-button a:before {
    display: inline-block;
    content: " ";
    background-image: url(icons/spid-icon-circle-login.svg);
    width: 50px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 20px;
}

.adc-oidcl-auth-button a {
    color: white;
    text-decoration: none;
    padding-left: 10px;
    width: 100%;
    background: #0066cc;
    padding: 5px 10px;
    display: flex;
    align-items: center;
}

.adc-oidcl-auth-button a:hover {
    color: white;
    background: #113363;
}

.adc-login-anchor:hover {
    color: #113363;
}

/*SEARCH PAGE STYLING*/
#search-filter-form .col:nth-child(2) {
    width: 70%;
}

.adc-search-page-title h1 {
    font-weight: 600;
}

.search_filters_wrapper button {
    background: none;
    border: 1px solid #c1c1c1;
    margin-right: 10px;
    border-radius: 5px;
    font-weight: 100;
    color: #444444;
}

.search_filters_wrapper button:hover {
    background: #185bc2;
    border: 1px solid white;
    color: white;
}

.search_filters_wrapper button.selected {
    outline: -webkit-focus-ring-color auto 5px;
    background: #185bc2;
    color: white;
}

.search_filters_wrapper button.selected svg path {
    fill: white;
}

.search_filters_wrapper {
    margin-bottom: 30px;
}

.adc-search-tbody tr td:nth-child(2) {
    text-align: right;
    text-transform: uppercase;
    font-size: 15px;
    color: #c1c1c1;
}

.adc-search-tbody tr td:nth-child(1) {
    color: #444444;
}

.adc-search-table .adc-search-thead tr th, .adc-search-table.dataTable.no-footer {
    border-color: #c1c1c1;
}

.search_filters_wrapper button svg,
.adc-search-table svg {
    width: 30px;
    margin-right: 5px;
    margin-left: -3px;
}

.search_filters_wrapper button svg path,
.adc-search-table svg {
    fill: #444444;
}

.search_filters_wrapper button:hover svg path {
    fill: white;
}

/* styling RESOURCES ARCHIVE page*/
.adc-archive-sx-text p {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.3em;
}

.adc-archive-dx-text h3 {
    font-size: 25px;
    font-weight: 600;
}

/* styling WP category pages */
a[rel="category tag"] {
    display: none;
}

.card .card-body .category-top .data:before {
    display: none;
}

.card-text {
    display: none;
}

.adc-description.card-text {
    display: block;
}

.card .card-body .entry-header h5.card-title.big-heading {
    font-size: 20px;
}

.widget_category_mansory .card-columns .card.card-bg {
    box-shadow: none;
    border: none;
    border-radius: unset;
}

.card-columns .card .card-body {
    padding: 24px 0;
}


/* Styling news archive loop (news, api archive, software archive, app archive, dataset archive)*/

.adc-news-archive-loop .widget-title {
    display: none;
}

.data:before {
    display: none!important;
}

.adc-news-archive-loop .card .card-body {
    padding: 24px 0;
}

.adc-news-archive-loop .card .card-body .card-title.big-heading {
    font-size: 20px;
}

.adc-news-header {
    margin-left: -371.5px;
    margin-right: -371.5px;
    padding-left: 371.5px;
    padding-right: 371.5px;
    border-left: 0px;
    border-right: 0px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 400px;
    color: #17324d;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* styling news category archive */
body.archive.category #container {
    margin: 50px 0;
}

/* styling resources archive loop */
.adc-resources-archive-loop .loop_card {
    width: 32%;
    min-height: 280px;
    margin-bottom: 20px;
    /*background: white;*/
    padding: 45px;
    /*box-shadow: 0 10px 58px 0 rgb(90 103 114 / 20%);*/
    flex-grow: inherit;
    flex: inherit;
}

.adc-resources-archive-loop .loop_wrapper,
.adc-search-data-wrapper .loop_wrapper {
    flex-wrap: wrap;
}

.adc-resources-archive-loop .loop_wrapper:after,
.adc-search-data-wrapper .loop_wrapper:after {
    content: " ";
    width: 32%;
}


/*styling pagina IL PROGETTO*/
.adc-separator {
    display: block;
    height: 100px;
    background: white;
    margin-top: -100px;
    transform: skewX(0) skewY(-2deg);
    -webkit-transform: skewX(0) skewY(-2deg);
}

/* Styling pagina NOTIZIE */
.adc-news-archive-categories h3.widget-title {
    font-size: 20px;
    color: #5a5a5b;
    text-transform: uppercase;
}

.adc-news-archive-categories a {
    text-decoration: none;
    font-weight: 600;
    padding: 25px 0 0 0;
    display: block;
}

/* styling singolo CONTENUTO EDITORIALE / NEWS */
body.post-template-default .entry-footer, body.publishing_content-template-default .entry-footer, body.post-template-default .breadcrumb, body.publishing_content-template-default .breadcrumb {
    display: none;
}

/* styling singolo CONTENUTO REDAZIONALE */
h3.adc-secondary-title {
    margin-top: 50px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #c1c1c1;
}

/* Styling pagina CERCA GENERICO */
div#search_data_wrapper {
    max-width: 100%;
    min-width: 100%;
}

#search-filter-form #search_filters_wrapper:before {
    content: "Filtri";
    text-transform: uppercase;
    margin-left: -5px;
    font-size: 1.5em;
}

#search-filter-form > .row {
    min-height: 260vh;
}

.adc-search-filter > h3 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 30px;
}

input.adc-search-name-input {
    background: none;
    font-size: 40px;
    margin-top: 30px;
}

#type_filters > h3 {
    margin-top: 0;
}


.adc-search-filter span {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.adc-search-filter span label {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 0;
    margin-left: 0.5rem;
}

.adc-search-data-wrapper .loop_card {
    padding-right: 48px !important;
}

/* Styling pagina SINGOLA RISORSA */
section#adc-resource-description-section .card-body {
    font-family: Lora,Georgia,serif;
    font-size: .875rem;
    line-height: 1.2rem;
    color: #435a70;
}

section#adc-resource-description-section .card-body .card-text {
    font-size: .875rem;
}

section#adc-resource-description-section .card-body ul,
section#adc-resource-description-section .card-body ol {
    white-space: initial;
    padding: 0.5rem 1.5rem;
}

section#adc-resource-description-section .card-body ul li {
    list-style: disc;
}

#adc-harvest-detail-section .col-sm-3 {
    color: grey;
    font-size: 0.9em;
    margin-right: 40px;
}

.adc-open-data-tag {
    background: #06c;
    border: 2px solid #06c;
    padding: 0.2rem 0.8rem;
    color: white;
    border-radius: 1rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
}

figure.overlay-wrapper.overlay-hover.adc-image {
    min-width: 100%;
	position: initial;
}

#adc-resource-footer-section .loop_link {
    max-width: 40%;
	margin-top: -70px;
}

#adc-resource-footer-section span.it-arrow-right {
    margin-top: 20px;
}

#adc-resource-footer-section .loop_card {
    padding-right: 50px;
}

span.adc-resource-vitality-label {
    margin-left: 10px;
}

span.adc-resource-vitality-value {
    font-weight: 600;
    display: block;
}


.category-tag:hover {
    color: white;
}

.adc-application-info {
    border-left: 0.5em solid #e8f1fa;
}

.adc-application-info a.d-flex {
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.adc-application-info a.d-flex:hover {
    color: #004080;
    text-decoration: underline;
}

span.badge.badge-pill {
    font-size: 15px;
    display: inline-block;
    margin-left: 10px;
    height: fit-content;
}

#adc-resource-footer-section div#resources_loop_wrapper {
    white-space: normal;
}

.adc-editorial-content-homepage-row {
    background-image: url(../../uploads/2022/02/adc_monumenti_citta.png);
    background-position: bottom center;
    background-repeat: no-repeat;
}

.adc-svg-icon {
    width: 1.5em;
    height: 1.5em;
}

.adc-page-container .btn {
    float: left;
}

.adc-page-container h5 {
    font-family: Lora, Georgia, serif;
    font-weight: 300;
    font-size: 1.4rem;
    line-height: 1.4;
    color: #455b71;
}

.adc-res-fieldname {
    color: grey;
}

#adc-resource-footer-section h2 {
    color: #17324d;
    font-size: 40px;
    text-align: center;
    font-weight: 700;
    margin: 0 !important;
}

.adc-application-info {
    padding-left: 25px;
}

svg.adc-svg-icon {
    fill: #0066cc;
    margin-right: 10px;
}

.adc-page-container h3 {
    font-weight: 300;
    font-size: 2.5rem;
    color: #17324d;
}

/* DataSet */
.row.adc-open-data-distribution {
    align-items: center;
}

.row.adc-open-data-distribution {
    white-space: normal;
}

.row.adc-open-data-distribution .adc-dataset-distribution-format {
    background: #d1e6fd;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    height: fit-content;
    padding: 10px 0;
}

.card-wrapper:nth-child(odd) .card {
    background: #f7f7f7;
}

.card-wrapper:nth-child(even) .card {
    background: #efefef;
}

.card-wrapper.card-space {
    padding: 0 !important;
}

svg.adc-svg-icon.adc-svg-icon-big {
    font-size: 25px;
}

.row.adc-open-data-distribution .col:nth-child(2) {
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    margin-left: 50px;
}

.row.adc-open-data-distribution .col:nth-child(2) .row:nth-child(1) {
    margin-bottom: 20px;
}

.row.adc-open-data-distribution .col:nth-child(2) .row div:nth-child(1) {
    color: grey;
}

.row.adc-open-data-distribution .col:nth-child(3), .row.adc-open-data-distribution .col:nth-child(4) {
    display: flex;
    width: fit-content;
    justify-content: center;
}

.card-wrapper.card-space {
    width: 100%;
}

.card.card-bg.card-big {
    box-shadow: none;
}

/* Styling DASHBOARD */
button#submit-user {
    color: white;
    border-radius: 4px;
}

button#submit-user:hover {
    background: #0066cc;
}

#adc-api-private-section .border-bottom {
    border: none !important;
}

.modal-content.adc-resource-status-modal svg {
    background: none !important;
    width: 50px;
}

.adc-svg-loading-message {
    text-align: center;
}

.adc-status-btn {
    border-radius: 20px;
    padding: 1px 15px;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
}

.dataTables_wrapper {
    font-size: 14px !important;
}

img.adc-lang-icon {
    width: 50px;
    display: inline-block;
    margin-top: 20px;
}

.adc-status-btn {
    border-radius: 20px;
    padding: 0 5px;
    text-align: center;
}

.adc-status-btn.adc-status-btn-DRAFT {
    background: lightgray;
    color: black;
}

.adc-status-btn.adc-status-btn-REJECTED {
    background: orange;
    color: white;
}

.adc-status-btn.adc-status-btn-PUBLISHED {
    background: green;
    color: white;
}

.adc-status-btn.adc-status-btn-TO_APPROVE {
    background: #06c;
    color: #fefefe;
}

.adc-status-btn.adc-status-btn-ONHOLD {
    background: #ffcf56;
    color: black;
}

.dataTables_processing {
    background: #f2f2f2 !important;
    padding: 40px 0 70px 0 !important;
    font-weight: 600;
    margin-top: 0 !important;
}

table.dataTable *, table.dataTable.no-footer {
    border: 0 !important;
}

table.dataTable.stripe tbody tr.odd, table.dataTable.display tbody tr.odd {
    background: white !important;
}

button#submit-resource, button#submit-harvest {
    color: white;
    border-radius: 4px;
}

button#submit-resource:hover, button#submit-harvest:hover {
    background: #1a64d4;
}

#configuration_input_wrapper-group-escl-check, #configuration_input_wrapper-org-escl-check{
	display: flex;
}

#configuration_input_wrapper-group-escl-check > label, #configuration_input_wrapper-org-escl-check > label{
	order: 2;
}

#configuration_input_wrapper-group-escl-check > input, #configuration_input_wrapper-org-escl-check > input{
	order: 1;
	margin-bottom: 5px;
	margin-right: 5px;
}

.adc-dashboard-footer .row {
    margin-top: 100px;
}

.adc-dashboard-footer .row .col {
    padding: 80px;
}

.adc-dashboard-footer .row .col:nth-child(2) {
    background: #E8F1FA;
    padding-right: 371.5px;
    background-image: url(../../uploads/2022/02/bg-footer-dashboard_DX.png);
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
}

.adc-dashboard-footer .row .col:nth-child(1) {
    background: #F7F9FA;
    padding-left: 371.5px;
    background-image: url(../../uploads/2022/02/bg-footer-dashboard_SX.png);
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
}

section.adc-dashboard-footer {
    margin-left: -371.5px;
    margin-right: -371.5px;
    border-left: 0px;
    border-right: 0px;
}

.adc-dashboard-footer .row .col > div {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 1rem 3rem rgb(0 0 0 / 31%);
}

.adc-dashboard-footer .row .col > div > h1 {
    font-size: 50px;
    min-height: 120px;
}

.adc-form-tbody button {
    background: none;
}

.adc-form-tbody button:hover {
    background: #F7F9FA;
    border-radius: 5px;
}

.adc-form-tr th {
    background: #E8F1FA;
}

.adc-form-tbody tr.even {
    background-color: #FAFBFD;
}

.adc-form-table.dataTable {
    border: none !important;
    margin-bottom: 50px;
}

.adc-form-table.dataTable * {
    border: none;
}

#users_claims_wrapper > .row > .col > h1 {
    font-size: 45px;
}

#users_claims_wrapper > .row > .col:nth-child(2) {
    text-align: right;
}

.dataTables_wrapper {
    padding-left: 10px;
}

button#users-claims-all-button {
    margin-right: -10px;
}

section.adc-dashboard-lower {
    margin-top: 100px;
}

.adc-dashboard-lower > div > h1 {
    font-size: 2.222rem;
}

.modal-content.adc-resource-status-modal, .modal-content.adc-harvest-status-modal {
    margin: 0 auto;
    padding: 50px !important;
    border-radius: 10px;
    border: 20px solid #F8F9FA !important;
}

h4.adc-status-dialog-title > span {
    display: block;
    font-size: 1.2em;
    font-weight: 300;
}

h4.adc-status-dialog-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.5em;
}

.modal-content button[action="draft-resource"], .modal-content button[action="draft-harvest"], .modal-content button[action="open-correct-note"] {
    background: lightgray;
}

.modal-content button[action="open-correct-note"].active {
	outline: 2px solid black;
}

.modal-content button[action="draft-resource"]:hover, .modal-content button[action="draft-harvest"]:hover, .modal-content button[action="open-correct-note"]:hover {
    background: #cecece;
}

.resource-change-col-left button, .harvest-change-col-left button {
    background: #0066cc;
    color: white;
    border-radius: 5px;
    display: inline-block;
    margin-right: 10px;
}

.resource-change-col-left button:hover, .harvest-change-col-left button:hover {
    color: white;
    background: #1a64d4;
}

.resource-change-col-left button:last-child, .harvest-change-col-left button:last-child {
    margin-right: 0;
}

button.adc-resource-send-note, button.adc-resource-send-note:hover, button.adc-harvest-send-note, button.adc-resource-send-note:hover {
    background: #0066cc;
    border-radius: 5px;
    color: white;
    margin-top: 15px;
}

.resource-change-col-right, .harvest-change-col-right {
    width: 100%;
    margin-top: 30px;
}

.modal-content.adc-resource-status-modal > form > div.row, .modal-content.adc-harvest-status-modal > form > div.row {
    flex-wrap: wrap;
}

/*data table responsive
/*data table buttons section*/
.dataTables_view_buttons {
    margin-bottom: 20px;
    margin-left: 6px;
    display: none;
}

/*data table buttons section*/
.dataTables_view_buttons button {
    background: none;
    /*color: none;*/
}

/*data table buttons section*/
.dataTables_view_buttons img {
    width: 25px;
    margin-bottom: 0;
}

.dataTables_show_cards_title {
    font-weight: 600;
}


/*MOBILE STYLING*/
/*homepage*/
@media only screen and (max-width: 1200px) {
    /*GENERICO*/
    h1 {
        font-size: 30px !important;
    }

    h3, h2 {
        font-size: 20px !important;
    }

    /*data table buttons section*/
    .dataTables_view_buttons {
        display: block;
    }


    .post_content-side h2 {
        font-size: 30px;
    }

    .post_content-side h3 {
        font-size: 20px;
    }

    .adc-text-home-banner {
        font-size: 22px;
    }

    #pg-64-1 > .siteorigin-panels-stretch.panel-row-style {
        background-size: cover;
        background-position: center center;
        padding: 50px 0px 50px 0px;
    }

    #pg-64-0 > .adc-editorial-content-homepage-row.panel-row-style {
        background-color: #f8f9fa;
        padding: 50px 0px 50px 0px;
    }

    .editorial-content-main {
        width: 100%;
        margin: 0 !important;
    }

    .editorial-content-post {
        flex-direction: column;
        margin-bottom: 50px;
    }

    .adc-editorial-content-homepage-row-video video {
        object-fit: cover;
        min-height: 50vh;
    }

    .adc-editorial-content-homepage-row-video {
        min-height: 50vh;
    }

    .adc-editorial-content-homepage-row-video #post-content-container {
        padding: 50px 30px;
    }

    .editorial-content-image {
        width: 100%;
        order: inherit !important;
        margin-bottom: 20px;
        height: 200px;
    }

    .adc-home-filters-title h3 {
        font-size: 30px;
    }

    .adc-home-loop-title h3 {
        font-size: 30px;
    }

    .adc-how-use-btn {
        margin-top: -55px;
    }

    #pl-64 #panel-64-7-0-2, #pl-64 .so-panel {
        margin: 0 !important;
    }

    div.loop_wrapper {
        display: block !important;
    }

    .loop_card {
        margin: 20px 0;
    }

    /* FOOTER	*/
    .adc-footer-column-title {
        display: none;
    }

    /*HEADER*/
    .show-menu-lingua {
        right: -15px;
    }

    ul#menu-top-menu {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 99999;
        background: #0059b3;
    }

    .adc-header-institution-logo img {
        height: 30px;
    }

    .col-12 .show-menu-main {
        top: -107px;
    }

    #show-menu-main[type="checkbox"]:checked ~ .nav {
        z-index: 99999 !important;
    }

    .it-header-center-wrapper .it-header-center-content-wrapper {
        display: block !important;
    }

    .it-header-wrapper .it-nav-wrapper .it-brand-wrapper {
        width: 100%;
        padding: 0;
        padding-left: 0 !important;
        margin-top: 20px;
        justify-content: space-between;
        align-items: center;
    }

    .adc-search-btn-container {
        margin: 0;
    }

    label.show-menu-lingua {
        z-index: 2;
    }

    .it-header-center-wrapper .col-12 .it-header-center-content-wrapper .it-right-zone {
        width: 100%;
    }

    .it-header-wrapper.it-header-sticky.is-sticky .it-nav-wrapper {
        position: inherit !important;
    }

    .it-header-center-wrapper {
        height: fit-content !important;
    }

    .it-header-center-wrapper .it-header-center-content-wrapper .it-search-wrapper {
        margin-top: 20px !important;
    }

    .it-right-zone .it-socials {
        float: inherit;
        width: 100% !important;
    }

    .it-header-center-wrapper .row:after {
        margin: 20px 0 0 0;
    }
	
	/*Homepage*/
	.adc-homepage-desktop-video{
		display: none;
	}
	
	.adc-homepage-mobile-video{
		display: block;
	}

    /*ARCHIVIO NOTIZIE*/
    .adc-news-archive-categories a {
        padding: 0px 25px 0 0;
        display: inline-block;
    }

    .adc-news-archive-categories h3.widget-title {
        margin-top: 30px;
    }

    #menu-legal-menu {
        padding-left: 46px;
    }

    /*singola RISORSA*/
	#adc-api-private-section #adc-login{
		position: absolute;
    	left: 10px;
    	right: 10px;
	}
	
	#adc-resource-description-section .card .card-body {
    	padding: 0;
	}
	
	#adc-resource-detail-section .col-4.flex-column {
		min-width: 300px;
		display: block!important;
	}

	#adc-resource-detail-section .col-4.flex-column span {
		float: left;
	}
	
    section#adc-resource-detail-section > .rounded.position-relative {
        margin: 0 !important;
    }

    .adc-page-container h2 {
        font-size: 2.5em !important;
    }

    .adc-contact-info-box {
        display: block !important;
    }

    #adc-resource-footer-section h1 {
        text-align: left;
    }

    section#adc-resource-description-section > .row, #adc-harvest-detail-section > .row, section#adc-resource-swagger-section > .row {
        margin: 0 !important;
		padding: 30px!important;
    }
	
	#adc-resource-swagger-section .row:nth-child(1) {
    	display: block;
    	margin-top: -50px;
	}
	
	.adc-page-container .btn {
    	margin: 0!important;
	}

    section#adc-api-private-section > .rounded {
        margin: 0 !important;
    }

    section#adc-open-data-distribution-section > .row {
        margin: 0 !important;
    }

    .row.adc-open-data-distribution {
        display: block;
    }

    .row.adc-open-data-distribution .col:nth-child(2) {
        margin: 0;
    }

    .row.adc-open-data-distribution .col:nth-child(3), .row.adc-open-data-distribution .col:nth-child(4) {
        width: auto;
    }

    .row.adc-application-info {
        margin-top: 30px;
    }
	
	#adc-resource-footer-section .loop_card {
    	margin-bottom: -30px!important;
	}
	
	.adc-open-data-distribution .col-3 {
    	max-width: 100%;
    	margin: 0 auto;
	}

	.adc-open-data-distribution .col-6 {
    	max-width: 100%;
    	margin: 0 auto;
	}

    /*CERCA*/
	input.adc-search-name-input{
		height: 4.5rem!important;
	}
	
	.adc-search-tbody tr td.sorting_1{
		overflow: hidden;
    	text-overflow: ellipsis;
    	display: -webkit-box;
    	-webkit-line-clamp: 1;
    	-webkit-box-orient: vertical;
    	line-height: 2em;
	}
	
    .search_filters_wrapper {
        flex-direction: column !important;
        margin-top: 5px;
    }

    .search_filters_wrapper button {
        width: 100%;
        margin-bottom: 5px;
    }

    .adc-search-tbody tr td:nth-child(2) {
        text-align: left;
    }

    div#search_data_wrapper {
        max-width: 98vw;
    }
	
	#search_data_wrapper .dataTables_wrapper .dataTables_length {
		float: left;
		text-align: left;
	}

	#search_data_wrapper .dataTables_wrapper .dataTables_length select {
		margin: 0;
	}

	.dataTables_wrapper {
		padding: 0;
	}
	
	#search_data_wrapper .dataTables_wrapper .dataTables_filter label {
    margin-left: 20px;
}

	#search_data_wrapper .dataTables_wrapper .dataTables_filter {
		float: inherit;
		text-align: left;
	}

	#search_data_wrapper .dataTables_wrapper .dataTables_filter input {
		width: 200px;
	}
	
	.dataTables_wrapper .dataTables_paginate .paginate_button{
		padding: 0.5em!important;
	}

    /*DASHBOARD*/
    .adc-status-btn {
        width: fit-content;
        padding: 0px 10px;
    }

    table#users-claims-table {
        width: auto !important;
    }

    a.adc-login-header-button {
        font-size: 0.7em;
    }

    table.adc-form-table {
        width: 100% !important;
    }

    #resources_data_wrapper > div > div > h3 {
        font-size: 30px !important;
    }

    .dataTables_wrapper {
        overflow-x: scroll;
    }

    h3.adc-form-header-title {
        margin-top: 30px;
    }

    .adc-dashboard-footer .row {
        margin-top: 50px;
        display: block;
    }

    .adc-dashboard-footer .row .col:nth-child(1), .adc-dashboard-footer .row .col:nth-child(2) {
        padding: 50px;
        width: 100%;
        background-size: cover;
        background-position: center;
    }

    section.adc-dashboard-footer {
        margin: 0;
    }

    .adc-dashboard-footer .row .col > div {
        padding: 30px;
    }

    #search-filter-form .col:nth-child(1), #search-filter-form .col:nth-child(2) {
        width: 100% !important;
    }

    #search-filter-form .col.col-lg-3.mt-3.mr-5 {
        max-height: 30px;
        overflow: hidden;
    }

    #search-filter-form > .row {
        display: block;
    }

    #search-filter-form .col.col-lg-3.mt-3.mr-5:after {
        content: "";
        border: solid black;
        border-width: 0 3px 3px 0;
        display: inline-block;
        padding: 3px;
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        margin-left: 10px;
        margin-bottom: 5px;
        position: absolute;
        top: 1px;
        right: 10px;
    }

    #search-filter-form .col.col-lg-3.mt-3.mr-5.active:after {
        transform: rotate(225deg);
        -webkit-transform: rotate(225deg);
    }

    .adc-search-data-wrapper .loop_card {
        padding-right: 0 !important;
        max-width: 85%;
    }

    #resources_data_wrapper > div > h1 {
        margin-top: 30px;
    }

    #users_claims_wrapper > div.row.mb-3 {
        display: block;
    }

    #users_claims_wrapper > .row > .col:nth-child(2) {
        text-align: left;
        margin-bottom: 50px;
    }

    #users_claims_wrapper .col:nth-child(1) {
        margin-top: 30px;
    }

    #resources_data_wrapper .col:nth-child(2) {
        display: block !important;
    }

    #resources_data_wrapper > .row.mb-3.align-items-center {
        display: block;
    }

    #resources_data_wrapper .col:nth-child(2) button {
        margin-bottom: 5px;
    }

    #users_data_wrapper .row.mb-3.align-items-center {
        display: block;
    }

    #users_data_wrapper .row .col:nth-child(2) {
        justify-content: flex-start !important;
        margin-bottom: 50px;
    }

    .dataTables_wrapper .dataTables_length select {
        margin: 0 auto;
    }

    /*LOGIN*/
    .adc-login-description, .adc-login-shortcode, .adc-login-anchor-container {
        margin: 0;
    }

    .adc-login-row {
        display: block;
        margin-top: 50px !important;
    }

    /* NEWS*/
    .adc-news-header {
        margin: 0;
        padding: 30px;
        width: 100%;
    }

    .adc-resources-archive-loop .loop_card {
        padding: 30px;
        margin: 0;
        width: 100%;
    }
}

/* FIX FIREFOX */
.post-content-post .post_content-side p:last-child,
.editorial-content-post .editorial-content-main p:last-child {display:flex !important;}

/* FIX FOOTER ICON */
.it-footer-main .it-brand-wrapper a .icon {width: 85px !important;}

/* FIX SPECIFICA PRIVATA */
#adc-api-private-section-body {
    font-family: Lora,Georgia,serif;
    font-size: .875rem;
    line-height: 1.2rem;
    color: #435a70;
}
#adc-api-private-section-body ul {
    white-space: initial;
    margin-inline-start: 40px;
}
#adc-api-private-section-body ul li {
    list-style: disc;
}
#adc-api-private-section-body pre {
    font-family: "Roboto Mono",monospace
}
#adc-resource-description-extra ul {
    white-space: initial;
    margin-inline-start: 40px;
} 
#adc-resource-description-extra ol {
    white-space: initial;
}
#adc-resource-description-extra ul li {
    list-style: disc;
}
