/**
 * Modern responsive layer for the AB theme.
 * Keeps Drupal 6 markup and regions intact while replacing the fixed-width skin.
 */

html,
html img {
  filter: none;
  -webkit-filter: none;
}

html {
  box-sizing: border-box;
  background: #fff;
}

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

body,
body.sidebars,
body.sidebar-left,
body.sidebar-right {
  min-width: 0;
}

body {
  background: #fff;
  color: #17233c;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

body,
body * {
  font-family: Mont, "Montserrat", Arial, Helvetica, sans-serif !important;
}

img,
iframe,
object,
embed {
  max-width: 100%;
}

img {
  height: auto;
}

a:link,
a:visited {
  color: #16489f;
}

a:hover,
a:focus {
  color: #0b337a;
}

#wrapper {
  background: #fff;
}

#wrapper #container {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 230px;
  grid-template-rows: auto auto auto auto;
  column-gap: 20px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  background: none;
}

#wrapper #container #header {
  display: flex;
  flex-direction: column;
  grid-column: 1 / -1;
  grid-row: 1;
  position: relative;
  background: none;
  color: #fff;
}

#top_header {
  display: flex;
  align-items: center;
  min-height: 42px;
  height: auto;
  margin: 0 -32px;
  padding: 0 32px;
  background: #4263af;
}

#toptop-title {
  flex: 1;
  height: auto;
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font: 13px/42px Arial, Helvetica, sans-serif;
}

#toptop-title a,
#toptop-title a:visited {
  color: #fff;
}

#enterzone {
  order: 3;
  display: flex;
  width: auto;
  height: auto;
  margin: 0 0 0 18px !important;
  float: none;
}

#enterzone > a,
#enterzone > a:visited {
  width: auto !important;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  position: static !important;
  background: none;
  color: #fff;
  font: 600 12px/42px Arial, Helvetica, sans-serif;
  text-decoration: none;
  text-transform: uppercase;
}

#enterzone > a:hover {
  background: rgba(255, 255, 255, .12);
}

#header-search-form {
  order: 2;
  display: flex;
  align-items: center;
  height: auto;
  float: none;
  line-height: normal;
}

#header-search-form #search {
  display: flex;
  align-items: center;
}

#header-search-form #edit-search-theme-form-1 {
  position: static !important;
  width: 220px;
  height: 32px;
  margin: 0 !important;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 3px 0 0 3px;
  background: rgba(255, 255, 255, .96);
}

#header-search-form #edit-submit-search {
  position: static !important;
  width: 36px;
  height: 32px;
  margin: 0 !important;
  padding: 7px;
  border: 0;
  border-radius: 0 3px 3px 0;
  background: #fff;
}

#brand-masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 150px;
  margin: 0 -32px;
  padding: 24px calc(4% + 32px);
  background: #173e9e;
}

.brand-home {
  display: flex;
  align-items: center;
  color: #fff !important;
  text-decoration: none !important;
}

.brand-logo {
  display: block;
  width: 420px;
  max-width: 100%;
  max-height: 118px;
  object-fit: contain;
  object-position: left center;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  font: 500 31px/1.12 Georgia, "Times New Roman", serif;
  letter-spacing: .02em;
}

.brand-copy small {
  margin-top: 8px;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  letter-spacing: .035em;
}

.brand-motto {
  max-width: 210px;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, .35);
  color: rgba(255, 255, 255, .9);
  font: 17px/1.45 Georgia, "Times New Roman", serif;
  text-align: center;
}

.brand-country-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  min-height: 110px;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, .35);
}

.brand-country-mark img {
  display: block;
  width: 130px;
  height: 110px;
  object-fit: contain;
}

#mobile-nav-toggle {
  display: none;
  order: 3;
}

#header-region {
  order: 3;
  display: flex;
  min-width: 0;
  min-height: 0;
  margin: 0 -32px;
  padding: 0 32px;
  background: #3156ac;
}

#header-region .block,
#header-region #block-block-5,
#header-region #block-block-26 {
  flex: 1;
  width: auto;
  margin: 0;
  float: none;
  border: 0;
}

#header-region .content {
  min-height: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

#header-region .content .numered_bomb,
#header-region .content .numered_bomb_2,
#header-region .content .numered_bomb_3 {
  display: none;
}

#header-region .content h1,
#header-region #block-block-5 .content h1,
#header-region #block-block-26 .content h1,
#header-region #block-block-6 .content h1,
#header-region #block-block-27 .content h1 {
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  padding: 15px 16px 8px;
  border: 0;
  background: none;
  text-align: center;
}

#header-region .content h1 span {
  display: inline;
  color: #fff;
  font: 600 16px/1.3 Arial, Helvetica, sans-serif;
}

