/*
 * Spinner Styles
 * HTML markup <div class="wpcargo-loading"></div>
*/
/* wpcargo Spinner */
.wpcargo-loading {
	position: fixed;
	z-index: 999999;
	height: 2em;
	width: 2em;
	overflow: show;
	margin: auto;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}
/* Transparent Overlay */
.wpcargo-loading:before {
	content: '';
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.3);
}
/* :not(:required) hides these rules from IE9 and below */
.wpcargo-loading:not(:required) {
	/* hide "loading..." text */
	font: 0/0 a;
	color: transparent;
	text-shadow: none;
	background-color: transparent;
	border: 0;
}
.wpcargo-loading:not(:required):after {
	content: '';
	display: block;
	font-size: 10px;
	width: 1em;
	height: 1em;
	margin-top: -0.5em;
	-webkit-animation: wpcfespinner 1500ms infinite linear;
	-moz-animation: wpcfespinner 1500ms infinite linear;
	-ms-animation: wpcfespinner 1500ms infinite linear;
	-o-animation: wpcfespinner 1500ms infinite linear;
	animation: wpcfespinner 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;
}
/* Animation */
@-webkit-keyframes wpcfespinner {
	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 wpcfespinner {
	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 wpcfespinner {
	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 wpcfespinner {
	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);
	}
}
/*
 * WPCargo Styles
 */
#wpcargo-result-wrapper * {
	font-family: Roboto,sans-serif !important;
}
.wpcargo div,
#wpcargo-result div {
	vertical-align: baseline;
	background: transparent;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#wpcargo-result .wpcargo-row {
	margin-right: -15px;
	margin-left: -15px;
}
#wpcargo-result #shipment-info,
#wpcargo-result #pq-info{
	padding: 0 !important;
}
#shipment_info .wpcargo-label {
	font-size: initial !important;
	display: block;
}
#wpcargo-track-header{
	margin:18px 0;
}
.text-center{
	text-align: center;
}
.wpcargo-title {
	font-weight: normal;
}
.wpcargo-wrap-details #shipment-info .wpcargo-label {
	font-weight: 700;
	margin: 0;
}
/*#shipment-history td:first-child,
#shipment-history td:nth-child(2) {
    width: 150px;
}*/
#shipment-history td, #shipment-history th {
    word-break: break-word;
}
#shipment-status #result-status-header {
	background-color: #ababab;
	line-height: 1.3;
	padding: 13px 0 12px;
	color: #fff;
	font-weight: 100;
	text-transform: uppercase;
	display: block;
	width: 100%;
}
#wpcargo-result .header-title {
	border-bottom: 1px solid #858b89;
	font-size: 1.2rem;
}
 /* Pagination */
