@font-face {
	font-family: Apercu;
	src: url('../fonts/apercu/apercu.otf');
}

@font-face {
	font-family: Apercu;
	src: url('../fonts/apercu/apercu-bold.otf');
	font-weight: bold;
}

@font-face {
	font-family: Apercu;
	src: url('../fonts/apercu/apercu-italic.otf');
	font-style: italic;
}

@font-face {
	font-family: ApercuMedium;
	src: url('../fonts/apercu/apercu-medium.otf');
}

body {
	height: 100%;
	background-color: #fff;
	color: #363636;
	margin: 0;
	padding: 0 2em;
	font-size: 1.75em;
	font-family: Apercu, "Trebuchet MS", Helvetica, sans-serif;
}

h1 {
	font-size:160%;
	font-weight: bold;
	color: #df5b00;
	text-align: center;
	margin-bottom: 30px;
}

h2 {
	font-size: 160%;
	font-weight: bold;
	color: #df5b00;
	margin-bottom: 30px;
}

p {
	line-height: 1.5;
}

body, body:not(#index) {
	min-width: 320px;
}

a, a:link, a:visited, a:hover, a:active, a:focus {
	color: #16837c;
}

a:hover, a:active, a:focus {
	text-decoration: underline;
}

label {
	margin-bottom: 0.5em;
	display: block;
	width: auto;
	position: relative;
}

label span {
	margin-bottom: 0.5em;
}

label, input[type='submit'] {
	font-weight: normal;
}

a.registration-back-link {
	text-decoration: none !important;
}

.registration-steps {
	text-align: center;
	margin: 10px 0 10px 0;
}

.registration-form-buttons {
	display:block;
	float: right;
	height: 50px;
	margin-top: 1em;
}

#agree-label {
	margin-left: 0.5em;
	display: inline !important;
}

.dropdown-list {
    position: absolute;
    border: 1px solid #ccc;
    background: white;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    border-radius: 4px;
	width: 100%;
	font-size: 1.3rem;
}

.dropdown-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
	text-transform: none;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
}

.dropdown-item .address {
    color: #888;
}

.ella-form-row.required span:after {
   content:"*";
   color:#E64B3A;
   margin-left: 5px;
}

.ella-form-row.required-check span:after {
   content:"*";
   color:#E64B3A;
   margin-left: -5px;
}

input.form-control, select.form-control {
  border: 1px solid #262626;
  border-radius: 20px;
  padding: 0 25px;
  height: 50px;
  font-size: 1em;
  transition: border-color 0.3s ease;
  max-width: 100%;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url("data:image/svg+xml;utf8,<svg fill='%23262626' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>")
              no-repeat right 15px center;
  background-size: 16px;
  padding-right: 45px;
}
select.form-control option{
  background-color: #fff;
  color: #333;
  padding: 5px 10px;
}
select.form-control option:checked{
   background-color: #007bff;
  color: #fff;
}
input.form-control:focus,
select.form-control:focus {
  border-color: #16837C;
  outline: none; /* remove default glow */
}

.btn, .btn-primary:active,
input[type='submit'], .ella-form button
input[type='submit']:active, .ella-form button:active,
input[type='submit']:hover, .ella-form button:hover,
input[type='submit']:focus, .ella-form button:focus,
input[type='submit']:visited, .ella-form button:visited {
	color: #fff;
	background-color: #16837C;
	font-size: 20px;
	padding: 0 20px;
	border: none;
	height: 44px;
	border-radius: 22px;
	min-width: 200px;
	text-transform: uppercase;
	margin-bottom:5px;
}

.btn:hover, .btn-primary:hover,
input[type='submit']:hover, .ella-form button:hover {
	background-color: #4C8230;
}

#btn-login {
	min-width: 110px;
}

.container {
	max-width: 768px;
	margin: 0 auto;
}

.alerts-centered {
	margin: 0 auto;
	width: fit-content;
}

.ella-login-form-container {
	width: 75%;

}

.ella-form-login {
	max-width: 400px;
  	margin: 30px auto;
}

.ella-form {
	display: block;
	margin-bottom: 2em;
}

.ella-form-row {
	display: block;
	margin: 1em 0 0 0;
}

.ella-form-footer {
	display: flex;
  justify-content: right;
	height: 50px;
	width: 100%;
}

.ella-form-footer p {
	font-style: italic;
	font-size: 90%;
	height: 100%;
	margin: 0 140px 0 0;
}

.ella-form-footer input[type='submit'] {
	margin: -50px 0 0 0;
	padding: 0;
	display: block;
	float: right;
}

#form-container-header {
	margin-bottom: 35px;
	margin-top: 75px;
	margin: 0 auto;
  	width: fit-content;
}

#logo, #logo img {
	display: block;
	border: none;
	width: 120px;
}

#logo {
	margin: 50px auto;
}

