/**
 * Trademe Stylesheet
 * 
 * @package    Trademe
 * @category   CSS
 * @copyright  Copyright (c) Nuwave Software Ltd
 */

/*-----------------------------------------------------------------------------\
  Property UI Styles
\-----------------------------------------------------------------------------*/

.tm.tm-property-ui .tm-gallery,
.tm.tm-property-ui .tm-header,
.tm.tm-property-ui .tm-content {
	margin-bottom: 30px;
}
.tm.tm-property-ui .bx-slider {
	background: #F3F3F3;
	margin: 0;
}
.tm.tm-property-ui .bx-slider li {
	text-align: center;
}
.tm.tm-property-ui .bx-slider img {
	display: inline-block;
}
.tm.tm-property-ui .tm-title,
.tm.tm-property-ui .tm-price {
	margin: 0;
}
.tm.tm-property-ui .tm-attrs .tm-attr {
	display: inline-block;
	margin-right: 15px;
}
.tm.tm-property-ui .tm-attrs .tm-attr .tm-attr-value {
	font-size: 20px;
	font-weight: bold;
	line-height: 14px;
	margin-right: 5px;
	vertical-align: bottom;
}
.tm.tm-property-ui .tm-attrs .tm-attr img {
	vertical-align: bottom;
}

.tm.tm-property-ui .form {
	max-width: 300px;
}
.tm.tm-property-ui .form .ctrl.name-first_name {
	float: left;
	padding-right: 10px;
	width: 50%;
}
.tm.tm-property-ui .form .ctrl.name-last_name {
	float: left;
	padding-left: 10px;
	width: 50%;
}

/*-----------------------------------------------------------------------------\
  Property List Styles
\-----------------------------------------------------------------------------*/

.tm.tm-property-list {
	background: #001f49;
	padding: 10px 10px 10px 0;
}
.tm.tm-property-list .tm-listing {
	padding: 0 0 10px 10px;
	width: 100%;
}
.tm.tm-property-list .tm-listing:first-child {
	padding-top: 0;
}
.tm.tm-property-list .tm-listing:last-child {
	padding-bottom: 0;
}
.tm.tm-property-list .tm-listing a {
	border: 3px solid #001f49;
	display: block;
	text-decoration: none;
	position: relative;
}
.tm.tm-property-list .tm-listing a:hover {
	border-color: #00c1f7;
}
.tm.tm-property-list .tm-listing .tm-alts {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	font-size: 14px;
	font-weight: bold;
	line-height: 15px;
	background: rgba(255,255,255,0.8);
	padding: 5px;
}
.tm.tm-property-list .tm-listing .tm-alts .tm-price {
	color: #00c1f7;
}
.tm.tm-property-list .tm-listing .tm-alts .tm-title {
	color: #001f49;
}
/*.tm.tm-property-list .tm-listing a:hover .tm-alts .tm-price,
.tm.tm-property-list .tm-listing a:hover .tm-alts .tm-title {
	text-decoration: underline;
}*/
.tm.tm-property-list .tm-listing.no-img .tm-alts {
	position: static;
	background: #FFF;
}


/*-----------------------------------------------------------------------------\
  Sold Property UI Styles
\-----------------------------------------------------------------------------*/

.tm.tm-property-sold-ui .bx-slider {
	background: #F3F3F3;
}
.tm.tm-property-sold-ui .bx-slider li {
	text-align: center;
}
.tm.tm-property-sold-ui .bx-slider img {
	display: inline-block;
}
.tm.tm-property-sold-ui .tm-gallery,
.tm.tm-property-sold-ui .tm-header,
.tm.tm-property-sold-ui .tm-content {
	margin-bottom: 30px;
}
.tm.tm-property-sold-ui .tm-title,
.tm.tm-property-sold-ui .tm-price {
	margin: 0;
}
.tm.tm-property-sold-ui .tm-attrs .tm-attr {
	display: inline-block;
	margin-right: 15px;
}
.tm.tm-property-sold-ui .tm-attrs .tm-attr .tm-attr-value {
	font-size: 20px;
	font-weight: bold;
	line-height: 14px;
	margin-right: 5px;
	vertical-align: bottom;
}
.tm.tm-property-sold-ui .tm-attrs .tm-attr img {
	vertical-align: bottom;
}

/*-----------------------------------------------------------------------------\
  Sold Property Details Styles
\-----------------------------------------------------------------------------*/

.tm.tm-property-sold-details-ui .tm-sale-item {
	margin-bottom: 20px;
}
.tm.tm-property-sold-details-ui .tm-sale-item .tm-item-title {
	background: #CCCCCC;
	color: #FFFFFF;
	font-size: 15px;
	font-weight: normal;
	line-height: 15px;
	margin: 0 0 1px 0;
	padding: 5px;
	position: relative;
	width: 80%;
}
.tm.tm-property-sold-details-ui .tm-sale-item .tm-item-title:after {
	border-left: 0px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 25px solid #cccccc;
    content: "";
    height: 0;
    position: absolute;
    right: -20px;
    top: 0;
    width: 0;
}
.tm.tm-property-sold-details-ui .tm-sale-item .tm-item-value {
    background: #00aeef;
    color: #FFFFFF;
    padding: 10px;
    line-height: 30px;
    font-size: 30px;
	font-weight: bold;
    margin: 0;
}

/*-----------------------------------------------------------------------------\
  Sold Property Gallery Styles
\-----------------------------------------------------------------------------*/

.tm.tm-property-sold-gallery {
	background: #001f49;
	padding: 10px 10px 0 10px;
}
.tm.tm-property-sold-gallery .tm-listing {
	float: left;
	height: 160px;
	padding: 0 0 10px 10px;
	position: relative;
	width: 260px;
}
.tm.tm-property-sold-gallery .tm-listing:first-child {
	padding-left: 0;
}
.tm.tm-property-sold-gallery .tm-listing:last-child {
	padding-right: 0;
}
.tm.tm-property-sold-gallery .tm-listing a {
	border: 3px solid #001f49;
	display: block;
	height: 100%;
	overflow: hidden;
	position: relative;
	text-decoration: none;
    width: 100%;
}
.tm.tm-property-sold-gallery .tm-listing a:hover {
	border-color: #00c1f7;
}
.tm.tm-property-sold-gallery .tm-listing .tm-alts {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	font-size: 14px;
	font-weight: bold;
	line-height: 14px;
	background: rgba(255,255,255,0.8);
	padding: 5px;
}
.tm.tm-property-sold-gallery .tm-listing .tm-alts .tm-price {
	color: #00c1f7;
}
.tm.tm-property-sold-gallery .tm-listing .tm-alts .tm-title {
	color: #001f49;
}

/*-----------------------------------------------------------------------------\
  Time Contact Styles
\-----------------------------------------------------------------------------*/

.tm.tm-timed-contact {
	background: #FFFFFF;
	border-bottom: 2px solid #CCC;
	border-left: 2px solid #CCC;
	border-top: 2px solid #CCC;
	bottom: 150px;
	overflow: hidden;
	padding: 15px;
	position: fixed;
	right: -200px;
	width: 200px;
	z-index: 99999;
}
.tm.tm-timed-contact .tm-title {
	color: #001f49;
	font-weight: bold;
	font-size: 1.2em;
	margin-bottom: 20px;
}
.tm.tm-timed-contact .tm-close {
	position: absolute;
	top: 0;
	right: 3px;
	color: #CCC;
}
.tm.tm-timed-contact .tm-close:hover {
	color: #001f49;
}