/*-- Theme Wide CSS  -  Please talk to a theme specialist before editing this file! --*/

/* begin CSS for X icon font */
@font-face {
    font-family: 'Glyphter';
    src: url('/gridmedia/__fonts/__Glyphter.eot');
    src: url('/gridmedia/__fonts/__Glyphter.eot?#iefix') format('embedded-opentype'),
         url('/gridmedia/__fonts/__Glyphter.woff') format('woff'),
         url('/gridmedia/__fonts/__Glyphter.ttf') format('truetype'),
         url('/gridmedia/__fonts/__Glyphter.svg#Glyphter') format('svg');
    font-weight: normal;
    font-style: normal;
}
[class*='icon-x']:before{
	display: inline-block;
   font-family: 'Glyphter';
   font-style: normal;
   font-weight: normal;
   line-height: 1;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale
}
.icon-set.icon-x:before{
    content:'\0041'!important;
    font-size: 20px;
}
/* end CSS for X icon font */

#main_header .specials_button1 {
    display: none;
}
#main_header .specials_button1.active {
    display: inline-block;
}
/* Google My Business font update */
@font-face {
  font-family: "gmb";
  src:url("../__fonts/gmb.eot");
  src:url("../__fonts/gmb.eot?#iefix") format("embedded-opentype"),
    url("../__fonts/gmb.woff") format("woff"),
    url("../__fonts/gmb.ttf") format("truetype"),
    url("../__fonts/gmb.svg#untitled-font-1") format("svg");
  font-weight: normal;
  font-style: normal;
}
.icon-gmb:before {
  font-family: "gmb" !important;
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  speak: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.icon-gmb:before {
  content: "\61";
}
/* End Google My Business font update */
.map_contain.tab-content > .tab-pane#listview .single-category-styling .location p.distance {
    text-align: right;
}
/* homepage community tab alignment */
@media only screen and (min-width: 768px) {
    .upcoming-events {
        display: flex;
    }
}

@media only screen and (min-width: 768px) {
    .image_button.type3 {
        height: auto;
    }
}
/*-- Recaptcha styling fix --*/
#div_id_captcha label {
    display: block;
    width: 222px !important;
}
.footer-icon-eho {
    max-width: 30px;
}

.gallery.insidepage {
    position: static;
}

@media only screen and (max-width: 1099px) {
    #main_header .navbar-header .navbar-collapse .nav {
        height: auto;
    }
}

@media (min-width: 768px) {
    #body_gallery #refer-modal .modal-dialog {
        width: 600px;
        margin: 30px auto;
    }
}

/* Overrides photoswipe.css column property so that 360 icon shows */
@media only screen and (min-width: 1400px) {
    #body_gallery .container .gallery .gallery_container .photo-gallery {
        columns: auto !important;
    }
}

@media only screen and (max-width: 767px) {
    #body_gallery .gallery .gallery_container .photo-gallery .thumb-figure.thumb-tour .tour-icon {
        z-index: 1;
    }
}

#div_service_request {
    width: 85%;
}

.availability  p,
.pets p{
    margin: 0 auto;
}

.appointment-input .appointment-date-time .form-control {
    font-size: 14px;
}

body > .container {
    position: relative; /* needed for emergency text */
}

.copyright-container .copyright-text {
    display: block;
    margin: 10px auto;
}

.corporation-logo img {
    max-width: 200px;
}

.ada img {
    margin-top: -16px; 
    max-width: 20px;
}

div #unit-bath-filter, 
div #unit-bed-filter {
    margin: 0 auto;
}

.phone_info {
    line-height: 5px;
}

#animated-headline {
    background: transparent;
}

.copyright-right-links .corporation-logo {
    margin-bottom: 10px;
}

#WidgetFloaterPanels.LTRStyle {
    top: 0 !important;
    left: 0 !important;
}

/* Thank you page click here link 08/30/2017 */
.thanks-container h4 a {
    font-size: inherit;
}

.prospect-portal iframe {
    background: #fff;
}

@media only screen and (max-width: 479px) {
    input.hasDatepicker {
        width: 55%;
    }
    
    #recaptcha {
        width: 240px !important;
        margin: 0 auto !important;
    }
    
    #recaptcha div {
        width: 240px !important;
    }
    
    #recaptcha div iframe {
        width: 240px !important;
    }
}

.resident-portal iframe,
.guestcard-portal iframe {
    max-width: 900px;
}

.main_posts p {
    margin: 0 auto;
}

.guestcard-portal iframe {
    min-height: 980px !important;
    background: #fff;
}

.modal-header .modal-title {
  min-height: 25px;
}

.ebrochure .form-selections {
    margin-top: 0px;
}

.bc-form #live_chat_link {
    max-width: 39px;
}

