/* DEFAULT - DO NOT TOUCH THIS MAIN STRUCTURE */

a { text-decoration: none; color: black; }

/* Structure */

.mainTable {
	height: 100%;
	width: 100%;
	margin: 0px;
	padding: 0px;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
}

.content {
	width: 100%;
	height: 100%;
	/*overflow-y: auto;*/
}

.content table {
	/*width: 100%;*/
}
.content td, .content th {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	background-repeat: repeat-x;
	background-position: left top;
    /*
	border-top-width: 1px;
    */
	border-top-style: solid;
	border-top-color: #FFF;
	padding: 10px;
	text-align: left;
}
.content td {
	background-image: url(../images/windows/element-bk.png);
	padding-right: 17px;
	padding-left: 17px;
}
.content th {
	background-image: url(../images/windows/default/h2_bk.gif);
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	background-repeat: repeat-x;
	background-position: center center;
	text-transform: uppercase;
	margin: 0px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.preloader {
	text-align: center;
	width: 100%;
	padding-top: 10px;
}

.layoutTable, .layoutTable table 
{
	/*width: 100%;*/
	width: 0;
	margin: 0px;
	padding: 0px;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-collapse: collapse;
}

.layoutTable td, .layoutTable th, .layoutTable tr
{
	background: none;
	border: none;
}


/* Headers */

.WindowHeaderLeft {
	height: 35px;
	width: 25px;
	background-repeat: no-repeat;
	background-position: left top;
	cursor: move;
}
.WindowHeaderMid {
	background-repeat: repeat-x;
	text-align: left;
	vertical-align: middle;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	padding-top: 7px;
	cursor: move;
}

.WindowHeaderRight {
	border: none;
	width: 25px;
	background-repeat: no-repeat;
	background-position: right top;
	vertical-align: middle;
	padding-top: 6px;
}

/* Mid Content */

.WindowContentLeft
{
	width: 7px;
	background-repeat: repeat-y;
	background-position: left top;
}

.WindowContentMid
{
	vertical-align: top;
}

.WindowContentRight
{
	width: 7px;
	background-repeat: repeat-y;
	background-position: right top;
	cursor: e-resize;
}

/* Footer */

.WindowFooterLeft
{
	height: 35px;
	width: 25px;
	background-repeat: no-repeat;
	background-position: left top;
}

.WindowFooterMid
{
	height: 35px;
	background-repeat: repeat-x;
	cursor: s-resize;
}

.WindowFooterRight
{
	width: 35px;
	height: 35px;
	background-repeat: no-repeat;
	background-position: right top;
	cursor: se-resize;
}










/* COLOURED WINDOWS */

/* Default */

.Window_Default {
	position: absolute;
}

.Window_Default .WindowHeaderLeft {
	background-image: url(../images/windows/default/hd-left.png);
}

.Window_Default .WindowHeaderMid {
	background-image: url(../images/windows/default/hd-main.png);
}

.Window_Default .WindowHeaderRight {
	background-image: url(../images/windows/default/hd-right.png);
}

.Window_Default .WindowContentLeft {
	background-image: url(../images/windows/default/ct-left.png);
}

.Window_Default .WindowContentMid, .Window_Default .content, .Window_Default .content td {
	background-color: #bbbbbd;
}

.Window_Default .WindowContentRight {
	background-image: url(../images/windows/default/ct-right.png);
}

.Window_Default .WindowFooterLeft {
	background-image: url(../images/windows/default/ft-left.png);
}

.Window_Default .WindowFooterMid {
	background-image: url(../images/windows/default/ft-main.png);
}

.Window_Default .WindowFooterRight {
	background-image: url(../images/windows/default/ft-right.png);
}

.Window_Default .content td, .Window_Default .content th {
	border-bottom-color: #ababae;
}

.Window_Default .content .btn {
	background-color: #ababae;
}

.Window_Default .content h1 {
	background-image: url(../images/windows/default/h1_bk.gif);
	background-color: #007cc2;
	clear: both;
}
.Window_Default .content h2, .Window_Default .content th {
	background-image: url(../images/windows/default/h2_bk.gif);
	background-color: #767676;
}

/* Form & Type Elements */

.content h1
{
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	background-repeat: repeat-x;
	background-position: center center;
	text-transform: uppercase;
	margin: 0;
	border-top: 1px solid #FFF;
	padding-top: 10px;
	padding-right: 17px;
	padding-bottom: 10px;
	padding-left: 17px;
}
.content h2 {
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	background-repeat: repeat-x;
	background-position: center center;
	padding: 10px;
	text-transform: uppercase;
	margin: 0px;
	border-top: 1px solid #FFF;
}

.content label { padding-left: 10px; }

.content .btn, .selectBtn {
	padding: 5px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	margin: 10px;
	font-size: 10px;
	font-weight: bold;
	text-transform: uppercase;
	border: 1px solid #666;
}

.content .btn:hover {
	border: 1px solid #FFF;
	color: #FFF;
	background-color: #666;
}

.content td.warning {
	color: #FFF;
	font-weight: bold;
	background-color: #FF0000;
}

/* Tabs */

.tabs {
	margin: 0px;
	padding: 0px;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
}
.tabs td {
	margin: 0;
	padding: 0px;
}
.tabs input, .tabs .spare {
	background: url(../images/tabs_bg.png) 0 0 repeat-x #696969;
	color: white;
	width: 100%;
	font-weight: bold;
	cursor: pointer;
	border: none;
	text-transform: uppercase;
	text-align: left;
	text-indent: 17px;
	height: 40px;
	padding: 0;
	float: left;
	margin: 0;
}

.tabs input:hover, .tabs input:active { background: url(../images/tabs_bg.png) 0 0 repeat-x #0985cb; }

/* new tabs */

.newtabs {
	margin: 0px;
	padding: 0px;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	background: url(../images/tabs_bg.png) 0 0 repeat-x #696969;
    overflow: hidden;
    white-space: nowrap;
}
.newtabs div.button {
    display: inline-block;
}

.newtabs input {
    padding-left: 10px;
    padding-right: 10px;
	background: url(../images/tabs_bg.png) 0 0 repeat-x #696969;
	color: white;
	font-weight: bold;
	cursor: pointer;
	border: none;
	text-transform: uppercase;
	height: 40px;
	float: left;
}

.newtabs input:hover, .newtabs input:active { background: url(../images/tabs_bg.png) 0 0 repeat-x #0985cb; }


/* Toolbars */
.ToolBar{}

.ToolBar td
{
	padding: 3px;
}

.ToolBar .btn {
	padding: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	margin: 5px;
	font-size: 10px;
	font-weight: bold;
	/*text-transform: uppercase;*/
	border: 1px solid #666;
}

.ToolBar .btn:hover {
	border: 1px solid #FFF;
	color: #FFF;
	background-color: #666;
}


/* Panel elements */
#LabeLErrorClose {
	position: absolute;
	top: -13px;
	right: -15px;
	text-indent: -9999px;
	background-image: url(../images/close_button.png);
	background-position: center 0;
	width: 15px;
	height: 15px;
}
#LabeLErrorClose:hover { background-position: center -15px; }
#PanelDiallerDetails { min-height: 130px; }

#LabelSearch, #LabelSearchHelp { margin: 10px 10px 0; display: block; }
#LabelSearchHelp { margin: 10px 10px 10px; }

#formDiallerAnalysis input { margin: 0; }

#formReportSettings input.rangeValue {
    width: 40px;
    text-align: right;
}

#formReportSettings input.rangeDescription {
    width: 350px;
}

