@import url('/css/bs.btn.group.css');
@import url('/css/bs.table.css');
@import url('https://fonts.googleapis.com/css?family=Fira+Sans');

body {
	font-family: 'Fira Sans', sans-serif;
}

.fa-search:before {
    content: "\f002" !important;
}

/*
 * helpers
 */
.bg-grey {
	background: #f7f7f7;
}

.h1 {
	color: #003978;
	font-family: inherit;
	font-size: 32px;
	margin: 0 0 15px 0;
}

@media (max-width: 699px) {
	.hidden-xs {
		display: none !important;
	}
}

@media (min-width: 700px) and (max-width: 991px) {
	.hidden-sm {
		display: none !important;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
	.hidden-md {
		display: none !important;
	}
}

@media (min-width: 1200px) {
	.hidden-lg {
		display: none !important;
	}
}

.mb-3 {
	margin-bottom: 20px;
}

.mt-3 {
	margin-top: 20px;
}

.my-1 {
	margin-bottom: 10px;
	margin-top: 10px;
}

.my-2 {
	margin-bottom: 15px;
	margin-top: 15px;
}

.text-center {
	text-align: center;
}

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}

.text-nowrap {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 100%;
}

.text-primary {
	color: #003978;
}

.text-mw-1 {
	max-width: 140px;
}

@media (min-width: 1200px) {
	.text-mw-1 {
		max-width: 100%;
	}
}

@media (max-width: 414px) {
	.nav.nav-pills.nav-spm li a {
		font-size: 0.8em;
	}
	.text-mw-1 {
		max-width: 110px;
	}
}

/*
 * Prevent iOS zoom page on input:focus
 */
#partenaire .form-control,
#partenaire .form-control:focus {
	font-size: 16px;
}

/*
 * Loading indicators
 */
.is-loading {
	pointer-events: none;
	position: relative;
}

.is-loading:before {
	background-color: #ffffff;
	background-image: url( '/img/loader-a.gif' );
	background-position: center center;
	background-repeat: no-repeat;
	content: '';
	height: 100%;
	left: 0;
	opacity: 0.62;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 1000;
}

/*
 * Flex
 */
.d-flex {
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
}

.align-items-center {
	-ms-flex-align: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
}

.justify-content-center {
	-ms-flex-pack: center;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
}

/*
 * Specific
 */
.stock-down {
	color: red;
}

.stock-right {
	color: inherit;
}

.stock-up {
	color: green;
}

.stock-price {
	font-size: 2em;
	white-space: nowrap;
}

/*
 * Navigation
 */
.nav > li.active > a {
	background-color: #f0f0f0;
	color: #003978;
	text-decoration: none;
}

/*
 * Panels
 */
.panel.panel-default.panel-symex {
	border: 1px solid #003978;
}

