/*=================== RESPONSIVE RULES ======================*/

@media (max-width: 768px) {

.mainmenu {

    width: 100%;

    float: none !important;

	padding: 0;

}

#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: 120px;

}

#wrapper .formResponsive .formHorizontal .formControlLabel {

    text-align: left;

    width: 120px;

}

}



/*======================================================== Jonas rettelser 19/08 2016 ====================================================*/

@media (max-width: 991px){
  #push {display: none;}
  #wrapper {margin: 0 auto 0; min-height: 0;}
  #footer-wrapper {height: auto;}
}
/*=================== DESKTOP ======================*/

@media (max-width: 1850px) {
  /*
  .tp-caption.large_text, .tp-caption.medium_text {
    left: calc(50% - 1140px/2) !important;
  }*/
}
@media (min-width: 1200px) {
  .tp-caption.small_text, .small_text {
    left: auto !important;
    right: 20px !important;
  }
}

/*=================== LAPTOP ======================*/

@media (max-width: 1299px) {
  .moduletable.banner img {
    height: auto !important;
  }
}

/*=================== TABLET LANDSCAPE ======================*/

@media (max-width: 1199px) {
  .tp-caption.large_text, .tp-caption.medium_text {
    left: calc(50% - 940px/2) !important;
  }
  .mainmenu .none .megamenu ul.level0 > li.megacss3.first > a.megacss3.first {
    padding-left: 0;
  }
  .mainmenu .none .megamenu ul.level0 > li.megacss3.last > a.megacss3.last {
    padding-right: 0;
  }
  #wrapper #jux_megamenucss3 .megamenu ul.level0 li.megacss3 span.menu-title {
    font-size: 16px;
  }
  /*
  #rev_slider_1_1_wrapper > #rev_slider_1_1 {
    height: 260px !important;
  }*/
  .tp-caption.small_text, .small_text {
    left: auto !important;
    right: 42px !important;
    top: auto !important;
    bottom: 27px !important;
  }
  .rejsebox1 > img {
    height: auto !important;
  }
  .rejsebox2 {
    min-height: 220px;
  }
  .ferieduration {
    bottom: 10px;
    margin-right: 100px;
  }
  .tp-caption.small_text > a {
    font-size: 14px !important;
    line-height: 12px !important;
  }
  #maintop-2 {
    background-size: cover;
  }
  .gruppefane img {
    height: auto !important;
  }
  .row.gruppefane div a {
    min-height: 61px;
  }
  .tilmelding a {
    font-size: 32px !important;
  }
  .page-item__omos img {
    width: calc(33.33333333% - 40px / 3);
    height: auto;
  }
  .ansat {
    min-height: 250px;
  }
  .body_ansatte main img {
    margin-bottom: 70px;
  }
  #aside-right h3 {
    font-size: 33px !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  #push, #footer-wrapper {
    height: 125px;
  }
  #wrapper {
    margin: 0 auto -125px;
  }
}

/*=================== TABLET PORTRAIT ======================*/

@media (max-width: 991px) {
  .tp-caption.large_text, .tp-caption.medium_text {
    left: calc(50% - 720px/2) !important;
  }/*
  #rev_slider_1_1_wrapper > #rev_slider_1_1 {
    height: 190px !important;
  }*/
  .tp-caption.small_text, .small_text {
    right: 24px !important;
    bottom: 24px !important;
  }
  main h1 {
    line-height: 36px;
  }
  .ansat {
    min-height: 280px;
  }
  .body_ansatte main img {
    margin-bottom: 120px;
  }
  #aside-right .kontaktinfo h3 {
    font-size: 23px !important;
  }
  .page-item__links p {
    margin-bottom: 0;
  }
  .page-item__links img {
    margin-bottom: 18px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  #header > .row-container > .container {
    width: 100%;
  }
  .ferieduration {
    left: 15px;
  }
  .rejsebox2 {
    min-height: 320px;
  }
  .emaillink {
    font-size: 16px;
  }
  .tilmelding .module_container {
    background: #2b3840;
  }
  .kontaktinfo p {
    font-size: 20px;
  }
  .kontaktinfo p.contact_email {
    font-size: 16px;
  }
  .kontaktinfo p.contact_phone span {
    line-height: 15px
  }
}

/*=================== MOBILE ======================*/

@media (max-width: 767px) {
  .tp-caption.large_text, .tp-caption.medium_text {
    left: 15px !important;
  }
  .tp-caption.large_text {
    top: 15px !important;
  }
  .tp-caption.medium_text {
    top: 40px !important;
  }
  #maintop-2 .rejse:nth-child(1), #maintop-2 .rejse:nth-child(2) {
    margin-bottom: 30px;
  }
  .rejsebox2 {
    min-height: 0;
    padding-bottom: 55px;
  }
  .bottombox1 {
    margin-bottom: 30px;
  }
  .row.gruppefane .col-sm-6:first-child, .row.gruppefane .col-sm-4:first-child, .row.gruppefane .col-sm-4:nth-child(2) {
    margin-bottom: 30px;
  }
  #content-bottom .gruppe-bus-links-og-bet li {
    background-size: 100% auto !important;
    background-position: left top;
    padding: 260px 10px 10px;
  }
  #aside-right {
    margin-top: 30px;
  }
  .row.gruppefane div a {
    min-height: 0;
  }
  .body_ansatte main img {
    float: none;
    margin-bottom: 0;
  }
  .ansat {
    min-height: 0;
    margin-bottom: 30px;
  }
}

/*=================== iPhone 6 + ======================*/

@media (max-width: 479px) {

  

}

/*=================== iPhone 6 ======================*/

@media (max-width: 413px) {
  .page-item__omos img {
    width: 100%;
    height: auto;
    margin: 0 0 20px !important;
  }
}

/*=================== iPhone 5 & 4 ======================*/

@media (max-width: 374px) {
  .tp-caption.small_text, .small_text {
    right: 0 !important;
    bottom: 0 !important;
  }
  .tp-caption.medium_text {
    top: 35px !important;
  }
  #content-bottom .gruppe-bus-links-og-bet li {
    padding: 200px 10px 10px;
  }
}