/*
 ************************************************************
 * WRAPPER
 ************************************************************
 * ----------------------------------------------------------
 * ELEMENT
 * ----------------------------------------------------------
 */

/* COLORBOX */

.colorbox
{
	padding: 32px;
}

@media only screen and (max-width: 989px)
{
	.colorbox
	{
		padding: 24px;
	}
}

#top .colorbox p:first-child
{
	margin-top: 0;
}

#top .colorbox p:last-child
{
	margin-bottom: 0;
}

/*
 * ----------------------------------------------------------
 * AJAX
 * ----------------------------------------------------------
 */

/* LOADYEAR */

#top .ajax-loadyear .ajax-actions
{
	width: 100%;
	max-width: 240px;
	margin: 0 auto;
	margin-bottom: 30px;
}

/*
 * ----------------------------------------------------------
 * LAYOUT
 * ----------------------------------------------------------
 */

/* COLUMNS */

@media only screen and (max-width: 989px)
{
	.responsive #top #wrap_all .flex_column,
	.responsive #top #wrap_all .flex_column.av-break-at-tablet
	{
		margin-bottom: 40px;
	}
	.responsive #top #wrap_all .flex_column:last-child
	{
		margin-bottom: 0;
	}
	.responsive #top #wrap_all .av-columns-reverse .flex_column
	{
		margin-bottom: 0;
	}
	.responsive #top #wrap_all .av-columns-reverse .flex_column
	{
		margin-bottom: 40px;
	}
}

/* CONTAINER */

#top .container-wide .container
{
	max-width: 100%;
}

#top .container-thin .container
{
	max-width: 1080px;
}

@media only screen and (max-width: 1080px)
{
	.responsive #top .container-thin .container
	{
		max-width: 800px;
	}
}

/*
 ************************************************************
 * HEADER
 ************************************************************
 * ----------------------------------------------------------
 * MAIN
 * ----------------------------------------------------------
 */

#top .av_minimal_header #searchsubmit,
#top .av_minimal_header #searchform .avia-svg-icon
{
	width: 48px;
	height: 48px;
	min-width: 48px;
	margin: 0;
}

#top .av_minimal_header #searchsubmit
{
	border: none;
}
#top .av_minimal_header #searchform > div
{
	max-width: none;
}

#top .av_minimal_header #searchform #s
{
	border: none;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: var(--color-lightgray-2);
	padding: 13px 40px 13px 0;
}

#top .av_minimal_header #searchform #s:focus
{
	border-bottom-color: var(--color-cvi-2);
}

