@media print {

    html::before {
        content: "";
    }

    body {
        display: none;
    }
}

h1,
h2 {
    color: #808285;
}

blockquote {
    font-size: 16px;
    border-left-color: transparent;
}

a:hover {
    cursor: pointer;
}

.footer {
    margin-top:  12px;
    bottom: 0px;
    padding: 15px 20px;
    width: 100%;
    background-color: #fff;
    font-size: 12px;
    color: #808285;
    box-shadow:  0px 0px 8px rgba(0,0,0,0.1);
    border-bottom: 1px solid #FFF;
}

.footer a:hover {
    color: #808285;
}

.footer .container {
    padding-left: 0;
}

@media (max-width: 767px) {
    .footer {
        /*padding: 15px 20px;*/
        margin-top: 25px;
        /*max-height: 70px;*/
    }

}


iframe {
    border: 0;
}


@media (max-width: 767px) {
    .headright {
        text-align: left;
    }

    .headright h1 {
        font-size: 5.5vw;
    }

    .header-image {
        margin: auto;
        display: block;
        width: 50vw;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .headright {
        text-align: right;
    }

    .headright h1 {
        font-size: 3vw;
        margin-top: 4px;
        margin-bottom: 0px;
    }

    .header-image {
        height: 50px;
        padding-top: 4px;
        margin-top: 4px;
    }
}

@media (min-width: 992px) {
    .headright {
        text-align: right;
    }

    .scc .page-header h1 {
        margin-top: 4px;
        margin-bottom: 0px;
    }

    .header-image {
        height: 50px;
        padding-top: 4px;
        margin-top: 4px;
    }
}



.fll {
    float: left;
    margin-left: 30px;
}



.page-header {
    width: 100%;
    border-bottom: 0px solid #EEE;
    margin-top: 0px;
    padding-top: 23px;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

.scc .page-header {
    margin-bottom: 12px;
    background-color: #fff;
    padding-bottom: 16px;
    box-shadow: 0px 0px 8px rgba(0,0,0,0.1);
}


a {
/*    background-color: rgba(181, 190, 30, 0.34);*/
    color: #6d7c00;
/*    padding: 1px 3px;*/
    text-decoration: underline;
/*    border-radius: 1px;*/
}

.message-files a{
/*    color: #d7df23;*/
    text-decoration: none;
}

a:hover {
color: #6d7c00;
text-decoration: underline;
}

h2,
h3,
h4,
h5,
h6,
.fh2 {
    padding-bottom: 8px;
    margin-top: 6px;
}

.portaltitle {
    color: #808285;
    font-size: 24px;
    font-weight: 300;
}

h1 {
    color: #808285;
    font-size: 32px;
    font-weight: 300;
}

h2,
.fh2 {
    color: #808285;
    margin-top: 0px;
    margin-bottom: 3px;
    font-size: 24px;
    font-weight: 300;
}

.htitle {
    margin-top: 12px;
    line-height: 36px;
}


.case-details-header {
    margin-bottom: 16px;
    border-top:  1px solid grey;
    border-bottom:  1px solid grey;
    padding:  16px 0;
}

.case-details-header h3{
    margin:  0 0 0 0;
}

.case_status_t {
    color: #d7df23;
    font-weight: 600;
}


.case_status_c {
    color: #b5be1e;
}

h3 {
/*    color: #b5be1e;*/
    margin-bottom: -1px;
    font-size: 20px;
    font-weight: 300;
}

h4 {
    color: #333;
    margin-bottom: -1px;
    font-size: 14px;
    font-weight: 600;
}

strong {}

button,
input[type="submit"],
input[type="button"] {
    color: #333;
    background-color: #d7df23;
    border: 0px solid;
    border-radius: 3px;
}

input[type="text"],
input[type="password"] {
    font-size: 15px;
    min-height: 40px;
    padding: 5px 8px;
    border-radius: 3px;
    border: 1px solid lightgrey;
    width: 100%;
}

textarea {
    padding: 5px 8px;

}

li {
}



label {

    font-size: 14px;
    margin-bottom: 1px;
    margin-top: 4px;
}

.form-group {
    margin-bottom: 2px;
}

input .form-group-small {
    padding: 1px 3px;
    font-size: 18px;
}



#patientforename {
    width: 100%;
}

strong {}

table {
    width: 100%;
    background-color: #FFF;
}

thead th {
    border-bottom: solid 1px grey;
    color: #808285;
    font-weight: normal;
}

.portal_table {
    background-color: #FFF;
    box-shadow: 0 0 2px -1px rgba(0,0,0,0.8);
    border-radius: 5px;
}

.portal_table thead th {
}

.portal_table tfoot th{
    padding: 5px;
}

.portal_table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 5px;
}
.portal_table {
    border-bottom-right-radius: 5px;
}

@media screen and (max-width:767px) {
    #case-table tfoot,
    #order-table tfoot{
        display:  none;
    }

    #case-table table,
    #order-table table {
        background-color: transparent;
        box-shadow: none;
    }
}

table td,
table td * {
    vertical-align: top;
}

.thead {
    border-bottom: 1px solid #ddd;
}

.thead th {
    color: #808285;
    border-top: none !important;
}

@media screen and (min-width:768px) {
    #case-table table tr td:first-child,
    #order-table table tr td:first-child,
    #case-table table tr th:first-child,
    #order-table table tr th:first-child {
      padding-left: 15px;
    }
}

input[type="file"] {
    display: none;
}

