/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 120px tall */
body 
{
  padding-top: 90px;
  font-family: "Poppins", sans-serif !important;
  text-rendering: optimizeLegibility;
  background-color: #f2f2f2;
  /*
  background-image: url('photobg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  */
}


/*
 * 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;
  }
  .navbar .navbar-nav > li > a
    { 
	color: #fff;
  }
  .navbar .navbar-nav > li > a:hover
    {
	color: #f00;
  }

  
  
	.nav-separator 
	{
	}

	.nav-separator  a
	{
		border-left: 2px solid #d9d9d9;		
	}
}
@media (max-width: 767px) 
{
  .navbar .navbar-nav > li > a
    { 
	color: #000;
  }
  .navbar .navbar-nav > li > a:hover
    {
	color: #ff0000;
  }
}

/* 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: 20px;
  }
}
.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
{
	background-color: #fff;
	border-color: #101010;
}	
.navbar .navbar-brand, .navbar  a.navbar-brand:hover
{
	color: #0f644d;
	text-transform: uppercase;
	font-weight: 400;
}

.navbar
{
	min-height: 70px;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
}
.nav-container
{
  background-color: #fff !important; 
  
}
.navbar-fixed-top 
{
  border: 0;
  background-color: #fff !important; 
}

.navbar-brand
{
	height: 90px;
	/*padding: 29px 0px 15px 0px;	*/
	padding: 10px 0px 10px 0px;	
	position: relative;
}
.brand-text
{
    color: #eca3c3;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 20px;
    display: block;
    width: 300px;
    float: left;
    margin-left: 20px;
    margin-top: 35px;
    cursor: default;
}



/* 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-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;
}
.asio-calendar .fc-center.btn-primary > h2,
.bg-primary h2, .bg-primary h4
{
	color: #fff;
}

.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 .navbar-toggle
{
	border: 0px none;
}

@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;
	}
	
	.navbar-brand
	{
		padding-bottom: 5px;
	}
	.navbar-nav
	{
		margin-top: 0px !important;
	    background: white;
	}
	.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: 110px;
	}
	.breadcrumb-container > .container
	{
		padding-left: 0px;
	}
}

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



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

.footer > div.top:first-child
{
	box-shadow: 0 2px 2px 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;
}
.footer-links
{
	color: #ffffff;
}
.footer-links a
{
	color: #0f644d;
	font-size: 16px;
	font-weight: 600;
}


@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-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: auto;
	}
	
}


@media (max-width:767px)
{
	.page-header
	{
		display: none;
	}
	
	.brand-text {
        margin-top: 41px;
    }
	
}


@media (max-width:600px)
{
	.page-header
	{
		display: none;
	}
	
	.brand-text {
        margin-top: -4px;
        width: 100%;
        font-size: 18px;
    }
    .navbar-brand {
        padding-bottom: 0px;
        padding-top: 0px;
        height: 60px;
        min-height: 60px;
    }
}

/* FULLCALENDARIN PÄÄLLÄ OLEVIEN NAPPIEN RESPOKORJAUKSET  */   
@media (max-width:640px)
{ 
    .fc-toolbar .fc-left, .fc-toolbar .fc-right {
        width: 50%;
        float: left;
    }
    
    .fc .fc-toolbar > .fc-right .fc-button-group {
        display: block !important;
        float: right;
    }
}

@media (max-width:460px)
{
    .fc-toolbar .fc-left, .fc-toolbar .fc-right {
        width: 100% !important;
        float: left !important;
    }
    
    .fc .fc-toolbar > .fc-right .fc-button-group {
        float: left;
    }
}

@media (max-width:417px)
{
	.fc-agendaWeek-view th.fc-day-header {
	    font-size: 10px;
	}
	
}

@media (max-width:345px)
{
	.fc-agendaWeek-view th.fc-day-header {
	    font-size: 9px;
	}
	
}
/* LOPPUU FULLCALENDARIN PÄÄLLÄ OLEVIEN NAPPIEN RESPOKORJAUKSET  */  

