/**
 * Make sure any class you add here starts with the prefix 'eshipper_' or 'eshipper-',
 * to avoid any name collisions with other plugins as this script is loaded on all admin pages in WordPress (for now).
 */

/* Styles realted to login popup */
#TB_window {
    transform: translate(-50%, 0);
    /*width: auto !important;*/
    /*height: auto !important;*/
    margin: 30px 0 0 0 !important;
}

.es-form {
    padding: 1rem;
}

#eshipper_message {
    display: block;
    height: auto;
    padding: 1rem;
    font-size: 0.9rem;
    font-weight: bold;
}

.errorMsgEshipper {
    color: #ed1846;
}

.successMsgEshipper {
    color: #2fb5c0;
}

.es-auth-buttons > a {
    min-width: 100px;
}

#es-validate-btn-loader {
    vertical-align: middle;
    line-height: 0;
}

.jquery-modal {
    z-index: 99999;
}

/*  */
.eshipper_settings-table-tr td {
	border-bottom:1px solid #999;
}
.woocommerce .eshipper_panel table.form-table {
	table-layout: auto;
}

#eshipper_boxes p, #eshipper_lettermail p, #eshipper_address div.eshipper_address_item {
	padding:6px 0;
	margin: 6px 0;
	border-bottom:1px solid #999;
}

.eshipper_hidden {
	display:none;
}

#eshipper_tabs a {
	font-size:14px;
	line-height:20px;
}

.eshipper_panel h3 {
	font-size: 18px;
	font-weight: 400;
	line-height: 24px;
	margin: 8px 0;
	padding: 0;
}

.eshipper_panel {
	border: 1px solid #ccc;
	border-top: none;
	padding: 16px;
    background: #ffffff;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
}

.eshipper_panel fieldset legend {
	line-height: 1.5;
	margin: .6em 0 .4em;
}
.eshipper_address_item h4 {
	margin-bottom:2px;
	margin-top:0;
}

.eshipper_order_actions .button-eshipper-print {
	color: #fff;
	background: #000000;
    border-color: #003148 #000000 #003148;
    box-shadow: 0 1px 0 #003148;
    text-shadow: 0 -1px 1px #003148,1px 0 1px #003148,0 1px 1px #003148,-1px 0 1px #003148;
}

.eshipper_order_actions .button-eshipper-print:hover {
	color: #fff;
	background: #003148;
}
.eshipper_order_actions .button-eshipper-print:active {
	color: #fff;
	background: #003148;
}
.eshipper-validate-close, .eshipper-shipment-log-close, .eshipper-log-close {
	float:right;
	margin-right:10px !important;
	padding: 4px !important;
    display: block;
}
#woocommerce_eshipper_validate_dev, #woocommerce_eshipper_validate {
	background-color: #fffbcc;
	padding:5px 0;
	border-color: #e6db55;
}
#eshipper_log_display, #eshipper_shipment_log_display {
	padding:5px;
	margin:5px;
	border:1px solid #ccc;
	width:90%
}
.eshipper-input-lg {
	width:250px;
}
.eshipper_log_col {
	float:left;
	width:30%;
	margin-right:5px;
}
.eshipper-icon-letter {
		font-size: 18px;
    -webkit-font-smoothing: antialiased;
    font-weight: bold;
    margin-left: 2px;
    color: #999;
}
.woocommerce table.form-table#eshipper_class_rules tr.eshipper_rules .select2-container {
	width: auto;
	min-width: 200px !important;
}
/*
	Begin Styles from the Media Modal in WordPress
*/
.eshipper_iframe_modal {
	position: fixed;
	top: 30px;
	left: 30px;
	right: 30px;
	bottom: 30px;
	z-index: 160000;
	font-family: sans-serif;
	font-size: 12px;
}
.eshipper_iframe_modal .eshipper_iframe_modal-close {
	position: absolute;
	top: 7px;
	right: 7px;
	width: 30px;
	height: 30px;
	z-index: 1000;
}
.eshipper_iframe_modal .eshipper_iframe_modal-close span {
	display: block;
	margin: 8px auto 0;
	width: 15px;
	height: 15px;
	background: transparent url(../../img/close.png) -22px 0 no-repeat;
}
.eshipper_iframe_modal .eshipper_iframe_modal-close:hover span {
	background: transparent url(../../img/close.png) -2px 0 no-repeat;
}
.eshipper_iframe_modal .eshipper_iframe_modal-content {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
	min-height: 300px;
	background: #fff;
}
.eshipper_iframe_modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	min-height: 360px;
	background: #000;
	opacity: .7;
	z-index: 159900;
}
#eshipper_iframe_modal-frame {
	position: relative ;
	padding: 0 ;
	margin: 0 ;
	width: 100%;
	height: 100%;
	overflow: hidden ;
}
.eshipper_ir {
	background-color: transparent;
	border: 0;
	overflow: hidden;
	/* IE 6/7 fallback */
	*text-indent: -9999px;
}

