.menu-wrapper {
    display: none;
}
.hideDesktop {
    display: none;
}
@media only screen and (max-width :1024px) {
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    .hideDesktop {
        display: block;
    }
    .hideMobile {
        display: none;
    }
    .content {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .language {
        float: none;
        margin: 0 0 20px;
    }
    .logo {
        margin: 0;
        max-width: 50%;
        align-self: center;
        min-width: 165px;
    }
    .top {
        height: auto;
        vertical-align: middle;
        height: 60px;
        position: fixed;
        top: 0;
        z-index: 2;
        display: flex;
        left: 0;
        padding: 0 20px;
    }
   
    .top_image {
        margin: 0;
        display: none;
    }
    .body {
        margin-top: 20px;
        background: none;
    }
    .main {
        padding: 20px;
    }
    .top_oppettider {
        left: 0;
        width: 100%;
        z-index: 1;
        background: url(/site/images/vandrarhem-halmstad.jpg);
        height: auto;
        margin: 0;
        position: relative;
        margin-top: 40px;
        border-radius: 0;
        padding: 20px;
        padding-top: 14%;
        top: 0;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        height: calc(100vw * 0.3);
        min-height: 316px;
    }
    .top_oppettider:after {
       content: "";
       position: absolute;
       width: 100%;
       height: 100%;
        display: block;
        top: 0;
        left: 0;
        background-image: url(/site/images/main_top.png);
        background-position: bottom;
        background-repeat: no-repeat;
    }
    .top_oppettider span:first-child {
        display: block;
    }
    table, td, tr, tbody {
        display: block;
        width: 100% !important;
        height: auto !important;
    }
    body {
        margin: 0;
        word-break: break-word;
    }
    input[type="text"]{
        height: 40px;
    } 
    textarea {
        height: 200px;
    }
    input[type="text"], textarea {
        width: 100%;
        line-height: 40px;
        border: 1px solid #ddd;
        border-radius: 8px;
    }
    input[type="submit"] {
        display: inline-block;
        background-color: #333333;
        color: #FFF;
        text-align: center;
        line-height: 40px;
        -webkit-appearance: none;
        outline: none;
        cursor: pointer;
        border-radius: 8px;
        text-transform: uppercase;
        font-size: 14px;
        padding: 0 16px;
    }



.menu-wrapper {
    position: absolute;
    top: 0;
    right: 20px;
    bottom: 0;
    margin: auto;
    width: 40px;
    height: calc((6px + 9px)*2);
    cursor: pointer;
    display: block;
    z-index: 9;
}

.hamburger-menu,
.hamburger-menu:after,
.hamburger-menu:before {
    width: 40px;
    height: 6px;
    border-radius: 6px;
}

.hamburger-menu {
	position: relative;
	transform: translateY(12px);
	background: #333;
	transition: all 0ms 300ms;
  
}
.hamburger-menu.animate {
    background: rgba(255, 255, 255, 0); 
  }
.hamburger-menu:before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 12px;
	background: #333;
	transition: bottom 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.hamburger-menu:after {
	content: "";
	position: absolute;
	left: 0;
	top: 12px;
	background: #333;
	transition: top 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.hamburger-menu.animate:after {
	top: 0;
    transform: rotate(45deg);
    background: #fff;
	transition: top 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);;
}

.hamburger-menu.animate:before {
	bottom: 0;
    transform: rotate(-45deg);
    background: #fff;
	transition: bottom 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);;
}
#active .mi_center {
    background: #8eccf2;
    padding: 0 16px;
    line-height: 40px;
    display: inline-block;
    height: auto;
    border-radius: 10px;
}
#active .mi_left {
    display: none;
}
.inactive .mi_left {
    display: none;
}
#active .mi_right {
    display: none;
}
.inactive .mi_right {
    display: none;
}
.inactive .mi_center {
    line-height: 40px;
    display: inline-block;
    height: auto;
    border-radius: 10px;
}
.menu_item {
    margin: 0;
    margin-bottom: 16px;
    text-align: center;
}
.menu {
    margin: 0;
    width: 100%;
    float: none;
    flex-direction: column;
    display: flex;
}
.language a.active {
    display: inline-block;
    border: 1px solid #8eccf3;
    padding: 4px;
    border-radius: 6px;
}
.menu_wrap {
    position: absolute;
    margin: 0;
    width: 100%;
    max-width: 400px;
    float: none;
    right: 0;
    top: 0;
    padding: 20px;
    transform: translate3d(100%, 0, 0);
    transition: transform ease-in-out 0.26s;
    background: #333;
    overflow: scroll;
    height: 100vh;
}
    body.showMenu .menu_wrap {
        transform: translate3d(0%, 0, 0);
    }
    .bottom {
        height: auto;
        margin-bottom: 20px;
    }
    table.gallery_wrapper {
        display: table;
    }
    table.gallery_wrapper tbody{
        display: table;
    }
    table.gallery_wrapper tr{
        display: table-row;
    }
    table.gallery_wrapper td{
        display: table-cell;
    }
    .gallery {
        height: auto;
        margin: 8px;
        width: calc(33.33% - 16px);
    }
    .gallery img {
        width: 100% !important;
    height: auto !important;
    }
}
/* END MEDIA SCREEN WIDTH 1024px */
@media only screen and (max-width :960px) {
    .top_oppettider {
        padding-bottom: 8%;
    }
}

@media only screen and (max-width :768px) {}
@media only screen and (max-width :667px) {
    .top_oppettider {
        min-height: 306px;
    padding-top: 21%;
    }
}

@media only screen and (max-width :414px) {
    .gallery {
        margin: 8px 0;
        width: 100%;
    }
   
   
}

@media only screen and (max-width :375px) {

}

@media only screen and (max-width :320px) {
}