.bootbox{
	z-index: 9999999999
}

*:focus{
	outline-width: 0!important;
	outline: 0!important;
}

.form-control:focus {
	border-color: #66afe9;
	outline: 0;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}

.alert{
	margin-top:10px;
}

.bootstrap-select .dropdown-toggle:focus {
	outline: none!important;
	outline-offset: -2px;
}

.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
	width: 100%;
}

.position{
	position: relative!important;
	z-index:999999
}

.fullscreen-height{
	overflow-y: hidden!important;
}

.search{
	width:25%
}

.load-more{
	text-decoration: none!important;
	color:#0563C1!important;
}
.load-more:hover{
	text-decoration: underline!important;
}

.load-more-replace{
	clear:both;
	margin-bottom:70px;
}

.messages-quote{
	font-size: 14px;
	color:#337ab7;
	cursor:pointer;
}

.msg-write .input-group-addon{
	min-width:112px
}

.searchclear {
	position:absolute;
	right:50px;
	top:0;
	bottom:1px;
	height:14px;
	margin:auto;
	font-size:14px;
	cursor:pointer;
	color:#ccc;
	z-index:3;
}

.bg-default{
    position: sticky;
    top: 0;
    z-index: 3;
    display: block;
    padding:10px;
    padding-bottom:13px;
    background: #EEE;
}

.col-inline{
	 float: left; display: inline-block; margin-left:-2px;margin-right:10px; margin-bottom:-7px; margin-top:-4px;
	 max-width: 400px
 }

 .gray-ico .fa{
	 color:#999
 }

.paginat{
	color: #BBB;
	padding-bottom:10px;
	display: block;
}

.pagination{
	margin:0;
}

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus {
  border-color: #CCC;
  box-shadow: none;
  outline: 0 none;
}

html,body {
	height:100%;
}

.logo{
	margin-left:-10px
}

.logo img{
	height: 25px;
	margin-top:-10px;
	margin-right:5px;
}

.logo h3{
	padding-top:15px;
	color: #555
}

#contents{
	padding-top: 0px;
	max-height: 100%!important;
}

#sidebar {
	background: #EEE;
	height: 100%;
	overflow-y: auto;
	padding-bottom: 40px;
}

#sidebar hr{
	margin:10px
}

#sidebar .nav > li > a {
	padding: 7px 5px;
	padding-left:22%;
	text-align: left;
	text-decoration: none!important;
	color:#0563C1!important;
}

#sidebar .nav .fa-fw {
	font-size: 16px;
	padding-right: 10%;
}

#menu_messages{
	margin-top: 5px;
	margin-bottom: 5px;
	z-index: 0;
	height:calc(100% - 26px)!important;
}

#msg-body{
	width: 100%;
	height: calc(95.6% - 195px)!important;
	overflow-y: auto;
	overflow-x: hidden;
	/*display: block;
	position: relative;*/
}

.msg-write{
	border: none;
	position:fixed;
	bottom:0;
	display: block;
	background: #EEE;
	margin-bottom:22px;
	margin-right:16px;
}

#message-overlay .input-group{
	margin-bottom:5px
}

#message-overlay .fullscreen > .panel-heading{
	background: #f5f5f5!important;
	padding: 10px!important;
}

.note-editor.note-frame.fullscreen .note-editable {
	padding:50px
}

#message-overlay .note-editor.note-frame, #message-overlay .note-toolbar {
    border: none
}

.msg-body{position:relative}

#message-overlay .note-editor, #message-overlay .note-popover .popover-content, #message-overlay .panel-heading.note-toolbar {
	padding-left:0;
	padding-top:0;
	margin:none!important;
	background: none;
}

#message-overlay .note-editable{
	border: 1px solid #DDD;
}

#message-overlay .note-editable.panel-body {
	overflow-y: scroll;
}
#message-overlay .note-statusbar{display: none}

#message-overlay .note-editor{
	margin-bottom:0px!important
}

#message-overlay .note-popover .popover-content>.btn-group, #message-overlay .panel-heading.note-toolbar>.btn-group {
    margin-top: 0;
}

#message-overlay .panel-default > .panel-heading, #message-overlay .panel-footer {
	box-shadow:none
}

#patient-overlay{
	z-index: 9999;
}

#message-overlay{
	z-index: 4;
}

.overlay{
	height:calc(100% - 26px)!important;
	position: fixed;
	top:5px;
	left:0px;
	overflow-y: hidden
}

.scroll{
	overflow-y: scroll;
	padding-bottom:20px
}

.input-group > .input-group-btn:last-child > .selectpicker {
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}

