body:not(.logged-in) .user-pages {
  color: #000 !important;
  background-image: url('/sites/default/files/images/event.jpg');
  background-position: center;
  background-size: cover;
}
body:not(.logged-in) .user-pages .form-wrapper {
  padding: 0;
  margin-top: 30px;
}
body img.gift-bow {
  display: none;
}
body:not(.logged-in) img.gift-bow {
  display: inline-block;
  position: absolute;
  top: 0;
  right: 0;
  max-width: 15%;
  transform: scaleX(-1);
}
body:not(.logged-in) .user-pages .form-wrapper .password-strength__meter {
  background-color: #5fcccf;
}
body:not(.logged-in) .user-pages .form-wrapper .password-strength__meter .password-strength__indicator {
  background-color: #124a85;
}
body .user-pages .form-wrapper {
  position: absolute;
  top: 250px;
  left: 50%;
  float: none;
  transform: translateX(-50%);
}
body .user-pages .login-box {
  float: left;
  position: relative;
  width: 100%;
  height: 100%;
}
body:not(.logged-in) .user-pages .form-wrapper #block-simr-content {
  padding: 30px;
  box-shadow: 3px 3px 12px 0px rgba(0,0,0,0.4);
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.95);
  /* text-align: center; */
}
body:not(.logged-in) .user-pages ul.simr-primary-tabs li a {
  border: none !important;
  padding: 4px 20px;
}
@media screen and (max-width: 576px) {
  body:not(.logged-in) .user-pages .form-wrapper {
    width: 100%;
  }
}

/* User login form */
form.user-login-form, form.user-form, form.user-pass, form#user-register-form {
  margin-top: 0px;
}
form.user-login-form label {
  width: 100%;
}
form.user-login-form > div {
    margin: 15px auto;
}

form.user-login-form input:not([type="submit"]) {
  width: 100% !important;
  padding: 15px;
  outline: none;
}

/* Password reset form */
form.user-pass label {
  width: 100%;
}
form.user-pass p {
    margin: 0 auto 30px;
}
form.user-pass input:not([type="submit"]) {
  width: 100% !important;
  padding: 15px;
  outline: none;
}

/* User registration form */
form#user-register-form > div {
    margin: 15px auto;
}
form#user-register-form div#edit-account > div {
    margin: 15px auto;
}

form#user-register-form label {
  width: 100%;
}
form#user-register-form input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]) {
  width: 100%;
  padding: 15px;
  outline: none;
}

/* User edit form */
form#user-form > div {
    margin: 15px auto;
}
form#user-form > div#edit-account > div {
    margin: 15px auto;
}
form#user-form .password-strength__meter {
	width: 50%;
}
form#user-form #edit-account .form-item-current-pass input {
  height: 40px;
  width: 40%;
  padding: 15px 30px;
  font-size: 14px;
  line-height: 1.7;
  color: #858585;
  background-color: #fff;
  background-image: none;
  border: 1px solid #d5d5d5;
  border-radius: 0;
}
form#user-form input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]) {
  min-width: 320px;
}
@media screen and (max-width: 991px) {
  form#user-form .password-strength__meter {
    min-width: 435px;
  }
}
@media screen and (max-width: 480px) {
  form#user-form input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]) {
		width: 100% !important;
    min-width: unset;
	}
  .simr-user #user-form label {
		width: auto !important;
	}
  form#user-form .password-strength__meter {
		width: auto;
    min-width: unset;
	}
}

