/* Custom styles for krahworks */
* {
  box-sizing: border-box;
  line-height: 1.5em;
  --side-space: 40px;
  --side-space-rulers: 40px;
  --column-gap: 30px;
  --back-color: #ddd;
  --max-width:1920px;


  @media (max-width: 1000px) {
    --side-space-rulers: 20px;
    --side-space: 20px;
    --popup-space: 10px;
  }
}

html {
  margin-top: 0 !important;
}

body {
  margin: 0;
  padding: 0;
  padding-top: 150px;
  font-family: sans-serif;
  background-color: var(--back-color);
  font-family: Inter, Courier Prime, Courier new, Consolas;
}

.container {
 max-width: var(--max-width);
  margin:0 auto;
}

#wpadminbar {
  display: none;
}



/* HEADER */

header {
  position: fixed;
  background-color: var(--back-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  top: 0;
 
  min-height: 100px;
  padding: 0 var(--side-space);
  z-index: 100;
  width:100%;
   max-width: var(--max-width);
}

header .topbar__content {
  position:relative;
  width:100%;
  height:100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #000;
    padding: 0 var(--side-space);
}

header h1 {
  width: 500px;

  & a {
    text-decoration: none;
    color: #000;
    width: 100%;
    display: flex;
    justify-content: center;

    & img {
      width: 100%;
      height: auto;
    }
  }
}



header .topbar__right {
  display: flex;
  align-items: center;
  position: relative;
}

header .topbar__logo a {
  display: flex;
}

header .topbar__logo img.custom-logo {
  width: 150px;
  height: auto;
  margin-bottom: -2px;
  margin-top: 20px;
  margin-left: 20px;
}

header nav {
  position: absolute;
  right: 150px;
  align-self: flex-end;

  a {
    font-family: Courier Prime, Courier new, Consolas;
  }
}

header nav ul {
  list-style: none;
  padding: 0;
  display: flex;
}

header nav ul a {
  text-decoration: none;
  padding: 1em;
  color: #000;
}




/* MOBILE MENU */

#burger {
  position: fixed;
  width: 28px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 10px;
  left: 20px;
  display: none;
  z-index: 300;

  div {
    position: absolute;
    width: 27px;
    height: 2px;
    background: #000;
    transition: all 0.2s;
  }

}

#burger::before {
  content: '';
  position: absolute;
  width: 27px;
  height: 2px;
  background: #000;
  transform: translateY(-7px);
  transition: transform 0.2s;
}

#burger::after {
  content: '';
  position: absolute;
  width: 27px;
  height: 2px;
  background: #000;
  transform: translateY(7px);
  transition: transform 0.2s;
}

#burger.active div {
  opacity: 0;
  transform: rotate(45deg);
}

#burger.active::after {
  transform: rotate(45deg);

}

#burger.active::before {
  transform: rotate(-45deg);

}

#popupnav {
  display: none;
  position: fixed;
  left: var(--popup-space);
  top: var(--popup-space);
  bottom: var(--popup-space);
  right: var(--popup-space);
  flex-direction: column;
  background: #fff;
  padding: 30px;
  align-self: initial;
  z-index: 200;
  border-radius: 5px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#popupnav.active {
  display: flex;
}

#popupnav ul {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2em;
}





/* MAIN */


main {}

article {}

article>h2 {
  display: none;
}

article h1 {
  font-family: Courier Prime, Courier new, Consolas;
  font-weight: bold;
  font-size: 32px;
  letter-spacing: 0.05em;
  margin-top:0.3em;
}

article h2 {
  font-family: Courier Prime, Courier new, Consolas;
  font-weight: normal;
}

article>div {
  margin: 0 auto;
  width: 100%;
  max-width: 1400px;
  padding: 60px 0;
}

article>div>* {
  padding: 0 var(--side-space);
}

article ul.spacey li {
  margin-bottom:1em;
}

article table {
  width:100%;
  border-color:#000;
  
  & thead {
    background:#ccc;
  }
}

/* MANUAL  */

.manual-inner {
  display: grid;
  grid-template-columns: 33% auto;
  gap: 40px;
}


.manual-menu ul {
  position: fixed;
  list-style-type: none;
  padding: 0;
  margin-top: 5px;
  
  & li {
    margin-bottom:0.5em;
  }
}

.manual-menu ul a {
color:#000;
}

