/*
 ************************************************************
 *
 * CHILD-ELEMENT
 *
 ************************************************************
 * ----------------------------------------------------------
 *
 * WORDPRESS GENERATED CLASSES
 *
 * ----------------------------------------------------------
 *
 * - IMAGE
 */

#top figure
{
	width: auto !important;
}

@media only screen and (max-width: 479px)
{
	.responsive #top figure img
	{
		width: 100%;
		height: auto;
	}
}

/*
 * - ALIGN
 */

#top .alignleft,
#top .alignright,
#top .aligncenter,
#top .alignleft img,
#top .alignright img,
#top .aligncenter img
{
	display: block;
	position: relative;
}

#top .alignleft
{
	float: left;
	margin: 0px 32px 0px 0;
}

#top .alignright
{
	float: right;
	margin: 0px 0px 0px 32px;
}

#top .aligncenter
{
	clear: both;
	margin: 24px auto;
}

@media only screen and (max-width: 989px)
{
	.responsive #top .alignleft,
	.responsive #top .alignright,
	.responsive #top .aligncenter
	{
		clear: both;
		float: none;
		margin: 24px 0;
		margin-right: auto;
	}
}

@media only screen and (min-width: 990px)
{
	.responsive #top .alignleft
	{
		margin: 0px 32px 32px 0;
	}
	.responsive #top .alignright
	{
		margin: 0px 0px 32px 32px;
	}
	.responsive #top .aligncenter
	{
		margin: 32px auto;
	}
}

/*
 * - CAPTION
 */

#top .wp-caption,
#top .wp-caption img
{
	border: none;
}

#top .wp-caption,
#top .wp-caption p,
#top .wp-caption figcaption
{
	font-family: 'Muli', Arial, sans-serif;
	font-style: normal;
	font-size: 13px;
	text-align: left;
	margin: 0;
	padding: 0;
}

#top .wp-caption img
{
	padding: 0;
}

#top .wp-caption p,
#top .wp-caption figcaption
{
	font-size: 15px;
	margin-top: 16px;
	color: var(--color-gray);
}

/*
 * ----------------------------------------------------------
 *
 * WORDPRESS GALLERY
 *
 * ----------------------------------------------------------
 *
 * - COLUMNS
 */

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

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

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

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

.gallery-columns-5
{
	grid-template-columns: repeat(5, 1fr);
}

#top .gallery-columns-6
{
	grid-template-columns: repeat(6, 1fr);
}

#top .gallery-columns-7
{
	grid-template-columns: repeat(7, 1fr);
}

#top .gallery-columns-8
{
	grid-template-columns: repeat(8, 1fr);
}

#top .gallery-columns-9
{
	grid-template-columns: repeat(9, 1fr);
}

/*
 * - GRID
 */

.gallery
{
	display: grid;
	margin: 32px 0;
	grid-template-columns: repeat(4, 1fr);
}

#top .gallery + .button
{
	margin-top: -16px;
}

@media only screen and (max-width: 767px)
{
	.responsive #top .gallery
	{
		grid-gap: 8px;
	}
}

@media only screen and (min-width: 768px)
{
	.responsive #top .gallery
	{
		grid-gap: 12px;
	}
}

/*
 * - ITEM
 */

#top .gallery .gallery-icon,
#top .gallery .gallery-item
{
	margin: 0;
	padding: 0;
}

#top .gallery .gallery-icon.plus a
{
	position: relative;
	color: var(--color-darkgray-4);
}

#top .gallery .gallery-icon.plus a:hover
{
	color: var(--color-cvi-1);
}

#top .gallery .gallery-icon.plus a::before
{
	content: "\e816";
	font-family: 'entypo-fontello';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--color-lightgray-1);
}

@media only screen and (max-width: 767px)
{
	.responsive #top .gallery .gallery-icon.plus a::before
	{
		font-size: 20px;
	}
}

@media only screen and (min-width: 768px)
{
	.responsive #top .gallery .gallery-icon.plus a::before
	{
		font-size: 32px;
	}
}

#top .gallery .gallery-item
{
	width: auto;
	height: auto;
}

#top .gallery .gallery-item.first
{
	grid-column: span 2;
	grid-row: span 2;
}

