/*START CUSTOM EDITS*/

body {
	color: #764C29;
}

body .testing {
    display:none !important;
}

body.testing .testing {
    display: block !important;
}

body.testing span.testing {
    display: inline !important;
}

a {
    color: #764C29;
}

.site-content a,
.btn-primary {
    border-bottom: 1px dashed #764C29;
}
.site-content a.btn-primary {
    border-bottom: 1px dashed #764C29;
    background-color: #764C29;
}

a:hover, a:focus {
	color: #f1c40f;
	border-color: #f1c40f;
    text-decoration: underline;
    text-decoration: none;
    outline: 0;
}

button:hover, button:focus, html input[type="button"]:hover, html input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:focus {
    color: #fff;
    background-color: #f1c40f;
    border-color: #f1c40f;
}

#changePic + form {
    display: none;
}

.action_link_subscript {
    font-size: 50%;
    font-weight: 500;
    vertical-align: middle;
    margin-left: 5px;
    font-style: italic;
    border: 0;
    letter-spacing: 1px;
    white-space: nowrap;
}

.chaching_logo_mobile_header {
    width: 215px;
    margin-right: 30px;
    margin-left: 16px;
    margin-top: 15px;
    margin-bottom: 10px;
}

img.icon-site_back_button {
    width: 55px;
    vertical-align: top;
    cursor: pointer;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #764C29;
}

.navbar-default .navbar-toggle {
    border: 0;
}

header.content-header {
    min-height: 0;
    background: 0;
    color: #764C29;
        padding: 0 0 10px;
}

.content-header h1, .content-header h2, .content-header h3 {
    color: #764C29;
}

#page_thumbnail img {
    max-width: 150px;
    margin: 25px auto 0;
    display: block;
    border-radius: 50%;
}

.pmagic.resident_prof .pm-group-view .pm-profile-image {
    margin: 0 auto;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
}

.pmagic.resident_prof .pm-header-section {
    border: 0;
    background: 0;
    padding: 0px 0 !important;
    overflow: visible;
}

.pmagic.resident_prof .pm-group-view .pm-profile-title-header {
    height: 130px !important;
}

.pmagic.resident_prof .pm-group-view.pm-dbfl {
    max-width: none;
}

.navbar-default {
    background: none;
    border: 0;
}

.rprofile h1 {
    color: #764C29;
    font-weight: 700;
    font-size: 22px;
    text-align: center;
    margin-bottom: 0;
}

.rprofile_sub {
    text-align: center;
    text-transform: uppercase;
    font-weight: 500;
    color: #764C29;
    letter-spacing: 1px;
    font-size: 14px;
    line-height: 1.75;
}

.rprofile table {
    border-collapse: separate;
    border-spacing: 0 8px;
}
.rprofile table, .rprofile .row {
    font-size: 14px;
    margin: 0 auto;
        table-layout: fixed;
}

.rprofile .table>tbody>tr>td {
    background-color: #ebebeb;
    vertical-align: middle;
    padding-top: 12px;
    padding-bottom: 12px;
    text-transform: uppercase;
}/*
.rupdate .table>tbody>tr>td {
	font-weight: 500;
}*/

.rprofile td:first-child { 
	border-top-left-radius: 10px; 
	border-bottom-left-radius: 10px; 
	padding-left: 15px;
}

#rdetails td:first-child { 
    padding-left: 30px;
}

.rprofile td:last-child { 
	border-top-right-radius: 10px; 
	border-bottom-right-radius: 10px; 
	padding-right: 15px;
	font-weight: bold;
    text-transform: uppercase;
}

section.bg-greenish-gray h4,
section.bg-greenish-gray h3 {
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    font-size: 18px;
    margin: 7px 0 5px;
    letter-spacing: 1px;
}

section {
    padding: 15px 0;
}

div.white_curve {
    width: 100%;
    height: 100px;
    display: flex;
    overflow: visible;
    z-index: 0;
}
    
    div.white_curve:before {
    content: '';
    position: relative;
        top: -50px;;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFF;
    border-radius: 0 0 50% 50%/ 0 0 100% 100%;
    transform: scaleX(1.3);
    box-shadow: 0px 7px 6px #00000045;
}

.below-white-curve {
    padding-top: 68px;
        margin-top: -100px;
}

