div.Gallery .error {
	color: red;
}

a.thickbox img.slideshow, a.colorbox img.slideshow {
    border: 1px #CCCCCC solid;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    padding: 2px;
}

a.thickbox:hover img.slideshow, a.colorbox:hover img.slideshow {
    border: 1px #515151 solid;
}

/* Sortable */

ul.connectedSortable {
	float: left;
	width: 100%;
}

span.gallery_slides_convert_list a { 
	background: url('../../xkey-dekstop - Copy/images/listgrid.png') left top;
	text-align: left;
	text-indent: -999px;
	display: block;
	width: 20px;
	height: 20px;
	float: left;
	margin: 0 5px 0 0;
}

span.gallery_slides_convert_list a:hover,
.gallery_slides_list span.gallery_slides_convert_list a { 
	background:url('../../xkey-dekstop - Copy/images/listgrid.png') 40px top; 
	text-align: left;
	text-indent: -999px;
	display: block;
	width: 20px;
	height: 20px;
	float: left;
	margin: 0 5px 0 0;
}

span.gallery_slides_convert_grid a { 
	background:url('../../xkey-dekstop - Copy/images/listgrid.png') 60px top; 
	text-align: left;
	text-indent: -999px;
	display: block;
	width: 20px;
	height: 20px;
	float: left;
	margin: 0 5px 0 0;
}

span.gallery_slides_convert_grid a:hover,
.gallery_slides_grid span.gallery_slides_convert_grid a { 
	background:url('../../xkey-dekstop - Copy/images/listgrid.png') right top; 
	text-align: left;
	text-indent: -999px;
	display: block;
	width: 20px;
	height: 20px;
	float: left;
	margin: 0 5px 0 0;
}

.sortable-elements {
	display:inline-block;
}

.sortable-form-table-element, .sortable-form-table-headings, .ui-sortable li.gallerylineitem {
	float:left;
	margin-bottom:12px;
	width:100%;
	padding:8px 0;
}

.ui-sortable li.gallerylineitem {
	float:left;
	width:30%;
	min-width:30%;
	clear:both;
	white-space: nowrap;
	overflow: hidden;
    position: relative;
}

.relatedslides .ui-sortable li.gallerylineitem {
	width: 80%;
}

.ui-sortable li.ui-sortable-helper {
	width: 30%;
}

.ui-sortable li.gallerylineitem span.link {
    right: 10px;
    position: absolute;
}

.ui-sortable li.gallerylineitem span.link a {
    font-size: 90%;
}

.ui-sortable li.gallerylineitem span.link a:hover {
    text-decoration: none;
}

