.portlet.light .dataTables_wrapper .dt-buttons{
    margin-top: 0;
}

.table-scrollable {
    padding: 5px;
}

.search-page .search-filter a {
    margin: 40px 0;
    padding: 15px 0;
}

.mt-element-overlay .mt-overlay-3.mt-overlay-3-icons .mt-info {
    padding: 33% 0 0;
}

.mt-element-overlay .mt-overlay-3.mt-overlay-3-icons .mt-info>li {
    display: block;
    margin: 10px 3px;
}

.editable-textarea{
    white-space: pre-line;
    line-height: 1.2;
}

.editable-contact {
    display: block;
    margin-bottom: 5px;
}

.editable-contact span {
    width: 70px;
    display: inline-block;
}

.profile-stat a:hover, .profile-stat a:focus{
    text-decoration: none;
}

#modal_protocols .modal-body .mt-element-list, #modal_diagnoses .modal-body .mt-element-list, #modal_prescriptions .modal-body .mt-element-list, #modal_reports .modal-body .mt-element-list{
    max-height: 500px;
    overflow-y: auto;
}

#patients_list ul>.mt-list-item>.list-datetime{
    width: auto;
    font-size: 1.3em;
}

#patients_list ul>.mt-list-item>.list-datetime a{
    margin: 0 5px;
}

.mt-element-list .mt-list-item.selected {
    position: relative;
    border-left: 2px solid #e7505a!important;
}

.mt-element-list.mt-element-list-collapsible .mt-list-head {
    cursor: pointer;
}

.mt-element-list.mt-element-list-collapsible .mt-list-head .list-collapse {
    position: absolute;
    top: 0;
    left: 0;
    padding: 29px;
    font-size: 16px;
    background-color: #32c5d2;
    color: #fff;
}

.mt-element-list.mt-element-list-collapsible.collapsed .mt-list-head .list-collapse i.fa:before {
    content: "\f078";
}
.mt-element-list.mt-element-list-collapsible .mt-list-head .list-collapse i.fa:before {
    content: "\f077";
    font-family: "FontAwesome", sans-serif;
    display: block;
}

.mt-element-list.mt-element-list-collapsible .mt-list-head .list-head-title-container {
    padding-left: 70px;
}

.mt-element-list.mt-element-list-collapsible .mt-list-container {
    margin-bottom: 25px;
    opacity: 1;
    height: auto;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}

.mt-element-list.mt-element-list-collapsible.collapsed .mt-list-container {
    opacity: 0;
    height: 0;
}

@media (min-width: 768px) and (max-width: 991px){
    .form-group .input-group.col-sm-6.pull-right{
        padding-left: 10px;
    }
}

@media (min-width: 992px) and (max-width: 1199px){
    .form-group .input-group.col-md-6.pull-right{
        padding-left: 15px;
    }
}

@media (min-width: 1200px){
    .form-group .input-group.col-lg-6.pull-right{
        padding-left: 20px;
    }
}

/* Loading Animation */
#loader-overlay {
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    z-index: 20;
}
#loader {
    bottom: 0;
    height: 175px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 175px;
    z-index: 30;
}
#loader .dot {
    bottom: 0;
    height: 100%;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 87.5px;
}
#loader .dot::before {
    border-radius: 100%;
    content: "";
    height: 87.5px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transform: scale(0);
    width: 87.5px;
}
#loader .dot:nth-child(7n+1) {
    transform: rotate(45deg);
}
#loader .dot:nth-child(7n+1)::before {
    animation: 0.8s linear 0.1s normal none infinite running load;
    background: #00ff80 none repeat scroll 0 0;
}
#loader .dot:nth-child(7n+2) {
    transform: rotate(90deg);
}
#loader .dot:nth-child(7n+2)::before {
    animation: 0.8s linear 0.2s normal none infinite running load;
    background: #00ffea none repeat scroll 0 0;
}
#loader .dot:nth-child(7n+3) {
    transform: rotate(135deg);
}
#loader .dot:nth-child(7n+3)::before {
    animation: 0.8s linear 0.3s normal none infinite running load;
    background: #00aaff none repeat scroll 0 0;
}
#loader .dot:nth-child(7n+4) {
    transform: rotate(180deg);
}
#loader .dot:nth-child(7n+4)::before {
    animation: 0.8s linear 0.4s normal none infinite running load;
    background: #0040ff none repeat scroll 0 0;
}
#loader .dot:nth-child(7n+5) {
    transform: rotate(225deg);
}
#loader .dot:nth-child(7n+5)::before {
    animation: 0.8s linear 0.5s normal none infinite running load;
    background: #2a00ff none repeat scroll 0 0;
}
#loader .dot:nth-child(7n+6) {
    transform: rotate(270deg);
}
#loader .dot:nth-child(7n+6)::before {
    animation: 0.8s linear 0.6s normal none infinite running load;
    background: #9500ff none repeat scroll 0 0;
}
#loader .dot:nth-child(7n+7) {
    transform: rotate(315deg);
}
#loader .dot:nth-child(7n+7)::before {
    animation: 0.8s linear 0.7s normal none infinite running load;
    background: magenta none repeat scroll 0 0;
}
#loader .dot:nth-child(7n+8) {
    transform: rotate(360deg);
}
#loader .dot:nth-child(7n+8)::before {
    animation: 0.8s linear 0.8s normal none infinite running load;
    background: #ff0095 none repeat scroll 0 0;
}
#loader .loading {
    color: white;
    font-size: 1.5em;
    text-align: center;
    bottom: -40px;
    height: 20px;
    left: 0;
    position: absolute;
    right: 0;
    width: 180px;
}
@keyframes load {
    100% {
        opacity: 0;
        transform: scale(1);
    }
}
@keyframes load {
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

/* Pulsate */
.pulse {
    background: #D91E18;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(217, 30, 24, 0.6);
    animation: pulse 1.5s infinite;
}
.pulse:hover {
    animation: none;
}
.pulse-once{
    animation: pulse 1.5s 1.5s;
}

@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(217, 30, 24, 0.6);
    }
    70% {
        -webkit-box-shadow: 0 0 0 15px rgba(217, 30, 24, 0);
    }
    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(217, 30, 24, 0);
    }
}
@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(217, 30, 24, 0.6);
        box-shadow: 0 0 0 0 rgba(217, 30, 24, 0.6);
    }
    70% {
        -moz-box-shadow: 0 0 0 15px rgba(217, 30, 24, 0);
        box-shadow: 0 0 0 15px rgba(217, 30, 24, 0);
    }
    100% {
        -moz-box-shadow: 0 0 0 0 rgba(217, 30, 24, 0);
        box-shadow: 0 0 0 0 rgba(217, 30, 24, 0);
    }
}
