/*
 * Base structure
 */
 
/* WebFonts */
/* roboto-regular - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../../../css/fonts/roboto-v19-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Roboto'), local('Roboto-Regular'),
       url('../../../css/fonts/roboto-v19-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../../../css/fonts/roboto-v19-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../../../css/fonts/roboto-v19-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../../../css/fonts/roboto-v19-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../../../css/fonts/roboto-v19-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}	
/* roboto-condensed-regular - latin */
@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 400;
  src: url('../../../css/fonts/roboto-condensed-v17-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Roboto Condensed'), local('RobotoCondensed-Regular'),
       url('../../../css/fonts/roboto-condensed-v17-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../../../css/fonts/roboto-condensed-v17-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../../../css/fonts/roboto-condensed-v17-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../../../css/fonts/roboto-condensed-v17-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../../../css/fonts/roboto-condensed-v17-latin-regular.svg#RobotoCondensed') format('svg'); /* Legacy iOS */
	   }

/* Move down content because we have a fixed navbar that is 120px tall */
body 
{
  padding-top: 120px;
  font-family: 'Roboto', sans-serif !important;
  text-rendering: optimizeLegibility;
}


/*
 * Global add-ons
 */

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

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0;
  background-color: #fff;
}

/*
 * 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;
		margin-left: 20px;
		margin-top: 15px;
		margin-bottom: 15px;
		padding: 0;	
		line-height: 60px !important;
	}
}

/* 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: 36px;
}


/*
 * 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: 120px;
}
.navbar-brand
{
	height: 120px;
	width: 240px !important;
	padding: 25px 0px 25px 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;
}

.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;
}

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

.navbar-inverse .navbar-toggle
{
	border: 0px none;
}


.breadcrumb-container > .container
{
	padding: 0;
}
.breadcrumb
{
	background-color: #fff;
	font-size: 95%;
	padding-left: 0;
	padding-right: 0;
	margin-top: 15px;
	margin-bottom: 0px;
	padding-bottom: 0px;
}
.breadcrumb-item > *
{
	
}
.breadcrumb > .active
{
	
}


@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;
		width: 150px !important;
		max-height: none !important; 
	}
	.breadcrumb
	{
		margin-top: -6px;
		padding-left: 15px;
		padding-right: 15px;
		font-size: 100%;
		line-height: 200%;
		background-color: #eee !important;
	}
}

@media (min-width: 768px) {
	.x-sidebar {
		top: 121px;
	}
	body 
	{
		padding-top: 120px;
	}
}

.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: #ffffff;
  z-index: 1001;  
}

.footer > div.top
{
	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;
		line-height: 90px;
	}
	.navbar-right li a
	{
		color: #333333;
		font-weight: bold;
		font-size: 1.6rem;
		line-height: 90px;
	}
	.x-sidebar 
	{
		xmargin-bottom: 180px;  
	}	
}

@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;
	}
	
	.navbar-brand, .navbar-brand > img
	{
		max-width: 210px;
	}
	
	.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;
}



.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6
{
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: bold;
}

.h1, h1
{
	font-size: 64px;
	font-weight: bold;
	text-transform: uppercase;
}

.h2, h2
{
	font-size: 36px;
	font-weight: bold;
}

.page-header, .page-header-show-always
{
	border-bottom: none;
}

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


/* 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: #ff0068;
}

.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: #e6007e;
}

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

.sidebar .btn-info
{
	background-color: #009fd9;
}

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

.sidebar .btn-active
{
	background-color: #e6007e;
}
.sidebar .btn-active > a
{
	color: white;
}
.sidebar .btn-active > a:hover,
.sidebar .btn-info > a:hover
{
	color: yellow;
}

.sidebar .btn-info-opened
{
	border: 2px solid #009fd9;
}

.sidebar .btn-info-opened > a
{
	color: #009fd9;
}

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


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

.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: #009fd9;
	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;
}

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


.enroll-form h1
{
	font-size: 26px;
}

.tilakortti > .tila-info
{
	box-shadow: 0 8px 8px rgba(0,0,0,0.10);
}

.vapaahaku-view-switch
{
	float: right;
}

.panel-tekstihaku .panel-body
{
	padding-top: 7px;
	padding-bottom: 7px;
}
.tasmahaku-formi span.kt-no-search-match
{
	display: none;
}
.tasmahaku-formi .panel-heading
{
	padding-top: 7px;
	padding-bottom: 7px;
}

.mini-shopping-cart .mini-shopping-cart-item-total
{
	text-align: right;
}
.mini-shopping-cart a div
{
	margin-bottom: 5px;
}
.mini-shoping-cart-empty
{
	display: none;
}


.tila-info-text-content > table.table.table-striped,
.tila-info-text-content table.table-condensed
{
	margin-bottom: 0px;
}

.tkv-system-info-container
{
	background-color: #dfe5e8;
	x-border: 1px solid #00bcd4;
	padding: 5px 10px;
	margin-top: 0px;
	margin-bottom: 15px;
	border-radius: 0px;
}
.tkv-system-info-container strong
{
	x-color: #00bcd4;
	text-transform: uppercase;
}

/* Verkkokaupan ja tilavarauksen ristiinlinkitys-kortit */
.navi-card
{
	display: inline-block;
}
.navi-card a
{
	display: block;
	color: #333;
}
.navi-card a > div
{
	padding: 15px 10px; 
	text-align: center;
}
.navi-card a > div > img
{
	max-width: 300px;
	margin: auto;
}
@media (max-width: 767px) 
{
	.navi-card
	{
		display: block;
	}
}



