/**
 *
 * FORM
 *
 */

.poll-data {
    margin-top: 45px;
}

.poll-question {
    width: 100%;
    margin-top: 20px;
}

.question-header {
    position: relative;
    width: 100%;
    margin: 0 auto;
    font-size: 3.2em;
    line-height: 1.2;
    font-weight: 600;
    color: #505050;
    text-transform: none;
    font-family: 'Roboto', 'Open Sans', sans-serif;
    padding: 0 0 0 0;
}
.question-header > span {
    position: absolute;
    width: 2em;
    text-align: center;
    left: 0;
    top: 0;
    display: none;
}
.question-header > strong {
    font-weight: 600;
}

.question-options {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 15px 0 15px 15px;
}
.poll-question.open .question-options,
.poll-question.text .question-options {
    padding-left: 0;
}

.question-options .option {
    display: block;
    position: relative;
    width: 100%;
    font-size: 2em;
    line-height: 1.4;
    margin: 7px 0;
    color: #505050;
    font-family: inherit;
    font-weight: 300;
    text-transform: none;
}
.question-options input[type="radio"],
.question-options input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 2px;
    height: 100%;
}
.question-options input[type="radio"] + label,
.question-options input[type="checkbox"] + label {
    position: relative;
    display: inline-block;
    padding-left: 2em;
    width: auto;
    cursor: pointer;
}
.question-options input[type="radio"] + label:hover,
.question-options input[type="radio"]:checked + label,
.question-options input[type="checkbox"] + label:hover,
.question-options input[type="checkbox"]:checked + label {
    color: #71236f;
}


.question-options input[type="text"],
.question-options textarea {
    display: inline-block;
    border: 1px solid #ffd4eb;
    background: #ffd4eb;
    width: 100%;
    height: 50px;
    padding: 0 15px;
    font-size: 1em;
    line-height: 48px;
    color: #505050;
    text-align: left;
    text-transform: none;
    font-family: 'Roboto', 'Open Sans', sans-serif;
    font-weight: 300;
    border-radius: 0;
}
.poll-question.text .question-options input[type="text"],
.poll-question.text-email .question-options input[type="text"] {
    width: 100%;
    height: 50px;
    line-height: 48px;
}
.poll-question.open .question-options textarea {
    width: 100%;
    height: 250px;
    resize: none;
    padding: 10px 15px;
    line-height: 1.4;
}

.poll-question.single .inline,
.poll-question.multi .inline {
    display: inline-block;
    padding-left: 15px;
    cursor: pointer;
}
.poll-question .inline input[type="text"] {
    height: 40px;
    line-height: 38px;
    position: relative;
    width: 300px;
}


@media screen and (max-width: 979px) {
    .question-header {
        font-size: 2.4em;
    }
}
@media screen and (max-width: 767px) {
    .question-header {
        font-size: 2em;
    }
}



.poll-error-msg {
    width: 70%;
    margin: 30px auto;
    font-size: 2em;
    font-weight: 500;
    padding: 20px 30px;
    font-family: 'Roboto', 'Open Sans', sans-serif;
    color: red;
    text-transform: none;
    text-align: center;
    background: #fff;
}
   
.poll-question.error-question {
	position: relative;
}
.poll-question.error-question:before {
	content: "!";
	position: absolute;
    left: -28px;
    top: 9px;
    text-align: center;
    width: 20px;
    height: 20px;
    color: red;
    font-size: 14px;
    line-height: 16px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    border: 2px solid red;
    border-radius: 50%;
}
.poll-question.open.error-question textarea,
.poll-question.text.error-question input[type="text"] {
    border-color: red;
    -webkit-box-shadow:inset 0 0 5px 3px #f00;
    box-shadow:inset 0 0 5px 3px #f00;
}

.poll-question .error-msg {
    margin-top: 0;
	color: red;
    font-family: 'Roboto', 'Open Sans', sans-serif;
    text-transform: none;
    padding-left: 0;
    display: none;
    clear: both;
}
.poll-question.open .error-msg {
    padding-left: 0px;
}
.poll-question.error-question .error-msg {
    display: block;
}
.poll-question input[type="text"].error,
.poll-question textarea.error {
    border: 1px solid red;
    -webkit-box-shadow:inset 0 0 5px 3px #f00;
    box-shadow:inset 0 0 5px 3px #f00;
}
@media screen and (max-width: 979px) {
    .poll-question.error-question:before {
        top: 4px;
    }
}
@media screen and (max-width: 767px) {
    .poll-question.error-question:before {
        top: 2px;
        left: -20px;
        border: none;
        font-size: 20px;
        line-height: 20px;
    }
}