#font-size-buttons-container {
	position: absolute;
}
#font-size-buttons {
	display: block;
	margin: 0 auto;
	background-position: center;
	background-size: cover;
}
#font-size-buttons > div {
	display: block;
	position: relative;
	height: 25px;
}
#font-size-buttons > div > * {
	display: block;
	float: left;
	height: 48px;
}
#font-size-buttons a, #font-size-buttons a > img {
	display: block;

}
#font-size-buttons a {
	width: 65px;
	text-decoration: none;
	color: #000;
	text-align: center;
}
#font-size-up {
	font-size: 30px;
}
#font-size-down {
	font-size: 20px;
}
#font-size-up:hover {
	background-color: #f7be25;
}
#font-size-down:hover {
	background-color: #f7be25;
}
#font-size-buttons::after {
	content: "";
	width: 2px;
	height: calc(100% - 10px);
	position: absolute;
	display: block;
	background-color: rgb(247, 190, 37);
	top: 5px;
	left: calc(47% + 4px);
}

#bottom-spacer {
	display: block;
}

.message {
	padding: 15px;
	background: #EEEEEE;
	border: solid 1px #FFFFFF;
	border-radius: 25px;
	color: #000000;
	line-height: 22px;
}

.action-btn {
    margin-right: 10px;
}

.message p {
	margin: 0
}

/* Hide browser default password reveal button (Edge, IE) */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
  display: none !important;
}

/* Password toggle wrapper */
.password-wrapper {
  position: relative;
  display: block;
}

.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
  width: 100%;
}

/* Password toggle button */
.password-toggle-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: #666;
  font-size: 18px;
  line-height: 1;
  z-index: 10;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.password-toggle-btn:hover {
  color: #00729c;
}

.password-toggle-btn:focus {
  outline: 2px solid #00729c;
  outline-offset: 2px;
  border-radius: 3px;
}

/* Eye icon styles */
.password-toggle-btn .eye-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
}

.password-toggle-btn {
  width: auto!important;
}
.password-toggle-btn:hover,
.password-toggle-btn:focus{
	background: none!important;
  color:#666!important;
	min-width: auto!important;
  padding-right: 5px!important;
		background-color: none!important;
		outline: none!important;
		width: auto!important;
}



@media only screen and (min-width: 769px) {
	#font-size-buttons-container {
		position: absolute;

		min-width: auto;
		width: 135px;
		padding: 0;

		top: 50px;
		right: 50px;
		left: auto;
		bottom: auto;
	}
	#font-size-buttons {
		width: 135px;
		min-height: 50px;
		line-height: 43px;
		border: 2px solid rgb(247, 190, 37);
        border-radius: 100px;
		padding-right: 0;
	}
	#font-size-down {
		width: 66px !important;

		border-top-right-radius: 100px;
		border-bottom-right-radius: 100px;
		/* border: 2px solid rgb(247, 190, 37); */
	}
	#font-size-up {
		border-top-left-radius: 100px;
		border-bottom-left-radius: 100px;
		/* border: 2px solid rgb(247, 190, 37); */
	}
	#bottom-spacer {
		height: 43px;
	}
}

@media only screen and (max-width: 768px) {
  #font-size-buttons-container {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 145px;
    height: 63px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 9999;
  }

  #font-size-buttons {
    width: 145px;
    height: 63px;
    display: flex;
    overflow: hidden;
    border-radius: 145px 145px 0 0;
    border: 2px solid #f7be25;
    position: absolute;
    transition: background 0.3s ease;
  }
  #font-size-buttons > div {
    display: flex;
    flex: 1;
    height: 100%;
  }
  #font-size-buttons .seg {
    flex: 1;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
  }

	#font-size-up {
		padding-top: 10px;
	}
	#font-size-down {
		padding-top: 15px;
	}

	#bottom-spacer {
		height: 55px;
	}
}

/*custom select dropdown*/
.custom-select {
  position: relative;
}
.custom-select > span {
  display:block;
}
.custom-select .select-label{
  border: 1px solid #262626;
  border-radius: 20px;
  padding: 10px 25px;
  display: block;
  font-size: 1em;
  transition: border-color 0.3s ease;
  max-width: 100%;
  color:#262626;
  text-decoration: none;
  position: relative;
  background: #ffffff url("data:image/svg+xml;utf8,<svg fill='%23262626' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 15px center;
  background-size: auto;
  background-size: 16px;
  padding-right: 45px;
  z-index: 20;
}
.custom-select.centre-lang .select-label{
	padding:10px 15px;
	  background: #fff url("data:image/svg+xml;utf8,<svg fill='%23262626' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 5px center;
}

.custom-select .select-label:focus{
  outline: 3px solid #c2dbfe;
}
.custom-select .select-ddl{
  position: absolute;
  top: 50px;
  left: 0;
  border: 1px solid #4d4d4d;
  border-radius: 10px;
  padding: 25px 0 0;
  background-color: #ffffff;
  width: 100%;
  z-index: 10;
    box-shadow: 0 10px 10px -6px rgba(0,0,0,.3);
}
.custom-select.centre-lang .select-ddl{
	top: 26px;
}

.custom-select .select-ddl > a{
	text-decoration: none;
	color:#262626;
	display: block;
	padding:5px 10px;
	margin:2px;
}
.custom-select .select-ddl > a:hover, .custom-select .select-ddl > a:focus{
	background-color: #e6e6e6;
}