/* general */
body {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
h1, h2 {
	font-weight: 500;
}

h1 span {
	font-size: 24px;
}

h3, a.navbar-brand {
	font-weight: 100;
}

a, p {
	font-weight: 200;
}

table img {
	height: 56px;
	width: 56px;
}

#patient-search {
	max-width: 170px;
}

.well {
	background-color: #ebebeb;
	border-color: #ebebeb;
}

h1 {
	border-bottom: 1px #dddddd solid;
	padding-bottom: 5px;
}
ul{padding-left:0;}
ul > li{
	list-style: none;
}

ol {
    counter-reset:li; /* Initiate a counter */
    margin-left:0; /* Remove the default left margin */
    padding-left:0; /* Remove the default left padding */
}
ol > li {
    position:relative; /* Create a positioning context */
    margin:25px 0 6px 2em; /* Give each list item a left margin to make room for the numbers */
    padding:4px 8px; /* Add some spacing around the content */
    list-style:none; /* Disable the normal item numbering */
    /* border-bottom: 1px #dddddd solid; */
    /* background:#f6f6f6; */
}
ol > li:before {
    content:counter(li); /* Use the counter as content */
    counter-increment:li; /* Increment the counter by 1 */
    /* Position and style the number */
    position:absolute;
    top:2px;
    left:-2em;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    width:2em;
    /* Some space between the number and the content in browsers that support
       generated content but not positioning it (Camino 2 is one example) */
    margin-right:8px;
    padding:4px;
    /* border-top:2px solid #666; */
    border-radius: 20px;
    color:#fff;
    background:#273644;
    font-weight:bold;
    font-family:"Helvetica Neue", Arial, sans-serif;
    text-align:center;
}
li ol,
li ul {margin-top:6px;}
ol ol li:last-child {margin-bottom:0;}

ol li h2 {
	margin: 0 0 25px 0;
	font-size: 20px;
	font-weight: 200;
	border-bottom: 1px #dddddd solid;
	padding-bottom: 10px;
	
}

ol li h3 {
	font-size: 15px;
	font-weight: 200;
	margin: 0 0 10px 0;
}

.accountmenu li a:hover {
	background-color: #2c6d9c;
}

.footer{
	margin:100px 0 20px 0;
}

.navbar-default .navbar-nav .open .dropdown-menu > li > a {
	color: #555555;
}

.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
	color: #fff;
}

strong {
	font-weight: 400;
}

.navbar-default .navbar-nav > li > a, .navbar-default a.navbar-brand {
	color: #fff;
}

.navbar-default {
	background-color: #2c6d9c;
}

.navbar-default .navbar-header a:hover, .navbar-default .navbar-collapse .nav a:hover {
	color: #2c3e50;
}

.navbar-default .badge {
	background-color: #e74c3c;
	color: #fff;
	border: 1px #fff solid;
	margin-right: 5px;
	padding: 3px 6px;
}

.navbar a.favorites, .navbar a.doctors-index-external, .navbar-default .navbar-collapse .nav a.favorites:hover, .navbar-default .navbar-collapse .nav a.doctors-index-external:hover {
	background-color: #27ae60;
	margin: 6px 10px 0 10px;
	border-radius: 3px;
	height: 38px;
	line-height: 38px;
	padding: 0 20px;
	-webkit-box-shadow: 0px 3px 5px 0px rgba(27,122,67,1);
	-moz-box-shadow: 0px 3px 5px 0px rgba(27,122,67,1);
	box-shadow: 0px 3px 5px 0px rgba(27,122,67,1);
}

.navbar-default .navbar-collapse .nav a.referral:hover {
	background-color: #27ae60;
}

ul.nav-wizard{
	margin-bottom: 14px;
}

.btn-info, .btn-info:hover {
	background-color: #27ae60;
	border-color: #27ae60;
	-webkit-box-shadow: 0px 3px 5px 0px rgba(27,122,67,1);
	-moz-box-shadow: 0px 3px 5px 0px rgba(27,122,67,1);
	box-shadow: 0px 3px 5px 0px rgba(27,122,67,1);
}

.cancel-link, .cancel-link:hover {
  color: #27ae60;
  margin-top: 2.5em;
  margin-left: 10px;
  margin-right: 10px;
}

.btn-cancel, .btn-cancel:hover {
  color: #fff;
	background-color: #DE0000;
	border-color: #DE0000;
	-webkit-box-shadow: 0px 3px 5px 0px rgba(222,0,0,1);
	-moz-box-shadow: 0px 3px 5px 0px rgba(222,0,0,1);
	box-shadow: 0px 3px 5px 0px rgba(222,0,0,1);
}

