@font-face { font-family: SST; src: url('../psba-fonts/SST-Roman.ttf'); }
@font-face { font-family: SSTBold; src: url('../psba-fonts/SST-Bold.ttf'); }
@font-face { font-family: SSTHeavy; src: url('../psba-fonts/SST-Heavy.ttf'); }
@font-face { font-family: SSTLight; src: url('../psba-fonts/SST-Light.ttf'); }
/* --------------------------------

Primary style

-------------------------------- */
*, *::after, *::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-family: SST;
  color: #2b3e51;
  background-color: #ffffff;
}

a {
  color: #2c97de;
  text-decoration: none;
}

/* --------------------------------

Form

-------------------------------- */
.cd-form {
  width: 96%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.cd-form::after {
  clear: both;
  content: "";
  display: table;
}
.cd-form fieldset {

}
.cd-form legend {
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-size: 2rem;
  border-bottom: 1px solid #ecf0f1;
}
.cd-form div {
  /* form element wrapper */
  position: relative;
  margin: 20px 0;
}
.cd-form h4, .cd-form .cd-label {
  font-size: 1.3rem;
  color: #94aab0;
  margin-bottom: 10px;
}
.cd-form .cd-label {
  display: block;
}
.cd-form input, .cd-form textarea, .cd-form select, .cd-form label {
  font-family: SST;
  font-size: 1.5rem;
  color: #2b3e51;
}
.cd-form input[type="text"],
.cd-form input[type="password"],
.cd-form input[type="email"],
.cd-form textarea,
.cd-form select,
.cd-form legend {
  display: block;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  letter-spacing: 2.2px;
  font-size: 1.3rem;
}
.cd-form input[type="text"],
.cd-form input[type="email"],
.cd-form input[type="password"],
.cd-form textarea,
.cd-form select {
  /* general style for input elements */
  padding: 12px;
  border: 1px solid #b2b2b2;
  background-color: #ffffff;
  border-radius: 0px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.08);

/*  box-shadow: 0 0 15px 2px rgba(255, 0, 0, 0.4);
  	border: solid 1px #d0011b;
*/}
.cd-form input[type="text"]:focus,
.cd-form input[type="email"]:focus,
.cd-form input[type="password"]:focus,
.cd-form textarea:focus,
.cd-form select:focus {
	outline: none;
	border-color: #0066c2;
	color: #003791;
	box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.2);
	border: solid 1px #0066c2;

}
.cd-form .cd-select {
  /* select element wapper */
  position: relative;
}
.cd-form .cd-select::after {
  /* arrow icon for select element */
  content: '';
  position: absolute;
  z-index: 1;
  right: 16px;
  top: 50%;
  margin-top: -8px;
  display: block;
  width: 16px;
  height: 16px;
  background: url("../psba-images/fa-psba-blue/fa-angle-down.svg") no-repeat center center;
  pointer-events: none;
}
.cd-form select {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}
.cd-form select::-ms-expand {
  display: none;
}
.cd-form .cd-form-list {
  margin-top: 16px;
}
.cd-form .cd-form-list::after {
  clear: both;
  content: "";
  display: table;
}
.cd-form .cd-form-list li {
  /* wrapper for radio and checkbox input types */
  display: inline-block;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin: 0 26px 16px 0;
  float: left;
}
.cd-form input[type=radio],
.cd-form input[type=checkbox] {
  /* hide original check and radio buttons */
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  margin: 0;
  padding: 0;
  opacity: 0;
  z-index: 2;
}
.cd-form input[type="radio"] + label,
.cd-form input[type="checkbox"] + label {
  padding-left: 24px;
}
.cd-form input[type="radio"] + label::before,
.cd-form input[type="radio"] + label::after,
.cd-form input[type="checkbox"] + label::before,
.cd-form input[type="checkbox"] + label::after {
  /* custom radio and check boxes */
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -8px;
  width: 16px;
  height: 16px;
}
.cd-form input[type="radio"] + label::before,
.cd-form input[type="checkbox"] + label::before {
  border: 1px solid #cfd9db;
  background: #ffffff;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.08);
}
.cd-form input[type="radio"] + label::before,
.cd-form input[type="radio"] + label::after {
  border-radius: 50%;
}
.cd-form input[type="checkbox"] + label::before,
.cd-form input[type="checkbox"] + label::after {
  border-radius: .25em;
}
.cd-form input[type="radio"] + label::after,
.cd-form input[type="checkbox"] + label::after {
  background-color: #2c97de;
  background-position: center center;
  background-repeat: no-repeat;
  box-shadow: 0 0 5px rgba(44, 151, 222, 0.4);
  display: none;
}
.cd-form input[type="radio"] + label::after {
  /* custom image for radio button */
  background-image: url("../psba-images/credentials/form-images/cd-icon-radio.svg");
}
.cd-form input[type="checkbox"] + label::after {
  /* custom image for checkbox */
  background-image: url("../psba-images/credentials/form-images/cd-icon-check.svg");
}
.cd-form input[type="radio"]:focus + label::before,
.cd-form input[type="checkbox"]:focus + label::before {
  /* add focus effect for radio and check buttons */
  box-shadow: 0 0 5px rgba(44, 151, 222, 0.6);
}
.cd-form input[type="radio"]:checked + label::after,
.cd-form input[type="checkbox"]:checked + label::after {
  display: block;
}
.cd-form input[type="radio"]:checked + label::before,
.cd-form input[type="radio"]:checked + label::after,
.cd-form input[type="checkbox"]:checked + label::before,
.cd-form input[type="checkbox"]:checked + label::after {
  -webkit-animation: cd-bounce 0.3s;
  -moz-animation: cd-bounce 0.3s;
  animation: cd-bounce 0.3s;
}
.cd-form textarea {
  min-height: 200px;
  resize: vertical;
  overflow: auto;
}
.cd-form input[type="submit"] {
	border: none;
	background: #003791;
	border-radius: 0px;
	padding: 16px 26px;
	color: #ffffff;
	font-weight: bold;
	float: right;
	width: 100%;
	cursor: pointer;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	appearance: none;
}
.no-touch .cd-form input[type="submit"]:hover {
  background: #42a2e1;
}
.cd-form input[type="submit"]:focus {
  outline: none;
  background: #2b3e51;
}
.cd-form input[type="submit"]:active {
/*  -webkit-transform: scale(0.9);
  -moz-transform: scale(0.9);
  -ms-transform: scale(0.9);
  -o-transform: scale(0.9);
  transform: scale(0.9);
*/}
.cd-form .button-shadow {
	height: 53px;
	display: block;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
	top: 0;
	-moz-box-shadow: 0 12px 12px 0 rgba(0, 0, 0, 0.2); /* Firefox */
	-webkit-box-shadow: 0 12px 12px 0 rgba(0, 0, 0, 0.2); /* Webkit */
	box-shadow: 0 12px 12px 0 rgba(0, 0, 0, 0.2); /* Generic */
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#000000')"; /* Internet SMH Explorer */
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000'); /* Internet SMH Explorer */
}
.cd-form [required] {
  background: url("../psba-images/credentials/form-images/cd-required.svg") no-repeat top right;
}
.cd-form .error-message p {
  background: #e94b35;
  color: #ffffff;
  font-size: 1.4rem;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  border-radius: .25em;
  padding: 16px;
}
.cd-form .error {
  border-color: #e94b35 !important;
}
@media only screen and (min-width: 600px) {
  .cd-form div {
    /* form element wrapper */
    margin: 32px 0;
  }
  .cd-form legend + div {
    /* reduce margin-top for first form element after the legend */
    margin-top: 20px;
  }
  .cd-form h4, .cd-form .cd-label {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }
  .cd-form input[type="text"],
  .cd-form input[type="email"],
  .cd-form input[type="password"],
  .cd-form textarea,
  .cd-form select {
    padding: 16px;
  }
}

