@media screen and (min-width: 841px) {
    .page-contact .page-item > .row > [class*="col"] {
        float: left;
        width: 40%;
    }
    .page-contact .page-item > .row > [class*="col"]:nth-of-type(2) {
        width: 50%;
        margin: 0 0 0 10%;
    }
    .page-contact .profiledetail .page-item > .row > [class*="col-"]:nth-of-type(1) img {
        padding: 0 1em 0 0;
    }
}

@media screen and (max-width: 840px) {
    .page-contact .page-item > .row > [class*="col"] {
        text-align: center;
    }
}

.page-contact .page-item > .row > [class*="col"]:nth-of-type(1) > * {
    display: block;
    padding: 0 0 0.2em 0;
}

.page-contact .page-item > .row > [class*="col"]:nth-of-type(1) > [id*="OfficeName"] {
    padding: 0;
}

.page-contact .page-item > .row > [class*="col"]:nth-of-type(1) > [id*="OfficeName"] h2 {
    font-size: 1.6em;
}

.page-contact .page-item > .row > [class*="col"]:nth-of-type(1) [type="button"] {
    margin: 1em 0;
}

.page-contact .page-item > .row > [class*="col"]:nth-of-type(1) > .address:nth-of-type(1) > div {
    display: inline-block;
}

.page-contact .page-item > .row > [class*="col"]:nth-of-type(1) > .address:nth-of-type(1) > div:after {
    content: ',';
    display: inline-block;
    margin: 0 0 0 -0.2em;
}

.page-contact .page-item > .row > [class*="col"]:nth-of-type(1) > .address:nth-of-type(1) > div:last-child:after {
    display: none;
}

.page-contact .page-item > .row > [class*="col"]:nth-of-type(1) > div {
    margin-top: 0;
}

.page-contact .page-item > .row > [class*="col"]:nth-of-type(1) > .profile input {
    margin: 25px 0 0 0;
}

.page-contact .page-item > .row > [class*="col"]:nth-of-type(1) img {
    display: initial;
    margin: 1em 0 0 0;
}

.page-contact .contact-pg-form .section-heading {
    opacity: 0;
}

.page-contact .page-item:nth-last-of-type(1) hr {
    display: none;
}