.central_block {
    padding-top: 20px;
    margin-top: 20px;
}

.dropdown-menu.custom {
    /* background-color: #5b5b5b; */
    background-color: #464646;
    transform: translate3d(0px, 32px, 0px) !important;
    border-radius: 0;
}

.activities-table td i {
    font-size: 2em;
}

.news-table td i {
    font-size: 2em;
}

.events-table td i {
    font-size: 2em;
}

.documents-table td i {
    font-size: 2em;
}

a.btn.btn-secondary {
    color: white !important;
}

td.empty-table {
    text-align: center;
    padding: 3em !important;
}

.bootstrap-datetimepicker-widget {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
}

.activities-groupbutton>.btn {
    max-width: unset;
    margin: 1em 0;
}

.news-groupbutton>.btn {
    max-width: unset;
    margin: 1em 0;
}

.events-groupbutton>.btn {
    max-width: unset;
    margin: 1em 0;
}

ul.errorlist {
    color: red;
}

ul.errorlist.nonfield {
    font-size: 1.5em;
}

a {
    color: #00A0EE;
}

.btn-primary {
    color: #fff;
    background-color: #00A0EE;
    border-color: #00A0EE;
}

.activities-table td {
    max-width: 300px;
    max-width: 9vw;
    overflow-wrap: break-word;
}

.news-table td {
    max-width: 300px;
    max-width: 9vw;
    overflow-wrap: break-word;
}

.events-table td {
    max-width: 300px;
    max-width: 9vw;
    overflow-wrap: break-word;
}

.documents-table td {
    max-width: 300px;
    max-width: 9vw;
    overflow-wrap: break-word;
}

td.icon-container {
    text-align: center;
}

td.action-icon-container i{
    text-align: center;
    font-size: 1.5em!important;
    margin-right: 2px;
}

li.home-li h3 {
    padding-top: 40px
}

.modal .modal-body {
    padding: 30px;
    font-size: 1.5em;
}

.home-link-icon {
    font-size: 6em
}

.dropdown-menu i.ms-Icon {
    font-size: 1.8em;
    margin-right: 8px;
}

ul.errorlist {
    list-style-type: none
}

.table-container {
    display: contents;
}

.link-column {
    padding: 0 3em
}

div.dropdown-menu.custom {
    white-space: nowrap;
}

ul.dropdown-menu.custom {
    white-space: nowrap;
}

.dropdown-submenu {
    position: relative;
}

.primis-submenu-link.open {
    background-color: #6f6f6f;
}

.dropdown-submenu a::after {
    transform: rotate(-90deg);
    position: absolute;
    right: 6px;
    top: 1em;
}

.dropdown-submenu .dropdown-menu {
    top: -2em;
    left: 100%;
    margin-left: .1rem;
    margin-right: .1rem;
}

.dropdown-toggle.primis-submenu-link {
    display: block;
    padding: 0 1.6em;
}

.password-reset-link {
    font-size: 0.8em
}

.django-ckeditor-widget {
    width: 100%;
}

.cke_combo_text {
    width: 65px !important;
}

/*** toolbar image button ***/
/* #cke_24 {
    display: none;
} */

input[type="text"]:disabled {
    background: #dddddd;
}

ul.nav-tabs {
    display: inline-flex;
    font-weight: 500;
    /* border: none; */
}
ul.nav-tabs .nav-link {
    border: none;  
    color: #2e2e2e;
} 
ul.nav-tabs li a {
    border-bottom: 3px solid #2e2e2e !important;
}
ul.nav-tabs li .active, ul.nav-tabs li a:hover, ul.nav-tabs li a:focus {
    border-bottom: 3px solid #00a0e7 !important;
    color: #00a0e7 !important;
}

nav ul.menu > li a {
    padding: 12px 1.6em;
    margin: 0;
}

.required-bootstrap-field label::after {
    content: " (*)"
}

.formfield-hidden {
    display: none;
}

