img {
	max-width: 100%;
}
label {
	font-weight: normal;
}
.btn-inverse {
	background: #333333;
	color: #FFFFFF;
}
.btn-inverse:hover {
	background: #000000;
	color: #FFFFFF;
}
.center-block {
	float: none;
}
/* navbar */
li.switch-mini.has-switch {
	padding-top: 16px;
}
#headerNavFloManagr.navbar .navbar-brand {
	padding-top: 14px;
}
.navbar-inverse .nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
	background-color: #222222;
}
.navbar-inverse .nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
	background-color: #222222;
}
.page-title.navbar {
	border-color: #ccc;
	background: rgba(255, 255, 255, .9);
	box-shadow: 0 0px 21px #CCC;
}
.padding-0 {
	padding-left: 0 !important;
    padding-right: 0 !important;
}
.padding-xs {
	padding-left: 2px !important;
    padding-right: 2px !important;
}
.padding-sm {
	padding-left: 8px !important;
    padding-right: 8px !important;
}
.padding-lg {
	padding-left: 30px !important;
    padding-right: 30px !important;
}
.padding-xl {
	padding-left: 60px !important;
    padding-right: 60px !important;
}
/* index page */
.list-group-item:hover {
	background: #f5f5f5;
}
.list-group-item .list-group-item:hover {
	box-shadow: 0 0 4px #444 inset;
	background: #ffffff; /* Old browsers */
	background: -moz-linear-gradient(top,  #ffffff 0%, #f5f5f5 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f5f5f5)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ffffff 0%,#f5f5f5 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ffffff 0%,#f5f5f5 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ffffff 0%,#f5f5f5 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #ffffff 0%,#f5f5f5 100%); /* W3C */
}
.list-group-item.media {
	margin-top: 0;
}
.label .glyphicon {
	margin-top: 0.3em; /* this little tid-bit could be submitted to twitter-bootstrap if we were so motivated */
}
.pagination {
	margin: 0;
}
.media, .media-body {
	overflow: visible; /* /admin/webpages/webpages/index/content with a section having lots of subpages, and is showing a drop down is where this is needed */
}

.form-inline div {
	display: inline-block; /* used on the install/client first, make sure the forms look good there if changing */
}
.form-inline input[type="text"], .form-inline select, .form-inline input[type="password"] {
	max-width: 175px;
	margin-left: 4px;
	margin-right: 4px;
}

.table-fixed {
	table-layout: fixed;
}
.table-fixed td {
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: pre;
}

body.contacts.view .table-fixed tr td:first-child {
	width: 8em; /* specific to the crm, should be moved somewhere */
}
.badge a {
	color: #ffffff;
}

/* table class for vertical alignment */
.table {
	display: table;
}
.table .vertical-center {
	display: table-cell;
	vertical-align: middle;
}
.table-cell.col-xs-1, .table-cell.col-sm-1, .table-cell.col-md-1, .table-cell.col-lg-1, .table-cell.col-xs-2, .table-cell.col-sm-2, .table-cell.col-md-2, .table-cell.col-lg-2, .table-cell.col-xs-3, .table-cell.col-sm-3, .table-cell.col-md-3, .table-cell.col-lg-3, .table-cell.col-xs-4, .table-cell.col-sm-4, .table-cell.col-md-4, .table-cell.col-lg-4, .table-cell.col-xs-5, .table-cell.col-sm-5, .table-cell.col-md-5, .table-cell.col-lg-5, .table-cell.col-xs-6, .table-cell.col-sm-6, .table-cell.col-md-6, .table-cell.col-lg-6, .table-cell.col-xs-7, .table-cell.col-sm-7, .table-cell.col-md-7, .table-cell.col-lg-7, .table-cell.col-xs-8, .table-cell.col-sm-8, .table-cell.col-md-8, .table-cell.col-lg-8, .table-cell.col-xs-9, .table-cell.col-sm-9, .table-cell.col-md-9, .table-cell.col-lg-9, .table-cell.col-xs-10, .table-cell.col-sm-10, .table-cell.col-md-10, .table-cell.col-lg-10, .table-cell.col-xs-11, .table-cell.col-sm-11, .table-cell.col-md-11, .table-cell.col-lg-11, .table-cell.col-xs-12, .table-cell.col-sm-12, .table-cell.col-md-12, .table-cell.col-lg-12 {
	display: table-cell;
	float: none;
}

/** text display helper **/
.ellipsis {
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
.no-overflow {
	overflow: hidden;
	word-wrap: break-word;
}
.text-left-not-xs, .text-left-not-sm, .text-left-not-md, .text-left-not-lg {
    text-align: left;
}
.text-center-not-xs, .text-center-not-sm, .text-center-not-md, .text-center-not-lg {
    text-align: center;
}
.text-right-not-xs, .text-right-not-sm, .text-right-not-md, .text-right-not-lg {
    text-align: right;
}
.text-justify-not-xs, .text-justify-not-sm, .text-justify-not-md, .text-justify-not-lg {
    text-align: justify;
}

@media (max-width: 767px) {
    .text-left-not-xs, .text-not-xs-center, .text-right-not-xs, .text-justify-not-xs {
        text-align: inherit;
    }
    .text-xs-left {
        text-align: left;
    }
    .text-xs-center {
        text-align: center;
    }
    .text-xs-right {
        text-align: right;
    }
    .text-xs-justify {
        text-align: justify;
    }
}
@media (min-width: 768px) {
    .text-left-not-sm, .text-center-not-sm, .text-right-not-sm, .text-justify-not-sm {
        text-align: inherit;
    }
    .text-sm-left {
        text-align: left;
    }
    .text-sm-center {
        text-align: center;
    }
    .text-sm-right {
        text-align: right;
    }
    .text-sm-justify {
        text-align: justify;
    }
}
@media (min-width: 992px) {
    .text-left-not-md, .text-center-not-md, .text-right-not-md, .text-justify-not-md {
        text-align: inherit;
    }
    .text-md-left {
        text-align: left;
    }
    .text-md-center {
        text-align: center;
    }
    .text-md-right {
        text-align: right;
    }
    .text-md-justify {
        text-align: justify;
    }
}
@media (min-width: 1200px) {
    .text-left-not-lg, .text-center-not-lg, .text-right-not-lg, .text-justify-not-lg {
        text-align: inherit;
    }
    .text-lg-left {
        text-align: left;
    }
    .text-lg-center {
        text-align: center;
    }
    .text-lg-right {
        text-align: right;
    }
    .text-lg-justify {
        text-align: justify;
    }
}

@media (min-width: 768px) {
	/* seems to fix a problem with core bootstrap 3, where the right nav bar has no padding on the right */
	.navbar-nav.navbar-right:last-child {
		margin-right: 0;
	}
}