@media only screen and (max-width: 1330px) {
    .grid-anim.box-1 span:nth-child(3) {
        font-size: 44px;
    }
}
@media only screen and (max-width: 1150px) {
    .people .grid-33 p span {
        min-height: 300px;
        display: block;

    }
    section.news .grid-33,
    section.portfolio .grid-33 {
        min-height: 378px;
    }
}
@media only screen and (max-width: 1050px) {
    .site-header .wrap {
        padding: 0;
    }
    .wrap, .entry-title, .type-team h2 {
        padding-left: 5%;
        padding-right: 5%;
    }
    .people .grid-33 p span {
        min-height: 350px;
        display: block;
    }
    section.news .grid-33,
    section.portfolio .grid-33 {
        min-height: 353px;
    }
}
@media only screen and (min-width: 978px) and (max-width: 1279px) {
}

@media only screen and (max-width: 977px) {
    
    .site-title img {
        width: 100%;
    }
    img.anniversary {
        max-width: 146px;
        position: relative;
        left: -6px;
        top: 0;
        display: block;
        margin: 0 auto 29px;
    }
    .push-15 {
        left: 0%;
    }
    .ubermenu-main.ubermenu-responsive {
        position: relative !important;
        order: 4;
    }
    .ubermenu-responsive-default.ubermenu-responsive .ubermenu-item-level-0 {
        width: 100%;
    }
    .ubermenu-responsive-toggle, .ubermenu-sticky-toggle-wrapper {
        text-align: left;
    }
    .ubermenu-responsive-toggle, .ubermenu-sticky-toggle-wrapper {
        order: 3;
    }
    .ubermenu-responsive {
        background-color: #FFF;
    }

    div[class^="grid"], li[class^="grid"] {
        width: 100%;
        float: none;
    }
    .grid-container.gallery grid-33 {
        width: 25%;
        float: left;
    }
    section.community img {
        width: 100%;
        padding-left: 5%;
        padding-right: 5%;
    }
    ul.overview li {
        display: block;
    }
    .mix.grid-33 {
        margin-left: 1%;
        margin-right: 1%;
        width: 48%;
    }
    ul.filters .grid-35 {
        padding: 0px;
    }

    section.news .grid-33,
    section.portfolio .grid-33,
    section.people .grid-33 {
        width: 100%;
        max-width: 400px;
        margin: 0px auto 12px;
        display: block;
    }
    section.news .grid-33:last-of-type{
        margin-bottom: 0px;
    }
    .site-title a {
        text-align: center;
        display: block;
        max-width: 230px;
        /*max-width: 376px;*/
        margin: 0px auto;
    }
    .site-title {
        margin-left: 0px;
    }

    .grid-container.full {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    .grid-container.full .grid-75 {
        order: 1;
    }
    .grid-container.full .grid-25 {
        order: 2;
        min-height: inherit;
    }
    .ubermenu-items-align-right {
        text-align: center;
    }
    #menu-secondary-navigation {
        text-align: center;
    }
    .search-form {
        max-width: 240px;
        margin: 0px auto;
    }
    .slide-background {
        width: 100%;
    }
    .titles {
        min-height: auto;
    }
    .stat {
        /*border: none;
        min-height: 120px;*/
        /* box-shadow: 1px 1px 0px rgba(85, 85, 85, 0.55); */
    }
    /* .count {
        font-size: 20px;
    } */
    .stat-slider .grid-20 {
        /* width: 20%; */
        /* float: left; */
    }
    /* .statistics .wrap {
        padding: 0px;
    } */
    section.footer {
        background-image: none;
    }
    #menu-footer-navigation-left {
        margin: 34px auto 0px;
        display: block;
    }
    section.footer p.copyright {
        margin-left: 0px;
        text-align: center;
    }
    #menu-footer-navigation-right > li {
        display: block;
        margin-right: 0px;
    }
    #menu-footer-navigation-left li {
        display: block;
        margin-right: 0px;
    }
    section.footer .grid-25 {
        padding: 0px;
    }
    .linkedin a {
        margin: 0px auto;
    }
    .push-5 {
        left: 0%;
    }
    .ubermenu-nav {
        text-align: center;
    }
    .headquarters .grid-container {
        padding: 0px;
    }
    ul#gform_fields_1 {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
    ul#gform_fields_1 li {
        display: block;

    }
    section.offices .wrap .grid-33:last-of-type {
        padding-left: 0px;
    }
    .benefits .grid-50:last-of-type .box {
        margin-left: 0px;
        margin-top: 20px;
    }
    .benefits .grid-50:first-of-type .box {
        margin-right: 0px;
    }
    ul.community {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
    .wrap.principles .grid-33 .box {
        margin: 0px;
    }
    .wrap.principles .grid-33 {
        margin-bottom: 16px;
    }
    .wrap.principles .grid-container:first-of-type {
        margin-bottom: 0px;
    }
    .wrap.principles .grid-container:first-of-type .box, .wrap.principles .grid-container:last-of-type .box {
        min-height: inherit;
    }
    .comment-respond {
        padding-left: 5%;
        padding-right: 5%;
    }
    .tax-property_type .wrap article {
        min-height: auto !important;
    }
}

