html[theme=dark] {
  --header-background-color: black;
  --logo-text-color: white;
  --logo-image: url(https://headfone-images.s3.amazonaws.com/logo-white.png);
  --options-background-color: #151518;
  --options-content-side-border-color: rgba(0,0,0,0);
  --options-content-bottom-border-color: #151518;
  --options-content-hover-color: #333333;
  --devider-color: #333333;
  --border-color: #333333;
  --sign-in-display: block;
  --upload-button-display: block;
  --sign-in-botton-color: white;
  --sign-in-botton-text: black;
  --horizontal-divider-color: #212529;
}

html, html[theme=light] {
  --header-background-color: white;
  --logo-text-color: black;
  --logo-image: url(https://headfone-images.s3.amazonaws.com/logo-black.png);
  --options-background-color: #F4F4F4;
  --options-content-side-border-color: rgba(0,0,0,0);
  --options-content-bottom-border-color: #EAEAEA;
  --options-content-hover-color: #CCCCCC;
  --devider-color: #CCCCCC;
  --border-color: #CCCCCC;
  --sign-in-display: block;
  --upload-button-display: none;
  --sign-in-botton-color: black;
  --sign-in-botton-text: white;
  --horizontal-divider-color: #E9ECEF;
}

html[client=paytm] {
  --sign-in-display: none;
}

@font-face {
  font-family: "Header Title";
  src: url('/static/fonts/ProductSansRegular.woff2') format('woff2'), local('Copperplate');
}

@font-face {
  font-family: "Work Sans";
  src: local('Work Sans'), url('/static/fonts/WorkSans.ttf') format('truetype');
  font-weight: 1 1000;
}

.header-items-wrapper {
  width: 100%;
  height: 60px;
  position: fixed;
  display: table;
  text-align: initial;
  background-color: var(--header-background-color);
  z-index: 1000;
  top: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.07);
  border-bottom: 2.3px solid var(--horizontal-divider-color);
  padding: 0 !important;
  margin: 0 !important;
}

.header-items-row {
  display: table-cell;
  vertical-align: middle;
}

.header-title {
  margin-left: 3%;
  text-decoration: none !important;
}

.header-title-text {
  color: var(--logo-text-color);
  font-family: "Header Title";
  font-size: 30px;
  letter-spacing: 1px;
  vertical-align: middle;
  margin-left: 4px;
}

.header-title-logo, .header-title-logo:hover {
  display: inline-block;
  width: 36px;
  height: 36px;
  background-image: var(--logo-image);
  background-size: 36px 36px;
  vertical-align: middle;
}

.header-options {
  position: relative;
  float: right;
  margin-right: 40px;
}

.header-options-button {
  width: 36px;
  height: 36px;
  cursor: pointer;
  border: solid 2px white;
  border-radius: 50%;
}

.header-options-content {
  display: none;
  position: absolute;
  left: -128px;
  z-index: 1;
  min-width: 190px;
  margin-top: 8px;
  background-color: var(--options-background-color);
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  border: 1px solid var(--border-color);
}

.header-options-content::before {
  border-bottom: 9px solid var(--options-content-bottom-border-color);
  border-left: 9px solid var(--options-content-side-border-color);
  border-right: 9px solid var(--options-content-side-border-color);
  content: "";
  display: inline-block;
  left: 135px;
  position: absolute;
  top: -10px;
}

.header-options-content::after {
  border-bottom: 8px solid var(--options-content-bottom-border-color);
  border-left: 9px solid var(--options-content-side-border-color);
  border-right: 9px solid var(--options-content-side-border-color);
  content: "";
  display: inline-block;
  left: 135px;
  position: absolute;
  top: -8px;
}

.header-options-content a {
  color: var(--primary-text-color);
  font-family: Helvetica;
  font-size: 14px;
  font-weight: 100;
  letter-spacing: 1px;
  padding: 8px 16px;
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.header-options-content a:hover {
  background-color: var(--options-content-hover-color);
}

.header-options:hover .header-options-content {
  display: block;
}

.header-options:hover .header-options-button {
  color: #1B5E20;
}

.header-horizontal-divider {
  margin: 0;
  padding: 0;
  border: 1px solid var(--devider-color);
}

.sign-in-button {
  cursor: pointer;
  display: var(--sign-in-display);
  position: relative;
  float: right;
  margin-right: 40px;
  padding: 8px 12px;
  color: var(--sign-in-botton-text);
  background-color: var(--sign-in-botton-color);
  border: none;
  border-radius: 32px;
  font-family: Work Sans;
  font-size: 16px;
  font-weight: bold;
  height: 40px;
  width: 90px;
  text-align: center;
}

.header-upload-button {
  display: var(--upload-button-display);
  width: 40px;
  height: 40px;
  display: inline-block;
  margin-right: 40px;
  padding: 0px;
  cursor: pointer;
  opacity: 0.9;
}

.header-upload-button:hover {
  opacity: 1.0;
}

.logged-in-header {
  float: right;
  display: flex;
  gap: 16px;
  align-items: center;
}

/* small devices such as iphone4/5 */
@media only screen and (max-width: 520px) {
  .header-title-logo, .header-title-logo:hover {
    display: inline-block;
    width: 28px;
    height: 28px;
    background-image: var(--logo-image);
    background-size: 28px 28px;
    vertical-align: middle;
  }

  .header-title-text {
    color: var(--logo-text-color);
    font-family: "Header Title";
    font-size: 23px;
    letter-spacing: 1px;
    vertical-align: middle;
    margin-left: 2px;
  }

  .sign-in-button {
    margin-right: 25px;
    padding: 6px 10px;
    color: var(--sign-in-botton-text);
    background-color: var(--sign-in-botton-color);
    border: none;
    border-radius: 4px;
    font-family: Work Sans;
    font-size: 13px;
    font-weight: bold;
    height: 32px;
    width: 70px;
    text-align: center;
  }

  .header-options{
    margin-right: 2.5vw;
  }
}

/* Tablets */
@media (min-width: 520px) and (max-width: 1024px) {
  .header-title-logo, .header-title-logo:hover {
    display: inline-block;
    width: 28px;
    height: 28px;
    background-image: var(--logo-image);
    background-size: 28px 28px;
    vertical-align: middle;
  }

  .header-title-text {
    color: var(--logo-text-color);
    font-family: "Header Title";
    font-size: 23px;
    letter-spacing: 1px;
    vertical-align: middle;
    margin-left: 2px;
  }

  .sign-in-button {
    margin-right: 25px;
    padding: 6px 10px;
    color: var(--sign-in-botton-text);
    background-color: var(--sign-in-botton-color);
    border: none;
    border-radius: 4px;
    font-family: Work Sans;
    font-size: 13px;
    font-weight: bold;
    height: 32px;
    width: 70px;
    text-align: center;
  }

}


.modal-dialog {
  width: 100%;
  margin: 0px auto;
  text-align: center;
}

.modal-body {
  padding: 10px;
}

.modal-content-section {
  padding: 0px 30px 50px;
}

.welcome {
  width: 100%;
  margin: 30px 0;
  font-size: 22px;
  font-family: "sans-serif";
  font-weight: 600;
  text-align: center;
}

.google-sign-in {
  width: 80%;
  margin-top: 20px;
  height: 42px;
  border: none;
  background: url('https://headfone-images.s3.amazonaws.com/web/icons/sign-in-google.png');
  background-size: 100% 100%;
}

.fb-sign-in {
  width: 80%;
  margin-top: 10px;
  height: 42px;
  border: none;
  background: url('https://headfone-images.s3.amazonaws.com/web/icons/sign-in-fb.png');
  background-size: 100% 100%;
}

.input-invite-token {
  width: 100%;
  margin: 10px 0;
  height: 42px;
  padding: 8px 20px;
  border: 1px solid #979797;
  border-radius: 3px;
}

.input-invite-token:focus {
  outline: solid 1px grey;
}

.ask-invite-token {
  font-size: 12px;
  font-family: Helvetica;
  color: #666666;
  text-decoration: none;
}

.ask-invite-token:hover {
  color: #333333;
  text-decoration: none;
}

.sign-in-horizontal-divider {
  display: block;
  width: 100%;
  background-color: #979797;
  height: 1px;
  margin-top: 25px;
}

.sign-in-wrapper{
  display: inline;
}

@media only screen and (min-width: 768px) {
  .modal-dialog {
    width: 400px;
    margin: 10px auto;
  }
}