/*
	GENERAL CSS
-----------------------------------*/
.column {
	margin-bottom: 20px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.wpcsr-pagination {
    display: block;
    margin: 18px 0;
}
.wpcsr-pagination .page-numbers {
    font-size: 16px;
    padding: 6px;
}
.wpcsr-pagination .page-numbers.current {
    background-color: #00a925;
    color: #fff;
}
form #warehouse-list,
#pickup-rate-wrap,
.warehouses-repeater-wrap,
#warehouse-list .warehouse-section .section-content{
  display: block;
  overflow: hidden;
  clear: both;
}
form #warehouse-list{
  margin-bottom:24px;
}
#warehouse-list .warehouse-section:nth-child(3n + 1){
  clear: both;
  padding-left: 0;
}
#warehouse-list .warehouse-section label{
  display: block;
}
#warehouse-list .warehouse-section input[type="text"]{
  width:100%;
}
#warehouse-list .warehouse-section input[type="text"]::placeholder {
  color: #cccccc;
}
#warehouse-list .warehouse-section .section-content .button {
  float: right;
}
#warehouse-list .warehouse-section .section-content {
  padding: 18px;
  background-color:#f1f1f1;
  border:1px solid #e5e5e5;
}
#parcel-container div.section div select {
  display: block;
  margin-bottom: 12px;
}
/* Pagination */
.wpcsr-pagination{
  float: right;
}
.wpcsr-pagination .page-numbers {
  font-size: 12px;
}
#wpcsr-package-opt-wrapper{
  width: 86%;
  margin: 0 auto;
}
.wpcsr-package-options li {
  display: inline-block;
  margin-bottom: 18px;
  margin-right: 18px;
}
.wpcsr-package-options li label {
  padding: 6px 14px 6px 6px;
  margin: 0;
  background-color: #f0f0f1;
  border-radius: 20px;
  border: 1px solid #c3c4c7;
  min-width: 120px;
  cursor: pointer;
  color: #000000;
  display: inline-block;
}
/* Table Styling */
.wpcsr-table-colored th{
  background-color: #f0f0f1;
}
#wpcsr-rateresult-wrapper .column:nth-child(3n+1) {
  clear: left;
}
/* Notifcation massage */
.wpcsr-notification {
  position: relative;
  padding: .75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: .25rem;
  font-size: 1rem;
  font-weight: 400;
}
.wpcsr-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}
.wpcsr-error {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}
@media only screen and ( min-width: 1025px ) {
	.column-wrap {
		width: 1366px;
		max-width: calc( 100% + 20px );
		margin: 0 -10px;
		overflow: hidden;
	}
	.column {
		padding: 0 10px;
		float: left;
	}
	.column-wrap .one-half {
		width: 50%;
	}
	.column-wrap .one-third {
		width: 33.33%;
	}
	.column-wrap .two-thirds {
		width: 66.66%;
	}
	.column-wrap .one-fourth {
		width: 25%;
	}
	.column-wrap .one-fifth {
		width: 20%;
	}
	.column-wrap .one-sixth {
		width: 16.66%;
	}
}
/* Shipping Rate Styles */
#wpcsr-rateresult-wrapper {
    display: block;
    overflow: hidden;
}
#wpcsr-rateresult-wrapper .rates .content-wrap {
    border: 1px solid #dedede;
    padding: 12px;
}
#wpcsr-rateresult-wrapper .rates.selected .content-wrap {
    border: 1px solid #c1c1c1;
    background-color: #f5f5f5;
}
#wpcsr-rateresult-wrapper .rates .content-wrap .header {
    margin-bottom: 12px;
    padding: 12px;
    border-bottom: 1px solid #dedede;
    background-color: #f5f5f5;
    text-align: center;
}
#wpcsr-rateresult-wrapper .rates input.rate-option {
    display: none;
}
#wpcsr-rateresult-wrapper .rates .content-wrap .header h4,
#wpcsr-rateresult-wrapper .rates .content-wrap .header p {
    margin: 0;
}
#wpcsr-rate-wrapper .wpcsr-search-box .wpcsr-fields {
    width: 100%;
}
#wpcsr-rate-wrapper .form-table td,
#wpcsr-rate-wrapper .form-table th {
    border: 1px solid #cecece;
	padding: 10px;
}
.wpcsr-search-box #shipment-cost {
  border: 1px solid #c1c1c1;
  padding: 18px;
}
.wpcsr-search-box #shipment-cost p{
  font-size: 1.2rem;
  font-weight: 400;
  margin:0;
}
.wpcsr-search-box #shipment-cost p .label {
  display: inline-block;
  min-width: 180px;
}
.wpcsr-search-box #shipment-cost p.total_cost_wrap {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #c1c1c1;
}
.wpcsr-search-box #shipment-cost p.total_cost_wrap .total_cost {
  color: #ca4a1f;
  font-weight: bold;
}
.dashicons.wpcsr-delete {
    position: relative;
}
.dashicons.wpcsr-delete:before {
    color: #ca4a1f;
    cursor: pointer;
}
.dashicons-edit {
    color: #3977c3;
    cursor: pointer;
}
.wpcsrate-bulk-delete {
	background-color: #ca4a1f !important;
  color: #fff !important;
  border-color: #ca4a1f !important;
}
.wpcsr-table.list-table {
    margin-bottom: 15px;
}
.wpcsr-table-section .action-buttons {
    margin: 10px 0;
    text-align: right;
}
/*
  UPDATE WPCSR
-----------------------------------*/
#update-shipment-rate .form-table td {
    padding: 10px 15px;
}
#update-shipment-rate tr td:first-child {
    width: 35%;
}
/*
	ADD WPCSR PAGE
-----------------------------------*/
.wpcsr-form-section:after, .wpcsr-form:after, .column-wrap:after {
	content: ''!important;
	display: block!important;
	clear: both!important;
}
.wpcsr_add_table tr td input[type="text"], .wpcsr_add_table tr td select, .wpcsr_add_table tr td textarea,
.wpcsr_update_table tr td input[type="text"], .wpcsr_update_table tr td select, .wpcsr_update_table tr td textarea {
  width: 100%;
}
.wpcsr_add_table tr td,
.wpcsr_add_table tr th{
  padding: 6px;
}
.wpcsr_update_table tr th,.wpcsr_add_table tr th{
  width: 120px;
}
.hide-element{
  display: none;
  
}
#error_url, #update_error_url {
  color: #ca4a1f;
}
/*
	ADD LOCATION PAGE
-----------------------------------*/
.wpcsr-form-section, .wpcsr-table-section {
    background-color: #ffffff;
    padding: 20px;
    margin-bottom: 24px;
}
.wpcsr-form-section h4 {
    margin-top: 0;
}
.wpcsr_btn {
    background-color: #00a925!important;
    padding: 5px 10px!important;
    color:  #fff;
}
.wpcsr-table {
    width: 100%;
    text-align:  center;
    border-collapse:  collapse;
}
.wpcsr-table td, .wpcsr-table th {
    padding: 10px;
    border:  1px solid #eeeeee;
}
.wpcsr-table th {
    background-color: #00a925;
    color: #ffffff;
}
.wpcsr_btn:hover {
    color: #ffffff!important;
}
.select2-dropdown{
	z-index: 999999!important;
}
/*
	WPCSR BUTTONS
-----------------------------------*/
.wpcsr-edit.edit-btn {
  text-decoration: none;
  color: #ffffff;
  background-color: #717171;
  padding: 5px 10px;
  margin-right: 5px;
}
.wpcsr-delete.delete-btn {
    text-decoration: none;
    color: #ffffff;
    background-color: #ca4a1f;
    padding: 5px 10px;
    margin-right: 5px;
}
/*
	EDIT MODAL
-----------------------------------*/
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 999999; /* Sit on top */
  padding-top: 40px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 600px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: wpcargoanimatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: wpcargoanimatetop;
  animation-duration: 0.4s;
  margin-bottom: 80px;
}
/* Add Animation */
@-webkit-keyframes wpcargoanimatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}
@keyframes wpcargoanimatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}
.close {
    color: #ffffff;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}
.modal-title p {
    background-color: #00a925!important;
    margin:  0;
    padding: 20px;
    color:  #ffffff;
    font-size: 20px;
}
.edit-location-form .input_location {
    width: 75%;
    margin: 0 auto;
    padding: 15px;
}
/* wpcargo Spinner */
.wpc-loading {
  position: fixed;
  z-index: 999999;
  height: 2em;
  width: 2em;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
/* Transparent Overlay */
.wpc-loading:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3);
}
/* :not(:required) hides these rules from IE9 and below */
.wpc-loading:not(:required) {
  /* hide "loading..." text */
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}
.wpc-loading:not(:required):after {
  content: '';
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 1500ms infinite linear;
  -moz-animation: spinner 1500ms infinite linear;
  -ms-animation: spinner 1500ms infinite linear;
  -o-animation: spinner 1500ms infinite linear;
  animation: spinner 1500ms infinite linear;
  border-radius: 0.5em;
  -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
  box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
}
#update-zone .input_location {
    width: 100%;
    padding: 0 20px;
}
span.close-btn {
    cursor: pointer;
    float: right;
}
.bulk-action {
    cursor: pointer;
}
/*
	SEARCH TABLE
-----------------------------------*/
.wpcsr-table-section .wpcsr-search-section {
    text-align: right;
    margin-bottom: 15px;
}
.wpcsr-search-section .wpcsr-search-button {
    background-color: #00a925;
    border: none;
    color: #ffffff;
    padding: 5px 15px;
    cursor: pointer;
}
/*
	ANIMATION
-----------------------------------*/
@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@media only screen and ( max-width: 1368px) {
    .dashicons.wpcsr-delete {
        margin-bottom: 2px;
    }
    .dashicons.wpcsr-delete:before {
        top: 5px;       
    }
    #wpcsr_bulk_button {
        margin-left: .8rem;
    } 
}