#header-region ul.links3 {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 0;
  padding: 0 16px 14px;
}

#header-region ul.links3 li {
  margin: 0;
  padding: 0;
  background: none;
  text-align: center;
}

#header-region ul.links3 li a,
#header-region .content a {
  color: rgba(255, 255, 255, .82);
  font: 12px/1.35 Arial, Helvetica, sans-serif;
}

#header-region .block:hover {
  background: rgba(255, 255, 255, .08);
}

#block-block-35 {
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #eef3fb;
}

#block-block-35 #top_ads,
#block-block-35 #top_reklus {
  width: 100%;
  max-width: 1280px;
  min-width: 0;
  margin: 0 auto;
}

#block-block-35 .top_add_item img {
  display: block;
  width: 100%;
  height: 60px;
  object-fit: cover;
}

#headertbl {
  order: 4;
  display: block;
  margin: 24px 0;
  overflow: hidden;
}

#headertbl.header-identity {
  display: none;
}

#headertbl tbody,
#headertbl tr {
  display: block;
  width: 100%;
}

#headertbl tr {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(420px, 3.8fr) minmax(150px, 1fr);
  gap: 18px;
}

#headertbl td {
  display: block;
  width: auto !important;
  height: 140px;
  padding: 0;
  overflow: hidden;
  vertical-align: middle;
}

#headertbl img {
  display: block;
  margin: 0 auto 14px;
  border-radius: 4px;
}

/* Paid header banners must remain fully visible on desktop. */
#headertbl.header-ads,
#headertbl.header-ads td {
  height: auto;
  overflow: visible;
}

#headertbl.header-ads img {
  max-width: 100%;
  height: auto;
}

#crazy-subjects {
  width: auto;
  max-width: 760px;
  margin: 0 auto;
}

/* Main three-column content */
#wrapper #container #center {
  grid-column: 1 / -1;
  grid-row: 3;
  width: 100%;
  min-width: 0;
  float: none;
}

body.sidebar-left #center,
body.sidebar-right #center,
body.sidebars #center {
  margin: 0;
}

body.sidebar-left #center {
  grid-column: 2 / -1 !important;
}

body.sidebar-right #center {
  grid-column: 1 / 3 !important;
}

body.sidebars #center {
  grid-column: 2 !important;
}

body.sidebar-left #squeeze {
  margin-left: 0;
}

body.sidebar-right #squeeze {
  margin-right: 0;
}

body.sidebars #squeeze {
  margin: 0;
}

#wrapper #container .sidebar {
  float: none;
  width: 230px;
  margin: 34px 0 40px;
}

#sidebar-left {
  grid-column: 1;
  grid-row: 3;
  margin-left: 0 !important;
}

#sidebar-right {
  grid-column: 3;
  grid-row: 3;
  margin-left: 0 !important;
}

#wrapper #container #center .right-corner,
#wrapper #container #center .right-corner .left-corner {
  left: 0;
}

#wrapper #container #center .right-corner .left-corner {
  min-width: 0;
  min-height: 400px;
  margin: 0;
  padding: 38px 28px 50px;
}

#wrapper #container .sidebar .block {
  margin-bottom: 24px;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid #e1e7f0;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(24, 54, 105, .06);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

#wrapper #container .sidebar .block.block-nice_menus {
  overflow: visible;
}

.block-nice_menus .content,
.block-nice_menus ul.nice-menu {
  position: relative;
  z-index: 30;
}

#wrapper #container .sidebar .block h2,
#wrapper #container #sidebar-right .block h2 {
  height: auto;
  min-height: 46px;
  margin: 0;
  padding: 13px 16px;
  background: #17469f;
  color: #fff;
  font: 700 13px/1.5 Arial, Helvetica, sans-serif;
  text-align: left;
  white-space: normal;
}

#wrapper #container .sidebar .block .content {
  margin: 0;
  padding: 14px 16px;
}

#wrapper #container .sidebar .block .content img {
  display: block;
  margin: 0 auto;
}

ul.nice-menu,
ul.nice-menu li {
  width: 100%;
  margin: 0;
  font-size: 13px;
}

ul.nice-menu li {
  padding: 0;
  border: 0;
  border-bottom: 1px solid #e8edf5;
}

ul.nice-menu li:last-child {
  border-bottom: 0;
}

ul.nice-menu a,
ul.nice-menu a:visited,
ul.nice-menu a:active {
  padding: 10px 14px 10px 22px;
  background: none;
  color: #233454;
  line-height: 1.35;
}

ul.nice-menu a:before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  margin: 6px 0 0 -13px;
  border-radius: 50%;
  background: #3871c8;
}

