﻿
@media (max-width: 576px) {

    html {
        font-size:14px;
    }

    body {
        overflow-x:auto;
    }

    .body {
        width:100%!important;
        padding-top:75px;
    }

    .desktop {
        display: none;
    }

    .mobile {
        display: initial!important;
    }

    .content {
        width:100%;
        margin:0px;
    }
    .header {
        width:100%;
        height:75px;
    }
    .article .image {
        width:100%;
        height:auto;
        padding-top:66.66%;
    }
    .articlebody {
        width:100%;
    }
    .header .logo {
        height: 44px;
        margin-left: 1.875rem;
    }
    .contactformwrapper {
        width: 100%;
        padding-left: 0px;
        padding-right: 0px;
    }
    .twocols {
        display:block;
    }
    .twocols > div {
        width:100%;
    }
    .column {
        width: 100%;        
    }
    .column h2 {
        padding-left: 1.875rem;
        padding-right: 1.875rem;
        text-align:left;
    }
    .bigteaser .twocols > div:last-child {
        padding-left: 1.875rem;
    }

    .membership-details .box {
        padding:1.875rem;
    }

    .twocolswrapped {
        display: block;
        margin-left: 0px;
        margin-right: 0px;
    }
    .twocolswrapped .column {
        margin:0px;
        margin-bottom: 1.875rem;
    }

    .contactform .twocolswrapped .column {
        margin:0px;
    }

    .contactform {
        border:none;
        border-top: 1px solid #f8d1db; 
    }

    .bigteaser .imagecarousel .image {
        padding-top:50%;
    }

    #startpage > .content, #locationpage >.content {
        margin-top: 0px;
    }

    .bigteaser .twocols {
        padding-top:0px;
    }
    .generic-teaser .twocols {
        min-height:0px!important;
    }
    .twocols .image {
        padding-top:50%;
    }
    .location-dropdown {
        top:75px;
    }
    .location-dropdown .shadow {
        display: none;
    }
    .location-dropdown .image {        
        min-height:0px;        
    }

    .footer .contact {
        height: 46px;
        margin-left:1.875rem;
    }

    .footer .logo {        
        display:none;
    }

    .header .content {
        position:relative;
        display:block;
    }

    .header .logolink {
        background-image: url('/web/media/img/thon-flex-logo_pink.svg');
        background-repeat: no-repeat;
        background-size: 64px;
        background-position: left 1.875rem center;
        height: 100%;
        width: 100px;
        position: absolute;
        top: 0px;
        left: 0px;
        bottom: 0px;
        margin-top: auto;
        margin-bottom: auto;
    }

    .header .menubutton {
        width:80px;
        height:100%;
        position:absolute;
        background-color:transparent;
        right:0px;
        background-image: url('/web/media/img/icons/line-menu.svg');
        background-size: 1.875rem;
        background-position: right 1.875rem center;
        background-repeat: no-repeat;
        background-color: white;
        z-index:100;
    }

    .header .menu {
        width: 100vw;
        position: fixed;
        height:100px;
        top: 0px;
        right: 0px;        
        padding-top: 75px;
        opacity: 0;        
        box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);        
        transition: all 0.2s ease-out;
        pointer-events:none;
    }


    .header .menu.open {
        opacity: 1;
        height: auto;
        pointer-events: all;
    }

    .header .menu .item.down {
        background-position: right 20px center;
    }

    .header .menu .item {
        background-color: white;
        margin-left: 0px;
        display: block;
        padding-left: 1rem;
        padding-right: 1rem;
        line-height: 4rem;
        border-top: 1px solid #eee;
    }

    .header .menu .item:last-child {
        border-bottom:0px;
    }

    .header .menu .button {
        margin-left: 0px;
        margin-top: 1rem;
        margin-bottom: 1rem;
        margin-right:1rem;
    }

    .header .menu .button-container {
        text-align:right;
    }

    .location-dropdown .location {
        padding: 1.5rem;
    }

    .location-dropdown .location .name {
        font-size: 1.25rem;
    }


    .membership-teaser .priceinfo .month {
        padding-left: 0px;
        white-space: nowrap;
        line-height: 1.5rem;
    }

    .membership-teaser .priceinfo span {
        display:block;
    }

    .membership-teaser .price {
        line-height: 1.5rem;
    }

    .membership-teaser .bottom .button:first-child {
        margin-left:0px;
    }

    .membership-teaser .bottom .button {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .membership-teaser .bottom {        
        align-items: flex-end;
        padding-top: 1rem;
    }

    .location-details .column > .image {
        padding-top:90%;
    }

    .flex *{
        width: 100%;
        margin-top: 2.5px;
        margin-bottom: 2.5px;
        text-align: center;
    }

    @media (max-width: 576px) {
        .column-carousel {
            width: 100%;
            padding-top: 0%;
        }

        .column-carousel .imagecarousel .image {
            padding-top: 90%;
        }
    }

}
