/** Layout fixes for IE 8 **/

/** Common fix for IE layout width **/
#wrapper-cross.stage,
#wrapper-cross.container {
	width: 1840px; !important;
	max-width: 1840px; !important;
}

#wrapper-affiliate.stage,
#wrapper-affiliate.container,
#wrapper-merchant.stage,
#wrapper-merchant.container {
	width: 1170px; !important;
	max-width: 1170px; !important;
}

#logo > a.logo,
#login-logo  > a.logo {
	background: url("/public/images/shared/logo.png") no-repeat;
}

#login-logo  > a.logo {
	width: 100%;
	height: 40px;
}

.logout {
	width: auto;
}

.logout > span.ico-logout {
	zoom: 0.80;
}

.list-view-table tr td {
	vertical-align: middle;
}

.list-view-table tr td span {
	position: inherit;
}

.modal-dialog {
	width: auto !important;
}

.tabs-left > .nav-tabs > li > a,
.tabs-right > .nav-tabs > li > a {
	padding: 9px 5px;
}

.close {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}

.modal-content > .row > .col-sm-12 > button.close {
	position: relative;
	bottom: 15px;
}

/** Navigation fixes **/
#level-2-menu-placeholder {
	height: 36px;
}

#level-2-menu-placeholder > .navbar-nav > li > a , .menu-level-2.navbar-nav.nav > li > a, .menu-level-1 > .menu-item > a {
	padding-top: 8px;
	padding-bottom: 8px;
}

.navbar-tall > li > a {
	padding-top: 30px;
	height: 68px;
}

.app-affix-nav.affix .navbar-inverse .navbar-tall li > a {
	padding-top: 8px;
	height: 30px;
}

.list-view-head > .soft-label, .list-view-head > .soft-label > .btn-group > a {
	font-size: 12px;
}

#categories .big-bullets > li {
	padding-bottom: 8px;
}

#categories .big-bullets > li span.ico {
	zoom: 0.65;
	margin-left: -28px;
}

#categories .big-bullets > li .toggle-link  {
	display: block;
	padding-right: 25px;
	text-decoration: none;
	top: 3px;
}

#categories .big-bullets > li > span {
	display: block;
	margin-top: -15px;
}

#categories .big-bullets > li.hide-bullet > span {
	margin-top: 0;
}

.list-view-table > .table > tbody > tr > td.action > a > span.ico {
	float: left;
}

.list-view-table > .table > tbody > tr > td > span > a,
.list-view-table > .table > tbody > tr > td > a {
	float: left;
}

.list-view-table > .table > tbody > tr > td > span.ico-sm {
	zoom: 0.75;
}

.list-view-head > .col-sm-9 > a.btn > span.ico {
	float: left;
}

.list-view-head > .soft-label > .export-label {
	vertical-align: inherit;
}

.trim-in-sides {
	position: relative;
}

/** Tab fixes common for whole boostrap layout **/
.tabs .nav-tabs > li {
	margin-right: -15px;
	padding: 0 8px 0 0;
	position: relative;
}

.tabs .nav-tabs > li.active > a,
.tabs .nav-tabs > li.active > a:hover,
.tabs .nav-tabs > li.active > a:focus {
	background: #FFF !important;
	border: none !important;
}

.tabs .nav-tabs > li.active > a {
	color: #000000;
}

.component-buttons {
	height: 15px;
}

#wrapper-cross .tabs .nav-tabs > li > a:hover,
#wrapper-cross .tabs .nav-tabs > li > a:focus {
	border-right: 1px solid #409F5A;
}

#wrapper-cross .tabs .nav-tabs > li > a {
	background: #409F5A;
}

#wrapper-affiliate .tabs .nav-tabs > li > a:hover,
#wrapper-affiliate .tabs .nav-tabs > li > a:focus {
	border-right: 1px solid #5287CC;
}

#wrapper-affiliate .tabs .nav-tabs > li > a {
	background: #5287CC;
}

#wrapper-merchant .tabs .nav-tabs > li > a:hover,
#wrapper-merchant .tabs .nav-tabs > li > a:focus {
	border-right: 1px solid #E9761F;
}

#wrapper-merchant .tabs .nav-tabs > li > a {
	background: #E9761F;
}

/** Listing view fixes **/
#un-billed-break-down .big-bullets > li .toggle-link {
	top: 14px;
	padding-right: 8px;
}

#un-billed-break-down .big-bullets > li .toggle-link > span.ico {
	zoom: 0.65;
}

