* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          
   box-sizing: border-box; 
}

body {
    font: normal 13px/100% Verdana, Tahoma, sans-serif;  
    background: #fff; 
}

#loginPanel {
    overflow: hidden; 
    width: 100%; 
    height: 4em;
    padding: 0px;
    margin: 0px auto;
}

.login_header {
    overflow: hidden; 
    text-align: right; 
    width: 90%; 
    padding: 0px 10px;
    margin: 0px auto;
    max-width: 800px;
}

.page_header {
    overflow: hidden; 
    border: 1px solid #C9C9C9; 
    -webkit-border-radius: 3px; 
    -moz-border-radius: 3px; 
    border-radius: 3px; 
    text-align: left; 
    width: 90%; 
    padding: 20px;
    margin: 10px auto;
    max-width: 800px;
}

.page_footer {
    color: gray;
    text-align: left; 
    width: 90%; 
    padding: 0px 20px;
    margin: 10px auto;
    max-width: 800px;
}

.article {
    overflow: hidden; 
    border: 1px solid #C9C9C9; 
    -webkit-border-radius: 3px; 
    -moz-border-radius: 3px; 
    border-radius: 3px; 
    text-align: left; 
    width: 90%; 
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
}

.maskoverlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,0.3);
    z-index: 10;
    display: none;
}

.userlogin {
    background: #f8f8f8; 
    /* background-color: rgba(0,0,0,0.5); */
    overflow: hidden; 
    width: 600px;
    height: 260px;
    position: fixed;
    top: 50%; 
    left: 50%;
    margin-left: -300px;
    margin-top: -150px;
    padding: 20px;
    border: 1px solid #C9C9C9; 
    -webkit-border-radius: 10px; 
    -moz-border-radius: 10px; 
    border-radius: 10px;
    text-align: left;
    z-index: 11; /* 1px higher than the overlay layer */
}

.userlogin div {
    column-count: 1;
    -moz-column-count: 1;
    -webkit-column-count: 1;
    margin: 1em auto;
    width: 350px;
    text-align: center;
    vertical-align: middle;
}

.userlogin label {
    float:left;
    vertical-align: middle;
    padding: 9px;
    width: 10em;
    text-align: left;
}

.userlogin input {
/*    margin: 5px 0px;*/
    width: 12em;
    padding: 9px;
}

.userlogin .clear {
    clear: both;
}

input, textarea {   
    padding: 9px;  
    border: solid 1px #E5E5E5;  
    outline: 0;  
    width: 200px;  
    background: #FFFFFF;  
}  
  
textarea {   
    width: 400px;  
    max-width: 400px;  
    height: 150px;  
    line-height: 150%;  
}  
  
input:hover, textarea:hover,  
input:focus, textarea:focus {   
    border-color: #C9C9C9;   
}  
  
.form {
    margin: 20px auto;
}

.form label {   
    margin-left: 10px;   
    margin-right: 20px;   
    color: #999999;   
}  
  
#button {  
    width: auto;  
    padding: 8px 12px;  
    background: #515576;  
    border: 0;  
    font-size: 14px;  
    color: #FFFFFF;  
    -webkit-border-radius: 3px; 
    -moz-border-radius: 3px; 
    border-radius: 3px; 
}  

#button:hover {  
    background: #652299;  
}  

.userinfo {
    font: normal 14px/150% Arial, Helvetica, sans-serif; 
    background: #fff; 
    overflow: hidden; 
    border: 1px solid #652299; 
    -webkit-border-radius: 3px; 
    -moz-border-radius: 3px; 
    border-radius: 3px; 
    text-align: left; 
    width: 90%; 
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
}
    
.datagrid {
    font: normal 12px/150% Arial, Helvetica, sans-serif; 
    background: #fff; 
    overflow: hidden; 
    border: 1px solid #C9C9C9; 
    -webkit-border-radius: 3px; 
    -moz-border-radius: 3px; 
    border-radius: 3px; 
    width: 90%;
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
}

.datagrid table { border-collapse: collapse; text-align: left; width: 100%; } 

.datagrid table td, .datagrid table th { padding: 3px 10px; }

.datagrid table thead th {
/*    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #652299), color-stop(1, #4D1A75) );
    background:-moz-linear-gradient( center top, #652299 5%, #4D1A75 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#652299', endColorstr='#4D1A75');*/
    background-color:#767676 /*#515576*/; 
    color:#FFFFFF; 
    font-size: 15px; 
    font-weight: bold; 
    border-left: 1px solid #714399; 
    text-align: center;
} 

.datagrid table thead th:first-child { border: none; }

.datagrid table tbody td { 
    color: #4D1A75; 
    border-left: 1px solid #E7BDFF;
    font-size: 12px;
    font-weight: normal; 
}

