html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

#verifiedGenbookBoxMobile,
.mobileBookAgain {
    display: none;
}

.address pre {
    font-family: Arial, Helvetica, sans-serif;
    white-space: pre-wrap;
    word-wrap: break-word;
}

@media (max-width: 960px) {
    body {
        min-height: 0;
        background: #fff;
    }

    #content #bookingform, #content #reviews {
        margin-top: 7px;
        margin-bottom: 50px;
    }

    #wrapper {
        width: 100%;
        overflow: hidden;
        margin: 0;
        padding: 0;
    }

    #reviews ul.reviewList {
        margin-bottom: 20px !important;
    }

    .sp-header {
        min-width: 0;
        padding: 0;
    }

    .header-reviews .spLocation {
        margin-top: 5px;
    }

    #header .spTitle .spLocation .address {
        color: #7a7a7a !important;
        float: none;
    }

    #header .spTitle {
        margin: 10px 17px;
    }

    .genbook-kk-search-types{
        margin-top: 2px;
        font-size: 12px;
        color: #7a7a7a
    }

    #verifiedGenbookBoxMobile {
        display: block;
        background: #f0f0f0;
        color: #777;
        padding: 5px 17px;
    }

    .mobilePrivacyMessage {
        padding: 10px 17px;
        font-size: 14px;
        line-height: 1.3em;
        color: #818181;
        background: #fafafa;
        border-bottom: 1px solid #f0f0f0;
    }

    #reviews .content #verifiedGenbookBox {
        border-radius: 0;
        -moz-border-radius: 0;
        -webkit-border-radius: 0;
        border-left: 0;
        border-right: 0;
        height: auto;
        padding: 10px 0;
    }

    #reviews .content #verifiedGenbookBox h3 {
        float: none;
        margin: 0 17px;
        padding: 0;
    }

    #reviews {
        width: 100%;
        margin: 0 auto;
    }

    #reviews .aside {
        float: none;
        width: 100%;
        display: none;
    }

    #customerBooking .aside {
        margin: 20px 0 0 0;
        width: auto;
        float: none;
        clear: both;
        padding-top: 50px;
    }

    #customerBooking .aside h2 {
        width: 100%;
    }

    #reviewThankYou #reviews .aside {
        display: block;
        width: 50%;
        margin: 0 auto;
    }

    #reviews .aside h2 {
        text-align: left;
        width: auto;
    }

    #writeReviewBox .writeReviewfield {
        width: 150px;
    }

    #reviews.writeReview .aside {
        display: block;
        margin: 0;
    }

    #footer {
        width: 100%;
        border-top: 0;
        height: auto;
    }

    #footer .rightLinks {
        float: none;
    }

    #footer > p {
        background: url(../images/mobile/logo-bg-2x.png) center no-repeat;
        background-size: 100%;
        width: 75px;
        height: 15px;
        display: block;
        font-size: 0;
        text-indent: -9999px;
        color: #fff;
        margin: 0 10px 10px auto;
    }

    #footer a.privacyLink {
        margin-left: 17px;
    }

    #footer a.privacyLink, #footer a.termsofuseLink {
        display: block;
        float: left;
        margin-top: 7px;
    }

    #reviews li.review {
        position: relative;
        padding: 5px 17px;
    }

    #reviews li.review .reviewDetails .appointmentDate {
        position: relative;
        margin-top: -23px;
        margin-left: 100px;
        color: #999;
    }

    #reviews li.review .reviewContent {
        position: relative;
        margin-top: -69px;
        font-size: 14px;
        margin-left: 0;
    }

    .content #writeReview #reviewComplete #reviewContent h3,
    #reviews li.review .reviewContent h3 {
        font-size: 14px;
        height: 18px;
        width: 90%;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

    #reviews li.review .reviewDetails .rating {
        margin-top: 20px;
        display: block;
        position: relative;
    }

    #reviews li.review .reviewDetails .reviewer {
        position: absolute;
        bottom: 10px;
        right: 17px;
        color: #818181;
        font-weight: 400;
        font-style: italic;
        font-size: 14px;
        max-width: 30%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #reviews li.review .reviewContent .description {
        margin-top: 30px;
        padding-bottom: 15px;
        color: #818181;
    }

    /*
    #reviewInvitation #header {
    background:#f1f1f1;
    height:auto;
    border-bottom:1px solid #dedede;
    border-top:3px solid #505050;
    padding:13px 0;
    }

    #reviewInvitation #header a {
    background:url(/images/genbook-logo-2x.png) no-repeat;
    width:89px;
    height:21px;
    display:block;
    background-size:100%;
    margin:0 17px;
    }

    .write-review-header {
        margin: 10px 0;
    }
    */
    #writeReviewHandshake {
        margin-left: 20px;
    }

    .writeReview #recentReviews {
        margin: 15px 17px;
    }

    #reviews.writeReview .aside h2 {
        font-size: 18px;
        border-bottom: 1px solid #eaeaea;
        padding-bottom: 5px;
    }

    .content #writeReview #writeReviewTitle {
        font-weight: bold;
        color: #333;
        padding-bottom: 5px;
        margin-top: 25px;
        margin-bottom: 15px;
    }

    .writeReview #businessInformation h2, .writeReview #businessInformation .vcard, .writeReview #recentReviews h2 {
        width: 100%;
    }

    .writeReview #businessInformation .vcard {
        color: #999;
    }

    .clickableStar {
        width: 44px;
        height: 44px;

    }

    #writeReviewPrivacy {
        font-size: 14px;
        margin: 0 15px;
    }

    .content #writeReview #writeReviewBox {
        width: 95%;
        margin: 25px auto;
    }

    #writeReviewBoxHeader {
        width: 100%;
        border-top: 1px solid #dbdbdb;
        height: auto;
    }

    #writeReviewBoxHeader h2 {
        margin-left: 17px;
        font-size: 14px !important;
    }

    #writeReviewBox .boxPadding,
    .write-review-header {
        padding: 0 17px;
    }

    #reviews .content h2, #reviews-aggregate .content h2 {
        width: auto;
        padding-right: 17px;
    }

    #recentReviews .review {
        margin-top: 45px;
    }

    #recentReviews .reviewPager {
        position: absolute;
        top: 47px;
        width: 100%;
    }

    #reviews li.review .reviewContent .customerSince {
        font-size: 13px;
        width: 65%;
        margin: -5px 0 0 0;
    }

    #recentReviews .reviewPager span {
        float: left;
    }

    #recentReviews #reviewPagerBtns {
        float: right;
    }

    .genbookLogo img, #verifiedGenbookBox, #verifiedGenbookBoxPrivacyOn, .manageLink, #verifiedGenbookBox img, #footer a, #footer > p img, .addThis {
        display: none;
    }

    #reviews .content, #reviews-aggregate .content, #reviews li.review .reviewDetails {
        float: none;
        width: 100%;
    }

    #writeReviewBox, #reviews .content h2, #reviews-aggregate .content h2, #recentReviews, #first_p, #businessInformation, #recentReviews .review h3.reviewTitle {
        font-size: 14px;
    }

    .writeReview #businessInformation, #writeReview #writeReviewTitle, #writeReview #first_p {
        margin: 0 17px;
    }

    #recentReviews .reviewPager #reviewPagerUp, #recentReviews .reviewPager #reviewPagerDown {
        background-size: 88px 40px;
        width: 44px;
        height: 40px;
    }

    #recentReviews .reviewPager #reviewPagerUp:hover,
    #recentReviews .reviewPager #reviewPagerDown:hover {
        opacity: 1;
    }

    #writeReviewBox .writeReviewInput.commentParent {
        display: block;
    }

    .content #writeReview #reviewComplete #reviewCompleteHeader {
        height: auto;
    }

    .content #writeReview #reviewComplete,
    .content #writeReview #reviewComplete #reviewCompleteHeader h2 {
        width: auto;
        height: auto;
        float: none;
        margin-bottom: 10px;
    }

    .content #writeReview #reviewComplete #reviewCompleteHeader h2 {
        padding-right: 15px;
        padding-left: 17px;
    }

    #reviewCompleteHeader img {
        display: none;
    }

    #reviewThankYou .content #writeReview #writeReviewTitle {
        border-bottom: 0;
    }

    #customerBooking {
        margin: 0 auto;
        width: 95%;
    }

    #customerBooking .content {
        width: 100%;
        margin: 0 auto;
        float: none;
    }

    .content #writeReview #reviewUnavailable {
        width: auto;
        margin: 0 17px;
    }

    .content #writeReview p.unavailableThanks {
        margin: 17px;
        font-size: 14px;
    }

    .offers-intro-headlines h2,
    .offers-intro-headlines h3 {
        font-size: 14px;
    }

    #offers .content {
        margin-right: 15px;
    }

    #offers .content,
    .offer-article {
        width: auto;
    }

    #offers .aside {
        margin: 20px 15px;
        width: auto;
    }

    #offers .aside h2 {
        font-size: 13px;
    }

    .offer-row .offer-expiry {
        font-size: 14px;
    }

    #reviewThankYou #bookAgain h2 {
        display: none;
    }

    #bookAgain {
        background: none;
        margin: 0;
        border: 0;
    }

    #bookAgain img,
    #bookAgain h2 {
        display: none
    }

    .mobileBookAgain {
        background: #008cdd;
        color: #fff;
        font-size: 16px;
        float: none;
        border-radius: 3px !important;
        text-align: center;
        display: block;
        margin: 0 17px;
        padding: 10px;
        color: #fff !important;
        text-decoration: none;
        font-weight: 700;
    }

    #bookAgain .mobileBookAgain img {
        display: inline;
        width: 8px;
        height: 16px;
        margin-left: 10px;
    }

}

