body {
  padding-top: 3.5rem;
}
a, .btn-link{color:#25274d;}
a:hover, .btn-link:hover{color:#474866;}
/*.page-item.active .page-link{background-color:#25274d !important; border:1px solid #25274d; }
.page-link,.page-link:hover{color:#25274d;}*/

.form-signin { width: 100%; max-width: 330px; padding: 15px; margin: auto; }
.form-signin .checkbox { font-weight: 400; }
.form-signin .form-control { position: relative; box-sizing: border-box; height: auto; padding: 10px; font-size: 16px; }
.form-signin .form-control:focus { z-index: 2; }
.form-signin input[type="email"] { margin-bottom: -1px; border-bottom-right-radius: 0; border-bottom-left-radius: 0; }
.form-signin input[type="password"] { margin-bottom: 10px; border-top-left-radius: 0; border-top-right-radius: 0; }       
main > .container { padding: 15px 15px 10px; } 
.footer { font-size:14px; text-align: left; } 
.footer > .container { padding-right: 15px; padding-left: 0px; }
code { font-size: 80%; }

/* Resposive Table */
.table-bordered{font-size:14px;}
.table-bordered th{background:#25274d; color:#fff; padding:5px 10px !important; }
.shop_table{margin: 0 -1px 24px 0; text-align: left; width: 100%; border-radius: 0px; }
table.shop_table tbody tr, table.shop_table thead tr { border: 1px solid #e6e6e6; } 
table.shop_table th {
  font-weight: normal;
  padding: 9px 12px;
  line-height: 1.5em;
  border-bottom: 2px solid rgba(0,0,0,.1);
}
table.shop_table td {
  border-bottom: 1px solid rgba(0,0,0,.1);
  padding: 5px 10px;
  vertical-align: middle;
}
table.shop_table .product-thumbnail img{ width: 32px; height: auto; }
table.shop_table td.actions{ text-align: right; }
table.shop_table td.actions .input-text { width: 150px; float: left; } 
hr{box-shadow:0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important; margin:5px 0px; }
.add-expense-page .form-control, .add-expense-page input, .add-expense-page button {margin:5px 0px;}
.add-expense-page .custom-control-inline{margin-right:0.5rem;}
.vertical-align-label{line-height:27px;}
.custom-textarea textarea.form-control{height:72px !important;}

/*Button colors*/
.btn-primary {
  color: #fff;
  background-color: #25274d;
  border-color: #25274d;
}

.btn-primary:hover {
  color: #fff;
  background-color: #474866;
  border-color: #474866;
}

.btn-primary:focus, .btn-primary.focus {
  color: #fff;
  background-color: #474866;
  border-color: #474866;
  box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

.btn-primary.disabled, .btn-primary:disabled {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #25274d;
  border-color: #25274d;
}

.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}


/* sticky-footer-wrapper */
body, .sticky-footer-wrapper { min-height:100vh; } 
.flex-fill { flex:1 1 auto; } 

/* select */
select{
  display: inline-block;
  box-sizing: border-box;
  padding: 0 2em 0 0.5em;
  border: 1px solid #eee;
  font: inherit;
  line-height: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  background-repeat: no-repeat;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 15px top 12px, right 10px top 12px;
  background-size: 5px 5px, 5px 5px;
  line-height: 16px !important;
}

.expense-bg-drak{background:#ccc; width:100%; float:left; padding:5px; border-radius:3px; margin-bottom:10px;}
.expense-bg-light{background:#f1f1f1; width:100%; float:left; padding:5px; border-radius:3px; margin-bottom:10px;}

@media (max-width: 767px)
{  
  table.shop_table tr td{ display: block; text-align: right; }
	table .cart_item, .shop_table_responsive thead{ display: none; }
	table.shop_table tbody tr{ display: block; }
	table.shop_table_responsive tr.cart_item td:not(.product-remove)::before {
    content: attr(data-title) ": ";
    font-weight: 700;
    float: left;
	}
}
.box-backgroun {
  background:#fff;
  float:left;
  width:102%;
  margin:5px 0px;
  border-radius:10px;
  padding:10px;
  box-shadow: 0 0 8px #ccc;
  font-weight:bold;
  font-size:12px;
  transition: .5s ease;
}

/*.box-backgroun:hover {
  background:#fff;
  float:left;
  width:102%;
  margin:5px 0px;
  border-radius:10px;
  padding:10px;
  box-shadow: 0 0 8px #ccc;
  font-weight:bold;
  font-size:12px;
  -webkit-transform: scale(1.1);
-ms-transform: scale(1.1);
transform: scale(1.1);
transition: .5s ease;
}*/

.past_box-backgroun {
  background:#F0F0F0;
  float:left;
  width:102%;
  margin:5px 0px;
  border-radius:10px;
  padding:10px;
  box-shadow: 0 0 8px #ccc;
  font-weight:bold;
  font-size:12px;
}

.searchbox {
  float:left;
  width:100%;
  font-weight:bold;
  font-size:12px;
}
.box-backgroun .lable{font-size:12px; color:#999; font-weight:normal;}

.error 
{
  text-align: center;
  margin: auto;
  width: 60%;
  padding: 10px;
  color: #ba3939;
  background: #ffe0e0;
  border: 1px solid #a33a3a;
}

[type=text].form-control:focus, 

[contenteditable].form-control:focus {
  box-shadow: inset 0 -1px 0 #ddd;
}

.modal-dialog
{
  max-width: 540px !important;
}

.funeral-entry-modal-dialog 
{
  max-width: 1024px !important;
}
  