#top .av_minimal_header #searchform .avia-svg-icon
{
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

#top .av_minimal_header #searchform .avia-svg-icon svg:first-child
{
	fill: var(--color-cvi-2);
}

/* MENU */

#header_main .av-main-nav ul a
{
	font-size: 14px;
}

#header_main .av-main-nav > li > a
{
	font-family: var(--font-feat);
	font-weight: 300;
	font-size: 18px;
	text-transform: none;
	padding: 0 20px;
	cursor: pointer !important;
}

#header_main .av-main-nav li.menu-item-search-dropdown a
{
	padding-right: 0;
}

#header_main .av-main-nav > li.av-burger-menu-main > a
{
	opacity: 1 !important;
}

/* MOBILE */

@media only screen and (max-width: 989px)
{
	.responsive #top .av_mobile_menu_tablet .main_menu .menu-item-top-level
	{
		display: none;
	}
	.responsive #top .av_mobile_menu_tablet .main_menu .menu-item-avia-special
	{
		display: block;
	}
	.responsive #top .av_mobile_menu_tablet .main_menu .menu-item-search-dropdown a
	{
		padding: 0 8px !important;
	}
	.responsive #top .av_mobile_menu_tablet .main_menu .menu-item-search-dropdown svg
	{
		height: 17px;
		margin-bottom: -2px;
	}
}

/*
 * ----------------------------------------------------------
 * META
 * ----------------------------------------------------------
 */

/* PHONE */

#header_meta .phone-info
{
	padding: 0;
	text-align: right;
	font-weight: 300;
	font-size: 16px;
}


@media only screen and (max-width: 639px)
{
	.responsive #header_meta .phone-info
	{
		font-size: 14px;
	}
}

/* SEARCH */

#header_meta search
{
	margin-right: auto;
}

#header_meta search form
{
	width: 210px;
}

@media only screen and (min-width: 768px)
{
	.responsive #header_meta search form
	{
		width: 240px;
	}
}

@media only screen and (min-width: 1080px)
{
	.responsive #header_meta search form
	{
		width: 320px;
	}
}

#top #searchform .ajax_search_response
{
	position: absolute;
	top: 48px;
}

#top #searchform .av_ajax_search_image,
#top #searchform .ajax_search_excerpt,
#top #searchform .ajax_search_response h4
{
	display: none;
}

/* CART */

#header_meta .header__cart a
{
	display: flex;
	align-items: center;
}

#header_meta .header__cart a,
#header_meta .header__cart span
{
	color: var(--color-cvi-2);
}

#header_meta .header__cart span
{
	margin-left: 8px;
}

@media only screen and (max-width: 767px)
{
	.responsive #header_meta .header__cart
	{
		display: none;
	}
	
}

/* SUBMENU */

#header_meta .sub_menu
{
	top: 0;
	padding: 0;
}

@media only screen and (max-width: 767px)
{
	.responsive #header_meta .sub_menu
	{
		align-items: flex-end;
	}
	.responsive #header_meta .sub_menu > ul
	{
		width: auto;
  		margin: 0;
	}
}

#header_meta .sub_menu > ul,
#header_meta .sub_menu > ul > li
{
	padding: 0 !important;
	border: none;
}

#header_meta .sub_menu > ul > li > a
{
	height: 48px;
	padding: 0;
	font-weight: 300;
	font-size: 15px;
	color: var(--color-cvi-2);
}

#header_meta .sub_menu > ul .wpml-ls-current-language > a
{
	pointer-events: none;
	color: var(--color-black);
}

#header_meta .sub_menu > ul .wpml-ls-item
{
	margin-right: 10px;
}

@media only screen and (max-width: 767px)
{
	.responsive #header_meta .sub_menu > ul > li.wpml-ls-item
	{
		display: flex;
		float: left;
	}
}

#header_meta .sub_menu > ul .wpml-ls-item:last-child
{
	margin-right: 0;
}



#header_meta .sub_menu li ul
{
	top: 48px;
	width: 64px;
	box-shadow: none;
}

/* CONTAINER */

#header_meta .container
{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	grid-gap: 40px;
	padding: 0;
	max-width: none;
}

#header_meta .container > *
{
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: auto;
}

#header_meta .container::after
{
	display: none;
}

#header_meta .container nav
{
	order: 2;
}

#header_meta .container search
{
	order: 0;
}

#header_meta .container .phone-info
{
	order: 1;
}

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

@media only screen and (min-width: 768px)
{
	.responsive #header_meta .container > *
	{
		height: 48px;
	}
	.responsive #header_meta .container search
	{
		padding-left: 24px;
	}

	.responsive #header_meta .container nav
	{
		padding-right: 24px;
	}
}

@media only screen and (min-width: 990px)
{
	.responsive #header_meta,
	.responsive #header_meta .container
	{
		width: 100%;
		height: 0;
		min-height: 0;
	}

	.responsive #header_meta
	{
		position: fixed;
		top: 0;
		left: 0;
	}

	.responsive #header_meta .container > *
	{
		height: 72px;
		padding-top: 24px;
	}
}

/*
 ************************************************************
 * SECTION
 ************************************************************
 * ----------------------------------------------------------
 * GLOBAL
 * ----------------------------------------------------------
 */

/* WRAP */

#top .avia-section
{
	position: relative;
	min-height: 0;
}

#top .avia-section.avia-section-small .content
{
	padding-top: 30px;
	padding-bottom: 30px;
}

#top .avia-section.avia-section-default .content
{
	padding-top: 50px;
	padding-bottom: 50px;
}

#top .avia-section.avia-section-large .content
{
	padding-top: 80px;
	padding-bottom: 80px;
}

#top .avia-section.avia-section-huge .content
{
	padding-top: 120px;
	padding-bottom: 120px;
}

/* ARTICLE */

#top .avia-section article
{
	display: flex;
	flex-direction: column;
	grid-gap: 50px;
	width: 100%;
}

#top .avia-section sidebar
{
	padding: 30px;
	background-color: var(--color-lightgray-1);
}


/*
 ************************************************************
 * FOOTER
 ************************************************************
 * ----------------------------------------------------------
 * ELEMENT
 * ----------------------------------------------------------
 */

/* TYPO */

#top #footer p,
#top #footer a
{
	line-height: 1.8em;
	font-weight: 300;
	font-size: 17px;
}

#top #footer p
{
	margin: 0;
}

#top #footer img
{
	margin: 0;
}

/* WIDGET */

#top #footer .widget
{
	grid-gap: 0;
}

#top #footer .widgettitle
{
	margin-top: 0;
	margin-bottom: 24px;
}

#top #footer .widget .seperator
{
	display: none;
}

/* COPY */

#top #footer .copyright
{
	font-size: 15px;
}

/* MENU */

#top #footer .widget_nav_menu a
{
	position: relative;
	padding: 0;
}

#top #footer .widget_nav_menu li
{
	display: flex;
	flex-direction: row;
	align-items: center;
	grid-gap: 16px;
}

#top #footer .widget_nav_menu li::before
{
	font-family: 'entypo-fontello';
	content:"\e8bd";
	font-size: 20px;
	color: var(--color-black);
}

/*
 * ----------------------------------------------------------
 * WRAPPER
 * ----------------------------------------------------------
 */

#top #footer
{
	padding: 64px 0;
	padding-top: 0;
	border-top: none;
}

#top #footer .container::after,
#top #footer .flex_column::after,
#top #footer .flex_column::before
{
	display: none;
}

/* CONTAINER */

#top #footer .container
{
	position: relative;
	display: flex;
	flex-flow: row wrap;
	grid-gap: 40px;
}

#top #footer .container::before
{
	content: '';
	display: block;
	width: 100%;
	padding-top: 24px;
	border-top: 1px solid var(--color-lightgray-2);
}

/* COLUMNS */

#top #footer .flex_column
{
	display: flex;
	flex-direction: column;
	grid-gap: 24px;
	margin: 0;
	width: calc(25% - 30px);
}

@media only screen and (max-width: 1079px)
{
	.responsive #top #wrap_all #footer .flex_column
	{
		margin: 0;
	}
}

@media only screen and (min-width: 768px) and (max-width: 1199px)
{
	.responsive #top #footer .flex_column
	{
		width: calc(50% - 20px);
	}
	.responsive #top #footer .flex_column:first-child
	{
		flex-direction: row;
	}
}

@media only screen and (min-width: 768px)
{
	.responsive #top #footer .flex_column:last-child .widget:first-child
	{
		flex-grow: 1;
	}
}

@media only screen and (min-width: 1200px)
{
	.responsive #top #footer .flex_column:last-child .widget
	{
		align-items: flex-end;
	}
}

/*
 * ----------------------------------------------------------
 * SOCKET
 * ----------------------------------------------------------
 */

/* TYPO */

#socket
{
	line-height: 1.8em;
	font-weight: 300;
	font-size: 16px;
}

/* MENU */

#socket .sub_menu_socket ul
{
	margin: 0;
}

#socket .sub_menu_socket li
{
	line-height: 1.8em;
}

@media only screen and (max-width: 989px)
{
	.responsive #socket .sub_menu_socket
	{
		margin: 0;
	}
	.responsive #socket .sub_menu_socket li:first-child
	{
		padding: 0;
	}

}



/* FLEX */

@media only screen and (max-width: 989px)
{
	.responsive #socket .container
	{
		display: flex;
		flex-direction: column;
		grid-gap: 24px;
		padding-top: 24px;
		padding-bottom: 24px;
	}
	.responsive #socket .container::after
	{
		display: none;
	}
	.responsive #socket .copyright
	{
		order: 2;
	}
	.responsive #socket .social_bookmarks
	{
		order: 1;
	}
	.responsive #socket .sub_menu_socket
	{
		order: 0;
	}

}