ul.nice-menu a:hover {
  background: #f2f6fc;
  color: #17469f;
  text-decoration: none;
}

ul.nice-menu-right ul {
  left: 100%;
  z-index: 50;
  overflow: visible;
  border: 1px solid #d9e1ed;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(24, 54, 105, .16);
}

#sidebar-left ul.nice-menu li.menuparent:hover > ul,
#sidebar-left ul.nice-menu li.menuparent:focus-within > ul {
  display: block !important;
  visibility: visible !important;
}

#sidebar-left ul.nice-menu li.menuparent > ul {
  position: static !important;
  left: auto !important;
  display: block !important;
  visibility: visible !important;
  width: auto !important;
  margin: 0 !important;
  border: 0;
  border-top: 1px solid #e1e7f0;
  border-radius: 0;
  box-shadow: none;
}

#sidebar-left ul.nice-menu li.menuparent > ul li {
  float: none !important;
  width: 100%;
  margin: 0;
  border: 0;
  border-bottom: 1px solid #edf1f6;
}

#sidebar-left ul.nice-menu li.menuparent > ul a {
  width: auto;
  margin: 0;
  padding-left: 34px;
  background: #f6f8fb;
  font-weight: normal;
}

.topcontent .block > h2,
h2.article-title,
#center .block > h2 {
  margin-bottom: 22px;
  color: #17233c;
  font: 500 30px/1.2 Georgia, "Times New Roman", serif;
  text-transform: none;
}

h2.article-title {
  height: auto !important;
  padding: 0 0 14px !important;
  border-bottom: 2px solid #e2e8f1;
  background: none !important;
  line-height: 1.25 !important;
}

#center .node,
#center .view,
#center .block .content {
  max-width: 100%;
}

#center table {
  max-width: 100%;
}

/* OKRB catalog: codes are identifiers and must never split across lines. */
table.sp-table6 th.sp-code-column,
table.sp-table6 tbody td:first-child,
table.sticky-header th.sp-code-column {
  white-space: nowrap !important;
}

#center table tbody td:first-child a[href^="/spec_table/table2022/"] {
  display: inline-block;
  white-space: nowrap !important;
}

.news_tl,
.news_tr,
.news_b,
.news_t,
.news_bl,
.news_br,
.news_l,
.news_r {
  background-image: none !important;
}

.topcontent .block .content,
#center .node {
  padding: 24px;
  border: 1px solid #e1e7f0;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(24, 54, 105, .07);
}

/* The legacy sidebar rule removes the right padding from every node. */
#wrapper #container #center .node {
  padding-right: 24px !important;
}

.news_archive,
.news_t a.news_archive {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin: 0;
  padding: 8px 18px 8px 24px !important;
  float: none;
  border: 1px solid #b9c8de;
  border-radius: 4px;
  background: #fff;
  background-image: none !important;
  color: #17469f !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
}

.news_archive:hover,
.news_archive:focus,
.news_t a.news_archive:hover,
.news_t a.news_archive:focus {
  border-color: #17469f;
  background: #eef4fc;
  color: #17469f !important;
}

#block-views-lastnews-block_1 .news_tl,
#block-views-lastnews-block_1 .news_tr,
#block-views-lastnews-block_1 .news_b,
#block-views-lastnews-block_1 .news_t,
#block-views-lastnews-block_1 .news_bl,
#block-views-lastnews-block_1 .news_br,
#block-views-lastnews-block_1 .news_l,
#block-views-lastnews-block_1 .news_r {
  width: 100% !important;
  height: auto !important;
  min-height: 0;
  margin: 0 !important;
  padding: 0 !important;
}

#block-views-lastnews-block_1 .news_t {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 18px !important;
}

#block-views-lastnews-block_1 .view-lastnews {
  width: 100%;
}

#node-8771 {
  width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

/* News cards: the legacy theme capped every row at 258px and hid the rest. */
.view-lastnews .views-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 22px;
  max-height: none;
  margin-bottom: 20px;
  padding: 18px;
  overflow: visible;
  border: 1px solid #dfe6f1;
  border-radius: 8px;
  background: #f8fafd;
  box-shadow: 0 5px 18px rgba(24, 54, 105, .06);
}

.view-lastnews .views-row:last-child {
  margin-bottom: 0;
}

.view-lastnews .views-field-field-news-foto-fid {
  grid-column: 1;
  grid-row: 1 / 4;
}

.view-lastnews .views-field-field-news-foto-fid img {
  display: block;
  width: 220px !important;
  height: 165px !important;
  margin: 0 !important;
  border-radius: 6px;
  object-fit: cover;
}

.view-lastnews .views-field-created,
.view-lastnews .views-field-title,
.view-lastnews .views-field-teaser {
  grid-column: 2;
  float: none !important;
  width: auto !important;
}

