/****
 * PARECI CSS style
 *
 * This file contains CSS for use with a Pareci application.
 * The class names in this document are recommended suggestions. Class names can be specified using the 'class' property in any widget.
 *
 **** */

/***************************************/
/* Global background and font settings */
/***************************************/

html,
body
{
   background-color: #F2F4F5;
   font-family:      Arial, sans-serif;
   font-size:        13px;

   /* This is necessary to make sure the background will be visible through the entire viewport */
   width:            100%;
   height:           100%;
}

/*********************/
/* Application title */
/*********************/

.applicationTitle
{
   padding:          10px 10px 10px 10%;
   background-color: #fff;
   height:           50px;
   display:          block;
   font-size:        50px;
   color:            #000;
}

.applicationTitle a
{
   font-weight:      normal;
   color:            inherit;
   text-decoration:  inherit;

}

.applicationTitle a:hover
{
   text-decoration:  none;
}

/*************/
/* Main menu */
/*************/

.mainMenu.Widget_Stack_Horizontal
{
   background-color: #fff;
   border-bottom:    1px solid #C8CFD8;
   margin:           0;
   height:           2em;
   padding:          5px 0 5px 10%;
}

.mainMenu > .Widget_Stack_Row_Float > .Widget_Stack_Cell_Float_Single
{
   display: inline-block;
}

.mainMenu > .Widget_Stack_Row_Float > .Widget_Stack_Cell_Float > a,
.mainMenu > .Widget_Stack_Row_Float > .Widget_Stack_Cell_Float > .Widget_Menu > .Widget_Menu_Text,
.mainMenu > .Widget_Stack_Row_Float > .Widget_Stack_Cell_Float_Single > a,
.mainMenu > .Widget_Stack_Row_Float > .Widget_Stack_Cell_Float_Single > .Widget_Menu > .Widget_Menu_Text
{
   border-radius:    5px 5px 0 0;
   display:          block;
   height:           28px;
   line-height:      28px;
   font-weight:      bold;
   margin:           1px 5px;
   text-decoration:  none;
   padding:          0 10px;
   box-shadow:       0px 1px 0px #fff inset;
   color:            #5F6E7D;
   cursor:           pointer;
}

.mainMenu > .Widget_Stack_Row_Float > .Widget_Stack_Cell_Float > .Widget_Menu > .Widget_Menu_Text,
.mainMenu > .Widget_Stack_Row_Float > .Widget_Stack_Cell_Float_Single > .Widget_Menu > .Widget_Menu_Text
{
   height: 32px;
}

.mainMenu > .Widget_Stack_Row_Float > .Widget_Stack_Cell_Float > a:hover,
.mainMenu > .Widget_Stack_Row_Float > .Widget_Stack_Cell_Float > .Widget_Menu > .Widget_Menu_Text:hover,
.mainMenu > .Widget_Stack_Row_Float > .Widget_Stack_Cell_Float_Single > a:hover,
.mainMenu > .Widget_Stack_Row_Float > .Widget_Stack_Cell_Float_Single > .Widget_Menu > .Widget_Menu_Text:hover
{
   color: #8A98A6;
   text-decoration: none;
}

.mainMenu > .Widget_Stack_Row_Float > .Widget_Stack_Cell_Float > .Widget_Menu > .Widget_Menu_Children,
.mainMenu > .Widget_Stack_Row_Float > .Widget_Stack_Cell_Float_Single > .Widget_Menu > .Widget_Menu_Children
{
   margin-top: 20px;
}

.mainMenu a.Widget_LinkButton_Selected
{
   position:         relative;
   background-color: #F2F4F5;
   color:            #5F6E7D;
   border:           1px solid #C8CFD8;
   border-bottom:    1px solid #F2F4F5;
   padding:          0 9px;
   bottom:           -1px;
}

.mainMenu a.Widget_LinkButton_Selected:hover
{
   color: #5F6E7D;
}

/*************/
/* Main page */
/*************/
.mainPage
{
    width: 80%;
    margin: auto;
    padding: 10px;
    margin-top: 20px;
    border: 1px solid #afb7c0;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0px 0px 3px #b6bbc2;
}

.mainPage .title, .panelTitle
{
   color: #5F6E7D;
   display: block;
   font-weight: normal;
   text-shadow: 1px 1px white;
   top: 30px;
   margin-bottom: 10px;
   border-bottom: 1px solid #eee;
}

.mainPage .title
{
   font-size: 1.8em;
}

/*****************/
/* Page tool bar */
/*****************/
.mainPage .pageToolBar
{
   background-color:       #f5f5f5;
   margin:           -11px 0 10px;
   border-bottom:    1px solid #ccc;
   }

