/* common styles */

html {
    font-family: Calibri, Arial, sans-serif;
}
body {
    background-image: url('../images/bg-a.jpg');
    background-attachment: fixed;
}
h1 {
    margin: 20px 0px;
    font-size: 2em;
    font-weight: bold;
}
input, select, textarea {
    font: inherit;
    margin: 2px;
}
a, .link {
    cursor: pointer;
    text-decoration: underline;
    color: #864648;
}
a:hover, .link:hover {
    text-decoration: none;
}

/* layout */

#root {
    width: 1180px;
    background-color: white;
    margin: 0 auto;
}
#top {
    overflow: hidden;
    margin-bottom: 20px;
    padding: 10px 15px;
    border-bottom: 1px solid #d0d1d3;
}
#logo {
    float: left;
    font-size: 28px;
    font-weight: bold;
    font-family: Garamond, Georgia, Times New Roman, serif;
    color: #404040;
    display: table;
}
#logo img {
    vertical-align: middle;
}

#logo span {
    padding: 10px;
    display: table-cell;
    vertical-align: middle;
}

#user {
    float: right;
    font-size: 12px;
    line-height: 20px;
}
#sound-notifications {
    float: right;
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: 0.3s opacity;
    margin-left: 10px;
}
#sound-notifications:hover {
    opacity: 0.5;
}
#sound-notifications.sound-vol-0 {
    background-image: url('../images/speaker-vol-0.png');
}
#sound-notifications.sound-vol-1 {
    background-image: url('../images/speaker-vol-1.png');
}
#sound-notifications.sound-vol-2 {
    background-image: url('../images/speaker-vol-2.png');
}
#sound-notifications.sound-vol-3 {
    background-image: url('../images/speaker-vol-3.png');
}
#menu {
    float: right;
    clear: right;
    margin-top: 20px;
}
#menu li {
    display: inline-block;
    padding-left: 10px;
    margin-left: 10px;
    font-size: 0.9em;
    border-left: 1px solid #d0d1d3;
}
#menu li:first-child {
    border-left: none;
    margin-left: 0;
    padding-left: 0;
}
#menu a {
    text-decoration: underline;
    color: #864648;
    transition: 0.3s color;
}
#menu li.current a,
#menu a:hover {
    text-decoration: none;
    color: #662628;
}
#content {
    padding: 10px 15px;
}

#footer {
    border-top: 1px solid #d0d1d3;
    padding: 10px 15px;
    color: #bbbcbf;
    font-size: 0.8em;
    overflow: hidden;
}    

#contact1 {
    float: right;
    width: 300px;
}
#contact2 {
    float: right;
    width: 300px;
}
#market-menu-item.inprogress {
    color: red;
}
ul span.clock {
    color: red;
    font-weight: bold;
}
div.market_info {
    margin: 10px 0px -8px 0px;
    background: #CCC;
    text-align: justify;
    padding: 3px;
    font-size: 13px;
}
/* ------------------------------------- */

/* buttons */

button::-moz-focus-inner,
input[type=submit]::-moz-focus-inner,
input[type=button]::-moz-focus-inner {
    padding: 0 !important;
    border: 0 !important;
}

input[type=button],
input[type=submit],
.button {
    display: inline-block;
    color: white;
    background-color: #864648;
    border: 1px outset #662628;
    border-radius: 3px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    padding: 1px 5px;
    line-height: normal;
    transition: 0.3s background-color
}
input[type=button]:hover,
input[type=submit]:hover,
.button:hover {
    background-color: #662628;
}
input[type=button]:active,
input[type=submit]:active,
.button:active {
    border-style: inset;
    background-color: red;
}

/* tables */

table.zebra tr:nth-child(odd) {
    background-color: #e8e8e8;
}

table.data {
    margin: 0px auto 20px 0px;
}
table.data th {
    background-color: #CCCCCC;
    text-align: left;
}

table.data {
    border: 1px solid black;
    border-collapse: collapse;
}
table.data td,
table.data th {
    border-left: 1px solid black;
    padding: 3px;

}

.display-none {  
    display: none;
}
.template {
    display: none !important;
}

.size-4ch {
    width: 4ch;
}

.size-5ch {
    width: 5ch;
}

.size-6ch {
    width: 6ch;
}

.size-7ch {
    width: 7ch;
}

.ui-widget {
    font-size: 0.8em;
}

#message-dialog p {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
}