﻿/******************************************************************************
* Default styles applied to Standards Mode compatible browsers only           *
* Currently: every browser but IE6, IE7                                       *
******************************************************************************/

/* For XHTML rendering we need to get a bit creative
   on how to achieve a 100% height body with padding */ 
HTML, FORM
{
	height: 100%;
	margin: 0px;
	padding: 0px;
	border: 0px;
}
BODY
{
	display: block;
	position: absolute;
	height: auto;
	bottom: 0;
	top: 0;
	left: 0;
	right: 0;
	margin: 0px;
	padding: 10px 10px;
}

span.DGLABEL, span.DGRADIOBUTTON, span.DGCHECKBOX
{
	/* Needed so our labels, checkboxes and radiobuttons can have a width */
	display: inline-block;
}
a.DGHYPERLINK
{
	/* Needed so our links can have a width */
	display: inline-block;
}
span.DGRADIOBUTTON, span.DGCHECKBOX
{
	/* Padding has to be added, or the checkbox/radiobutton will collapse too far */
	padding-bottom: 2px;
}

table.LoadingBar_MainTable
{
	border-collapse: separate !important;
}

input.DGTEXTBOX /* Actual input box */
{
	margin: 0px !important; /* Make sure the margin of the wrapped <input> is cleared */
}

input[type=text]::-ms-clear 
{
	/* Pseudo-selector for IE10 "X" clear button - unfortunately this doesn't work in IE8 compatibility mode */
    display: none;
}

/* ---------------- BEGIN: Common Styles for DGHorizontalSpin ------------------------------------------ */

.SpinNormal input[type=text], .SpinShort input[type=text], .SpinVeryShort input[type=text]
{
	margin-right:1px;
	margin-left:1px;
}

.SpinNormal input[type=text]
{
	width:94%!important;
}

.SpinShort input[type=text]
{
	width:92%!important;
}

.SpinVeryShort input[type=text]
{
	width:80%!important;
}

div.SpinNormal, div.SpinShort, div.SpinVeryShort
{
	padding-right:1px;
}

div.SpinLeft, div.SpinRight
{
	vertical-align:middle;
}

span.SpinIncrement
{
	margin-left:1px;
}

/* ---------------- END: Common Styles for DGHorizontalSpin ------------------------------------------ */