/*
Styles for Custom Fields
*-----------------------------------*/
.wpcargo-field-section .section-title {
    color: #23282d !important;
    border-bottom: 1px solid #ccd0d4;
    margin-bottom: 10px;
}
.wpccf-address-group label {
	display: block;
	margin: 6px 0;
}
/* Updloads styles */
.wpccf_uploads {
    padding: 0;
    margin: 18px 0 18px 0;
    list-style: none;
}
ul.wpccf_uploads li {
    cursor: pointer;
    background-color: #eee;
    display: inline-block;
    position: relative;
    padding: 6px 12px;
    margin-bottom: 18px;
    margin-right: 18px;
    color: #000;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 3px 3px 6px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 3px 3px 6px 0px rgba(0,0,0,0.75);
    box-shadow: 3px 3px 6px 0px rgba(0,0,0,0.75);
}
ul.wpccf_uploads li .img-title {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 6px 15px;
    background-color: #ffffff9c;
    width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    color: #595959;
}
ul.wpccf_uploads li .actions {
    position: absolute;
    top: 0;
    right: 3px;
    font-weight: 600;
    width: 24px;
    height: 24px;
    text-align: center;
    background-color: #eee;
}
ul.wpccf_uploads li .actions a.delete {
    color: #ff3547;
}
#wpbody #wpc_add_meta_box #shipment-details .form-table tr.image-tr-upload:last-child td,
#wpbody #wpc_add_meta_box #shipment-details .form-table tr.image-tr-upload td{
	width: initial;
}
#wpc-cf-metabox {
	overflow: hidden;
}
.wpcargo-tr td {
	width: 250px;
	padding: 5px 10px;
	background: #fff;
	border: 1px solid transparent;
	height: 40px;
	transition: all 0.3s;
}
ul.actions {
	position: absolute;
	top: 0px;
	right: 0px;
	padding: 5px;
}
.actions a.delete {
	color: red;
	font-size: 14px;
	font-weight: 800;
}
.wpcargo_images li.image {
	position: relative;
	margin: 15px;
	display: inline-block;
}
.wpcargo-tr th {
	background: #F1F1F1;
	padding: 10px 10px;
	font-size: 16px;
}
#tabs-1, #tabs-2, #tabs-3 {
	background: #fff;
}
.wpcargo-custom-tabs-ul {
	background: #387549 !important;
}
#custom-tabs {
	border: 1px solid #387549;
}
a.add-new-h2 {
	background: #387549;
	color: #fff;
	text-decoration: none;
	padding: 5px 10px 5px 10px;
	font-size: 20px;
}
.wp-list-table th.td-width {
	font-size: 20px;
	font-weight: 600;
}
input.wpcargo-update-field-btn {
	background: #387549;
	color: #fff;
	padding: 10px;
	border: none;
	margin-top: 40px;
}
.wpcargo-edit-form-fields {
	padding: 10px;
	background: #fff;
	width: 80%;
	margin: 0 auto;
	border: 1px solid #387549;
	margin-top: 40px;
}
/*
Track Result
*-----------------------------------*/
div#wpcargo-result {
	width: 100%;
}
.wpcargo-track-again div#wpcargo-track-result-button {
	text-align: center;
}
/*
Manage Form Fields
*-----------------------------------*/
table#wpcargo-table-cf {
	width: 100% !important;
	border-collapse: collapse;
}
table#wpcargo-table-cf thead {
	background-color: #fff;
	font-size: 16px;
}
table#wpcargo-table-cf,  table#wpcargo-table-cf thead {
	border: 1px solid #e5e5e5;
}
table#wpcargo-table-cf thead tr th, table#wpcargo-table-cf tbody tr td {
	padding: 12px 8px 12px;
}
table#wpcargo-table-cf tbody tr {
	cursor: all-scroll;
}
table#wpcargo-table-cf tbody tr td {
	vertical-align: top;
}
table#wpcargo-table-cf tbody tr:nth-child(odd) {
	background-color: #f9f9f9;
}
table#wpcargo-table-cf tbody tr:nth-child(even) {
	background-color: #ffffff;
}
table#wpcargo-table-cf .wpc-cf-flag li {
	padding: 2px 6px;
	margin: 0;
	margin-right: 2px;
	display: inline-block;
	background-color: #387549;
	color: #fff;
	border-radius: 2px;
}
.wpcargo.form-table select[multiple],  .wpcargo.form-table select,  .wpcargo.form-table input[type=text],  .wpcargo.form-table input[type=email],  .wpcargo.form-table input[type=number],  .wpcargo.form-table textarea {
	min-width: 200px;
}
/*
Front End Results
*-----------------------------------*/
#wpcargo-result .wpcargo-results-wrap .wpcargo-results {
	background: #FDFDFD;
	padding: 10px;
	border: 1px solid #387549;
	float: left;
	width: 50%;
}
#wpcargo-result .wpcargo-data-results.modern .wpcargo-results.shipper {
	border: 0px solid #e0e0e0;
	float: left;
	width: 100%;
	padding: 10px;
}
#wpcargo-result .wpcargo-data-results.modern .wpcargo-results.receiver {
	border: 0px solid #e0e0e0;
	float: left;
	width: 100%;
	padding: 10px;
}
#wpcargo-result .wpcargo-data-results.modern .shipper-wrap {
	width: 50%;
	overflow: hidden;
	float: left;
	border: 1px solid #e0e0e0;
}
#wpcargo-result .wpcargo-data-results.modern .receiver-wrap {
	width: 50%;
	overflow: hidden;
	float: left;
	border: 1px solid #e0e0e0;
}
#wpcargo-result .wpcargo-data-results.modern .results-wrap {
	overflow: hidden;
	width: 100%;
	clear: both;
}
#wpcargo-result .wpcargo-data-results.modern .wpcargo-results.modern.title {
	width: 100%;
	border-right: 0px;
	border-left: 0px;
}
#wpcargo-result .wpcargo-data-results.modern .wpcargo-results.modern {
	background: #FDFDFD;
	padding: 10px;
	border: 1px solid #e0e0e0;
	float: left;
	width: 33.33333%;
}
#wpcargo-result .wpcargo-data-results.modern .wpcargo-results-head.modern {
	border: 1px solid #e0e0e0 !important;
	background: #ededed;
	background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#ebebeb));
	background: -moz-linear-gradient(top, #ededed, #ebebeb);
}
#wpcargo-result .wpcargo-data-results.modern {
	border: 1px solid #e0e0e0;
}
.wpcargo-results.colspan {
	width: 100% !important;
}
.wpcargo-results.colspan.modern {
	border: 1px solid #e0e0e0 !important;
}
.wpcargo-results .colspan li.image {
	display: inline-block;
	margin-right: 8%;
}
.wpcargo-results strong {
	font-size: 15px;
}
.wpcargo-results-head {
	background: #FDFDFD;
	padding: 10px;
	clear: both;
	width: 100%;
	text-align: center;
	border: 1px solid #387549;
}
.wpcargo-data-results {
	width: 100% !important;
	overflow: hidden;
	border: 1px solid #387549;
	background: #FDFDFD;
}
.wpcargo-data-results .wpcargo-results-head h2 {
	margin: 0px;
}
/*
Front End Search Form
*-----------------------------------*/
.wpcargo-track-form {
	text-align: center;
}
.wpcargo-track-form {
	text-align: center;
	border: 2px solid #387549;
	padding: 30px;
	margin: 0 auto;
}
.wpcargo-search-fields {
	margin: 15px;
}
.wpcargo-warning-track p {
	font-size: 12px;
	color: #E51A05;
}
.wpcargo-track-form .wpcargo-search-title h2 {
	margin: 0;
}
.wpcargo-search-fields input#wpcargo-submit {
	background: #387549;
	color: #fff;
	padding: 15px;
}
.wpcargo-search-fields input#wpcargo-submit:hover {
	background: #333;
}
.wpcargo-track-form .wpcargo-search-fields p {
	margin: 0;
}
/*
Addons Page
*-------------------------------*/
#wpcargo-addons .addons .addons-column {
	width: 30%;
	float: left;
	padding: 10px !important;
	text-align: center;
	margin-right: 1%;
	background: #fff;
	box-shadow: 0px 1px 20px #333;
}
#wpcargo-addons .addons-column a.btn {
	padding: 15px 25px;
	background: #00a924;
	color: #fff;
	text-decoration: none;
}
#wpcargo-addons .addons-button {
	margin: 30px 0px;
}
/* Metabox style */
.form-table td p.wpc-cf-desc {
	font-size: 12px;
	font-style: italic;
}
/*
** print Label Settings
*/
/*.wpcargo_shipment_page_wpcargo-print-layout .additional_sections {
	margin: 0 0px 30px;
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 0 1px 10px rgba(0, 0, 0, .05);
    border: 1px solid rgb(244, 244, 244);
}*/
.additional_sections .additional_sections-label {
    color: #333;
    background-color: #FFFFFF;
    border-color: rgba(158, 158, 158, 0.23);
    font-size: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #e2e2e2;
	margin: 0;
}
.additional_sections .additional_sections-label strong{
	font-weight: 400;
}
/*.additional_sections .section-content {
    padding: 24px 20px 30px 20px;
    margin: 0;
}*/
.additional_sections .section-content .col-4 {
    width: 31.5%;
    float: left;
    padding: 5px 8px;
}
.additional_sections .section-content .col-4 p {
    margin: 0;
}
.additional_sections .section-content .col-4 .label{
	font-weight: 600;
}
#print-label-settings-wrapper #metacode-list {
    padding: 12px;
    background-color: #eee;
    display: block;
    overflow: hidden;
}
/*.wpcargo_shipment_page_wpcargo-print-layout .wpcargo-history-details .header-title,
.wpcargo_shipment_page_wpcargo-print-layout #wpc-multiple-package .header-title {
    color: #333;
    background-color: #FFFFFF;
    border-color: rgba(158, 158, 158, 0.23);
    font-size: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #e2e2e2;
    margin: 0 0 16px 0;
}*/
.wpcargo_shipment_page_wpcargo-print-layout .wpcargo-history-details .header-title strong,
.wpcargo_shipment_page_wpcargo-print-layout #wpc-multiple-package .header-title strong{
	font-weight: 400;
}
.wpcargo_shipment_page_wpcargo-print-layout .wpcargo-history-details table,
.wpcargo_shipment_page_wpcargo-print-layout #wpc-multiple-package table{
    border-collapse: collapse;
}
.wpcargo_shipment_page_wpcargo-print-layout .wpcargo-history-details table thead th,
.wpcargo_shipment_page_wpcargo-print-layout #wpc-multiple-package table thead th {
    line-height: 3em;
}
.wpcargo_shipment_page_wpcargo-print-layout .wpcargo-history-details table tr td,
.wpcargo_shipment_page_wpcargo-print-layout #wpc-multiple-package table tr td{
    padding: 8px 6px;
    font-size: 14px;
}
.wpcargo_shipment_page_wpcargo-print-layout .wpcargo-history-details table tr td,
.wpcargo_shipment_page_wpcargo-print-layout .wpcargo-history-details table thead th,
.wpcargo_shipment_page_wpcargo-print-layout #wpc-multiple-package table tr td,
.wpcargo_shipment_page_wpcargo-print-layout #wpc-multiple-package table thead th{
    border: 1px solid #eee;
    padding: 8px 6px;
}
/*.wpcargo_shipment_page_wpcargo-print-layout #wpcargo-result-print .wpcargo-history-details {
    padding: 0;
    margin-top: 16px;
}*/
#print-label-settings-wrapper #metacode-list table tr td, 
#print-label-settings-wrapper #metacode-list table tr th {
    border: 1px solid #000;
}
#print-label-settings-wrapper #metacode-list table:nth-child(3n) {
    margin-left: 0 !important;
    clear: left;
}
#print-label-settings-wrapper #metacode-list table {
	background-color: #c0f7cc;
    border: 1px solid #000;
    border-collapse: collapse;
    width: 31.3%;
    float: left;
	margin-left: 3%;
	margin-bottom: 36px;
}

