body {
    margin: 0;
}

#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: darkslategray;
    opacity: 1.0;
    transition: opacity 2s ease;
  }

  #loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #3498db;

    -webkit-animation: spin 2s linear infinite;
    /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 2s linear infinite;
    /* Chrome, Firefox 16+, IE 10+, Opera */
  }

  #loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #e74c3c;

    -webkit-animation: spin 3s linear infinite;
    /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 3s linear infinite;
    /* Chrome, Firefox 16+, IE 10+, Opera */
  }

  #loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    /*border: 3px solid transparent;*/
    border-top-color: #f9c922;

    -webkit-animation: spin 1.5s linear infinite;
    /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 1.5s linear infinite;
    /* Chrome, Firefox 16+, IE 10+, Opera */
  }

  @-webkit-keyframes spin {
    0% {
      -webkit-transform: rotate(0deg);
      /* Chrome, Opera 15+, Safari 3.1+ */
      -ms-transform: rotate(0deg);
      /* IE 9 */
      transform: rotate(0deg);
      /* Firefox 16+, IE 10+, Opera */
    }

    100% {
      -webkit-transform: rotate(360deg);
      /* Chrome, Opera 15+, Safari 3.1+ */
      -ms-transform: rotate(360deg);
      /* IE 9 */
      transform: rotate(360deg);
      /* Firefox 16+, IE 10+, Opera */
    }
  }

  @keyframes spin {
    0% {
      -webkit-transform: rotate(0deg);
      /* Chrome, Opera 15+, Safari 3.1+ */
      -ms-transform: rotate(0deg);
      /* IE 9 */
      transform: rotate(0deg);
      /* Firefox 16+, IE 10+, Opera */
    }

    100% {
      -webkit-transform: rotate(360deg);
      /* Chrome, Opera 15+, Safari 3.1+ */
      -ms-transform: rotate(360deg);
      /* IE 9 */
      transform: rotate(360deg);
      /* Firefox 16+, IE 10+, Opera */
    }
  }


  html, body {
    height: 100%;
    width: 100%;
}

#sidebar-nav {
    background-color: #333;
}

.login-menu-link {
    float: right;
    color: white;
    padding-right: 10px;
    vertical-align: middle;
    line-height: 70px;
}

.login-menu-link:hover {
    color: white;
}

.navbar-dark {
    background-color: #333;
    line-height: 70px;
    vertical-align: middle;
}

.navbar a {
    color: white;
}

#sidebar-footer {
    width: 100%;
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 10px;
}

#loading {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: black;
    z-index: 1000;
    opacity: 0.5;
}

.drone-colour-box {
    width:20px;
    height:20px;
    border: 1px solid black;
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px;
}

.introduce-delay {
    margin-left: 50px;
    border: 1px solid white !important;
}

#drone-routes {
    width: 100%;
}

.drone-route {
    width: 50%;
    padding-bottom: 10px;
}

#runtime-options {
    padding: 10px 0;
    width: 100%;
    text-align: right;
    clear: both;
}

#add-new-drone {
    border: 1px solid #ccc;
}

#drone-routes-json {
    height:120px;
    width:300px;
}

.drone-stall {
    color: white;background-color: royalblue;border: 1px solid black;border-radius: 4px;
}

#top-nav-menu li {
    display: inline-block;
    padding: 0 10px;
}

#top-nav-menu a {
    color: white;
    cursor: pointer;
}

.toolbar-left {
    display: block;
    position: absolute;
    top: 5px;
    left: 5px;
    background-color: rgba(0,0,0,0.75);
    color: white;
    padding: 5px 15px;
    border-radius: 10px;
}

.toolbar-left select {
    background-color: #eee;
    border-radius: 4px;
}

button#start-sim {
    border-radius: 5px;
    border: 1px solid #ccc;
    float: right;
}

#drone-route-info {
    width: 600px;
}

textarea.route-geojson {
    width: 300px;
    height: 100px;
    overflow-y: auto;
    display: block;
    padding-top: 0;
}

.route-start-time {
    width: 100px;
    display: block;
}


