body { background: #000000}



.autocomplete-list a {
    color: white!important;
}
.autocomplete-list mark {
    background: white!important;
}
.autocomplete-list {
    background-color: transparent!important;
}
.autocomplete-list.autocomplete-list-show {
    position: fixed!important;
    top: 20%!important;
}
.search-box input[type="search"] {
    position: absolute;
    top: 20%;
    width: 100%;
    color: rgb(255, 255, 255);
    background: rgba(0, 0, 0, 0);
    font-size: 40px; /* da 60  40px*/
    font-weight: 300;
    text-align: center;
    border: 0px;
    margin: 0px auto;
    margin-top: -51px;
    padding-left: 30px;
    padding-right: 30px;
    outline: none;
}
@media (max-width: 536px) {
    .search-box input[type="search"] {
        font-size: 30px!important;
    }
    .autocomplete-list.autocomplete-list-show {
        top: 30%!important;
    }
}
input[type="search"] {
    -webkit-appearance: none;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    display: none;
}
/* Responsive Modal */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 10px 5px 10px 5px !important;
        max-width: 100%!important;
    }
}

/*This is modifying the btn-primary colors but you could create your own .btn-something class as wellAggi*/
/*
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open>.dropdown-toggle.btn-primary {
    color: #fff;
    background-color: #06c;
}
*/
/**
 * Custom cross-browser styles for keyboard :focus overrides defaults.
 */

*:focus {
    outline: 0 !important;
    -webkit-box-shadow: 0 0 0 2px!important;
    box-shadow:  0 0 0 2px!important;
    /*box-shadow:
            0 0 0 .2rem #fff,
            0 0 0 .35rem #069 !important;*/
}

/**
 * Remove focus styles for non-keyboard :focus.
 */

*:focus:not(.focus-visible) {
    outline: 0 !important;
    -webkit-box-shadow: 0 0 0 0px!important;
    box-shadow:  0 0 0 0px!important;
}

.btn-outline-success:focus:not(.focus-visible) {
    outline: 0 !important;
    -webkit-box-shadow: 0 0 0 1px!important;
    box-shadow:  0 0 0 1px!important;
}
.form-group{
    margin-bottom: 1rem!important;
}
h1 { color: #333; text-transform: capitalize;}

img {	max-width: 100% }

input[disabled]:hover {
    cursor: not-allowed;
}
input[disabled] *:hover {
    cursor: not-allowed !important;
}
.bgred {
    background:#ce1f25;
}

.textred {
    color:#9e151c;
}

.boxed {
    background: #eee;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 20px;
}

.no-padding-left {
    padding-left:0!important;
}

.body-container {
    /* margin-top: 110px; */
    background: #fff;
    position: relative;
}

.col-custom { padding-left: 0; padding-right: 0}

/* STICKY NAV*/
.sticky {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 100;
    border-top: 0;
}

.flexslider {
    overflow:hidden;
}

.flexslider li img {
    width:100%;
}

.slides {
    padding:0;
}

.caption {
    position:absolute;
    left:33%;
    top:10%;
    display:block;
    z-index:999;
    font-size:38px;
    background-color:#c50000;
    color:#FFF;
    padding:18px 0;
    border-radius:17px;
    margin-top:1%;
    border-color:#FFF;
    border:solid 3px;
    padding:22px;
    line-height:100%;
    width:34%;
}

.captionverde {
    position:absolute;
    left:35%;
    top:10%;
    display:block;
    z-index:999;
    font-size:40px;
    background-color:#090;
    color:#FFF;
    padding:18px 0;
    border-radius:17px;
    margin-top:70px;
    border-color:#FFF;
    border:solid 3px;
    padding:11px;
    line-height:100%;
}

.captionrosso {
    position:absolute;
    left:-7%;
    top:10%;
    display:block;
    z-index:998;
    font-size:20px;
    background-color:#c50000;
    color:#FFF;
    padding:18px 0;
    margin:165px;
    padding:14px;
    line-height:116%;
    width:88%;
}

.flexslider li .caption-container {
    position:relative;
}

#come-funziona {
    margin-top:20px;
}

.come-funziona-box {
    color:#fff;
    min-height:150px;
}

.ricordare {
    background:#f2a89f;
}

.verificare {
    background:#eb7a6b;
}

.avvisare {
    background:#e44b37;
}

.farmacia {
    background:#f7f7f9;
}

.farmacia a {
    color:#fff;
}

#map-canvas {
    min-height:400px;
    overflow:visible!important;
}



.autorizzo input,.autorizzo input:focus {
    border:none;
    box-shadow:none;
}

@media screen and (max-width: 480px) {
    .caption {
        font-size:15px;
        left:50px;
        width:222px;
    }

    .captionverde {
        margin-top:15px;
    }
    .user-choises div { text-align: center!important }
}

@media screen and (max-width: 990px) {
    .farmacia {
        margin-bottom:10px;
        padding:5px 0;
        text-align:center;
    }
    .user-choises > div:first-child {
        border-right: 0px !important;
    }
}

.flexslider {
    /* margin-bottom:30px!important; */
}

