/*
 * Quote style for gallura template.
 */

/* Quote section */
section#quote form {
    margin-bottom: 5em;
}

section#quote h5 {
    text-align: center;
    margin-top: 2%;
    width: 100%;
    display: inline-block;
}

section#quote p, section#quote label {
    font-style: italic;
    font-size: .8em;
    margin-bottom: 2%;
    text-align: center;
}

section#quote fieldset > div {
    display: none;
}

section#quote input[type="text"], section#quote textarea {
    float: left;
    height: 3em;
    margin-bottom: 3%;
    color: var(--darkGrey);
    background-color: #E0DEDE;
    font-family: 'Raleway', Arial, Helvetica, sans-serif;
    font-style: italic;
    border: 0;
    padding: 1%;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

section#quote input[type="submit"] {
    display: block;
    float: right;
    border: 0;
    cursor: pointer;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

section#quote fieldset > label {
    width: 50%;
    display: block;
    float: left;
    text-align: left;
    margin-bottom: 0;
}

section#quote fieldset > label#bodyLabel {
    float: none;
    width: 100%;
    margin-top: 5%;
}

section#quote fieldset > label > input[type="text"] {
    width: 95%;
}

section#quote fieldset > label > input[type="text"].right {
    margin-right: 10%;
}

section#quote span {
    font-weight: bold;
    font-size: 2em;
}

section#quote label span {
    float: left;
}

section#quote fieldset select {
    display: block;
    margin: 0px auto;
}

section#quote fieldset div {
    text-align: center;
}

section#quote fieldset div input[type="text"] {
    float: none;
}

section#quote fieldset div label {
    margin: 5% 2% 5% 0;
    font-size: .8em;
}

section#quote textarea {
    height: 10em;
    width: 100%;
}

/* Mobile Layout */
@media screen and (max-width: 768px) {

    section#quote fieldset > input[type="text"], 
    section#quote fieldset div input[type="text"],
    section#quote fieldset > label,
    section#quote fieldset > label > input[type="text"] {
        width: 100%;
        margin-right: 0;
    }
}