.main_menu {width: 100%; border-top: 2px; border-bottom: 2px; border-style: dotted; text-align: center; border-collapse: collapse; margin: 20px 0; }
#lang {display: block; }
#lang2 {display: none; font-size: 22px; margin: 0 auto; max-width: 200px; clear: both; }
#lang2 a {float: left; margin: 0 20px; }
.rotator {width: 1000px; height: 300px; }
.rotator, .rotator a div {background-size: 100% 100%;}
header #lang {top: -80px; }
.mobile-menu {display: none; }
.menudiv {width: auto; position: absolute; top: 0px; right: 0px; z-index: 999999; }
#menubar {background: #222; padding: 20px; float: right; position: relative; display: none; }
#menubar a {color: #999; }
#menubar a:hover, #menubar a:active {color: #00aaeb; }
.menubutdiv {float: right; position: relative; margin-top: 40px; background-color: #222; height: 80px; width: 80px; -webkit-border-top-left-radius: 8px; -webkit-border-bottom-left-radius: 8px; -moz-border-radius-topleft: 8px; -moz-border-radius-bottomleft: 8px; border-top-left-radius: 8px; border-bottom-left-radius: 8px; padding: 5px; }
.fa {position: absolute; top:20px; left: 24px; color: #fff; }

.featured-text {text-align: center; padding: 20px 50px; display: none; font-size: 1em; }
.featured-text h2 {font-size: 32px; }
.fdiv-outer {width: 33%; float: left; }
.fdiv-inner {width: 33%; float: left; border-left: 1px dotted white; border-right: 1px dotted white; }
footer {margin: 0 auto; min-height: 220px; background-image: none; background: #222; }

@media (max-width: 900px){
    .main_menu, #sidebar {display: none; }
    .mobile-menu {display: block; }
    #wrapper, footer .footer {margin: 0 auto; max-width: 760px; }
    #main .form {margin: 0 auto; width: auto !important; }
    footer {max-width: 760px; min-height: 760px; }
    header {margin: 0 auto; max-width: 760px; max-height: 140px; }
    .content {max-width: 720px; padding-left: 20px; padding-right: 20px; }
    .bc {padding-left: 22px; }
    header .header-img {width: 100%; }
    .rotator, .rotator a div {max-width: 760px; height: 230px; }
    .featured-text {display: block; }
    .img_featured {padding-top: 40px; }
    .img_featured, .img_featured tr {width: 760px; }
    .img_featured tr td, .img_featured tr td img {max-width: 88% !important; }
    .fdiv-outer {width: 100%; float: none; padding-bottom: 60px; }
    .fdiv-inner {width: 100%; float: none; border-left: none; border-right: none; }
}

@media (max-width: 800px){
    #wrapper {margin: 0 auto; max-width: 600px; }
    #main .form {margin: 0 auto; width: auto !important; }
    footer .footer {margin: 0 auto; max-width: 560px; }
    .content {max-width: 560px; }
    header {margin: 0 auto; max-height: 126px; max-width: 600px; }
    .rotator, .rotator a div {margin: 0 auto; max-width: 600px; height: 180px; }
    .img_featured {margin: 0 auto; }
    .img_featured, .img_featured tr {width: 600px; }
    .img_featured tr td .label a {font-size: 14px; }
    header #lang {top: -60px; }
    .btn {padding-left: 10px; padding-right: 10px; }
    .btn ul li .fa {left: -1.8em; }
    .btn ul {padding-left: 90px; }
}

@media (max-width: 600px){
    #wrapper {margin: 0 auto; max-width: 400px; }
    footer .footer {margin: 0 auto; max-width: 300px; }
    header {margin: 0 auto; max-width: 400px; max-height: 100px; }
    .content {max-width: 360px; padding-left: 10px; padding-right: 10px; }
    .rotator, .rotator a div {max-width: 400px; height: 120px; }
    .img_featured, .img_featured tr {width: 380px; }
    .img_featured tr td .label a {font-size: 10px; }
    .img_featured tr td .label {margin-right: 0px; }
    header #lang {top: -40px; }
}

@media (max-device-width: 900px){
    .menudiv {right: -20px; }
    .fa {left: 28px; }
    #lang {display: none; }
    #lang2 {display: block; }
    body {background: #222; }
    .featured-text {font-size: 16px; }
    .featured-text h2 {font-size: 32px; }
    #menubar h4 {font-size: 46px; }
    .menu, #seomenu a {font-size: 36px; line-height: 46px; }
    .main_menu, #sidebar {display: none !important; }
    #main table {display: block; width: auto; max-width: none; }
    .mobile-menu {display: block; }
    footer .footer {margin: 0 auto; width: auto; }
    #wrapper {margin: 0 auto; max-width: none; }
    #main .form {margin: 0 auto; width: auto !important; }
    footer {max-width: none; min-height: 760px; }
    footer h5 {font-size: 22px; line-height: 28px; }
    header {margin: 0 auto; max-width: none; min-height: 160px; max-height: 160px; }
    .content {max-width: none; padding-left: 20px; padding-right: 20px; width: auto; }
    .bc {padding-left: 22px; }
    .bc a {font-size: 10px !important; }
    #seomain .bc {padding-left: 10px; padding-top: 40px; }
    header .header-img {width: 100%; }
    .rotator, .rotator a div {max-width: none; height: 230px; }
    .featured-text {display: block; }
    .img_featured {padding-top: 40px; }
    .img_featured, .img_featured tr {width: 760px; }
    .img_featured tr td, .img_featured tr td img {max-width: 88% !important; }
    .fdiv-outer {width: 100%; float: none; padding-bottom: 60px; }
    .fdiv-inner {width: 100%; float: none; border-left: none; border-right: none; }
}

@media (max-device-width: 800px){
    #wrapper {margin: 0 auto; max-width: none; }
    #main .form {margin: 0 auto; width: auto !important; }
    .content {max-width: none; }
    header {margin: 0 auto; max-height: 126px; max-width: none; }
    .rotator, .rotator a div {margin: 0 auto; max-width: none; height: 180px; }
    .img_featured {margin: 0 auto; }
    .img_featured, .img_featured tr {width: 600px; }
    .img_featured tr td .label a {font-size: 14px; }
    header #lang {top: -60px; }
    .btn {padding-left: 10px; padding-right: 10px; }
    .btn ul li .fa {left: -1.8em; }
    .btn ul {padding-left: 90px; }
}

@media (max-device-width: 600px){
    #wrapper {margin: 0 auto; max-width: none; }
    header {margin: 0 auto; max-width: none; max-height: 100px; }
    .content {max-width: none; padding-left: 10px; padding-right: 10px; }
    .rotator, .rotator a div {max-width: none; height: 290px; }
    .img_featured, .img_featured tr {width: 380px; }
    .img_featured tr td .label a {font-size: 10px; }
    .img_featured tr td .label {margin-right: 0px; }
    header #lang {top: -20px; }
}