html, body {
    padding: 0;
    margin: 0;
    /* font: 1.1em 'Patrick Hand', Tahoma, "Lucida Grande", Helvetica, Arial, sans-serif; */
    font: 1.1em 'Special Elite', Tahoma, "Lucida Grande", Helvetica, Arial, sans-serif;
    /* font: 1.1em 'zai Adler 7 Typewriter 1925', Tahoma, "Lucida Grande", Helvetica, Arial, sans-serif; */
    height: -webkit-fill-available;

    /* Theme */
    background-color: #333333;
    color: #efefef;
}

div {
    /*font-family: 'Patrick Hand';*/
    font-family: 'Special Elite';
    /* font-family: 'zai Adler 7 Typewriter 1925'; */
}

/* Theme */
body {
    padding-top: 70px;
    /* For the sidebar */
    overflow-x: hidden;
}

.bg-dark {
    background-color: #222222 !important;
}

.vr {
    background-color: transparent;
}

.table {
    color: #efefef;
}

.table-striped>tbody>tr:nth-of-type(odd)>* {
    color: #efefef;
}

.table-striped.middle-aligned-rows > tbody > tr {
    vertical-align: middle!important;
}

.nav-link {
    color: #efefef;
}

.nav-link:focus, .nav-link:hover {
    color: #a8a8a8;
}

.modal-content {
    color: #efefef;
    background-color: #4b4b4b;
}

.toast {
    background-color: transparent;
}

.toast-header {
    color: #efefef;
    background-color: #4b4b4b;
}

.toast-body {
    color: #efefef;
    background-color: #4b4b4b;
}

.card {
    background-color: rgba(33,37,41,0.5) !important;
}

.social_icon{
    position: absolute;
    right: 20px;
    top: -45px;
}

.login-card {
    height: 230px;
    margin-top: 50px;
    margin-bottom: auto;
    width: 400px;
}

.verify-card {
    height: 395px;
    margin-top: 50px;
    margin-bottom: auto;
    width: 400px;
}

.signup-paused-card {
    height: 210px;
    margin-top: 50px;
    margin-bottom: auto;
    width: 400px;
}

.pending-card {
    height: 245px;
    margin-top: 50px;
    margin-bottom: auto;
    width: 400px;
}

.signup-card {
    height: 335px;
    margin-top: 50px;
    margin-bottom: auto;
    width: 400px;
}

.signup-card-done {
    height: 270px;
}

.social_icon span{
    font-size: 60px;
    margin-left: 10px;
    color: #FFC312;
}

.social_icon span:hover{
    color: white;
    cursor: pointer;
}

.input-group-prepend span{
    background-color: #FFC312;
    color: black;
    border:0 !important;
}

.btn.btn-primary.login-button {
    position: absolute;
    right: 0px;
}

.btn.btn-light {
    background-color: transparent;
    /* color: #efefef; */
    border: none;
    /* margin-top: -5px; */
}

.btn-light:hover {
    color: #000;
    background-color: #f9fafb;
    border-color: #f9fafb;
}

.btn.btn-light.btn-icon {
    background-color: transparent;
    color: #8f8f8f;
    border: none;
    /* margin-top: -5px; */
}

.btn.btn-light.btn-icon:hover {
    background-color: transparent;
    color: #efefef;
    border: none;
    /* margin-top: -5px; */
}

.btn:disabled {
    background-color: #4b4b4b;
    border-color: #4b4b4b;
    color: #8f8f8f;
}

.form-select:disabled {
    background-color: #b4b4b4;
}

.form-control:disabled {
    background-color: #b4b4b4;
}

.bootstrap-select.disabled {
    background: #b4b4b4;
  }

.table-title > h3 {
    float: left;
}

.table-title > h4 {
    float: left;
}

.table-title > button {
    float: right;
}

.item-inactive {
    filter: brightness(50%);
}

.link-primary {
    color: #efefef !important;
}

.icon-dark {
    color: #222222;
    position: absolute;
    left: 2px;
}

.icon-selected {
    color: #5f9f21;
}

.icon-notselected {
    color: #5f2121;
}

.icon-allies {
    color: #213a5f;
}

.icon-axis {
    color: #5f2121;
}

.icon-undefined {
    color: #727272;
}


.icon-offset-left {
    left: -12px;
    top: -12px;
}

.icon-offset {
    top: -12px;
}

.invalid-feedback {
    color: #ff5566;
}

.leaflet-tooltip.axis.tooltip-invalid {
    color: rgba(95, 33, 33, .5)
}

