/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
body > .panel-overlay, body > .sh-panel-overlay {
	position:fixed!important;
}
.background-center-center {
	background-position: center center;
}
.background-center-top {
	background-position: center top;
}
.background-center-bottom {
	background-position: center bottom;
}
.background-left-center {
	background-position: left center;
}
.background-left-top {
	background-position: left top;
}
.background-left-bottom {
	background-position: left bottom;
}
.background-right-center {
	background-position: right center;
}
.background-right-top {
	background-position: right top;
}
.background-right-bottom {
	background-position: right bottom;
}
.background-cover {
	background-size:cover;
}
.background-contain {
	background-size:contain;
}
.background-no-repeat {
	background-repeat:no-repeat;
}
.background-repeat {
	background-repeat:repeat;
}
.background-repeat-y {
	background-repeat:repeat-y;
}
.background-repeat-x {
	background-repeat:repeat-x;
}

.modal [class*="col-"] {
	/*padding-left:15px!important;
	padding-right:15px!important;*/
}
.modal .row {
	/*margin-left:-15px!important;
	margin-right:-15px!important;*/
}
.modal .mediaWrapper.input-group-addon {
	border-radius: 0!important;
	min-width: 115px!important;
}
.modal .modal-body {
	max-height:85vh!important;
}
.wz-classic li > a {
	padding:6px!important;
}
 
[data-mercury="full"], [data-mercury="simple"] {
	 min-height:25px!important;
}
.grid-stack {
	background: #777;
}
.grid-stack-item-content {
	color: #2c3e50;
	text-align: center;
	background-color: #ccc;
}
.grid-stack .grid-stack {
	/*margin: 0 -10px;*/
	background: rgba(255, 255, 255, 0.3);
}
.grid-stack .grid-stack .grid-stack-item-content {
	background: #ebebeb;
}
.sidebarColumn {
	min-height:60px!important;
}
.addWidget .layout .sh-sidebar {
	/*height:100%;*/
}
.addWidget .sh-sidebar:first-child:before {
	/*height:100%;*/
	background-color:#ccc;
	text-align:center;
	display:block;
	content: ' ';
	position: absolute;
	top: 15px;
	right: 0;
	bottom: 15px;
	left: 0;
	z-index:-1;
}
.addWidget .layout .row {
	margin:0 -15px;
	min-height:60px;
}
.sh-sidebar {
	position:relative;
}
.sidebarControls {
	overflow: hidden;
	position:absolute;
	bottom:0; 
	left:0px;
	right:0px;
	height:0px;
	z-index:-1;
	font-weight:bold;
	padding-top:10px;
	text-align: center;
	font-size: 1em;
	color: #fff;
	cursor:pointer;
	background-color:transparent;
	border:1px solid transparent;
	transition: all linear 50ms;
}
.sidebarControlsActive {
	height:40px;
	bottom:-40px;
	z-index:2;
	border:1px dotted #333;
	border-top:1px solid transparent;
	background-color:#3C6089;
}
.sh-modal-dialog, .modal-dialog {
	min-width:30%!important;
}
.sh-modal-lg, .modal-lg {
	min-width:70%!important;
}
.sh-modal-header, .modal-header {
	background-color:#3F638C;
}
.sh-modal-title, .modal-title {
	color:#fff!important;
}
.sh-modal-header .sh-close span, .modal-header .close span {
	color:#fff;
	font-size:1.75em;
}
.has-feedback label~.form-control-feedback, .sh-has-feedback label~.sh-form-control-feedback {
	top: 0px!important;
}
.editWidgetIcon, .removeWidgetIcon {
	display:inline-block;
	width:30px;
	height:31px;
	background-position:top left;
	background-size: contain;
}
.editWidgetIcon {
	background-image: url('../images/widget-controls/edit.png');
}
.removeWidgetIcon {
	background-image: url('../images/widget-controls/close.png');
}

.mediaSelected {
	background-color:#090!important;
}
.mediaWrapper {
	height:130px;
	width:117px!important;
	position:relative!important;
	margin:1% 0 1% 1%;
	float:left;
	clear:none;
	background-color:#ccc;
	border-radius: 0!important;
}
.mediaItem {
	width:118px;
	height:105px;
	background-size:cover;
	background-position:center center;
	position:absolute;
	top:0;
	left:0;
}
.mediaDims {
	position:absolute; 
	right:6px; 
	bottom:3px;
	font-size:12px;
}
.mediaSelected .mediaDims {
	color:#fff!important;
}
#widgetSettingsForm .mediaWrapper.input-group-addon {
	border-radius:0!important;
	min-width: 120px!important;
}
#widgetSettingsForm .mediaWrapper.input-group-addon:first-child {
	border: 1px solid rgba(0,0,0,0.07)!important;
}
#widgetSettingsForm .mediaWrapper.input-group-addon:last-child {
	border: 1px solid rgba(0,0,0,0.07)!important;
}
#widgetSettingsForm .has-success .input-group-addon:first-child {
	border-right: 1px solid #3c763d;
}
#widgetSettingsForm .has-error .input-group-addon:first-child {
	border-right: 1px solid #a94442;
}
#widgetSettingsForm .has-success .input-group-addon:last-child {
	border-left: 1px solid #3c763d;
}
#widgetSettingsForm .has-error .input-group-addon:last-child {
	border-left: 1px solid #a94442;
}
#widgetSettingsForm .has-feedback label~.form-control-feedback {
	top: 0px;
}
[id^="nifty-overlay"] * {
	font-weight:bold!important;
}
[id^="nifty-overlay"] p {
	color:#000!important;
}