/* PAGE = [INDEX] */
/* ------------------------------- */

/* index-body */
body.index-body {
  padding-top: 0;
}

/* -- */

/* landing-page */
.landing-row {
  height: calc(100vh);
}

@media (max-width: 576px) {
  .landing-row {
    margin-right: -15px;
    margin-left: -15px;
  }
}

.landing-left {
  position: relative;
  background: #2b354c;
  color: #fff;
  box-shadow: 2px 0 10px rgb(0 0 0 / 30%);
}

.landing-left:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  background-size: cover;
  background-repeat: no-repeat;
  left: 0;
  right: 0;
  background-position: center;
  opacity: 0.1;
}

.landing-intro {
  padding: 60px 20px;
  margin: 0 auto;
  max-width: 550px;
}

@media (min-width: 992px) {
  .landing-intro {
    padding: 110px 50px;
  }
}

.landing-slider {
  margin-top: 50px;
}

.landing-slides {
  padding: 0;
  width: 100%;
  height: 420px;
  display: block;
  margin: 0 auto;
  position: relative;
}

.landing-slides * {
  user-select: none;
}

.landing-slides input {
  display: none;
}

.landing-slide-container {
  display: block;
}

.landing-slide {
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  max-width: 420px;
  height: 420px;
  display: block;
  position: absolute;
  margin: 0 auto;
  transition: all .7s ease-in-out;
}

.landing-slide img {
  width: 100%;
  height: auto;
}

.nav label {
  width: 40px;
  height: 100%;
  display: none;
  position: absolute;
  opacity: 0.1;
  z-index: 9;
  cursor: pointer;
  transition: opacity .2s;
  color: #FFF;
  font-size: 40pt;
  text-align: center;
  line-height: 380px;
  background-color: rgba(255, 255, 255, 0);
  text-shadow: 0px 0px 15px rgb(119, 119, 119);
}

.landing-slide:hover + .nav label {
  opacity: 0.5;
}

.nav label:hover {
  opacity: 1;
}

.nav .next {
  right: 0;
}

input:checked+.landing-slide-container .landing-slide {
  opacity: 1;
  transition: opacity 1s ease-in-out;
}

input:checked+.landing-slide-container .nav label {
  display: block;
}

.nav-dots {
  width: 100%;
  bottom: -20px;
  height: 11px;
  display: block;
  position: absolute;
  text-align: center;
}

.nav-dots .nav-dot {
  top: -5px;
  width: 7px;
  height: 7px;
  margin: 0 2px;
  position: relative;
  border-radius: 10px;
  display: inline-block;
  background-color: rgb(101 101 101);
}

.nav-dots .nav-dot:hover {
  cursor: pointer;
  background: rgb(255 255 255);
}

input#img-1:checked~.nav-dots label#img-dot-1,
input#img-2:checked~.nav-dots label#img-dot-2,
input#img-3:checked~.nav-dots label#img-dot-3 {
  background: rgb(255 255 255);
  width: 18px;
}

.landing-form {
  padding-top: 50px;
  max-width: 550px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .landing-form {
    padding-top: 120px;
  }
}

/* -- */

/* card-register */
.card-register {
  background: #fff;
  border: 0;
  font-size: 16px;
  padding: 20px;
}

@media (min-width: 992px) {
  .card-register {
    padding: 40px;
  }
}

.card-register .card-header {
  border: 0;
  background: transparent;
}

.card-register .card-header .card-title {
  font-size: 1.8em;
  font-weight: 900;
  margin-bottom: 15px;
}

.card-register .card-header .card-subtitle {
  font-size: 13px;
  color: #666;
}

body.night-mode .card-register .card-header .card-subtitle {
  font-size: 13px;
  color: #8f9ba5;
}

.card-register .form-control,
.card-register .form-select {
  border-radius: 16px;
  height: 60px;
}

.card-register .input-group>.input-group-text {
  border-radius: 16px 0 0 16px;
}

