@charset "utf-8";
/* CSS Document */


.menu,
.menu span {
  display: inline-block;
  -webkit-transition:all .4s;
  transition: all .4s;
  box-sizing: border-box;
}

.menu {
  position: fixed;
  top: 18px;
  right: 20px;
  width: 48px;
	height: 48px;
/*  padding-top: 30px;
  font-size: 10px;
  line-height: 10px;
  font-family: Arial, Helvetica, "sans-serif";
  color: #fff;*/
	background: rgba(255,255,255,0.20);
	transition: background .6s, transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
  z-index: 10;
}

.menu span {
  position: absolute;
  left: 20%;
  width: 60%;
  height: 2px;
  background-color: #fff;
  z-index: 10;
  border: 0;
}

.menu span:nth-of-type(1) {
  transform: translateY(8px);
  background-color: aqua;
}

.menu span:nth-of-type(2) {
  transform: translateY(-1px);
  background-color: aquamarine;
}

.menu span:nth-of-type(3) {
  transform: translateY(-10px);
}

.menu.active span:nth-of-type(1) {
  -webkit-transform: translateY(10px) rotate(45deg);
  transform: rotate(45deg);
}

.menu.active span:nth-of-type(2) {
  opacity: 0;
}

.menu.active span:nth-of-type(3) {
  -webkit-transform: translateY(0px) rotate(-45deg);
  transform: rotate(-45deg);
}

#nav {
position: fixed;
top: 0;
right: 0;
z-index: 10;
width: 100%;
height: 100vh;
opacity: 0;
background-color: rgba(27,26,111,0.85);
transition: all 0.3s ease-in-out;
visibility:hidden;
}

#nav.active{
right: 0;
opacity: 1;
-moz-transform: translateX(0);
-webkit-transform: translateX(0);
transform: translateX(0);
visibility: visible;
}

#nav ul{
  margin:20px auto;
  padding:20px;
  max-width: 460px;
  width: 88%;
  border: 1px solid rgba(255,255,255,0.5);
}

#nav ul li{
list-style-type: none;
}

#nav ul li a{
display: block;
padding: 15px 0;
transition: all 0.2s ease-in-out;
text-align: center;
text-decoration: none;
font-size: 2.2rem;
color: rgba(255,255,255,0.8);
}
#nav ul li a:hover {
color: rgba(255,255,255,1.0);
  background-color: rgba(255,255,255,0.1);
}


#nav h2 {
  background-color: rgba(27,26,111,1.0);
  padding: 20px 0;
	text-align: center;
  color: rgba(255,255,255,0.70);
  font-size: 2.0rem;
  letter-spacing: 0.5rem;
  font-weight: 700;
}


@media screen and (min-width: 1100px) {
  
  .menu{
    display: none;
  }
  
  #nav {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    position: relative;
    overflow: auto;
    top: inherit;
    right: inherit;
    transform: translateX(0%);
    width: 100%;
    height:inherit;
    background: rgba(27,26,111,0.00);
    transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  #nav h2 {
    display: none;
  }
  #nav ul {
    margin:0 0;
    padding: 0;
    max-width: none;
    width: 100%;
    border: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  #nav li {
    padding: 0 5px;
  }
  #nav li:not(:first-child) {
    border-top: none;
  }
  #nav li:first-child {
    display: none;
  }
  #nav li a {
    display: block;
    padding: 2px 30px 3px 30px!important;
    font-size: 1.4rem!important;
    font-weight: 700;
    line-height: 1.5;
    color: #2f2f2f!important;
    background-color: rgba(255,255,255,1.0);
    border: 1px solid rgba(255,255,255,1.0);
    text-decoration: none;
    text-align: center;
    transition: background .6s cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  #nav .contactbtn a{
    background-color: rgba(6,5,109,1.0);
    border: 1px solid rgba(6,5,109,1.0);
    font-weight: 400;
    color: #fff!important;
  }
  #nav a:hover {
    background-color: rgba(255,255,255,0.50)!important;
    /*color: #fff!important;*/
  }
  #nav .contactbtn a:hover{
    background-color: rgba(6,5,109,0.50)!important;
  }
}




