/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
    margin: 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    font-size: 0.7857rem;
    line-height: 17px;
    line-height: 1.214rem;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    white-space: nowrap;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

.current .main-menu li.current-properties a:before,
.for-lease .main-menu li.current-properties a:before,
.for-sale .main-menu li.current-properties a:before,
.leased .main-menu li.sold-properties a:before,
.sold .main-menu li.sold-properties a:before {
  background-color: #f35828;
}

/* AN CF 7 */
.wpcf7 .form-ask input[type="text"] {
  width: 49.5% !important;
}
.wpcf7 .form-ask input[type="email"] {
}
.wpcf7 .form-ask textarea {
}
.wpcf7 .form-ask span.mobile-phone,
.wpcf7 .form-ask span.email {
  width: 100%;
}
.wpcf7 .form-ask .phone input[type="text"] {
  width: 100% !important;
}

.copyright a {
  color: #1f2128;
}

.wpcf7 p {
  margin-bottom: 0;
  text-align: center;
}

.captcha div {
  margin: auto;
}

.wpcf7 input[type="text"].wpcf7-not-valid,
.wpcf7 input[type="email"].wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid {
  border-color: #f30;
}

.form-wrapper input:first-child.wpcf7-submit {
  width: auto;
}

.form-wrapper input.wpcf7-submit {
  margin-top: 20px;
  height: 50px;
  border-radius: 0
}

.footer-newsletter form {
  display: block;
}

.footer-newsletter .wpcf7 input[type="text"],
.footer-newsletter .wpcf7 input[type="email"] {
  width: auto;
}

.footer-newsletter .wpcf7 input.wpcf7-submit {
  width: auto;
  border-radius: 0;
  margin-left: 10px;
}

span.wpcf7-not-valid-tip {
  display: none;
}

.wpcf7-response-output {
  background-color: #fff;
}

.detail-navigation a:last-child {
  float: none;
}

.detail-navigation a.next-post {
  float: right;

}

.detail-text ul {
  padding-bottom: .65em;
}

.testimonial-text h3 {
  color: #4dc6db;
}

.reviews-link {
  text-align: center;
  color: #95a0b8;
  position: absolute;
  margin-top: -130px;
  width: 100%;
}
.reviews-link a {
  color: #95a0b8;
}
.reviews-link img {
  margin: auto;
}

.section-default {
  background-color: #464a58;
  color: #fff;
  padding-top: 30px;
}

.gallery {
  padding: 30px 0 100px;
}
.gallery:after {
  visibility: hidden;
  display: block;
  content: "";
  clear: both;
  height: 0;
}
.gallery .gallery-item {
  background-color: #262931;
  color: #fff;
  width: 23% !important;
  margin-right: 1%;
  margin-left: 1%;
}
.gallery img {
  display: block;
  margin: auto;
  width: 100%;
  height: auto;
  border: 0 !important;
}
.gallery .gallery-caption {
  padding: 15px 20px;
  display: table;
}
.gallery .gallery-caption div {
  display: table-cell;
  vertical-align: middle
}
.gallery .gallery-item + br { }

.gallery.animated .gallery-item {
  animation-duration: 1s;
  animation-fill-mode: both;
  animation-name: slideInUp;
  /*opacity: 0;*/
}

.gallery.animated .gallery-item:nth-child(1) {
  animation-duration: .1s;
}

.gallery.animated .gallery-item:nth-child(2) {
  animation-duration: .2s;
}

.gallery.animated .gallery-item:nth-child(3) {
  animation-duration: .3s;
}

.gallery.animated .gallery-item:nth-child(4) {
  animation-duration: .4s;
}

.gallery.animated .gallery-item:nth-child(5) {
  animation-duration: .5s;
}

.gallery.animated .gallery-item:nth-child(6) {
  animation-duration: .6s;
}

.gallery.animated .gallery-item:nth-child(7) {
  animation-duration: .7s;
}

.gallery.animated .gallery-item:nth-child(8) {
  animation-duration: .8s;
}

.gallery.animated .gallery-item:nth-child(9) {
  animation-duration: .9s;
}

.gallery.animated .gallery-item:nth-child(10) {
  animation-duration: 1s;
}

