#formarea {
    position: absolute;
    top: 97px;
    left: 34px;
    width: 832px;
    height: 406px;
}

#formarea input.error {
    border: 1px solid red;
}

#formarea textarea.error {
    border: 1px solid red;
}

#formarea #top {
    position: absolute;
    width: 50%;
    height: 140px;
}

#formarea #leftside {
    position: absolute;
    top: 140px;
    width: 50%;
    height: 100%;
}

#formarea #rightsidetop {
    position: absolute;
    left: 50%;
    width: 50%;
}

#formarea #rightsidebottom {
    position: absolute;
    left: 50%;
    width: 50%;
    top: 125px;
}

#formarea #bottom {
    position: absolute;
    width: 100%;
    bottom: 0;
}

#formarea fieldset {
    border: none;
}

#formarea #speaker {

}

#formarea #speaker #stamp{
    position: absolute;
    right: 0px;
    top: -40px;
}

#formarea #speaker label {
    display: block;
}

#formarea #speaker label span {

}

#formarea #sender {
}

#formarea #sender h2 {
    font-size: 30px;
}

#formarea #sender label {
    width: 100%;
}

#formarea #sender label input {
    width: 100%;
    font-size: 15px;
    font-family: Arial, sans-serif;
    -webkit-appearance: none;
    border-radius: 0;
    border: none;
    border-bottom: 2px solid #ef0000;
    padding: 5px 0 5px 0;
}

#formarea #sender label span {
    font-family: mm-headline, Arial, sans-serif;
    font-size: 22px;
}

#formarea #sender .genderbox {
    position: absolute;
    top: 5px;
    left: 130px;
}

#formarea #sender .genderbox .radiocontainer {
    display: inline;
    padding-left: 25px;
    padding-right: 10px;
}

#formarea #consent {
    padding: 5px 0 0 0;

}

#formarea #consent label {
    width: 100%;
    display: block;
    margin-bottom: 0px;
}

#formarea #consent label a {
    text-decoration: underline;
}

#formarea #editicon {
    height: 60px;
    position: relative;
}

#formarea #editicon span {
    font-size: 15px;
    line-height: 15px;
    position: absolute;
    margin: 20px 10px 0 10px;
}

#formarea #editicon img {
    margin: 10px 0 0 0;
}

#formarea #textbox {
    width: 100%;
    max-width: 340px;
}

#formarea #product {
    width: 380px;
    border-left: 2px solid #ef0000;
    border-right: 2px solid #ef0000;
    border-top: 2px solid lightgray;
    border-bottom: 2px solid lightgray;
}

#formarea input[name="productName"] {
    background: none;
    opacity: 1;
    -webkit-appearance: none;
    width: 90%;
    border-radius: 0;
    font-family: mm-headline, Arial, sans-serif;
    font-size: 22px;
    color: #ef0000;
    line-height: 35px;
    padding: 0 20px 0 20px;
    margin: 0 auto;
    border: none;
}

#formarea textarea {
    -webkit-appearance: none;
    border-radius: 0;
    width: 100%;
    resize: none;
    font-size: 15px;
    font-family: Arial, sans-serif;
    padding: 10px 20px 10px 20px;
    display: block;
}

#formarea textarea#toptext {
    height: 92px;
    border: 2px solid #ef0000;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom: none;
}

#formarea textarea#bottomtext {
    height: 92px;
    border: 2px solid #ef0000;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top: none;
}

label.radiocontainer span {
    font-size: 18px;
}

