body {
  color: #999;
  background-color:#222222;
  margin: 0;
  font-family: Helvetica, Arial,  sans-serif;
}
.btn:hover {
  background: #888;
  text-decoration: none;
    color: #999;
}
.jumbotron {
  border-radius: 7;
  border-radius: 5;
  border-radius: 7px;
  font-family: Arial;
  color: #999999;
  font-size: 16px;
  background: #333333;
  padding: 5px;
  text-decoration: none;
  text-align: center;
  width:90%;
}        
.jumbotron2 {
  -webkit-border-radius: 7;
  -moz-border-radius: 5;
  border-radius: 7px;
  font-family: Arial;
  color: #999999;
  font-size: 15px;
  background: #333333;
  padding: 10px;
  text-decoration: none;
  text-align: left;
}
/* ------------------ */
/*      FRETBOARD     */
/* ------------------ */
 .fretboard{
    width:283px;
    height:1400px;    
    margin:auto;
    position:relative;
    cursor:default;
}
    .fretboard .backgroundimage{
        width:283px;
        height:1400px;
        background-image:url(../images/fretboard-19v.png);
        background-size:contain;
        background-repeat:no-repeat;        
        z-index:-30;                
        position:absolute;
        top: 60px;
        left: 22px;
    } 
    .fretboard .dots{
        width:283px;
        height:1400px;
        background-image:url(../images/dots-v1v.png);
        background-size:contain;
        background-repeat:no-repeat;        
        z-index:-20;        
        position:absolute;
        top: 110px;
        left: 22px;
    }     
/* BARRE */
.barre{
    width: auto;
    height:auto ;    
    position:absolute;
    z-index: -5;
        top:-2px;
        left:330px;
}
/* --------------- */
/*  END FRETBOARD  */
/* --------------- */
.space { height:80px;}
/* --------------- */
/*      GRID       */
/* --------------- */
/* Section */
.section {
  width:150%;
  clear: both;
  margin: -15px;
  padding: 65px;
}
/* Column */
.col {
  display: block;
  float:right;
  margin: 1% 0 1% 1.6%;
}
.col:first-child { margin-left: 0 !important; }

/* Row */
.row:before,
.row:after { content:""; display:table; }
.row:after { clear:both;}
.row { zoom:1; /* For IE 6/7 */ }

/* Grid */
.grid_1_of_7{ width: 12.914% }
.grid_2_of_7{ width: 27.429% }
.grid_3_of_7{ width: 41.943% }
.grid_4_of_7{ width: 56.457% }
.grid_5_of_7{ width: 70.971% }
.grid_6_of_7{ width: 85.486% }
.grid_7_of_7{ width: 100% }
/**/
    /* Flex container Horizontal */
.flex-container {  
  display: flex;
  flex-direction: column;
  width: 180%;
  line-height: 15px;
  float: right;
  margin: -22px 0 0 0;
}
.flex-item {
  background: transparent;
  padding:11px;
  width: 39px;
  height: 39px;
  margin: 1px;
  margin-top: 30px;
  color: transparent;
  border: solid 1px;
  border-color: transparent;
  border-top-left-radius: 45px;
  border-top-right-radius: 45px;
  border-bottom-left-radius: 45px;
  border-bottom-right-radius: 45px;
  font-weight: bold;
  font-size: 12px;
  text-align: center;
}
.flex-item-root {
  background: blue;
  padding:11px;
  width: 39px;
  height: 39px;
  margin: 1px;
  margin-top: 30px;
  color: white;
  border: solid 1px;
  border-color: black;
  border-top-left-radius: 45px;
  border-top-right-radius: 45px;
  border-bottom-left-radius: 45px;
  border-bottom-right-radius: 45px;
  font-weight: bold;
  font-size: 12px;
  text-align: center;
}        
.flex-item-white {
  background: white;
  padding:11px;
  width: 39px;
  height: 39px;
  margin: 1px;
  margin-top: 30px;
  color: black;
  border: solid 1px;
  border-color: black;
  border-top-left-radius: 45px;
  border-top-right-radius: 45px;
  border-bottom-left-radius: 45px;
  border-bottom-right-radius: 45px;
  font-weight: bold;
  font-size: 12px;
  text-align: center;
}        
.flex-item-black {
  background: black;
  padding:11px;
  width: 39px;
  height: 39px;
  margin: 1px;
  margin-top: 30px;
  color: white;
  border: solid 1px;
  border-color: grey;
  border-top-left-radius: 45px;
  border-top-right-radius: 45px;
  border-bottom-left-radius: 45px;
  border-bottom-right-radius: 45px;
  font-weight: bold;
  font-size: 12px;
  text-align: center;
}        
.flex-item-red {
  background: red;
  padding:11px;
  width: 39px;
  height: 39px;
  margin: 1px;
  margin-top: 30px;
  color: white;
  border: solid 1px;
  border-color: white;
  border-top-left-radius: 45px;
  border-top-right-radius: 45px;
  border-bottom-left-radius: 45px;
  border-bottom-right-radius: 45px;
  font-weight: bold;
  font-size: 12px;
  text-align: center;
}
.flex-item-number {
  background: transparent;
  padding:12px;
  width: 39px;
  height: 39px;
  margin: auto;
  margin-top: 31px;
  color: #77d42a;
  border: solid 1px;
  border-color: transparent;
  border-top-left-radius: 45px;
  border-top-right-radius: 45px;
  border-bottom-left-radius: 45px;
  border-bottom-right-radius: 45px;
  font-weight: bold;
  font-size: 12px;
  text-align: center;
    }