.button-secondary {
    padding: 3px 5px;
    border-radius: 5px;
    text-align: center;
    background-color: #d7df23;
    cursor: pointer;
}

.button {
    padding: 3px 5px;
    border-radius: 5px;
    text-align: center;
    background-color: #b5be1e;
    cursor: pointer;
}

.button-primary {
    padding: 3px 5px;
    border-radius: 5px;
    text-align: center;
    background-color: #b5be1e;
    cursor: pointer;
}

.transferbutton {
    background-color: #b5be1e;
    ;
    margin: 1px 9px;
    text-decoration: none;
}

.shy-button {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid #666 !important;
    color: #666 !important;
    margin: 1px 0px;
    border-radius: 20px;
}

.shy-button:hover {
    background-color: #FFF !important;
    color: #666 !important;
}

.btn-group {
    margin-bottom: 5px;
    margin-left: 5px;
}

.btn {
    letter-spacing: .05em;
    padding: 15px 25px;
    font-size: 14px;
    line-height: normal;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.2);
    background-color: white;
}

.chooseradio .btn {
    padding: 3px 14px;
}

.radioblockwrapper label{
    width:  100%;
}

.btn-default, .btn-default:hover {
    padding: 10px 20px;
    border-color: #666;
}

.btn-primary {
    padding: 10px 20px;
    font-size: 14px;
    line-height: normal;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none !important;
    text-shadow: none;
    letter-spacing: .05em;
    vertical-align: middle;
    white-space: normal;
    cursor: pointer;
    border-radius: 5px;
    border: 1px solid;
    color: #333;
    background-color: #d7df23;
    border-color: #d7df23;
}

.btn-primary-alternate {
    padding: 10px 20px;
    font-size: 14px;
    line-height: normal;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none !important;
    text-shadow: none;
    letter-spacing: .05em;
    vertical-align: middle;
    white-space: normal;
    cursor: pointer;
    border-radius: 5px;
    border: 1px solid #b5be1e;
    color: #d7df23;
    background-color: #FFF;
}

.btn-smaller {
    padding: 8px 18px;
    border: 1px solid #b5be1e;
    font-size: 13px;
    line-height: normal;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none !important;
    text-shadow: none;
    letter-spacing: .05em;
    vertical-align: middle;
    white-space: normal;
    cursor: pointer;
    color: #b5be1e;
    background-color: #FFF;
    border-radius: 5px;
}

.vspaced {
    margin: 12px 0;
}



.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:active:focus,
.btn-primary:active:hover,
.transferbutton:hover,
.transferbutton:active,
.transferbutton:focus,
.transferbutton:active:focus,
.transferbutton:active:hover 
{
    color: #333;
    background-color:#d7df23;
}

hr {
    margin-top: 8px;
    margin-bottom: 8px;
    border-color: #808285;
}

td,
th {
    border: 1px solid #999;
    padding: 0.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    border-top: 0px solid rgba(0, 0, 0, 0.2);
    border-bottom: none;
    border-left: none;
    border-right: none;
    vertical-align: top;
}

.nowrap {
    white-space: nowrap;
}

.uploadcontainer {
    background-color: #EEE;
    padding: 0 5px;
    min-height: 38px;
    overflow-y: scroll;
    overflow-x: hidden;
    margin-top: -7px;
    margin-bottom: 0px;
    font-size: 14px;
    border: 1px dotted rgba(0, 0, 0, 0);
}

.uploadcontainer-head {
    background-color: #EEE;
    padding: 0 5px;
    overflow: hidden;
    margin-bottom: 0px;
    font-size: 14px;
    border: 1px dotted rgba(0, 0, 0, 0);
}

.uploadcontainer,
.uploadcontainer-head th {
    border: none;
}

.uploadcontainer table,
.uploadcontainer-head table{
    background-color: transparent;
}


.dropzone {
    margin-top: 0px;
    min-height: 90px;
    background-color: #EEE;
    padding: 3px;
    border-radius: 5px 5px 0 0;
    font-size: 20px;
    text-align: center;
    border: 1px dotted rgba(0, 0, 0, 0);
}

.dropzone-inner {
    min-height: 80px;
    margin: 3px;
    border: 1px dashed rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.05);
    padding: 9px;
}


.file-over-dropzone .dropzone,
.file-over-dropzone .dropzone-inner,
.file-over-dropzone .upload-summary,
.file-over-dropzone .uploadcontainer-head,
.file-over-dropzone .uploadcontainer {
    border-left: 3px solid #000;
    border-right: 3px solid #000;
    background-color: #808285;
    color: #FFF;
}

.file-over-dropzone .dropzone-inner {
    border: 0px solid #000;
    color: #FFF;
}

.file-over-dropzone .choosebutton {
    opacity: 0.3;
}

.file-over-dropzone .uploadcontainer-head th {
    color: transparent;
}

.file-over-dropzone .dropzone {
    border-top: 3px solid #000;
}

.file-over-dropzone .upload-summary {
    border-bottom: 3px solid #000;
}