@media only screen and (max-width: 768px) {
    .site-header {
        background: #003a62;
    }
    .site-header .grid-container{
        margin-top: 0;
    }
    .post-thumbnail{
        margin-top: 192px;
    }
    .wrap.vertalign {
        display: block;
    }
    #yesway div > p,
    #brookwood div > p {
        padding-left: 20px;
        padding-right: 20px;
    }
    .filters .grid-50 {
        width: 50%;
    }
    ul.overview {
        margin: 0 20px;
    }
    .searchandfilter ul {
        display: block;
    }
    .searchandfilter li {
        width: 100%;
        padding-bottom: 6px;
    }
    .searchandfilter li:last-of-type {
        padding-bottom: 0px;
    }
    .post-type-archive-properties .wrap article {
        min-height: auto !important;
    }
    .mix.grid-33 {
        margin-left: 1%;
        margin-right: 1%;
        max-width: 400px;
    }
    .slide-background h3 {
        font-size: 26px;
        line-height: 1em;
    }
    .slide-background p {
        margin: 0px;
        font-size: 16px;
        line-height: 1.2em;
        padding-right: 16px;
    }

    .form-group {
        padding-right: 0%;
    }
    .form-inline div {
        width: 100%;
        margin-bottom: 4px;
    }
    .form-inline div:last-of-type {
        margin-bottom: 0px;
    }
    .person-row div {
        width: 100%;
    }
    .people-table .person-row .row>div {
        padding: 0px;
    }
    .person-row .name {
        font-weight: bold;
    }
    .person-row .title {
        line-height: 1.3em;
        padding-bottom: 4px;
    }
    .list a {
        color: #333;
        font-size: 16px;
        padding: 8px;
        display: block;
    }
    .ubermenu-nav > li > a:after {
        display: inline-block !important;
    }
    ul.sticky li {
        display: block;
        float: left;
        width: 30%;
        padding: 18px 0px 18px 0px;
        font-size: 12px;
    }
    ul.sticky li:first-of-type {
        width: 40%;
    }
    .sticky li:nth-child(1) a:before {
        width: 18px;
        height: 21px;
        left: 0px;
        right: 0px;
        margin: auto;
        top: 15px;
    }
    .sticky li:nth-child(2) a:before {
        width: 14px;
        height: 26px;
        left: 0px;
        right: 0px;
        margin: auto;
        top: 15px;
    }
    .sticky li:nth-child(3) a:before {
        width: 24px;
        height: 39px;
        left: 0px;
        right: 0px;
        margin: auto;
        top: 16px;
    }
    ul.sticky li a {
        padding: 18px 0px;
    }
    .sticky li:nth-child(2) a {
        padding: 18px 0px;
    }
    article.type-properties.grid-33 {
        float: none;
        max-width: 400px;
        margin: 0px auto;
        display: inline-block;
    }
    .searchandfilter {
        text-align: center;
    }
    .archive-pagination.pagination {
        text-align: center;
    }
    .gallery .grid-33 {
        width: 33.333333%;
        float: left;
    }
    .post-links a {
        display: block;
        margin: 0px auto;
    }
    .headquarters {
        margin:20px 30px 40px;
    }
    section.main div.grid-45 {
        padding-right: 5px;
    }
    section.hero-overlay{
        margin-top: 0;
        background-color: #003a62;
        text-shadow: none;
    }
    .push-10 {
        left: 0;
    }
    /* .post-thumbnail {
        padding-top: 163px;
    } */
    ul.overview .grid-50, ul.overview .grid-30 {
        text-align: left;
    }
    .filter-title {
        text-align: center;
    }
    .table .department, .table .location {
        display: none;
    }
    #ofproperty_type, .searchandfilter li {
        width: inherit;
    }
    article.type-properties.grid-33 {
        width: 48%;
        margin-bottom: 26px;
    }
    article.type-properties.grid-33:nth-child(odd) {
        margin-right: 4%;
    }

}

@media only screen and (min-width: 768px) and (max-width: 977px) {
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
}

