/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
.centered-modal.in {
    display: flex !important;
}
.centered-modal .modal-dialog {
    margin: auto;
}
#script-warning {
    display: none;
    background: #eee;
    border-bottom: 1px solid #ddd;
    padding: 0 10px;
    line-height: 40px;
    text-align: center;
    font-weight: bold;
    font-size: 12px;
    color: red;
}

.bold{
    font-weight: bold;
    text-decoration: underline;
}

.cal-active{
    padding: 10px 15px;
    background: #2C3E50;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
}

#loading {
    position: absolute;
    top: 0;
    left: 0;
    /* height: 100%;
    width: 100%; */
    background-color: rgba(33, 33, 33, 0.4);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 35px;
    
}

#calendar {
    max-width: 800px;
    margin: -40px 0;
    padding: 0 10px;
    max-height: 700px;
}
#current_calendarID {
    font-weight: normal;
}
.card {
    font-size: 1em;
    overflow: hidden;
    padding: 0;
    border: none;
    border-radius: 0.28571429rem;
    box-shadow: 0 1px 3px 0 #d4d4d5, 0 0 0 1px #d4d4d5;
    position: absolute;
    background: #fff;
    z-index: 10;
    opacity: 0;
    height: 0;
    visibility: hidden;
    transition: 0.3s;
    bottom: -10px;
}

.card-body {
    font-size: 1em;
    position: relative;
    margin: 0;
    padding: 1em;
    border: none;
    border-top: 1px solid rgba(34, 36, 38, 0.1);
    box-shadow: none;
}

.card-img-top {
    display: block;
    width: 100%;
    height: auto;
}

.card-title {
    font-size: 1.28571429em;
    font-weight: 700;
    line-height: 1.2857em;
}

.card-text {
    clear: both;
    margin-top: 0.5em;
    color: rgba(0, 0, 0, 0.68);
}

.card-footer {
    font-size: 1em;
    position: static;
    top: 0;
    left: 0;
    max-width: 100%;
    padding: 0.75em 1em;
    color: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    background: #fff;
}
.button-day:hover + .card {
    opacity: 1;
    height: auto;
    visibility: visible;
    bottom: 0;
}
.lista-calendario {
    list-style-type: none !important;
    padding-left: 0 !important;
    margin: 20px auto;
}

.lista-calendario li {
    list-style: none !important;
    margin-bottom: 10px;
}
.lista-calendario li a span {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 100px;
    margin-right: 5px;
}
.fc-dayGrid-view .fc-body .fc-row {
    min-height: 6em !important;
}
.ffb-id-2jfmjt54.fg-col.col-xs-12.col-md-9.fg-text-dark {
    width: 100% !important;
}

.ff-richtext td,
.ff-richtext th {
    padding: 5px 10px !important;
}
.p-0 {
    padding: 0 !important;
}
/* #calendar {
    max-width: 100%;
} */

.new-appt.button {
    border-color: #000!important;
    background-color: #000000!important;
    color: #fff!important;
    padding: 10px 10px!important;
    font-weight: bold!important;
    font-size: 18px!important;
}
.button-timeslot {
    display: none;
}
.spots-available {
    display: none;
}

.modal-title {
    display: inline-block;
}
.modal-header .close {
    margin-top: 0;
}
.close {
    float: right;
    font-size: 31px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: 0.5;
}
.modal-content {
    border-radius: 0;
}

/*  */

.booked-modal .bm-window {
    background: #f5f5f5;
    max-height: 100px;
    z-index: 2000000000;
}
.booked-modal .bm-window {
    animation: booked-flyin 0.2s;
    -webkit-animation: booked-flyin 0.2s;
    -moz-animation: booked-flyin 0.2s;
    -ms-animation: booked-flyin 0.2s;
    -o-animation: booked-flyin 0.2s;
    -webkit-backface-visibility: hidden;
    padding: 43px 0 25px;
    width: 450px;
    position: relative;
    margin: 0 auto;
    background: #fff;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 1px 1px 60px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 1px 1px 60px rgba(0, 0, 0, 0.5);
    box-shadow: 1px 1px 60px rgba(0, 0, 0, 0.5);
}
.mb-50{
margin-bottom: 50px;
}
.mb-30{
    margin-bottom: 30px;
}
.current_calendario p {
    font-size: 20px;
    font-weight: bold;
}
/*.scegli_calenario{
    display: none;
}*/
.scegli_calenario h4{
    margin-bottom: 10px;
}

.d-none{
    display: none;
}
.d-block{
    display: block;
}
#desc_slot p{
font-size: 20px;
}
@media screen and (min-width: 992px){
    .d-md-block{
        display: block;
    }
    .d-md-none{
        display: none;
    }
}

@media screen and (max-width: 992px){
    .d-md-block{
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .px-0{
        padding-right:0 !important;
        padding-left:0 !important;
    }
    .mb-50,
    .mb-30{
        margin-bottom: 0!important;
    }
    .navigazione-calendario {
        margin-bottom: 50px;
    }
    body.page-template-fullwidth .page-wrapper .post-content div.container{
        margin-top: 0;
    }
    .navigazione-calendario .scegli_calenario .lista-calendario li {
        display: inline-block;
        margin-bottom: 5px;
        margin-right: 10px;
    }
}

#select-op-btn {
    border: 1px solid #f2f2f2;
    display: block;
    padding: 10px 5px;
    cursor: pointer;
    background-image: url("https://i.imgur.com/K5gtkay.png");
    background-repeat: no-repeat;
    background-position: right center;
    width:100%;
}




.select_box {
    box-sizing: border-box;
    width:100%;
    display: inline-block;
    margin: 10px 0px 30px;
}

ul#options {
    list-style-type: none;
    font-size: 0px;
    border-color: #f2f2f2;
    border-style: solid;
    border-width: 0px 1px 1px 1px;
    padding:20px 0;
}
ul#options li{list-style: none;}
ul#options li label {
    font-size: 15px;
    display: block;
    padding: 5px;
}
#select-op-btn span{
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 100px;
    margin-right: 5px;
}

ul#options li span {
    width: 15px;
    height: 15px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 100px;
    margin-right: 5px;
}
ul#options li:hover {
    background: #f2f2f2;
}

.js-drop {
    display: none;
}

.js-option {
    display: inline-block;
}

label {
    cursor: pointer;
}

.default {
    color: #aaa;
}

.space {
    display: inline-block;
    padding: 15px;
}
.fake-li{
    visibility: hidden;
    opacity: 0;
    height: 0;
    display: none;
}
.timeslot-mobile-title{
    display: none;
}

.modal-header-title{
    display: inline-block;
}
.fc-left{
    display: flex;
}
@media screen and (max-width:500px){
    .fc-toolbar h2{
        font-size: 1.2rem!important;
    }    
    .modal-title{
        font-size: 1.3rem;
    }
    .close{
        font-size: 41px;
    }
}
/*.lista-calendario-item.extras{
    border-top: 1px solid;
    border-bottom: 1px solid;
    padding: 10px 0;
}*/
/*.lista-calendario-item.extras a{
    color: red;
    font-weight: bold;
}*/
body.page-template-fullwidth .page-wrapper section:first-of-type{
    display:none;
}
body.page-template-fullwidth .page-wrapper .post-content div.container{
    margin-top: 100px;
}
#calendar_id li a.active{
    font-weight: bold;
    text-decoration:underline;
}