/* create gifting request form */
.node-gift-request-form {
	background-color: #f3f3f3;
	padding: 30px;
	margin-top: 0;
}
.node-gift-request-form > div {
	margin-bottom: 15px;
}
.node-gift-request-form .field--name-field-cost-code table tbody tr {
  border: none;
}
.node-gift-request-form .field--name-field-cost-code table tbody tr input {
  margin: 5px auto;
}
.node-gift-request-form label {
	display: block;
	font-size: 16px;
}
.node-gift-request-form #edit-field-status {
	margin-left: 15px;
}
.node-gift-request-form fieldset legend {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 10px;
}
.node-gift-request-form fieldset label {
	display: inline-block;
	margin-left: 10px;
	font-weight: normal;
}
.node-gift-request-form .field--widget-boolean-checkbox label {
  display: inline;
}
.node-gift-request-form fieldset input {
	width: auto !important;
}
.node-gift-request-form textarea {
	margin-left: 0 !important;
}
.node-gift-request-form #edit-field-message-wrapper {
	width: 100%;
}
.node-gift-request-form #edit-actions, #edit-reject-request {
	margin: auto;
	display: inline-block;
}
.node-gift-request-form #edit-reject-request input{
	min-width: 100px;
}
.node-gift-request-form #edit-actions input{
	margin-right: 30px;
	min-width: 100px;
}
.node-gift-request-form .cke_contents{
	height: auto !important;
}
.node-gift-request-form .cke_bottom{
	display: none;
}
/* paragraph field */
.node-gift-request-form .field--widget-entity-reference-paragraphs .delta-order {
	display: none;
}
.node-gift-request-form table {
  min-width: 400px;
  width: 50%;
}
.node-gift-request-form table input:not([type='submit']){
  width: auto;
}

@media screen and (max-width: 991px) {
  .node-gift-request-form input:not([type='submit']):not([type='radio']):not([type='checkbox']) {
    width: 60%;
  }
  .node-gift-request-form textarea, select {
    width: 60% !important;
  }
  .node-gift-request-form table {
    width: 60%;
  }
}
@media screen and (max-width: 767px) {
  .node-gift-request-form input:not([type='submit']):not([type='radio']):not([type='checkbox']) {
    width: 75%;
  }
  .node-gift-request-form textarea, .node-gift-request-form select {
    width: 75% !important;
  }
  .node-gift-request-form table {
    min-width: unset;
    width: 75%;
  }
}
@media screen and (max-width: 635px) {
  .node-gift-request-form input:not([type='submit']):not([type='radio']):not([type='checkbox']) {
    width: 100%;
  }
  .node-gift-request-form textarea, .node-gift-request-form select {
    width: 100% !important;
  }
  .node-gift-request-form table {
    width: 100%;
  }
  .node-gift-request-form table#field-gifts-values div.field--name-field-gift-item input:not([type='submit']){
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
  .node-gift-request-form {
    padding: 15px;
  }
  .node-gift-request-form .tabledrag-handle {
    width: 28px !important;
  }
}

/* node edit form */
@media screen and (min-width: 767px){
	.node-gift-request-edit-form {
		background-color: #f3f3f3;
		padding: 30px;
		margin-top: 0;
	}
}
@media screen and (max-width: 991px) {
  .node-gift-request-edit-form input:not([type='submit']):not([type='radio']):not([type='checkbox']) {
    width: 60%;
  }
  .node-gift-request-edit-form textarea, select {
    width: 60% !important;
  }
  .node-gift-request-edit-form table {
    width: 60%;
  }
  .node-gift-request-edit-form table input:not([type='submit']){
    width: auto;
  }
}
@media screen and (max-width: 767px) {
  .node-gift-request-edit-form input:not([type='submit']):not([type='radio']):not([type='checkbox']) {
    width: 75%;
  }
  .node-gift-request-edit-form textarea, .node-gift-request-form select {
    width: 75% !important;
  }
  .node-gift-request-edit-form table {
    min-width: unset;
    width: 75%;
  }
  .node-gift-request-edit-form table input:not([type='submit']){
    width: auto;
  }
}
@media screen and (max-width: 635px) {
  .node-gift-request-edit-form input:not([type='submit']):not([type='radio']):not([type='checkbox']) {
    width: 100%;
  }
  .node-gift-request-edit-form textarea, .node-gift-request-form select {
    width: 100% !important;
  }
  .node-gift-request-edit-form table {
    width: 100%;
  }
  .node-gift-request-edit-form table#field-gifts-values div.field--name-field-gift-item input:not([type='submit']){
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
  .node-gift-request-edit-form {
    padding: 15px;
  }
  .node-gift-request-edit-form .tabledrag-handle {
    width: 28px !important;
  }
}