/* --- NAV BAR --- */
#menuzord .navbar-right {
    width:auto;
    padding-top:15px;
    position:absolute;
    top:0;
}

.navbar-header,.navbar-right,.menuzord {
    max-height:100%!important;
}
.navbar-header { width: 100% }

.navbar-right {
    text-align:right;
    padding-top:30px;
}

.navbar-right a:hover {
    color:#2c3947!important;
}

.navbar-right li {
    display:inline-block;
    margin-right:10px;
    padding-right:10px;
    border-right:1px solid #666;
}

.navbar-right li:last-child {
    border-right:none;
}

.navbar-right li a {
    font-size:14px;
    text-transform:uppercase;
    color:#2c3947;
    font-weight:600;
}

.navbar-right li a:hover {
    color:#fff;
    transition:color 450ms;
    text-decoration:none;
}

.menuzord {
    background:none!important;
    float:none!important;
    padding:0!important;
}

.menuzord li a {
    text-transform:uppercase;
    color:#fff!important;
}

.menuzord-menu ul.dropdown,.menuzord-menu ul.dropdown li ul.dropdown {
    background:#2c3947;
    white-space:normal!important;
}

.menuzord-menu > li > ul.dropdown {
    top:47px;
}

.menuzord-menu li ul.dropdown {
    background:#5ea7e2!important;
}

.menuzord-menu li :hover {
    background:#333;
}

.menuzord-menu ul.dropdown li a {
    border-bottom:1px solid #000;
}

.menuzord-menu > li > a {
    padding:5px 10px!important;
}

.nav > li {
    padding:8px 0;
}

.navbar-nav >li:hover {
    background:#333 !important;
    color:#fff!important;
    transition:color 450ms;
}

.navbar-nav >li:hover >a {
    color:#fff!important;
}

.navbar > .container {
    margin-bottom:20px;
}

.header-menu {
    background:#5ea7e2;
    height:47px;
}
.header-menu .container {
    position: relative;
}
.header-menu .logo-mini img {
    height: 30px;
    margin-top: 9px;
}
.header-menu .logo-mini {
    position: absolute;
    right: 0;
}


/* Overlay search */

.search-box {
    position: fixed;
    z-index: 999;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);

    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;

    -webkit-transform: translate(0px, -100%) scale(0, 0);
    -moz-transform: translate(0px, -100%) scale(0, 0);
    -o-transform: translate(0px, -100%) scale(0, 0);
    -ms-transform: translate(0px, -100%) scale(0, 0);
    transform: translate(0px, -100%) scale(0, 0);

    opacity: 0;
}

.search-box.open {
    -webkit-transform: translate(0px, 0px) scale(1, 1);
    -moz-transform: translate(0px, 0px) scale(1, 1);
    -o-transform: translate(0px, 0px) scale(1, 1);
    -ms-transform: translate(0px, 0px) scale(1, 1);
    transform: translate(0px, 0px) scale(1, 1);
    opacity: 1;
}

.search-box input[type="search"] {
    position: absolute;
    top: 20%;
    width: 100%;
    color: rgb(255, 255, 255);
    background: rgba(0, 0, 0, 0);
    font-size: 60px;
    font-weight: 300;
    text-align: center;
    border: 0px;
    margin: 0px auto;
    margin-top: -51px;
    padding-left: 30px;
    padding-right: 30px;
    outline: none;
}
.search-box .btn-box {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: 61px;
    margin-left: -100px;
}
.search-box .close {
    position: fixed;
    top: 15px;
    right: 15px;
    color: #fff;
    background: #5ea7e2;
    border-color: #d43f3a;
    opacity: 1;
    padding: 10px 17px;
    font-size: 27px;
}
.search-box #items-semantic, .search-box #semanticWords {
    position: absolute;
    top: 30%;
    left: 10%;
}
.search-box #semanticWords input[type="checkbox"] {
    margin-right: 5px;
}
.search-box #semanticWords span { float: none !important }
.navbar .search {
    background:#e9e9e9;
    padding:15px 0;
}

.navbar .search input[type="text"] {
    font-size:20px;
    width:97%;
    padding:5px 1%;
    border:1px solid #DADADA;
    color:#888;
    outline:0 none;
    line-height:20px;
    box-shadow:inset 0 1px 4px #ECECEC;
    -moz-box-shadow:inset 0 1px 4px #ECECEC;
    -webkit-box-shadow:inset 0 1px 4px #ECECEC;
}

.navbar .search input:focus {
    outline:none;
    /*
            border-color: #9ecaed;
        box-shadow: 0 0 10px #9ecaed;
            */
}

.navbar .search .close {
    width:3%;
    margin-top:7px;
}

.navbar .search-semantic .row {
    margin:10px 0;
    color:#333;
}


