.cms {
	margin-top: 50px;
}

.cms .page-full {
	margin-left: 15px;
	margin-right: 15px;
}

.show-cms {
	display: none;
}

.cms .show-cms {
	display: block !important;
}

.cms .hide-cms {
	display: none;
}

.widget .show-cms-widget {
	display: none;
}

.cms .widget .show-cms-widget {
	display: block !important;
}

.cms .widget .hide-cms-widget {
	display: none;
}

.cms #header {
	margin-bottom: 50px;
}

.drag-handle {
	cursor: move;
}

.clear {
	clear: both;
}

.nav-tabs>li>a {
	cursor: pointer;
}

.cms #content.col-md-12 {
	padding: 0;
}

.cms #main>.row {
	margin-top: 15px;
}

@media ( max-width : 767px) {
	#main {
		overflow-x: hidden;
	}
}

/* ------------------------------------------------------------------------------- */
/* Navigation
/* ------------------------------------------------------------------------------- */
.cms .navbar-fixed-top {
	position: fixed !important;
}

.cms-navbar-search-form {
	padding: 10px 15px 0px 10px;
}

.user-avatar img {
	margin-bottom: auto;
}

@media ( min-width : 768px) {
	.cms-navbar-usermenu .user-avatar {
		padding: 5px 0px;
	}
	.cms #wrapper {
		overflow-x: hidden;
	}
}

@media ( max-width : 767px) {
	.user-avatar img {
		width: 24px;
	}
}

@media ( min-width : 300px) and (max-width: 567px) {
	.cms-navbar-search-form {
		padding: 0px;
	}
	.cms-navbar-search-form div {
		padding: 5px 15px 0px 15px;
	}
}

/*---------- Start Search Dropdown ----------*/
.cms-navbar-search-form .dropdown-menu.columns-3 {
	margin: 0 15%;
	width: 70%;
	height: auto;
	max-height: calc(100vh - 100px);
	overflow-y: auto;
}

@media ( max-width : 767px) {
	.cms-navbar-search-form .dropdown-menu.columns-3 {
		margin: 0 auto;
		width: auto;
		background-color: #fff;
	}
}

@media ( min-width : 768px) {
	.cms-navbar-search-form .dropdown-menu.columns-3 {
		position: fixed;
	}
}

/* IE */
@media screen and (-ms-high-contrast: active) , ( -ms-high-contrast :
	none) {
	.cms-navbar-search-form .dropdown-menu.columns-3 {
		top: auto;
	}
}

.cms-navbar-search-form .multi-column-dropdown {
	padding: 0px;
	list-style: none;
}

.cms-navbar-search-form .search-items a {
	display: block;
	width: 100%;
	height: 100%;
	text-overflow: ellipsis;
	clear: both;
	line-height: 1.42857;
	color: #333;
	font-size: 13px;
}

.cms-navbar-search-form .search-items:focus, .cms-navbar-search-form .search-item:focus,
	.cms-navbar-search-form .search-items:hover {
	text-decoration: none;
	color: #262626;
	background-color: #f5f5f5;
	cursor: pointer;
}

.search-meta {
	color: #777;
	font-size: 11px;
}

@media ( max-width : 767px) {
	.cms-navbar-search-form .dropdown-menu.multi-column {
		overflow-x: hidden;
	}
	.cms-navbar-search-form .dropdown-menu.columns-3 {
		position: inherit;
		width: 100%;
		margin: 0 auto;
	}
}

/*---------- End Search Dropdown ----------*/

/* ------------------------------------------------------------------------------- */
/* Config Bar
/* ------------------------------------------------------------------------------- */
#configbar {
	position: fixed;
	top: 100px;
	right: -5px;
	width: 43px;
	z-index: 1999;
	white-space: nowrap;
}

#configbar:hover {
	width: 200px;
}

#configbar .list-group {
	box-shadow: 0 0 20px rgba(0, 0, 0, .15);
}

#configbar:hover .list-group {
	box-shadow: 0 0 50px rgba(0, 0, 0, .15);
}

#configbar .list-group-item .caption {
	display: none;
}

#configbar:hover .list-group-item .caption {
	display: inline;
}

/* ------------------------------------------------------------------------------- */
/* Widget Style
/* ------------------------------------------------------------------------------- */
.widget {
	position: relative;
	margin-bottom: 20px;
}

.widget-content {
	overflow: hidden;
}

.widget-actions {
	position: absolute;
	z-index: 100;
	top: 0;
	right: 0;
	opacity: .3;
	padding: 2px 4px;
	margin-right: 15px;
	background: #444;
	border-radius: 0 0 3px 3px;
}

.widget:hover>.widget-actions {
	opacity: 1;
}

.widget-actions>* {
	float: left;
}