/**
 *
 * FORM
 *
 */
.personal-data {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 5px 0;
    border: 0 none;
}

.personal-data .row {
    float: left;
    margin-right: 2%;
    padding-bottom: 20px;
}
.personal-data label {
    display: block;
    width: 100%;
    overflow: hidden;
    color: #505050;
    font-size: 1.9em;
    line-height: 44px;
    font-weight: 300;
    white-space: nowrap;
    /*display: none;*/
}
.personal-data input[type="text"] {
    display: block;
    border: 1px solid #ffd4eb;
    background: #ffd4eb;
    width: 100%;
    height: 40px;
    padding: 0 15px;
    font-size: 1.7em;
    line-height: 38px;
    color: #505050;
    text-align: left;
    text-transform: none;
    font-family: 'Roboto', 'Open Sans', sans-serif;
    font-weight: 300;
    border-radius: 0;
}

.personal-data .first-name { width: 49%; }
.personal-data .last-name { width: 49%; margin-right: 0; }
.personal-data .street { width: 66%; }
.personal-data .house-number { width: 32%; margin-right: 0; }
.personal-data .city { width: 66%; }
.personal-data .postal-code { width: 32%; margin-right: 0; }
.personal-data .email { width: 32%; }
.personal-data .phone { width: 32%; }
.personal-data .birth-year,
.personal-data .birth-date { width: 32%; margin-right: 0; }

.personal-data .first-name,
.personal-data .street,
.personal-data .email {
    clear: left;
}



.personal-accept {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 10px 0 0 0;
    border: 0 none;
    clear: both;
    
    font-size: 1.6em;
    line-height: 1.4;
    color: #828486;
}
.personal-accept p.info {
    color: #828486;
    font-size: 1em;
    font-weight: 300;
}
.personal-accept .row {
    display: block;
    position: relative;
    width: 100%;
    margin-top: 15px;
}
.personal-accept input[type="checkbox"] {
    position: absolute;
    left: 5px;
    top: 0px;
    height: 1.4em;
}
.personal-accept input[type="checkbox"] + label {
    display: inline-block;
    width: 100%;
    padding-left: 2.5em;
    font-weight: 300;
}
.personal-accept.personal-accept a {
    color: #71236f;
    border-bottom: 1px dotted #71236f;
}
.personal-accept.personal-accept a:hover {
    border-bottom: 1px solid #71236f;
}


@media screen and (max-width: 979px) {
    .personal-data label {
        font-size: 1.6em;
        line-height: 36px;
    }
}
@media screen and (max-width: 767px) {
    .personal-data .row {
        float: none;
        margin-right: 0;
        overflow: hidden;
        padding-bottom: 15px;
        width: 100%;
    }
}
@media screen and (max-width: 479px) {
    .personal-data label {
        display: block;
        float: none;
        width: 100%;
        line-height: 32px;
        height: 32px;
    }
    .personal-data input[type="text"] {
        display: block;
        float: none;
        width: 100%;
    }
}






.picture-data .errors,
.personal-data .errors,
.personal-accept .errors {
	color: red;
    display: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    list-style: none;
}
.picture-data .error-question .errors,
.personal-data .error-question .errors,
.personal-accept .error-question .errors {
    display: block;
}
.personal-data .error-question input[type="text"] {
    border-color: red;
    -webkit-box-shadow:inset 0 0 5px 3px #f00;
    box-shadow:inset 0 0 5px 3px #f00;
}

.personal-data .error-question,
.personal-accept .error-question {
	position: relative;
}
.personal-accept .error-question:before {
	content: "";
	position: absolute;
	left: -15px;
	top: 7px;
	border-left: 10px solid red;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
    display: block;
}




.form-submit {
    border: 0 none;
    padding: 30px 0 0 0;
    clear: both;
    text-align: left;
}
@media screen and (max-width: 979px) {
    .form-submit {
        text-align: center;
    }
}


.poll-container .results {
    margin-top: 40px;
}
@media screen and (max-width: 767px) {
    .poll-container .results {
        text-align: center;
    }
}