/*

#navTgl:checked ~ .contents {
	transform: translateX(100%);
}


#navTgl {
	display: none;
}
.nav1label {
	cursor: pointer;
	position: fixed;
	top: 0;
	right: 0;
}
.open {
  z-index: 999;
	width: 48px;
	height: 48px;
	background: rgba(255,255,255,0.70);
	transition: background .6s, transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
  margin-top: 18px;
  margin-right: 20px;
}
.open::before,
.open::after {
	content: "";
}
.open span,
.open::before,
.open::after {
	content: "";
	position: absolute;
	top: calc(50% - 1px);
	left: 20%;
	width: 60%;
	border-bottom: 2px solid #2f2f2f;
	transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.open::before {
	transform: translateY(-8px);
}
.open::after {
	transform: translateY(8px);
}
.close {
	z-index: 1;
	width: 100%;
	height: 100%;
	pointer-events: none;
	transition: background .6s;
}
#navTgl:checked + .open {
	transform: translateX(0px);
}
#navTgl:checked + .open span {
	transform: scaleX(0);
}
#navTgl:checked + .open::before {
	transform: rotate(45deg);
}
#navTgl:checked + .open::after {
	transform: rotate(-45deg);
}
#navTgl:checked ~ .close {
	pointer-events: auto;
	background: rgba(0,0,0,.3);
}

.menu {
	z-index: 2;
	position: fixed;
	overflow: auto;
	top: 0;
	right: 0px;
  transform: translateX(100%);
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.85);
	transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.menu h2 {
  background-color: rgba(255,255,255,0.30);
  padding: 20px 0;
	text-align: center;
  color: rgba(255,255,255,0.70);
  font-size: 2.0rem;
  letter-spacing: 0.5rem;
  font-weight: 700;
}
.menu ul {
	margin: 0;
	padding: 0;
}
.menu li {
	font-size: .8em;
	line-height: 1.4;
}
.menu li:not(:first-child) {
	border-top: 1px solid rgba(255,255,255,.6);
}
.menu a {
	display: block;
	padding: 2.0rem 2.0rem;
  font-size: 1.6rem;
	line-height: 1.5;
  color: #fff;
	text-decoration: none;
  text-align: center;
	transition: background .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.menu a:hover {
	background: black;
}
#navTgl:checked ~ .menu {
	transform: none;
}


@media screen and (min-width: 1180px) {
	.open {
		transform: translateY(-200%);
	}
  .menu {
    z-index: 2;
    position: relative;
    overflow: auto;
    top: inherit;
    right: inherit;
    transform: translateX(0%);
    width: 100%;
    height:inherit;
    background: rgba(0,0,0,0.00);
    transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  .menu h2 {
    display: none;
  }
  .menu ul {
    margin: 0;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  .menu li {
    padding: 0 5px;
  }
  .menu li:not(:first-child) {
    border-top: none;
  }
  .menu li:first-child {
    display: none;
  }
  .menu a {
    display: block;
    padding: 2px 30px 3px 30px ;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.5;
    color: #2f2f2f;
    background-color: rgba(255,255,255,1.0);
    border: 1px solid rgba(255,255,255,1.0);
    text-decoration: none;
    text-align: center;
    transition: background .6s cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  .menu .contactbtn a{
    background-color: rgba(6,5,109,1.0);
    border: 1px solid rgba(6,5,109,1.0);
    font-weight: 400;
    color: #fff;
  }
  .menu a:hover {
    background-color: rgba(255,255,255,0.00);
    color: #fff;
  }
  .menu .contactbtn a:hover{
    background-color: rgba(6,5,109,0.00);
  }
  #navTgl:checked ~ .menu {
    transform: none;
  }

}
*/