.d-none {
	display: none;
}

.sa-is-mobile {
	display: none;
}

.entry-content .history-page-table ul {
	padding: 0 0 0 1rem ;
}

@media screen and (max-width: 980px) {
	.sa-is-mobile {
		display: flex;
	}

	.sa-is-desktop {
		display: none;
	}

	.history-container-div {
		display: block !important;
	}
}

.history-page-header {
	background: #f8f8f8;
}

.history-page-table {
	border-right: none !important;
	border-left: none !important;
}

.history-page-table th {
	color: #000 !important;
	font-weight: 500;
	font-size: 14px;
}

.history-page-table td {
	color: #000 !important;
	font-weight: 400;
	font-size: 14px;
	vertical-align: initial;
}

.history-svg svg {
	width: 31px;
	height: 31px;
	border: 0.3px solid rgba(148, 148, 148, 0.6);
	background: #F6F6F6;
	padding: 3px
}

.history-container-div {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.history-div-arrows {
	display: flex;
	justify-content: space-between;
	width: 80px;
	margin-left: 25px;
}

.history-container-div select {
	height: 31px;
	background: #F6F6F6;
	min-width: 40px;
	margin-left: 10px;
}

.history-divider {
	height: 31px;
	width: 3px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	background: #F6F6F6;
}

.history-page-loader {
	height: 60vh;
}

.history-page-loader .spinner {
	height: 50px;
	width: 50px;
	border: solid 4px #404040;
	border-top: solid 4px transparent;
	border-radius: 100%;
	animation: spin 1s infinite linear;
	box-sizing: border-box;
	margin: auto;
	margin-top: 30px;
}

@keyframes spin {
	0% {
		transform: rotate(0);
	}

	100% {
		transform: rotate(360deg);
	}
}

.history-empty-table {
	text-align: center;
}

#main-content .sa-is-mobile td, #main-content .sa-is-mobile th  {
	border: unset;
	padding: 5px;
	font-size: 12px;
}

#main-content tr {
	transition: background-color 1s ease-in-out;
}

#main-content tr.sa-is-mobile  {
	padding: 0 0rem 0 1rem;
}

#main-content .sa-is-mobile th {
	min-width: 40%;
	max-width: 300px;
	font-weight: 500;
}

#main-content tr.sa-is-mobile.top {	
	border-top: 1px solid #eee;
	padding-top: 5px;
	margin-top: 5px;
}

#main-content .sa-is-mobile.top:nth-child(3) {
	border-top: 0px solid #eee;
	margin-top: 0rem;
}

#main-content .sa-is-mobile.bottom {
	border-bottom: solid 1px rgba(0, 0, 0, 0.05);
	padding-bottom: 16px;
}

.history-page-filters {
	margin: 30px auto 20px auto;
	display: flex;
	justify-content: flex-end;
	max-width: 1080px;
	transition: linear height .3s;
	flex-flow: row wrap;
}


.history-page-filters label {
	color: #000;
	font-weight: 500;
	white-space: nowrap;
}

.history-page-filters .filter-field-div {
	margin-top: 10px;
}

#main-content .reset-btn, .show-filters-btn {
	margin-top: 1rem;
}

#main-content .reset-btn .i-btn__text{
	padding: 0.75rem 1.25rem;
}

.history-filter-arrow-up .i-btn__arrow, 
#main-content .i-btn:hover .history-filter-arrow-up .i-btn__arrow,
#main-content .i-btn:focus .history-filter-arrow-up .i-btn__arrow {
	transform: rotate(-90deg) translate(5px,0px);
}

.history-filter-arrow-down .i-btn__arrow,
#main-content .i-btn:hover .history-filter-arrow-down .i-btn__arrow,
#main-content .i-btn:focus .history-filter-arrow-down .i-btn__arrow {
	transform: rotate(90deg) translate(-5px,0px);
}

#main-content .reset-btn .i-btn__text{
	padding: 0.75rem 1.25rem;
}

