﻿body.login-body {
    height: 100%;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #f5f5f5;
}

body,
.btn,
.swal2-modal {
    font-family: 'Raleway', sans-serif;
}

.swal-error #swal2-content {
    text-align: left;
}
/* COLORI */
.navbar a:hover {
    color: #333 !important;
}

.navbar-brand img {
    padding: 3px;
}

nav.navbar {
    border-top: 2px solid black;
}

.right-vertical-bar {
    background: url("../img/barra-dx.png") bottom right no-repeat;
}

.login-header {
    background-color: #222;
    background: radial-gradient(circle, #33000a, #222); /* Standard syntax */
}

.form-signin {
    width: 100%;
    max-width: 400px;
    padding: 15px;
    margin: 0 auto;
}

    .form-signin .checkbox {
        font-weight: 400;
    }

    .form-signin .form-control {
        position: relative;
        box-sizing: border-box;
        height: auto;
        padding: 10px;
        font-size: 16px;
    }

        .form-signin .form-control:focus {
            z-index: 2;
        }

    .form-signin input[type="email"] {
        margin-bottom: -1px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    .form-signin input[type="password"] {
        margin-bottom: 10px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

.form-registration .form-control,
.form-registration .custom-select,
.form-registration .custom-control-input ~ .custom-control-label::before,
.form-registration .custom-control-input:checked ~ .custom-control-label::before,
.form-login .form-control {
    border-color: black;
}

.form-registration .custom-control-input:checked ~ .custom-control-label::before {
    background-color: white;
}

.form-registration .custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23000' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e");
}

.form-registration .custom-checkbox a {
    color: black;
    text-decoration: underline;
}

.form-login a {
    color: black;
    text-decoration: underline;
}

.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;
}

.font-size-xlarge {
    font-size: x-large;
}

a label {
    cursor: pointer;
}

/* 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;
    color: black;
}

.btn-primary {
    background-color: #e30613;
    border-color: #e30613;
}

    .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle,
    .btn-primary.focus, .btn-primary:focus {
        background-color: #e30613;
        border-color: #e30613;
    }

    .btn-primary:hover {
        background-color: #ba050f;
        border-color: #ba050f;
    }

    .btn-primary:focus {
        box-shadow: 0 0 0 3px rgba(61, 61, 56, 0.50);
    }



.btn-outline-primary {
    color: #e30613;
    border-color: #e30613;
}

    .btn-outline-primary:hover {
        background-color: #e30613;
        border-color: #e30613;
    }

.btn-link {
    color: #e30613;
    cursor: pointer;
}

    .btn-link:hover, .btn-link:focus {
        color: #ba050f;
        cursor: pointer;
    }

button:focus {
    outline: none !important;
}

.text-primary {
    color: #e30613 !important;
}

a:hover {
    color: #ba050f !important;
}

.page-link, .page-link:hover {
    color: #ba050f;
}

.page-item.active .page-link {
    background-color: #e30613;
    border-color: #e30613;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #ba050f;
    color: #fff !important;
}

a.nav-link {
    color: black;
}

.nav-tabs .nav-link.active {
    color: #e30613;
}

.nav-tabs a.nav-link.active {
    background: linear-gradient(#f5f5f5, #fff);
}

.badge-primary {
    background-color: #ba050f !important;
}

a.text-primary:hover {
    color: #ba050f !important;
}

.form-control:focus, .custom-select:focus,
.custom-file-input:focus ~ .custom-file-label,
.custom-control-input:focus:not(:checked) ~ .custom-control-label::before,
.custom-control-input:checked ~ .custom-control-label::before {
    border-color: #e30613;
    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;
}

.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #e30613;
}

.form-group {
    margin-bottom: .5rem !important;
}

.breadcrumb {
    padding-left: 0;
    margin-bottom: 0;
    background-color: transparent;
}

.breadcrumb-item.active {
    color: black;
}

/* 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;
}

a.btn.btn-outline-success:hover,
a.btn.btn-primary:hover {
    color: white !important;
}

.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;
}

.student-company li {
    color: #CCC !important;
}

    .student-company li.chosen {
        color: black !important;
    }

.student-company a.select-student {
    color: #ccc;
    text-decoration: none;
}

.student-company h4 {
    width: calc(100% - 80px);
}

.student-company small,
.student-school small {
    line-height: 1.4em;
    display: inline-block;
}

/* CUSTOM VALIDATOR */

.field-validation-error {
    color: #dc3545;
    font-size: 80%;
}

.input-validation-error,
.input-validation-error ~ .custom-control-label::before {
    border-color: #dc3545 !important;
}

.validation-summary-errors > ul {
    margin-bottom: 0;
}

/* CUSTOM BOOTSTRAP-SELECT */

.bootstrap-select > .dropdown-toggle.bs-placeholder,
.bootstrap-select > .dropdown-toggle.bs-placeholder:active,
.bootstrap-select > .dropdown-toggle.bs-placeholder:focus,
.bootstrap-select > .dropdown-toggle.bs-placeholder:hover {
    color: #495057;
}

.bootstrap-select > .dropdown-toggle,
.bootstrap-select > .dropdown-toggle:active,
.bootstrap-select > .dropdown-toggle:focus,
.bootstrap-select > .dropdown-toggle:hover {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    vertical-align: middle;
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

    .bootstrap-select > .dropdown-toggle:focus {
        border-color: #e30613;
        box-shadow: 0 0 0 .2rem rgba(61, 61, 56, 0.25);
    }

    .bootstrap-select > .dropdown-toggle:focus,
    .bootstrap-select > select.mobile-device:focus + .dropdown-toggle {
        outline: 0 !important;
    }

    .bootstrap-select > .dropdown-toggle:after {
        content: none;
    }

.bootstrap-select .dropdown-menu li a.dropdown-item.active,
.bootstrap-select .dropdown-menu li a.dropdown-item:active {
    background-color: #007bff;
}

/* VIMEO */

.vm-cnt {
    display: block;
    margin: 0 auto;
}

.iframe-container {
    position: relative;
    padding-top: 56.25%;
}

    .iframe-container .vimeo {
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
    }

@media (min-width: 992px) {
    .fix-height {
        max-height: 262px;
    }
}

.bkgleft {
    background-position: top left;
    background-repeat: no-repeat;
    background-size: 100vw;
}
.bkgright {
    background-position: top right;
    background-repeat: no-repeat;
    background-size: 100vw;
}
@media (max-width: 768px) {
    .bkgleft {
        background-position: top left;
        background-repeat: no-repeat;
        background-size: 200vw;
    }

    .bkgright {
        background-position: top right;
        background-repeat: no-repeat;
        background-size: 280vw;
    }
}

footer {
    font-weight: 200;
    border-top: 2px solid red;
}

    footer a {
        color: rgb(33, 37, 41);
    }

    footer .bg-dark a {
        color: white;
    }

    footer .bg-dark a:hover {
        color: #ccc !important;
    }


.video-container {
    width: 100%;
    height: 0;
    padding-bottom: 56%;
    position: relative;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    position: absolute;
}
.video-home p {
    font-size: 0.8em;
    margin-bottom: 0;
}
.video-home h4 {
    font-size: 1.2em;
    line-height: 1em;
}
.video-home a,
.video-container a {
    color: #e30613;
}
.btn-outline-dark:hover {
    color: white !important;
}

a.border-dark:hover {
    background: #F0F0F0;
}

/* MENU MOBILE */
@media (max-width: 992px) {
    ul.navbar-nav a.nav-link.d-lg-none,
    #navbarSupportedContent .nav-item.mt-3 {
        text-align: left;
        border-bottom: 1px solid #DDD;
        border-radius: 0;
    }

    #navbarSupportedContent {
        background: #EEE;
    }

        #navbarSupportedContent .navbar-nav {
            border-top: 1px solid #ddd;
        }
}

/* Cookiebot */
#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtonAccept, #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonAccept, #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll, .CybotCookiebotDialogBodyButton {
    background-color: #e30613!important;
    border-color: #ffffff!important;
    color: #ffffff!important;
}

#CybotCookiebotDialogBodyEdgeMoreDetailsLink,
#CybotCookiebotDialogBodyContentText a,  
#CybotCookiebotDialogBodyContentText a:link,
#CybotCookiebotDialogBodyContentText a:hover,
#CybotCookiebotDialogBodyContentText a:visited,
#CybotCookiebotDialogNavItemLink,
.CybotCookiebotDialogBodyLevelButtonDescription:hover {
  color: #e30613!important;
}