/* Size for brand */
nav {
    height: 100px;
}
nav .navbar-brand
{
    font-size: xx-large;
    color: #d9534f;
}

/* Colors for brand */
nav .navbar-brand .blue
{
    color: #537fbe;
}
nav .navbar-brand .red
{
    color: #ea433b;
}
nav .navbar-brand .yellow
{
    color: #f5b82e;
}
nav .navbar-brand .green
{
    color: #2e944b;
}

table {
    background-color: transparent;
    margin-bottom: 1rem;
    margin-top: 1rem;
    width: 100%;
    margin-bottom: 5rem;
}

table th,
table td {
    padding: 0.75rem;
    vertical-align: middle;
}
table th {
    background-color: rgb(178, 178, 178, 0.3);
    border-bottom: 1px solid rgb(0,0,0,0.5);
}

tbody tr:nth-of-type(odd) {
    background-color: rgb(179, 208, 255, 0.3)
}

.total, .market_value {
    text-align: end;
}

.total {
    background: rgba(200,200,200, 0.2)
}

.buy {
    color: rgb(84, 156, 48)
}

.sell {
    color: rgb(184, 27, 14)
}

.navbar-toggler-icon.open {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' ><path stroke='rgba(0, 0, 0, 0.637)' stroke-linecap='round' stroke-miterlimit='10' d='m 0,1 C 7.9374999,1 7.9374999,1 7.9374999,1 M 0,3.96875 c 7.9374999,0 7.9374999,0 7.9374999,0 M 0,6.9374999 c 7.9374999,0 7.9374999,0 7.9374999,0' /></svg>") !important;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}

.navbar-toggler-icon.close {
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' ><path stroke='rgba(0, 0, 0, 0.637)' stroke-linecap='round' stroke-miterlimit='10' d='m 0,0 c 7.9374999,7.9374999 7.9374999,7.9374999 7.9374999,7.9374999 v 0  M 7.9374999,0 C 0,7.9374999 0,7.9374999 0,7.9374999' /></svg>") !important;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.navbar-toggler {
    display: block!important;
    border-color: rgba(0,0,0,.55)!important;
}

.trade-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 99999999;
    background-color: rgba(108,117,125,0.70);
    /* color: white; */
}

.overlay {
    height: 100vh;
    position: fixed;
    top: 100px;
    width: 100%;
    z-index: 999999999;
    border-top: 1px solid rgba(0,0,0,.75);
}

.overlay-open {
    opacity: 1;
    transition: 0.5s ease-in-out;
    right: 100%;
    transform: translate(100%, 0);
}

.overlay-close {
    opacity: 0;
    transition: 0.5s ease-in-out;
    z-index: -1;
    right: -100%;
}

#navbarNav > ul > li > a {
    float: right;
    margin-right: 3vw;
}

body {
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

#chat_window {
    max-height: 80vh;
}

.btn,
.form-control {
    font-size: inherit!important;
}

.tooltip-inner {
    max-width: inherit;
    text-align: start;
    font-size: 1.25rem!important;
}

.card-stock img {
    max-width: 75px;
}

form .col-4 {
    flex: 1 1 auto;
}

form .col-8 {
    flex: 1 1 auto;
}

.nav-tabs .nav-link.active {
    border-bottom: 8px solid #198754;
}

.nav-tabs .nav-link {
    color: #404148;
}

.spinning {
    -webkit-animation:spin 4s linear infinite;
    -moz-animation:spin 4s linear infinite;
    animation:spin 4s linear infinite;
}

.form-check-input:checked {
    olor: #fff;
    background-color: #212529;
    border-color: #212529;
}

.form-check-input:focus,
.accordion-button:focus,
-webkit-slider-thumb:active  {
    border-color: #212529;
    box-shadow: 0 0 0 0.25rem rgba(33,37,41,.25);
}

.bg-opacity-50 {
    --bs-bg-opacity: 0.5;
}

.chatAnimation {
    animation: waveAnim 2s infinite;
    animation-delay: calc(1s * var(--i));
}

.rounded-2rem {
    border-radius: 2rem!important;
}

input[type=range]::-webkit-slider-thumb  {
    background: #212529!important;
}
input[type=range]:disabled::-webkit-slider-thumb  {
    background: #dee2e6!important;
}

input[type=range]::-moz-range-thumb {
    background: #212529!important;
}
input[type=range]:disabled::-moz-range-thumb {
    background: #dee2e6!important;
}

input[type=range]::-ms-thumb {
    background: #212529!important;
}
input[type=range]:disabled::-ms-thumb {
    background: #dee2e6!important;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")
}

@keyframes waveAnim {
    0%, 40%, 100% {
        transform: translateY(0);
    }
    20% {
        transform: translateY(-10px);
    }
}

@-moz-keyframes spin {
    100% { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform:rotate(360deg);
    }
}

@media only screen and (max-width: 600px)  {
    .card-stock {
        flex-direction: column!important;
        justify-content: start!important;

    }
}