#wpcargo-pagination-wrapper {
	margin: 18px 0;
}
#wpcargo-pagination-wrapper .wpcargo-pagination ul{
	margin: 0 auto;
	border: none;
	padding-left:0;
} 
#wpcargo-pagination-wrapper .wpcargo-pagination ul li{
	list-style: none;
}   
#wpcargo-pagination-wrapper .wpcargo-page-link{
	border: 1px solid var( --wpcargo );
}
#wpcargo-pagination-wrapper .wpcargo-page-link,
#wpcargo-pagination-wrapper .wpcargo-page-link:hover{
	color: var( --wpcargo );
}
.wpcargo-page-item.active .wpcargo-page-link,
#wpcargo-pagination-wrapper .wpcargo-page-item.active .wpcargo-page-link{
	color: #fff;
	background-color: var( --wpcargo );
	border-color: var( --wpcargo );
}
/* Buttons */
.show>.wpcargo-btn-primary.dropdown-toggle,
.wpcargo-btn-primary:not(:disabled):not(.disabled).active,
.wpcargo-btn-primary:not(:disabled):not(.disabled):active,
.wpcargo-btn-primary{
	color: #fff;
	background-color: var( --wpcargo );
	border-color: var( --wpcargo );
}
.wpcargo-btn-primary:hover {
	color: #fff;
	background-color: #777;
	border-color: #777;
}
/* table */
.wpcargo-table thead th{
	color: #fff;
	background-color: var( --wpcargo );
	border-color: var( --wpcargo );
	border: 1px solid #eeeeee;
}
table.track_form_table tr td {
	padding: 6px;
}
table.track_form_table tr td input[type="text"],
table.track_form_table tr td select,
table.track_form_table tr td textarea {
	min-width: 360px;
}
/* Modal POP UP*/
/* The Modal (background) */
.wpcargo-modal.wpcargo-show-modal{
	display: block;
}
.wpcargo-modal {
	display: none;
	/* Hidden by default */
	position: fixed;
	/* Stay in place */
	z-index: 999999;
	/* Sit on top */
	padding-top: 60px;
	/* 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 */
.wpcargo-modal .modal-content {
	position: relative;
	background-color: #fefefe;
	margin: auto;
	padding: 0;
	border: 1px solid #888;
	width: 80%;
	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
}
.wpcargo-modal #modal-content-driver {
	width: 40%;
}
@media (max-width: 1200px) {
    .wpcargo-modal #modal-content-driver {
	width: 50%;
 }
}
@media (max-width: 991.98px) {
    .wpcargo-modal #modal-content-driver {
	width: 70%;
 }
}
@media (max-width: 767.98px) {
    .wpcargo-modal #modal-content-driver {
	width: 90%;
 }
}
/* 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
	}
}
/* The Close Button */
.wpcargo-modal .close {
	color: #fff;
	float: right;
	font-size: 2rem;
	font-weight: bold;
	line-height: 1;
}
.wpcargo-modal .close:hover,
.wpcargo-modal .close:focus {
	color: #fff;
	text-decoration: none;
	cursor: pointer;
}
.wpcargo-modal .modal-header {
	padding: 2px 12px;
	background-color: var(--wpcargo);
	display: block;
	overflow: hidden;
}
.wpcargo-modal .modal-header h4 {
    margin-top: 5px;
    font-size: 16px;
    font-weight: 700;
}
.wpcargo-modal .modal-body {
    padding: 18px 16px;
    color: #000000;
}
.wpcargo-modal .modal-footer {
	padding: 5px 16px;
	background-color: var(--wpcargo);
}
.wpcargo-modal .modal-footer .button {
    color: #00000;
    border: solid 2px #00000;
    padding: 3px;
    border-radius: 3px;
    background: white;
    cursor: pointer;
}
.wpcargo-login {
    width: 400px;
    margin: 0 auto;
}
.wpcargo-login h4 {
   margin: 20px auto;
   text-align: center;
}
.wpcargo-login #loginform {
    padding: 40px;
    border: 1px solid #cecece;
}
.wpcargo-login #user_login,
.wpcargo-login #user_pass {
    width: 100%;
}
.wpcargo-login #loginform input{
    padding: 10px;
    font-size: 15px;
    border-radius: 5px;
}
.wpcargo-login #loginform #wp-submit {
    background-color:#17a8e3 !important;
    width: 80px;
    display: inline-block;
    font-weight: bold;
    padding: 0px;
    margin-top: 15px; 
}

#wpcargo-account {
      border:solid 1px white;
      outline: none;
      padding: 10px;
    }
#shipment-list input[type=search] {
      padding: 2px;
      width: 60%;
    }
#shipment-list thead th {
      vertical-align: bottom;
      color: #fff;
      background-color: var( --wpcargo );
      border-color: var( --wpcargo );
      border: 1px solid #eeeeee;
    }
#dashboard_nav .active {
       color: #DCDCDC;
    }
#success input[type=text], #success input[type=number]{
       background: white;
   }
.back{
        color: white;
        display: inline-block;
        border: solid 2px #333333;
        border-radius: 5px;
        background: #333333;
        font-weight: 700;
   }
.header_label{
       color: black;
       width: 100%;
       background: #DDDDDD;
       text-transform: uppercase;
       display: inline-block;
       border-radius: 5px;
       padding: 2px;
       text-align: center;
   }

#content_div input{
        width: 200px;
        height: 30px;
    }
#content_div select{
        width: 120px;
        height: 30px;
    }
#content_div .datatable{
        color:#fff;
        width:95%;
        padding: 5px;
        font-size: 13px;
        line-height: 20px;
    }

#content_div .datatable thead, #content_div .datatable tfoot{
        background: #555555;
    }
#content_div #bookings_table_list{
        line-height: 30px;
        padding: 20px;
    }
.datatable .clickable-row{
       cursor: pointer;
       background: #000000;
       color: #fff;
    }
.datatable td, .datatable th{
   padding: 0 10px;
}
.clickable-row:hover {
        background: #17A8E3;
        color: #000;
    }
.datatable .border_bottom{
       border-bottom: 1px solid #FFFFFF;
}


#receipt_display{
   font-size:16px;
   line-height:1.5em;
}
.black_bg{
    background:black;
    padding:5px;
    color:white;
 }
#receipt_display table tbody .row td, table thead .row td{
   border-right: 2px solid;
   border-bottom: 2px solid;
 }
#receipt_display table tbody .row td:nth-child(5) , table thead .row td:nth-child(5){
   border-right: none;
 }

#quote_div .grid_table >thead tr td{
   background: #D3D3D3;
}
#quote_div .grid_table >tbody tr td{
     border-right: solid #000000 1px;
     border-bottom: solid #000000 1px;
     line-height: 2em;
     }
#quote_div .grid_table >tbody tr td:nth-child(5){
       border-right: none;
     }
#receipt_display .l_left{
  font-weight: 700;
  text-align: right;
  width: 40%;
  padding-right: 5px;
}
#receipt_display .l_right{
  text-align: left;
  width: 60%;
}