.node-gift-request-edit-form > div {
	margin-bottom: 15px;
}

.node-gift-request-edit-form label {
	display: block;
	font-size: 16px;
}
.node-gift-request-edit-form #edit-field-status {
	margin-left: 15px;
}
.node-gift-request-edit-form fieldset legend {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 10px;
}
.node-gift-request-edit-form fieldset label {
	display: inline-block;
	margin-left: 10px;
	font-weight: normal;
}
.node-gift-request-edit-form fieldset input {
	width: auto !important;
}
.node-gift-request-edit-form .field--widget-boolean-checkbox label {
  display: inline;
}
.node-gift-request-edit-form input:not([type='submit']) {
	padding-left: 20px;
}
.node-gift-request-edit-form textarea {
	margin-left: 0 !important;
}
.node-gift-request-edit-form #edit-field-message-wrapper {
	width: 100%;
}
.node-gift-request-edit-form #edit-actions, #edit-reject-request {
	margin: auto;
	display: inline-block;
}
.node-gift-request-edit-form #edit-reject-request input{
	min-width: 100px;
}
.node-gift-request-edit-form #edit-actions input{
	margin-right: 30px;
	min-width: 100px;
}
.node-gift-request-edit-form .cke_contents{
	height: auto !important;
}
.node-gift-request-edit-form .cke_bottom{
	display: none;
}

/* Paragraph field in Request edit form*/
.node-gift-request-edit-form .field--widget-entity-reference-paragraphs .delta-order {
	display: none;
}

.simr-user .field--type-email input{
    height: 40px;
    width: 40%;
    padding: 15px 30px;
    font-size: 14px;
    line-height: 1.7em;
    color: #858585;
    background-color: #fff;
    background-image: none;
    border: 1px solid #d5d5d5;
    border-radius: 0;
}
.simr-user .field--type-address input{
    height: 40px;
    width: 40%;
    padding: 15px;
    font-size: 14px;
    line-height: 1.7em;
    color: #858585;
    background-color: #fff;
    background-image: none;
    border: 1px solid #d5d5d5;
    border-radius: 0;
    margin-bottom: 10px;
}

.simr-user select{
    height: 40px;
    width: 40%;
    padding: 5px 15px;
    font-size: 14px;
    margin-bottom: 10px;
    color: #858585;
}

.simr-user .field--type-address div.address-container-inline > .form-item {
	width: 100%;
}

form .tabledrag-handle .handle {
  padding: 1em !important;
  margin: 0 auto;
  background-position: center !important;
}
form .tabledrag-toggle-weight-wrapper {
  display: none !important;
}
form .field-label h4.label {
  display: block;
  font-size: 16px;
  color: #333;
  text-align: left;
  margin-top: 0;
  border-bottom: 1px solid #888;
  border-radius: 0;
  padding: 0.75em;
}
form .draggable {
  border-bottom: 1px solid;
}
form .draggable input:not([type='submit']){
  border: 1px solid #d5d5d5;
  padding: 15px;
}
form th.tabledrag-hide {
  display: none;
}

/* reference field autocomplete listing */
.ui-menu .ui-menu-item a {
	display: block;
	font-size: 14px;
	text-align: left;
	padding: 5px 15px;
}

form.openid-connect-login-form {
  margin-top: 0;
  padding: 30px;
}

.openid-connect-login-form input.form-submit {
  text-align: center;
  color: #000;
  background-color: #ffcc29;
  padding: 0px 25px;
  line-height: 40px;
  font-size: 1em;
  font-weight: bold;
  border-radius: 6px;
  border: none;
  transition: 0.2s ease-in-out all;
}
