@import url("https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css");
@import url("https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css");

input.input-index{
    width: 20vw;
    margin: 5px auto;
}

input[type=submit].btn-info.btn-index{
    width: 15vw;
    margin: 5px auto;
    display: block;
}

.btn{
    margin: 0 5px;
}

.btn-primary{
    width: 15vw;
    margin: 5px auto;
    display: block;
}

.form-group{
    margin: 15px 10px;
    text-align: center;
}

.alert{
    font-size: 1.5em;
    font-weight: bold;
    width: 50%;
    margin: 10px auto;
    text-align: center;
    margin-top: 55px;
}

h4>strong{
    font-size: 1.2em;
    font-style: italic;
    text-decoration: underline;
}

h1{
    text-align: center;
}

input.btn.btn-info, input.btn.btn-danger{
    width: auto !important;
    display: block;
    font-size: 1em;
    margin: 10px auto;
}
.y{
    color: #00ab00;
    font-weight: bold;
}
.null{
    color: #ab17a7;
    font-weight: bold;
}
.n{
    color: #d80000;
    font-weight: bold;
}
.v{
    color: #0036d8;
    font-weight: bold;
}
input#attach_front+a, input#attach_back+a, input#attach_master+a, input#photo+a {
    display: block;
    width: 100%;
    text-align: left;
    margin: 0;
    font-size: 0.9em;
}
.left{
    text-align: left !important;
}

button.btn{
    display: block;
    margin: 10px auto;

}
a:hover{
    text-decoration: none;
}

.container{
    margin-top: 20px;
    max-width: 90%;
}
.btn-group button{
    margin-right: 5px;
    margin-bottom: 0;
}
.list-group-item{
    padding: 10px;
    text-align: center;
}
.card-body{
    padding-top: 0.75rem;
}

.card {
    margin-top: 20px !important;
}

.card-deck{
    margin: 0 15px;
}

#view_users th:first-child, #view_users td:first-child, #handle_document th:first-child, #handle_document td:first-child, #view_documents th:first-child, #view_documents td:first-child
{
    position:sticky;
    left:0px;
    background-color: white;
    z-index: 0;
}
#view_users th:nth-child(2), #view_users td:nth-child(2), #view_documents th:nth-child(2), #view_documents td:nth-child(2){
    position:sticky;
    left:110px;
    background-color: white;
    border-top: 1px solid #dee2e6;
    z-index: 0;
}
#view_users th:first-child, #handle_document th:first-child, #view_documents th:first-child, #view_users th:nth-child(2), #view_documents th:nth-child(2){
    z-index: 1;
}
table label{
    display: inline !important;
}
img.sign{
    float: right;
    top: -63px;
    position: relative;
    right: 0px;
    width: 177px;
}

.fa{
    font-size: 18pt;
}

.fa-filter{
    font-size: 20px;
    margin-left: 7px;
    padding: 5px;
}
.fa-filter.active{
    background-color: cornflowerblue;
    color: white;
}

.btn .fa{
    font-size:inherit;
}

.block-center {
    display: block;
    margin: 0 50%;
}

.block-left{
    display: block;
    float: left;
    margin-left: 25px;
    margin-bottom: 25px;
    position: absolute;
    margin-top: -75px;
}

.add-button{
    display: block;
    float: left;
    margin-left: 25px;
    margin-bottom: 25px;
    position: absolute;
    margin-top: -25px;
    vertical-align: middle;
}

.add-button:before{
    font:normal normal normal 14px/1 FontAwesome;
    content: '\f067  ';
    font-size: 20px;
    font-weight: bolder;
    vertical-align: middle;
}

.res, .dom, .anag, .contacts, .photo, .asso, .op{
    float: left;
    margin: 0 20px;
    padding-top: 10px;

}

/*Aggiunte del Demo */

img.imglogo {
    display: block;
    margin: 20px auto;
    width: 15%;
}

.tuttigliutenti {
    margin: auto 20px;
}

.row {
    border-style: solid;
}
/* fine sezione demo*/

.navbar-brand{
    background-image: url("/inc/assologo.png");
    background-size: 40px;
    background-repeat: no-repeat;
    padding-left: 50px;
}

.sidebar{
    height: 100vh;
    margin-top: 50px;
    padding-top: 5px;
}

.sidebar, #side-toggle{
    z-index: 2;
}

.sidebar div.dropdown{
    width: 100%;
}

#side-toggle{
    padding-left: 10px;
}

.form-group h1{
    text-align: center;
    display: block;
    min-width: 100%;
    margin: 20px auto;
    font-size: 1.8em;
}

.form-group a {
    min-width: 150px;
}


h1>a>.fa{
    font-size: 0.8em;
}


/*.list-group-item.sidebarlist{
    padding: 10px;
    text-align: center;
    width: 100%;
}*/
.list-group-flush .dropdown-item{
    padding: 0;
}
.btn-outline-primary:focus {
    box-shadow: none;
}
.btn-danger:focus {
    box-shadow: none;
}

.table {
    /*float:left;*/
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    margin-top: 20px;
}

#maincontent {
    transition: 0.5s;
    margin-top: 40px;
}

.top-bar {
    background-color: #2e4d72;
    color: white;
    width: 100%;
    padding-left: 5px;
    z-index: 2;
}

#primo-pulsante {
    border-top: 0;
}

.dropdown-menu {
    border: 0;
}

.dropdown-item a:hover {
    background-image: none !important;
    background-color: red i !important;
}

.row-utente {
    border: none !important;
}

.fototessera {
    max-width: 200px;
    max-height: 276px;
    margin-top: 5px;
    margin-bottom: 5px;

}

#stampa {
    margin: 0 10px !important;
}

.tips{
    margin-top: 70px;
    max-width: 300px;
    text-align: justify;
    padding: 5px;

}

.home {
    margin-top: 80px !important;
}

.home-tip {
    float: left;
    margin: 0 20px;
}

#tips-home {
    background-color:#2e4d72;
}

@media screen and (max-width: 1100px){
    .mobile_hide, .add-button{
        display: none !important;
    }
}
