/* muistiin */
@media (min-width: 768px) {}
@media (min-width: 992px) {}
@media (min-width: 1200px) {}

body {
	font-family: "Fira Sans";
	font-size: 16px;
	color: #555555;
}

.semibold {
	font-weight: 600;
}

/* Generic */

.right {
	text-align: right;
}

.center {
	text-align: center;
}

.full-width {
	width: 100%;
}

/* Asettelu */

@media (min-width: 768px) {
	#content > .table-col-1 {
		width: 400px;
	}
}

#list-drag-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background-color: red;
    z-index: 2;
}

@media (min-width: 768px) {
    
    #list-drag-bar {
        display: none;
    }
}

/***
 * Listan hakuboksi
 */

#list-control {
	color: #0098D8;
	padding-top: 10px;
	z-index: 3;
}

#list-control .list-search {
	position: relative;
	height: 40px;
	margin: 15px 25px;
	margin-bottom: 0;
}

#list-control .list-search .menu-sliders {
	display: block;
	position: absolute;
	left: 0;
	padding: 7px;
}

#list-control .list-search .menu-sliders img {
    height: 25px;
}

#list-control .list-search .list-search-wrapper {
	position: absolute;
	left: 40px;
	right: 0;
}

#list-search {
	color: #0098D8;
	border: 2px solid #0098D8;
	box-shadow: none;
	-webkit-box-shadow: none;
	padding: 0 20px;
	display: block;

	height: 40px !important;
	background-color: white;
	background-clip: padding-box;
	border-radius: 19px;

	background-image: url('../img/list-search-button.svg');
	background-repeat: no-repeat;
	background-position: right 35px center;
	padding-right: 40px;
}

#list-search::placeholder {
	color: #0098D8;
	opacity: 0.5;
}

.list-search-clear-button {
	display: block;
	position: absolute;
	right: 0;
	width: 40px;
	top: 0;
	bottom: 0;

	background-image: url('../img/x.svg');
	background-repeat: no-repeat;
	background-position: center center;
}

/* list-menu */

#list-menu {
	background-color: white;
	padding: 5px 15px;
	border-radius: 15px;

	margin: 15px 25px;
}

#list-menu .group-list {
    max-height: 285px;
    overflow-y: auto;
}

#list-menu > div {
	margin: 15px 0;
    padding: 0 15px;
}

@media (min-width: 768px) {

    #list-menu {
        margin: 0;
    }
}

    /* common */

#list-menu .selection {
    white-space: nowrap;
    overflow: hidden;
}

#list-menu label {
    color: #555555;
    font-weight: normal;
    margin: 0;
}

    /* action buttons */

#list-control .action-buttons a {
    display: inline-block;
    margin-right: 20px;
}

#list-control .action-buttons img {
    height: 20px;
}

    /* Näytä vain kartalla */

#filter-by-map {
	display: inline-block;
	width: auto;
	margin-top: 0px;
	margin-right: 3px;
}

#list-control .link-to-moovy {
    color: #555555;
}

/*
#list.menu #list-inner .item {
	display: none;
}
*/

#list-menu a,
#list-menu a:hover {
	color: #0098D8;
	text-decoration: none;
}

    /* Valitse sijainti */

#list-menu .group-list {
    border-top: 1px solid #CBCBCB;
}

#list-menu .group-list h3 {
    color: #555555;
    margin-top: 15px;
}

#list-menu .group-list a {
	display: block;
	padding: 5px 0;
}


/***
 * Lista
 */

#list {
	background-color: #ffffff;
}

@media (min-width: 768px) {

	#list-inner {
		top: 80px;
	}

	#list-control {
		top: 30px;
		left: 30px;
	}
}
	/* listaus, yleiset */

#list h2 {
	/* reset bootstrap */
	margin: 0;
	line-height: inherit;
	font-size: 32px;
}

#list-inner a {
	color: #555555;
}

#list-inner a:hover {
	text-decoration: none;
}

    /* tyhjä lista */

