@font-face {
  font-family: 'Glyphicons Halflings';
  src: url('/fonts/glyphicons-halflings-regular.eot');
  src: url('/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('/fonts/glyphicons-halflings-regular.woff') format('woff'), url('/fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('/fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg');
}


body {
padding-top: 70px;
font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif;
background-color: #ffffff;
padding: constant(safe-area-inset-right); /* this makes surethat content won't be hidden behind Iphone X notch */
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif;
font-weight: 500;
line-height: 1.1;
}

h2, h3 {
    color: #0F5989;
}
h1,
h2,
h3 {
  margin-top: 10px;
  margin-bottom: 10px;
}
h3,
.h3 {
  font-size: 22px;
}

h5 {
    font-weight: bold;
}
.hon_tr, .hide {
	display: none;
}

.bs-footer {
    border-top: 1px solid #B3D4ED;
    color: #777777;
    margin-top: 100px;
    padding-bottom: 30px;
    padding-top: 40px;
}

.filterfooter {
    background: #eee none repeat scroll 0 0;
    border-top: 1px dotted #ccc;
    line-height: 33px;
    margin: 20px -19px -19px !important;
    padding-bottom: 12px;
    padding-top: 12px;
}

.chosen-container {
    -moz-user-select: none;
    display: inline-block;
    font-size: 13px;
    margin-bottom: 10px;
    position: relative;
    vertical-align: middle;
}
label {
    display: inline-block;
    font-weight: bold;
    margin-bottom: 5px;
    margin-right: 10px;
}

@media (min-width: 992px){
	.col-20P{
		width:20%;
	}
}

/* home page */
.todo ul{
	margin: 10px 0 0 0;
	padding: 0;
	list-style: none;
}
.todo ul li{
	margin:0;
}
/* Yotem Colour fixes */

.navbar-inverse .navbar-brand {
  color: #ffffff;
}
.navbar-brand {
    float: left;
    font-size: 18px;
    line-height: 18px;
    padding: 15px;
}
.navbar-inverse {
  background-color: #1377B7;
  border-color: #1377B7;
}
.navbar-inverse .navbar-nav > li > a {
  color: #B3D4ED;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
  color: #ffffff;
  background-color: transparent;
}

.navbar-inverse .navbar-nav > .dropdown > a .caret {
  border-top-color: #B3D4ED;
  border-bottom-color: #B3D4ED;
}
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
  color: #ffffff;
  background-color: #002C76;
}

.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
  color: #ffffff;
  background-color: #002C76;
}

a {
  color: #1377B7;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #0F5989;
  text-decoration: underline;
}

