BODY {
	FONT-FAMILY: "Trebuchet MS", Arial, Helvetica, sans-serif;
    FONT-SIZE: 12px
}
INPUT {
	FONT-FAMILY: "Trebuchet MS", Arial, Helvetica, sans-serif;
    HEIGHT: 28px
}
TEXTAREA {
	FONT-FAMILY: "Trebuchet MS", Arial, Helvetica, sans-serif;
    HEIGHT: 28px
}
LABEL {
	DISPLAY: block;
    COLOR: #4d4d4d;
    FONT-WEIGHT: bold
}
TEXTAREA.TemplateEdit {
	WIDTH: 700px;
    HEIGHT: 500px;
    MARGIN-LEFT: 10px
}
TABLE.Table {
	BORDER-BOTTOM: #808080 1px solid;
    BORDER-LEFT: #808080 1px solid;
    BORDER-TOP: #808080 1px solid;
    BORDER-RIGHT: #808080 1px solid
}
TR.TrHeader {
	BACKGROUND-IMAGE: url(../Images/BGTRHeader.png);
    BACKGROUND-POSITION: 50% top;
    HEIGHT: 50px;
    COLOR: #ffffff;
    FONT-WEIGHT: bold
}
TR.TrHeader TD {
	PADDING-BOTTOM: 0;
    MARGIN: 0;
    PADDING-LEFT: 0;
    PADDING-RIGHT: 0;
    PADDING-TOP: 0;
}
TR.TrHeader2 {
	BACKGROUND-COLOR: #333333;
    COLOR: #ffffff;
    FONT-WEIGHT: bold
}
SPAN.LabelLarge {
	FONT-SIZE: 18px;
	PADDING-LEFT: 10PX;
}
SPAN.Error {
	COLOR: #f00f00;
    FONT-WEIGHT: bold
}
SPAN.Success {
    COLOR: green;
    FONT-WEIGHT: bold;
    FONT-SIZE: 16px;
}
INPUT.TextInputLarge, SELECT.InputLarge {
    PADDING-BOTTOM: 5px;
    PADDING-LEFT: 5px;
    WIDTH: 300px;
    PADDING-RIGHT: 5px;
    FONT-SIZE: 18px;
    PADDING-TOP: 5px
}

SELECT.InputLarge {
    /*For some reason the text fields width is 314px instead of 300px and that was not beeing applied to the SELECT, so overriding it here. */
    WIDTH: 314px !important;
}

INPUT.MainWidth {
	WIDTH: 695px !important
}
INPUT.ButtonLarge {
	BORDER-BOTTOM-STYLE: none;
    PADDING-BOTTOM: 30px;
    BORDER-LEFT-STYLE: none;
    PADDING-LEFT: 40px;
    PADDING-RIGHT: 40px;
    BORDER-TOP-STYLE: none;
    BORDER-RIGHT-STYLE: none;
    FONT-SIZE: 18px;
    FONT-WEIGHT: bold;
    PADDING-TOP: 10px
}
INPUT.ButtonAction {
    BACKGROUND-IMAGE: url(../Images/BGButtonAction.png);
    BACKGROUND-POSITION: center bottom;
    color:#FFFFFF;
}
INPUT.ButtonGreen {
	BACKGROUND-IMAGE: url(../Images/BGButtonGreen.png);
    BORDER-BOTTOM: #006837 2px solid;
    BORDER-LEFT: #006837 2px solid;
    WIDTH: 70px;
    BACKGROUND-POSITION: center 50%;
    COLOR: #ffffff;
    BORDER-TOP: #006837 2px solid;
    FONT-WEIGHT: bold;
    BORDER-RIGHT: #006837 2px solid
}
INPUT.ButtonGrey {
	BORDER-BOTTOM: #cccccc 2px solid;
    BORDER-LEFT: #cccccc 2px solid;
    BACKGROUND-COLOR: #f2f2f2;
    WIDTH: 50px;
    HEIGHT: 20px;
    COLOR: #4d4d4d;
    FONT-SIZE: 10px;
    BORDER-TOP: #cccccc 2px solid;
    FONT-WEIGHT: bold;
    BORDER-RIGHT: #cccccc 2px solid
}