.h1-anagrafica {
    color: #00a0e7;
    font-weight: bold;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.search-button {
    height: 38px;
    width:100%;
    max-width:unset;
}

.top-margin {
    margin-top: 3em;
}

.bottom-margin {
    margin-bottom: 2em;
}

.badge-button {
    margin-top:auto;
}

.badge-button button {
    height: 38px;
}

.badge-button label {
    display: inline-block;
}

.landing-page-container .landing-page-image {
    background-size: cover;
    background-position: right 60%;
    background-repeat: no-repeat;
    border-radius: .25rem;
    margin-top: 30px;
    height: 350px;
    height: 20vw;
}
.landing-page-container h1 {
    font-size:30px;
}
.landing-page-container .activation-card .card-body {
    font-size: 1rem;
}
.landing-page-container .activation-card .card-title {
    font-size: 1.75rem;
}

.landing-page-container .banner {
    display: flex;
    justify-content:center;
    align-items: center;
    height: auto;
    width: 100%;

    background: #00a0e7;
    /* background: radial-gradient(circle, rgba(62,189,238,1) 0%, rgba(0,159,227,1) 45%, rgba(35,77,157,1) 100%); */

    font-family: 'Montserrat', sans-serif;
    color: white !important;
    font-weight: 700;
    font-size: 1.5vw;
    margin: 30px 0;
    padding: 20px 0;
    border-radius: .25rem;
}
@media screen and (min-width: 2050px) {
    .landing-page-container .banner {
        font-size: 30.75px;
    }
}
@media screen and (max-width: 1000px) {
    .landing-page-container .banner {
        font-size: 15px;
    }
}
@media screen and (max-width: 460px) {
    .landing-page-container .banner {
        font-size: 10px;
    }
}

.landing-page-container .banner .letter-property-1 {
    font-size:1.2em;
    line-height: 1em;
}

.landing-page-container .banner .letter-property-2 {
    font-size:1.16em;
    line-height: 1.2em;
}

.landing-page-container .banner .letter-property-3 {
    font-size:1.01em;
    line-height: 1.2em;
}

.landing-page-container .banner .letter-property-4 {
    font-size:0.6em;
    line-height: 1.2em;
}

.landing-page-container .banner .text-yellow {
    color: #e9e648;
}


.landing-page-container .banner .banner-message {
    top: 0;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
    text-align: center;
}

.landing-page-container .banner .button-container {
    text-align: center;
}

.landing-page-container .banner .btn-action {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 0.7em;
    color: #00a0e7;
    background-color: #e9e648;
    border-radius: 100px;
    border: none;
    padding: 2em 0;
    margin: 20px 0;
    width: 100%;
}

.shadow {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.form-control-file.is-invalid~.invalid-feedback {
    display:block;
}

.form-control-file.is-invalid {
    border: solid 1px #dc3545;
}

.descriptionModal-body img {
    max-width: 100%;
    height: auto !important;
}

.alert button, .modal-header button {
    width: unset;
}
.alert button:hover, .modal-header button:hover {
    background-color: unset;
}

#registration-form ul {
    list-style-type: none;
}

.profilepic {
    position: relative;
    width: 294px;
    height: 400px;
    overflow: hidden;
    border: 1px solid lightgray;
}

.profilepic:hover .profilepic__content {
    background: rgba(0, 160, 231, 0.5);
    opacity: 1;
}

.profilepic:hover .profilepic__image {
    opacity: .5;
}

.profilepic:hover #defaulticon {
    opacity: 0;
}

.profilepic #defaulticon {
    position: absolute;
    bottom: 0px;
    right: 0px;
    font-size: 20px;
    padding: 10px;
    background: rgba(0, 160, 231, 1);
    border-radius: 0.25rem 0 0 0;
}

.profilepic__image {
    object-fit: cover;
    opacity: 1;
    transition: opacity .2s ease-in-out;
    background-image: '';
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 294px;
    height: 400px;
}

.profilepic__content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    background: rgba(0, 160, 231, 0);
    opacity: 0;
    transition: background-color .2s ease-in-out;
}

.profilepic__icon {
    color: white;
    padding-bottom: 8px;
}

.profilepic__icon .fas {
    font-size: 20px;
}

.profilepic__text {
    text-transform: uppercase;
    font-size: 12px;
    width: 50%;
    text-align: center;
    color: white;
}

.profilepic {
    color: white;
}

#profilePictureModal {
    color: black;
}

nav ul.menu > li div a {
    display: block;
    padding: 5px 60px 5px 23px;
}

nav ul.menu > li div a:hover {
    background: #747474;
}

.libretto-doc-unico label::after {
    content: "  o documento unico (*)"
}

.certificato-doc-unico label::after {
    content: " (omettere in presenza di documento unico)"
}

input[id*="all_quietanza-clear_id"] {
    margin-left: 36px;
    margin-top: 5px;
}