@media (max-width:768px) {
    .menuzord {
        width:100%!important;
    }

    .menuzord-menu {
        background:rgba(44,57,71,0.95);
        color:#fff;
    }

    .menuzord-menu a {
        color:#fff!important;
    }

    .menuzord-menu li {
        padding:0!important;
    }

    .menuzord-menu {
        overflow-x:hidden;
    }

    .menuzord-menu ul.dropdown,.menuzord-menu ul.dropdown li ul.dropdown {
        background:rgba(44,57,71,0.100)!important;
    }

    .menuzord-menu ul.dropdown a,.menuzord-menu ul.dropdown li ul.dropdown a {
        text-align:left!important;
        padding:11px!important;
    }

    .menuzord-menu ul.dropdown a:hover,.menuzord-menu ul.dropdown li ul.dropdown a:hover {
        background:#1a2736!important;
    }

    .menuzord-menu ul.dropdown li .indicator,.menuzord-menu ul.dropdown li ul.dropdown .indicator {
        height:35px!important;
    }

    .menuzord-responsive .menuzord-menu > li > a {
        padding:12px 20px!important;
    }

    .header-menu.col-lg-12,.header-menu .container {
        padding:0!important;
    }
    #no-more-tables .fa-download { font-size: 60px !important}
}

/* --- THE WOICE BAR --- */
/* mmenu size trick */
.mm-menu {
    max-width:250px!important;
    z-index: 999!important;
}

html.mm-opening .mm-page,html.mm-opening #mm-blocker {
    -webkit-transform:translate(250px,0)!important;
    -moz-transform:translate(250px,0)!important;
    -ms-transform:translate(250px,0)!important;
    -o-transform:translate(250px,0)!important;
    transform:translate(250px,0)!important;
}

#menubar {
    background:#fff;
    display:none;
}

.menubaritems {
    color:#9e141c;
}

.menubaritems:hover {
    color:#fff;
    background:#9e141c;
}

.menubaritems a {
}

.mm-list > li > a,.mm-list > li > span {
    line-height:15px!important;
    text-transform:uppercase;
    font-weight:600;
}

#menubarstatus {
    color:#333;
    font-size:13px;
}

.mm-list li i {
    margin-right:10px;
    vertical-align:sub;
}

.trigger-container {
    position: fixed;
    top: 50%;
    left : -140px;
    margin-top: -101px;
    z-index: 999;
    width: 168px;
    height: 210px;
    padding: 30px 26px 30px 10px;
    /* background: url(/web/img/maniglia.png); */
    background-size: cover;
    text-transform: capitalize;
    background: rgba(255,255,255,0.97);
    border-radius: 0 3px 3px 0;
    border-left: 0;
    box-shadow: -4px 9px 18px 1px #2d2d2d;
    transition: all 450ms;
}
.trigger-container:hover {
    left: 0;
    transition: all 450ms;
}
.trigger-container:after {
    font: normal normal normal 20px/1 FontAwesome;
    color: #9e141c;
    content: "\f054";
    width: 10px;
    height: 10px;
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -6px;
}

.trigger-container:hover:after {
    content: '\f053';
}

#menu-trigger {
    font-size: 20px;
    color: #ce1f25;
    width: 125px;
    height: 100px;
    display: block;
    text-align: center;
}

#menu-trigger img {
    width:auto;
    height:54px;
    display:inline-block;
}

#menu-trigger span {
    display:inline-block;
}

#menubarlogo img {
    margin:auto;
    display:block;
}

.menubaritems.disabled {
    opacity:.5;
}

.menubaritems.disabled:hover {
    cursor:not-allowed;
}

/* HOME */
.button-home {
    background:#069;
    border-radius:5px;
    font-family:'Trebuchet MS',Arial,Helvetica,sans-serif;
    font-size:24px;
    text-align:center;
    line-height:26px;
    display:inline-block;
    padding:28px 0;
    margin-bottom:20px;
}

.button-home:hover {
    background:#5ea7e2;
    transition:all 450ms;
}

.button-home a {
    text-decoration:none;
    color:#FFF!important;
}

/* LOGIN MODAL*/
.modal div.user-choises {
    text-align:inherit!important;
    margin:auto!important;
    width:auto!important;
    vertical-align:inherit!important;
    height:auto!important;
}

div.user-choise {
    height:auto!important;
    max-width: 500px;
}


/* CONTAINER */
.main-container {
    min-height:400px;
}

.inner-container {
    margin-top:20px;
}

.inner-container a h1:hover {
    color:#5ea7e2;
    transition:color 400ms;
}

.inner-container a:hover {
    text-decoration:none!important;
}

/* RIGHT CHILDREN MENU */
.children-nav {
    background:#eee;
    border-radius:5px;
    margin-top:5px;
    padding:10px!important;
    list-style-position:inside!important;
    text-align:left;
}

.children-nav ul {
    list-style-type:none;
    margin:auto;
}

.children-nav ul li {
    border-bottom:1px solid #ddd;
}

.children-nav ul li:last-child {
    border:none;
}

.children-nav ul li a {
    color:#5d5d5d!important;
}

.children-nav a:hover {
    color:#5ea7e2!important;
    text-decoration:none;
}

/* FOOTER */
.footer-4cln {
    position:relative;
    bottom:0;
    width:100%;
    padding:20px 0;
    background-color:#333;
    font-size:13px;
    color:#959ca3!important;
    margin-top:20px;
}