.widget-actions>a {
	color: #ccc;
	width: 20px;
	height: 20px;
	display: block;
	text-align: center;
}

.widget-actions>a:hover {
	color: #fff;
	text-decoration: none;
}

.widget-actions>span {
	color: #888;
	font-size: 80%;
	padding: 2px 5px 0;
}

.widget-add {
	margin-bottom: 10px;
}

.widget-add a {
	margin: 0 0 20px;
	color: #aaa;
	padding: 10px 0;
	border: 2px dotted #ccc;
	display: block;
	text-align: center;
	border-radius: 3px;
}

.widget-add a:hover {
	color: #888;
	background: #f8f8f8;
	text-decoration: none;
}

.widgets {}

.widget-edit-container {
	margin: 0px 40px;
}

.widget.ui-sortable-helper {
	max-width: 400px;
}

.sortable-placeholder {
	position: static;
	padding: 45px 0;
}

.sortable-placeholder:before {
	width: 100%;
	height: 30px;
	background-color: #fff0f0;
	border: 1px dashed rgba(217, 83, 79, .75);
	position: absolute;
	content: " ";
	z-index: 1000;
}

.widget-edit {
	min-height: 45px;
}

.widgets-edit {
	padding-bottom: 45px;
}

.widget-breadcrumb.panel .breadcrumb {
	margin-bottom: 0;
}

.cms .widget-edit.widget-breadcrumb {
	min-height: 50px;
}

.cms .widget-breadcrumb {
	margin-top: 10px;
}

.modal .nav.nav-tabs {
	margin-bottom: 20px;
}

.widget-entity-body p {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 50%;
}


/* ------------------------------------------------------------------------------- */
/*  HTML/Document Widget
/* ------------------------------------------------------------------------------- */
.widget-html h1:FIRST-CHILD, .widget-document h1:FIRST-CHILD {
	margin-top: 0;
}

.widget-html h1, .widget-document h1 {
	font-size: 24px;
}

.widget-html h2, .widget-document h2 {
	font-size: 20px;
}

.widget-html h3, .widget-document h3 {
	font-size: 18px;
}

.widget-html h4, .widget-document h4 {
	font-size: 16px;
}

.widget-html h5, .widget-document h5 {
	font-size: 14px;
}

.widget-html h6, .widget-document h6 {
	font-size: 12px;
}

/* ------------------------------------------------------------------------------- */
/*  User Info View
/* ------------------------------------------------------------------------------- */
.user-container {
	position: relative;
	overflow: hidden;
	min-height: 250px;
	border: 1px solid #CCC;
	max-width: 180px
}

.user-overlay {
	padding-top: 15px;
	position: absolute;
	top: 75%;
	height: 100%;
	width: 100%;
	background: #fff;
	text-align: center;
}

.user-overlay:hover {
	top: 0;
}

.user-container img.user-img {
	max-height: 250px;
	height: auto;
	width: 100%;
	max-width: 180px;
}

.user-social-link {
	bottom: 15px;
	float: left;
	padding: 10px;
}

.user-social-link a:hover {
	color: #CCC;
}

.user-description small {
	white-space: normal;
	overflow: hidden;
	-ms-text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
	text-overflow: ellipsis;
	display: block;
}

/* ------------------------------------------------------------------------------- */
/*  Slider Widget
/* ------------------------------------------------------------------------------- */
.widget-tabs.widget-edit, .widget-cols.widget-edit, .widget-slides.widget-edit
	{
	padding: 25px;
	border: 1px dotted #ccc;
	border-radius: 4px;
	margin-bottom: 20px;
}

.carousel-inner img {
	width: 100%;
}

.widget-slides .hide-controls .carousel-control {
	display: none;
}

.cms .carousel-caption {
	padding: 10px 20px 20px;
	background-color: rgba(39, 39, 39, 0.8);
}

.cms .carousel-caption img {
	width: inherit;
	min-height: inherit;
}

.slide-top-left {
	left: 20px;
	right: 70%;
	top: 20px;
	bottom: inherit;
}

.slide-top-center {
	top: 20px;
	bottom: inherit;
}

.slide-top-right {
	right: 20px;
	left: 70%;
	bottom: inherit;
	top: 20px;
}

.slide-middle-left {
	left: 20px;
	right: 70%;
	top: 50%;
	-ms-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	transform: translateY(-50%);
	bottom: inherit;
}

.slide-middle-center {
	top: 50%;
	-ms-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	transform: translateY(-50%);
	bottom: inherit;
}

.slide-middle-right {
	right: 20px;
	left: 70%;
	top: 50%;
	-ms-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	transform: translateY(-50%);
	bottom: inherit;
}

