/* -------------------------------- 

Primary style

-------------------------------- */
*, *::after, *::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*::after, *::before {
  content: '';
}

body {
  font-size: 100%;
  font-family: sans-serif, "Open Sans";
  color: #e2e2e2; /* #4e5359; */
  background-color: #3C3B3B; /* #f3f3f5; */
  background-image:  url(../imgs/body.jpg);
  background-repeat: repeat;
}
body::after {
  /* overlay layer visible on small devices when the right panel slides in */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(78, 83, 89, 0.8);
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
}
body.cd-overlay::after {
  visibility: visible;
  opacity: 1;
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
@media only screen and (min-width: 768px) {
  body::after {
    display: none;
  }
}

a {
  color: #a9c056;
  text-decoration: none;
}

/* -------------------------------- 

Main components 

-------------------------------- */
header {
  position: relative;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background-color: #a9c056;
}
header h1 {
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 20px;
/*  font-size: 1.25rem; */
}
@media only screen and (min-width: 900px) {
  header {
    height: 50px;
    line-height: 50px;
  }
  header h1 {
    font-size: 20px;
/*    font-size: 2.25rem;  */
    font-weight: 300;
  }
}

.cd {
  width: 95%;
  max-width: 900px;
  margin: 2em auto;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}
.cd:after {
  content: "";
  display: table;
  clear: both;
}
@media only screen and (min-width: 768px) {
  .cd {
    position: relative;
    margin: 4em auto;
    box-shadow: none;
  }
}

.cd-categories a {
  position: relative;
  display: block;
  overflow: hidden;
  height: 45px;
  line-height: 45px;
  padding: 0 28px 0 16px;
  background-color: #4e5359;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #ffffff;
  white-space: nowrap;
  border-bottom: 1px solid #555b61;
  text-overflow: ellipsis;
}
.cd-categories li.l1 {
  margin-left:15px;
}
.cd-categories li.l2 {
  margin-left:30px;
}
.cd-categories a::before, .cd-categories a::after {
  /* plus icon on the right */
  position: absolute;
  top: 50%;
  right: 16px;
  display: inline-block;
  height: 1px;
  width: 10px;
  background-color: #7f868e;
}
.cd-categories a::after {
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
}
.cd-categories li:last-child a {
  border-bottom: none;
}
@media only screen and (min-width: 768px) {
  .cd-categories {
    width: 20%;
    float: left;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  }
  .cd-categories a {
    font-size: 13px;
/*    font-size: 0.8125rem; */
    font-weight: 600;
    padding-left: 24px;
    padding: 0 24px;
    -webkit-transition: background 0.2s, padding 0.2s;
    -moz-transition: background 0.2s, padding 0.2s;
    transition: background 0.2s, padding 0.2s;
  }
  .cd-categories a::before, .cd-categories a::after {
    display: none; 
  }
  .no-touch .cd-categories a:hover {
    background: #555b61;
  }
  .no-js .cd-categories {
    width: 100%;
    margin-bottom: 2em;
  }
  .cd-categories.is-fixed {
    /* top and left value assigned in jQuery */
    position: fixed;
  }

}
@media only screen and (min-width: 900px) {
  .cd-categories {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    z-index: 2;
  }
  .cd-categories a::before {
    /* decorative rectangle on the left visible for the selected item */
    display: block;
    top: 0;
    right: auto;
    left: 0;
    height: 100%;
    width: 3px;
    background-color: #a9c056;
    opacity: 0;
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    transition: opacity 0.2s;
  }
  .cd-categories .selected {
    background: #42464b !important;
  }
  .cd-categories .selected::before {
    opacity: 1;
  }
  .cd-categories.is-fixed {
    /* top and left value assigned in jQuery */
    position: fixed;
  }
  .no-js .cd-categories {
    position: relative;
  }
}

  .cd-categories a::before {
    /* decorative rectangle on the left visible for the selected item */
    display: block;
    top: 0;
    right: auto;
    left: 0;
    height: 100%;
    width: 3px;
    background-color: #a9c056;
    opacity: 0;
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    transition: opacity 0.2s;
  }
  .cd-categories .selected {
    background: #42464b !important;
  }
  .cd-categories .selected::before {
    opacity: 1;
  }
.cd-items {
  position: fixed;
  height: 100%;
  width: 90%;
  top: 0;
  right: 0;
  background: #292929; /* #ffffff; */
  padding: 0 5% 1em;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0) translateX(100%);
  -moz-transform: translateZ(0) translateX(100%);
  -ms-transform: translateZ(0) translateX(100%);
  -o-transform: translateZ(0) translateX(100%);
  transform: translateZ(0) translateX(100%);
  -webkit-transition: -webkit-transform .3s;
  -moz-transition: -moz-transform .3s;
  transition: transform .3s;
}
.cd-items.slide-in {
  -webkit-transform: translateZ(0) translateX(0%);
  -moz-transform: translateZ(0) translateX(0%);
  -ms-transform: translateZ(0) translateX(0%);
  -o-transform: translateZ(0) translateX(0%);
  transform: translateZ(0) translateX(0%);
}
.no-js .cd-items {
  position: static;
  height: auto;
  width: 100%;
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
}
@media only screen and (min-width: 768px) {
  .cd-items {
    position: static;
    height: auto;
    width: 78%;
    float: right;
    overflow: visible;
    -webkit-transform: translateZ(0) translateX(0);
    -moz-transform: translateZ(0) translateX(0);
    -ms-transform: translateZ(0) translateX(0);
    -o-transform: translateZ(0) translateX(0);
    transform: translateZ(0) translateX(0);
    padding: 0;
    background: transparent;
  }
}
@media only screen and (min-width: 900px) {
  .cd-items {
    float: none;
    width: 100%;
    padding-left: 220px;
  }
  .no-js .cd-items {
    padding-left: 0;
  }
}