.list-view-totals > tbody > tr >  td.list-view-column-sorted > span {
	float: left !important;
}

.list-view-totals > tbody > tr > td.list-view-column-sorted > span > a {
	float: right !important;
}

/** KPI dashboard fixes **/
#interactive-strip {
	line-height: 50px;
	height: 50px;
	margin-bottom: 20px;
}

#interactive-box {
	overflow: hidden;
	height: 60px;
}

.icon-box-center {
	height: 60px;
	padding-top: 18px;
}

/** Gauge fixes **/
.tv .gauge .gauge-charts {
	background: #fff;
	margin-top: -10px;
}

.tv .gauges {
	margin: 0 auto 10% 0;
}

.tv .gauge .panel-body {
	height: 260px;
}

.tv .gauges .gauge {
	margin-right: 20px;
}

.tv .gauge .amcharts-speedometer-container {
	height: 150px;
}

.tv .gauge .amcharts-speedometer {
	margin-top: -30px;
}

.tv .gauge .gauge-charts .speedometer-info {
	top: 75%;
}

.tv .gauge .gauge-charts .speedometer-percentage {
	font-size: 200%;
}

.tv .lg-stat {
	font-size: 350%;
}

.tv .gauge-pane h2, .tv .gauge-pane .stats {
	font-size: 200%;
}

.tv .tab-pane .row,
.tv .gauge-pane .row {
	width: 100%;
	margin-left: 1px;
}

.tv .gauge .stats .fa-lg {
	width: 55px;
}

.tv .gauge-footer a, .tv .gauge-footer p {
	font-size: 120%;
}

.tvmode-symbol-element {
	background-image: url("/public/images/shared/corner-cut-logo.png");
}

.gauge .gauge-charts {
	filter: none !important;
	background: #FAFAFA;
}

#interactive-strip {
	display: block;
}

.gauge-pane {
	padding: 12px 0;
}

h4.stats-same {
	margin-left: -20px;
}

.gauge .stats .fa-lg {
	width: 35px;
}

h3.lg-stat {
	margin: 4px 2px;
}

.gauge .amcharts-speedometer-container > .amcharts-container {
	height: 200%;
}

.gauge .amcharts-speedometer-container {
	margin-top: -4px;
}

.speedometer-info .range {
	padding: 0;
}

.gauge .gauge-charts .speedometer-info .speedometer-achievement {
	font-size: 16px;
}

.gauge .gauge-charts .speedometer-info .speedometer-achievement {
	bottom: 4px;
}

/** Cross gauges fixes **/
.cross .gauge .lg-stat {
	font-size: 200%;
}

.cross .gauge-pane h2 {
	font-size: 150%;
}

.cross .gauge-pane .stats {
	font-size: 150%;
}

.cross .gauge-charts {
	padding-top: 15px;
}

.cross .gauge .carousel-control {
	top: 30%;
}

.cross .gauge .panel {
	height: 320px;
}

.cross .gauge .range {
	padding: 0 5px;
}

.cross .speedometer-info {
	top: 72%;
}

.cross .gauges {
	margin: 0 auto 5% 0;
}

/** amCharts fixes **/
.amcharts-balloon-div div {
	display: inline;
}

.amcharts-balloon-div-category div {
	display: block;
}

/** Form changes **/
input[type='radio']{
	background: none;
}

.panel-default .panel-body .form-group-row {
	margin-bottom: 15px;
}

.row {
	margin-left: 0;
	margin-right: 0;
}

.container {
	padding-left: 15px;
	padding-right: -15px;
}

.affix {
	padding-left: 0px !important;
	padding-right: 30px !important;
}

.footer div {
	padding: 5px 0;
}

#wrapper-saho {
	width: 1840px;
	max-width: 1840px;
}

.group-by-container .inner {
	float: right;
	clear: both;
}

.group-by-container label {
	min-width: 120px;
	text-align: left;
}

#form-frame {
	border: none !important;
	outline: none;
}

.list-group-item > span.ico, .list-group-item > span.ico:hover {
	float: left;
	zoom: 0.60;
	width: 24px;
}

.list-group-item > span.ico-code {
	zoom: 0.75;
}

/** Overwrite IE CSS rules **/
.ie .modal-open a.add-button span {
	padding-top: 1px;
}

.ie .modal-open a.add-button span {
	padding-top: 1px;
}

.ie .modal a.add-button {
	bottom: -18px;
}

.modal a.add-button {
	width : auto;
	float: left;
	border: 0;
}