
/*! custom.css */

/* ... Misc ...
-----------------------------------------------*/
#header .inside {
  display: flex;
  padding-top: 20px;
}
.image_container img,
.image_container a {
  display: block;
}
/* ... Misc ... END
-----------------------------------------------*/



/* ... Navigation ...
-----------------------------------------------*/
.mod_navigation ul {
  list-style-type: none;
}
.mainnav {
  flex: 1 1 auto;
}
.mainnav > ul {
  float: right;
}
.mainnav li {
  display: inline-block;
}
.mainnav li a,
.mainnav span {
  display: block;
  white-space: nowrap;
  font-size: 15px;
  text-decoration: none;
  text-transform: uppercase;
  color: #283583;
  padding: 5px 1em;
  letter-spacing: .07em;
}
.mainnav li a:hover,
.mainnav span,
.mainnav a.trail {
  border-bottom: 2px solid #283583;
}
.subnav {
  margin-bottom: 10px;
}
.subnav ul {
  display: flex;
  transition: all 0s ease 0s;
}
.subnav li a,
.subnav span {
  display: block;
  white-space: nowrap;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: .07em;
  text-align: center;
  padding: 3px 30px 3px 30px;
}
.subnav span,
.subnav a.trail {
  background-color: #283583;
  background-color: rgba(40, 53, 131, 1);
  color: #fff;
}
.subnav li a:focus,
.subnav li a:hover,
.subnav li a:active {
  background-color: rgba(40, 53, 131, .5);
  color: #fff;
}
.subnav-start,
.subnav-start ~ li {
  opacity: 1;
  transition: opacity 2s ease 0s;
}
.subnav-active ~ .subnav-start,
.subnav-active ~ .subnav-start ~ li {
  opacity: 0;
}
#subnavScroll {
  display: flex;
  justify-content: flex-end;
  height: 40px;
  margin-top: 0;
}
#subnavScroll div {
  width: 4%;
  cursor: pointer;
  background-image: url(img/arrow_left.png);
  background-position: -11px center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: all .2s ease 0s;
  opacity: 1;
}
#subnavScroll div:hover {
  opacity: .5;
  background-color: rgba(0, 0, 0, 0);
}
#subnavScroll.subnav-no-prev .subnav-left {
  opacity: .1;
}
#subnavScroll.subnav-no-prev .subnav-left:hover {
  cursor: default;
  opacity: 1;
  background-color: transparent;
}
#subnavScroll .subnav-right {
  background-image: url(img/arrow_right.png);
  background-position: calc(100% + 11px) center;
}
#subnavScroll .subnav-right:hover {
  background-image: url(img/arrow_right.png);
  background-position: calc(100% + 11px) center;
}
#hoverContainer {
  position: fixed;
  left: 0;
  top: 165px;
  /* depends on height */
  width: 100vw;
  height: calc(100vh - 165px);
  /* depends on top */
  visibility: hidden;
  background-color: rgba(40, 53, 131, .8);
  background-color: rgba(255, 255, 255, .9);
  transition: background-color .5s cubic-bezier(.4, 1, .6, 1) 0s;
}
#hoverContainer.hovered {
  visibility: visible;
}
#hoverContainer.hovered.on-span {
  visibility: hidden;
}
#hoverContainer div {
  max-width: 944px;
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  top: 25px;
  margin: auto;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top;
  background-clip: content-box;
  width: 100%;
  height: 100%;
  border: 0px solid transparent;
  opacity: 0;
  transition: opacity .5s cubic-bezier(.4, 1, .6, 1) 0s;
}
#hoverContainer div.active {
  opacity: 1;
}
/* mobile Navi Trigger*/
.hamburger {
  display: none;
}
/* ... Navigation ... END
-----------------------------------------------*/



/* ... rsts debug basics  ... 
-----------------------------------------------*/
header,
footer,
.subnav,
#hoverContainer,
.rs-columns.ce_rs_columns_start {
  /*! display: none; */
}
#main .inside {
	/*! margin-top: 0; */
	/*! min-height: 0; */
}
img {
	border: 1px orange dotted;
	display: block;
	max-width: calc(100% - 2px);
}
#main, #left, #right {
	/*! float: none; */
}
/* ... rsts debug basics  ... END
-----------------------------------------------*/



/* ... rsts debug - extra padding for title trick ...
-----------------------------------------------*/
.rsts-crop,
.rsts-thumbs-crop {
  padding-bottom: 112px;
  box-sizing: content-box;
}
.rsts-slide,
.rsts-thumbs-slide {
	overflow: visible;
}
/* ... rsts debug - extra padding for title trick  ... END
-----------------------------------------------*/






