﻿
@font-face {
 font-family: "bariol_regularregular";
 font-style: normal;
 font-weight: normal;
 src: url("https://cdn.catglobe.com/fonts/bariol_regular-webfont.eot?#iefix") format("embedded-opentype"),url("https://cdn.catglobe.com/fonts/bariol_regular-webfont.woff2") format("woff2"),url("https://cdn.catglobe.com/fonts/bariol_regular-webfont.woff") format("woff"),url("https://cdn.catglobe.com/fonts/bariol_regular-webfont.ttf") format("truetype"),url("https://cdn.catglobe.com/fonts/bariol_regular-webfont.svg#bariol_regularregular") format("svg")
}

@font-face {
 font-family: "sohne";
 font-style: normal;
 font-weight: 200;
 src: url("https://cdn.catglobe.com/fonts/Sohne/Extraleicht.otf") format("opentype")
}

@font-face {
 font-family: "sohne";
 font-style: normal;
 font-weight: 300;
 src: url("https://cdn.catglobe.com/fonts/Sohne/Leicht.otf") format("opentype")
}

@font-face {
 font-family: "sohne";
 font-style: normal;
 font-weight: 400;
 src: url("https://cdn.catglobe.com/fonts/Sohne/Buch.otf") format("opentype")
}

@font-face {
 font-family: "sohne";
 font-style: italic;
 font-weight: 400;
 src: url("https://cdn.catglobe.com/fonts/Sohne/BuchKursiv.otf") format("opentype")
}

@font-face {
 font-family: "sohne";
 font-style: normal;
 font-weight: normal;
 src: url("https://cdn.catglobe.com/fonts/Sohne/Buch.otf") format("opentype")
}

@font-face {
 font-family: "sohne";
 font-style: italic;
 font-weight: normal;
 src: url("https://cdn.catglobe.com/fonts/Sohne/BuchKursiv.otf") format("opentype")
}

@font-face {
 font-family: "sohne";
 font-style: normal;
 font-weight: 500;
 src: url("https://cdn.catglobe.com/fonts/Sohne/Kraftig.otf") format("opentype")
}

@font-face {
 font-family: "sohne";
 font-style: italic;
 font-weight: 500;
 src: url("https://cdn.catglobe.com/fonts/Sohne/KraftigKursiv.otf") format("opentype")
}

@font-face {
 font-family: "sohne";
 font-style: normal;
 font-weight: 600;
 src: url("https://cdn.catglobe.com/fonts/Sohne/Halbfett.otf") format("opentype")
}

@font-face {
 font-family: "sohne";
 font-style: italic;
 font-weight: 600;
 src: url("https://cdn.catglobe.com/fonts/Sohne/HalbfettKursiv.otf") format("opentype")
}

@font-face {
 font-family: "sohne";
 font-style: normal;
 font-weight: 700;
 src: url("https://cdn.catglobe.com/fonts/Sohne/Dreiviertelfett.otf") format("opentype")
}

@font-face {
 font-family: "sohne";
 font-style: normal;
 font-weight: bold;
 src: url("https://cdn.catglobe.com/fonts/Sohne/Dreiviertelfett.otf") format("opentype")
}

@font-face {
 font-family: "sohne";
 font-style: normal;
 font-weight: 800;
 src: url("https://cdn.catglobe.com/fonts/Sohne/Fett.otf") format("opentype")
}

@font-face {
 font-family: "at-raelm-book";
 font-style: normal;
 font-weight: normal;
 src: url("https://cdn.catglobe.com/fonts/AT-Realm-Book.otf") format("opentype")
}

* {
 box-sizing: border-box;
}

#loginBackground {
 font-family: "sohne";
 align-items: center;
 font-size: 12px;
 line-height: 18px;
 letter-spacing: 0.2px;
 font-variation-settings: "wght" 400, "opsz" 8, 'liga' off, 'clig' off;
 /*background-image: url(background.webp);*/
 background-color: #F6F4EF;
 background-position: center;
 background-repeat: no-repeat;
 background-size: cover;
 bottom: 0;
 display: grid;
 gap: 0px 40px;
 grid-template-areas: "Login Help";
 grid-template-columns: 1fr 1.5fr;
 grid-template-rows: 1fr;
 left: 0;
 overflow: hidden;
 padding: 40px;
 position: fixed;
 right: 0;
 top: 0;

 @media (prefers-color-scheme: dark) {
  background-color: #141414;
 }

 @media (max-width: 768px) {
  gap: 10px 10px;
  grid-template-areas: "Login" "Help";
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 2fr;
  overflow: initial;
  padding: 10px;
 }
}

#loginBackground.hidehelp {
 grid-template-areas: "Login";
 grid-template-columns: 1fr;
 grid-template-rows: 1fr;
}
#loginBackground.hidehelp #help {
 display: none;
}

#help {
 background: linear-gradient(rgba(var(--l), var(--l-f)), rgba(var(--l), var(--l-t)));
 grid-area: Help;
 height: 100%;
 padding: 20px;
 overflow: auto;
}

.videos {
 display: flex;
 flex-flow: wrap;
 justify-content: space-around;
}
 .videos a {
  background-color: rgba(255,255,255,0.5);
  width: 100px;
  height: 80px;
  border-radius: 15px;
  font-weight: 600;
  color: #000;
  display: flex;
  justify-content: center;
  align-items: end;
  text-align: center;
  margin: 4px;
  padding: 10px 20px;
  position: relative
 }
  .videos a::before {
   content: "";
   position: absolute;
   background-image: url(yt.svg);
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
   top: 6px;
   height: 40px;
   left: 30px;
   right: 30px;
   margin: 0 auto;
   border-radius: 15px;
   opacity: 0.7;
  }