.mainPage .pageToolBar a
{
   font-weight:      normal;
   font-size:        14px;
   border-right:     1px solid #ccc;
   display:          block;

   color:            #5F6E7D;
   font-weight:      bold;
   font-size:        0.9em;
   text-shadow:      0 1px #fff;

   height:           1em;
   line-height:      1em;
   text-decoration:  none;

   padding:          6px 10px;
}

.mainPage .pageToolBar a:hover, .mainPage .pageToolBar a.Widget_LinkButton_Selected:hover
{
   color: #8A98A6;
}

.mainPage .pageToolBar a.Widget_LinkButton_Selected
{
  background-color:        #fff;
  text-shadow:       none;
}

/******************/
/* Button classes */
/******************/
.Widget_LinkButton.button,
.Widget_FileUpload_Button,
.Widget_Menu.button > .Widget_Menu_Text
{
   filter:     progid:DXImageTransform.Microsoft.gradient(startColorstr='#bbc4ce', endColorstr='#98a6b3');
   background: -webkit-gradient(linear, left top, left bottom, from(#bbc4ce), to(#98a6b3));
   background: -moz-linear-gradient(top left 270deg, #bbc4ce 0%, #98a6b3 100%);
   border: 1px solid #8292a3;
   border-radius: 4px;
   color: #ffffff;
   display: inline-block;
   font-weight: bold;
   font-size: 11px;
   margin: 3px;
   padding: 1px 3px;
   text-decoration: none;
   text-shadow: 1px 1px 1px #8292a3;
   box-shadow: inset 0 1px #d5dadf;
   text-align: center;
   min-width: 5em;
   height: 22px;
   line-height: 22px;
}

td .Widget_LinkButton.button,
td .Widget_FileUpload_Button,
td .Widget_Menu.button > .Widget_Menu_Text
{
   height: 16px;
   line-height: 16px;
   margin: 0 3px;
}

/***************/
/* Panel class */
/***************/
.panel
{
   display:          block;
   padding:          10px;
   margin:           5px;
   border:           1px solid #ccc;
   background-color: #f5f5f5;
   border-radius:    5px;

}

/* .panelTitle is in this style sheet implemented at .mainPage.title, since these are the same in this style. */
.panelTitle
{
   font-size: 1.2em;
}

/****************/
/* Text classes */
/****************/
.caption
{
   color: #999;
   display: block;
   font-size: 0.85em;
   font-style: italic;
   text-align: right;
}


/***********/
/* Widgets */
/***********/

/* All widgets that output anchor tags */

a
{
  color: #5F6E7D;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
}

a:hover
{
   text-decoration: underline;
}

/* All widgets that output input (and related) tags except select. Styling 'select' widgets has unexpected effects on Firefox. */
input,
textarea
{
   padding:          3px;
   border:           1px solid #ccc;
   border-radius:    0;
}

input[type=checkbox],
input[type=radio]
{
   width:            auto;
   border:           none;
   display:          inline;
}

/********************/
/* Widget_Accordion */
/********************/

.Widget_Accordion
{
   margin:           0 5px;
}

.Widget_Accordion_Caption
{
   border-radius:    0;
   background-image: none;
   background-color: #eeeeee;
   filter:           progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#dddddd');
   background:       -webkit-gradient(linear, left top, left bottom, from(#eee), to(#ddd));
   background:       -moz-linear-gradient(top,  #eee,  #ddd);
   border:           1px solid #CCCCCC;
   color:            #444444;
   display:          block;
   font-size:        .9em;
   font-weight:      bold;
   height:           auto;
   margin:           0;
   padding:          0.3em 0.9em 0 .6em;
   text-decoration:  none;
   text-shadow:      0 1px #FFFFFF;
}

.Widget_Accordion_Caption_Closed:hover
{
   background-color: #e9e9e9;
   filter:           progid:DXImageTransform.Microsoft.gradient(startColorstr='#f2f2f2', endColorstr='#e1e1e1');
   background:       -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#e1e1e1));
   background:       -moz-linear-gradient(top,  #f2f2f2,  #e1e1e1);
}

.Widget_Accordion_Caption_Opened,
.Widget_Accordion_Caption_Opened:hover
{
   background-color: #ededed;
   filter:           progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6', endColorstr='#e5e5e5');
   background:       -webkit-gradient(linear, left top, left bottom, from(#f6f6f6), to(#e5e5e5));
   background:       -moz-linear-gradient(top,  #f6f6f6,  #e5e5e5);
}

.Widget_Accordion_Icon
{
   display:          none;
}

.Widget_Accordion_Content
{
   padding:          0 10px;
   border:           0;
   box-shadow:       0 2px 5px rgba(0, 0, 0, 0.05);
   display:          block;
}

.Widget_Accordion_Content_Opened
{
   padding:          10px;
}
/***************/
/* Widget_Menu */
/***************/
.Widget_Menu.subMenu      > .Widget_Menu_Icon,
.Widget_Menu.subMenuBelow > .Widget_Menu_Icon
{
   background-image: url('../images/icons.png');
}

.Widget_Menu_Children
{
   background: #F5F5F5;
   border: 1px solid #AFB7C0;
   border-radius: 5px;
   box-shadow: 0px 0px 3px #b6bbc2;
}

.Widget_Menu_Children > .Widget_Menu_ChildWrapper > *,
.Widget_Menu_Children > .Widget_Menu_Items > .Widget_Menu_ChildWrapper > *
{
   padding: 3px 5px;
}

/* Add a border line between the menu items. */
.Widget_Menu_Children > .Widget_Menu_ChildWrapper,
.Widget_Menu_Children > .Widget_Menu_Items > .Widget_Menu_ChildWrapper
{
   border-bottom: 1px solid #ccc;
}

.Widget_Menu_Children > .Widget_Menu_ChildWrapper:last-child,
.Widget_Menu_Children > .Widget_Menu_Items:last-child > .Widget_Menu_ChildWrapper:last-child
{
   border: none;
}


.Widget_Menu_Children > .Widget_Menu_ChildWrapper:hover,
.Widget_Menu_Children > .Widget_Menu_Items > .Widget_Menu_ChildWrapper:hover
{
   background: rgba(128,128,128,0.1)
}

/****************/
/* Widget_Table */
/****************/

.Widget_Table
{
   border: none;
   width:             100%;
   margin-bottom:     4px;
}

.Widget_Table th,
.Widget_Table td
{
  border: none;
  padding:           2px 6px;
}

.Widget_Table td
{
   border-bottom:     1px solid #eeeeee;
}

.Widget_Table tr:hover td
{
   background-color: #eee;
   color: #5F6E7D;
}

.Widget_Table tr th {
   background-image: none;
   text-align: left;
   color: #000;
   background-color: #F5F5F5;
   border-bottom: 2px solid #333;
   padding: 3px 5px;
}
.Widget_Table td
{
  padding: 1px 5px;
  color: #333;
  border-bottom: 1px solid #eee;
  font-size: .9em
}

.Widget_Table_Row.odd > td
{
   background-color: #f4f4f4;
}

.Widget_Table caption
{
   background-color: #eee;
   font-weight: bold;
   padding: 3px;
}

.Widget_Table .Widget_Table_ControllerRow {
   background-image: none;
   background-color: #F5F5F5;
   color: #000;
   font-weight: bold;
   padding: 2px 10px;
   text-align: left;
}

/******************************/
/* Widget_PaginatorController */
/******************************/

.Widget_PaginatorController
{
   width:   148px;
}

.Widget_PaginatorController .Widget_PaginatorController_First,
.Widget_PaginatorController .Widget_PaginatorController_Previous,
.Widget_PaginatorController .Widget_PaginatorController_Next,
.Widget_PaginatorController .Widget_PaginatorController_Last
{
   background-image:url(lucy/ui-icons_5f6e7d_256x240.png);
   background-repeat: no-repeat;
   width: 16px;
   height: 16px;
   border: 1px solid #5f6e7d;
   border-radius: 5px;
   margin: 0 2px;
   cursor:pointer;
}

.Widget_PaginatorController .Widget_PaginatorController_First:hover,
.Widget_PaginatorController .Widget_PaginatorController_Previous:hover,
.Widget_PaginatorController .Widget_PaginatorController_Next:hover,
.Widget_PaginatorController .Widget_PaginatorController_Last:hover
{
   background-image:url(lucy/ui-icons_f5f5f5_256x240.png);
   background-color: #5f6e7d;
}

.Widget_PaginatorController .Widget_PaginatorController_Info
{
   width: 60px;
}

.Widget_PaginatorController .Widget_PaginatorController_First
{
   background-position: -240px -48px;
}

.Widget_PaginatorController .Widget_PaginatorController_Previous
{
   background-position: -96px -49px;
}

.Widget_PaginatorController .Widget_PaginatorController_Next
{
   background-position: -32px -49px;
}

.Widget_PaginatorController .Widget_PaginatorController_Last
{
   background-position: -208px -48px;
}

/*********************/
/* Widget_FormLayout */
/*********************/
.Widget_FormLayout fieldset
{
   border: none;
   padding: 0;
}

.Widget_FormLayout.panel .Widget_FormLayout_Row
{
   border-bottom: 1px solid #eeeeee;
   border-collapse: collapse;
   min-height: 2em;
}

.Widget_FormLayout fieldset input,
.Widget_FormLayout fieldset select,
.Widget_FormLayout fieldset textarea,
.Widget_FormLayout fieldset span,
.Widget_FormLayout fieldset a,
.Widget_FormLayout fieldset a.Widget_LinkButton.button,
.Widget_FormLayout fieldset .Widget_FileUpload_Button
{
   margin:           5px 0;
}

.Widget_FormLayout fieldset input[type=checkbox],
.Widget_FormLayout fieldset input[type=radio]
{
   display:          inline;
   width:            auto;
   margin-top:       9px;
}

.Widget_FormLayout label.disabled
{
   opacity: .45;
}

/*************************/
/* Widget_HintingDropDown*/
/*************************/

.ui-widget-content
{
   color:            inherit;
   display:          block;
   padding:          4px 0;
   margin:           5px;
   border:           1px solid #ccc;
   border-radius:    0 0 5px 5px;
   background:       #FFFFFF;
}

.ui-widget
{
   font-size:        inherit;
}

.ui-menu .ui-menu-item a
{
   padding:          0 4px;
   font-weight:      inherit;
   color:            #000;
}

.ui-menu .ui-menu-item a.ui-state-hover
{
   background-color: #c6e7f7;
   border:           0;
   color:            #333;
   margin:           0;
   border-radius:    0;
}

/***********************/
/* Widget_ColourPicker */
/***********************/

#mColorPicker
{
   padding:          10px;
   border-radius:    5px;
   background-color: #e6edf0;
   filter:           progid:DXImageTransform.Microsoft.gradient(startColorstr='#edf4f6', endColorstr='#e0e7eb');
   background:       -moz-linear-gradient(rgba(233,241,244,0.8), rgba(216,225,230,0.8)) repeat scroll 0 0 transparent;
   background:       -webkit-gradient(linear, left top, left bottom, from(rgba(233,241,244,0.6)), to(rgba(202,220,229,0.6)));
   box-shadow:       0 2px 5px rgba(0, 0, 0, 0.05);
}

#mColorPickerWrapper
{
   border-radius:    5px;
}

#mColorPickerImg
{
   border-radius:    5px 5px 0 0;
}

#mColorPickerFooter
{
   background:       rgba(0,0,0,0.1);
   border-radius:    0 0 5px 5px;
}

.mColorPickerTrigger.mColorPickerHidden
{
   border: 1px solid #ccc;
}

/* Validation of the ColourPicker */
.Widget_ColourPicker.ValidatorErrorInput
{
   border: none;
   background: none;
}

.Widget_ColourPicker.ValidatorErrorInput .mColorPickerTrigger
{
   border:           1px solid red;
}

/**************/
/* Validators */
/**************/

.ValidatorErrorMessage
{
   color:            #f00;
   padding:          0 5px;
}

.Widget_FormLayout .ValidatorErrorMessage_before,
.Widget_FormLayout .ValidatorErrorMessage_after
{
   clear:            left;
   margin-left:      46%;
}

.ValidatorErrorInput
{
   background-color: #fdd;
   background-image: none;
   border:           1px solid red;
}

/****************/
/* Popup window */
/****************/

.ui-dialog
{
   border:           1px solid #AECCD7;
   padding-top:      0;
   border-radius:    8px 8px;
}

.ui-dialog-titlebar
{
   background-color: #dee9ec;
   filter:           progid:DXImageTransform.Microsoft.gradient(startColorstr='#E9F1F4', endColorstr='#D4E2E5');
   background:       -moz-linear-gradient(#E9F1F4 0%, #D4E2E5 60%);
   background:       -webkit-linear-gradient(#E9F1F4 0%, #D4E2E5 60%);
   border:           1px solid #AECCD7;
   border-radius:    8px 8px 0 0;
   margin:           -1px -1px 0px;
}

.ui-dialog-title
{
   font-weight:      bold;
   text-shadow:      0 1px #ddd;
   color:            #555;
}

/* Error popup gets a special colour scheme */
.pareciErrorDialog .ui-dialog-titlebar
{
   background-color: #BC4136;
   filter:           progid:DXImageTransform.Microsoft.gradient(startColorstr='#D45149', endColorstr='#A53224');
   background:       -moz-linear-gradient(#D45149 0%, #A53224 60%);
   background:       -webkit-linear-gradient(#D45149 0%, #A53224 60%);

}

.pareciErrorDialog  .ui-dialog-titlebar .ui-dialog-title
{
   color:            #FFFFFF;
   text-shadow:      none;
}