body {
    font-family: "Inter", "Roboto", "Roboto Slab", "Jost", sans-serif;
    font-optical-sizing: auto;
    /* background-color:#F5F8FA; */
    /* background: url(https://qrcode-library.readthedocs.io/en/latest/img/grid.png) repeat-x; */
    /* background: -webkit-linear-gradient(180deg, #b5e7ee, #bae8ee 30%, #ffffff 70%); */
    /* background: linear-gradient(180deg, #b5e7ee, #bae8ee 30%, #ffffff 70%); */
    /* background-size: cover; */
    /* background-repeat: no-repeat; */
    background-attachment: fixed;
    background-position: center top;
}

/* .test-main {
    background: url(https://qrcode-library.readthedocs.io/en/latest/img/grid.png) repeat-x;
} */

/* body {
    background-image: url(/images/bg-uni-auth.jpg);
    background-image: url(/images/main_bg.jpg);
	background-position: center top;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	backdrop-filter: blur(2px);
} */

body.test {
    font-family: "Inter", "Roboto", "Roboto Slab", sans-serif;
}

body.test header {
    font-family: "Roboto Slab", "Roboto", "Inter", "Roboto Slab", sans-serif;
}

body {
    background-image: url(/images/фон-страницы.png);
	background-position: center -120px;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

@media (min-width: 1400px) {
  .test .container-xxl, .test .container-xl, .test .container-lg, .test .container-md, .test .container-sm, .test .container {
    max-width: 1080px;
  }
}


@media (min-width: 1200px) {
    h1 {
        font-size: 3.0rem !important;
        line-height: 3.2rem;
    }
}

.modal-backdrop {
    --bs-backdrop-opacity: 0.6;
}

/* Изменение стандартного цвета кнопки */

.btn-primary {
	--bs-btn-color: #fff;
	--bs-btn-bg: #1576ca;
	--bs-btn-border-color: #1b6bb1;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #096fc9;
	--bs-btn-hover-border-color: #0a58ca;
	--bs-btn-focus-shadow-rgb: 49, 132, 253;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: #0a58ca;
	--bs-btn-active-border-color: #0a53be;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.progress-bar {
    background-color: #0978d8;
}


/*  Левый и правый блокт с изображениями   */

.icon-block .image-container:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 114%;
    height: 114%;
    background-color: rgb(177, 234, 255);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    /* Свечение */
    /* box-shadow: 0 0 3px rgba(250, 249, 248, 0.7); */
    z-index: -1;
}

.icon-block img {
   box-shadow: 0 0px 3px rgba(0, 0, 0, 0.2);
}

