* {
    margin: 0;
    padding: 0;
}

/** General Style Info **/
body {
    background: #373A3F;
    color: #fff;
    font-family: 'lucida grande', verdana, helvetica, arial, sans-serif;
    font-size: 9pt;
    margin: 0;
}

a {
    color: #003d4c;
    text-decoration: underline;
    font-weight: bold;
}

a:hover {
    color: #367889;
    text-decoration: none;
}

a img {
    border: none;
}

h1,
h2,
h3,
h4 {
    font-weight: normal;
    margin-bottom: 0.2em;
}

h1 {
    background: #fff;
    color: #003d4c;
    font-size: 100%;
    display: none;
}

h2 {
    background: #000000;
    color: #ffffff;
    font-family: 'Gill Sans', 'lucida grande', helvetica, arial, sans-serif;
    font-size: 190%;
    padding: 10px;
    margin-top: 15px;
}

h3 {
    color: #993;
    font-family: 'Gill Sans', 'lucida grande', helvetica, arial, sans-serif;
    font-size: 165%;
}

h4 {
    color: #993;
    font-weight: normal;
}

ul,
li {
    margin: 0 12px;
}

/** Layout **/
#container {
    text-align: left;
}

#header {
    background: url("../img/cryit_header_border.gif") repeat-x scroll 0 0 transparent;
    border-left: 1px solid #3D3C39;
    border-right: 1px solid #3D3C39;
    color: #333333;
    height: 130px;
}

#header img {
    position: absolute;
    left: 34px;
    top: 10px;
}

#header h1 {
    line-height: 20px;
    background: #003d4c url('../img/cake.icon.png') no-repeat left;
    color: #fff;
    padding: 0px 30px;
}

#header h1 a {
    color: #fff;
    background: #003d4c;
    font-weight: normal;
    text-decoration: none;
}

#header h1 a:hover {
    color: #fff;
    background: #003d4c;
    text-decoration: underline;
}

#main_menu {
    position: absolute;
    left: 12px;
    top: 109px;
}

#main_menu .selected {
    font-weight: bold;
    color: #ffa32e;
}

#content {
    background: #fff;
    clear: both;
    color: #333;
    padding: 10px 20px 40px 20px;
    overflow: auto;
}

#footer {
    clear: both;
    padding: 6px 10px;
    text-align: right;
}

/** menus **/
ul.menu_adminmenu {
    list-style: none outside none;
    font-size: 18px;
    margin-top: -10px;
}

ul.menu_adminmenu li {
    color: white;
    display: inline;
}



ul.menu_adminmenu li a {
    color: white;
    text-decoration: none;
}

ul.menu_adminmenu li a:hover {
    color: #eeecac;
    text-decoration: none;
}

div.submenu {
    margin-bottom: 10px;
    margin-left: 10px;
    margin-top: -10px;
    background-color: #ffa32e;
    padding: 5px;
    border: 1px solid #000000;


}

div.submenu ul {
    margin: 0;
    padding: 0;
}

div.submenu li {
    margin: 0 1em 0.5em 0;
    list-style-type: none;
    white-space: nowrap;
    padding: 0;
    display: inline;
    font-weight: bold;

}

div.submenu ul li a {
    font-weight: normal;
    display: inline;
    clear: both;

    color: #ffffff;
}

div.submenu ul li a:hover {
    text-decoration: underline;
}

/** dashboards **/

table.dashboard {
    width: 80%;
    margin: auto;
}

.dashboard td {
    width: 100px;
    text-align: center;
    vertical-align: middle;
    border: none;
    background: none !important;
    padding: 10px;
}

.dashboard td div {
    width: 80%;
    height: 80px;
    background-color: orange;
    text-align: center;
    vertical-align: middle;
    margin: auto;
}

.dashboard td div a {
    font-size: 1.6em;
    position: relative;
    top: 30%;
}

/** searches **/

.search input,
.search select {
    padding: 0px;
    width: 150px;
}

