@font-face {
    font-family: "Republika";
    src: url("../fonts/Republika-Regular.woff") format('woff');
}

@font-face {
    font-family: "Republika";
    src: url("../fonts/Republika-bold.woff") format('woff');
    font-weight: bold;
}

body {
    padding-top: 50px;
    height: 100%;
    font-family: Arial, sans-serif;
    background-image: url("../img/cgp_bg.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: bottom left;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Republika" !important;
}

h5 {
    text-decoration: underline;
}

blockquote {
    font-size: 1.2em;
}

        
ul.arrow-bullet li {
    display: block;
}

ul.arrow-bullet li:before
{
    content: "\e080\00a0";
    font-family: 'Glyphicons Halflings';
    font-size: 10px;
    float: left;
    margin-top: 3px;
    margin-left: 10px;
    color: #aaa;
}  

#chart_container {
    position: relative;
}
#chart {
    position: relative;
    margin: 10px;
    border: 1px solid #aaa;
}
#legend, #nbclegend {
    /*float: left;*/
    margin-left: 15px;
    margin-top: 15px;
}

.legenddiv {
    min-width: 300px;
    width: 33%;
    display: inline-block;
    vertical-align: top;
    margin: 0;
    padding-right: 10px;
}

.legendbox {
    width: 12px !important;
    height: 12px !important;
    display: inline-block;
    border: 1px solid lightgray;
    vertical-align: middle;
}

.datrngcontainer {
    margin-left: 15px; margin-top: 5px; margin-bottom: 15px;
}

.tab-content {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 10px;
}

.nav-tabs {
    margin-bottom: 0;
}

#to-top {
    position: fixed;
    right: 10px;
    bottom: 20px;
    font-size: 30px;
    text-align: center;
    vertical-align: text-top;
    width: 40px;
    height: 40px;
    color: white;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    text-decoration: none;
}

/* datatables */
table.dataTable tr { vertical-align: text-top; }
table.dataTable tr.odd { background-color: rgba(255, 255, 255, 0.7); }
table.dataTable tr.even { background-color: rgba(235, 235, 235, 0.7); }
table.dataTable td:not(:last-child) { padding-right: 10px; }

div.dt-buttons {
    float: right;
    margin-left:10px;
}

.red { color: red; }
.silver { color: silver; }

.footer {
    background-color: #333;
    color: #9d9d9d;
    border-color: #101010;
    padding: 2px;
    font-size: 0.9em;
}

.footer a {
    text-decoration: none;
    color: #fff;
}

/* Typeahead */
.twitter-typeahead {
    width: 100%;
}

.tt-menu {
    width: 100%;
    background-color: #fff;
    border: 1px solid #ccc;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
       -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
            box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-hint {
    color: #ccc;
}

.tt-suggestion {
    padding: 2px 12px;
    line-height: 24px;
}

.tt-suggestion:hover {
    color: #fff;
    background-color: #286090;
    -webkit-border-radius: 5px;
         -moz-border-radius: 5px;
              border-radius: 5px;
    cursor: pointer;
}

.tt-suggestion.tt-cursor {
    color: #fff;
    background-color: #286090;
    -webkit-border-radius: 5px;
         -moz-border-radius: 5px;
              border-radius: 5px;
}


/* Navigation bar*/
.navbar {
    background-color: #5d9d9f;
    background-image: url("../img/navbar_bg.png");
    /*background-repeat: repeat-y;*/
    background-repeat: no-repeat;
    box-shadow: 0px 5px 5px #555;
    font-family: "Republika";
    min-height: 26px !important;
}
.navbar a {
    color: #000 !important;
    font-family: "Republika";
    font-size: 1.2em;
    margin: 0px;
    text-decoration: none;
}
.navbar a:hover {
   color: red !important;
}
.navbar .active {
    color: red !important;
}
.navbar-nav > li > a, .navbar-brand {
    padding-top: 14px !important; 
    padding-bottom: 0 !important;
    height: 26px;
}
.navbar-brand {
    font-size: 1.8em !important;
}
.navbar-toggle {
    padding: 7px 10px;
}
.collapse.in {
    height: auto;
    overflow: visible;
}

/* Panel */
.panel-transparent {
    background: none;
}
.panel-transparent .panel-body{
    background: rgba(255, 255, 255, 0.7) !important;
}


/* Glyphicon */
.white {
    color: #fff;
}
.green {
    color: #050;
}
.navbar div.glyphicon {
    margin: 14px 8px !important;
}

/* Tables */
table.boldsecond td:nth-child(2) {
    font-weight: bold;
}
table.top20 {
    width: 100%;
}

.jumbotron {
    padding: 20px !important;
}
.jumbotron > h1 {
    font-size: 4em;
    margin-top: 0px;
}

.hidden {
    display: none;
}

img.left {
    float:left; max-width: 128px; margin: 5px 20px 5px 5px;
}

ul {
    padding-left: 10px;
}

.transactionmodal td:first-child {
    min-width: 135px;
}

.documentation {
    max-width: 1024px;
    margin: 0 auto;
    text-align: justify;
    text-justify: inter-word;
}

/* For chart */
#monthlysums {
    width: 100%;
}        
.chtooltip {
    visibility: hidden;
}
.axis path, .axis line {
    fill: none;
    stroke: lightgray;
    stroke-width: 0.5px;
}
.tick > line {
    stroke: lightgray;
}

/* MFERAC table */
.mferac-table {
    table-layout: fixed;
    width: 100%;
}
.mferac-table tr td:nth-child(2),
.mferac-table tr td:nth-child(3),
.mferac-table tr td:nth-child(4),
.mferac-table tr td:nth-child(5)
{
    border-top: 1px solid #ccc;
}

table.topalign td {
    vertical-align: text-top;
}
table.mfmin {
    border: 1px solid #333;
    padding: 5px;
}

.statusi-lobista {
    font-size: 0.8em;
}

ul.raquo {
    padding-left: 5px;
}
ul.raquo li {
    list-style-type: none !important;
}
ul.raquo li::before {
    content: '\00bb';
    margin: 0 0.5em;
    font-size: 1em;
}

blockquote {
    font-size: 1em;
    background: #f9f9f9;
    border-left: 10px solid #ccc;
    /*margin: 0.5em 10px;*/
    padding: 0.5em 10px;
    quotes: "\201C""\201D""\2018""\2019";
}
blockquote:before {
    color: #ccc;
    content: '\201C';
    font-size: 4em;
    line-height: 0.1em;
    margin-right: 0.25em;
    vertical-align: -0.4em;
}
blockquote:after
blockquote p {
    display: inline;
}
