.boxed #wrap_all {
	margin-bottom: -25px;
}



/******************/
/* Header Section */
/******************/
/* Header meta */
#header #header_meta {
	display: none;
}

#header_main_alternate #avia-menu {
	background-color: #ffffff;
}

#header .av-meta-container {

}

#header #searchform {
	width: auto;
	display: inline-block;
	margin-right: 5px;
}

#header .lang_selector {
	color: #5b6770;
	display: inline-block;
}

/* Header logo container */
.html_header_top.html_header_sticky #header {
	z-index: 10002;
}

#header #header_main .av-logo-container {
	height: 90px !important;
	line-height: 90px !important;
	min-height: 90px !important;

	/*-moz-transition: height 1s ease;*/
	/*-webkit-transition: height 1s ease;*/
	/*-o-transition: height 1s ease;*/
	/*transition: height 1s ease;*/
}

/* Logo Section */
.html_header_top #top .av_logo_right .logo {
	height: auto;
}

/* Header Searchform */
#header_main #searchform .form-toggle {
	max-width: 30px;
	width: 30px;
	margin-right: 5px;
}

#header_main #searchform .form-toggle__icon {
	color: #5b6770;
	width: 30px;
	cursor: pointer;
	text-align: center;
	display: inline-block;
}

#header_main #searchform .form-toggle__icon .fa {
	width: 31px;
	display: inline-block;
	padding-right: 6px;
	padding-left: 8px;
	border-right: 1px solid #5b6770;
	border-left: 1px solid #5b6770;
}

#header_main #searchform .form-content {
	position: absolute;
	bottom: 25px;
	left: 130px;
	z-index: 10005;
	opacity: 0;
	visibility: hidden;
}

#header_main #searchform .form-content.active {
	left: 100px;
}

#header_main #searchform .av-burger-overlay-inner .form-content {
	left: 20px;
	bottom: 60px;
}

.header-scrolled #header_main #searchform .form-content {
	/*bottom: -30px;*/
}

#header_main #searchform .form-content.active {
	opacity: 1;
	visibility: visible;
}

#top #header .av-small-burger-icon {
	-ms-transform: scale(1);
	transform: scale(1);
}

/****************/
/* Main Section */
/****************/
#main {
	width: 100%;
}

html.html_header_top.html_header_topbar_active.html_header_sticky.html_bottom_nav_header #top #main {
	padding-top: 140px;
}

/*******************/
/* Navigation Menu */
/*******************/
#avia-menu li,
#avia-menu li a,
#avia-menu li a .avia-menu-text {
	text-transform: initial;
}

#avia-menu .avia-menu-text {
	border: 0;
}
@media only screen and (max-width: 989px) and (min-width: 768px) {
	#avia-menu .av-burger-menu-main a {
		padding: 0 !important;
	}
}
ul#av-burger-menu-ul {
	height: auto !important;
	padding-bottom: 40px !important;
}



/******************/
/* Footer Section */
/******************/
#footer {

}

#footer .menu li:first-child {
	font-weight: bold;
}

#footer .menu li:not(:first-child) a {
	color: #5b6770;
}

#footer section.widget {
	margin: 30px 0 0;
}

#footer .widget_nav_menu a {
	padding: 2px 0;
}

/*********************/
/* Copyright Section */
/*********************/
#socket {
	color: #5b6770;
	background-color: #4fb8db;
	/*border-top-color: #5b6770;*/
	border-top: 0;
}

#socket .container {
	border-top: 1px solid #5b6770;
}

#socket .menu li {
	display: inline-block;
	margin-right: 20px;
}

#socket .menu li a,
#socket .menu li span {
	color: #5b6770;
	text-transform: uppercase;
}

#socket .social_bookmarks a {
	color: #5b6770;
}

/********************/
/* Input Components */
/********************/

#top .wpcf7-file {
/*	width: 0.1px;   */
/*	height: 0.1px;	*/
/*	opacity: 0;  */
/* 	overflow: hidden;
	position: absolute;
	z-index: -1; */
}

#top .wpcf7-file + label {
/* 	max-width: 80%;
	font-size: 1.25rem; */
	/* 20px */
/* 	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
	cursor: pointer;
	display: inline-block;
	overflow: hidden;
	padding: 0.625rem 1.25rem; */
	/* 10px 20px */
}

.no-js .wpcf7-file + label {
/* 	display: none; */
}

.wpcf7-file:focus + label,
.wpcf7-file.has-focus + label {
/* 	outline: 1px dotted #000;
	outline: -webkit-focus-ring-color auto 5px; */
}

.wpcf7-file + label * {
	/* pointer-events: none; */
	/* in case of FastClick lib use */
}

