﻿body {
    padding-bottom: 40px; /* per footer fixed */
}

a, a:link {
    color: #3d3d38;
    font-weight: bold;
}

.navbar a,
.navbar a:link {
    font-weight: normal;
}

body,
.btn,
.swal2-modal {
    font-family: museo-sans, sans-serif;
}

.swal-error #swal2-content {
    text-align: left;
}
/* COLORI */
.navbar a:hover {
    color: #333 !important;
    text-decoration: none;
}

.navbar-brand img {
    padding: 3px;
}

.login-header {
    background-color: #222;
    background: radial-gradient(circle, #33000a, #222); /* Standard syntax */
}

.highlighted {
    color: #595850;
}

span.userinfo {
    color: white;
    font-size: 12px;
    line-height: 1.2em;
    text-align: right;
    padding-right: 15px;
}

table.table {
    font-size: 85%;
}

table.table-striped th,
.table th, .table th a {
    color: black;
}

.swal2-cancel {
    margin-left: 10px;
}

.swal2-buttonswrapper .btn-granata,
.swal2-buttonswrapper .btn-default {
    width: 90px;
    display: inline-block;
    padding: 8px 12px;
    margin-bottom: 0;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.swal2-buttonswrapper .btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

    .swal2-buttonswrapper .btn-default:hover {
        background-color: #e6e6e6;
        border-color: #adadad;
    }

ul.pagination {
    margin-top: 0;
    margin-bottom: 0;
}

.pagination > li.disabled > a, .pagination > li.disabled > a:hover,
.pagination > li.disabled > span, .pagination > li.disabled > span:hover {
    cursor: default;
}


/* STILI */
.middletitle {
    padding-bottom: 2px;
    border-bottom: solid 1px #eee;
}

.fixed-spacing {
    font-family: Courier New, Courier, monospace;
}

.editor {
    font-size: 0.75rem;
    line-height: 1;
    -o-tab-size: 4;
    tab-size: 4;
}

/* CUSTOM BOOTSTRAP */

.bg-success {
    background-color: #9ee8b0 !important;
}

.login-header {
    background: linear-gradient(to left, rgba(128, 128, 128, 0.25), rgba(0, 0, 0, 255) 50%, rgba(128, 128, 128, 0.25));
}

.login-icon {
    color: #595850;
}

.bg-primary {
    background-color: #EEE !important;
}

.btn-primary,
a.btn-primary,
a.btn-primary:link {
    background-color: #E20F1A;
    border-color: #E20F1A;
    color: white;
}

    .btn-primary:active {
        background-color: #E20F1A;
        border-color: #E20F1A;
        color: white;
    }

    
    a.btn-primary:hover,
    .btn-primary:hover {
        background-color: #ce0d18;
        border-color: #ce0d18;
        color: white;
    }

    .btn-primary:focus {
        box-shadow: 0 0 0 3px rgba(226, 15, 26, 0.50);
        color: white;
    }

    a.btn-dark:hover {
        color: white !important;
    }


.btn-outline-primary {
    color: #595850;
    border-color: #595850;
}

    .btn-outline-primary:hover {
        background-color: #595850;
        border-color: #595850;
    }

.btn-link {
    color: #595850;
    cursor: pointer;
}

    .btn-link:hover, .btn-link:focus {
        color: #3d3d38;
        cursor: pointer;
    }

.text-primary {
    color: #E20F1A !important;
}

.page-link, .page-link:hover {
    color: #3d3d38;
}

.page-item.active .page-link {
    background-color: #595850;
    border-color: #595850;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: rgba(61, 61, 56, 0.50);
    color: #fff !important;
}

a.nav-link {
    color: black;
}

.nav-tabs .nav-link.active {
    color: #595850;
}

.nav-tabs a.nav-link.active {
    background: linear-gradient(#f5f5f5, #fff);
}

.badge-primary {
    background-color: #3d3d38 !important;
}

a.text-primary:hover {
    color: #3d3d38 !important;
}

.form-control:focus {
    border-color: #595850;
    box-shadow: 0 0 0 .2rem rgba(61, 61, 56, 0.25);
}

.document-info {
    float: right;
}

.document-name {
    font-size: 1.2em;
    line-height: 1em;
}

.admin-actions {
    float: right;
    margin-left: 20px;
}

time {
    font-size: 0.6em;
}
a.btn.btn-outline-dark:hover {
    color: white !important;
}
/* END CUSTOM BOOSTRAP */
.webgrid-updatecolumn,
.webgrid-deletecolumn {
    width: 40px;
}

.webgrid-namecolumn {
    font-size: 1.4em;
    width: 40%;
}

    .webgrid-namecolumn a {
        color: black;
        font-weight: bold;
    }

    .webgrid-namecolumn .Note {
        font-style: italic;
        font-size: 0.7em;
        line-height: 1.1em;
        display: inline-block;
        padding: 5px 0;
    }

    .webgrid-namecolumn small {
        font-size: 0.6em;
        line-height: 1.4em;
        display: inline-block;
        color: #999;
    }

.webgrid-admincolumn a:hover {
    color: white !important;
}

.webgrid-notecolumn {
    font-size: 0.8em;
}

.webgrid-passwordcolumn button,
.webgrid-usernamecolumn button {
    white-space: nowrap;
}

#DocumentGrid td, #UserGrid td {
    vertical-align: middle;
}

.btn-outline-warning:hover {
    color: black !important;
}

.CategoryBar {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    flex-wrap: wrap;
}

    .CategoryBar li {
        padding: 0 5px 5px;
        border: 0;
    }

    .CategoryBar button,
    .webgrid-categorycolumn {
        font-family: 'BenchNine', sans-serif;
        font-size: 1.2em;
    }

        .webgrid-categorycolumn .badge {
            font-weight: 100;
        }

    .CategoryBar button {
        cursor: pointer !important;
    }

    .CategoryBar i {
        margin-left: 5px;
        vertical-align: baseline;
    }

.btn.disabled, .btn:disabled {
    opacity: 0.4;
    -moz-transition: .3s ease opacity;
    -o-transition: .3s ease opacity;
    -webkit-transition: .3s ease opacity;
    transition: .3s ease opacity;
    background: #aaa;
    border: none;
}

.btn:hover {
    opacity: 1;
}

.copy-btn::after,
.copy-btn-decrypt::after {
    content: '  ';
    font-family: "Font Awesome 5 Free";
}

.webgrid-statuscolumn {
    font-size: 1.8em;
}

#CredentialGrid tfoot {
    display: none;
}

#CredentialGrid .webgrid-usernamecolumn button,
#CredentialGrid .webgrid-ftpusercolumn button,
#CredentialGrid .webgrid-dbnamecolumn button {
    margin-bottom: 5px;
    white-space: nowrap;
    width: 100%;
}

