* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: #eef3f7;
  color: #263746;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

#content-wrapper {
  width: min(1100px, calc(100% - 24px));
  margin: 24px auto;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 35px rgba(24, 48, 69, .12);
}

#header-container {
  height: auto !important;
  min-height: 108px;
  padding: 18px 28px 12px;
  background: #fff;
}

.logo {
  display: block;
  width: 300px;
  max-width: 100%;
  height: 72px !important;
  background-position: left center !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
}

#navigation-wrapper {
  min-height: 44px;
  background: #122b43 !important;
}

.sf-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0 12px;
}

.sf-menu li {
  float: none;
}

.sf-menu a,
.sf-menu a:visited {
  display: block;
  padding: 12px 13px;
  color: #fff !important;
  font-size: 12px;
  line-height: 1.2;
  text-decoration: none;
}

.sf-menu li:hover,
.sf-menu li.sfHover,
.sf-menu a:focus,
.sf-menu a:hover,
.sf-menu a:active {
  background: #1d789d !important;
  color: #fff !important;
}

.sf-menu ul {
  min-width: 210px;
  background: #122b43 !important;
}

#content-top-empty-space,
#content-bottom-empty-space {
  height: 18px !important;
}

#content {
  width: 100% !important;
  max-width: none !important;
  padding: 0 34px 48px;
}

.page-width-left,
.page-width-right,
.page-width-full {
  width: 100% !important;
  max-width: none !important;
}

#sidebar {
  max-width: 260px;
}

h1,
h2,
h3,
h4,
h5,
h6,
h1 span,
h2 span,
h3 span,
h4 span,
h5 span,
h6 span {
  color: #1d6f98 !important;
}

h1 {
  margin-top: 1.2em;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.15;
}

h2 {
  margin-top: 1.8em;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.25;
}

h3 {
  margin-top: 1.5em;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  line-height: 1.3;
}

p,
li {
  overflow-wrap: anywhere;
}

img,
.wp-caption,
iframe,
embed,
object {
  max-width: 100% !important;
  height: auto !important;
}

.alignleft {
  max-width: 42% !important;
  margin: 0 22px 14px 0;
}

.alignright {
  max-width: 42% !important;
  margin: 0 0 14px 22px;
}

#slider-a-container {
  width: 100% !important;
  max-width: 100%;
  overflow: hidden;
}

#slider-a-container .slide,
#slider-a-container .desc {
  max-width: 100%;
}

#homepage-tabs,
#quick-news-panel {
  max-width: 100%;
}

@media (max-width: 700px) {
  #content-wrapper {
    width: 100%;
    margin: 0;
  }

  #header-container {
    min-height: 86px;
    padding: 12px 16px 8px;
  }

  .logo {
    width: 230px;
    height: 58px !important;
  }

  .sf-menu {
    padding: 4px 8px;
  }

  .sf-menu a,
  .sf-menu a:visited {
    padding: 10px 8px;
    font-size: 11px;
  }

  #content {
    padding: 0 18px 34px;
  }

  #sidebar {
    float: none !important;
    width: 100% !important;
    max-width: none;
  }

  .alignleft,
  .alignright {
    float: none !important;
    display: block;
    max-width: 100% !important;
    margin: 0 auto 18px;
  }

  #slider-a-container {
    display: none;
  }
}

@media (max-width: 700px) {
  #content-wrapper {
    width: 100% !important;
  }

  #header-container {
    width: auto !important;
  }

  .logo {
    width: 230px !important;
  }

  .search-panel,
  .header-icons-panel {
    display: none !important;
  }

  #navigation-wrapper {
    width: 100% !important;
    overflow-x: auto;
  }

  .sf-menu {
    width: max-content !important;
    min-width: 100%;
    flex-wrap: nowrap;
  }
}

@media (max-width: 700px) {
  #navigation-wrapper {
    position: relative !important;
    overflow-x: auto;
  }

  .sf-menu {
    position: static !important;
  }

  #footer,
  .links-info-container {
    width: 100% !important;
  }

  .links-info-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 700px) {
  #footer-bottom,
  #content-bottom-empty-space {
    width: 100% !important;
  }
}

@media (max-width: 700px) {
  #navigation-wrapper {
    overflow: visible !important;
  }

  .sf-menu {
    width: 100% !important;
    min-width: 0 !important;
    flex-wrap: wrap !important;
    justify-content: flex-start;
  }

  .sf-menu > li {
    flex: 0 0 auto;
  }

  .sf-menu > li > a,
  .sf-menu > li > a:visited {
    padding-right: 7px;
    padding-left: 7px;
    font-size: 10px;
  }
}

@media (max-width: 700px) {
  .sf-menu {
    display: block !important;
  }

  .sf-menu > li {
    display: block !important;
  }

  .sf-menu > li > a,
  .sf-menu > li > a:visited {
    display: block;
    width: 100%;
  }
}

@media (max-width: 700px) {
  .sf-menu {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
  }

  .sf-menu > li {
    display: block !important;
    float: none !important;
    flex: 0 0 auto;
  }

  .sf-menu > li > span {
    display: block;
    padding: 10px 7px;
    color: #fff;
    font-size: 10px;
    line-height: 1.2;
  }
}
