html {
	height: 100%;
}
body {
	min-height: 100%;
	background: #eee;
	display: flex;
	flex-direction: column;
}

::selection {
	background: rgba(255, 0, 0, 0.6);
	color: white;
	text-shadow: 0 0 2px red;
}

.navbar-brand {
	padding: 0;
	height: 50px;
	line-height: 50px;
}

.page-header, .navbar-nav, .navbar-brand, .footer {
	user-select: none;
}

.wrap {
	/*min-height: 100%;
	height: auto;
	margin: 0 auto -60px;
	padding: 0 0 60px;*/
	flex: auto;
}

.wrap > .container {
	/*padding: 70px 15px 20px;*/
}

.footer {
	height: 60px;
	background-color: #f5f5f5;
	border-top: 1px solid #ddd;
	margin-top: auto;
	padding-top: 20px;
}

.jumbotron {
	text-align: center;
	background-color: transparent;
}

.jumbotron .btn {
	font-size: 21px;
	padding: 14px 24px;
}

.not-set {
	color: #c55;
	font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
	position: relative;
	top: 1px;
	display: inline-block;
	font-family: "Glyphicons Halflings";
	font-style: normal;
	font-weight: normal;
	line-height: 1;
	padding-left: 5px;
}

a.asc:after {
	content: "\e151";
}

a.desc:after {
	content: "\e152";
}

.sort-numerical a.asc:after {
	content: "\e153";
}

.sort-numerical a.desc:after {
	content: "\e154";
}

.sort-ordinal a.asc:after {
	content: "\e155";
}

.sort-ordinal a.desc:after {
	content: "\e156";
}

.grid-view td {
	white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
	min-width: 50px;
}

.hint-block {
	display: block;
	margin-top: 5px;
	color: #999;
}

.error-summary {
	color: #a94442;
	background: #fdf7f7;
	border-left: 3px solid #eed3d7;
	padding: 10px 20px;
	margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
	padding: 15px;
	border: none;
}

@media (max-width: 767px) {
	.nav li > form > button.logout {
		display: block;
		text-align: left;
		width: 100%;
		padding: 10px 15px;
	}
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
	text-decoration: none;
}

.nav > li > form > button.logout:focus {
	outline: none;
}

.rounded-0 {
	border-radius: 0;
}
.well-box {
	box-shadow: 0 0 5px #000;
	border-radius: 0;
	background: #fff;
	border: none;
}
.service-box-lnk {
	padding-bottom: 30px;
}
.btn-service {
	border: 1px solid rgba(0, 0, 0, 0.5);
	display: block;
	width: 100%;
	height: 200px;
}
.btn-ogero {
	display: block;
	width: 100%;
	height: 200px;
	background: url("../images/ogero.svg") no-repeat center #000 !important;
	background-size: contain !important;
}
.btn-alfa {
	display: block;
	width: 100%;
	height: 200px;
	background: url("../images/alfa.svg") no-repeat center #fff !important;
	background-size: contain !important;
}
.btn-touch {
	display: block;
	width: 100%;
	height: 200px;
	background: url("../images/touch.png") no-repeat center #fff !important;
	background-size: auto 90% !important;
}
.btn-isp {
	display: block;
	width: 100%;
	height: 200px;
	background: url("../images/isp.png") no-repeat center #fff !important;
	background-size: cover !important;
}
.btn-tax-and-property-built {
	display: block;
	width: 100%;
	height: 200px;
	background: url("../images/tax.png") no-repeat center #fff !important;
	background-size: cover !important;
}
.btn-vat {
	display: block;
	width: 100%;
	height: 200px;
	background: url("../images/vat.png") no-repeat center #fff !important;
	background-size: cover !important;
}
.btn-mechanic {
	display: block;
	width: 100%;
	height: 200px;
	background: url("../images/mechanic.png") no-repeat center #fff !important;
	background-size: cover !important;
}
.btn-bob-finance {
	display: block;
	width: 100%;
	height: 200px;
	background: url("../images/bob-finance.png") no-repeat center #fff !important;
	background-size: cover !important;
}
.btn-bill-transfer {
	display: block;
	width: 100%;
	height: 200px;
	background: url("../images/bill-transfer.png") no-repeat center #fff !important;
	background-size: cover !important;
}