.btn-search, .btn-search:hover  {
	color: #fff;
	background-color: #2c6d9c;
	border-color: #2c6d9c;
	-webkit-box-shadow: 0px 3px 5px 0px rgba(39,54,68,1);
	-moz-box-shadow: 0px 3px 5px 0px rgba(39,54,68,1);
	box-shadow: 0px 3px 5px 0px rgba(39,54,68,1);
}

.update-favorites {
	font-size: 20px;
	bottom: 0;
    margin: 0 0 4px 10px;
    position: absolute;
}

#search-results .update-favorites {
    position: relative;
}

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

/* login */

.form-signin {
	max-width: 330px;
	padding: 15px;
	margin: 0 auto;
}

.form-signin h1, h1.signup {
	border-bottom: 0;
}

.form-signin fieldset {
	background-color: #ebebeb;
}

.form-signin input, .form-signin button {
	max-width: 250px;
	margin: 10px auto;
}

.form-signin button {
	margin-top: 30px;
	background: #35495d;
	border-color: #35495d;
}

.form-signin h1, h1.signup {
	color: #2c6d9c;
	font-weight: 100;
	font-size: 56px;
}

.form-signin legend {
	color: #fff;
	background-color: #2c6d9c;
	height: 50px;
	line-height: 50px;
}

.form-signin h2 {
	margin: 0 0 0 15px;
	line-height: 50px;
	font-size: 20px;
	font-weight: 200;
}

.form-signin label, .form-signin a {
	color: #7d7d7d;
	line-height: 30px;
	font-weight: normal;
	font-size: 12px;
}

.form-signin label {
	margin-left: 45px;
	width: 100px;
}

.form-signin a {
	margin-right: 20px;
	text-decoration: underline;
}

.passreset a {
	margin-right: 0;
	line-height: 0;
	font-size: 14px;
}

/* make referral */
.make-referral {
	background-color: #ebebeb;
	padding: 0;
	margin: 15px;
	font-size: 13px;
	height: 275px;
}

.make-referral, .make-referral h3, 
.make-referral h4, .make-referral-header, 
.make-referral a, .make-referral div {
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}
.make-referral label {
	margin: 0 0 6px 0;
	padding: 0 0 0 14px;
}

.make-referral address{
	margin: 0 0 6px 0;
}

.make-referral-header {
	background-color: #2c6d9c;
	margin: 0 0 20px 0;
	height: 56px;
	position: relative;
	padding: 0;
}

.make-referral-header h3 {
	font-size: 17px;
	font-weight: bold;
	color: #fff;
	/* float: left; */
	margin: 12px 0 0 12px;
	padding: 0;
	display: block;
}

.make-referral-header h4 {
	/* float: left; */
	display: block;
	font-size: 15px;
	color: #fff;
	margin: 0 0 12px 12px;
	padding: 0;
	font-weight: 100;
}

.make-referral-header img {
	float: left;
	height: 56px;
	margin-right: 12px;
	
}

.make-referral a {
	color: #2c6d9c;
}

.make-referral .btn-row {
	margin:0;
}

.make-referral .btn-wrap{
	bottom: 0;
    height: 46px; /* forces #testmenu to the bottom */
    margin: 0 auto;
    position: absolute;
    width: 100%;
}

.make-referral .btn-wrap a.btn {
	color: #fff;
	overflow: hidden;
	top: 0;
	margin:0 auto;
	height: 34px;
}

/* form elements */
.multi-selector {
	background-color: #f2f2f2;
	color: #777777;
	text-decoration: none;
	padding: 12px;
	margin-bottom: 12px;
	font-weight: bold;
	display: block;
	width:90%;
}

.multi-selector span {
	display: block;
	font-size: 12px;
}

.multi-selector:hover {
	background-color: #d9d9d9;
	text-decoration: none;
	color: #777777;
}

.tooth-chart {
	margin-bottom: 20px;
}

.tooth {
	background-color: #f2f2f2;
	color: #777777;
	text-decoration: none;
	font-weight: bold;
	text-align: center;
	border: 1px #b5b5b5 solid;
}

.tooth:hover {
	background-color: #d9d9d9;
	text-decoration: none;
	color: #777777;
}

.deciduous-tooth {
	padding: 5px 0;
	margin: 3px;
	width: 43px;
	display: inline-block;
	border-radius: 4px;
}

.permanent-tooth {
	padding: 5px 0;
	margin: 3px;
	display: inline-block;
	border-radius: 4px;	
}

.square {
	width: 27px;
}

.circle {
	width: 20px;
	border-radius: 20px;
}

.frisbee {
	width: 20px;
	padding: 0;
	margin: 8px 3px;
}