#loginLogo {
 /*height: auto;
 margin-bottom: 10px;
 object-fit: contain;
 width: 100%;
 max-width: 200px;
 content: url(catglobe_orange.svg);*/

 &:before {
  content: 'CEM Intelligence';
  display: block;
  align-self: center;
  color: #242424;
  text-align: center;
  font-family: "at-raelm-book";
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 38px;
 }

 &:after {
  content: 'by Voxmeter';
  display: block;
  color: #616161;
  text-align: center;
  align-self: center;
  font-feature-settings: 'liga' off, 'clig' off;
  /* p-h6-default/Regular */
  font-family: sohne;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
 }
}

#loginbody {
 grid-area: Login;
 /*background-color: transparent;*/
 /*min-height: 300px;*/
 display: flex;
 flex-direction: column;
 /*text-align: center;*/
 width: 512px;
 padding: 32px 32px 24px 32px;
 align-self: center;
 justify-self: center;
 background: #FFF;
 border-radius: 8px;
 justify-content: center;
 align-items: center;
 gap: 40px;

 & > form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
 }
}

.login-or-seperator {
 display: flex;
 flex-direction: row;
 width: 100%;
 align-items: center;
 color: #616161;
 padding-block: 28px;

 &:before, &:after {
  content: ' ';
  display: inline-block;
  width: auto;
  flex-grow: 1;
  height: 1px;
  background: #CCC;
  margin-inline: 8px;
 }
}


.field-validation-error {
 color: red;
}

input {
 border-radius: 4px;
 display: block;
 height: 48px;
 width: 100%;
 transition: all 0.4s;
 border: 1px solid #CCC;
 outline: none;
 padding: 24px 12px;
 align-items: center;

 &:is(:-webkit-autofill, :autofill, :-internal-autofill-selected) {
  /* hack to prevent browser shitty colors */
  transition: background-color 0s 600000s, color 0s 600000s !important;
  filter: none;

  border: 1px solid rgb(var(--cg));
 }
}

@media (prefers-color-scheme: dark) {
 input {
  background-color: #1F1F1F;
  color: #fff;
 }
}

fieldset div {
 display: flex;
 justify-content: normal;
 align-items: center;
}
fieldset input {
 width: 40px;
 display: unset;
 margin: 3px;
}

.forgot-password {
 display: content;
 padding-bottom: 20px;

 & a {
  text-decoration: none;
  font-weight: 500;
  color: #000;
 
  &:hover{
      background: rgba(0,0,0,0.05);
  }
 }
}

label{
    color: #000;
    font-weight: 500;
}

button {
 align-items: center;
 border-radius: 999px;
 height: 48px;
 padding: 0 25px;
 transition: all 0.4s;
 background: #000;
 color: #fff;
 border: 0;
 width: 100%;
 font-weight: 500;

 &:hover, &:focus {
  background: #555;
 }
}

.spanner {
 position: fixed;
 top: 50%;
 left: 50%;
 background: rgba(0,0,0,0.3);
 width: 200px;
 display: block;
 text-align: center;
 height: 200px;
 color: #FFF;
 font-size: 18px;
 transform: translate(-50%, -50%);
 z-index: 1000;
 visibility: hidden;
 cursor: wait;
}

.overlay {
 position: absolute;
 width: 100%;
 height: 100%;
 background: rgba(0,0,0,0.5);
 visibility: hidden;
 z-index: 900;
 cursor: wait;
}

.loader,
.loader:before,
.loader:after {
 border-radius: 50%;
 width: 3.5em;
 height: 3.5em;
 animation-fill-mode: both;
 animation: load7 0.45s infinite ease-in-out;
}

.loader {
 color: #E88C19;
 font-size: 10px;
 margin: 50px auto;
 position: relative;
 text-indent: -9999em;
 transform: translateZ(0);
 animation-delay: -0.04s;
}

 .loader:before,
 .loader:after {
  content: '';
  position: absolute;
  top: 0;
 }

 .loader:before {
  left: -4.5em;
  animation-delay: -0.08s;
 }

 .loader:after {
  left: 4.5em;
 }

@keyframes load7 {
 0%, 80%, 100% {
  box-shadow: 0 3.5em 0 -1.3em;
 }

 40% {
  box-shadow: 0 3.5em 0 0;
 }
}

.show {
 visibility: visible;
}

.spanner, .overlay {
 opacity: 0;
 transition: all 0.1s;
}

 .spanner.show, .overlay.show {
  opacity: 1
 }

.ms-login-btn {
 display: inline-flex;
 justify-content: center;
 background-color: #fff;
 color: #000;
 text-decoration: none;
 align-items: center;
 border-radius: 999px;
 height: 48px;
 padding: 0 25px;
 transition: all 0.4s;
 width: 100%;
 border: 1px solid #A8A8A8;
 width: 100%;
 font-weight: 500;

 &:hover, &:focus {
  background-color: #ccc;
 }

 & svg {
  margin-right: 8px;
 }
}

.login-footer {
 color: #7A7A7A;
 font-size: var(--Font-size-100, 10px);
 font-style: normal;
 font-weight: 400;
 line-height: 16px;
 letter-spacing: 0.2px;
 text-align: center;
 align-self: center;
}