.sortable-form-table-element, .ui-sortable li.gallerylineitem {
	cursor: url(https://mail.google.com/mail/images/2/openhand.cur), default !important;
	background-color: #F1F1F1;
	background-image: -ms-linear-gradient(top,#F9F9F9,#ECECEC);
	background-image: -moz-linear-gradient(top,#F9F9F9,#ECECEC);
	background-image: -o-linear-gradient(top,#F9F9F9,#ECECEC);
	background-image: -webkit-gradient(linear,left top,left bottom,from(#F9F9F9),to(#ECECEC));
	background-image: -webkit-linear-gradient(top,#F9F9F9,#ECECEC);
	background-image: linear-gradient(top,#F9F9F9,#ECECEC);
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
	border:1px solid #DFDFDF;
}

#slidelist .sortable-form-table-element table, #slidelist .sortable-form-table-headings table, #slidelist.ui-sortable {
	/*float:left;*/
	width:100%;
	border-spacing:0;
}

.gallery_slides_grid #slidelist li.gallerylineitem {
	width:90px !important;
	min-width:90px !important;
	height:112px;
	display:block;
	float:left;
	clear:none !important;
	margin-right:10px;
	white-space:normal
}

.gallery_slides_grid #slidelist li.gallerylineitem .gallery_slide_image {
	display:block !important;
	border:1px solid #DDD;
	float:left;
	width:89px;
	height:89px;
	margin-bottom:5px;
}

.gallery_slides_grid .gallery_slide_title {
	float:left;
	height:20px;
	line-height:20px;
	display:block;
	width:90px;
	overflow:hidden;
}

.gallery_slides_grid .wpml-placeholder, .gallery_slides_grid .gallery-placeholder { 
	float:left; 
	width:88px !important;
	min-width:88px !important;
	height:135px;
	border:1px dashed #c9c9c9;
	background:#f9f9f9;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
	margin-bottom:10px;
	margin-right:10px;
	clear:none !important;
}

.sortable-form-table-element table td, .sortable-form-table-headings table td{
	padding:0 8px;
	width:43%;
	color:#333;
	font-weight:bold;
	text-shadow:1px 1px 0 #FFF;
}

.ui-sortable li.gallerylineitem {
	color:#333;
	font-weight:bold;
	text-shadow:1px 1px 0 #FFF;
	padding:12px;
}

.sortable-form-table-element table td input[type=text] {
	font-weight:normal;
	/*width:40%;*/
	padding:5px;
}

.sortable-form-table-element table td.gallery-checkbox-required, .sortable-form-table-element table td.gallery-checkbox-show,
.sortable-form-table-headings table td.gallery-checkbox-required, .sortable-form-table-headings table td.gallery-checkbox-show {
	width:5%;
	text-align:center;
}

.wpml-placeholder, .gallery-placeholder { 
	float:left; 
	width:100%;
	height:43px;
	border:1px dashed #c9c9c9;
	background:#f9f9f9;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
	margin-bottom:10px;
}

#slidelist .gallery-placeholder {
	float:left;
	clear:both;
	width:30%;
	padding:0 12px;
}

.relatedslides li.gallery-placeholder {
	width: 80% !important;
}

.ui-sortable-helper, .ui-sortable li.ui-sortable-helper {
	cursor: url(https://mail.google.com/mail/images/2/closedhand.cur), default !important;
	cursor: -moz-grabbing;
	cursor: -webkit-grabbing;
}

/* popup_box DIV-Styles*/
#popup_box { 
    display:none; /* Hide the DIV */
    position:fixed;  
    _position:absolute; /* hack for internet explorer 6 */  
    height:400px;  
    width:800px;  
    background:#FFFFFF;  
    left: 300px;
    top: 150px;
    z-index:100; /* Layering ( on-top of others), if you have lots of layers: I just maximized, you can change it yourself */
    margin-left: 15px;  
    overflow:scroll;
    /* additional features, can be omitted */
    border:2px solid #ff0000;      
    padding:15px;  
    font-size:15px;  
    -moz-box-shadow: 0 0 5px #ff0000;
    -webkit-box-shadow: 0 0 5px #ff0000;
    box-shadow: 0 0 5px #ff0000;
    
}

#container {
    width:100%;
    height:100%;
}

a{  
cursor: pointer;  
text-decoration:none;  
} 

/* This is for the positioning of the Close Link */
#popupBoxClose {
    font-size:20px;  
    line-height:15px;  
    right:5px;  
    top:5px;  
    position:absolute;  
    color:#6fa5e2;  
    font-weight:500;      
}
.hiddendataDiv {
	display:none;
}
	.maindiv {font-size:12px;color:#fbfbfb;width:100%;border-width: 1px;border-color: #686767;border-collapse: collapse;width:92%;}
	.header {font-size:12px;background-color:#171515;border-width: 1px;padding: 8px;border-style: solid;border-color: #686767;text-align:left;float:right;width:30%;}
	.header2 {font-size:12px;background-color:#171515;border-width: 1px;padding: 8px;border-style: solid;border-color: #686767;text-align:center;float:right;width:95%;}
	.header3 {font-size:12px;background-color:#171515;border-width: 1px;padding: 8px;border-style: solid;border-color: #686767;text-align:left;float:right;width:45.5%;}
	.header4 {font-size:12px;background-color:#171515;border-width: 1px;padding: 8px;border-style: solid;border-color: #686767;text-align:left;float:right;width:47%;}
	.ticketcontents {background-color:#2f2f2f;}
	.ticketinnercontents {background-color:#2f2f2f;font-size:12px;border-width: 1px;padding: 8px;border-style: solid;border-color: #686767;float:right;width:95%;}
	div.responsediv {visible:false; };