/*
 ************************************************************
 *
 * MODULE
 *
 ************************************************************
 * ----------------------------------------------------------
 *
 * GLOBAL
 *
 * ----------------------------------------------------------
 *
 * - BASE
 */

#top .module,
#top .module .item,
#top .module .head,
#top .module .data,
#top .module .title,
#top .module .title a
{
	display: flex;
	flex-direction: column;
}

/*
 * ----------------------------------------------------------
 *
 * MODULE: GRID
 *
 * ----------------------------------------------------------
 *
 * - WRAP
 */

#top .module-grid
{
	grid-gap: 40px;
}

#top .module-grid .items
{
	display: grid;
	width: 100%;
}

#top .module-grid .head,
#top .module-grid .data,
#top .module-grid .meta
{
	grid-gap: 12px;
}

#top .module-grid .data
{
	flex-grow: 1;
}

/*
 * - COLS
 */

#top .module-grid .items
{
	margin: 0 auto;
}

#top .module-grid .cols-1
{
	grid-template-columns: repeat(1, minmax(0, 1fr));
	grid-gap: 40px;
	max-width: 480px;
}
#top .module-grid .cols-2
{
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-gap: 40px;
	max-width: 960px;
}
#top .module-grid .cols-3
{
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-gap: 30px;
}
#top .module-grid .cols-4
{
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-gap: 20px;
}
#top .module-grid .cols-5
{
	grid-template-columns: repeat(5, minmax(0, 1fr));
	grid-gap: 16px;
}

