/*
  Temporary Styles
*/
body { font: 13px/1.23 "verdana", "arial", "helvetica", "clean", sans-serif; }

label, select { display:block; }
fieldset { padding:0; border:0; margin-top:25px; }

h1 { 
  font-size: 1.5em; 
  margin: .6em 0; 
  font-weight: normal;
  border-top: 1px solid #DEEDF8;
  padding-top: 1.5em;
}

p { margin: 0 0 1em 0; }

h2, h3 { color: #e47911; font-size: 1.5em; margin-bottom: 0.5em; margin-top: 1em; font-weight: normal; }

h3 { font-size: 1.2em;  color: #1c408b; }

a, a:visited, a:active { color: #0036ae; text-decoration: none; }

body {
  min-width: 960px;
  margin: 2em auto 0 auto;
  width: 64%;
}

.footer { 
  border-top: 1px solid #ddd;
  text-align: center;
  padding: 2.4em 0; 
  font-size: 0.8em;  
  margin-top: 3.6em;
  color: gray;
}             


#header p { margin-bottom: 0.5em; } 

/* HIDE INITIALLY */
.stmt-show, /* CSS class to represent elements to be shown when one or more statements are added */
#gen-policy-btn,
#conditions,
#conditions-table,
#policy-text { display: none; }  

#statement-form form { margin-bottom: 4em;}

#add_stmt, #gen-policy-btn, #stmd_add_condition, .ui-dialog-buttonset button { 
  display: inline; 
  margin: 1em 0; 
  padding: 0.5em 1em; 
  border: 2px solid #1c408b; 
  font-weight: bold;
  color: #1c408b;
  text-decoration: none; 
  border-radius: 0.5em;   
  background-color: #ffe284;
  background-image: -moz-linear-gradient(top, #ffe284, #e0a800); 
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #ffe284),color-stop(1, #e0a800)); 
  filter:  progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffe284', EndColorStr='#e0a800'); 
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffe284', EndColorStr='#e0a800')"; 
}

input[type="text"] { margin-bottom: 0.7em;  }

.form-item { overflow: hidden; margin: 0 0 1em 0;}
.form-item > label { width: 250px; float: left; margin: 0 1em 0.5em 0; text-align: right; font-weight: bold;}
select { margin-bottom: 0.5em; padding: 0.15em 0 0 0;}
option { padding: 0.2em; }
.radio { margin: 0 2em 0.5em 0; display: inline-block; }
#add_stmt, .button-bar, #stmd_add_condition { display: block; margin: 0 0 0 260px; }
#add_stmt[disabled] { background: #ddd; border-color: #ccc; color: #999; }
#stmt_service, #stmt_actions { display: inline-block; min-width: 150px; }
label.checkbox { float: none; display: inline-block;  width: auto; font-weight: normal; margin-left: 1em; }
.ui-multiselect-checkboxes input[type="checkbox"] { margin-right: 0.5em; }

.error { display: inline; margin-left: 1em; }
#add_stmt, #stmd_add_condition { display: inline-block; }
.error { color: red; }
.delete-stmt, .delete-cond { font-size: 0.7em; margin: 0 0 0 1em; color: white; background: red; border-radius: 20em; -moz-border-radius: 20em; padding: 0.25em 0.5em; visibility: hidden; cursor: pointer; }

.note {
color:gray;
font-size:0.8em;
margin:0 0 0 265px;
white-space: nowrap;
}

.toggleConditions { display: inline-block; margin: 0 0 1em 260px; clear: both; }
.conditions-form { background: #DEEDF8; border-radius: 1em; padding: 1em 1em 1em 0; margin: 0 0 0.25em 0; }
#stmd_add_condition { border-width: 1px; padding: 0.25em 0.5em; }
#conditions { font-size: 0.9em; margin-bottom: 2em; }
#conditions div.form-item { margin-bottom: 0.5em; }
#conditions-table { margin: 0.5em 0 2em 0; }
#conditions-table li { min-height: 2em; }
#conditions-table th:first-child { width: 230px; }
#start-over { margin-left: 1em; font-weight: bold; }
.delete-cond { padding: 0.15em 0.4em; }
.hideConditionsForm { float: right; font-size: 0.9em; margin-right: 1em; }
.table { width: 100%; margin: 2em 0 0 0; }
.table .effect { width: 100px;}
.table th, .table td {  text-align: left; }
.table th { background: #faf8d6; border: 1px solid #eeeecc; border-width: 1px 0; padding: 0.5em 1em; }
.table td { padding: 0.5em 1em; border-bottom: 1px dashed #cccc99; }  
.table tr:hover td {background: #deedf8; }
.table .delete-stmt { display: inline-block; visibility: hidden;}
.table tr:hover .delete-stmt, .table li:hover .delete-cond { display: inline-block; visibility: visible; } 

#gen-policy-btn { font-size: 1.2em; }

#empty-statement-msg {
  color: #AD0000;
}

#policy-text {
  background: #fff;
}

#policy-textarea {
  border: 1px solid #ccc;
  background: #fff;
}

.ui-dialog-buttonset {
  text-align: center;
}

.ui-dialog-buttonpane {  background: #ffffff; }