/* popup styles ############################################################################# */
.popup_container{
	float: left;
	background: white;
	border-width: 5px;
	border-color: #666;
	border-style: solid;
	/*border-radius: 9px;*/
	width: 555px;
	color: #333;
	font-family: 'Lucida Grande', 'Lucida Sans Unicode', Helvetica, Arial, sans-serif;
	font-size: 11px;
	line-height: normal;
	/* shadow */
	-moz-box-shadow: 0 12px 29px rgba(0, 0, 0, .35);
	-webkit-box-shadow: 0 12px 29px rgba(0, 0, 0, .35);
	box-shadow: 0 12px 29px rgba(0, 0, 0, .5);
}

.popup_header{
	background: rgb(242, 242, 242);
	padding: 10px;
	padding-left: 0px;
	padding-right: 0px;
	border-bottom: 1px solid rgb(204, 204, 204);
}

.popup_header .title{
	float: left;
	font-size: 12px;
	font-weight: bold;
	margin-left: 10px;
	margin-right: 10px;
	width: 360px;
}

.popup_header .close{
	float: right;
	margin-right: 10px;
}

.popup_header .close a{
	color: #999999;
	text-decoration: none;
	font-size: 10px;
	font-weight: normal;
}

.popup_header .close a:hover{
	color: #555555;
}
.popup_header .close a:active{
	background: none;
}

.popup_content{
	margin: 10px;
}

.popup_footer{
	background: rgb(242, 242, 242);
	padding: 5px;
	padding-left: 0px;
	padding-right: 0px;
	border-top: 1px solid rgb(204, 204, 204);
}

.popup_footer div.content{
	float: left;
	margin-left: 10px;
	margin-right: 10px;
}

.popup_container * {
	font-family: 'Lucida Grande', 'Lucida Sans Unicode', Helvetica, Arial, sans-serif;
	/*color: #333;*/
}


/* formular styles ######################################################################## */
textarea.no_resize{
	resize: none;
}

/* popup form */
.popup_content label{
	float: left;
	width: 200px;
	text-align: right;
	clear: both;
	font-size: 11px;
	font-weight: bold;
	margin-right: 10px;
	line-height: 12px;
	font-family: 'Lucida Grande', 'Lucida Sans Unicode', Helvetica, Arial, sans-serif;
	min-height: 10px;
}
.popup_content label span{
	display: block;
	width: 200px;
	text-align: right;
	font-weight: normal;
	font-size: 9px;
	color: #777;
	margin-top: 2px;
}
.popup_content input,
.popup_content textarea,
.popup_content select,
.popup_content ul{
	float: left;
	text-align: left;
	font-size: 11px;

}
.popup_content input[type=text],
.popup_content input[type=password],
.popup_content textarea,
.popup_content input[type=file]{
	padding: 5px;
	padding-left: 2px;
	padding-right: 2px;
	margin-right: 5px;
	border-radius: 0px;
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
}
.popup_content input[type=file]{
	padding: 1px;
	width: 290px;
}
.popup_content textarea{
	width: 290px !important;
	height: 100px;
}
.popup_content input[type=text]{
	width: 290px;
}
.popup_content ul{
	width: 290px;
	list-style: none;
	margin-top: 0px;
	border-left: #CCC;
	padding-left: 4px;
}
.popup_content li{
	display: block;
	margin-bottom: 3px;
	font-size: 11px;
}
.popup_content ul input[type=radio],
.popup_content ul input[type=checkbox]{
	float: none;
	margin-right: 4px;
}

/* remove when all popup buttons has the i4_button class START */