a.selected, .selected, .selected:hover {
	background-color: #2c6d9c;
	color: #fff;
	text-decoration: none;
}

.deciduous-top-left, .permanent-top-left, .permanent-bottom-left, .deciduous-bottom-left {
	border-right: 2px #333333 solid;
	text-align: right;
}

.permanent-top-left, .permanent-top-right {
	border-bottom: 2px #333333 solid;
}

.critical .task-label, .critical .label {
	background: #952715;
}

.high .task-label, .high .label {
	background: #f26f21;
}

.medium .task-label, .medium .label   {
	background: #f39f09;
}

.low .task-label, .low .label  {
	background: #6da79b;
}

.critical a {
	color: #952715;
}

.high a  {
	color: #f26f21;
}

.medium a  {
	color: #f39f09;
}

.low a  {
	color: #6da79b;
}

.task-label {
	display: block;
	padding: 15px;
	text-align: center;
	border-radius: 10px;
	color: #fff;
	margin-bottom: 10px;
}

.unread {
	font-weight: bold;
	text-transform: uppercase;
}

.task-list, .task-filter {
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 1px solid #e7e7e7;
}

.task-comments {
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-top: 1px solid #e7e7e7;
	border-bottom: 1px solid #e7e7e7;
}

.task-comments .row {
	margin-top: 20px;
	margin-bottom: 20px;
}

.due-date {
	background: #952715;
	color: #fff;
	padding: 5px 15px;
	margin-left: 5px;
	border-radius: 10px;
	font-size: 12px;
	text-transform: uppercase;
}

.task-review-mainbar {
	padding: 40px;
}

.task-review-sidebar {
	padding: 40px;
}

.task-review-sidebar {
	background: #E6E6E6;
}

.error {
	color: #952715;
}

.doctor-avatar {
	float: left;
	height: 56px;
	margin-right: 18px;
	overflow: hidden;
	position: relative;
	width: 56px;
}

.doctor-avatar span {
	text-rendering: optimizeLegibility;
	background: #7d7d7d;
	color: #fff;
	display: block;
	font: "Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size: x-large;
	height: 56px;
	line-height: 56px;
	/* padding: 14px 0 12px 0; */
	text-align: center;
	width: 56px;
}

#hour-update a {
	padding: 0;
}

.tab-pane {
	margin-top: 10px;
}

.image-placeholder {
	width: 100%;
	height: 100px;
	display: block;
	line-height: 100px;
	text-align: center;
	text-transform: uppercase;
	background-color: #f7f7f9;
}

.modal-header {
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
	background-color: #ebebeb;
}

#modal-search-form label, #modal-search-form input, #modal-search-form select {
	margin-right: 20px;
}

#search-results strong {
	font-weight: bold;
	font-size: 18px;
}

#patient_city-id, #patient_state-id, #patient_zipcode-id {
	display: inline-block;
}

#patient_city-id {
	width: 30%;
}

#patient_state-id, #patient_zipcode-id {
	width: 20%;
}

#notes-id {
	height: 126px;
}

#patient-filters input, #patient-filters select {
	/*background: #ebebeb;
	border: 0;
	border-radius: 1px;*/
}

#patient-card h1 {
	margin-top: 0;
}

#patient-card {
	font-size: 13px;
}

#patient-card textarea.statusComments{
	width:100%;
	height:150px;
}

#patient-card .comments{
	margin-top:8px;
}

#patient-card .commentBtn{
	margin-top:4px;
}

#patient-card .attachments {
	margin-top: 20px;
	margin-bottom: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
	border-top: 1px #dddddd solid;
	border-bottom: 1px #dddddd solid;
}

.big-details {
	font-weight: bold;
	font-size: 18px;
	margin-bottom: 20px;
}

#patient-card label {
	font-weight: bold;
	width: 60px;
	margin:0;
}

#patient-card address {
	display: inline-block;
}

#patient-card .avatar {
	width: 40px;
}

.comment-row {
	border-bottom: 1px #dddddd solid;
	padding-bottom: 30px;
	margin: 0 0 30px 20px;
}

.avatar-holder {
	padding-left: 0;
}

.leave-comment {
	padding: 0 0 30px 20px;
}

.leave-comment textarea, .leave-comment select{
	width:100%;
	max-width: 100%;
}

.comment-row strong {
	font-weight: bold;
	font-size: 14px;
}

.comment-row span {
	margin: 0 5px;
}

.dob input {
	max-width: 56px;
	text-align: center;
}

.dob span {
	margin: 0 5px;
}

.scheduled-appointment-block {
	background-color: #273644;
	border-radius: 4px;
	color: #fff;
	padding: 10px 15px 0;
}

