/* =============================================================================
   HTML5 Boilerplate CSS: h5bp.com/css
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; font-size: 1em; line-height: 1.4; }

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }

a { color: #6ec0ff; text-decoration: none; cursor: pointer; }
a:visited { color: #6ec0ff; }
a:hover { color: #ef8e10; text-decoration: underline }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }

sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

svg:not(:root) { overflow: hidden; }

figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }



/* ===== Primary Styles ========================================================
   Author:
   ========================================================================== */











/* =============================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {
	/* Style adjustments for viewports that meet the condition */
}

/* =============================================================================
   Non-Semantic Helper Classes
   ========================================================================== */

.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

/* =============================================================================
   Print Styles
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}

/* =============================================================================
   HTML5 Boilerplate CSS: h5bp.com/css
   ========================================================================== */


@media only screen and (max-width: 1100px) {
    #Content.patients {padding:10px !important;}
    
  .typography table.definationTable {width:100% !important;}
#PatientsTable table,
  #PatientsTable tbody,
  #PatientsTable th,
  #PatientsTable td,
  #PatientsTable tr {
    	;}
    #Content table.definationTable tr th {width:auto !important;}
    
    .definationTable table,
  .definationTable tbody,
  .definationTable th,
  .definationTable td,
  .definationTable tr {
    display: block !important	;}
.res-only {display:block !important;}
.note-td {clear:both;}
.res-left {float:left;}
.res-right {float:right;text-align:right;}
}


@media only screen and (max-width: 800px) {
    .cn-title {font-size:2em;margin:20px 0;}
    .patients .float-left, .patients .float-right {float:none !important;}
    .main .inner {padding:0 !important;}
    
    #Content.patients #EditPatientRecordForm_EditPatientRecordForm .wizard > .steps > ul > li, #Content.patients #CreatePatientRecordForm_CreatePatientRecordForm .wizard > .steps > ul > li {
        
        width:100% !important;margin-bottom:10px;
    }
    
    .typography .wizard .steps li > a, .typography .tabcontrol .steps li > a {border-radius:5px !important;}
}
@media only screen and (min-width: 800px) {
.cn-title {font-size:3em !important;margin:40px 0 20px 0;}
}
@media only screen and (min-width: 1100px) {
   .note-td {width:80%;} 
}
.footer {display:none !important;}
.steps .number {display:none;}

.wizard > .steps a, .wizard > .steps a:hover, .wizard > .steps a:active {padding:10px !important;}

.wizard > .actions a, .wizard > .actions a:hover, .wizard > .actions a:active {background:#598D6F !important;}

.wizard > .steps .current a, .wizard > .steps .current a:hover, .wizard > .steps .current a:active {background: #447E95 !important;color:#fff !important;}

.brand img {max-width:100%;}

.edit-note {background:#447E95!important;}
.patient-details h2, .patient-details h4 { color: #fff !important;background: #8fbdb8 !important;padding:5px 10px;margin:0 !important;
}

.audit {padding:10px  !important;background:#eee !important;}

.patients .button.ccn {margin:40px 0 30px;}

#Content table.definationTable tr th {padding:0 !important;}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {background:#eee !important;}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {background:#598D6F !important;}

.patient-details {background:#e9f2f1;overflow:hidden;padding:10px 0 10px 10px;border:1px solid #d4e5e3;}
.patient-details tr {background:transparent !important;}

.cn-title {color:#333 !important;text-align:center;}
#PatientsTable tr {border-bottom:15px solid #fff; background-color: #e9f2f1}

.typography table td, .typography table th {border:0 !important;}
.note-td {border-bottom:3px solid #000 !important;}

.res-only {display:none;}
.brand h1 {font-size:2em !important;width:100%;text-align:center;}

.header {background-image:url('https://www.brisbanemercy.org.au/wp-content/themes/sistersofmercy/img/background.jpg') !important;}

.note-td {background-color:#f4f4f4;}

/* Layout */
#Container{
  width: 100% !important; /* Increase the width of the master container a bit */
}

div.patients{
    overflow: hidden;
    min-height: 500px;
}

div.patients > div{
    padding-bottom: 15px;
}

#Content.patients{
    padding: 20px 30px 30px 30px;
    width: 100%;
    font-size: 110%;
    box-sizing: border-box; /* To Solve some box model issues */
    position: relative;
}

.print-button-container{
  position: absolute;
  top: 15px;
  right: 20px;
}

.patients .float-left{
    float: left;
}
.patients .float-right{
    float: right;
}

.patient-details{

}
.patient-details .picture{
    width: 300px;
    float: left;
}
.patient-details .info{
    width: 700px;
    float: left;
}

/* Hide in Browser */
.show-in-print{
  display: none !important;
}

/* Print button */
.print-button-container button{
    border: none;
    border-radius: 10px;
    padding: 3px 15px;
}

/* Data Table */
#PatientsTable_length{
    float: right;
}
#PatientsTable_filter{
    float: left;
    margin-bottom: 15px;
}
#PatientsTable_filter label input[type="search"]{
    margin-left: 10px;
}

.typography table.dataTable  tr th.id-col{
  max-width: 30px;
}
.typography table.dataTable  tr th.remarks-col{
  width: 68px !important;
}
.typography table.dataTable  tr th{
  line-height: 17px !important;
}

/* defination table */
.typography table.definationTable{
    border-collapse: separate;
    border: none !important;
    width: 50%;
    float: left;
    box-sizing: border-box;
    padding: 0 10px 0 0;
}

#Content table.definationTable tr{
   border-bottom: 1px solid #ccc;  
}
#Content table.definationTable tr th{
  background-color: transparent;
  border-radius: 0px;
  text-shadow: none;
  vertical-align: top;
  line-height: 19px !important;
  height: auto !important; 
  padding: 7px 0px !important;
  width: 280px;
  border: none !important;
  border-bottom: solid 1px #d4e5e3 !important;
  margin-left: 0px;
  font-weight: bold;
  color: #000;
}
#Content table.definationTable tr td{
  border: none !important;
  padding: 7px 0 !important;
  vertical-align: top;
  padding-right: 0px;
  border-bottom: 1px solid #d4e5e3!important;

}
#Content table.definationTable ol,
#Content table.dataTable ol{
  margin: 0px;
  padding-left: 0px;
}
#Content table.definationTable ol li{
  font-size: 100%;
}