.view-lastnews .views-field-created {
  grid-row: 1;
  margin: 0 0 5px;
  color: #68778f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
}
.view-lastnews .views-field-title { grid-row: 2; }
.view-lastnews .views-field-teaser { grid-row: 3; }

.view-lastnews .views-field-title {
  padding: 0 0 10px !important;
  font-size: 18px;
  line-height: 1.35;
}

.view-lastnews .views-field-title a,
.view-lastnews .views-field-title a:visited {
  color: #17469f !important;
  text-decoration: none;
}

.view-lastnews .views-field-title a:hover,
.view-lastnews .views-field-title a:focus {
  text-decoration: underline;
}

.view-lastnews .views-field-teaser,
.view-lastnews .views-field-teaser .field-content,
.view-lastnews .views-field-teaser p {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.view-lastnews .views-field-teaser .field-content {
  display: -webkit-box;
  overflow: hidden !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 9;
}

.view-lastnews .views-field-teaser p {
  margin: 0;
  color: #46546a;
  line-height: 1.55;
  text-align: left !important;
}

/* University pages: replace the sliced orange fieldset artwork with cards. */
.university-info .vuz-menu {
  height: auto !important;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid #dfe6f1;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(24, 54, 105, .07);
}

.university-info .vuz-menu .corner-t,
.university-info .vuz-menu .corner-b,
.university-info .vuz-menu .corner-l,
.university-info .vuz-menu .corner-bl,
.university-info .vuz-menu .corner-br,
.university-info .vuz-menu .corner-tl,
.university-info .vuz-menu .corner-tr,
.university-info .vuz-menu .corner-r,
.university-info .vuz-menu .corner-tt,
.university-info .vuz-menu .corner-tt h4 {
  height: auto !important;
  min-height: 0;
  margin: 0;
  background-color: transparent;
  background-image: none !important;
}

.university-info .vuz-menu .corner-tr {
  padding: 0;
}

.university-info .vuz-menu .corner-tt {
  display: block;
  width: auto;
  background: #17469f !important;
}

.university-info .vuz-menu .corner-tt h4 {
  padding: 12px 18px;
  color: #fff;
  font: 700 14px/1.45 Arial, Helvetica, sans-serif;
  white-space: normal;
}

.university-info .vuz-menu .corner-r {
  padding: 20px;
  color: #24324a;
}

.university-info .twocols {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr);
  gap: 20px;
}

.university-info .vuz-menu-left,
.university-info .vuz-menu-right {
  width: auto;
  margin-top: 22px;
  float: none;
}

.university-info .vuz-menu-left { grid-column: 1; grid-row: 1; }
.university-info .vuz-menu-right { grid-column: 2; grid-row: 1; }

.university-info .vuz-menu li {
  padding: 10px 0 10px 18px;
  background-image: none;
  border-bottom: 1px solid #edf1f6;
  font: 14px/1.45 Arial, Helvetica, sans-serif;
}

.university-info .vuz-menu li:before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  margin: 7px 0 0 -17px;
  border-radius: 50%;
  background: #3a70c4;
}

.university-info .avatara {
  background: #eef3f9 !important;
  border-color: #cad6e6;
  border-radius: 4px;
}

.university-info .vuz-leader {
  background: #e8eef8;
  color: #243b67;
}

.university-info table {
  margin: 16px 0 0;
}

.views-field-title a {
  color: #17469f;
  font-weight: 700;
}

.form-text,
textarea,
select {
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid #bac6d8;
  border-radius: 3px;
  background: #fff;
}

.form-submit,
.form-button {
  padding: 9px 18px;
  border: 0;
  border-radius: 3px;
  background: #17469f;
  color: #fff;
  cursor: pointer;
}

/* Advanced institution search form. */
#views-exposed-form-search-vuz-page-1 {
  margin: 0 0 34px;
  padding: 24px;
  border: 1px solid #dfe6f1;
  border-radius: 6px;
  background: #f7f9fc;
  box-shadow: 0 8px 24px rgba(24, 54, 105, .06);
}

#views-exposed-form-search-vuz-page-1 .views-exposed-widgets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

#views-exposed-form-search-vuz-page-1 .views-exposed-widget {
  width: auto;
  margin: 0;
  padding: 0;
  float: none;
}

#views-exposed-form-search-vuz-page-1 .views-exposed-widget > label {
  display: block;
  margin: 0 0 9px;
  color: #20304d;
  font: 700 14px/1.35 Arial, Helvetica, sans-serif;
}

#views-exposed-form-search-vuz-page-1 .views-operator {
  margin-bottom: 7px;
}

