body { 
	background: #f5f5f5; 
	
} 

.header.website {
	padding: 6px 15px;
    margin: 0px;
    z-index: 1000 !important;
    background: #125586;
}

.header.website .container {
	font-size: 17px;
    vertical-align: middle;
    padding: 10px 0px 10px 0px;
    font-weight: 600;
    padding: 0px;
}

.header.website .container a {
	color: #c9d6e0;
	font-weight: normal;
}

.header.website .logo {
	vertical-align: -9px;
    margin-right: 5px;
    height: 30px;
}

.header.website .status {
	font-size: 12px;
    vertical-align: -2px;
    opacity: 0.8;
    margin-left: 2px;
}

/*--------------- navigation --------------------*/

#main-menu-mobile {
	position: fixed;
    bottom: 0px;
    width: 100%;
	border-top: 1px solid #bfbfbf;
	z-index: 1000;
}

#main-menu-desktop {
	margin-left: 0;
    margin-right: 0;
    margin-top: -5px;
    margin-bottom: 9px;
}

#coinAggregations a {
    color: #064582 !important
}

#footer {
	clear: both;
	background: #2484ca;
	color: #fff !important;
	padding: 20px 10px;
    margin-top: 10px;
	display: none; /* hide first, because otherwise it flashes when loading page */
	padding-bottom: 80px !important;
}

#footer a {
	color: #fff;
}

.nowrap {
	white-space: nowrap;
}

.narrow {
	width: 10px;
}

.helpIcon {
	color: #b2c5d2;
}

.coinlist .helpIcon, .fixedHeader-floating .helpIcon {
    color: #a2a2a2;
}

.coinlist.centered {
	margin-left: 50% !important; 
	transform: translateX(-50%) !important;
}

/*--------- Semantic UI style ------------*/

/* Metricconditions screenshot images */
.metriccondition-screenshot {
	width: 500px;
	border: 1px solid #efefef;
	border-radius: 5px;
}

.metriccondition-screenshot-thumbnail {
    width: 400px;
    border: 1px solid #efefef;
    border-radius: 5px;
}

.ui.container {
	width: 1650px;
}

.ui.menu {
	box-shadow: 0 0px 1px 0 rgba(34,36,38,.15);
	margin: 0px 0px 8px 0px;
}

.ui.segment {
	box-shadow: 0 0px 1px 0 rgba(34,36,38,.15);
	margin: 0px;
	margin-bottom: 8px;
}

.ui.message {
    margin-bottom: 8px !important;
}

.ui.menu .pngicon {
	margin: -4px 0px 0px 0px !important;
	filter: color(color: #304c69) !important; 
}

.ui.table thead th {
    background: #eaeaea;
    padding: 8px;
}

/**---------- Stats -----------------**/

.statsBar {
	margin-top: 0px;
    z-index: 1;
    padding: 18px 14px;
    background: #2484ca;
    border: 1px solid #c7ccd2;
    border-top: 0px;
    margin-bottom: 8px;
    color: #c3d7ea;
    
}

.statsBar .statsBarButtons {
	float: right;
	margin-top: -8px;
}

.statsBar div {
	display: inline-block
}

.statsBar .stat {
	margin-right: 15px;
}

.statsBar .name {
	margin-right: 4px;
}

.statsBar .value {
	color: #ffffff;
}

.signal-image {
	width: 300px;
	border: 1px solid #ccc; 
	border-radius: 5px;
}

/**---------- Table styles ----------**/

table th {
    white-space: nowrap;
}

.dataTables_empty { 
	text-align: left !important; 
}

.dataTables_wrapper {
	padding: 0px;
}

.dataTables_info {
	float: left;
}

.dataTables_paginate {
	float: right;
	margin-bottom: 10px;
}

/**------ Coin list style ---------**/

#coinlist a { 
	color: #222; 
}

#coinlist .coinNameAndSymbol a { 
	color: #4183c4; 
}