.wpcf7-file + label svg {
/* 	width: 1em;
	height: 1em;
	vertical-align: middle;
	fill: currentColor;
	margin-top: -0.25em; */
	/* 4px */
/* 	margin-right: 0.25em; */
	/* 4px */
}

.wpcf7-file + label span {
/* 	color: #ffffff !important; */
}

/* style 1 */

.wpcf7-file + label {
/* 	color: #ffffff;
	background-color: #00a8e0; */
}

.wpcf7-file:focus + label,
.wpcf7-file.has-focus + label,
.wpcf7-file + label:hover {
/* 	background-color: #5b6770; */
}



/*******************/
/* Misc Components */
/*******************/
div.blockquote {
	padding: .5rem 0px;
}

div.ign-disclaimer {
	padding-right: 10px;
}

.ign-disclaimer > div {
	padding-right: 10px;
}

#wrap_all div.av-special-heading {
	border-left: 0;
}

#wrap_all .av-special-heading .av-special-heading-tag {
	margin-left: -3px;
	padding-top: 10px;
}

#wrap_all .av-special-heading .av-subheading {
	margin-left: -3px;
}

/* Tables */
.table-milestones {
	height: auto !important;
}

.table-milestones tr td:first-child {
	width: 70px;
}

.table-milestones tr {
	background-color: #f7f7f7 !important;
}

.table-milestones tr td {
	padding-top: 2px;
	padding-bottom: 2px;
}

.table-alternate tr,
.table-alternate tr td {
	background: #f7f7f7 !important;
	text-align: left;
	padding-left: 0;
}

.table-alternate tr td strong {
	color: #5b6770;
	margin-right: 10px;
}

/* Toggle/Tab component */
.togglecontainer .single_toggle {
}

.togglecontainer .single_toggle p.toggler {
	position: relative;
	padding-left: 0;
	margin-right: 30px;
	margin-bottom: 20px;
	-webkit-box-shadow: 0 2px 0 0 #00a9e0;
	box-shadow: 0 2px 0 0 #00a9e0;
}

.togglecontainer .single_toggle p.toggler:before {
	content: '';
	display: block;
	position: absolute;
	bottom: -21px;
	right: -2px;
	height: 20px;
	width: 40px;
	background-image: url('../images/icon-toggle-plus.png');
	background-repeat: no-repeat;
	z-index: 999999999;
}

/*
.togglecontainer .single_toggle p.toggler:after {
    content: '';
    display: block;
    position: absolute;
    right: -3px;
    bottom: -21px;
    width: 0;
    height: 0;
    height: 20px;
    border: 0 solid transparent;
    border-left-width: 20px;
    border-right-width: 20px;
    border-top: 20px solid #00a9e0;
}
*/

.togglecontainer .single_toggle p.toggler.activeTitle:before {
	background-image: url('../images/icon-toggle-minus.png');
}

.togglecontainer .single_toggle .toggle_content {
	padding: 12px 40px 12px 0;
}

/******************/
/* Inputs & Forms */
/******************/

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	cursor: pointer;
}

.btn.btn-primary {
	background-color: #00A9E0;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active {
	background-color: #6ec0e5;
}

#prescriptionModal .btn {
	padding: 0.75em 3em;
}

#prescriptionModal .btn-primary {
	border: 0;
}

#prescriptionModal .btn-default {
	border-color: #7a7e87;
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal {
	z-index: 9999999;
}

div.modal-backdrop {
	background-color: #fff;
	height: 110vh;
	z-index: 9999998;
}

div.modal-backdrop.show {
	/*  opacity: 0.90; */
	opacity: 1;
}

#prescriptionModal .modal-content {
	background-color: #e8e9eb;
	border-radius: 10px;
	border-color: #7a7e87;
}

#prescriptionModal .modal-footer {
	justify-content: center;
	border-color: #7a7e87;
}

#prescriptionModal.modal.show .modal-dialog {
	transform: translate(0, 20vh);
}

#wpadminbar {
	z-index: 999999999999;
}

