/*
	Theme Name: Semplice Child Theme
	Description: Child Theme for Semplice
	Author: Semplicelabs
	Template: semplice6
*/

/* Custom CSS Start */

/* Set background color */
body {
	background-color: rgb(246, 246, 246) !important;
}

/* Global */

.content-container .sections {
	padding-top: 4.277777777777778rem;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin-top: 0 !important;
}

.mq-footer {
	margin-top: auto;
}

/* Unselected Menu Items */
li.menu-item:not(.current-menu-item) span {
	border-bottom-width: 0 !important;
	font-weight: 500 !important;
	color: rgb(0, 0, 0) !important;
}

/* Menu styling */
.navbar-inner:after {
	bottom: 0;
	left: 1.6666666666666667rem;
	right: 1.6666666666666667rem;
	position: absolute;
	height: 2px;
	display: block;
	background: rgb(0, 0, 0);
	content: '';
}

/* Upcoming */
#mq-upcoming {
	margin-top: 2.778rem;
}

#mq-upcoming.mq-upcoming-container > h2 {
	font-size: 0.889rem;
	font-weight: 700;
	margin: 0 1.666666666666667rem 0.611rem;
}

.mq-inactive .apg-table-link {
	cursor: default !important;
}

/* Work Grid */
.apg-post-table {
	margin: 0 1.666666666666667rem;
}

.apg-table-link {
	padding-left: 0 !important;
	padding-right: 0 !important;
	border-color: rgb(0, 0, 0) !important;
}

.apg-table-link .title svg {
	transform: translate(6px, 2px);
	display: inline;
	position: absolute;
}

@media screen and (max-width: 991px) {
	
	.apg-table .apg-table-link {
		
		display: flex !important;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: normal;
		align-items: normal;
		align-content: normal;
	}
	
		.apg-table .table-column-title {
			flex-grow: 1;
			flex-shrink: 0;
			flex-basis: auto;
			align-self: auto;
			order: 0;
			width: 100%;
		}
		
		.apg-table .table-column-type,
		.apg-table .table-column-client,
		.apg-table .table-column-date {			
		  flex-grow: 1;
		  flex-shrink: 1;
		  flex-basis: auto;
		  align-self: auto;
		  order: 0;
		  width: calc(100% / 12 * 5);
		}
	
		.apg-table .table-column-date {
			width: calc(100% / 12 * 2);

		}
}

@media screen and (max-width: 543.98px) {
	
	.apg-table .table-column-date {
		
		text-align: right;
	}
}

/* Filtering */
.mq-filter-bar {
	list-style: none;
	margin: 0;
	padding: 0;
	margin: 2.778rem 1.666666666666667rem 0.611rem;
}

.mq-filter-bar li {
	display: inline;
	margin-right: 1.111rem;
}

	.mq-filter-bar a {
		font-size: 0.889rem;
		font-weight: 500;
		color: rgb(0, 0, 0);
		white-space: nowrap;
	}
	
		.mq-filter-bar a.mq-filter-selected {
			border-bottom-width: 0.1111111111111111rem;
			border-color: rgb(0 ,0 ,0);
			border-style: solid;
			font-weight: 700;
		}
		
.apg-post.hide-project {
	display: none;
}

/* Project Detail */


@media screen and (min-width: 991px) {

	.mq-grid .column.mq-col-1 {
		width: calc(100% / 5 * 1);
		max-width: calc(100% / 5 * 1);
		flex: 0 0 auto;
		flex-basis: calc(100% / 5 * 1);	
	}
	
	.mq-grid .column.mq-col-2 {
		width: calc(100% / 5 * 2);
		max-width: calc(100% / 5 * 2);
		flex: 0 0 auto;
		flex-basis: calc(100% / 5 * 2);	
	}
	
	.mq-grid .column.mq-col-3 {
		width: calc(100% / 5 * 3);
		max-width: calc(100% / 5 * 3);
		flex: 0 0 auto;
		flex-basis: calc(100% / 5 * 3);	
	}
	
	.mq-grid .column.mq-col-4 {
		width: calc(100% / 5 * 4);
		max-width: calc(100% / 5 * 4);
		flex: 0 0 auto;
		flex-basis: calc(100% / 5 * 4);	
	}
	
	.mq-grid .column.mq-col-5 {
		width: calc(100% / 5 * 5);
		max-width: calc(100% / 5 * 5);
		flex: 0 0 auto;
		flex-basis: calc(100% / 5 * 5);	
	}
	
	.mq-grid .column.mq-offset-1 {
		margin-left: calc(100% / 5 * 1);
	}
	
}

@media screen and (max-width: 991.98px) {
	.mq-grid .container {
		padding: 0 1.66667rem;
	}
}

/* Bio */

#content-holder .mq-bio {
	
	padding-top: 3em;
	
	.column-content {
		margin-bottom: 2em;
	}
	
	h2 {
		margin-bottom: 0.4em;
		padding-top: 0.4em;
		border-top: 1px solid black;
		
		&:first-child {
			border: none;
		}
	}
	
	h3 {
		font-size: 16px;
		margin-bottom: 0.4em;
	}
	
	ul {
		list-style: none;
		margin: 0 0 1em;
	
		li {
			font-size: 16px;
		}
	}
	
	.column:first-child {
		padding-left: 0;
	}
	
	.column:last-child {
		padding-right: 0;
	}
}

@media screen and (max-width: 991px) {
	
	#content-holder .mq-bio {
		padding-left: 1.66667rem;
		padding-right: 1.66667rem;
	
		.container {
			padding-left: 0;
			padding-right: 0;
		}
	}
}

@media screen and (max-width: 767px) {

	#content-holder .mq-bio .column {
		padding-left: 0;
		padding-right: 0;
	}
}

/* Custom CSS End */