.footer-4cln a {
    color:#959ca3!important;
}

.footer-4cln a:hover {
    color:#ce1f25!important;
    text-decoration:none;
    transition:250ms;
}

.footer-4cln h6 {
    font-size:15px;
    text-transform:uppercase;
    font-weight:700;
    color:#fff;
}

.footer-4cln .help-block {
    font-size:11px;
    color:#959ca3;
}

.footer-4cln hr {
    color:#3b4958;
    border:0;
    background-color:#4D4D4D;
    height:2px;
}

.footer-4cln span {
    display:block;
    float:left;
    font-size:20px;
    color:#959ca3;
}

.footer-4cln span i {
    top:2px;
    font-size:20px;
    color:#959ca3;
    margin-right:6px;
}

.footer-4cln span a {
    color:#959ca3;
}

.footer-4cln span.address {
    font-size:12px;
    color:#959ca3;
    line-height:15px;
}

.footer-4cln span.distributed {
    font-size:12px;
    line-height:18px;
    color:#fff;
}

.footer-4cln-bar h6 {
    text-transform:capitalize!important;
}

.footer-4cln .col-xs-6 {
    min-height:70px;
}

.backend {
    position:absolute;
    right:20px;
    bottom:20px;
}

/* STICKY FOOTER*/
* {
    margin:0;
}

html,body {
    height:100%;
}

#wrap {
    min-height:100%;
    height:auto!important;
    /* This line and the next line are not necessary unless you need IE6 support */
    height:100%;
    margin:0 auto;
    /* the bottom margin is the negative value of the footer's height */
    background: #f2f7fc;
}

#footer,.push {
    min-height:105px;
    /* .push must be the same height as .footer */
}

/* Breadcrumbs */
.breadcrumbs {
    padding-top:10px;
    background:#eee;
    border-radius:0 0 5px 5px;
    border:1px solid #ddd;
}

.breadcrumbs a {
    text-decoration:none!important;
    text-transform:capitalize!important;
}

/* ALERT */
.alert-box {
    background-color: #f0ad4e;
    /* margin-bottom: 10px; */
    color: #fff;
    font-size: 14px;
    line-height: 20px;
}

.alert-box h4 {
    padding:5px 8px;
}

.alert-box a {
    color:#fff!important;
}

.alert-msg {
    border:1px solid #ffd324;
    background:#fff6bf;
    color:#987134;
    padding:10px;
    margin-top:5px;
    margin-bottom:5px;
}

/* REGISTER FORM */
.user-area-riservata {
    margin-left:auto;
    margin-right:auto;
    background:#F7F7F7;
    padding:25px 15px 25px 10px;
    color:#888;

    text-align:left;
    border:1px solid #E4E4E4;
    border-radius:5px;
}

.user-area-riservata h1 {
    font-size:25px;
    padding:0 0 10px 40px;
    display:block;
    border-bottom:1px solid #E4E4E4;
    margin:-10px -15px 30px -10px;
    color:#888;
}

.user-area-riservata h1>span {
    display:block;
    font-size:11px;
}

.user-area-riservata label {
    display:block;
    margin:0;
    color:#000;
}

.user-area-riservata label>span {
    float:left;
    width:20%;
    text-align:right;
    padding-right:10px;
    margin-top:10px;
    color:#888;
}
#autorizzo {
    vertical-align: top;
}
#auth-text {
    float: none;
    display: inline-block;
    margin: 0;
    width: auto;
    text-align: left;
    font-size: 10px;
}
label[for="autorizzo"] {
    display: inline-block;
    width: 90%;
}
label[for="autorizzo"]:hover {
    cursor: pointer;
}

.fc-tbx {z-index: 9999}

.user-area-riservata input[type="text"],.user-area-riservata input[type="password"],.user-area-riservata input[type="email"],.user-area-riservata textarea,.user-area-riservata select {
    border:1px solid #DADADA;
    color:#888;
    height:30px;
    margin-bottom:16px;
    margin-right:6px;
    margin-top:2px;
    outline:0 none;
    padding:3px 3px 3px 5px;
    width:100%;
    font-size:12px;
    line-height:15px;
    box-shadow:inset 0 1px 4px #ECECEC;
    -moz-box-shadow:inset 0 1px 4px #ECECEC;
    -webkit-box-shadow:inset 0 1px 4px #ECECEC;
}

.user-area-riservata input[type="checkbox"] {
    margin-right:5px;
}

.user-area-riservata input[type="submit"],
.user-area-riservata .btn {
    background:#5ea7e2;
    border-color:#d43f3a;
    display:inline-block;
    padding:6px 12px;
    margin-bottom:0;
    font-size:14px;
    font-weight:400;
    line-height:1.42857143;
    text-align:center;
    white-space:nowrap;
    vertical-align:middle;
    -ms-touch-action:manipulation;
    cursor:pointer;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    background-image:none;
    border:1px solid transparent;
    border-radius:4px;
    color: #fff;
}

.user-area-riservata input[type="submit"]:hover,
.user-area-riservata .btn:hover {
    color: #fefefe !important;
}