.panel.panel-default.panel-symex .panel-heading .h3 {
	color: #003978;
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.panel.panel-primary.panel-symex {
	background-color: #003978;
	border: 1px solid #003978;
	color: #ffffff;
}

.panel.panel-primary.panel-symex .panel-heading .h3 {
	color: #ffffff;
	margin: 0;
}

@media (max-width: 360px) {
	.panel-symex .panel-heading .h3 {
		font-size: 16px !important;
	}
}

/*
 * Tables
 */
.table-responsive-symex {
	border: 0;
}

.table-responsive-symex .table th,
.table-responsive-symex .table td {
	white-space: nowrap;
}

@media (max-width: 360px) {
	.table-responsive-symex .table th,
	.table-responsive-symex .table td {
		font-size: 0.9em;
	}
}

/*
 * Markets maps
 */
.bs-map {
	margin: 0 -10px 20px;
	overflow: hidden;
}

.bs-map-list {
	padding-left: 0;
	list-style: none;
}

.bs-map li {
	background-color: #f9f9f9;
	border: 1px solid #ffffff;
	color: #ffffff;
	float: left;
	padding: 10px;
	text-align: center;
	width: 25%;
}

.bs-map li.stock-down {
	background-color: red;
}

.bs-map li.stock-right {
	background-color: #797979;
}

.bs-map li.stock-up {
	background-color: green;
}

.bs-map li a {
	color: inherit;
	text-decoration: none !important;
}

.bs-map .ticker {
	margin: 5px auto;
	display: block;
	font-size: 14px;
	overflow: hidden;
	text-align: center;
	white-space: nowrap;
}

.bs-map .var {
	display: block;
	text-align: center;
	white-space: nowrap;
}

.bs-map li:hover {
	color: #ffffff;
	background-color: #797979;
}

@media (min-width: 768px) {
	.bs-map {
		margin-right: 0;
		margin-left: 0;
	}
	.bs-map li {
		width: 10%;
	}
}

/*
 * Currencies
 */
.wg-currencies {
	height: 230px;
}

.wg-currencies .item {
	font-size: 1.1em;
	padding: 0 8px;
}

.wg-currencies .item .item-row {
	border-bottom: 1px solid #dddddd;
	line-height: 44px;
}

.wg-currencies-title {
	border-bottom: 1px solid #dddddd;
}

.wg-currs-convertor-info {
	line-height: 20px;
	margin-top: -20px;
}

/*
 * Awards ( top winners / losers )
 */
@media (min-width: 992px) {
	.wg-awards {
		height: 230px;
		overflow-y: hidden;
	}
}

/*
 * Indexes
 */
.wg-indexes-quotes {
	line-height: 20px;
	margin-top: -20px;
}

/*
 * Commodities
 */
@media (min-width: 992px) {
	.wg-commodities {
		height: 285px;
		overflow-y: hidden;
	}
	.wg-commodities tr {
		height: 50px;
	}
}

/*
 * Marquee
 */
.wg-marquee {
	padding: 0 !important;
}

.wg-marquee .marquee {
	height: 40px;
	line-height: 40px;
	margin: 0 15px;
	overflow: hidden;
	position: relative;
	white-space: nowrap;
}

.wg-marquee .marquee .marquee-container {
	height: 100%;
	left: 0;
	margin: 0;
	padding-left: 100%;
	position: absolute;
	top: 0;
	width: auto;
}

.wg-marquee .marquee .marquee-container .item {
	display: inline-block;
	font-weight: bold;
	margin: 0 20px 0 0;
}

.wg-marquee .container-a {
	position: relative;
}

.wg-marquee .container-a .marquee {
	margin-right: 215px;
}

.wg-back-btn .wg-marquee .container-a .marquee {
	margin-left: 44px;
	margin-right: 215px;
}

.wg-marquee .container-a .back-btn {
	display: none !important;
}

.wg-back-btn .wg-marquee .container-a .back-btn {
	display: block !important;
	left: 0;
	line-height: 40px;
	position: absolute;
	text-align: center;
	top: 5px;
	width: 44px;
}

.wg-marquee .container-a .search-box {
	position: absolute;
	right: 0;
	top: 5px;
	width: 200px;
}

.wg-marquee .container-b {
	background: #f7f7f7;
}

/*
 * Media
 */
.media-object {
	width: auto !important;
}

/*
 * Search box
 */
.wg-search-results {
	background: #ffffff;
	border: 1px solid #d7d7d7;
	margin: 4px 0 0 0;
	position: absolute;
	width: 100%;
	z-index: 3;
}

.wg-search-results-item {
	display: block;
	line-height: 44px;
	padding: 0 15px;
}

/*
 * CSS animations
 */
.an-marquee {
	-moz-animation-name: marquee;
	-o-animation-name: marquee;
	-webkit-animation-name: marquee;
	animation-name: marquee;
}

.an-d-70 {
	-o-animation-duration: 70s;
	-moz-animation-duration: 70s;
	-webkit-animation-duration: 70s;
	animation-duration: 70s;
}

.an-d-100 {
	-o-animation-duration: 100s;
	-moz-animation-duration: 100s;
	-webkit-animation-duration: 100s;
	animation-duration: 100s;
}

.an-tf-linear {
	-moz-animation-timing-function: linear;
	-o-animation-timing-function: linear;
	-webkit-animation-timing-function: linear;
	animation-timing-function: linear;
}

.an-ic-infinite {
	-moz-animation-iteration-count: infinite;
	-o-animation-iteration-count: infinite;
	-webkit-animation-iteration-count: infinite;
	animation-iteration-count: infinite;
}

.an-ps-paused:hover {
	-moz-animation-play-state: paused;
	-o-animation-play-state: paused;
	-webkit-animation-play-state: paused;
	animation-play-state: paused;
}

@-moz-keyframes marquee {
	0% { -moz-transform: translateX(0); }
	100% { -moz-transform: translateX(-100%); }
}

@-o-keyframes marquee {
	0% { -o-transform: translateX(0); }
	100% { -o-transform: translateX(-100%); }
}

@-webkit-keyframes marquee {
	0% { -webkit-transform: translateX(0); }
	100% { -webkit-transform: translateX(-100%); }
}

@keyframes marquee {
	0% { transform: translateX(0); }
	100% { transform: translateX(-100%); }
}


/*
 * Input groups
 * ( Bootstrap 3.3.7 )
 */
.input-group {
	border-collapse: separate;
	display: table;
	position: relative;
}

.input-group .form-control {
	float: left;
	margin-bottom: 0;
	position: relative;
	width: 100%;
	z-index: 2;
}

.input-group .form-control:focus {
	z-index: 3;
}

.input-group-addon, .input-group .form-control {
	display: table-cell;
}

.input-group-addon {
	background-color: #eeeeee;
	border: 1px solid #cccccc;
	border-radius: 0;
	color: #555555;
	font-size: 14px;
	font-weight: normal;
	line-height: 1;
	padding: 6px 12px;
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
	width: 1%;
}

.input-group-addon:first-child {
	border-right: 0;
}

.input-group-addon:last-child {
	border-left: 0;
}