#views-exposed-form-search-vuz-page-1 .form-item,
#views-exposed-form-search-vuz-page-1 .views-widget,
#views-exposed-form-search-vuz-page-1 .views-operator {
  width: 100%;
}

#views-exposed-form-search-vuz-page-1 .form-text,
#views-exposed-form-search-vuz-page-1 .form-select {
  display: block;
  width: 100% !important;
  height: 40px;
  margin: 0;
  padding: 8px 11px;
  border: 1px solid #b9c6d8;
  border-radius: 4px;
  background: #fff;
  color: #263650;
  font: 14px/1.3 Arial, Helvetica, sans-serif;
}

#views-exposed-form-search-vuz-page-1 .views-operator .form-select {
  height: 34px;
  padding-top: 5px;
  padding-bottom: 5px;
  border-color: #d3dbe7;
  background: #eef2f7;
  color: #506078;
  font-size: 12px;
}

#views-exposed-form-search-vuz-page-1 .views-widget-filter-title_2 {
  grid-column: 1;
}

#views-exposed-form-search-vuz-page-1 .views-submit-button,
#views-exposed-form-search-vuz-page-1 .views-reset-button {
  display: flex;
  align-items: flex-end;
}

#views-exposed-form-search-vuz-page-1 .views-submit-button {
  grid-column: 2;
}

#views-exposed-form-search-vuz-page-1 .views-reset-button {
  grid-column: 3;
}

#views-exposed-form-search-vuz-page-1 .form-submit {
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 8px 18px;
  border-radius: 4px;
  font: 700 14px/1 Arial, Helvetica, sans-serif;
}

#views-exposed-form-search-vuz-page-1 .views-reset-button .form-submit {
  border: 1px solid #aebbd0;
  background: #fff;
  color: #294a80;
}

#views-exposed-form-search-vuz-page-1 .form-text:focus,
#views-exposed-form-search-vuz-page-1 .form-select:focus {
  border-color: #315eae;
  outline: 2px solid rgba(49, 94, 174, .16);
  outline-offset: 1px;
}

/* Compare-rates service: replace the legacy tiled and sliced orange skin. */
.compare-rates-page {
  color: #25344e;
}

.compare-rates-page fieldset {
  min-width: 0;
  margin: 0 0 24px;
  padding: 24px;
  border: 1px solid #dbe3ef;
  border-radius: 7px;
  background: #fff !important;
  background-image: none !important;
  box-shadow: 0 7px 22px rgba(24, 54, 105, .06);
}

.compare-rates-page fieldset fieldset {
  margin: 22px 0 0;
  background: #f7f9fc !important;
  box-shadow: none;
}

.compare-rates-page legend {
  padding: 6px 11px;
  border-radius: 4px;
  background: #17469f;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.compare-rates-page .form-item {
  margin: 0 0 20px;
}

.compare-rates-page .form-item > label {
  display: block;
  margin-bottom: 7px;
  color: #233452;
  font-size: 14px;
  line-height: 1.4;
}

.compare-rates-page .form-select,
.compare-rates-page .form-text {
  width: 100%;
  max-width: 460px;
  height: 42px;
  margin: 0;
  padding: 8px 11px;
  border: 1px solid #b9c6d8;
  border-radius: 4px;
  background: #fff;
}

.compare-rates-page #edit-goal-year {
  width: 110px;
}

.compare-rates-page #edit-rate {
  width: 150px;
}

.compare-rates-page hr {
  height: 1px;
  margin: 24px 0 !important;
  border: 0;
  background: #dfe6f0;
}

.compare-rates-page .messages.warning,
.compare-rates-page .paid-form-desc {
  margin: 12px 0;
  padding: 15px 17px !important;
  border: 1px solid #c8d8ee !important;
  border-radius: 5px;
  background: #eef4fc !important;
  color: #34445d;
  font-size: 13px;
  line-height: 1.55;
}

.compare-rates-page .form-checkboxes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 22px;
}

.compare-rates-page .form-checkboxes .form-item {
  margin: 0;
}

.compare-rates-page .form-checkboxes label {
  display: inline;
  margin: 0;
  font-weight: 500;
}

.compare-rates-page .form-submit {
  min-width: 170px;
  min-height: 42px;
}

.compare-rates-results > a:first-child {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 9px 15px;
  border: 1px solid #b9c8de;
  border-radius: 4px;
  background: #fff;
  font-weight: 600;
  text-decoration: none;
}

.compare-rates-results .vuz-menu {
  height: auto !important;
  margin: 0 0 22px !important;
  overflow: hidden;
  border: 1px solid #dbe3ef;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(24, 54, 105, .06);
}

