/* Move down content because we have a fixed navbar that is 50px tall */
body {
    font-family: 'Roboto Condensed', sans-serif;
    /*font-family: 'Open Sans Condensed', sans-serif;*/
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.textCondens {
    /*font-family: 'Roboto Condensed', sans-serif;*/
    font-family: 'Open Sans Condensed', sans-serif;
}

.textNormal {
    font-family: 'Roboto', sans-serif;
    /*font-family: 'Open Sans', sans-serif;*/
}

.textBig {
    font-size: 1.5em;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }

    .body-content {
        padding: 0;
    }

    body {
        font-family: 'Roboto', sans-serif;
    }
}

@media (max-width: 992px) {
    .container {
        width: 100%;
    }

    body {
        font-family: 'Roboto Condensed', sans-serif;
        font-size: 0.9rem;
    }

    .smallTable {
        font-size: 0.7rem;
        font-family: 'Open Sans Condensed', sans-serif;
    }
}

.GridPager a,
.GridPager span {
    display: block;
    height: 1.5em;
    min-width: 1.1em;
    text-align: center;
    text-decoration: none;
}

.GridPager a {
    background-color: #f5f5f5;
    color: #969696;
    /*border-top: 1px solid #969696;
        border-bottom: 1px solid #969696;*/
}

.GridPager span {
    background-color: #A1DCF2;
    color: #000;
    /*border-top: 1px solid #3AC0F2;
        border-bottom: 1px solid #3AC0F2;*/
    font-weight: bold;
}

@borderThick: 3px;

.border-thick {
    border-width: @borderThick !important;
}
/* Animazione per richiamo attenzione*/
.flashColor {
    border: @borderThick solid blue;
    /* Safari 4.0 - 8.0 */
    -webkit-animation-name: blueFlash;
    -webkit-animation-duration: 0.5s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-delay: 0s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-direction: alternate;
    /* Standard syntax */
    animation-name: blueFlash;
    animation-duration: 0.5s;
    animation-timing-function: linear;
    animation-delay: 0s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes blueFlash {
    0% {
        border-color: #c4dbff;
    }

    25% {
        border-color: #9dc4ff;
    }

    50% {
        border-color: #5ca5ff;
    }

    75% {
        border-color: #1b82ff;
    }

    100% {
        border-color: #005ccc;
    }
}

.bigText {
    font-size: 1.3em;
}

.smallText {
    font-size: 0.8em;
}

/* Override the default bootstrap behavior where horizontal description lists
   will truncate terms that are too long to fit in the left column
*/
.dl-horizontal dt {
    white-space: normal;
}

.deleted {
    text-decoration: line-through;
}

.padZL {
    padding-left: 0.2em;
}

.padZR {
    padding-right: 0.2em;
}

.padZRL {
    .padZL;
    .padZR;
}

.colAlt {
    color: #C93;
}

.fontBig {
    font-size: 2em;
}

.tNote {
    color: #8a8a8a;
    font-style: italic;
}

.tNoWrap {
    white-space: nowrap;
}

.navbar {
    min-height: 0;
    /*z-index: 0; // commentare quando in prod?!?*/
    color: #696969;
}

.pagination {
    margin: 5px 0;
}

.pageSelDD {
    width: 6em;
}

.zeroWidth {
    width: 0;
}

/*------------------------------------------------------------------
[ Shortcuts / .shortcuts ]
*/

@blSCut: 1rem;

.shortcuts {
    text-align: center;
}

.shortcuts .shortcut {
    min-width: @blSCut * 9;
    min-height: @blSCut * 5;
    display: inline-block;
    padding: @blSCut*2/3 0;
    margin: 0 2px 1em;
    vertical-align: top;
    text-decoration: none;
    background: #F3F3F3;
    background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#eeeeee));
    background-image: -webkit-linear-gradient(top, #ffffff, 0%, #eeeeee, 100%);
    background-image: -moz-linear-gradient(top, #ffffff 0%, #eeeeee 100%);
    background-image: linear-gradient(to bottom, #ffffff 0%, #eeeeee 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffeeeeee', GradientType=0);
    border: 1px solid #ddd;
    box-sizing: border-box;
    border-radius: @blSCut/2;
}

.shortcuts .shortcut-sm {
    min-width: @blSCut * 4.5;
    min-height: @blSCut * 3;
    display: inline-block;
    padding: @blSCut/4 0;
    margin: 0 2px 1em;
    vertical-align: top;
    text-decoration: none;
    background: #F3F3F3;
    background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#eeeeee));
    background-image: -webkit-linear-gradient(top, #ffffff, 0%, #eeeeee, 100%);
    background-image: -moz-linear-gradient(top, #ffffff 0%, #eeeeee 100%);
    background-image: linear-gradient(to bottom, #ffffff 0%, #eeeeee 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffeeeeee', GradientType=0);
    border: 1px solid #ddd;
    box-sizing: border-box;
    border-radius: @blSCut/2;
}

.shortcuts .shortcut .shortcut-icon {
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    font-size: @blSCut*2;
    color: #333;
}

.shortcuts .shortcut-sm .shortcut-icon {
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    font-size: @blSCut*2;
    color: #333;
}

.shortcuts .shortcut:hover {
    background: #E8E8E8;
    background-image: -webkit-gradient(linear, left 0%, left 100%, from(#fafafa), to(#e1e1e1));
    background-image: -webkit-linear-gradient(top, #fafafa, 0%, #e1e1e1, 100%);
    background-image: -moz-linear-gradient(top, #fafafa 0%, #e1e1e1 100%);
    background-image: linear-gradient(to bottom, #fafafa 0%, #e1e1e1 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffafafa', endColorstr='#ffe1e1e1', GradientType=0);
}

.shortcuts .shortcut-sm:hover {
    background: #E8E8E8;
    background-image: -webkit-gradient(linear, left 0%, left 100%, from(#fafafa), to(#e1e1e1));
    background-image: -webkit-linear-gradient(top, #fafafa, 0%, #e1e1e1, 100%);
    background-image: -moz-linear-gradient(top, #fafafa 0%, #e1e1e1 100%);
    background-image: linear-gradient(to bottom, #fafafa 0%, #e1e1e1 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffafafa', endColorstr='#ffe1e1e1', GradientType=0);
}

.shortcuts .shortcut:active {
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.shortcuts .shortcut-sm:active {
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.shortcuts .shortcut:hover .shortcut-icon {
    color: #C93;
}

.shortcuts .shortcut-sm:hover .shortcut-icon {
    color: #666;
}

.shortcuts .shortcut-label {
    display: block;
    margin-top: .75em;
    font-weight: 400;
    color: #666;
}

@media (max-width: 992px) {
    .shortcuts .shortcut {
        min-width: @blSCut * 8;
        min-height: @blSCut * 4;
    }
}