#Content table.dataTable ol{
  list-style-position: inside;
  margin-left: 0px;
}
#Content table#PatientsTable tr th.full-details{
  width: 65%;
}
#Content table.dataTable li{
    margin-left: 0px;
}

#Content table.dataTable dl{
  margin: 0;
  padding: 0;
}
#Content table.dataTable dt{
  font-weight: bold;
}
#Content table.dataTable dd{
  margin: 0 0 15px 0;
  
  border-bottom: solid 1px #eee;
}
#Content table.dataTable tr dd:last-child{
  border-bottom: none;

}
/*
* Links
*/
.toggle-additional-patient-details {
    background: #447E95;
    border-radius: 5px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight:500;
    color: #fff !important;
text-align:center;
    border: 0px;
    margin-top: 16px;
    margin-bottom: 10px;
    text-decoration: none;
    line-height: 20px;
    height: 20px;
    display: block;
}

.patients .button, .patients .button:hover{
    background: #598D6F;
    border-radius: 7px;
    margin: 40px 0 30px;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff !important;
text-align:center;
    border: 0px;
   
    text-decoration: none;
    line-height: 20px;
    height: 20px;
    display: block;
}

.patients .button:hover {}

/* Patients */
.typography ul.patient-top-nav-tabs{
    margin: 0;
    padding: 0 0 0 10px;
    list-style: none;
    float: left;
    clear: both;
    width: 100%;
    border-bottom: solid 1px #607d8b;
}
.typography ul.patient-top-nav-tabs li{
  display: inline-block;
  height: 35px;
  line-height: 35px;
  float: left;
  margin: 0px 5px 0px 0px;
  position: relative;
  bottom: 0px;
}
.typography ul.patient-top-nav-tabs a{
  padding: 0 20px;
  line-height: 35px;
  display: block;
  background-color: #607d8b;
  border: solid 1px #607d8b;
  border-bottom: none;
  color: #fff;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  transition: 0.2s;
  text-decoration: none;
}
.typography ul.patient-top-nav-tabs a:hover{
  background-color: #bfd7e2;
}
.typography ul.patient-top-nav-tabs a.current{
  background-color: #fff;
  border: solid 1px #607d8b;
  border-bottom: solid 1px #fff;
  color: #607d8b;
}
.typography ul.patient-top-nav-tabs a.current:hover{
  background-color: #bfd7e2;
}

.typography ul.audit-trails{
  margin:20px 30px;
  list-style-type: none;
  padding: 0 30px 0 0;
}
.typography ul.audit-trails li{
  margin:  0;
}

