﻿body {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding: 10px 10px 10px 10px;
}

/* 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;
}

/*
Stilizzo il pulsante di risalita
*/
#gotop {
    /*display: inline-block;*/
    position: fixed;
    bottom: 15px;
    right: 15px;
    visibility: hidden;
    z-index: 1000;
}

    /*#gotop::after {
        content: "\f077";
        font-family: FontAwesome;
        font-weight: normal;
        font-style: normal;
        font-size: 2em;
        line-height: 50px;
        color: #fff;
    }
   #gotop:hover {
        cursor: pointer;
    }


    #gotop:active {
        background-color: #555;
    }*/

    #gotop.show {
        opacity: 1;
        visibility: visible;
    }

#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 999;
    color: #f1f1f1;
}

.center-screen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 75vh;
}

.box3gto {
    position: relative;
    padding: 15px 15px 15px 15px;
    margin: 0 -15px 15px;
    border-color: #e5e5e5 #eee #eee;
    border-style: solid;
    border-width: 1px 0;
    border-radius: 10px;
    -webkit-box-shadow: inset 0 3px 6px rgba(0,0,0,.05);
    box-shadow: inset 0 3px 6px rgba(0,0,0,.05);
}

    .box3gto h4 {
        color: dodgerblue;
    }

/* Set width on the form input elements since they're 100% wide by default */
input, select, textarea {
    max-width: 100%;
}

.form-control-sm {
    width: 100%;
    border: 1px solid #ced4da;
}


    .form-control-sm:focus {
        color: #495057;
        background-color: #ffffe6;
        border-color: #80bdff;
        outline: 0;
    }

.well {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

    .well blockquote {
        border-color: #ddd;
        border-color: rgba(0, 0, 0, 0.15);
    }

.well-large {
    padding: 24px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

.well-small {
    padding: 9px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

/* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0; /* Stay at the top */
    left: 0;
    background-color: #111; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}

    /* The navigation menu links */
    .sidenav a {
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        font-size: 25px;
        color: #818181;
        display: block;
        transition: 0.3s;
    }

        /* When you mouse over the navigation links, change their color */
        .sidenav a:hover {
            color: #f1f1f1;
        }

    /* Position and style the close button (top right corner) */
    .sidenav .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
    }

.bg-navbar {
    background: linear-gradient(180deg, rgba(11,24,64,1) 0%, rgba(107,160,191,1) 100%);
    /* background: linear-gradient(0deg, rgba(11,24,64,1) 0%, rgba(107,160,191,1) 100%);*/
}

.bg-navbar1 {
    background: linear-gradient(0deg, rgba(11,24,64,1) 0%, rgba(107,160,191,1) 100%);
}
.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #f1f1f1;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

    .dropdown-item:hover, .dropdown-item:focus {
        color: #f1f1f1;
        text-decoration: none;
        background-color: rgba(11,24,64,1);
    }

    .dropdown-item.active, .dropdown-item:active {
        color: #fff;
        text-decoration: none;
        background-color: #007bff;
    }

    .dropdown-item.disabled, .dropdown-item:disabled {
        color: #6c757d;
        pointer-events: none;
        background-color: transparent;
    }

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
    transition: margin-left .5s;
    padding: 20px;
}

@media (min-width: 1600px) {
    .container {
        max-width: 1500px;
    }
}

@media (min-width: 1850px) {
    .container {
        max-width: 1700px;
    }
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

        .sidenav a {
            font-size: 18px;
        }
}

#exTab3 .nav-pills > li > a {
    border-radius: 4px 4px 0 0;
}

#exTab3 .tab-content {
    /*color: white;*/
    /*background-color: #428bca;*/
    padding: 5px 15px;
}

.tooltip {
    pointer-events: none;
}
.tooltip-inner {
    background-color: #00cc00;
}

.tooltip.bs-tooltip-right .arrow:before {
    border-right-color: #00cc00 !important;
}

.tooltip.bs-tooltip-left .arrow:before {
    border-right-color: #00cc00 !important;
}

.tooltip.bs-tooltip-bottom .arrow:before {
    border-right-color: #00cc00 !important;
}

.tooltip.bs-tooltip-top .arrow:before {
    border-right-color: #00cc00 !important;

}

@-webkit-keyframes invalid {
    from {
        background-color: red;
    }

    to {
        background-color: inherit;
    }
}

@-moz-keyframes invalid {
    from {
        background-color: red;
    }

    to {
        background-color: inherit;
    }
}

@-o-keyframes invalid {
    from {
        background-color: red;
    }

    to {
        background-color: inherit;
    }
}

@keyframes invalid {
    from {
        background-color: red;
    }

    to {
        background-color: inherit;
    }
}

