@font-face {
    font-family: Hack;
    src: url(fonts/Hack-Regular.ttf);
}

body {
	background-color: #181a1b !important;
	background-image: url('img/badge-full.png');
	background-repeat: no-repeat;
	background-position: center;
	background-attachment: fixed;
	background-size: 77vh;
}

body, html {
	margin: 0px;
	padding: 0px;
	overflow-x: visible; !important
	overflow-y: visible; !important
}

hr {
	border-top: 3px dashed orange;
}

.content a {
	font-size: 10pt;
}

.col-sm-4 a {
	color: #3DA7E5;
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.col-sm-4 a:hover {
	color: #6A93B6;
	font-size: 18pt;
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

h1 {
	margin: 0px;
	padding: 0px;
}

.logo {
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: -1;
	background: url('img/logo_rgb3.gif');
	background-size: 100% 100%;
	background-position: center;
	background-repeat: no-repeat;
	padding: 15px 15px 15px 7px;
	margin: 0px;
	height: 150px;
	width: 300px;
	color: white;
	font-family: Courier New;
	text-shadow: 2px 2px 3px black;
	font-size: 16pt;
}

.logo span {
	text-decoration: underline;
	font-size: 24pt;
	margin: 8px;
}

#logo {
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: -1;
	background: url('img/logo_rgb_tausta17.gif');
	background-size: 100% 100%;
	background-position: center;
	background-repeat: no-repeat;
	padding: 15px;
	margin: 0px;
	height: 151px;
	width: 100%;
	color: beige;
	font-family: Hack, Courier New, Impact;
	text-shadow: 2px 2px 3px black;
	font-size: 20pt;
}

.logo b {
	list-style-type: none;
	font-size: 8pt;
	color: red;
	margin: 0px;
	padding: 0px;
	float: initial;
	vertical-align: text-top;
}

#logo b {
	animation: blinker 1.5s step-end infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.content {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#rcorners3 {
	background-color: #454a4c;
	border-radius: 15px 50px;
	border: 12px solid #ff9000;
	width: 100%;
	height: 150px; 
	margin: 5px;
	opacity: 0.7;
	font-weight: bold;
	font-size: 20pt;
	text-align: center;
}

#rcorners3:hover {
	background-color: #454a4c;
	border-radius: 15px 50px;
	border: 12px solid lightblue;
	width: 100%;
	height: 150px; 
	margin: 5px;
	opacity: 0.3;
}

.row {
	margin: 0px;
	background-color: none;
	padding: 0px;
	width: 100%;
}

.logo-settings {
	background-position: center;
	background-repeat: no-repeat;
	max-width: 250px;
	color: #36ff00;
	padding-top: 45px;
}

.logo_ismo {
	background: url('img/ismonlaatu_logo.png');
	background-size: 75% 100%;
	background-position: center;
	background-repeat: no-repeat;
	max-width: 250px;
	color: #36ff00;
	padding-top: 45px;
}

.logo_fw3d {
	background: url('img/fw3d_logo.png');
	background-size: 100% 100%;
	background-position: center;
	background-repeat: no-repeat;
	max-width: 250px;
	color: #36ff00;
	padding-top: 27px;
}

.logo_failurestream {
	background: url('img/failurestream_logo.png');
	background-size: 100% 100%;
	background-position: center;
	background-repeat: no-repeat;
	max-width: 250px;
	color: #36ff00;
	padding-top: 45px;
}

.logo_failurecontrol {
	background: url('img/failurecontrol_logo.png');
	background-size: 75% 50%;
	background-position: center;
	background-repeat: no-repeat;
	max-width: 250px;
	color: #36ff00;
	padding-top: 45px;
}

.logo_failurelab {
	background: url('img/failurelab_logo.png');
	background-size: 100% 100%;
	background-position: center;
	background-repeat: no-repeat;
	max-width: 250px;
	color: #36ff00;
	padding-top: 45px;
}

.logo_ravintola {
	background: url('img/ravintola_logo.png');
	background-size: 100% 100%;
	background-position: center;
	background-repeat: no-repeat;
	max-width: 250px;
	color: #36ff00;
	padding-top: 27px;
}

.logo_empty {
	background: none;
	background-size: 100% 100%;
	background-position: center;
	background-repeat: no-repeat;
	max-width: 250px;
	color: #36ff00;
	padding-top: 45px;
}

.button-pos {
	position: absolute;
	bottom: 0px;
	left: 0px;
	border-radius: 0px 0px 3px 3px !important;
}

.button-ali {
	width: 50%;
	background-color: #FFF;
	background: url("/ebike/img/Aliexpress_logo.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: 250px 100px;
	border-radius: 25px 0px 0px 25px;
	border-top: 	10px solid #E62E04;
	border-right: 	5px solid  #E62E04;
	border-bottom: 	10px solid #E62E04;
	border-left: 	10px solid #E62E04;
	position: absolute;
	text-align: center;
	left: 0;
	height: 25vh;
	}
.button-ama {
	width: 50%;
	background-color: #FFF;
	background: url("/ebike/img/Amazon_logo.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: 225px 100px;
	border-radius: 0px 25px 25px 0px;
	border-top: 	10px solid orange;
	border-right: 	10px solid orange;
	border-bottom:	10px solid orange;
	border-left: 	5px solid orange;
	position: absolute;
	text-align: center;
	right: 0;
	height: 25vh;
}
.enterShop {
	width: 100%;
	position: relative;
}
/* SLIDER INPUT SWITCH */

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  border: 2px solid orange;
}

.slider:before {
  position: absolute;
  content: "";
  height: 21px; /* 26px */
  width: 21px; /* 26px */
  left: 4px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: green;
  
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* MOBILE */

@media (max-width:600px) { 
	.content {
	  display: none;
	}
	
	.no-space-msg:after {
		color: red;
		font-size: 50pt;
		content: "Liian vähän tilaa, käännä laite!";
		position: absolute;
		top: 50%;
		left: 50%;
		-ms-transform: translate(-50%, -50%);
		transform: translate(-50%, -50%);
	}
}

/* WIDE MOBILE */

@media (max-width:800px) { 
	.content {
	  margin-top: 220px;
	}
}

/* PC */

@media (min-width:960px) {
	.content {
	  margin-top: 0;
	}	
}

/* Login */

.modal {
	font-family: 'courier new';
}

input[type=text], input[type=password] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

button {
  background-color: #4CAF50;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
}

button:hover {
  opacity: 0.8;
}

span.psw {
  float: right;
  padding-top: 16px;
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
  span.psw {
     display: block;
     float: none;
  }