.btn-box {
	height: 200px;
	line-height: 200px;
	text-align: center;
	padding: 0;
	font-size: 32px;
	white-space: pre-wrap !important;
	display: block;
	word-wrap: break-word;
	margin-bottom: 30px;
}

.isp-provider-lnk {
	margin-bottom: 30px;
	height: 80px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.2);
}
.isp-provider-lnk a {
	display: block;
	height: 80px;
	line-height: 80px;
	text-align: center;
	font-size: 22px;
	text-transform: uppercase;
	text-decoration: none;
	color: #000;
}
.isp-provider-lnk a:hover,
.isp-provider-lnk a:focus {
	color: #f4511e;
}

.middle {
	display: inline-block;
	vertical-align: middle;
	line-height: normal;
}

.mme-dashboard {
	position: relative;
}
.mme-dashboard .service-btn-box {
	position: relative;
	height: 230px;
	overflow: visible;
	padding-bottom: 30px;
}
.mme-dashboard .service-btn-box:after {
	content: "";
	display: block;
	padding-bottom: 30px;
}
.mme-dashboard .service-btn-box .link-btn {
	display: block;
	position: relative;
	text-decoration: none;
	z-index: 1;
	overflow: visible;
	transition: all 0.5s;
}
.mme-dashboard .service-btn-box .link-btn .label-lnk {
	position: relative;
	display: block;
	height: 200px;
	background: var(--serviceBg);
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 25px;
	font-size: 32px;
	transition: all 0.5s;
	text-align: left;
	z-index: 3;
	font-weight: bold;
}

.mme-dashboard .service-btn-box:hover .link-btn,
.mme-dashboard .service-btn-box:focus .link-btn,
.mme-dashboard .service-btn-box:focus-within .link-btn {
	z-index: 2;
}

.mme-dashboard .service-btn-box:hover .link-btn:before,
.mme-dashboard .service-btn-box:hover .link-btn:after,
.mme-dashboard .service-btn-box:focus .link-btn:before,
.mme-dashboard .service-btn-box:focus .link-btn:after,
.mme-dashboard .service-btn-box:focus-within .link-btn:before,
.mme-dashboard .service-btn-box:focus-within .link-btn:after {
	content: "";
	position: absolute;
	left: -2px;
	top: -2px;
	background: linear-gradient(
		45deg,
		#ff5252,
		#ff4081,
		#ffff00,
		#e040fb,
		#b2ff59,
		#18ffff,
		#ff1744,
		#ff6e40,
		#69f0ae,
		#ff9800
	);
	background-size: 400%;
	width: calc(100% + 4px);
	height: calc(100% + 4px);
	z-index: -1;
	animation: steam 20s linear infinite;
}
.mme-dashboard .service-btn-box .link-btn:after {
	filter: blur(8px);
}

.mme-dashboard .service-btn-box:hover .link-btn,
.mme-dashboard .service-btn-box:focus .link-btn,
.mme-dashboard .service-btn-box:focus-within .link-btn,
.mme-dashboard .service-btn-box:active .link-btn {
	transform: scale(1.2);
}

.mme-dashboard .service-btn-box:hover .link-btn .label-lnk,
.mme-dashboard .service-btn-box:focus .link-btn .label-lnk,
.mme-dashboard .service-btn-box:focus-within .link-btn .label-lnk,
.mme-dashboard .service-btn-box:active .link-btn .label-lnk {
	font-size: 40px;
	background: var(--serviceActiveBg);
}

@keyframes steam {
	0% {
		background-position: 0 0;
	}
	50% {
		background-position: 400% 0;
	}
	100% {
		background-position: 0 0;
	}
}