.btn-primary {
  color: #FFFFFF;
  background-color: #002C76;
  border-color: #333333;
}
.btn-warning {
  color: #ffffff;
  background-color: #AF292E;
  border-color: #9A2429;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active,
.btn-warning.active,
.open .dropdown-toggle.btn-warning {
  color: #ffffff;
  background-color: #E58F90;
  border-color: #DB6566;
}

.table-striped > tbody > tr:nth-child(odd) > td,
.table-striped > tbody > tr:nth-child(odd) > th {
  background-color: #EAF3F7;
}

.panel-default > .panel-heading {
  color: #333333;
  background-color: #E5F3FC;
  border-bottom: 1px solid #dddddd;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-color: #dddddd;
}

.panel-default > .panel-alert {
  background-color: #FFD6D6 !important;
}

.panel.error {
	border: 1px solid #CC0000;
}
.panel.error a {
	color: #CC0000;
}

.panel.error a:hover {
	color: #c09853;
}

label.has-error {
  color: #b94a48;
}

label.has-error {
  color: #b94a48;
}

.template-upload .has-error{
  border-color: #b94a48;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}


/* General tweaks */
.form-group label {
	display: block;
}

.testmode {
	background-color: #FFD6D6;
	color: #AF292E;
	font-size: 75%;
	text-align:center;
	width:100%;

}
.navbar-fixed-top .testmode {
	position: absolute;
	top: 39px;
	height: 14px;
	left: 0;
}

.messageAlert {
	background-clip: padding-box;
	border: 1px solid #148D79;
	border-radius: 6px 6px 6px 6px;
	box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
	background-color: #1377B7;
	color: #ffffff;
	display: none;
	left: 50%;
	margin: -251px 0 0 -240px;
	overflow: auto;
	padding: 20px;
	position: fixed;
	top: 40%;
	width: 480px;
	z-index: 1050;
}


/* Grid fixes */
.qs_section .add-on:last-child, .qs_section .btn:last-child {
  border-radius: 0 14px 14px 0;
  margin-left: -1px;
}
.qs_section .add-on:first-child, .qs_section .btn:first-child {
  border-radius: 4px 0 0 4px;
  margin-right: -1px;
}

th.quicksearch .qs_section {
	float: right;
	margin-right:10px;
	margin-bottom: 0;
	margin-top: 20px;
}
.qs_section form {
	display: inline;
}
.qs_section.input-prepend.input-append  .btn-prepend, .qs_section.input-prepend.input-append  .btn-prepend {
  border-radius: 14px 0 0 14px;
  margin-left: 0;
}

table.grid th.currency,
table.grid td.currency {
	text-align:right;
}

table.grid .foundcount {
	float:left;
	color: #000000;
	font-weight:normal;
}

table.grid .pagination {
	float:right;
	color: #000000;
	font-weight:normal;
	height: auto;
	margin: 0;
}

table.grid .pagination a {
	color: #1377B7;
	font-weight:normal;
}
table.grid .pagination a:hover {
	color:#667766;
}

.gridpagination {
	float: right;
}

.gridpagination ul.pagination {
	margin: 3px 0;
}

th .foundcount, tr .foundcount {
	margin-top: 13px;
	display: inline-block;
	float: left;
}

td hr {
	margin-top: 5px;
	margin-bottom: 5px;
	border: 0;
	border-top: 1px solid darkgray;
}

th.sectionheader, .table-striped > tbody > tr:nth-child(odd) > th.sectionheader {
	background-color: #EAEAEA;
	color: #1377B7;
}

.table-condensed td label {
	font-size: 80%;
}

/* client view pencil icon display */
.assessment_add_lnk {
	color: #1377B7;
	cursor: pointer;
}

/* record view tweaks */

.recordview .dl-horizontal dt {
	background-color: #F8F0E3;
	font-size: small;
	font-style: italic;
	font-weight: normal;
	padding: 0 5px 0 0;
	text-align: start;
}

.recordview .dl-horizontal dd {
	margin-left: 180px;
}

.recordview dt {
	background-color: #FFF0F0;
	border: 1px solid #E1E1E8;
	border-radius: 3px 3px 3px 3px;
	color: #666666;
	font-weight: bold;
	padding: 0.4em 0.5em;
	text-align: start;
}
.recordview dt:hover {
	cursor: pointer;
	cursor: hand;
	}
.addressitem dt {
	background-color: #DDEEE6;
}
.recordview dd {
	margin: 0.3em 0.5em 1em;
}
.editMode {
	text-decoration: underline;
	cursor: pointer;
	cursor: hand;
}
dt .editlnk {
/* display: none; */
font-size: 90%;
float: right;
}
dt.editMode .editlnk {
display: inline;
}
#newaddress_button {
/* display:none; */
}
#button_submit {
  margin-top:4px;
}

