/*
                           Custom Stylesheet for INNOFACT CH AG
Theme Name: Innofact_Joomla
Description: Theme for INNOFACT CH Website based on Enfold Jomlaa Klon
Version: 2.0
Author: Pete Treadwell
Author URI: www.innofact.ch
Template: enfold

orange #f5a749
grey #4c575f

*/
@font-face {
	font-display: auto;
	font-family: 'dax';
	font-style: normal;
	font-weight: 400;
	src: url('../../uploads/avia_fonts/type_fonts/dax/dax-black-webfont.woff') format('woff'), url('../../uploads/avia_fonts/type_fonts/dax/dax-black-webfont.woff2') format('woff2')
}

h1.av-special-heading-tag{
	font-size: 60px;
	font-weight: normal;
	height: 73px;
	margin-top: 50px !important;
	overflow: hidden !important;
	text-transform: capitalize !important
}

h2{font-size: 34px}

h3{color:#ffffff !important; font-size: 22px}

.av-special-heading.elegant-centered .av-special-heading-tag .heading-wrap::before, .av-special-heading.elegant-centered .av-special-heading-tag .heading-wrap::after {
	border-color: #d1d1d1 !important
}

#header, .header_color .avia-menu-fx {display: none}

#header.header-scrolled{display: block}

#header_meta.av_secondary_right{
	background: transparent;
	border-bottom-style: none;
	left: 50%;
	position: absolute;
	top: 29px;
	width: 50%
}

#header_meta.av_secondary_right .sub_menu > ul > li{
	border-right-style: none
}

#header_meta.av_secondary_right .sub_menu > ul > li > a{
	font-size: 16px;
	font-weight: 600;
	text-transform: uppercase
}

#header_meta.av_secondary_right .sub_menu > ul > li > a:hover{
	color: #f5a749;
	text-decoration: none;
	transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out, border-color 0.4s ease-in-out
}

#header.header-scrolled #header_main{
	border: none;
	box-shadow: 0 0 5px rgba(0, 0, 0, .3);
	display: block;
	height: 88px
}

.html_header_top.html_header_sticky #main, .html_header_top.html_header_topbar_active.html_header_sticky #top #main {
	padding-top: 0px
}

.main_menu #avia-menu{
    color: #d2d2d2;
    margin-top: 0px
}

.main_menu #avia-menu li a{
	font-size: 16px;
	text-transform: uppercase !important
}

.main_menu #avia-menu li a:hover{color: #f5a749}

.html_header_top #top .av_logo_right .logo {
	left: 45%;
	margin-top: 25px
}

#home_1,#home_4{background-size: cover}

.avia-section.av-minimum-height .container .content {
	padding-bottom: 100px;
	padding-top: 100px;
	vertical-align: top
}

.av-special-heading{max-width: 960px; overflow: none}

#home_1 .av-special-heading{
	margin-bottom: 60px;
	margin-left: auto;
	margin-right: auto;
	margin-top: calc(12%)
}

#home_1 h2.av-special-heading-tag {
	text-transform: none !important
}

#home_1 .avia-button{
	margin: 20px !important;
	text-transform: uppercase
}
#home_1 .avia-button:hover{
	background-color: #4c575f;
border-color: #4c575f
}

#home_2 .container, #home_3 .container, #home_4 .container{
	max-width: 1100px
}

#home_2 .avia_textblock .content, #home_4 .avia_textblock .content, #home_5 .av_textblock_section, #home_5 h3.av-special-heading-tag{
	padding-top: 30px
}

#home_3{padding-bottom: 50px}

#home_3 #news_studien{
	background-color: #fff;
	padding-bottom: 50px
}

#home_3 #news_button{margin: -24px 24px 0 -0}

#home_4 .flex_column.av_one_third{
	border: 3px solid #f5a749;
	margin-left: 2%;
	margin-top: -20px;
	padding-top: 20px;
	width: 31%
}

#home_4 .toggler{font-weight: bold}

#home_4 .toggle_content{
	font-size: 14px;
	padding: 12px 10px 11px 10px
}

#home_5 .av-special-heading{max-width: 100%}

#home_5 .location_btn{left: 60%; position: absolute}

#home_5 .location_btn a{
	background-color: transparent;
	border: 1px solid  #ffffff !important;
	border-radius: 0px;
	color: #ffffff !important;
	margin-top: 79px;
	padding: 43px 0 43px 0;
	text-decoration: none
}

#home_5 .location_btn a:hover{
	border: 1px solid  #f5a749 !important;
	color:   #f5a749 !important
}

#home_5 .location_btn a [data-av_icon]::before {
	font-size: 64px;
	text-decoration: none
}

#home_5 .location_btn .avia_button_icon{
	display: block;
	left: 0;
	margin-bottom: 10px
}

#home_5 .location_btn .avia_iconbox_title {
	font-size: 16px
}

#home_5 h3.avia-form-success {color: #4c575f !important}

#home_5 form label, #home_5 form label .required{
	color: #ffffff
}

#home_5 a{
	color:#f5a749 !important;
	text-decoration: none !important
}

.special_amp {
	font-family: inherit;
	font-size: inherit;
	font-style: normal
}
/*style newspage and map in lightbox     */

.page-id-35 #footer-page, .page-id-61 #footer-page {
	display: none !important
}

.mfp-iframe-holder .mfp-content {max-width: 90%}

.avia-button.avia-size-large {
    padding: 20px 5px 20px;
    width: 188px
    }

#top #av-burger-menu-ul {vertical-align: top}

.responsive #top #wrap_all .main_menu {
  left: 0 !important;
  top:23px
}

@media only screen and (max-width: 767px) {
	h2{
	font-size: 5vw}

	h1,
    h1.av-special-heading-tag{
    font-size: 8vw}

    .responsive #top #wrap_all .main_menu {
    left: 0 !important;
    top:23px
    }

    #home_5 .location_btn a {
    width: 25%;
}

}

@media only screen and (max-width: 960px) {
	#home_1 .avia-buttonrow-wrap{
		margin-left: auto;
		margin-right: auto;
		max-width: 580px
	}
}

@media only screen and (max-width: 1023px)and (min-width: 768px) {
}