.upload-summary {
    margin-top: 0px;
    margin-bottom: 20px;
    height: 22px;
    background-color: rgba(0, 0, 0, 0.15);
    padding: 1px;
    border-radius: 0 0 5px 5px;
    font-size: 14px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.progress {
    margin-bottom: 0px;
}

.default-button.negative {
    background: #fff !important;
    border-color: #808285 !important;
    color: #808285 !important
}

.default-button.negative:hover,
.default-button.negative:active {
    background: #808285 !important;
    border-color: #808285 !important;
    color: #fff !important
}

.form-spacer {
    height: 20px;
}


.upload-gen-info {
    position: relative;
    margin: 0 auto 10px auto;
    display: block;
    font-size: 24px;
}

.upload-gen-info-footer {
    font-size: 16px;
    bottom: 0;
    padding: 15px;
    width: 100%;
}


object {
    width: 100%;
}

@media (max-width: 767px) {
    p.progressbar-text {
        font-size: 28px;
    }

    .progress-container {
        width: 130px;
        height: 130px;
        margin: 30px auto 5px auto;
    }

    .uploadmessage {
        font-size: 24px;
    }

}

@media (min-width: 768px) and (max-width: 991px) {
    p.progressbar-text {
        font-size: 38px;
    }

    .progress-container {
        width: 200px;
        height: 200px;
        margin: 30px auto 5px auto;
    }

    .uploadmessage {
        font-size: 2.8vw;
    }
}

@media (min-width: 992px) {
    p.progressbar-text {
        font-size: 46px;
    }

    .progress-container {
        width: 240px;
        height: 240px;
        margin: 30px auto 5px auto;
    }

    .uploadmessage {
        font-size: 24px;
        color: #333;
        }

}

.uploadmessage {
    display: block;
}

.uploadmessage a,
.uploadmessage a:hover {
    background-color: #d7df23;
    color: #333;
    padding: 6px 10px;
    margin-top: 6px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    margin: 12px 0 6px 0;
    display: inline-block;
}

.uploadssummary {
    font-size: 15px;
    margin-bottom: 15px;
    margin-top: -5px;
    color: #808285;
}

.submissiondetails {
    font-size: 16px;
    padding: 20px;
}

.smallaction {
    padding: 6px 7px 3px 7px;
    border: 1px solid;
    text-decoration: none;
    border-radius: 3px;
    font-size: 13px;
    background-color: #FFF;
    margin: 1px 3px 3px 0px;
    text-transform: uppercase;
    white-space: nowrap;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.2);
}

.smallaction:hover {
    background-color: #b5be1e;
    border: 1px solid #b5be1e;
    color: #FFF;
    text-decoration: none;
}

.mediumaction {
    padding: 10px 19px;
    border: 1px solid #b5be1e;
    text-decoration: none;
    border-radius: 5px;
    background-color: #FFF;
    font-size: 14px;
    margin: 0px 5px;
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 0.05em;
}

.mediumaction:hover {
    background-color: #b5be1e;
    color: #FFF;
    text-decoration: none;
}


.mediumbtn {
    padding: 10px 19px;
    text-decoration: none;
    border-radius: 5px;
    background-color: #FFF;
    margin: 3px 0px;
    white-space: nowrap;
    letter-spacing: 0.05em;
}

.smallbtn {
    padding: 4px 8px;
    text-decoration: none;
    border-radius: 5px;
    background-color: #FFF;
    white-space: nowrap;
    letter-spacing: 0.05em;
}

.donecircle {
    height: 95%;
    margin-bottom: 0px;
    margin-top: -6px;
}

/* progress animation */
@-webkit-keyframes rotating

/* Safari and Chrome */
    {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotating {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.progress-container svg {
    -webkit-animation: rotating 2.5s linear infinite;
    -moz-animation: rotating 2.5s linear infinite;
    -ms-animation: rotating 2.5s linear infinite;
    -o-animation: rotating 2.5s linear infinite;
    animation: rotating 2.5s linear infinite;
}

.attention {
    color: #b5be1e;
}

#old-submission-notice {
    width: 100%;
    border: 1px solid #b5be1e;
    border-radius: 5px;
    padding: 20px;
    margin: 10px 0px;
    clear: both;
}

@media (min-width: 651px) {
    .modal .modal-dialog {
        width: 650px;
    }

    .mediumbtn {
        font-size: 14px;
    }
}

@media (max-width: 650px) {
    .modal .modal-dialog {
        width: 90%;
        margin: 12px auto;
    }

    .mediumbtn {
        font-size: 14px;
    }
}

@media (max-width: 500px) {
    .mediumbtn {
        font-size: 3.6vw;
    }

    .smallbtn {
        font-size: 3.6vw;
    }
}

.modal-backdrop.in {
    filter: alpha(opacity=70);
    opacity: 0.70;
}

.modal-footer {
    padding: 15px;
    border-top: 0px solid #FFF !important;
}

@media (max-width: 650px) {

    .modal-footer .btn,
    .modal-footer .btn+.btn {
        margin: 0 5px 5px 0;
    }
}

.modal-header {
    padding: 15px;
    border-bottom: 0px solid #FFF !important;
}

.modal-body {
    font-size: 18px;
}


.suggested {
    border: 2px solid #b5be1e;
}


.noleftm {
    margin-left: 0px !important;
}

.breeze,
.breeze-color {
    color: #b5be1e;
}

.heaven,
.heaven-color {
    color: #808285;
}

.grey {
    color: #808285;
}

.noshow {
    display: none;
}

.deletefile {
    margin-right: 5px;
}

.choosebutton {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #666;
    margin: 0px 3px 0px 3px;
    padding: 1px 7px 0px 7px;
    color: #666;
}

.moreinfo {
    color: rgba(0, 0, 0, 0.5);
    font-size: 14px;
    margin-top: 15px;
    text-align: justify;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.bg_warning {
    background-color: rgba(255, 0, 30, 0.25);
}

#form-target .container {
    border: 1px solid;
    border-radius: 5px;
    padding: 15px;
}

.messagebadge {
    background-color: #d7df23;
    color: #FFF;
    font-size: 13px;
    height: 28px;
    padding: 3px 5px;
    margin-left: 3px;
    top: -2px;
    text-transform: uppercase;
    border-radius: 3px;
    position: relative;
}


.messagebox {
    border: 1px solid #b5be1e;
    margin-bottom: 14px;
    border-radius: 5px;
    padding: 10px 10px;
    background-color: #FFF;
    overflow: auto;
    font-size: 16px;
}

.message-pre {
    white-space: pre-wrap;
    margin: 3px 0px 10px 0px;
}

.treatment-info-box {
    margin: 20px 0;
}

.treatment-info-text {
    white-space: pre-wrap;
}

.Digital-Design-viewer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background-color: lightgray;

    width: 100%;
    height: 450px;

    max-height: 90vh;

}

