/*
TMX Matrix Sector Widget

.tmxmatrix-widget {}
.tmxmatrix-widget .header {}
.tmxmatrix-widget .header .title {}
.tmxmatrix-widget .header .powered-by {}
.tmxmatrix-widget .header .powered-by a {}
.tmxmatrix-widget .header .powered-by a:hover {}
.tmxmatrix-widget .header a.btn-matrix-visit {}
.tmxmatrix-widget .header a.btn-matrix-visit:hover {}
.tmxmatrix-widget .companies {}
.tmxmatrix-widget .companies .company {}
.tmxmatrix-widget .companies .company + .company {}
.tmxmatrix-widget .companies .company .change {}
.tmxmatrix-widget .companies .company .price {}
.tmxmatrix-widget .companies .company .name {}
.tmxmatrix-widget .companies .company .symbol {}
.tmxmatrix-widget .companies .company a.btn-matrix-view-more {}
.tmxmatrix-widget .companies .company a.btn-matrix-view-more:hover {}
*/
.tmxmatrix-widget {
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    color: #000;
    position: relative;
    padding: 18px 20px 20px;
    margin: 30px 0;
    line-height: 1.25;
}

.tmxmatrix-widget .header {
    position: relative;
    margin-bottom: 20px;
}

.tmxmatrix-widget .header .title {
    font-family: 'DINProBold', Roboto, Arial, Helvetica, sans-serif;
    font-size: 22px;
    color: #fff;
}
.tmxmatrix-widget .header .powered-by {
    font-family: 'FFDINProMedium', Roboto, Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #fff;
}
.tmxmatrix-widget .header .powered-by a {
    color: #309299;
}
.tmxmatrix-widget .header .powered-by a:hover {
    color: #1D6B70;
}
.tmxmatrix-widget .header a.btn-matrix-visit {
    display: inline-block;
    border-radius: 4px;
    border: 1px solid #000;
    color: #000;
    font-family: 'DINProBold', Roboto, Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 15px;
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 0;
}
.tmxmatrix-widget .header a.btn-matrix-visit:hover {
    background: #000;
    color: #fff;
}
.tmxmatrix-widget .companies {
    margin: 0 -15px;
    font-family: 'DINProBold', Roboto, Arial, Helvetica, sans-serif;
    position: relative;
}
.tmxmatrix-widget .companies:before, .tmxmatrix-widget .companies:after {
    content: '';
    display: table;
    clear: both;
}
.tmxmatrix-widget .companies .company {
    box-sizing: border-box;
    width: 25%;
    padding: 12px 15px 55px 15px;
    font-size: 18px;
    position: relative;
    min-height: 200px;
    float: left;
}
@media screen and (max-width: 991.98px) {
	.tmxmatrix-widget{
    	padding: 18px 20px 5px;
	}
	.tmxmatrix-widget .companies .company {
		width: 50%;
    	padding: 12px 15px 90px 15px;
		min-height:240px;
	}
	.tmxmatrix-widget .companies .company:nth-child(2n+1) {
		border-left:0!important;
	}
}
@media screen and (max-width: 767.98px) {
	.tmxmatrix-widget .header{
		margin-bottom:5px;	
	}
	.tmxmatrix-widget .header a.btn-matrix-visit {
		display:none;
	}
	.tmxmatrix-widget .companies .company {
		width: 100%;
		border-left:0!important;
		border-bottom:1px solid rgba(255,255,255,.15);
    	padding: 15px;
		min-height:auto;
	}
	.tmxmatrix-widget.dark .companies .company:last-child{
		display:none;
	}
}
.tmxmatrix-widget .companies .company + .company {
    border-left: 1px solid #ccc;
}
.tmxmatrix-widget .companies .company .change {
    font-family: 'FFDINProMedium', Roboto, Arial, Helvetica, sans-serif;
    color: #fff;
}
.tmxmatrix-widget .companies .company .change.up {
    color: #0b0;
}
.tmxmatrix-widget .companies .company .change.up:before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 0;
    border-bottom: 8px solid #0b0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-radius: 3px;
    margin-right: 3px;
}
.tmxmatrix-widget .companies .company .change.down {
    color: #f00;
}
.tmxmatrix-widget .companies .company .change.down:before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 0;
    border-top: 8px solid #f00;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-radius: 3px;
    margin-right: 3px;
    margin-bottom: 5px;
}

.tmxmatrix-widget .companies .company .price {
}
.tmxmatrix-widget .companies .company .name {
    font-family: 'DINProBlack', Roboto, Arial, Helvetica, sans-serif;
    font-size: 20px;
    line-height: 1.1;
}
.tmxmatrix-widget .companies .company .symbol {
    display: inline-block;
    min-width: 45px;
    color: #fff;
    border: 1px solid #1B2935;
    background: #1B2935;
    border-radius: 4px;
    text-align: center;
    text-transform: uppercase;
    padding: 0 3px 1px;
    font-size: 13px;
    margin: 10px 0 2px;
}

