/* 
	Extra small devices (portrait phones, less than 576px)
*/
/*@media (max-width: 575.98px) {*/



/*
	BUTTONS
*/
.fullwidth-s {
	width: 100%;
}




/* 
	COMMON INPUT ELEMENTS
*/




/* 
	COMMON PAGE ELEMENTS 
*/

/* disable path crumbs as it's only for admin purpose */
header h1 small {
	display: none;
}
/* Make it to look as another button, alignrd to the left */
header input[type=search] { 
	font-size: 16px;
	width: 3.5rem;
	background-position: center center;
	padding-left: 3.5rem;
	margin-left: auto;
	
	flex-grow: 0;
	background-size: 1.3rem 1.3rem;
	background-color: transparent;
	padding-right: unset;
    border-radius: unset;
    font-weight: unset;
}
/* When search is used, hide title and expand text field */
header input[type=search]:not(:placeholder-shown),
header input[type=search]:focus {
	margin-left: 1rem;
	flex-grow: 1;
	border-bottom: thin solid #999;
	background-position: left center;
	padding-left: 1.8rem;
	box-shadow: none;
}
header input[type=search]:not(:placeholder-shown) + h1,
header input[type=search]:focus + h1 {
	display: none;
}
/* disable margin left on nav element because it is already applied to the search button */
header input[type=search] ~ nav {
	margin-left: unset;
}
main {
    padding: 1rem 0.5rem;
}






/* 
	MESSAGES 
*/

.message {
    top: 0;
    left: 0;
    transform: translateX(0);
	padding: 2rem 1rem;
	width: 100%;
}






/*
	MENU DRAWER
*/

#menu-drawer > .inner > .heading {
	/*background-size: 48%;*/
	background-size: 10em;
}






/*
	DATA TABLE
*/

.thetable td > span {
	display: block;
}
.thetable td > span > img:first-child {
	margin-left: 0;
}
.thetable th, .thetable td {
	height: 2.85rem;
}
.icon-action__btn {
	width: 2.5rem;
	height: 2.5rem;
}






/* 
	SUMMARY HEADING TABLE
*/

.summary_table {
	width: 100%;
}
.summary_table input, .summary_table select {
	font-size: 1rem;
	display: block;
	width: 100%;
	margin: 0.5rem 0;
}





/*
	DATE RANGE SELECTION
*/

.date_range__form label {
	width: 100%;
	margin-bottom: 1rem;
}
.date_range__form input:first-of-type {
	margin-left: 0;
}
.date_range__form select {
	margin-left: 0;
	width: 7em;
}
.date_range__form select + input, .date_range__form select + input + input {
	margin-left: 0.5em !important;
	width: 7em;
}




/*
	TABS BUTTONS
*/

.tabs > button {
	min-width: 3rem;
	padding: 0 1rem 0 0.5rem;
	flex-grow: 1;
}
.tabs > button[data-tab="add"] {
	flex-grow: 0;
}

/*}*/