#menu #search {
  display: none;
}
@media screen and (max-width: 768px) {
  body {
    width: 100%;
    overflow-x:hidden;
  }
  iframe {
    max-width: 100%;
  }
  #toolmenu,
  #leftcol,
  #search,
  #servicemenu,
  #selfservicemenu,
  #tx-solr-search-functions  {
    display: none;
  }
  .pagenotfound #page,
  .innerwrapper {
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
  }
  .innerwrapper,
  #footerbottom ul,
  .floatfix,
  #contentcols,
  .pagenotfound #page,
  #footerbottom ul.second  {
    width: auto;
    float: none;
  }
  #headertop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    border-bottom: 1px solid #f1f1f1;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  #logo {
    float: left;
    max-width: 80%;
    margin: 0;
    max-height: 50px;
    height: 50px;
  }
  #logo img {
    max-height: 50px;
  }
  #menu {
    float: right;
    width: auto;
    margin: 0;
  }
  .slideup-menu-toggle {
    height: 45px;
    width: 45px;
    box-sizing: border-box;
    background-position: center 0 !important;
    background-size: 75px !important;
    padding-top: 8px;
  }
  #slideup-menu {
    right: 0;
    top: 70px;
    position: fixed;
    width: 100%;
    overflow: auto;
    bottom: 0;
  }
  #slideup-menu .selected ul {
    margin-left: 20px;
  }
  #slideup-menu .menu-list ol > li.selected ul  li a {
    color: #fff;
  }
  #slideup-menu  .menu-list ol > li.selected ul  li.active a {
    color: #b90013;
  }
  #menu #servicemenu {
    display: block;
    float: none;
    width: auto;
    margin: 25px 25px 5px;
    padding: 0;
  }
  #menu #servicemenu li {
    float: none;
  }
  #menu #servicemenu li a {
    display: block;
    padding: 5px 0;
  }
  #menu #search {
    display: block;
    background: #eae8e4;
    -webkit-border-radius: 15px;
    border-radius: 15px;
    float: none;
    margin: 25px;
    width: auto;
  }
  #menu #search #globalsearchbtn {
    width: 90%;
  }
  #menu #search #searchbtn {
    float: right;
  }
  #slideup-menu #resp-clone > div {
    display: block;
    padding: 30px 25px 0;
    float: none;
    width: auto;
  }
  #slideup-menu #resp-clone li {
    float: none;
  }
  #page {
    padding-top: 70px;
  }
  #breadcrumb-inner {
    padding-left: 10px;
    padding-right: 10px;
  }
  #footerbottom ul li {
    display: block;
    background: none;
  }
  #footertop .carousel,
  .pagesnews-carousel .carousel,
  #sectionsplash .twocol .left {
    margin-left: -10px;
    margin-right: -10px;
    width: auto;
  }
  .carousel .carousel-item {
    width: 50%;
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 40px;
  }
  .carousel .carousel-item img {
    width: 100%;
  }
  .carousel .carousel-item:nth-child(2n+3) {
    clear: left;
  }
  .splash-carousel-nav {
    position: relative !important;
    width: auto !important;
    margin-left: -10px;
    margin-right: -10px;
  }
  .splash-carousel-nav .carousel-items .carousel-item,
  .pagesnews-carousel .jcarousel-item, #footertop .jcarousel-item  {
    width: 768px !important;
  }
  .splash-carousel-nav .carousel-items .carousel-item .h2 {
    width: 100% !important;
    box-sizing: border-box;
    word-wrap: break-word;
  }
  .tilskudsbase-front-inner {
    background-size: cover;
  }

  .list-articles > li, .list-category > li {
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 0;
    margin-right: 0;
    width: 33%;
  }
  .section-splash {
    position: static;
    width: auto;
  }
  .section-splash .h1 {
    position: static;
    padding: 10px;
    width: auto;
  }
  .section-splash .h1 .txt {
    font-size: 28px;
  }
  #sectionsplash {
    background: none;
  }
  #frontcontent .twocol .left,
  #sectionsplash .twocol .left  {
    width: auto;
    float: none;
    position: static !important;
    height: auto !important;
  }
  #sectionsplash .twocol .left {
    margin-bottom: 20px;
  }
  #sectionsplash .twocol .left img {
    width: 100%;
  }
  #frontcontent .twocol .right,
  #sectionsplash .twocol .right {
    width: auto;
    float: none;
    height: auto !important;
    position: static !important;
  }
  #sectionsplash .twocol .right {
    background: #f1f1f1;
    padding-top: 10px;
  }
  .submenu2 h2 {margin-top: 0;}
  #sectionsplash .twocol .right .submenu2 .link-box {
    height: auto;
    width: auto;
    float: none;
  }
  .focus-text {
    margin-right: 0;
    width: auto;
    height: auto;
    float: none;
    padding-bottom: 1px;
  }
  .focus-box {
    padding-left: 10px;
    padding-right: 10px;
    width: 33%;
    box-sizing: border-box;
    margin-right: 0;
    height: auto;
  }
  #sectionfocus-inner .floatfix > div:nth-child(3n+5) {
    clear: left;
  }
  .focus-box a img {
    width: 100%;
  }
  .focus-box a .h2 {
    position: static;
    width: auto;
    display: block;
  }
  #content-doodle {
    background: none;
  }
  #page .subpage-noleft {
    background-position: -1147px top;}
  #page .subsection {background-position: -1151px top;}
  #content {
    background-position: -1211px top;
  }
  #tx-solr-search {
    float: none !important;
    width: auto !important;
  }
  .tx-solr {
    width: auto !important;
  }
  .tx-solr-search-form .tx-solr-q {
    width: 80% !important;
  }
  #page .subsection #contentcol,
  .subpage-noleft #contentcols #contentcol { width: 500px; padding-right: 0;}
  #page .subsection #rightcol,
  .subpage-noleft #contentcols #rightcol { width: 240px;}
  
  .searchform .left,
  .searchform .right  { width: auto; float: none;}
  #footerbottom ul li {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  div.csc-textpic-left .csc-textpic-imagewrap {
    float: none;
  }
  .subsectionsplash {
    margin-right: 0;
  }
}

