/* -------------------------------- 

Primary style

-------------------------------- */
/*html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}*/

/**, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}*/





/*a {
  color: #FFFFFF;
  text-decoration: none;
}*/

/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */
.unoh-img-replace {
  /* replace text with a background-image */
  display: inline-block;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}

.overflow-hidden {
  overflow: hidden;
}

/* -------------------------------- 

Main components 

-------------------------------- */
.unoh-main-content {
  /* set a min-height and a z-index to be sure that the main element completely covers the lateral menu */
  /*min-height: 100%;*/
  position: relative;
  background-color: #fefefe;
  z-index: 2;
  padding-top: 50px;
  /* Force Hardware Acceleration in WebKit */

  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  transition-duration: 0.4s;
}
.unoh-main-content.lateral-menu-is-open {
  /* translate to show the lateral menu - all content needs to be put in the .unoh-main-content to translate*/
  -webkit-transform: translateX(-320px);
  -moz-transform: translateX(-320px);
  -ms-transform: translateX(-320px);
  -o-transform: translateX(-320px);
  transform: translateX(-320px);
}
@media only screen and (min-width: 768px) {
  .unoh-main-content {
    padding-top: 80px;
  }
}

header {
  position: absolute;
  top: 0;
  left: 0;
  height: 50px;
  width: 100%;
  background: #680001;
  z-index: 3;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  transition-duration: 0.4s;
}
header.lateral-menu-is-open {
  /* translate to show the lateral menu */
  -webkit-transform: translateX(-320px);
  -moz-transform: translateX(-320px);
  -ms-transform: translateX(-320px);
  -o-transform: translateX(-320px);
  transform: translateX(-320px);
}
header.is-fixed {
  position: fixed;
}
@media only screen and (min-width: 768px) {
  header {
    height: 80px;
  }
}

#unoh-logo {
  display: none;
  float: none;
  margin: 0 auto;
  
}
#unoh-logo img {
  display: none;
  float: none;
  margin: 0 auto;
  background-color:#ffffff;
  padding:15px 25px 20px 25px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  width:360px;  
}

.mobile-logo a{
    display: none;
}


@media only screen and (min-width: 768px) {
  #unoh-logo {
    margin: 0 auto;
    display: none;
    float: none;
    width:100px;
  }
}
@media only screen and (max-width: 767px) {
  #unoh-logo {
    margin: 20px 0 0 15px;
    width:100px;
    display:none;
  }
  #unoh-logo img {
  padding:2px 0 0 0;
  width:50px;
  background-color:transparent;
  background: url("../img/unoh-logo2.png") no-repeat width:120px;
    display:none;  
  }
  
  .mobile-logo a{
    display: block;
    float: left;
  }  
  
  .desktop-logo a{
    display: none;
  }
}

#unoh-top-nav {
  position: absolute;
  top: 0;
  left: 120px;
  height: 100%;
  display: none;
}
#unoh-top-nav ul {
  height: 100%;
  padding-top: 18px;
}
#unoh-top-nav li {
  display: inline-block;
  margin-right: 0.3em;
}
#unoh-top-nav a {
  display: inline-block;
  padding: .5em;
  color: #FFF;
  text-transform: uppercase;
  font-weight: 600;
  font-size:13px;
}
#unoh-top-nav a.current {
  background-color: #242e30;
}
.no-touch #unoh-top-nav a:hover {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

@media only screen and (min-width: 1280px) {
  #unoh-top-nav {
    display: block;
  }
  .mobile-logo a{
    display: none;
  }
}



#unoh-menu-trigger {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50px;
  background-color: #333333;
}
#unoh-menu-trigger .unoh-menu-text {
  height: 100%;
  text-transform: uppercase;
  color: #FFF;
  font-weight: 600;
  display: none;
}
#unoh-menu-trigger .unoh-menu-icon {
  /* this span is the central line in the menu menu */
  display: inline-block;
  position: absolute;
  left: 50%;
  top: 45%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  width: 18px;
  height: 2px;
  background-color: #FFF;
  /* these are the upper and lower lines in the menu menu */
}
#unoh-menu-trigger .unoh-menu-icon::before, #unoh-menu-trigger .unoh-menu-icon:after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: inherit;
  left: 0;
}
#unoh-menu-trigger .unoh-menu-icon::before {
  bottom: 5px;
}
#unoh-menu-trigger .unoh-menu-icon::after {
  top: 5px;
}
#unoh-menu-trigger.is-clicked .unoh-menu-icon {
  background-color: rgba(255, 255, 255, 0);
}
#unoh-menu-trigger.is-clicked .unoh-menu-icon::before, #unoh-menu-trigger.is-clicked .unoh-menu-icon::after {
  background-color: white;
}
#unoh-menu-trigger.is-clicked .unoh-menu-icon::before {
  bottom: 0;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
#unoh-menu-trigger.is-clicked .unoh-menu-icon::after {
  top: 0;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
@media only screen and (min-width: 768px) {
  #unoh-menu-trigger {
    width: 110px;
    padding-left: 1.25em;
  }
  #unoh-menu-trigger .unoh-menu-text {
    display: inline-block;
    line-height: 70px;
  }
  #unoh-menu-trigger .unoh-menu-icon {
    left: auto;
    right: 1.25em;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}