.tmxmatrix-widget.mining .companies .company .symbol { border-color: #8369f5; background: #8369f5; }
.tmxmatrix-widget.cannabis .companies .company .symbol { border-color: #4ecb5e; background: #4ecb5e; }
.tmxmatrix-widget.communications .companies .company .symbol { border-color: #869aff; background: #869aff; }
.tmxmatrix-widget.consumer-goods .companies .company .symbol { border-color: #275cf1; background: #275cf1; }
.tmxmatrix-widget.energy .companies .company .symbol { border-color: #169ef1; background: #169ef1; }
.tmxmatrix-widget.financial-services .companies .company .symbol { border-color: #1ec185; background: #1ec185; }
.tmxmatrix-widget.healthcare .companies .company .symbol { border-color: #add768; background: #add768; }
.tmxmatrix-widget.industrials .companies .company .symbol { border-color: #f9be53; background: #f9be53; }
.tmxmatrix-widget.real-estate .companies .company .symbol { border-color: #ec6a3a; background: #ec6a3a; }
.tmxmatrix-widget.technology .companies .company .symbol { border-color: #f34f4f; background: #f34f4f; }
.tmxmatrix-widget.utilities .companies .company .symbol { border-color: #f0448d; background: #f0448d; }

.tmxmatrix-widget .companies .company a.btn-matrix-view-more {
    display: block;
    border-radius: 4px;
    background: #1B2935;
    color: #fff;
    font-family: 'DINProBold', Roboto, Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 15px;
    text-decoration: none;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
}
.tmxmatrix-widget .companies .company a.btn-matrix-view-more:hover {
    background: #000;
}
@media screen and (max-width: 991.98px) {
	.tmxmatrix-widget .companies .company a.btn-matrix-view-more {
    	bottom: 60px;
	}
}
@media screen and (max-width: 767.98px) {
	.tmxmatrix-widget .companies .company a.btn-matrix-view-more {
    	position:static;
		margin-top:10px;
	}
}

.tmxmatrix-widget.dark {
    border: 1px solid #1b2935;
    background: #1b2935;
    color: #fff;
}
.tmxmatrix-widget.dark .header .powered-by a {
    color: #16FFFB;
}
.tmxmatrix-widget.dark .header .powered-by a:hover {
    color: #16FFFB;
}
.tmxmatrix-widget.dark .header a.btn-matrix-visit {
    border-color: #16FFFB;
    color: #fff;
}
.tmxmatrix-widget.dark .header a.btn-matrix-visit:hover {
    background: #16FFFB;
    color: #000;
}
.tmxmatrix-widget.dark .companies {}
.tmxmatrix-widget.dark .companies .company {}
.tmxmatrix-widget.dark .companies .company + .company {
    border-color: #2C4357;
}
.tmxmatrix-widget.dark .companies .company .change {}

.tmxmatrix-widget.dark .companies .company .change.up {
    color: #0d0;
}
.tmxmatrix-widget.dark .companies .company .change.up:before {
    border-bottom-color: #0d0;
}
.tmxmatrix-widget.dark .companies .company .price {
    font-family: 'DINProBlack', Roboto, Arial, Helvetica, sans-serif;
    font-size: 36px;
    margin-top: -4px;
    color: #fff;
}
.tmxmatrix-widget.dark .companies .company .name {
    font-family: 'FFDINProMedium', Roboto, Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.25;
    color: #fff;
}
.tmxmatrix-widget.dark .companies .company .symbol {
    background: inherit;
    margin: 12px 0 4px;
}
.tmxmatrix-widget.dark .companies .company a.btn-matrix-view-more {
    background: #fff;
    color: #000;
}
.tmxmatrix-widget.dark .companies .company a.btn-matrix-view-more:hover {
    background: #16FFFB;
}

.tmxmatrix-widget.dark.mining .companies .company .symbol { color: #8369f5; }
.tmxmatrix-widget.dark.cannabis .companies .company .symbol { color: #4ecb5e; }
.tmxmatrix-widget.dark.communications .companies .company .symbol { color: #869aff; }
.tmxmatrix-widget.dark.consumer-goods .companies .company .symbol { color: #fff; background: #275cf1; }
.tmxmatrix-widget.dark.energy .companies .company .symbol { color: #169ef1; }
.tmxmatrix-widget.dark.financial-services .companies .company .symbol { color: #1ec185; }
.tmxmatrix-widget.dark.healthcare .companies .company .symbol { color: #add768; }
.tmxmatrix-widget.dark.industrials .companies .company .symbol { color: #f9be53; }
.tmxmatrix-widget.dark.real-estate .companies .company .symbol { color: #ec6a3a; }
.tmxmatrix-widget.dark.technology .companies .company .symbol { color: #f34f4f; }
.tmxmatrix-widget.dark.utilities .companies .company .symbol { color: #f0448d; }

@media screen and (max-width: 767.98px) {
	.tmxmatrix-widget.dark .companies .company .price {
		font-size: 48px;
	}
	
	.tmxmatrix-widget .companies .company .symbol {
		margin: 0;
		position:absolute;
		right:0;
		top:0;
	}
}