@font-face {
  font-family: 'Rubik';
  src: url('../fonts/Rubik-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Rubik';
  src: url('../fonts/Rubik-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Rubik';
  src: url('../fonts/Rubik-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

* {
  font-family: 'Rubik', sans-serif;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-size: 14px;
  overflow: hidden;
}

/* Toolbar */
header .app-toolbar {
  height: 64px;
  position: fixed;
  top: 0;
  background: #00458b;
  color: #ffffff;
  display: flex;
  box-sizing: border-box;
  padding: 0 16px;
  width: 100%;
  flex-direction: row;
  align-items: center;
  white-space: nowrap;
}

.app-toolbar__logo,
.app-toolbar__page {
  font-size: 20px;
}

.app-toolbar__vertical-divider {
  border-right: 2px solid white;
  width: 0;
  height: 40px;
  margin: 0 10px;
}

/* Main */
.app-content {
  height: calc(100vh - 64px);
  padding-top: 64px;
  box-sizing: border-box;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.auth-container {
  width: 100%;
  height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px 24px;
  box-sizing: border-box;
  overflow: auto;
}

/* Main: Form */
.login-main,
.create-account-main {
  flex: 1;
  width: 100%;
  max-width: 310px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

/* create-account */
.create-account-title {
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  margin: 0 0 4px;
}

.create-account-subtitle {
  text-align: center;
  margin-bottom: 69px;
}

.form-title {
  font-weight: 500;
  font-size: 18px;
  line-height: 21px;
  margin: 0 0 16px;
}

.login-form,
.create-account-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

/*.form-control {
  width: 100%;
  margin-bottom: 24px;
}*/

::placeholder {
  color: #201F1E !important;
  opacity: 0.32 !important;
}

.icon-button {
  width: 32px;
  height: 32px;
  margin: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: 0.2s;
}

.form-control .icon-button {
  position: absolute;
  top: 0;
  right: 0;
}

.icon-button object {
  pointer-events: none;
}

.icon-button:focus {
  background-color: #e5ecf3;
}

.form-control__action-input {
  position: relative;
}

/*.form-control input::placeholder {
  text-align: center;
}*/

.form-control__checkbox-label {
  display: inline-block;
  margin-bottom: 2px;
}

.form-control__checkbox-label {
  cursor: pointer;
}

.form-control__input,
.form-control__select {
  width: 100%;
  max-width: 380px;
  height: 40px;
  box-sizing: border-box;
  padding: 5px 8px;
  margin-bottom: 2px;
  border: 1px solid #939495;
  border-radius: 2px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.app-content .container {
  font-size: 14px;
}

.app-content .form-control:focus,
.app-content .custom-select:focus {
  box-shadow: none;
  border-color: #00458b;
}

.app-content .form-control.is-invalid:focus {
  box-shadow: none;
}

.form-control__input:focus {
  border-color: #00458b;
}

.form-control__input.input-validation-error {
  border: 1px solid #f55f55;
}

.form-control__select {
  width: 100%;
}

/*.form-control__input::placeholder {
  font-size: 14px;
  color: rgba(30, 31, 33, 0.32);
}*/

.field-validation-error {
  color: #f55f55;
  font-size: 12px;
  padding: 0 10px;
}

.form-control__checkbox {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.form-control__checkbox+.form-control__checkbox-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  user-select: none;
}

.form-control__checkbox+.form-control__checkbox-label::before,
.form-control__checkbox:checked+.form-control__checkbox-label::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  flex-grow: 0;
  border: 2px solid #0000008a;
  box-sizing: border-box;
  margin: 2px 8px 2px 2px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50% 50%;
}

.form-control__checkbox:checked+.form-control__checkbox-label::before {
  border:none;
  background: #196bbe14;
}

.form-control__checkbox:checked+.form-control__checkbox-label::after {
  width: 6px;
  height: 6px;
  position: absolute;
  left: 3px;
  background: #196bbe;
  border: none;
}

.app-content .container button:focus {
  outline: none;
}

.submit-btn,
.icon-button {
  outline: none;
  border: unset;
  cursor: pointer;
}

.app-content .container .btn-primary,
.app-content .container .btn-secondary {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  border-radius: 2px;
  cursor: pointer;
  padding: 10px 24px;
  transition: 0.2s;
}

.app-content .container .btn-primary:disabled,
.app-content .container .btn-secondary:disabled {
  cursor: default;
}

.app-content .container .btn-primary {
  background: #00458b;
  border-color: #00458b;
  color: white;
}

.app-content .container .btn-secondary {
  background: white;
  border-color: #00458b;
  color: #00458b;
}

.app-content .container .btn-secondary:not(:disabled):not(.disabled):active {
  background: rgba(25, 107, 190, 0.06);
  border-color: #00458b;
  color: #00458b;
}

.app-content .container .btn-outline-dark,
.app-content .container .btn-outline-dark:not(:disabled):not(.disabled).active,
.app-content .container .btn-outline-dark:not(:disabled):not(.disabled):active,
.app-content .container .show > .btn-outline-dark.dropdown-toggle {
  background: white;
  border-color: #00458b;
  color: #00458b;
  border-radius: 0px;
}

.app-content .container .btn-outline-dark:disabled {
  cursor: default;
  border-color: rgba(0,69,139, 0.65);
}

.app-content .container .btn-outline-danger,
.app-content .container .btn-outline-danger:not(:disabled):not(.disabled).active,
.app-content .container .btn-outline-danger:not(:disabled):not(.disabled):active,
.app-content .container .show > .btn-outline-danger.dropdown-toggle {
  background-color: white;
  color: #dc3545;
  border-color: #dc3545;
  border-radius: 0px;
}

.submit-btn .link {
  color: white;
}

.btn.btn-link {
  color: #196BBE;
  font-size: 14px;
}

.btn {
  box-shadow:none !important;
}

.logo-icon {
  display: flex;
}

.logo-small-icon {
  display: none;
}

.icon.visible-icon {
  display: none;
}

/* Or */
.or-divider {
  display: flex;
  align-items: center;
  column-gap: 8px;
  margin-bottom: 18px;
}

.or-line {
  height: 1px;
  width: 64px;
  background: #e9e9e9;
}

.or-text {
  font-size: 18px;
  line-height: 24px;
}

/* sso */
.sso {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  align-items: center;
  margin-bottom: 30px;
}

.sso-title {
  font-weight: 500;
  font-size: 18px;
  line-height: 21px;
}

.sso-buttons {
  display: flex;
  column-gap: 32px;
}

/* divider */
.section-divider {
  height: 1px;
  width: 100%;
  background: #e9e9e9;
  margin-bottom: 20px;
}

/* links */
.password-signup-links {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.link, a.link:not([href]) {
  text-decoration: unset;
  color: #196bbe;
  cursor: pointer;
}

.link:hover, a.link:not([href]):hover {
  text-decoration: underline;
  color: #00458b;
}

.title {
    width: 100%;
}

.subtitle-container {
    display: flex;
    column-gap: 68px;
    margin-bottom: 32px;
}

.terms {
  margin: 25px auto 5px;
  font-size: 12px;
  text-align: center;
  line-height: 20px;
}

.contacts {
  font-size: 12px;
}

.alert-danger .danger {
  color: #f55f55;
  font-weight: 300;
}

@media (max-width: 576px) {
  .logo-icon {
    display: none;
  }

  .logo-small-icon {
    display: flex;
  }
}

/* Cookie Banners */
.cookies-banner {
    max-height: calc(100vh - 20px);
    max-width: calc(100vw - 20px);
    width: 850px;
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    overflow: auto;
    align-self: flex-end;
    background: white;
    box-shadow: 0 2px 4px #00000014, 0 8px 16px #00000029;
    border-radius: 4px;
    padding: 20px 30px;
    font-size: 14px;
    line-height: 20px;
    z-index: 10;
    pointer-events: unset;
    box-sizing: border-box;
}

.cookies-banner .functions,
.cookies-banner-settings .more-info {
    padding-bottom: 24px;
}

.cookies-banner .link {
    color: #196bbe;
    text-decoration: none;
}

.cookies-banner .link:hover {
    color: #00458b;
    text-decoration: underline;
}

.cookies-banner .actions {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 18px;
}

.cookies-banner .action {
    min-width: 190px !important;
}

.cookies-banner .outline-button {
    min-height: 40px;
    display: flex;
    justify-content: center;
    column-gap: 8px;
    align-items: center;
    padding: 6px 24px;
    font-size: 14px;
    line-height: 20px;
    color: #00458B;
    border: 1px solid #00458B;
    border-radius: 2px;
    background: transparent;
    cursor: pointer;
    transition: 0.2s;
}

.cookies-banner .outline-button:hover {
    background: #F5F5F5;
}

.cookies-banner .outline-button:active {
    background: #196BBE14;
}

.cookies-banner .action-text-align {
    padding-right: 8px;
}

.cookies-banner .title {
    font-size: 16px;
    font-weight: 500;
    padding-bottom: 10px;
}

.cookies-banner-settings .options {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.cookies-banner-settings .option {
    display: flex;
    column-gap: 16px;
}

.cookies-banner-settings .option-info__title {
    font-weight: 500;
    padding-bottom: 6px;
}

.cookies-banner-settings .option-info .hint {
    color: rgba(30, 31, 33, 0.64);
    font-size: 12px;
}

.cookies-banner-settings .option-info__purpose {
    color: rgba(30, 31, 33, 0.64);
    font-size: 12px;
}

.cookies-banner-settings .lock-icon-container {
    min-width: 42px;
    display: flex;
    justify-content: center;
}

.cookies-banner-settings .lock-icon {
    height: 32px;
    width: 32px;
}

.divider {
    border-top-width: 1px;
    border-top-style: solid;
    border-color: rgba(30, 31, 33, 0.1);
    margin: 32px 0 16px;
}

.revoke-rights {
    margin-bottom: 40px;
}

.cookies-banner-settings .provided-by-link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 18px;
    font-size: 12px;
}

/* Cookie Banner Slide Toggle */
.toggle {
    position: relative;
    display: inline-block;
    height: 24px;
    width: 42px;
    min-width: 42px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(30, 31, 33, 0.24);
    transition: 0.2s;
    border-radius: 12px;
}

.toggle .slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    top: 4px;
    left: 4px;
    background-color: white;
    border-radius: 50%;
    transition: 0.2s;
}

.toggle input:checked + .slider {
    background-color: #196bbe;
}

.toggle input:focus + .slider {
    box-shadow: 0 0 1px #196bbe;
}

.toggle input:checked + .slider:before {
    transform: translateX(18px);
}

@media (max-width: 768px) {
    .cookies-banner .actions {
        flex-direction: column;
        row-gap: 10px;
    }

    .cookies-banner .action {
        width: 100%;
    }
}

/*Admin common*/
@media (min-width: 576px) {
  .modal.show .modal-dialog {
    margin: 4.75rem auto;
  }
}

.list-search-filter {
  margin-bottom: 28px;
}

.list-search-filter .add-btn {
  margin-left: 40px;
}

.list-search-filter .custom-select,
.list-search-filter .btn {
  border-radius: 0px;
}

.container .table thead th {
  border-bottom: none;
  font-weight: 500;
  background-color: #edf3fa;
}

.table .list-item-actions {
  display: flex;
  column-gap: 4px;
  float: right;
}

.table-fixed-height {
  overflow: auto;
  max-height: 600px;
}
.table-fixed-height thead th {
  position: sticky;
  top: -1px;
  z-index: 1;
}

.table-fixed-height + nav {
  margin-top: 1rem;
}

.actions-container {
  margin-top: 32px;
}

.actions-container .btn-primary {
  float: right;
}

.row.p-1 {
  min-height: 40px;
}

.row.p-1 .editable-row-field {
  padding-left: 0px;
}

.organization-filter .btn {
  border: solid #ced4da;
  border-width: 1px;
  max-height: 31px;
  padding-top: 3px;
  width: 170px;
  text-align: left;
}

.organization-filter .organization-name {
  display: inline-block;
  max-width: 128px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.organization-filter img {
  float: right;
}

/* Users list */
.list-search-filter .plan-filter .custom-select {
  border-width: 1px 0px 1px 1px;
}
.list-search-filter .plan-filter .custom-select:focus {
  border-color: #ced4da;
}

.list-search-filter .organization-filter .btn {
  border-width: 1px 0 1px 1px;
}

.input-group-append.organization-filter {
  margin-left: unset;
}

.users-search-details {
  width: 100%;
  margin-bottom: 28px;
}

.users-search-details .admins-only-container {
  font-size: .875rem;
  display: flex;
  align-items: center;
  column-gap: 4px;
}

.table.users .list-item-email,
.table.users .list-item-organization {
  max-width: 200px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* Admin Toolbar */
.app-toolbar {
  z-index: 10;
}

.app-toolbar .language-button-menu {
    min-width: 40px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.app-toolbar .login-content-column {
    margin-right: 16px;
    display: inline-flex;
}

.app-toolbar .language-circle-button {
    background: none;
    border: none;
    outline: none;
}

.app-toolbar .language-circle-button img {
    border: 1px solid #FFFFFF;
    border-radius: 50%;
}

.app-toolbar .language-dropdown-menu {
    min-width: fit-content;
    margin-top: 10px !important;
    padding: 8px 12px;
    border: none;
    filter: drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.15));
}

.app-toolbar .language-dropdown-menu .beak {
    position: absolute;
    width: 16px;
    height: 16px;
    right: 10px;
    top: -8px;
    background: #FFFFFF;
    transform: rotate(-45deg);
}

.app-toolbar .language-dropdown-menu li {
    min-height: 40px;
}

.app-toolbar .language-dropdown-menu .dropdown-item {
    display: inline-block;
    min-height: 32px;
    margin: 4px 0;
    padding: 4px 8px 4px 4px;
    border-radius: 4px;
    transition: 0.2s;
    color: #1E1F21;
    cursor: pointer;
}

.app-toolbar .language-dropdown-menu .dropdown-item-inner {
    display: flex;
    align-items: center;
    column-gap: 8px;
    font-size: 14px;
}

.app-toolbar .language-dropdown-menu .dropdown-item:hover {
    background: rgba(25, 107, 190, 0.04);
}

.app-toolbar .language-dropdown-menu .dropdown-item.active {
    background: rgba(25, 107, 190, 0.08);
}

.app-toolbar .nav-item .nav-link {
    cursor: pointer;
    color: #cbd3da !important;
}

.app-toolbar .nav-item.active .nav-link {
    color: white !important;
}

/* Admin Customized Connection Errors*/
.gs-reconnect-modal > div {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    overflow: hidden;
    background-color: #fff;
    opacity: 0.8;
    text-align: center;
    font-weight: bold;
}

.gs-reconnect-modal > div h5 {
    margin-top: 20px;
}

.components-reconnect-hide > div {
    display: none;
}

.components-reconnect-show > div {
    display: none;
}

.components-reconnect-show > .show {
    display: block;
}

.components-reconnect-failed > div {
    display: none;
}

.components-reconnect-failed > .failed {
    display: block;
}

.components-reconnect-rejected > div {
    display: none;
}

.components-reconnect-rejected > .rejected {
    display: block;
}

/* Admin retry timer*/
.timer-info-container {
  display: none;
}

.timer-info-container .retry-info {
  display: inline-block;
  margin-left: 16px;
}

.timer-info-container .timer {
  display: inline-block;
}

/*Checkbox data row*/
.checkbox-value{
  margin-left: 16px;
}

/* Organizations list */
.organization-search-details {
  width: 100%;
  margin-bottom: 28px;
}

.organization-search-details .parents-container {
  display: inline-block;
  width: 80%;
}

.organization-search-details .show-users-container {
  float: right;
  font-size: .875rem;
  display: flex;
  align-items: center;
  column-gap: 4px;
}

.organizations .actions-header {
  text-align: right;
  padding-right: 86px;
}

.organizations .quota-header {
  text-align: right;
}

.organizations .list-item-organization {
  cursor: pointer;
  margin-right: 5px;
  color: #196BBE;
}
.organizations .list-item-organization:hover {
  text-decoration: underline;
}

.organizations .list-item-organization,
.organizations .list-item-user {
  max-width: 800px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
}

.organizations .list-item-quota {
  float: right;
}

.organizations .list-item-actions .more-actions {
  padding: 0px 4px;
}
.organizations .list-item-actions .more-actions:hover,
.organizations .list-item-actions .more-actions[aria-expanded=true]{
  background-color: rgba(25, 107, 190, 0.08);
}
.organizations .list-item-actions .dropdown-toggle.more-actions::after {
  display: none;
}

.organizations .list-item-actions .dropdown-menu {
  font-size: .875rem;
  padding: 8px;
}

.organizations .list-item-actions .dropdown-item {
  font-size: .875rem;
  padding: 4px;
}
.organizations .list-item-actions .dropdown-item:hover {
  color:#00458b;
  background-color: rgba(25, 107, 190, 0.08);
}

/* Organization logs */
.organization-logs-filter-form {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
}

.organization-logs-filter-form .form-control-sm  {
  border-radius: 0;
  border-right: 0px;
}

.organization-logs-filter-form .with-validation-below {
  flex-direction: column;
  max-width: 150px;
  margin: 0px;
}

.list-search-filter .search-input {
  flex: 1 1 0%;
}

.list-search-filter .search-btn-container {
  display: block;
}

.list-search-filter .download-container {
  margin-left: 40px;
}

.table.organization-logs .list-item-email,
.table.organization-logs .list-item-organization {
  max-width: 200px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* Delete organization modal*/
.delete-org-terms-container {
  display: inline-block;
}

a.terms-link {
  cursor: pointer;
}

/* Select organization modal */
.select-organization-modal .modal-body {
  min-height: 250px;
}
.select-organization-modal .parents-container {
  margin-bottom: 16px;
}

.select-organization-modal .children-container {
  display: flex;
  flex-direction: column;
  row-gap: 2px;
  width: 100%;
  max-height: 400px;
  overflow-y: auto;
}

.select-organization-modal .children-container .children-item {
  min-height: 38px;
  line-height: 38px;
  padding-left: 8px;
  cursor: pointer;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.select-organization-modal .children-container .children-item.selected {
  background-color: rgba(25, 107, 190, 0.08);
  color: #196BBE;
}

.select-organization-modal .children-container .children-item:hover {
  background-color: rgba(25, 107, 190, 0.06);
}

/* OrganizationChain */
.organization-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.organization-chain .organization-item {
  cursor: pointer;
  margin-right: 5px;
  color: #196BBE;
  max-width: 400px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.organization-chain .organization-item:hover {
  text-decoration: underline;
}

.organization-chain .separator {
  margin-right: 5px;
  color: #196BBE;
}

/* Usage */
.usage-container {
  min-width: 600px;
}

.usage-container .filter-container,
.usage-container .level-plan-filter,
.usage-container .action-container {
  display: flex;
  column-gap: 8px;
  margin-bottom: 1rem;
}

.usage-container .organization-filter,
.usage-container .date-filter,
.usage-container .level-plan-filter,
.usage-container .level-filter,
.usage-container .plan-filter,
.usage-container .action-container .btn {
  flex: 1 1 0%;
  margin-bottom: 0px;
}

.usage-container .organization-filter .btn {
  width: 100%;
}

.usage-container .organization-filter .organization-name {
  max-width: 150px;
}

.usage-container .alert-primary {
  padding: .6rem 1.25rem;
}

.usage-container .right-alligned {
  display: flex;
  justify-content: end;
}

.send-copy-checkbox {
  margin-top: 12px;
}

/* About */
.about .h3 {
  margin-bottom: 32px;
}
.about .h6 {
  margin-top: 16px;
}

/* OrganizationQuota */
.org-quota-subrequest {
  margin-left: 24px;
  margin-top: 24px;
}

.org-quota-subrequest .success-msg {
  color: forestgreen;
}

.org-quota-subrequest .error-msg {
  color: #f55f55;
  font-size: 12px;
  margin-top: 12px;
}

/* OrganizationQuotaHistory */
.organization-quota-history .positive {
  color: forestgreen;
}
.organization-quota-history .negative {
  color: red;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}