/******************/
/* Media Queries */
/******************/
/* Tablet Portrait size to standard 1024 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 1024px) {

	#header_main .av-meta-container {
		padding-left: 50px;
	}

	.responsive.html_mobile_menu_tablet.html_header_top.html_header_sticky #top #wrap_all #main {
		padding-top: 88px;
	}

	#mobile-advanced, #advanced_menu_toggle, #advanced_menu_hide {
		display: block;
	}

	nav.main_menu {
		display: none;
	}

	.responsive .main_menu ul:first-child > li > a {
		padding: 0 10px;
	}

	.responsive #top .header_bg {
		opacity: 1;
		filter: alpha(opacity=100);
	}

	.responsive #main .container_wrap:first-child {
		border-top: none;
	}

	.responsive .logo {
		float: left;
	}

	.responsive .logo img {
		margin: 0;
	}

	.responsive.html_top_nav_header.html_mobile_menu_tablet #top .social_bookmarks {
		right: 50px;
	}

	.responsive.html_top_nav_header.html_mobile_menu_tablet #top #wrap_all #main {
		padding-top: 0;
	}

	.responsive.js_active .avia_combo_widget .top_tab .tab {
		font-size: 10px;
	}

	.responsive.js_active .avia_combo_widget .news-thumb {
		display: none;
	}

	.responsive #top #wrap_all .grid-sort-container .av_one_sixth {
		width: 33.3%;
		margin-bottom: 0;
	}

	.responsive body.boxed#top, .responsive.html_boxed.html_header_sticky #top #header, .responsive.html_boxed.html_header_transparency #top #header {
		max-width: 100%;
	}

	.responsive.html_header_top.html_header_sticky.html_bottom_nav_header.html_mobile_menu_tablet #main {
		padding-top: 88px;
	}

	.responsive.html_header_top.html_header_sticky.html_bottom_nav_header.html_top_nav_header.html_mobile_menu_tablet #main {
		margin-top: 0;
	}

	.responsive #top .av-hide-on-tablet {
		display: none !important;
	}

	/*new menu*/
	.responsive.html_mobile_menu_tablet .av-burger-menu-main {
		display: block;
	}

	.responsive #top #wrap_all .av_mobile_menu_tablet .main_menu {
		top: 0;
		left: auto;
		right: 0;
		display: block;
	}

	.responsive.html_logo_right #top #wrap_all .av_mobile_menu_tablet .main_menu {
		top: 0;
		left: 0;
		right: auto;
	}

	.responsive #top .av_mobile_menu_tablet .av-main-nav .menu-item {
		display: none;
	}

	.responsive #top .av_mobile_menu_tablet .av-main-nav .menu-item-avia-special {
		display: block;
	}

	.responsive #top #wrap_all .av_mobile_menu_tablet .menu-item-search-dropdown > a {
		font-size: 24px;
	}

	.responsive #top .av_mobile_menu_tablet #header_main_alternate {
		display: none;
	}

	.responsive.html_mobile_menu_tablet #top #header #header_meta .social_bookmarks {
		display: none;
	}

	.responsive.html_mobile_menu_tablet .phone-info {
		float: none;
		width: 100%;
		clear: both;
		text-align: center;
	}

	.responsive.html_mobile_menu_tablet #top .av-logo-container .social_bookmarks {
		display: none
	}

	.responsive.html_mobile_menu_tablet #top .av-logo-container .main_menu .social_bookmarks {
		display: block;
		position: relative;
		margin-top: -15px;
		right: 0;
	}

	.responsive.html_logo_center.html_bottom_nav_header .av_mobile_menu_tablet .avia-menu.av_menu_icon_beside {
		height: 100%;
	}

	.responsive.html_mobile_menu_tablet #top #wrap_all .menu-item-search-dropdown > a {
		font-size: 24px;
	}

	.responsive.html_mobile_menu_tablet #top #main .av-logo-container .main_menu {
		display: block;
	}

	.responsive.html_mobile_menu_tablet.html_header_top.html_header_sticky #top #wrap_all #main {
		padding-top: 88px;
	}

	.responsive.html_mobile_menu_tablet.html_top_nav_header.html_header_sticky #top #wrap_all #main {
		padding-top: 0;
	}

	.responsive.html_mobile_menu_tablet #top #header_main > .container .main_menu .av-main-nav > li > a,
	.responsive.html_mobile_menu_tablet #top #wrap_all .av-logo-container {
		height: 90px;
		line-height: 90px;
	}

	.responsive.html_mobile_menu_tablet #top #header_main > .container .main_menu .av-main-nav > li > a {
		min-width: 0;
		padding: 0 0 0 20px;
		margin: 0;
		border-style: none;
		border-width: 0;
	}

	.responsive.html_mobile_menu_tablet #top .av_seperator_big_border .avia-menu.av_menu_icon_beside {
		border-right-style: solid;
		border-right-width: 1px;
		padding-right: 25px;
	}

	.responsive.html_mobile_menu_tablet #top #header .av-main-nav > li > a, .responsive #top #header .av-main-nav > li > a:hover {
		background: transparent;
		color: inherit;
	}

	.responsive.html_mobile_menu_tablet.html_top_nav_header .av-logo-container .inner-container {
		overflow: visible;
	}

}

