@font-face {
  font-family: 'omnes';
  src: url('omnes.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}


/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 120px tall */
body 
{
  padding-top: 140px;
  font-family: "Raleway", sans-serif !important;
  text-rendering: optimizeLegibility;
}
.btn-primary
{
    color: #fff;
    background-color: #00527d;
    border-color: #00527d;
}

/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */


/*
 * Sidebar
 */

/* Hide for mobile, show later */
.x-sidebar {
  display: none;
}
.sidebar {
  margin-top: 20px;
}
@media (min-width: 768px) {
  .x-sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    border-right: 1px solid #eee;
  }
  
  
	.nav-separator 
	{
	}

	.nav-separator  a
	{
		border-left: 2px solid #d9d9d9;		
	}
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-top: 1px;
  padding-bottom: 1px;
  padding-left: 0px;
  padding-right: 0px;
}

.submenu>li>a
{
  padding-top: 1px;
  padding-bottom: 1px;
  padding-left: 0px;
  padding-right: 0px;
}



/*
 * Main content
 */

.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header , .main .page-header-show-always
{
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 32px;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}

/**
 * Värejä
 */
.navbar-inverse
{
	background-color: #000;
	border-color: #101010;
}	
.navbar-inverse .navbar-brand
{
	color: #fff;
}

.navbar
{
	min-height: 140px;
	background-image: url('photobg.jpg');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
}
.nav-container
{
  background-color: rgba(24,38,43,0.6) !important; 
}
.navbar-fixed-top 
{
  border: 0;
  background-color: transparent !important; 
}

.navbar-brand
{
	height: 140px;
	padding: 0px 0px 30px 0px;
}

/* submenu */
.submenu
{
	padding-left: 0px;
}

.submenu-level-1 > .active 
{
}

.submenu-level-2 > .active 
{
}


.tila-info > .tila-info-item,
.tila-info-subitem:last-child
{
	margin-right: 0px !important;
}
/*
.tila-info
{
	display: inline-block;
}	



.tila-info
{
	margin-right: 25px;
	margin-bottom: 25px;
	background-color: #fff;
}
.tila-info-subitem table
{
	width: 350px !important;
	max-width: 350px !important;
	margin-bottom: 0px;
}
*/
.tila-info-item > .tila-info-subitem
{
	width: 50%;
}
.tila-info-subitem table
{
	max-width: 100% !important;
}

.tila-info
{
	margin-bottom: 25px;
}
.tilakortti > .tila-info
{
	background-color: #edf4f6;
	box-shadow: 0 8px 8px rgba(0,0,0,0.10);
}

.tila-info-subitem
{
	vertical-align: top !important;
	font-size: 16px;
}
.select-btn {
	position: absolute;
	bottom:20px;
	right:25px;
}

.asio-bg-thumbnail
{
	/*min-width: 200px;*/
	margin-right: 0px !important;
	height: auto !important;
	background-size: cover;
	background-position: center; 
}
.asio-thumbnail
{
	max-height: 125px;
	overflow: hidden;
	margin-right: 0px !important;
}
.asio-thumbnail > img
{
	width: 250px !important;
	max-width: 250px !important;
}
.asio-calendar .fc-center > h2
{
	font-size: 14px;
	margin: 0 !important;
	padding: 0;
}

.tiladata-lomake .panel-body
{
	padding-left: 0px;
	padding-right: 0px;
}



/* ... from Asio-common-bootstrap ... */

/**
 * Asio-Bootstrap - yhteiset stylet
 */

.loading-marker
{
	display: none;
}

body.loading .loading-marker
{
	display: block;
	position: fixed;
	top: 50%;
	left: 50%;
	width: 300px;
	height: 300px;
	margin-top: -150px; /* Half the height */
	margin-left: -150px; /* Half the width */	
}

.badge-notify
{
   background:red;
   position:relative;
   top: -20px;
   left: -35px;
} 

.navbar-legacy-ylapalkki
{
    position: relative;
    float: right;
    margin-top: 8px;
    x-margin-right: 15px;
    margin-bottom: 8px;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
        border-top-color: transparent;
        border-right-color: transparent;
        border-bottom-color: transparent;
        border-left-color: transparent;
    border-radius: 4px;
}

.legacy
{
	display: none;
}

.resp-hdr
{
	background-color: #f0f0f0;
}


.nopadding 
{
   padding: 0 !important;
   margin: 0 !important;
}

.navbar-brand
{
	/*max-width: 85%;*/
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* navbar related styles
-------------------------------------------------- */

.navbar-inverse .navbar-toggle
{
	border: 0px none;
}
.navbar-inverse .navbar-toggle,
.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:active
{
	background-color: transparent;
}

@media (max-width: 767px) 
{
	body 
	{
		padding-top: 100px;
	}
	
	.navbar
	{
		min-height: 90px;
	}
	
	.navbar-brand
	{
		min-height: 90px;
		height: 90px;
	}
	.navbar-brand img
	{
		margin-left: 15px;
        max-width: 100px !important;
        margin-top: 18px !important;
	}
	
	.navbar-brand
	{
		padding-bottom: 5px;
	}
	.navbar-nav
	{
		margin-top: 0px !important;
	}
	.navbar
	{
		background-position: top right;
		background-attachment: fixed;
	}
	.nav > li
	{
		margin-top: 10px;
		margin-bottom: 10px;
	}
}

@media (min-width: 768px) {
	.x-sidebar {
		top: 121px;
	}
	body 
	{
		padding-top: 140px;
	}
	.breadcrumb-container > .container
	{
		padding-left: 0px;
	}
}

.navbar
{
	/*border-bottom: 1px solid #dedede;*/
	box-shadow: 0 8px 8px rgba(0,0,0,0.10);
}



/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 140px;  
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 100px;
  background-color: #003558;
  z-index: 1040;  
  padding-bottom: 110px;
}

.footer > div.top:first-child
{
	/*box-shadow: 0 8px 8px rgba(0,0,0,0.10);*/
}

.footer hr
{
	border: 1px solid #bbb;
	margin-top: 10px;
	margin-bottom: 10px;
}
ul.footer-links
{
	margin: 0;
	padding: 0;
}
ul.footer-links li
{
	display: inline-block;
	margin-right: 30px;
	font-size: 0.75em;
}


@media (min-width:768px)
{
	.navbar-brand
	{
		overflow: visible;
	}
	
	.navbar-top-left
	{
		margin-left: 40px;
	}
	.navbar-top-left li a
	{
		color: #2d2d2d;
		font-weight: bold;
		font-size: 1.6rem;
	}
	.navbar-right li a
	{
		color: #333333;
		font-weight: bold;
		font-size: 1.6rem;
	}
	
	.nav-container
	{
		background-image: url('muurame-sininen-uusi.png');
		background-repeat: repeat-x;
		background-position: bottom left;
		background-size: 45px 45px;
	}
	
}

@media (max-width: 991px)
{
	.navbar-top-left li a
	{
		font-size: 1.5rem;
	}
	.navbar-right li a
	{
		font-size: 1.5rem;
	}
	
	
	.fc-right, .fc-left
	{
		margin-bottom: 8px;
	}
	
	.x-sidebar 
	{
		xmargin-bottom: 280px;  
	}
	
	body
	{
		margin-bottom: 300px;  
	}		
	
	.footer
	{
		height: 90px;
	}
	
	.select-btn {
		bottom:0px;
	}
	
}

/*
@media (max-width:480px)
{
	.container
	{
      padding: 0;
      margin: 0;
    }
	
	.row
	{
		margin-left: 0;
		margin-right: 0;
	}

    .navbar-fixed-top, .navbar-fixed-bottom, .navbar-static-top
	{
      margin-left: 0;
      margin-right: 0;
      margin-bottom:0;
    }
	
	.well
	{
		margin-left: 0px;
		margin-right: 0px;
	}

}
*/

@media (max-width:767px)
{
	.page-header
	{
		display: none;
	}
}

/* -- LOADING-vehje -- */
body.loading div.container-main > *
{
	opacity: 0.25;
}
body.loading div.container-main > nav
{
	opacity: 1;
}

.loading-marker
{
	display: none;
}

body.loading .loading-marker
{
	display: block !important;
	position: fixed;
	top: 50%;
	left: 50%;
	width: 300px;
	height: 300px;
	margin-top: -150px; /* Half the height */
	margin-left: -150px; /* Half the width */
	z-index: 9999;
}



.navbar-keuda
{
	background-color: #fff;
}


.breadcrumb-container
{	
	background-color: #edf4f6;
}
.breadcrumb-container .breadcrumb
{
	margin-bottom: 0px;
	padding-left: 0px;
}


.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6
{
	font-weight: 100;
    font-family: 'omnes', sans-serif;
}

.h1, h1
{
	font-size: 64px;
	text-transform: none;
}

.h2, h2
{
	font-size: 32px;
	text-transform: none;
}

.page-header, .page-header-show-always
{
	border-bottom: none;
	position: relative;
	padding-bottom: 10px;
	margin-bottom: 25px !important;
}

.page-header-show-always::after , .page-header::after 
{
    content: ' ';
    position: absolute;
    bottom: -10px;
    left: 15px;
    width: 24px;
    border: 3px solid #F49800;
    transform: translateX(-50%);
}

.navbar-top-left li.active a
{
	color: #333333;
}

a.navbar-brand span
{
    padding-left: 20px;
}

/* Bootstrap -> Joensuu - css-runnomiset */
.panel , .panel-heading
{
	x-border-radius: 0px;
	x-border: 0px none;
	x-border-color: transparent;
}
.panel
{
	box-shadow: 0 0px 2px 0 rgba(0,0,0,0.2),0 3px 10px 0 rgba(0,0,0,0.19);
}

.panel-primary > .panel-heading
{
	background-color: #337ab7;	
}
.panel-warning > .panel-heading
{
	background-color: #ffce00;	
	color: #000;
}

.panel-heading
{
	font-size: 16px;
	font-weight: bold;
}

.btn
{
	border-radius: 15px;
}

.tila-info-subitem .btn
{
	padding: 8px 12px 8px;
	margin-bottom: 8px;
}

.btn-warning
{
	background-color: #ffce00;
	border-color: #ffce00;
	color: #000;
}

button.ui-state-active
{
	background-image: none;
	background-color: #333333;
	color: #fff;
}


/* Tilainfon puukot */
.tilainfo .panel-body
{
	padding: 0;
}
.tilainfo .panel-body  div > div > div:first-child > div
{
	padding: 0px 15px;
}
.tilainfo .panel-body  div > div > div:first-child > div img
{
	margin-top: 15px;
}



@media (max-width: 1199px)
{
	select.navigation-select
	{
		background-image: none;
		background-color: #fff;
		-webkit-appearance: none;		
		min-width: 250px;
	}
	
	h2.page-header
	{
		display: none;
	}
}


.vk-laji .panel-body
{
	padding: 0;
}


.asio-bg-thumbnail
{
	height: auto;
}

label.required:after 
{
  content: "*";
  color: red;
}

span.hlolkm
{
	padding-left: 15px;
	font-weight: normal;
}
.bg-primary .hlolkm
{
	color: #7be0ff;
}
.tila-info-item
{
	min-height: 180px;
}

.html-after-tilainfo-container
{
	position: relative;
	display: block;
	float: right;
	width: 50%;	
}
.html-after-tilainfo-container > span
{
	text-align: right;
}
.html-after-tilainfo-container > *,
.modal-content > *
{
	text-align: left;
}
.html-after-tilainfo
{
	position: absolute;
	right: 0px;
	bottom: 0px;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 5px solid transparent;
}
.html-after-tilainfo button, .html-after-tilainfo input
{
	margin-bottom: 5px;
}
.loadmore-button-container
{
	min-height: 150px;
}

.vapaahaku-form-container
{
	max-width: 900px;
}

.asio-search-results-container
{
	max-width: 1100px;
}


.asio-favorite-indication
{
	color: #09f !important;
}

.clickable
{
	cursor: pointer;
}


.modal-body .star-rating-item
{
	font-size: 24px;	
	letter-spacing: 3px;
}

.label-primary
{
	background-color: rgba(24,38,43,0.8);
}

.sidebar .btn
{
	text-align: left;
	border: 0px none;
	font-size: 16px;
}

.sidebar .btn a
{
	color: #fff;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sidebar .btn a:hover, .sidebar .btn a:focus
{
	background-color: transparent;
}
.nav > li > a:hover, .nav > li > a:focus
{
	background-color: transparent;
	color: rgba(24,38,43,0.8);
}

.nav-sidebar li
{
	margin-bottom: 8px;
	margin-top: 8px;
}

.sidebar .btn-info
{
	background-color: #00527d;
    border-radius: 0px;
    padding: 0px;
}

.sidebar .btn-info a
{
    padding: 8px 12px;
}

.sidebar .btn-basic
{
	background-color: #d9d9d9;
}
.sidebar .btn-basic > a
{
	color: black;
}

.sidebar .btn-active
{
	background-color:#f49800;
}
.sidebar .btn-active > a
{
	color: #fff;
    font-weight: bolder;
}
.sidebar .btn-active > a:hover,
.sidebar .btn-info > a:hover
{
    color: #ffffff;
    font-weight: bolder;
    background: #f49800;
}

.sidebar .btn-info-opened
{
	border: 2px solid #00527d;
}

.sidebar .btn-info-opened > a
{
	color: #00527d;
}

li.nav-search
{
	
}
span.magnifying-glass
{
	background-image: url('search.php?color=efefef');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	background-color: transparent !important;
	
	display: inline-block;
	width: 28px;
	margin-left: 10px;
	margin-right: 0px;
}
li.nav-search > a:hover > span.magnifying-glass
{
	background-image: url('search.php?color=ffff00');
}


.panel-primary
{
	border-radius: 0px;
	border: 0px none;
}
.bg-primary, .panel-primary > .panel-heading
{
	background-color: #00527d;
}
.panel-primary>.panel-heading
{
    border-color: #00527d;
}

.kuva-container
{
	margin-left: 15px;
	margin-right: 15px;
	margin-bottom: 15px;
	overflow: hidden;	
}
.kuva-container .img-responsive
{
	max-width: 96%;
}

.map-container > a
{
	display: inline-block;
	padding: 5px 15px;
	margin-bottom: 15px;
	background-color: #00527d;
	color: #fff;
}
.map-container > a:hover, .map-container > a:focus
{
	text-decoration: none;
}

.tilainfo > .panel > .panel-body
{
	padding-bottom: 15px;
}
.tila-info-text-item
{
	margin-left: 15px;
	margin-right: 15px;
}

.tasmahaku-container > h3
{
	margin-top: 2px;
}

.tila-info-subitem .longvalue 
{
	font-size: 13px;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tila-info-subitem > table
{
	margin-bottom: 40px;	
}
.tila-info-subitem 
{
	
}

.mobi-navi-container
{
	margin-top: 15px;
}


/* no-gutters trick */
.row.no-gutters {
  margin-right: 0;
  margin-left: 0;
}
.row.no-gutters > [class^="col-"],
.row.no-gutters > [class*=" col-"] {
  padding-right: 0;
  padding-left: 0;
}

.frontpage-picture-item, .frontpage-small-picture-item
{
	margin-right: 15px;
}
.frontpage-picture-item h3, .frontpage-small-picture-item h4
{
	text-decoration: underline;
    font-family: 'Roboto Condensed';
}

.frontpage-picture-item > .panel-body, 
.frontpage-small-picture-item > .panel-body
{
	padding: 8px;
}

.navbar-nav
{
	margin-top: 108px;
}
.navbar-nav > li > a
{
	padding-bottom: 0px;
	padding-top: 0px;
	vertical-align: bottom;
	font-weight: 300;
}

.navbar-inverse .navbar-nav > li > a
{
	color: #fff;
}


.navbar-inverse .navbar-right > .active > a
{
	background-color: transparent;
}


@media (min-width: 971px) 
{
	.shopping-cart-container
	{
		display: block;
		position: relative;
	}

	.shopping-cart-container > #asio-basket
	{
		position: absolute;
		right: 0;
		bottom: 8px;
	}
	.breadcrumb
	{
		padding-right: 200px;
	}
}
@media (max-width: 970px) 
{
	.shopping-cart-container
	{
		display: block;
		padding-top: 5px;
		padding-bottom: 5px;
	}
}

.tasmahaku-formi span.kt-no-search-match
{
	display: none;
}