div.Digital-Design-maximized {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;

    padding: 2%;

    width: auto;
    height: auto;
    z-index: 1000;

    background-color: rgba(0, 0, 0, 0.7);

    transform: scale(1);
    transform-origin: 0 0;

    max-height: 100vh;
}

@media screen and (max-width:575px) {

    .Digital-Design-viewer-container,
    .Digital-Design-wrap {
        width: calc(100% + 20px);
        height: 280px;
        /*	transform: scale(0.45);
		transform-origin: 0 0;
		font-size: 2em;*/
        margin: 0 -10px;
    }

    div.Digital-Design-maximized {}
}

@media screen and (min-width:576px) and (max-width:991px) {

    .Digital-Design-viewer-container,
    .Digital-Design-wrap {
        width: 100%;
        height: 350px;
    }

    div.Digital-Design-maximized {}

}

@media screen and (min-width:992px) {

    .Digital-Design-viewer-container,
    .Digital-Design-wrap {
        width: 100%;
        height: 450px;
    }

    div.Digital-Design-maximized {}
}

@media (min-width: 576px) {
    .messagebox-meta {
        width: 25%;
        font-size: 14px;
        padding: 6px;
    }

    .messagebox-content {
        width: 73%;
        padding: 0px 10px;
    }

    .messagebox-content h3{
    }

    .msg-sender .messagebox-meta {
        float: right;
    }

    .msg-sender .messagebox-content {
        float: left;
    }

    .msg-receiver .messagebox-meta {
        float: left;
    }

    .msg-receiver .messagebox-content {
        float: right;
    }
}

@media (max-width: 576px) {
    .messagebox-meta {
        padding-bottom: 12px;
        border-bottom: 1px solid lightgrey;
        margin-bottom: 12px;
    }
}

.msg-text {
    color: #000;
}

.msg-file-download-inner {
    text-align: left;
    float: left;
    font-size: 14px;
    background-color: rgba(0, 0, 0, 0.0);
    border: 1px solid rgba(0, 0, 0, 0.3);
    padding: 10px 0px 0px 0px;
    border-radius: 3px;
    width: 215px;
    position: relative;
}


.msg-file-download {
    padding: 3px;
    float: left;
}

.message-middle ul {
    margin: 0 0 10px 0;
    padding: 0;
    list-style-position: inside;
    list-style-type: disc;
    line-height: 16px;
}

.message-middle ul li a {
    text-decoration: none;
}

.message-middle ul li a:hover {
    color: #808285;
}

.message-files ul {
	padding-left: 18px;
}


.message-files {
    font-size: 14px;
}

.message-files a {
    text-decoration: none;

}

.msg-filename {
    text-decoration: none;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    float: left;
    color: #808285;
    margin-left: 4px;
    margin-right: 12px;
    margin-top: 2px;
    width: 210px;
    text-align: center;
}

.msg-filename:hover {
    text-decoration: none;
    color: #808285;
}

.msg-file-download .fa-stack {
    top: 0;
    bottom: 0;
    width: 210px;

}

.order_img {
    width: 100%;
}

.fa-stack-1x {
    top: .25em;
}

.fa-stack {
    font-size: 1.6em;
    vertical-align: -16%;
}

.filetype-text {
    font-size: .7em;
}

.msg-ico-filename {
    float: left;
}

.msg-download-button {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 2px 12px 2px 12px;
    border-radius: 0px 0px 3px 3px;
    margin: 2px 0px -1px 0px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    display: block;
    float: right;
    width: 100%;
    text-align: center;
}

.msg-download-button:hover,
.msg-zip-download-btn:hover {
    text-decoration: none;
    background-color: #808285;
    color: #FFF;
}


.msg-zip-download-btn {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 3px 12px 3px 12px;
    border-radius: 3px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    display: block;
    float: left;
    margin: 8px 0px 0px 3px;
}

#message-list .msg-reply-btn-half,
.message-list .msg-reply-btn-half {
    margin-left: 10px;
}

@media (min-width: 1100px) {
    .msg-archive-btn {
        float: left;
        width: 45%;
    }

    .msg-or-between {
        float: left;
        width: 8%;
    }

    .msg-reply-btn-half {
        float: left;
        width: 45%;
    }

    .msg-reply-btn-full {
        width: 100%;
    }
}

@media (max-width: 1099px) {
    .msg-archive-btn {
        width: 100%;
    }

    .msg-or-between {
        width: 100%;
    }

    .msg-reply-btn-half {
        float: left;
        width: 100%;
    }

    .msg-reply-btn-full {
        width: 100%;
    }
}