.orange-circle {
    width: 14px;
    height: 14px;
    background: -webkit-linear-gradient(144deg,#e67f56,#ee7240); /* Chrome 10-25, Safari 5.1-6 */ 
    background: linear-gradient(144deg,#e67f56,#ee7240); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    border-radius: 50%;
    /* Свечение */
    box-shadow: 0 0 3px rgba(250, 249, 248, 0.7);
}

.green-square {
    width: 10px;
    height: 10px;
    background: -webkit-linear-gradient(144deg,#30c963,#36b460); /* Chrome 10-25, Safari 5.1-6 */ 
    background: linear-gradient(144deg,#30c963,#36b460); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    transform: rotate(45deg);
    /* Свечение */
    box-shadow: 0 0 3px rgba(250, 249, 248, 0.7);
}

.yellow-circle {
    width: 14px;
    height: 14px;
    background: -webkit-linear-gradient(144deg,#e4e26d,#ddce4a); /* Chrome 10-25, Safari 5.1-6 */ 
    background: linear-gradient(144deg,#e4e26d,#ddce4a); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    border-radius: 50%;
    /* Свечение */
    box-shadow: 0 0 3px rgba(250, 249, 248, 0.7);
}

.icon-block .white-circle-color:after {
    background-color: white !important;
}

.icon-block .orange-circle-color img {
    box-shadow: 0 0px 1px rgba(0, 0, 0, 0.15);
}

.icon-block .orange-circle-color:after {
    background-color: rgb(250, 176, 38) !important;
    height: 111%;
    width: 111%;
}

.icon-block .green-circle-color img {
    box-shadow: 0 0px 1px rgba(0, 0, 0, 0.15);
}

.icon-block .green-circle-color:after {
    background-color: #78b33d !important;
    height: 111%;
    width: 111%;
}

.icon-block .purple-circle-color img {
    box-shadow: 0 0px 1px rgba(0, 0, 0, 0.15);
}

.icon-block .purple-circle-color:after {
    background-color: #b998f8 !important;
    height: 111%;
    width: 111%;
}

.footer {
    /* background-image: url(/images/bg-uni-auth.jpg); */
    /* background-image: url(/images/footer_bg.svg); */
	background-position: center top;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: unset;
	backdrop-filter: blur(14px);
}

main > .container {
    padding: 0px 10px 20px;
}

@media (max-width: 992px) {
    main > .container {
        padding: 7px 10px 10px;
    }

    /*.footer {
        position: fixed;
        bottom: 0;
        width: 100%;
    }*/
}

.text-header-gradient {
    background: #3984f4;
    background: linear-gradient(169.4deg,#3984f4 -6.01%,#0cd3ff 36.87%,#2f7cf0 78.04%,#0e65e8 103.77%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* .footer-gradient {
    background: #f5f5f5;
    background: linear-gradient(90.0deg,#e5f0f7 -6.01%,#e7e7e7 58.04%,#e5f0f7 103.77%);
} */


.site-index h1 a {
    color: #142326;
    font-weight: 500;
    text-decoration: none;
}

.site-index h1 a:hover {
    color: #13202b;
    text-decoration: none;
}

.footer {
    /*background-color: #f5f5f5;*/
    font-size: .8em !important;
    min-width: 100%;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.footer .row {
    align-items: center !important;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.site-error h1 {
    color: #c02c0c;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

.timer-block {
    margin-top: -10px;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }

    .form-check-input {
        width: 1.15em;
        height: 1.15em;
    }

    .test-exam #tablica {
        width: 100% !important;
    }

    .test-exam .form-check {
        margin-bottom: 0.6rem !important;
    }

    /*main > .container {
        padding-right: 0px;
        padding-left: 0px;
    }*/
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

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

.btn-light {
    background-color: #fff;
    border: 0.5px solid rgba(0, 57, 63, 0.4);
}

.btn-light:hover {
    background-color: #e9f0f8;
}

.navbar {
    border-bottom: 1px solid #ececec;
    /*box-shadow: 0px 8px 19px -12px rgba(0, 0, 63, 0.2);*/
}

.directions h3 {
    /* color: #c32c2c; */
    /* color: #aeaeae; */
}

.dir-title {
    position: relative;
}

.directions .dir-title::after {
    content: "";
    position: absolute;
    top: 135%;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #fd851b;
}

/* .directions h2 {
    color: #aeaeae;
    text-transform: uppercase;
} */

.directions .step-2 {
    opacity: 0;
    /*transform: translateY(-20px);*/
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.step-2 input.has-error, .step-2 select.has-error {
    border-color: #c55;
}

.directions .show {
    opacity: 1;
    transform: translateY(0);
}

.directions .radio-input {
    margin-right: 10px;
}

.directions .radio-input input {
    width: 1em;
    height: 1em;
}

.directions .form-check-input {
	border-color: #4d4e4e;
    border-width: 2px;
}

.directions .form-check-input:checked {
	background-color: #c55;
}

.directions .radio-input input.has-error {
	border-color: #c55;
    /*border-width: 2px;*/
}

/* @media (min-width: 575.98px) {
    .site-index .body-content, .test-exam .body-content, .site-error .body-content {
        min-height: calc(100vh - 90px);
    }
} */

.site-index .body-content, .test-exam .body-content, .site-error .body-content {
    min-height: calc(100vh - 90px);
}

@media(min-width:420px) {
    .directions p a {
        width: 375px;
    }
}

@media(max-width:420px) {
    .directions p a {
        width: 100%;
    }

    h1 {
        font-size: calc(1.375rem + 2.2vw);
        line-height: 2.2rem;
    }

    .directions .step-1 h2, .directions .step-2 h2 {
        font-weight: 400 !important;
    }

}

@media (min-width: 421px) and (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
}

@media (min-width: 576px) and (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
    h1 {
        font-size: 2.5rem;
    }
}

.form-label {
	margin-bottom: 0.4rem;
	font-size: 0.92rem;
}

.form-control, .form-select {
    /* border: 2px solid #ced4da; */
    border: 1px solid #6a6a6a;
}

.form-control:focus {
    border-color: #ced4da;
	box-shadow: none;
}

.help-block {
    font-size: 0.85rem;
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    gap: 15px;
}

@media (min-width: 992px) {
    .test-exam {
        font-size: 1.1em;
    }

    .test-exam .result {
        font-size: 0.95em;
    }
}

.test-exam .form-check {
    margin-bottom: 0.4rem;
}

.test-exam .form-check-input {
    border-color: #4d4e4e;
}

.test-exam .form-check-input:checked {
    background-color: #c55;
    /* background-color: #0978d8; */
;
}

.test-exam #info li {
    color: #8c8b8b;
    list-style-type: none;
}

.test-exam #info span {
    color: #333;
    font-weight: bold;
}

.test-exam #tablica {
    font-size: 0.9rem;
    text-align: center;
    padding: 4px;
    width: 90%;
}

.test-exam #vremya {
    font-size: 0.9rem;
    font-weight: bold;
    color: #8c8b8b;
}

.test-exam #vremya span {
    color: #212529;
}

.test-exam .result .btn {
    font-size: 0.9rem;
}

.test-exam h2 {
    font-size: 1.7rem;
}

@media print {
    .test-exam .result .border {
        border: none !important;
    }

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

/* Для формы авторизации */
.form-signin {
    font-size: 14px;
    max-width: 330px;
    padding: 1rem;
}

.form-signin p.title {
    font-size: 19px;
}

.form-signin .form-floating:focus-within {
    z-index: 2;
}

.form-signin input[type="text"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.form-signin .form-control, .form-select {
	/* border: 2px solid #ced4da; */
    border: 1px solid #6a6a6a;
}


.form-signin {
	--mdb-body-color: #fff;
	--mdb-body-color-rgb: 255, 255, 255;
	--mdb-body-bg: #303030;
	--mdb-body-bg-rgb: 48, 48, 48;
	--mdb-emphasis-color: #fff;
	--mdb-emphasis-color-rgb: 255, 255, 255;
	--mdb-secondary-color: rgba(255, 255, 255, 0.75);
	--mdb-secondary-color-rgb: 255, 255, 255;
	--mdb-secondary-bg: #4f4f4f;
	--mdb-secondary-bg-rgb: 79, 79, 79;
	--mdb-tertiary-color: rgba(255, 255, 255, 0.5);
	--mdb-tertiary-color-rgb: 255, 255, 255;
	--mdb-tertiary-bg: rgb(58.5, 58.5, 58.5);
	--mdb-tertiary-bg-rgb: 59, 59, 59;
	--mdb-primary-text-emphasis: rgb(98.2, 141.4, 212.6);
	--mdb-secondary-text-emphasis: rgb(216.6, 219.4, 224.2);
	--mdb-success-text-emphasis: rgb(114, 200.4, 148.2);
	--mdb-info-text-emphasis: rgb(135.3, 202.5, 224.2);
	--mdb-warning-text-emphasis: rgb(238.8, 198.6, 118.2);
	--mdb-danger-text-emphasis: rgb(227, 111.8, 131);
	--mdb-light-text-emphasis: #f5f5f5;
	--mdb-dark-text-emphasis: #eeeeee;
	--mdb-primary-bg-subtle: rgb(11.8, 22.6, 40.4);
	--mdb-secondary-bg-subtle: rgb(31.8, 33.2, 35.6);
	--mdb-success-bg-subtle: rgb(4, 32.8, 15.4);
	--mdb-info-bg-subtle: rgb(16.8, 36, 42.2);
	--mdb-warning-bg-subtle: rgb(45.6, 32.2, 5.4);
	--mdb-danger-bg-subtle: rgb(44, 15.2, 20);
	--mdb-light-bg-subtle: #4f4f4f;
	--mdb-dark-bg-subtle: #262626;
	--mdb-primary-border-subtle: rgb(35.4, 67.8, 121.2);
	--mdb-secondary-border-subtle: rgb(95.4, 99.6, 106.8);
	--mdb-success-border-subtle: rgb(12, 98.4, 46.2);
	--mdb-info-border-subtle: rgb(50.4, 108, 126.6);
	--mdb-warning-border-subtle: rgb(136.8, 96.6, 16.2);
	--mdb-danger-border-subtle: rgb(132, 45.6, 60);
	--mdb-light-border-subtle: #616161;
	--mdb-dark-border-subtle: #4f4f4f;
	--mdb-heading-color: inherit;
	--mdb-link-color: rgb(137.4, 169.8, 223.2);
	--mdb-link-hover-color: rgb(143.28, 174.06, 224.79);
	--mdb-link-color-rgb: 137, 170, 223;
	--mdb-link-hover-color-rgb: 143, 174, 225;
	--mdb-code-color: rgb(241.8, 120, 161.4);
	--mdb-highlight-color: #fff;
	--mdb-highlight-bg: #f9a825;
	--mdb-border-color: rgba(255, 255, 255, 0.12);
	--mdb-border-color-translucent: rgba(255, 255, 255, 0.15);
	--mdb-form-valid-color: #81c784;
	--mdb-form-valid-border-color: #81c784;
	--mdb-form-invalid-color: #e57373;
	--mdb-form-invalid-border-color: #e57373;
}

.form-signin .alert {
	--mdb-alert-bg: transparent;
	--mdb-alert-padding-x: 1.5rem;
	--mdb-alert-padding-y: 1.25rem;
	--mdb-alert-margin-bottom: 1rem;
	--mdb-alert-color: inherit;
	--mdb-alert-border-color: transparent;
	--mdb-alert-border: var(--mdb-border-width) solid var(--mdb-alert-border-color);
	--mdb-alert-border-radius: 0.5rem;
	--mdb-alert-link-color: inherit;
	position: relative;
	padding: var(--mdb-alert-padding-y) var(--mdb-alert-padding-x);
	margin-bottom: var(--mdb-alert-margin-bottom);
	color: var(--mdb-alert-color);
	background-color: var(--mdb-alert-bg);
	border: var(--mdb-alert-border);
	border-radius: var(--mdb-alert-border-radius);
}

.form-signin .alert-danger {
	--mdb-alert-color: var(--mdb-danger-text-emphasis);
	--mdb-alert-bg: var(--mdb-danger-bg-subtle);
	--mdb-alert-border-color: var(--mdb-danger-border-subtle);
	--mdb-alert-link-color: var(--mdb-danger-text-emphasis);
}

.form-signin .alert-danger {
	background-color: var(--mdb-danger-bg-subtle);
	color: var(--mdb-danger-text-emphasis);
}

.form-signin .btn {
	--mdb-btn-padding-x: 1.5rem;
	--mdb-btn-padding-y: 0.375rem;
	--mdb-btn-font-family: ;
	--mdb-btn-font-size: 0.75rem;
	--mdb-btn-font-weight: 500;
	--mdb-btn-line-height: 1.5;
	--mdb-btn-color: var(--mdb-body-color);
	--mdb-btn-bg: transparent;
	--mdb-btn-border-width: 2px;
	--mdb-btn-border-color: transparent;
	--mdb-btn-border-radius: 0.25rem;
	--mdb-btn-hover-border-color: transparent;
	--mdb-btn-box-shadow: 0 4px 9px -4px rgba(var(--mdb-box-shadow-color-rgb), 0.35);
	--mdb-btn-disabled-opacity: 0.65;
	--mdb-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--mdb-btn-focus-shadow-rgb), 0.5);
	display: inline-block;
	padding: var(--mdb-btn-padding-y) var(--mdb-btn-padding-x);
	font-family: var(--mdb-btn-font-family);
	font-size: var(--mdb-btn-font-size);
	font-weight: var(--mdb-btn-font-weight);
	line-height: var(--mdb-btn-line-height);
	color: var(--mdb-btn-color);
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
	user-select: none;
	border: var(--mdb-btn-border-width) solid var(--mdb-btn-border-color);
	border-radius: var(--mdb-btn-border-radius);
	background-color: var(--mdb-btn-bg);
	box-shadow: var(--mdb-btn-box-shadow);
	transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.form-signin .btn-primary {
	--mdb-btn-bg: #3b71ca;
	--mdb-btn-color: #fff;
	--mdb-btn-box-shadow: 0 4px 9px -4px rgb(56.05, 107.35, 191.9);
	--mdb-btn-hover-bg: rgb(56.05, 107.35, 191.9);
	--mdb-btn-hover-color: #fff;
	--mdb-btn-focus-bg: rgb(56.05, 107.35, 191.9);
	--mdb-btn-focus-color: #fff;
	--mdb-btn-active-bg: rgb(53.1, 101.7, 181.8);
	--mdb-btn-active-color: #fff;
	--mdb-btn-box-shadow-state: 0 8px 9px -4px rgba(56.05, 107.35, 191.9, 0.3), 0 4px 18px 0 rgba(56.05, 107.35, 191.9, 0.2);
}


/* Cookies*/

.acceptcookies-line-wrp {
    box-sizing: border-box !important;
    margin: 0 !important;
    border: none !important;
    width: 100% !important;
    clear: both !important;
    z-index: 99;
    position: fixed;
    display: none;
    bottom: 0px !important;
  }
  
  .acceptcookies-line {
      box-sizing: border-box !important;
      margin: 0 !important;
      border: none !important;
      box-shadow: 0 .625em 1.8em #0000024d;
      width: 100% !important;
      min-height: 10px !important;
      clear: both !important;
      padding: 12px !important;
      position: relative;
      opacity: 0.95;
      transform: translateY(0%);
      margin-left: auto !important;
      margin-right: auto !important;
      border-radius: 5px;
      transform: translateY(-10%);
      max-width: 900px;
      font-size: 13px;
      color: #000000;
      background-color: #ffffff;
  }
  
  .acceptcookies-line {
      font-family: inherit;
      line-height: 1;
      padding: 10px;
  }

  
  .acceptcookies-line > div {
      display: flex;
      align-items: center;
  }
  
  .acceptcookies-line > div > div {
      padding-left: 5%;
      padding-right: 5%;
      padding-top: 2px;
      padding-bottom: 2px;
  }
  
  .acceptcookies-line #acceptcookies-line-accept-btn {
      cursor: pointer;
      color: inherit;
      background-color: inherit;
      padding-left: inherit;
      padding-right: inherit;
      margin: inherit;
      border: inherit;
      border-radius: inherit;
      font-size: 13px;
      color: #ffffff;
      background-color: #d62828;
      border-radius: 6px;
      padding-left: 35px;
      padding-right: 35px;
      padding-top: 9px;
      padding-bottom: 9px;
      border: 0px solid #00162d;
  }
  
  @media screen and (max-width: 768px) {
  
      .acceptcookies-line > div {
        font-size: 13px;
        flex-direction: column;
      }
  
      .acceptcookies-line > div > div {
          padding-left: 3%;
          padding-right: 3%;
          padding-bottom: 1%;
      }
  
      .acceptcookies-line #acceptcookies-line-accept-btn {
          margin-top: 5px;
      }
  
      .acceptcookies-line {
          transform: translateY(0px);
      }
  
      .another-version-title {
          display: none;
      }
  }


  @media (max-width: 575.98px) {
  .padding-top-xs {
    padding-top: 20px !important;
  }
}
 
