/* $Id: shared.css,v 1.1 2013/04/18 00:57:04 sap Exp $ */


/***************
*              *
*   defaults   *
*              *
***************/
/* 
* { 
    margin: 0; 
    padding: 0; 
}
*/

body {
    background: #bbb;
    text-align: center;
    margin: 0px;
    padding: 0px;
    font-family: arial, helvetica, sans;
    font-size: 12px;
}

img {
    border: none;
}

form {
    display: inline;
    padding: 0px;
    margin: 0px;
}

a, a:visited {
    text-decoration: none;
    color: #444;
}

a:hover {
    text-decoration: underline;
}

div#container {
    width: 95%;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2px;
    margin-bottom: 18px;
    background: #fff;
}

input[type=text],
input[type=password] {
    border: 1px solid #ddd;
    line-height: 18px;
    padding: 2px;
    font-size: 13px;
}


/*************
*            *
*   header   *
*            *
*************/
div#header {
    width: 100%;
    height: 70px;
    text-align: left;
    background: #036;
    color: #fff;
}

div#header div#title {
    float: left;
    width: 44%;
    text-align: left;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.2em;
    padding: 14px 0px 0px 14px;
}

div#header div#top_tools {
    float: right;
    width: 50%;
    text-align: right;
    margin-top: 4px;
    margin-right: 8px;
}

div#header div#top_tools a#profile_link {
    color: #fff;
}

div#header div#top_tools ul {
    list-style: none;
    margin: 0px;
    padding: 3px 0px 3px 0px;
    display: inline;
}

div#header div#top_tools ul li {
    color: #fff;
    margin: 0px;
    padding: 0px 8px 0px 4px;
    border-right: 1px solid #fff;
    display: inline;
}

div#header div#top_tools ul li.first {
    padding-left: 0px;
}

div#header div#top_tools ul li.last {
    border-right: none;
    padding-right: 0px;
}

div#header div#top_tools ul li a {
    color: #fff;
}

div#header .bracket {
    font-size: 14px;
    padding: 0px 4px 0px 4px;
}

/***********
*          *
*   menu   *
*          *
***********/
div#menu {
    clear: both;
    width: 100%;
    height: 28px;
    text-align: left;
    margin: 0px;
    padding: 0px;
    background-image: url(../img/bg-menu.png);
    background-repeat: repeat-x;
    border-top: 1px solid #7191B6;
}

div#menu ul {
/*     height: 100%; */
    list-style: none;
    margin: 0px;
    padding: 0px;
    display: block;
}

div#menu ul li {
    float: left;
    margin: 0px;
    padding: 0px 16px 0px 16px;
    border-left: 1px solid #959595;
    border-right: 1px solid #363636;
    display: block;
    font-size: 14px;
    line-height: 26px;
    text-transform: uppercase;
    font-weight: bold;
    position: relative;
}

div#menu ul li:hover { 
    background-image: url(../img/bg-menu_mo.png);
}

div#menu ul li.first {
    border-left: none;
}

div#menu ul li.last {
    border-right: 1px solid #959595;
}

div#menu ul li.active a {
    color: #F97001; /* orange */
    color: #BBD067; /* green */
}

div#menu ul li a {
    color: #eee;
    text-decoration: none;
}

div#menu ul ul { 
    display: none;
    position: absolute;
    float: none;
    top: 26px;
    left: 0; 
    margin: -2px 0px 0px 0px;
    padding: 0px;
    background: #888;
}

div#menu ul ul li { 
    float: none;
    display: block;
    margin: 0px 0px 0px 0px;
    padding: 2px 8px 2px 17px;
    border: 1px solid #666;
    font-weight: normal;
    font-size: 13.5px;
    line-height: 16px;
    width: 190px;
    height: 20px;
    text-transform: none;
    background-image: url(../img/bg-menu.png);
    background-repeat: repeat-x;
}

div#menu ul ul li:hover { 
    background-image: url(../img/bg-menu_mo.png);
}

div#menu ul li.active ul li a { 
    border-right: none; 
    width: 100%; 
    display: inline-block; 
    color: #eee;
}
div#menu ul li.active ul li.active a { 
    font-weight: bold;
}

