﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
    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;
}
.white {
    border-top-color: #ffffff !important;
}

.btn-warning {
    background-color: #ffc107;
    color:black;
}
.btn-danger {
    background-color: #bd2130;
}
.btn-success {
    background-color: #28a745;
}
.btn-info {
    background-color: #17a2b8;
}
.btn-secondary {
    background-color: #6c757d;
    color:white;
}
.btn-primary {
    background-color: #007bff;
}
.btn4 {
    border: 1px solid transparent;
}
.font-weight-bold {
    font-weight: 700 !important;
}

.inputfile {
    display: inline-block;
    background-color: #eee;
    border: 1px solid gray;
    font-size: 1em;
    padding: 4px;
    width:100%
}

::-webkit-file-upload-button {
    -webkit-appearance: none;
    background-color: #428bca;
    border: 1px solid gray;
    font-size: 1em;
    padding: 8px;
    color:white;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

    .Opacity {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    overflow: hidden;
    margin: auto;
    background-color: #FFFFFF;
    filter: alpha(opacity=80);
    opacity: 0.8;
    z-index: 1060;
}

.fixed-bottom{
position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
}


.Wt {
    background-image: url(/images/loading3.gif);
    background-repeat: no-repeat;
    /*background-position-y: 75px;*/
    width: 200px;
    height: 200px;
    position: absolute;
    left: 50%;
    top: 35%;
    margin-left: -100px;
    margin-top: -100px;
    padding-top: 128px;
    font-weight: bold;
    font-size: 12px;
}


@media all and (max-width:550px){
    .progress{width:4em!important;}
}
@media all and (min-width: 991px) and (max-width: 1024px) {
    .HeaderUser {float:none !important;}

}

    /* Responsive: Portrait tablets and up */
    @media screen and (min-width: 768px) {
        .jumbotron {
            margin-top: 20px;
        }

        .body-content {
            padding: 0;
            
        }

            /*.body-content::before {
                content: '';
                display: block;
                position:absolute;
                width: 100%;
                height: 100%;
                margin-top:20em;
                background-image: url("/images/back.png");
                background-repeat: no-repeat;
                background-position-x: center;
                background-position-y: top;
                opacity: 0.1;
                z-index: -1;
            }*/

    }

    @media all and (max-width: 990px) {
        .HeaderUser {
            margin-top: -4px !important;
            float: left !important;
            width: 90% !important;
        }

        .body-content {
            margin-top: 25px;
        }
    }

    /*---------------------------------------------------*/


    /*STYLE CSS WEB SITE*/

#UpdatePanelPag {
    min-height: 500px;
}

bmd-modalButton {
    display: block;
    margin: 15px auto;
    padding: 5px 15px;
}



