/*!
 * Custom Styles
 */
a.back-link {
	background: #ededed;
	color: #1b1b1b;
	position: absolute;
	padding: 5px 7px;;
	top: 10px;
	font-weight: bold;
}

a.back-link:hover {
	background: #d4d4d4;
	text-decoration: none;
}

h1#logo {
	display: block;
	background: url('../img/fp-logo.png');
	width: 150px;
	height: 145px;
	background-size: 150px 145px;
	text-indent: -99999px;
	margin: 20px auto 0;
}
h1#logo a {
	display: block;
	width: 200px;
	height: 193px;
}

#main-head h2 {
	font-size: 40px;
	text-align: center;
	border-bottom: 4px solid #ededed;
	padding-bottom: 20px;
}

h2.xcrud-header {
	font-size: 24px;
	display: none;
}

.xcrud-th th {
	background: #1b1b1b !important;
	color: #ffffff;
}


a.xcrud-search-toggle, a.xcrud-search-go, form#contact_form .btn-primary {
	background: #dc3f3f;
	color: #ffffff;
	text-shadow: none;
	border: none;
	filter: none;
	box-shadow: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	padding: 5px 13px;
}

a.xcrud-search-toggle:hover, a.xcrud-search-go:hover {
	background: #be3333;
	color: #ffffff;
}

div.row-fluid a.btn, form#contact_form .btn {
	padding: 4px 12px;
	text-shadow: none;
	vertical-align: middle;
	cursor: pointer;
	border: 1px solid #dedede;
	background: #f2f2f2;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	filter: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

div.row-fluid a.btn:hover {
	border: 1px solid #c3c3c3;
	background: #dedede;
}


form#contact_form .btn-primary, .form-signin .btn-primary, td .btn-primary {
	background: #dc3f3f;
	color: #ffffff;
	text-shadow: none;
	border: none;
	filter: none;
	box-shadow: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	padding: 5px 13px;
}

form#contact_form .btn-primary:hover, .form-signin .btn-primary:hover, td .btn-primary:hover {
	background: #be3333;
	color: #ffffff;
}

.xcrud-nav {
	padding: 15px 10px 5px;
	background: #f6f6f6 !important;
	filter: none !important;
	border-radius: 0 0 4px 4px;
}

.table-bordered thead:last-child tr:last-child>th:first-child, .table-bordered tbody:last-child tr:last-child>td:first-child, .table-bordered tbody:last-child tr:last-child>th:first-child, .table-bordered tfoot:last-child tr:last-child>td:first-child, .table-bordered tfoot:last-child tr:last-child>th:first-child {
	-webkit-border-bottom-left-radius: 2px !important;
	border-bottom-left-radius: 2px !important;
	-moz-border-radius-bottomleft: 2px !important;
}

.table-bordered thead:last-child tr:last-child>th:last-child, .table-bordered tbody:last-child tr:last-child>td:last-child, .table-bordered tbody:last-child tr:last-child>th:last-child, .table-bordered tfoot:last-child tr:last-child>td:last-child, .table-bordered tfoot:last-child tr:last-child>th:last-child {
	-webkit-border-bottom-right-radius: 2px !important;
	border-bottom-right-radius: 2px !important;
	-moz-border-radius-bottomright: 2px !important;
}

.table-bordered thead:first-child tr:first-child>th:first-child, .table-bordered tbody:first-child tr:first-child>td:first-child, .table-bordered tbody:first-child tr:first-child>th:first-child {
	-webkit-border-top-left-radius: 2px !important;
	border-top-left-radius: 2px !important;
	-moz-border-radius-topleft: 2px !important;
}

.table-bordered thead:first-child tr:first-child > th:last-child, .table-bordered tbody:first-child tr:first-child > td:last-child, .table-bordered tbody:first-child tr:first-child > th:last-child {
	-webkit-border-top-right-radius: 2px !important;
	border-top-right-radius: 2px !important;
	-moz-border-radius-topright: 2px !important;
}

.form-signin {
	max-width: 350px;
	padding: 19px 29px 29px;
	margin: 20px auto 20px;
	background-color: #eee;
	border: 1px solid #e5e5e5;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
	box-shadow: 0 1px 2px rgba(0,0,0,.05);
	}
.form-signin .form-signin-heading,
.form-signin .checkbox {
	margin-bottom: 10px;
	}
.form-signin input[type="text"],
.form-signin input[type="password"] {
	font-size: 16px;
	height: auto;
	margin-bottom: 15px;
	padding: 7px 9px;
	}
	
@media all and (-webkit-min-device-pixel-ratio: 1.5) {
  h1#logo {
    background: url("../img/fp-logo@2x.png") no-repeat;
    background-size: 150px 145px;
  }
}