/* 3 */
div#menu ul ul ul { 
}

div#menu ul li:hover > ul { 
}


/***************
*              *
*   sub_menu   * 
*              *
***************/
div#sub_menu {
    clear: both;
    width: 100%;
    height: 22px;
    text-align: left;
    padding: 8px 0px 0px 0px;
    background: #ccc;
    border-bottom: 1px solid #666;
}

div#sub_menu ul {
    list-style: none;
    padding: 0px 0px 0px 10px;
    margin: 3px 3px 3px 3px;
    display: inline;
}

div#sub_menu ul li {
    color: #111;
    margin: 0px;
    padding: 0px 8px 0px 3px;
    border-right: 1px solid #222;
    display: inline;
}

div#sub_menu ul li.last {
    border-right: none;
}

div#sub_menu ul li a {
    color: #111;
    text-align: left;
}

div#sub_menu ul li.active a {
    font-weight: bold;
}

/**************
*             *
*   sandbox   *
*             *
**************/
div#sandbox {
    clear: both;
    width: 100%;
    text-align: left;
    background: #fff;
    color: #4f4f4f;
}

div#content {
    text-align: left;
    background: #fff;
    padding: 10px 10px 10px 10px;
}



div#sandbox div#search,
div#sandbox div#tool_row {
    clear: both;
    width: 95%;
    height: 30px;
    padding: 6px 16px 8px 14px;
}

div#sandbox div#search {
    padding-top: 10px;
}

div#sandbox div#tool_row {
    height: 26px;
}

div#sandbox div#tool_row div#functions {
    float: left;
}

div#sandbox div#tool_row div#pager {
    float: right;
    line-height: 22px;
}

#page_heading {
    margin: 22px 14px 2px 26px;
}

#page_heading h3 {
    margin-bottom: 2px;
}

/* table listing */
#col_opts {
    display: none;
    position: absolute;
    background: #fff;
    padding: 10px;
    border: 1px solid #999;
}

#col_opts .submit {
    margin: 4px 0;
}

.col_select {
    width: 12px;
}

div#content table#listing {
    width: 95%;
    border-collapse: collapse;
    background: #eee;
    margin: 2px 14px 4px 14px;
    border: 3px solid #dfdfdf;
    font-size: 13px;
}

div#content table#listing tr {
    height: 34px;
    border: 1px solid #fff;
    border: 1px solid #ccc;
}

div#content table#listing tr th {
    background: #666666;
    padding: 0px 4px 0px 4px;
    text-align: left;
}

div#content table#listing tr th a {
    color: #fff;
}

div#content table#listing tr th.selector {
    width: 24px;
}

div#content table#listing tr th.alt {
    background: #ccc;
}

div#content table#listing tr td {
    padding: 2px 4px 0px 4px;
    vertical-align: middle;
}

div#content table#listing tr td.alt {
    background: #fff;
}

div#content table#listing tr td.mo {
    background: #ffe;
}

div#content table#listing tr td.ghetto_link {
    cursor: pointer;
}

div#content table#listing tr td.hardtoread a {
    font-size: 11px;
    letter-spacing: .05px;
    color: #888;
}

div#content table#manager_table tr td.mo {
    background: #ffe;
}



/* edit form */
div#content #edit_wrapper {
    width: 94%;
    margin: 8px 20px 8px 20px;
    background: #fff;
    border: 3px solid #dfdfdf;
    padding-right: 2px;
}

div#content table#edit {
    width: 100%;
    margin: 1px;
    border-collapse: collapse;
    background: #f8f8f8;
}

div#content table#edit tr.pad {
    height: 18px;
}

div#content table#edit tr.emb_div td {
    height: 0px;
    margin: 0px;
    padding: 0px;
    border-top: 1px solid #e7e7e7;
    border-bottom: 2px solid #fff;
}

div#content table#edit tr.submit_row {
    background: #595959;
    background: none;
}

div#content table#edit tr.submit_row td.field div {
    width: 700px;
    margin-bottom: 7px;
    overflow: hidden;
}

div#content table#edit tr.submit_row td input.submit {
    float: right;
}

