﻿.content-center {
    width: 100% !important;
    max-width: 490px;
}

.page-section-header h1 {
    float: none;
}

h2.title {
    background: none !important;
    text-indent: 0;
    font-size: 22px;
    height: auto;
}

.input-section * {
    box-sizing: border-box !important;
}

.input-group {
    margin-right: 0;
    width: 100%;
}

.form-control {
    box-sizing: border-box !important;
}

.add-child-btn {
    text-align: right;
}

@media (max-width: 768px) {
    .radio input[type="radio"], .radio-inline input[type="radio"], .checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"] {
        /*position: static;*/
        margin-left: 0;
    }
}

.interests label {
    display: inline-block !important;
    padding-top: 5px;
    padding-bottom: 10px;
}

.col-xs-12 > span.checkbox {
    float: left;
}

a.panelInfo {
    display: block;
    margin: 10px 0;
}

.panelZone {
    display: none;
}

.editmode .panelZone {
    display: block;
}

.editmode a.close-panelZone {
    display: none;
}

a.close-panelZone {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 1.5em;
    z-index: 5;
}

.login-section {
    width: 100% !important;
    max-width: 330px;
}

    .login-section input {
        box-sizing: border-box;
    }

body:not(.editmode) .panelZone {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 38;
    background-color: rgba(0,0,0,0.38);
}

    body:not(.editmode) .panelZone .lightbox {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        max-width: 450px;
        max-height: 80%;
        background-color: white;
        box-shadow: 0 0 8px rgba(0,0,0,0.78);
        border: solid 1px #ccc4b2;
        border-bottom: solid 5px #ee6a32;
        padding: 15px;
        overflow: auto;
    }

input[id*="btnRegisterTop"] {
    display: none;
}

input[type="image"]:not([id*="Child"]), img.button {
    width: 125px !important;
    height: auto !important;
}

.form-paging-outer {
    overflow: hidden;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.form-paging {
    position: relative;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

    .form-paging > div {
        float: left;
        opacity: 1;
        -webkit-transition: all 0.5s ease-in-out;
        -moz-transition: all 0.5s ease-in-out;
        -o-transition: all 0.5s ease-in-out;
        transition: all 0.5s ease-in-out;
    }

.form-paging-outer.lastpage ~ .navbuttons .next,
.form-paging-outer[data-page="1"] ~ .navbuttons .prev {
    display: none !important;
}

.navbuttons a {
    display: inline-block;
}

    .navbuttons a.next {
        float: right;
    }

.required-input:not(.hasText) input {
    border-right: 5px solid rgb(235, 103, 50);
}

.required-input,
.required-input:before,
.required-input:after,
.required-input * {
    transition: all 0.5s ease-in-out;
}

    .required-input:before {
        position: absolute;
        content: "required";
        font-size: 0.8em;
        z-index: 5;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        right: 15px;
        font-style: italic;
    }

    .required-input.hasText:before {
        color: rgba(235, 103, 50, 0);
    }

    .required-input:after {
        width: 0;
        height: 0;
        border: 5px solid transparent;
        border-right-color: #eb6732;
        position: absolute;
        right: 5px;
        z-index: 5;
        top: 50%;
        transform: translateY(-50%);
        content: " ";
        pointer-events: none;
    }

    .required-input.hasText:after {
        right: 0;
        border-right-color: rgba(235, 103, 50, 0);
    }

@media (min-width: 601px) {
    .required-input:after {
        right: 20px;
    }

    .required-input:before {
        right: 35px;
    }

    .required-input.hasText:after {
        right: 15px;
    }
}

.questionafter {
    width: calc(100% - 50px);
}
