/* To account for hidden area beneath the navbar */

html,
body {
	margin: 0;
	padding: 0;
	height: 100%;
}

#product_table input {
	margin-bottom: 0;
}

.hidden {
	display: none;
}

.wrappaaar {
	min-height: 100%;
	position: relative;
}

.tooltipBox div {
	float: left;
	line-height: 15px;
	margin-right: 10px;
}

#admin_login {
	position: absolute;
}

.footer {
	width: 100%;
	background: #E6E7E8;
	margin-top: 40px;
	height: 60px;
	position: absolute;
	bottom: 0;
}

.monogram {
	position: relative;
	display: block;
	margin: 0 auto;
	top: -24px;
}

.row {
	padding-top: 160px;
	padding-bottom: 120px;
}

.row.admin-stripped {
	padding-top: 100px;
}

.row-fluid {
	max-width: 1200px;
	padding-top: 160px;
	padding-bottom: 120px;
	margin: 0 auto;
}

.row-fluid.wide {
	max-width: none;
}

.no-padding {
	padding: 0;
}

.no-margin {
	margin: 0;
}

.admin-header {
	height: 90px;
}

.bordered {
	border: 1px solid #dddddd;
	padding: 30px;
}

table .header {
	background: #F9F9F9;
}

table .odd {
	background: #F2F2F2;
}

.red {
	background: #FCAEAB;
}

.green {
	background: #B2DBA8;
}

.yellow {
	background: #FCEFAB;
}

.black {
	background: #444;
}

.orange {
	background: #FFA366;
}

.center {
	text-align: center;
}

th.header {
	background-image: url(/static/graphics/bg.gif);
	cursor: pointer;
	font-weight: bold;
	background-repeat: no-repeat;
	background-position: center left;
	padding-left: 20px;
	margin-left: -1px;
}

th.headerSortUp {
	background-image: url(/static/graphics/asc.gif);
	background-color: #ccc;
}

th.headerSortDown {
	background-image: url(/static/graphics/desc.gif);
	background-color: #ccc;
}

.searchMargin {
	margin-right: 5px;
	margin-top: 1px;
}

/*
 * Overwriting Twitter Bootstrap here
 */
.container,
.navbar-static-top .container,
.navbar-fixed-top .container,
.navbar-fixed-bottom .container {
	width: 1200px;
}

.modal {
	position: fixed;
}

.span12 {
	width: 1200px;
}

a {
	color: #555;
	text-decoration: none;
}

a:hover {
	color: #FF6700;
	text-decoration: underline;
}

.nav-list > .active > a,
.nav-list > .active > a:hover {
	color: #555;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
	background-color: #ccc;
}

.subnav {
	width: 100%;
	height: 36px;
	background-color: #eeeeee; /* Old browsers */
	background-repeat: repeat-x; /* Repeat the gradient */
	background-image: -moz-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* FF3.6+ */
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f5f5f5), color-stop(100%, #eeeeee)); /* Chrome,Safari4+ */
	background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* Chrome 10+,Safari 5.1+ */
	background-image: -ms-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* IE10+ */
	background-image: -o-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* Opera 11.10+ */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#eeeeee', GradientType=0); /* IE6-9 */
	background-image: linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* W3C */
	border: 1px solid #e5e5e5;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.subnav .nav {
	margin-bottom: 0;
}

.subnav .nav > li > a {
	margin: 0;
	padding-top: 11px;
	padding-bottom: 11px;
	border-left: 1px solid #f5f5f5;
	border-right: 1px solid #e5e5e5;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

.subnav .nav > .active > a,
.subnav .nav > .active > a:hover {
	padding-left: 13px;
	color: #777;
	background-color: #e9e9e9;
	border-right-color: #ddd;
	border-left: 0;
	-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .05);
	-moz-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .05);
	box-shadow: inset 0 3px 5px rgba(0, 0, 0, .05);
}

.subnav .nav > .active > a .caret,
.subnav .nav > .active > a:hover .caret {
	border-top-color: #777;
}

.subnav .nav > li:first-child > a,
.subnav .nav > li:first-child > a:hover {
	border-left: 0;
	padding-left: 12px;
	-webkit-border-radius: 4px 0 0 4px;
	-moz-border-radius: 4px 0 0 4px;
	border-radius: 4px 0 0 4px;
}