.user-area-riservata textarea {
    padding:5px 3px 3px 5px;
}

.user-area-riservata select {
    background:#FFF url(down-arrow.png) no-repeat right;
    -webkit-appearance:none;
    -moz-appearance:none;
    text-indent:.01px;
    width:70%;
    height:35px;
    line-height:25px;
}

.user-area-riservata h3 {
    font-size: 20px;
    color: #5ea7e2;
}

.user-area-riservata textarea {
    height:100px;
}

.user-area-riservata .button {
    background:#E27575;
    border:none;
    padding:10px 25px;
    color:#FFF;
    box-shadow:1px 1px 5px #B6B6B6;
    border-radius:3px;
    text-shadow:1px 1px 1px #9E3F3F;
    cursor:pointer;
}

.user-area-riservata .button:hover {
    background:#CF7A7A;
}

div.user-area-riservata input:focus,div.user-area-riservata textarea:focus {
    border:1px solid #5ea7e2!important;
}

div.user-choises {
    height:auto!important;
}
.user-choises > div:first-child {
    border-right: 1px solid #ddd;
}

/* Lista eventi */
.container-area-riservata {
    margin-top: 16px !important;
}

.container-area-riservata .evento {
    margin-left: auto;
    margin-right: auto;
    background: #F7F7F7;
    padding: 10px;
    font-size: 13px;
    color: #888;
    text-align: left;
    border: 1px solid #E4E4E4;
    border-radius: 0px 0px 5px 5px;
    position: relative;
}
.container-area-riservata .evento p {
    margin-bottom: 2px;
}
.container-area-riservata .evento a:hover {
    text-decoration: none;
    color: #5ea7e2;

}
.container-area-riservata .evento i {
    margin-left: 5px;
}
.container-area-riservata .evento-head { position: relative }
.container-area-riservata .evento-head h4 {
    color: #fff;
    font-size: 14px;
    padding: 5px 0px;
    color: #fff;
    padding: 8px 10px;
    border-radius: 5px 5px 0 0;
    background: #5ea7e2;
    margin-bottom: 0px;
}
.container-area-riservata .eliminata h4 {
    background: #2c3947;
}
.container-area-riservata .confermata h4 {
    background: #5cb85c;
}
.container-area-riservata .evento .evento-menu {
    float: right;
}
.container-area-riservata .evento .evento-content {
    float: left;
}

.container-area-riservata .esito {
    float: right;
}
.container-area-riservata .evento-container {margin-bottom: 10px}

.container-evento { text-align: center }
.container-evento ol { list-style-type: none}

/* STUFF*/
table.user-mod-table {
    width:100%!important;
    border:none!important;
}

/* Autocomplete customization */
.autocompleter-choices {
    overflow:hidden;
}

ul.autocompleter-choices li {
    border-bottom:1px solid #eee!important;
    padding:.3em 2em;
}

ul.autocompleter-choices li:last-child {
    border-bottom:none!important;
}

ul.autocompleter-choices li a b {
    color: #5ea7e2!important;
}

#no-more-tables td,
#no-more-tables a{
    white-space: pre-wrap;
    word-break: break-all;

    /* For Chrome and IE */
    word-wrap: break-word;
    vertical-align: middle;
}

#no-more-tables .fa-download {
    font-size: 30px;
}

/* Tables */
table {
    background-color:transparent;
}

caption {
    padding-top:8px;
    padding-bottom:8px;
    color:#777;
    text-align:left;
}

th {
    text-align:left;
}

.table {
    width:100%;
    max-width:100%;
    margin-bottom:20px;
}

.table > thead > tr > th,.table > tbody > tr > th,.table > tfoot > tr > th,.table > thead > tr > td,.table > tbody > tr > td,.table > tfoot > tr > td {
    padding:8px;
    line-height:1.42857143;
    vertical-align:top;
    border-top:1px solid #ddd;
}

.table > thead > tr > th {
    vertical-align:bottom;
    border-bottom:2px solid #ddd;
}

.table > caption + thead > tr:first-child > th,.table > colgroup + thead > tr:first-child > th,.table > thead:first-child > tr:first-child > th,.table > caption + thead > tr:first-child > td,.table > colgroup + thead > tr:first-child > td,.table > thead:first-child > tr:first-child > td {
    border-top:0;
}

.table > tbody + tbody {
    border-top:2px solid #ddd;
}

.table .table {
    background-color:#fff;
}

.table-condensed > thead > tr > th,.table-condensed > tbody > tr > th,.table-condensed > tfoot > tr > th,.table-condensed > thead > tr > td,.table-condensed > tbody > tr > td,.table-condensed > tfoot > tr > td {
    padding:5px;
}

.table-bordered {
    border:1px solid #ddd;
}

.table-bordered > thead > tr > th,.table-bordered > tbody > tr > th,.table-bordered > tfoot > tr > th,.table-bordered > thead > tr > td,.table-bordered > tbody > tr > td,.table-bordered > tfoot > tr > td {
    border:1px solid #ddd;
}

.table-bordered > thead > tr > th,.table-bordered > thead > tr > td {
    border-bottom-width:2px;
}