.input-group > .input-group-btn:first-child > .selectpicker {
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
}

.bootstrap-select{
	width:100%
}

#html5colorpicker{
	width: 110px;
	height: 50px;
}

.clickable{
	cursor: pointer;
	margin-top: -7px;
	margin-right: -12px;
}

.no-decoration{
	text-decoration: none!important;
}

.nav-sidebar > .active > a, .nav-sidebar > .active > a:hover, .nav-sidebar > .active > a:focus {
	background: #FFF!important
}

#sidebar li a{
	-webkit-transition: background-color ease-out 500ms;
	-moz-transition: background-color ease-out 500ms;
	-o-transition: background-color ease-out 500ms;
	transition: background-color ease-out 500ms;
}

.nav > li > a:hover, .nav > li > a:focus {
	text-decoration: none;
	background-color: #FBFBFB;
}

.submenu li a{
	padding-left: 80px!important;
}

.submenu li a:hover{
	background-color: #FBFBFB;
}

.btn {
	margin-bottom:0px!important
}

.btn-sq-lg {
	margin-right: 10px;
	padding-top: 16px;
	width: 150px !important;
	height: 130px !important;
}

.margin-bottom a{
	margin-bottom: 10px!important
}

.btn-sq {
	width: 100px !important;
	height: 100px !important;
	font-size: 10px;
}

.btn-sq-sm {
	width: 50px !important;
	height: 50px !important;
	font-size: 10px;
}

.btn-sq-xs {
	width: 25px !important;
	height: 25px !important;
	padding:2px;
}

.top-1{
	margin-top:10px
}

.middle {
	float: none;
	margin: 10% auto;
}

.red{
	color:darkred
}

.green{color: green}

.navbar-brand{
	margin-top: -3px;
}
.navbar-brand img{
	float:left;
	height:30px;
}

.navbar-brand div{
	padding-left:5px;
	padding-top:5px;
	float:left;
	color:#FFF
}

#toTop {
	padding: 5px;
	padding-bottom:0;
	font-size:30px;
	color: rgba(0, 0, 0, 0.3);
	position: fixed;
	z-index:99999;
	bottom: 10px;
	right: 10px;
	display: none;
	background: rgba(255, 255, 255, 0.6);
}

#toTop:hover{
	background: rgba(255, 255, 255, 0.8);
}

.inline{
	display: inline-block!important
}

.full-height {
	height:100%;
}

#messages{
}
.msg-footer{
	bottom:1px;
	position: absolute;
	width: 90%;
	width: calc(100% - 32px);
}

.bold{font-weight: bold}

#messages table{
	width: 100%;
	/*border-collapse: collapse;
	table-layout: fixed;*/
}

#messages pre{
	background: none;
	border:none
}

/*#messages table, #messages th, #messages td {
	border: 1px solid black;
	padding:2px;
	height:12px;
}*/

#messages p{
	margin:0px
}

#messages *{
	max-width:100%
}

.attachments{
	border:1px solid #EEE;
	border-radius: 8px;
	padding:15px;
	margin-top:15px!important
}

.attachments a{
	margin-left: 8px;
	display: inline-block;
}

.attachments a:hover{
	text-decoration: none;
}

.loader{
	margin:10px;
	margin-bottom:20px
}

::-webkit-scrollbar{width: 12px;}
::-webkit-scrollbar-thumb{background-color:rgb(196, 196, 196); border-radius: 0;}
::-webkit-scrollbar-thumb:hover{background-color:rgb(196, 196, 196);}
::-webkit-scrollbar-track{background-color:rgb(237, 237, 237);}

.dropdown-submenu>.dropdown-menu {
	position:absolute;
	overflow-y:auto;
	height:101%;
	top: 0;
	left: 100%;
	min-width:225px;
	margin-top:-1px

}

.dropdown-submenu:hover>.dropdown-menu {
	display: block;
}

.dropdown-submenu>a:after {
	display: block;
	content: " ";
	float: right;
	width: 0;
	height: 0;
	border-color: transparent;
	border-style: solid;
	border-width: 5px 0 5px 5px;
	border-left-color: #ccc;
	margin-top: 5px;
	margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
	border-left-color: #fff;
}

.dropdown-submenu.pull-left {
	float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
	left: -100%;
	margin-left: 10px;
	-webkit-border-radius: 6px 0 6px 6px;
	-moz-border-radius: 6px 0 6px 6px;
	border-radius: 6px 0 6px 6px;
}

.msg{position:relative;display:inline-block; width:100%}

