.rvm_hero {
  background:#303876;
  color:#FFF;
  position:relative;
  text-align:center;
}
body:not(.rvm_shown) .rvm_hero { display:none; }
.rvm_hero::before {
  content:"";
  display:block;
  position:absolute;
  height:8px;
  inset:0 0 auto 0;
  margin:auto;
  background-image:linear-gradient(90deg,#C5CE41 0%,#C5CE41 15%,#E94F34 15%,#E94F34 30%,#294754 30%,#294754 45%,#9185BE 45%,#9185BE 60%,#B1D6E3 60%,#B1D6E3 75%,#F4C460 75%,#F4C460 100%);
}
.rvm_hero a {
  color:#F4C460;
  text-decoration:underline;
}
.rvm_hero--inner {
  padding:28px 64px 20px;
  text-wrap:pretty;
}
@media only screen and (max-width: 640px) {
  .rvm_hero--inner { padding-inline:64px 100px; }
  .rvm_hero--inner a { display:block; }
}
.rvm_hero--close {
  margin:auto;
  position:absolute;
  content:"";
  inset:8px 48px 0 auto;
  width:auto;
  height:100%;
  max-height:64px;
  aspect-ratio:1;
}
@media only screen and (max-width: 1240px) {
  .rvm_hero--close {
    right:auto;
    left:0;
  }
}
.rvm_hero--close::before, .rvm_hero--close::after {
  background:#F4C460;
  content:"";
  margin:auto;
  position:absolute;
  inset:0;
  width:12px;
  height:2px;
  transition:scale 300ms ease-in-out;
}
.rvm_hero--close::before { rotate:45deg; }
.rvm_hero--close::after { rotate:-45deg; }
.rvm_hero--close:hover::before, .rvm_hero--close:hover::after { scale:1.5 1; }
#main-menu {
  display:flex;
  flex-wrap:nowrap;
  justify-content:space-around;
  list-style:none;
  padding:0 30px;
  height:80px;
}
#main-menu .menu-item {
  align-content:center;
  align-items:center;
  flex:1 1 auto;
  justify-content:center;
  height:100%;
}
#main-menu .menu-item a {
  align-content:center;
  align-items:center;
  color:#2b4043;
  display:flex;
  justify-content:center;
  padding-top:4px;
  position:relative;
  text-align:center;
  text-transform:uppercase;
  height:100%;
}
#main-menu .menu-item a:after {
  background:#8bb043;
  content:"";
  display:block;
  margin:auto;
  position:absolute;
  top:auto;
  right:0;
  bottom:0;
  left:0;
  height:5px;
  transform-origin:0 0;
  transform:scaleX(0);
  transition:transform 600ms ease-in-out;
}
#main-menu .menu-item:not(.current-menu-item) a:hover { color:#8bb043; }
#main-menu .menu-item:not(.current-menu-item) a:hover:after { transform:scaleX(1); }
#main-menu .current-menu-item > *, #main-menu .current_page_parent > *, #main-menu .current_page_ancestor > * { font-weight:900; }
#main-menu-container {
  background-color:transparent;
  transition:background-color 150ms ease-in-out;
}
.scrolled #header { padding-bottom:80px; }
.scrolled #main-menu-container {
  background-color:#ffffff;
  border-bottom:1px solid #d1d8e7;
  margin:auto;
  position:fixed;
  top:0;
  right:0;
  bottom:auto;
  left:40px;
  z-index:999;
}
.scrolled #main-menu-container #main-menu {
  background:#ffffff;
  margin:auto;
  max-width:1200px;
}
#header .search-form-wrapper {
  width:141px;
  height:100%;
  flex:0 0 auto;
}
#header .search-form-wrapper .search-form-switch {
  align-content:center;
  align-items:center;
  border-left:1px solid #d1d8e7;
  display:flex;
  justify-content:center;
  position:relative;
  z-index:1;
  width:100%;
  height:100%;
}
#header .search-form-wrapper .search-form-switch:hover { color:#ffffff; }
#header .search-form-wrapper .search-form-switch .icon {
  fill:#173c86;
  margin:9px 0 0 -4px;
  transition:fill 300ms ease-in-out;
  width:24px;
  height:25px;
}
#header .search-form-wrapper .search-form-switch:hover .icon { fill:#ffffff; }
#header .search-form-wrapper .search-form-switch:after {
  background:#173c86;
  content:"";
  display:block;
  margin:auto;
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  z-index:-1;
  transform:scaleX(0);
  transform-origin:0 0;
  transition:transform 600ms ease-in-out;
}
#header .search-form-wrapper .search-form-switch:hover:after { transform:scaleX(1); }
#searchform {
  background:#173c86;
  margin:auto;
  overflow:hidden;
  position:fixed;
  top:0;
  left:0;
  z-index:1000;
  width:100vw;
  height:100vh;
  clip:rect(0,100vw,100vh,0);
  transform-origin:center;
  transition:all 300ms ease-out;
  transition-property:clip;
}
#searchform #s {
  background:transparent;
  color:#ffffff;
  display:block;
  font-size:60px;
  font-weight:700;
  margin:auto;
  position:absolute;
  top:50%;
  left:0;
  text-align:center;
  transform:translateY(-50%);
  width:100%;
  height:100%;
  max-height:100px;
}
#searchform label, #searchform #searchsubmit {
  position:absolute;
  top:-999px;
}
#searchform .close {
  background:rgba(255,255,255,0);
  position:absolute;
  top:0;
  right:0;
  z-index:10;
  width:120px;
  height:120px;
  visibility:visible;
}
#searchform .close:before, #searchform .close:after {
  background-color:#ffffff;
  border:0;
  border-radius:5px;
  content:"";
  display:block;
  margin:auto;
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  width:20px;
  height:3px;
  transform-origin:center;
  transition:transform 0.3s ease-out;
}
#searchform .close:before { transform:rotate(45deg); }
#searchform .close:after { transform:rotate(-45deg); }
#searchform .close:hover:before { transform:rotate(45deg) scaleX(2); }
#searchform .close:hover:after { transform:rotate(-45deg) scaleX(2); }
html.js:not(.extra-search-ready) #searchform { display:none; }
.extra-search-closed #searchform { clip:rect(0,100vw,100vh,100vw); }
.extra-search-closed #searchform .close { visibility:hidden; }
#top-menu-container ul {
  display:flex;
  list-style:none;
  height:100%;
}
#top-menu-container .menu-link-wrapper { height:100%; }
#top-menu-container .menu-link-wrapper-active .link:after {
  background-color:#e4e5e7;
  transform:scaleX(1);
}
#top-menu-container .link {
  align-items:center;
  border-left:1px solid #d1d8e7;
  display:flex;
  font-weight:900;
  padding:10px 45px 0;
  position:relative;
  z-index:1;
  text-transform:uppercase;
  height:100%;
}
#top-menu-container .link:after {
  background:#173c86;
  content:"";
  display:block;
  margin:auto;
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  z-index:-1;
  transform:scaleX(0);
  transform-origin:0 0;
  transition:all 600ms ease-in-out;
  transition-property:transform, background-color;
}
#top-menu-container .link:hover { color:#ffffff; }
#top-menu-container .link:hover:after {
  background:#173c86;
  transform:scaleX(1);
}
#header {
  background:#ffffff;
  margin:auto;
  position:relative;
  z-index:999;
  width:100%;
  max-width:1200px;
}
#header .header-top {
  border-bottom:1px solid #d1d8e7;
  display:flex;
  height:120px;
}
.site-title {
  flex:1 1 auto;
  padding:20px 0 0 50px;
  width:200px;
  height:80px;
}
.site-title .logo {
  width:220px;
  height:80px;
}
.site-title .text {
  display:block;
  overflow:hidden;
  text-indent:200px;
  white-space:nowrap;
  width:0;
  height:0;
}
#wpadminbar {
  position:fixed ! important;
  top:auto;
  bottom:0;
}
#wpadminbar .menupop .ab-sub-wrapper, #wpadminbar .shortlink-input { bottom:32px; }
body.admin-bar { padding-bottom:32px; }
@media screen and (max-width: 782px) {
  #wpadminbar .menupop .ab-sub-wrapper, #wpadminbar .shortlink-input { bottom:46px; }
  body.admin-bar { padding-bottom:46px; }
}
@media only screen and (max-width: 1240px) {
  #header { display:none; }
}
