.container {
    max-width: 100%;
}

/*=================== RESPONSIVE RULES ======================*/
@media (max-width: 768px) {
.mainmenu {
    width: 100%;
    float: none !important;
	padding: 0;
}
  #top {
    display: block;
} 
#logo {
  text-align: center;
}
#magic-line { display: none; }
#wrapper .none #js-mainnavcss3.megamenu {
    background-color: #333333;
}
#navigation {
	display: none;
}
  #mobile-menu {
	display: block;
  }
}
@media (min-width: 651px) {
#wrapper .formResponsive .formHorizontal .formControls {
    margin-left: 0;
}
#wrapper .formResponsive .formHorizontal .formControlLabel {
    text-align: left;
    width: 120px;
  /*display: none;*/
}
}

/*=================== NEW RULES - RESPONSIVE RULES ======================*/

.moduletable.kontakt-top {
  width: auto;
}
.formResponsive #rsform_5_page_0 .formBody {
  display: inline-flex;
}
#showcase img {
  width: 100%;
}
.tp-bgimg.defaultimg{
    filter: none !important; 
    -webkit-filter: blur(0) !important; 
    -moz-filter: blur(0) !important;
    -ms-filter: blur(0) !important;
    filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='0') !important;
}
.skadeanmeldelse li {
    width: auto;
    line-height: 16px;
    margin-bottom: 24px !important;
}
.rsform-block-send > .formControlLabel {
  display: none;
}

/* X-Large - Desktop */
@media (min-width: 1430px) {

}

/* Large - Laptop */
@media (max-width: 1429px) {
  
}
@media (max-width: 1299px) {
  .kontakt-top li{
    font-size: 13px;
  }
  #maintop-2{
    background-position: calc(50% - 381px) center;
  }
  #bottom{
    background-position: calc(50% + 380px) center;
  }
  #footer img {
    max-width: 30px;
    margin-top: 8px;
}
}

/* Medium - Tablet Landscape (1024px) */
@media (max-width: 1199px) {
  #wrapper #jux_megamenucss3 .megamenu ul.level0 li.megacss3 span.menu-title {
    font-size: 14px;
  }
  .mainmenu .none .megamenu ul.level0 li.megacss3 a.megacss3 {
    padding: 10px 15px 6px;
  }
  .mainmenu .module_container {
    margin-top: 16px;
    margin-bottom: 10px;
  }
  #logo img, .logo-agentur img {
    max-width: 100%;
  }
  #logo, .logo-agentur {
    margin-top: 10px;
    width: 185px;
  }
  .box h3 {
    font-size: 25px;
  }
  .box .module_container a {
    padding-top: 165px;
  }
  .kontakt h2 {
    font-size: 24px;
  }
  .kontakt-box li {
    font-size: 25px;
  }
  #footer .moduletable:nth-child(1) {
    width: 58.33333333%;
  }
  #footer .moduletable.fmf {
    width: 41.66666667%;
  }
  .moduletable.sidebarmbillede h3 {
    font-size: 27px;
  }
  .body_kontakt .kontakt-box h3 {
    font-size: 22px;
    line-height: 22px;
    margin-bottom: 15px;
  }
  #showcase img {
    filter: none !important; 
    -webkit-filter: blur(0) !important; 
    -moz-filter: blur(0) !important;
    -ms-filter: blur(0) !important;
    filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='0') !important;
  }
  #rsform_6_page_0 input[type="radio"] {
    width: 13px;
    height: 13px;
  }
  #rsform_6_page_0 label {
    width: calc(50% - 23px) !important;
  }
}

