﻿/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
body {
	background-color: SaddleBrown;
	font-size: 10pt;
	font-family: Calibri, sans-serif;
	line-height: 120%;
	margin: 0;
	padding: 0;
	color: #222;
}

img {
	border: 0px;
}

table {
	border-collapse: collapse;
}


/* HEADINGS 
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
	font-family: Calibri, sans-serif;
	font-size: 12pt;
	color: Black;
}

h1 {
	font-size: 18pt;
	padding: 0;
	margin: 0;
}

h2 {
	padding: 0px;
	font-size: 14pt;
	font-weight: normal;
	margin: 4px 0px 12px 0px;
	color: #555;
}

#header H1 {
	color: #FFF;
	margin: 5px 15px;
	line-height: normal;
}

/* PRIMARY LAYOUT ELEMENTS 
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */


#page {
	margin: 15px;
	padding: 10px;
	background-color: #F8F8F8;
	border-radius: 10px;
	min-height: 450px;
	box-shadow: 8px 8px 3px #111133;
}

#page.WithSidebar {
	margin-right: 240px; /* i.e., equal to the width + border of ui-sidebar */
}

#pagecontent {
    bottom: 0;
    left: 180px;
    min-width: 720px;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 55px;
    background-color: #F8F8F8;
    min-height: 450px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 8px 8px 3px #111133;
    margin-right: 10px;
}

#header.content {
    position: absolute;
    left: 180px;
    width: calc(100% - 180px);
}

#page h1 {
	border-bottom: 1px solid #C0C0C0;
	margin-bottom: 10px;
	padding: 0 0 14px 0;
}

.Right {
	text-align: right;
}

#pagecontent ul {
    list-style-type: none;
}
.menu, .logoffmenu {
    margin: 0;
    padding: 0px 10px;
    list-style: none;
    line-height: 20px;
    float:left;
    margin: 5px 15px;
    background-color: #F8F8F8; 
    box-shadow: 5px 6px 3px #111133;
}
.menu li a, .logoffmenu li a {
    color: #555555;
    line-height: normal;
    text-decoration: none;
    font-size: 18pt;
}
.logoffmenu {
    float:right;
}
#page-container #header h1 {
    display: inline-block;
}

/* Sidebar
----------------------------------------------------------*/
#ui-sidebar {
	float: right;
	width: 200px;
	line-height: 120%;
	font-family: Calibri, sans-serif;
	margin: 15px 15px 0px 0px;
}

#ui-sidebar .ui-sidebar-head {
	font-size: 12pt;
	font-weight: bold;
	border-bottom: 1px solid #CCF;
	color: #222;
	padding: 8px 10px;
	background-color: rgb(192, 192, 200);
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
	text-align: center;
}

#ui-sidebar .ui-sidebar-content {
	min-height: 275px;
	background-color: #F0F0FF;
	font-size: 10pt;
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
	padding: 8px;
}

#ui-sidebar p {
	color: #226;
	margin: 2px 10px 1em 10px;
}

.sidebar {
    bottom: 0;
    left: 0;
    overflow: auto;
    position: absolute;
    top: 55px;
    width: 180px;
}

.sidebar UL {
    list-style-type:none;
    margin:0px;
    padding:0px;
}

.sidebar LI {
    margin: 0px;
    padding: 0px 10px;
    line-height: 142%;
}

.sidebar LI SPAN {
    margin-left:10px;
}

.sidebar LI A {
    margin-left:5px;
}

.sidebar SELECT {
    width: 100%;  
    margin: 10px 0px;
}

.sidebar a {
    line-height:34px;
    height:40px;
    text-decoration:none;
    display:block;
    line-height:40px;
    font-size:14px;
    color: #FFFFFF;
}
.sidebar label {
    font-size:14px;
    color: #FFFFFF;
}
.sidebar a:hover {
    color:#9B9B9B;
}

.sidebar hr {
    border:none;
    border-bottom:1px solid #FFFFFF;
    border-top:1px solid #FFFFFF;
    display:block;
    padding:0px;
    line-height:16px;
    margin:10px 0px;
}

.sidebar .isDisabled input, .sidebar .isDisabled label {
    vertical-align: middle; 
}

.sidebar-title {
    line-height: 34px;
    height: 36px;
    font-size: 125%;
    margin-right: 20px;
    color: #4e8ebe;
    font-weight: normal;
}

.sidebar-search {
    border:1px solid #666666;
    padding:3px;
    background-color:#FFFFFF;
    margin:10px 0px;
}

.sidebar-search INPUT[type="text"] {
    border:none;
}

.sidebar-btn-add {
    background-image:url(../images/btns.png);
    background-repeat:no-repeat;
    padding-left:24px;
    background-position-y:-42px;
}

.sidebar-btn-refresh {
    background-image:url(../images/btns.png);
    background-repeat:no-repeat;
    padding-left:24px;
    background-position-y:0px;
}

.sidebar-btn-edit {
    background-image:url(../images/btns.png);
    background-repeat:no-repeat;
    padding-left:24px;
    background-position-y:-25px;
}