.leaflet-tooltip.allies.tooltip-invalid {
    color: rgba(33, 58, 95, .5);
}

.leaflet-tooltip.axis {
    color: #5f2121;
}

.leaflet-tooltip.allies {
    color: #213a5f;
}

/* .leaflet-tooltip.tooltip-invalid {
    background: green;
    border: 2px solid cyan
}

.leaflet-tooltip-left.tooltip-invalid::before {
    border-left-color: cyan;
}

.leaflet-tooltip-right.tooltip-invalid::before {
    border-right-color: cyan;
} */

.accordion-body {
    background-color: #686868;
}

textarea.objects-data {
    position:relative;
    left: 0;
    right: 0;
    margin: 0;
    margin-bottom: -6px;
    padding: 0;
    height: 120px;
    width: 100%;
    border: none;
    border-radius: 0;
}

.accordion-button::after {
    color: #efefef;
}

.accordion-button:not(.collapsed) {
    color: #efefef;
    background-color: #4b4b4b;
}

.accordion-button.collapsed {
    color: #efefef;
    background-color: #4b4b4b;
}

.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='%23efefef'%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");
}

.accordion-collapse.collapsing {
    -webkit-transition-duration: 0.15s;
    transition-duration: 0.15s;
}

.fit-content { 
    margin: 0; 
    min-width: 400px;
    width: 100%;
}

.tox .tox-menubar {
    background-color: #222f3e;
}
/* End theme */

.leaflet-div {
    top: 170px;
}

.leaflet-div-objects {
    top: 115px;
}

.leaflet-control-attribution {
    display: none;
}

.row-axis {
    background-color: #5f2121;
}

.row-allies {
    background-color: #213a5f;
}

.table-numbering {
    display: none;
}

@media (max-width: 576px) {
    .hidden-on-mobile {
        display: none;
    }
}

@media (min-width: 576px) {
    .leaflet-div {
        top: 150px;
    }

    .hidden-on-mobile {
        display: table-cell;
    }
}

@media (min-width: 768px) {
    .leaflet-div {
        top: 135px;
    }
}

@media (min-width: 992px) {
    .leaflet-div {
        top: 115px;
    }
}

@media (min-width: 1200px) {
    .leaflet-div {
        top: 115px;
    }
}

@media (min-width: 1400px) {

    .leaflet-div {
        top: 115px;
    }
}

a {
    color: #00B7FF;
}

form > div.right {
    text-align: right;
}

.component-title {
    padding-top: 0;
}

.component-title-planner {
    padding-top: 0;
}

.leaflet-popup-close-button {
    display: none;
}

.under-title {
    display: none;
}

.under-title-row {
    margin-top: -5px;
    display: none;
}

@media not all and (min-width: 576px) {
    .under-title {
        display: block;
    }

    .under-title-row {
        display: table-row;
    }

    .under-title-header {
        border-bottom-color: transparent;
    }
}

.myDivIcon {
    text-align: center;
    /* Horizontally center the text (icon) */
    line-height: 20px;
    /* Vertically center the text (icon) */
}

.action-cell {
    width: 150px;
}

.modal-body.planeinfo {
    padding: 0;
    display: flex;
}

.planeinfo > iframe {
    flex-grow: 1;
    border: none;
    margin: 0;
    padding: 0;
    /*display: block;
    width: 100%;
    height: 100%;
    border: none;*/
}

button.margin-left {
    margin-left: 5px;
}

.drop-zone {
    border: 1px solid rgb(100, 100, 100);
    /* line-height: 300px; */
    height: 300px;
}

.drop-zone.over {
    background-color: rgb(116, 116, 116);
}

.fab-container {
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    user-select: none;
    position: absolute;
    bottom: 30px;
    right: 30px;
}

.datepicker-panel > ul > li {
    color: #212529;
}

/* .fab-container:hover {
    height: 100%;
}

.fab-container:hover .sub-button:nth-child(2) {
    transform: translateY(-80px);
}

.fab-container:hover .sub-button:nth-child(3) {
    transform: translateY(-140px);
}

.fab-container:hover .sub-button:nth-child(4) {
    transform: translateY(-200px);
}

.fab-container:hover .sub-button:nth-child(5) {
    transform: translateY(-260px);
}

.fab-container:hover .sub-button:nth-child(6) {
    transform: translateY(-320px);
} */

.fab-container .fab {
    position: relative;
    height: 70px;
    width: 70px;
    background-color: #4b4b4b;
    border-radius: 50%;
    z-index: 2;
}

