.block{
    display: block;
}

.modal{
    /* display: block !important; /* I added this to see the modal, you don't need this */
}

.deleted{
    text-decoration: line-through;
    font-style: italic;
    opacity: 0.6;
    color:lightslategray;
}

/* Important part */
.modal-dialog{
    overflow-y: initial !important
}
.modal-body{
    max-height: 500px;
    overflow-y: auto;
}

.pad-5{
    padding: 5px;
}

.pad-8{
    padding: 8px;
}

.mar-2{
    margin: 2px;
}

.bg-white{
    background-color:white;
}

.cor-6{
    border-radius: 6px;
}

.cor-4{
    border-radius: 4px;
}

.cor-2{
    border-radius: 2px;
}

.border{
    border: 1px solid #d3d3d3;
}

.hover:hover{
    background-color: lightskyblue;
    cursor: pointer;
}

.msd .selectionBox{
    border-radius: 5px;
    padding: 3px;
    min-height: 70px;
    width: 160px;
}

.msd .ant{
    font-size: 11px;
    overflow: hidden;
    text-align: left;
}

.msd .ant.needSave{
    border-top: 3px solid darkorange;
}

.msd .selectable{
    background-color: lightskyblue;

}

.msd .nonselectable{
    background-color: #d3d3d3;
}

.msd th{
    cursor: pointer;
}

.msd th.slot_selected
{
    border-bottom: 4px solid darkred;
}

.msd th.slot_default
{
    border-bottom: 0px solid deepskyblue;
}

.appointments-container{
    position: fixed;
    top: 50px;
    right: 0px;
    width: 200px;
    padding: 5px;
    height: 200px;
    background-color: white;
    border: 1px solid #d3d3d3;
    z-index: 10;
    overflow: scroll;
}

.show-model{
    position: absolute;
    width: 90%;
    height: 90%;
    top: 5%;
    left: 5%;
}

.modal .ant{
    display: block;
    border-bottom: 1px solid #d3d3d3;
    margin-top: 5px;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
}

.modal .ant:hover{
    background-color: lightskyblue;
    color: white;
}

.appointments-container:hover
{
    height: 80%;
}

.appointments-container .header{
    position: relative;
    display: block;
    padding: 3px;
    font-size: 14px;
    background-color: lightskyblue;
    margin: -5px;
}

.appointments-container .appointment{
    margin-top: 5px;
    margin-top: 5px;
    margin-bottom: 2px;
    border: 1px solid #d3d3d3;
    border-radius: 4px;
    padding: 3px;
}

textarea.newcomment{
    border: 1px solid lightgrey;
    width: 100%;
    border-radius: 4px;
    padding: 2px;
}

.comment{
    display: block;
    margin-bottom: 20px;
    padding: 5px;
    /*border-radius: 5px;*/
    border-top: 1px solid #CDCDCD;
    border-bottom: 1px solid #CDCDCD;
}

.comment .text{
    padding-top: 4px;
    padding-bottom: 4px;
    border-radius: 2px;
    display: block;
    border-bottom: 1px dotted #d3d3d3;
}

.comment .footer{
    font-style: italic;
    color:grey;
    font-size:smaller;
}

.comment .author{
    text-decoration: wavy;
    font-weight: bold;
}

.comment .time{
    font-size: smaller;
    font-style: italic;
    color: darkgrey;
    font-weight: bold;
}

.slotchanged{
    color:#ff0000;
    font-style: italic;
}

.ui-select:after {
    right: 3% !important;
}

a.link{
    color: rgb(0, 178, 255) !important;
    text-decoration: underline !important;
}

.app > .main-container > .content-container {
    overflow: visible;
}

.ui-select > select {
    width: 100%;
}

.paymentDetails span label{
    color:green;
}

.padding-10{
    padding: 10px;
}




/*--------------------------Header Menu-----------------------------*/

.app > .header-container.header-fixed {
    position: fixed;
    right: 0;
    /*width: 350px;*/
    left: 87%;
    z-index: 10;
}