/* Small - Tablet Portrait (768px) */
@media (max-width: 991px) {
    .mainmenu {
        display:none;
    }
    #magic-line {
        display: none;
    }
    #mobile-menu {
        display: block;
    }
  .box .module_container a {
    padding-top: 153px;
  }
  .slidertekst p, .slidertekst a {
    font-size: 12px !important;
    line-height: 12px !important;
  }
  .slidertekst a {
    display: inline-block;
  }
  .box.nr1, .box.nr2, .box.nr3 {
    width: 33.33333333%;
    float: left;
  }
  .box h3 {
    font-size: 19px;
  }
  .box .module_container {
    height: 250px;
  }
  .box .module_container a {
    padding-top: 210px;
    padding-right: 30px;
  }
  .kontakt h2 {
    font-size: 17px;
  }
  .moduletable.kontakt-box {
    margin-bottom: 30px;
  }
  #footer .moduletable:nth-child(1) {
    width: 64%;
  }
  #footer .moduletable.fmf {
    width: 36%;
  }
  #footer p {
    font-size: 13px;
  }
  .lilla h3 {
    font-size: 20px;
  }
  .moduletable.sidebarmbillede h3 {
    line-height: 27px;
  }
  .readMore {
    padding: 5px 15px;
  }
  .moduletable.kontakt, .moduletable.kontakt-box {
    width: 50%;
    float: left;
    margin: 0;
    margin-bottom: 30px;
    height: 280px;
  }
  .kontakt-box .module_container {
    height: 100%;
  }
  .moduletable.formular-forside {
    clear: both;
  }
  .body_forside .moduletable.kontakt, .body_forside .moduletable.kontakt-box {
    height: 340px;
  }
}

/* X-Small - Mobile (320px / 375px) */
@media (max-width: 767px) {
    #logo {
      text-align: center;
    }
  .sidebarmbillede .module_container{
    padding: 30px !important;
  }

  .whitebox h3{
    font-size: 24px;
    line-height: 24px;
    margin-bottom: 10px;
  }
  #logo, .logo-agentur {
    width: 100%;
  }
  #logo img, .logo-agentur img {
    width: 100%;
    max-width: 345px;
  }
  .kontakt-top .module_container {
    border-bottom: none;
  }
  .moduletable.kontakt-top {
    margin-bottom: 10px;
  }
  .box.nr1, .box.nr2, .box.nr3 {
    width: 100%;
    float: none;
  }
  .box .module_container {
    height: 200px;
  }
  .box .module_container a {
    padding-top: 165px;
  }
  .box h3 {
    font-size: 25px;
  }
  .moduletable.kontakt {
    margin-right: 0;
  }
  .formular-forside .module_container {
    height: auto;
  }
  #wrapper .formResponsive .formHorizontal .formControlLabel {
    display: none;
  }
  .formular-forside .rsform-block-navn,
  .formular-forside .rsform-block-email,
  .formular-forside .rsform-block-telefon,
  .formular-forside .rsform-block-emne {
    margin-right: 0;
  }
  #footer .moduletable:nth-child(1),
  #footer .moduletable.fmf {
    width: 100%;
  }
  .slidertekst {
    display: none;
  }
  #push, #footer-wrapper {
    height: 190px;
  }
  #wrapper {
    margin: 0 auto -190px;
  }
  .moduletable.sidebarmbillede h3 {
    font-size: 26px;
  }
  .page-item h1 {
    word-break: break-word;
    font-size: 31px;
  }
  .moduletable.kontakt, .moduletable.kontakt-box {
    width: 100%;
    float: none;
    height: auto;
  }
  .kontakt-box .module_container {
    height: auto;
  }
  .moduletable.kontakt h3 {
    font-size: 28px;
  }
  .body_forside .moduletable.kontakt, .body_forside .moduletable.kontakt-box {
    height: auto;
  }
  .forsikringsform .formResponsive .formHorizontal .formControls {
    margin-left: 0 !important;
  }
  #aside-right {
    margin-top: 30px;
  }
  #rsform_6_page_0 label {
    width: calc(100% - 23px) !important;
  }
  .formResponsive .formHorizontal .rsform-block {
    width: 100%;
}
  .formResponsive #rsform_5_page_0 .formBody {
    width: 100%;
}
}