/* Typography */
.patients .inline{
    display: inline;
}
.typography.patients table tr th{
    font-size: 13px;
}
.typography.patients table tr td{
    padding: 15px;
}
.typography.patients table thead th{
    padding: 7px 10px;
}

/* Zen Message CSS */
.zenmessage {
    padding: 10px;
    border: 1px solid;
    font-size: 120%;
    border-radius: 5px;
    margin: 10px 0 20px 0 !important;
}

.zenmessage--success {
    border-color: #84cc84;
    background: #effbef;
}

.zenmessage--info {
    border-color: #f1e878;
    background: #fffde4;
}

.zenmessage--error {
    border-color: #f17878;
    background: #fdefef;
}


/* Forms */
#Content.patients form{
    width: 650px;
    overflow: hidden;
    margin: 0 auto;
}
#Content.patients #CreatePatientRecordForm form{
  width: 100%;
}

#Content.patients #CreatePatientRecordForm form .Actions{
  display: none; /* Hide the submit button as we'll be submitting this form through js */
}
/* Wizard Form  */
.typography .wizard ul,
.typography .wizard ul > li,
.typography .tabcontrol ul,
.typography .tabcontrol ul > li {
    margin: 0px;
}
.typography .wizard .steps ul,
.typography .wizard .steps ul > li,
.typography .tabcontrol .steps ul,
.typography .tabcontrol .steps ul > li{
  margin: 0px;
 
}
.typography .wizard .steps li > a,
.typography .tabcontrol .steps li > a{
  border: 0;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom: 0;
  margin: 0 2px 0 0;
  background:#eee;
  color:#447E95 ;
  text-align:center;
}
.typography .wizard .steps li > a:hover,
.typography .tabcontrol .steps li > a:hover {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
   color:#fff;
    
}
.typography .wizard .steps li.current > a:hover,
.typography .tabcontrol .steps li.current > a:hover {
    background-color: #9dc8e2;
}
.wizard > .steps .current a:hover,
.wizard > .steps .current a:active {
    color: #61778e;
}
.typography .wizard .actions ul,
.typography .tabcontrol .actions ul,
.typography .wizard .actions ul li,
.typography .tabcontrol .actions ul li {
    border: none;
}
.typography .wizard .actions li > a,
.typography .tabcontrol .actions li > a{
    border: 1px solid #61778e;
    border-radius: 5px;
}
.typography .wizard .actions li > a:hover,
.typography .tabcontrol .actions li > a:hover {
    background-color: #61778e;
}

form input.text, form textarea, form .textajaxuniquetext, form select {max-width:calc(100% - 20px) !important;}

.wizard > .content{
  /*min-height: 45em;*/
  
  background-color: #e9f2f1;
  
  border-top: 5px solid #447E95;
  border-bottom: none;
  margin: 0;
  padding: 10px;
  border-radius: 0;
}
.wizard > .content > .body{
  width: 100%;
  padding: 0 0 2.5% 0;
  position: relative;
  display: block;
  float: none;
}
.wizard > .content > .body ul{
 list-style-type: none !important;
 width: 100%;
}
.wizard.vertical > .content{
  margin: 0;
  width: 68%;
  margin-right: 0px;
  margin-left: 2%;
}
.wizard > .actions {
    background-color: #e9f2f1;
    border: 0;
    border-top: none;
    margin: 0;
    padding: 0 10px 4px 0;
    border-radius: 0;
    box-sizing: border-box;
}
#Content.patients .wizard > .steps > ul > li{
    width: 20%;
}
#Content.patients #EditPatientRecordForm_EditPatientRecordForm .wizard > .steps > ul > li,
#Content.patients #CreatePatientRecordForm_CreatePatientRecordForm .wizard > .steps > ul > li{
    width: 33.33%;
}
.wizard.vertical > .steps a{
  padding: 5px 10px;
}
.typography .wizard > .actions a{
  color: #fff;
  padding: 0.7em 3em;
  margin-left: 15px;
  font-size: 14px;
  margin-top:10px;
}

/* Float the next link to the right */
.typography .wizard > .actions li:nth-child(2) {
   float: right;
}

.typography .wizard > .actions .disabled a{
  color: #aaa;
}
/* end wizard form */

