@-webkit-viewport   { width: device-width; }
@-moz-viewport      { width: device-width; }
@-ms-viewport       { width: device-width; }
@-o-viewport        { width: device-width; }
@viewport           { width: device-width; }

/* Masthead (top header, above top navbar)
------------------------------------------------------------*/
.masthead .toolbar {
	float: right;
}

.masthead .toolbar-row {
	clear: right;
	float: right;
	margin: 15px 0;
}

.masthead .toolbar-row + .toolbar-row {
	margin-top: 0;
}

.masthead .toolbar .toolbar-item {
	display: block;
	float: left;
	margin: 0 0 0 15px;
}

.masthead .toolbar .toolbar-item.toolbar-text {
	padding: 10px 0;
}

.toolbar-search {
	width: 240px;
}

.masthead .toolbar .shopping-cart-status,
.masthead .toolbar .shopping-cart-status .count {
	display: none;
}

.masthead .toolbar .shopping-cart-status.visible,
.masthead .toolbar .shopping-cart-status .count.visible {
	display: inline;
}

.masthead.well {
	border-left: none;
	border-right: none;
	border-top: none;
	margin: 0;
	padding: 0;
	-webkit-border-radius: 0;
	   -moz-border-radius: 0;
	        border-radius: 0;
}

.masthead.tabs > .container {
	position: relative;
}

.masthead.tabs .weblinks > .nav-tabs {
	margin-bottom: 0;
	border-bottom: none;
}

.masthead.tabs .weblinks > .nav-tabs > li > a:hover,
.masthead.tabs .weblinks > .nav-tabs > li > a:focus {
	border-bottom-color: transparent;
}

@media (min-width: 768px) and (max-width: 991px) {
	.masthead .toolbar .username {
		display: none;
	}
}

@media (min-width: 992px) {
	.toolbar-search {
		width: 280px;
	}

	.masthead.tabs .weblinks {
		position: absolute;
		bottom: 0;
		right: 15px;
	}
}

/* Top Navbar
------------------------------------------------------------*/
.header-navbar {
	border-width: 1px 0;
	margin: 0;
	z-index: auto;
}

.header-navbar.navbar-empty {
	display: none;
}

.navbar-nav > li > a > img {
	vertical-align: text-top;
}

.navbar-nav .shopping-cart-status,
.navbar-nav .shopping-cart-status .count {
	display: none;
}

.navbar-nav .shopping-cart-status.visible {
	display: block;
}

.navbar-nav .shopping-cart-status .count.visible {
	display: inline;
}

.navbar-search>div{
	float:right;
}

.first-elem{
	clear:left;
}