.manual-content h1 {
  font-size: 46px;
  text-transform: uppercase;
  margin: 0;
}

.manual-content h2 {
  font-family: Inter, Courier Prime, Courier new, Consolas;
  font-weight: bold;
  margin-top:2.5em;
  font-size:26px;
  border-bottom: 1px solid;
  
  border: 1px solid;
  padding-left: 0.3em;
  margin-left: -0.3em;
  margin-right: -0.3em;
  background: #ccc;
}

.manual-content h3 {
  text-transform: uppercase;
  font-style:italic;
  font-size: 1.3em;
  margin: 2em 0 1em;
  font-weight: 100;
  border-bottom: 1px solid;
  display: flex;
  align-items:baseline;
  font-family: 'Courier Prime';
  line-height:1.1em!important;
  
  & span {
    background:#000;
    color:#fff;
    padding: 6px 10px 1px;
    margin-right: 10px;
    border-radius: 5px 5px 0 0;
    line-height:1.2em!important;
    text-transform: none;
  }
}

.manual-content h4 {
  font-size: 1em;
  margin: 2.2em 0 1em;
  font-weight: bold;
}

 .manual-content img {
    width: 100%;
    max-height: 600px;
    height: auto;
    object-fit: contain;
   	margin:1em 0;
  }

 .manual-content strong {
 
   	margin:1em 0;
  }

 .manual-content img.right {
  float:right; 
  margin-left:20px; 
  width:40%; 
  height:auto
}

 .manual-content .caption {
    display: block;
    font-size: 11px;
    font-style: italic;
    margin-bottom: 50px;
}



.manual-content .control-grid {
  display:grid;
  grid-template-columns:50px auto;
 align-items:center;
  gap:10px;
  margin-bottom:30px;
  
  img {
    margin:0!important;
  }
}




/* MIDI CC table */
table.cc {

  border-collapse: collapse;
  margin-bottom:30px;
 /* border:1px solid #000;*/

  td {
    padding: 4px 8px;
  }
  


  td.value {
    width: 80px;
    border-left: 1px solid #000;
      border-bottom:#aaa 1px solid;
  }

  td.func {
    padding-left: 66px;
      border-bottom:#aaa 1px solid;
  }
  
   td.desc {
     font-size:12px;
     color:#444;
    padding-left: 66px;
    border-bottom:none;
  }

  tr.head {

    td {
      border-bottom: 1px solid #000;
                  background-color: #ccc;
    }

    td.num {
      width: 50px;
      background-color: #000;
      color: #fff;
    }

    td.name {
      font-weight: bold;
    }
  }
}

/* blend table*/

table.blends {
  border-collapse: collapse;
  width:auto;
  margin: 40px auto;
}

table.blends tr.head {
 /* background-color:#ccc; */
/*  color:#fff;*/
    font-weight:bold;
}

table.blends td {

  border: 1px solid #000;
  height: 60px;
text-align: center;      /* horizontal */
  vertical-align: middle;  /* vertical */
  padding: 6px;
  
  img {
    max-width:50px;
    margin:0;
    display:block;
  }
}

table.blends td small {
  display:block;
  
}


/* Table y-send*/

table.y-gain {
  border-collapse: collapse;
  margin: 40px auto;
}

table.y-gain tr.head {
 /* background-color:#ccc; */
/*  color:#fff;*/
    font-weight:bold;
}

table.y-gain td {
  border: 1px solid #000;
  padding: 6px;
}



/* First column = flexible */
table.blends td:first-child {
  width: 150px;
}

/* All other columns = fixed */
table.blends td:not(:first-child) {
  width: 60px;
}

td.clear {
  border: none !important;
}

tr.tone {
background-color: #8f8f8f;
    position: relative;
    color: #fff;
    font-weight: bold;
}

tr.data td:not(:first-child) {
  background-color:#ccc;
  position:relative;
  
}