@-webkit-keyframes cd-bounce {
  0%, 100% {
    -webkit-transform: scale(1);
  }
  50% {
    -webkit-transform: scale(0.8);
  }
}
@-moz-keyframes cd-bounce {
  0%, 100% {
    -moz-transform: scale(1);
  }
  50% {
    -moz-transform: scale(0.8);
  }
}
@keyframes cd-bounce {
  0%, 100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
  }
}
/* --------------------------------

Custom icons

-------------------------------- */
.cd-form .icon input, .cd-form .icon select, .cd-form .icon textarea {
  padding-left: 54px !important;
}
.cd-form .username {
  background: url("../psba-images/fa-psba-blue/fa-user.svg") no-repeat 16px center;
}
.cd-form [required].firstname {
  background: url("../psba-images/fa-psba-blue/fa-user.svg") no-repeat 16px center, url("../psba-images/credentials/form-images/cd-required.svg") no-repeat top right;
}
.cd-form [required].lastname {
  background: url("../psba-images/fa-psba-blue/fa-user.svg") no-repeat 16px center, url("../psba-images/credentials/form-images/cd-required.svg") no-repeat top right;
}
.cd-form [required].username {
  background: url("../psba-images/fa-psba-blue/fa-user.svg") no-repeat 16px center, url("../psba-images/credentials/form-images/cd-required.svg") no-repeat top right;
}
#loginForm [required].username {
  background: url("../psba-images/fa-psba-blue/fa-user.svg") no-repeat 16px center, url("../psba-images/credentials/form-images/cd-required.svg") no-repeat top right;
}
.cd-form .password {
  background: url("../psba-images/fa-psba-blue/fa-lock.svg") no-repeat 16px center;
}
.cd-form [required].password {
  background: url("../psba-images/fa-psba-blue/fa-lock.svg") no-repeat 16px center, url("../psba-images/credentials/form-images/cd-required.svg") no-repeat top right;
}
.cd-form .email {
  background: url("../psba-images/fa-psba-blue/fa-envelope.svg") no-repeat 16px center;
}
.cd-form [required].email {
  background: url("../psba-images/fa-psba-blue/fa-envelope.svg") no-repeat 16px center, url("../psba-images/credentials/form-images/cd-required.svg") no-repeat top right;
}
.cd-form .budget {
  background: url("../psba-images/credentials/form-images/cd-icon-budget.svg") no-repeat 16px center;
}
.cd-form .message {
  background: url("../psba-images/credentials/form-images/cd-icon-message.svg") no-repeat 16px 16px;
}
.cd-form [required].message {
  background: url("../psba-images/credentials/form-images/cd-icon-message.svg") no-repeat 16px 16px, url("../psba-images/credentials/form-images/cd-required.svg") no-repeat top right;
}

