/* structural */

* {
  margin: 0;
  padding: 0;
}

@font-face {
    font-family: 'ag';
    src: url('https://synthtech.com/inc/fonts/ag.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'pnr';
    src: url('https://synthtech.com/inc/fonts/pnr.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'pnri';
    src: url('https://synthtech.com/inc/fonts/pnri.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'pnb';
    src: url('https://synthtech.com/inc/fonts/pnb.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html,
body {
  height: 100%;
}
html {
  overflow-y: scroll;
}
body {
  font-family: 'pnr', Helvetica, 'Helvetica Neue', sans-serif;
  color: #999;
  background: #222;
}
a,
a:visited,
a:hover {
  text-decoration: none;
  line-height: 100%;
}

.right {
  text-align: right;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}
.clearfix:after {
  clear: both;
}

.hidden {
  display: none;
}
.highlight {
  background-color: #ffdd00;
  color: black;
}

hr {
  border: solid 1px #333;
}
#content.home hr {
  margin-bottom: 4em;
}

/* grid hacks */

.row {
  margin-bottom: 1.5em;
}
hr + .row {
  margin-top: 4.0em;
}
.superwide {
  margin-bottom: 3em;
  padding: 3.25em 0 0 3.5em;
  background: url('https://synthtech.com/img/home/header_tall.jpg') no-repeat;
  box-sizing: border-box;
  border-radius: 5px;
}

.column.center,
.columns.center {
  text-align: center;
}
.column.temp,
.columns.temp {
  background: gold;
}

.columns.pad {
  padding-left: 5%;
  box-sizing: border-box;
}

.superwide {
  width: 100%;
  max-height: 200px;
  overflow: hidden;
}
.superwide img {
  width: 100%;
}

/* header */
  
#header {
  padding: 3em 0 1.25em;
  background: rgba(35,35,35,0.95);
  /*
  background: rgba(35,35,35,0.95) url("../img/header_bg.png") no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
  */
  border-bottom: solid 1px #333;
  margin: 0 auto;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;  
}
#logo,
nav {
  background: transparent;
}
#logo {
  display: table;
}
#logo a {
  display: table-cell;
  vertical-align: middle;
}
#logo img {
  width: 100%;
}
nav#mobile {
  display: none;
}
nav ul {
  display: table;
  width: 100%;
  line-height: 100%;
  box-sizing: border-box;
  margin-bottom: 0 !important;
}
nav li {
  display: table-cell;
  height: 3.33em;
  list-style: none;
  padding: 0 2%;
  font-size: 1.2em;
  line-height: 100%;
  vertical-align: middle;
  text-align: center;
}
nav a {
  border: solid 1px transparent;
  color: #bbb;
  text-transform: uppercase;
  padding: 0.6em 0.83em 0.5em;
  font-family: 'pnr', Helvetica, 'Helvetica Neue', sans-serif;
  border-radius: 0.3em;
  letter-spacing: 0.05em;
  background: #1c1c1c;
  background: transparent;
  box-sizing: border-box;
}
nav a:hover,
nav a:focus {
  color: #fff;
  background: #181818;
  outline: none !important;
}
nav .current a {
  background: transparent;
  color: white;
  border: solid 1px #555;
}
nav .current a:hover,
nav .current a:focus {
  outline: none !important;
}

/* content */

#content {
  margin: 13em 0 0;
  height: 100%;
  padding-bottom: 10em;
}
#content.home {
  padding-top: 1em;
}