#coinListTabs {
	border-top-left-radius: 0px !important;
	border-top-right-radius: 0px !important;
	margin-bottom: 10px;
	
	/* Necessary for absolute positioning of children */
	position: relative;
}

.pointing.menu .item {
	color: #304c69 !important;
	font-size: 13px;
}

.menu .item.fullscreenButton {
	position: absolute; 
	right: 0px;
	opacity: 0.8;
}

.labeled.icon.menu .item {
	padding: 10px;
}

#listControlsBar {
	margin-bottom: 0px;
	border-bottom-left-radius: 0px !important;
	border-bottom-right-radius: 0px !important;
}

#listControlsBar .ui.button.sponsored {
	padding: 9px !important;
	margin: 10px !important;
	font-size: 12px !important;
	box-shadow: none;
	padding: 6px 12px !important;
}

#listControlsBar .ui.button.sponsored .icon {
	height: 15px !important;
    vertical-align: -3px;
    margin-right: 3px;
}

#listControlsBar .ui.button.sponsored.etoro {
	color: #6AAE06 !important;
    border: 1px solid #6AAE06 !important;
}

#coinlist {
	margin-bottom: 10px;
	border-top-left-radius: 0px !important;
	border-top-right-radius: 0px !important;
}

.coinlist .aggregations {
	border-bottom: 0px;
}

.coinlist tr:first-child th {
	border-right: 1px solid #d5d5d5;
	background: #e0e1e2 !important;
	border-top-left-radius: 0px !important;
	border-top-right-radius: 0px !important;
	font-size: 12px;
}

.coinlist tr td:first-child {
    border-right: 0px !important;
}

.coinlist .aggregations th {
    background: #eaeaea !important;
    color: #6d6d6d !important;
    font-size: 12px;
    white-space: nowrap;
    text-align: right !important;
}

.coinlist .aggregations th:nth-child(1), .coinlist .aggregations th:nth-child(2) {
    text-align: left !important;
}

.coinlist .aggregations .lastColInColGroup {
    border-right: 1px solid #e0e0e0 !important
}

#coinlist_fixedheader {
	display: none;
	position: fixed;
	top: -1px;
	margin-top: 0px;
	border-bottom: 0px;
}

.coinlist tr td {
	white-space: nowrap;
	text-align: right !important;
	padding: 13px 10px !important;
}

.coinlist tr td:hover {
	background: #f0f0f0;
	cursor: pointer;
}

.coinlist tr td:hover:nth-child(1) {
	cursor: inherit;
	background: inherit;
}

.coinlist .logo {
    width: 24px;
    vertical-align: middle;
    margin: -10px -2px -5px 13px;
}

.delta_red { 
	color: #cc0000; 
}

.delta_green { 
	color: #00a000; 
}

.delta_equal {
	color: #bbb;
}

.unit {
	color: #7b7b7b;
}

.unitSign {
	color: #707070;
}

.coinlist .graph {
	width: 84px;
    margin: -10px 0px -10px -11px;
}

.coinlist .graph polyline {
	stroke: #3895d8;
    stroke-width: 3px;
    fill: none;
}

.coinlist .graph polygon {
    fill: #3895d8;
    opacity: 0.1;
}

#coinlist_wrapper {
	padding: 0px;
}

#coinlist_wrapper .dataTables_filter {
	display: none;
}

#coinlist_wrapper .dt-buttons {
	display: none;
}

.lastColInColGroup {
	border-right: 1px solid #f0f0f0 !important;
}

.coinlist tr th:last-child, .coinlist tr td:last-child {
	border-right: 0px !important;
}

.coinNameAndSymbol .name {
	float: left;
}

.coinNameAndSymbol .symbol {
	float: right;
	color: #999;
	font-size: 12px;
}

/*----- other styles ------*/

.ui.menu .item.calculationDate {
	color: #bbb;
}

.ui.menu .ui.dropdown .menu>.item.inactive {
	color: #bbb !important;
}