.cd-form .unique {
  background: url("../psba-images/fa-psba-blue/fa-user.svg") no-repeat 16px 16px;
}
.cd-form [required].unique {
  background: url("../psba-images/fa-psba-blue/fa-user.svg") no-repeat 16px 16px, url("../psba-images/credentials/form-images/cd-required.svg") no-repeat top right;
}

.cd-form .job-title {
  background: url("../psba-images/fa-psba-blue/fa-user.svg") no-repeat 16px 16px;
}
.cd-form [required].job-title {
  background: url("../psba-images/fa-psba-blue/fa-user.svg") no-repeat 16px 16px, url("../psba-images/credentials/form-images/cd-required.svg") no-repeat top right;
}

.cd-form .psn {
  background: url("../psba-images/fa-psba-blue/fa-psn.svg") no-repeat 12px center;
}
.cd-form .store {
  background: url("../psba-images/fa-psba-blue/fa-store.svg") no-repeat 16px center;
}
.cd-form .branch {
  background: url("../psba-images/fa-psba-blue/fa-store.svg") no-repeat 16px center;
}

.cd-form .custom {
  background: url("../psba-images/fa-psba-blue/fa-store.svg") no-repeat 16px 16px;
}
.cd-form [required].custom {
  background: url("../psba-images/fa-psba-blue/fa-store.svg") no-repeat 16px 16px, url("../psba-images/credentials/form-images/cd-required.svg") no-repeat top right;
}

/* Errors */
.cd-form .email.error {
  background: url("../psba-images/fa-psba-red/fa-envelope.svg") no-repeat 16px center;
}
.cd-form [required].email.error {
  background: url("../psba-images/fa-psba-red/fa-envelope.svg") no-repeat 16px center, url("../psba-images/fa-psba-red/cd-required.svg") no-repeat top right;
}

.cd-form .password.error {
  background: url("../psba-images/fa-psba-red/fa-lock.svg") no-repeat 16px center;
}
.cd-form [required].password.error {
  background: url("../psba-images/fa-psba-red/fa-lock.svg") no-repeat 16px center, url("../psba-images/fa-psba-red/cd-required.svg") no-repeat top right;
}

