html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #eee;
    font-family: Roboto, Verdana;
    font-size: 14px;
    overflow-x: hidden;
    /* text-transform: uppercase;*/
}

.wrap {
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap>.container {
    padding: 40px 15px 20px;
    min-height: 600px;
}

.navbar-nav .nav-link {
    padding-right: 20px;
    padding-left: 0;
    float: right;
}

.header {
    padding: 0;
    margin-bottom: 0;
    height: 150px;
    background-color: #fff;
    width: 100%;
    position: relative;
}

.flag-icon {
    width: 140px !important;
    height: 30px;
}

.riga_chiara {
    background-color: #efefef;
}

.riga_esempio {
    margin-top: 20px;
    padding: 25px;
}

.centra {
    margin-top: 65px;
}

.nav-tabs a {
    color: #252525;
    text-decoration: none;
    background-color: transparent;
    font-size: 15px;
    font-weight: 500;
    /*text-transform: uppercase;*/
}

.navbar-nav {
    padding-left: 0px;
    padding-right: 20px;
}

.pre-header {
    height: 102px;
}

.pre-header .logo {
    max-width: 274px;
    margin: 20px 0 0 10px;
}

.pre-header .box-language {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pre-header .box-label {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pre-header .box-label h1 {
    font-size: 42px;
    font-weight: 800;
}

.img_sfondo {
    height: 150px;
}

.header::before {
    width: 100%;
    left: -75%;
}

.header::after {
    width: 5%;
    left: 25.5%;
}

.header::before,
.header::after {
    content: "";
    position: absolute;
    top: 1 px;
    bottom: 0;
    height: 100%;
    z-index: 2;
    background-color: #E30613;
    transform: skewX(-19deg);
}

.table td.allinea_verticalmente,
.table th.allinea_verticalmente {
    vertical-align: middle;
}

.box_id {
    color: red;
    font-size: 25px;
    font-weight: 800;
}

a img {
    outline: none;
}

a {
    outline: none;
}

img {
    border: 0;
}

.btn {
    transform: skewX(-19deg);
    box-sizing: border-box;
    padding: 15px 20px;
    color: #fff;
    background-color: #E30613;
}

.btn:hover {
    transform: skewX(-19deg);
    box-sizing: border-box;
    padding: 15px 20px;
    color: #fff;
    background-color: #a3040e;
}

.btn span {
    transform: skewX(0deg);
    box-sizing: border-box;
}

.box-logo,
.box-language {
    z-index: 2;
}

.header h1 {
    font-weight: 800;
    /* z-index: 2;*/
    color: white;
    top: calc(50% - 70px);
    position: absolute;
    width: auto;
    text-align: right;
    /*font-size: 42px;*/
    z-index: 99;
    font-size: 3.2rem;
    padding: 0;
    top: calc(50% - 50px);
    right: 15%;
}

.header .img_sfondo::before {
    content: '';
    width: 100%;
    background-image: url(/images/maschera.png);
    position: absolute;
    /* z-index: 2;*/
    /*top: 0;*/
    top: 0px;
    left: 0;
    bottom: 0;
    right: 0;
    -webkit-mix-blend-mode: multiply;
    mix-blend-mode: multiply;
    mix-blend-mode: multiply;
}

footer .red-footer {
    width: 100%;
    padding: 20px 0 20px 0;
    background-color: #E30613;
    color: #fff;
    text-align: center;
    font-family: Roboto, Verdana;
    font-size: 14px;
}

footer .red-footer a {
    color: #fff;
    text-decoration: underline;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}


/* add sorting icons to gridview sort links */

a.asc:after,
a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content:
        /*"\e113"*/
        "\e151";
}

a.desc:after {
    content:
        /*"\e114"*/
        "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}


/* align the logout "link" (button in form) of the navbar */

.nav li>form>button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li>form>button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav>li>form>button.logout:focus,
.nav>li>form>button.logout:hover {
    text-decoration: none;
}

.nav>li>form>button.logout:focus {
    outline: none;
}

.cella {
    text-align: center;
    display: inline-block;
}

.cella p {
    font-weight: 900;
}

@media only screen and (max-width: 768px) {
    body {
        font-size: 12px;
    }

    .box-label h1 {
        /* display: none;*/
    }

    .pre-header {
        height: 60px;
    }

    .header,
    .img_sfondo {
        height: 100px;
    }

    .btn {
        border-radius: 0;
        /*margin-bottom: 20px;*/
        margin-top: 20px;
    }

    .pre-header .logo {
        max-width: 150px;
        margin: 10px 0 0 5px;
    }

    .box-language,
    .box-logo {
        width: 50% !important;
        z-index: 2;
        display: inline-block !important;
    }

    .box-label {
        width: 0% !important;
        display: none !important;
    }

    .input-group-text {
        font-size: 8px;
    }

    .navbar-nav {
        margin: 5px -20px 0 0;
        padding-right: 0px;
    }

    .cella p {
        margin-top: 10;
        margin-bottom: 1rem;
    }
}

.riga_esempio:last-child a {
    visibility: hidden;
}

@media print {
    * {
        overflow: visible !important;
    }

    .alink {
        display: none;
    }

    .alert-success {
        display: none;
    }
}

.alink a {
    color: #FFF;
    text-decoration: none;
}

.field_require {
    padding-left: 10px;
}

.lista_onde {
    text-transform: uppercase;
}

.bootstrap-dialog-title {
    display: none !important;
}

.spaziatura {
    padding-right: 5px;
    padding-left: 5px;
}

.allinea_destra {
    text-align: right;
}


/*Code for en_US language*/

.label-grades,
.label-standard {
    font-size: 12px
}

.new-btn {

    width: auto;
    float: right;
    padding: 10px 20px;
}

.wrap>.container {
    position: relative;
}

.table {
    border-right: 1px solid #ccc !important;
    border-left: 1px solid #ccc !important;
}

.table_standard {
    border: 1px solid #ccc;
    border-top: 0px solid #ccc;
}

.riga_esempio_standard {

    padding: 25px;
}

.card-header {
    border-bottom: 0px solid rgba(0, 0, 0, .125) !important;
}