.bmd-modalContent {
    box-shadow: none;
    background-color: transparent;
    border: 0;
}

    .bmd-modalContent .close {
        font-size: 30px;
        line-height: 30px;
        padding: 7px 4px 7px 13px;
        text-shadow: none;
        opacity: .7;
        color: #fff;
    }

        .bmd-modalContent .close span {
            display: block;
        }

        .bmd-modalContent .close:hover,
        .bmd-modalContent .close:focus {
            opacity: 1;
            outline: none;
        }

    .bmd-modalContent iframe {
        display: block;
        margin: 0 auto;
    }


    /* PRINT MODAL*/
    @media screen {
        #printSection {
            display: none;
        }
    }

    @media print {
        body * {
            visibility: hidden;
        }

        #printSection, #printSection * {
            visibility: visible;
        }

        #printSection {
            position: absolute;
            left: 0;
            top: 0;
        }
    }
    /* -------------- */




    /* The customcheck */
    .customcheck {
        display: block;
        position: relative;
        padding-left: 15px;
        margin-bottom: 12px;
        cursor: pointer;
        font-size: 22px;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

        /* Hide the browser's default checkbox */
        .customcheck input {
            position: absolute;
            opacity: 0;
            cursor: pointer;
        }

    /* Create a custom checkbox */
    .checkmark {
        position: absolute;
        top: 0;
        left: 0;
        height: 25px;
        width: 25px;
        /*background-color: #eee;*/
        border-radius: 5px;
        border: 1px solid #555555;
    }

    /* On mouse-over, add a grey background color */
    .customcheck:hover input ~ .checkmark {
        background-color: #ccc;
    }

    /* When the checkbox is checked, add a blue background */
    .customcheck input:checked ~ .checkmark {
        background-color: #02cf32;
        border-radius: 5px;
    }

    /* Create the checkmark/indicator (hidden when not checked) */
    .checkmark:after {
        content: "";
        position: absolute;
        display: none;
    }

    /* Show the checkmark when checked */
    .customcheck input:checked ~ .checkmark:after {
        display: block;
    }

    /* Style the checkmark/indicator */
    .customcheck .checkmark:after {
        left: 9px;
        top: 5px;
        width: 5px;
        height: 10px;
        border: solid white;
        border-width: 0 3px 3px 0;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .spinner {
        width: 100px;
    }

        .spinner input {
            text-align: right;
        }

    .input-group-btn-vertical {
        position: relative;
        white-space: nowrap;
        width: 1%;
        vertical-align: middle;
        display: table-cell;
    }

        .input-group-btn-vertical > .btn {
            display: block;
            float: none;
            width: 100%;
            max-width: 100%;
            padding: 8px;
            margin-left: -1px;
            position: relative;
            border-radius: 0;
        }

            .input-group-btn-vertical > .btn:first-child {
                border-top-right-radius: 4px;
            }

            .input-group-btn-vertical > .btn:last-child {
                margin-top: -2px;
                border-bottom-right-radius: 4px;
            }

        .input-group-btn-vertical i {
            position: absolute;
            top: 0;
            left: 4px;
        }

    .panel-heading {
        padding: 5px 15px;
        text-align: center;
    }

    .panel-footer {
        padding: 1px 15px;
        color: #A0A0A0;
    }

    .profile-img {
        margin: 0 auto 10px;
        display: block;
        /*-moz-border-radius: 50%;
        -webkit-border-radius: 50%;
        border-radius: 50%;*/
    }

    .HeaderUser {
        float: right;
        margin-top: -57px;
        /*width: 32%;*/
    }

    .counter {
        background-color: #f5f5f5;
        padding: 20px 0;
        border-radius: 5px;
    }


    .count-text {
        font-size: 1.1em;
        font-weight: bold;
        margin-top: 10px;
        margin-bottom: 0;
        text-align: center;
        color: #0088cc;
    }

    .dropdownlist, .textbox {
        /*display: block;*/
        width: 100%;
        height: 30px;
        padding: 0px;
        font-size: 14px;
        line-height: 1.428571429;
        color: #555555;
        vertical-align: middle;
        background-color: #ffffff;
        border: 1px solid #cccccc;
        border-radius: 4px;
        margin-top: 3px;
        /* -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); */
        /* box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); */
        /* -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; */
        /* transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; */
    }

    .disable {
        border: none;
        background-color: transparent;
    }

    .disablegrey {
        background-color: gainsboro;
    }

    .button {
        display: inline-block;
        padding: 4px 12px;
        margin-bottom: 0;
        font-size: 14px;
        font-weight: normal;
        line-height: 1.428571429;
        text-align: center;
        white-space: nowrap;
        vertical-align: middle;
        cursor: pointer;
        border: 1px solid transparent;
        border-radius: 4px;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        -o-user-select: none;
        user-select: none;
        color: #ffffff;
        background-color: #428bca;
        border-color: #357ebd;
    }

 
    .ButtonPrev {
        vertical-align: bottom;
        background: transparent;
    }

    .ButtonNext {
        vertical-align: bottom;
        background: transparent;
    }

    .buttonsfondo {
        background-color: #000000;
    }

    .ButtonPage {
        font-size: 13px;
        font-weight: normal;
        background-color: #ffffff;
        border: 1px solid #999999;
        color: #000000;
        cursor: pointer;
    }

    .ButtonPageCurrent {
        font-size: 13px;
        font-weight: bold;
        background-color: #ecebeb;
        border: 1px solid #999999;
        color: #000090;
    }

    .PopUp {
        position: fixed;
        /*top: 50px;
    left: auto;*/
        width: 330px;
        top: 50%;
        left: 50%;
        height: 50px;
        overflow: hidden;
        margin: auto;
        background-color: #162661;
        /*filter: alpha(opacity=100);*/
        color: white;
        font-weight: 800;
        font-size: 1.3em;
        opacity: 0.8;
        z-index: 1000;
        display: none;
        padding: 8px;
        border-radius: 4px;
    }




    .pointer {
        cursor: pointer;
    }


    /*-------------------------------*/


    /* STYLE PER TABELLE*/
    .table-bordered {
        border: 1px solid #dddddd;
        border-collapse: separate;
        border-left: 0;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
    }

    .table-bordered img {
        height:20px;
        border-radius:2px;
    }
    .boxgrey img {
        height:5px;
        border-radius:2px;

    }

    .table-wrapper-scroll-y {
        display: block;
        max-height: 400px;
        overflow-y: auto;
        -ms-overflow-style: -ms-autohiding-scrollbar;
    }

    .table-wrapper-scroll-y-500 {
        display: block;
        /*max-height: 500px;*/
        max-height: 50vh;
        overflow-y: auto;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        overflow-x: hidden;
    }

    .table-wrapper-scroll-y-600 {
        display: block;
        max-height: 600px;
        overflow-y: auto;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        overflow-x: hidden;
    }

    .table {
        width: 100%;
        margin-bottom: 20px;
        background-color: transparent;
        border-collapse: collapse;
        border-spacing: 0;
        display: table;
    }

    .widget.widget-table .table {
        margin-bottom: 0;
        border: none;
    }

    .widget.widget-table .widget-content {
        padding: 0;
    }

    .widget .widget-header + .widget-content {
        border-top: none;
        -webkit-border-top-left-radius: 0;
        -webkit-border-top-right-radius: 0;
        -moz-border-radius-topleft: 0;
        -moz-border-radius-topright: 0;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .widget .widget-content {
        padding: 20px 15px 15px;
        background: #FFF;
        border: 1px solid #D5D5D5;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        border-radius: 5px;
    }

    .widget .widget-header {
        position: relative;
        height: 35px;
        line-height: 40px;
        background: #E9E9E9;
        background: -moz-linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fafafa), color-stop(100%, #e9e9e9));
        background: -webkit-linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
        background: -o-linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
        background: -ms-linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
        background: linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
        text-shadow: 0 1px 0 #fff;
        border-radius: 5px 5px 0 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1),inset 0 1px 0 white,inset 0 -1px 0 rgba(255,255,255,0.7);
        border-bottom: 1px solid #bababa;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9');
        -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9')";
        border: 1px solid #D5D5D5;
        -webkit-border-top-left-radius: 4px;
        -webkit-border-top-right-radius: 4px;
        -moz-border-radius-topleft: 4px;
        -moz-border-radius-topright: 4px;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
        -webkit-background-clip: padding-box;
    }

    thead {
        display: table-header-group;
        vertical-align: middle;
        border-color: inherit;
    }

    .thead-dark {
        background-color: #82a2bd !important;
        color: white !important;
    }

    .widget .widget-header h3 {
        top: -12px;
        position: relative;
        left: 12px;
        display: inline-block;
        margin-right: 3em;
        font-size: 14px;
        font-weight: 600;
        color: #555;
        line-height: 18px;
        text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
    }

    .widget .widget-header i {
        top: -10px;
        left: 5px;
    }

    /*----------------------------------------------------------*/