.cd-form .job-title.error,
.cd-form .firstname.error,
.cd-form .lastname.error,
.cd-form .username.error {
  background: url("../psba-images/fa-psba-red/fa-user.svg") no-repeat 16px 16px !important;
}
.cd-form [required].job-title.error,
.cd-form [required].firstname.error,
.cd-form [required].lastname.error,
.cd-form [required].username.error {
  background: url("../psba-images/fa-psba-red/fa-user.svg") no-repeat 16px 16px, url("../psba-images/fa-psba-red/cd-required.svg") no-repeat top right !important;
}

.cd-form .custom.error,
.cd-form .store.error {
  background: url("../psba-images/fa-psba-red/fa-store.svg") no-repeat 16px 16px !important;
}
.cd-form [required].custom.error,
.cd-form [required].store.error {
  background: url("../psba-images/fa-psba-red/fa-store.svg") no-repeat 16px 16px, url("../psba-images/fa-psba-red/cd-required.svg") no-repeat top right !important;
}

.cd-form input.error { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #e94b35;
    opacity: 1; /* Firefox */
}

.cd-form input.error::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #e94b35;
    opacity: 1; /* Firefox */
}

.cd-form input.error:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #e94b35;
}

.cd-form input.error::-ms-input-placeholder { /* Microsoft Edge */
    color: #e94b35;
}

.cd-form select.error {
    color: #e94b35;
}

#custom-error-message {
    font-family: SSTBold;
    font-size: 14px;
    color: #e94b35;
}

input#opt-in {
    opacity: 0 !important;
}

/* The container */
.opt-in-field {
    margin: 0px !important;
    height: 40px !important;
}

span.opt-in-checkbox {
    margin-left: 20px;
}

.opt-in-label {
    float: left;
    width: calc(100% - 100px);
    /* background: red; */
    font-family: SST;
    font-size: 13px;
    line-height: 18px;
}

.opt-in-box {
    float: right;
    width: 80px;
    margin-left: 20px;
    top: -12px !important;
}

/* The container */
.custom-checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 30px;
    width: 30px;
    background-color: #eee;
    border-radius: 20px;
    border: 2px solid #eee;
}

/* On mouse-over, add a grey background color */
.custom-checkbox:hover input ~ .checkmark {
    background-color: #ccc;
    border: 2px solid #ccc;
}

/* When the checkbox is checked, add a blue background */
.custom-checkbox input:checked ~ .checkmark {
    background-color: #2196F3;
    border-radius: 20px;
    border: 2px solid #003791;
    background: white;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.custom-checkbox .checkmark:after {
    left: 9px;
    top: 5px;
    width: 8px;
    height: 13px;
    border: solid #0078c8;
    border-width: 0 4px 4px 0;
    -webkit-transform: rotate(45deg) !important;
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* --------------------------------

FLoating labels

-------------------------------- */
.js .floating-labels div {
  margin-bottom: 10px;
  margin-top: 30px;
  margin-left: 0px;
  margin-right: 0px;
}
.js .floating-labels .cd-label {
  position: absolute;
  font-family: SST;
  top: 16px;
  left: 16px;
  font-size: 1.2rem;
  letter-spacing: 2.6px;
  cursor: text;
  color: #003791;
  pointer-events: none;
    -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none;
    user-select: none;

  -webkit-transition: top 0.2s, left 0.2s, font-size 0.2s;
  -moz-transition: top 0.2s, left 0.2s, font-size 0.2s;
  transition: top 0.2s, left 0.2s, font-size 0.2s;
}
.js .floating-labels .icon .cd-label {
  left: 56px;
}
.js .floating-labels .cd-label.float {
  /* move label out the input field */
  font-size: 1.0rem;
  top: -20px;
  left: 0 !important;
  user-select: none;
}
@media only screen and (min-width: 600px) {
  .js .floating-labels legend + div {
    /* reduce margin-top for first form element after the legend */
    margin-top: 16px;
  }
  .js .floating-labels .cd-label {
    top: 20px;
  }
}

select {
	line-height: 28px !important;
	background-color: #ffcc00;
}