#list .list-empty {
    margin: 25px;
    font-weight: bold;
}

	/* ryhmärivit */

#list .group-title {
	/* reset bootstrap */
	margin: 25px;
	margin-bottom: 5px;
	font-size: 32px;
	font-weight: bold;
	text-transform: uppercase;
}


	/* perusrivit */

#list-inner .item {
	position: relative;
	padding: 27px 25px;
	padding-right: 20px;
	background-color: #ffffff;
	height: 141px;
	overflow: hidden;
	line-height: 1.2;	
	cursor: pointer;
}

/*
#list-inner .item.active {
	background-color: #bfeaff;
}
*/

#list-inner .item .bottom-separator {
	position: absolute;
	bottom: 0;
	left: 25px;
	right: 25px;
	height: 1px;
	border-bottom: 1px solid #ccc;
}

/* elementit */

#list-inner .item > a {
	display: block;
	position: relative;
	padding-left: 100px;
	height: 100%;
	text-decoration: none;
}

#list-inner .item .image {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	position: absolute;
    top: 3px;
	left: 0;

	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	background-color: #ccc;
    background-image: url(../img/moovy-blue.png);
}

#list-inner .item .image .type-badge {
	position: absolute;
	right: 4px;
	top: 4px;
	width: 18px;
	height: 18px;
	border-radius: 50%;

	background-color: #999999;
	color: white;

	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;

	text-align: center;
	font-size: 12px;
	font-weight: bold;
}

#list-inner .item .title {
	font-size: 25px;
	font-weight: bold;
	color: #0098D8;
	text-transform: uppercase;
}

#list-inner .item .city {
    margin-top: 5px;
    margin-bottom: 10px;
}

#list-inner .item .address {
	white-space: nowrap;
	/* text-overflow: ellipsis; */
}

#list-inner .item .angle-right {
	position: absolute;
	right: 0;
	top: 26px;
}

/* infoWindow */

.type-icon {
	display: inline-block;
	width: 35px;
	height: 35px;

	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

.gm-style {
    font-family: inherit !important;
}

.gm-style .gm-style-iw {
    font-weight: normal !important;
}

.gm-style .gm-style-iw-c {
	padding: 0 !important;
}

.gm-style .gm-style-iw-d {
	overflow: auto !important;
    height: 170px !important;
    /* height: 230px !important; */
}

/*
.gm-style-iw > button::after {
	content: "x";
	display: block;
	color: white;
	font-size: 30px;
	margin-right: 10px;
}
*/

.gm-style .gm-style-iw > button > img {
	display: none !important;
}

.gm-style .gm-style-iw > button,
.gm-style .gm-style-iw-t::after,
.gm-style .gm-style-iw-tc::after {
    display: none !important;
}


.info-window > * {
	margin: 0 10px;
}

.info-window .titlebox {
	margin: 0;
	/* background-color: #0098D8; */
    background: linear-gradient(135deg, #08CBEF 0%, #0098D8 99.43%);
	color: white;
	padding: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-align: center;
}

.info-window.item-type-FACILITY {
}

.info-window.item-type-LOT .titlebox {
    background: linear-gradient(135deg, #3BF88F 0.12%, #0BCD61 100%);
}

.info-window .titlebox .name {
	display: inline-block;
	vertical-align: middle;
	margin: 7px 5px;
	text-transform: uppercase;
    white-space: normal;
	font-size: 19px;
	font-weight: bold;
}

.info-window .app-download {
	text-align: center;
	/* margin: 15px 10px; */
	padding: 15px 0;
}

.info-window .app-download p {
	font-size: 16px;
}

.info-window .app-download img {
	display: inline-block;
	height: 37px;
}

/***
 * item-page
 */

#the-item {
	background-color: White;
	overflow-y: auto;
}

/* close-button */

#the-item .item-close {
	position: absolute;
	top: 20px;
	right: 20px;
	cursor: pointer;
	z-index: 1;

    background-color: #ccc;
	color: #777;
	float: right;
	opacity: 0.8;
	border-radius: 15px;
    width: 29px;
    height: 29px;
    line-height: 29px;
    text-align: center;
	font-size: 18px;
}

/* item view layout */

#the-item-inner {
	height: 100%;
	overflow-y: auto;
	padding-bottom: 25px;
}

