.woocommerce-order-details p.tracking {
    margin: 5px;
    float: right;
}

.on-road {
	width: 100%;
	height: 100%;
	position: relative; 
	overflow: hidden;
}

.button.tracking::after {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline;
  font-style: normal;
  font-variant: normal;
  font-weight: 400;
  line-height: 1;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  line-height: inherit;
  vertical-align: baseline;
  content: "\f0d1";
  margin-left: .5407911001em;
}

.pg-tc {
    margin-right: auto;
    margin-left: auto;
    width: 100%;
	margin-bottom: 25px;
}
.pg-tr {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.pg-tb {
    background-color: #f9f9f9;
    margin-bottom: 20px;
    margin-top: 20px;
    width: 100%;
	padding: 5px;
	border-radius:10px;
}
.pg-c3 {
    width: 33.33%;
}
.pg-c4 {
    width: 25%;
}
.pg-c5 {
    width: 20%;
}
.delayed,
.delayed:after{
	color: #AB2328 !important;
}
.pg_ot {
    text-align: center;
    position: relative;
    display: block;
}
.pg_ot .is-complete{
    display: block;
    position: relative;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    border: 0px solid #AFAFAF;
    background-color: #f7be16;
    margin: 0 auto;
    transition: background 0.25s linear;
    -webkit-transition: background 0.25s linear;
    z-index: 2;
}

.pg_ot .is-incomplete{
    display: block;
    position: relative;
    height: 30px;
    width: 30px;
    margin: 0 auto;
    z-index: 2;
}
.pg_ot .is-incomplete:after{
  display: block;
  position: absolute;
  content: "\f4de";
  font-size: 16px;
  color: red;
  font-family: 'Font Awesome\ 5 Free';
  font-weight: 900;
  top: 6px;
  left: 6px;
  transform: scaleX(-1);
}
.pg_ot .is-pickup{
    display: block;
    position: relative;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    margin: 0 auto;
    color: #fff;
    z-index: 2;
    border-color: #000;
    border-width: 0px;
    background-color: #2C6FC3;
}
.pg_ot .is-pickup:after {
    display: block;
    position: absolute;
	content: "\f554";
	font-size: 16px;
	font-family: 'Font Awesome\ 5 Free';
    font-weight: 900;
	top: 6px;
    left: 10px;
}
.pg_ot .is-en-route{
    display: block;
    position: relative;
    height: 40px;
    width: 30px;
    margin: 0 auto;
    z-index: 2;
	border-top: 1px dashed #ccc;
	border-bottom: 1px dashed #ccc;
	margin-bottom: -10px;
}
.pg_ot .is-en-route:after {
    display: block;
    position: absolute;
	content: "\f48b";
	font-size: 16px;
	color: #27aa80;
	font-family: 'Font Awesome\ 5 Free';
    font-weight: 900;
	top: 6px;
    left: 6px;
	animation: truck-move 4s ease infinite;
}

.ccar0,.ccar1,.ccar2,.ccar3,.ccar4 {
	display: block;
	opacity: 0;
	position: absolute;
	opacity: 0;
	height: 30px;
	width: 30px;
	z-index: 1;
	right: -45px;
	bottom: 9px;
	animation: ccar-move 4s linear infinite;
}

.ccar0:after,.ccar1:after,.ccar2:after,.ccar3:after, .ccar4:after {
	font-family: 'Font Awesome\ 5 Free';
	font-weight: 900;
	-webkit-transform: scaleX(-1);
	transform: scaleX(-1);

}

.car0,.car1,.car2,.car3,.car4,.car5 {
	display: block;
	opacity: 0;
	position: absolute;
	opacity: 0;
	height: 30px;
	width: 30px;
	z-index: 3;
	right: -45px;
	top: 16px;
	animation: car-move 4s linear infinite;
}

.car0:after,.car1:after,.car2:after,.car3:after,.car4:after,.car5:after {
	font-family: 'Font Awesome\ 5 Free';
	font-weight: 900;
}
.car0:after,.ccar0:after {
	content: "\f5e4";
	font-size:14px;
}

.car1:after,.ccar1:after {
	content: "\f5b6";
	font-size: 16px;
}

.car2:after,.ccar2:after {
	content: "\f63c";
	font-size:14px;
}

.car3:after,.ccar3:after {
	content: "\f63b";
	font-size:14px;
}

.car4:after {
	content: "\f722";
	font-size:14px;
}

.car5:after,.ccar4:after {
	content: "\f0d1";
	font-size:16px;
}
.pg_ot .is-processing{
    display: block;
    position: relative;
    height: 30px;
    width: 30px;
    margin: 0 auto;
    z-index: 2;
}
.pg_ot .is-processing:after {
    display: block;
    position: absolute;
	content: "\f49e";
	font-size: 16px;
	color: #27aa80;
	font-family: 'Font Awesome\ 5 Free';
    font-weight: 900;
	top: 6px;
    left: 6px;
}

.pg_ot .is-informed{
    display: block;
    position: relative;
    height: 30px;
    width: 30px;
    margin: 0 auto;
    z-index: 2;
}
.pg_ot .is-informed:after {
    display: block;
    position: absolute;
	content: "\f4de";
	font-size: 16px;
	color: #27aa80;
	font-family: 'Font Awesome\ 5 Free';
    font-weight: 900;
	top: 6px;
    left: 6px;
}
.pg_ot .is-vbe:after {
	content: "\f0d1";
	animation: truck-move-slow 4s ease infinite;
}
.pg_ot .is-complete:after {
    display: block;
    position: absolute;
    content: '';
    height: 14px;
    width: 7px;
    top: -2px;
    bottom: 0;
    left: 5px;
    margin: auto 0;
    border: 0px solid #AFAFAF;
    border-width: 0px 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}
.pg_ot.completed .is-complete{
    border-color: #27aa80;
    border-width: 0px;
    background-color: #27aa80;
}
.pg_ot.completed .is-complete:after {
    border-color: #fff;
    border-width: 0px 3px 3px 0;
    width: 7px;
    left: 11px;
    opacity: 1;
}
.pg_ot p {
    color: #A4A4A4;
    font-size: 16px;
    margin-top: 8px;
    margin-bottom: 0;
    line-height: 20px;
}
.pg_ot p span{font-size: 14px;}
.pg_ot.completed p{color: #000;}
.pg_ot::before {
    content: '';
    display: block;
    width: calc(100% - 40px);
    height: 1px;
	border-top: 5px dotted #f7be16;
    top: 13px;
    position: absolute;
    left: calc(-50% + 20px);
    z-index: 3;
}
.pg_ot:first-child:before{display: none;}
.pg_ot.completed:before{ 
	background-color: #27aa80; 
	border-bottom: 2px solid #27aa80;
	border-top: 2px solid #27aa80;
	border-radius: 2px;
	z-index: 3;
}

@media only screen and (max-width: 500px) {

	.on-road .is-en-route {
		margin: 0;
		float: left;
	}
	.pg-tr {
		flex-direction: column;
	}
	.pg-tb .pg-tr {
		padding-left: 20px;
	}
	.pg_ot {
		width: 100%;
		height: 80px;
		text-align: left;
	}

	.pg_ot > span {
		margin-top: 5px !important;
		float: left;
	}
	.pg_ot p {
		float:left;
	    margin-left: 30px !important;
		width: calc(100% - 80px);
		margin-top: 10px !important;
	}
	.pg_ot p br {
		display: none;
	}
	.left {
		float: left !important;
	}
	.keep_br {
	    float: left;
		display: unset;
	}
	.pg_ot p span {
		display: block;
		float: right;
		clear: both;
    }

	.pg_ot::before {
		width: 1px;
		height: 30px;
		border-top: 0;
		border-bottom: 0;
		border-left: 5px dotted #f7be16;
		left: 12px;
		top: -35px;
	}

	.pg_ot.completed::before {
		border-bottom: 0;
		border-top: 0;
		border-left: 2px solid #27aa80;
		border-right: 2px solid #27aa80;
	}
}

@keyframes truck-move-slow {
	0% { transform: translateY(8px) }
	5% { transform: translateY(7px) }
	10% { transform: translateY(8px) }
	15% { transform: translateY(7px) }
	20% { transform: translateY(8px) }
	25% { transform: translateY(7px) }
	30% { transform: translateY(8px) }
	35% { transform: translateY(7px) }
	40% { transform: translateY(8px) }
	45% { transform: translateY(7px) }
	50% { transform: translateY(8px) }
	55% { transform: translateY(7px) }
	60% { transform: translateY(8px) }
	65% { transform: translateY(7px) }
	70% { transform: translateY(8px) }
	75% { transform: translateY(7px) }
	80% { transform: translateY(8px) }
	85% { transform: translateY(7px) }
	90% { transform: translateY(8px) }
	95% { transform: translateY(7px) }
	100% { transform: translateY(8px) }
}

@keyframes truck-move {
	0% { transform: translateY(8px) }
	7.5% { transform: translateY(8px) }
	25% { transform: translateY(-7px) }
	35% { transform: translateY(-7px) }
	47.5% { transform: translateY(8px) }
	55% { transform: translateY(7px) }
	60% { transform: translateY(8px) }
	65% { transform: translateY(7px) }
	70% { transform: translateY(8px) }
	75% { transform: translateY(7px) }
	80% { transform: translateY(8px) }
	85% { transform: translateY(7px) }
	90% { transform: translateY(8px) }
	95% { transform: translateY(7px) }
	100% { transform: translateY(8px) }
}

@keyframes car-move {
	0% { transform: translateX(0px); opacity:0 }
	15% {opacity: 1}
	30% {opacity: 1}
	45% {opacity: 0}
	100% { transform: translateX(-180px); opacity:0 }
}
@keyframes ccar-move {
	0% { transform: scaleX(-1) translateX(-180px); opacity:0; }
	50% {opacity: 0}
	55% {opacity: 1}
	65% {opacity: 1}
	75% {opacity: 0}
	100% { transform: scaleX(-1) translateX(180px); opacity:0 }
}

.pg_spi_div {
    width: 100%;
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
}
.pg_spi_div div {
    padding-left: 5px;
    padding-right: 5px;
    flex: auto;
}

table.sp_open_hours {
    display: table;
    width: fit-content;
    margin: 0px;
}
table.sp_open_hours td {
    margin-top: 0;
    padding: 5px;
	background: transparent;
}
