﻿@media (max-width: 850px) {
    .desktop, header .desktop {
        display: none;
    }

    .mobile, header .mobile {
        display: block;
    }

    header, nav {
        display: none;
    }
    .page-area {
        margin-top: 0px;
    }
    .table, .table .table-row, .table .table-row .table-cell,
    .table .row, .table .row .cell,
    .tabletwo, .tabletwo .row, .tabletwo .row .cell {
        display: block;
        width: 100%;
    }

    nav .tablethree, .tablethree .table-row, .tablethree .table-row .table-cell {
        display: block;
        width: fit-content;
    }

    footer .midblock {
        max-width: 100%;
    }

    header .heroarea .topmblock {
        display: block;
    }

    .heroarea {
        height: calc(50vh - 100px);
    }

    .pagecontent {
        min-width: unset;
        max-width: 100%;
        overflow: scroll;
    }

    .full-width-gold {
        padding: 50px 10px 50px 10px;
        margin: 20px 0 0 0;
    }

    h1 {
        font-size: 2em;
    }

        h1 span {
            -webkit-text-stroke-width: 1px;
        }

    p .holder span.large {
        font-size: 65px;
    }

    .peoplebg {
        padding-bottom: 0px;
        background: none;
    }

        .peoplebg .bborder {
            display: none;
        }

    .pagecontent .holder, .pagecontent .coaching, .midblock {
        padding: 5px;
    }

    .midblock {
        max-width: calc(100% - 10px);
    }

    .reply {
        margin: 0px 0px 0px 10px;
    }

    .tblock .table, .tblock .table .row, .tblock .table .row .cell, .sblock {
        max-width: 100%;
        display: block;
        padding: 0px;
    }

    .tblock {
        position: relative;
        margin: 0 0 0 0;
    }

    footer {
        padding: 8px;
    }

        footer .midblock {
            max-width: 100%;
            padding: 0px;
        }

        footer ul {
            padding: 0px;
            margin: 20px 0 0 0;
        }

    .mobilelogo img {
        height: 50px;
    }
    /*Menu*/
    .mobile button.hamburger {
        display: block;
        margin-bottom: 0;
        font-weight: normal;
        text-align: center;
        vertical-align: middle;
        cursor: pointer;
        background-image: none;
        border: 1px solid transparent;
        white-space: nowrap;
        padding: 0;
        font-size: 1em;
        border-radius: 4px;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        border: 1px solid var(--color-beige);
        background-color: var(--color-beige);
        color: #000;
        width: 42px;
        margin: 0px 7px 0px 0px;
    }

    .mobile button span {
        border: 1px solid #FFF;
        background-color: #FFF;
        display: block;
        margin: 0px 0px 6px 0px;
        height: 3px;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        transform-origin: 100% 100%;
    }

    .mobileheader button.active .bar1 {
        -webkit-transform: rotate(-45deg) translate(0, -5px);
        -moz-transform: rotate(-45deg) translate(0, -5px);
        -ms-transform: rotate(-45deg) translate(0, -5px);
        -o-transform: rotate(-45deg) translate(0, -5px);
        transform: rotate(-45deg) translate(0, -5px);
    }

    .mobileheader button.active .bar2 {
        opacity: 0;
        width: 0;
    }

    .mobileheader button.active .bar3 {
        -webkit-transform: rotate(45deg) translate(1px, 7px);
        -moz-transform: rotate(45deg) translate(1px, 7px);
        -ms-transform: rotate(45deg) translate(1px, 7px);
        -o-transform: rotate(45deg) translate(1px, 7px);
        transform: rotate(45deg) translate(1px, 7px);
        margin: -1px 0px 0px 0px;
    }

    .mobileheader {
        overflow: hidden;
        padding: 3px 5px 3px 3px;
        background-color: var(--color-beige);
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 200;
    }

    .hamburger {
        float: right;
        margin: 10px 5px 0px 0px;
    }

    .mobilenav {
        position: absolute;
        top: 60px;
        width: 100%;
        z-index: 100;
        background-color: var(--color-darkbeige);
        min-height: 100vh;
        border-top: 1px solid var(--color-darkbeige);
        display: none;
    }

        .mobilenav ul {
            margin: 0px 0px 0px 25px;
            padding: 0px;
        }

            .mobilenav ul li {
                padding: 2px 2px 2px 5px;
            }
            .mobilenav ul li::marker {
                color:#FFF;
            }
                .mobilenav ul li a {
                    color: #FFF;
                    text-decoration: none;
                    display: block;
                    padding: 10px 0px 10px 0px;
                    border-bottom: 1px solid #FFF;
                }

    .mobileutil {
        background-color: #e1d5c4;
        padding: 10px;
        margin-top: 60px;
    }

        .mobileutil a {
            display: inline-block;
            width: calc(33% - 3px);
            text-align: center;
            text-decoration: none;
            color: var(--color-darker);
        }

    .mtable {
        display: table;
        width: 100%;
    }

    .mrow {
        display: table-row;
    }

    .mcell {
        display: table-cell;
        vertical-align: middle;
    }

        .mcell a {
            color: #FFF;
            text-decoration: none;
        }
    /*Menu*/

    .min600, .min800, .autosize {
        min-width: 300px;
    }

    .full-width .table {
        display: table;
    }

    .footer-block iframe {
        border: 0;
        margin: auto auto 50px auto;
        display: block;
    }

    .white-border-left {
        border-left: none;
    }

    .footer-block .table .row .cell:nth-child(2) {
        padding-left: 0px;
        padding-right: 0px;
    }

    .appt-mid {
        text-align: center;
    }

        .appt-mid .table .row .cell .bttn {
            margin: auto;
        }

    .service-box {
        width: 100%;
        padding: 0px 0px 20px 0px;
    }

    .inner-box {
        display: block;
        min-height: unset;
    }

    .box-text {
        min-height: unset;
    }

    .service-box h3 {
        min-height: unset;
    }

    .top-address, nav .tablethree .table-row .desktop {
        display: none;
    }

    .n_group {
        display: none;
    }

    .product-cell {
        padding: 5px;
    }

    .social-footer {
        padding-left: 10px;
    }

    a.ecoma {
        margin-left: 10px;
    }

    .white-border-left {
        background-image: none;
    }
    .center-block {width:fit-content;margin:auto;}
}
