html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    padding-left: 300px;
}

.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;
}

.toggle-visibile {
    color: #000 !important;
    cursor: pointer;
}

.toggle-visibile.blu {
    color: #337ab7 !important;
}


@media (max-width: 799px) {
    .mylogo, .menu-logo {
        display: none !important;
    }
}

.mylogo {
    width: 100px;
    margin: 0 auto;
    margin-bottom: 30px;
    display: block;
}

.centered {
    margin: 0 auto !important;
    display: block;
}

.breadcrumb {
    display: none;
}

.navbar-fixed-left {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 300px;
    margin-bottom: 0px;
    border-radius: 0px;
}

.menu-logo {
    width: 60px;
    clear: both;
    margin-left: 25px;
}

.navbar-brand {
    width: 100%;
    height: 100px;
}

.navbar-collapse ul {
    width: 100%;
    float: none;
}

.navbar-collapse {
    margin: 0;
    padding: 0;
}

.navbar .container {
    width: 100% !important;
}

.wrap > .container {
    width: 95%;
}

.navbar-nav > li {
    width: 100% !important;
}

.wrap {
    padding-left: 300px;
}

.mia-navbar {
    position: fixed;
    top:0;
    left: 300px;
    right: 0;
    background-color: #5cb85c;
    text-align: center;
    border-radius: 0px;
    border: 0px solid black;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.44);
    z-index:2;
}

.mia-navbar h1 {
    text-transform: uppercase;
    color: #fff;
    display: block;
    text-align: center;
    width: 100%;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 30px;
    margin-top: 15px;
}

.mia-navbar .navbar-header  {
    width: 100%;
}

.spaziatore {
    width: 100%;
    height: 50px;
}

.ico {
    position: relative;
    padding-left: 50px !important;
    display: block;
}

.ico:before {
    content: '';
    position: absolute;
    display: block;
    top:0 ;
    left: 0;
    width: 30px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center center;
}

.ico.homepage:before {
    background-image: url(../imgs/icons/home.png);
}

.form-recupera {
    display: none;
    text-align: center;
}

.form-recupera .form-control {
    margin-bottom: 10px;
}

.acascata {
    width: 100%;
    height: 300px;
    overflow-y: scroll;
    margin-bottom: 15px;
    border: 1px solid black;
    padding: 15px 20px;
    border-radius: 3px;
}

.acascata.piccolo {
    height: 130px;
}

.mobi-navbar {
    display: none;
}

@media (max-width: 1600px) {
    .container {
        width: 900px;
    }
}

@media (max-width: 1250px) {
    .wrap, footer {
        padding-left: 0px !important;
    }

    .navbar-fixed-left {
        left: -300px;
        transition: all 0.3s linear;
        max-width: 70%;
        z-index: 20;
    }

    .navbar-fixed-left.open {
        left: 0;
    }

    .mia-navbar {
        left: 0;
        top: 0;
        right: 0;
    }

    .mobi-navbar {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 58px;
        z-index: 15;
    }

    .mobi-navbar .fa {
        color: #fff;
        position: absolute;
        top: 12px;
        right: 20px;
    }
}

@media (max-width: 1000px) {
    .container {
        width: 90%;
    }

    .grid-view {
        overflow-x: scroll;
    }

    .navbar-toggle.collapsed, nav:not(.mia-navbar) .navbar-header {
        display: none;
    }

    .navbar-nav {
        margin: 0;
        margin-top: 10px;
    }

    .navbar-header h1 {
        font-size: 12px;
        margin-top: 20px;
    }
}

@media print {
    .nosfondo {
        display: none;
    }
}

.linkprogetto .title {
    min-height: 40px;
}

#modal-UploadPdf .elenco-allegati .list-group-item {
    border: none;
}

#modal-UploadPdf .elenco-allegati .list-group {
    margin-top: 2rem;
}

.glyphicon.fast-right-spinner {
    -webkit-animation: glyphicon-spin-r 1s infinite linear;
    animation: glyphicon-spin-r 1s infinite linear;
}

@-webkit-keyframes glyphicon-spin-r {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

.select2.select2-container .select2-selection {
    border: 1px solid #ccc;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    height: 34px;
    outline: none !important;
    transition: all .15s ease-in-out;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: .5rem;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    margin-top: .5rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    margin-top: .1rem;
}

#crea_update > div.area-scrivanie > div > span.select2,
#crea_update > div.area-tipologie > div > span.select2,
#crea_update > div.area-clienti > div > span.select2,
#crea_update > div.area-scrivanienotai > div > span.select2,
#crea_update > div.area-utenti > div > span.select2 {
    width: 100%!important;
}

.select2-selection__choice {
    background-color: rgba(40, 96, 144, .7)!important;
    border-color: #204d74!important;
    color: white!important;
    font-weight: 300!important;
}

.select2-selection__choice__remove {
    color: red!important;
}

.select2-results__option--selected {
    background-color: rgba(40, 96, 144, .7)!important;
}

.select2-selection--multiple {
    height: auto!important;
}
