/**
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    contenteditable attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that are clearfixed.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
}

/* Helpers */

.mb20 { margin-bottom: 20px !important; }
.mb0 { margin-bottom: 0px !important; }

.creative-box {
	border: 1px solid #EFEFEF;
	background: #FFF;
	position: relative;
	padding: 10px;
	min-height: 50px;
	margin-bottom: 30px;
}

.creative-box:hover {
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.creative-box .preview.image {
	text-align: center;
}

.creative-box .preview .creative-box {
	display: inline-block;
	margin: 0 auto;
}

.creative-box .meta {
	padding: 15px 5px 5px 5px;
	background: #FFF;
	margin: 0 !important;
}

.creative-box .meta.table .default-data {
	margin-bottom: 5px;
}

.creative-box .meta.table h3 {
	margin: 0 0 10px 0;
	padding: 0 0 5px 0;
	font-size: 15px;
	font-style: italic;
	border-bottom: 1px solid #DDD;
	font-weight: 700;
}

.creative-box .meta .size {
	float: left;
	font-weight: 700;
	color: #AAA;
}

.creative-box .meta .url {
	margin-left: 10px;
	font-style: italic;
	color: #E3002C;
}

.creative-box .meta .url:hover,
.creative-box .meta .url:focus,
.creative-box .meta .url:active {
	text-decoration: none;
	color: #000;
}

.creative-box iframe,
.creative-box object,
.creative-box embed {
	max-width: 100%;
}

.creative-box .preview.swf {
	overflow: hidden;
	position: relative;
	text-align: center;
	margin: 0 0 5px 0;
}

.creative-box .preview.swf .swf-banner {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 99;
	cursor: default;
}

.creative-box .preview.swf object {
	margin: 0 auto;
	position: relative;
	z-index: 30;
	max-width: 100%;
}

.creative-box .img-responsive {
	display: inline-block;
	height: auto;
	max-width: 100%;
}

.creative-box.text {
	padding: 20px;
}

.creative-box.text.fluid {
	width: 100%;
	height: auto;
}

.creative-box.text .heading {
	margin: 0 0 10px 0;
	font-size: 20px;
	font-family: arial, sans-serif;
	font-weight: 700;
	color: #0A2841;
	padding-bottom: 0;
	border: none;
}

.creative-box.text .first-row {
	margin: 5px 0 5px;
	font-size: 16px;
	color: #333;
}

.creative-box.text .second-row {
	margin: 0 0 5px;
	font-size: 16px;
	color: #333;
}

.creative-box.text a {
	color: #E3002C;
}

.creative-box.text a:hover,
.creative-box.text a:focus,
.creative-box.text a:active {
	text-decoration: none;
	color: #E3002C;
}

.creative-box .btn {
	display: inline-block;
	font-family: 'Exo 2', sans-serif;
	color: #FFF;
	background: #E3002C;
	font-weight: 300;
	padding: 5px 10px;
	font-size: 12px;
	margin-bottom: 4px;
	border: none;
	position: relative;
	text-transform: uppercase;
	cursor: pointer;
	margin-left: 10px;
	border-radius: 0;
}
.creative-box .btn:hover {
	color: #FFF;
	text-decoration: none;
	background: #000;
}

.creative-box.third-party .size {
	position: relative;
	top: 3px;
}

.creative-box.third-party pre {
	border-radius: 0;
}

#chart-period {
	position: absolute;
	right: 100px;
	top: -2px;
	padding: 5px 10px;
	z-index: 1031;
	width: 80px;
}

@media (max-width: 992px) {
	#chart-period {
		left: 10px;
		right: auto;
	}
}

.highcharts-container.no-item:before,
.highcharts-container.no-item-start:before {
	content: 'Nincs megjeleníthető adat!';
	position: absolute;
	width: 100%;
	text-align: center;
	display: block;
	top: 150px;
	left: 0;
	right: 0;
	font-size: 28px;
	font-weight: 300;
}

.text-success {
	color: #5CB85C;
}

.text-error {
	color: #D9534F;
}

.nav-tabs li {
	position: relative;
}

.nav-tabs li.with-counter a {
	padding-right: 17px;
}

.nav-tabs li a .counter {
	display: inline-block;
	position: absolute;
	top: 10px;
	right: -10px;
	background: #E3002C;
	font-size: 11px;
	font-weight: 400;
	color: #fff;
	max-width: 30px;
	min-width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	border-radius: 100px;
	transition: 0.1s;
	pointer-events: none;
	overflow: hidden;
	padding: 0 4px;
}

.nav-tabs li a:hover .counter,
.nav-tabs li.active .counter {
	position: absolute;
	top: -10px;
	right: -10px;
	transition: 0.1s;
}