.well-highlight {
  background-color: #ffffff;
  border: 1px solid #cccccc;
  min-height: 10px;
  padding: 5px;
  margin-bottom: 10px;
  border-radius: 2px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

.fileupload-progress {
	margin: 10px 0;
}
.fileupload-progress .progress-extended {
	margin-top: 5px;
}

.date input.form-control {
	width: 51%;
	display: inline-block;
	margin-right: 5px;
}

.form-control {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #444444;
    display: block;
    font-size: 14px;
    height: 34px;
    line-height: 1.42857;
    padding: 6px 10px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    vertical-align: middle;
    width: 100%;
}


/* bootstrap typeahead */
.twitter-typeahead {
	width: 100%;
}

.twitter-typeahead .tt-query,
.twitter-typeahead .tt-hint {
	margin-bottom: 0;
	display: block;
	width: 100%;
	height: 34px;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.428571429;
	vertical-align: middle;
}

.tt-dropdown-menu {
	min-width: 160px;
	margin-top: 2px;
	padding: 5px 0;
	background-color: #fff;
	border: 1px solid #ccc;
	border: 1px solid rgba(0,0,0,.2);
	_border-right-width: 2px;
	_border-bottom-width: 2px;
	-webkit-border-radius: 6px;
	 -moz-border-radius: 6px;
		  border-radius: 6px;
	-webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
	 -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
		  box-shadow: 0 5px 10px rgba(0,0,0,.2);
	-webkit-background-clip: padding-box;
	 -moz-background-clip: padding;
		  background-clip: padding-box;
}

.tt-suggestion {
	display: block;
	padding: 3px 20px;
}

.tt-suggestion.tt-is-under-cursor {
	color: #fff;
	background-color: #0081c2;
	background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
	background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
	background-image: -o-linear-gradient(top, #0088cc, #0077b3);
	background-image: linear-gradient(to bottom, #0088cc, #0077b3);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0)
}

.tt-suggestion.tt-is-under-cursor a {
	color: #fff;
}

.tt-suggestion p {
	margin: 0;
}
/* end bootstrap typeahead */


/* Responsive Settings
-------------------------------------------------- */
@media (max-width: 768px) {

	.messageAlert {
		width: 200px;
		margin: 0 0 0 -120px;
		top: 80px;
	}
}

@media (min-width: 768px) and (max-width: 992px) {
	.nav > li > a{
		padding: 15px 10px !important;
	}
}


/* Print settings */
@media print {
	body{
		padding-top:0;
	}
	.container{
		max-width: 100% !important;
	}
	.no-print, .no-print *
    {
        display: none !important;
    }

	table th,
	table td{
		padding:1px !important;
	}
    .panel-group .collapse {
        height: auto;
        display: inline;
    }
    a:link:after, a:visited:after {
    content: "";
	}
}


/* Aliases
-------------------------------------------------- */


h4.divider{
    border-bottom: 1px dotted #CCC;
    margin: 8px 0 10px 0;
    padding: 0 0 10px;
}


.aliases,
.allergy,
.ec_contacts{
	border: 1px dotted #CCC;
    border-radius: 4px;
    background: #FAFAFA;
    margin: 0 0 14px 0;
}

.alias_row,
.contact_row {
    border-top: 1px dotted #DDD;
    clear: both;
    padding: 1px;
    line-height: 32px
}

.alias_new {
	    border-top: 1px dotted #CCC;
    padding-top: 10px;
    padding-bottom: 14px;
}



.alias_new:after,
.alias_row:after,
.contact_row:after {
	display: table;
    content: " ";
    clear: both;
}
.alias_new .btn{
	  margin-top: 3px;
    margin-left: 5px;
}

.contact_row{
	cursor: pointer;
}

.contact_row .btn,
.alias_row .btn{
	cursor: pointer;
    line-height: 130%;
    margin-top: 2px;
    margin-bottom: -1px;
    float: right;
}

#clientalias_cg{
	margin:0;
}

#clientalias_label, #clientallergy_label,
.ec_contacts label.header{
	display: block;
	padding: 18px 20px;
    margin-bottom: 0
}
.ec_contacts label .btn,
#clientalias_label .btn {
	cursor: pointer;
    margin-top: -5px;
    margin-right: -10px;
}


/* Emergency Contact
-------------------------------------------------- */

.ec_contact{
    border-top: 1px dotted #CCC;
    padding: 24px 24px;
}
.ec_contact .form-control{
    margin-bottom: 15px;
    margin-top: -6px;
}

.ec_contact label{
	white-space: nowrap;
}

.ec_contact h4{
	    margin: 0 0 24px 0;
}

.ec_contact .btn{
	cursor: pointer;
	_margin-right: 14px;
}


/* Offline Mode
-------------------------------------------------- */

	.offline,
	.online,
	.syncing,
	.queued,
	.synced{
		display: none;
	}


	div.viewclients th{white-space: nowrap;}
	div.viewclients .dataTables_wrapper{margin-top:-38px;}
	div.viewclients .dataTables_length{display: none}
	div.viewclients .buttons {white-space: nowrap;}

	.app .modal-footer{
		margin-top:-1px;
	}
	.app .modal-body.well{
		border-radius: 0;
		margin-bottom: 0;
	}

	.label-light{
		background-color: #CCC;
	}

	.glyphspin{
		-webkit-animation: spin 2s infinite linear;
		-moz-animation: spin 2s infinite linear;
		-o-animation: spin 2s infinite linear;
		animation: spin 2s infinite linear;
		display: inline-block;
			transform-origin:  50% 58%;
			-ms-transform-origin:  50% 58%;
			-webkit-transform-origin: 50% 58%;
	}

	.existingclient h4 small{
		Gdisplay: inline-block;
	}

	.existingclient h4 small .label{
		float: left;
		display: inline-block;
		margin-left: 5px;
		margin-top: 2px;
		margin-bottom: -2px;
		line-height: 120%;
	}
	.loginmodal .well{
		margin:0;
	}

	@-moz-keyframes spin {
	  0% {
	    -moz-transform: rotate(0deg);
	    m
	  }
	  100% {
	    -moz-transform: rotate(359deg);
	  }
	}
	@-webkit-keyframes spin {
	  0% {
	    -webkit-transform: rotate(0deg);
	  }
	  100% {
	    -webkit-transform: rotate(359deg);
	  }
	}
	@-o-keyframes spin {
	  0% {
	    -o-transform: rotate(0deg);
	  }
	  100% {
	    -o-transform: rotate(359deg);
	  }
	}
	@keyframes spin {
	  0% {
	    -webkit-transform: rotate(0deg);
	    transform: rotate(0deg);
	  }
	  100% {
	    -webkit-transform: rotate(359deg);
	    transform: rotate(359deg);
	  }
	}