.invalid {
    -webkit-animation: invalid 1s infinite; /* Safari 4+ */
    -moz-animation: invalid 1s infinite; /* Fx 5+ */
    -o-animation: invalid 1s infinite; /* Opera 12+ */
    animation: invalid 1s infinite; /* IE 10+ */
}

@-webkit-keyframes blinkgreen {
    from {
        background-color: limegreen;
    }

    to {
        background-color: inherit;
    }
}

@-moz-keyframes blinkgreen {
    from {
        background-color: limegreen;
    }

    to {
        background-color: inherit;
    }
}

@-o-keyframes blinkgreen {
    from {
        background-color: limegreen;
    }

    to {
        background-color: inherit;
    }
}

@keyframes blinkgreen {
    from {
        background-color: limegreen;
    }

    to {
        background-color: inherit;
    }
}

.blinkgreen {
    -webkit-animation: blinkgreen 1s infinite; /* Safari 4+ */
    -moz-animation: blinkgreen 1s infinite; /* Fx 5+ */
    -o-animation: blinkgreen 1s infinite; /* Opera 12+ */
    animation: blinkgreen 1s infinite; /* IE 10+ */
}


/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@  */
.slider [type="checkbox"] {
    display: none;
}

.slider .toggle-label {
    display: block;
    width: 40px;
    height: 20px;
    position: relative;
    background: #ed495c;
    border-radius: 10px;
    transition: background 0.2s ease;
    cursor: pointer;
}

    .slider .toggle-label::before {
        content: '';
        display: block;
        width: 50%;
        height: 100%;
        background: #ffffff;
        border-radius: 50%;
        box-shadow: 0 0 0 1px #d1d1d1;
        position: absolute;
        left: 0;
        top: 0;
        transition: transform 0.2s ease-in-out;
    }

.slider [type="checkbox"]:checked ~ .toggle-label {
    background: #93ed49;
}

    .slider [type="checkbox"]:checked ~ .toggle-label::before {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }


#floating-nav-bar {
    font-size: 14px;
    transition: right .5s linear;
    right: -28.9%;
    width: 28%;
    position: fixed;
    margin-top: 8px;
    background-color: white;
    top: 117px;
    z-index: 500;
    border-bottom-left-radius: 7px;
    -webkit-box-shadow: -3px 3px 10px -2px #1b76b6;
    -moz-box-shadow: -3px 3px 10px -2px #1b76b6;
    box-shadow: -3px 3px 10px -2px #1b76b6;
    border: 1px solid rgba(171,213,242,0.9);
    max-height: 420px;
    border-right: none;
    min-height: 104px;
}

    #floating-nav-bar .floating-nav-bar-contents {
        overflow: auto;
        max-height: 400px;
        min-height: 102px
    }

        #floating-nav-bar .floating-nav-bar-contents .btn-block {
            width: 98%
        }

        #floating-nav-bar .floating-nav-bar-contents tbody tr {
            cursor: pointer
        }

    #floating-nav-bar #fixed-list-button {
        position: absolute;
        top: -1px;
        height: 35px;
        width: 55px;
        padding-left: 7px;
        padding-right: 19px;
        padding-top: 4px;
        z-index: 500;
        left: -55px;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
        -webkit-box-shadow: -3px 3px 10px -2px #1b76b6;
        -moz-box-shadow: -3px 3px 10px -2px #1b76b6;
        box-shadow: -3px 3px 10px -2px #1b76b6;
        outline: 0;
        border-right: none;
        font-size: 20px
    }

    #floating-nav-bar .fixed-table-container {
        margin-bottom: 10px
    }

    #floating-nav-bar.locked {
        position: absolute;
        bottom: 165px;
        top: inherit
    }

    #floating-nav-bar.show {
        right: 0
    }

.bootnav {
    font-weight: bold
}

.hoverDiv {
    background: #fff;
}

    .hoverDiv:hover {
        background: #f5f5f5;
    }

.row-striped {
    padding: 0.3rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.btn-collapse {
    background-color: #F0F0F0;
    border-color: #F0F0F0;
}

    .btn-collapse:hover {
        background-color: #DCDCDC;
        border-color: #DCDCDC;
    }

.container .btn-holder {
    justify-content: flex-end;
    display: flex;
}

.navbar-nav li:hover > ul.dropdown-menu {
    display: block;
}

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
    }

/* rotate caret on hover */
.dropdown-menu > li > a:hover:after {
    text-decoration: underline;
    transform: rotate(-90deg);
}

.centered-element {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.center-div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.CheckR {
    color: #4993ca;
    font-family: "Raleway",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

.CheckR-rev {
    color: #fff;
    display: table !important;
    padding: 5px 10px !important;
    border-radius: 4px;
    background: rgba(47,75,112,1);
}

.table-condensed {
    font-size: 12px;
}
.table-condensed td {
    padding: 0.1rem;
}