.main-row {
  min-height: calc(100vh - 110px);
}

@media screen and (max-width: 1600px) {
  .main-col {
    --horizontalMarginContent: 15px;
    --videosHorizontalMarginContent: 30px;
  }
}

.main-col .margin-content {
  margin: 0 var(--horizontalMarginContent);
  flex-grow: 1;
}

.title-page.active, .title-page:hover, .title-page:active, .title-page:focus, .title-page.title-page-single {
  opacity: 1;
  outline: 0 hidden!important;
}

.title-page.title-page-single {
  font-size: 125%;
  margin-top: 30px;
  margin-bottom: 25px;
}

.block-title, .title-page {
  background: radial-gradient(ellipse at top, #db34d3, transparent), radial-gradient(ellipse at bottom, #232629, transparent);
  margin-inline-end: 0px;
  margin-inline-start: 0px;
  padding: 5px;
  border-radius: 4px;
  border: 2px solid #fd95ff;
  border-right-color: #fed9ff;
  border-bottom-color: #fed9ff;
  text-align: center;
}

.title-page {
  margin-inline-end: 55px;
  opacity: .6;
  color: var(--mainForegroundColor);
  font-size: 16px;
  display: inline-block;
  font-weight: 600;
  border-bottom: 2px solid transparent;
}

.wrapper {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-inline-end: 0;
  width: auto;
}

.wrapper .login-form-and-externals {
  margin-inline-end: 10px;
  margin-inline-start: 10px;
  display: flex;
  flex-wrap: wrap;
  font-size: 15px;
  max-width: 450px;
  margin-bottom: 40px;
}

.wrapper > div {
  flex: 1 1;
}

.wrapper .login-form-and-externals form, .wrapper .login-form-and-externals form input {
  width: 100%;
}

.wrapper .login-form-and-externals .signup-link {
  display: inline-block;
}

.wrapper .login-form-and-externals form .additionnal-links .forgot-password-button, .wrapper .login-form-and-externals form .additionnal-links .create-an-account {
  padding: 4px;
  display: inline-block;
  color: var(--mainColor);
}

.create-an-account, .forgot-password-button {
  color: var(--mainForegroundColor);
  cursor: pointer;
  transition: opacity cubic-bezier(.39,.575,.565,1);
}

.wrapper .login-form-and-externals form {
  margin: 0;
}

.wrapper .instance-information {
  margin-inline-end: 10px;
  margin-inline-start: 10px;
  max-width: 600px;
  min-width: 350px;
  margin-bottom: 40px;
}

.form-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  font-weight: 700;
  font-size: 15px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

#custom-css input, #custom-css textarea {
  background: var(--inputColor) !important;
  color: var(--mainForegroundColor) !important;
  border: 1px solid var(--mainBackgroundColor);
}

.input-group {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
}

input[type=text], input[type=email] {
  padding: 0 15px;
  display: inline-block;
  height: 30px;
  width: 340px;
  color: var(--inputForegroundColor);
  background-color: var(--inputBackgroundColor);
  border: 1px solid #C6C6C6;
  border-radius: 3px;
  font-size: 15px;
}

#custom-css .peertube-select-container, input[type="text"] {
  border: 1px solid var(--mainBackgroundColor) !important;
  background: var(--inputColor) !important;
  color: var(--mainForegroundColor) !important;
}