/* -- */

/* auth-form (shared with sign/reset) */
.fr_auth_form {
  background-color: #fff;
  padding: 20px;
  border-radius: 30px;
}

body.night-mode .fr_auth_form {
  background-color: #0f1112;
}

.fr_welcome_title {
  font-weight: 600;
}

.fr_welcome_field {
  position: relative;
  display: block;
  margin: 0 0 20px;
}

.fr_welcome_field input,
.fr_welcome_field select {
  border-radius: 14px;
  border: 2px solid #efefef;
  background-color: #efefef;
  padding: 10px 55px;
  font-size: 16px;
  width: 100%;
  height: 56px;
  display: block;
  margin: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  transition: background-color .15s ease-in-out, border-color .15s ease-in-out;
  outline: none;
}

.fr_welcome_field input:focus,
.fr_welcome_field select:focus {
  border-color: #5e72e4;
  background-color: #fff;
}

body.night-mode .fr_welcome_field input,
body.night-mode .fr_welcome_field select {
  border-color: #444a4c;
  background-color: #444a4c;
  color: #fff;
}

body.night-mode .fr_welcome_field input:focus,
body.night-mode .fr_welcome_field select:focus {
  border-color: #5e72e4;
  background-color: #0f1112;
}

.fr_welcome_field .fr_welcome_icon {
  top: 0;
  margin: 16px;
  opacity: 0.5;
  pointer-events: none;
  transition: color .15s ease-in-out, opacity .15s ease-in-out;
  width: 24px;
  height: 24px;
  font-size: 24px;
  line-height: 24px;
  text-align: center;
}

.fr_welcome_field input:focus+.fr_welcome_icon,
.fr_welcome_field select:focus+.fr_welcome_icon {
  opacity: 1;
  color: #5e72e4;
}

.fr_welcome_btn {
  border-radius: 14px;
  font-size: 17px;
  font-weight: 500;
  padding: 15px 18px;
  border: 0;
}

.fr_welcome_switch {
  font-weight: 500;
}

.fr_welcome_switch a {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* -- */

/* social-login (landing/auth only) */
.btn-social {
  border-radius: 14px;
  border: 2px solid #efefef;
  padding: 10px 18px;
  gap: 14px;
  font-size: 14px;
  font-weight: 500;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn-social:hover {
  background-color: #efefef;
}

body.night-mode .btn-social {
  border-color: #444a4c;
  color: #fff;
}

body.night-mode .btn-social:hover {
  background-color: #444a4c;
}

/* social provider icon colors */
.btn-social[href*="/connect/facebook"] .svg-container {
  color: #1877f2;
}

.btn-social[href*="/connect/google"] .svg-container {
  color: #ea4335;
}

.btn-social[href*="/connect/twitter"] .svg-container {
  color: #111111;
}

.btn-social[href*="/connect/linkedin"] .svg-container {
  color: #0a66c2;
}

.btn-social[href*="/connect/vkontakte"] .svg-container {
  color: #2787f5;
}

.btn-social[href*="/connect/wordpress"] .svg-container {
  color: #21759b;
}

body.night-mode .btn-social[href*="/connect/twitter"] .svg-container {
  color: #ffffff;
}

.hr-heading {
  display: block;
  overflow: hidden;
  text-align: center;
  white-space: nowrap;
}

.hr-heading-text {
  position: relative;
  display: inline-block;
}

.hr-heading-text:before,
.hr-heading-text:after {
  position: absolute;
  top: 50%;
  width: 9999px;
  height: 1px;
  background: #f4f4f4;
  content: "";
}

body.night-mode .hr-heading-text:before,
body.night-mode .hr-heading-text:after {
  background: var(--card-dark-divider);
}

.hr-heading-text:before {
  right: 100%;
  margin-right: 15px;
}

.hr-heading-text:after {
  left: 100%;
  margin-left: 15px;
}

/* -- */