/* -- 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;*/
	background-color: transparent;
}
.breadcrumb-container .breadcrumb
{
	margin-bottom: 0px;
	padding-left: 0px;
	background-color: transparent;
}


.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6
{
	/*font-family: 'Roboto Condensed', sans-serif;*/
	color: black;
	font-weight: 400;
}

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

.h2, h2
{
	font-size: 32px;
	font-weight: 500;
}

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

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

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


/* Bootstrap -> custom - css-runnomiset */
.panel , .panel-heading
{
	border-radius: 0px;
	border: 0px none;
	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: #0f644d;	
}
.panel-warning > .panel-heading
{
	background-color: #ffce00;	
	color: #000;
}

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

.btn
{
	border-radius: 0px;
	font-size: 12px;
	font-weight: 400;
}
input.btn, button.btn
{
	border-radius: 0px;
	font-size: 12px;
	font-weight: 200;
}

ol.sortable li
{
	font-size: 25px;
	font-weight: bold;
}
.sortable .btn
{
	border-radius: 0px;
}

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


.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: #999999;	
	border: 1px solid #999999;
}
.sidebar .btn-info a
{
	color: #fff;
}

.sidebar .btn-basic
{
	background-color: #d9d9d9;
}
.sidebar .btn-basic > a
{
	color: black;
}
.btn-primary
{
	background-color: #0f644d;
	border-color: #2090f0;
}

.sidebar .btn-active
{
	background-color: #0f644d;
	border: 1px solid #0f644d;
}
.sidebar .btn-active > a
{
	color: #a3ecc3;
}

.sidebar .btn-info > a:hover
{
	color: #c51000;
}
.sidebar .btn-active > a:hover
{
	color: #ffff00;
}


.sidebar .btn-info-opened
{
	border: 2px solid #0f644d;
}

.sidebar .btn-info-opened > a
{
	color: #0f644d;
}

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: #0f644d;	
}

.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
{
	padding-top: 15px;
	background-color: #fff;
}


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

.navbar-nav
{
	margin-top: 31px;
}
.navbar-nav > li > a
{
	padding-bottom: 0px;
	padding-top: 0px;
	vertical-align: bottom;
	font-weight: 600;
	text-transform: uppercase;
}


.navbar .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: 1px;
	}
	.breadcrumb
	{
		padding-right: 200px;
	}
}
@media (max-width: 970px) 
{
	.shopping-cart-container
	{
		display: block;
		padding-top: 5px;
		padding-bottom: 5px;
	}
}


.panel-info .panel-heading
{
	background-color: #F4F4F4;
	color: #929292;
	border-color: #929292;
}
.panel-info
{
	border-color: #F4F4F4;
}


th.longlabel 
{
	background-color: #0f644d;
	color: #fff;
}


.panel-body-tight
{
	padding: 0px;
}

@media (min-width: 1600px) 
{
	.main-width
	{
		padding-left: 50px;
		padding-right: 50px;
	}
}

.main-width > .row
{
	background-color: #fff;
}

.navbar-nav > li > a
{
	line-height: 34px;
}
.nav-search
{
	xmargin-bottom: 5px;
}

ul.language-select
{
	list-style-type: none;
}
ul.language-select li a, .language-select
{
	color: #404547;	
	text-transform: uppercase;
	font-size: 12px;
}


@media (min-width: 768px) 
{
	.nav-container
	{
		height: 90px;
	}
	.language-select-container
	{
		position: relative;
	}
	.language-select-container > .language-select
	{
		position: absolute;
		top: 40px;
		right: 2px;
	}
	
	.language-select-container > .language-select
	{
		right: 0px;
	}
}

@media (min-width: 1300px) 
{
	.language-select-container > .language-select
	{
		width: 170px;
		right: -30px;
	}
}