.subnav .nav > li:last-child > a {
	border-right: 0;
}

.subnav .dropdown-menu {
	-webkit-border-radius: 0 0 4px 4px;
	-moz-border-radius: 0 0 4px 4px;
	border-radius: 0 0 4px 4px;
}

.subnav-fixed {
	position: fixed;
	top: 90px;
	left: 0;
	right: 0;
	z-index: 1020; /* 10 less than .navbar-fixed to prevent any overlap */
	border-color: #d5d5d5;
	border-width: 0 0 1px; /* drop the border on the fixed edges */
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	-webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0, 0, 0, .1);
	-moz-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0, 0, 0, .1);
	box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0, 0, 0, .1);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9 */
}

.subsubnav-fixed {
	top: 126px;
	z-index: 1000;
}

.subnav-fixed-admin {
	position: fixed;
	top: 89px;
	left: 0;
	right: 0;
	z-index: 1020; /* 10 less than .navbar-fixed to prevent any overlap */
	border-color: #d5d5d5;
	border-width: 0 0 1px; /* drop the border on the fixed edges */
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	-webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0, 0, 0, .1);
	-moz-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0, 0, 0, .1);
	box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0, 0, 0, .1);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9 */
}

.subnav-fixed .nav {
	padding-right: 0;
	padding-left: 0;
}

.subnav-fixed-admin .nav {
	padding-right: 20px;
	padding-left: 20px;
}

.subnav .nav > li:first-child > a,
.subnav .nav > li:first-child > a:hover {
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

.navbar .brand {
	padding: 20px;
}

.row {
	margin-left: 0;
}

.pagination {
	margin: 0;
}

.table {
	margin-bottom: 0;
}

.table th, .table td {
	line-height: 20px;
}

.table-condensed th, .table-condensed td {
	/*font-size: 12px;*/
	vertical-align: middle;
}

.table-condensed td {
	background-color: #fff;
}

/* End overwrite */

.table td.table_img {
	text-align: center;
}

.tooltip.in {
	opacity: 1;
	filter: alpha(opacity=100);
}

.tooltip-inner {
	background-color: #fff;
	box-shadow: 0px 0px 10px 1px #888888;
	-moz-box-shadow: 0px 0px 10px 1px #888888;
	-webkit-box-shadow: 0px 0px 10px 1px #888888;
}

.orderAcceptButton {
	float: left;
	margin-left: 100px;
}

.orderDeclineButton {
	float: right;
	margin-right: 100px;
}

.adminOrderDeclineButton {
	float: right;
	margin-right: 210px;
}

.clear {
	clear: both;
}

form {
	margin: 0;
}

#shop_support_chat {
	position: fixed;
	bottom: 0;
	left: 0;
}

.navbar .nav > li > a {
	padding: 5px 10px 5px;
}

.navbar .nav .dropdown-toggle .caret {
	margin-top: 6px;
}

.text-left {
	text-align: left !important;
}

.text-right {
	text-align: right !important;
}

.text-center {
	text-align: center !important;
}

.button-width {
	width: 90px;
}

/* ORDER VIEW */
.js-discount-display {
	display: none;
}

.js-discount-display .td-label {
	font-weight: bold;
}

/* Panels */
.panel {
	margin-bottom: 20px;
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
	box-shadow: 0 1px 1px rgba(0,0,0,.05);
}

.panel-heading {
	color: #333;
	background-color: #f5f5f5;
	border-color: #ddd;
	padding: 10px 15px;
	border-bottom: 1px solid transparent;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
}

.panel-body {
	padding: 15px;
}

.panel-body.row-fluid, .panel-body .row-fluid {
	width: auto;
}

/* Inputs with prepends correct width */
.input-prepend.input-block-level {
	display: table;
	width: 100%;
	margin-bottom: 9px;
}

.input-prepend.input-block-level .add-on {
	display: table-cell;
	text-align: right;
	width: 20%;
}

.input-prepend.input-block-level > input {
	box-sizing: border-box;
	border-left-style: none;
}

.m-b-30{
	margin-bottom: 30px;
}

.order-details {
	border: 1px solid #eee;
}

