@font-face {
  font-family: 'FiraSansCondensed';
  src: url('../fonts/FiraSansCondensed-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

#nav ul {
  padding: 0 20px 0 0;
}

body {
  font-family: 'FiraSansCondensed', sans-serif;
  font-weight: 500;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
}

section {
  border-bottom: none;
  background: #fff;
}

.title {
  font-size: 24px;
  margin-bottom: 10px;
}

.description {
  font-size: 20px;
}

.section.introduction, .section.input-container, .environment-container {
  margin-bottom: 30px;
}

.input-container {
  text-align: left;
}

.environments-container {
  margin-top: 30px;
}

.page .block.editProfile input.input {
  font-family: FiraSansCondensed;
  color: rgb(52, 52, 52);
  float: none;
  width: 100%;
  margin: 0;
  font-size: 16px;
  padding: 20px 0px !important;
  border-top: none;
  border-left: none;
  border-right: none;
}

.page .block.editProfile .label.input {
  float: none;
  text-align: left!important;
  width: 100%;
  font-size: 14px;
}

.firstname-container {
  float: left;
  margin-right: 3% !important;
  width: 67%!important;
  display: inline-block;
  padding-left: 0 !important;
}

.middlename-container {
  width: 30%!important;
  display: inline-block;
}

.icon-container {
  height: 50px;
  padding-bottom: 10px;
}

.icon-container img {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Button styling based on Banqueting frontend */
.btn_dark, .btn_dark:hover {
  width: 100%;
  height: auto;
  min-height: 45px;
  border-radius: 0px;
  background-color: #0d2d44;
  font-family: 'FiraSansCondensed', sans-serif;
  font-size: 16px;
  font-weight: 900;
  margin: 10px 0px !important;
}

/* Loader styling based on POS frontend */
#loader .box {
  border-radius: 2px;
  box-shadow: 0 16px 20px rgba(0,0,0,.4);
  padding: 24px;
  min-height: 0;
  width: max-content;
  background-color: #f2f2f2;
}

#loader .icon {
  background-image: url('../img/spinner.svg');
  float: left;
  height: 28px;
  width: 28px;
  animation: 1s linear 0s infinite normal none running spinner-rotate;
  animation-duration: 750ms;
}

#loader .label {
  text-align: left;
  font-size: 14px;
  display: inline-block;
  margin-left: 16px;
  color: black;
  padding: 0;
  line-height: 28px;
}

.error {
  border-radius: 0;
  background-color: #FF8400 !important;
  font-size: 20px;
  margin-bottom: 20px;
}

.page .block.editProfile .label.input.email {
  display: inline-block;
  width: 50%!important;
}

.page .block.editProfile .label.emailNotRight {
  cursor: pointer;
  color: #8f8d8d;
  float: right!important;
  width: inherit!important
}

.emailNotRight {
  cursor: pointer;
  color: #8f8d8d;
}

@-moz-keyframes spinner-rotate {
  from { -moz-transform: rotate(0deg); }
  to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spinner-rotate {
  from { -webkit-transform: rotate(0deg); }
  to { -webkit-transform: rotate(360deg); }
}
@keyframes spinner-rotate {
  from {transform:rotate(0deg);}
  to {transform:rotate(360deg);}
}

/* Popup styling based on default pencil styling with some slight tweaks */
.popup_back { display:none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; background-color: rgba(0,0,0, 0.8); }
.popup_back .popup_frame { max-width: calc(100% - 70px); background-color: white; padding: 20px 20px 50px 20px; position: absolute; top: 50%; left: 50%; width:800px; height: auto; transform: translate(-50%,-50%); -webkit-transform:translate(-50%,-50%); z-index:3; max-height:80%; overflow:hidden; }
.popup_back .popup_frame .title { float:left; height:30px; font-size:19px; font-weight:bold; padding-bottom:10px; }
.popup_back .popup_frame .closepop { float:right;  width:30px; height:30px; background: url(../../pencil.resource.core/img/close_popup.png) no-repeat; background-size: 100%; -webkit-background-size: 100%; cursor: pointer; }
.popup_back .popup_frame .content { clear:both; float:left; width:100%; }

.environment-additional-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  top: 50px;
  position: relative;
}
.environment-additional-content .app-container {
  width: 200px;
}

.environment-additional-content .app-container .app-store-logo {
  width: 100%;
}

.environment-additional-content .app-container.ios .app-store-logo {
  margin: 17px 0;
}

.environment-additional-content .app-container.android .app-store-logo {
  margin: 16px 0;
}

.environment-additional-content .app-container .qr-code {
  width: 200px;
}

.environment-additional-content .app-container.ios .qr-code {
  margin-top: 2px;
}


