/*

    font-size: 40px;
    display: block;
    width: 100%;
    margin: 0 -15px;

    font-size: 30px;

*/
@media only screen and (min-width: 992px) {
  .main-menu ul > li i {
    display: none;
  }
  .main-menu ul li:nth-child(4) > ul {
    left: auto;
    right: 3px;
  }
  .main-menu ul li:nth-child(4) > ul:before {
    left: unset;
    right: 12%;
  }
}
@media only screen and (min-width: 768px) {
  .view-mobile {
    display:none;
  }
  .hide-mobile {
    display:block;
  }
}
@media only screen and (max-width: 1340px) and (min-width: 768px) {
  .home-buttons-container .row .col-md-6 .button-container .button-large-text {
    margin-top: 5px;
  }
  .home-buttons-container .row .col-md-6 .button-container .button-sub-text {
    font-size: 30px;
  }
}
@media only screen and (max-width: 1240px) and (min-width: 768px) {
  .home-buttons-container .row .col-md-6 .button-container .button-large-text {
    font-size: 55px;
    margin-bottom: 0;
  }
  .home-buttons-container .row .col-md-6 .button-container .button-sub-text {
    line-height: 38px;
  }
}
@media only screen and (max-width: 1024px) and (min-width: 768px) {
  .home-buttons-container .row .col-md-6 .button-container .button-sub-text {
    font-size: 28px;
  }
  .intro-section {
    background-position: 80% 50%;
  }
}
@media only screen and (max-width: 991px) and (min-width: 768px) {
  .home-buttons-container .row .col-md-6 .button-container .button-large-text {
    margin-top: 0;
    line-height: 75px;
  }
}
@media only screen and (max-width: 872px) and (min-width: 768px) {
  .home-buttons-container .row .col-md-6 .button-container .button-large-text {
    font-size: 48px;
  }
  .home-buttons-container .row .col-md-6 .button-container .button-sub-text {
    font-size: 25px;
    line-height: 34px;
  }
}
@media only screen and (max-width: 790px) and (min-width: 768px) {
  .home-buttons-container .row .col-md-6 .button-container .button-large-text {
    font-size: 45px;
  }
}

