/*-------------------*\
    MILEAGE-TRACKER
\*-------------------*/

:root{
	--custom-primary-color: #00606d;

	--custom-maincolor1: #f15423;
	--custom-maincolor2: #fcda01;
	--custom-maincolor3: #38cbc9;

	--custom-btn-color1: #ffda00;
	--custom-btn-color1before: #ffa400;

	--custom-btn-color2: #f88d2a;
	--custom-btn-color2before: #ea570c;

	--custom-btn-color3: #62cbc9;
	--custom-btn-color3before: #29a8aa;
}

/********************************************************************************************************/

/*-------------------*\
    MILEAGE-TRACKER
\*-------------------*/

.page-id-113062 section.fusion-page-title-bar.fusion-tb-page-title-bar {
    display: none;
}

html:not(.avada-has-site-width-percent) .page-id-113062 #main{
	padding-bottom: 0;
	padding-top: 0;
}

.mileage_tracker_wrap {
    display: flex;
    flex-wrap: wrap;
	padding: 50px 0;
}

.mileage_tracker_wrap:after{
	background: url(../img/AMR_shoe.png) no-repeat scroll center/cover ;
	bottom: 0;
    content: '';
    height: 304px;
    position: absolute;
    right: -50px;
    width: 400px;
}

.mileage_active_group{
	text-align: center;
	width: 100%;
}

.mileage_active_group h3 {
    color: #ffffff !important;
    font-weight: 700 !important;
    margin: 20px 0 50px;
}

.mileage_record_wrap {
	overflow-x: auto;
	position: relative;
    width: 80%;
	z-index: 1;
}

.mileage_actions {
	padding-left: 20px;
	position: relative;
    width: 20%;
	z-index: 1;
}

.mileage_actions > a{
    align-items: center;
	border-radius: 0 100px 100px 0;
    color: #ffffff !important;
    display: flex;
	font-family: var(--h1_typography-font-family);
	font-size: 20px;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 25px;
    max-width: 250px;
    min-height: 60px;
	overflow: hidden;
    padding: 0px 40px 0px 80px;
	position: relative;
}

.mileage_actions > a span{
	display: inline-block;
	position: relative;
    z-index: 1;
}

.mileage_actions > a:before{
	bottom: 0;
	content: '';
	left: 0;
	position: absolute;
	top: 0;
	width: 60px;
	transition: all 0.3s ease;
}

.mileage_actions > a:after{
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	content: '';
	height: 40px;
	left: 10px;
	position: absolute;
	top: 10px;
	width: 40px;
}

.mileage_actions > a:hover:before{
	width: 100%;
}

.mileage_actions > .amr_add_activity,
.mileage_actions > .amr_miles_converter{
	background: var(--custom-btn-color1);
}

.mileage_actions > .amr_add_activity:before,
.mileage_actions > .amr_miles_converter:before{
	background: var(--custom-btn-color1before);
}

.mileage_actions > .amr_add_activity:after{
	background-image: url(../img/AMR_plus.png);
}

.mileage_actions > .amr_miles_converter:after{
	background-image: url(../img/AMR_calculator.png);
}

.mileage_actions > .amr_view_activites{
	background: var(--custom-btn-color2);
}

.mileage_actions > .amr_view_activites:before{
	background: var(--custom-btn-color2before);
}

.mileage_actions > .amr_view_activites:after{
	background-image: url(../img/AMR_search.png);	
    width: 38px;
}

.mileage_actions > .amr_switch_group{
	background: var(--custom-btn-color3);
}

.mileage_actions > .amr_switch_group:before{
	background: var(--custom-btn-color3before);
}

.mileage_actions > .amr_switch_group:after{
	background-image: url(../img/AMR_switch.png);
}

.mileage_pagination {
    border: 3px solid #ffffff;	
    border-radius: 100px;
	display: flex;
    margin-top: 30px;	
    overflow-y: auto;
    position: relative;
    z-index: 1;
}

.mileage_pagination a {	
	color: #ffffff;
    display: inline-block;
	font-weight: 500;
    padding: 10px 20px;
    text-align: center;
}

.mileage_pagination a.prev {	
    padding-left: 30px;
}

.mileage_pagination a.next {	
    padding-right: 30px;
}

.mileage_pagination a:hover{
	color: var(--custom-btn-color2);
}

