/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.428571429;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/**
 * 1. Prevent padding and border from affecting element width
 * https://goo.gl/pYtbK7
 * 2. Change the default font family in all browsers (opinionated)
 */
html {
  box-sizing: border-box;
  /* 1 */
  font-family: sans-serif;
  /* 2 */
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/**
 * Removes the default spacing and border for appropriate elements.
 */
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
pre {
  margin: 0;
}

button {
  background: transparent;
  padding: 0;
}

/**
 * Work around a Firefox/IE bug where the transparent `button` background
 * results in a loss of the default `button` focus styles.
 */
button:focus {
  outline: 1px dotted;
  outline: 5px auto -webkit-focus-ring-color;
}

fieldset {
  margin: 0;
  padding: 0;
}

.ehq-participant-header ol,
.ehq-participant-header ul,
.ehq-participant-footer ol,
.ehq-participant-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/**
 * Allow adding a border to an element by just adding a border-width.
 *
 * By default, the way the browser specifies that an element should have no
 * border is by setting it's border-style to `none` in the user-agent
 * stylesheet.
 *
 * In order to easily add borders to elements by just setting the `border-width`
 * property, we change the default border-style for all elements to `solid`, and
 * use border-width to hide them instead. This way our `border` utilities only
 * need to set the `border-width` property instead of the entire `border`
 * shorthand, making our border utilities much more straightforward to compose.
 *
 * https://github.com/tailwindcss/tailwindcss/pull/116
 */
*,
*::before,
*::after {
  border-width: 0;
  border-style: solid;
  border-color: #e2e8f0;
}

/*
 * Ensure horizontal rules are visible by default
 */
hr {
  border-top-width: 1px;
}

/**
 * Undo the `border-style: none` reset that Normalize applies to images so that
 * our `border-{width}` utilities have the expected effect.
 *
 * The Normalize reset is unnecessary for us since we default the border-width
 * to 0 on all elements.
 *
 * https://github.com/tailwindcss/tailwindcss/issues/362
 */
img {
  border-style: solid;
}

textarea {
  resize: vertical;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: #a0aec0;
}

input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
  color: #a0aec0;
}

input::placeholder,
textarea::placeholder {
  color: #a0aec0;
}

button,
[role="button"] {
  cursor: pointer;
}

table {
  border-collapse: collapse;
}

.ehq-participant-header h1,
.ehq-participant-footer h1,
.ehq-participant-header h2,
.ehq-participant-footer h2,
.ehq-participant-header h3,
.ehq-participant-footer h3,
.ehq-participant-header h4,
.ehq-participant-footer h4,
.ehq-participant-header h5,
.ehq-participant-footer h5,
.ehq-participant-header h6,
.ehq-participant-footer h6 {
  font-size: inherit;
  font-weight: inherit;
}

/**
 * Reset links to optimize for opt-in styling instead of
 * opt-out.
 */
a {
  color: inherit;
  text-decoration: inherit;
}

/**
 * Reset form element properties that are easy to forget to
 * style explicitly so you don't inadvertently introduce
 * styles that deviate from your design system. These styles
 * supplement a partial reset that is already applied by
 * normalize.css.
 */
button,
input,
optgroup,
select,
textarea {
  padding: 0;
  line-height: inherit;
  color: inherit;
}

/**
 * Use the configured 'mono' font family for elements that
 * are expected to be rendered with a monospace font, falling
 * back to the system monospace stack if there is no configured
 * 'mono' font family.
 */
