/**
* Author: Deimos Space S.R.L
* Copyright: (c) Copyright European Space Agency, 2017
*/
body {
  background-color: #333;
  color: #ddd;
  padding-top: 47px;
  margin-left: 15px;
}

#spinner_box {
	position	: absolute;
	top		: 10px;
	left		: 210px;
	padding		: 5px;
	display: block;
	z-index: 10;
}

#spinner_box > img {
   width: 60px;
   height: 60px;
   left:10px;
} 

.title {
	margin-left: 0.6em;
	font-family: NotesEsaReg, Helvetica, Arial, sans-serif;
	font-size: 1.4em;
	color: #ffffff;
}

.chooseButton {
	border-radius: 5px;
	width: 130px;
}

a {
  color: #ccc;
  text-decoration: underline;
}
a.brand {
  text-decoration: none !important;
}
a:hover {
  color: #aaa;
  text-decoration: none;
}

hr {
	border: 1px solid #666;
    border-top: 0;
    margin: 15px 0;
}

body {
	overflow	: hidden;
	padding		: 0;
	margin		: 0;

	color		: #fff;
	background-color: #000;
	font-family	: arial;
	font-size	: 100%;

  background-image: url('../img/universe.jpg');
}

.sidebar {
  z-index: 10;
  position: absolute;
  left: 0;
  top: 0;
  padding: 20px 10px;
  font-size: 13px;
  background-color: #000;
  color: #f0f0f0;
  width: 200px;
  border-right: 1px solid #222;
}
.sidebar a {
  color: #f0f0f0;
}

.sidebar table {
  font-size: 11px;
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: auto;
  margin-top: 6px;
  margin-bottom: 10px;
}
.sidebar table td {
  border: 1px solid #ccc;
  padding: 4px;
  cursor: pointer;
}

.sidebar input {
	width: 145px;
    padding: 15px 5px;
}

.sidebar .neo-btn {
	width: 145px;
}

.sidebar .neo-btn + .neo-btn {
	margin-top: 10px;
}

.sidebar .neo-btn:hover,
.sidebar .neo-btn:focus {
	background-position: 0 -30px;
	border: 1px solid #666;
}

#container {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%
}

.margin-bottom {
    margin-bottom:15px;
}
.myAlert-bottom{
    z-index: 12;
    position: absolute;
    bottom: 5px;
    left:2%;
    right:2%;
    /*display: block;*/ /* Ensure it's visible when toggled */
}
/* Make the X button more visible */
.close {
    font-size: 20px;          /* Increase the size */
    color: #ff0000;           /* Change color to bright red */
    opacity: 1;               /* Make sure it's fully opaque */
    cursor: pointer;          /* Ensure it shows a pointer when hovered */
    background-color: #fff;   /* Add background for better contrast */
    border: 1px solid #ff0000; /* Add border for further emphasis */
    padding: 5px 10px;        /* Increase the padding for click area */
    border-radius: 50%;       /* Make it circular */
    position: absolute;       /* Ensure it stays in the top-right corner */
    top: 10px;
    right: 10px;
}

.close:hover {
    background-color: #ff0000; /* Background turns red on hover */
    color: #fff;               /* Text becomes white on hover */
}

.alert {
    display: none;
}
/*++++++++*/
/* Style for the entire slider track */
.dg .slider {
    background: #ddd;            /* Light grey background for the track */
    border-radius: 5px;          /* Rounded track corners */
    height: 6px;                 /* Thinner track height */
    position: relative;
    width: 100%;
}
/* Keep the blue rectangle but control its size */
.dg .slider-fg {
    background-color: #1E90FF;   /* Blue rectangle color */
    border-radius: 5px;          /* Rounded edges for the fill */
    height: 100%;                /* Full height of the track */
    position: absolute;
    width: 10px;                 /* Initially small width to make it scroll */
    transition: left 0.2s;       /* Smooth transition when moving */
    left: 0;                     /* Start position */
    z-index: 2;                  /* Ensure it stays above the track */
}

/* Optional: Change the fill color when hovered */
.dg .slider:hover .slider-fg {
    background-color: #1C86EE;   /* Slightly darker blue on hover */
}
/*++++++++*/
.btn-custom {
    color: #FF9B48; 
    background-color: #800000;
}
.styled-select {
   background: url(../img/select.jpg) no-repeat 90% 0;
   height: 27px;
   overflow: hidden;
   width: 60px;
}

.styled-select select {
   background: transparent;
   border: none;
   font-family: Cuprum, sans-serif;
   font-size: .8rem;
   height: 27px;
   padding: 5px;
   width: 90px;
}

select option {
       background: rgb(255, 255, 255);
}

select option:disabled {
    color: #d3d3d3;
}

.semi-square {
   -webkit-border-radius: 5px;
   -moz-border-radius: 5px;
   border-radius: 5px;
}
.blue    { background-color: rgba(0, 145, 199, 1); }