h1,
h2,
h3 {
  font-family: 'ag', Helvetica, 'Helvetica Neue', sans-serif;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
h1 { 
  color: #ccc;
  margin-bottom: 1.25em;
  font-size: 3em;
}
h2 {
  color: #999;
  font-size: 2.4em;
}
h1 + h2.subtext {
  margin-top: -1.5em;
}
h1 + .row {
  margin-top: 2em;
}

p {
  font-size: 1.05em;
  line-height: 145%;
}

.twelve.columns p,
p.limit {
  max-width: 66.6%;
  margin-bottom: 3em;
}

.concept_render {
  width: 100%;
  height: 500px;
	background-size: contain;
  background-repeat: no-repeat;
}
.concept_render:hover {
  cursor: pointer;
}

.concept_render.gray {
  background-image: url('https://synthtech.com/img/eurorack/E520_concept_gray.jpg');
}
.concept_render.black {
  background-image: url('https://synthtech.com/img/eurorack/E520_concept_black.jpg');
}

.code {
  font-family: Consolas, 'Courier New', Courier, monospace;
}

em, i {
  font-family: 'pnri', Helvetica, 'Helvetica Neue', sans-serif;
}
strong, b {
  font-family: 'pnb', 'Courier New', Courier, monospace;
}

div.callout {
  font-size: 1.1em;
  margin-bottom: 2em;
}
div.callout.border {
  padding: 2em;
  border: solid 1px #888;
}
div.callout.border p:last-child {
  margin-bottom: 0;
}
div.callout.enlarge {
  display: inline-block;
  margin-bottom: 1em;
}
div.callout.enlarge p {
  margin-bottom: 1em;
}
div.callout.enlarge a {
  padding: 0;
  font-size: 1.1em;
}

#content ul {
  font-size: 1.1em;
  line-height: 145%;
}
#content li {
  margin-bottom: 1.5em;
}
#content ul.clean {
  list-style: none;
}
#content ul.clean li {
  margin-bottom: 1em;
}

iframe + iframe {
  margin-top: 2em;
}
.soundcloud + .youtube {
  margin-top: 1em;
}
.soundcloud iframe {
  width: 100%;
  height: 150px;
  margin-bottom: 1em;
}
.youtube {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin-bottom: 2em;
}
.youtube iframe,
.youtube object,
.youtube embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.module_grid {
  margin-left: 0;
  list-style: none;
}
.module_grid li {
  float: left;
  padding: 0 2em 0.5em 0;
}
.module_grid a {
  display: block;
}
.module_grid img {
  height: 25em;
  margin-bottom: -3px;
}
.module_grid p {
  margin-bottom: -1em;
}
.motm .module_grid p {
  font-family: 'ag', Helvetica, 'Helvetica Neue', sans-serif;
  font-size: 1.5em;
  padding-top: 1em;
}
#content.euro .module_grid img,
#content.motm .module_grid img {
  height: 350px
}


.module {
  /*
  background: #1c1c1c;
  padding: 50px;
  */
  padding: 0 50px;
  text-align: center;
  border-radius: 1em;
}
.module .image {
  margin-bottom: 1em;
  margin: 0px auto 1em;
}
.fit img,
.module img {
  max-width: 100%;
}
.module .dimensions {
  border: solid 2px #333;
  border-top: 0;
  height: 1.5em;
  position: relative; 
  z-index: 0;
  border-bottom-left-radius: 0.3em;
  border-bottom-right-radius: 0.3em;
  margin: 0px auto 2em;
}
.module .dimensions + .hp {
  width: 100%;
  margin: -4em 0 2em;
  margin: -4em auto 2em;
}
.module .dimensions + .hp span {
  background: #1c1c1c;
  background: #222;
  display: inline-block;
  padding: 0.5em 1em;
  text-align: center;
  position: relative;
  z-index: 1;
  font-size: 1.5em;
  font-family: 'ag', Helvetica, 'Helvetica Neue', sans-serif;
}

button,
a.button {
  font-family: 'ag', Helvetica, 'Helvetica Neue', sans-serif;
  border: solid 2px #333;
  padding: 0.75em 0.9em 0.65em;
  text-transform: uppercase;
  font-size: 2em;
  display: inline-block;
  border-radius: 0.3em;
  background: transparent;
}
button:hover,
a.button:hover {
  border-color: #666;
  color: white;
  cursor: pointer;
}
button.purchase,
a.button.purchase {
  border: solid 2px #333;
}
button {
  color: #999;
  font-size: 1.5em;
  border-color: #666;
  border: solid 2px #333;
}

button:focus,
form:focus {
  outline: none;
}

.price {
  font-size: 150%;
}