.sidebar-btn-trash {
    background-image:url(../images/btns.png);
    background-repeat:no-repeat;
    padding-left:24px;
    background-position-y:-90px;
}

.ui-datagrid th, .ui-datagrid td {
    text-align: left;
    border-bottom: 1px solid #E0E0E0;
    padding: 2px 16px 2px 0;
}

.ui-datagrid th {
    white-space: nowrap;
}

#pagecontent .ui-datagrid th {
    background-color: #E9E9E9;
}

.ui-datagrid td {
    cursor: pointer;
}

.ui-datagrid TR.selected TD {
    background-color: #C0FFC0;
}

.ui-datagrid-selcol {
    width: 15px;
}
.ui-datagrid-seqcol {
    width: 15px;
}

.ui-datagrid A {
    text-decoration: none;
    color:#3333E0;
}
.ui-datagrid A:hover {
    text-decoration: underline;
}

ul.formList {
    margin: 0;
    padding: 0px 10px;
    list-style: none;
    line-height: 20px;
    float:left;
}

ul.formList li {
    margin: 0px 0 8px 0;
    padding: 0px 0 0 0;
}

ul.formList .form-label {
    float: left;
    width: 140px;
}

ul.formList INPUT.form-field {
    width: 250px;
}
ul.formList SELECT.form-field {
    width: 255px;
}

ul.formList INPUT[type="checkbox"].form-field {
   width:auto;
}

ul.formList TEXTAREA.form-field {
    width:250px;
    height:100px;
}

.ui-dialog-content .ui-dialog-detail {
    bottom: 10px;
    left: 10px;
    position: absolute;
    right: 10px;
    top: 10px;
}

.ui-datagrid {
    margin: 0;
    padding: 0;
    width: 100%;
}


.cmdbar {
    background-color: #E9E9E9;
    box-shadow: 0 0 5px #9C9C9C;
    font-size: 10px;
    height: 24px;
    margin: 0;
    padding: 3px 5px;
    position: relative;
}

.cmdbar LI {
    display: inline-block;
    margin: 0;
    padding: 0;
}
*+html .cmdbar UL LI {
    display: inline;
}

.cmdbar BUTTON {
        line-height:22px;
        height:24px;
        border:1px solid #999999;
        border-radius:4px;
        background-color:rgb(128, 148, 178);
        color:#F9F9F9;
        font-size:10px;
}

.cmdbar INPUT, .cmdbar SELECT {
        font-size:10px;
}

.cmdbar BUTTON I {
}

.with-cmdbar {
    top: 70px;
}
.without-cmdbar {
    top: 0px;
}

.content-area {
    bottom: 0;
    left: 0;
    overflow: auto;
    padding: 15px;
    position: absolute;
    right: 0;
}

#errorMsg {
    padding:5px 5px;
    background-color: rgb(239, 241, 209);
    border-left: 1px solid rgb(98,99,49);
    border-right: 1px solid rgb(98,99,49);
    border-bottom: 1px solid rgb(98,99,49);
    color: rgb(98,99,49);
    display:none;
    z-index:4000;
    position:absolute;
    left:10px;right:10px;top:0px;
}

.validation-summary {
	padding: 8px;
	color: #903030;
}

.validation-summary > span {
	font-size: 11pt;
	font-weight: bold;
	color: #903030;
	background-image: url(../Images/icon_error.gif);
	background-repeat: no-repeat;
	padding-left: 22px;
	height: 22px;
	display: block;
}

.validation-summary ul {
	margin: 0px;
	padding-left: 24px;
}

.validation-summary ul li {
	margin: 6px 0;
	line-height: 100%;
}
#editDlg { background-color: #FFFFFF;}
*+html #pagecontent .content-area{ overflow-x: hidden;}
.field-validation-error {
    color: #FF0000;
}

#editDlg ul.formList .field-validation-error{ font-size: 10px;margin-left: 140px;display: inline-block;}
.ui-button:focus{ outline: 0 none;}
li.context-menu-item{ padding: 2px 12px;}

#editDlg TEXTAREA.form-field{ height: auto;}

#attrList #noAttr{ display:inline-block;padding-left: 10px;}
.red { color: red;}

.sidebar-search #searchBox { width: 150px;}


#security ul {
    margin: 0;
    padding: 10px 10px;
    list-style: none;
    line-height: 20px;
    float:left;
}
#security .form-label {
    float:left;
    width:140px;
}

#search {
    margin: 5px 15px;
    background-color: #F8F8F8;
    box-shadow: 5px 6px 3px #111133;
    text-align: center;
    color: #555555;
    font-size: 18pt;
    line-height: normal;
    height: auto;
}

#search:hover {
    color: #9B9B9B;
}

#search span {
    margin: 0;
}

#shopperHistoryTab table th { text-align: center; padding: 0 5px; }
#shopperHistoryTab table td { padding-right: 5px; text-align: center; }
#shopperHistoryTab .cc-events-table-wrapper {
    max-height: 130px;
    overflow: auto;
}
#deleteShopperBtn {
    position: absolute;
    left: 15px;
    background: #fc2700;
    color: #fff;
    border: 3px solid black;
}
