* { margin: 0; padding: 0; }
body {
	background-color: #f8f8f8;
	color: #333;
	font-family: sans-serif;
	font-size: 10pt;
}
.clear { clear: both;}
.small { font-size: 8pt; }

body.logon {
    background-size: 100%;
    padding: 100%;
}
body.logon .modal-dialog {
    margin: 50px 0 0 50px;
}

#leftcolumn h3 {
	font-size: 1em;
	text-transform: uppercase;
	text-shadow: 0 1px 0 #fff;
	border-bottom: 1px solid #333;
	height: .5em;
}
#leftcolumn h3 b {
	font-weight: normal;
	background: #f8f8f8;
	padding: 0 .5em 0 0;
}

h1 {
	font-size: 1.4em;
	font-weight: bold;
	text-transform: uppercase;
	border-bottom: 1px solid #333;
    height: .5em;
    margin-bottom: 1em;
}
h1 b {
	background: #f8f8f8;
    padding: 0 .5em 0 0;
}
h1 em {
    background: #f8f8f8;
    padding: 0 0 0 .5em;
    float: right;
    font-style: normal;
    font-weight: 100;
}

div#cmsmenu {
	margin: 20px 0;
}
div#cmsmenu span.menu-title {
	display: inline-block;
	/*max-width: 70%;*/
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

div#cmslist {
	position: relative;
}
div#cmslist table {
	margin: 0;
}
div#cmslist table thead th {
	text-align: center;
}
div#cmslist table thead th a {
	color: #333;
}
div#cmslist table thead th .active a {
	color: #337ab7;
}
div#cmslist table thead th a .fa {
	display: none;
}
div#cmslist table thead th .asc a .fa-sort-amount-asc {
	display: inline-block;
}
div#cmslist table thead th .desc a .fa-sort-amount-desc {
	display: inline-block;
}
div#cmslist table tr td {
	vertical-align: middle;
}
div#cmslist table tr td:first-child,
/*div#cmslist table tr td:nth-child(2),*/
div#cmslist table tr td:last-child {
	text-align: center !important;
}
div#cmslist .loading {
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9999;
	text-align: center;
}

.red {
	color: #d43f3a;
	font-weight: bold;
}

.flags {
	list-style: none;
	padding: 0;
}
.flags li {
	display: inline-block;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	overflow: hidden;
	margin-left: 2px;
	border: 1px solid #ccc;
}
.flags img {
	max-height: 20px;
	-webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    opacity: .5;
}
.flags li.active img {
    -webkit-filter: none;
    filter: none;
    opacity: 1;
}
.input_title {
	font-size:1.6em;
	height: 42px;
}
.btn.active {color:#3c763d;font-weight:bold;}

div#cmseditor ul.cont {
	overflow: auto;
	display: inline-block;
	list-style-type: none;
	width: 45%;
	height: 15em;
	background-color: #f4f4f4;
	border: 1px solid #d3d3d3;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	margin: 0 5px 0 0;
	padding: 0;
}
div#cmseditor ul.cont li.item {
	margin: 5px;
	padding: 2px;
	border: 1px solid #f4f4f4;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
}
div#cmseditor ul.cont li.item:hover {
	cursor: move;
	background-color: #d3d3d3;
}
div#cmseditor ul.cont .placeholder {
	margin: 5px;
	padding: 2px;
	height: 1em;
	line-height: 1em;
	min-height: 1.6em;
	background-color: #DFF1FF;
	border: 1px solid #99CCFF;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
}
div#cmseditor div.userright {
	border-left: 5px solid #ddd;
	margin-bottom: 20px;
}
div#cmseditor div.userright label.text-muted {
	font-style: italic;
}
div#cmseditor h3.userright {
	font-size: 1em;
	border-left: 10px solid #ddd;
	background: #ddd;
	margin: 0 0 0 -20px; 
}
div#cmseditor h3.userright b {
	background: #fff;
	padding: 0 10px;
}
div#cmseditor h4.userright {
	font-size: 1em;
	border-bottom: 1px solid #ddd;
}
div#cmseditor h4.userright b {
	border-bottom: 1px solid #fff;
	padding: 0 10px 0 0;
}
div#cmseditor .separator {
	background: #f8f8f8;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	margin: 0 -16px 10px -16px;
	padding: 5px 16px;
	text-transform: uppercase;
	font-weight: bold;
}

div#cmsoverview .placeholder {
	height: 100px !important;
	background-color: white;
    -webkit-box-shadow: 0px 0px 10px #888;
    -moz-box-shadow: 0px 0px 10px #888;
    box-shadow: 0px 0px 10px #888;
	opacity: .75;
}
div#cmsoverview .bg-ga {
	background-color: #f79a20;
	color: #fff;
}
div#cmsoverview .bg-ga .ga-icon {
	background-color: #f05722;
	width: 25%;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	padding: 10px;
}
div#cmsoverview .bg-ga .ga-icon img {
	width: 100%;
}
div#cmsoverview .bg-ga .ga-title {
	white-space: nowrap;
  	overflow: hidden;
  	text-overflow: ellipsis;
  	width: 75%;
  	display: block;
  	margin: 0;
}
div#cmsoverview .bg-ga .ga-value {
	margin: 0;
	font-size: 1.6em;
	white-space: nowrap;
  	overflow: hidden;
  	text-overflow: ellipsis;
  	width: 75%;
  	display: block;
}

div#cmsparams div.small {
	font-size: 8pt;
	padding: 0;
}
div#cmsparams div.small a,
div#cmsparams div.small a:link,
div#cmsparams div.small a:visited {
	color: #00f;
	text-decoration: none;
}
div#cmsparams div.small a:hover {
	text-decoration: underline;
}
.example {
	padding: 0;
	font-size: 8pt;
	color: #999;
}
.example span {
	color: #333;
	border: 1px solid #aaa;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	padding: 0 3px;
}

/* AUTOCOMPLETE */

.ac_results {
	padding: 0px;
	border: 1px solid #999;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	background-color: white;
	overflow: hidden;
	z-index: 99999;
}
.ac_results ul {
	width: 100%;
	list-style-position: outside;
	list-style: none;
	padding: 0;
	margin: 0;
}
.ac_results li {
	margin: 0;
	padding: 2px 5px;
	cursor: default;
	display: block;
	font-size: 9pt;
	line-height: 16px;
	overflow: hidden;
}
.ac_loading {
	background: white url('images/ac_indicator.gif') right center no-repeat;
}
.ac_odd {
	background-color: #eee;
}
.ac_over {
	background-color: #9cf;
}

.loading {display:none;position:fixed;top:0;left:0;width:100%;height:100%;z-index:1030;background:rgba(255,255,255,.9);}
.loading img {position:absolute;top:50%;left:50%;width:32px;height:32px;margin:-16px 0 0 -16px;}

/* DEBUG */

div#debug_info {
	background-color: #fff;
	color: #000;
	text-align: left;
	position: absolute;
	width: 100%;
	padding: 10px;
	margin-top: 10px;
	font-family: monospace;
	font-size: 10pt;
	white-space: pre;
	overflow: hidden;
}
div#debug_info fieldset {
	margin-bottom: 10px;
	white-space: pre-wrap;
}