.resident_prof .pm-group-view .pm-profile-image img {
	    border-radius: 22px;
    -moz-border-radius: 22px;
    -webkit-border-radius: 22px;
        width: 120px;
    height: 120px;
}

.pmagic.resident_prof .pm-group-view .pm-profile-image {
		    border-radius: 22px;
    -moz-border-radius: 22px;
    -webkit-border-radius: 22px;
}

.pm-user-name.pm-dbfl.pm-clip {
    text-overflow: unset;
    overflow: inherit;
}

.bg-greenish-gray {
	background-color: #cbc8b7;
}

.rupdate input[type="radio"] + svg {
    height: 50px;
    width: 50px;
    margin: 0;
}

.rupdate input[type="radio"] + svg,
.rupdate input[type="radio"] + span,
.rupdate input[type="radio"] + svg + span {
  fill: #d0d0d0;
  color: #d0d0d0;
  font-weight: bold;
  cursor: pointer;
  -webkit-transition: all 0.2s;
	transition: all 0.2s;
	    text-align: left;
}

.modal .rupdate input[type="radio"] + svg,
.modal .rupdate input[type="radio"] + span,
.modal .rupdate input[type="radio"] + svg + span {
  fill: #939393;
  color: #939393;
}
.rupdate input[type="radio"] + svg,
.rupdate input[type="radio"] + svg + span {
  display: block;
  max-width: 86px;
}



.rupdate input[type="radio"]:hover + svg,
.rupdate input[type="radio"]:hover + span,
.rupdate input[type="radio"]:hover + svg + span,
.rupdate input[type="radio"]:checked + svg,
.rupdate input[type="radio"]:checked + span,
.rupdate input[type="radio"]:checked + svg + span,
.rupdate input[type="radio"]:focus + svg,
.rupdate input[type="radio"]:focus + span,
.rupdate input[type="radio"]:focus + svg + span {
    fill: #764C29;
  color: #764C29;
}

.resident_display_area .rupdate input[type="radio"],
.resident_display_area .rupdate input[type="radio"] + svg,
.resident_display_area .rupdate input[type="radio"] + span,
.resident_display_area .rupdate input[type="radio"] + svg + span{
    display: none;
    visibility:hidden;
}

.resident_display_area .rupdate input[type="radio"]:checked + svg,
.resident_display_area .rupdate input[type="radio"]:checked + span,
.resident_display_area .rupdate input[type="radio"]:checked + svg + span{
	    display: table-header-group;
    visibility: visible;
}


.resident_display_area .wpcf7-list-item-label img {
    width: 75px;
    min-width: 75px;
    margin-left: -12px;
}

.form_view_only input[type="submit"] {
	display: none !important;
	visibility: hidden !important;
}

.form_view_only label {
    margin-bottom: 0;
}

.form_view_only .wpcf7-list-item {margin-left: 0 !important;}


.form_view_only #photos input[type="submit"] {
        display: block !important;
    visibility: visible !important;
}

.form_view_only .wpcf7-form-control-wrap {
	pointer-events: none;
}

.form_view_only input[type="number"],
.form_view_only input[name="rupdate_nursing-blood_pressure"] {
    background: none;
    border: 0;
    font-size: 26px;
    max-width: 200px;
}

.form_view_only input[type="text"]{
    background: none;
    border: 0;
}

.wpcf7-list-item {
    display: inline-block;
    margin: 0 0 0 1em;
    vertical-align: top;
}

#last_updated_text {
	    text-transform: uppercase;
    font-size: 75%;
    font-weight: 500;
}

.yellow_box_last_updated {
    background: #fdc53e;
    margin-top: 15px;
    border-radius: 22px;
    -moz-border-radius: 22px;
    -webkit-border-radius: 22px;
    padding: 15px 5px;
    margin-right: -15px;
	padding-left: 10px;    
}

#updated_by_this_caregiver {
    padding-top: 10px;
    line-height: 1.2;
        text-transform: uppercase;
    text-align: center;
    font-size: 14px;
}

#updated_by_this_caregiver img {
    width: 85px;
    margin-bottom: -6px;
}

.pmagic.resident_prof .pm-group-view .pm-profile-title-header {
    height: 102px !important;
}
.pmagic.resident_prof .pm-profile-title-header .pm-profile-image .pg-profile-change-img {
    line-height: 140px;
}

.rtab h3 a[onclick] {
    border: 0;
    color: #ebebeb !important;
    font-size: 40px;
    font-weight: 100;
        margin-top: 15px;
}