.compare-rates-results .vuz-menu .corner-t,
.compare-rates-results .vuz-menu .corner-b,
.compare-rates-results .vuz-menu .corner-l,
.compare-rates-results .vuz-menu .corner-bl,
.compare-rates-results .vuz-menu .corner-br,
.compare-rates-results .vuz-menu .corner-tl,
.compare-rates-results .vuz-menu .corner-tr,
.compare-rates-results .vuz-menu .corner-r,
.compare-rates-results .vuz-menu .corner-tt,
.compare-rates-results .vuz-menu .corner-tt h4 {
  width: auto !important;
  height: auto !important;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: none !important;
  background-image: none !important;
}

.compare-rates-results .vuz-menu .corner-tt {
  background: #17469f !important;
}

.compare-rates-results .vuz-menu .corner-tt h4 {
  padding: 12px 18px;
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
}

.compare-rates-results .vuz-menu .corner-r {
  padding: 20px 22px;
}

.compare-rates-results .vuz-menu .corner-r br + br {
  display: none;
}

.compare-rates-results .ab-table.faculty-specs {
  width: 100%;
  margin: 20px 0;
  border: 1px solid #d6dfec;
  border-collapse: collapse;
  background: #fff;
}

.compare-rates-results .ab-table.faculty-specs th {
  padding: 10px 8px;
  border: 1px solid #315da9;
  background: #17469f !important;
  color: #fff;
  font-size: 11px !important;
  line-height: 1.35;
}

.compare-rates-results .ab-table.faculty-specs td {
  padding: 10px 8px;
  border: 1px solid #dce4ef;
  background: #fff !important;
  font-size: 12px;
  line-height: 1.4;
  vertical-align: top;
}

.compare-rates-results .ab-table.faculty-specs tr:nth-child(even) td {
  background: #f6f8fb !important;
}

.compare-rates-results .ab-table.faculty-specs tr.customer-row td {
  background: #dce9fb !important;
  color: #18365f;
}

.compare-rates-results .ab-table.faculty-specs h2 {
  margin: 0;
  color: #17469f;
  font-size: 14px;
  line-height: 1.3;
}

#wrapper #container #footer {
  grid-column: 1 / -1;
  grid-row: 4;
  height: auto;
  min-height: 240px;
  margin: 50px -32px 0 !important;
  padding: 45px 32px 35px;
  overflow: visible;
  background: #003e94;
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
}

#footer a,
#footer a:visited,
#footer #bottom_menu_0 a,
#footer .linki_go_home,
#footer .linli_error_report {
  color: #fff !important;
}

#footer .block {
  max-width: 1180px;
  margin: 0 auto 20px;
}

#footer #block-block-7 {
  min-height: 112px;
  height: auto;
  padding: 0 0 0 270px;
  background-image: url(images/logo-blue-white.png);
  background-position: left top;
  background-size: 235px auto;
}

#footer #block-block-8 {
  width: auto;
  padding: 0;
  float: none;
  text-align: right;
}

#footer #block-block-9 {
  display: none;
}

#footer #bottom_menu_0 {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, .92);
}

#footer #bottom_menu_1,
#footer #bottom_menu_2,
#footer #bottom_menu_right {
  height: auto;
  min-height: 0;
  background-image: none;
}

#footer .linki_go_home,
#footer .linli_error_report {
  display: inline-block;
  padding-left: 0;
  background-image: none;
  line-height: 1.5;
  white-space: nowrap;
}

#bottom_menu {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

#bottom_menu_right {
  order: 2;
}

@media screen and (max-width: 1024px) {
  #wrapper #container {
    grid-template-columns: 220px minmax(0, 1fr);
    padding-right: 22px;
    padding-left: 22px;
  }

  #top_header,
  #header-region,
  #wrapper #container #footer {
    margin-right: -22px !important;
    margin-left: -22px !important;
  }

  #brand-masthead {
    margin-right: -22px;
    margin-left: -22px;
    padding-right: 44px;
    padding-left: 44px;
  }

  #top_header,
  #header-region,
  #wrapper #container #footer {
    padding-right: 22px;
    padding-left: 22px;
  }

  .brand-motto,
  .brand-country-mark {
    display: none;
  }

  body.sidebars #squeeze {
    margin: 0;
  }

  #wrapper #container #center {
    grid-column: 2;
  }

  #sidebar-right {
    display: none;
  }

  #headertbl td:first-child,
  #headertbl td:last-child {
    display: none;
  }
}

