﻿html {
    overflow-y: auto;
    overflow-x: auto;
}

body {
    /*padding-top: 30px;*/
    position: absolute;
    padding-bottom: 20px;
    font-size: 14px;
    /*background-image: url('../images/Img-Background.jpg');*/
    min-width: -moz-available; /* WebKit-based browsers will ignore this. */
    min-width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
    min-height: 100%;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
/*input,
select,
textarea {
    max-width: 280px;
}*/

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* buttons and links extension to use brackets: [ click me ] */
.btn-bracketed::before {
    display:inline-block;
    content: "[";
    padding-right: 0.5em;
}
.btn-bracketed::after {
    display:inline-block;
    content: "]";
    padding-left: 0.5em;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"]
{
    width: 100%;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
  /* Hide captions */
  .carousel-caption {
    display: none
  }
}

#snackbar 
{
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #333; /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
}

#snackbar.show {
    visibility: visible; /* Show the snackbar */

/* Add animation: Take 0.5 seconds to fade in and out the snackbar. 
However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;} 
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;} 
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

#btnCrea
{
    background: #20a620;
    padding: 10px;
    border-radius: 29px;
}

.btn_tondo:hover
{
    background-color:#32793d;
    -webkit-transition: background-color 0.4s; /*Safari*/
    transition: background-color 0.4s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition-timing-function: ease-out;
}

.btn_tondo{width:54px;height:54px;border-radius:40px;font-size: 16px;bottom: 90px;position:fixed;right: 90px;}

.Utente 
{
    margin: 20px;
    padding: 5px;
    border: 1px solid;
    border-radius: 10px;
    background: #f5f5f5;
    max-width: 225px;
    text-align: center;
}

.pallino{
    color: #777;
    border: 1px solid #ccc;
    border-radius: 100%;
    /*border-radius: 10px;*/
    padding: 10px;
    margin:0px 3px;
}

label.error {
        color: #a94442;
    border-bottom: 2px solid;
}

label.error:before 
{
   content: "\26A0";
    font-size: 19px;
    margin-right: 8px;
}
.swal2-popup{
    font-size:1em !important;
}



/*
    ---------------Bottoni salva e annulla
*/
.buttonRow {
    padding: 30px 0 15px 0;
    display:flex;
    justify-content:center;
}

    .buttonRow input {
        display: table-caption;
        margin: auto;
        padding: 10px 25px;
        border-radius: 5px;
        filter: brightness(100%);
        transform: translate3d(0,0,0);
        transition: 0.3s;
        color: white;
        font-weight: 500;
        font-size: 1.3em;
        -webkit-box-shadow: 2px 2px 1px 3px rgba(0,0,0,0.1), inset 0px 0px 0px 0px rgba(0,0,0,0.1);
        -moz-box-shadow: 2px 2px 1px 3px rgba(0,0,0,0.1), inset 0px 0px 0px 0px rgba(0,0,0,0.1);
        box-shadow: 2px 2px 1px 3px rgba(0,0,0,0.1), inset 0px 0px 0px 0px rgba(0,0,0,0.1);
    }

        .buttonRow input:hover {
            filter: brightness(110%);
            border-top-color: rgba(255, 255, 255, 0.14);
            border-left-color: rgba(255, 255, 255, 0.14);
            transform: translate3d(-1px,-1px,0);
            -webkit-box-shadow: 4px 4px 2px 0px rgba(0,0,0,0.1), inset 2px 2px 1px 0px rgba(255,255,255,0.1);
            -moz-box-shadow: 4px 4px 2px 0px rgba(0,0,0,0.1), inset 2px 2px 1px 0px rgba(255,255,255,0.1);
            box-shadow: 4px 4px 2px 0px rgba(0,0,0,0.1), inset 2px 2px 1px 0px rgba(255,255,255,0.1);
        }

        .buttonRow input:focus {
            filter: brightness(95%);
            border-bottom-color: rgba(255, 255, 255, 0.14);
            border-right-color: rgba(255, 255, 255, 0.14);
            transform: translate3d(0,0,0);
            -webkit-box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.1), inset 3px 3px 1px 0px rgba(0,0,0,0.1);
            -moz-box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.1), inset 3px 3px 1px 0px rgba(0,0,0,0.1);
            box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.1), inset 3px 3px 1px 0px rgba(0,0,0,0.1);
        }

.submitButton {
    background-color: #5cb85c;
    border-color: #5ac136;
    width: 100%;
}

    .submitButton:disabled {
        background-color: lightgrey;
        border-color: darkgrey;
        width: 100%;
    }

.cancellingButton {
    background-color: #da6e62;
    border-color: #e42c2c;
    width: 100%;
}

.printButton {
    background-color: #628cda;
    border-color: #628cda;
    width: 100%;
}

    .printButton:disabled {
        background-color: lightgrey;
        border-color: darkgrey;
        width: 100%;
    }

/* VN */

.UnderHeader {
    text-align: right;
}

@font-face {
    font-family: 'Montserrat';
    src: local('../font/Montserrat-VariableFont_wght.ttf'), url('../font/Montserrat-VariableFont_wght.ttf');
}

