.nav-item {
	display:inline-block;
	padding: 0px 20px;
	height:40px;
	line-height:40px;
	text-decoration:none;
	text-transform: uppercase;
}

.nav-item:hover {
	background-color:#aaa;
	text-decoration:none;
}

.nav-content {
	position:absolute;
	top:51px;
	overflow:hidden;
	background-color: #aaa;
	max-height: 0;
	text-decoration:none;
}

.nav-content a {
	color:#fff;
	text-decoration:none;
}

.nav-content a:hover {
	text-decoration: none;
}

.nav-content:active {
	max-height:600px;
}

.nav-sub {
	float:none;
	padding:5px;
}

.nav-sub ul {
	padding:0;
	margin:0;
	list-style-type:none;
}

.nav-sub a {
	text-decoration: none;
}

.nav-sub ul li a {
	display:inline-block;
	padding: 5px;
	float:right;
	text-decoration: none;
}

.nav-sub ul li a:hover {
	text-decoration:none;
}

.nav-item:focus {
	background-color:#aaa;
}

.nav-item:focus ~ .nav-content {
	max-height:600px;
	-webkit-transition:max-height 0.4s ease-in;
	-moz-transition:max-height 0.4s ease-in;
	transition:max-height 0.4s ease-in;
}




body {
	margin: 0;
	padding: 0;
	font-family: Quicksand;
}

.content {
	margin-top: 85px;
	margin-left: 1.5cm;
	margin-right: 1.5cm;
}

nav {
	position:fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 60px;
	padding: 10px 20px;
	box-sizing: border-box;
	transition: .3s;
	font-family: Quicksand;
}

nav.black {
	background: rgba(0,0,0,0.8);
}

nav .logo {
	padding: 0;
	height: 40px;
	width: 97px;
	float: left;
	transition: .3s;
	background: url("/hyundai/jkdlogo1.png") no-repeat center left;
	display: block;
}


nav.black .logo {
	background:url("/hyundai/jkdlogo2.png") no-repeat center left;
}

nav > ul {
	list-style-type: none;
	float: right;
	margin: 0;
	padding: 0;
}

.nav-sub ul li {
	float:none;
}

nav ul li {
	float:left;
}

nav ul li a {
	line-height: 40px;
	color: #151515;
	padding: 12px 30px;
	text-decoration: none;
	transition: .3s;
}

nav.black ul li a {
	color: #fff;
}

nav ul li a:focus {
	outline: none;
}

nav ul li a.active {
	background: #E2472f;
	color: #fff;
	border-radius: 6px;
}



@font-face {
    font-family: 'CubeR';
    src: url('/hyundai/fonts/CubeR.ttf');
}

@font-face {
    font-family: 'HDR';
    src: url('/hyundai/fonts/HDR.ttf');
}

@font-face {
  font-family: 'HDR_S';
  src: url('/hyundai/fonts/HDR_S.ttf');
}

h1{
  font-family: CubeR;
  font-weight: bold;
  font-size: 24pt;
  color: #006666;
  margin-bottom: 0;
}

h3{
  font-family: CubeR;
  font-weight: bold;
  font-size: 10pt;
  color: #006666;
}

p{
  color: #000000;
  font-family: HDR, Helvetica, Arial, Sans-Serif;
  font-size: 10pt;
  font-weight: normal;
}

img { border: 0; }

p.maintitle
{
  color: #006666;
  margin-bottom: 0;
  font-size: 24pt;
  font-weight: bold;
  font-family: CubeR, Helvetica, Arial, sans-serif;
}

p.important
{
  color: #ff0000;
  font-size: 10pt;
  font-weight: bold;
  font-family: CubeR, Helvetica, Arial, sans-serif;
}

p.caption
{
  color: #006666;
  font-size: 10pt;
  font-weight: bold;
  font-family: CubeR, Helvetica, Arial, sans-serif;
}

p.small
{
  font-size: 8pt;
  font-weight: normal;
  font-family: HDR;
}

p.normal
{
  color: #000000;
  font-size: 10pt;
  font-weight: normal;
  font-family: HDR, Helvetica, Arial, sans-serif;
}

p.code
{
  color: #000088;
  font-size: 40pt;
  font-weight: bold;
  font-family: Helvetica, Arial, sans-serif;
}

div.box
{
    display: inline;
    border-radius: 5px 5px 5px 5px;
    border: 1px solid #efefef;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    background: #fafafa;
    margin: 20px; 
    margin-top: 0px;
    text-align: left;
}

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 0px;
    text-decoration: none;
    color: #000000;
    background-color: rgba(250, 250, 250, 0.80);
    font-size: 12px;
    padding: 1px;
    display: none;
}


#double li  { width:50%;}
#triple li  { width:33.333%; }
#quad li    { width:25%; }
#six li     { width:16.666%; }

details{
color: #363636;
margin: 0 0 .4em;
padding: 1%;
}

details[open]{
border: 1px solid #f1f1f1;
border-radius: 5px;
box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
background: #f8f8f8;
}

.qa {
  margin-bottom:10px;
}
.qa input {
  display:none;
}
.qa label {
  display:block;
  height:30px;
  line-height:30px;
  font-weight:bold;
}
.qa label:before {
  content:"+";
  display:inline-block;
  height:30px;
  width:30px;
  background:#ccc;
  color:White;
  text-align:center;
  margin-right:10px;
}
.qa div {
  display:none;
  padding-top:5px;
}
.qa input:checked ~ label:before {
  content:"-";
  background:#3a4;
}
.qa input:checked ~ div {
  display:block;
}