.rtab h3{
	max-width: 500px;
	margin-left:  auto !important;
	margin-right:  auto !important;
}

.rtab h3 > span{
    display: inline-block;
}

/*.rtab h3 > span > span:first-child {
    background: #ebebeb;
    padding: 24px;
    font-size: 24px;
    border-radius: 22px;
    margin-right: 15px;
    margin-bottom: 15px;
}*/

.rtab h3 > span > span:nth-child(2) {
        max-width: 200px;
    display: inline-block;
    width: min-content;
    vertical-align: middle;
    margin-top: -12px;
    line-height: 1.4;
}

.view_all_activated .rtab h3 a[onclick] {
    display: none;
    visibility: hidden;
}
.view_all_activated .rtab h3.view_all a[onclick] {
    display: block;
    visibility: visible;
}

section.bg-greenish-gray.view_all_activated h3 {
    margin: 20px 0 0px;
}

section.bg-greenish-gray.view_all_activated h3.view_all {
    margin: 7px 0 5px;
}

.view_all .header_text {
    margin-top: 25px;
    margin-bottom: 23px;
    font-size: 150%;
}

#add_rupdate .rupdate .table>tbody>tr>td {
	    display: block;
}
#add_rupdate .rupdate .table>tbody>tr {
    margin-bottom: 30px;
    display: block;
}

#add_rupdate .rupdate .table>tbody>tr>td .wpcf7-list-item {
    display: block;
}

#add_rupdate [data-name="rupdate_behaviour-mood"] .wpcf7-list-item,
#add_rupdate [data-name="rupdate_behaviour-interaction"] .wpcf7-list-item,
#add_rupdate [data-name="rupdate_behaviour-family_connection"] .wpcf7-list-item {
    display: inline-block !important;
}

.modal .rupdate input[type="radio"] + svg, .modal .rupdate input[type="radio"] + span, .modal .rupdate input[type="radio"] + svg + span {
    text-align: center;
}

.modal .rupdate input[type="radio"] + svg {
    margin: 0 auto;
}

.modal .rtab td {
    width: 100% !important;
}

.residents_listing img {
    border-radius: 21%;
    -moz-border-radius: 21%;
    -webkit-border-radius: 21%;
    width: 70px;
    float: left;
    margin-right: 15px;
}
.residents_listing h4 {
    font-weight: 700;
}

/* .residents_listing h4 > span {
    font-weight: 400;
    font-size: 80%;
    font-style: italic;
} */

.residents_listing .row > div:nth-child(2) > div {
    font-size: 14px;
    font-weight: 500;
}

.residents_listing .row {
    padding: 0;
    background: #E3E3D8;
    margin: 10px 0;
}

._col-xs-9 {
    position: relative;
    z-index: 3;
    padding: 10px;
}

.color_bar {
    width: 0;
    height: 7px;
    background: green;
    /* position: absolute; */
    z-index: 2;
    margin-bottom: -7px;
}

.residents_listing .row.zero_progress {
    background: #ffffff;
    border: 1px solid #a6a6a6;
}

.residents_listing .row.zero_progress h4 {
    color: gray;
}

@media print {
	
  .residents_listing > div {
    break-inside: avoid;
  }
	
	a[href]::after { content: none ! important; }
	.residents_listing h4 {
    font-size: 14px;
}
	.print_hide {
		display:none;
	}
} 

* {
    color-adjust: exact !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
}

.residents_listing a:hover {
    color: inherit;
}

.residents_listing .row:hover {
    opacity: 0.6;
}

.residents_listing h4 {
    font-weight: 700;
    margin: 5px 0 4px;
}

h1.page-title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 30px;
}

@media only screen and (max-width: 479px) {
	.csscalc .pm-group-view .pm-profile-title {
	    margin-top: 147px;
	}
}
.modal img.chaching_icon,
.resident_display_area img.chaching_icon {
    width: 80px;
    background: #ebebeb;
    padding: 10px;
    font-size: 24px;
    border-radius: 22px;
    margin-right: 15px;
    margin-bottom: 15px;
}

.modal td img.chaching_icon,
.rprofile td img.chaching_icon {
    background: #ffffff;
    border-radius: 50%;
}

.modal td img.chaching_icon {
    display: none;
}