.box{/*warning box about trash delete*/
	padding:4px;
}

.note-group-select-from-files {
  display: none;
}

.block{
	margin-left: -15px;
	margin-right: -15px;
	padding: 5px;
	margin-top:20px;
	margin-bottom:20px;
}

.patient-register .control-label{
	font-weight: normal;
}

.note-btn{
	margin-bottom:4px!important
}

.print table tr{
	font-size: 10px!important;
}

.print > table > tr > td{
	padding:0!important
}

.print h4{
	font-size: 14px!important
}
.print h5{
	font-size: 12px!important
}

.required:after {
    content: "*";
    padding-left:1%;
    color:red;
}

body #invoice-bill {
	position: relative;
	width: 100%;
	height: 21cm;
	margin: 0 auto;
	color: #333;
	background: #FFFFFF;
	font-size: 12px;
}

#invoice-bill table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	margin-bottom: 20px;
}

#invoice-bill table,#invoice-bill th,#invoice-bill tr,#invoice-bill td{
	border: 1px solid #000;
	border-bottom: none;
	border-left:none;
	text-align: center;
}

#invoice-bill .border-left{
	border-left:1px solid #000;
}

#invoice-bill .border-bottom{
	border-bottom:1px solid #000;
}

#invoice-bill .items td{
	padding:10px
}

#invoice-bill .title{
	width:100px;
	display:inline-block
}

#invoice-bill .date{
	margin-bottom:10px;
}

#invoice-bill .payer{
	background:#e6e6e6;
	padding-top:2px;
	padding-bottom:2px;
	margin-bottom:25px
}

#invoice-bill .company{
	background:#D8E4BC;
	padding-top:2px; padding-bottom:2px;
	margin-bottom:25px;
	font-size:10px !important
}

#invoice-bill thead th{
	background: #7da647;
	color: #FFF
}

#invoice-bill .footer {
	background: #7da647;
	bottom: 0;
	padding: 12px 0;
}

#invoice-bill .text-left{
	text-align: left
}

#invoice-bill .text-right{
	text-align: right
}

#invoice-bill .text-center{
	text-align: center
}

#invoice-bill .options{
	clear:both;
	display:block;
	margin-bottom:30px;
}

#invoice-bill .payment-terms{
	margin-top:50px;
}

#main .table thead th {
	background: #FFF;
	position: sticky!important;
	top: 0px!important;
	z-index:1;
	box-shadow: inset 0px -4px 1px -3px rgba(0,0,0,0.1);
}

#patient-overlay .table thead th {
	background: #FFF;
	position: sticky!important;
	top: 31px!important;
	z-index:1;
	box-shadow: inset 0px -4px 1px -3px rgba(0,0,0,0.1);
}

#applicationstab .table thead th {
	background: #FFF;
    position: sticky!important;
    top: 0px!important;
    z-index:1;
	box-shadow: inset 0px -4px 1px -3px rgba(0,0,0,0.1);
}

#file.bg-default {
	position: sticky;
	top: -15px;
	z-index: 3;
	display: block;
	padding: 10px;
	padding-bottom: 13px;
	background: #EEE;
}

.calendar-icon-circle {
  background: white;
  border-radius: 50%;
  height: .9em;
  width: 1em;
  padding-top: 1.4px;
}

.calendar-icon-padding-top
{
	margin-top: 1px;
}

.datepicker{
	padding: 6px 12px;
}

blockquote{
	display: inline-block;
	font-size: 14px!important;
}

.print-font{
	font-size: 16px!important;
}

.table-printable tr, .table-printable td{
  padding: 2px !important;
  margin: 0 !important;
  font-size: 11px!important;
  line-height:10px!important
}

.print-footer{
	width: 100%;
	position: absolute;
	bottom:0;
}

.control-label{
	margin-bottom: 0px
}

.grecaptcha-badge {
	top: 20!important;
}

.bg-application {
	margin-left: 0;
	margin-right: 0;
    background-color: #90bc3f4f;
}

.mg-15{
	margin-left: 15px;
	margin-right: 15px;
}

.btn-application{
	white-space: normal!important;
	background-color: #90bc3f;
	border-color: #83ab39;
	color:#FFF;
}

.btn-application:hover{
	background-color: #83ab39;
	color:#FFF;
}

.tags>a {
	background-color: rgb(220, 234, 255) !important;
}

.tags.active a {
	background-color: rgb(255, 255, 255) !important;
}

ol {
	counter-reset: section;
	list-style-type: none;
	padding-left:30px;
}
ol ol {padding-left:40px;}       
ol li {text-indent: -30px;}