@media (min-width: 768px) {
	.navbar-search {
		width: 400px;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.header-navbar .username {
		display: none;
	}
}

/* Footer
------------------------------------------------------------*/
.footer {
	margin-top: 40px;
}

.footer.well {
	color: #777;
	border-left: none;
	border-right: none;
	-webkit-border-radius: 0;
	   -moz-border-radius: 0;
	        border-radius: 0;
	margin-bottom: 0;
	padding: 39px 0;
}

.footer-bottom {
	padding: 40px 0;
}

/* Content Panel
------------------------------------------------------------*/
.content-panel > .panel-heading h1,
.content-panel > .panel-heading h2,
.content-panel > .panel-heading h3,
.content-panel > .panel-heading h4,
.content-panel > .panel-heading h5,
.content-panel > .panel-heading h6 {
	margin-bottom: 0;
	margin-top: 0;
}

.content-panel > .panel-heading img {
	vertical-align: baseline;
}

.content-panel .list-group-item .list-group-item-heading,
.content-panel .list-group-item .list-group-item-text p:last-child,
.content-panel .panel-body p:last-child,
.content-panel .panel-body > .alert:last-child {
	margin-bottom: 0;
}

.content-panel .list-group-item .list-group-item-text {
	margin-top: 5px;
}

.content-panel .list-group-item .content-metadata {
	font-size: 85%;
	line-height: 20px;
}

.content-panel .list-group-item .user-avatar {
	display: block;
	float: left;
	margin: 0 10px 0 0;
}

.content-panel > .list-group + .panel-footer {
	border-top: 0 none;
}

.content-panel .content-caption {
	margin-bottom: 10px;
}

/* Sidebar
------------------------------------------------------------*/
.sidebar,
.sidebar .section {
	margin-bottom: 20px;
}

.sidebar .section:last-child,
.sidebar .section > :last-child {
	margin-bottom: 0;
}

@media (max-width: 991px) {
	.col-md-4 .sidebar {
		margin-top: 40px;
	}
}

/* Directory Page
------------------------------------------------------------*/
.directory {
	margin-top: 40px;
}

.directory section {
	margin-bottom: 40px;
	margin-top: 40px;
}

.directory section > .page-header,
.directory section > .page-header h2 {
	margin-top: 0;
}

.directory section > .panel {
	margin-top: 20px;
}

.directory .subnav i {
	color: #ccc;
	float: right;
	margin-left: 5px;
	margin-right: -6px;
	margin-top: 3px;
}

@media (min-width: 768px) {
	.directory section {
		margin-top: 0;
	}

	.directory .subnav {
		padding-right: 10px;
	}
}

/* Content Page
------------------------------------------------------------*/
.page-heading {
	padding-top: 20px;
}

.page-copy {
	margin-bottom: 40px;
}

.page-copy.no-value {
	margin-bottom: 0;
}

.page-metadata {
	margin-bottom: 40px;
	margin-top: 40px;
}

@media (max-width: 767px) {
	.page-heading .breadcrumb > .active {
		display: none;
	}

	.page-header > .pull-right {
		float: none !important;
		margin: 0 0 20px 0 !important;
	}

	.page-header > .btn-toolbar > .btn,
	.page-header > .btn-toolbar > .btn-group {
		margin-left: 0;
		margin-right: 5px;
	}
}


/* Search Results
------------------------------------------------------------*/
.search-results h2,
.search-results .summary {
	margin-bottom: 20px;
}

.search-results li > h3,
.search-results li > .title {
	margin-bottom: 0;
}

.search-results ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.search-results li {
	margin-bottom: 20px;
}

.search-results li .fragment {
	margin: 0;
}

.search-results .querytext, .search-results .highlight {
	background-color: #FFFCAC;
	font-style: normal;
}

/* Public Profile
------------------------------------------------------------*/
.profile-img {
	display: block;
	margin-bottom: 20px;
}

/* Pagination
------------------------------------------------------------*/

@media (max-width: 767px) {
	.pagination {
		overflow: scroll;
		white-space: nowrap;
		width: 100%;
	}

	.pagination > li > a,
	.pagination > li > span {
		display: inline-block;
		float: none;
	}
}

/* Misc.
------------------------------------------------------------*/
.entitylist-search {
	width: 240px;
}

.gridview-nav {
	margin-bottom: 10px;
}

.toolbar-nav {
	margin-bottom: 20px;
}

.feed-icon {
	color: #F28D34;
}

.feed-icon:hover {
	color: #FF6600;
	text-decoration: none;
}

.page-header .feed-icon {
	font-size: 36px;
}

.help-block.error {
	color: red;
}

label.control-label.required:before {
	content: '* ';
	color: red;
}

.alert p:last-child {
	margin-bottom: 0;
}

.aggregate > li {
	margin-bottom: 20px;
}

.radio-list input[type="radio"] {
	margin: 0 4px 2px 0;
}

.radio-list label {
	display: inline-block;
}

select.btn-select {
	display: none;
}

.btn-select .dropdown-menu li > a {
	cursor: pointer;
}

.addthis_toolbox {
	margin: 0 0 20px 0;
	display: inline-block;
}

.form-actions > .help-link {
	display: inline-block;
	padding-left: 10px;
	vertical-align: middle;
}

.grid-actions {
	border-bottom: 1px solid #EEEEEE;
	margin-bottom: 9px;
	padding-bottom: 9px;
}

.grid-actions ul.nav {
	margin: 0;
}

.grid-actions a.btn.action {
	margin-left: 10px;
}

.bootstrap-datetimepicker-widget ul {
	padding: 0;
}

ol.linenums {
	padding: 0;
}

.content-page {
	margin-bottom: 50px;
}