.cd-close-panel {
  position: fixed;
  top: 5px;
  right: -100%;
  display: block;
  height: 40px;
  width: 40px;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  z-index: 2;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: right 0.4s;
  -moz-transition: right 0.4s;
  transition: right 0.4s;
}
.cd-close-panel::before, .cd-close-panel::after {
  /* close icon in CSS */
  position: absolute;
  top: 16px;
  left: 12px;
  display: inline-block;
  height: 3px;
  width: 18px;
  background: #6c7d8e;
}
.cd-close-panel::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.cd-close-panel::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.cd-close-panel.move-left {
  right: 2%;
}
@media only screen and (min-width: 768px) {
  .cd-close-panel {
    display: none;
  }
}

.cd-group {
  /* hide group not selected */
  display: none;
}
.cd-group.selected {
  display: block;
}
.cd-group .cd-title {
  background: transparent;
  box-shadow: none;
  margin: 1em 0;
}
.no-touch .cd-group .cd-title:hover {
  box-shadow: none;
}
.cd-group .cd-title h2 {
  text-transform: uppercase;
  font-size: 12px;
/*  font-size: 0.75rem; */
  font-weight: 700;
  color: #bbbbc7;
}
.no-js .cd-group {
  display: block;
}
@media only screen and (min-width: 768px) {
  .cd-group {
    /* all groups visible */
    display: block;
  }
  .cd-group > li {
    background: #292929; /* #ffffff; */
    margin-bottom: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    -webkit-transition: box-shadow 0.2s;
    -moz-transition: box-shadow 0.2s;
    transition: box-shadow 0.2s;
  }
  .no-touch .cd-group > li:hover {
    box-shadow: 0 1px 10px rgba(108, 125, 142, 0.3);
  }
  .cd-group .cd-title {
    margin: 2em 0 1em;
  }
  .cd-group:first-child .cd-title {
    margin-top: 0;
  }
}

.cd-trigger {
  position: relative;
  display: block;
  margin: 1.6em 0 .4em;
  line-height: 1.2;
}
@media only screen and (min-width: 768px) {
  .cd-trigger {
    font-size: 18px;
/*    font-size: 1.2rem; */
    font-weight: 300;
    margin: 0;
    padding: 12px 72px 12px 24px;
/*    padding: 24px 72px 24px 24px; */
  }
  .cd-trigger::before, .cd-trigger::after {
    /* arrow icon on the right */
    position: absolute;
    right: 24px;
    top: 50%;
    height: 2px;
    width: 13px;
    background: #cfdca0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -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;
  }
  .cd-trigger::before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    right: 32px;
  }
  .cd-trigger::after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  .content-visible .cd-trigger::before {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  .content-visible .cd-trigger::after {
    -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) {
  .cd-content {
    display: none;
    padding: 0 24px 30px;
  }
  .cd-content p {
    line-height: 1.6;
  }
  .no-js .cd-content {
    display: block;
  }
  #bottom_space {
  	height:350px;
  }
}
.cd-content p, .info li, .det li, table {
  font-size: 14px;
/*  font-size: 0.875rem; */
  line-height: 1.4;
  color: #e2e2e2; /* #6c7d8e; */
}
.code {
  line-height: 2;
  font-size: 12px;
  padding: 3px;
  background: #333;
  border: 1px solid #999;
 	border-radius: 5px;
}
.cd-categories a.ext {
	margin:10px 0;
}
.info {
	list-style-type: disc;
}
.info li {
	padding-bottom: 10px;
}
.det li {
	padding: 0;
}
.det {
	list-style-type: circle;
	margin-left:20px;
}
ol.det {
	list-style-type: decimal;
}
table.tel tr td {
	width: 25%;
	text-align:center;
	border-right:1px solid #333;
}
table.br tr td {
	padding:3px;
	border-right:1px solid #333;
}

table.br tr td.last {
	border-right:0;
}
table.br tr.head {
	text-align:center;
	border-bottom:1px solid #444;
}

.att {
	color: #F66;
}
img {
	vertical-align:middle;
	padding:3px;
}
.keys {
	margin-bottom:5px;
	display:inline-block;
}
.keys b {
	padding:2px 5px;
	border:1px solid #888;
	background-color: #DDD;
	color: black;
	border-radius: 5px;
	text-align:center;
	min-width:30px;
	text-transform: uppercase;
	display:inline-block;
	font-size:120%;
}

#contact_form { padding: 0; width: 250px }
#contact_form form { margin: 0px; padding: 0px; }

#contact_form form .input_field { 
	width: 240px; 
	hseight: 18px; 
	padding: 5px; 
	color: #666666; 
	border: 1px solid #3b3b3b; 
	background: #141414; 
	margin-bottom: 10px; 
}

#contact_form form label { display: block; font-size: 11px; margin-bottom: 5px; }

#contact_form form textarea { 
	clear: both; 
	width: 240px; 
	height: 245px; 
	padding: 5px; 
	color: #666666; 
	border: 1px solid #3b3b3b; 
	background: #141414; 
	margin-bottom: 10px;
}

#contact_form form a {
	color: #FFFFFF; 
	cursor:pointer; 
	border: 1px solid #3b3b3b; 
	background: #141414; 
	padding: 6px 12px; 
}

.red {color:#F66;}
.green {color:#0F0;}
#response {font-size: 10pt; padding: 15px 0;line-height:130%;}