@media (max-width:480px)
{
	.tila-info-item-flexing
	{
		display: block !important;
		width: 100%  !important;
	}
	.asio-bg-thumbnail.tila-info-item-flexer
	{
		min-height: 180px;
	}	
	.tila-info-item-flexer
	{
		display: block !important;
		width: 100%  !important;
	}
	.html-after-tilainfo-container
	{
		float: none;
		position: static;
		display: block;
		width: 100%  !important;
	}
	.html-after-tilainfo
	{
		position: static;
		display: block;
	}
	.tila-info-subitem .longvalue.room-notes
	{
		padding-bottom: 5px;
	}
	.tila-info-subitem > table
	{
		margin-bottom: 5px;
	}
	table tbody tr th.longlabel.bg-primary
	{
		border-top: 0px none;
	}
}


@media (max-width:480px)
{
	.static-view-btns-float
	{
		display: none;
	}
}



/* mobile nav start */


ul#mobile-navi {
    padding: 0;
    margin: 0;
    float: left;
    list-style: none;
    width: 100%;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0px 0px 4px 1px #989898;
    margin-bottom: 360px;
    display: none;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none;
}

ul#mobile-navi li {
    float: left;
    width: 100%;
    padding: 0;
    margin: 0;
    border-left: 4px solid #750268;
}

ul#mobile-navi li a {
    padding: 10px;
    display: block;
    background: #e8e8e8;
    width: 100%;
    float: left;
    color: #212121;
    z-index: 100;
}
ul#mobile-navi li a {
    border-bottom: 1px solid #d2d2d2 !important;
}

ul#mobile-navi li:last-child a {
    border: none;
}

ul#mobile-navi li i.toggle-navilink {
    right: 23px;
    position: absolute;
    filter: brightness(8.5);
    border: 1px solid #080808;
    padding: 9px;
    margin-top: 5px;
    margin-top: 4px;
    color: #060606;
    z-index: 200;
}

ul#mobile-navi li ul {
    float: left;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
}

ul#mobile-navi li ul li {
    float: left;
    width: 100%;
    padding: 0;
    margin: 0;
    border-left: 4px solid #750268;
    display: none;
}
ul#mobile-navi li.active i.toggle-navilink {
    color: white;
}

ul#mobile-navi li.active i.toggle-navilink {
    border-color: white;
}
ul#mobile-navi li ul li a {
    background: #f7f7f7;
    color: #1d1d1d;
    padding-left: 30px;
}
ul#mobile-navi li.active a {
    background: #b1059d;
    color: #ffffff;
}

ul#mobile-navi li.active ul li a {
    background: #f7f7f7;
    color: #262626;
}

ul#mobile-navi li.active ul li.active a {
    background: #fff4fe;
    color: #290f00;
}
nav {
  max-height: 100vh;
  overflow: auto;
}
@media screen and (max-width: 767px) {
    ul#mobile-navi {
        display: block;
    }
    .navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse {
        max-height: 100%;
    }
	/*
    .navigation-select {
        display: none;
    }
	*/
    .mobi-navi-container {
        margin-top: 0px;
    }
    .navbar-fixed-top {
        border-bottom: none;
    }
    .breadcrumb-container .breadcrumb {
        padding-top: 14px;
    }
    input.form-control.asio-ac-Asio_Tilahaku1.ui-autocomplete-input {
        margin-left: 15px;
        width: calc(100% - 30px);
    }
}


/* mobile nav end */


/* accordion */
.accordion {
    margin-bottom: 40px;
    max-width: 400px;
}
.accordion ul {
    display: none;
}

.accordion div {
    cursor: pointer;
    user-select: none;
    transition: 0.23s all;
    background: #e1ecff;
    padding: 10px 17px;
    margin: 5px 0px;
    position: relative;
}

.accordion div:hover {
    background: #bed6ff;
}

.accordion .arrow {
    font-size: 23px;
    width: 20px;
    float: right;
    margin: 0 !important;
    padding: 0 !important;
    margin-top: -6px !important;
    background: transparent !important;
    position: absolute;
    right: 10px;
    max-width: 400px;
}

.accordion .fa-angle-up {
    display: none;
}

.accordion .open .fa-angle-up {
    display: block;
}
.accordion .open .fa-angle-down {
    display: none;
}
/* end accordion */