.mileage_pagination a.active{
	background: var(--custom-btn-color2);
	color: #ffffff;
}

/*--------------------------------------------------------------
 * ## TB_MILEAGE-RECORD
 *--------------------------------------------------------------
*/

table.tb_mileage_record {
    background: #fffbe5;
    border-top: 10px solid var(--custom-maincolor1);
	font-family: var(--h1_typography-font-family);
	width: 100%;
}

table.tb_mileage_record th:first-child, 
table.tb_mileage_record th:last-child,
table.tb_mileage_record td:first-child .tlabel, 
table.tb_mileage_record td:last-child .tlabel{
    background: var(--custom-maincolor3);
    color: #ffffff;
    text-transform: uppercase;
}

table.tb_mileage_record th,
table.tb_mileage_record td .tlabel {
    background: var(--custom-maincolor2);
    border-left: 1px solid #ffffff;
    color: var(--custom-maincolor1);
    font-size: 16px;
    font-weight: 700;
    padding: 10px;
	text-align: center;
    text-transform: uppercase;
}

table.tb_mileage_record th:first-child, 
table.tb_mileage_record th:first-child + th, 
table.tb_mileage_record th:last-child {
    border-left: none;
}

table.tb_mileage_record tr td:first-child,
table.tb_mileage_record tr td:last-child{
	background: #d7f5f4 !important;
	color: var(--custom-maincolor3);	
    font-size: 18px;
	font-weight: 500;
}

table.tb_mileage_record tr td{
	border-bottom: 1px solid #ffffff;
	color: var(--custom-maincolor1);
    font-size: 16px;
    font-weight: 400;
    padding: 10px;
	text-align: center;
}

table.tb_mileage_record tr:last-child td{
	border-bottom: none;
}

table.tb_mileage_record tr td:first-child ~ td:nth-of-type(2n+1){
	background: #fff4b2;
}

table.tb_mileage_record tr td:first-child a{
	color: inherit;
}

table.tb_mileage_record tr td:first-child a:hover{
	color: var(--custom-primary-color);
}

table.tb_mileage_record tr td .tlabel{
	display: none;
}

/*--------------------------------------------------------------
 * ## AMR_POPUP_WRAP
 *--------------------------------------------------------------
*/

.amr_popup_wrap {
    background: rgba(0, 96, 109, 0.9);
	bottom: 0;
	left: 0;
	overflow-y: auto;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 100000;
}
  
.amr_popup_wrap .amr_popup_inner{
	max-width: 600px;
    margin: 120px auto 50px;
	position: relative;
}

.amr_popup_content {
	background: #ffffff;
	border-top: 15px solid var(--custom-btn-color1);
	padding: 80px 50px 50px;
	position: relative;
}

.amr_popup_content:before{
	background: url(../img/AMR_PopupHeaderImage.png) no-repeat scroll center/cover;
	content: '';
    height: 135px;
	left: calc(50% - 110px);
    position: absolute;
    top: -80px;
    width: 220px;
}

.amr_popup_close {
	background: url(../img/AMR_PopupClose.png) no-repeat scroll center/cover;
	height: 50px;
	position: absolute;
	right: -25px;
	top: -25px;
	width: 50px;
	z-index: 1;
}

.amr_popup_wrap h2 {
	color: var(--custom-maincolor3);
	font-size: 80px;
	font-weight: 700;
	letter-spacing: 2px;
	margin-bottom: 20px;
	text-align: center;
	text-transform: uppercase;
}

.amr_popup_wrap form .amr-field-wrap{
	margin-bottom: 20px;
	position: relative;
}

.amr_popup_wrap form .amr-date-wrap{
	padding-right: 45px;
}

.amr_popup_wrap form .amr-date-wrap:after{
	background: url(../img/AMR_calendar.png) no-repeat scroll center/cover #ffffff;
	content: '';
	height: 41px;
    position: absolute;
    right: 0px;
    top: 40px;
    width: 34px;
}

.amr_popup_wrap form label{
	color: var(--custom-primary-color);
	display: block;
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 10px;
}

.amr_popup_wrap form .amr-field,
.amr_popup_wrap form .customStyleSelectBox{
	background-color: #d9f3f2;
	border-radius: 0;
	border: none;
	color: var(--custom-primary-color);
    font-size: 18px;
    font-weight: 700;
	height: 50px;
	line-height: normal;
	padding: 15px;
	width: 100%;
}

