
body{
    margin:0px;
    font-family: sans-serif;
    font-size: 0.75em;
    background-color: #d9d9ff;
}
div{
    vertical-align: top;
}
td{
    padding-right: 10px;
    vertical-align: middle;
}
input{vertical-align: middle;}
h1{font-size: 1.5em; margin: 0px 0px 5px 0px;}


summary{cursor: pointer; outline: none;}
details[open] summary{margin-bottom: 10px;}


.label{
    font-size: 0.9em;
    color: #555555;
}


.alert-info{margin: 10px 0; padding: 10px; background-color: #def; border: 2px solid #9cf; color: #069;}
.alert-success{margin: 10px 0; padding: 10px; background-color: #cfc; border: 2px solid #9c9; color: #090;}
.alert-warning{margin: 10px 0; padding: 10px; background-color: #ffc; border: 2px solid #cc9; color: #663;}
.alert-error{margin: 10px 0; padding: 10px; background-color: #fcc; border: 2px solid #c99; color: #600;}

.button{display: inline-block; background-color: #ddd; border: #999 solid 1px; padding: 2px 5px; color: #000; text-decoration: none;}


.highlight{background-color: #ffc; min-width: 8px;}
.highlight-b{background-color: #fcc26c;}

.box{
    border: #006090 solid 2px;
    display: inline-block;
    padding: 6px;
    vertical-align: top;
    margin-right: 20px;
    margin-bottom: 20px;
    background-color: #ebebf3;
}

.box-title{
    margin: -6px;
    margin-bottom: 3px;
    padding: 3px 6px;
    background-color: #738ba0;
    background: url('../images/top_header.png') repeat-x;
    color: #fff;
}
.box-title-link{
    float: right;
    font-size: 0.7em;
}

.menu-bar{
    display: block;
    margin-bottom: 10px;
}

.button{
    display:inline-block;
    margin: 4px 8px;
    padding: 3px 5px;
    background-color: #eee;
    border: #999 solid 1px;
    text-decoration: none;
    color: #000;
}



.table{display: table;}
.table-row{display: table-row;}
.table-cell{display: table-cell;}
.thead{display: table-header-group;}
.tfoot{display: table-footer-group;}
thead, tfoot, .thead, .tfoot{
    background-color: #738ba0;
    background: url('../images/top_header.png') repeat;
    color: #fff;
}
.table-alt tr:nth-child(even), .table-alt .table-row:nth-child(even){background-color: #cfd9cf;}



.box-b{
    background-color: #ccc;
    margin-bottom: 10px;
    padding: 15px 10px;
}


.num{width: 55px;}

.image-picker{}
.image-picker:after{
    padding-left: 3px;
    display: inline-block;
    cursor: pointer;
    content: url('../images/image_icon.png');
    vertical-align: middle;
}













.sortable-items>div{
    background-color: #ccc;
    margin-bottom: 10px;
    padding: 3px;
}
.sortable-items form{display: inline-block;}




.sortable{
    position: relative;
}
div.sortable div{
    height: 55px;
    background-color: #ddd;
    padding: 2px;
    margin: 3px 0px;
    position: relative;
}
div.sortable div span{
    position: absolute;
    top: 5px;
    left: 70px;
}
div.sortable div span a{
    font-size: 1.2em;
    font-weight: bold;
}
div.sortable div img{
    height: 50px;
    width: 50px;
}
div.sortable div .edit{
    position: absolute;
    right: 10px;
    top: 5px;
}
div.sortable div .delete{
    position: absolute;
    right: 10px;
    bottom: 5px;
}

.td-sel{
    color: #090;
}

textarea{
    width:250px;
    height: 250px;
}

iframe{
    border: none;
}

.grid{
    border-collapse: collapse;
    border: #006090 solid 2px;
    background-color: #ebebf3;
}
.container .grid{
    border: none;
}
.grid thead, .grid tfoot{
    background-color: #738ba0;
    background: url('../images/top_header.png') repeat;
    color: #fff;
}

.grid th{
    text-align: left;
}
.grid th a{
    color: #fff;
}

.grid th, .grid td{
    padding: 10px 25px 10px 5px;
}
.grid td{
    border-top: #738ba0 solid 1px;
}
.grid tfoot{border-top: #006090 solid 2px;}

/* multiple hides for when multiple filters used */
.hide{display: none;}
.hide2{display: none;}
.hide3{display: none;}
.hide4{display: none;}
.hide5{display: none;}

.menu_bar{
display: block;
margin-bottom: 10px;
}

.menu_bar a{
    display:inline-block;
    margin: 4px 8px;
    padding: 3px 5px;
    background-color: #eee;
    border: #999 solid 1px;
    text-decoration: none;
    color: #000;
}


.table{
    display:table;
}
.table div, .table form{
    border-top: #738ba0 solid 1px;
    padding: 5px 0px;
    display: table-row;
}
.table span input[type=text]{
    width:80px;
}
.table span{
    display:table-cell;
    padding: 0px 10px;
}

.table div:first-child{
    font-weight: bold;
    border: none;
}
.table>div.head{
    background: url('../images/top_header.png') repeat;
    color: #fff;
}

.alt tr:nth-child(even), .alt>div:nth-child(even), .alt>form:nth-child(even){background-color: #cfd9cf;}




.tinymce-inline{background-color: #fff; border: 1px solid #666; padding: 4px;}






#login_wrapper{
    width:300px;
    margin:auto;
    margin-top: 20px;
}

#top{
    /*background-color: #738ba0;*/
    background: url('../images/top_header.png') repeat-x;
}
#top div{
    display: table-cell;
    height: 40px;
    width:100%;
    padding: 0px 10px;
    vertical-align: middle;
}

#top div:first-child a{
    font-weight: bold;
    font-size: 16px;
}

#top a{
    color: #eee;
}
#logout{
    text-align: right;
}

#top a, #main_menu a{
    text-decoration: none;

}

#main_menu{
    background-color: #ccc;
    border-top: #999 solid 1px;
    /*background: url('../images/gradient.jpg') repeat;*/
    background: url('../images/menu.png') repeat;
    border-bottom: 10px solid #006090;
}


#main_menu ul{
    list-style-type: none;
    margin:0px;
    padding: 0px;
    overflow: hidden;
}

#main_menu ul li{
    float:left;
}

#main_menu a{
    display:block;
    
    padding: 5px 20px;
    text-align: center;
    color: #fff;
}

#sub_menu{
    float:left;
    border-left: #006090 solid 3px;
    border-right: #006090 solid 3px;
    width:130px;
    margin-left: 7px;
}

#sub_menu ul{
    list-style: none;
    margin: 0px;
    padding: 0px;
}

#sub_menu a{
    display:block;
    padding: 5px;
    padding-left: 12px;
    text-decoration: none;
    color: #333;
    background-color: #f3f3ff;
    border-bottom: #666 solid 1px;
}


#main_menu a:hover, #main_menu li.sel a{
    background-color: #555;
}

#sub_menu a:hover, #sub_menu li.sel a{
    background-color: #ddd;
}



#content{
    margin-left: 145px;
    padding:15px;
    vertical-align: top;
    position: relative;
    margin-bottom: 50px;
}






#order_list_table td, #order_list_table th{padding:7px 6px;}