#top .gallery br,
#top .gallery .gallery-item:nth-child(n+6)
{
	display: none !important;
}

/*
 * - ELEMENT
 */

#top .gallery a,
#top .gallery a img
{
	display: block;
	position: relative;
	max-width: 100%;
	border: none;
}

#top .gallery:after
{
	content: '';
	display: none;
	clear: both;
}

#top .gallery figure img
{
	display: block;
	max-width: 100%;
	width: 100%;
	height: auto;
	margin: 0;
}

/*
 * ----------------------------------------------------------
 *
 * ELEMENT
 *
 * ----------------------------------------------------------
 *
 * - ANIMATION
 */

a,
dl,
dt,
dd,
svg,
path,
rect,
span,
strong,
label,
input,
select,
textarea,
button,
.button,
.avia-button,
.avia-button svg,
.avia-button span,
.avia-button::before,
.avia-menu-text,
.avia-menu-text::before,
.thumb,
.thumb img,
.thumb::before,
.title,
.toggler,
.colorbox,
.meta
{
	transition-property: opacity,fill,color,border-color,background-color,top,left,right,bottom;
	transition-duration: .3s;
	transition-timing-function: ease;
}

/*
 * - IFRAME
 */

.iframe
{
	position: relative;
	overflow: hidden;
	width: 100%;
	padding-bottom: 56.25%;
}

.iframe iframe
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

div.avia-popup .mfp-close,
div.avia-popup .mfp-close:hover
{
	border: none;
	-webkit-transition: none;
	        transition: none;
}

div.avia-popup .mfp-close:hover
{
	transform: scale(1);
}

div .mfp-title,
div .mfp-counter
{
	font-size: 15px;
}

.mfp-iframe-holder .mfp-iframe
{
	border-radius: 0;
}

.mfp-iframe-holder button.mfp-arrow
{
	display: none;
}

@media only screen and (max-width: 479px)
{
	.mfp-container
	{
		padding-left: 15px;
		padding-right: 15px;
	}
	.mfp-iframe-holder .mfp-content
	{
		max-width: 100% !important;
	}
	.mfp-iframe-holder .mfp-iframe-scaler
	{
		height: 540px !important;
	}
}

@media only screen and (min-width: 480px)
{
	.mfp-iframe-holder .mfp-iframe-scaler
	{
		height: 540px !important;
	}
}

@media only screen and (min-width: 990px)
{
	.mfp-iframe-holder .mfp-content
	{
		max-width: 960px !important;
	}
}

/*
 * - PAGINATION
 */

#top .pagination
{
	display: table;
	margin: 0;
	padding: 0;
}

#top .pagination .pagination-meta
{
	display: none;
}

#top .pagination a,
#top .pagination span
{
	font-weight: 600;
	font-size: 15px;
	color: var(--color-cvi-1);
}

#top .pagination a,
#top .pagination .current
{
	margin-right: 0;
	border-radius: 4px;
	box-shadow: none;
}

#top .pagination a:not(:last-child),
#top .pagination .current:not(:last-child)
{
	margin-right: 5px;
}

#top .pagination a
{
	border: 1px solid var(--color-lightgray-3);
	background-color: transparent;
}

#top .pagination a:hover
{
	border: 1px solid var(--color-cvi-1);
	background-color: var(--color-cvi-1) !important;
	color: var(--color-white);
}

#top .pagination .current
{
	border: 1px solid var(--color-cvi-1);
	background-color: var(--color-cvi-1);
	color: var(--color-white);
}

/*
 * - POST NAV
 */

#top .avia-post-nav .entry-image
{
	display: none;
}

/*
 * - WIDGET
 */

#top .widget
{
	margin: 0;
	padding: 0;
}

#top .widget:not(:first-child)
{
	margin-top: 32px;
}

#top .widgettitle
{
	margin-top: 0;
	letter-spacing: 0;
}

/*
 * - ICON
 */

#top .icon
{
	display: flex;
	flex-direction: row;
	align-items: center;
	position: relative;
	float: left;
}

#top .icon::before
{
	font-family: 'entypo-fontello';
	height: 30px;
	margin-right: 15px;
	line-height: 28px;
	text-align: center;
	font-size: 18px;
}