@media screen and (max-width: 767px) {
  .list-articles > li, .list-category > li {
    width: 50%;
  }
  .carousel .carousel-item {
    width: 100%;
  }
  #content {
    background: none !important;
  }
  #breadcrumb {
    display: none;
  }
  #contentcol,
  #rightcol {
    width: auto;
    float: none;
  }
  #rightcol {
    background: #f1f1f1;
    padding-bottom: 50px;
  }
  #page .subsection #contentcol,
  .subpage-noleft #contentcols #contentcol { width: auto;}
  #page .subsection #rightcol,
  .subpage-noleft #contentcols #rightcol { width: auto;}
  .list-inline li:nth-child(3n+4) {
    clear: none;
  }
  #lbmodal {
    left: 10px !important;
    right: 10px !important;
    width: auto;
  }
  .pool-master-page .alignright .blackboxlink {
    display: none;
  }
  select {
    -webkit-appearance: none;
  }
  #rightcol-local .focus-box {
    width: calc(100% -20px);
  }
  #rightcol-local {
    padding-right: 20px;
  }
}

@media screen and (max-width: 667px) {
  .splash-carousel-nav {
    height: auto;
    padding-bottom: 30px;
    background: #292929;
  }
  .splash-carousel-nav .carousel-items .carousel-item,
  .pagesnews-carousel .jcarousel-item, #footertop .jcarousel-item  { width:667px !important; height: auto;}
  .splash-carousel-nav .carousel-items .carousel-item .h2 { padding: 10px !important; position: static;}
  .splash-carousel-nav .carousel-items .carousel-item .h2 .txt { font-size: 30px;}
}
@media screen and (max-width: 480px) {
  h1 {
    font-size: 28px;
    word-wrap: break-word;
  }
  .splash-carousel-nav .carousel-items .carousel-item,
  .pagesnews-carousel .jcarousel-item, #footertop .jcarousel-item  { width: 480px !important;}
  .tilskudsbase-front-top h2 { font-size: 25px;}
  .focus-box {
    width: 100%;
  }
  .searchform .or { clear: both;}
  .funding .lineit .area {width: 50%;}
  .funding .lineit .limits {width: 48%;}
  .funding .alignright {
    float: none;
    width: auto;
    padding-bottom: 0;
  }
}
@media screen and (max-width: 375px) {
  .splash-carousel-nav .carousel-items .carousel-item,
  .pagesnews-carousel .jcarousel-item, #footertop .jcarousel-item  { width:375px !important;}
}
@media screen and (max-width: 320px) {
  .splash-carousel-nav .carousel-items .carousel-item,
  .pagesnews-carousel .jcarousel-item, #footertop .jcarousel-item  { width:320px !important;}
  .list-articles > li, .list-category > li { width: 100%;}
  .searchform .or {
    margin: 0 !important;
    text-align: center;
    float: none;
    width: auto;
  }
  .searchform .right {
    clear: left;
  }
}