#unoh-lateral-nav {
  position: fixed;
  height: 100%;
  right: 0;
  top: 0;
  visibility: hidden;
  /* the secondary navigation is covered by the main element */
  z-index: 1;
  width: 360px;
  background-color: #333333;
  overflow-y: auto;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-transition: -webkit-transform .4s 0s, visibility 0s .4s;
  -moz-transition: -moz-transform .4s 0s, visibility 0s .4s;
  transition: transform .4s 0s, visibility 0s .4s;
  /* this creates the subtle slide in animation of the navigation */
  -webkit-transform: translateX(120px);
  -moz-transform: translateX(120px);
  -ms-transform: translateX(120px);
  -o-transform: translateX(120px);
  transform: translateX(120px);
}
#unoh-lateral-nav .unoh-navigation {
  margin: 10px 0 0px;
  list-style-type: none;
}
#unoh-lateral-nav .sub-menu {
  padding: 0 10px 20px 0px;
  display: none;
  list-style-type: none;
  background-color: #494949;

}
#unoh-lateral-nav a {
  display: block;
  line-height: 2em;
  padding: 0 0px 0 32px;
  color: #FFF;
}
#unoh-lateral-nav a.current {
  background-color: #3a4a4d;
  color: #FFF;
}
.no-touch #unoh-lateral-nav a:hover {
  color: #680001;
  text-decoration: none;
  background-color: #FFF;
}

.no-touch #unoh-lateral-nav a:active {
  color: #680001;
  text-decoration: none;
  background-color: #5f5f5f;
}

.no-touch #unoh-lateral-nav .button a:hover {
  color: #680001;
  text-decoration: none;
}
@media only screen and (min-width: 768px) {
  #unoh-lateral-nav .unoh-navigation {
    margin: 10px 0;
  }
}
#unoh-lateral-nav.lateral-menu-is-open {
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
  visibility: visible;
  -webkit-transition: -webkit-transform .4s 0s, visibility 0s 0s;
  -moz-transition: -moz-transform .4s 0s, visibility 0s 0s;
  transition: transform .4s 0s, visibility 0s 0s;
  /* smooth the scrolling on touch devices - webkit browsers */
  -webkit-overflow-scrolling: touch;
}

/* style menu items which have a submenu  */
#unoh-lateral-nav .item-has-children > a {
  position: relative;
  text-transform: uppercase;
  font-weight: 600;
  color: #FFFFFF;

  /* this is the right arrow to show that the item has a submenu  */
}


#unoh-lateral-nav .item-has-children > a::after {
  content: '';
  display: block;
  height: 15px;
  width: 15px;
  position: absolute;

  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 1em;
  background: url("../img/plus.svg") no-repeat center center;
  background-size: 15px 15px;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.2s;
  -moz-transition-duration: 0.2s;
  transition-duration: 0.2s;
}
#unoh-lateral-nav .item-has-children > a.submenu-open::after {
  -webkit-transform: translateY(-50%) rotate(45deg);
  -moz-transform: translateY(-50%) rotate(45deg);
  -ms-transform: translateY(-50%) rotate(45deg);
  -o-transform: translateY(-50%) rotate(45deg);
  transform: translateY(-50%) rotate(45deg);
}



#unoh-lateral-nav .socials {
  padding: 0 32px;
}
#unoh-lateral-nav .socials:after {
  content: "";
  display: table;
  clear: both;
}
#unoh-lateral-nav .socials a {
  height: 32px;
  width: 32px;
  float: left;
  padding: 0;
  background-image: url("../img/unoh-socials.svg");
  background-repeat: no-repeat;
  background-size: 128px 64px;
  background-color: #FFF;
  margin-right: .5em;
  border-radius: 0.25em;
}
#unoh-lateral-nav .socials a.unoh-twitter {
  background-position: 0 0;
}
#unoh-lateral-nav .socials a.unoh-github {
  background-position: -32px 0;
}
#unoh-lateral-nav .socials a.unoh-facebook {
  background-position: -64px 0;
}
#unoh-lateral-nav .socials a.unoh-google {
  background-position: -96px 0;
}
.no-touch #unoh-lateral-nav .socials a:hover {
  background-color: #4e6361;
}
.no-touch #unoh-lateral-nav .socials a:hover.unoh-twitter {
  background-position: 0 -32px;
}
.no-touch #unoh-lateral-nav .socials a:hover.unoh-github {
  background-position: -32px -32px;
}
.no-touch #unoh-lateral-nav .socials a:hover.unoh-facebook {
  background-position: -64px -32px;
}
.no-touch #unoh-lateral-nav .socials a:hover.unoh-google {
  background-position: -96px -32px;
}

hr {
	background-image: -webkit-linear-gradient(left, transparent, #FFFFFF, transparent);
	background-image: linear-gradient(to right, transparent, #FFFFFF, transparent);
	border: 0;
	height: 1px;
	margin: 22px 0;
    color:#FFFFFF;
}

hr.gradient-to-right {
	background-image: -webkit-linear-gradient(left, #FFFFFF, transparent);
	background-image: linear-gradient(to right, #FFFFFF, transparent);
}
