/* General HTML Components  */

/*#region General HTML Components */

html {
    height: 100% !important;
}

.footer {
    width: 100%;
    z-index: 2;
    bottom: 0;
    background-color: white;
    flex-shrink: 0;
    display: grid;
}


body {
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    background-color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    padding-bottom: 0px;
    height: 100vh;
    bottom: 0px;
}

.custom-body-content {
    -ms-flex: 1 0 auto !important;
    -webkit-flex: 1 0 !important;
    flex: 1 0 auto;
}

hr {
    border-bottom: solid 2px #eee;
    border-top: solid 1px #eee;
}

a {
    color: #555555;
}

.h2custom {
    font-size: 22px;
    margin-top: 10px;
}

.howdy-break {
    margin-top: 10px;
}

[data-toggle~="collapse"] {
    cursor: pointer;
}
/*#endregion */
/*#region Header */

.navbar {
    min-height: 65px;
    font-family: 'Open Sans', sans-serif;
}

.navbar-header {
    padding-bottom: 15px;
}

.navbar-brand {
    padding: 0px 15px;
}

.navbar-inverse {
    background-color: #500000;
    border-color: #500000;
}

.navbar-fixed-top {
    border-width: 0 0 2px;
}

.navbar-inverse .navbar-nav > li > a {
    color: white;
    font-size: 16px;
    text-align: center;
    border-radius: 3px;
}

.navbar-inverse .navbar-toggle {
    border-color: #500000;
}

    .navbar-inverse .navbar-toggle .icon-bar {
        background-color: white;
    }

    .navbar-inverse .navbar-toggle:focus, .navbar-inverse .navbar-toggle:hover {
        background-color: #555555;
    }

.navbar-inverse .navbar-nav > li > a:focus, .navbar-inverse .navbar-nav > li > a:hover {
    color: #500000;
    background-color: #e6e6e6;
}

.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
    border-color: #500000;
}

.navbar > .container {
    padding-top: 15px;
}

@media (min-width: 1200px) {
    .navbar > .container {
        width: 85%;
    }
}

.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:focus, .navbar-inverse .navbar-nav > .active > a:hover {
    color: #fff;
    border-bottom: solid 2px white;
    background-color: transparent;
}

.nav > li > a {
    position: relative;
    display: block;
    padding: 10px 25px 10px 25px !important;
    margin-top: 5px;
    margin-bottom: 5px;
    font-weight: 500;
}

@media (max-width: 1000px) {
    .nav > li > a {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}

.logo {
    width: 100%;
    max-width: 275px;
}

@media (max-width: 364px) {
    .logo {
        max-width: 225px;
    }
}


@media (max-width: 767px) {
    .login-large {
        visibility: hidden;
        display: none !important;
    }

    .login-large-collapse {
        visibility: visible;
    }

    .navbar-inverse .navbar-collapse {
        background-color: #500000;
    }
}

@media (min-width: 768px) {
    .login-large {
        visibility: visible;
        display: block;
    }

    .login-large-collapse {
        visibility: hidden;
        display: none !important;
    }
}

@media screen and (orientation: portrait) and (max-width: 767px), screen and (orientation: landscape) and (max-height: 450px) {
    .logo {
        max-width: 175px;
        margin: 0px !important;
    }

    .call-actions {
        visibility: hidden;
    }

    .outbound-links {
        font-size: 8px;
    }

    .site-info {
        font-size: 12px;
    }
}


/*#endregion */
/*#region Layout Styling  */

.content {
    background-color: white;
    border: solid 1px #e6e6e6;
    margin-top: 50px;
    padding-bottom: 15px;
}

@media (max-width: 480px),(max-height: 600px) {
    .content {
        margin-top: 0px !important;
        padding-top: 0px !important;
    }
}

.display-content-main {
    padding: 30px;
    font-size: 15px;
    padding-top: 30px;
    margin-bottom: 50px;
}

.display-information {
    padding-bottom: 25px;
}

    .display-information > span {
        display: inline-block;
        line-height: 30px;
    }

        .display-information > span a {
            font-size: 14px;
        }

.custom-content {
    padding-bottom: 25px;
}

.info-update {
    padding-top: 20px;
    padding-bottom: 20px;
}

.notification-options {
    padding-bottom: 15px;
}

/*#endregion */
/*#region Form Styling  */

.form-control {
    border-radius: 0;
    border: none;
    box-shadow: none;
    border-bottom: solid 2px #e6e6e6;
}

#search-input {
    border: solid 2px #e6e6e6;
}

textarea:focus, input:focus, .uneditable-input:focus {
    border-bottom: solid 2px;
    border-color: rgba(80, 0, 0, 1) !important;
    box-shadow: none !important;
    outline: 0 none !important;
}

.label {
    font-size: 16px;
    font-weight: normal !important;
}

.label-default {
    background-color: #500000;
}

.label > a {
    color: #555555;
}

.label-default > a {
    color: white;
    text-align: center;
}

#search-filters {
    text-align: center;
    font-size: 20px;
}

.custom-content > form {
    display: inline-block;
    width: 100%;
    margin-bottom: 25px;
}

#example-password-input {
    float: none;
    width: 95%;
    margin: 0 auto;
}
/*#endregion */
/*#region Page Navigation  */

#pages {
    text-align: right;
}

    #pages > span {
        padding-right: 15px;
    }

    #pages > a {
        padding: 10px;
    }

/*#endregion */
/*#region External Links  */
.social {
    text-align: right;
}