.modal td:first-child img, .rprofile td:first-child img {
    min-width: 80px;
    margin: 0;
    padding: 5px;
}

.modal .rtab h3 > span > span:nth-child(2) {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 3px;
    font-size: 22px;
}

.modal h3 {
    margin: 0 !important;
}

[name="raccess"] {
    margin: 15px 0;
    padding: 10px;
}

.rupdate_behaviour>tbody>tr>td:nth-child(2) {
    max-width: 100px;
}

.modal .rupdate_behaviour>tbody>tr>td:nth-child(2) {
    max-width: none;
}

.navbar-nav {
    margin-top: 17px;
}

img.icon-site_latest_update {
    min-width: 39px;
    background: #ffffff;
    border-radius: 50%;
    padding: 3px;
}

#demo {
    background: #fabda8;
    padding: 30px;
    border-radius: 22px;
    max-width: 250px;
    margin-top: 15px;
}

.medication_listing > .row div[class^=col] {
    padding: 0;
}

.medication_listing > .row {
    text-align: center;
    background: #ebebeb;
    margin-top: 8px;
    border-radius: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
/*    padding-left: 15px;
    padding-right: 15px;
*/    text-transform: uppercase;
    font-weight: 600;
}

.medication_listing > .row.regime {
    background: #fdc53e;
    margin-bottom: 20px;
}
.white_circle {
        background: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
        margin-top: -7px;
    margin-left: 10px;
    margin-bottom: -7px;
    line-height: 1.1;
}

.rmedication_no_container {
    padding-top: 8px;
    margin-top: 0;
    margin-bottom: 0;
}

.rmedication_no_container > div:nth-child(1) {
        font-size: 11px;
}

.rmedication_no_container > div:nth-child(2) {
        font-size: 24px;
}

.rmedication_frequency {
    padding-top: 17px;
    font-weight: bold;
    font-size: 17px;
    margin-bottom: 3px;
}

.rmedication_frequency + div {
    font-size: 9px;
    margin-left: 10px;
        text-align: left;
}

.regime img {
    width: 35px;
    margin: -3px 0;
}
.rgridview img.chaching_icon {
    width: 100%;
    margin: 0;
}

.rgridview .rgrid_icon_label {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 11px;
    text-align: center;
    margin: 10px 0 25px;
}

.below-white-curve > .container {
    padding-top: 37px;
}

.below-white-curve.resident_display_area {
    padding-top: 33px;
}

#photos div[class^=col-xs] img {
    width: 100%;
}

#photos div[class^=col-xs] {
    padding: 2px;
}

.rupdate_rehab tr > td:nth-child(3) img {
    min-width: 75px;
}

#photos form strong {
    text-transform: uppercase;
}

#photos input.files {
    padding: 20px 0;
}

#photos form {
    margin: 15px 0 30px;
    background: #ebebeb;
    padding: 30px;
    border-radius: 22px;
}

#imagemodal .modal-dialog {
    margin: 0 auto;
    width: 100%;
}

#imagemodal .modal-content {
    background: none;
}

#imagemodal button.close {
    color: white;
    opacity: 1;
    font-weight: 300;
    font-size: 100px;
}

#imagemodal .modal-body {
    padding: 0;
}

.modal-backdrop {
    opacity: 0.8 !important;
}

#medication {
    margin-bottom: 50px;
}

#rdetails-location > span {
    font-size: 11px;
    font-weight: 500;
    text-transform: none;
}

#rdetails-location {
    line-height: 1.3;
}

.rtab td:nth-child(1) {
    width: 24%;
}

.rtab td:nth-child(2) {
    width: 54%;
}

.rtab td:nth-child(3) {
    width: 27%;
}

