﻿/* list group and item */
.list-group-item-small {
    padding: 5px 10px;
}

.list-group-no-margin {
    margin: 0;
}


.treeview-menu > li {
    white-space: normal;
}

/* datepicker */
.calendar, .datepicker {
    display: inline-block;
    margin: 5px;
}

.bookedDate {
    background-color: #dc3545 !important;
    color: #fff !important;
}

.bookedDateStart {
    background-image: linear-gradient(-45deg, #dc3545 40%, #fff 70%) !important;
    color: #fff !important;
}

.bookedDateEnd {
    background-image: linear-gradient(-45deg, #fff 50%, #dc3545 75%) !important;
    color: #777 !important;
}

.datepicker-inline table tr td.new, td.old {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    opacity: 0.2;
    background-image: none !important;
    background: none !important;
    color: #777 !important;
}

/* select 2 */
@media (min-width: 768px) {
    .select2Bottom {
        margin-top: 45px;
    }
}

@media (max-width: 767px) {
    .select2Bottom {
        margin-top: 10px;
    }
}
/* datatables */
table.dataTable tbody th.dt-body-left,
table.dataTable tbody td.dt-body-left {
    text-align: left;
}

table.dataTable tbody th.dt-body-center,
table.dataTable tbody td.dt-body-center {
    text-align: center;
}

table.dataTable tbody th.dt-body-right,
table.dataTable tbody td.dt-body-right {
    text-align: right;
}

table.dataTable tbody th.dt-body-justify,
table.dataTable tbody td.dt-body-justify {
    text-align: justify;
}

table.dataTable tbody th.dt-body-nowrap,
table.dataTable tbody td.dt-body-nowrap {
    white-space: nowrap;
}

table.dataTable th.align-top {
    vertical-align: top
}

/* Prezzo barrato */
.strikethrough {
    text-decoration: line-through solid red;
    -moz-text-decoration-color: red;
}

/* Galleria immagini */
.row.display-flex {
    display: flex;
    flex-wrap: wrap;
}

    .row.display-flex > [class*='col-'] {
        display: flex;
        flex-direction: column;
    }

/* Testo descrizioni */
.description-word-wrap {
    white-space: pre-line;
}

/* Calendario form di prenotazione */
.availableDate {
    font-weight: bold;
    text-decoration: underline;
}

.unavailableDate {
    color: #777;
    cursor: default;
}

/* Classi di utilità */
.d-none {
    display: none;
}

d-block {
    display: block;
}

.m-5 {
    margin: 5px;
}

.ml-5 {
    margin-left: 5px;
}

.mr-5 {
    margin-right: 5px;
}

.mb-5 {
    margin-bottom: 5px;
}

.m-10 {
    margin: 10px;
}

.ml-10 {
    margin-left: 10px;
}

.mr-10 {
    margin-right: 10px;
}

.mb-10 {
    margin-bottom: 10px;
}

.md-ml-5 {
    margin-left: 0px;
}

@media(min-width: 992px) {
    .md-ml-5 {
        margin-left: 5px;
    }
}

@media (min-width: 768px) {
    .d-xs-none {
        display: none;
    }
    .d-sm-inline-block {
        display: inline-block;
    }
}

@media (max-width: 767px) {
    .d-xs-none {
        display: block;
    }
    .d-sm-inline-block {
        display: none;
    }
}