::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #6C6C70;
    font-weight: 300;
    opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #6C6C70;
    font-weight: 300;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: #6C6C70;
    font-weight: 300;
}

#title-section .contact-image {
    height: 250px;
}

.contact-field {
    margin-top: 1em;
}

.error {
    background: linear-gradient(to bottom, #ffdfdf, #ff6060);
    font-weight: bold;
    color: #6e1313;
    padding: 1em;
    border: 1px solid #7b1d1d;
    list-style: none;
    display: inline-block;
    margin: 1em 0;
}

label {
    display: block;
    margin-top: 1em;
}

input[type="text"], input[type="tel"], input[type="email"], textarea {
    font-size: 1em;
    padding: 0.5em 1em 0.5em 0.5em;
    background-color : #F5F5F3; 
    border: 1px solid #cccccc;
    width: 100%;
    display: block;
}

textarea {
    width: 100%;
    resize: none;
}

/* Captcha styling */

#contact-recaptcha {
    margin: 1em 0;
}

#contact_btn, .success {
    color: white;
    font-weight: 500;
    font-size: 1.5em;
    background-color: #31528E;
    padding: 0.5em 1em;
}

#contact_btn:active {
    background-color: #1a2f58;
}

.success {
    display: inline-block;
    margin-top: 1em;
    text-align: center;
}

#content-wrapper {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 3em;
    display: flex;
}

#form-title {
    font-family: 'Roboto-bold';
    margin: 0.2em auto;
    width: 90%;
}

#content-wrapper p {
    font-size: 1.2em;
    line-height: 1.5;
    color: #6C6C70;
}

#form-title {
    font-size: 3em;
}

#form-wrapper {
    width: 70%;
    padding-right: 1.5em;
}

#more-info {
    padding-left: 1.5em;
    border-left: 1px solid black;
}

#more-info h2 {
    margin-top: 1em;
    font-size: 1.3em;
    color: #31528E;
}

#more-info p {
    font-size: 1em;
}

#more-info h2:first-of-type {
    margin-top: 0;
}

#more-info img {
    margin-top: 2em;
    width: 100%;
}

/* Map styling */

.gmap_canvas {
    position: relative;
    padding-bottom: 100%;
    height: 0;
    overflow: hidden;
    margin: 1em auto 0 auto;
}

.gmap_canvas iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}
                    
@media (max-width: 1000px) {
    #content-wrapper {
        flex-direction: column;
    }

    #more-info {
        border-left: none;
        border-top: 1px solid black;
        padding-left: 0;
        padding-top: 1.5em;
    }

    #form-wrapper {
        padding-bottom: 1.5em;
        padding-right: 0;
    }

    .contact-field {
        width: 100%;
    }

    input[type="text"], input[type="tel"], input[type="email"], textarea {
        width: 100%;
    }
}

@media (max-width: 850px) {
    #form-wrapper {
        width: 100%;
    }
}

@media (max-width: 350px){
    .mapouter {
        width: 300px;
        height: 300px;
    }
}