:root {
    --primary-color: #3C8DBC;
}

.center {
    text-align: center;
}

a, a:link {
    text-decoration: none !important;
}

.box_tag {
    background: #FECB00;
    display: inline-block;
    padding: 5px;
    margin-left: 5px;
    margin-top: 5px;
    border-radius: 20px;
}

.content_tag {
    border: 1px solid #ECF0F5;
    padding: 2px 5px;
    border-radius: 20px;
    background: #FFF;
    color: #000;
}

.box-info {
    max-width: 500px;
    margin: auto;
}

input[name='tag_find'] {
    width: 50%;
}

.btn-add-tag {
    margin-left: 15px;
}

.azioni a {
    margin-left: 30px;
}

.cognome-anagrafica a {
    color: #000;
    cursor: default;
    pointer-events: none;
}

.content-mobile-full {
    width: 40%;
    float:left;
}

.anagrafica-content-button {
    text-align: right;
}

.header-horizontal {
    text-align: center; 
    font-weight: bolder; 
    color:#FFFFFF;
    font-size: 2em; 
    position: absolute; 
    margin-left:50px
}

ul.pagination {
        margin: 0 0 20px 0 !important;
    }

/* On screens that are 992px or less, set the background color to blue */
@media screen and (max-width: 992px) {
    #example2 td, #example2 th {
        display: inline-flex;
    }
    #example2 tr {
        border: 3px solid darkgrey;
    }
    
    div.form-group label {
        height: 35px;
    }
    
    input[name='tag_find'] {
        width: 100%;
    }
    
    .btn-add-tag {
        margin: auto;
    }
    
    button.btn {
        width: 90%;
        margin: auto;
    }
    
    .hide-mobile {
        display: none !important;
    }
    
    #anagrafica_table {
        font-size: 0.8em;
    }
    
    .azioni a {
        margin-left: 10px;
    }
    
    .cognome-anagrafica a {
        color: darkblue;
        font-weight: bold;
        cursor: pointer;
        pointer-events: auto;
    }
    
    .content-mobile-full {
        width: 100%;
    }
    
    .anagrafica-content-button {
        text-align: left;
    }
    
    .anagrafica-content-button button {
        margin-top: 10px;
        width: 100%;
    }
    
    .header-horizontal {
        text-align: center;
        font-weight: bolder;
        color: #FFFFFF;
        font-size: 1.2em;
        position: absolute;
        margin-left: 50px;
        margin-top: 10px;
    }
    
    .pagination > li > a {
        padding: 6px 8px !important;
    }
}
        
#result_ricerca_anagrafica {    
    width: 100%;
    margin: 1px auto;
    background:#FFF;
}

#result_ricerca_anagrafica ul {
    border: 1px solid var(--primary-color);
    /*border-radius: 5px 5px 5px 5px;*/
}

#result_ricerca_anagrafica li {
    text-align: right;
}

.message_generic {
    /*border: 2px solid #a3cfbb;*/
    margin: auto;
    margin-left: auto;
    width: 50%;
    text-align: center;
    position: fixed;
    margin-left: 15%;
    padding: 0px;
    font-size: 1.1em;
    background: #d1e7dd;
    color: #000;
    top: 0;
    z-index: 9999;
    display: none;
}

.message_error {
    border: 2px solid #f1aeb5 !important;
    background: #f8d7da !important;
}

.message_info {
    border: 2px solid #f1aeb5 !important;
    background: yellow !important;
}

.message_success {
    border: 2px solid #a3cfbb;
    margin: auto;
    margin-left: auto;
    width: 50%;
    text-align: center;
    position: fixed;
    margin-left: 15%;
    padding: 0px;
    font-size: 1.1em;
    background: #d1e7dd;
    color: #000;
    top: 0;
    z-index: 9999;
    display: none;
}

.wrapper div.content-wrapper {
    padding: 10px;
}

.content-header {
  position: relative;
  padding: 0px 15px 0 15px;
}

/* HTML: <div class="loader"></div> */
.loader {
  width: 50px;
  aspect-ratio: 1;
  display: grid;
}
.loader::before,
.loader::after {    
  content:"";
  grid-area: 1/1;
  --c:no-repeat radial-gradient(farthest-side,#25b09b 92%,#0000);
  background: 
    var(--c) 50%  0, 
    var(--c) 50%  100%, 
    var(--c) 100% 50%, 
    var(--c) 0    50%;
  background-size: 12px 12px;
  animation: l12 1s infinite;
}
.loader::before {
  margin: 4px;
  filter: hue-rotate(45deg);
  background-size: 8px 8px;
  animation-timing-function: linear
}

@keyframes l12 { 
  100%{transform: rotate(.5turn)}
}

.content_loader {
    margin-left: 45%;
    display: none;
}

.content-record-image img {
    max-width: 150px;
}

a.remove-img-user {
    float: left;
    position: absolute;
    padding: 10px;
    z-index: 9999;
    color: red;
    font-size: 1.5em;
    font-weight: bold;
    margin-left: 100px;
    margin-top: -38px;
}