@font-face {
    font-family: 'Copperplate';
    src: local('../font/Copperplate-Gothic-Light-Regular.ttf'), url('../font/Copperplate-Gothic-Light-Regular.ttf');
}

.fontRoboto {
    font-family: 'Roboto';
}

.fontMontserrat {
    font-family: 'Montserrat';
}

.fontCopperplate {
    font-family: 'Copperplate';
}

/* main */
.customContainer {
    margin-left: 280px;
    margin-right: 0px;
    overflow: hidden;
}

.customPageTitle {
    text-align: right;
    font-family: 'Copperplate';
    font-size: 35px;
    color: #4ab743;
    margin-right: 20px;
}

.customBtnAnagrafiche {
    text-align: center;
    font-family: 'Montserrat';
    font-size: 15px;
    background: #ededed;
    border: 2px;
    border-style: solid;
    border-color: white;
    padding: 6px;
}

    .customBtnAnagrafiche:hover {
        background: #AAeded;
    }

.customDark {
    /* float: left; */
    /* background: green; */
    height: 100%;
    width: 230px;
    position: absolute;
    top: 0;
    left: 0;
    /* height: 100%; */
    opacity: 1;
    background-color: black;
    z-index: -10;
}

.customDark2 {
    float: right;
    /* background: green; */
    height: 100%;
    width: 280px;
    position: absolute;
    top: 230px;
    right: 280px;
    transition: 0.5s;
    /* height: 100%; */
    opacity: 1;
    background-color: black;
    z-index: 1;
}

.right {
    float: right;
}

.customIconNav {
    width: 100px;
    height: 100px;
}

.customImgNav {
    width: 45px;
    height: 45px;
}

    .customImgNav:hover {
        width: 46px;
        height: 46px;
    }

.customNav {
    text-align: right;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.customNavItem {
    padding-right: 0;
    border-style: solid;
    border-width: 1px;
    border-color: transparent;
    height: 48px;
}
    .customNavItem:hover {
        color: #f1f1f1;
        border-color: white;
    }

.customSpan {
    padding-left: 6px;
    padding-right: 6px;
}

.sidebar {
    height: 100%;
    width: 0;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: transparent;
    overflow: hidden;
    transition: 0.5s;
    padding-top: 30px;
    margin-right: 50px;
    min-height: 800px;
}

    .sidebar a {
        /*padding: 8px 8px 8px 32px;*/
        text-decoration: none;
        font-family: 'Montserrat';
        font-size: 12pt;
        color: white;
        display: block;
        /*margin-right: -65px;*/
        transition: 0.3s;
    }

.customNavButtonOpen {
    font-size: 20px;
    cursor: pointer;
    background-color: transparent;
    color: black;
    padding-right: 1px;
    border: none;
    text-align: right;
    float: right;
    list-style-type: none;
}

    .customNavButtonOpen:hover {
        color: dimgrey;
    }

.collapse {
    opacity: 0%;
}

.vertical-align {
    display: flex;
    align-items: center;
}

#main {
    transition: margin-left .5s;
    padding: 16px;
}

/* 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) {
    .sidebar {
        padding-top: 15px;
    }

    .sidebar a {
        font-size: 18px;
    }
}

/* Navbar top */
.customNavSelected {
    background-color: #cbe6b3 !important;
}

.customNav_ul {
    list-style-type: none;
    text-align: center;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: transparent;
}

.customNav_li {
    display: inline;
}

    .customNav_li a {
        display: inline-block;
        text-decoration: none;
        font-family: 'Montserrat';
        font-size: 15px;
        color: black;
        background: #ededed;
        border: 0px;
        border-style: solid;
        border-color: white;
        padding: 6px;
        width: 186px;
        margin: 1px;
    }

        .customNav_li a:hover {
            background-color: #cbe6b3;
        }

/* LoginPartial */

.customA {
    border: 1px;
    border-style: solid;
    border-color: transparent;
    height: 48px;
    line-height: 48px;
    width: 60%;
    display: inline-block !important;
    vertical-align: middle;
    align-items: center !important;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-left: 8px;
    padding-right: 0px;
}

    .customA:hover {
        border: 1px;
        border-style: solid;
        border-color: white;
    }

/* Home */

.customComunicazione {
    text-align: center;
    background-color: #fff4d6;
    margin-left: 100px;
    margin-right: 100px;
    padding: 6px;
}

.circle {
    height: 65px;
    width: 65px;
    border-radius: 50%;
    display: inline-flex;
    text-align: center;
    align-items: center;
    justify-content: space-around;
    align-content: space-around;
}

.customNavHome_ul {
    list-style-type: none;
    text-align: center;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: transparent;
}

.customNavHome_li {
    display: inline;
}

    .customNavHome_li a {
        display: inline-block;
        text-decoration: none;
        color: black;
        border: 0px;
        padding: 6px;
        margin: 1px;
    }

.row-blue {
    background-color: blue;
}

/*.k-grid-header .k-grid-filter, .k-grid-header .k-header-column-menu {
    padding: 0.857em 0em 0.857em 0em;
    margin: -0.9em -0.6em -0.714em 0;
}*/