/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
	padding-top: 50px;
}


/*
 * Global add-ons
 */

.sub-header {
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}


/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
	display: none;
}
@media (min-width: 768px) {
	.sidebar {
		position: fixed;
		top: 51px;
		bottom: 0;
		left: 0;
		z-index: 1000;
		display: block;
		padding: 20px;
		overflow-x: hidden;
		overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
		background-color: #f5f5f5;
		border-right: 1px solid #eee;
	}
}

/* Sidebar navigation */
.nav-sidebar {
	margin-right: -21px; /* 20px padding + 1px border */
	margin-bottom: 20px;
	margin-left: -20px;
}
.nav-sidebar > li > a {
	padding-right: 20px;
	padding-left: 20px;
	color: #811F63;
}
.nav-sidebar > .active > a {
	color: #fff;
	/*background-color: #428bca;*/
	background-color: #811F63;
}
.navbar-inverse{
	background-color: #811F63;
}
.navbar-inverse a{
	color: #fff !important;
}

.sub-nav {
	margin-right: -21px; /* 20px padding + 1px border */
	margin-left: -40px;
	margin-top: 3px;
}
.sub-nav > li > a {
	padding: 8px 20px;
	color: #811F63;
	display: block;
}
.sub-nav > .active > a {
	color: #fff;
	/*background-color: #428bca;*/
	background-color: #811F63;
}
.sub-nav li{
	list-style: none;
	padding-left: 20px;
}
.navbar-inverse{
	background-color: #811F63;
}
.navbar-inverse a{
	color: #fff !important;
}
.sub-nav li:hover{
	background-color: #eee;
}
.sub-nav li a:hover{
	text-decoration: none;
}


/*
 * Main content
 */

.main {
	padding: 20px;
}
@media (min-width: 768px) {
	.main {
		padding-right: 40px;
		padding-left: 40px;
	}
}
.main .page-header {
	margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
	margin-bottom: 30px;
	text-align: center;
}
.placeholders h4 {
	margin-bottom: 0;
}
.placeholder {
	margin-bottom: 20px;
}
.placeholder img {
	display: inline-block;
	border-radius: 50%;
}

.btn{
	background-color: #811F63;
	font-size: 15px;
	color: #FFF;
	border: 0;
	border-radius: 5px;
	cursor: pointer;
}
.btn:hover{
	background-color: #ddd;
	color: #811F63;
}

.pagination .active a{
	color: #fff !important;
	background-color: #811F63 !important;
	border-color: #811F63 !important;
}

pagination .active a:hover{
	background-color: #811F63 !important;
}

.pagination a{
	color: #811F63 !important;
}

.sidebar-right{
	position: fixed;/**/
	top: 0;
	margin-top: 130px;
	min-height: 200px;
	padding: 10px;
	min-width: 200px;
	right: 0;
	z-index: 100;/**/
	display: block;
	overflow-x: hidden;
	overflow-y: auto;
	background-color: #f5f5f5;
	border-right: 1px solid #eee;/**/
	overflow-y: scroll;
	max-height: 500px;
	height: 100%;
}
.sidebar-right>.row{
	margin-bottom: 10px;
}