.fab-container .fab::before {
    /* content: " "; */
    position: absolute;
    bottom: 0;
    right: 0;
    height: 35px;
    width: 35px;
    background-color: inherit;
    border-radius: 0 0 10px 0;
    z-index: -1;
}

.fab-container .fab .fab-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    border-radius: 50%;
}

.fab-container .fab .fab-content .fas {
    color: white;
    font-size: 48px;
}

.fab-container .sub-button {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 10px;
    right: 10px;
    height: 50px;
    width: 50px;
    background-color: #535353;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.fab-container .sub-button a {
      color: #efefef;
      font-size: 24px;
}

.fab-container .sub-button:hover {
    cursor: pointer;
}

.fab-container .sub-button .material-icons {
    color: white;
    padding-top: 6px;
}


/* The side navigation menu */
.sidebar {
    z-index: 100;
    margin: 0;
    padding: 0;
    width: 300px;
    /* width: 0px; */
    transition: 0.5s;
    background-color: #333333;
    position: absolute;
    top: 150px;
    bottom: 0px;
    /* right: 0; */
    overflow: auto;

    position: absolute;
    right: -300px;
}

.sidebar.visible {
    right: 0;
}

.sidebar .header {
    color: #efefef;
    background-color: #4b4b4b;
    padding: 1em 1em 1em 1em;
    cursor: pointer;
}

@media (min-width: 576px) {
    .sidebar {
        top: 150px;
    }
}

@media (min-width: 768px) {
    .sidebar {
        top: 135px;
    }
}

@media (min-width: 992px) {
    .sidebar {
        top: 115px;
    }
}

@media (min-width: 1200px) {
    .sidebar {
        top: 115px;
    }
}

@media (min-width: 1400px) {
    .sidebar {
        top: 115px;
    }
}
  
/* Sidebar links */
.sidebar a {
    display: block;
    color: black;
    /* padding: 16px; */
    text-decoration: none;
}

/* Active/current link */
.sidebar a.active {
    background-color: #04AA6D;
    color: white;
}

/* Links on mouse-over */
.sidebar a:hover:not(.active) {
    background-color: #555;
    color: white;
}

/* Page content. The value of the margin-left property should match the value of the sidebar's width property */
div.content {
    margin-left: 200px;
    padding: 0px 16px;
}

.leaflet-popup-scrolled {
    border-bottom: none;
    border-top: none;
}

div.offcanvas {
    background-color: #494949;
}

div.map-modal {
    z-index: 5000;
    width: 280px;
    display: none;
    position: absolute;
    top: 135px;
    /* left: 400px; */
    background-color: #8a8a8a;
}

div.target-modal {
    height: 500px;
    z-index: 5000;
}

.callout {
    background-color: #8a8a8a;
    padding: 20px;
    margin: 10px 0;
    border: 1px solid #6b6b6b;
    border-left-width: 5px;
    border-radius: 3px;
    h4 {
      margin-top: 0;
      margin-bottom: 5px;
    }
    p:last-child {
      margin-bottom: 0;
    }
    code {
      border-radius: 3px;
    }
    & + .bs-callout {
      margin-top: -5px;
    }
}

.callout-default {
    border-left-color: #777;
    h4 {
      color: #777;
    }
}

.callout-primary {
    border-left-color: #428bca;
    h4 {
      color: #428bca;
    }
}

.callout-success {
    border-left-color: #5cb85c;
    h4 {
      color: #5cb85c;
    }
} 

.callout-danger {
    border-left-color: #d9534f;
    h4 {
      color: #d9534f;
    }
}

.callout-warning {
    border-left-color: #f0ad4e;
    h4 {
      color: #f0ad4e;
    }
}

.callout-info {
    border-left-color: #5bc0de;
    h4 {
      color: #5bc0de;
    }
}

.callout-bdc {
    border-left-color: #29527a;
    h4 {
      color: #29527a;
    }
}
  
  /* On screens that are less than 700px wide, make the sidebar into a topbar */
  /* @media screen and (max-width: 700px) {
    .sidebar {
      width: 100%;
      height: auto;
      position: relative;
    }
    .sidebar a {float: left;}
    div.content {margin-left: 0;}
  } */
  
  /* On screens that are less than 400px, display the bar vertically, instead of horizontally */
  /* @media screen and (max-width: 400px) {
    .sidebar a {
      text-align: center;
      float: none;
    }
  } */