UL.Tabs {
    padding: 0;
    LIST-STYLE-TYPE: none;
    MARGIN: 0 0 0 10px;
    DISPLAY: block;
}

LI.TabItem {
	float:left;
	list-style:none;
}
LI.TabItem A {
	display:block;
	BACKGROUND-IMAGE: url(../Images/BGTabDown.png);
	TEXT-ALIGN: center;
	MARGIN-TOP: 25px;
	WIDTH: 100px;
	FLOAT: left;
	HEIGHT: 22px;
	COLOR: #ffffff;
	BORDER-TOP: #4d4d4d 3px solid;
	TEXT-DECORATION: none;
	PADDING-TOP: 5px
}
LI.TabItem A.Selected {
	BACKGROUND-IMAGE: url(../Images/BGTabSelect.png);
	BORDER-BOTTOM-COLOR: #f7931e !important;
	MARGIN-TOP: 15px !important;
	BORDER-TOP-COLOR: #f7931e !important;
	HEIGHT: 32px !important;
	BORDER-RIGHT-COLOR: #f7931e !important;
	BORDER-LEFT-COLOR: #f7931e !important
}
DIV.SubHeader {
    padding: 10px;
    BACKGROUND-COLOR: #333333;
    COLOR: #ffffff;
    height: 28px;
}
DIV.MainHeader {
    padding: 10px;
    COLOR: #ffffff;
	BACKGROUND-COLOR: #808080;
    /*
    MARGIN-BOTTOM: 10px;
    WIDTH: 720px;
    MARGIN-LEFT: -20px
    */
}
div.MainContent {
    padding: 10px;
}
A.TemplateItem {
	BACKGROUND-IMAGE: url(../Images/IconTemplate.png);
    PADDING-BOTTOM: 5px;
    PADDING-LEFT: 30px;
    PADDING-RIGHT: 5px;
    DISPLAY: block;
    BACKGROUND-REPEAT: no-repeat;
    BACKGROUND-POSITION: 2px 50%;
    COLOR: #000000;
    TEXT-DECORATION: none;
    PADDING-TOP: 5px
}
A.TemplateSelect {
	BACKGROUND-COLOR: #cccccc
}

 /* jqModal */
.jqmWindow {
    display:none;
    position:fixed;
    top: 17%;
    left: 50%;
    margin-left:-300px;
    width: 570px;
    background-color:#eee;
    color:#333;
    border:1px solid black;
    padding:0 20px 20px;
}
.jqmOverlay {
    background-color: #000;
}

/* jqModal logout alert */
div.jqmAlert {
    display:none;
    position:fixed;
    top:30%;
    width:100%;
    left: 0;
}
div.jqmAlertWindow {
    height:auto;
    width:auto;
    max-width:400px;
    border:1px solid #fff;
    margin:auto;
    padding:0 10px 10px;
    background-color:#111;
}
div.jqmAlertWindow a {
    background-color:#111;
    color:#fff;
    margin-right:10px;
    padding:6px 12px;
    text-decoration:none;
    border:solid 1px #fff;
}
div.jqmAlertWindow a:hover {
    background-color:#fff;
    color:#111;
}
.jqmAlertTitle {
    color:#fff;
    margin:16px 6px 6px 24px;
    overflow:auto;
}
.jqmAlertTitle h3 {
    color:#fff;
    float:left;
}
div.jqmAlert .logoutX em {
    display:none;
}
div.jqmAlert .logoutX {
    width:20px;
    height:20px;
    display:block;
    float:right;
    clear:right;
    background:transparent url(../../Includes/Images/close_icon_double.png) 0 0 no-repeat;
}
div.jqmAlert a.logoutX {
    border:none;
    margin-right:0;
    padding:0;
}
div.jqmAlert a.logoutX:hover,
div.jqmAlert a.jqmCloseHover {
    background-position:0 -20px;
}
div.jqmAlertContent {
    border-top:1px;
    color:#fff;
    margin:5px;
    padding:5px 20px 0;
}
#logoutAlert #initialTimerCount,
#logoutAlert #finalTimerCount {
    display:none;
}
.treeview {
    margin: 0;
    padding: 0;
}
.treeview a {
    text-decoration: none;
}
.treeview a:hover {
    text-decoration: underline;
}
.treeview li.submenu ul {
    padding-top: 5px;
}
.defaultPageTitle,
.customPageTitle {
    padding-top: 10px;
    padding-left: 10px;
    font-weight: bold;
    font-size: 14px;
    border-top: 1px solid #FFF;
}