.reset-btn {
	transition: all .5s;
}

.reset-btn:hover {
	background-color: #004d81;
}

.reset-btn-div {
	display: flex;
	align-items: end;
}

#main-content .sa-filter-group {
	display: flex;
	margin-left: 25px;
	margin-bottom: .5rem;
}

.sa-filter-group > div, .sa-last-filter > div {
	margin-right: 25px;
}

.sa-filter-group > div:last-child, .sa-last-filter > div:last-child {
	margin-right: 0;
}

.date-time-div .input-icon, .service-filter-inner .input-icon {
	position: relative;
	width: 155px;
}

.type-filter-inner .input-icon {
	position: relative;
	width: 100px;
}

.date-time-div .time-div .input-icon {
	width: 100px;
}

.date-time-div .input-icon span {
	position: absolute;
}

.datetimepicker,
.timepicker, 
.service-filter-field,
.type-filter-field {
	width: 100%;
	background: #f6f6f6 !important;
	border: 0.3px solid rgba(148, 148, 148, 0.6);
	height: 50px;
	padding-left: 10px !important;
}


.date-time-div .icon {
	margin-left: -30px;
	margin-top: 14px;
}

.datetimepicker::placeholder {
	padding-left: 10px;
}

.date-time-div .input-icon .timepicker-input {
	border: 0.3px solid rgba(148, 148, 148, 0.6);
}

.date-time-div {
	display: flex;
	margin-left: 25px;
}

.sa-last-filter {
	display: flex; 
}

@media screen and (max-width: 980px) {
	
	.history-page-filters {
		display: inline-block;
		overflow: hidden;
		text-align:center;
		width:calc( 100% + 24px );
		transform: translateX(-12px)
	}

	#main-content .sa-filter-group {
		width: calc( 50% - 1.75px );
		margin: 0;
		padding: 12px;
		display: inline-block;
		box-sizing: border-box;
		text-align:left;
	}
	
	#main-content .sa-filter-group.type-filter {
		width: 100%;
	}

	#main-content .date-time-div.sa-filter-group {
		width: auto;
		display: flex;	
	}

	#main-content .sa-filter-group.sa-last-filter {
		width: 100%;
		display: inline-block;		
	}

	.date-time-div {
		justify-content: unset;
	}

	.date-time-div.sa-filter-group > div {
		width: 50%;
	}

	.date-time-div.sa-filter-group > div:nth-child(odd) {
		margin-right: 25px !important;
		width: 50%;
	}

	.datetimepicker,
	.timepicker,
	.service-filter-field,
	.type-filter-field {
		height: 40px
	}

	.reset-btn-div, .show-filters-btn-div {
		justify-content: right;
	}
	
	#main-content .reset-btn{
		margin-top: 0;
	}

	.date-time-div .icon {
		margin-left: -25px;
		margin-top: 10px;
	}

	.history-page-loader .spinner {
		height: 30px;
		width: 30px;
		border: solid 3px #404040;
		border-top: solid 3px transparent;
	}
	
	.history-page-filters > div {
		margin-right: 0px;
		margin-top: 15px;

	}

	.filter-field-div {
		width: 100% !important;
	}

	.sa-last-filter {
		display: block;
	}

	.results-div {
		margin-right: 0 !important;
		margin-bottom: 15px;
	}
}

.hp-subservices {
	list-style-type: circle !important;
}

/* Confirm box */
.jconfirm-box {
	min-width: 300px;
}

/* Cancel button */
#main-content button.sa_cancel_log_event {
	background-color: #c0392b;
	color: #fff;
	box-shadow: none;
	cursor: pointer;
	border: none;
	padding: 5px;
	border-radius: 3px;
	transition: all 0.2s;
	vertical-align: text-top;
}

#main-content button.sa_cancel_log_event:hover {
	background-color: #a93226;
}

#main-content button.sa_cancel_log_event:active {
	transform: translateY(2px);
}