@media (max-width:480px)
{
	.asio-foodsearch-container .tila-info-subitem.asio-bg-thumbnail
	{
		display: none;
	}
	.asio-foodsearch-container .tila-info-item > .tila-info-subitem
	{
		width: auto;
	}
	
}
.tila-info-subitem.asio-bg-thumbnail
{
	/*background-size: contain !important;*/
	background-position: center center;
	min-height: 155px;
	background-color: #f0f0f0;
}
@media (max-width: 767px) 
{
	.asio-foodsearch-container .tila-info-subitem.asio-bg-thumbnail
	{
		background-size: contain;
	}
}
.asio-foodsearch-container .tila-info
{
	max-width: 600px;
}
.tila-info-subitem > table
{
	margin-bottom: 0px;
}

.app-varauspyynto .field-label
{
	font-weight: normal;
	color: #333;
}

.app-varauspyynto .section-header
{
	background-color: #f0f0f0;
	font-weight: normal;
	color: #333;
	font-size: 13px;
	padding-left: 15px;
	padding-right: 15px;
}
.app-varauspyynto .field-label,
.app-varauspyynto .field-value,
table.shopping-cart-contents > tbody > tr > td:first-of-type,
tr.shopping-cart-item > td:first-of-type,
.catering-rendered
{
	padding-left: 15px;
	padding-right: 15px;
}
.section-header.catering-header
{
	padding-top: 8px;
	padding-bottom: 8px;
}
.field-value-full
{
	padding-top: 15px;
	padding-bottom: 15px;
}
.app-varauspyynto .required > span
{
	font-size: 22px;
	font-weight: bold;
	color: red;
}
.app-varauspyynto .check-missing td, .app-varauspyynto .check-missing th
{
	background-color: #ffcccc;
}
.app-varauspyynto .field-value.field-type-catering
{
	padding: 0px;
}
.app-varauspyynto .buttons
{
	margin: 15px;
}
.app-messages
{
	margin: 0;
}


.nav-search .form-control
{
}





/* tabs-säädöt start */


.nav-tabs.nav-justified > li > a
{
	border-top: 1px solid #ddd;
	border-right: 1px solid #ddd;
	background-color: #f9f9f9;
}
.nav-tabs.nav-justified > li:first-of-type > a
{
	border-left: 1px solid #ddd;	
}
.nav-tabs.nav-justified > li:last-of-type > a
{
}

.nav-tabs.nav-justified>.active>a, .nav-tabs.nav-justified>.active>a:focus, .nav-tabs.nav-justified>.active>a:hover
{
	border-bottom-color: #0f644d;
}
.nav-tabs > li.active > a, 
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover
{
	color: #fff;
	background-color: #0f644d;
}
.nav-tabs > li.active
{
	border-color: #0f644d;
}
.nav-tabs > li.active > a:hover
{
	
}
/* tabs-säädöt end */



.alert-info-plain
{
	background-color: white;
	border: 1px solid #F0F0EF;
	border-radius: 0px;
	box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1);
	color: #666;
}

@media (max-width:480px)
{
	.navbar-brand img
	{
		max-height: 55px !important;
	}
	
	.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;
	}
}

.mini-shopping-cart.mini-shoping-cart-empty
{
	display: none;
}

#kayttooikeus-filter {
    float: right;
    margin-bottom: 22px;
    width: 100%;
    overflow: hidden;
}

#kayttooikeus-filter .button {
    font-size: 12px;
    padding: 4px;
    float: right;
}

@media (max-width:768px) {
    #kayttooikeus-filter {
    float: right;
    margin-bottom: 22px;
    display: -webkit-flex;
    -webkit-flex-direction: row-reverse;
    display: flex;
    flex-direction: row-reverse;
}
}


@media print
{
        .print-vahvistus h2
        {
                margin-top: 0px;
        }
        .print-vahvistus, div.main
        {
                padding: 0px !important;
                border: 0px none !important;
        }
        footer, .mobi-navi-container, nav, .navbar, .sidebar
        {
                display: none !important;
        }
        body
        {
                padding-top: 0px !important;
                margin-top: 0px !important;
        }
}


.nav-container > .container-fluid.main-width
{
	border-left: 36px solid #640f4d;
	padding-left: 20px;
	background: #333333;
}