.search_button {
    vertical-align: bottom;
}

table.search {
    margin-bottom: 0px;
}

.search td {
    border: none;
    background: none !important;
}

/** containers **/

div.form,
div.index,
div.view {
    /* float:right;
	width:76%;
	border-left:1px solid #666; */
    padding: 10px 2%;
}

div.actions {
    /*float:left;
	width:16%;*/
    padding: 0px 20px 20px 0px;
}

div.actions h3 {
    padding-top: 0;
    color: #777;
}

div.result {
    margin: 0;
    padding: 0;
}

/** Button Control **/
.button_control input {
    margin: 0 10px;
}

/** Tables **/

table {
    background: #fff;
    border-right: 0;
    clear: both;
    color: #333;
    margin-bottom: 10px;
    width: 100%;
}

th {
    border: 0;
    border-bottom: 2px solid #555;
    text-align: left;
    padding: 4px;
}

th a {
    display: block;
    padding: 2px 4px;
    text-decoration: none;
}

th a.asc:after {
    content: ' ⇣';
}

th a.desc:after {
    content: ' ⇡';
}

table tr td {
    background: #fff;
    padding: 6px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #ddd;
    min-width: 50px;
}

table .altrow td {
    background: #f5f5f5;
}

td.actions {
    text-align: center;
    white-space: nowrap;
}

table td.actions a {
    margin: 0px 6px;
    padding: 2px 5px;
}

.cake-sql-log table {
    background: #f4f4f4;
}

.cake-sql-log td {
    padding: 4px 8px;
    text-align: left;
    font-family: Monaco, Consolas, "Courier New", monospaced;
}

.cake-sql-log caption {
    color: #fff;
}

/** Paging **/
div.paging {
    background: #fff;
    color: #ccc;
    margin-top: 1em;
    clear: both;
}

div.paging li {
    display: inline;
    list-style-type: none;
    margin: 0;
}

div.paging li:before {
    content: ' | ';
}

div.paging li.prev:before {
    content: '';
}

div.paging li.active a {
    color: #c73e14;
}

div.paging li a {}

img.photo {
    max-width: 400px;
}

/** Scaffold View **/
dl {
    line-height: 2em;
    margin: 0em 0em;
}

dl .altrow {
    background: #f4f4f4;
}

dt {
    font-weight: bold;
    padding-left: 4px;
    vertical-align: top;
}

dd {
    margin-left: 20em !important;
    margin-top: -2em !important;
    vertical-align: top;
}

/** Forms **/
form {
    clear: both;
    margin-right: 20px;
    padding: 0;
    width: 95%;
}

fieldset {
    border: 1px solid #ccc;
    margin-bottom: 1em;
    padding: 16px 20px;
}

fieldset legend {
    background: #fff;
    color: #e32;
    font-size: 160%;
    font-weight: bold;
}

fieldset fieldset {
    margin-top: 0px;
    margin-bottom: 20px;
    padding: 16px 10px;
}

fieldset fieldset legend {
    font-size: 120%;
    font-weight: normal;
}

fieldset fieldset div {
    clear: left;
    margin: 0 20px;
}

form div {
    clear: both;
    margin-bottom: 1em;
    padding: .5em;
    vertical-align: text-top;
}

form .input {
    color: #444;
}

form .required {
    font-weight: bold;
}

form .required label:after {
    color: #e32;
    content: '*';
    display: inline;
}

form div.submit {
    border: 0;
    clear: both;
    margin-top: 10px;
}

label {
    display: block;
    font-size: 110%;
    margin-bottom: 3px;
}

input,
textarea {
    clear: both;
    font-size: 140%;
    font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
    padding: 1%;
    width: 98%;
}

select {
    clear: both;
    font-size: 120%;
    vertical-align: text-bottom;
}

select[multiple=multiple] {
    width: 100%;
}

option {
    font-size: 120%;
    padding: 0 3px;
}

input[type=checkbox] {
    clear: left;
    float: left;
    margin: 0px 6px 0px 2px;
    width: auto;
}