#the-item-inner a,
#the-item-inner a:hover {
	color: #0098D8;
	text-decoration: none;
}

	/* sisältö */

/* images */

#the-item-inner .img-slider {
	height: 220px;
	overflow: hidden;
	background-color: white;
}

#the-item-inner .item-image {
	height: 220px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

#the-item-inner .img-slider.no-image,
#the-item-inner .img-slider.no-image .item-image {
    height: 65px;
}

#the-item .item-close {
    display: none;
}

@media (min-width: 768px) {

    #the-item .item-close {
        display: none;
    }

	#the-item-inner .img-slider,
	#the-item-inner .item-image {
		height: 250px;
	}

    #the-item-inner .img-slider.no-image,
    #the-item-inner .img-slider.no-image .item-image {
        height: 65px;
    }
}

@media (min-width: 992px) {

	#the-item-inner .img-slider,
	#the-item-inner .item-image {
		height: 340px;
	}
}

/* height */
@media (max-height: 767px) {

    #the-item-inner .img-slider {
        height: 65px;
    }

    #the-item-inner .img-slider > * {
        display: none;
    }
}



/* slick overrides */

#the-item-inner .slick-dots {
	bottom: 10px;
}

#the-item-inner .slick-dots li button:before {
	color: white;
	font-size: 10px;
}


/* tekstit */

#the-item-inner h1 {
	margin: 10px 0px 10px;
}

#the-item-inner .icon-row {
    white-space: nowrap;
    overflow: hidden;
}

#the-item-inner .type-icon {
	vertical-align: middle;
}

#the-item-inner .address {
	display: inline-block;
	vertical-align: middle;
	font-size: 1.2em;
    white-space: normal;
}

    /* linkit */

#the-item-inner .info.links {
    margin: 20px 0;
}

#the-item-inner .info.links .link-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    margin-right: 3px;
    text-align: center;
}

#the-item-inner .info.links .link-icon img {
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
}

#the-item-inner .info.links a {
    display: block;
    margin: 10px 0;
}

@media (min-width: 530px) and (max-width: 767px), (min-width: 1200px) {
    #the-item-inner .info.links a {
        display: inline;
	    margin-right: 30px;
    }
}

/* info */

#the-item-inner .info {
		padding: 0 15px;
}

#the-item-inner .info.bg-hilite {
	background-color: #F4F4F4;
	padding-top: 20px;
	padding-bottom: 20px;
	margin-top: 25px;
    margin-bottom: 25px;
}

#the-item-inner .info .title {
	font-weight: bold;
	margin-top: 15px;
}

#the-item-inner .info .text {
    margin-top: 5px;
}

#the-item-inner h3 {
    margin-top: 60px;
}

@media (max-width: 359px) {

	#the-item .picture-list img {
		max-height: 300px;
	}
}

@media (min-width: 768px) {

	#the-item-inner .info {
		padding: 0 30px;
	}
}

    /* hinnasto */

#the-item-inner table.hinnasto {
	width: 100%;
	margin: 0 -5px;
}

#the-item-inner table.hinnasto td {
	vertical-align: top;
	padding: 0 5px;
	line-height: 2;
}

#the-item-inner .hinnasto-name {
	font-weight: bold;
}

#the-item-inner .hinnasto-price {
	text-align: right;
    white-space: nowrap;
}

#the-item-inner .app-download {
	text-align: center;
	/* margin: 15px 10px; */
	padding: 15px 0;
    margin-top: 50px;
}

#the-item-inner .app-download img {
	display: inline-block;
	height: 46px;
}


/*** misc ***/

.wait {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #dddddd;
	border: 1px solid #999999;
	padding: 10px;
    border-radius: 15px;
}