/* cinemagraphs 1/5/17 */
.iframe-scaler {
  height: auto;
  position: relative;
  overflow: hidden;
  width: 100%;
}
.iframe-scaler img {
  width: 100%;
  vertical-align: top;
}
.iframe-scaler iframe {
  vertical-align: top;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
.iframe-scaler .mobile-cinemagraph-placeholder {
  display: none;
}
@media only screen and (max-width: 1044px) {
  .iframe-scaler {
    display: none;
  }
  .iframe-scaler.temp-fix {
    display: block;
  }
}
.mobile-cinemagraph-placeholder {
  display: none;
}
@media only screen and (max-width: 1044px) {
  .mobile-cinemagraph-placeholder {
    display: inline-block;
  }
}

.owl-item .item picture {
    width: 100%;
}
.owl-item .item video {
    width: 100%;
}

.slideshow-cinemagraph {
    width: 100%;
}

.slideshow-cinemagraph video {
    width: 100%;
}

.api-pet_policy {
    white-space: pre-wrap;
}

.header-style-bg .top-fp-header p {
    word-break: keep-all;
}

// ebrochure
.email-inputs .title-email .fg-container {
  display: none;
}
@media only screen and (min-width: 768px) {
  .email-inputs .title-email .fg-container {
    display: inline-block;
  }
}
.email-inputs .email-grouping .section-label {
  display: table-cell;
  vertical-align: top;
  padding-top: 3px;
}
@media only screen and (min-width: 768px) {
  .email-inputs .email-grouping .section-label {
    vertical-align: middle;
  }
}
.email-inputs .email-grouping .email-contain {
  display: table-cell;
}
@media only screen and (max-width: 767px) {
    .email-inputs .email-grouping .fg-container {
        margin-bottom: 9px;
    }
    .res-style2-contain p {
        font-size: 16px;
    }
}
@media only screen and (min-width: 768px) {
  .email-inputs .email-grouping .fg-container label {
    display: none;
  }
}




#community_tour {
    position: relative;
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
}

#community_tour.no-commtour {
    padding: 0;
}/* iframe in modal */
.modal-body iframe {
  width: 250px !important;
  height: 141px !important;
}
@media only screen and (min-width: 400px) and (max-width: 499px) {
  .modal-body iframe {
    width: 330px !important;
    height: 186px !important;
  }
}
@media only screen and (min-width: 500px) and (max-width: 599px) {
  .modal-body iframe {
    width: 420px !important;
    height: 236px !important;
  }
}
@media only screen and (min-width: 600px) and (max-width: 699px) {
  .modal-body iframe {
    width: 520px !important;
    height: 293px !important;
  }
}
@media only screen and (min-width: 700px) and (max-width: 799px) {
  .modal-body iframe {
    width: 610px !important;
    height: 343px !important;
  }
}
@media only screen and (min-width: 800px) and (max-width: 899px) {
  .modal-body iframe {
    width: 710px !important;
    height: 399px !important;
  }
}
@media only screen and (min-width: 900px) and (max-width: 999px) {
  .modal-body iframe {
    width: 810px !important;
    height: 456px !important;
  }
}
@media only screen and (min-width: 1000px) and (max-width: 1099px) {
  .modal-body iframe {
    width: 900px !important;
    height: 506px !important;
  }
}
@media only screen and (min-width: 1100px) and (max-width: 1199px) {
  .modal-body iframe {
    width: 990px !important;
    height: 557px !important;
  }
}
@media only screen and (min-width: 1200px) and (max-width: 1334px) {
  .modal-body iframe {
    width: 1090px !important;
    height: 613px !important;
  }
}
@media only screen and (min-width: 1335px) {
  .modal-body iframe {
    width: 1220px !important;
    height: 686px !important;
  }
}


.modal-body #refer-recaptcha div iframe {
  width: 210px !important;
  height: 78px !important;
}

#community_tour iframe,
#community_tour object,
#community_tour embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#footer {
    padding-bottom: 40px;
}

#footer .footer-web-accessibility-statement {
    min-height: 0;
    border-top: none;
}

@media only screen and (min-width: 768px) {
    div #floorplan_slider_list > .floorplan h2 {
        width: 90%;
        margin: 40px auto 0 auto;
    }
}


/*Catcha fix for specials page*/
@media only screen and (max-width: 479px){
    .specials .promotions > div .promotion form #promo_recaptcha_4397 {
        transform:scale(0.77);
        -webkit-transform:scale(0.77);
        transform-origin:0 0;
        -webkit-transform-origin:0 0;
        margin-left: -10px;
    }
}

/* Compare or Share checkbox in Floor Plans page */
@media only screen and (min-width: 480px) and (max-width: 767px {
    div #floorplans_main div.select-compare-floorplan-container label {
        margin-top: -25px !important;
    }
}


/* #Media Queries */       
@media only screen and (min-width: 1680px) and (max-width: 1900px){

}
@media only screen and (min-width: 1440px) and (max-width: 1679px){

}
@media only screen and (min-width: 1280px) and (max-width: 1439px){

}
@media only screen and (min-width: 1044px) and (max-width: 1279px){

}
@media only screen and (min-width: 768px) and (max-width: 1043px){

}
@media only screen and (min-width: 480px) and (max-width: 767px){
    
}
@media only screen and (max-width: 479px){
    #unit-filter-container .units {
        display: table;
    }
}


/* adjustment for retina displays */
@media only screen and (max-width: 480px) and (-webkit-min-device-pixel-ratio: 2) { 

}     
@media only screen and (max-width: 320px) and (-webkit-min-device-pixel-ratio: 2) {
}