div.checkbox label {
    /*display: inline;*/
}

input[type=radio] {
    float: left;
    width: auto;
    margin: 0 3px 7px 0;
}

div.radio label {
    margin: 0 0 6px 20px;
}

input[type=submit] {
    display: inline;
    font-size: 110%;
    width: auto;
}

form .submit input[type=submit] {
    background: #62af56;
    background: -webkit-gradient(linear, left top, left bottom, from(#a8ea9c), to(#62af56));
    background-image: -moz-linear-gradient(top, #a8ea9c, #62af56);
    border-color: #2d6324;
    color: #000;
    text-shadow: #8cee7c 0px 1px 0px;
}

form .submit input[type=submit]:hover {
    background: #4ca83d;
    background: -webkit-gradient(linear, left top, left bottom, from(#85e573), to(#4ca83d));
    background-image: -moz-linear-gradient(top, #85e573, #4ca83d);
}

/** Notices and Errors **/
div.message {
    clear: both;
    color: #fff;
    font-size: 140%;
    font-weight: bold;
    margin: 0 0 1em 0;
    background: #c73e14;
    padding: 5px;
}

div.error-message {
    clear: both;
    color: #fff;
    font-weight: bold;
    background: #c73e14;
}

p.error {
    background-color: #e32;
    color: #fff;
    font-family: Courier, monospace;
    font-size: 120%;
    line-height: 140%;
    padding: 0.8em;
    margin: 1em 0;
}

p.error em {
    color: #000;
    font-weight: normal;
    line-height: 140%;
}

.notice {
    background: #ffcc00;
    color: #000;
    display: block;
    font-family: Courier, monospace;
    font-size: 120%;
    line-height: 140%;
    padding: 0.8em;
    margin: 1em 0;
}

.success {
    background: green;
    color: #fff;
}

/**  Actions  **/
div.actions ul {
    margin: 0;
    padding: 0;
}

div.actions li {
    margin: 0 0 0.5em 0;
    list-style-type: none;
    white-space: nowrap;
    padding: 0;
    display: inline;
}

div.actions ul li a {
    font-weight: normal;
    display: inline;
    clear: both;
}

div.actions ul li a:hover {
    text-decoration: underline;
}

input[type=submit],
div.actions ul li a,
.edit_shipping,
button.button,
td.actions a {
    font-weight: normal;
    padding: 4px 8px;
    margin: 4px 8px;
    background: #e6e49f;
    background: -webkit-gradient(linear, left top, left bottom, from(#fae4c7), to(#feb962));
    background-image: -moz-linear-gradient(top, #fae4c7, #feb962);
    color: #333;
    border: 1px solid #aaac62;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    text-decoration: none;
    text-shadow: #fff 0px 1px 0px;
    min-width: 0;
}

input[type=submit]:hover,
div.actions ul li a:hover,
.edit_shipping:hover,
button.button:hover,
td.actions a:hover {
    background: #f0f09a;
    background: -webkit-gradient(linear, left top, left bottom, from(#fae4c7), to(#f9f1e6));
}

/** Related **/
div.related {
    clear: both;
    display: block;
}

/** Debugging **/
pre {
    color: #000;
    background: #f0f0f0;
    padding: 1em;
}

pre.cake-debug {
    background: #ffcc00;
    font-size: 120%;
    line-height: 140%;
    margin-top: 1em;
    overflow: auto;
    position: relative;
}

div.cake-stack-trace {
    background: #fff;
    color: #333;
    margin: 0px;
    padding: 6px;
    font-size: 120%;
    line-height: 140%;
    overflow: auto;
    position: relative;
}

div.cake-code-dump pre {
    position: relative;
    overflow: auto;
}

div.cake-stack-trace pre,
div.cake-code-dump pre {
    color: #000;
    background-color: #F0F0F0;
    margin: 0px;
    padding: 1em;
    overflow: auto;
}

div.cake-code-dump pre,
div.cake-code-dump pre code {
    clear: both;
    font-size: 12px;
    line-height: 15px;
    margin: 4px 2px;
    padding: 4px;
    overflow: auto;
}

div.cake-code-dump span.code-highlight {
    background-color: #ff0;
    padding: 4px;
}

div.code-coverage-results div.code-line {
    padding-left: 5px;
    display: block;
    margin-left: 10px;
}

div.code-coverage-results div.uncovered span.content {
    background: #ecc;
}

div.code-coverage-results div.covered span.content {
    background: #cec;
}

div.code-coverage-results div.ignored span.content {
    color: #aaa;
}

div.code-coverage-results span.line-num {
    color: #666;
    display: block;
    float: left;
    width: 20px;
    text-align: right;
    margin-right: 5px;
}

div.code-coverage-results span.line-num strong {
    color: #666;
}

div.code-coverage-results div.start {
    border: 1px solid #aaa;
    border-width: 1px 1px 0px 1px;
    margin-top: 30px;
    padding-top: 5px;
}

div.code-coverage-results div.end {
    border: 1px solid #aaa;
    border-width: 0px 1px 1px 1px;
    margin-bottom: 30px;
    padding-bottom: 5px;
}

div.code-coverage-results div.realstart {
    margin-top: 0px;
}

div.code-coverage-results p.note {
    color: #bbb;
    padding: 5px;
    margin: 5px 0 10px;
    font-size: 10px;
}

div.code-coverage-results span.result-bad {
    color: #a00;
}

div.code-coverage-results span.result-ok {
    color: #fa0;
}

div.code-coverage-results span.result-good {
    color: #0a0;
}

.logout a {
    color: #ffffff;
}

/* Hidding

ul.menu_adminmenu li:nth-child(4) {
	display: none;
}

ul.menu_adminmenu li:nth-child(5n) {
	display: none;
}

ul.menu_adminmenu li:nth-child(6n) {
	display: none;
}
 */

.button_control input:nth-child(3n) {
    /*display: none;*/
}


#tooltip {
    position: absolute;
    z-index: 3000;
    border: 1px solid #111;
    background-color: #eee;
    padding: 5px;
    opacity: 0.85;
}

#tooltip h3,
#tooltip div {
    margin: 0;
}

/** Filters **/

form.filter_form div {
    clear: none;
    margin-bottom: 0;
    padding: 0 5px;
}

form.filter_form input[type="text"] {
    font-size: 110%;
    padding: 0;
}

form.filter_form input[type="text"].filter_date {
    width: 100px;
    margin: 0 3px 3px 0;
    margin-left: 10px;
}

form.filter_form input[type="text"].search {
    width: 130px;
    margin-right: 5px;
    margin-left: 10px;
}

form.filter_form input[type="submit"].search {
    padding: 5px;
    font-size: 110%;
    display: block;
    margin: 15px auto;
    margin-left: 10px;
}

div.filter_container {
    width: 200px;
    border: 1px solid #000000;
    padding: 10px;
    background-color: #F5F5F5;
    margin-left: -27px;
}

div.filter_container>div>label,
div.filter_container>label {
    font-weight: bold;
    padding: 3px 0;
    margin-left: 10px;
}

div.filter_container fieldset {
    border: none;
    padding: 0px 10px;
}

div.filter_container fieldset>legend {
    padding: 10px 0 5px 0;
    margin-left: 0px;
    color: #444444;
    font-size: 110%;
    background: none;

}


/*.button_control input:nth-child(4n) {
		display: none;
}*/
/* Hidding */

table tr.grouped td {
    background: none;
    background-color: #FCC;
}

table tr.flag.to-home {
    white-space: nowrap;
}

.dhl.express td:nth-child(3),
.dhl.express td:nth-child(4),
.dhl.urgent td:nth-child(3),
.dhl.urgent td:nth-child(4),
.dhl td:nth-child(3),
.dhl td:nth-child(4) {
    background-color: #fccc01 !important;
}

.ups.express td:nth-child(3),
.ups.express td:nth-child(4),
.ups.urgent td:nth-child(3),
.ups.urgent td:nth-child(4),
.ups td:nth-child(3),
.ups td:nth-child(4) {
    background-color: #a47338 !important;
}

.express td:nth-child(3),
.priority-blue {
    background-color: #00B8FF !important;
}

.urgent td:nth-child(3),
.priority-green {
    background-color: #00FF00 !important;
}

.h48 td:nth-child(3) {
    background-color: #A020F0 !important;
}

.h24 td:nth-child(3),
.priority-pink {
    background-color: #ff007f !important;
}

.extra_order_control label,
.extra_order_control form.filter_form input[type="submit"].search {
    display: inline;
}

.flag td {
    background-color: #ffa32e !important;
}

.pink td {
    background-color: pink !important;
}

.preview td {
    background-color: #2196f3 !important;
}

.yellow td {
    background-color: yellow !important;
}

.today td {
    background-color: orange !important;
}

.red td {
    background-color: #e07f84 !important;
    color: #fff;
}

.green td {
    background-color: #a8ea9c !important;
}

span.to-home {
    background-image: url('/img/home.png');
}

span.flag {
    background-image: url('/img/exclamation.png');
}

span.grouped {
    background-image: url('/img/stack.png');
}

span.preview {
    background-image: url('/img/preview.png');
}

span.plane {
    background-image: url('/img/plane.png');
}

span.truck {
    background-image: url('/img/truck.png');
}

span.usps {
    background-image: url('/img/usps.png');
}

span.keep_bg {
    background-image: url('/img/background.png');
}

span.pnote {
    background-image: url('/img/note.png');
}

span.youtube {
    background-image: url('/img/youtube.png');
}

span.flame {
    background-image: url('/img/flame.png');
}

span.cic {
    background-image: url('/img/cic.png');
}

span.china {
    background-image: url('/img/china.png');
}

td span {
    margin: 0 3px;
}

#order-list tr td:nth-child(1) {
    padding: 0
}

#order-list tr td:nth-last-child(2) {
    background-color: #fff !important;
}

#order-list tr td:nth-child(1),
#order-list tr th:nth-child(1) {
    background-color: #fff !important;
    line-height: 1.5;
    min-width: 120px;
    max-width: 150px;
    vertical-align: middle;
}

#order-list tr td:nth-child(1) span {
    width: 30px;
    height: 30px;
    display: inline-block;
    vertical-align: text-bottom;
    background-size: 100% 100%
}

#order-list tr td:nth-child(1) input {
    margin: 0;
}

#OrderReferralFilter {
    width: 100%;
}

#search label {
    display: inline-block;
    padding: 20px 10px;
}

#search input {
    padding: 0;
    width: auto;
}

#search input[type=submit] {
    margin: 15px;
    padding: 5px;
    width: auto;
}

span.top-img {
    width: 60px;
    height: 60px;
    background-size: cover;
    margin: 10px;
    display: inline-block;
}

span.dashboard-img {
    background-image: url('/img/dashboard.png');
}

span.truck-img {
    background-image: url('/img/top-truck.png');
}

span.laser-img {
    background-image: url('/img/top-laser.png');
}

span.eye-img {
    background-image: url('/img/top-eye.png');
    border-radius: 50%;
}

span.flame-img {
    background-image: url('/img/top-flame.png');
    border-radius: 50%;
}

span.verify-img {
    background-image: url('/img/top-verify.png');
}

span.binning-img {
    background-image: url('/img/binning.png');
}

span.binning-today-img {
    background-image: url('/img/binning_today.png');
}

span.cubby-img {
    background-image: url('/img/cubby.png');
}

span.plus-img {
    background-image: url('/img/plus.png');
}

p.logout-link {
    text-align: right;
    padding-right: 20px;
}

.ui-datepicker tr td {
    min-width: auto;
}
