/*
 * https://coolors.co/72488b-779fa1-3c91e6-ff6542-d81e5b
 * Primary: #72488b (purple)
 * #779FA1 (cadet blue)
 * #FF6542 (tomato)
 * #3C91E6 (Bleu du France)
 * #D81E5B (Ruby)
 *
 */
/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
  background-color: #f5f5f5;
}
/* generic django form styles */
.text-error,
.errorlist {
    color: #a94442;
}
/* tag styles */
.tag {
    margin-right: 5px;
    padding: 2px 4px;
    color: #333333;
    white-space: nowrap;
    background-color: #f7f7f9;
    border: 1px solid #e1e1e8;
    font-size: 12px;
}
.tags-wrapper.editable .tag {
    cursor: pointer;
}

/* Color Changes */
/* 0088cc -> 72488b, 0044cc -> 311a3e */
.btn-primary {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #72488b;
  *background-color: #311a3e;
  background-image: -moz-linear-gradient(top, #72488b, #311a3e);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#72488b), to(#311a3e));
  background-image: -webkit-linear-gradient(top, #72488b, #311a3e);
  background-image: -o-linear-gradient(top, #72488b, #311a3e);
  background-image: linear-gradient(to bottom, #72488b, #311a3e);
  background-repeat: repeat-x;
  border-color: #311a3e #311a3e #002a80;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff72488b', endColorstr='#ff311a3e', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:active:focus,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled] {
  color: #ffffff;
  background-image: none;
  background-color: #311a3e;
  *background-color: #311a3e;
}

.navbar-spawningtool {
  background-color: #72488b;
  background-image: -moz-linear-gradient(top, #72488b, #311a3e);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#72488b), to(#311a3e));
  background-image: -webkit-linear-gradient(top, #72488b, #311a3e);
  background-image: -o-linear-gradient(top, #72488b, #311a3e);
  background-image: linear-gradient(to bottom, #72488b, #311a3e);
  background-repeat: repeat-x;
  border: 1px solid #d4d4d4;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#72488b', endColorstr='#311a3e', GradientType=0);
}

.navbar-spawningtool .navbar-brand,
.navbar-spawningtool .navbar-brand:hover {
    color: #dddddd;
    text-shadow: none;
}

#navbar .nav > li > a {
  color: #dddddd;
  text-shadow: none;
}

#navbar .nav > li > a:focus,
#navbar .nav > li > a:hover {
  color: #ffffff;
  background: inherit;
}

h1,
h2 {
    color: #72488b;
}
.list-spaced li {
    margin-bottom: 10px;
}
/************************
 * GRAPHS
 ***********************/
.axis path,
.axis line {
    fill: none;
    stroke: #000;
    shape-rendering: crispEdges;
}
.winrate-table text.active {
    fill: red;
}
/**********************
 * Racial Colors
 *********************/
.color-Protoss {
    background-color: rgb(166, 206, 277);
    color: rgb(31, 120, 180);
}
.color-Terran {
    background-color: rgb(251, 154, 153);
    color: rgb(227, 26, 28);
}
.color-Zerg {
    background-color: rgb(202, 178, 214);
    color: rgb(106, 61, 154);
}
/* feedback */
@media (min-width:768px) {
    .feedback-button {
        display: block;
        position: fixed;
        right: 0;
        top: 50%;
        padding: 10px;
        font-size: 18px;
        border-right: none;
        cursor: pointer;
        border-radius: 3px 0 0 3px;
    }
}
/* helpicons */
.helpicon,
.remove-relative {
    cursor: pointer;
}
/* home page */
#featured-replay-description {
    max-height: 200px;
    overflow: hidden;
}
/**********************
 * PLAYABLE BUILD ORDER
 *********************/
.current-bo-step {
    font-weight: bold;
}
.playable-bo-data {
    font-size: 32px;
}
.build-thumbs {
    cursor: pointer;
}
.thumbs-up {
    color: #3c763d;
}
.thumbs-down {
    color: #a94442;
}
/***********************
 * EDIT BUILD ORDER
 * ********************/
.reorder-build-event-handle {
    cursor: pointer;
    vertical-align: bottom;
}
/***********************
 * HOME PAGE
 * ********************/
@media screen and (min-width: 992px) {
    .jumbotron {
        background: url(images/jumbotron.png);
        color: #ffffff;
    }
}
/**********************
 * COLOR CODE STEPS
 *********************/
.build-table--colorcoded .Unit {
    color: #72488b;
}
.build-table--colorcoded .Worker {
    color: #779FA1;
}
.build-table--colorcoded .Upgrade {
    color: #D81E5B;
}
.build-table--colorcoded .Building {
    color: #FF6542;
}
/**********************
 * DARK MODE
 *********************/
body.dark-mode {
    background-color: #222222;
    color: #ffffff;
}
body.dark-mode .well {
    background-color: #484848;
}
body.dark-mode .footer {
    background-color: #333333;
}
body.dark-mode .popover {
    background-color: #222222;
}
body.dark-mode .table-striped > tbody > tr:nth-of-type(2n+1) {
    background-color: #060606;
}