.scheduled-appointment-block span.apptText {
	display: block;
	font-size: 16px;
	font-weight: bold;
	float:left;
	margin:8px 0;
}

.scheduled-appointment-block .glyphicon-time{
	color: white;
	float:right;
	cursor:pointer;
	margin: -22px 0 0 6px;
}

.scheduled-appointment-block .input-group-addon{
	border:none;
	background: none;
	float:right;
	padding:6px 8px;
}

.caret.caret-reversed {
    border-top-width: 0;
    border-bottom: 4px solid;
}

.patient-card-actions {
	border-top: 1px #b1b1b1 solid;
	margin-top: 40px;
	padding-top: 15px;
	text-align: right;
}

.dark-blue {
	background: #35495d;
	border-color: #35495d;
}

/*** Office view ***/

.officeview dt, .officeview dt{
	margin:.75em 0 0 0;
}
.officeview .btn-info{
	margin-right: 6px;
}

.officeview li{
	margin-bottom: 14px;
}



h1 a{
	font-size:35%;
}

/*referral page*/

.row.top{
	margin-top:20px;
}

.btn.print{
	float:right;
}

.filtercontrols .form-input-wrapper select{
	width:150px;
	height:26px;
	padding:0;
}

.filtercontrols .form-input-wrapper{
	display: inline-block;
	margin: 0 6px 6px 4px;
}

.refresults td {
  white-space: nowrap;
}

.refresults tr.unviewed .name a,
.refresults tr.unviewed .fromdr,
.refresults tr.unviewed .todr,
.refresults tr.unviewed .dob,
.refresults tr.unviewed .created
{
	font-weight:bold;
}

.refresults tr.unviewed .name .glyphicon{
	color: #27ae60;
	margin-left:-6px;
}

.refresults tr.viewed .name a{
	padding-left:10px;
}

.refresults tr.viewed .name .glyphicon{
	display:none;
}

.refresults td.name{
	white-space:nowrap;
  max-width: 200px;
  overflow: hidden;
}

.refresults td.messages span{
	color:silver;
	margin-top: 4px;
}

.refresults td.messages span.unread{
	color: red;
}

.refresults select{
	width: 114px;
	font-size:95%;
}

.refresults .glyphicon-time{
	color:#2c6d9c;
	float:right;
	cursor:pointer;
	margin: -2px 0 0 6px;
}

.refresults .input-group-addon{
	border:none;
	background: none;
	float:right;
	padding:6px 8px;
}

.modal textarea.statusComments{
	border:none;
	width:100%;
	height:280px;
	max-width: 568px;
}

ul.nav-tabs a{
	font-weight: bold;
	color:silver;
}

ul.nav-tabs li.active a{
	background-color: #f9f9f9;
}

ul.nav-tabs li.active a:hover{
	background-color: #f9f9f9;
}

ul.statuslist{
	border: 1px solid #dddddd;
	border-top:none;
	border-radius: 0 0 4px 4px;
	background-color: #f9f9f9;
}

ul.statuslist .statuscount{
	display:block;
	float:right;
	background-color: DimGray;
	width:26px;
	height:26px;
	border-radius:26px;
	text-align: center;
	color:white;
	padding-top: 3px;
	font-size:90%;
	margin-top:-3px;
}

ul.statuslist .referral-comments{
	display:block;
	float:right;
	color: red;
	font-size:140%;
	margin: 0px 8px 0 0;
}

ul.statuslist a{
	font-weight:normal;
	color:black;
	width:100%;
	height:100%;
	display:block;
	padding:8px;
}

ul.statuslist a:hover{
	text-decoration: none;
	background-color: white;
}

ul.statuslist li{
	border-bottom: 1px solid #dddddd;
}

ul.statuslist li.archived{
	border-bottom: none;
	border-top: 1px solid #dddddd;
	margin-top:60px;
}

ul.statuslist li.active a{
	background-color: #2c6d9c;
	color:white;
	font-weight: bold;
}

ul.statuslist li.active .statuscount{
	background-color: #428bca;
}

.userList{
	 padding-top: 24px;
}



@media (min-width: 1200px)  {

	#doctor-search input, #doctor-search label, #doctor-search select {
		margin-right: 25px;
	}
	
	#doctor-search #location-id, #doctor-search #specialty-id {
		min-width: 220px;
	}
	
	#doctor-search #name-id {
		min-width: 295px;
	}
	
	.doctor-list .col-md-3 {
		width: 22%;
	}
}

.pagination-item.selected {
  	background-color: #2c6d9c;
	color:white;
	font-weight: bold;
}