@media only screen and (max-width: 1024px) {
	/* Mobile menu */
	#top #wrap_all .av_mobile_menu_tablet .main_menu {
		position: absolute;
		left: 0;
		top: 0;
	}

	/* AV Meta container */
	#header_main .av-meta-container {
		display: none;
	}

	#wrap_all .av-burger-overlay .av-meta-container {
		bottom: 20px;
		/*position: absolute;*/
		position: relative;
		padding: 0 20px 0 40px;
		display: inline-block;
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	/* CF7 */
	form.wpcf7-form .form_element label {
		min-height: 48px;
		margin-bottom: 0;
	}

	/* WPML Language selector */
	#wrap_all .av-burger-overlay .lang_selector {
		margin-right: 10px;
	}

	/* Searchform  */
	#wrap_all .av-burger-overlay #searchform .form-toggle {
		display: none;
	}

	#wrap_all .av-burger-overlay #searchform .form-content {
		position: relative;
		opacity: 1;
		visibility: visible;
		max-width: 180px;
		margin-top: -35px;
		bottom: -15px;
		left: 0;
	}

	#wrap_all .av-burger-overlay #searchform .form-toggle__icon {
		display: none;
	}

	/* Av Tab Section */
	.av-tab-section-tab-title-container {
		min-width: 0 !important;
	}
}

@media only screen and (max-width: 800px) {
	.av-tab-arrow-container {
		width: 180px !important;
	}

	.av-inner-tab-title {
		width: 180px !important;
		font-size: 16px !important;
	}
}

@media screen and (max-device-width: 768px) {
	#header_main .logo {
		max-width: 170px;
		float: right !important;
	}

	.responsive.html_logo_right #top #wrap_all .main_menu {
		top: auto !important;
		bottom: 7px !important;
		left: 0 !important;
		right: auto !important;
		position: absolute !important;
	}
	.responsive.html_logo_right #top #wrap_all .main_menu .av-burger-menu-main a {
		padding: 0 !important;
	}

	#header_main .av-meta-container {
		padding-left: 50px;
	}

	[data-av_icon]:before {
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		font-weight: normal;
		content: attr(data-av_icon);
		speak: none;
	}

	div.avia-slideshow-arrows a:before {
		font-family: 'entypo-fontello';
		visibility: visible;
		display: block;
		position: absolute;
		z-index: 100;
		background: #aaa;
		background: rgba(0, 0, 0, 0.3);
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		border-radius: 3px;
		text-align: center;
		line-height: 62px;
		color: inherit;
	}

	.responsive #top .avia-slideshow-controls a {
		display: block !important;
	}

}

@media screen and(max-device-width: 767px) {
	#prescriptionModal.modal.show .modal-dialog {
		transform: translate(0, 20px);
	}
}

@media only screen and (max-width: 767px) and (orientation: portrait) {
	#wrap_all .av-burger-overlay .av-meta-container {
		position: relative;
	}

	#prescriptionModal.modal.show .modal-dialog {
		transform: translate(0, 20px);
	}
}

@media screen and (min-width: 320px) and (max-width: 767px) {
	/* CF7 */
	form.wpcf7-form .form_element label {
		font-size: 12px;
		margin-bottom: 0;
	}

	#wrap_all .av-burger-overlay .av-meta-container {
		/*position: fixed;*/
		position: relative;
	}
}

@media screen and (min-width: 320px) and (max-width: 767px) {
	#wrap_all .av-burger-overlay .av-meta-container {
		/*position: absolute;*/
		position: relative;
	}
}

@media screen and (min-width: 320px) and (max-width: 767px) and (orientation: portrait) {
	#wrap_all {
		-webkit-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		-o-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		transform: rotate(0deg);
	}
}

@media screen and (min-width: 320px) and (max-width: 767px) and (orientation: landscape) {
	/*
	#wrap_all {
		height: 100vw;
		width: 100vh !important;
		-webkit-transform: rotate(-90deg);
		-moz-transform: rotate(-90deg);
		-o-transform: rotate(-90deg);
		-ms-transform: rotate(-90deg);
		transform: rotate(-90deg);
		transform-origin: 50% 28%;
	}

	.html_av-overlay-side .av-burger-overlay-scroll {
		width: 300px !important;
		height: 100% !important;
	}

	/*
	html.responsive {
		transform: rotate(-90deg);
		transform-origin: left top;
		width: 100vh;
		overflow-x: hidden;
		position: absolute;
		top: 100%;
		left: 0;
		margin-top: 0 !important;
	}
	*/
	/*
	body {
		-webkit-transform: rotate(-90deg);
		-moz-transform: rotate(-90deg);
		-o-transform: rotate(-90deg);
		-ms-transform: rotate(-90deg);
		transform: rotate(-90deg);
	}
	*/
}

@media only screen and (min-width: 800px) {
	.av-tab-arrow-container {
		width: 260px !important;
	}

	.av-inner-tab-title {
		width: 260px !important;
		font-size: 16px !important;
	}
}

@media only screen and (min-width: 1025px) {
	#header_main_alternate {
		background-color: #ffffff;
	}

	#header_main_alternate .container {
		padding: 0 37px;
	}
}

