/* listing-sidebar.css - shared by the listing detail templates (showskin1-4 and showskinFeature = option 5).
   Loaded AFTER the template's own stylesheet (see the showskin*.inc files). Template-specific layout stays in the template's own css. */

/* ---- Save Listing: the watchlist button, inside the agent card, under Contact Agent (18px star before the text - the same size as the Print and Share icons - 14px text, soft hover) ----
   .agentActions .agentWatchSlot (ctrlAgentActions: its script moves the gallery's .watchlist.agentWatch into it; Option 5 puts its own button there) */
.agentActions .agentWatchSlot:empty{display:none;}
.agentActions .watchlist.agentWatch,
.agentCard .watchlist{position:static!important;background:none!important;margin:0!important;padding:0!important;text-align:left;}
.agentActions .watchlist .RadButton,
.agentCard .watchlist .RadButton{height:auto!important;font-size:14px;border-radius:6px;cursor:pointer;transition:background-color .15s,box-shadow .15s;}
.agentActions .watchlist .RadButton .rbPrimary,
.agentCard .watchlist .RadButton .rbPrimary{padding:0 0 0 24px!important;line-height:24px;position:relative;}
.agentActions .watchlist .rbText,
.agentCard .watchlist .rbText{font-size:14px;color:#000;}
.agentActions .watchlist .rbToggle, .agentActions .watchlist .rbToggleChecked,
.agentCard .watchlist .rbToggle, .agentCard .watchlist .rbToggleChecked{position:absolute!important;left:0!important;right:auto!important;top:3px!important;width:18px!important;height:18px!important;background-size:contain!important;}
.agentActions .watchlist .RadButton:hover,
.agentCard .watchlist .RadButton:hover{background-color:rgba(0,0,0,.07)!important;box-shadow:0 0 0 4px rgba(0,0,0,.07)!important;}

/* ---- Contact Agent / Share + More Information under the agents (options 2, 3, 4; option 1 and 5 have their own agent card layout) ----
   Every row gets the same 14px above it. #content .section.sideAction beats the page's "#content .section" padding on the Contact Agent block. */
.sideAction{margin:0;padding:14px 0 0;}
#content .section.sideAction{margin:0;padding:14px 0 0;}
.sideActionBtn{display:block;width:100%;box-sizing:border-box;font-size:14px;}
.agentActions.sideAction:has(.agentWatchSlot:empty){display:none;}  /* Save Listing switched off: the empty wrapper takes no space */
.sideBtnRow{display:flex;flex-wrap:wrap;align-items:center;gap:10px;clear:both;margin:0;padding:14px 0;}
.sideShare{float:none;margin:0;}
.sideBtnRow .shareWrap{padding-top:0;}
.sideMore{margin:0;}

/* Share and More Information: one outline button style (More Information copies the Share button), both 30px high, grey tint on hover */
.btnMoreInfo.sideActionBtn{display:inline-flex!important;align-items:center;width:auto!important;background:transparent!important;border:1px solid currentColor!important;border-radius:6px!important;padding:0 14px!important;font:inherit!important;font-size:14px!important;color:inherit!important;line-height:1.2;box-shadow:none!important;text-transform:none!important;opacity:.85;cursor:pointer;}
.sideBtnRow .shareBtn,
.sideBtnRow .btnMoreInfo.sideActionBtn{box-sizing:border-box!important;height:30px!important;padding-top:0!important;padding-bottom:0!important;font-size:14px;transition:background-color .15s,opacity .15s;}
.sideBtnRow .shareBtn:hover, .sideBtnRow .shareBtn:focus-visible,
.sideBtnRow .btnMoreInfo.sideActionBtn:hover, .sideBtnRow .btnMoreInfo.sideActionBtn:focus-visible{background:rgba(0,0,0,.07)!important;opacity:1;}
/* kendoButton puts the label in .k-button-text, which a page-level rule (.k-button.k-button-solid-primary .k-button-text, !important) colours white - so this needs more specificity */
.btnMoreInfo.sideActionBtn.k-button .k-button-text{color:inherit!important;font-size:inherit;font-weight:inherit;}

/* ---- Price: on its own above the icon strip, no "Price" caption (options 2, 3, 4) ---- */
.priceUnderAddress{padding:.5em 0 0;font-size:1.25em;font-weight:600;}
.priceUnderAddress .lblAuctionCountDown{margin-top:6px;}

/* ---- Agent job title is the same size as the licence line under it (.agtlicense is 0.75em in options 2-5; option 1 has its own 10px / 13px) ---- */
span[id*="AgtJobDesc"]{font-size:0.75em;}

/* ---- Print: the "Show Print" website setting. It takes the Save Listing slot - the same row, same 14px black text, with the printer icon on the left; when both are
   on, Save Listing comes first and Print follows it on the same row; when Save Listing is off, Print is the only thing in the slot. (.agentWatchSlot in ctrlAgentActions) ---- */
.agentWatchSlot{display:flex;flex-wrap:wrap;align-items:center;gap:6px 22px;}
.agentWatchSlot .watchlist{order:1;}
.agentPrint{order:2;margin:0;}
.agentPrint a{position:relative;top:1.5px;display:inline-flex;align-items:center;gap:6px;font-size:14px;line-height:24px;color:#000;text-decoration:none;cursor:pointer;border-radius:6px;transition:background-color .15s,box-shadow .15s;}
.agentPrint a:hover, .agentPrint a:focus-visible{color:#000;text-decoration:none;background-color:rgba(0,0,0,.07);box-shadow:0 0 0 4px rgba(0,0,0,.07);}
.agentPrint img{width:18px;height:18px;display:block;}
@media print{ .agentPrint{display:none;} }

/* ---- Add to calendar: the auction / tender close / deadline date (host shows pnlaucttime only for those sale types). Icon only (tooltip "Add to calendar"), sitting straight after the
   price text. ---- */
.agentCalendar{align-self:center;display:inline-block;vertical-align:middle;margin:0 0 0 10px;line-height:1;font-weight:400;}
*:has(> .agentCalendar){align-items:center;}  /* the price row: centre the price text and the icon on one line (the row stretched the text to the icon's height, so the text sat at the top) */
.agentCalendar .ofiSchedule{display:inline-flex;align-items:center;margin:0;padding:3px;color:#000;cursor:pointer;border-radius:6px;transition:background-color .15s,box-shadow .15s;}
.agentCalendar .ofiSchedule:hover{background-color:rgba(0,0,0,.07);box-shadow:0 0 0 2px rgba(0,0,0,.07);}
.agentCalendar img{width:22px;height:22px;display:block;}
@media print{ .agentCalendar{display:none;} }

/* ---- Auction / tender countdown label ("Auction in 10 days 1h 35m"): the site's button colours, but a heavier weight and a slightly larger size so it is easy to read
   (themes such as Open Sans Light made it very thin). The text colour is set to black or white (whichever contrasts more with the fill) by fixAuctionLabelContrast() in skinshow.aspx. ---- */
.lblAuctionCountDown{font-size:.95rem;font-weight:600;letter-spacing:.01em;line-height:1.3;border-radius:4px;}
