.contact {
    position: relative;
    z-index: 1;
    color: #000000;
}

.contact__form {
    display: block;
    position: relative;
    background: #FFFFFF;
    border: 3px solid #7B7B7B;
    z-index: 1;
    padding: 25px 20px 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.contact--no-sidebar .contact__form {
    width: 100%;
    margin : 0 ;
}

.contact__form::before {
    content: '';
    position: absolute;
    width: 31px;
    height: 31px;
    top: -1px;
    right: -1px;
    background: #7B7B7B;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.contact__sidebar {
    background: #1D1D1D;
    color: #fff;
    max-width: 508px;
    margin: 0 auto;
}

.contact__sidebar__image {
    width: 100%;
    height: 200px;
}

.contact__sidebar__info {
    padding: 25px 20px 35px;
}

.contact__sidebar__info .btn-primary {
    border-color:#DEDCD9;
    background: #FFFFFF;
    color: #000000;
    margin-bottom: 20px;
}

.contact__sidebar__info  .btn-secondary {
    border-color: #fff;
    color: #fff;
}

.contact__sidebar__info .btn-secondary:hover {
    /* background-color: #FFD3DA; */
    border-color: #000;
}

.form-col p {
    font-size: 16px;
}


.contact__sidebar__info p a {
    color: #fff;
    background: linear-gradient(to bottom, rgba(225,225,225, 0.25) 0%, rgba(225,225,225, 0.25) 100%);
    background-position: 0 100%;
    background-repeat: repeat-x;
    background-size: 3px 4px;
}

.contact__sidebar__info h2 {
    color: #fff;
}


.contact-pattern {
    position: absolute;
    left: 0;
    top: 0;
    max-width: 145px;
    z-index: -1;
}

.contact-pattern-right {
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 145px;
    z-index: -1;
}

.contact__form .choices {
    box-shadow: none;
    border: 1px solid #DDDDDD;
    border-radius: 4px;
}

.contact__form .choices__inner {
    padding: 6px 39px 6px 15px !important;
}

.contact__form .gform_title {
    font-size: 28px;
}

.contact__form .gform_description,
.contact__form .gform_required_legend {
    display: none;
}

.gform_wrapper .gform-body label {
    color: #000000;
    display: block;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35em;
    padding-bottom: 9px;
    text-transform: uppercase;
    margin-bottom: 0;
}

.gform_wrapper .gform-body .ginput_container input,
.gform_wrapper .gform-body .ginput_container textarea {
    border: 1px solid #DDDDDD;
    border-radius: 4px;
    background: #FFFFFF;
    width: 100%;
    height: 51px;
    display: block;
    padding: 0 15px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3em;
    color: #000000;
    font-family: "Roboto Condensed", sans-serif;
    outline: none;
}

.contact__form .gform_wrapper.gravity-theme .gform-body .ginput_container textarea {
    border: 1px solid #DDDDDD;
    border-radius: 4px;
    background: #FFFFFF;
    width: 100%;
    height: 110px;
    display: block;
    padding: 15px 15px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3em;
    color: #000000;
    font-family: "Roboto Condensed", sans-serif;
    resize: none;
}

.gform_wrapper .gform-body .ginput_container textarea:focus,
.gform_wrapper .gform-body .ginput_container textarea:active,
.gform_wrapper .gform-body .ginput_container input:focus,
.gform_wrapper .gform-body .ginput_container input:active {
    outline: none;
    border-color: #F4BB00;
    background: #FFFFFF;
}

.gform_wrapper.gravity-theme .gfield.gfield_error .validation_message {
    position: relative;
    bottom: 0;
    height: auto;
    border: 0;
    background: none;
    margin-top: 0;
    padding: 0;
    text-align: right;
    right: 0;
    bottom: 0;
    font-size: 14px;
    font-weight: 400;
    color: #C41230;
    float: right;
    display: inline-block;
    width: auto;
}

.gform_wrapper.gravity-theme .gfield.gfield_error .validation_message:before {
    content: '';
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="13.629" height="11.968" viewBox="0 0 13.629 11.968"><g id="warning" transform="translate(-0.961 0.001)"><g id="_022---Warning" data-name="022---Warning" transform="translate(0.961 -0.001)"><path id="Path" d="M7.775,12.968H1.9a.939.939,0,0,1-.811-1.409L6.964,1.466a.939.939,0,0,1,1.623,0l5.877,10.092a.939.939,0,0,1-.811,1.409Z" transform="translate(-0.961 -0.999)" fill="%23c41230" fill-rule="evenodd"/><g id="Group_821" data-name="Group 821" transform="translate(6.111 3.52)"><circle id="Oval" cx="0.704" cy="0.704" r="0.704" transform="translate(0 5.163)" fill="%23fff"/><path id="Path-2" data-name="Path" d="M28.408,16.7c0,.389-.315,3.52-.7,3.52S27,17.093,27,16.7a.7.7,0,1,1,1.408,0Z" transform="translate(-27 -16)" fill="%23fff" fill-rule="evenodd"/></g></g></g></svg>');
    background-repeat: no-repeat;
    background-size: 100%;
    width: 13px;
    height: 13px;
    position: relative;
    float: left;
    top: 8px;
    margin-right: 3px;
}

.gform_wrapper.gravity-theme .gform_fields .gfield {
    position: relative;
}

.gform_wrapper.gravity-theme .gform_validation_errors,
.gform_wrapper.gravity-theme .gfield.gfield_error .validation_message.instruction {
    display: none;
}

.gform_wrapper .gform-body .ginput_container .gfield_radio input {
    height: 20px;
    width: 20px;
    float: left;
    margin-right: 10px;
}

.contact__sidebar__info .sub-heading {
    color: #fff;
}
.form-left:not(.contact--no-sidebar) .contact__wrap {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse;
}
.form-bottom:not(.contact--no-sidebar) .contact__wrap {
    flex-direction: column-reverse;
}
.form-left:not(.contact--no-sidebar) .contact__sidebar ,
.form-right:not(.contact--no-sidebar) .contact__sidebar ,
.form-top:not(.contact--no-sidebar) .contact__sidebar ,
.form-bottom:not(.contact--no-sidebar) .contact__sidebar ,
.form-bottom:not(.contact--no-sidebar) .contact__wrap .contact__form,
.form-top:not(.contact--no-sidebar) .contact__wrap .contact__form{
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
    margin-left: 0;
}

@media (min-width: 768px) {
    .contact__form {
        padding: 40px 43px 28px;
        margin-bottom: 30px;
    }
    
    .contact__sidebar__image {
        height: 260px;
    }
    
    .contact__sidebar__info {
        padding: 40px 30px 110px;
    }

    .contact__form .gform_title {
        font-size: 30px;
    }
}

@media (min-width: 1200px) {
    .contact__wrap {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row-reverse;
    }

    .contact__sidebar ,
    .form-left:not(.contact--no-sidebar) .contact__sidebar ,
    .form-right:not(.contact--no-sidebar) .contact__sidebar {
        width: 508px;
        margin: 0;
    }
    .form-left:not(.contact--no-sidebar) .contact__wrap {
       flex-direction: row;
    }
    .form-left:not(.contact--no-sidebar) .contact__wrap .contact__form {
        margin-left: 0;
    }
    .form-left:not(.contact--no-sidebar) .contact__wrap .contact__sidebar {
       margin-left: 32px;
       margin-bottom: 0;
    }

    .contact__form {
        padding: 40px 43px 28px;
        margin-bottom: 0;
        width: calc(100% - 540px);
        margin-left: 32px;
    }

    .contact__sidebar__info .btn-primary:hover {
        border-color:#000;
        background: #FFE88D;
        color: #000000;
    }

    .contact__sidebar__info  .btn-secondary:hover {
        color: #000;
    }

    .contact-pattern {
        top: 50px;
        max-width: 100%;
    }
    
    .contact-pattern-right {
        max-width: 100%;
    }

    .contact__sidebar__info p a:hover {
        background-size: 2px 30px;
    }
}