.form-control {
  font-size: 15px;
  color: var(--mainForegroundColor);
  background-color: var(--inputBackgroundColor);
  outline: none;
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

input, textarea {
  outline: none;
  color: var(--inputForegroundColor);
}

button, input {
  overflow: visible;
}

input, button, select, optgroup, textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.instance-name {
  line-height: 1.7rem;
}

h2, .h2 {
  font-size: 2rem;
}

.instance-short-description {
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  font-size: 1rem;
  line-height: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 3rem;
  margin-top: 20px;
  margin-bottom: 20px;
}

.accordion {
  overflow-anchor: none;
}

ngb-accordion .card {
  border-color: var(--mainBackgroundColor);
}

.accordion>.card {
  overflow: hidden;
}

.card {
  background-color: var(--mainBackgroundColor);
  border-color: #dee2e6;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0,0,0,.125);
  border-radius: 0.25rem;
}

ngb-accordion .card .card-header {
  background-color: unset;
  padding: 0;
}

.accordion>.card>.card-header {
  border-radius: 0;
  margin-bottom: -1px;
}

.card-header:first-child {
  border-radius: calc(0.25rem- 1px) calc(0.25rem- 1px) 0 0;
}

.card-header {
  padding: 0.75rem 1.25rem;
  margin-bottom: 0;
  background-color: #00000008;
  border-bottom: 1px solid rgba(0,0,0,.125);
}

.btn:not(:disabled):not(.disabled) {
  cursor: pointer;
}

ngb-accordion .btn {
  padding-inline-end: 17px;
  padding-inline-start: 13px;
  padding-top: 0;
  padding-bottom: 0;
  border: 0;
  font-weight: 600;
  font-size: 15px;
  height: 30px;
  line-height: 30px;
  border-radius: 3px !important;
  text-align: center;
  cursor: pointer;
  background-color: #e5e5e5;
  color: var(--greyForegroundColor);
  border-radius: unset;
  width: 100%;
}

button:not(:disabled), [type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled) {
  cursor: pointer;
}

.btn-link {
  font-weight: 400;
  color: #007bff;
  text-decoration: none;
}

.btn {
  display: inline-block;
  font-weight: 400;
  color: #212529;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

button, [type=button], [type=reset], [type=submit] {
  -webkit-appearance: button;
}

button {
  background: unset;
  border-radius: 0;
}

button, select {
  text-transform: none;
}

.input-group:not(.has-validation)>.form-control:not(:last-child), .input-group:not(.has-validation)>.custom-select:not(:last-child), .input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label, .input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label:after {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group input.form-control {
  width: unset!important;
  flex-grow: 1;
}

.input-group-sm>.form-control:not(textarea), .input-group-sm>.custom-select {
  height: calc(1.5em + 0.5rem + 2px);
}

.input-group>.form-control {
  flex: initial;
}

.input-group>.form-control, .input-group>.form-control-plaintext, .input-group>.custom-select, .input-group>.custom-file {
  position: relative;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
  margin-bottom: 0;
}

input {
  padding-inline-end: 15px !important;
  padding-inline-start: 15px !important;
  padding: 0 15px;
  display: inline-block;
  height: 30px;
  width: auto;
  color: var(--inputForegroundColor);
  background-color: var(--inputBackgroundColor);
  border: 1px solid #C6C6C6;
  border-radius: 3px;
  font-size: 15px;
  font-size: 15px!important;
}

.input-group-append {
  margin-left: -1px;
}

.input-group-prepend, .input-group-append {
  display: flex;
}

.input-group>.input-group-append>.btn, .input-group>.input-group-append>.input-group-text, .input-group>.input-group-prepend:not(:first-child)>.btn, .input-group>.input-group-prepend:not(:first-child)>.input-group-text, .input-group>.input-group-prepend:first-child>.btn:not(:first-child), .input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.input-group-sm>.form-control, .input-group-sm>.custom-select, .input-group-sm>.input-group-prepend>.input-group-text, .input-group-sm>.input-group-append>.input-group-text, .input-group-sm>.input-group-prepend>.btn, .input-group-sm>.input-group-append>.btn {
  padding: 0.25rem 0.5rem;
  font-size: .875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}

.eye-button {
  line-height: 1!important;
}

.input-group-prepend .btn, .input-group-append .btn {
  position: relative;
  z-index: 2;
}

.btn-outline-secondary {
  border-color: #ced4da;
  color: #6c757d;
  border-color: #6c757d;
}

input[type=button], input[type=submit], input[type=reset], input[type=file]::-webkit-file-upload-button, button {
  border-radius: 0;
}

ngb-accordion .card .card-header+.collapse.show {
  background-color: var(--submenuBackgroundColor);
}

.card-body {
  flex: 1 1 auto;
  min-height: 1px;
  padding: 1.25rem;
}

.block {
  font-size: 15px;
  margin-bottom: 15px;
}

.alert-danger {
  color: #850000;
  background-color: #fcc;
  border-color: #ffb8b8;
}

.alert {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.alert {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}