
/*@media screen and (min-width: 561px) {*/

.site-content-contain {
  top: 120px;
  position: relative;
}

.header-inner {
/*  width: 70%;
  min-width: 740px;*/
  margin: 0 auto;
  position: relative;
  height:100%;
}

.header-inner ul {
    float: right;
}

.header-inner li {
    display: inline;
    float: left;
}

.logo-wrap { 
  height: 100%;
  float:left;

}
img.logo {
    float: left;
  max-height: 100%;
    position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

header {
/*    background-color: #c7c7c7;
    border-bottom: 1px solid #aaa;*/
    border-width: 0 0 2px 0;
    border-style: solid;
    float: left;
    width: 100%;
    position: fixed;
    z-index: 10;
}

header a {
   /* color: #969696;*/
    text-decoration: none;
    /*font-family: 'Amaranth', sans-serif;*/
    /*text-transform: uppercase;*/
    font-size: 1em;
}

header a.active, header a:hover {
  /*  color: #3d3d3d;*/
}

header li {
    /*margin-right: 30px;*/
}


header.large {
    height: 120px;
}
header.large img {

}

header.large li {

}


header.small {
    height: 50px;
}
header.small img {
  height: 50px;
}
header.small li {
}


header,
nav,
a,
img,
li {
    transition: .7s all;
    -moz-transition: .7s all;
    -webkit-transition: .7s all;
    -o-transition: .7s all;
}


.nav-container {
      position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  }


/*header {
  background: #940000;
}*/


@media screen and (min-width: 561px) {
  .header-inner {
/*  width: 70%;
  min-width: 740px;*/
  max-width: 1040px;
}
}



/* ================== */
.header a
 {
  border-width: 0 0 2px 0 !important;
  border-style: solid;
}




/* ================== */





nav {

    background: #940000;
    /*z-index: 999999;*/
}
nav ul {
  float: right;
}
nav ul a,
nav ul li {
  display: inline-block;
  float: left;
}

/*nav ul a,*/
nav ul li:not(:first-child) {
  margin-left: 25px;
}
nav ul a,
nav ul li a {
  display: inline-block;
  outline: none;
  /*color: #1f2227;*/
  font-size: 16px;
  text-decoration: none;
  letter-spacing: 0.04em;
}
nav ul a:hover,
nav ul li a:hover {
 
  text-decoration: none;
}





@media screen and (max-width: 560px) {
  .nav-container {
    /*top: 0;*/
    right: 0;

    width: 100%;
    z-index: -1;
    background: #940000;
    opacity: 0;
    transition: all 0.2s ease;
    float: right;

    margin: 20px 0;

  }
  .nav-container ul {
   position: absolute;

   right: 0;
     background: #940000;
     margin: 0;
     padding: 10px;
  }
  .nav-container ul li {
    display: block;
    float: none;
    width: 100%;
    text-align: right;
    margin-bottom: 10px;
  }
  .nav-container ul li:nth-child(1) a {
    transition-delay: 0.2s;
  }
  .nav-container ul li:nth-child(2) a {
    transition-delay: 0.3s;
  }
  .nav-container ul li:nth-child(3) a {
    transition-delay: 0.4s;
  }
  .nav-container ul li:nth-child(4) a {
    transition-delay: 0.5s;
  }
  .nav-container ul li:not(:first-child) {
    margin-left: 0;
  }
  .nav-container ul li a {
    opacity: 0;
    color: #fff;

    transform: translateY(-20px);
    transition: all 0.2s ease;
  }
  .nav-open {
     position: relative;
    right: 10px;
    top: 10px;
    display: block;
    width: 48px;
    height: 48px;
    cursor: pointer;
    /*z-index: 9999;*/
    border-radius: 50%;

    float: right;

  }
  .nav-open i {
    display: block;
    width: 20px;
    height: 2px;
    background: #1f2227;
    border-radius: 2px;
    margin-left: 14px;
  }
  .nav-open i:nth-child(1) {
    margin-top: 16px;
  }
  .nav-open i:nth-child(2) {
    margin-top: 4px;
    opacity: 1;
  }
  .nav-open i:nth-child(3) {
    margin-top: 4px;
  }
}
#nav:checked + .nav-open {
  transform: rotate(45deg);
}
#nav:checked + .nav-open i {
  background: #fff;
  transition: transform 0.2s ease;
}
#nav:checked + .nav-open i:nth-child(1) {
  transform: translateY(6px) rotate(180deg);
}
#nav:checked + .nav-open i:nth-child(2) {
  opacity: 0;
}
#nav:checked + .nav-open i:nth-child(3) {
  transform: translateY(-6px) rotate(90deg);
}
#nav:checked ~ .nav-container {
  /*z-index: 9990;*/
  opacity: 1;
}
#nav:checked ~ .nav-container ul li a {
  opacity: 1;
  transform: translateY(0);
}
.hidden {
  display: none;
}