.order-details.order-details-gray {
	background-color: #eee;
}

.order-details [class*="span"] {
	min-height: inherit;
}

.order-details .gray {
	color: #999;
}

.order-details .dark-gray {
	color: #666;
}

.order-details.row,
.order-details .row {
	padding: 0;
}

.order-details.row{
	margin: 15px 0;
}

.order-details .middle {
	line-height: 40px;
}

.order-details .details-header {
	background-color: #eee;
	padding: 5px 15px;
	font-size: 13px;
}

.order-details .details-header div:not(:first-child) {
	margin-left: 30px;
}

span.label.label-status{
	background-color: #5bc0de;
}

span.label.label-status.is_international {
	background-color: #3a87ad;
}

span.label.label-status.is_mymiinto {
	background-color: #ff9933;
}

span.label.label-status.is_handled{
	background-color: #f89406;
}

.order-details .details-item {
	padding: 15px;
}

.order-details .details-item.vcenter {
	display: flex;
	align-items: center;
}

.accept-shipping .order-details .details-item {
	padding: 0;
}

.order-details .order-details-shipping {
	display: none;
}

.accept-shipping .order-details .order-details-shipping {
	display: block;
}

.accept-shipping .order-details {
	padding: 15px;
}

.accept-shipping .order-details p{
	font-weight: bold;
}

.order-details-shipping p,
.order-details-parcelshop p,
.order-details-contacts p{
	margin: 0 0 2px 0;
}

.accept-shipping .order-details .order-details-parcelshop,
.accept-shipping .order-details .order-details-contacts{
	margin-top: 5px;
}

.order-details .order-details-items.order-details-items-mini,
.order-details .order-details-items.order-details-items-basic {
	background-color: #eee;
}

.order-details .order-details-items.order-details-items-mini .details-item,
.order-details .order-details-items.order-details-items-basic .details-item {
	display: none;
}

.order-details .order-details-items.order-details-items-mini .details-item-mini,
.order-details .order-details-items.order-details-items-basic .details-item-basic {
	display: block;
}

.order-details .order-details-items .details-item-mini,
.order-details .order-details-items .details-item-basic {
	display: none;
}

.order-details .details-item .badge {
	margin-right: 5px;
	border-radius: 3px;
	padding: 3px 9px;
}

.order-details .details-item .small {
	font-size: 11px;
}

.order-details .details-item .large {
	font-size: 16px;
}

.order-details .details-item a {
	color: #333;
}

.order-details .details-item .span11 {
	margin-top: 15px;
}

.order-details .details-item.details-item-foggy {
	opacity: .3;
}

.order-details .order-details-items.order-details-items-mini .details-item .span11,
.order-details .order-details-items.order-details-items-basic .details-item .span11 {
	margin-top: 0;
}

.order-details .details-footer {
	border-top: 1px solid #eee;
	padding: 10px 15px;
}

.order-details .details-footer .large {
	font-size: 18px;
}

.btn-order {
	width: 100%;
	border-radius: 5px;
	text-align: center;
	color: #169BD5;
	display: inline-block;
	line-height: 40px;
}

.btn-order:hover {
	text-decoration: none;
	color: #169BD5;
	cursor: pointer;
}

.btn-order-circle {
	border-radius: 50%;
	line-height: normal;
}

.btn-order-circle:after {
	padding-bottom: 100%;
	content: '';
	display: inline-block;
	vertical-align: middle;
}

.btn-order-link-error {
	color: #CA0813;
}

.btn-order-link-error:hover {
	color: #CA0813;
}

.btn-order-text-error {
	color: #CA0813;
	font-size: 9px;
	line-height: normal;
}

.btn-order-error,
.btn-order-error:hover {
	background-color: #CA0813;
	color: #fff;
	background-image: none;
	text-shadow: none;
}

.btn-order-success,
.btn-order-success:hover {
	background-color: rgba(0, 128, 0, 1);
	color: #fff;
	background-image: none;
	text-shadow: none;
}

.btn-group.open .btn.dropdown-toggle.btn-order-success {
	background-color: rgba(0, 128, 0, 1);
}

.btn-order-success .caret,
.btn-order-error .caret,
.btn-order-info .caret,
.btn-order-inactive .caret {
	border-top: 4px solid #fff;
}