.msg-patientinfos {
    margin-top: 5px;
}

.adminbody .kva-radio {
    display: none;
}

.breeze_color {
    color: #d7df23;
}


a.menu-l1 {
    text-decoration: none;
    color: #808285;
    padding: 6px 12px;
    margin-right: 14px;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.2);
    display: inline-block;
    border-radius: 5px;
    
    background-color: rgba(231, 231, 225, 0.1);
    box-shadow: rgba(0, 0, 0, 0.15) 1px 1px 1px 0px inset;
    border: 1px solid rgba(32, 32, 32, 0.05);
}

a.menu-l1:hover, a.menu-l1:active {
    color: #55595b;
    background-color: rgba(0, 0, 0, 0.05);
    box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.1);
}

a.menu-l1.active {
    color: #55595b;
    background-color: #d7df23;
    box-shadow: inset 2px 2px 5px -1px rgba(0, 0, 0, 0.4);
}
@media (min-width: 767px){
    a.menu-l1.active {
        border: 1px solid rgba(0, 0, 0, 0.2);    
    }
}


.msg-sender {
    width: 90%;
    margin-left: 10%;
}

.msg-receiver {
    width: 90%;
}

.message_text {
    white-space: pre-wrap;
    padding-right: 30px;
}

#searchbox {
    position: relative;
    float: left;
    width: 320px;
}

.searchlabel {
    margin-top: 0px;
    float: left;
    height: 33px;
    padding: 4px 10px;
    background-color: #999;
    color: #fff;
    border-radius: 3px 0 0 3px;
}

@media (max-width: 650px) {
    .searchlabel {
        display: none;
    }
}


.reset-Search {
    position: absolute;
    top: 9px;
    right: 7px;
    border: none;
    background-color: transparent;
    color: #999;
}

.reset-Search:hover {
    color: #666;
}

.btn_fullwidth {
    width: 100%;
}

.btn_halfwidth {
    width: 45%;
    text-align: center;
    margin-left: 4px;
}

.filter-btn {
    padding: 6px 7px 3px 7px;
    margin: 1px 0px 0px 0px;
    height: 32px;
    font-size: 13px;
    background-color: #FFF;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    display: block;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.2);
}

.filter-btn:hover {
    text-decoration: none;
}

.filter-btn.filter-active {
    box-shadow: inset 0px 2px 3px rgba(0, 0, 0, 0.2);
}

.filter-l {
    border-radius: 3px 0px 0px 3px;
    border-style: solid;
    border-width: 1px 0px 1px 1px;

}

.filter-m {
    border-radius: 0px;
    border-style: solid;
    border-width: 1px 0px 1px 1px;
}

.filter-r {
    border-radius: 0px 3px 3px 0px;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
}

.statusfilter,
.memberfilter {
    float: left;
    width: 210px;
}

@media (min-width: 767px) and (max-width: 991px) {
    .portaltitle {
        padding-top: 6px;
        font-size: 24px;
        display: inline-block;
    }
}


@media (min-width: 991px) {

    .statusfilter,
    .memberfilter {
        float: left;
        width: 160px;
    }

    .statusfilter select,
    .memberfilter select {
        font-size: 10px;
    }
}

@media (min-width: 1199px) {

    .statusfilter,
    .memberfilter {
        float: left;
        width: 210px;
    }

    .statusfilter select,
    .memberfilter select {
        font-size: 14px;
    }
}


.statusfilter {
    margin-right: 10px;
}

@media (max-width: 650px) {
    .statusfilter {
        float: left;
        width: 200px;
        margin-left: 0px;
        margin-top: 20px;
    }

    #case-table .refresh-list {
        margin-top: 20px;
    }
}



.filtergroup {
    overflow: auto;
    padding: 0 1px 0 0;
    float: left;
    margin-right: 10px;
}

.filtergroup li {
    float: left;
    list-style-type: none;
    margin: 10px 0px;
}

.filterlist {
    margin-bottom: 10px;
    z-index: 1000;
}

.filterlist2 {
    display: block;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px;
}

.btn_infonote {
    margin-left: 8px;
    margin-top: 4px;
    display: block;
    float: left;
}

.selectfiltergroup {
    float: left;
}

@media (min-width: 767px) and (max-width: 991px) {
    .selectfiltergroup {
        margin-top: 8px;
    }
}

@media (max-width: 767px) {
    .filtergroup {
        width: 100%;
        display: block;
    }

    .statusfilter,
    .memberfilter {
        width: 100%;
        display: block;
        margin-left: 0px;
        margin-top: 5px;
    }
}

@media (max-width: 500px) {
    .filter-btn {
        padding: 6px 2vw 3px 2vw;
    }
}

.btn-breeze {
    color: #808285;
    border-color: #808285;
}

.actionable{
    color: #333;
    background-color: #d7df23;
    border-color: #d7df23;
}

.btn-breeze:hover,
.btn-breeze.filter-active {
    color: #333;
    background-color: #d7df23;
    border-color: #808285;
}

.btn-blue {
    color: #808285 !important;
    border-color: #808285 !important;
}

.btn-blue:hover,
.btn-blue.filter-active {
    color: #FFF !important;
    background-color: #808285 !important;
    border-color: #808285 !important;
}

.btn-berry {
/*    color: #b5be1e;*/
    border-color: #b5be1e;
}