div#content table#edit tr td {
    padding: 4px 4px 4px 4px;
    border: 0px solid #bbb;
}

div#content table#edit tr td.label {
    font-weight: bold;
    text-align: right;
    vertical-align: top;
    font-size: 12.5px;
    color: #676767;
    padding-top: 8px;
}

div#content table#edit tr td.field {
    text-align: left;
}

table#edit tr td.field textarea,
table#edit tr td.field select,
table#edit tr td.field input.text {
    width: 700px;
    border: 1px solid #b9b9b9;
    background-image: url(../img/bg-input.png);
    background-repeat: repeat-x;
    font-size: 12.5px;
    line-height: 18px;
    color: #676767;    
}

table#edit tr td.field select.multiple,
table#edit tr td.field select {
    background: #fff;
}

table#edit tr td.field select.disabled,
table#edit tr td.field textarea.disabled,
table#edit tr td.field input.disabled {
    background: #efefef;
    color: #666;    
}

select,
input.text,
input.submit {
    height: 26px;
    padding: 1px;
    margin: 1px;
    vertical-align: bottom;
}

select option {
}

select::-moz-focus-inner { /*Remove button padding in FF*/ 
    border: 0;
    padding: 0;
}
@-moz-document url-prefix() { /* targets Firefox only */
    select {
/*         padding: 4px 2px !important; */
    }
}   

table#edit tr td.field select.multiple {
    height: 50px;
/*     background: none; */
}
table#edit tr td.field select.big_multiple {
    height: 150px;
/*     background: none; */
}

input.submit {
    background: #8FA43B;
    border: 1px solid #8FA43B;
    height: 26px;
    padding: 0px 8px 0px 8px;
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 13px;
    font-weight: 800;
    cursor: pointer;
}

input.text {
    height: 22px;
}

textarea.big_textarea {
    width: 880px !important;
    height: 600px;
    font-size: 11px !important;
}

textarea.big_textarea_700 {
    width: 700px !important;
    height: 600px;
    font-size: 11px !important;
}

.sdb_file_name_div {
    float: left;
    height: 20px;
    padding-top: 2px;
}
.sdb_file_del_div {
    float: left;
    margin-left: 18px;
    height: 20px;
}
.sdb_file_del_div label {
    vertical-align: 30%;
}
.sdb_file_img {
    display: block;
    clear: left;
    padding: 0px 0px 6px 2px;
    max-height: 90px;
}
.sdb_file_input {
    display: block;
    clear: left;
}

#edit_sublisting .tools {
    overflow: hidden;
    width: 700px;
}

#edit_sublisting .tools a {
    float: right;
    margin: 6px 4px 6px 4px;
}

#edit_sublisting table {
    width: 700px;
    border-collapse: collapse;
    border: 1px solid #aaa;
}

#edit_sublisting table th {
    background: #fafafa;
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
}

#edit_sublisting table td {
    background: #fff;
    border-bottom: 1px dotted #aaa !important;
}

#edit_sublisting th,
#edit_sublisting td {
    text-align: left;
    padding: 5px 4px 2px 4px !important;
}

#edit_sublisting th.c,
#edit_sublisting td.c {
    text-align: center;
}

#edit_sublisting th.r,
#edit_sublisting td.r {
    text-align: right;
}



/* home page only */
div#content div#gbox_wrapper {
    width: 100%;
    display: table;
    border-collapse: separate;
    border-spacing: 14px;
}

div#content div#gbox_wrapper_i {
    display: table-row;
}

div#content div.gbox {
    background: #f8f8f8;
    padding: 10px 10px 10px 10px;
    border: 3px solid #ececec;
    display: table-cell;
    margin-right: 8px;
    height: 100%;
    vertical-align: top;
}
div#content div#content_l {
    width: 60.5%;
    padding: 0px;
}
div#content div#content_r {
    width: 34%;
    margin-right: 0px;
    padding: 0px 20px 12px 20px;
}

ul.superflous_menu {
    width: 100%;
    list-style: none;
    padding: 0px;
    margin: 0px;
    display: block;
}

ul.superflous_menu li {
    padding: 0px;
    border-bottom: 1px solid #ececec;
    height: 68px;
}

