/* ============ desktop view ============ */
@media all and (min-width: 992px) {
    .dropdown-menu li {
        position: relative;
    }

    .nav-item .submenu {
        display: none;
        position: absolute;
        left: 100%;
        top: -7px;
    }

    .nav-item .submenu-left {
        right: 100%;
        left: auto;
    }

    .dropdown-menu > li:hover {
        width: 100%;
    }

        .dropdown-menu > li:hover > .submenu {
            display: block;
            width: 100%;
        }
}
/* ============ desktop view .end// ============ */

/* ============ small devices ============ */
@media (max-width: 991px) {
    .dropdown-menu .dropdown-menu {
        margin-left: 0.7rem;
        margin-right: 0.7rem;
        margin-bottom: .5rem;
    }
}
/* ============ small devices .end// ============ */




html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}




.profile {
    vertical-align: middle;
    border-radius: 50%;
    width: 24px;
    height: 24px;
}

.profile-status {
    vertical-align: middle;
    width: 12px;
    height: 12px;
}

.icon-size {
    width: 32px;
    height: 32px;
}
.larger-icon-size {
    width: 64px;
    height: 64px;
}


.dropdown-item {
    border: medium;
}

.dropdown-menu {
    white-space: nowrap;
    max-height: max-content;
    max-width: max-content;
}

.ISK:after {
    text-align: right;
    width: 200px;
}


.logo-image {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    margin-top: -6px;
}


.navbar-right {
    margin-right: 20px;
}

.contract {
    vertical-align: middle;
    font-size: .8rem;
}

.contract-value {
    text-align: right;
    margin-right: 10px;
}

td[contract-value^="-"]:after {
    color: red;
}


.contract-name {
    text-align: center;
}

.contract-status {
    width: 30px;
}

.contract-status-deleted {
    background-color: mediumvioletred;  
}

.chart {
    width: 640px;
    align-content: center;
}

.wallet-name {
    text-align: left;
}

.wallet-value {
    text-align: right;
    margin-right: 10px;
}

.price {
    text-align: right;
    margin-right: 10px;
}
.quantity {
    text-align: right;
    margin-right: 10px;
}
.status {
    text-align: center;
}

.name {
    text-align: left;
    margin-right: 10px;
}

.has-doctrine-fit {
    position: relative;
}

.doctrine-fit {
    position: fixed;
    right: 40px;
    top: 14px;
    display: inline;
    background: var(--bs-body-bg);
    color: var(--bs-emphasis-color);
    z-index: 20;
    min-width: 300px;
    padding: 1rem;
    border: 1px solid var(--bs-emphasis-color);
}

.doctrine-fit-list {
    transform-origin: left;
    transition: transform 0.1s ease-in;
    transform: translateY(30px) scale(0);
}

.doctrine-fit-notlist {
    transform-origin: left;
    transform: translateY(30px) scale(1);
}

.doctrine-fit-text {
    top: 0%;
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    font-size: 12px;
    font-weight: normal;
    z-index: 20;
    min-width: 400px;
    padding: 1rem;
    font-family: monospace;
    white-space: pre;
}

    .doctrine-fit-text::first-line {
        color: var(--bs-body-bg);
    }

.doctrine-name-box {
    position: fixed;
    right: 0;
    top: 0;
    transform-origin: left;
    display: inline;
    background: var(--bs-body-color);
    color: var(--bs-body-bg);
    font-size: 12px;
    font-weight: normal;
    z-index: 10;
    width: 100%;
    padding: 5px;
    border: 1px solid black;
    font-family: monospace;
    height: 40px;
    font-size: 18px;
    font-weight: bold;
    align-content: center;
}

.circle {
    position: fixed;
    right: 7px;
    top: 7px;
    /* Within a circle, centered text looks prettier. */
    text-align: right;
    /* Let's avoid our text touching the border. As
     our text will still flow in a square, it looks
     nicer that way, giving the feeling that it's a "real"
     circle. */
    padding: 1px;
    /* The border will make the circle visible.
     You could also use a background, as
     backgrounds are clipped by border radius */
    border: 10px solid var(--bs-body-color);
    /* Let's make sure we have a square.
     If it's not a square, we'll get an
     ellipsis rather than a circle */
    width: 106px;
    height: 106px;
    /* and let's turn the square into a circle */
    border-radius: 100%;
    z-order: 23;
}

.doctrine-shiptype-picture {
    position: fixed;
    right: 10px;
    top: 10px;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    z-index: 22;
}

.doctrine-alliance-logo {
    position: fixed;
    right: 2px;
    top: 2px;
    z-index: 25;
    align-items: end;
}
.doctrine-shiptype-text {
    position: fixed;
    right: 118px;
    top: 37px;
    border-radius: 50%;
    height: 100px;
    z-index: 21;
    color: var(--bs-warning);
    align-items: end;
    font-weight: bold;
}

h1.show-doctrine-fit {
    color: brown;
}

h1 {
    color: blue;
}
h2 {
    color: blue;
}
.warning {
        color: red;
}

.has-doctrine-fit:hover span {
    transform: translateY(30px) scale(1);
}


table.doctrine tr:hover > td {
    background: #fff;
}

.clickable-row {
    cursor: pointer;
}

.table-warning-box {
    font-weight: bold;
    color: sandybrown;
}

.table-danger-box {
    font-weight: bold;
    color: red;
}


div.animated_warning {
    animation-name: animated_warning;
    animation-duration: 4s;
    animation-delay: 5s;
    animation-iteration-count: infinite;
    color:red;
    font-size: 2.5rem;
    height: 100px;
}

@keyframes animated_warning {
  0%   {color:red; left:0px; top:0px;}
  10%  {color:white; left:200px; top:0px;}
  20%  {color:orangered; left:200px; top:0px;}
  30%  {color:white; left:200px; top:0px;}
  40%  {color:pink; left:200px; top:0px;}
  50%  {color:white; left:200px; top:0px;}
  60%  {color:deeppink; left:200px; top:0px;}
  70%  {color:white; left:200px; top:0px;}
  80%  {color:crimson; left:200px; top:200px;}
  90%  {color:white; left:0px; top:200px;}
  100% {color:red; left:0px; top:0px;}
  50% {font-size: 4rem;}
}