.radiocontainer {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 5px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default radio button */
.radiocontainer input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* On mouse-over, add a grey background color */
.radiocontainer:hover input ~ .checkmark {
    background-color: white;
}

/* When the radio button is checked, add a blue background */
.radiocontainer input:checked ~ .checkmark {
    background-color: white;
}

/* Show the indicator (dot/circle) when checked */
.radiocontainer input:checked ~ .checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.radiocontainer .checkmark:after {
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef0000;
}

/* Create a custom radio button */
.radiocontainer .checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 14px;
    width: 14px;
    background-color: white;
    border-radius: 50%;
    border: 1px solid #ef0000;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.radiocontainer .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

label.checkboxcontainer span {
    font-size: 15px;
}

.checkboxcontainer  {
    position: relative;
    padding-left: 25px;
    padding-right: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.checkboxcontainer input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkboxcontainer .checkmark {
    position: absolute;
    top: 5px;
    left: 0;
    height: 16px;
    width: 16px;
    background-color: #ffffff;
    border: 1px solid #ef0000;
}

/* On mouse-over, add a grey background color */
.checkboxcontainer:hover input ~ .checkmark {
    background-color: #ffffff;
}

/* When the checkbox is checked, add a blue background */
.checkboxcontainer input:checked ~ .checkmark {
    background-color: #ffffff;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkboxcontainer .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkboxcontainer input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkboxcontainer .checkmark:after {
    left: 5px;
    top: 1px;
    width: 3px;
    height: 8px;
    border: solid #ef0000;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

#form input[type="radio"] {

}



#form input[type="submit"] {
    -webkit-appearance: none;
    position: absolute;
    right: 0;
    border: none;
    font-size: 22px;
    font-family: mm-headline, Arial, sans-serif;
    background-color: #ef0000;
    border-radius: 10px;
    color: #ffffff;
    padding: 10px 40px 10px 40px;
    cursor: pointer;
}

.wideframe #formarea {


}

#formarea #bottom .lds-dual-ring {
    position: absolute;
    top: 0;
    right: 0;
    padding-right: 270px;
    height: 47px;
    width: 47px;
}

#formarea #bottom .lds-dual-ring:after {
    width: 36px;
    height: 36px;
    border: 5px solid #ef0000;
    border-color: #ef0000 transparent #ef0000 transparent;
}

#formarea #bottom #hint {
    position: absolute;
    top: 0;
    right: 0;
    text-align: right;
    padding-right: 270px;
    line-height: 47px;
}


@media (max-width: 900px) {
    #formarea {
        width: 100%;
        height: 100%;
        top: 75px;
        left: 0;
        overflow-x: hidden;
        overflow-y: scroll;
    }

    #formarea #top {
        width: 100%;
    }

    #formarea #rightsidetop {
        left: 0;
        width: 100%;
        top: 130px;
    }

    #formarea #rightsidebottom {
        left: 0;
        width: 100%;
        top: 710px;
    }

    #formarea #leftside {
        width: 100%;
        height: auto;
        top: 470px;
    }

    #formarea h1 {
        width: 85%;
        margin: 0 auto;
    }

    #formarea #editicon {
        width: 85%;
        margin: 0 auto;
    }

    #formarea #editicon span {

    }

    #formarea #textbox {
        width: 85%;
        margin: 0 auto;
        max-width: none;
    }

    #formarea #product {
        width: 100%;
    }

    #formarea #speaker {
        width: 85%;
        margin: 0 auto;
    }

    #formarea #speaker #stamp {
        position: relative;
        top: 0;
        right: 0;
    }

    #formarea #speaker #stamp img {
        right: 0;
    }

    #formarea textarea {
        max-width: 100%;
        padding: 0;
    }

    #formarea #sender {
        width: 85%;
        margin: 0 auto;
    }

    #formarea #sender .genderbox {
        position: relative;
        left: 0;
        top: 0;
        margin: 0 0 10px 0;
    }

    #formarea .checkboxcontainer {
        display: block;
    }

    #formarea #bottom {
        position: absolute;
        top: 1045px;
        width: 100%;
        height: 230px;
    }

    #formarea #consent {
        width: 85%;
        margin: 0 auto;
    }

    #formarea #consent label {
        width: auto;
    }

    #formarea #bottom #hint {
        width: 85%;
        margin: 0 auto;
        padding: 0;
        position: relative;
        text-align: left;
        line-height: 22px;
    }

    #formarea #bottom .lds-dual-ring {
        top: 50px;
        padding-right: 290px;
    }

    #formarea #bottom input {
        top: 50px;
        margin-right: 20px;
    }
}


@media (max-width: 400px) {
    #formarea #bottom {
        top: 1090px;
    }

    #formarea #bottom .lds-dual-ring {
        top: 0;
        right: 0;
        left: auto;
        padding-left: auto;
        padding-right: 20px;
    }

    h1 {
        font-size: 32px;
        line-height: 32px;
    }
}