@keyframes slideInUp {
  from {
    transform: translate3d(0, 100%, 0);
    visibility: visible;
    opacity: 0;
  }

  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

/* Section Contact */

.section-contact form input[type="text"],
.section-contact form input[type="email"],
.section-contact form textarea {
  background-color: transparent;
  border-color: #1f2128;
}

.section-contact .form-wrapper input.wpcf7-submit {
  border-color: #f1592a;
}

.list-thumb-link {
  -webkit-transition: .3s;
  -ms-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
  cursor: pointer;
  position: relative;
  display: block;
}

.list-thumb-link img {
  z-index: 1;
  display: block;
}

.list-thumb-link:hover .thumb-desc {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  color: #fff;
}

.thumb-desc {
  /*top: 10px;
  left: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);*/
  top: 0;
  left: 0;
  text-transform: uppercase;
}

.desc-title {
  margin-bottom: 25px;
}

.icon-list .extra-information {
  margin-left: 10px;
}

.open-times a {
  color: #fff;
}

.open-times form button {
  background-color: transparent;
  border: 0;
  color: #ffffff;
  padding: 0;
  height: auto;
  text-transform: unset;
  width: 100%;
  text-align: left;
}

.open-times form button:hover {
  background-color: transparent;
}

.pagination ul {
  list-style: none;
  padding: 20px 0 0;
}

.pagination li {
  display: inline-block;
  border: 1px solid #fff;
  margin: 0 2px;
}

.pagination li a,
.pagination li span {
  display: block;
  padding: 3px 10px;
  color: #50C6DB;
}

.pagination li span.current {
  color: #fff;
}

.pagination li a:hover {
  background: #fff;
  color: #50C6DB;
}

.attachment .properties-detail {
  padding-top: 0;
}
.entry-attachment img {
  width: auto;
  height: auto;
  display: block;
  margin-right: auto;
  margin-left: auto;
}

/* AddEvent theme CSS
---------------------------------------------------------------------- */

/* The button */
.addeventatc              {display:block;position:relative;z-index:999998;color:#333;text-decoration:none;font-size:15px;cursor:pointer;}
.addeventatc button {background: none; border: 0; color: #fff; text-align: left; width: 100%;}
.addeventatc .copyx { display: none !important; }
.open-times li { padding-left: 12px; }
.open-times i { left: -10px; }
.open-times em { display: block; float: right; font-style: normal; }
.open-times span { float: none; }
.addeventatc:hover            {color:#555;text-decoration:underline;}
.addeventatc .start, .addeventatc .end, .addeventatc .timezone, .addeventatc .title, .addeventatc .description, .addeventatc .location, .addeventatc .organizer, .addeventatc .organizer_email, .addeventatc .facebook_event, .addeventatc .all_day_event, .addeventatc .date_format, .addeventatc .alarm_reminder, .addeventatc .recurring, .addeventatc .attendees, .addeventatc .calname, .addeventatc .uid, .addeventatc .status, .addeventatc .method, .addeventatc .client {display:none!important;}

/* The drop down */
.addeventatc_dropdown           {width:200px;position:absolute;z-index:99999;padding:6px 0px 0px 0px;background:#fff;text-align:left;display:none;margin-top:4px;margin-left:-1px;border-top:1px solid #c8c8c8;border-right:1px solid #bebebe;border-bottom:1px solid #a8a8a8;border-left:1px solid #bebebe;-moz-border-radius:2px;-webkit-border-radius:2px;-webkit-box-shadow:1px 3px 6px rgba(0,0,0,0.15);-moz-box-shadow:1px 3px 6px rgba(0,0,0,0.15);box-shadow:1px 3px 6px rgba(0,0,0,0.15);}
.addeventatc_dropdown span        {display:block;line-height:100%;background:#fff;text-decoration:none;font-size:14px;color:#333;padding:9px 10px 9px 40px;}
.addeventatc_dropdown span:hover    {background-color:#f4f4f4;color:#000;text-decoration:none;font-size:14px;}
.addeventatc_dropdown em        {color:#999!important;font-size:12px!important;}
.addeventatc_dropdown .frs        {background:#fff;color:#cacaca!important;cursor:pointer;font-size:9px!important;font-style:normal!important;font-weight:normal!important;line-height:110%!important;padding-left:10px;position:absolute;right:10px;text-align:right;text-decoration:none;top:5px;z-index:101;}
.addeventatc_dropdown .frs:hover    {color:#999!important;}
.addeventatc_dropdown .ateappleical   {background:url(../images/icon-apple-t1.svg) 13px 50% no-repeat;background-size:14px auto;}
.addeventatc_dropdown .ategoogle    {background:url(../images/icon-google-t1.svg) 13px 50% no-repeat;background-size:16px auto;}
.addeventatc_dropdown .ateoutlook     {background:url(../images/icon-outlook-t1.svg) 12px 50% no-repeat;background-size:16px auto;}
.addeventatc_dropdown .ateoutlookcom  {background:url(../images/icon-outlook-t1.svg) 12px 50% no-repeat;background-size:16px auto;}
.addeventatc_dropdown .ateyahoo     {background:url(../images/icon-yahoo-t1.svg) 12px 50% no-repeat;background-size:16px auto;}
.addeventatc_dropdown .atefacebook    {background:url(../images/icon-facebook-t1.svg) 13px 50% no-repeat;background-size:14px auto;}
.addeventatc_dropdown .copyx      {height:21px;display:block;position:relative;cursor:default;}
.addeventatc_dropdown .brx        {height:1px;overflow:hidden;background:#e0e0e0;position:absolute;z-index:100;left:10px;right:10px;top:9px;}

.videoContainer-wrap {
  position: relative;
  height: 90vh;
}
.videoContainer {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.videoContainer iframe {
  width: 100%;
  height: 100%; 
}

.page-template-template-live-auction .contact-info {
  /*bottom: -1px;*/
}

.icon-play-full {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.icon-play-button {
  position: absolute;
  width: 130px;
  height: 95px;
  left: 0;
  margin: auto;
  right: 0;
  text-align: center;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  background: url(../images/cam-airlie-play-button.png) no-repeat 0 0; 
  background-size: 100%;
}

.grid {
  margin: 0 10px;
}
  /* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}
.grid-item {
  float: left;
  width: 25%;
  /*height: 400px;*/
  overflow: hidden;
  box-sizing: border-box;
  padding: 10px;
}
.grid-item img.wp-post-image {
  /*height: 100%;*/
  width: 100%;
  height: 400px;
}
.grid-item--portrait img.wp-post-image {
  height: 820px;
}

.gutter-sizer { width: 25%; }

.grid-item--landscape { width: 50%; }
.grid-item--portrait { /*(height: 800px;*/ }

@media (min-width: 1367px) {
  .grid-item,
  .gutter-sizer { width: 20%; }
  .grid-item--landscape { width: 40%; }
}

@media (min-width: 1600px) {
  .grid-item,
  .gutter-sizer { width: 16.6666667%; }
  .grid-item--landscape { width: 33.333333%; }
}
@media (min-width: 1921px) {
  .page-template-template-current-properties .section-listing .container-fluid,
  .page-template-template-sold-properties .section-listing .container-fluid,
  .page-template-template-current-properties-new .section-listing .container-fluid,
  .page-template-template-sold-properties-new .section-listing .container-fluid {
    max-width: none;
  }
}

@media (max-width: 1199px) {
  .addeventatc {
    font-size: 14px;
  }
}
@media (max-width: 991px) {
  .grid {
    margin: 0;
  }
  .grid-item,
  .gutter-sizer { width: 33.333333%; }
  .grid-item--landscape { width: 66.6666667%; }
  .grid-item img.wp-post-image {
    height: auto;
  }
  .grid-item--portrait img.wp-post-image {
    height: auto;
  }

  .gallery {
    padding-bottom: 75px;
  }
  .gallery .gallery-item {
    width: 31.333333% !important;
  }
  .gallery .gallery-item + br { display: none; }

}

@media (max-width: 767px) {
  .grid-item,
  .gutter-sizer { width: 50%; }
  .grid-item--landscape { width: 100%; }

  .gallery {
    padding-bottom: 50px;
  }
  .gallery .gallery-item {
    width: 48% !important;
  }
  .reviews-link {
    margin-top: 0;
    position: relative;
    background-color: #1F2128;
  }
  .reviews-link p {
    margin-bottom: 0;
    padding-top: 10px;
  }
  .testimonial-img {
  }
  .testimonial-text.full {
  }
  img {
      height: auto !important;
  }
  img.size-full,
  img.size-large,
  img.size-large.aligncenter,
  img.size-medium {
      height: auto !important;
  }
}

@media (max-width: 480px) {
  .grid-item,
  .gutter-sizer,
  .grid-item--landscape { width: 100%; }

  .gallery {
    padding-bottom: 25px;
  }
  .gallery .gallery-item {
    width: 98% !important;
  }
  .list-thumb-link {
    color: #4dc6db;
  }
  .detail-heading {
    display: block;
    padding-bottom: 20px;
  }
  .icon-list {
    text-align: left;
    margin-top: 10px;
    top: auto;
    -webkit-transform: translateY(0%);
    -ms-transform: translateY(0%);
    transform: translateY(0%);
  }
  .icon-list li:first-child {
    padding-left: 0;
  }
  .wpcf7 .form-ask input[type="text"] {
    width: 100% !important;
  }
}