.datagrid table tbody .alt td { background: #F4E3FF; color: #4D1A75; }

.datagrid table tbody td:first-child { border-left: none; }

.datagrid table tbody tr:last-child td { border-bottom: none; }

.datagrid tr:hover td{ background-color:#d3e9ff; }

.datagrid table tfoot td div { border-top: 1px solid #652299;background: #F4E3FF;}

.datagrid table tfoot td { padding: 5px; font-size: 13px; border-top: 1px solid #652299;background: #F4E3FF; } 

.datagrid table tfoot td div{ padding: 2px; }

.datagrid table tfoot td ul { margin: 0; padding:0; list-style: none; text-align: right; }

.datagrid table tfoot  li { display: inline; }

.datagrid table tfoot li a { text-decoration: none; display: inline-block;  padding: 2px 8px; margin: 1px;color: #FFFFFF;border: 1px solid #652299;-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #652299), color-stop(1, #4D1A75) );background:-moz-linear-gradient( center top, #652299 5%, #4D1A75 100% );filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#652299', endColorstr='#4D1A75');background-color:#652299; }

.datagrid table tfoot ul.active, .datagrid table tfoot ul a:hover { text-decoration: none;border-color: #4D1A75; color: #FFFFFF; background: none; background-color:#652299;}

div.dhtmlx_window_active, div.dhx_modal_cover_dv { position: fixed !important; }

/*============
For tabbed view
==============*/
.tabs-menu {
    height: 30px;
    clear: both;
    margin: 0px auto;
    width: 90%; 
    max-width: 800px;
}

.tabs-menu li {
    height: 30px;
    line-height: 30px;
    float: left;
    list-style-type: none;
    margin-right: 10px;
    background-color: #ccc;
    border-top: 1px solid #d4d4d1;
    border-right: 1px solid #d4d4d1;
    border-left: 1px solid #d4d4d1;
}

.tabs-menu li.current {
    position: relative;
    top: 1px;
    background-color: #fff;
    border-bottom: 1px solid #fff;
    z-index: 5;
}

.tabs-menu li a {
    padding: 10px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none; 
}

.tabs-menu .current a {
    color: #2e7da3;
}

.tab {
    border: 1px solid #d4d4d1;
    background-color: #fff;
    margin: 30px auto 20px;
    width: 90%; 
    padding: 0px 0px;
    margin: 0px auto 20px;
    max-width: 800px;
    overflow: auto;
}

.tab-content {
    width: 100%;
    padding: 20px;
    display: none;
}

#tab-1 {
 display: block;   
}

/*===============
For file upload part
================*/

#drop{
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 3px;
}

/*----------------------------
    The file upload form
-----------------------------*/


#upload{
    background-color:#373a3d;
    /* background-image:-webkit-linear-gradient(top, #373a3d, #313437); */
    background-image:-moz-linear-gradient(top, #373a3d, #313437);
    background-image:linear-gradient(top, #373a3d, #313437);
    
    overflow: auto;
    border-radius:3px;
    
    padding:0px;
    -webkit-padding-start: 0px;
    margin:10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

#upload ul{
    list-style:none;
    margin:0 auto;
    border-top:1px solid #2b2e31;
    border-bottom:1px solid #3d4043;
}

#upload ul li{

    background-color:#333639;

    background-image:-webkit-linear-gradient(top, #333639, #303335);
    background-image:-moz-linear-gradient(top, #333639, #303335);
    background-image:linear-gradient(top, #333639, #303335);

    border-top:1px solid #3d4043;
    border-bottom:1px solid #2b2e31;
    padding:5px;
    height: 62px;

    position: relative;
}

#upload ul li input{
    display: none;
}

#upload ul li p{
    width: 75%;
    overflow: hidden;
    white-space: nowrap;
    color: #EEE;
    font-size: 15px;
    font-weight: bold;
    position: absolute;
    /* top: 10px; */
    left: 100px;
    text-align:  left;
}

#upload ul li i{
    font-weight: normal;
    font-style:normal;
    color:#7f7f7f;
    /* display:block; */
}

#upload ul li canvas{
    /* top: 15px; */
    left: 32px;
    position: absolute;
}

#upload ul li span{
    width: 16px;
    height: 16px;
    background: url('../images/cross.png') no-repeat;
    position: absolute;
    top: 20px;
    right: 15px;
    cursor:pointer;
}

#upload ul li.working span{
    height: 16px;
    background-position: 0 -12px;
}

#upload ul li.error p{
    color:red;
}

/* ============== UI dialog style =========== */

.ui-widget.jess-dialog {
    font-family: Verdana,Arial,sans-serif;
    font-size: 1.0em;
}

.ui-widget-content.jess-dialog {
    background: #F9F9F9;
    border: 1px solid #767676;
    border-radius: 3px; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    color: #767676;
    text-align: center;
    font-size: 1.2em;
    line-height: 2em;
}

.ui-dialog.jess-dialog {
    left: 0;
    outline: 0 none;
    padding: 0 !important;
    position: absolute;
    top: 0;
}

.ui-dialog.jess-dialog .ui-dialog-content {
    background: none repeat scroll 0 0 transparent;
    border: 0 none;
    overflow: auto;
    position: relative;
    padding: 1em !important;
    margin: 0;
}

.ui-dialog.jess-dialog .ui-widget-header {
    background: #767676;
    border: 0;
    border-radius: 3px; 
    color: #fff;
    font-weight: normal;
}

.ui-dialog.jess-dialog .ui-dialog-titlebar {
    padding: 0.2em 1.0em;
    position: relative;
    font-size: 1.0em;
}

/* ============== Text editor (ACE)  =================*/
    #textEditor { 
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        text-align: left;
    }