.site-info {
    padding: 15px;
    text-align: left;
}

    .site-info > span {
        padding-left: 15px;
    }

@media (max-width: 992px) {
    .site-info {
        padding-bottom: 0px;
        padding-top: 5px;
        text-align: center;
    }

    .social {
        text-align: center;
    }
}



.social-link {
    padding-bottom: 15px;
    font-size: 16px;
    padding-left: 5px;
    padding-bottom: 15px;
}

.outbound-links {
    width: 100%;
    background-color: #332C2C;
    padding: 5px;
    color: white;
    text-align: center;
}

    .outbound-links a {
        color: white;
    }

/*#endregion */
/*#region Button Styling  */

.btn-primary {
    border-color: #500000;
}

.btn-default {
    border-color: #500000;
}

.btn:hover, .btn:active, .btn:focus {
    background-color: #555555 !important;
    color: white;
}

.btn {
    border-radius: 0;
    background-color: #500000;
    color: white;
    border-radius: 3px;
}

.custom-button {
    float: none;
    display: block;
    margin: 0 auto;
}

.login-form-buttons {
    display: inline-block;
    min-width: 220px;
    border: white 0.5px solid;
}

.nav-login-button {
    color: #500000 !important;
    background-color: white;
    font-weight: 600 !important;
}

/*#endregion */
/*#region Modal  */

.modal-content {
    border-radius: 0;
}
/*#endregion */
/*#region Thumbnail  */

.patient-document {
    display: inline-block !important;
}

.thumbnail {
    border-radius: 0;
    padding: 10px;
}

    .thumbnail .caption {
        color: #555555;
    }


dl.inline-flex {
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    overflow: visible;
}

    dl.inline-flex dt {
        flex: 0 0 40%;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    dl.inline-flex dd {
        flex: 0 0 60%;
        margin-left: auto;
        text-align: left;
        text-overflow: ellipsis;
        overflow: hidden;
    }
/*#endregion */
/*#region Patient Profile  */
@media (min-width:768px) {
    .patient-profile-referral-card {
        height: 410px;
    }
}

@media (min-width:992px) {
    .patient-profile-referral-card {
        height: 390px;
    }
}
/*#endregion */
/*#region Request Account  */
.g-recaptcha {
    margin: 0 auto;
    width: 304px;
}

@media screen and (max-height: 767px) {
    #rc-imageselect, .g-recaptcha {
        margin: 0 auto;
        width: 258.4px;
        -webkit-transform: scale(0.85);
        transform: scale(0.85);
        -webkit-transform-origin: 0 0;
        transform-origin: 0 0;
    }
}

@media (min-width: 768px) {
    .styled-border {
        margin-right: auto;
        margin-left: auto;
        width: fit-content;
        padding-left: 20px;
        padding-right: 20px;
        border-right: #707373 2px solid;
        border-left: #707373 2px solid;
        border-radius: .1px;
    }
}

@media (max-width: 424px) {
    .Balance-Table-Style {
        font-size: smaller;
    }

    .Balance-Table-Description {
        display: none;
    }
}

.clickable-row:hover {
    cursor: pointer;
    text-decoration: underline;
}

.clickable-row > td:hover {
    text-decoration: underline;
}

td {
    border-color: #CCCCCC;
}

.phead > td {
    font-weight: bold;
}
/*#endregion */
/*#region Phones View */

.phones-row {
    margin-left: 0px;
    margin-right: 0px;
    display: flex;
    margin-bottom: 10px;
    padding: 0px 5px;
}

.phones-container {
    /*border: solid 1px #e6e6e6;*/
    text-align: center;
    padding: 0px;
    padding-top: 5px;
    border: 1px solid #ddd;
    padding: 0px 5px;
}

.phones-box {
    padding: 0px;
    /*border-bottom: solid 2px #e6e6e6;*/
    display: flex;
    height: 36px;
}

.phones-label {
    align-self: flex-end;
    text-align: left;
    /*width: 50%;*/
}

.phones-control {
    border-bottom: solid 2px #e6e6e6;
    height: 28px;
    /*width: 50%;*/
    align-self: flex-end;
}

.centered-dropdown {
    -moz-text-align-last: center;
    text-align: justify;
    text-align-last: center;
    padding:0px;
}

.deletePhoneRow {
    float: right;
    margin-top: 5px;
    max-width: 100%;
}

.phones-checkbox-box {
    -ms-flex-flow: column;
    -webkit-flex-flow: column;
    flex-flow: column;
    width: 40px;
    display: normal;
}

    .phones-checkbox-box > label {
        align-self: center;
        height: auto;
        text-align: center;
        font-size: smaller;
        margin: 0px;
        display: block;
        -ms-flex-flow: row;
        -webkit-flex-flow: row;
        flex-flow: row;
    }

    .phones-checkbox-box > input {
        align-self: center;
        height: 20px;
        /*width: 50px;*/
        display: block;
        margin: 0px;
    }

@media screen and (min-width: 767px) {
    .phones-drop-down-box {
        width: calc(100% - 200px);
    }
}

@media screen and (max-width:766px) {
    .phones-label {
        width: 55px;
    }
    .phones-checkbox-box {
        width: calc((100% - 120px)/2);
    }
}

@media screen and (max-width:480px) {
    .phones-checkbox-box {
        width: 50%;
    }
    .deletePhoneRow {
        display:inline-block;
        float:none;
    }
}
@media screen and (max-width:346px) {
    .phones-row{
        width:100%;
    }
}
/*#endregion */

