/* Miligram overrides */
body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
}

.top-nav-links,
.side-nav,
h1, h2, h3, h4, h5, h6 {
    font-family: "Raleway", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    color: #363637;
}

a {
    color:#2f85ae;
    -webkit-transition:all 0.2s linear;
    transition:all 0.2s linear;
}

a:hover,
a:focus,
a:active  {
    color:#2a6496;
    -webkit-transition:all 0.2s easeout;
    transition:all 0.2s ease-out;
}

.side-nav a,
.top-nav-links a,
th a,
.actions a {
    color: #606c76;
}

.side-nav a:hover,
.side-nav a:focus,
.actions a:hover,
.actions a:focus {
    color:#2f85ae;
}

/* Utility */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Main */
body {
    background: #f5f7fa;
}
.content {
    /* padding: 2rem; */
    background: #ffffff;
    border-radius: 0.4rem;
    /* Thanks Stripe */
    /* box-shadow: 0 7px 14px 0 rgba(60, 66, 87, 0.1),
        0 3px 6px 0 rgba(0, 0, 0, 0.07); */
}
.actions a {
    font-weight: bold;
    padding: 0 0.4rem;
}
th {
    white-space: nowrap;
}

/* Nav bar */
.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 112rem;
	padding: 1rem 0 2rem 0;
    margin: 0 auto 2rem;
}
.top-nav-title a {
    font-size: 2.4rem;
    color: #d33c43;
}
.top-nav-title span {
    color: #404041;
}
.top-nav-links a {
    margin: 0 0.5rem;
}
.top-nav-title a,
.top-nav-links a {
    font-weight: bold;
}

.side-nav-item {
    /* display: block; (2021-02-15, 16-16-35) */
    padding: 0.5rem 0;
}

/* View action */
.view.content .text {
    margin-top: 1.2rem;
}
.related {
    margin-top: 4rem;
}

/* Flash messages */
.message {
    padding: 1rem;

    background: #eff8ff;
    color: #2779bd;

    border-color: #6cb2eb;
    border-width: 1px;
    border-style: solid;
    border-radius: 4px;
    margin-bottom: 2rem;
}
.message.hidden {
    display: none;
}
.message.success {
    background: #e3fcec;
    color: #1f9d55;
    border-color: #51d88a;
}
.message.error {
    background: #fcebea;
    color: #cc1f1a;
    border-color: #ef5753;
}

/* Forms */
.input.radio,
.input.checkbox {
    margin-bottom: 2.0rem;
}
.input.radio input,
.input.checkbox input {
    margin: 0;
}
.input.radio label,
.input.checkbox label {
    margin: 0;
    display: flex;
    align-items: center;
}
.input.radio label > input,
.input.checkbox label > input {
    margin-right: 1.0rem;
}
.input.radio label:first-of-type {
    margin-bottom: 2.0rem;
}

/* Paginator */
.paginator {
    text-align: right;
}
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}
.pagination li {
    margin: 0 0.5rem;
}
.prev.disabled a,
.next.disabled a {
    cursor: not-allowed;
    color: #606c76;
}
.asc:after {
    content: " \2193";
}
.desc:after {
    content: " \2191";
}

/* Error */
.error-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
}

@media screen and (max-width: 640px) {
    .top-nav {
        margin: 0 auto;
    }
    .side-nav {
        margin-bottom: 1rem;
    }
    .heading {
        margin-bottom: 1rem;
    }
    .side-nav-item {
        display: inline;
        margin: 0 1.5rem 0 0;
    }
    .asc:after {
        content: " \2192";
    }
    .desc:after {
        content: " \2190";
    }
}


.top_menu {
	padding: 5px;
    background-color: black;
    color: white;
    border-radius: 0.3em;
    margin: 4px;
	text-transform: uppercase;
}

a.top_menu:hover {
	padding: 5px;
    background-color: white;
    color: black;
    border-radius: 0.3em;
    margin: 4px;	
}


.order_filter_active {
	padding: 5px;
    background-color: red;
    color: white;
    border-radius: 0.3em;
    /* margin: 4px; */
	/* text-transform: uppercase; */
}

a.order_filter_active:hover {
	padding: 5px;
    background-color: white;
    color: black;
    border-radius: 0.3em;
    /* margin: 4px; */
}

.order_filter {
	padding: 5px;
    background-color: black;
    color: white;
    border-radius: 0.3em;
    /* margin: 4px; */
	/* text-transform: uppercase; */
}

a.order_filter:hover {
	padding: 5px;
    background-color: white;
    color: black;
    border-radius: 0.3em;
    /* margin: 4px; */
}

.margin_right_10px {
    margin-right: 10px;
}