#Content.patients .field{
    overflow: hidden;
    margin-bottom: 10px;
}
#Content.patients .middleColumn{
    
}
#Content.patients input{
   margin: 0
}
#Content.patients input.action{
    display: block;
    width: 30%;
    float: right;
    height: 40px;
    line-height: 40px;
    margin: 20px auto 50px auto;
    background-color: #61778e;
    color: #fff;
    padding: 0px;
}

#Content.patients input.text{
   height: 25px;
   line-height: 25px;
   background-color: #fff;
}

#Content.patients input.checkbox{
    position: relative;
    top: 10px;
}
#Content.patients form select {
    background-color: #fff;
}
#Content.patients form textarea{
    margin-bottom:10px;
      background-color: #fff;
}
#Content.patients form label.left,
#Content.patients form label.right,
#Content.patients form label.fieldholder-small-label{
    
    text-align: left;
    margin-left: 0;
    padding-top: 7px;
}
#Content.patients form span.description{
    display: block;
    clear: both;
    margin-left: 220px;
    color: #888;
}

/* Add Another Field */
a.add-another,
a.show-next-specialist{
  padding: 0 20px 0 10px;
  display: block;
  width: 145px;
  line-height: 27px;
  border-radius: 4px;
  text-align:center;
  background-color:#598D6F !important;
  color: #fff !important;

}
.add-another-parent {display:none !important;}

/* Remove the reorder sign from the last input field */
.multivaluefieldlist li {list-style-type:none !important;}

.multivaluefieldlist > li.add-another-parent{
    
  padding-top: 10px;
}

.multivaluefieldlist > li::after {
    content: ""!important;
    cursor: pointer;
}

/* Hide Specialist form groups until (show with js) */
form .fieldgroup.hide {
  display: none;
}

form#EditPatientForm_EditPatientForm .fieldgroup  a.show-next-specialist{
  /*display: none !important;*/
}

/*form  error messages */
.message, 
.holder-validation { 
  overflow: hidden; 
  clear: both; 
}

.message.validation, 
.holder-validation.validation { 
  color: red !important; 
}

.holder-validation input.parsley-success, 
.holder-validation select.parsley-success, 
.holder-validation textarea.parsley-success { 
  color: #468847 !important; 
  background-color: #DFF0D8 !important; 
  border: 1px solid #D6E9C6 !important; 
}

input.parsley-success, 
select.parsley-success, 
textarea.parsley-success { 
  color: #468847 !important; 
  background-color: #DFF0D8 !important; 
  border: 1px solid #D6E9C6 !important; 
}

.parsley-required { 
  color: red !important; 
}

.holder-validation input.parsley-error, 
.holder-validation select.parsley-error, 
.holder-validation textarea.parsley-error { 
  color: red !important; 
  background-color: #F2DEDE !important; 
  border: 1px solid #EED3D7 !important; 
}

input.parsley-error, 
select.parsley-error, 
textarea.parsley-error { 
  color: red !important; 
  background-color: #F2DEDE !important; 
  border: 1px solid #EED3D7 !important; 
}

.parsley-errors-list { 
  overflow: hidden; clear: both; padding: 0; list-style-type: none; 
  font-size: 1rem; opacity: 0;  position: relative; 
  top: -0.57143rem; transition: all .3s ease-in; 
}

.parsley-errors-list li { 
  padding-top: 0.14286rem; 
}

.typography ul.parsley-errors-list{
  margin: 0 0 0 0!important;
}
.typography ul.parsley-errors-list.filled { 
  opacity: 1; 
  margin-left: 210px !important;
  padding-top: 7px;
}
.additional-patient-details {
    display: none;
}
.print-medical-record {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
}
.print-medical-record h4 {
    color: #666!important;
    font-family: ZapfHumanist601, Helvetica, Arial!important;
    margin: 0 0 20px 0!important;
}
.print-medical-record h4 span {
    text-decoration: underline;
    font-weight: bold!important;
}
.print-medical-record h5 {
    color: #666!important;
    font-family: ZapfHumanist601, Helvetica, Arial!important;
    margin: 0!important;
}
.print-medical-record ul {
    margin: 0;
    padding: 0;
}
.print-medical-record ul ol {
    margin: 0 0 0 20px;
    padding: 0;
}
.print-screen.print-button-container {
    right: 15px!important;
    top: 100px!important;
}

/* Misc */
.page-break{
    margin: 0;
    padding: 0;
    padding-bottom: 0px !important;
    height: 1px;
    width: 100%;
    display: block;
    overflow: hidden;
    box-sizing: border-box;
    page-break-after: always;
}
.delete-this-patient-note {
    float: right;
}