ul.superflous_menu li img {
    margin: 14px 18px 4px 18px;
    float: left;
}

ul.superflous_menu li h3 {
    margin-bottom: 8px;
}

ul.superflous_menu li div {
    height: 68px;
    float: left;
}

ul.superflous_menu li ul {
    list-style: none;
    clear: both;
    height: 17px;
    padding: 0px;
}

ul.superflous_menu li ul li {
    list-style: none;
    float: left;
    border: none;
    border-right: 1px solid #555;
    text-indent: 0px;
    line-height: 14px;
    padding: 0px 6px 0px 6px;
    margin: 0px;
    height: 14px;
}

ul.superflous_menu li ul li.first {
    padding: 0px 6px 0px 0px;
}

ul.superflous_menu li ul li.last {
    border-right: none;
}

/* login page */
table#login {
    margin-top: 100px;
    margin-left: 40%;
    margin-right: 60%;
    margin-bottom: 100px;
}


/*************
*            *
*   footer   *
*            *
*************/
div#footer {
    background: #bcbcbc;
    font-size: 11px;
    height: 20px;
}

div#footer,
div#footer a {
    color: #555;
}

div#footer div#left {
    float: left;
    text-align: left;
    padding: 4px 4px 4px 4px;
}

div#footer div#right {
    float: right;
    text-align: right;
    padding: 4px 4px 4px 4px;
}


/*************
*            *
*   bugger   *
*            *
*************/
div#bugger {
    overflow-x: scroll;
    color: #500;
    background: #fff;
    text-align: left;
    clear: both;
    font-size: 10px;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    border: 1px solid #000;
}

div#bugger div {
    margin: 8px;
}



/***************************
*                          *
*   info, error messages   *
*                          *
***************************/
div#error_message,
div#error_messages,
div#user_messages {
    width: 89%;
    font-weight: 800;
    font-size: 1.1em;
    margin: 6px 22px 1px 32px;
    padding: 18px;
}

div#error_message,
div#error_messages {
    background: #fff;
    color: #F97001; /* orange */
    border: 1px solid #F97001; /* orange */
    background-image: url(../img/alert.png);
    background-repeat: no-repeat;
    background-position: 18px 12px;
    padding-left: 56px;
}

div#error_messages div ul {
    display: none;
}

div#user_messages {
    background: #fefefe;
    color: #300;
    border: 1px solid #300;
    background-image: url(../img/info.png);
    background-repeat: no-repeat;
    background-position: 18px 12px;
    text-indent: 34px;
}

table#edit tr td.field input.error_field {
    border: 1px solid #F97001; /* orange */
}

div#content table#edit tr td.error_label {
    color: #F97001; /* orange */
}

select.error_field,
textarea.error_field,
input.error_field {
    border: 1px solid #900; /* red */
}

label.error_label {
    color: #900; /* red */
}






.misc_items,
#shop_orders_items {
    border-collapse: collapse;
    border: 1px solid #999;
    background: #fff;
    width: 700px;
    background-image: url("../img/bg-input.png");
    background-repeat: repeat-x;
}

.misc_items td,
.misc_items th,
div#content table#edit tr td #shop_orders_items td,
div#content table#edit tr td #shop_orders_items th {
    padding: 5px;
}

.misc_items td,
div#content table#edit tr td #shop_orders_items td {
    border-top: 1px solid #ccc;
}

#shop_orders_items .each,
#shop_orders_items .quantity,
#shop_orders_items .ext {
    text-align: right;
}



table#quizzes,
table#payments {
    width: 700px;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #999;
    background-image: url("../img/bg-input.png");
    background-repeat: repeat-x;
}

div#content table#edit tr td table#quizzes td,
div#content table#edit tr td table#payments td {
    border-top: 1px solid #ddd;
    padding: 6px 6px 4px 8px;
}

div#content table#edit tr td table#quizzes th,
div#content table#edit tr td table#payments th {
    padding: 6px 6px 4px 8px;
}

table#quizzes .method,
table#payments .method {
    text-align: center;
}

table#quizzes .amount,
table#payments .amount {
    text-align: right;
}




.filter {
    float: right;
    line-height: 26px;
}