.flex-item-string {
  background: transparent;
  padding:10px;
  width: 39px;
  height: 39px;
  margin: 1px;
  margin-top: 30px;
  color: #77d42a;
  border: solid 1px;
  border-color: grey;
  border-top-left-radius: 45px;
  border-top-right-radius: 45px;
  border-bottom-left-radius: 45px;
  border-bottom-right-radius: 45px;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
}
.flex-item-barre-top {
  background: grey;
  padding:11px;
  width: auto;
  height: 39px;
  margin: 1px;
  margin-top: 30px;
  color: transparent;
  border: solid 1px;
  border-color: grey;
  /*border-top-left-radius: 45px;*/
  border-top-right-radius: 45px;
  /*border-bottom-left-radius: 45px;*/
  border-bottom-right-radius: 45px;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
}
.flex-item-barre-bottom {
  background: grey;
  padding:11px;
  width: auto;
  height: 39px;
  margin: 1px;
  margin-top: 30px;
  color: transparent;
  border: solid 1px;
  border-color: grey;
  border-top-left-radius: 45px;
  /*border-top-right-radius: 45px;*/
  border-bottom-left-radius: 45px;
  /*border-bottom-right-radius: 45px;*/
  font-weight: bold;
  font-size: 14px;
  text-align: center;
}
.flex-item-barre-inside {
  background: grey;
  padding:11px;
  width: auto;
  height: 39px;
  margin: 1px;
  margin-top: 30px;
  color: transparent;
  border: solid 1px;
  border-color: grey;
  /*border-top-left-radius: 45px;
  border-top-right-radius: 45px;
  border-bottom-left-radius: 45px;
  border-bottom-right-radius: 45px;*/
  font-weight: bold;
  font-size: 14px;
  text-align: center;
    }
/* --------------- */
/*    END  GRID    */
/* --------------- */
/* ----------- */
/*    GRID     */
/* ----------- */
/* --------------- */
/*     FLEX 3      */
/* --------------- */
* {
  box-sizing: border-box;
}
.flex-container3 {
  display: flex;
  flex-direction: row;
  font-size: 30px;
  text-align: center; 
  justify-content: space-around;
}
.flex-item-three {
  background-color: #222;
  padding: 10px;
  flex: 50%;
}
/* Responsive layout - makes a one column-layout instead of two-column layout */
@media (max-width: 800px) {
  .flex-container3 {
    flex-direction: column;
  }
}
/* --------------------------*/
/*           MODAL  (one)    */
/*---------------------------*/
.popup {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}
.popup-content {
    position: relative;
    background-color: #fff;
    margin: auto;
    padding: 0;
    width: 60%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}
.popup-head {
    padding: 2px 16px;
    background-color: #222;
    color: dimgray;
}
.popup-main {padding: 2px 16px;  background-color: #333; color: darkgray; }
.popup-foot {
    padding: 2px 16px;
    background-color: #222;
    color: dimgray;
}
/* add animation effects */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}
@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}
/* close button style */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover, .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
/* --------------------------*/
/*           MODAL  (two)    */
/*---------------------------*/
/* popuptwo box style */
.popuptwo {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}
.popuptwo-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 60%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}
.popuptwo-head {
    padding: 2px 16px;
    background-color: #222;
    color: dimgray;
}
.popuptwo-main {padding: 2px 16px; background-color: #333; color: darkgray; }
.popuptwo-foot {
    padding: 2px 16px;
    background-color: #222;
    color: dimgray;
}
/* add animation effects */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}
@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}
/* closetwo button style */
.closetwo {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.closetwo:hover, .closetwo:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
/* ----------------------------------------*/
/*              BACK TO TOP  (add on)      */
/*-----------------------------------------*/
#BackTop {
  display: none;
  position: fixed;
  bottom: 18px;
  right: 1px;
  z-index: 99;
  outline: none;
  background-color: rgba(0,0,0,0.1);
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 10px;
	border-style: solid;
	border-color: white;
}
#BackTop:hover {
  background-color: #333;
}