.table-striped > tbody > tr:nth-child(odd) {
    background-color:#f9f9f9;
}

.table-hover > tbody > tr:hover {
    background-color:#f5f5f5;
}

table col[class*="col-"] {
    position:static;
    float:none;
    display:table-column;
}

table td[class*="col-"],table th[class*="col-"] {
    position:static;
    float:none;
    display:table-cell;
}

.table > thead > tr > td.active,.table > tbody > tr > td.active,.table > tfoot > tr > td.active,.table > thead > tr > th.active,.table > tbody > tr > th.active,.table > tfoot > tr > th.active,.table > thead > tr.active > td,.table > tbody > tr.active > td,.table > tfoot > tr.active > td,.table > thead > tr.active > th,.table > tbody > tr.active > th,.table > tfoot > tr.active > th {
    background-color:#f5f5f5;
}

.table-hover > tbody > tr > td.active:hover,.table-hover > tbody > tr > th.active:hover,.table-hover > tbody > tr.active:hover > td,.table-hover > tbody > tr:hover > .active,.table-hover > tbody > tr.active:hover > th {
    background-color:#e8e8e8;
}

.table > thead > tr > td.success,.table > tbody > tr > td.success,.table > tfoot > tr > td.success,.table > thead > tr > th.success,.table > tbody > tr > th.success,.table > tfoot > tr > th.success,.table > thead > tr.success > td,.table > tbody > tr.success > td,.table > tfoot > tr.success > td,.table > thead > tr.success > th,.table > tbody > tr.success > th,.table > tfoot > tr.success > th {
    background-color:#dff0d8;
}

.table-hover > tbody > tr > td.success:hover,.table-hover > tbody > tr > th.success:hover,.table-hover > tbody > tr.success:hover > td,.table-hover > tbody > tr:hover > .success,.table-hover > tbody > tr.success:hover > th {
    background-color:#d0e9c6;
}

.table > thead > tr > td.info,.table > tbody > tr > td.info,.table > tfoot > tr > td.info,.table > thead > tr > th.info,.table > tbody > tr > th.info,.table > tfoot > tr > th.info,.table > thead > tr.info > td,.table > tbody > tr.info > td,.table > tfoot > tr.info > td,.table > thead > tr.info > th,.table > tbody > tr.info > th,.table > tfoot > tr.info > th {
    background-color:#d9edf7;
}

.table-hover > tbody > tr > td.info:hover,.table-hover > tbody > tr > th.info:hover,.table-hover > tbody > tr.info:hover > td,.table-hover > tbody > tr:hover > .info,.table-hover > tbody > tr.info:hover > th {
    background-color:#c4e3f3;
}

.table > thead > tr > td.warning,.table > tbody > tr > td.warning,.table > tfoot > tr > td.warning,.table > thead > tr > th.warning,.table > tbody > tr > th.warning,.table > tfoot > tr > th.warning,.table > thead > tr.warning > td,.table > tbody > tr.warning > td,.table > tfoot > tr.warning > td,.table > thead > tr.warning > th,.table > tbody > tr.warning > th,.table > tfoot > tr.warning > th {
    background-color:#fcf8e3;
}

.table-hover > tbody > tr > td.warning:hover,.table-hover > tbody > tr > th.warning:hover,.table-hover > tbody > tr.warning:hover > td,.table-hover > tbody > tr:hover > .warning,.table-hover > tbody > tr.warning:hover > th {
    background-color:#faf2cc;
}

.table > thead > tr > td.danger,.table > tbody > tr > td.danger,.table > tfoot > tr > td.danger,.table > thead > tr > th.danger,.table > tbody > tr > th.danger,.table > tfoot > tr > th.danger,.table > thead > tr.danger > td,.table > tbody > tr.danger > td,.table > tfoot > tr.danger > td,.table > thead > tr.danger > th,.table > tbody > tr.danger > th,.table > tfoot > tr.danger > th {
    background-color:#f2dede;
}

.table-hover > tbody > tr > td.danger:hover,.table-hover > tbody > tr > th.danger:hover,.table-hover > tbody > tr.danger:hover > td,.table-hover > tbody > tr:hover > .danger,.table-hover > tbody > tr.danger:hover > th {
    background-color:#ebcccc;
}

.table-custom {
    color:#333;
    font-size:13px;
    border-spacing:0!important;
    border:0!important;
}

.table-responsive {
    overflow-x:auto;
    min-height:.01%;
}