@media only screen and (max-width: 1024px)
{
	.responsive #top .module-grid .cols-4
	{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media only screen and (max-width: 1279px)
{
	.responsive #top .module-grid .items,
	.responsive #top .module-grid .items + .pagination
	{
		max-width: 960px;
		margin: 0 auto;
	}
	.responsive #top .module-grid .items
	{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media only screen and (max-width: 989px)
{
	.responsive #top .module-grid .items,
	.responsive #top .module-grid .items + .pagination
	{
		max-width: 640px;
	}
	.responsive #top .module-grid .items
	{
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}
}

/*
 * - THUMB
 */

#top .module-grid .thumb
{
	position: relative;
}

#top .module-grid .thumb::before
{
	content: '';
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	z-index: 1;
	opacity: 0.05;
	background-color: var(--color-black);
}

#top .module-grid .item:hover .thumb::before
{
	width: 0;
}

/*
 * - TITLE
 */

#top .module-grid .title,
#top .module-grid .title a
{
	flex-grow: 1;
	justify-content: center;
}

#top .module-grid .title
{
	line-height: 1.3em;
	font-weight: 700;
	font-size: 18px;
}

#top .module-grid .title .date
{
	font-weight: 400;
	font-size: 15px;
}

#top .module-grid .excerpt
{
	margin-top: 20px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

#top .module-grid .title a
{
	grid-gap: 8px;
	padding: 30px 20px;
}

@media only screen and (max-width: 767px)
{
	.responsive #top .module-grid .title a
	{
		padding: 40px 20px;
	}
}

#top .module-grid .title .date
{
	color: var(--color-gray);
}

#top .module-grid .title a
{
	background-color: var(--color-white);
	color: var(--color-cvi-1);
}

#top .main_color .module-grid .title a
{
	background-color: rgba(249, 249, 253, 0.2);
	color: var(--color-cvi-1);
}

#top .main_color .item:hover .title a
{
	background-color: rgba(249, 249, 253, 0.6);
}

#top .alternate_color .title a
{
	background-color: rgba(255, 255, 255, 0.5);
}

#top .alternate_color .item:hover .title a
{
	background-color: var(--color-white);
}

#top .module-grid .item:hover .title a span:not(.date):not(.excerpt)
{
	color: var(--color-cvi-3);
}

/*
 * - ITEM
 */

#top .module-grid .item
{
	box-shadow: 0px 1px 2px 0px rgba(52, 43, 96, 0.1);
}

/*
 * - ITEM > SMALL
 */

#top .module-grid .item.small
{
	flex-direction: row;
	align-items: center;
}

#top .module-grid .item.small .head
{
	width: 120px;
	height: 120px;
}

#top .module-grid .item.small .data
{
	width: calc(100% - 120px);
	height: 120px;
}

#top .module-grid .item.small .title
{
	font-size: 16px;
}

#top .module-grid .item.small .title a
{
	padding: 20px;
}

#top .module-grid .item.small .title .date
{
	display: none;
}

#top .module-grid .item.small .title span
{
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}



/*
 * - ITEM > FIRST
 */

#top .module-grid .item.first .title span
{
	max-width: 640px;
}

#top .module-grid .item.first .excerpt
{
	padding-left: 20px;
	line-height: 1.4;
	font-weight: 300;
	font-size: 16px;
	border-left: 1px solid var(--color-cvi-1);
	color: var(--color-cvi-1);
}

@media only screen and (min-width: 990px)
{
	.responsive #top .module-grid .item.first
	{
		grid-column: span 2;
		grid-row: span 2;
	}

	.responsive #top .module-grid .item.first .data
	{
		justify-content: center;
	}

	.responsive #top .module-grid .item.first .title
	{
		font-size: 24px;
	}

	.responsive #top .module-grid .item.first .title a
	{
		padding: 40px;
	}
}

/*
 * - RELATED
 */

#top #grid-related .title,
#top #grid-related .title a
{
	justify-content: flex-start;
}

/*
 * ----------------------------------------------------------
 *
 * MODULE: ACCORDION
 *
 * ----------------------------------------------------------
 *
 * - BASE
 */

#top .module-accordion
{
	grid-gap: 40px;
}

#top .module-accordion .items
{
	display: flex;
	flex-direction: column;
	grid-gap: 4px;
}
  
#top .module-accordion .item
{
	grid-gap: 0;
	width: 100%;
}

#top .module-accordion .data
{
	grid-gap: 24px;
}

/*
 * - HEAD
 */

#top .module-accordion .head
{
	z-index: 1;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	padding: 8px 16px;
	cursor: pointer;
	border-radius: 0 4px 4px 0;
	border-left: 4px solid var(--color-cvi-3);
	background-color: var(--color-white);
	box-shadow: 0px 1px 2px 0px rgba(52, 43, 96, 0.1);
}

#top .module-accordion .head::before
{
	content: none;
}

#top .module-accordion .head::after
{
	font-family: 'entypo-fontello';
	height: 30px;
	margin-right: 15px;
	line-height: 28px;
	text-align: center;
	font-size: 18px;
	content: "\e873";
}

#top .module-accordion .active .head::after
{
	content: "\e876";
}

/*
 * - DATA
 */

#top .module-accordion .item > .data
{
	box-shadow: 0px 1px 2px 0px rgba(52, 43, 96, 0.1);
}

#top .main_color .module-accordion .item > .data
{
	background-color: var(--color-lightgray-1);
}

#top .alternate_color .module-accordion .item > .data
{
	background-color: var(--color-white);
}

/*
 * - ELEMENT
 */

#top .module-accordion .thumb
{
	position: relative;
}

#top .module-accordion .title
{
	padding: 8px 0;
	line-height: 1.4;
	font-weight: 600 !important;
	font-size: 16px;
	color: var(--color-cvi-1);
}

#top .module-accordion .head:hover .title,
#top .module-accordion .active .head .title
{
	color: var(--color-cvi-3);
}

#top .module-accordion .entry .alignleft,
#top .module-accordion .entry .alignright
{
	max-width: 240px;
}

/*
 * ----------------------------------------------------------
 *
 * MODULE: CAROUSEL
 *
 * ----------------------------------------------------------
 *
 * - THUMB
 */

#top #carousel-companies .thumb
{
	border: 1px solid var(--color-lightgray-3);
}

/*
 * ----------------------------------------------------------
 *
 * FLEX-GRID
 *
 * ----------------------------------------------------------
 *
 * - THUMB
 */

#top .flex-grid .flex-item img
{
	display: block;
	width: 100%;
	height: auto;
}

#top .flex-grid .flex-item .thumb
{
	position: relative;
}

#top .flex-grid .flex-item .thumb::before
{
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 0px;
	z-index: 1;
	opacity: 0.1;
	background-color: #000000;
}

#top #team.flex-grid .flex-item .thumb::before
{
	opacity: 0.03;
}

#top .flex-grid .flex-item:hover .thumb::before
{
	width: 100%;
}

/*
 * - TITLE
 */

#top .flex-grid .flex-item .title
{
	margin: 0;
}

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

	#top .flex-grid .flex-item .title
	{
		font-size: 18px;
	}

}

@media only screen and (min-width: 990px)
{

	#top .flex-grid .flex-item .title
	{
		font-size: 20px;
	}

}

/*
 * - EXCERPT
 */

#top .flex-grid .flex-item .excerpt
{
	border-top: 1px solid #dddddd;
	margin-top: 20px;
	padding-top: 20px;
}

/*
 * - BUTTON
 */

#top .flex-grid .flex-item:hover .avia-button
{
	background-color: #342b60;
	border-color: #342b60;
	color: #ffffff;
}

/*
 * - ROWS
 */

#top .flex-grid .flex-item .thumb
{
	margin-bottom: 20px;
}

#top .flex-grid .flex-item .head
{
	position: relative;
	flex-grow: 1;
}

#top .flex-grid .flex-item .data
{
	margin-top: 20px;
}

/*
 * - ITEM
 */

#top .flex-grid .flex-item
{
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 24px;
	cursor: pointer;
	background-color: rgba(255, 255, 255, 0.5);
	box-shadow: 0px 1px 2px 0px rgba(52, 43, 96, 0.1);
}

#top .flex-grid .flex-item:hover
{
	background-color: rgba(255, 255, 255, 1);
}

#top .main_color .flex-grid .flex-item
{
	background-color: rgba(249, 249, 253, 0.2);
	color: var(--color-cvi-1);
}

#top .main_color .flex-grid .flex-item:hover
{
	background-color: rgba(249, 249, 253, 0.6);
}

#top .alternate_color .flex-grid .flex-item
{
	background-color: rgba(255, 255, 255, 0.5);
}

#top .alternate_color .flex-grid .flex-item:hover
{
	background-color: var(--color-white);
}

#top .flex-grid .flex-item:hover .title a
{
	color: var(--color-cvi-3);
}

/*
 * - WRAP
 */

#top .flex-grid
{
	display: grid;
	grid-gap: 40px;
}

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

	#top .flex-grid.cols-2,
	#top .flex-grid.cols-3,
	#top .flex-grid.cols-4
	{
		grid-template-columns: repeat(1, 1fr);
	}

}

@media only screen and (min-width: 768px)
{

	#top .flex-grid.cols-2,
	#top .flex-grid.cols-3,
	#top .flex-grid.cols-4
	{
		grid-template-columns: repeat(1, 1fr);
	}

}

@media only screen and (min-width: 990px)
{

	#top .flex-grid.cols-3,
	#top .flex-grid.cols-4
	{
		grid-template-columns: repeat(2, 1fr);
	}

}

@media only screen and (min-width: 1280px)
{

	#top .flex-grid.cols-2
	{
		grid-template-columns: repeat(2, 1fr);
	}

	#top .flex-grid.cols-3
	{
		grid-template-columns: repeat(3, 1fr);
	}

	#top .flex-grid.cols-4
	{
		grid-template-columns: repeat(4, 1fr);
	}

}