select {
	-webkit-appearance: none;
	}

/* Progress bar */
.common_progress {
	position: fixed;
	display: none;
	background-color: rgba(192, 192, 192, .5);
	z-index: 9999;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	box-shadow: 0 0 20px rgba(192, 192, 192, .5);
	}

.common_progress img {
	position: absolute;
	left: 50%;
	top: 50%;
	}

aside .tag {
	font-size: .8em !important;
	}

aside .tag:hover {
	text-decoration: none;
	background-color: mediumvioletred;
	color: white;
	}

.bxslider {
	list-style-type: none;
	}

.bxslider li:not(:first-child) {
	display: none;
	}

.bxslider {
	padding-left: 0px;
	}

.bx-viewport li {
	display: block !important;
	}

/* jq datepicker */
.ui-datepicker {
	z-index: 10000 !important;
	font-size: .75em !important;
	box-shadow: 0 0 6px #999;
	}

.ui-widget-header {
	border: 1px solid #e78f08;
	background: rgb(255, 238, 0);
	color: rgb(0, 117, 90);
	}

.ui-widget-content {
	border-radius: 0px !important;
	}

/*others*/
.input-group .select2-selection {
	border-radius: 0px !important;
	}

.clear_left {
	clear: left;
	}

.included_text img {
	max-width: 100%;
	}

.clear_right {
	clear: left;
	}

.clear_both {
	clear: both;
	}

.error {
	color: red;
	padding: 8px;
	margin: 3px;
	border: thin solid #fcc;
	border-radius: 3px;
	background-color: #fee;
	}

.back_arrow {
	font-weight: bold;
	}

footer {
	position: fixed;
	width: 100%;
	bottom: 0px;
	background-color: #fff !important;
	z-index: 10000;
	}

button {
	margin-right: 6px !important;
	}

body {
	background-image: url(/img/background.gif);
	background-attachment: scroll;
	background-repeat: repeat;
	background-position: left top;
	}

body > .container {
	border: thin solid grey;
	background-color: #fff;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.9);
	background-attachment: fixed;
	background-size: 100%;
	background-image: url(/img/fetishbook_background.png);
	background-attachment: scroll;
	background-repeat: no-repeat;
	background-position: left top;
	}

textarea[name="new_comment_text"] {
	margin-bottom: 3px;
	}

.main_comments {
	border-bottom: thin dotted #1995dc;
	padding-bottom: 6px;
	margin-bottom: 6px;
	}

.ui-datepicker {
	z-index: 1000 !important;
	}

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

/* Gallery full view */
#fb_multifile_item_popupwindow {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10010;
	background: rgba(204, 204, 204, .9);
	display: none;
	}

#fb_multifile_popupwindow-wrapper {
	height: 100%;
	}

#fb_multifile_container {
	text-align: center;
	}

#fb_multifile_container img {
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
	}

.fb_multifile_item {
	float: left;
	box-shadow: 0 0 3px #ccc;
	margin: 0 6px 6px 0;
	}

.ellipsis {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	}

/* Tabs */
.nav {
	margin-bottom: 6px !important;
	}

.tab_content {
	display: none;
	}

/* Tags */
.tag {
	display: inline-block;
	font-weight: normal;
	background-color: #09f;
	color: #fff;
	padding: 1px 3px 1px 3px;
	border-radius: 3px;
	text-decoration: none;
	margin: 6px 6px 0 0;
	cursor: pointer;
	}

/* User Card */
.user_card {
	border: thin solid #eee;
	padding: 3px;
	margin: 3px;
	}

.user_card img {
	float: left;
	margin-right: 6px;
	}

/* Comment */
.comment_box, .comment_box_new {
	border: thin solid #ccc;
	margin: 3px;
	}

.comment_box {
	min-height: 68px;
	}

.comment_list {
	margin: 6px 0 6px 0;
	overflow-y: scroll;
	height: 300px;
	overflow-x: hidden;
	}

.comment_box_new {
	}

.comment_fio {
	font-weight: bold;
	font-size: 12px;
	text-align: left;
	}