#formReportSettings input.rangeColour {
    width: 150px;
}
#formReportSettings input.rangeColourSwatch {
    width: 50px;
}
#formReportSettings #DropDownListRanges_NewColour option:checked {
    font-size: 15pt;
    background-color: rgba(1,0,0,0);
}

#formReportSettings #DropDownListRanges_NewColour option:hover {
    font-style:italic;
    text-decoration: underline;
    /*background: transparent;*/
    background-color: rgba(1,0,0,0);
    border: 4px solid red;
}


#DropDownListStatisticType { margin: 0 10px; }

.allocator span { display: block; margin: 10px 10px; }
.allocator .textbox { margin-left: 10px; }
.allocator h1 span { margin: 0; }
.Textbox-lrg { width: 300px; padding: 2px; }




.selections td:first-child { width: 25%; }
.selections td {
    background-image : none;
    padding : 0px 0px 0px 17px;
    padding-right : 0px;
    border : none;
}
.selections #DropDownListStatisticType { margin : 0px 0px 0px 0px; }
                
.selections td:first-child { width: 150px; }

.description td {
    background-image : none;
    padding : 0px 0px 0px 17px;
    padding-right : 0px;
    border : none;
}

.hidden { display: none; }

.lastKnownValue {
    opacity: 0.4;
}


