/* Portlets */
.box {
	margin-bottom:10px;
	position: relative;
}

.box .box-header {
	size:10px;
	padding: 7px 7px;
	margin: 0;
	list-style: none;
	cursor:move;
}

.box .box-header {
	background-color: #fbfbfb;
	background-image: -moz-linear-gradient(top, #ffffff, #f5f5f5);
	background-image: -ms-linear-gradient(top, #ffffff, #f5f5f5);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f5f5f5));
	background-image: -webkit-linear-gradient(top, #ffffff, #f5f5f5);
	background-image: -o-linear-gradient(top, #ffffff, #f5f5f5);
	background-image: linear-gradient(top, #ffffff, #f5f5f5);
	background-repeat: repeat-x;
	border-top:1px solid #DDD;
	border-left:1px solid #DDD;
	border-right:1px solid #DDD;
	filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0);
	-webkit-box-shadow: inset 0 1px 0 #ffffff;
	-moz-box-shadow: inset 0 1px 0 #ffffff;
	box-shadow: inset 0 1px 0 #ffffff;
}

.box .box-header > .heading {
	font-size: 14px;
	line-height: 18px;
	color: inherit;
	font-family: inherit;
	font-weight: bold;	
}

.box-content {
	padding: 10px;
	/*padding-bottom: 5px !important;*/
	min-height: 10px;
	border-top:1px solid #DDD;
	border-left:1px solid #DDD;
	border-right:1px solid #DDD;
	border-bottom:1px solid #DDD;
	/*background-color: #fff;*/
	
}

.box .box-settings {
	padding:10px;
	border-top:1px solid #DDD;
	border-left:1px solid #DDD;
	border-right:1px solid #DDD;
	background-color: #fbfbfb;
	background-image: -moz-linear-gradient(top, #ffffff, #f5f5f5);
	background-image: -ms-linear-gradient(top, #ffffff, #f5f5f5);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f5f5f5));
	background-image: -webkit-linear-gradient(top, #ffffff, #f5f5f5);
	background-image: -o-linear-gradient(top, #ffffff, #f5f5f5);
	background-image: linear-gradient(top, #ffffff, #f5f5f5);
	background-repeat: repeat-x;
}

.box-btn {
 	float:right;
	margin-left:2px;
	margin-right:2px;
	height: 14px;
	/*width: 14px;*/
	text-decoration:none;
	display: block;
	float: right;
	overflow: hidden;
	background-position:center;
	cursor:pointer;
}

.box-btn [class^="icon-"], .box-btn [class*=" icon-"] { 
	vertical-align:top;
}

/*.box-btn {
	border:1px solid rgba(0, 0, 0, 0.2);
	border-radius: 3px;
	-moz-box-shadow: 0px 1px 0px rgba(255,255,255,0.3);
	-webkit-box-shadow: 0px 1px 0px rgba(255,255,255,0.3);
	box-shadow: 0px 1px 0px rgba(255,255,255,0.3);
}*/



/*.box-settings-closed {
	display:none;
}*/



/*.box-bar {
	float: right;
    position: relative;
	top: -10px;
    left: 10px;
    height: 12px;
	background:#DFDFDF;
	padding: 3px;
}*/

/*FIX to make sure drop down button has lower z-index than menu*/
.btn-group button.dropdown-toggle{z-index:999}

.box-bar {
    position: absolute;
	margin: 3px 3px 0 0;
	right: 0;
}

.btn-group-vertical{display:block;}
.btn-group-vertical+.btn-group-vertical{margin-top:5px;}
.btn-group-vertical .btn{display:block;width:100%;margin-top:-1px;padding-top:5px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;}
.btn-group-vertical .btn.btn-large{padding-top:10px;}
.btn-group-vertical .btn:first-child{margin-top:0;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;}
.btn-group-vertical .btn:last-child,.btn-group-vertical .dropdown-toggle{-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px;}
.btn-group-vertical .btn.large:first-child{margin-top:0;-webkit-border-top-left-radius:6px;-moz-border-radius-topleft:6px;border-top-left-radius:6px;-webkit-border-top-right-radius:6px;-moz-border-radius-topright:6px;border-top-right-radius:6px;}
.btn-group-vertical .btn.large:last-child,.btn-group-vertical .large.dropdown-toggle{-webkit-border-bottom-left-radius:6px;-moz-border-radius-bottomleft:6px;border-bottom-left-radius:6px;-webkit-border-bottom-right-radius:6px;-moz-border-radius-bottomright:6px;border-bottom-right-radius:6px;}
.btn-group-vertical .btn:hover,.btn-group-vertical .btn:focus,.btn-group-vertical .btn:active,.btn-group-vertical .btn.active{z-index:2;}
.btn-group-vertical .dropdown-toggle:active,.btn-group-vertical.open .dropdown-toggle{outline:0;}


/* Round Corners and text effects
----------------------------------------------------------------------------------------------------*/

.round-all {
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.round-top {
	-webkit-border-top-left-radius: 3px;
	-webkit-border-top-right-radius: 3px;
	-moz-border-radius-topleft: 3px;
	-moz-border-radius-topright: 3px;
	border-radius: 3px 3px 0 0;
}
.round-bottom {
	-webkit-border-bottom-right-radius: 3px;
	-webkit-border-bottom-left-radius: 3px;
	-moz-border-radius-bottomright: 3px;
	-moz-border-radius-bottomleft: 3px;
	border-radius: 0 0 3px 3px;
}
.round-left {
	-webkit-border-top-left-radius: 3px;
	-webkit-border-bottom-left-radius: 3px;
	-moz-border-radius-topleft: 3px;
	-moz-border-radius-bottomleft: 3px;
	border-radius: 3px 0 0 3px;
}
.round-right {
	-webkit-border-top-right-radius: 3px;
	-webkit-border-bottom-right-radius: 3px;
	-moz-border-radius-topright: 3px;
	-moz-border-radius-bottomright: 3px;
	border-radius:0 3px 3px 0;
}

.border-all {
	border: 1px solid #eee;
}
.border-top {
	border-top: 1px solid #eee;
}
.border-bottom {
	border-bottom:1px solid #eee;
}
.border-left {
	border-left: 1px solid #eee;
}
.border-right {
	border-right: 1px solid #eee;
}

/* dialogs
----------------------------------------------------------------------------------------------------*/
#dialog.large {
	width: 780px; 
	margin-left: -390px; 
	height: 600px;
	max-height: 600px;
	/*top: 390px;*/
}
#dialog.large > .modal-body {
	height: 460px;
	max-height:460px;
}

/* widget selection
----------------------------------------------------------------------------------------------------
#wgtGallery .we-widget {
	width:250px !important;	
	
}
#wgtGalleryContainer {
	position:absolute;
	background-color:#000;
	display:none;
}*/

.box-placeholder {
	background-color: #CDCDCD;//f5f5f5
	border: 1px dashed #DDDDDD;
	display: block;
	/* float: left;*/
    margin-bottom: 13px !important;
	margin-left: 1%;
	margin-right: 0.6%;
}
.we-draggable{
	cursor:move !important;	
}
.box-placeholder * {
	visibility:hidden;
}
.ui-draggable-dragging, .ui-sortable-helper {
	width:auto !important;	
	margin:auto 0;
}

.highlight {
	background-color: #FCFCFC;
	outline: 1px dashed #CCCCCC;
	min-height:20px;
}

.we-droppable.highlight {
	background-color: #f5f5f5;
	outline: 1px dashed #DDDDDD;
}