.btn-berry:hover,
.btn-berry.filter-active {
    color: #6d7c00;
    background-color: #b5be1e;
    border-color: #b5be1e;
}

.btn-sun {
    color: white;
    font-weight: normal;
    border-color: #b5be1e;
    background-color: #b5be1e;
    text-transform: none;
}

.btn-sun:hover {
    color: #fff;
    background-color: #b5be1e;
    border-color: #b5be1e;
}

.btn-alignleft {
    text-align: left;
}

.left-space {
    margin-left: 5px;
}

.ui-spacer-horizontal {
    display: block;
    float: left;
    width: 10px;
    height: 4px;
}

.ui-spacer-vertical {
    display: block;
    width: 10px;
    height: 10px;
}

.refresh-list {
    font-size: 18px;
    border: 1px solid #888;
    float: right;
    padding: 7px 10px;
    position: relative;
    z-index: 10;
    height: 36px;
    margin: 1px 0px 3px 10px;
    color: #333;
}

@media (max-width: 845px) {
    .refresh-list {
        padding: 5px 9px;
    }
}

.case_history_text_linked {
    text-decoration: none;
    color: #000;
}

.case_history_text_linked:hover {
    color: #d7df23;
    text-decoration: none;
}

.display-none {
    display: none;
}

.berry-color {
    color: #ec6b6b;
}

.change-order-no-btn.btn-urgent {
    border: 1px solid #b5be1e;
    color: #b5be1e;
    opacity: 1;
    -webkit-animation: pulsate 2s infinite;
    -moz-animation: pulsate 2s infinite;
    -ms-animation: pulsate 2s infinite;
    animation: pulsate 2s infinite;
    font-size: 11px;
}

@keyframes pulsate {
    0% {
        opacity: 1;
        box-shadow: 0 0 7px rgba(0, 0, 0, 0.75);
    }

    20% {
        opacity: 0.5;
        box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
    }

    100% {
        opacity: 1;
        box-shadow: 0 0 7px rgba(0, 0, 0, 0.75);
    }
}

.fadeout {
    opacity: 1;
    -webkit-animation: fadeout 0.5s;
    -moz-animation: fadeout 0.5s;
    -ms-animation: fadeout 0.5s;
    animation: fadeout 0.5s;
}

@keyframes fadeout {
    0% {
        opacity: 1;
    }

    25% {
        opacity: 0.8;
        height: 150px;
    }

    50% {
        opacity: 0.6;
        height: 100px;
    }

    75% {
        opacity: 0.4;
        height: 50px;
    }

    100% {
        opacity: 0;
        height: 1px;
    }
}

.change-order-no-btn.btn-urgent:hover {
    color: #FFF;
    opacity: 1;
    animation-play-state: paused;
}

.seperator {
    border-bottom: 2px solid #b5be1e;
    text-transform: uppercase;
    margin-bottom: 10px;
    margin-top: 10px;
}

#messages_new {}

#messages_new .messagebox {
    background-color: #e8f9f9;
    overflow: hidden;
}

#messages_archived {}

.scc_filedownload_li {
    text-decoration: none;
}

.msg-files ul {
    list-style-position: inside;
    padding: 0;
    margin: 0;
}

.msg-files a {
    text-decoration: none;
}


.scc-edit-message-container .form-group input,
.admin-edit-message-container .form-group input {
    float: left;
    padding: 0px 6px;
}

.scc-edit-message-container .form-inline input,
.admin-edit-message-container .form-inline input {
    height: 24px;
    padding: 0px 6px;
}

.scc-edit-message-container .form-inline label {
    width: 100%;
}

.scc-edit-message-container .form-group label,
.admin-edit-message-container .form-group label {
    width: 100%;
}

.fg-fullwidth label {
    width: 100%;
}

.scc-edit-message-container .paddinghelper,
.paddinghelper {
    padding: 6px 0 0 14px;
    margin: 0;
}

.casereport-zipdownload:active,
.casereport-zipdownload:focus {
    background-color: #b5be1e;
    color: #FFF;
}

.admin-edit-message-container .paddinghelper {
    padding: 0px;
}

.scc-edit-message-container .paddinghelper {
    padding: 6px 0 0 14px;
}

.scc-edit-message-container .notes-input {
    height: 110px;
}

.filelist_showmore {
    cursor: pointer;
    margin: 8px 0px;
    display: block;
    font-weight: bold;
    color: #666;
}

.filelist_showmore:hover {
    color: #b5be1e;
}

@media (min-width: 651px) {

    .graceful_br{
        display: none;    
    }
}