tr.data td:not(:first-child)::after {
 content:'';
  position:absolute;
  width:100%;
  height:100%;
  top:0;
  left:0;
  background-image:url(https://krahworks.com/wp-content/uploads/2026/04/Knob.png);
  background-size:25px;
  background-repeat:no-repeat;
  background-position:center;
  transform:rotate(-150deg);
  opacity:0.3;
}

tr.data td.D{
  background-color:#fff;
}

tr.data td.X{
  background-color:#3A80EA;
}

tr.data td.Y{
  background-color:#FF8A00;
}

tr.data td.l50::after {
 content:'';
  opacity:1;
  transform:rotate(0deg);
}


.editimgs {
  display:grid;
  flex-wrap:wrap;
  gap:var(--side-space);
  grid-template-columns: 1fr 1fr 1fr 1fr;
  
  div {
    font-weight:bold;
    
    div {
      margin-bottom:0.2em;
    }
    
    p {
      margin:0;
    }
  }
  
  img {
    margin:0;
    max-width:230px;
  }
}





/* Frontpage */
.fp-image-block {
  display:flex;
  justify-content:center;
      margin: 0;
  
}
.fp-image1 {
  width:60%;
  max-width:800px;
}


/*Form*/
.wpforms-submit {
  border-radius:4px!important;
}





/* FOOTER */

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  border-top: 1px solid #000;
  min-height: 100px;
  margin: 0 var(--side-space-rulers);
  padding: 0 var(--side-space);
}

footer p {}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
	


.footer-menu .instagram a {
  display: inline-block;
  width: 30px;
  height: 30px;
  background: url('/wp-content/uploads/2026/05/instagram.svg') no-repeat center;
  background-size: contain;
  text-indent: -9999px; /* hides the text */
}





/* WP CLASSES SIMPLIFIED */




article>div .wp-block-group {}

.wp-block-columns {
  display: flex;
  gap: var(--column-gap);
  
 
}

.wp-block-columns.no-gap{ gap:0}

.wp-block-column {
width:60%;
}

.wp-block-column.aligned-top {
  display: flex;
  align-items: flex-start;
}

.wp-block-column.anamator-hero {
  text-align: center; 
  max-width:600px;
  padding-right:20px;
  display:flex;
  align-items:center;
  padding-bottom:10%;

  
  & h2 {
    font-size:125%;
  }
}




.wp-block-column img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 20% 50%;
}


.wp-block-image {
  margin: 0;

}

.wp-block-buttons {
  display:flex;
  justify-content: center;
  gap:20px;
  flex-wrap:wrap;
  width:100%;
  margin:2em 0;
}

.wp-block-button__link {
  background-color: #000;
  color: #fff;
  border-radius:4px;
  padding:12px 20px;
  min-width:150px;
  text-decoration:none;
  white-space:nowrap;
  display:flex;
  justify-content: center;
}

.woocommerce div.product {
  & .product_meta {
    display: none;
  }

  & p.price {
    color: #000;
  }

  & a.contact {
    background-color: #000;
    color: #fff;
    border-radius: 4px;
    box-shadow: none;
    padding: calc(.667em + 2px) calc(1.333em + 2px);
    text-decoration: none;
    border: none;
    font-size: 16px;
    display: inline-flex;
    margin-top:1em;
  }

  & .product_title {
    margin-bottom: 0;
    line-height: 0.8em;
    margin-top: 0.3em;
  }

  & .product-tagline {
    font-style: italic;
  }

  & div.images {
    /*margin-bottom: 3em;*/

    & .woocommerce-product-gallery__wrapper {
      margin: -13px -20px -30px;
    }
  }

  & .woocommerce-tabs ul.tabs li {
    border: 1px solid #000;
    background-color: #ccc;
    color: #515151;
    display: inline-block;
    position: relative;
    z-index: 0;
    border-radius: 4px 4px 0 0;
    margin: 0 -5px;
    padding: 0 1em;
    font-family: Courier Prime, Courier new, Consolas;

    @media (max-width: 450px) {
      font-size: 3.6vw;
    }
  }

  & .woocommerce-tabs ul.tabs li.active {
    background: var(--back-color);
    color: #515151;
    z-index: 2;
    border-bottom-color: var(--back-color);
  }

  & .woocommerce-tabs ul.tabs::before {
    border-bottom-color: #000;
  }
}

& .woocommerce-tabs ul.tabs li::before {
  display: none;
}

& .woocommerce-tabs ul.tabs li::after {
  display: none;
}

.woocommerce-product-gallery__trigger {
  display:none;
}


/* contact form */

.contact-forms {
	display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 120px;
	
	p {
		margin-top:0;
	}
	h4 {
		margin-bottom:0;
	}
}

div.wpforms-container-full:not(:empty) {
        /* padding: calc(min(var(--wpforms-container-padding), 20px)); */
  /* padding: 0 var(--side-space)!important;*/
    }

