@media only screen and (min-width: 768px) {
    .mainmenu_wrapper.fixed { position:fixed; top:0; left:0; width:100%; z-index:100; border-bottom:5px solid #fff; }
}
@media only screen and (max-width: 1400px) {
    .static-brands a img { max-height: 50px; }
}
@media only screen and (max-width: 1200px) {
    .static-brands a img { max-height: 40px; }
}
@media only screen and (max-width: 768px) {
    .wrapper { max-width: none; width: 95%; }
    #mainlogo { float:none; width: auto; max-width: 90%; display: inline-block; margin:0 auto; }
    #mainlogo img { max-width: 100%; height: auto; }
    .socialmenu { display: inline-block; float: none; vertical-align: middle; margin:0; display: none; }
    .lang_url { float:none; margin-left:0; display: inline-block; vertical-align: middle; margin:0; margin-left:1.5rem; display: none; }
    .topmenu { float: none; display: inline-block; vertical-align: middle; margin:0; margin-top:1rem; display: none; }
    .footermenu { padding:1rem; }
    .footermenu li a { font-size: 0.9rem; line-height: 1; }
    #cookies_disclaimer { padding:0.5rem; }
    .mobilemenu-trigger { display: block; padding: 0; border:0; background: #3d63ba; text-align: center; font-size: 1.4rem; height:3.5rem; line-height: 3.5rem; width: 3.5rem; color: #fff; text-transform: none; cursor: pointer; margin:0; position: fixed; right:1rem; bottom:1rem; z-index:400; }
    .mainmenu_wrapper { padding:0;  right:0; bottom:1rem; position: fixed; background: none; display: none; width: 100%; padding-right:5rem; padding-left:1rem; z-index:300; }
    .mainmenu_wrapper>.wrapper { width: 100%; }
    .mainmenu { background: #3d63ba; }
    .mainmenu>li { float: none; display: block; width: 100%; margin:0; }
    .mainmenu>li>a { padding:0.75rem; text-align: left; color: #fff; }
    .mainmenu>li>ul { padding-top:0; width: 70%; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box; right:1rem; position: fixed; bottom:5rem; }
    .mainmenu>li>ul>li>ul { padding-top:0; width: 50%; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box; right:1rem; position: fixed; bottom:6rem; top:auto; z-index:600; left: auto; min-width: inherit; }
    .mainmenu>li ul li { display: block; width: 100%; }
    .mainmenu>li ul li a { text-align: left; }
    .mainmenu>li:hover>ul { display:none; }
    .mainmenu>li>ul>li:hover>ul { display:none; left: auto; }
    .mainmenu>li>a>i { display: none; }
    .mainmenu>li>ul>li>a { white-space: normal; line-height: 1.3; padding:0.75rem 1rem; }
    .mainmenu.witharrow>li>ul>li>a { padding-right:1rem; }
    
    /*.homeslider_img { position: static; -webkit-transform: translate(0%,0%); -ms-transform: translate(0%,0%); transform: translate(0%,0%); }
    .homeslider_info { position: static; -webkit-transform: translate(0%,0%); -ms-transform: translate(0%,0%); transform: translate(0%,0%); width: 100%; padding:2rem; }
    .homeslider li { height: auto; }
    .homeslider li:nth-child(even) .homeslider_info { padding:2rem; }
    .homeslider_img img { display: block; width: 100%; height: auto; }
    .homeslider_info h3 { font-size:1.5rem; line-height: 1.3; }
    .homeslider_info p { font-size:1rem; line-height: 1.5; }
    .homeslider_info a { margin-top:1rem; }*/
    
    .homeslider li a { height: auto; background: none!important; }
    .homeslider li a img { display: block; width: 100%; height: auto; }
    .page_header { overflow: auto; }
    .page_header .hinfo { position: static; width: 100%; text-align: center; -webkit-transform: translate(0%,0%); -ms-transform: translate(0%,0%); transform: translate(0%,0%); }
    .hinfo { padding: 1rem 0; }
    .hinfo h1 { font-size:2rem; line-height: 1.4; text-align: center; }
    .hinfo p { text-align: center!important; margin-top:0.25rem; font-size:1.1rem; line-height: 1.4; }
    .page_header .himg img { height: auto; }
    .static_content { padding:0 1rem; }
    .static_content.second { padding-top:2rem; }
    .cnt p { text-align: left; }
    .cnt img { max-width: 100%; height: auto; }
    .cnt ul, .cnt ol { margin-left:1rem; }
    .static_content.cnt p { font-size: 1rem; line-height: 1.5; }
    
    .home-subtitle { margin-bottom:1rem; }
    .home-boxes { margin-top:2rem; }
    .home-boxes a { float: none; width: 100%; margin: 0; margin-top:1rem; display: block; }
    .home-boxes a:nth-child(-n+4) { margin-top:1rem; }
    .home-boxes a:first-child { margin-top:0; }
    
    .home-brands { margin-top:3rem; }
    .static-brands a { margin-bottom:1rem; margin-right:1rem; max-width: 100px; }
    .static-brands a img { max-height: 30px; }
    
    .footermainmenu { display: none; }
    .footer-topline { padding:0.75rem 0; }
    
    .nopage { padding:3rem 0 0 0; }
    
    main { margin-bottom:3rem; }
}
@media only screen and (min-width: 500px) and (max-width: 768px) {
    .topmenu { margin-left:1.5rem; margin-top:0; }
}
@media only screen and (max-width: 768px) and (orientation: portrait) {
    .footermenu li { float: none; margin: 0; display: block; }
    .footermenu li a { padding:0.3rem; text-align: center; }
}
@media only screen and (max-width: 768px) and (orientation: landscape) {
    #topbar { text-align: left; }
    .mobilemenu-trigger { top:1rem; bottom:auto; }
    .home-boxes a { float: left; width: 48%; margin-top:2rem; margin-left:4%; }
    .home-boxes a:nth-child(-n+4) { margin-top:2rem; }
    .home-boxes a:nth-child(-n+2) { margin-top:0; }
    .home-boxes a:nth-child(2n+1) { margin-left:0; }
    .footermenu li { margin-left:2rem; }
    .mainmenu_wrapper { bottom:auto; top:1rem; }
}