@media (max-width: 650px) {

    body {
    }

    .page-header {
        padding: 30px 0px 0px 0px;
    }

    h1 {
        padding: 0px 0px;
        margin: 8px 0px;
        font-weight: 400!important;
        font-size: 26px;
    }


    .scc-menu ul {

        display: -webkit-box;
        /* OLD - iOS 6-, Safari 3.1-6 */
        display: -moz-box;
        /* OLD - Firefox 19- (buggy but mostly works) */
        display: -ms-flexbox;
        /* TWEENER - IE 10 */
        display: -webkit-flex;
        /* NEW - Chrome */
        display: flex;
        margin: 0px -3px;
    }

    .scc-menu li {
        width: 100%;
        text-align: center;
        height: auto;

        align-items: -webkit-stretch;
        /* OLD - iOS 6-, Safari 3.1-6 */
        align-items: -moz-stretch;
        /* OLD - Firefox 19- (buggy but mostly works) */
        align-items: -ms-stretch;
        /* TWEENER - IE 10 */
        align-items: -webkit-stretch;
        /* NEW - Chrome */
        align-items: stretch;

        display: -webkit-box;
        /* OLD - iOS 6-, Safari 3.1-6 */
        display: -moz-box;
        /* OLD - Firefox 19- (buggy but mostly works) */
        display: -ms-flexbox;
        /* TWEENER - IE 10 */
        display: -webkit-flex;
        /* NEW - Chrome */
        display: flex;
        justify-content: space-between;
        border: 3px solid transparent;
    }

    .scc-menu li a {
        font-size: 3.8vw;
        text-align: center;
        display: block;
        width: 100%;
        padding: 0;
        margin: 0;
        line-height: 5.3vw;
        padding: 5px;
        margin: 0px;
        border-radius: 5px;
        border: 1px solid grey;
        background-color: #FFF;

        align-items: -webkit-stretch;
        /* OLD - iOS 6-, Safari 3.1-6 */
        align-items: -moz-stretch;
        /* OLD - Firefox 19- (buggy but mostly works) */
        align-items: -ms-stretch;
        /* TWEENER - IE 10 */
        align-items: -webkit-stretch;
        /* NEW - Chrome */
        align-items: stretch;

    }

    .messagebadge {
        line-height: 30px;
    }

    .scc-menu a.menu-l1.active {
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
    }

    .scc-menu a.menu-l1:active,
    .scc-menu a.menu-l1:focus {
        background-color: rgba(0, 0, 0, 0.2);
        box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.3);
    }

    .scc-menu li .fa {
        font-size: 30px;
        display: block;
        line-height: 40px;
    }

    .header-image {
        width: 50vw;
        height: auto;
        text-align: center;
        margin: 0 auto 6px auto;
        display: block;
    }

    .searchlabel {
        border-radius: 5px 5px 0px 0px;
    }

    #searchbox {}

    input#search.form-control {
        border-radius: 0px;
        outline: none;
    }


    #searchbox .fa {
        font-size: 22px;
        top: 6px;
    }

    .filtergroup {
        display: -webkit-box;
        /* OLD - iOS 6-, Safari 3.1-6 */
        display: -moz-box;
        /* OLD - Firefox 19- (buggy but mostly works) */
        display: -ms-flexbox;
        /* TWEENER - IE 10 */
        display: -webkit-flex;
        /* NEW - Chrome */
        display: flex;
        margin: 0px 0px 4px 0px;
        height: 42px;
    }

    .filtergroup li {
        align-items: -webkit-stretch;
        /* OLD - iOS 6-, Safari 3.1-6 */
        align-items: -moz-stretch;
        /* OLD - Firefox 19- (buggy but mostly works) */
        align-items: -ms-stretch;
        /* TWEENER - IE 10 */
        align-items: -webkit-stretch;
        /* NEW - Chrome */
        flex-grow: 1;
        align-items: stretch;
        margin-top: 0px;

        display: -webkit-box;
        /* OLD - iOS 6-, Safari 3.1-6 */
        display: -moz-box;
        /* OLD - Firefox 19- (buggy but mostly works) */
        display: -ms-flexbox;
        /* TWEENER - IE 10 */
        display: -webkit-flex;
        /* NEW - Chrome */
        display: flex;
    }

    .filtergroup li a {
        flex-grow: 1;
        text-align: center;
        align-items: -webkit-stretch;
        /* OLD - iOS 6-, Safari 3.1-6 */
        align-items: -moz-stretch;
        /* OLD - Firefox 19- (buggy but mostly works) */
        align-items: -ms-stretch;
        /* TWEENER - IE 10 */
        align-items: -webkit-stretch;
        /* NEW - Chrome */
        align-items: stretch;
        font-size: 3.2vw;
    }

    .filtergroup li .refresh-list {
        font-size: 18px;
        margin-left: 4px;
        padding: 9px 3px 3px 3px;
        height: 38px;
    }

    .filter-btn {
        height: 38px;
        padding-top: 9px;
        width: 50%;
        height: 40px;
        text-align: center;
    }

    .search_submit {
        border-top-right-radius: 0px;
    }

    .user_namelogout {
        text-align: center;
    }

    table #search-results {
        font-size: 3.5vw;
    }

    .table-condensed {
        font-size: 3.7vw;
    }

    .scc .page-header {
    }

    .headright {
        text-align: center;
    }

    .headright h1 {
        font-size: 5vw;
        padding-top: 5px;
    }
}

#new_msg_btn {
    float: right;
}

@media (min-width: 501px) {
    .scc-menu {}
}

.scc-menu {
    float: left;
    width: 100%;
    padding: 18px 0 0 0;
    border-bottom: 0px solid #EEE;
    text-transform: uppercase;
}

.scc-menu ul {
    float: left;
    width: 100%;
    margin:  0px;
}

.scc-menu ul li:last-child {
    float: right;
}

.scc-menu ul li:last-child a {
    margin-right: 0px;
}

.scc-menu ul li:last-child a.active {
    padding-right: 8px;
    margin-right: 0px;
}

.scc-menu li {
    list-style-type: none;
    float: left;
}

.scc label,
.patient_info label {
    display: inline-block;
}

.scc .no-inline label {
    display: block;
}

.summarysection {
    padding: 10px 0 4px 0;
    font-size: 18px;
    color: #d7df23;
    text-decoration: underline;
}


.sectionheading,
.upload_container h3 {
    margin-bottom: 3px;
    color: #333;
}