.btn-order-info,
.btn-order-info:hover {
	background-color: rgba(22, 155, 213, 1);
	color: #fff;
	background-image: none;
	text-shadow: none;
}

.btn-order-inactive,
.btn-order-inactive:hover {
	background-color: #999;
	color: #fff;
	background-image: none;
	text-shadow: none;
	cursor: not-allowed;
}

.order-list:first-child{
	margin-top: 15px;
	margin-bottom: 10px;
}

.order-list{
	margin-top: 30px;
	margin-bottom: 10px;
}

.order-list h2 {
	display: inline;
}

.order-list .list-nav-tab,
.order-list .list-nav-tab:hover{
	padding: 5px 15px;
	color: #169BD5;
}

.order-list a.list-nav-tab:first-of-type{
	padding-left: 30px;
}

.order-list .tooltip-order-info img{
	margin: 0 0 10px 5px;
}

.tooltip-inner{
	background-color: black;
	margin-left: 5px;
}

.order-list .pagination{
	margin: 10px 0;
    text-align: right;
}

.tooltip-order-icon{
	font-size: 17px;
}

.product-share-icon{
	font-size: 15px;
	cursor: pointer;
}

.create-rma-request .span11 h5 {
	margin: 7px;
}

.create-rma-request .create-rma-request__step:not(:first-child) {
	margin-top: 10px;
}

.create-rma-request .create-rma-request__step .span11.offset1 {
	border-left: 1px solid #ddd;
	margin: 10px 0 0 17px;
	padding: 5px 0 0 35px;
	min-height: 20px;
}

.create-rma-request .create-rma-request__step:last-child .span11.offset1 {
	border-color: #fff;
}

.create-rma-request .order-details {
	border: none;
}

.create-rma-request .order-details .details-item {
	padding: 0;
}

.create-rma-request .order-details .details-item .span11 {
	margin-top: 0;
	border-bottom: 1px solid #eee;
}

.create-rma-request .order-details .details-item:last-child .span11 {
	border-bottom: none;
}

.create-rma-request .order-details .details-item .box-gray {
	padding: 10px 2px 5px 5px;
	border-left: 1px solid #eee;
	background-color: rgba(242, 242, 242, 0.356862745098039);
}

.modal-body {
	max-height: none;
}

.modal-body-scrollable {
    min-height: 300px;
    max-height: 450px; /* For browser compatibility */
    max-height: calc(70vh - 190px);
    overflow-y: auto;
}

.input-accept-modal {
	width: 100%;
}

.order-notification-container {
	position: fixed;
	top: 140px;
	left: 50%;
	transform: translateX(-50%);
	width: 1200px;
}

#acceptOrderModal{
	max-height: 80vh;
	overflow-y: auto;
}

#acceptOrderModal .order-details.row{
	margin: 0 0 15px 0;
}

body.modal-open {
    overflow: hidden;
}

.btn-order-link-error.btn-order-inactive {
    background-color: transparent;
    color: #999;
}

.chosen-container {
	margin-bottom: 10px !important;
}

.chosen-choices {
	border: 1px solid #cccccc !important;
	border-radius: 3px;
	background-image: none !important;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075) !important;
}

.chosen-choices:focus {
	border-color: rgba(82, 168, 236, 0.8);
}

/* Decline order modal */
.decline-order-modal .decline-order-modal__reasons {
	padding: 0 10px;
	padding-bottom: 5px;
}

.decline-order-modal .decline-order-modal__reasons-item {
	margin-bottom: 5px;
}

.decline-order-modal .decline-order-modal__reasons-input {
	display: inline-block;
	margin: 0;
	vertical-align: middle;
	margin-right: 5px;
}

.decline-order-modal .decline-order-modal__reasons-label {
	display: inline-block;
	margin: 0;
	vertical-align: middle;
}

.decline-order-modal .decline-order-modal__reasons-textarea {
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
}

.decline-order-modal .decline-order-modal__submit.is-disabled {
	pointer-events: none;
	background-color: #999;
}

.decline-order-modal .decline-order-modal__reject-question {
	padding: 15px;
	padding-bottom: 0;
	font-weight: bold;
}