.defaultPageNav,
.customPageNav
{
    padding: 5px 10px 10px 10px;
    border-bottom: 1px solid #CCC;
}

.pageLink {
    color: #000;
}
.pageLink.private {
    color: #F00;
}
.pageLink.disabled {
    text-decoration: line-through;
}

.formBox {
    border: 1px solid #999;
    margin-bottom: 10px;
    padding-bottom: 10px;
}
.formBox .title {
    background-color: #333;
    color: #FFF;
    padding: 5px 10px;
}
.formBox .field {
}
.formBox .label, .pageEditorBox .label {
    display: block;
    clear: both;
    float: left;
    width: 100px;
    color: #666;
    font-weight: bold;
    margin-top: 10px;
    margin-left: 10px;
}
.formBox .input, .pageEditorBox .input {
    display: block;
    float: left;
    width: 590px; /*450px;*/
    margin-top: 10px;
    margin-left: 10px;
}
.formBox select {
    box-sizing:border-box;
    -ms-box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box; 
    
    margin: 0;
    padding: 0;
    width: 250px;
    float: left;
}
.formBox input {
    box-sizing:border-box;
    -ms-box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box; 

    height: auto;
}
.formBox input[type=text] {
    margin: 0;
    padding: 0;
    width: 250px;
}
.formBox input[type=button] {
    margin: 0 10px;
    padding: 0;
    float: left;
    width: 50px;
    height: 20px;
    color: #4D4D4D;
    font-size: 10px;
    font-weight: bold;
    border: 2px solid #CCC;
    background-color: #F2F2F2;
    cursor: pointer;
}
.formBox input[type=button]:hover {
    color: #333333;
    border-color: #999999;
    background-color: #cccccc;
}
.clear {
    clear: both;
    overflow: hidden;
    height: 0;
}

.headerRow {
    background-color: #808080;
    height: 25px;
    padding: 10px 10px;
}
.headerRow .saveButton {
    float: left;
}
.headerRow .closeButton {
    float: right;
    margin-top: 3px;
}
.content {
    overflow: auto;
    border: 1px solid #CCC;
    margin: 5px 0 0 5px;
    padding: 5px;
    resize: none;
}
.content:disabled {
    background-color: #FFF;
    color: #000;
}
.contentRow {
    margin-left: 5px;
    margin-top: 5px;
}
.footerRow {
    height: 40px;
    overflow: hidden;
    padding: 10px 5px;
}
.footerRow .controlBox {
    float: left;
    width: 230px;
}
.footerRow .controlBox input {
    padding: 0 5px;
    margin: 0;
    height: 22px;
}

.mceLayout {
    margin: 5px 0 0 5px;
}

.saveBtnPanel {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 73px;
    display: flex;
    flex-direction: row-reverse;
}

.infoBox {
    border: 1px solid black;
    border-radius: 5px;
    padding: 10px;
    font-size: 14px;
    background-color: lightcyan;
    display: inline-block;
}