.sectionsubheading {
    color: #333;
    display: block;
    margin-top: 12px;
}

.new_case_form {}

.new_case_form label {
    margin-right: 10px;
}

.new_case_summary {
    padding: 20px;
}

.new_case_form .modal .modal-dialog {
    min-width: 80%;
}

.adresscontainer {
    display: flex;
    align-items: stretch;
    margin: -5px;
    flex-wrap: wrap;
}

.chooseadress {
    padding: 5px 10px 10px 10px;
    margin: 5px;
    border-radius: 3px;
    white-space: nowrap;
}

.chooseadress label {
    height: 100%;
}

.newaddress input {
    margin: 5px 0 0 0;

}

form input[type="radio"]:checked+label {
    background-color: #d7df23;
}

.newcaseform-top,
.newcaseform-bottom {
    padding: 20px 30px;
    border: 1px solid lightgrey;
    border-radius: 5px;
    background-color: white;
}


.new-case-container {
    position: relative;
}

.Digital-Design-viewer {
    display: flex;
    flex-direction: column;

    margin: 10px 0;
}

.Digital-Design-wrap {
    padding-top: 5px;
    background-color: rgb(234, 234, 234);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

@media screen and (min-width:900px) {

    .with-viewer .newcaseform-top,
    .with-viewer .newcaseform-bottom {
        width: 40%;
    }

    .newcaseform-top {
        border-bottom: none;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        padding-bottom: 0;
    }

    .newcaseform-bottom {
        border-top: none;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        padding-top: 0;
    }


    .Digital-Design-viewer {
        position: absolute;
        top: 0;
        right: 0;
        width: 58%;
        margin-left: 10px;
        margin-top: 0;
    }

    .Digital-Design-viewer .Digital-Design-wrap {
        width: calc(100% + 60px);
        margin: 0px -30px 6px -30px;
    }

    .Digital-Design-viewer .Digital-Design-maximized {
        width: 100%;
        margin: 0px;
    }
}

.Digital-Design-viewer {
    padding: 0px 30px 20px 30px;
    border: 1px solid lightgrey;
    border-radius: 5px;
    background-color: white;
}

@media screen and (max-width:899px) {
    .Digital-Design-viewer {
        padding: 10px 10px;
        border: 1px solid lightgrey;
        border-radius: 5px;
        background-color: white;
    }

    .Digital-Design-viewer .Digital-Design-wrap {
        width: calc(100% + 20px);
        margin: -10px -10px 6px -10px;
    }

    .Digital-Design-viewer .Digital-Design-maximized {
        width: 100%;
        margin: 0px;
    }

    .newcaseform-bottom,
    .newcaseform-top {
        padding: 5px 10px;
    }

    .newcaseform-top{
        border-bottom: 0px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .newcaseform-bottom{
        border-top: 0px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

}

.new_case_form .label_left {
    margin-left: 0px;
    margin-right: 0px;
}


@media screen and (max-width:480px) {

    input[type="text"],
    input[type="text"]+label {}

    .smallfullwidth {
        width: 100%;
    }

    .label_left {
        margin-left: 0px;
        margin-right: 0px;
    }

    .treatment_select label {
        float: none;
        width: 100%;
    }

    .new_case_form .label_left {
        margin-left: 10px;
        margin-right: 0;
    }

    .new_case_form .label_left select {
        margin-left: 0px;
        margin-right: 10px;
    }
}


.smallnote {
    margin: 4px 0px 16px 0px;
    display: block;
}

.formerror {
    color: #ff0057;
    font-weight: 400;
    padding: 1px 20px;
    margin-bottom: 0px;
}

.error_red{
    color: #ff0057;
}

.formerror ul {
	display: block;
	list-style-type: disc;
	float:  left;
}


.treatment_plan_viewer_button {
    border: 1px solid #b5be1e;
    background-color: white;
    color: #b5be1e;
    padding: 5px;
    border-radius: 3px;
    text-decoration: none;
}

.treatment_plan_viewer_button:hover {
    background-color: #b5be1e;
    border: 1px solid #b5be1e;
    color: #FFF;
    text-decoration: none;
}

.confirmation_text {
    font-weight: bold;
    padding: 15px 0px;
}

.turquoise,
.turquoise:hover,
.act_ext_btn.turquoise {
    background-color: #d7df23;
}

.placeholder_for_action {
    color: white;
    background-color: #BBB;
    padding: 5px;
    margin: 5px 0;
    display: inline;
    border-radius: 5px;
}

input.inline-input {
    display: inline;
    width: 150px !important;
    min-height: 25px;
}

.pagi-list {
    padding: 0;
    font-size: 18px;
}

.pagi-list li a {
    text-decoration: none;
}

.pagi-list li {
    display: inline;
    list-style: none;
}

.pagi-link {
    /* Remove underline */
    display: inline-block;
    padding: 0 5px;
    border: 1px solid grey;
    color: grey;
    border-radius: 3px;
    background-color: #fff;
}

.pagi-link:hover {
    color: #d7df23;
    border-color: #d7df23;
}

.active-pagi-link {
    text-decoration: none;
    font-weight: bold;
    color: #d7df23;
    border-color: #d7df23;
    border-width: 2px;
}

.theresmore {
    text-align: center;
    border-top: 1px solid grey;
    border-bottom: 1px solid grey;
    padding: 12px;
}
.textmarker_yellow{ 
    background-color: yellow;
    mix-blend-mode: multiply;
}