@media screen and (max-width: 760px) {
  #wrapper {
    background: #fff;
  }

  #wrapper #container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    padding: 0 16px;
  }

  #top_header {
    min-height: 48px;
    margin: 0 -16px !important;
    padding: 0 16px;
  }

  #toptop-title {
    display: none;
  }

  #header-search-form {
    flex: 1;
  }

  #header-search-form form,
  #header-search-form #search {
    width: 100%;
  }

  #header-search-form #edit-search-theme-form-1 {
    flex: 1;
    width: auto;
    min-width: 0;
  }

  #enterzone {
    margin-left: 6px !important;
  }

  #enterzone > a,
  #enterzone > a:visited {
    min-width: 38px;
    padding: 0 9px;
    font-size: 0;
  }

  #enterzone > a:first-child {
    font-size: 12px;
  }

  #brand-masthead {
    min-height: 116px;
    margin: 0 -16px;
    padding: 18px 18px;
  }

  .brand-logo {
    width: 310px;
    max-height: 96px;
  }

  .brand-copy strong {
    font-size: 22px;
  }

  .brand-copy small {
    max-width: 210px;
    margin-top: 5px;
    font-size: 12px;
  }

  #mobile-nav-toggle {
    display: flex;
    align-items: center;
    width: calc(100% + 32px);
    min-height: 46px;
    margin: 0 -16px;
    padding: 0 16px;
    border: 0;
    background: #3156ac;
    color: #fff;
    font: 600 14px/1 Arial, Helvetica, sans-serif;
    text-align: left;
    cursor: pointer;
  }

  .mobile-nav-icon,
  .mobile-nav-icon:before,
  .mobile-nav-icon:after {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
  }

  .mobile-nav-icon {
    position: relative;
    margin-right: 11px;
  }

  .mobile-nav-icon:before,
  .mobile-nav-icon:after {
    content: "";
    position: absolute;
    left: 0;
  }

  .mobile-nav-icon:before { top: -6px; }
  .mobile-nav-icon:after { top: 6px; }

  #header-region {
    display: none;
    margin: 0 -16px !important;
    padding: 0;
    background: #123885;
  }

  #header-region.is-open {
    display: block;
  }

  #header-region .block {
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }

  #header-region .content h1 {
    padding: 14px 16px 8px;
    text-align: left;
  }

  #header-region ul.links3 {
    display: block;
    padding: 0 16px 10px;
  }

  #header-region ul.links3 li {
    padding: 6px 0;
    text-align: left;
  }

  #site-top-ads,
  #block-block-35,
  #headertbl,
  .content_banners {
    display: none !important;
  }

  #wrapper #container #center,
  #wrapper #container .sidebar {
    width: 100%;
    float: none;
  }

  #wrapper #container #center {
    grid-column: 1 !important;
    grid-row: 2;
  }

  body.sidebar-left #squeeze,
  body.sidebar-right #squeeze,
  body.sidebars #squeeze {
    margin: 0;
  }

  #sidebar-left,
  #sidebar-right {
    grid-column: 1;
    width: 100% !important;
    margin: 18px 0 0 !important;
  }

  #sidebar-left {
    display: block;
    grid-row: 3;
  }

  #wrapper #container .sidebar .block.block-nice_menus {
    overflow: hidden;
  }

  #sidebar-left ul.nice-menu li.menuparent > ul {
    position: static !important;
    left: auto !important;
    display: block !important;
    visibility: visible !important;
    width: auto !important;
    margin: 0 !important;
    border: 0;
    border-top: 1px solid #e1e7f0;
    border-radius: 0;
    box-shadow: none;
  }

  #sidebar-left ul.nice-menu li.menuparent > ul li {
    width: 100%;
    margin: 0;
    border: 0;
    border-bottom: 1px solid #edf1f6;
  }

  #sidebar-left ul.nice-menu li.menuparent > ul a {
    width: auto;
    margin: 0;
    padding-left: 34px;
    background: #f6f8fb;
  }

  #sidebar-right {
    display: none;
  }

  #wrapper #container #center .right-corner .left-corner {
    padding: 26px 0 34px;
  }

  #views-exposed-form-search-vuz-page-1 {
    margin-bottom: 26px;
    padding: 18px;
  }

  #views-exposed-form-search-vuz-page-1 .views-exposed-widgets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  #views-exposed-form-search-vuz-page-1 .views-widget-filter-title_1,
  #views-exposed-form-search-vuz-page-1 .views-widget-filter-tid,
  #views-exposed-form-search-vuz-page-1 .views-widget-filter-field_edu_form_value,
  #views-exposed-form-search-vuz-page-1 .views-widget-filter-title_2 {
    grid-column: 1 / -1;
  }

  #views-exposed-form-search-vuz-page-1 .views-submit-button {
    grid-column: 1;
  }

  #views-exposed-form-search-vuz-page-1 .views-reset-button {
    grid-column: 2;
  }

  #center .node {
    width: auto !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  #wrapper #container #center .node {
    padding-right: 17px !important;
  }

  .topcontent .block > h2,
  h2.article-title,
  #center .block > h2 {
    font-size: 25px;
  }

  .topcontent .block .content,
  #center .node {
    padding: 17px;
  }

  .views-field-field-news-foto-fid,
  .views-field-field-news-foto-fid img {
    width: 100% !important;
    height: auto !important;
    float: none !important;
    margin: 0 0 16px !important;
  }

  .view-lastnews .views-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    row-gap: 0;
    padding: 0 0 16px;
    overflow: hidden;
  }

  .view-lastnews .views-field-field-news-foto-fid,
  .view-lastnews .views-field-created,
  .view-lastnews .views-field-title,
  .view-lastnews .views-field-teaser {
    grid-column: 1;
  }

  .view-lastnews .views-field-field-news-foto-fid { grid-row: 1; }
  .view-lastnews .views-field-created { grid-row: 2; margin: 2px 0 8px; }
  .view-lastnews .views-field-title { grid-row: 3; display: block !important; }
  .view-lastnews .views-field-teaser { display: none !important; }

  .view-lastnews .views-field-field-news-foto-fid img {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    border-radius: 0;
    object-fit: contain;
  }

  .view-lastnews .views-field-field-news-foto-fid .field-content,
  .view-lastnews .views-field-field-news-foto-fid .field-content a {
    display: block;
    width: 100% !important;
  }

  .view-lastnews .views-field-created,
  .view-lastnews .views-field-title {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  .view-lastnews .views-field-created {
    margin-top: 13px;
  }

  .view-lastnews .views-field-title {
    padding-bottom: 0 !important;
    font-size: 15px;
    line-height: 1.35;
  }

  .view-lastnews .views-field-title a,
  .view-lastnews .views-field-title a:visited {
    font-size: 15px !important;
    line-height: 1.35 !important;
  }

  .compare-rates-page fieldset {
    padding: 17px;
  }

  .compare-rates-page .form-select,
  .compare-rates-page .form-text {
    max-width: 100%;
  }

  .compare-rates-page .form-checkboxes {
    grid-template-columns: minmax(0, 1fr);
  }

  .compare-rates-results {
    overflow-x: auto;
  }

  .compare-rates-results .vuz-menu .corner-r {
    padding: 16px;
  }

  .compare-rates-results .ab-table.faculty-specs {
    display: block;
    min-width: 760px;
    overflow-x: auto;
  }

  .university-info .twocols {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .university-info .vuz-menu-left,
  .university-info .vuz-menu-right {
    grid-column: 1;
    grid-row: auto;
  }

  .university-info .vuz-menu .corner-r {
    padding: 16px;
  }

  .university-info .vuz-brief-info .avatara {
    float: none;
    margin: 0 auto 16px;
  }

  .university-info .vuz-leader,
  .university-info .vuz-leader-name,
  .university-info .vuz-leader-title {
    display: block;
    text-align: center;
  }

  .university-info .vuz-brief-info table {
    display: block;
    width: 100%;
    overflow: visible;
    clear: both;
  }

  .university-info .vuz-brief-info tbody,
  .university-info .vuz-brief-info tr,
  .university-info .vuz-brief-info td {
    display: block;
    width: auto !important;
  }

  .university-info .vuz-brief-info tr {
    margin-bottom: 8px;
    padding: 10px 12px;
    background: #f4f7fb;
  }

  .university-info .vuz-brief-info .cont-label {
    margin-bottom: 4px;
    color: #284779;
    text-align: left;
  }

  .university-info .vuz-brief-info .cont-value {
    color: #44516a;
  }

  .university-info .cont-label,
  .university-info .cont-value {
    min-width: 120px;
    white-space: normal;
  }

  .views-field-teaser {
    text-align: left;
  }

  .news_archive {
    float: none;
    display: inline-block;
    margin: 0 0 15px;
  }

  table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }

  #wrapper #container #footer {
    grid-column: 1;
    grid-row: 4;
    margin: 30px -16px 0 !important;
    padding: 32px 20px;
  }

  #bottom_menu,
  #bottom_menu_0 {
    display: block;
  }

  #bottom_menu_right,
  #bottom_menu_1,
  #bottom_menu_2 {
    width: auto;
    margin: 0 0 18px;
    float: none;
  }

  #footer #block-block-7 {
    min-height: 0;
    padding: 102px 0 0;
    background-position: center top;
    background-size: 220px auto;
  }

  #footer #block-block-8 {
    text-align: center;
  }
}

@media screen and (max-width: 420px) {
  .brand-copy strong {
    font-size: 19px;
  }

  .brand-copy small {
    max-width: 190px;
    font-size: 11px;
  }

  .brand-logo {
    width: 270px;
    max-height: 88px;
  }
}