@media only screen and (max-width: 479px) {
    .filters .grid-50 {
        width: 100%;
    }
    ul.filters div {
        padding: 3px 0px;
    }
    ul.filters .grid-50:first-of-type {
        padding: 0;
    }
    .people-table .person-row h3 {
        line-height: 16px;
        font-size: 30px;
    }
    .statistics {
        padding: 60px 0px 0px;
    }
    .statistics .grid-20 {
        position: relative;
        min-height: 120px;
        overflow: visible;
    }
    .stat {
        margin-top: 0px;
    }
    /* .stat-slider .grid-20 {
        width: 32%;
    } */
    .tax-property_type .properties.type-properties .entry-title a {
        min-height: auto;
        display: block;
    }
    article.type-properties.grid-33 {
        width: 100%;
        margin-bottom: 16px;
    }
    article.type-properties.grid-33:nth-child(odd) {
        margin-right: 0%;
    }
    .tax-property_type .wrap article {
        min-height: 486px !important;
    }
    #ofproperty_type, .searchandfilter li {
        width: 100%;
    }
    section.main div[class^="grid-"] {
        padding-left: 0px;
        padding-right: 0px;
    }
    .v3 .box-1 {
        height: 284px;
    }
    .main .button {
        margin: 0px auto;
    }
    section.main h2 {
        top: 14%;
    }
    .main .button {
        top: 16%;
    }
    .entry-title {
        font-size: 28px;
    }
    .type-team h2 {
        font-size: 18px;
    }
    [rel="prev"], [rel="next"] {
        margin: 10px 0px;
    }
    .action .button {
        margin: 10px 20px;
    }
    section.summary p, section.yesway p {
        text-align: left;
    }
    .slick .slick-slide {
        display: flex;
        flex-direction: column;
    }
    .slide-background {
        order: 2;
        position: relative;
    }
    .slider .slick-next, .slider .slick-prev {
        top: 52px;
        width: 28px;
        height: 28px;
    }

    .slider .slick-next:before, .slider .slick-prev:before {
        font-size: 14px;
    }
    section.main h2 {
        padding: 12px 10px 0px;
        font-size: 34px;
        line-height: 1.2em;
    }
    .statistics h2 {
        font-size: 28px;
    }
    .button.estate:before, .button.gas:before, .button.management:before {
        width: 120px;
        height: 120px;
    }
    .button-row a br {
        display:  none;
    }
    .wrap.principles > p {
        font-family: "adobe-caslon-pro",serif;
        color: #FFF;
        font-size: 22px;
        text-align: center;
        padding: 0px 0px 18px;
    }
    .quotes p {
        font-size: 22px;
        line-height: 1.3em;
        margin: 0px;
    }
    .rightQuote, .leftQuote {
        font-size: 270px;
    }
    .pullquotes span {
        font-size: 18px;
    }
    .post-thumbnail {
        height:200px;
    }
    .post-thumbnail img {
        opacity: 0;
        visibility: hidden;
    }
    .single-team .post-thumbnail {
        background-position: right top;
    }
    ul.overview .grid-50, ul.overview .grid-30 {
        text-align: left;
    }
    /*ul.overview {
        margin: 0px 0px 24px;
    }*/
    h2.filter-title {
        margin-bottom: 14px;
        font-size: 28px;
    }
    section h2 {
        font-size: 30px;
    }
    .gallery img {
        max-width: 100%;
    }
    [rel="prev"], [rel="next"] {
        width: 100%;
    }
    .main .arrow {
        width: 46px;
        height: 46px;
    }
    .site-title a {
        margin: 10px auto;
    }
    .menu .property a:before, .menu .gas a:before, .menu .estate a:before {
        display: none;
    }
    .headquarters p {
        font-size: 16px;
    }
    .page-contact-us h2 {
        font-size: 28px;
    }
    .headquarters h2:before {
        background-size: 100%;
        background-repeat: no-repeat;
        width: 36px;
        left: -13px;
        top: 26px;
    }
    .contact-form h2:before {
        background-size: 100%;
        background-repeat: no-repeat;
        width: 36px;
        left: -12px;
        top: 17px;
    }
    h2#offices:before {
        background-size: 100%;
        background-repeat: no-repeat;
        width: 22px;
        left: -13px;
        top: 25px;
    }
    .headquarters {
        margin:20px 0px 40px;
    }
    .mix.grid-33 {
        width: 100%;
    }
    .home .slick-slider .slick-arrow{
        display: none !important;
    }
    .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
        padding: 0px 4px !important;
    }
    .imagePreloader {
        display: none;
    }
}