.modal-body{
	max-height: 350px;
	overflow: scroll;
	overflow: auto;
}
.glyphicon{
	color: #811F63;
	float: right;
	margin: 5px 5px 5px 0;
	cursor: pointer;
}
.glyphicon:hover{
	font-weight: bold;
	color: #dd1111;
}
.image-selector-select-image{
	cursor: pointer;
}
.post-slide{
	margin-top: 10px;
	padding: 10px;
	border: 1px solid #ccc;
}
textarea.text-area{
	min-height: 100px !important;
}
.acc-facility-header .panel-heading{
	background-color: #ccc;
	margin-bottom: 5px;
}
#map-canvas { 
	min-height: 400px;
	height: 100%;
	width: 100%;
}
.tag{
	background-color: #00799c;
	padding: 0px 10px 0px 5px;
	margin-left: 10px;
	color: #FFFFFF;
	position: relative;
	display: inline-block;
	margin-right: 5px;
}
.tag:hover .tag-text{
	/*padding-right: 10px;*/
}
.tag .glyphicon-remove{
	margin: 4px 0 0 0px;
	display: none;
	position: absolute;
	right: 0;
	margin-right: 2px;
}
.tag:hover .glyphicon-remove{
	display: block;
}
.tag .tag-icon{
	background-image: url('../images/icons/tag.png');
	background-size: auto 100%;
	background-repeat: no-repeat;
	display: inherit;
	width: 100%;
	height: 100%;
	left: -14px;
	position: absolute;
}
.tag .tag-text{
	max-width: 150px;
	max-height: 24px;
	padding: 2px 0px;
	overflow: hidden;
}
/*******************************************/

.panel-heading{
	cursor: s-resize;
}

.clear{
	height: 3px;
	background-color: #ccc;
	margin-bottom: 10px;
}
#image-selector-images-row .thumbnail{
	background-color: #ddd !important;
}

.outer-line{
	border: 1px solid #811F63;
	padding-top: 5px;
	margin-bottom: 10px;
}
.outer-line .row{
	padding: 10px;
}
.outer-line .form-group{
	padding: 3px;
}
legend{
	width: auto; 
	border: none; 
	margin-left: 5px; 
	padding: 0 3px;
	font-size: 16px;
	margin-bottom: 0px;
}
.control-label{
	display: inline-block; 
	margin-bottom: 5px !important; 
	font-weight: 700;
}
.ca-item ul{
	padding-left: 3px;
}
.ca-item ul li{
	list-style: none;
	margin-bottom: 10px;
	margin-right: 10px;
	padding: 3px;
	border: 1px solid #ccc;
	position: relative;
}
.ca-item ul li a{
	cursor: pointer;
}
.ca-item ul .title{
	margin-bottom: 10p;
	font-size: 20px;
}
.ca-container{
	//height: 550px !important;
}

.horizontal-list{
	height: 350px;
	display: block;
	width: 100%;
	overflow-x: scroll;
}
.vertical-list{
	height: 250px;
	display: block;
	width: 350px;
	overflow-y: scroll;
}
.horizontal-inner{
	width: auto;
	display: inline-flex;
}
.vertical-inner{
	height: 100%;
	margin-left: 20px;
}
.glyphicon-remove{
	right: 0;
	cursor: pointer;
	font-size: 15px;
}
.nav-link-remove{
	position: absolute;
}

/*.connected, .sortable, .exclude, .handles {
	margin: auto;
	padding: 0;
	width: 310px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.sortable.grid {
	overflow: hidden;
}
.connected li, .sortable li, .exclude li, .handles li {
	list-style: none;
	border: 1px solid #CCC;
	background: #F6F6F6;
	font-family: "Tahoma";
	color: #1C94C4;
	margin: 5px;
	padding: 5px;
	height: 22px;
}*/
.handles .handle {
	cursor: move;
}
/*li.disabled {
	opacity: 0.5;
}
.sortable.grid li {
	line-height: 80px;
	float: left;
	width: 80px;
	height: 80px;
	text-align: center;
}
li.highlight {
	background: #FEE25F;
}
#connected {
	width: 440px;
	overflow: hidden;
	margin: auto;
}
.connected {
	float: left;
	width: 200px;
}
.connected.no2 {
	float: right;
}
li.sortable-placeholder {
	border: 1px dashed #CCC;
	background: none;
}*/

.my-text-editor{
	min-height: 300px;
	overflow:scroll;
	margin-bottom: 10px;
}

.sceditor-button div{
	margin: 0px 0 0 -5px !important;
}

.thumbnail-icon
{
    background-color: #F7B93E !important;
}