* {
    -webkit-touch-callout: none !important; 
}

canvas{
    cursor:pointer;
}

.corpo-verde { background: #0f0; color: #000; padding: 2px 4px; }
.corpo-rosso { background: #f00; color: #fff; padding: 2px 4px; }
.ombra-blu { background: #00f; color: #fff; padding: 2px 4px; }

/* The Modal (background) */
.tl-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.tl-modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 0px;
  border: 1px solid #888;
  width: 300px; /* Could be more or less, depending on screen size */
}
.tl-modal-header {
  padding: 2px 16px;
  background-color:  #fefefe;  
}
.tl-modal-footer { }

/* Modal Content/Box */
.tl-modal-body {
  padding: 2px 8px;
}

/* The Close Button */
.tl-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.tl-close:hover,
.tl-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;   
}
.tl-models-list {
  max-height: 500px;
  overflow: auto;
}
.tl-models-list li {
  border-bottom: 1px solid #ccc;
  padding-bottom: 0px 5px;
}
.tl-models-list li:hover { 
  cursor: pointer;
}
#chart_container,  #chart_container:-webkit-full-screen {    
  height: 100%;
  width: 100%;  
}

/*** NEW Style ***/
.form-group { margin-bottom:5px !important; }
.form-inline .form-group {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
}
.form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}
.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: 2px 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}
select.form-control, input[type="submit"], .btnFrom {
    color: #ffffff;
    cursor: pointer;
    background-color: #3a3a3a; /* Old browsers */
    background-color: -moz-linear-gradient(top, #3a3a3a 0%, #424242 100%); /* FF3.6-15 */
    background-color: -webkit-linear-gradient(top, #3a3a3a 0%,#424242 100%); /* Chrome10-25,Safari5.1-6 */
    background-color: linear-gradient(to bottom, #3a3a3a 0%,#424242 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3a3a3a', endColorstr='#424242',GradientType=0 ); /* IE6-9 */
}

select.form-control optgroup { 
  color: #333333;
  background-color: #eeeeee;
}

select.form-control option {
  color: #ffffff;
  background-color: #3a3a3a; /* Old browsers */
}

#combo_mercati option {
  text-transform: uppercase;
}
.form-check-input {
  height: auto;
  margin-bottom: 3px;
}

.btn {
    position: relative;
    margin: 0;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border: 1px solid transparent;
    padding: 5px;
    font-size: 1rem;
    line-height: 1.25;
    border-radius: .25rem;
    transition: all .15s ease-in-out;
}

.btn:disabled {
    opacity: .65;
}

fieldset { 
    display: block;
    margin-left: 2px;
    margin-right: 2px;
    padding-top: 0.35em;
    padding-bottom: 0.625em;
    padding-left: 0.75em;
    padding-right: 0.75em;
    border: 1px solid silver;
}

.zoomButton {
    font: 14px sans-serif;
    color: #fff;
    padding: 6px 6px 3px 6px;
    border-radius: 3px;
    text-decoration: none;
    background: #333;
}

.btnFormStop {
    float: right;
}

#stopForm, #configGraph {
    display: none;
}

.hidden, .form-inline .form-control.hidden {
    display: none;
}

.arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 0;
    border-bottom: 0;
    display: inline-block;
}

.arrow-down {
    border-top: 5px solid #ffffff;
}

.arrow-up {
    border-top: 0;
    border-bottom: 5px solid #ffffff;
}

/* Footable */
.footable thead th { white-space: nowrap; }
.footable td.overText { /* max-width: 170px; */ overflow: hidden; text-overflow:ellipsis; }
.footable td.overText div { text-overflow:ellipsis; white-space: nowrap; overflow: hidden; display:block; }
.mg th div { padding: 2px 0 0 10px; border-top: none; }
.mg td { border: 1px solid #d3d3d3 !important; vertical-align:middle; }
table.footable>thead>tr>th.footable-sortable { padding-right: 25px; }
.symbol-list-link, .symbol-list-text { display: inline-block; }
table.footable-details>tbody>tr>th:nth-child(1) {
  border: 1px solid #eee; 
  background: #333;
  vertical-align: middle;
  text-align: left;
}
table.footable-details>tbody>tr:nth-child(even) { background-color: #eee; }
table.footable-details>tbody>tr>th:nth-child(1) div { border-left:none; }
table.footable>tbody>tr.footable-empty>td { font-size:14px; }
table.footable-details>tbody>tr>td:nth-child(2) { word-break: break-word; }
table.footable>tbody>tr>td { display: table-cell; }
/************/

.compareButton { float:left; margin: 1px 0; display:table; }
.compareButton>span>i { font-size:31px; color:#e0a800; cursor:pointer; }
.compareSearch { display:none; }
.compareSearchSpace { margin: 0 2px; float:left; }
.compareTitles { text-decoration: none; }

/*********** mobile graph menu ***************/

.mobileGraphMenu { display: none; }
.mobileGraphMenu ul {
  list-style: none;
  padding: 6px 0;
  width: 100%;
  margin: 0;
  display: table;
}

.mobileGraphMenu ul li {
  display: table-cell;
  text-align: center;
  border-right: 1px solid grey;
  font-size: 16px;
}

.mobileGraphMenu ul li span {
  padding: 6px 0 4px;
  margin-right: 15px;
  margin-left: 12px;
  color: #3A8EB5;
}

.mobileGraphMenu ul li i { font-size: 11px; margin-right: 4px; }
.mobileGraphMenu li:first-child span {margin-left:0;}
.mobileGraphMenu li:last-child {border-right:0;}

#titleBar { z-index: 999 !important; }

/*********** symbol search menu ***************/

.clearSearch {
  position: absolute;
  right: 8px;
  top: 0;
  z-index: 10;
  cursor: pointer;
  color: #ccc;
  display: none;
}

.clearSearch:hover {
  color: #3a3a3a;
}


/*****************************************/

.mobileView { display: none; }

@media only screen and (max-width: 1200px) {
  .compareSearch > div { margin-left:37px; } 
  .compareSearchSpace { margin:0; display:none; }
}

@media only screen and (max-width: 445px) {
  .autoSearch input, .autoSearch select, .btnFormStop, #stopType { width: 100% !important; }
  .comboBox { float: none !important; }
  .compareSearch > div { margin-left:0; }
  .footable td.overText { max-width: 145px; }
}

@media only screen and (max-width: 480px) {
  .autoSearch, .btnFormStop, .desktopView {display: none;}
  .mobileGraphMenu, .mobileView {display: block; width:100%;}
}