@media screen and (max-width: 767px) {
    .table-responsive {
        width:100%;
        margin-bottom:15px;
        overflow-y:hidden;
        -ms-overflow-style:-ms-autohiding-scrollbar;
        border:1px solid #ddd;
    }

    .table-responsive > .table {
        margin-bottom:0;
    }

    .table-responsive > .table > thead > tr > th,.table-responsive > .table > tbody > tr > th,.table-responsive > .table > tfoot > tr > th,.table-responsive > .table > thead > tr > td,.table-responsive > .table > tbody > tr > td,.table-responsive > .table > tfoot > tr > td {
        white-space:nowrap;
    }

    .table-responsive > .table-bordered {
        border:0;
    }

    .table-responsive > .table-bordered > thead > tr > th:first-child,.table-responsive > .table-bordered > tbody > tr > th:first-child,.table-responsive > .table-bordered > tfoot > tr > th:first-child,.table-responsive > .table-bordered > thead > tr > td:first-child,.table-responsive > .table-bordered > tbody > tr > td:first-child,.table-responsive > .table-bordered > tfoot > tr > td:first-child {
        border-left:0;
    }

    .table-responsive > .table-bordered > thead > tr > th:last-child,.table-responsive > .table-bordered > tbody > tr > th:last-child,.table-responsive > .table-bordered > tfoot > tr > th:last-child,.table-responsive > .table-bordered > thead > tr > td:last-child,.table-responsive > .table-bordered > tbody > tr > td:last-child,.table-responsive > .table-bordered > tfoot > tr > td:last-child {
        border-right:0;
    }

    .table-responsive > .table-bordered > tbody > tr:last-child > th,.table-responsive > .table-bordered > tfoot > tr:last-child > th,.table-responsive > .table-bordered > tbody > tr:last-child > td,.table-responsive > .table-bordered > tfoot > tr:last-child > td {
        border-bottom:0;
    }
}

/* MISC */
.tooltip { z-index: 999; opacity: 1!important }
.tooltip-inner { background:  #ac161e !important; padding: 15px 12px; min-width: 150px; box-shadow: 1px 1px #fff}
.tooltip-arrow { border-bottom-color: #ac161e !important }


/* EVENTO */

.quantita input[type="number"] {
    border: 1px solid #ccc;
    padding: 6px 6px;
    font-size: 17px;
    text-align: center;
    margin: 5px 0;
}

/* POLL */
.poll-container {
    background-color: #fff;
    box-shadow: 0 0 5px #777;
    margin-bottom: 60px;
    z-index: 9;
    position: relative;
}

.top-section {
    text-align: center;
    padding: 15px 20px;
    background-color: #f3f3f3;
    border-bottom: 1px solid #e7e7e7;
    position: relative;
    text-transform: uppercase;
    font-size: 11px;
}
.bottom-section {
    text-align: center;
    padding: 15px 30px;
    border-top: 1px solid #e7e7e7;
    background-color: #f3f3f3;
}
.bottom-section .progress, .section .progress {
    border-radius: 0px;
    max-width: 90%;
    margin: auto;
}
.question {
    padding: 50px 40px 35px 40px;
    position: relative;
}
.question textarea { margin-bottom: 20px;}

.question h3 { margin-bottom: 40px; margin-top: 0; font-size: 21px;}

.form-group input[type="radio"],
.form-group input[type="checkbox"] {
    display: none;
}

.form-group input[type="radio"] + .btn-group > label span,
.form-group input[type="checkbox"] + .btn-group > label span {
    width: 20px;
}

.form-group input[type="radio"] + .btn-group > label span:first-child,
.form-group input[type="checkbox"] + .btn-group > label span:first-child {
    display: none;
}
.form-group input[type="radio"] + .btn-group > label span:last-child,
.form-group input[type="checkbox"] + .btn-group > label span:last-child {
    display: inline-block;
}

.form-group input[type="radio"]:checked + .btn-group > label span:first-child,
.form-group input[type="checkbox"]:checked + .btn-group > label span:first-child {
    display: inline-block;
}
.form-group input[type="radio"]:checked + .btn-group > label span:last-child,
.form-group input[type="checkbox"]:checked + .btn-group > label span:last-child {
    display: none;
}
.form-group input[type="radio"]:checked + .btn-group > label.check,
.form-group input[type="checkbox"]:checked + .btn-group > label.check {
    float: right;
    border-radius: 0px 5px 5px 0px;
    background: #5cb85c;
    border-color: #5cb85c;
    transition: all 450ms;
}
.question .btn-group { width: 100% }
.form-group input[type="radio"]+ .btn-group > label.active,
.form-group input[type="checkbox"]+ .btn-group > label.active {
    width: 82%;
}
.form-group input[type="radio"]+ .btn-group > label.check,
.form-group input[type="checkbox"]+ .btn-group > label.check {
    width: 18%;
}

.form-group input[type="radio"]+ .btn-group > label.active div,
.form-group input[type="checkbox"]+ .btn-group > label.active div {
    overflow: hidden
}

.form-group input[type="radio"]:checked + .btn-group > label.active,
.form-group input[type="checkbox"]:checked + .btn-group > label.active {
    border-radius: 5px 0px 0px 5px;
    transition: all 450ms;
}
/*
#submit_poll {
    width: 200px;
    margin: auto;
    display: block;
    padding: 20px 0;
    margin-top: 50px;
    margin-bottom: 50px;
}
*/
input.checkActionFree {
    width: 100px;
    margin: 30px auto;
    display: block;
}
.bootstrap-datetimepicker-widget {
    z-index: 999;
}

.fc-calendar .fc-head { background: #5ea7e2 !important }

.prenota-ora a { color: #fff !important}
.prenota-ora .chosen-container {
    text-align: left;
}
.prenota-ora .chosen-container a {
    color: #333 !important;
}

.prenota-ora .panel-primary { border-color: #ccc}
.prenota-ora .panel-primary > .panel-heading{ background: #fff !important; color: #333}

.btn-readall {
    color: #fff !important;
    background-color: #5ea7e2;
    border-color: #5ea7e2;
}
.btn-readall:hover {
    color: #fff !important;
    background-color: #4887b9;
    border-color: #4887b9;
}

.prenota-ora .panel-footer {
    background-color: #ddd;
    border-color: #ddd;
}

.children-nav li:before {
    content: "";
    position: relative;
    left: -12px;
    background-color: #5ea7e2;
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.children-nav li a { font-size: 16px }

/* Loader */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0,0,0,0.9);
}
#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #3498db;

    -webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */

    z-index: 1001;
}

#loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #e74c3c;

    -webkit-animation: spin 3s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 3s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

#loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #f9c922;

    -webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}
@-webkit-keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg);  /* IE 9 */
        transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg);  /* IE 9 */
        transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
    }
}
@keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg);  /* IE 9 */
        transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg);  /* IE 9 */
        transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
    }
}