.slide-bottom-left {
	left: 20px;
	right: 70%;
}

.slide-bottom-center {
	
}

.slide-bottom-right {
	right: 20px;
	left: 70%;
}

@media ( max-width : 979px) {
	.cms .carousel-caption .btn, .cms .carousel-caption h1, .cms .carousel-caption p
		{
		font-size: 90%;
	}
	.cms .carousel-caption .btn {
		padding: 4px 8px;
		line-height: 1.3;
	}
}

@media ( max-width : 767px) {
	.cms .carousel-caption .btn, .cms .carousel-caption h1, .cms .carousel-caption p
		{
		font-size: 70%;
	}
	.slide-top-left {
		left: 5px;
		top: 5px;
	}
	.slide-top-right {
		top: 5px;
		left: 60%;
	}
	.slide-bottom-left {
		left: 5px;
		bottom: 5px;
	}
	.slide-bottom-right {
		left: 60%;
		bottom: 5px;
	}
}

/* Smartphones (portrait and landscape) - Carousel Style */
@media ( min-width : 321px) and (max-width : 480px) {
	.cms .carousel-caption .btn, .cms .carousel-caption h1, .cms .carousel-caption p
		{
		font-size: 50%;
	}
	.cms .carousel-caption {
		max-height: 150px;
		max-width: 140px;
		width: 100%;
		padding: 5px;
		overflow-y:auto;
	}
}

/* Smartphones Portrait - Carousel Style */
@media ( max-width : 320px) {
	.cms .carousel-caption .btn, .cms .carousel-caption h1, .cms .carousel-caption p
		{
		font-size: 45%;
	}
	.cms .carousel-caption {
		max-height: 100px;
		max-width: 120px;
		width: 100%;
		padding: 5px;
	}
}

/* ------------------------------------------------------------------------------- */
/*  Image Widget
/* ------------------------------------------------------------------------------- */
.cms-image-widget {
	display: block;
	position: relative;
}

.widget-slides .widget-image {
	margin-bottom: 0px;
}

.cms-widget-image-overlay {
	background: rgba(0, 0, 0, .8);
	position: absolute;
	width: 100%;
	height: 100%;
	opacity: 0;
	top: 0%;
}

.cms-widget-image-overlay:hover {
	opacity: 1
}

.cms-widget-image-link {
	position: absolute;
	display: block;
	color: #FFFFFF;
	width: 100%;
	height: 100%;
	font-size: 24px;
	text-align: center;
	z-index: 5;
}


.cms-widget-image-link .icon {
	position: absolute;
	top: 50%;
	margin-top: -12px;
}

.cms-widget-image-link:hover {
	color: rgba(204, 204, 204, 0.7);
}

.cms-widget-image-banner-desc, .cms-widget-image-bannerlink-desc {
	top: 45%;
	position: absolute;
	text-align: center;
	width: 100%;
}

/* ------------------------------------------------------------------------------- */
/*  Browse Widget
/* ------------------------------------------------------------------------------- */

.browse-widget-container {
	padding: 0;
	margin: 0;
}

.browse-widget-top, .browse-widget-left, .browse-widget-right {
	padding: 0;
}

.browse-widget-top .btn, .browse-widget-left .btn, .browse-widget-right .btn {
	text-align: left;
}

.browse-widget-top li {
	display: inline-block;
	margin-right: 10px;
}

.browse-widget-left li, .browse-widget-right li {
	display: block;
	margin-bottom: 5px;
}

.browse-widget-item {
	padding: 0;
}

.browse-widget .cms-widget-image-banner h1 {
	font-size: inherit;
}

.browse-widget-container .browse-widget .cms-widget-image-desclink-desc{
	height: 170px;
	max-height: 250px;
	overflow: auto
}

.widget-browse.widget-edit {
	padding-top: 35px;
}

.widget-browse.widget-edit .browse-widget-item {
	border: 2px dotted #ccc;
}

/* Landscape phones and portrait tablets */
@media ( max-width : 767px) {
	.browse-widget .btn {
		padding: 4px 8px;
		font-size: 80%;
		line-height: 1.3;
		margin-bottom: 10px;
	}
}

/* ------------------------------------------------------------------------------- */
/*  Contact Form Widget
/* ------------------------------------------------------------------------------- */
.contact-form-edit.form-horizontal .form-group {
	margin-right: 0px;
	margin-left: 0px;
}

.contact-form-view .control-label {
	padding-top: 0px;
}

.field-sortable-container {
	padding: 10px;
	border-radius: 4px;
	cursor: move;
	border: 1px solid #ccc;
}


/* ------------------------------------------------------------------------------- */
/*  Column Widget
/* ------------------------------------------------------------------------------- */

.column-widget {
	margin-bottom: -20px;
}