#subnav {
  width: 100%;
  line-height: 100%;
  box-sizing: border-box;
  margin: 3em 0 0;
}
#subnav li {
  margin-bottom: 0.5em;
  float: left;
  height: 3.33em;
  list-style: none;
  padding: 0 1.5em 0 0;
  font-size: 1.1em;
  line-height: 100%;
  vertical-align: middle;
  text-align: center;
}
#subnav a {
  border: solid 1px transparent;
  color: #666;
  text-transform: uppercase;
  padding: 0.6em 0.83em 0.5em;
  font-family: 'pnr', Helvetica, 'Helvetica Neue', sans-serif;
  border-radius: 0.3em;
  letter-spacing: 0.05em;
  border: solid 1px #1c1c1c;
  background: #1c1c1c;
  box-sizing: border-box;
}
#subnav a:hover {
  color: #fff;
}
#subnav .current a {
  background: transparent;
  color: white;
  border: solid 1px #444;
}

table.specs {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border-bottom: solid 1px #333;
  font-size: 1.1em;
  margin-bottom: 3em;
}
table.specs td {
  vertical-align: top;
  border-top: solid 1px #333;
  border-bottom: 0;
}
table.specs td:first-child {
  font-weight: bold;
  width: 28%;
  padding-left: 3%;
}
table.specs td:last-child {
  padding-right: 3%;
}
#content table.specs p {
  font-size: 1em;
  line-height: 135%;
}
#content table.specs p:last-child {
  margin-bottom: 0;
}

img.fit {
  width: 100%;
  border-radius: 0px;
}
img.border {
  border: solid 1px #333;
}



/* footer */

#flex {
	min-height: 100%;
	margin: 0 auto -6.93em;
}

#footer {
  position: relative;
  width: 100%;
  height: 3em;
  background: #181818;
  font-size: 1em;
  left: 0;
  bottom: 0;
  padding: 2.9em 0 1em;
  color: #555;
} 
#footer .copyright .mobile {
  display: none;
}

#footer .credit {
  text-align: right;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
/* Chrome/Safari mods */
  body {
    font-size: 150%;
  }
}

/* iPhone portrait/landscape */
@media only screen 
and (min-device-width : 320px)
and (max-device-width : 568px) {

#header {
  position: relative;
  padding: 1.75em 0 0 0;
}
#logo {
  margin-bottom: 2em;
}
nav ul {
  display: block;
}
nav#desktop {
  display: none;
}
nav#mobile {
  display: block;
}
nav li {
  display: block;
  float: left;
  padding: 0 8px 0 0;
  height: auto;
}
nav li:first-child a {
  padding-left: 0;
}
nav li:last-child a {
  padding-right: 0;
}
nav a {
  color: #444;
  border: 0;
  padding: 0.4em 0.63em 0.3em;
}
nav .current a {
  border: 0;
}

#content {
  margin: 2em 0;
  height: 100%;
  padding-bottom: 0;
}
.switchable {
  margin-bottom: 5em;
}

#footer {
  display: none;
}

} /* end iPhone portrait/landscape */

/* iPhone landscape */
@media only screen 
and (min-device-width : 320px)
and (max-device-width : 568px) 
and (orientation : landscape) {

#header {
  position: relative;
  padding: 1.75em 0 0 0;
}
#logo {
  width: 200px;
  margin-left: -3em;
} 
nav#desktop {
  display: none;
}
nav#mobile {
  display: block;
  margin-bottom: 0;
  margin-right: -3em;
}
nav li {
  float: left;
  padding: 0 15px 0 0;
  margin-top: 1em;
}
nav li:first-child {
  margin-left: 2em;
}
nav li:last-child {
  padding-right: 0;
}

#content {
  margin: 2em -3em 0;
  padding-bottom: 0em;
}
.module_grid li {
  padding: 0 2em 1.5em 0;
}

} /* end iPhone landscape */

/* iPhone 4s portrait */
@media only screen 
and (min-device-width : 320px)
and (max-device-width : 480px) 
and (orientation : portrait) {
  body {
    font-size: 125%;
    width: 280px;
  }
}
/* iPhone 4s landscape */
@media only screen 
and (min-device-width : 320px)
and (max-device-width : 480px) 
and (orientation : portrait) {
  body {
    font-size: 100%;
    width: 440px;
  }
}

/* iPad portrait */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {

nav ul {
  margin-top: -0.8em;
}
nav li {
  padding: 0 1%;
  font-size: 1.1em;
}
nav a {
  padding: 0.6em 0.83em 0.5em;
}
#footer .copyright .desktop {
  display: none;
}
#footer .copyright .mobile {
  display: block;
}
#footer .credit {
  display: none;
}

/* end mobile bits */

}