.blue select    { color: #fff; }

.blue select option  { color: initial; }
	
/**
 * Style-sheet for dtpicker
 * https://github.com/mugifly/jquery-simple-datetimepicker
 */

.datepicker {
    display: inline-block;
    font: 15px/1.5 "Helvetica Neue", mplus-2c, Helvetica, Arial, "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
    font-weight: 300;
    border: 1px solid #dfdfdf;
    border-radius: 3px;
    -webkit-border-radius: 3px;  
    -moz-border-radius: 3px;
    box-shadow: 0.5px 0.5px 0px #c8c8c8;
    -webkit-box-shadow: 0.5px 0.5px 3px #eeeeee;
    -moz-box-shadow: 0.5px 0.5px 3px #eeeeee;
}

/*
 * datepicker_header
 */

.datepicker > .datepicker_header{
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 5px;
    padding-right: 5px;
    background-color: #eeeeee;
    color: #3f3f3f;
    text-align: center;
    font-size: 9pt;
    font-weight: bold;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.datepicker > .datepicker_header > a {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    cursor: pointer;
    color: #3b7796;
    margin: auto;
}

.datepicker > .datepicker_header > a:hover {
    color: #303030;
    background-color: #c8c8c8;
}

.datepicker > .datepicker_header > a:active {
    color: #ffffff;
    background-color:	#808080;
}

.datepicker > .datepicker_header > span {
    margin-left: 20px;
    margin-right: 20px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.datepicker > .datepicker_header > .icon-home {
    position: absolute;
    display: block;
    float: left;
    margin-top: 2px;
    margin-left: 5px;
    width: 11pt;
    height: 11pt;
    vertical-align: middle;
}

.datepicker > .datepicker_header > .icon-home > svg > g > path {
    fill: #3b7796;
}

.datepicker > .datepicker_header > a:hover > svg > g > path {
    fill: #303030; /* Icon button hover color */
}

/*
 * datepicker_inner_container 
 */

.datepicker > .datepicker_inner_container {
    margin: -2px 0px -2px 0px;
    background-color: #d2d2d2;
    border: 1px solid #c8c8c8;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    box-shadow: 0.5px 0px 3px #c8c8c8;
    -webkit-box-shadow: 0.5px 0px 3px #c8c8c8;
    -moz-box-shadow: 0.5px 0px 3px #c8c8c8;
}

.datepicker > .datepicker_inner_container:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/*
 * datepicker_inner_container > datepicker_calendar
 */

.datepicker > .datepicker_inner_container > .datepicker_calendar {
    float: left;
    width: auto;
    margin-top: -0.5px;
    margin-left: -1px;
    margin-bottom: -2px;
    background-color:	#ffffff;
    border: 1px solid #c8c8c8;
    border-top:none;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    -webkit-border-top-left-radius:	3px;
    -webkit-border-bottom-left-radius: 3px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-bottomleft: 3px;
}
.datepicker > .datepicker_inner_container > .datepicker_calendar > table {
    padding: 15px;
}

/*
 * datepicker_inner_container > datepicker_calendar > datepicker_table > tbody > tr > th (WDay-cell)
 */

.datepicker > .datepicker_inner_container > .datepicker_calendar > .datepicker_table > tbody > tr > th {
    color: #646464;
    width: 20px;
    font-size: small;
    font-weight: normal;
    text-align:center;
}

/*
 * datepicker_inner_container > datepicker_calendar > datepicker_table > tbody > tr > td (Day-cell)
 */

.datepicker > .datepicker_inner_container > .datepicker_calendar > .datepicker_table > tbody > tr > td {
    color: #000000;
    font-size: small;
    text-align:center;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    cursor: pointer;
}

.datepicker > .datepicker_inner_container > .datepicker_calendar > .datepicker_table > tbody > tr > td.today {
    border-bottom: #bfbfbf solid 2px;
    margin-bottom: -2px;
}

.datepicker > .datepicker_inner_container > .datepicker_calendar > .datepicker_table > tbody > tr > td.wday_sat {
    color: #0044aa;
}

.datepicker > .datepicker_inner_container > .datepicker_calendar > .datepicker_table > tbody > tr > td.wday_sun {
    color: #e13b00;
}

.datepicker > .datepicker_inner_container > .datepicker_calendar > .datepicker_table > tbody > tr > td.day_another_month {
    cursor: default;
    color: #cccccc;
}

.datepicker > .datepicker_inner_container > .datepicker_calendar > .datepicker_table > tbody > tr > td.day_in_past {
    cursor: default;
    color: #cccccc;
}

.datepicker > .datepicker_inner_container > .datepicker_calendar > .datepicker_table > tbody > tr > td.day_in_unallowed {
    cursor: default;
    color: #cccccc;
}

.datepicker > .datepicker_inner_container > .datepicker_calendar > .datepicker_table > tbody > tr > td.out_of_range {
    cursor: default;
    color: #cccccc;
}

.datepicker > .datepicker_inner_container > .datepicker_calendar > .datepicker_table > tbody > tr > td.active {
    color: #ffffff;
    background-color:	#808080;
}

.datepicker > .datepicker_inner_container > .datepicker_calendar > .datepicker_table > tbody > tr > td.hover {
    color: #000000;
    background-color:	#c8c8c8;
}

.VASvisualiser-portlet {
    height: 100vh;
}

/* Target plane styles */
#targetplane{
    display: none;
    z-index: 3;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    bottom: 0;
    margin: none;
    background: rgba(240,240,240,0.75);
}

#chart{
    display: none;
    z-index: 4;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 70%;
    bottom: 0;
    margin: none;
    background: rgba(240,240,240,0.75);
}

#tpPanelControl {
    display: none;
    z-index: 4;
    position: fixed;
    top: 0px;
    width: 30%;
    bottom: 0;
    right: 0;
    background: white;
    padding: 10px;
    margin: 0;
    overflow: auto;
    color: #000;
}

#legend {
    margin: 20px 0;
}

#legend p {
    margin: 0;
    font-size: 12px;
    line-height: 20px;
    font-family: Verdana;
}

.targetPlaneButton {
    text-transform: uppercase;
    margin: 5px auto;
    border-radius: 5px;
}

.chooseButton {
    border-radius: 5px;
    width: 130px;
}

.btn-custom {
    color: #FF9B48; 
    background-color: #800000;
}

.btn:focus {
    outline: none;
}

.targetplane-active {
    overflow: hidden;
}

.neo-btn:hover, .neo-btn:focus {
    background-position: 0 -30px;
}