.PEList {
	margin: 0px;
	padding: 0px;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
    overflow: hidden;
    white-space: nowrap;
    height: 42px;
    background-color:rgb(105, 105, 105);
	background: url(../images/tabs_bg.png) 0 0 repeat-x #696969;
	color: white;
    font-weight: bold;
    text-transform:uppercase;
    width:100%;
}

.PEList .PEList_Heading {
    margin-top: 14px;
    margin-left: 17px;
}


/*----------------------------- */
/* highlighting of licence rows */
/*----------------------------- */
    .Window_Default .content .licenceValid td, .licenceValid {
        background-color: rgb(202, 245, 95);
    }
    .Window_Default .content .licenceOverdue td, .licenceOverdue {
        background-color: #ffdede;
    }
    .Window_Default .content .licenceExpired td, .licenceExpired {
        background-color: red;
        color: white;
    }
    .Window_Default .content .licenceInvalid td, .licenceInvalid {
        color: red;
    }

    .Errors {
        border: solid 2px red;
        padding: 5px;
        color: red;
    }

    .Errors Span {
        display: block;
    }

    .Success {
        border: solid 2px teal;
        padding: 5px;
        color: teal;
    }

    .Success Span {
        display: block;
    }

    .editDisabled {
        pointer-events: none;
        /*
        opacity: 0.4;
        */
    }


    .Window_Default .uncDetails {
        margin-left: 200px;
        background-color: red;
    }
    .Window_Default .uncDetails td {
        border: none;
        background-image: none;
        padding: 5px;
        /* current grey background is
            background-color: hsl(240, 1%, 73%);
        */
        /* so make lighter */
        background-color: hsl(240, 1%, 83%);
    }
    .Window_Default .uncDetails td:nth-child(1) {
        padding-left: 386px;
        background-color: #bbbbbd;
    }

    .Window_Default .uncDetails .TextBox {
        width: 250px;
    }

    /* --------------------------------------------------------------------------------- 
        .peUncDetails are the same as .uncDetails except for the td:nth-child
       --------------------------------------------------------------------------------- */

   .Window_Default .peUncDetails {
        margin-left: 200px;
        background-color: red;
    }
    .Window_Default .peUncDetails td {
        border: none;
        background-image: none;
        padding: 5px;
        /* current grey background is
            background-color: hsl(240, 1%, 73%);
        */
        /* so make lighter */
        background-color: hsl(240, 1%, 83%);
    }
    .Window_Default .peUncDetails td:nth-child(1) {
        background-color: #bbbbbd;
    }

    .Window_Default .peUncDetails .TextBox {
        width: 250px;
    }



    .Warning {
        border: solid 2px orange;
        padding: 5px;
    }

    .Warning Span {
        display: block;
    }

input.numericValue {
    text-align: right;
}
