html,
body {
    height: 100%;
}

h1, .h1, h2, .h2, h3, .h3 {
    margin-top: 0px;
    margin-bottom: 5px;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0 0;
}

.wrap > .container {
    padding: 10px 0px;
    margin: 0 auto;
}

.footer, .footer a {
    font-size: x-small;
    color: #9f191f;
    text-align: center;
    /*height: 60px;*/
    /*background-color: #f5f5f5;*/
    /*border-top: 1px solid #ddd;*/
    padding-top: 20px;
}

.tab-pane {
    min-height: 150px;
}

.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li > a:hover,
.nav-pills > li.active > a:focus {
    color: #fff;
    background-color: #9f191f;
}

.nav-pills > li > a {
    color: white;
    background-color: red;
}

#tabstock .nav-pills > li > a {
    border-radius: 4px 4px 0 0;
}

#tabstock .tab-content, #tabnews .tab-content {
    color: black;
    background-color: ghostwhite;
    padding: 5px 15px;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media (max-width: 767px) {
    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.navbar-default {
    border: 0px;
    background-color: transparent;
}

/*.navbar-default .navbar-nav > li > a {
    color: #fff;
    font-weight: bold;
    text-align: center;
    border-right: 1px solid #fff;
    padding-top: 5px;
    padding-bottom: 5px;
}*/

#topmenu div.collapse.navbar-collapse, #topmenu .dropdown-menu {
    background: rgba(248, 80, 50, 1);
    background: -moz-linear-gradient(top, rgba(248, 80, 50, 1) 0%, rgba(241, 111, 92, 1) 0%, rgba(246, 41, 12, 1) 51%, rgba(231, 56, 39, 1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(248, 80, 50, 1)), color-stop(0%, rgba(241, 111, 92, 1)), color-stop(51%, rgba(246, 41, 12, 1)), color-stop(100%, rgba(231, 56, 39, 1)));
    background: -webkit-linear-gradient(top, rgba(248, 80, 50, 1) 0%, rgba(241, 111, 92, 1) 0%, rgba(246, 41, 12, 1) 51%, rgba(231, 56, 39, 1) 100%);
    background: -o-linear-gradient(top, rgba(248, 80, 50, 1) 0%, rgba(241, 111, 92, 1) 0%, rgba(246, 41, 12, 1) 51%, rgba(231, 56, 39, 1) 100%);
    background: -ms-linear-gradient(top, rgba(248, 80, 50, 1) 0%, rgba(241, 111, 92, 1) 0%, rgba(246, 41, 12, 1) 51%, rgba(231, 56, 39, 1) 100%);
    background: linear-gradient(to bottom, rgba(248, 80, 50, 1) 0%, rgba(241, 111, 92, 1) 0%, rgba(246, 41, 12, 1) 51%, rgba(231, 56, 39, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f85032', endColorstr='#e73827', GradientType=0);
}

#topmenu .dropdown-menu > li > a {
    color: #fff;
}

#topmenu .dropdown-menu > li > a:hover {
    color: #000;
}

.nav-tabs > li > a {
    color: white;
    background-color: #BE1117;
}

.nav-tabs > li.active > a {
    color: black;
    background-color: #DF7D72;
}

.nav-tabs > li > a:hover {
    color: black;
    background-color: #DF7D72;
}

/* >= md*/
@media (min-width: 1200px) {
    #topmenu .nav > li {
        min-width: 110px;
    }
}

.navbar-default .navbar-nav > li > a {
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
}

/* md*/

@media (min-width: 991px) {
    #langbar {
        margin-top: -35px;
        margin-bottom: 5px
    }

    .navbar-default .navbar-nav > li > a {
        border-right: 1px solid #fff;
    }
}

@media (min-width: 991px) and (max-width: 1199px) {

}

@media (max-width: 991px) {
    .navbar-header {
        float: none;
    }

    .navbar-left, .navbar-right {
        float: none !important;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-nav {
        float: none !important;
        margin-top: 7.5px;
    }

    .navbar-nav > li {
        float: none;
    }

    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .collapse.in {
        display: block !important;
    }

    .navbar-toggle {
        float: left;
    }
}

/* Biger than mobile  sm*/
@media (min-width: 768px) and (max-width: 991px) {

    .navbar-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
    }

    .navbar-nav .open .dropdown-menu:after {
        clear: both;
    }

}

@media (min-width: 450px) and (max-width: 767px) {
    /*.navbar-nav .open .dropdown-menu > li > a {
        color: #fff !important;
    }*/
    #navbar-id2 .open .dropdown-menu > li > a {
        color: darkred !important;
    }
}

.buy {
    color: blue;
}

.sell {
    color: red;
}

.cancel {
    background-color: palegreen !important;
}

.myfieldset {
    border: 1px solid #c0c0c0 !important;
    padding: 15px;
    margin: 5px !important;
}

/*#popuphome .modal-dialog {
    width: 90% !important;
}*/

#popuphome .modal-footer a, #popuphome .modal-footer a:visited {
    color: white;
    text-decoration: none;
}

#popuphome .modal-footer a:hover {
    color: black;
}

.modal-content {
    border-radius: 5px !important;
    width: 98%;
}

.modal-header {
    background-color: #f0001c !important;
    border-radius: 8px 8px 0px 0px;
    color: white;
}

.modal-header, .modal-body {
    padding: 8px;
}

form div.required label.control-label:after {
    content: " * ";
    color: red;

}

.loginhome,
.loginhome label {
    color: white !important;
    font-size: 12px;
}

.loginhome .has-error .control-label,
.loginhome .has-error .help-block {
    color: orange !important;
    font-size: 12px;
}

.loginhome .btn {
    color: black;
    margin-bottom: 5px;
}

.loginhome .form-control {
    height: 28px;
    font-size: 12px;
}

/*.footer > .navbar-collapse > #navbar-id2 {*/
/*margin-left: auto !important;*/
/*margin-right: auto !important;*/
/*}*/

/*.container > .navbar-header,*/
/*.container-fluid > .navbar-header,*/
/*.container > .navbar-collapse,*/
/*.container-fluid > .navbar-collapse*/