div.wpforms-container-full .wpforms-form textarea {
  max-width:100%!important;
}
.wpforms-container input.wpforms-field-medium,.wpforms-container select.wpforms-field-medium,.wpforms-container .wpforms-field-row.wpforms-field-medium,.wp-core-ui div.wpforms-container input.wpforms-field-medium,.wp-core-ui div.wpforms-container select.wpforms-field-medium,.wp-core-ui div.wpforms-container .wpforms-field-row.wpforms-field-medium {
    max-width: 100%!important;
}


/* Newsletter signup */

.newsletter-content {
	background: #ccc;
    padding: 2px 16px;
	border-radius:4px;
}

.sib_signup_form {
	
	font-family: Inter, Courier Prime, Courier new, Consolas;
	
	
	p {margin:0; padding: 15px 0;}
	
	label {
		display:block;
		font-weight:700;
		margin: 0 0 15px;
		
		span.required {
			color:#f00;
		}
	}
	
	.sib-default-btn {
	background-color: #000;
    color: #fff;
    border-radius: 4px;
    padding: 12px 20px;
    display: flex;
    justify-content: center;
	border:none;
	font-size:17px;
	font-weight:500;
		
	}
	
	input[type="email"], input[type="text"] {
		    display: block;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    font-style: normal;
    font-weight: 400;
    margin: 0;
		border:none;
		height:43px;
		font-size:16px;
		color:#444;
		padding:0 14px;
	}
	
}





/* RESPONSIVE SHIZZLE */
/* small desktop / tablet */
@media (max-width: 1250px) {
 .editimgs {
     gap:20px;
   div {

       white-space: nowrap;
       font-size: 14px;
       overflow: initial;
   }
}
  }

/* small screen / tablet */




@media (max-width: 1000px) {
  header h1 {
    width: 50%;
  }

  header .topbar__logo img.custom-logo {
    width: 130px;

  }
  
  
.editimgs {
  grid-template-columns: 1fr 1fr;
  gap:40px;
  max-width:520px;
  margin: 0 auto;
   
     div {

       white-space: nowrap;
       font-size: 15px;
    
   }
}
	
	
		.contact-forms {


    gap: 60px;
}
  

  
  
}

/* mobile */
@media (max-width: 770px) {

  body {
    padding-top: calc(28vw);
  }
  
  header{
     min-height: 0;
  }

  header .topbar__content {
    padding: 0;
    flex-direction: column-reverse;
    align-items: center;
   
  }

  header #burger {
    display: flex;
  }

  footer {
    padding: 0;
    justify-content: space-between;
  }

  header h1 {
    width: calc(100% - 140px);
    max-width: 400px;
    height: 55px;
    position: absolute;
    display: flex;
    align-items: center;
    opacity: 0;
    margin: 0;
    transition: all .3s;
  }

  header .topbar__right nav {
    display: none;
  }

  header .topbar__logo img.custom-logo {
    width: 30vw;
    max-width: 170px;
    margin-left: 0;
    transition: all .3s;
  }

  /* Whaen scolling*/
  header.is-scrolled {
    & h1 {
      opacity: 1;
    }

    & .topbar__logo img.custom-logo {
      opacity: 0;
      width: 60px;
      margin: 0;
    }

  }

  .wp-block-columns {
    flex-direction: column;
  }
  
    .wp-block-column {
  width:100%;
  }
  
  
.wp-block-column.anamator-hero {
  max-width:100%;
  padding-right:0;
  padding-bottom:0;
  
    & h2 {
    font-size:100%;
  }
}


  /* MANUAL */

  .manual-inner {
    grid-template-columns: 100%;
  }

  .manual-menu ul {
    position: relative;
  }
  
   .manual-content img.right {
      float: none;
      margin-left:0px; 
      width:100%!important; 
      height:auto
    }
  
  .editimgs {

  gap:20px;
}
  
  table.cc { 
    td.func, td.desc {
    padding-left: initial;
  }
    }
  
  
  
  div.wpforms-container input.wpforms-field-medium,
  div.wpforms-container select.wpforms-field-medium,
div.wpforms-container-full .wpforms-form textarea {
  max-width:100%!important;
}
	
	
	.contact-forms {

    grid-template-columns: 100%;
    gap: 20px;
}
  
  
  /*Frontpage*/
  
  .fp-image1 {
  width:100%;

}

  

}