@media (min-width: 768px){
    .app > .main-container > .nav-container.nav-horizontal.nav-fixed {
        border-width: 0 1px 1px 0;
        right: 0;
        bottom: auto;
        width: 100%;
        display: inline-block;
        vertical-align: top;
        top: 0%;
        background: #242633;
        height: 59px;
    }
    .app > .main-container > .nav-container.nav-horizontal.nav-fixed #nav > li > a {
        padding: 9px 28px;
    }
    .nav-horizontal .nav > li > a > .fa {
        font-size: 22px;
    }
    .app > .main-container > .nav-container.nav-horizontal.nav-fixed + .content-container {
        margin: 12px 0 0;
    }
    .app.nav-collapsed-min .nav-horizontal.nav-fixed + #content {
        margin: 12px 0 0;
    }
    .nav-collapsed-min > .main-container > .nav-container.nav-horizontal.nav-fixed #nav > li > a {
        padding: 18.6px 28px;
    }
    .header-container > .top-header .top-nav {
        margin-top: 1%;
    }
    .header-container > .top-header .logo {
        margin-top: 1%;
    }
    .app > .main-container > .nav-container.nav-horizontal.nav-fixed #nav {
        text-align: left;
        margin-left: 1%;
    }
    .nav-horizontal .nav > li > ul li > a {
        padding: 9px 40px 9px 20px;
    }
}
.header-container > .top-header .top-nav .nav-left > li {
    border-right: none;
}
.nav-container .nav > li > a {
    color: #fafafa;
}
.app > .main-container > .nav-container.nav-fixed {
    background: #242633;
}
.logo span {
    font-size: 35px;
    color: #fff;
    font-weight: normal;
    margin-right: 3%;
    padding: 9px;

}
.nav li{
    float: left !important;
}
.logo a{
    padding: 9px;
}
.logo {
    /*margin-top: -27px;*/
    margin-bottom: 0px !important;
    height: 100%;
}
/*.ui-select > select {*/
    /*padding: 6px 15px 6px 10px;*/
/*}*/
/*.form-control{*/
    /*height: 28px;*/
/*}*/
/*.btn{*/
    /*padding: 3px 12px;*/
/*}*/
.nav-tabs > li {
    border-right: 1px solid #e2e2e2;
}

#nav-container ul.newmenu {
    max-height: 250px;
    overflow: auto;
}

.header-container > .top-header .top-nav {
    padding-left: 0px;
}

.app > .header-container.header-fixed + .main-container {
    padding-top: 58px !important;
}

@media only screen and (max-width: 768px) {
    .header-container > .top-header .menu-button {
        right: 0;
    }
    .app > .header-container.header-fixed {
        width: 100%;
        left: 0;
    }
    .header-container > .top-header .top-nav {
        padding: 0;
    }
    .on-canvas #nav-container {
        top: 50px !important;
    }
    #nav-container ul {
        max-height: 400px;
    }
    .nav li {
        float: none !important;
    }
}

@media only screen and (max-width : 900px){
    .logo span {
        margin-right: 0;
        padding: 0;
    }
    .app > .main-container > .nav-container.nav-horizontal.nav-fixed #nav > li > a {
        padding: 9px 11px;
    }
    .nav-horizontal .nav > li > .icon-has-ul-h {
        bottom: 10px;
        right: 0;
    }
}

@media screen and (max-width : 1024px){
    .nav-container.nav-horizontal.nav-fixed #nav > li > a {
        padding: 9px 11px !important;
    }
    .logo span {
        margin-right: 0;
    }
    .logo a {
        padding: 0;
    }
}

@media (min-width: 768px){
    .modal-dialog {
        max-width:90%;
        margin-top:12%;
    }
}
.callout-info {
    background-color: #f4f8fa;
    border-color: #56bdf1;
    text-align:left;
}
.modal.in{
    text-align: center;
}
.modal-header {
    text-align: center;
    background-color:#1bb7a0;
    padding:9px;
    color: white;
    border-bottom: 1px solid #1bb7a0;
}
#modal_datepicker .dropdown-menu {
    position: fixed;
    margin-top:23%;
    margin-left:27%;
}
.ui-datepicker table {
    outline: none;
}

.multiSelect .checkBoxContainer {
    display: block;
    padding: 8px;
    max-height: 300px;
    overflow: auto;
}
.section_background{
    background-color:#f6f6f6;
    min-height:72px;
    overflow:auto;
    padding:18px;
    border: 1px solid lightgrey;
    border-radius:3px;
}
.input-group .form-control {
    font-size: 12px;
}

.backgroundblur{
    pointer-events: none;
    -webkit-filter: blur(2px);
    -moz-filter: blur(2px);
    -o-filter: blur(2px);
    -ms-filter: blur(2px);
    filter: blur(2px);
}
.backgroundnotblur{
    pointer-events: all;
    -webkit-filter: blur(0px);
    -moz-filter: blur(0px);
    -o-filter: blur(0px);
    -ms-filter: blur(0px);
    filter: blur(0px);
}