﻿* {
	box-sizing: border-box;
	font-family: 'Roboto';
}

.row {
	margin-right: 0;
}

.mhSuosikkiAlue {
    border-bottom: 1px solid lightgrey;
}

.wordBreakOn {
   word-break: break-all;
}

.form-group {
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 15px;
}

.form-group input {
   text-align:center;
}

.card {
    padding-bottom: 10px;
}

.card h3 {
    font-size: 20px;
}

.card p {
   font-size:18px;
}
.hakijapalveluTopMargin {
    margin-top: 40px;
    margin-bottom: 5px;
}

.pohjakuvaLinkki {
    text-align:center;
}

/**************************/
/********* OVERALL ********/
/**************************/
.left {
	float: left;
}

.right {
	float: right;
}

.clear {
	clear: both;
}

.btn-ilmoitus {
	margin: 0 0 20px 0;
}

.btn-hakemus {
	margin: 0 20px 20px 0;
}





/**************************/
/*********** NAV **********/
/**************************/

.nav-logo {
	padding: 5px;
}

	.nav-logo img {
		max-width: 80px;
	}




.fullWidth {
    width:100%;
}

.kkSuosikkiPainikeAlue {
    margin-bottom:20px;
}

.mhSuosikkiPainikeAlue {
    margin-bottom:10px;
    margin-top:10px;
}

/**************************/
/******** SIDEBAR *********/
/**************************/

.sidebar {
	position: absolute;
	width: 250px;
	z-index: 1;
	margin-top: 5px;
	left: 0;
	padding-bottom: 25px;
	display: block;
}

.sidebar-area {
	padding-top: 15px;
}

.form-label {
	display: inline-block;
	max-width: 100%;
	margin-bottom: 10px;
	font-weight: 400;
	color: #719430;
	font-size: 16px;
}

.sidebar-block {
	margin-top: 15px;
}

.sidebar-option {
	padding-top: 10px;
	color: #757575;
}

.slider-txtbox {
	width: 60px;
}







/**************************/
/******* CONTAINER ********/
/**************************/

.asuntohaku-container {
	padding-top: 65px;
}

.page-wrapper-asuntohaku {
	margin: 0 0 0 250px;
	padding: 30px 30px;
	position: relative;
}







/**************************/
/******** HAKUEHTO ********/
/**************************/

.hakuehto {
	border: 1px solid #448AFF;
	color: #448AFF;
	border-radius: 2px;
	display: inline-block;
	padding: 5px 10px;
	margin-left: 10px;
    margin-top: 10px;
	cursor: pointer;
}

	.hakuehto p {
		margin: 0;
		display: inline;
	}

	.hakuehto:hover {
		background-color: #448AFF;
		color: white;
	}

.icon {
	font-size: 12px;
	margin-left: 10px;
}

.lead-text {
	margin-top: 20px;
    color: #719430;
}







/**************************/
/**** MINIKOHDEKORTTI *****/
/**************************/

.kohde-panel {
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.15);
	-moz-box-shadow: 0 1px 1px rgba(0,0,0,.15);
	box-shadow: 0 1px 1px rgba(0,0,0,.15);
}

	.kohde-panel h3 {
		color: #719430;
	}

.panel-heading {
	height: 250px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.btn-miniCard {
    padding-top:10px;
    padding-left:0px;
    padding-right:0px;
}

.panel-body {
	height: 80px;
	overflow-y: hidden;
        border-left: 1px solid lightgrey;
    border-right: 1px solid lightgrey;
}

	.panel-body h3 {
		margin-top: 5px;
		margin-bottom: 5px;
	}

.panel-muut-tiedot {
	font-size: 14px;
	color: #757575;
}

.statusValinta {
    padding-left: 0px;
    padding-right: 0px;
}

.panel-footer {
	background-color: #FFF;
	border-top: none;
    border-left: 1px solid lightgrey;
    border-right: 1px solid lightgrey;
    border-bottom: 1px solid lightgrey;
    padding-bottom: 15px;
}


.loading-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background-color: white;
    opacity: .8;
}




/**************************/
/******* PAGINATION *******/
/**************************/

.pagination .paging-item {
	position: relative;
	float: left;
	padding: 6px 12px;
	margin-left: -1px;
	line-height: 1.42857143;
	color: #719430;
	text-decoration: none;
	background-color: #fff;
	border: 1px solid #ddd;
	cursor: pointer;
}

	.pagination .active {
		z-index: 3;
		color: #fff;
		background-color: #719430;
		border-color: #719430;
	}

	.paging-item:hover {
		z-index: 2;
		color: #719430;
		background-color: #eee;
		border-color: #ddd;
	}

.loading-icon {
	margin-top: 25%;
}

.jataHakemusBtn {
    width:100%;
}



/**************************/
/******* KOHDEKORTTI ******/
/**************************/