@media (max-width: 400px) {
    .rtab td:nth-child(1) {
        width: 40%;
    }

    .rtab td:nth-child(2) {
        width: 54%;
    }

    .rtab td:nth-child(3) {
        width: 40%;
    }
    .row.regime > div > .row > div[class^=col-xs] > div:nth-child(1) {
    font-size: 2.7vw;
    }

    .white_circle {
        width: 13vw;
        height: 13vw;
    }

    .rmedication_frequency {
        font-size: 3.5vw;
        padding-top: 4.8vw;
    }

    .rmedication_no_container > div:nth-child(1) {
        font-size: 2.3vw;
    }

    .rmedication_no_container > div:nth-child(2) {
        font-size: 6vw;
    }

    .rmedication_no_container {
        padding-top: 1.7vw;
    }

    .rmedication_frequency + div {
        font-size: 2.1vw;
    }
    .rprofile table, .rprofile .row {
        font-size:  4vw;
    }
    .form_view_only input[type="number"], .form_view_only input[name="rupdate_nursing-blood_pressure"] {
            font-size: 6vw;
    }
    .modal td:first-child img, .rprofile td:first-child img {
            min-width: 20vw;
    }
    .yellow_box_last_updated {
        font-size: 4vw;
    }
    .yellow_box_last_updated > .row > div:nth-child(1) {
            padding-right: 0;
    }
    .rgridview .rgrid_icon_label {
        font-size: 3vw;
    }
    body {
        font-size: 14px;
    }
}

#rdetails.rtab td:nth-child(1),
#visit.rtab td:nth-child(1)
 {
    width: auto;
}

#rdetails.rtab td:nth-child(2),
#visit.rtab td:nth-child(2)
 {
    width: auto;
}

#rdetails.rtab td:nth-child(3),
#visit.rtab td:nth-child(3)
 {
    width: auto;
}

#rdetails table {
        table-layout: auto;
}

.modal_image_timestamp {
    float: inherit;
    color: white;
    padding: 8px;
    background-color: black;
    text-align: center;
}

@media (min-width:1200px){
    .auto-clear .col-lg-1:nth-child(12n+1){clear:left;}
    .auto-clear .col-lg-2:nth-child(6n+1){clear:left;}
    .auto-clear .col-lg-3:nth-child(4n+1){clear:left;}
    .auto-clear .col-lg-4:nth-child(3n+1){clear:left;}
    .auto-clear .col-lg-6:nth-child(odd){clear:left;}
}
@media (min-width:992px) and (max-width:1199px){
    .auto-clear .col-md-1:nth-child(12n+1){clear:left;}
    .auto-clear .col-md-2:nth-child(6n+1){clear:left;}
    .auto-clear .col-md-3:nth-child(4n+1){clear:left;}
    .auto-clear .col-md-4:nth-child(3n+1){clear:left;}
    .auto-clear .col-md-6:nth-child(odd){clear:left;}
}
@media (min-width:768px) and (max-width:991px){
    .auto-clear .col-sm-1:nth-child(12n+1){clear:left;}
    .auto-clear .col-sm-2:nth-child(6n+1){clear:left;}
    .auto-clear .col-sm-3:nth-child(4n+1){clear:left;}
    .auto-clear .col-sm-4:nth-child(3n+1){clear:left;}
    .auto-clear .col-sm-6:nth-child(odd){clear:left;}
}
@media (max-width:767px){
    .auto-clear .col-xs-1:nth-child(12n+1){clear:left;}
    .auto-clear .col-xs-2:nth-child(6n+1){clear:left;}
    .auto-clear .col-xs-3:nth-child(4n+1){clear:left;}
    .auto-clear .col-xs-4:nth-child(3n+1){clear:left;}
    .auto-clear .col-xs-6:nth-child(odd){clear:left;}
}
#t_uid {
    display: none;
}
.bm_font {
    font-size:80%;
}

.ffmwp-search-input {
    color: black;
}

body:not(.testing) .ffmwp-modal-col-left {
    width: 100%;
    padding: 0;
}

body:not(.testing) .ffmwp-modal-col-right {
    display: none;
}

.testing .ffmwp-modal-col-right {
    width: calc(70% - 20px);
    padding: 0 10px;
}

.blockUI.blockOverlay {
    opacity: 0.1 !important;
}

.uploading .progressbar .progress {
    background: #007bff;
    color: white;
    font-weight: bold;
    margin-bottom: 0;
    border-radius: 0;
}

.uploading .progressbar {
    border: 3px solid #003c7c;
    margin-bottom: 22px;
    background-color: #abd3ff;
}

.ffmwp-file-info {
    text-overflow: unset !important;
    white-space: normal!important;
}

.ffmwp-file-thumbnail {
    width: auto !important;
    height: auto !important;
}

.ffmwp-file {
    padding: 0 !important;
}
/* .ffmwp-modal-file-thumb {
    width: 100% !important;
    height: auto !important;
    max-height: 300px;
} */

.ffmwp-modal-file-thumb {
    cursor: pointer;
}
.ffmwp-modal {
    z-index: 13 !important;
}