﻿#view-main-content {
    background-color: #fff;
    border-radius: 12px;
    padding: 24px;
    font-size: 1rem;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    vertical-align: top;
    box-shadow: 0 0 6px #aaa;
}

    #view-main-content.with-menu {
        width: calc(100% - 274px);
    }

#view-main-content>h1 {
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 100%;
    margin-bottom: 24px;
}

#view-main-content>h2 {
    font-weight: 400;
    font-size: 1rem;
    line-height: 100%;
    margin-bottom: 24px;
}

.section {
    margin-bottom: 24px;
}

.section:last-child {
    margin-bottom: 0;
}

.section>h1 {
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 100%;
    margin-bottom: 24px;
}

.section>div {
    margin-bottom: 12px;
    font-size: 0;
}

    .section > div > p {
        font-size: 1rem;
    }

.section>div:last-child {
    margin-bottom: 0;
}

.section>div>label {
    display: inline-block;
    width: 130px;
    font-size: 1rem;
    box-sizing: border-box;
    vertical-align: middle;
}

.section>div>div {
    display: inline-block;
    width: calc(100% - 130px);
    font-size: 1rem;
    box-sizing: border-box;
    vertical-align: middle;
}

.section>div>div>input[type=text],
.section>div>div>input[type=email],
.section>div>div>input[type=password],
.section>div>div>textarea,
.section>div>div>select {
    display: block;
    width: 220px;
}

    /*.help-input {
        width: 250px !important;
    }*/

@media only screen and (max-width: 768px) {
    #view-main-content {
        width: 100%;
    }

    #view-main-content.with-menu {
        width: 100%;
    }

    .section>div {

    }

    .section>div>label {
        width: 100%;
        margin-bottom: 12px;
    }

    .section>div>div {
        width: 100%;
    }

    .section>div>div>div.text-input-wrap,
    .section>div>div>div>div.text-input-wrap{
        width: 100%;
    }


    .section>div>div>input[type=text],
    .section>div>div>input[type=email],
    .section>div>div>input[type=password],
    .section>div>div>textarea,
    .section>div>div>select {
        width: 100%;
    }
}