/*-- Theme Wide CSS  -  Please talk to a theme developer before editing this file! --*/
.main_posts > img {
    width: 98%;
    margin: 5px auto;
    display: block;
}
@media only screen and (min-width: 768px) {
    ul.bulletlist {
        overflow: visible;
    }
}
#div_appointment_form, 
#div_comment_form,
#form_comment,
.field_styles,
.field_styles > div,
.field_styles .clearfix {
    width: 100%;
}
.translator {
    display: none;
}
.insidepage.pets.image-bg {
    margin-top: 0;
}
#page_header {
    z-index: 10;
}

#body_application .application-container h4 {
    padding: 20px;
    margin: 50px auto;
    text-align: center;
}

.modal-open .modal {
    z-index: 100000;
}

/* header was showing above gallery and modals, this fixes that */
#body_gallery #page_header {
    z-index: 100;
}
.container .insidepage.gallery {
    z-index: 2100;
    position: static;
}

#floorplan_slider_list {
    text-align: center;
}

@media only screen and (min-width: 679px) {
    .ebrochure .owl-carousel .owl-wrapper-outer {
        max-height: 782px;
    }
}

@media only screen and (max-width: 768px) {
    #WidgetFloaterPanels.LTRStyle {
        left: 2% !important;
        top: 10% !important;
    }
}

@media only screen and (max-width: 479px) {
    #floorplan_slider_list > .floorplan {
        margin: 0 0 25px 0;
    }
}

#body_floorplans p {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

#body_floorplans .cookie-container p {
    max-width: unset;
    text-align: left;
}

.availability #floorplans_main #floorplan_availabilities table.units {
    width: 100%;
    display: table;
}

#calendar-popup p {
    white-space: pre-line;
}

div #floorplans_main #floorplan_availabilities {
    margin-right: 0;
}

/* animated z-index fix - was showing behind gallery - ADB 4/6/2018 */
#animated-headline {
    z-index: 1000 !important;
}
/* end animated headline z-index fix */

.specials_ni {
    display: none;
}

.specials_ni.active {
    display: inline-block;
}

#body_specials .pep_promotion_model form div select,
#body_specials .pep_promotion_model form div input {
    width: 93%;
}

#body_specials .promotion_model h4, 
#body_specials .pep_promotion_model h4 {
    padding: 5px 10px;
    font-size: 24px;
}

#body_specials .promotions .promotion p {
    text-align: center;
}

#specials_overlay_backdrop #specials_overlay_wrapper #specials_overlay_right p {
    text-align: center;
}

#home_container {
    z-index: 1;
    position: relative;
}

.footer-area h3 {
    line-height: 20px;
}

/* Grid Gallery headers */
.headline-hr {
    display: block;
    text-align: center;
}

/* Pet policy text display */
.api-pet_policy {
    white-space: pre-wrap;
}

/* overlay button */
.overlay_button_style1 {
  display: inline-block;
  width: 100%;
  position: relative;
  right: 0;
  bottom: 0;
  z-index: 10;
}

@media (min-width: 768px) {
    .modal-dialog {
        max-width: unset !important;
        width: 600px !important;
        margin: 30px auto;
    }
}

@media only screen and (min-width: 545px) {
  .overlay_button_style1 {
    position: fixed;
    width: auto;
  }
}