.fixedHeader-floating {
	position: fixed;
}

/*-- coin details styles ---*/

.coinNameAndLogo {
	margin-right: 10px;
	margin-left: 10px;
}

.coinNameAndLogo .logo {
	width: 25px !important;
	margin: -3px !important;
    margin-right: 10px !important;
    vertical-align: -5px;
}

.coinNameAndLogo .name {
	font-weight: bold;
	font-size: 16px;
}

.column.left {
	padding-right: 0px !important;
}

#coinAggregations td, #coinAggregations th {
	text-align: right;
}

#coinAggregations tr td:first-child {
	text-align: left;
}

.coinProperties {
	margin-bottom: 0px !important;
}

.coinProperties > .column:first-child {
	padding-right: 0px !important;
}

.categoryHeader {
	background: #eaeaea;
    font-weight: 600;
}

.redditPost .header a { color: #000 !important; font-size: 16px !important; }
.redditPost .extra {
	background-color: #f3f3f3 !important;
}
.redditPost .extra a {
	color: #666 !important;
}

/*--------- coinDetailsTabs ------------*/

#coinDetailsTabs { 
    margin-top: 0px; 
    border-top-left-radius: 0px !important;
	border-top-right-radius: 0px !important;
	
	/* Necessary for absolute positioning of children */
	position: relative;
}

#coinDetailsTabs .logoAndName {
	padding: 11px 20px;
    border-right: 1px solid #dedede;
    white-space: nowrap;
}

#coinDetailsTabs .logo img {
	width: 32px;
}

#coinDetailsTabs .logoAndName div {
	display: inline-block;
	text-align: left;
}

#coinDetailsTabs .logoAndName .name {
    font-size: 18px;
    font-weight: bold;
    margin-left: 8px;
}

#coinDetailsTabs .logoAndName .symbol {
    color: #999;
    font-weight: normal;
    font-size: 14px;
}

/*----- high charts changes ----*/

.highcharts-series path {
     stroke-linecap: initial; 
}

/*------- buy or sell -----*/

.buyorsell .buy { color: #00a000; }
.buyorsell .sell { color: #cc0000; }

/*----------- article -----------*/

.article {max-width: 800px}
.article .sourceAndDate { color: #999 }
#articleImage { margin-bottom: 8px; }

.newsTable td {vertical-align: text-top;}
.newsTable tr.head td {font-weight: bold; background: #e5e5e5; font-size: 15px !important}
.newsTable .time { opacity: 1 }
.newsTable .source { opacity: 0.8 }
.newsTable .symbols {}
.newsTable .title {}

.headerNewsTable {
	border-bottom: 1px solid #dcdcdc !important;
	margin-bottom: 5px !important;
}

.headerNewsTable a {
	color: #456984;
}

.headerNewsTable .date {
	color: #a8b2b9;
}

/*----------- graphs -----------*/

#graphContainer .periods button { 
    margin-right: 1px 
}

#graphContainer .graph {
    margin-top: 5px;
}

#graphContainer .removeGraphButton {
    padding: 4px 8px;
    float: right;
}

#coinlist_wrapper {
    padding: 0px;
    width: auto;
}

#metricFilterModal .addFilterFields .metricType {
	min-width: 40%;
}

#metricFilterModal .addFilterFields .value {
	
}

#metricFilterModal .preselectedFilters button {
	margin-bottom: 2px;
	margin-right: 0px;
}

#metricFilterModal input, #metricFilterModal .text, #metricFilterModal .item, #metricFilterModal .head {
	font-size: 12px !important;
}

#metricFilterModal input, #metricFilterModal .menu .header, #metricFilterModal .menu .item {
	padding: 8px 8px !important;
} 

#metricFilterModal .dropdown .header {
	color: #316c94;
}

/*-------- Datatables fixed columns --------------*/