.kohdekortti {
	padding: 30px 0;
}

	.kohdekortti h1 {
		font-weight: 300;
		font-size: 45px;
		color: #719430;
	}

	.kohdekortti h3 {
		color: rgba(0,0,0,.54);
	}

	.kohdekortti .info tr td {
		border-top: none;
	}

#map_canvas {
	height: 270px;
	width: 100%;
}

.suosikkiInfoRivi {
    padding-top: 20px;
    padding-bottom: 20px;
    border: 1px solid lightgrey;
    text-align:center;
}
.suosikkilista {
	padding: 30px;
}

.takaisinHakuun {
    padding-top: 5px;
    padding-bottom: 15px;
}

.jataHakemusAlue {
    padding-top: 15px;
}

/**************************/
/******* HUONEISTOKORTTI ******/
/**************************/

.huoneistokortti {
	padding: 30px 0;
}

	.huoneistokortti h1 {
		font-weight: 300;
		font-size: 45px;
		color: #719430;
	}

	.huoneistokortti h3 {
		color: rgba(0,0,0,.54);
	}

	.huoneistokortti .info tr td {
		border-top: none;
	}

#map_canvas {
	height: 270px;
	width: 100%;
}

.suosikkiInfoRivi {
    padding-top: 20px;
    padding-bottom: 20px;
    border: 1px solid lightgrey;
    text-align:center;
}
.suosikkilista {
	padding: 30px;
}

.takaisinKohteelle {
    padding-top: 5px;
    padding-bottom: 15px;
}

.jataHakemusAlue {
    padding-top: 15px;
}

/**************************/
/******* SLIDESHOW ******/
/**************************/
.slide-show {
	position: relative;
	width: 100%;
	height: 270px;
	margin: 0 0 30px 0;
	overflow: hidden;
	float: left;
	border: solid 1px #EEE;
	background: #F3F3F3;
	background: -moz-linear-gradient(top, #FFFFFF 0%, #F3F3F3 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #FFFFFF), color-stop(100%, #F3F3F3));
	background: -webkit-linear-gradient(top, #FFFFFF 0%, #F3F3F3 100%);
	background: -o-linear-gradient(top, #FFFFFF 0%, #F3F3F3 100%);
	background: -ms-linear-gradient(top, #FFFFFF 0%, #F3F3F3 100%);
	background: linear-gradient(to bottom, #FFFFFF 0%, #F3F3F3 100%);
	-webkit-filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#F3F3F3',GradientType=0 );
	-moz-filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#F3F3F3',GradientType=0 );
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#F3F3F3',GradientType=0 );
	border-radius: 3px;
	-webkit-box-shadow: inset 0 0 20px -13px #000;
	-moz-box-shadow: inset 0 0 20px -13px #000;
	box-shadow: inset 0 0 20px -13px #000;
}

.slide {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}

	.slide img {
		height: 270px;
	}

.slide-meter {
	position: absolute;
	z-index: 999;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 5px;
	background: #719430;
}

.slide-ui {
	opacity: 0;
	transition: opacity 300ms;
}

.slide-show:hover .slide-ui {
	opacity: 1;
}

.slide-arrow {
	position: absolute;
	top: 50%;
	width: 1px;
	height: 1px;
	overflow: visible;
}

	.slide-arrow.prev {
		left: 30px;
	}

	.slide-arrow.next {
		right: 30px;
	}

	.slide-arrow .icon {
		display: block;
		position: relative;
		top: -22px;
		left: -22px;
		width: 45px;
		height: 45px;
		border: none !important;
		background: #51545C url(/images/gfx.png) no-repeat 0px -108px;
		cursor: pointer;
		opacity: 0.5;
		transition: opacity 300ms;
	}

	.slide-arrow.next .icon {
		background-position-x: -45px;
	}

	.slide-arrow .icon:hover {
		opacity: 1;
	}

.slide-pager {
	position: absolute;
	bottom: 10px;
	left: 0;
	width: 100%;
	text-align: center;
}

	.slide-pager a {
		display: inline-block;
		width: 10px;
		height: 10px;
		margin: 0 5px;
		border: solid 2px #FFF;
		background: #333;
		border-radius: 10px;
	}

		.slide-pager a.active,
		.slide-pager a:hover {
			background: #719430;
		}

.mobile-search-btn {
	display: none;
}


@media (max-width: 769px) {
	.sidebar {
		display: none;
		position: relative;
		width: 100%;
	}

	.page-wrapper-asuntohaku {
		margin: 0;
	}

	.mobile-searchbar {
		margin: 0;
		display: block;
	}

	.mobile-search-btn {
		outline: none;
		display: block;
		width: 100%;
		margin-top: 20px;
	}

		.mobile-search-btn:hover, .mobile-search-btn:focus, .mobile-search-btn:active, .mobile-search-btn:active:hover {
			background-color: #719430;
			border: none;
			outline: none;
			color: white;
		}

	.btn-active {
		background-color: #719430;
		color: white;
	}
}