.overlay_button_style1.hidden {
  display: none;
}
.overlay_button_style1 > div {
  position: relative;
  width: 100%;
  background: #ffffff;
}
@media only screen and (min-width: 545px) {
  .overlay_button_style1 > div {
    box-shadow: -50px 29px 145px rgba(0, 0, 0, 0.8);
  }
}
.overlay_button_style1 > div .close {
  background: #333333;
  color: #ffffff;
  border-radius: 100%;
  width: 25px;
  height: 25px;
  padding: 5px;
  text-align: center;
  font-size: 20px;
  line-height: 0px;
  position: absolute;
  right: 5px;
  top: -10px;
  opacity: 1;
  z-index: 6;
  font-weight: lighter;
  padding-bottom: 9px;
}
@media only screen and (max-width: 544px) {
  .overlay_button_style1 > div .close {
    display: none;
  }
}
.overlay_button_style1 > div .overlay_contain {
  display: inline-block;
  position: relative;
  text-align: left;
}
.overlay_button_style1 > div .overlay_contain #overlay-svg {
  width: 95px;
  display: inline-block;
  margin-left: -94px;
  margin-bottom: -7px;
  vertical-align: top;
}
@media only screen and (max-width: 544px) {
  .overlay_button_style1 > div .overlay_contain #overlay-svg {
    display: none;
  }
}
.overlay_button_style1 > div .overlay_contain #overlay-svg svg {
  fill: #ffffff;
  display: inline-block;
}
.overlay_button_style1 > div .overlay_contain .overlay_content {
  display: inline-block;
  width: 100%;
  vertical-align: top;
  padding: 20px;
  text-align: right;
}
@media only screen and (min-width: 545px) {
  .overlay_button_style1 > div .overlay_contain .overlay_content {
    width: 350px;
    padding: 30px 35px 5px 0;
  }
}
.overlay_button_style1 > div .overlay_contain .overlay_content p {
  display: inline-block;
  text-align: right;
  width: 100%;
}
@media only screen and (max-width: 439px) {
  .overlay_button_style1 > div .overlay_contain .overlay_content p {
    text-align: center;
  }
}
@media only screen and (min-width: 545px) {
  .overlay_button_style1 > div .overlay_contain .overlay_content p {
    display: block;
  }
}
.overlay_button_style1 > div .overlay_contain .overlay_content p.api-token-overlay-text-sub-header {
  font-size: 1em;
  text-transform: uppercase;
}
.overlay_button_style1 > div .overlay_contain .overlay_content p.api-token-overlay-text {
  font-size: 2em;
  margin-bottom: 5px;
  text-transform: uppercase;
}
.overlay_button_style1 > div .overlay_contain .overlay_content p.slant {
  width: 80%;
  padding: 7px 20px 7px 20px;
  text-align: left;
  position: relative;
  z-index: 2;
  font-size: 1em;
  color: #ffffff;
}
@media only screen and (max-width: 439px) {
  .overlay_button_style1 > div .overlay_contain .overlay_content p.slant {
    background-color: #be6452;
    width: 100%;
    padding: 20px 10px;
    text-align: center;
  }
}
@media only screen and (min-width: 545px) {
  .overlay_button_style1 > div .overlay_contain .overlay_content p.slant {
    width: 135%;
    margin-left: -47%;
    padding: 7px 10px 7px 12%;
  }
}
@media only screen and (min-width: 440px) {
  .overlay_button_style1 > div .overlay_contain .overlay_content p.slant:after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: #be6452;
    -webkit-transform: skewX(-45deg);
        -ms-transform: skewX(-45deg);
            transform: skewX(-45deg);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
  }
}

@media only screen and (max-width: 1024px) {
    #body_Interior #page_container{
        width: 100%;
    }
}


/* #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){
    .ebrochure .owl-carousel .owl-controls .owl-buttons .owl-prev {
        margin-left: 4%;
    }
    .ebrochure .owl-controls .owl-buttons div.owl-next {
        margin-right: 4%;
    }
}
@media only screen and (max-width: 1043px){
    .semi-detail-listing {
        text-align: center;
    }
    .semi-detail {
        width: 100%;
    }
    #semi_detail_container {
        width: 100%;
    }
    .right_content {
        width: auto;
        display: block;
        margin: 0 auto;
        text-align: center;
    }
}
@media only screen and (max-width: 767px){
    #page_header #header_links_buttons {
        text-align:center;
    }
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
    div #floorplans_main div.select-compare-floorplan-container {
        top: -12px !important;
    }
    
    .site-map .contact-info {
        text-align: center;
    }
}
@media only screen and (max-width: 479px){
    #page_header #header_links_buttons {
        text-align:center;
    }
    .header-link-button {
        padding-bottom:4px;
    }
    #body_floorplans div .floorplan-availability-link {
        margin-bottom: 5px;
    }
    
    .site-map .contact-info {
        text-align: center;
    }
}

/** Contact Calendar Gap Fix **/
.ui-datepicker table {
    display: table;
}
.ui-datepicker .ui-datepicker-header {
    width: 100%;
    text-align: center;
}

/* 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) {
}

#body_directions .clearfix:after,
#body_directions .clearfix:before,
#body_directions .controls:after,
#body_directions .controls:before {
    display: unset;
}

#div_id_preferred_method_of_contact.form-group .controls, 
#div_id_form_appointment_preferred_method_of_contact.form-group .controls {
    margin: 0 0 0 30px;
}