.popup_content button{

	text-shadow: 0 1px 0 white;
	text-align: center;
	font-size: 12px;
	border: 1px solid #838383;

	background: #F0F0F0;
	background: -webkit-linear-gradient(top, #F7F7F7, #D1D1D1);
	background: -moz-linear-gradient(top, #F7F7F7, #D1D1D1);
	background: -ms-linear-gradient(top, #F7F7F7, #D1D1D1);
	background: -o-linear-gradient(top, #F7F7F7, #D1D1D1);

	padding: 12px;
	padding-top: 4px;
	padding-bottom: 4px;
	cursor: pointer;
	margin: 5px;
	margin-top: 0px;
	margin-bottom: 0px;

	color: #333;
	height: inherit;
	line-height: inherit;

	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;

	-webkit-box-shadow: none;	/* webkit browser*/
	-moz-box-shadow: none;	/* firefox */
	box-shadow: none;

}
.popup_content button:hover {
	background: #F0F0F0;
    background: -webkit-linear-gradient(top, #ffffff, #dfdfdf);
    background: -moz-linear-gradient(top, #ffffff, #dfdfdf);
    background: -ms-linear-gradient(top, #ffffff, #dfdfdf);
    background: -o-linear-gradient(top, #ffffff, #dfdfdf);

    -webkit-box-shadow: none;	/* webkit browser*/
	-moz-box-shadow: none;	/* firefox */
	box-shadow: none;

	border: 1px solid #838383;
}
.popup_content button:active{
	background: #d0d0d0;
    background: -webkit-gradient(linear, left top, left bottom, from(#a8a8a8), color-stop(0.15, #c6c6c6), to(#d8d8d8));
    background: -webkit-linear-gradient(top, #a8a8a8, #c6c6c6 15%, #d8d8d8);
    background: -moz-linear-gradient(top, #a8a8a8, #c6c6c6 15%, #d8d8d8);
    background: -ms-linear-gradient(top, #a8a8a8, #c6c6c6 15%, #d8d8d8);
    background: -o-linear-gradient(top, #a8a8a8, #c6c6c6 15%, #d8d8d8);
}
/* remove when all popup buttons has the i4_button class START */

.popup_content button[type=submit]{
	font-weight: bold;
}

.popup_content input.date{
	width: 70px;
	margin: 0px;
}
.popup_content input.time{
	width: 51px;
	margin: 0px;
}

.popup_content .icon_calendar,
.popup_content .icon_time {
	float: left;
	margin-left: 2px;
	margin-right: 2px;
}

.popup_content .button_container{
	float: left;
	width: 100%;
	text-align: center;
	margin-top: 10px;
	border-top: 1px solid rgb(204, 204, 204);
	padding-top: 10px;
	padding-bottom: 10px;
}

.popup_content fieldset{
	margin-top: 30px;
	margin-bottom: 10px;
	float: left;
	width: 99%;
	border: 1px solid rgb(204, 204, 204);
	padding-top: 10px;
	padding-bottom: 10px;
}
.popup_content fieldset legend{
	border: 1px solid rgb(204, 204, 204);
	border-bottom: none;
	margin-left: 20px;
	padding: 5px;
	padding-left: 12px;
	padding-right: 12px;
	float: left;
	margin-top: -34px;
	background: white;
	font-size: 11px;
	font-weight: bold;
}

.popup_content a.document_preview{
	float: left;
	color: #333;
	text-decoration: underline;
}

.popup_content img.image_preview{
	float: left;
	margin-top: 4px;
	width: 120px;
	border: 1px solid #333;
}


.popup_content img.current {
	height: 35px;
	float: left;
}

.popup_content img.icon_calendar,
.popup_content img.icon_time {
	cursor: pointer;
}

option:disabled {
	color: #ccc;
	font-style: italic;
}

/* tiny mce size hack */
.mceIframeContainer {
	height: 100%;
}

/* special form classes */
.popup_content ul.horizontal li{
	float: left;
	margin-right: 10px;
}

.popup_content input[type=text].short{
	width: 100px;
}
.popup_content input[type=text].margin_right{
	margin-right: 5px;
}


/* popup delete ######################################################################## */
.popup_delete{
	border-color: rgb(215, 50, 51);
	width: 350px;
}
.popup_delete div.title{
	width: 260px;
}
.popup_delete div.popup_content{
	text-align: center;
	font-size: 13px;
}

/* popup error ######################################################################## */
.popup_error{
	border-color: rgb(215, 50, 51);
	width: 350px;
}
.popup_error div.title{
	width: 260px;
}

/* popup loader ######################################################################## */
.popup_loader {
	padding: 10px;
	background: white;
	margin-top: 100px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}
#i4_popup_loader {
	background: white url(../image/loader.gif) 50% 50% no-repeat;
	width: 60px;
	height: 60px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	position: absolute;
	z-index: 96;
	margin-left: 10px;
	margin-top: 10px;
	/* shadow */
	-moz-box-shadow: 0 12px 29px rgba(0, 0, 0, .35);
	-webkit-box-shadow: 0 12px 29px rgba(0, 0, 0, .35);
	box-shadow: 0 12px 29px rgba(0, 0, 0, .35);
}


/* tab styles ######################################################################## */
.tab_buttonbar {
	width:100%;
	background-image:url(../image/tab_line.png);
	background-position:bottom;
	background-repeat:repeat-x;
	padding:4px 0 0 4px;
	float:left;
	margin-bottom: 10px;
}

.tab_button {
	display:block;
	float:left;
	height:24px;
	margin:0;
	padding:0;
	margin-right:10px;
	padding-top:4px;
	padding-left:6px;
	padding-right:6px;
	cursor:pointer;
}

.tab_active {
	background-color:white;
	border-left:1px #ccc solid;
	border-top:1px #ccc solid;
	border-right:1px #ccc solid;
	font-weight:bold;
}

.tab_error {
	color:red;
}

/*  popup form dragn drop ######################################################################## */
.drag_drop_container {
	width: 100%;
	float: left;
	margin-top: 10px;
	background: url(../image/double_arrow.gif) no-repeat center center;
}

.drag_drop_container * {
	font-size: 11px;
}

.popup_content .drag_drop_container ul {
	width: auto;
	border: none;
	border: 1px solid #ccc;
	width: 100%;
	margin-top: 5px;
	padding: 0px;
	min-height: 100px;
}
.drag_drop_container ul.hover {
	background: #ececec;
}
.drag_drop_container ul li.dragged {
	border: 2px dotted black;
}

.drag_drop_container li {
	border-top: 1px solid #ccc;
	padding: 3px;
	margin: 0px;
}
.drag_drop_container ul :first-child {
	border: none;
}

.popup_content .drag_drop_container label {
	text-align: left;
	width: 165px;
}

.drag_drop_container div.drag_drop_box {
	float: left;
	margin: 12px;
	width: 40%;
}

.drag_drop_container div.right_box {
	float: right;
}

.drag_drop_container .content {
	float: left;
	width: 100%;
}


/* empty plugin styles ######################################################################## */
.empty_plugin{
	padding: 10px;
	background: #E9E9E9;
	border: 1px solid #C7C7C7;
	text-align: center;
	color: #7D7D7D;
	font-size: 11px;
	line-height: normal;
	font-family: arial;
}


/* edit icons / edit toolbar / edit overlay ######################################################################## */
.edit_overlay{
	background: #2c7d25;
	z-index: 90;
	position: absolute;
	top: 0px;
	left: 0px;
	opacity: 0.3;
	filter: alpha(opacity=30);
}

.edit_bar {
	background: #e0e0e0;
	z-index: 90;
	position: absolute;
	width: 9px;
	left: 0px;
	top: 0px;
	cursor: pointer;
}
.edit_bar_active{
	background: #16ab0a;
}

.edit_bar_back {
	background: #e0e0e0;
	z-index: 0;
	position: absolute;
	width: 9px;
	left: 0px;
	top: 0px;
}

.edit_button_container{
	background: white;
	border: 1px solid #ccc;
	padding: 5px;
	position: absolute;
	z-index: 92;
	left: 0px;
	top: 0px;
	/* shadow */
	-moz-box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
	-webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
	box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
}

.edit_button_container .edit_icon{
	float: left;
	padding: 2px;
	padding-left: 10px;
	padding-right: 10px;
	cursor: pointer;
}

.edit_icon img,
.new_icon img{
	opacity: 0.3;
	filter: alpha(opacity=30);
	border: none;
}
.edit_icon img:hover,
.new_icon img:hover{
	opacity: 1;
	filter: alpha(opacity=100);
}

/* action sidebar ######################################################################## */
#i4_action {
	position: fixed;
	right: 0px;
	top: 0px;
	height: 100%;
	width: 100px;
	background: #f6f6f6;
	padding: 20px;
	padding-left: 40px;
	padding-top: 40px;
	z-index: 93;
}

#i4_action div#clickable_bar {
	left: 0px;
	top: 0px;
	position: absolute;
	background: black;
	cursor: pointer;
}

#i4_action .empty_plugin {
	padding: 4px;
	padding-bottom: 6px;
	padding-top: 6px;
}


/* topbar ######################################################################## */
#i4_topbar {
	position: fixed;
	width: 100%;
	z-index: 94;
	top: 0px;
	left: 0px;

	background: #4e4e4e;
	background: -webkit-linear-gradient(#464646 0%, #1f1f1f 100%);
	background: linear-gradient(#464646 0%, #1f1f1f 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#464646', endColorstr='#1f1f1f',GradientType=0 ); /* IE6-9 */

	border-bottom: 1px solid black;

	-moz-box-shadow: 0px 2px 10px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0px 2px 10px rgba(0,0,0,0.5);
	box-shadow: 0px 2px 10px rgba(0,0,0,0.5);
}
#i4_topbar ul {
    margin: 0;
}
#i4_topbar ul,
#i4_topbar a {
	color: #c5c5c5;
	font-size: 12px;
}
#i4_topbar ul.items_right {
	float: right;
	padding-right: 5px;
}
#i4_topbar ul.items_left {
	float: left;
	padding-left: 5px;
}
#i4_topbar ul li {
	float: left;
	list-style: none;
	padding: 2px;
	padding-left: 4px;
	padding-right: 4px;
}
#i4_topbar a {
	text-decoration: none;
	padding-left: 5px;
	padding-right: 5px;
	display: inline-block;

	border-top: none;
	border-bottom: none;

	border-radius: 4px;
	line-height: 20px;
	border: 1px solid #2b2b2b;
}
#i4_topbar a:hover {

	color: white;


}
#i4_topbar a:active {
	background: black;
}

body.topbar {
	padding-top: 27px;
	/* height: auto; */ /* any reason for this? it breaks the footer being align to the bottom of the screen... (ale/20141110) */
}


/* action sidebar ######################################################################## */
#i4_message {
	font-family: 'Lucida Grande', 'Lucida Sans Unicode', Helvetica, Arial, sans-serif;
}

/* form choose ######################################################################## */
.popup_content .image_choose button,
.popup_content .document_choose button {
	float: left;
}

.popup_content .image_choose img.selected_preview {
	float: left;
}
.popup_content .document_choose div.selected_preview {
	margin-top: 10px;
}

/* form fineuploader ######################################################################## */
.fineuploader_status {
	float: left;
	min-height: 21px;
    width: 235px;
	margin-top: 5px;
}
.fineuploader_status ul{
	width:100%;
}
.fineuploader_status .qq-upload-file {
	margin-right: 5px;
	width: 220px;
	float: left;
}
.fineuploader_status .qq-upload-size {
	float: left;
	width: 76px;
}
.fineuploader_status .qq-upload-spinner {
	background: url(../image/loader-small.gif) no-repeat;
	width: 26px;
	height: 15px;
	float: left;
	margin-right: 10px;
}
.fineuploader_status .qq-upload-cancel {
	float: left;
	margin-right: 15px;
}
.fineuploader_status .qq-upload-file {
	display: none;
}
.fineuploader_status .qq-upload-status-text {
	float: left;
	width: 100%;
	margin-top: 2px;
}
.fineuploader_button {
	display: inline-block;
	float: left;
}
.popup_content .fineuploader_button input {
	width: auto;
}
.upload_preview {
	float: left;
}

/* form list edit ######################################################################## */
.list_editor_result {
	text-align: center;
}
.list_editor_result,
.list_editor_result .list_item {
	float: left;
	width: 100%;
}
.list_editor_result .list_item {
	padding-bottom: 5px;
	padding-top: 5px;
}
.list_editor_result .list_item:hover {
	background: #f1f1f1;
}

.list_editor_result button {
	margin-top: 10px;
}
.list_editor_result img.list_remove_item,
.list_editor_result img.list_move_item {
	cursor: pointer;
	float: left;
	padding-top: 4px;
	opacity: 0.3;
	filter: alpha(opacity=30);
}
.list_editor_result img.list_move_item {
	cursor: move;
}
.list_editor_result img.list_remove_item:hover,
.list_editor_result img.list_move_item:hover {
	opacity: 1;
	filter: alpha(opacity=100);
}

/* slideshow in edit mode */
body.topbar .component_slideshow {
	margin-left: 18px;
}

/*
.blur {
	filter: url("../image/blur.svg#gaussian_blur");
	blur : blur(1px);
	-webkit-filter: blur(1px);
	-o-filter:  blur(1px);
}
*/