#loader-wrapper .loader-section {
    position: fixed;
    top: 0;
    width: 51%;
    height: 100%;
    background: #222222;
    z-index: 1000;
    -webkit-transform: translateX(0);  /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: translateX(0);  /* IE 9 */
    transform: translateX(0);  /* Firefox 16+, IE 10+, Opera */
}

#loader-wrapper .loader-section.section-left {
    left: 0;
}

#loader-wrapper .loader-section.section-right {
    right: 0;
}

/* Loaded */
.loaded #loader-wrapper .loader-section.section-left {
    -webkit-transform: translateX(-100%);  /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: translateX(-100%);  /* IE 9 */
    transform: translateX(-100%);  /* Firefox 16+, IE 10+, Opera */

    -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

.loaded #loader-wrapper .loader-section.section-right {
    -webkit-transform: translateX(100%);  /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: translateX(100%);  /* IE 9 */
    transform: translateX(100%);  /* Firefox 16+, IE 10+, Opera */

    -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

.loaded #loader {
    opacity: 0;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.loaded #loader-wrapper {
    visibility: hidden;

    -webkit-transform: translateY(-100%);  /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: translateY(-100%);  /* IE 9 */
    transform: translateY(-100%);  /* Firefox 16+, IE 10+, Opera */

    -webkit-transition: all 0.3s 1s ease-out;
    transition: all 0.3s 1s ease-out;
}
div#cookieChoiceInfo {
    background-color: rgba(0,0,0,0.9)!important;
    color: #fff;
    padding: 15px 0!important;
    font-size: 14px;
    bottom: 0;
    top: auto!important;
}
div#cookieChoiceInfo a {
    background: #cb2c35;
    border-color: #d43f3a;
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #fff;
}

.panel-heading
{
    padding:10px 15px!important;
    border-bottom:1px solid transparent!important;
    border-top-right-radius:3px!important;
    border-top-left-radius:3px!important;
    color:#5ea7e2!important;
    background-color: #fff!important;
    border-color: #fff!important
}
.panel-heading>.dropdown .dropdown-toggle
{
    color:#5ea7e2!important
}
.panel-title
{
    margin-top:0!important;
    margin-bottom:0!important;
    font-size:16px!important;
    color:#5ea7e2!important;
}
.panel-title>a,.panel-title>small,.panel-title>.small,.panel-title>small>a,.panel-title>.small>a
{color:#5ea7e2!important}




.panel-warning
{border-color:#eee!important}
.panel-warning>.panel-heading
{
    color:#5ea7e2!important;
    background-color:#ddd!important;
    border-color:#ddd!important
}
.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#8ba859!important}
.panel-warning>.panel-heading .badge
{
    color:#8ba859!important;
    background-color:#8ba859!important
}

.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc!important}

/* OTP CSS */
.inputs input {
    width: 40px;
    height: 40px;
    margin: 8px;
}
@media screen and (max-width: 576px) {
    .inputs input {
        margin: 2px;
    }
}
/* Chrome, Safari, Edge, Opera */
#otp input[type=number]::-webkit-inner-spin-button,
#otp input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0
}
/* Firefox */
#otp input[type=number] {
    -moz-appearance: textfield;
}
.form-control-otp:focus {
    box-shadow: none;
    border: 2px solid var(--primary);
}
/* MODALE PRENOTAZIONE */
/* Chrome, Safari, Edge, Opera */
#checkPrenotazioneHome input[type=number]::-webkit-inner-spin-button,
#checkPrenotazioneHome input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0
}
/* Firefox */
#checkPrenotazioneHome input[type=number] {
    -moz-appearance: textfield;
}
/* Chrome, Safari, Edge, Opera */
.hide-number-spinner::-webkit-inner-spin-button,
.hide-number-spinner::-webkit-outer-spin-button{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0
}
/* Firefox */
.hide-number-spinner  {
    -moz-appearance: textfield;
}