pre,
code,
kbd,
samp {
  font-family: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/**
 * Make replaced elements `display: block` by default as that's
 * the behavior you want almost all of the time. Inspired by
 * CSS Remedy, with `svg` added as well.
 *
 * https://github.com/mozdevs/cssremedy/issues/14
 */
 .ehq-participant-header img,
 .ehq-participant-header video,
 .ehq-participant-header canvas,
 .ehq-participant-header audio,
 .ehq-participant-header iframe,
 .ehq-participant-header embed,
 .ehq-participant-header object,
 .ehq-participant-footer img,
 .ehq-participant-footer video,
 .ehq-participant-footer canvas,
 .ehq-participant-footer audio,
 .ehq-participant-footer iframe,
 .ehq-participant-footer embed,
 .ehq-participant-footer object {
   display: block;
   vertical-align: middle;
 }

/**
 * Constrain images and videos to the parent width and preserve
 * their instrinsic aspect ratio.
 *
 * https://github.com/mozdevs/cssremedy/issues/14
 */
img,
video {
  max-width: 100%;
  height: auto;
}

/*
 * Custom styles for EHQ Footer
 */
.ehq-participant-footer {
  font-size: 14px;
  display: flex;
  align-items: center;
  padding: 20px;
  position: absolute;
  width: 100%;
  justify-content: space-between;
}

.ehq-participant-footer a {
  color: inherit;
  text-decoration: none;
}

.ehq-participant-footer--is-loading {
  height: 95px;
}

.ehq-participant-footer__social-links {
  display: flex;
  margin-right: 50px;
}

.ehq-participant-footer__social-links__link:not(:last-child) {
  margin-right: 10px;
}

.ehq-participant-footer__static-pages {
  display: flex;
  margin-right: 30px;
  width: calc(100vw - 250px);
  flex-wrap: wrap;
}

.ehq-participant-footer__static-pages__link:not(:last-child) {
  margin-right: 20px;
}

.ehq-participant-footer__static-pages__link:hover {
  text-decoration: underline;
}

@media only screen and (max-width: 992px) {
  .ehq-participant-footer {
    flex-direction: column;
    justify-content: center;
  }
  .ehq-participant-footer--is-loading {
    height: 150px;
  }
  .ehq-participant-footer__social-links {
    margin-right: 0;
    margin-bottom: 20px;
    justify-content: center;
    font-size: 20px;
  }
  .ehq-participant-footer__static-pages {
    margin-right: 0;
    justify-content: center;
    width: 100%;
  }
  .ehq-participant-footer__static-pages__link {
    margin-bottom: 20px;
  }
  .ehq-participant-footer__static-pages__link:not(:last-child) {
    margin-right: 20px;
  }
}

/*
 * Custom styles for EHQ Header
 */
.ehq-participant-header {
  font-size: 14px;
  align-items: center;
  padding: 5px 20px;
  width: 100%;
  justify-content: space-between;
  box-shadow: 0 1px 4px rgba(0,21,41,.2);
  position: relative;
}

.ehq-participant-header a {
  color: inherit;
  text-decoration: none;
}

.ehq-participant-header--is-loading {
  height: 60px;
}

.ehq-participant-header--desktop-menu {
  display: flex;
}

.ehq-participant-header--mobile-menu {
  display: none;
}

.ehq-participant-header__left-menu {
  width: 20%;
}

.ehq-participant-header__right-menu {
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: 10px;
}

.ehq-participant-header__right-menu-auth-links {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ehq-participant-header .logo__image {
  max-height: 50px;
}

.ehq-participant-header .nav-links {
  display: flex;
  margin-right: 20px;
  justify-content: flex-end;
}

.ehq-participant-header .nav-links__list {
  display: flex;
  margin: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ehq-participant-header .nav-links__list__list-item {
  font-weight: bold;
  overflow: hidden;
  white-space: normal;
  text-overflow: ellipsis;
}

.ehq-participant-header .nav-links__list__list-item__child {
  position: absolute;
  margin-top: 5px;
  border: 1px solid #E8E8E8;
  z-index: 1;
  width: 200px;
}

.ehq-participant-header .nav-links__list__list-item__child .nav-links__list__list-item {
  font-weight: normal;
}

.ehq-participant-header .nav-links__list__list-item__child .nav-links__list__list-item__child {
  position: absolute;
  top: -6px;
  left: 198px;
  width: 200px;
  padding: 0;
}

.ehq-participant-header .nav-links__list__list-item__child .nav-links__list__list-item {
  margin-right: 0;
}

.ehq-participant-header .nav-links__list__list-item__child .nav-links__list__list-item:not(:last-child) {
  border-bottom: 1px solid #e8e8e8;
}

.ehq-participant-header .nav-links__list__list-item > .mm-collapsing {
  position: absolute;
}

.ehq-participant-header .nav-links__list__list-item__link {
  padding: 5px;
  margin: 5px;
  display: block;
  overflow-x: hidden;
  white-space: normal;
  text-overflow: ellipsis;
}

.ehq-participant-header .search-bar {
  margin-right: 20px;
}

.ehq-participant-header .search-bar__input {
  border-radius: 4px;
  background: transparent;
  padding: 4px 12px 4px 28px;
  width: 150px;
  box-shadow: none;
}

.ehq-participant-header .search-bar__container{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.ehq-participant-header .icon {
  position: absolute;
  left: 12px;
  top: 0;
  font-size: 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ehq-participant-header .auth-links {
  display: flex;
}

.ehq-participant-header .auth-links__list {
  display: flex;
  margin: 0;
  z-index: 1000 !important;
}

.ehq-participant-header .auth-links__list__list-item {
  font-weight: bold;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
/* .ehq-participant-header .auth-links__list__list-item__child .auth-links__list__list-item{
  padding-left: 20px;
} */
.auth-links-container{
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.ehq-participant-header .auth-links__list__list-item__child {
  position: absolute;
  margin-top: 5px;
  border: 1px solid #E8E8E8;
  z-index: 1;
  width: 200px;
  right: 20px;
}

.ehq-participant-header .auth-links__list__list-item__child .auth-links__list__list-item {
  font-weight: normal;
}

.ehq-participant-header .auth-links__list__list-item__child .auth-links__list__list-item:not(:last-child) {
  border-bottom: 1px solid #e8e8e8;
}
.ehq-participant-header .auth-links__list__list-item .auth-links__list__list-item:not(:last-child){
  border-bottom: 1px solid #e8e8e8;
}

.ehq-participant-header .auth-links__list__list-item__child .auth-links__list__list-item__child {
  position: absolute;
  top: -6px;
  left: 198px;
  width: 200px;
  padding: 0;
}

.ehq-participant-header .auth-links__list__list-item__child .auth-links__list__list-item__child .auth-links__list__list-item {
  margin-right: 0;
}

.ehq-participant-header .auth-links__list__list-item__child .auth-links__list__list-item__child .auth-links__list__list-item:not(:last-child) {
  border-bottom: 1px solid #e8e8e8;
}

.ehq-participant-header .auth-links__list__list-item > .mm-collapsing {
  position: absolute;
}

.ehq-participant-header .auth-links__list__list-item__link {
  padding: 5px;
  margin: 5px;
  display: block;
}
.ehq-participant-header .profile-info {
  margin: 5px;
  padding: 5px;
  display: block;
}

.ehq-participant-header .auth-links__list__list-item__link .link__user-initials{
  padding: 1rem;
  background-color: #eee;
  border-radius: 4px;
}

@media only screen and (max-width: 992px) {
  .ehq-participant-header {
    padding: 20px;
  }
  .ehq-participant-header--is-loading {
    height: 90px;
  }
  .ehq-participant-header--desktop-menu {
    display: none;
  }
  .ehq-participant-header--mobile-menu {
    display: flex;
    flex-direction: column;
  }
  .ehq-participant-header__logo-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .ehq-participant-header__logo-container .logo {
    width: 60%;
  }
  .ehq-participant-header__logo-container .hamburger-icon {
    font-size: 35px;
    display: flex;
  }
  .ehq-participant-header__logo-container .hamburger-icon:hover {
    cursor: pointer;
  }
  .ehq-participant-header__logo-container span{
    display: flex;
  }
  .ehq-participant-header__mobile-menu-items {
    width: 100%;
    padding: 10px;
    box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
  }
  .ehq-participant-header .nav-links {
    margin-right: 0;
    width: 100%;
    z-index: 1;
  }
  .ehq-participant-header .nav-links__list {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .ehq-participant-header .nav-links__list__list-item {
    margin-right: 0;
    width: 100%;
    margin-left: 0;
    border-bottom: 1px solid #e8e8e8;
  }
  .ehq-participant-header .nav-links__list__list-item__child {
    position: relative;
    margin-top: 0;
    background: inherit;
    border: none;
    width: 100%;
    margin-left: 30px;
  }
  .ehq-participant-header .nav-links__list__list-item__child .nav-links__list__list-item {
    border-bottom: none;
    font-weight: normal;
  }
  .ehq-participant-header .nav-links__list__list-item__child .nav-links__list__list-item__child {
    position: relative;
    width: 100%;
    left: 0;
    top: 0;
  }
  .ehq-participant-header .nav-links__list__list-item__child .nav-links__list__list-item__child .nav-links__list__list-item:not(:last-child) {
    border-bottom: none;
  }
  .ehq-participant-header .nav-links__list__list-item__link {
    padding: 10px;
  }
  .ehq-participant-header .auth-links {
    width: 100%;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 20px;
  }
  .ehq-participant-header .auth-links__list {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .ehq-participant-header .auth-links__list__list-item__child {
    position: relative;
    margin-top: 0;
    background: inherit;
    border: none;
    width: 100%;
    right: 0;
  }
  .ehq-participant-header .auth-links__list__list-item__child {
    border-bottom: none !important;
  }
  .ehq-participant-header .auth-links__list__list-item__link {
    padding: 10px;
  }
  .ehq-participant-header .search-bar {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }
  .ehq-participant-header .search-bar__input {
    width: 100%;
    height: 50px;
  }
}

/*
 * CSS overrides for Header on the admin side for home-page
 */
.home-page-viewer-container .ehq-participant-header--desktop-menu {
  display: none;
  overflow-y: hidden;
  position: relative;
}
.home-page-viewer-container .ehq-participant-header--mobile-menu {
  display: flex;
  overflow-y: hidden;
  position: relative;
}
.home-page-viewer-container .ehq-participant-header--mobile-menu {
  display: flex;
  flex-direction: column;
}
.home-page-viewer-container .ehq-participant-header--mobile-menu .ehq-participant-header__logo-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.home-page-viewer-container .ehq-participant-header--mobile-menu .ehq-participant-header__logo-container .logo {
  width: 100%;
}
.home-page-viewer-container .ehq-participant-header--mobile-menu .ehq-participant-header__logo-container .hamburger-icon {
  font-size: 35px;
  display: flex;
}
.home-page-viewer-container .ehq-participant-header--mobile-menu .ehq-participant-header__logo-container .hamburger-icon:hover {
  cursor: pointer;
}
.frame-content .ehq-participant-header--desktop-menu {
  overflow-y: hidden;
  position: relative;
}


/*
 * CSS overrides for Header on the admin side for hub-page
 */
 .hub-page-viewer-container .ehq-participant-header--desktop-menu {
  display: none;
  overflow-y: hidden;
  position: relative;
}

.hub-page-viewer-container .ehq-participant-header--mobile-menu {
  display: flex;
  overflow-y: hidden;
  position: relative;
}

.hub-page-viewer-container .ehq-participant-header--mobile-menu {
  display: flex;
  flex-direction: column;
}

.hub-page-viewer-container .ehq-participant-header--mobile-menu .ehq-participant-header__logo-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hub-page-viewer-container .ehq-participant-header--mobile-menu .ehq-participant-header__logo-container .logo {
  width: 100%;
}

.hub-page-viewer-container .ehq-participant-header--mobile-menu .ehq-participant-header__logo-container .hamburger-icon {
  font-size: 35px;
  display: flex;
}

.hub-page-viewer-container .ehq-participant-header--mobile-menu .ehq-participant-header__logo-container .hamburger-icon:hover {
  cursor: pointer;
}

.frame-content .ehq-participant-header--desktop-menu {
  overflow-y: hidden;
  position: relative;
}

/*
 * CSS overrides for Ant Design
 */
.ant-layout .logo-container {
	height: 66px;
}
.ant-layout .logo-container > .logo {
	display: inline-block;
	margin: 13px !important;
}
.ant-layout .ant-layout-header {
  height: 66px !important;
  line-height: 66px !important;
}
.ant-layout img,
.ant-layout svg,
.ant-layout video,
.ant-layout canvas,
.ant-layout audio,
.ant-layout iframe,
.ant-layout embed,
.ant-layout object {
	vertical-align: initial;
}
.ant-layout .anticon svg {
  display: block !important;
}

.hamburger-icon {
  background-color: white;
  border-radius: 2px;
}

#SignUpEntry #g-recaptcha div:first-child {
  margin: 10px auto;
}

@media only screen and (max-width: 600px) {
  .ehq-participant-header {
    padding: 8px 12px;
  }
  .free-style-img {
    height: 100px;
    width: 100px;
    max-width: 100px;
  }
  .free-style-text {
    padding: 0 0 0 20px;
  }
}

.avatar-button, .ehq-participant-header .auth-links .auth-links__list__list-item .dummy-avatar-icon {
  margin: 0 8px;
}
.profile-menu-button {
  display: flex;
  align-items: center;
}
.avatar {
  display: flex;
  margin: 0 8px;
}
.user-settings-avatar-small {
  width: 38px;
  height: 39px;
  display: inline;
  object-fit: cover;
  border-radius: 50%;
  vertical-align: middle;
}