/*
@media (min-width:1480px) 
{
	.static-html-container-frontpage-slideup .img-responsive
	{
		position: absolute;
		top: 85px;
		left: 930px;
		width: 20vw;
	}
}
@media (min-width:1880px) 
{
	.static-html-container-frontpage-slideup .img-responsive
	{
		left: 980px;
		width: 22vw;
	}
}
@media (max-width:1479px) 
{
	.static-html-container-frontpage-slideup .img-responsive
	{
		width: 22vw;
	}
}
@media (max-width:480px) 
{
	.static-html-container-frontpage-slideup .img-responsive
	{
		width: 50vw !important;
		max-width: 50vw !important;
	}
}
*/

.sidebar ul.nav .btn-info:active:focus, ul.nav .btn-info:active:hover {
    background-color: #0f644d !important;
}

.sidebar ul.nav .btn-info:active:focus a, ul.nav .btn-info:active:hover a {
    color: white !important;
}

.sidebar .btn-info > a:hover {
    color: #131313;
}

.sidebar .btn-info.btn-active > a:hover {
    color: #f9f4f4;
}

.sidebar .btn-info.btn-active:hover {
    background-color: #000;
	border-color: #000;
}

#f-vapaahaku .hakunappi {
    border-color: #0f644d;
}

.sidebar .btn-info:hover {
    background: #0f644d;
    color: white;
}

.sidebar .btn-info:hover a {
    color: white;
}

.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:focus, .navbar-inverse .navbar-nav>.active>a:hover
{
    color: #000;
    background-color: #f0f0f0;
}


/* fix responsive sidebar */
@media (max-width: 1199px) {
    .sidebar {
        display: initial !important;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .nav-sidebar {
        float: left;
        width: 20%;
    }
    .col-md-3 ul {
        float: left;
        width: 25%;
    }
    .col-md-3 ul li {
        margin-left: 10px;
    }
    .col-md-3 ul.submenu {
        width: auto;
        float: inherit;
    }
    .main {
        float: left;
        width: 75%;
    }
}
/* end fix responsive sidebar */

.sidebar .btn-info {
    background-color: #333333;
    border: 1px solid #333333;
}
.sidebar .btn-info.btn-active {
    background-color: #0f644d;
    border: 1px solid #0f644d;
}
.btn-primary {
    background-color: #0f644d;
    border-color: #000000;
    color: #A3ECC3;
}
.sidebar .btn-active > a {
    color: #A3ECC3;
}
.asio-calendar .fc-center.btn-primary > h2, .bg-primary h2, .bg-primary h4 {
    color: #A3ECC3;
}
.nav-tabs.nav-justified>.active>a, .nav-tabs.nav-justified>.active>a:focus, .nav-tabs.nav-justified>.active>a:hover {
    color: #A3ECC3;
}
.nav-tabs.nav-justified > li a {
    color: #A3ECC3;
}
.sidebar .btn-info:hover a {
    color: #A3ECC3;
}
.sidebar .btn-info.btn-active:hover {
    background: #0f644d;
    color: white;
}

.sidebar .btn-info.btn-active:hover a {
    color: white;
}
.btn-primary:hover {
    color: #ffffff;
    background-color: #000000;
    border-color: #000000;
}
.fc-toolbar .fc-center:focus h2, .fc-toolbar .fc-center:hover h2 {
    color: white;
}
.btn-primary.focus, .btn-primary:focus {
    color: #fff;
    background-color: #000000;
    border-color: #000000;
}
.btn-primary.active.focus, .btn-primary.active:focus, .btn-primary.active:hover, .btn-primary:active.focus, .btn-primary:active:focus, .btn-primary:active:hover, .open>.dropdown-toggle.btn-primary.focus, .open>.dropdown-toggle.btn-primary:focus, .open>.dropdown-toggle.btn-primary:hover {
    color: #fff;
    background-color: black;
    border-color: black;
}
.sidebar .btn-info a:focus {
    color: white;
}
