.quest												{font-size:13px;background:white;position:relative;border:2px solid #154273;border-radius:2px;box-sizing:border-box;overflow:hidden;}
.quest *											{box-sizing:border-box;}
.quest.fullscreen									{height:100%;}

.quest table										{margin:0;width:auto;max-width:auto;}

.quest .header										{position:absolute;top:0;left:0;right:0;height:32px;display:block;margin:0;padding:0 20px;font-size:16px;font-weight:bold;line-height:32px;color:white !important;background:#154273;}
.quest .header label								{display:inline-block;margin-left:30px;cursor:pointer;color:#E0EBE6;font-size:15px;}
.quest .header label i								{margin-right:5px;}

.quest ul.tabs										{position:absolute;left:0;bottom:0;right:0;height:32px;display:block;margin:0;padding:0 20px 5px;width:100%;background:#F2F2F2;box-shadow:inset 0 8px 8px -6px rgba(0, 0, 0, .10);border-top:1px solid #D9D9D9;z-index:10;}
.quest ul.tabs li									{display:inline-block;width:auto;padding:2px 10px;margin:0 5px;line-height:20px;font-size:14px;cursor:pointer;}
.quest ul.tabs li.active							{background:white;color:#154273;border:1px solid #D9D9D9;border-top:1px solid white;margin-top:-1px;font-weight:bold;}

.quest .selection									{position:absolute;left:-5px;top:-5px;width:0;heigth:0;border:2px solid #154273;z-index:30;}
.quest .selection:after								{position:absolute;content:"";right:-5px;bottom:-5px;width:6px;height:6px;border:1px solid white;background:#154273;}
.quest .selection input,
.quest .selection select							{display:none;width:100%;height:100%;border:none;outline:none;}

.quest .sheet										{position:relative;border:none;overflow:hidden;width:100%;margin:32px 0 0;}
.quest.fullscreen .sheet							{height:100%;}
.quest.tabs .sheet									{margin-bottom:32px;}
.quest.fullscreen .sheet							{position:absolute;top:32px;bottom:0;left:0;right:0;width:auto;height:auto;margin:0;}
.quest.fullscreen.tabs .sheet						{bottom:32px;margin-bottom:0;}

.quest .sheet .quest-container						{position:relative;width:100%;overflow:hidden;padding:0;margin:0;}
.quest.fullscreen .sheet .quest-container			{height:100%;margin-bottom:0;}
.quest .sheet .corner								{position:absolute;z-index:18;top:0;left:0;width:100px;height:51px;overflow:hidden;}
.quest .sheet .no-scenarios .corner					{height:26px;}
.quest .sheet .colheads								{position:absolute;z-index:16;top:0;left:150px;right:0;height:51px;overflow:hidden;}
.quest .sheet .no-scenarios .colheads				{height:26px;}
.quest .sheet .rows									{position:relative;z-index:14;margin-top:50px;overflow:hidden;/*overflow-y:auto;max-height:400px;*/}
.quest.fullscreen .sheet .rows						{position:absolute;top:50px;left:0;right:0;bottom:0;max-height:none;margin-top:0;}
.quest .sheet .no-scenarios .rows					{margin-top:25px;}
.quest.fullscreen .sheet .no-scenarios .rows		{top:25px;margin-top:0;}
.quest .sheet .rowheads								{z-index:12;width:100px;position:absolute;top:0;left:0;}
.quest .sheet .rowheads table.grid					{border-right:1px solid #CECECE;}
.quest.fullscreen .sheet .rowheads					{position:absolute;top:0;left:0;}
.quest .sheet .contents								{z-index:10;/*position:absolute;top:0;left:150px;right:0;overflow:hidden;overflow-x:auto;*/overflow:auto;max-width:100%;max-height:400px;margin-left:150px;}
.quest .sheet .contents-grid						{position:relative;}

.quest table.grid									{background:#CECECE;border:none;}
.quest .grid th,
.quest .grid td										{position:relative;margin:0;padding:0 6px;height:24px;line-height:22px;white-space:nowrap;overflow:hidden;text-align:right;background:white;border:none;width:initial;max-width:initial;}
.quest .grid th										{background:#F3F3F3;color:#727175;text-align:center;font-weight:normal;}
.quest .grid th.subacc								{background:#EAEAEA;}
.quest td.folding									{background:#F3F3F3;text-align:left;}
.quest td.folding i									{cursor:pointer;margin:0 3px;}
.quest td.folding i.fa-plus							{color:green;}
.quest td.folding i.fa-times						{color:red;}
.quest td.folding i.fa-navicon						{visibility:hidden;}
	
.quest .corner thead td,
.quest .grid thead th								{border-bottom:2px solid transparent;}
.quest .grid thead th.selected						{color:#154273;background:white;}
.quest .grid thead tr:last-child th.selected		{border-bottom:2px solid #154273;}
.quest .grid tbody th								{border-right:2px solid transparent;}
.quest .grid tbody th.selected						{border-right:2px solid #154273;color:#154273;background:white;}

.quest .grid td.text								{text-align:left;color:black;}
.quest .grid td.title								{font-weight:bold;/*padding-right:25px;*/}
.quest .grid td.title i								{position:absolute;top:6px;right:6px;color:#007544;}
.quest .grid td.title.subacc						{padding-left:25px;}
.quest .grid td.title.driver						{padding-left:50px;color:black;font-weight:normal;}
.quest .grid td.subacc								{background:#FAFAFF;}
.quest .grid td.driver								{background:#EAEAEF;}
.quest .grid td.selected							{/*border:2px solid black;*/}
.quest .grid td.changed								{color:orange;font-weight:bold;}
.quest .grid td.editable							{color:blue;}

.quest .popup										{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(255, 255, 255, 0.75);z-index:100;}
.quest .popup .box									{position:absolute;top:10%;left:0;right:0px;width:300px;max-width:90%;min-height:100px;max-height:90%;margin:0 auto auto;border:2px solid #154273;background:white;border-radius:2px;}
.quest .popup h2									{background:#154273;margin:0;padding:0;line-height:30px;font-size:14px;color:white;text-align:center;}
.quest .popup .inner								{min-height:100px;padding:10px 15px;}
.quest .popup select								{width:100%;}
.quest .popup table									{margin:20px 0;width:100%;}
.quest .popup table th								{width:100px;padding:0;text-align:left;}
.quest .popup table td								{padding:0;border:1px solid silver;margin-bottom:5px;}
.quest .popup table input							{width:100%;text-align:center;}
.quest .popup table button							{margin:0 0 0 auto;}


