/* Correzioni locali ai CSS originali Swissquote.
   Le icone dei CSS originali puntano a /sqi_runnerbook/... (non più accessibile):
   qui vengono sostituite con SVG inline. */

/* A+ / A- */
#tableQuotes { zoom: var(--rb-font-scale, 1); }

/* frecce della variazione % */
.pp .dir-up {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='8'%3E%3Cpath d='M4.5 0L9 8H0z' fill='%2300a600'/%3E%3C/svg%3E");
}
.pp .dir-dw {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='8'%3E%3Cpath d='M0 0h9L4.5 8z' fill='%23c80000'/%3E%3C/svg%3E");
}

/* pulsante "Titel löschen" */
.table_page .closePositionLink span {
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='13'%3E%3Cpath d='M4 3.5l6 6M10 3.5l-6 6' stroke='%23777' stroke-width='1.6'/%3E%3C/svg%3E") center no-repeat;
}
.table_page .closePositionLink:hover span {
	background: #f3f3f3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='13'%3E%3Cpath d='M4 3.5l6 6M10 3.5l-6 6' stroke='%23c80000' stroke-width='1.8'/%3E%3C/svg%3E") center no-repeat;
}

/* frecce di ordinamento nelle intestazioni */
table.table_page thead th.sort { cursor: pointer; }
table.table_page thead tr .headerSortUp {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6'%3E%3Cpath d='M4 0l4 6H0z' fill='%23555'/%3E%3C/svg%3E") !important;
}
table.table_page thead tr .headerSortDown {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6'%3E%3Cpath d='M0 0h8L4 6z' fill='%23555'/%3E%3C/svg%3E") !important;
}

/* pausa / play */
div.controls .icon.pause {
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath d='M4 3h2v8H4zM8 3h2v8H8z' fill='%23555'/%3E%3C/svg%3E") center no-repeat;
}
div.controls .icon.play {
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath d='M4.5 3l6 4-6 4z' fill='%23555'/%3E%3C/svg%3E") center no-repeat;
}
div.controls a, div.controls .icon { vertical-align: middle; }

/* schede: evidenzia quella attiva */
#rbTabnav li { cursor: pointer; }
#rbTabnav li.active .t_middle { color: #f60; }

/* menu in alto */
.globalTools li { cursor: pointer; }

/* trascinamento righe */
#tableQuotes tbody img.lineOrder { display: inline; vertical-align: middle; margin: 0 4px 0 0; cursor: move; }
#tableQuotes tbody.sorted img.lineOrder { visibility: hidden; }
#tableQuotes tbody tr.dragging td { opacity: .5; }

/* titolo non trovato su Swissquote */
#tableQuotes td.notFound a::after { content: " (Nicht gefunden)"; font-style: italic; }

/* ricerca titoli */
#search-results { position: absolute; }
#search-results table { border-collapse: collapse; }

@media print {
	.quickSearch, .controls, .globalTools, .pageTools, #nav, .lastColumn, img.lineOrder { display: none !important; }
}

/* altezza righe come nell'originale (prima la dava il pulsante Trade) */
#tableQuotes tbody td { height: 18px; }
#tableQuotes tbody img.lineOrder { float: left; margin-top: 1px; }