div#metacode-list table tr td, div#metacode-list table tr th {
    border: 1px solid #000;
}
div#metacode-list table {
    border: 1px solid #000;
    border-collapse: collapse;
}
@media only screen and (max-width: 667px) {
	/* Force table to not be like tables anymore */
	.wpcargo-form-field-list #wpcargo-table-cf,
	.wpcargo-form-field-list #wpcargo-table-cf thead,
	.wpcargo-form-field-list #wpcargo-table-cf tbody,
	.wpcargo-form-field-list #wpcargo-table-cf th,
	.wpcargo-form-field-list #wpcargo-table-cf td,
	.wpcargo-form-field-list #wpcargo-table-cf tr {
		display: block;
	}
	.wpcargo-form-field-list #wpcargo-table-cf thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	.wpcargo-form-field-list #wpcargo-table-cf tr {
		padding: 10px;
	}
	.wpcargo-form-field-list #wpcargo-table-cf td {
		border: none;
		position: relative;
		padding-left: 50%;
		padding-top: 5px;
		padding-bottom: 5px;
		min-height: 37px;
		word-wrap: break-word;
	}
	.wpcargo-form-field-list #wpcargo-table-cf td:before {
		position: absolute;
		top: 6px;
		left: 6px;
		width: 45%;
		padding-right: 10px;
		white-space: nowrap;
		font-weight:600;
		color: #00a924;
	}
	/*
	Label the data
	*/
	.wpcargo-form-field-list #wpcargo-table-cf tbody td:nth-of-type(1):before { content: "Label / Association"; }
	.wpcargo-form-field-list #wpcargo-table-cf tbody td:nth-of-type(2):before { content: "Field Key"; }
	.wpcargo-form-field-list #wpcargo-table-cf tbody td:nth-of-type(3):before { content: "Type"; }
	.wpcargo-form-field-list #wpcargo-table-cf tbody td:nth-of-type(4):before { content: "Required"; }	
	.wpcargo-form-field-list #wpcargo-table-cf tbody td:nth-of-type(5):before { content: "Field Attribute"; }
}