.comment_text {
	text-align: justify;
	padding: 3px;
	}

.comment_box_new_edit > input {
	width: 99%;
	margin: 3px;
	}

/*breadcrumb menu*/
.breadcrumb {
	margin: 10px 0 5px 0;
	background-color: rgba(255, 255, 255, .5);
	}

.breadcrumb ul {
	}

.breadcrumb ul li {
	display: inline;
	}

/* автокомплит адреса */
.typeahead {
	position: absolute;
	z-index: 999;
	margin: 0;
	padding: 0;
	width: 405px;
	outline: none;
	border: 1px solid #ccc;
	background-color: #fff;
	-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	list-style: none;
	font-size: .875em;
	line-height: 1em;
	}

.typeahead li {
	padding: 3px;
	}

.typeahead li:hover {
	background-color: #fcc;
	}

.ns_details > p {
	text-align: justify;
	text-indent: 16px;
	line-height: 1.5em;
	}

@media screen and (max-width: 1171px) {
	h1 {
		font-size: 24px;
		}

	h2 {
		font-size: 18px;
		}

	.tag {
		font-size: 75%;
		}

	.ns_details img {
		width: 100%;
		}

	.row {
		margin-right: -10px !important;
		}
	}

@media screen and (min-width: 1170px) {
	body > .container {
		margin-bottom: 72px;
		margin-top: 72px;
		padding-bottom: 20px;
		}

	.ns_list {
		border: thin solid #ccc;
		border-bottom: thin dotted #fefefe;
		padding: 3px;
		}

	.mainpage_container {
		padding-top: 75px;
		}
	}

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

.margin-bottom-20 {
	margin-bottom: 20px !important;
	}

.margin-bottom-30 {
	margin-bottom: 30px !important;
	}

.margin-bottom-40 {
	margin-bottom: 40px !important;
	}

.chats {
	list-style-type: none;
	margin: 0px;
	}

.chats li {
	margin-bottom: 8px;
	padding-bottom: 8px;
	}

.chats .by-me img {
	margin-top: 5px;
	margin-right: 10px;
	padding: 1px;
	background: #fff;
	border: 1px solid #ccc;
	}

.chats .by-me .chat-meta {
	font-size: 11px;
	color: #999;
	}

.chats .by-me .chat-content {
	margin-left: 60px;
	position: relative;
	background: #fff;
	border: 1px solid #ddd;
	padding: 7px 10px;
	border-radius: 5px;
	font-size: 13px;
	}

.chats .by-me .chat-content:after, .chats .by-me .chat-content:before {
	right: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	}

.chats .by-me .chat-content:after {
	border-color: rgba(255, 255, 255, 0);
	border-right-color: #fff;
	border-width: 10px;
	top: 30%;
	margin-top: -10px;
	}

.chats .by-me .chat-content:before {
	border-color: rgba(238, 238, 238, 0);
	border-right-color: #ccc;
	border-width: 11px;
	top: 30%;
	margin-top: -11px;
	}

.chats .by-other img {
	margin-top: 5px;
	margin-left: 10px;
	padding: 1px;
	background: #fff;
	border: 1px solid #ccc;
	}

.chats .by-other .chat-meta {
	font-size: 11px;
	color: #999;
	}

.chats .by-other .chat-content {
	margin-right: 60px;
	position: relative;
	background: #fff;
	border: 1px solid #ddd;
	padding: 7px 10px;
	border-radius: 5px;
	font-size: 13px;
	}

.chats .by-other .chat-content:after, .chats .by-other .chat-content:before {
	left: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	}

.chats .by-other .chat-content:after {
	border-color: rgba(255, 255, 255, 0);
	border-left-color: #fff;
	border-width: 10px;
	top: 30%;
	margin-top: -10px;
	}

.chats .by-other .chat-content:before {
	border-color: rgba(238, 238, 238, 0);
	border-left-color: #ccc;
	border-width: 11px;
	top: 30%;
	margin-top: -11px;
	}

.page-header {
	margin: 5px !important;
	}

.page-header h1 {
	font-size: 24px;
	}

.truncate {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	}