.amr_popup_wrap form .select-wrap{
	position: relative;
}

.amr_popup_wrap form select.amr-field{
	font-size: 18px !important;
    height: 50px !important;
	z-index: 1;
}

.amr_popup_wrap form select + .customStyleSelectBox:after{
	background: url(../img/AMR_select.jpg) no-repeat scroll center/cover;
	content:'';
	height: 50px;
	position: absolute;
	right: 0;
	top: 0;
	width: 50px;
}

.amr_popup_wrap form .customStyleSelectBoxInner {
    width: 100% !important;
}

.amr_popup_wrap form textarea.amr-field{
	height: 140px;
	width: 100% !important;
}

.amr_popup_wrap form input[type="submit"],
.amr-btn{
	background: var(--custom-btn-color1);
	border: none;
	border-radius: 0 100px 100px 0;
	box-shadow: none;
	color: var(--custom-maincolor1);
	display: inline-block;
	cursor: pointer;
	font-size: 20px;
	font-weight: 700;
	padding: 15px 40px 15px 30px;
	text-transform: uppercase;
}

.amr_popup_wrap form input[type="submit"]:hover,
.amr-btn:hover{
	background: var(--custom-maincolor1);
	color: #ffffff;
}

.success-msg,
.error-msg{
    color: var(--custom-maincolor3);
    margin: 30px 0;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.success-msg span.selected{
	color: var(--custom-maincolor1);
	font-size: 40px;
    display: block;
}

.error-msg{
    color: var(--custom-maincolor1);
}

.notice {
    align-items: center;
    display: flex;
	max-width: 750px;
    margin: 0 auto 50px;
    padding-left: 120px;
    position: relative;
    overflow: hidden;
    min-height: 150px;
    width: auto;
}

.notice:before {
    background: #fcda01;
    border-radius: 100%;
    color: var(--custom-primary-color) !important;
    content: '\f5a2';
    font-family: "Font Awesome 5 Free";
    font-size: 70px;
    font-weight: 900;
    height: 110px;
    line-height: 120px;
    left: 20px;
    position: absolute;	
    text-align: center;
    top: 20px;
    width: 110px;
    z-index: 1;
}

.notice:after {
    background: var(--custom-maincolor1);
    border-radius: 100%;
    content: '';
    height: 150px;
    left: 0;
    line-height: 150px;
    position: absolute;
    top: 0;
    width: 150px;
}

.notice > h3{
	background: #ffffff;
    color: var(--custom-primary-color) !important;
    font-family: var(--h3_typography-font-family) !important;
    font-size: 24px !important;
    font-weight: 700 !important;
	line-height: 1.5;
    margin: 0 !important;
    padding: 20px 50px;
}

/*--------------------------------------------------------------
 * ## AMR_LOADER_OVERLAY
 *--------------------------------------------------------------
*/

.amr_loader_overlay{
    min-height: 250px;
	overflow: hidden;
	position: relative;
}

.amr_loader_overlay:after{
	background: url(../img/AMR_loadergif.gif) no-repeat scroll center/cover;
	content: '';
	height: 100px;
	left: 50%;
	position: absolute;
	top: 50%;
	width: 100px;
	transform: translate(-50%, -50%);
}

/*--------------------------------------------------------------
 * ## PROFILE-WRAP
 *--------------------------------------------------------------
*/

.profile-wrap .profile-info{
    align-items: center;
	display: flex;
    flex-wrap: wrap;
    margin: 20px 0 40px;
}

.profile-wrap .profile-pic{
	background: var(--custom-maincolor3);
    margin: 0;
	width: 30%;
}

.profile-wrap .profile-name{
	font-size: 70px;
    margin: 0;
	padding: 10px 0 10px 20px;
	text-align: left;
	width: 70%;
}

.profile-wrap table{
	width: 100%;
}

.profile-wrap table th,
.profile-wrap table td{    
    font-size: 24px;
	font-weight: 700;
	padding: 10px 20px;
	text-align: left;
}

.profile-wrap table th{
	background: #f89d2a;
	color: #fcda01;
	text-transform: uppercase;
}

.profile-wrap table th+th{
	background: #fcda01;
	color: #f89d2a;
}

.profile-wrap table tbody td{
	background: #c8edec;
	color: var(--custom-primary-color);
}

.profile-wrap table tbody td+td{
	background: #d9f3f2;
}


/*--------------------------------------------------------------
 * ## ALL-ACTIVITIES-LIST
 *--------------------------------------------------------------
*/

.all-activites-wrap{
	margin: 80px 0 50px;
	position: relative;
}

.all-activites-wrap .amr-btn{
	margin-bottom: 30px;
}

@media (min-width: 992px){

	.all-activites-wrap .amr-btn{
		left: 0;
		position: absolute;
		top: 0;
	}
}

ul.all-activities-list {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
	padding: 0;
	position: relative;
}

ul.all-activities-list:before{
    background: var(--custom-btn-color3);
	content: '';
    height: 0;
    left: 10px;
    position: absolute;
    top: 0;
    width: 4px;	
	animation: actListLine 0.9s 1 1s;
    animation-fill-mode: forwards;	
	transition: 2s all ease-in-out;
}

@keyframes actListLine {
    0% {
        height: 0;
    }
    100% {
        height: 100%;
    }
}

ul.all-activities-list li{
	margin-bottom: 20px;
	opacity: 0;
	padding-left: 60px;
	position: relative;
	transition: 2s all ease-in-out;
}

ul.all-activities-list li.show{
	animation: fadeIn 0.9s 1 1.5s;
    animation-fill-mode: forwards;
}


@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.all-activities-list li:before {
	background: var(--custom-btn-color3);
    border-radius: 100px;
    content: '';
    height: 24px;
    left: 0;
    position: absolute;
    top: calc(50% - 12px);
    width: 24px;
}

.all-activities-list li:after {
    border: 4px solid var(--custom-primary-color);
    border-radius: 100px;
    content: '';
    height: 10px;
    left: 3px;
    position: absolute;
    top: calc(50% - 9px);
    width: 10px;
}

ul.all-activities-list .activity-inner{	
	display: flex;
	flex-wrap: wrap;
	position: relative;
}

ul.all-activities-list .activity-inner:before{
	border-right: 20px solid;
	border-top: 25px solid transparent;
	border-bottom: 25px solid transparent;
	content: '';
	left: -20px;
	position: absolute;
	top: calc(50% - 25px);
}

ul.all-activities-list li:nth-of-type(3n+1) .activity-inner:before{
	border-right-color: #ffd300;
}

ul.all-activities-list li:nth-of-type(3n+2) .activity-inner:before{
	border-right-color: #f89d2a;
}

ul.all-activities-list li:nth-of-type(3n+3) .activity-inner:before{
	border-right-color: #f15423;
}

ul.all-activities-list .activity-content{
	color: #ffffff;
	padding: 25px 30px;
	position: relative;
	width: 75%;
}

ul.all-activities-list li:nth-of-type(3n+1) .activity-content{
    background: #ffd300;
}

ul.all-activities-list li:nth-of-type(3n+2) .activity-content{
    background: #f89d2a;
}

ul.all-activities-list li:nth-of-type(3n+3) .activity-content{
    background: #f15423;
}

ul.all-activities-list .activity-content span {
    display: block;
}

ul.all-activities-list .activity-content .act-date {
    font-weight: 700;
}

ul.all-activities-list .activity-action{
    align-items: center;
	border-radius: 0 100px 100px 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 20px;
	position: relative;
	width: 25%;
}

ul.all-activities-list li:nth-of-type(3n+1) .activity-action{
	background: #ffb400;
}

ul.all-activities-list li:nth-of-type(3n+2) .activity-action{
	background: #f8750f;
}

ul.all-activities-list li:nth-of-type(3n+3) .activity-action{
	background: #d8461d;
}

ul.all-activities-list .activity-action a{
    background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
    display: inline-block;    
	height: 32px;
    width: 45px;
	transition: all 0.3s ease-in-out;
}

ul.all-activities-list .activity-action a:hover{
	transform: scale(1.2);
}

ul.all-activities-list li:nth-of-type(3n+1) .activity-action .amr_edit_activity{
	background-image: url(../img/AMR_edit1.png);
}

ul.all-activities-list li:nth-of-type(3n+1) .activity-action .amr_delete_activity{
	background-image: url(../img/AMR_delete1.png);
}

ul.all-activities-list li:nth-of-type(3n+2) .activity-action .amr_edit_activity{
	background-image: url(../img/AMR_edit2.png);
}

ul.all-activities-list li:nth-of-type(3n+2) .activity-action .amr_delete_activity{
	background-image: url(../img/AMR_delete2.png);
}

ul.all-activities-list li:nth-of-type(3n+3) .activity-action .amr_edit_activity{
	background-image: url(../img/AMR_edit3.png);
}

ul.all-activities-list li:nth-of-type(3n+3) .activity-action .amr_delete_activity{
	background-image: url(../img/AMR_delete3.png);
}


/*--------------------------------------------------------------
 * ## ACCOUNT-PROFILE
 *--------------------------------------------------------------
*/

.woocommerce-form-row label.profile_image{
	display: block;
}

.profile_image_preview {
    background: #eaeaea;
    display: inline-block;
    position: relative;
}

.profile_image_preview img {
	width: 200px;
	height: auto;
}

.profile_image_preview .remove_profile{
    background: var(--link_color);
    color: #ffffff;
	display: block;
    font-family: var(--button_typography-font-family);
    font-size: 16px;
    font-weight: 500;
    padding: 10px;
    text-align: center;
}

.profile_image_preview .remove_profile:hover{
	background: var(--button_gradient_top_color_hover);
}

/********************************************************************************************************/

/*-------------------*\
    RESPONSIVE
\*-------------------*/


@media (max-width: 1024px){

	.mileage_record_wrap{
		width: 66%;
	}

	.mileage_actions{
		width: 30%;
	}

	.mileage_pagination a{
		font-size: 14px;
		padding: 10px 12px;
	}

	.mileage_pagination a.prev{
		padding-left: 20px;
		min-width: 74px;
	}

	.mileage_pagination a.next{		
		padding-right: 20px;
		min-width: 74px;
	}
}


@media (max-width: 767px){

	.mileage_record_wrap,
	.mileage_actions {
		margin-bottom: 20px;
		padding: 0;
		width: 100%;
	}

	table.tb_mileage_record thead{
		display: none;
	}

	table.tb_mileage_record tr{
		border-bottom: 10px solid var(--custom-maincolor1);
		display: block;
	}

	table.tb_mileage_record tr td{
		align-items: center;
		border: none;
		display: flex;
		flex-wrap: wrap;
		padding: 0;
	}

	table.tb_mileage_record tr td .tlabel{
		border-left: none;
		border-bottom: 1px solid #ffffff;
		display: block;
    	font-size: 18px !important;
    	min-width: 45%;
	}

	table.tb_mileage_record tr td .tvalue {
		display: block;
		font-size: 20px;
		font-weight: 500;
		min-width: 55%;
		padding: 10px;
	}

	.notice {
		margin-bottom: 30px;
		padding-left: 0;
		padding-top: 40px;
	}

	.notice:before {
		font-size: 36px;
		height: 60px;
		line-height: 60px;
		left: calc(50% - 30px);
		top: 10px;
		width: 60px;
	}

	.notice:after {
		height: 80px;
		left: calc(50% - 40px);
		line-height: 80px;
		top: 0;
		width: 80px;
	}

	.notice > h3 {
		font-size: 20px !important;
		line-height: 1.3;
		padding: 50px 20px 20px;
		text-align: center;
	}

	.amr_popup_wrap .amr_popup_inner {
		max-width: 80%;
		margin: 80px auto 50px;
	}

	.amr_popup_content{
		padding: 80px 30px 30px;
	}

	.amr_popup_wrap form .col-xs-6{
		float: none;
		width: 100%;
	}

	.all-activites-wrap{
		margin: 50px 0 30px;
	}

	ul.all-activities-list li{
		padding-left: 50px;
	}

	ul.all-activities-list .activity-inner:before {
		border-width: 15px 15px 15px 0;
		left: -15px;
		top: calc(50% - 15px);
	}

	ul.all-activities-list .activity-content{		
		border-radius: 0 10px 0 0;
		padding: 12px;
		width: 100%;
	}

	ul.all-activities-list .activity-action{
		border-radius: 0 0 10px 0;		
		justify-content: flex-start;
		padding: 12px;
		width: 100%;
	}

	.profile-wrap table th, .profile-wrap table td {
		font-size: 18px;
		padding: 10px;
	}
}

/********************************************************************************************************/
.product-template-default.single.single-product button.ui-tm-datepicker-trigger::before{
	border-style: none;
}
.product-template-default.single.single-product #ui-tm-datepicker-div {
    z-index: 11 !important;
}