@media all and (min-device-width: 1025px) { /*** DESKTOP BEGIN ***/

#m-map {
    width: 65%;
    height: 550px;
    float: right;
}
#m-wrap.has-map-1 > article {
    width: 35%;
    padding-right: 20px;
    box-sizing: border-box;
}
#m-wrap > article > div.content {
    overflow: hidden;
}
#m-wrap.has-map-0 > article > aside {
    width: 50%;
}
#m-form > h2 {
    font-size: 1.4em;
}
#m-form > div.error-message {
    margin: 0.5em 0;
    padding: 0.3em;
    background-color: rgba(255, 0, 0, 0.75);
    border-radius: 5px;
    color: #fff;
    text-align: center;
}
#m-form label {
    display: block;
    margin-top: 4px;
}
#m-form label > input,
#m-form label > textarea {
    width: 100%;
    padding: 0.3em 0.5em;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}
#m-form label > textarea {
    height: 6em;
}
#m-form label.has-errors-1 > input,
#m-form label.has-errors-1 > textarea {
    border: 1px solid #2F4696;
}
#m-form > div.footer {
    margin-top: 8px;
    overflow: hidden;
}
#m-form > div.footer > label.captcha {
    float: left;
    width: 60%;
}
#m-form > div.footer > label.captcha > input {
    width: 40%;
}
#m-form > div.footer > div.button {
    width: 40%;
    float: right;
    margin-top: 4px;
    text-align: center;
}
#m-form > div.footer > div.button > button {
    padding: 0.4em 2em;
    border: 0;
    background-color: #2F4696;
    border-radius: 5px;
    color: #fff;
    transition: all 100ms ease-in-out;
}
#m-form > div.footer > div.button > button:hover {
    opacity: 0.8;
}

/*** DESKTOP END ***/ }

@media all and (max-device-width: 1024px) { /*** MOBILE BEGIN ***/

#m-wrap > article > h1 {
    padding: 0 10px;
}
#m-wrap > article > div.content {
    margin-top: 0.5em;
    padding: 0 10px;
}
#m-wrap > article > aside {
    margin-top: 0.5em;
    padding: 0 10px;
}
#m-form > h2 {
    font-size: 1.2em;
    margin-top: 1em;
}
#m-form > div.error-message {
    margin: 0.5em 0;
    padding: 0.3em;
    background-color: rgba(255, 0, 0, 0.75);
    border-radius: 5px;
    color: #fff;
    text-align: center;
}
#m-form label {
    display: block;
    margin-top: 0.5em;
}
#m-form label > input,
#m-form label > textarea {
    width: 100%;
    padding: 0.5em;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}
#m-form label > textarea {
    height: 8em;
}
#m-form label.has-errors-1 > input,
#m-form label.has-errors-1 > textarea {
    border: 1px solid #2F4696;
}
#m-form > div.footer {
    padding-bottom: 0.5em;
    overflow: hidden;
}
#m-form > div.footer > label.captcha {
    float: left;
    width: 60%;
}
#m-form > div.footer > label.captcha > input {
    width: 40%;
}
#m-form > div.footer > div.button {
    float: right;
    margin-top: 0.5em;
    width: 40%;
    text-align: right;
}
#m-form > div.footer > div.button > button {
    padding: 0.5em 1em;
    border: 1px solid #2F4696;
    background-color: #2F4696;
    border-radius: 5px;
    color: #fff;
    transition: all 100ms ease-in-out;
}
#m-map-mobile {
    margin-top: 0.5em;
    height: 20em;
}

/*** MOBILE END ***/ }
