* {
	box-sizing: border-box;
  }
  
  body {
	margin: 0;
	background-color: #f8f8c0;
  }
.maintitle 
{
	background-color: #f8f8c0;
	padding: 0;
	display: block;
}
.maintitle img
{
	background-color: #f8f8c0;
	padding: 0;
	text-align: center;
	display: inline;
	margin: 2;
}

.maintitle .titlebox
{
	text-align: center;
	color: #222;
	font-size: x-large;
	display: inline-block;
	overflow: hidden;
	width: 80%;	
	padding: 0 0 16 0;
}

.menu{
	display: block;
}
/* The navbar container */
.topnav {
	list-style-type: none;
	overflow: hidden;
	margin: 0;
	padding: 0;
	background-color: #fcfce6;
}

/*
.topnav :last-child {
	border-right: none;
  }
*/
.topnav .navi
{
	float: left;
	display: block;
	color: #d16d2a;
	text-align: center;
	padding: 14px 16px;
	border-right: 1px solid #d16d2a;
}

.topnav li a {
	text-decoration: none;
	color: #d16d2a;
}

.dmenu {
	float:left;
	margin: 0;
	padding: 14px 16px;
	display: block;
	color: #d16d2a;
	text-align: center;
	text-decoration: none;
	border-right: 1px solid #d16d2a;
}

.topnav li:hover{
	background-color: #d16d2a;
	color: #fcfce6;
}

.topnav li:hover .dmenu{
	background-color: #d16d2a;
	color: #fcfce6;
}
.topnav .navi:hover a {
	background-color: #d16d2a;
	color: #fcfce6;
}

/* Dropdown Content (Hidden by Default) */
.dlist {
display: none;
position: absolute;
background-color: #fcfce6;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}

/* Links inside the dropdown */
.dlist a {
text-align: left;
color: #d16d2a;
padding: 8px 8px;
text-decoration: none;
display: block;
}

/* Change color of dropdown links on hover */
.dlist a:hover {background-color: #d16d2a;color: #fcfce6;}

/* Show the dropdown menu on hover */
.dmenu:hover .dlist {
display: block;
}

/**************************************************************/
#surya {
    object-fit: contain;
    width: 100%;
    max-height: 100%;
}
/**************************************************************/

/*#pcontent {
	column-count: 3;
}*/

#pcontent:after {
	content: "";
	display: table;
	clear: both;
  }

.column {
	float: left;
	margin: 8px;
/*	height: 70%;
	max-height: 70%;*/
  }
  
  /* sidebar */
.column.sidebar {
	width: 20%;
	border: 1px solid #f8f8c0;
	border-radius: 8px;
	padding: 10px;
	background-color: #fcfce6
  }

  .column.sidebar h3{
	font-size: large;
	font-weight: bold;
	color: #d16d2a;
  }

  .column.sidebar ul{
	font-size: medium;
	color: #5e2906;
  }

  .column.sidebar p{
	font-size: medium;
	color: #5e2906;
  }
  /* Middle column */
.column.main {
	width: 38%;
	border: 1px solid #f8f8c0;
	border-radius: 8px;
	padding: 10px;
	background-color: #fcfce6
}
  
  /* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
  @media screen and (max-width: 400px) {
	.column.sidebar, .column.main {
	  width: 100%;
	}
  }

#footer {
	background-color:#f8f8c0;
	text-align: center;
	padding: 10px;
  }

/***********************************************************/
/***********************************************************/
#settings 
{
  float:right;
  background: #ffffb3;
  border: 1px solid #ff6600;
  border-radius: 5px;
  font-size: 24px;
  color: #ff6600;
}
  
#dtabfull 
{
  width:100%;
  border-collapse: collapse;
  font-size: 12px;
}
#dtabfull td, #dtabfull th 
{
  border: 1px solid #ff6600;
  padding: 3px 3px 3px 3px;
  margin: 0px 0px 0px 0px;
  font-size: 12px;
}    
#dtabfull th 
{
	background: #ffffe6;
}

.CellWithComment{
  position:relative;
	}

.CellComment{
  display:none;
  position:absolute; 
  z-index:100;
  border:1px;
	  background-color:#e6f2ff;
  border-style:solid;
	  border-width:1px;
  border-radius: 5px;
  border-color:#000080;
	  padding:3px;
	  color:#000000;
	  width: 180px;
	  height: 140px;
  bottom:40px; 
  left:20px;
}

.CellWithComment:hover span.CellComment{
display:block;
}

#UserData table
{
  width:100%;
  margin: 0px;
  border: 1px solid #33CCCC;
  border-radius: 5px;
  border-collapse: collapse;
}
#UserData td 
{
  border: 1px solid #ddd;
  padding: 2px 2px 8px 8px;
  margin: 0px 0px 0px 0px;
}    
#UserData .cuh 
{
  background: #cce6ff;
}

#planets 
{
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 800px;
}

#planets td, th 
{
  border: 1px solid #ddd;
  padding: 8px;
}

#planets tr:nth-child(even){background-color: #f2f2f2;}

#planets tr:hover {background-color: #ddd;}

#planets th 
{
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #4CAF50;
  color: white;
}


.house table, .navamsa table, .bhava table 
{
  float: left;
  border: 1px solid black;
  padding: 0px 0px 0px 0px;
  margin: 10px 10px 10px 10px;
  border-collapse: collapse;
}

.house td, .navamsa td, .bhava td 
{
  border: 1px solid black;
  height:100px;
  width:100px;
  text-align:center;
  margin: 0px 0px 0px 0px;
}

/* Tooltip container */
.tooltip 
{
  padding: 2px 2px 2px 2px;
  margin: 4px 4px 4px 4px; 
  position: relative;
  display: inline-block;
  border: 2px solid #33CCCC; 
  border-radius: 3px;
}

/* Tooltip text */
.tooltip .tooltiptext 
{
  visibility: hidden;
  width: 60px;
  background-color: #FFFFFF;
  color: #000000;
  text-align: center;
  padding: 2px;
  border-radius: 6px;
  border: 2px solid #33CCCC;
  /* Position the tooltip text - see examples below! */
  position: absolute;
  bottom: 140%;
  left: 50%;
  margin-left: -30px; /* Use half of the width (120/2 = 60), to center the tooltip */
  z-index: 1;
}

.tooltip .tooltiptext::after 
{
  content: " ";
  position: absolute;
  top: 100%; /* At the bottom of the tooltip */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #33CCCC transparent transparent transparent;
}
/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext 
{
  visibility: visible;
}

.tooltip:hover 
{
  background: #33CCCC;
}

.ui-accordion .ui-accordion-content
{
	padding: 2px 2px 2px 2px;
}