.page_title, .go_back_button{
    line-height: 2.4rem;
    color: #fff;
    background-color: #4E5761;
    display: inline-block;
    padding: .25em 1.2em;
    font-size: 75%;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .4rem;
    letter-spacing: .1rem;
}

.go_back_button{
    border-radius: .4rem
	/* border-radius: 0rem !important; */
    border-color: #888888 !important;
	background-color: #888888 !important;
	border: 0.1rem solid #888888 !important;
}

.go_back_button:hover
{
    background-color:#000000 !important;
}




.cell_clickable{
	text-align: center;
	/* font-weight: 500;*/ 
	font-weight: bold !important;
	display:block;
	width:100%;
}



@media print {
  .hidden-print {
    display: none !important;
  }


  .badge-info, .badge {
    background-color: white !important;
	color: black !important;
	border-style: none !important;
  }

}


.action_items {
	margin-left: 10px;
    background-color: black;
    color: #52BE80;
    border-radius: 0.3em;
    padding:0 10px;
	
}

a.action_items:hover {
    background-color:white;
    color: black;
}


.actions_label {
	margin-right: 20px;
}

.actions_row {
	text-align: right;
}


.error-message {
	color: red;
	font-weight: bold;
}


.related_items {
    font-size: 2rem; 
    line-height: 5rem;
}


.collaps_text {
    margin-bottom: 10px;
}

.input_section_collaps, .help_collaps_text {
    display: block;
    width: 100%;
    max-width: 100%;
    font-size: 1.0rem;
    padding: 0 10px 0 10px; 
	border: dotted;
}


.help_collaps_text {
    background-color: #C7F2F8;
	border: none !important;
}



.aux-button {
	font-weight: bold !important;
	font-size: smaller !important;
	margin-right: 7px;
}


.red-button {
    height: 30px !important;
    padding: 7px 10px !important;
    line-height: 1.2em !important;
}

.disabled_text_box {
	background: lightyellow !important;
}


.helpbutton {
	font-size: 110% !important;	
	
}

.qty_input {
    font-size: 200% !important;
}

.align_right {
    text-align: right;
}

.align_center {
    text-align: center;
}


.piece {
	background-color: #8EB474;
	border: 0.1rem solid #918DAB;
	border-radius: 0.4rem;
	color: #fff;
	padding: 0 5px;
}

#sticker {
  background: #804000;
  color: white;
  width: 250px;
  /* font-family: Droid Sans; */
  font-size: 18px;
  /* line-height: 1.6em; */
  font-weight: bold;
  text-align: center;
  padding: 2px;
  margin: 0 auto;
  text-shadow: 0 1px 1px rgba(0,0,0,.2);
  border-radius: 4px;
  margin-left: 100px;
  /* padding-left: 30px; */
  /* padding-right: 30px; */
}

.sticker_qty {
  /* background: #804000; */
  /* color: white; */
  /* width: 100px; */
  /* font-family: Droid Sans; */
  font-size: 21px;
  /* line-height: 1.6em; */
  /* font-weight: bold; */
  /* text-align: center; */
  /* padding: 2px; */
  /* margin: 0 auto; */
  /* text-shadow: 0 1px 1px rgba(0,0,0,.2); */
  /* border-radius: 4px; */
  /* margin-left: 100px; */
  /* padding-left: 30px; */
  /* padding-right: 30px; */
}


.sticker_error{
  font-size: 14px;
  color: red;
  padding-left: 30px;
}

td.cell_no_border {
	border-bottom: 0 !important;
	padding-bottom: 0 !important;
}

td.cell_no_top_padding {
	padding-top: 0 !important;
}

.table {display:block;}
.row { display:block;}
td.cell { padding: 3px; border-bottom: 0.1rem solid #000 !important }

td.cell_header { font-weight: bold; padding: 3px; border-bottom: 0.1rem solid #000 !important }


.nav-tabs2>li.active>a, .nav-tabs2>li.active>a:focus, .nav-tabs2>li.active>a:hover {
    color: #555;
    cursor: default;
    background-color: #F3FCB2; /* lemon-yellow */
    border: 1px solid #ddd;
    /* border-bottom-color: transparent; */
	border-radius: 0.4rem;
}

.nav-tabs2>li>a {
    border: 1px solid transparent;
    /* margin-right: 2px;
    line-height: 1.42857143;
    border-radius: 4px 4px 0 0;*/
}

.prego_messages {
    padding: 10px;
    font-size: 120%;
	background: antiquewhite;
}


.page_top_message {
	text-align: center;
	margin: 0 auto;
	border-radius: 3px;
	max-width: 1140px;
	background: darkgreen;
	color:white;
}