@media (max-width: 750px) {
    .content #writeReview #writeReviewBox {
        width: 100%;
        border-left: 0;
        border-right: 0;
        border-top: 0;
        border-bottom: 0;
        margin: 25px auto;
        padding: 0;
    }

    #header .spTitle .spBusinessName,
    .write-review-header #businessInformation h2 {
        font-size: 20px;
        width: 100%;
        max-width: 480px;
    }

    .writeReviewStars {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        outline: none;
    }

    #writeReviewBox .writeReviewStars, #writeReviewBox .writeReviewInput {
        float: none;
        width: auto;
        display: inline;
        margin: 0 auto;
    }

    .content #writeReview #writeReviewTitle {
        font-size: 18px;
        border-bottom: 1px solid #eaeaea;
    }

    .reviewFormRow {
        margin-bottom: 30px;
        text-align: center;
    }

    .reviewFormRow input,
    .reviewFormRow select,
    .reviewFormRow textarea {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
    }

    #writeReviewBox .writeReviewfield {
        width: auto;
        text-align: left;
    }

    .writeReviewfield, .writeReviewInput, .reviewFormInfo {
        float: none;
        width: 100%;
        clear: both;
        margin: 10px 0;
    }

    #writeReviewBox #displayName,
    #writeReviewBox .displayNameOther {
        width: 100%;
        font-size: 16px;
        padding: 12px 7px;
    }

    #writeReviewBox .writeReviewInput {
        width: 100%;
    }

    .content #writeReview #reviewComplete #reviewContent p {
        width: auto;
        float: none;
    }

    #writeReviewBox input#headline, .writeReviewInput #comment, #writeReview .submit button {
        width: 100%;
        font-size: 16px;
        padding: 12px 7px;
    }

    .writeReviewInput #comment {

        padding: 5px;
    }

    #writeReview .submit button {
        font-size: 16px;
        padding: 5px;
    }

    .blankLabel {
        display: none;
    }

    #customerBooking,
    #customerBooking .content {
        margin: 0 auto;
        width: 100%;
    }

    #customerBooking .serviceCategories {
        width: 20%;
        margin-left: 17px;
        margin-right: 0;
        padding: 0;
    }

    #customerBooking .services {
        float: right;
        display: block;
        margin: 0;
        padding: 0 17px 0 0;
        width: 70% !important;
    }

    #customerBooking .aside {
        margin: 0 17px;
    }

    .customTxtField {
        padding: 0 15px;
    }

    @media (max-width: 680px) {
        #spLogo {
            display: none;
        }

        #spLogo .tall_logo {
            height: 45px;
            width: 72px;
            display: block;
        }
    }

    @media (max-width: 660px) {
        #progressIndicator {
            display: none;
        }

        .content #writeReview #reviewUnavailable {
            padding: 15px;
            height: auto;
        }

        .content #writeReview #reviewUnavailable img {
            display: none;
        }

        .content #writeReview #reviewUnavailable h2 {
            float: none;
            line-height: 1.5em;
            width: auto;
            margin: 0;
            padding: 0;
        }

    }

    @media (max-width: 580px) {
        #reviewThankYou #reviews .aside {
            width: 100%;
        }

        .mobileBookAgain {
            max-width: 400px;
            margin: 0 auto;
        }
    }

    @media (max-width: 500px) {
        #content .tabs {
            height: 45px;
            border-bottom: 0;
            width: 95%;
            overflow: hidden;
            margin: 0 auto;
            padding: 10px 0;
        }

        .bookingform .tabs li.tab a {
            background: none !important;
            text-align: left !important;
            padding: 0 0 8px 0px !important;
            margin-left: 7px;
            color: #000 !important;
            border-bottom: 1px solid #eaeaea;
        }

        #content .tabs li.tab {
            border: 0;
            height: auto;
            border-radius: 3px;
            -moz-border-radius: 3px;
            -webkit-border-radius: 14px;
            margin: 0;
        }

        #content .tabs li {
            float: none;
            width: 100%;
            margin: 0 0 10px !important;
            padding: 0;
        }

        #content .tabs li.tab a {
            background: #008cdd;
            color: #fff;
            font-size: 16px;
            float: none;
            border-radius: 3px !important;
            text-align: center;
        }

        #content .tabs li.tab a {
            display: none;
        }

        #content .tabs li.tab a img {
            display: inline;
            width: 8px;
            height: 16px;
            margin-left: 10px;
        }

        #content .tabs li:first-child a {
            display: block;
        }

        .content #writeReview #reviewComplete {
            border: 0;
        }

        .content #writeReview #reviewComplete #reviewCompleteHeader {
            border-bottom: 1px solid #def9c2;
        }

    }

    @media (max-width: 480px) {
        #verifiedCustomerTxt {
            display: none;
        }

        #writeReviewPrivacy {
            background: none;
            padding-left: 0;
        }

        .mobileBookAgain {
            max-width: auto;
            margin: 0 17px;
        }

    }
}