.ThfGalleryEditorDropZone{
	width: 100%;
	display: table;
	border: 1px dashed #aaa;
	border-radius: 4px;
	text-align: center;
	padding: 5px 5px;
	color: #aaa;
	font-size: 1.25em;
	cursor: default;
	font-family: Segoe, Segoe UI, DejaVu Sans, Trebuchet MS, Verdana," sans-serif";
	margin-bottom:-40px;
}
.ThfGalleryEditorDropZoneTitle{
    display: table-cell;
    vertical-align: middle;
	cursor: pointer;
}
.ThfGalleryEditorDropZone input[type="file"]{display: none;}
.ThfGalleryEditorSlotTitle{
	
	display: inline-block;
	max-height: 2em;
	line-height: 2em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	width: 99%;
	/*padding-left: 5%;	padding-right: 5%;	margin-top: 0.5em;*/
	font-size: 0.85em;
	font-style: italic;
	
/*	direction: rtl; text-align: right; float:left; */
}
.ThfGalleryNumerotare{
	float: left;
	opacity: 0.5;
	
}

.ThfGalleryFileWrap{
	padding-top: 1em;
	padding-bottom: 2em;
	padding-left: 1em;
	padding-right: 1em;
	border: 1px solid #ddd;
	border-radius: 0.33em;
}
.ThfGalleryFileWrap .editArea {background: none;}

.bstBrowseWrapper{
	border-collapse: separate;
	color: rgb(51, 51, 51);
	display: table;
	font-size: 14px;
	line-height: 20px;
	position: relative;
	width: 94%;
	margin-left: 3%;
	margin-right: 3%;

}
.bstBrowsePlaceholder{
	border-top-right-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
	display: table-cell;
	position: relative;
	z-index: 2;
	float: left;
	width: 100%;
	margin-bottom: 0;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 14px !important;
	color: #555;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
	border-collapse: separate;
}
.bstBrowseBtn{
	position: relative;
	top:-1px;
	font-size: 0;
	line-height: 0px !important;
	white-space: nowrap;
	width: 1%;
	vertical-align: middle;
	border-collapse: separate;
	display: table-cell;
	color: #333;
}
.bstBrowseBtn .btn{
	text-transform:none !important;
	border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
	overflow: hidden;
	margin-left: -1px;
	position: relative;
	z-index: 2;
	line-height: 14px !important;
	top: 1px;
	color: #fff;
	background-color: #337ab7;
	border-color: #2e6da4;
	display: inline-block;
	padding: 6px 12px;
	margin-bottom: 0;
	font-size: 14px;
	font-weight: 400;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	touch-action: manipulation;
	background-image: none;
	cursor: pointer;
	border: 1px solid transparent;
	border-radius: 4px;
}
.bstBrowseBtn .glyphicon-folder-open{
	/*line-height: 14px !important;*/
}
.bstBrowseWrapper input[type="file"]{
	top: 0;
	left: 0;
	min-width: 100%;
	min-height: 100%;
	text-align: right;
	opacity: 0;
	background: none;
	cursor: inherit;
	display: block;	
}
/* ************************ rario controls *********************************************************** */
.bstrc label{
	position: relative;
	cursor: pointer;
	color: #666;
	font-size: 1.1em;
}

.bstrc.bstrc_title label{	font-size: 1.6em;}

.bstrc input[type="checkbox"], .bstrc input[type="radio"]{
	position: absolute;
	right: 9000px;
}

/*Check box*/
.bstrc input[type="checkbox"] + .label-text:before{
	content: "\f096";
	font-family: "FontAwesome";
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing:antialiased;
	width: 1em;
	display: inline-block;
	margin-right: 5px;
}

.bstrc input[type="checkbox"]:checked + .label-text:before{
	content: "\f14a";
	color: #2980b9;
	animation: effect_radio 250ms ease-in;
}

.bstrc input[type="checkbox"]:disabled + .label-text{
	color: #aaa;
}

.bstrc input[type="checkbox"]:disabled + .label-text:before{
	content: "\f0c8";
	color: #ccc;
}

/*Radio box*/

.bstrc input[type="radio"] + .label-text:before{
	content: "\f10c";
	font-family: "FontAwesome";
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing:antialiased;
	width: 1em;
	display: inline-block;
	margin-right: 5px;
}

.bstrc input[type="radio"]:checked + .label-text:before{
	content: "\f192";
	color: #E35E25;
	animation: effect_radio 250ms ease-in;
}

.bstrc input[type="radio"]:disabled + .label-text{
	color: #aaa;
}

.bstrc input[type="radio"]:disabled + .label-text:before{
	content: "\f111";
	color: #ccc;
}

/*Radio togglex*/

.bstrc .togglex input[type="radio"] + .label-text:before{
	content: "\f204";
	font-family: "FontAwesome";
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing:antialiased;
	width: 1em;
	display: inline-block;
	margin-right: 10px;
}

.bstrc .togglex input[type="radio"]:checked + .label-text:before{
	content: "\f205";
	color: #00AA3E;
	animation: effect_radio 250ms ease-in;
}

.bstrc .togglex input[type="radio"]:disabled + .label-text{
	color: #aaa;
}

.bstrc .togglex input[type="radio"]:disabled + .label-text:before{
	content: "\f204";
	color: #ccc;
}


@keyframes effect_radio{
	0%{transform: scale(0);}
	25%{transform: scale(1.3);}
	75%{transform: scale(1.4);}
	100%{transform: scale(1);}
}