.pagination-container table {
    width: 100%;
    margin-bottom: 20px;
}

.JobFilterBar option[disabled="disabled"] {
    display: none;
}


form.complete-profile-form input[data-val-required],
form.complete-profile-form select[data-val-required] {
    background-image: radial-gradient(#ccc 40%, transparent 41%);
    background-size: 10px 10px;
    background-position: top left;
    background-repeat: no-repeat
}
/* ICONE */
.webgrid-enabled {
    width: 70px;
    font-size: 32px;
    text-align: center;
}

.webgrid-name {
    width: 50%;
}

.fa-check-circle {
    color: green;
}

.fa-times-circle {
    color: red;
}


.btn-outline-info:hover,
.btn-outline-primary:hover,
.btn-outline-warning:hover,
.btn-outline-danger:hover {
    color: white !important;
}

a.btn-outline-light {
    color: white;
}
.btn.btn-outline-danger {
    color: #dc3545;
}

.warranty-icon {
    width: 1em;
    height: 1em;
    border: 1px solid black;
    border-radius: 100%;
    display: inline-block;
}

.print-only {
    display: none !important;
}

@media print {
    .noprint {
        display: none !important;
    }

    .print-only {
        display: block !important;
        border-bottom: none !important;
    }

    .row {
        border-bottom: 0.5px solid black;
    }

    .print-right {
        text-align: right !important;
    }

	.col-lg-2 {
		max-width: 16.666667%;
	}

	.col-lg-3 {
		max-width: 25%;
	}

	.col-lg-4 {
		max-width: 33.333333%;
	}
	
	.col-lg-6 {
		max-width: 50%;
	}
	
	.col-lg-9 {
		max-width: 75%;
	}
}