.eshipper_ir:before {
	content: "";
	display: block;
	width: 0;
	height: 150%;
}
.button.eshipper-btn-icon {
    -webkit-font-smoothing: antialiased;
    position: relative;
    padding: 2px;
    -webkit-border-radius: 100%;
    border-radius: 100%;
    height: 26px !important;
    min-height: 26px;
    width: 26px!important;
    display: inline-block;
	line-height:20px;
}
.button.eshipper-btn-icon .dashicons {
	font-size: 20px;
	-webkit-font-smoothing: antialiased;
}
.eshipper-tracking-col {
	width:21%;
	float:left;
	padding:4px;
}
.eshipper-tracking-col-sm {
	width:8%;
}
.eshipper-tracking-col.shipping-trackingno {
	font-size:110%;
	min-width: 154px;
}
.eshipper-tracking-row, .eshipper-tracking-header {
	clear:left;
	margin-bottom:4px;
	border-bottom: 1px solid #f0f0f0;
}
.eshipper-tracking-col-message {
	width:54%;
	float:left;
	padding:10px;
	text-align: center;
}
.eshipper-tracking-link {
	font-weight:300;
	border-bottom: 1px solid #eee;
    -webkit-box-shadow: 0 1px 0 #ccc;
    box-shadow: 0 1px 0 #ccc;
    vertical-align: top;
	line-height: 26px;
    height: 28px;
    margin: 0;
	display:inline-block;
    padding: 0;
	white-space: nowrap;
}
.button.eshipper-service-label-edit, .button.eshipper-service-label-remove,.button.eshipper-service-margin-edit, .button.eshipper-service-margin-remove {
	color: #999;
}
.eshipper-service-label-wrapper, .eshipper-service-margin-wrapper, .eshipper-service-description {
	display: block;
	margin-left: 21px;
}
.eshipper-inline-label {
	vertical-align: middle;
	line-height: 28px;
}
.eshipper-spinner {
  display: inline-block;
  margin: 5px auto 0;
  width: 60px;
  text-align: center;
}

.eshipper-spinner > div {
  width: 16px;
  height: 16px;
  background-color: #999;

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: eshipper-bouncedelay 1.4s infinite ease-in-out both;
  animation: eshipper-bouncedelay 1.4s infinite ease-in-out both;
}

.eshipper-spinner .eshipper-spinner-b1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.eshipper-spinner .eshipper-spinner-b2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes eshipper-bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes eshipper-bouncedelay {
  0%, 80%, 100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  } 40% {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}

.woocommerce .eshipper_panel table.form-table tbody tr td select {
    height: auto;
    min-height: 30px;
    padding: 2px 24px 2px 8px;
    border-radius: unset;
    border-color: initial;
    border-width: thin;
}
.woocommerce .eshipper_panel table.form-table input[type=email], .woocommerce .eshipper_panel table.form-table input[type=month],
.woocommerce .eshipper_panel table.form-table input[type=number], .woocommerce .eshipper_panel table.form-table input[type=password],
.woocommerce .eshipper_panel table.form-table input[type=tel], .woocommerce .eshipper_panel table.form-table input[type=text]
{
    min-height: 30px;
    padding: 2px 8px;
    border-radius: unset;
    border-color: initial;
    border-width: thin;
}

#eshipper_update_notice {
    background: #fff;
    border-left: 4px solid #46b450;
    margin: 5px 0 15px;
    padding-left: 11px;
	padding-right: 11px;
    padding-top: 2px;
    padding-bottom: 4px;
}
#eshipper_update_notice .eshipper-notice-close {
	float:right;
	padding: 4px;
	margin-top:11px;
}
.eshipper_boxes_item {
	float: left;
	padding: 12px;
	margin: 0 10px 10px 0;
	width: 42%;
	max-width: 48%;
	background: #eee no-repeat bottom right url(../../img/package.png);
  background-size: 100px 100px;
}
@media (min-width: 1538px) {
	.eshipper_boxes_item {
		width: 30%;
		max-width: 33%;
	}
}
.eshipper_boxes_item h4 {
	margin: 4px 0;
  color: #999;
}
.eshipper_boxes_item .eshipper_box_dimensions {
	margin-bottom: 4px;
}
.eshipper_boxes_item label {
  margin-top: 8px;
}
.woocommerce table.form-table .eshipper_boxes_item input[size].input-fullwidth {
	width: 100% !important;
}
.woocommerce table.form-table .eshipper_boxes_item input[size].input-thirdwidth {
	width: 30% !important;
	margin-right: 4px;
}
.eshipper_boxes_item .input-thirdwidth.last {
	margin-right: 0;
}
.eshipper_lettermail_item {
    /*float: left;*/
    padding: 12px;
    margin: 0 10px 10px 0;
    width: 100%;
    /*height: 192px;*/
    background: #eee no-repeat bottom right url(../../img/rates_rule.png);
   background-size: 100px 100px;
}
/* @media (min-width: 1538px) {
	.eshipper_lettermail_item {
		width: 46%;
		max-width: 48%;
	}
}
@media (max-width: 782px) {
	.eshipper_lettermail_item {
		width: 43%;
		max-width: 48%;
	}
} */
.woocommerce table.form-table .eshipper_lettermail_item select {
    width: 42% !important;
	margin-right: 4px;
}
.eshipper_lettermail_item h4 {
	margin: 6px 0;
  color: #999;
}
.eshipper_lettermail_item label {
    line-height: 36px;
  }