@extends($user_shop ?'web.user.layouts.layout' : 'web.layouts.layout')

@section('content')

    <section class="page-header page-header-xlg parallax parallax-3"
             style="background-image:url('/assets/images/vision-min.jpg')">
        <div class="overlay dark-1"><!-- dark overlay [1 to 9 opacity] --></div>
        <div class="container">
        </div>
    </section>

<style>
    .checkbox.error{
        color:#b92c28 !important;
    }
</style>
    <style type="text/css">
        .tp-caption {
            text-shadow: none;
        }
        div.shop-item {
            margin-bottom: 30px;
            border: 1px solid #ddd;
        }

        div.shop-item > .thumbnail, .thumbnail {
            border: none;
        }

        div.shop-item-summary {
            padding: 8px;
        }

        div.shop-item-summary h2 a {
            color: #9aa983;
            font-size: 1.2em;
            margin: 0 0 10px 0;
        }

        div.shop-item-buttons {
            padding: 0 8px 10px 8px;
        }

        div.shop-item-buttons .btn-xs {
            padding: 4px;
        }
        img.avatar {
            width: 75%;
            max-width: 200px;
            border: 6px solid #bbccab;
            margin-bottom: 10px;
        }
        .radio, .checkbox {
            font-size: 14px;
            line-height: 1.3em;
        }
         .checkbox i {
             top:1px;
         }

        .alert.error {
            padding: 8px;
            margin-bottom: 4px;
            margin-top: 4px;
            font-size: 0.9em;
            font-weight: bold;
        }
        select.form-control:not([size]):not([multiple]) {
            height: 40px;
        }
    </style>

    {{-- <script src='https://www.google.com/recaptcha/api.js'></script>--}}


    <section>
        <div class="container">

            <div class="row">

                <!-- FORM -->
                <div class="col-md-9 col-sm-8">

                    <h1>Registrierung</h1>
                    <div class="panel panel-default">
                        <div class="panel-body">
                            <h3>{{ trans('register.reg_finisch_hl') }}</h3>
                            <p>{{ trans('register.reg_finisch_line_1') }}<br>
                            {{ trans('register.reg_finisch_line_2') }}</p>
                            <hr />
                            <p>
                                <strong>{{ trans('register.sender') }}</strong>
                            </p>
                        </div>
                    </div>
                </div>


                <!-- INFO -->
                <div class="col-md-3 col-sm-4" style="border-left: 1px solid #ddd;">


                    @if($user_shop)
                        <h2 class="text-center">Kontakt</h2>
                        <p class="text-center">Ich freue mich über Deinen Besuch in meinem MIVITA Onlineshop. Ich bin Deine persönliche Beratung rund um die Produkte und ihrer Anwendung.</p>
                        <div class="text-center">
                            @if($user_shop->isImage())
                                <img class="img-responsive rounded avatar" src="{{ url($user_shop->getImage()) }}" alt="">
                            @else
                                <img class="img-responsive rounded avatar" src="{{ asset('assets/images/avatar.png') }}" alt="">
                            @endif
                        </div>

                        <p class="text-center">
                            @if($user_shop->title)
                                <strong style="color: #97b085; font-size: 1.1em;">{{ $user_shop->title }}</strong><br>
                            @endif
                            @if($user_shop->contact)
                                {!! nl2br($user_shop->contact) !!}
                            @endif
                            <br>
                            {{ $user_shop->getSubdomain(true) }}
                        </p>

                        @if($user_shop->accessibility)
                            <p class="text-center">
                                <strong>Meine Erreichbarkeit:</strong><br>
                                {!! nl2br($user_shop->accessibility) !!}
                            </p>
                        @endif

                    @else

                    <h2>Kontakt</h2>
                    <hr/>
                    <p>
                        <span class="block"><strong><i class="fa fa-map-marker"></i> Adresse:<br></strong> mivita e.K.<br>
								Leinfeld 2<br>
								87755 Kirchhaslach</span>
                        <span class="block"><strong><i class="fa fa-phone"></i> Telefon:</strong> <a
                                    href="tel:0 8333-946 98 90">0 8333-946 98 90</a></span>
                        <span class="block"><strong><i class="fa fa-envelope"></i> Email:</strong> <a
                                    href="mailto:info@riwa-tec.de">info@mivita.care</a></span>
                    </p>
                    <hr/>
                    <h4 class="font300">Geschäftszeiten</h4>
                    <p>
                        <span class="block"><strong>Mo. - Fr.:</strong> 9-12 Uhr u. 13-16 Uhr</span>
                    </p>

                    @endif

                </div>
            </div>
        </div>
    </section>
    <!-- / -->



@endsection