@media only screen and (max-width: 767px) and (min-width: 540px) {
  article.blog:not(.agent-tile) figure {
    height: 460px !important;
  }
  article.blog:not(.agent-tile) figure img {
    top: 86% !important;
  }
}
@media only screen and (max-width: 1270px) {
  article.blog:not(.agent-tile) figure img {
    top: 63% !important;
  }
}
@media only screen and (max-width: 1160px) {
  article.blog:not(.agent-tile) figure img {
    top: 57% !important;
  }
  .marketing-images p {
    font-size: 18px;
  }
}
@media only screen and (max-width: 1060px) {
  article.blog:not(.agent-tile) figure img {
    top: 51% !important;
  }
}
@media only screen and (max-width: 1024px) {
  /*#hero_video {
    background: url(/custom/images/Phone_header_soprisfield.jpg) no-repeat !important;
    background-size: cover !important;
  }*/
  .marketing-images p {
    font-size: 17px;
  }
}
@media only screen and (max-width: 991px) {
  /*.header.sticky .header-info-container {
    top: 0;
  }*/
  #hero_video {
    /*background: url(/custom/images/saddle_phone.jpg) no-repeat !important;
    background-size: cover !important;*/
  }
  .header .header-info-container,
  .header_in .header-info-container {
    display: none;
  }
  .header.sticky .header-info-container,
  .header_in.sticky .header-info-container {
    display: inline-block;
  }
  .header.sticky {
    height: 60px
  }
  .header.sticky .header-info-container,
  .header_in.sticky .header-info-container {
    top: -40px;
  }
  .header.sticky .header-info-container > span,
  .header_in.sticky .header-info-container > span {
    display: none;
  }
  .header > .container-fluid,
  .header_in > .container-fluid {
    height: 60px;
  }
  #header_menu {
    background: #3c3e40;
  }
  .main-menu ul li a:hover, a.show-submenu:hover {
    color: #8b1b2c !important;
  }
  .main-menu > ul > li.submenu:hover > a:after {
    color: #8b1b2c;
  }
  .header .main-menu {
    margin-top: 0 !important;
  }
  /*.header .header-info-container, .header_in .header-info-container {
    position: fixed;
    bottom: 0;
    display: block;
    width: 100%;
    top: auto !important;
    max-width: 100% !important;
    background: white;
    height: 60px;
    padding-top: 7px;
  }*/
  #logo img {
    width: auto;
    height: 60px;
  }
  .header a.open_close {
    left: auto;
    right: 15px;
  }
  header.sticky a.open_close, .header_in a.open_close {
    right: 15px;
    left: unset;
  }
  .header.sticky #logo {
    text-align: left;
  }
  .header-info-container > span {
    display: none;
  }
  /*.header-info-container > span:first-child {
    display:none;
  }*/
  .header.sticky .header-info-container > span.links-container,
  .header_in.sticky .header-info-container > span.links-container {
    display: block;
  }
  .header_in.sticky .header-info-container > span.links-container {
    /*margin-top: 14px;*/
  }
  .homepage-map-containter p {
    font-size: 18px;
  }
  .marketing-images p {
    position: relative;
    top: unset;
    transform: unset;
    font-size: 22px
  }
  .mobile-order-1 {
    order: 1;
  }
  .mobile-order-2 {
    order: 2;
  }
  footer .footer-image {
    max-width: 100%;
  }
  .filters_full.sticky {
    top: 61px !important;
  }
  .inner-page-margin-top.page-header-top {
    margin-top: 0;
  }
  .page-header {
    margin-top: 78px;
  }
  .header.sticky #logo,
  .header_in.sticky #logo {
    float: none !important;
    width: 100% !important;
    text-align: left;
  }
  .inner-page-margin-top {
    margin-top: 81px;
  }
  .agent-page #sidebar_fixed {
    margin-top: 35px;
  }
}
@media only screen and (max-width: 960px) {
  article.blog:not(.agent-tile) figure img {
    top: 50% !important;
  }
  article.blog:not(.agent-tile) figure {
    height: 325px !important;
  }
}
@media only screen and (max-width: 870px) {
  article.blog:not(.agent-tile) figure {
    height: 300px !important;
  }
}
@media only screen and (max-width: 815px) {
  article.blog:not(.agent-tile) figure {
    height: 270px !important;
  }
}
@media only screen and (max-width: 804px) {
  .page-header {
    margin-top: 45px;
  }
}
@media only screen and (max-width: 767px) {
  #hero_video {
    /*background: url(/custom/images/saddle_phone.jpg) no-repeat !important;
    background-size: cover !important;*/
  }
  .view-mobile {
    display: block;
  }
  .hide-mobile {
    display: none;
  }
  .header-video {
    margin-bottom: 130px;
  }
  .video-buttons-container {
    bottom: 0;
  }
  .home-buttons-container .row .col-md-6 .button-container .button-large-text {
    margin-top: 0;
  }.video-buttons-container .col-md-6 {
     text-align:  center !important;
   }
  .video-buttons-container .col-md-6:first-child {
    margin-bottom: 15px;
  }
  article.blog:not(.agent-tile) figure {
    height: 460px !important;
  }
  article.blog:not(.agent-tile) figure img {
    top: 94% !important;
  }
  .top-image-container {
    margin-bottom: 75px;
  }
  .property-page .buttons-container {
    bottom: -75px;
  }
  .broker-search-container form .form-control {
    margin-bottom: 15px;
  }
  .property-page .listing-quote {
    margin: 30px 50px 50px;
  }
  .intro-section .main_title h2, .intro-section h3 {
    font-size: 30px;
  }
  .intro-section .container.margin_60_40 {
    padding-top: 0;
  }
  .intro-section .main_title {
    margin-bottom: 15px;
  }
  .featured-intro {
    font-size: 16px;
  }
  .intro-section {
    background-position: 74% 50%;
  }
  .listings-container {
    margin-right: 4px;
    margin-left: 4px;
  }
  .blog-section > .container {
    padding-right: 4px;
    padding-left: 4px;
  }
  .broker-name {
    display: block;
  }
  .archive .archive-body ul li {
    float: none;
    margin: 8px 8px 15px;
    width: 100%;
  }
  .filters_2 {
    display: none;
  }
  .page-header h1 {
    font-size: 2.5rem;
  }
  
  .contact-section .contact-text-container a {
    font-size: 16px;
  }
  .contact-section .contact-text-container h3 {
    font-size: 1.25rem;
  }
  .page-header {
    margin-top: 81px;
  }
}
@media only screen and (max-width: 710px) {
  article.blog:not(.agent-tile) figure {
    height: 428px !important;
  }
}
@media only screen and (max-width: 661px) {
  article.blog:not(.agent-tile) figure img {
    top: 87% !important;
  }
}
@media only screen and (max-width: 635px) {
  .property-page .buttons-container a.btn_1.btn-inverse.small.btn_gray.btn_thin_border {
    font-size: .9rem !important;
    padding: 4px 8px;
    margin: 0 2px;
  }
}
@media only screen and (max-width: 650px) {
  article.blog:not(.agent-tile) figure img {
    top: 80% !important;
  }
}
@media only screen and (max-width: 620px) {
  .home-buttons-container .row .col-md-6 .button-container .button-large-text {
    font-size: 75px;
  }
}
@media only screen and (max-width: 610px) {
  article.blog:not(.agent-tile) figure {
    height: 425px !important;
  }
}
@media only screen and (max-width: 577px) {
  .page-header {
    margin-top: 51px;
  }
}
@media only screen and (max-width: 575px) {
  #contactForm .form-group .row .col-sm-6:first-child {
    margin-bottom: 1rem;
  }
}
@media only screen and (max-width: 570px) {
  .property-page .buttons-container {
    bottom: -70px;
  }
  .property-page .buttons-container .btn_1 {
    margin-bottom: 5px;
  }
}
@media only screen and (max-width: 565px) {
  article.blog:not(.agent-tile) figure {
    height: 390px !important;
  }
  .singlepost figure.post-details-image {
    width: 100%;
    float: none;
    margin: 0 0 30px;
  }
}
@media only screen and (max-width: 545px) {
  .home-buttons-container .row .col-md-6 .button-container .button-large-text {
    font-size: 50px;
    margin-bottom: 0;
  }
  .home-buttons-container .row .col-md-6 .button-container .button-sub-text {
    font-size: 30px;
    line-height: 32px;
  }
  .homepage-map-containter {
    background-size: auto;
    background-position: 59% 0%;
  }

  .intro-section {
    background-position: 70% 50%;
  }
}
@media only screen and (max-width: 540px) {
  article.blog:not(.agent-tile) figure {
    height: 340px !important;
  }
  article.blog:not(.agent-tile) figure img {
    top: 87% !important;
  }
}
@media only screen and (max-width: 500px) {
  article.blog:not(.agent-tile) figure {
    height: 320px !important;
  }
  .agent-container .agent-top-container .contact-us li a {
    padding: 10px 5px;
  }
}
@media only screen and (max-width: 490px) {
  .property-page .buttons-container {
    bottom: -85px;
  }
  .property-page .buttons-container a.btn_1.btn-inverse.small.btn_gray.btn_thin_border {
    margin-top: 8px;
  }
}
@media only screen and (max-width: 480px) {
  .header-video {
    /*height: 605px !important;*/
    height: 100vh !important;
    margin-bottom: 0;
  }
  #hero_video {
    /*background: url(/custom/images/saddle_phone.jpg) no-repeat !important;
    background-position: 52% 0 !important;
    background-size: cover !important;*/
  }
  .video-buttons-container {
    bottom: 208px;
  }
  .intro-section {
    /*background: url(/custom/images/Homepg_phone_image_leather.jpg);
    background-size: cover;
    background-position: 100%;*/
    background: #3c3e40;
    padding-bottom: 20px;
  }
  .intro-section .main_title h2,
  .intro-section .featured-intro {
    color: #fff;
    text-shadow: none;
  }
  .intro-section .main_title h2 {
    margin-bottom: 40px;
  }
  .homepage-map-containter {
    /*background: url(/custom/images/Homepg_phone_image_map.jpg);*/
    background: url(/custom/images/Map_Website_Footer.jpg);
    background-size: cover;
    background-position: 100%;
  }
  .homepage-map-containter > .container {
    padding-top: 150px;
  }
  .homepage-map-containter p {
    font-size: 20px;
  }

  .home-buttons-container .row .col-md-6 .button-container {
    margin: 45px 5px;
  }
  .home-buttons-container .row .col-md-6 .button-container .button-large-text {
    font-size: 40px;
  }
  .home-buttons-container .row .col-md-6 .button-container .button-sub-text {
    font-size: 24px;
  }
  article.blog:not(.agent-tile) figure img {
    top: 83% !important;
  }
}
@media only screen and (max-width: 455px) {
  article.blog:not(.agent-tile) figure {
    height: 295px !important;
  }
}
@media only screen and (max-width: 420px) {
  article.blog:not(.agent-tile) figure img {
    top: 76% !important;
  }
  .filters_full .sort_select {
    max-width: 150px !important;
  }
}
@media only screen and (max-width: 405px) {
  .home-buttons-container .row .col-md-6 .button-container .button-sub-text {
    font-size: 22px;
    line-height: 30px;
  }
}
@media only screen and (max-width: 392px) {
  article.blog:not(.agent-tile) figure img {
    top: 71% !important;
  }
}
@media only screen and (max-width: 375px) {
  .page-header {
    margin-top: 49px;
  }
}
@media only screen and (max-width: 370px) {
  article.blog:not(.agent-tile) figure img {
    top: 67% !important;
  }
}