/* source-han-sans-cn-400*/
@font-face {
  font-display: swap;
  font-family: 'Source Han Sans CN';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Source-Han-Sans-CN-Regular.otf') format('truetype');
}

@font-face {
  font-display: swap;
  font-family: 'Source Han Sans CN';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/Source-Han-Sans-CN-Medium.otf') format('truetype');
}

@font-face {
  font-display: swap;
  font-family: 'Bronova';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/BRONOVA.TTF') format('truetype');
}

@font-face {
  font-display: swap;
  font-family: 'Arial';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/ARIAL.TTF') format('truetype');
}


/* montserrat-regular - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/montserrat-v31-cyrillic_latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* open-sans-regular - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v44-cyrillic_latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-500 - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/open-sans-v44-cyrillic_latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* source-sans-3-regular - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/source-sans-3-v19-cyrillic_latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* source-sans-3-500 - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/source-sans-3-v19-cyrillic_latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


html {
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  max-width: 100%;
  /* min-width: 320px; */
}

.language-en {
  font-family: 'Source Han Sans CN';
  font-style: normal;
  font-weight: 400;
  color: #393939;
}

.language-ru {
  font-family: 'Source Han Sans CN', 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  color: #393939;
}

img {
  max-width: 100%;
  height: auto;
}

.homepage_1,
.homepage_2,
.homepage_3 {
  width: 100%;
}

.homepage_1 {
  background: linear-gradient(#104EA1, #1F5EC0, #D0E3FD);
}

.homepage_2 {
  background: linear-gradient(#D0E3FD, #F1F7FE 28%, #1F5EC0 74%, #D0E3FD);
}

.homepage_3 {
    background: linear-gradient(#D0E3FD, #FFFFFF 73%);
    padding-top: 38vh;
}

.homepage_1 .navbar-expand-md {
  padding-top: 5vh;
  padding-bottom: 0;
}

.homepage_1 .navbar-expand-md .main-container {
  margin-left: 0;
  max-width: 100%;
}

.nav-link {
  cursor: pointer;
}


.profile-icon {
    margin-left: 2vw;
  }

.profile-icon a {
  text-decoration: none;
}

.navbar-nav .nav-item a {
  color: #fff;
}

.nav-item.dropdown .features-menu {
  background-color: #1351A7;
  border-radius: 0.5rem;
  list-style: none;
}

.nav-item.dropdown .features-menu .dropdown-item {
  padding: 10px 15px;
  font-size: 1rem;
  color: #fff;
}

.nav-item.dropdown .features-menu .dropdown-item:hover {
  background-color: #13478f;
}

.navbar-nav .dropdown-menu {
    right: 0;
    left: auto;
  }

.navbar-nav .dropdown-menu .dropdown-item {
  color: #114fa2;
  font-size: 1.5rem;
}

.navbar-toggler {
  border: 0;
}

.profile-icon .dropdown-toggle::after {
  visibility: hidden;
}

.profile-icon .dropdown-item {
  color: #104EA1;
}

.profile-icon .dropdown-item:hover,
.profile-icon .dropdown-item:focus,
.profile-icon .dropdown-item:active {
  color: #036af5;
}

.language-selector {
  position: relative;
}

.language-selector .dropdown-toggle {
  background: linear-gradient(#CFE1FB, #8BB0E3, #7AA4DE);
  border: 4px solid #386EB6;
  border-radius: 30px;
  font-family: 'Source Han Sans CN', 'Source Sans 3';
  font-size: clamp(1.1rem, 2vw, 1.75rem);
  padding-top: .2vh;
  padding-bottom: .2vh;
  padding-left: 2vw;
  padding-right: 3.5vw;
  margin-left: .21vw;
}

.homepage_1 .language-selector .dropdown-toggle:hover,
.homepage_1 .language-selector .dropdown-toggle:active {
  border: 4px solid #386EB6;
}

.language-selector .dropdown-toggle.show {
  border: 4px solid #386EB6;
}

.language-selector .dropdown-toggle::after {
    content: "\f078";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    border: 0;
    position: absolute;
    top: .7vh;
    right: 1.8vw;
}

.language-selector .show {
  background-color: #fff;
}

.language-selector .show .dropdown-item {
  font-size: 1rem;
  transition: all .3s;
}

.language-selector .show .dropdown-item:hover {
  background-color: #f6f6f6;
}

.hmp1-text {
    font-family: 'Bronova';
    color: white;
}

.language-ru .hmp1-text {
  font-family: 'Montserrat';
}

.homepage_1 .btn-outline {
  border: 4px solid #fff;
  border-radius: 3rem;
  font-family: 'Arial';
  color: #fff;
  cursor: pointer;
  transition: all .3s;
}

.homepage_1 .btn-outline:hover,
.homepage_1 .btn-outline:focus,
.homepage_1 .btn-outline:active {
  border: 5px solid #fff;
  color: #fff;
  opacity: .5;
}

.wrapper h1 {
  color: #0e0e0e;
}

.homepage_2 .card {
  border: none;
  border-radius: 1rem;
}

.card-body .card-title {
  font-weight: 500;
  color: #0f0f0f;
}

.homepage_2 .card-body {
    padding: 0;
  }

.homepage_2 .card-body .btn {
  display: inline-block;
  padding-left: 0;
  padding-right: 25px;
  font-family: Arial;
  font-weight: 500;
  color: #0f0f0f;
  text-decoration: none;
  background: url(../image/svg/arrow-icon.svg) no-repeat 98% center;
  transition: all .2s ;
}

.card-body .btn:hover,
.card-body .btn:focus {
  background: url(../image/svg/arrow.svg) no-repeat right center;
}

.f-title {
  font-weight: 500;
  color: #0e0e0e;
}

.f-link {
  color: #393939;
  text-decoration: none;
  transition: color 0.15s;
}

.f-link:hover,
.f-link:focus,
.f-link:active {
  color: #4D81D0;
}

.text-center {
  color: #0e0e0e;
}


 /* language-ru styles */


.language-ru {
  font-family: 'Source Han Sans CN', 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  color: #393939;
}

.language-ru .hmp1-text {
  font-family: 'Montserrat';
}

  


  /* login page */

.card-login {
  background-color: transparent;
  color: #fff;
  border: none;
}

.card-header {
  border: none;
  margin-bottom: 2vh;
  background-color: transparent;
}

.form-control:active,
.form-control:focus {
  box-shadow: 0 0 0 3px rgba(207, 225, 251, .8);
}

.control-label a {
  color: #fff;
}

.form-group label {
  margin-bottom: .5rem;  
}

input[type="checkbox"] {
  appearance: none;
  width: 12px;
  height: 12px;
  background-color: #fff;
  display: inline-block;
  position: relative;
}

input[type="checkbox"]:checked {
  background-color: #fff;
}

input[type="checkbox"]:checked::after {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 0px;
  width: 6px;
  height: 9px;
  border: solid rgb(39, 39, 39);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.questions a {
  color: #fff;
  font-size: clamp(1rem, 1.5vw, 2rem);
}

#LoginForm .btn-primary, #RegistrationForm .btn-success {
  background: linear-gradient(#CFE1FB, #8BB0E3, #7AA4DE);
  border: none;
  color: #104EA1;
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 2vh;
}

#RegistrationForm .btn-success {
  margin-top: 2vh;
}




