body {
    background: transparent;
}

form {
    margin: 0px;
}

.navbar .navbar-nav {
  display: inline-block;
  float: none;
  vertical-align: top;
}

.navbar .navbar-collapse {
  text-align: center;
}

.navbar-static-top {
    background: #fff;
    border-top: solid 5px #E9A825;
    border-bottom: solid 5px #E9EAEE;
    padding: 0px 0px;
    position: fixed;
    width: 100%;
}

table.dataTable tbody tr.oldRed {
	color: red;
}

.sidebar {
    margin-top: 70px;
}

#page-wrapper {
    margin: 0;
    padding-top: 0px;
	padding-left: 40px;
}

.entry-title {
    color: #5a5a5a;
    font-size: 38px;
    font-family: 'Fjalla One';
    font-weight: 400;
    margin-bottom: 60px;
}

.puhmaa {
	display: inline-block; width:11%; background: #f5f5f5;
}
.puhelin {
	display: inline-block; float:right; width:88%;
}

@media(max-width:1199px) {
    #page-wrapper {padding-left: 20px;}
	.puhmaa {display: inline-block; width:7%; background: #f5f5f5;}
	.puhelin {display: inline-block; float:right; width:92%;}
}

@media(max-width:960px) {
    #page-wrapper {padding-left: 20px;}
	.puhmaa {display: inline-block; width:9%; background: #f5f5f5;}
	.puhelin {display: inline-block; float:right; width:90%;}
}

@media(max-width:768px) {
    #page-wrapper {padding-left: 20px;}
	.puhmaa {display: inline-block; width:11%; background: #f5f5f5;}
	.puhelin {display: inline-block; float:right; width:88%;}
}

@media(max-width:480px) {
    #page-wrapper {
		padding-left: 10px;
    }
	.puhmaa {display: inline-block; width:16%; background: #f5f5f5;}
	.puhelin {display: inline-block; float:right; width:83%;}

}

#page-wrapper.member-page {
	background: url(../images/member-left.gif) repeat-y left top;	
}

#page-wrapper.person-page {
	background: url(../images/person-left.gif) repeat-y left top;
}

#page-wrapper.user-page {
	background: url(../images/user-left.gif) repeat-y left top;
}

.page-header {
    margin-top: 20px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
	background: transparent;
	border: solid 1px transparent;
}

.btn-info, .btn-primary {
   background: #7CA430;
   border-color: #7CA430;
}

.btn-info:hover, .btn-info:focus, .btn-primary:hover, .btn-primary:focus {
   background: #5F7D1F;
   border-color: #5F7D1F;
}

.btn-danger {
   background: #E9A825;;
   border-color: #E9A825;;
}

.btn-danger:hover, .btn-danger:focus {
   background: #CB8E19;
   border-color: #CB8E19;
}

li.dropdown:hover {background: #efefef;}

a.dropdown-toggle {
   color: #5F7D1F;
   font-size: 16px;
}

.navbar-default .navbar-brand {
   color: #7CA430;
}

.dropdown-member {
	border-left: 10px solid #7CA430;
}

.dropdown-person {
	border-left: 10px solid #E9A825;
}

.dropdown-user {
	border-left: 10px solid #2581E9;
}

.dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover {
   margin-bottom: 2px;
   background-color: #aaa;
}

.error {
	color: #ff0000; 
	display: inline-block; 
	float: right; 
	width: 40%; 
	text-align: right;
}

div.jlist-3-col {
	min-height: 40px;
    -webkit-column-count: 3; /* Chrome, Safari, Opera */
    -moz-column-count: 3; /* Firefox */
    column-count: 3;
    -webkit-column-gap: 20px; /* Chrome, Safari, Opera */
    -moz-column-gap: 20px; /* Firefox */
    column-gap: 20px;
}

label.search {
	width: 40%;
}

input.search {
	width: 55%;
}

.table-bordered {
  border: 1px solid #ddd !important;
}

div.disp-table {
	display: table;
	width: 100%;
}

div.disp-label {
	float: left;
	display: table-cell;
	margin-bottom: 4px;
	width: 25%;
	font-weight: bold;
}

div.disp-data {
	float: left;
	display: table-cell;
	margin-bottom: 4px;
	width: 75%;	
}

@media (max-width: 39.9375em) {
  .tablesaw-stack tbody tr:not(:last-child) {
    border-bottom: 2px solid #0B0B0D;
  }
  
  div.disp-label {
	width: 40%;		  
  }
  div.disp-data {
	width: 60%;	
  }

}

.alert-info {
   margin-top: 20px;
}

#hideMe {
    -moz-animation: cssAnimation 1s ease-in 3s forwards;
    /* Firefox */
    -webkit-animation: cssAnimation 1s ease-in 3s forwards;
    /* Safari and Chrome */
    -o-animation: cssAnimation 1s ease-in 3s forwards;
    /* Opera */
    animation: cssAnimation 1s ease-in 3s forwards;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

@keyframes cssAnimation {
    to {
		width: 0;
		height: 0;
		overflow:hidden;
    }
}
@-webkit-keyframes cssAnimation {
    to {
		width: 0;
		height: 0;
		visibility:hidden;
    }
}

.selected-values {
  margin: 0px;
  display: flex;
  flex-wrap: wrap;
}
.selected-item {
  background-color:#f0f0f0;
  border: solid 1px #7CA430;
  color: black;
  padding: 5px 10px;
  border-radius: 5px;
  margin: 5px;
  display: flex;
  align-items: center;
}
.selected-item .remove {
  margin-left: 5px;
  cursor: pointer;
  font-weight: bold;
  color: #b30000;
}

.select-btn {
  padding: 10px;
  border: none;
  background-color: #007bff;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.modal.bottom .modal-dialog {
    position: fixed;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 700px;
    margin: 0;
}
/*
.modal.bottom .modal-dialog {
    position: fixed;
    bottom: 15%;
    margin: 0;
    width:80%;
    left: 10%;
    max-width: 700px;
}
*/

.but-align {
    float: left;
    margin-top: 10px;
}

@media (min-width: 992px) {
    .but-align {
        float: right;
        margin-top: 0px;
    }
}

.dyn-height {
    height: 55px;
}

.but-align2 {
    float: right;
    margin-top: 0px;
}

@media (max-width: 600px) {
    .dyn-height {
    height: 75px;
    }
    .but-align2 {
        float: left;
        margin-top: 10px;
    }
}