.DTFC_LeftBodyWrapper .sorting_asc:after {
    content: '' !important;
}
.DTFC_LeftBodyWrapper .sorting_desc:after {
    content: '' !important;
}
.DTFC_LeftBodyWrapper .sorting:after {
    content: '' !important;
}

.DTFC_LeftBodyWrapper {
    overflow-x: hidden;
}

/*------- Media selectors -------*/

@media (min-width: 751px)
{
    .nomobile { display: auto !important }
    .mobile { display: none !important }

    #mobileHomeButton {
        display: none
    }
}

@media (max-width: 750px)
{
    .nomobile { display: none !important }
	.mobile { display: inherit !important }

	#main-menu-mobile {
		display: flex !important;
	}
	
	.ui.labeled.icon.menu .item {
		flex-direction: column !important;
	}

	#listControlsBar > .item {
		padding: 5px 10px !important;
		margin: 10px;
		background: #696969;
		color: #fff;
		border-radius: 5px;
		margin-right: -4px;
	}

    .statsBar {
        padding: 14px;
        margin: 0px;
    }

    #main-menu-desktop {
        display: none;
    }

    .ui.container {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }

    .ui.statistic>.label, .ui.statistics .statistic>.label {
        font-size: 11px !important;
    }

    .ui.mini.statistic>.value, .ui.mini.statistics .statistic>.value {
        font-size: 15px !important;
    }

    .ui.five.statistics .statistic {
        margin: 10px 7px !important;
        min-width: inherit;
    }

    .ui.menu {
        margin: 0px;
        border-radius: 0px;
        border: 0px;
    }

    .ui.menu .item:before {
        width: 0px;
    }

    .ui.labeled.icon.menu .item {
        flex-direction: unset;
    }
    

    #coinDetailsTabs .item {
        padding: 24px;
    }

    .ui.table {
        margin: 0px;
        border: 0px;
    }

    .ui.segment {
        margin: 0px;
        border-radius: 0px;
        border: 0px;
    }

    .statGroups h4 { 
        margin-bottom: 0px !important 
    }
    
    #graphContainer .periods button { 
        padding: 10px 2px;
    }

    #addGraphDropdown {
        margin-bottom: 20px;
        width: 50%;
    }

    #addGraphDropdown .header {
        background-color: #ececec;
        padding: 10px;
    }

    .ui.selection.dropdown .menu {
        max-height: 400px;
    }

    .ui.table:not(.unstackable) tbody.nomobile, 
    .ui.table:not(.unstackable) tr.nomobile, 
    .ui.table:not(.unstackable) tr>td.nomobile, 
    .ui.table:not(.unstackable) tr>th.nomobile {
        display: none !important;
    }

    #coinlistSearch {
		width: 80px;
	}
	
	#coinlistSearch:focus {
		width: 100px;
    }

    .coinlist tr td {
		font-size: 13px;
		padding: 10px 6px !important;
    }

    #footer {
        margin-top: 0px;
        padding: 6px;
    }

    #mobileHomeButton {
        display: inline-block;
    }

    #mobileHomeButton .icon {
        font-size: 15px;
        color: #bfd8ea !important;
        margin-right: 8px;
	}    
	
	.headerNewsTable {
		margin-bottom: 0px !important;
	}

    .metriccondition-screenshot {
        width: 100%;
    }

    .metriccondition-screenshot-thumbnail {
        width: 150px;
    }
}

/* Metricconditions: make the signals select fill space next to the Clear button */
.metric-filter-action {
  display: flex;
  align-items: stretch;
}

/* Before JS enhancement (native select) */
.metric-filter-action > select {
  flex: 1 1 auto;
  min-width: 0;
}

/* After Semantic UI enhancement (.ui.dropdown.selection becomes the visible control) */
.metric-filter-action > .ui.dropdown.selection {
  flex: 1 1 auto;
  min-width: 0;
}

/* Keep the Clear button natural size */
.metric-filter-action > .button {
  flex: 0 0 auto;
  white-space: nowrap;
}