/*--------------------------------------------------------------------------------------
    Custom styles required for development of property search functionality
  --------------------------------------------------------------------------------------*/

/* AJAX-style loading overlay */
#content-container {position:relative;}
#content-container .loading-overlay {position:absolute;left:0;top:0;width:100%;height:100%;background:#fff;z-index:999;}
#content-container .loading-overlay .loading-overlay-content {width:100%;height:100%;position:relative;}
#content-container .loading-overlay .loading-overlay-content-inner {width:100%;position:absolute;top:30px;text-align:center;}
#content-container .loading-overlay .loading-overlay-content-inner p {margin-top:6px;}

/* Property search result tabs */
ul.ks-menu-hor-search li a {color:#3775AE;}
ul.ks-menu-hor-search li a:hover {text-decoration:none;}

/* Photo gallery size switching enhancements */
a.gallery1.active{background-image:url('../images/1_gallery_1active.gif');}
a.gallery2.active{background-image:url('../images/1_gallery_2active.gif');}
a.gallery3.active{background-image:url('../images/1_gallery_3active.gif');}
a.gallery4.active{background-image:url('../images/1_gallery_4active.gif');}

/* Global paging enhancements */
a.numb { text-decoration: none; margin: 0 2px 0 2px; padding: 0 2px 0 2px; }
a.numb:active,
a.numb.active { text-decoration: none; background: #2C417C; margin: 0 2px 0 2px; padding: 0 2px 0 2px; color: white; }
a.numb:hover { text-decoration: none; background: #2C417C; margin: 0 2px 0 2px; padding: 0 2px 0 2px; color: white; }

/* Property details photo carousel */
.photo-carousel .primary-photo {float:left;}
.photo-carousel .thumbnails {float:left;width:184px;list-style:none;margin:0;padding:0;}
.photo-carousel .thumbnails li {padding:0;margin:0;margin-left:7px;margin-bottom:13px;display:block;float:left !important;}
.photo-carousel .thumbnails img {border:none;margin:2px;}
.photo-carousel .thumbnails a {border:solid 1px #DED8DE;display:block;cursor:pointer;padding:0;margin:0;}
.photo-carousel .thumbnails a:hover,
.photo-carousel .thumbnails a.active {border:solid 1px #4875AA;}

/* Summary view tooltip photo viewer */
#tooltip {position:absolute;z-index:3000;}
#tooltip h3, #tooltip div {margin:0;}
.table-row .thumb {display:none;}
.image-pop-up-block img {position:relative;top:14px;left:24px;width:182px;height:137px;}

/* Summary view sorting */
.table-hdr-block .sort-asc {font-weight:bold;background:transparent url(../images/sortArrowUp.gif) no-repeat right 10px;}
.table-hdr-block .sort-desc {font-weight:bold;background:transparent url(../images/sortArrowDown.gif) no-repeat right 10px;}

/* Disabled hyperlinks */
a.disabled {color:#aaa;cursor:default;}
a.disabled:hover {color:#aaa;cursor:default;background:none;text-decoration:none;border:none;}

/* UK home page "King Sturge News" and "Latest Publication" padding fix */
.column-quarter.last .right-column-element,
.column-quarter.gutter .right-column-element {padding-top:0px;}

/* People finder */
.people-finder-results {width:704px;float:left;}
.people-finder-results .form-people-finder3 {height:26px;width:704px;}
.people-finder-results .portrait-placeholder {width:103px;height:140px;background:#eee;}

/* News listings */
.news-listings .form-people-finder3 .form-table-2 {height:24px;}

/* AJAX autocomplete */
.ac_results {padding: 0px;border: 1px solid black;background-color: white;overflow: hidden;z-index: 99999;}
.ac_results ul {width: 100%;list-style-position: outside;list-style: none;padding: 0;margin: 0;}
.ac_results li {margin: 0px;padding: 2px 5px;cursor: default;display: block;font: menu;font-size: 12px;line-height: 16px;overflow: hidden;}
.ac_loading {background: white url('indicator.gif') right center no-repeat;}
.ac_odd {background-color: #eee;}
.ac_over {background-color: #0A246A;color:white;}