#top .icon.plus::before
{
	content: "\e816";
}

#top .icon.close::before
{
	content: "\e813";
}

#top .icon.email::before
{
	content: "\e805";
}

#top .icon.phone::before
{
	content: "\e854";
}

/*
 * - SVG ICON
 */

#top .avia-image-container.icon-svg .avia-image-container-inner
{
	padding: 20px;
	margin-top: -74px;
	margin-bottom: 30px;
	border-radius: 50%;
	background-color: var(--color-white);
	box-shadow: 2px 2px 0px 0 rgba(2,21,100,.1);
}

#top .avia-image-container.icon-svg img
{
	width: auto;
	height: 56px;
}

/*
 * - META
 */

#top .meta
{
	font-size: 14px;
	color: var(--color-darkgray-2);
}

/*
 * - SHARE
 */

#top .av-share-box .avia-related-tooltip
{
	display: none !important;
}

#top .av-share-box ul li a:hover
{
	background-color: var(--color-cvi-1) !important;
}

/*
 * - SOCIAL
 */

#top .social_bookmarks
{
	display: flex;
	width: 100%;
	height: auto;
}

#top .social_bookmarks li
{
	width: auto;
	border: none;
}

#top .social_bookmarks li:not(:first-child)
{
	margin-left: 1em;
}

#top .social_bookmarks li a
{
	display: flex;
	justify-content: center;
	align-items: center;
	width: 48px;
	height: 48px;
	line-height: 20px;
	font-size: 20px;
	border-radius: 50%;
	border-width: 2px;
	border-style: solid;
}

#top #wrap_all .social_bookmarks li a
{
	border-color: var(--color-cvi-1);
	background-color: transparent;
	color: var(--color-white);
}

#top #wrap_all .social_bookmarks li a:hover
{
	border-color: var(--color-cvi-1);
	background-color: var(--color-cvi-1);
	color: var(--color-white);
}

/*
 * - TAGS
 */

#top .tags,
#top .tags ul
{
	display: flex;
	flex-flow: row wrap;
}

#top .tags ul,
#top .tags li
{
	list-style: none;
}

@media only screen and (min-width: 768px)
{
	.responsive #top .tags,
	.responsive #top .tags ul
	{
		align-items: center;
	}
}

#top .tags
{
	grid-gap: 16px;
	padding-top: 32px;
	border-top: 1px dotted var(--color-darkgray-2);
}

@media only screen and (max-width: 767px)
{
	.responsive #top .tags
	{
		flex-direction: column;
	}
}

#top .label
{
	color: var(--color-gray);
}

#top .tags ul
{
	grid-gap: 8px;
}

#top .tags ul li
{
	max-width: 160px;
	margin: 0;
	padding: 0;
}

#top .tags ul li a,
#top .tags ul li span
{
	display: block;
	width: 100%;
	padding: 8px 16px;
	overflow: hidden;
	text-transform: lowercase;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 15px;
	border-radius: 4px;
	border: 1px solid var(--color-lightgray-3);
	background-color: var(--color-white);
}

#top .tags ul li a:hover
{
	background-color: var(--color-cvi-1);
	border-color: var(--color-cvi-1);
	color: var(--color-white);
}

/*
 * ----------------------------------------------------------
 *
 * ARTICLE
 *
 * ----------------------------------------------------------
 *
 * - WRAP
 */

#top .content-article article
{
	display: flex;
	flex-direction: column;
	grid-gap: 40px;
	max-width: 960px;
	margin: 0 auto;
}

#top article h1
{
	text-transform: none;
	font-size: 32px;
}

#top .article h2
{
	border-bottom: 1px dotted var(--color-darkgray-2);
	padding-bottom: 24px;
	margin-bottom: 32px;
	font-size: 27px;
}

@media only screen and (min-width: 990px)
{
	.responsive #top .article p:not(blockquote p)
	{
		text-align: justify;
	}
}

#top .article ul,
#top .article ol
{
	padding: 32px;
	background-color: var(--color-lightgray-1);
}

#top .article .fas
{
	margin-right: 0.8em;
}

#top .article .av-icon-char::before
{
	color: var(--color-cvi-1);
}