/* Instruments Fretboard Positions */ 
#chordfinder .instrument { position:relative; width:100%; transition:all 0.3s; -webkit-transition:all 0.3s; }

#chordfinder .instrument.zoom {
    width: 170%;
    margin-left: -30%;
    transition:all 0.3s; 
    -webkit-transition:all 0.3s; 
}

#chordfinder .instrument .string {
    position: absolute;
    width: 100%;
}
#chordfinder .instrument .string .fret {
	display:none;
	position: absolute;
    background: #FF9800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    box-shadow: inset 0 -1px 1px rgba(0,0,0,0.5), /*bottom internal shadow*/
	inset 0 1px 1px rgba(255,255,255,1); /*top internal highlight*/
	text-align: center;
    line-height: 21px;
    color: white;
    font-size: 12px;
    transition:all 0.3s;
    -webkit-transition:all 0.3s;
}

#chordfinder .instrument .string .fret.size_bigger { 	width:20px;height:20px;line-height:20px;font-size:13px;color:white; }
#chordfinder .instrument .string .fret.size_big { 		width:15px;height:15px;line-height:15px;font-size:11px;color:white; }
#chordfinder .instrument .string .fret.size_normal { 	width:13px;height:13px;line-height:13px;font-size:10px;color:transparent; }
#chordfinder .instrument .string .fret.size_medium { 	width:10px;height:10px;line-height:10px;font-size:9px;color:transparent; }
#chordfinder .instrument .string .fret.size_small { 		width:7px;height:7px;line-height:7px;font-size:8px;color:transparent; }
#chordfinder .instrument .string .fret.size_smaller { 	width:5px;height:5px;line-height:5px;font-size:7px;color:transparent; }
#chordfinder .instrument .string .fret.size_smallest {	width:4px;height:4px;line-height:4px;font-size:6px;color:transparent; }

#chordfinder .instrument.zoom .string .fret.size_bigger { 	width:30px;height:30px;line-height:30px;font-size:13px;color:white; }
#chordfinder .instrument.zoom .string .fret.size_big { 		width:25px;height:25px;line-height:25px;font-size:11px;color:white; }
#chordfinder .instrument.zoom .string .fret.size_normal { 	width:23px;height:23px;line-height:23px;font-size:10px;color:transparent; }
#chordfinder .instrument.zoom .string .fret.size_medium { 	width:20px;height:20px;line-height:20px;font-size:9px;color:transparent; }
#chordfinder .instrument.zoom .string .fret.size_small { 	width:17px;height:17px;line-height:17px;font-size:8px;color:transparent; }
#chordfinder .instrument.zoom .string .fret.size_smaller { 	width:15px;height:15px;line-height:15px;font-size:7px;color:transparent; }
#chordfinder .instrument.zoom .string .fret.size_smallest {	width:14px;height:14px;line-height:14px;font-size:6px;color:transparent; }

#chordfinder .instrument .string .fretx { 
    right: 27%;
    background: red;
}


#chordfinder .instrument .string .fret.fret0 {
	background: transparent;
	border: 1px solid rgb(208, 208, 208)
}
#chordfinder .instrument .string .fret.active { 
	display:block;
}
#chordfinder .instrument .string .fret.iskey {
	background: rgb(189, 39, 255);
}

@media screen and (max-width: 480px) {
	#chordfinder instrument {
		width: 100%;
		margin-left: 0px;
		transition: all 0.3s;
		-webkit-transition: all 0.3s;
	}
	#chordfinder #chordfinder .instrument.zoom {
		width: 600px;
		max-width: 600px;
		margin-left: -210px;
		transition: all 0.3s;
		-webkit-transition: all 0.3s;
	}
	#chordfinder #chordfinder .instrument.zoom .string .fret { width:12px; height: 12px; line-height: 11px; font-size:5px; }	
}

@media screen and (max-width:780px) { 
	#chordfinder .instrument .string .fret { width:12px; height: 12px; line-height: 11px; font-size:5px; }	
}
@media screen and (max-width:480px) { 
	#chordfinder .instrument .string .fret { width:7px; height: 7px; line-height: 3px; font-size:1px; color:transparent }	
}

#chordfinder .instrument.ukulele .string.string0 { top: 27%; }
#chordfinder .instrument.ukulele .string.string1 { top: 37.5%; }
#chordfinder .instrument.ukulele .string.string2 { top: 48%; }
#chordfinder .instrument.ukulele .string.string3 { top: 59%; }

#chordfinder .instrument.ukulele .string .fret.fret0 { right: 213px; }
#chordfinder .instrument.ukulele .string .fret.fret1 { right: 255px; }
#chordfinder .instrument.ukulele .string .fret.fret2 { right: 305px; }
#chordfinder .instrument.ukulele .string .fret.fret3 { right: 352px; }
#chordfinder .instrument.ukulele .string .fret.fret4 { right: 397px; }
#chordfinder .instrument.ukulele .string .fret.fret5 { right: 439px; }
#chordfinder .instrument.ukulele .string .fret.fret6 { right: 478px; }
#chordfinder .instrument.ukulele .string .fret.fret7 { right: 515px; }
#chordfinder .instrument.ukulele .string .fret.fret8 { right: 551px; }
#chordfinder .instrument.ukulele .string .fret.fret9 { right: 583px; }
#chordfinder .instrument.ukulele .string .fret.fret10 { right: 613px; }
#chordfinder .instrument.ukulele .string .fret.fret11 { right: 642px; }
#chordfinder .instrument.ukulele .string .fret.fret12 { right: 668px; }
#chordfinder .instrument.ukulele .string .fret.fret13 { right: 693px; }
#chordfinder .instrument.ukulele .string .fret.fret14 { right: 717px; }
#chordfinder .instrument.ukulele .string .fret.fret15 { right: 738px; }
#chordfinder .instrument.ukulele .string .fret.fret16 { right: 758px; }
#chordfinder .instrument.ukulele .string .fret.fret17 { right: 777px; }
#chordfinder .instrument.ukulele .string .fret.fret18 { right: 795px; }


#chordfinder .instrument.ukulele .string .fret.fret0 { right: 25%; }
#chordfinder .instrument.ukulele .string .fret.fret1 { right: 30%; }
#chordfinder .instrument.ukulele .string .fret.fret2 { right: 36%; }
#chordfinder .instrument.ukulele .string .fret.fret3 { right: 41.5%; }
#chordfinder .instrument.ukulele .string .fret.fret4 { right: 46.7%; }
#chordfinder .instrument.ukulele .string .fret.fret5 { right: 51.7%; }
#chordfinder .instrument.ukulele .string .fret.fret6 { right: 56.4%; }
#chordfinder .instrument.ukulele .string .fret.fret7 { right: 60.8%; }
#chordfinder .instrument.ukulele .string .fret.fret8 { right: 65%; }
#chordfinder .instrument.ukulele .string .fret.fret9 { right: 68.8%; }
#chordfinder .instrument.ukulele .string .fret.fret10 { right: 72.3%; }
#chordfinder .instrument.ukulele .string .fret.fret11 { right: 75.6%; }
#chordfinder .instrument.ukulele .string .fret.fret12 { right: 78.7%; }
#chordfinder .instrument.ukulele .string .fret.fret13 { right: 81.6%; }
#chordfinder .instrument.ukulele .string .fret.fret14 { right: 84.3%; }
#chordfinder .instrument.ukulele .string .fret.fret15 { right: 86.9%; }
#chordfinder .instrument.ukulele .string .fret.fret16 { right: 89.3%; }
#chordfinder .instrument.ukulele .string .fret.fret17 { right: 91.5%; }
#chordfinder .instrument.ukulele .string .fret.fret18 { right: 93.8%; }


#chordfinder .instrument.cuatro .string.string0 { top: 20%; }
#chordfinder .instrument.cuatro .string.string1 { top: 34.3%; }
#chordfinder .instrument.cuatro .string.string2 { top: 49.2%; }
#chordfinder .instrument.cuatro .string.string3 { top: 64%; }


#chordfinder .instrument.cuatro .string .fret.fret0 { right: 23%; opacity:1; }
#chordfinder .instrument.cuatro .string .fret.fret1 { right: 28%; opacity:1; }
#chordfinder .instrument.cuatro .string .fret.fret2 { right: 34.5%; opacity:0.95; }
#chordfinder .instrument.cuatro .string .fret.fret3 { right: 40.5%; opacity:0.9; }
#chordfinder .instrument.cuatro .string .fret.fret4 { right: 46.3%; opacity:0.9; }
#chordfinder .instrument.cuatro .string .fret.fret5 { right: 51.7%; opacity:0.8; }
#chordfinder .instrument.cuatro .string .fret.fret6 { right: 56.9%; opacity:0.8; }
#chordfinder .instrument.cuatro .string .fret.fret7 { right: 61.6%; opacity:0.75; }
#chordfinder .instrument.cuatro .string .fret.fret8 { right: 66.3%; opacity:0.75; }
#chordfinder .instrument.cuatro .string .fret.fret9 { right: 70.5%; opacity:0.75; }
#chordfinder .instrument.cuatro .string .fret.fret10 { right: 74.6%; opacity:0.75; }
#chordfinder .instrument.cuatro .string .fret.fret11 { right: 78.4%; opacity:0.7; }
#chordfinder .instrument.cuatro .string .fret.fret12 { right: 82%; opacity:0.7; }
#chordfinder .instrument.cuatro .string .fret.fret13 { right: 85.5%; opacity:0.7; }
#chordfinder .instrument.cuatro .string .fret.fret14 { right: 88.7%; opacity:0.65; }
#chordfinder .instrument.cuatro .string .fret.fret15 { right: 91.7%; opacity:0.65; }
#chordfinder .instrument.cuatro .string .fret.fret16 { right: 94.5%; opacity:0.6; }
#chordfinder .instrument.cuatro .string .fret.fret17 { right: 97.1%; opacity:0.6; }


#chordfinder .instrument.cavaquinho .string.string0 { top: 34%; }
#chordfinder .instrument.cavaquinho .string.string1 { top: 41.3%; }
#chordfinder .instrument.cavaquinho .string.string2 { top: 48.2%; }
#chordfinder .instrument.cavaquinho .string.string3 { top: 55%; }


#chordfinder .instrument.cavaquinho .string .fret.fret0 { right: 33%; opacity:1; }
#chordfinder .instrument.cavaquinho .string .fret.fret1 { right: 39.5%; opacity:1; }
#chordfinder .instrument.cavaquinho .string .fret.fret2 { right: 44.5%; opacity:0.95; }
#chordfinder .instrument.cavaquinho .string .fret.fret3 { right: 49.5%; opacity:0.9; }
#chordfinder .instrument.cavaquinho .string .fret.fret4 { right: 53.9%; opacity:0.9; }
#chordfinder .instrument.cavaquinho .string .fret.fret5 { right: 58%; opacity:0.8; }
#chordfinder .instrument.cavaquinho .string .fret.fret6 { right: 61.9%; opacity:0.8; }
#chordfinder .instrument.cavaquinho .string .fret.fret7 { right: 65.6%; opacity:0.75; }
#chordfinder .instrument.cavaquinho .string .fret.fret8 { right: 69.3%; opacity:0.75; }
#chordfinder .instrument.cavaquinho .string .fret.fret9 { right: 72.5%; opacity:0.75; }
#chordfinder .instrument.cavaquinho .string .fret.fret10 { right: 75.6%; opacity:0.75; }
#chordfinder .instrument.cavaquinho .string .fret.fret11 { right: 78.4%; opacity:0.7; }
#chordfinder .instrument.cavaquinho .string .fret.fret12 { right: 81.5%; opacity:0.7; }
#chordfinder .instrument.cavaquinho .string .fret.fret13 { right: 84%; opacity:0.7; }
#chordfinder .instrument.cavaquinho .string .fret.fret14 { right: 86.4%; opacity:0.65; }
#chordfinder .instrument.cavaquinho .string .fret.fret15 { right: 88.7%; opacity:0.65; }
#chordfinder .instrument.cavaquinho .string .fret.fret16 { right: 90.9%; opacity:0.6; }
#chordfinder .instrument.cavaquinho .string .fret.fret17 { right: 93.1%; opacity:0.6; }
#chordfinder .instrument.cavaquinho .string .fret.fret18 { right: 95%; opacity:0.6; }


#chordfinder .instrument.bandola-llanera .string.string0 { top: 33%; }  
#chordfinder .instrument.bandola-llanera .string.string1 { top: 41.3%; }
#chordfinder .instrument.bandola-llanera .string.string2 { top: 50.2%; }
#chordfinder .instrument.bandola-llanera .string.string3 { top: 59%; }


#chordfinder .instrument.bandola-llanera .string .fret.fret0 { right: 25%; opacity:1; }
#chordfinder .instrument.bandola-llanera .string .fret.fret1 { right: 29.5%; opacity:1; }
#chordfinder .instrument.bandola-llanera .string .fret.fret2 { right: 34.5%; opacity:0.95; }
#chordfinder .instrument.bandola-llanera .string .fret.fret3 { right: 39.2%; opacity:0.9; }
#chordfinder .instrument.bandola-llanera .string .fret.fret4 { right: 43.4%; opacity:0.9; }
#chordfinder .instrument.bandola-llanera .string .fret.fret5 { right: 47.3%; opacity:0.8; }
#chordfinder .instrument.bandola-llanera .string .fret.fret6 { right: 50.9%; opacity:0.8; }
#chordfinder .instrument.bandola-llanera .string .fret.fret7 { right: 54.2%; opacity:0.75; }
#chordfinder .instrument.bandola-llanera .string .fret.fret8 { right: 57.5%; opacity:0.75; }


#chordfinder .instrument.guitar .string.string0 { top: 34%; }
#chordfinder .instrument.guitar .string.string1 { top: 38.9%; }
#chordfinder .instrument.guitar .string.string2 { top: 44%; }
#chordfinder .instrument.guitar .string.string3 { top: 49%; }
#chordfinder .instrument.guitar .string.string4 { top: 53.5%; }
#chordfinder .instrument.guitar .string.string5 { top: 57.9%; }

#chordfinder .instrument.guitar .string .fret { 		width:11px;height:11px;line-height:11px;font-size:8px;color:white; }
#chordfinder .instrument.guitar .string .fret.size_bigger { 		width:11px;height:11px;line-height:11px;font-size:8px;color:white; }
#chordfinder .instrument.guitar .string .fret.size_big { 		width:11px;height:11px;line-height:11px;font-size:8px;color:transparent; }
#chordfinder .instrument.guitar .string .fret.size_normal { 		width:10px;height:10px;line-height:10px;font-size:8px;color:transparent; }
#chordfinder .instrument.guitar .string .fret.size_medium { 		width:8px;height:8px;line-height:8px;font-size:7px;color:transparent; }
#chordfinder .instrument.guitar .string .fret.size_small { 		width:6px;height:6px;line-height:6px;font-size:6px;color:transparent; }
#chordfinder .instrument.guitar .string .fret.size_smaller { 	width:5px;height:5px;line-height:5px;font-size:5px;color:transparent; }
#chordfinder .instrument.guitar .string .fret.size_smallest {	width:4px;height:4px;line-height:4px;font-size:4px;color:transparent; }

#chordfinder .instrument.guitar.zoom .string .fret.size_bigger { 	width:20px;height:20px;line-height:20px;font-size:13px;color:white; }
#chordfinder .instrument.guitar.zoom .string .fret.size_big { 		width:15px;height:15px;line-height:15px;font-size:11px;color:white; }
#chordfinder .instrument.guitar.zoom .string .fret.size_normal { 	width:13px;height:13px;line-height:13px;font-size:10px;color:transparent; }
#chordfinder .instrument.guitar.zoom .string .fret.size_medium { 	width:10px;height:10px;line-height:10px;font-size:9px;color:transparent; }
#chordfinder .instrument.guitar.zoom .string .fret.size_small { 		width:7px;height:7px;line-height:7px;font-size:8px;color:transparent; }
#chordfinder .instrument.guitar.zoom .string .fret.size_smaller { 	width:5px;height:5px;line-height:5px;font-size:7px;color:transparent; }
#chordfinder .instrument.guitar.zoom .string .fret.size_smallest {	width:4px;height:4px;line-height:4px;font-size:6px;color:transparent; }


#chordfinder .instrument.guitar .string .fret.fretx { right: 24%; opacity:1; }
#chordfinder .instrument.guitar .string .fret.fret0 { right: 23%; opacity:1; }
#chordfinder .instrument.guitar .string .fret.fret1 { right: 27%; opacity:1; }
#chordfinder .instrument.guitar .string .fret.fret2 { right: 32.5%; opacity:0.95; }
#chordfinder .instrument.guitar .string .fret.fret3 { right: 37.5%; opacity:0.9; }
#chordfinder .instrument.guitar .string .fret.fret4 { right: 42.3%; opacity:0.9; }
#chordfinder .instrument.guitar .string .fret.fret5 { right: 46.7%; opacity:0.8; }
#chordfinder .instrument.guitar .string .fret.fret6 { right: 50.9%; opacity:0.8; }
#chordfinder .instrument.guitar .string .fret.fret7 { right: 54.6%; opacity:0.75; }
#chordfinder .instrument.guitar .string .fret.fret8 { right: 58.3%; opacity:0.75; }
#chordfinder .instrument.guitar .string .fret.fret9 { right: 61.7%; opacity:0.75; }
#chordfinder .instrument.guitar .string .fret.fret10 { right: 64.9%; opacity:0.75; }
#chordfinder .instrument.guitar .string .fret.fret11 { right: 68%; opacity:0.7; }
#chordfinder .instrument.guitar .string .fret.fret12 { right: 71%; opacity:0.7; }
#chordfinder .instrument.guitar .string .fret.fret13 { right: 73.7%; opacity:0.7; }
#chordfinder .instrument.guitar .string .fret.fret14 { right: 76.1%; opacity:0.65; }
#chordfinder .instrument.guitar .string .fret.fret15 { right: 78.7%; opacity:0.65; }
#chordfinder .instrument.guitar .string .fret.fret16 { right: 81%; opacity:0.6; }
#chordfinder .instrument.guitar .string .fret.fret17 { right: 83.1%; opacity:0.6; }
#chordfinder .instrument.guitar .string .fret.fret18 { right: 85.1%; opacity:0.55; }
#chordfinder .instrument.guitar .string .fret.fret19 { right: 87.1%; opacity:0.55; }
#chordfinder .instrument.guitar .string .fret.fret20 { right: 88.9%; opacity:0.5; }
#chordfinder .instrument.guitar .string .fret.fret21 { right: 90.6%; opacity:0.5; }

#chordfinder .tuning {
    text-align: center;
    margin-bottom: 18px;
    color: #999;
    font-size: 0.7em;
}


.chordlist { white-space:normal; background: #EFEFEF; border: 1px solid #CCC; padding: 8px; margin:16px 0; font-size:12px;}

.thischord span.lowest_fret {
    position: absolute;
    left: -8px;
    top: 19px;
    font-size: 12px;
}
.thischord span.lowest_fret.hide {
	display:none;
}

.thischord, .numberedchord { 
	position: relative;
    font-family: monospace;
    font-size: 14px;
    font-weight: 800;
    line-height: 16px;
    color: #f99a00;
    cursor: pointer;
}

.thischord span.position {
	color: rgb(255, 189, 114);
    font-size: 8px;
    position: absolute;
    top: -8px;
    right: 0px;
}
.thischord.vertical { 
	background-image: url(https://tucuatro.com/images/acordes/chord-vertical-4strings.png);
	width: 40px;
	height: 70px;
	display: inline-block;
	background-size: 100%;
	background-repeat: no-repeat;
	background-position-y: 20px;
	text-align: center;
}

/* Compensate the width of the vertical chords with margin right: */
.thischord.vertical { margin-right:-20px;}
.thischord.vertical.hide { display:none !important; }

/* Don't compensate. Present inline with text: */
.thischord.inline { margin: -5px 0; vertical-align: middle; }

.thischord.center { display:inherit; margin: 0 auto; text-align:center; }

.thischord.center.vertical[data-chord="xxxx"] {
    background: none;
}

.thischord.vertical[data-instrument="guitar"] { 
	background-image: url(https://tucuatro.com/images/acordes/chord-vertical-6strings.png);
    margin-right: 0px;
    /* margin-left: -10px; */ /* Looks weird, too close together */
	margin-left: 0px;
}

.thischord.vertical.key_chord { margin: 0 auto; }

.thischord .fretboard { position:relative; display:none; }
.thischord .fretboard.visible { display:block; }

.thischord.vertical .fretboard { position:relative; }
.thischord.vertical .fretboard .string { position:absolute; top:0px; width:40px; height:70px; }
.thischord.vertical .fretboard .string .fret {
	display:none;
	position: absolute;
    background: #FF9800;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    box-shadow: inset 0 -1px 1px rgba(0, 0, 0, 0.5), /*bottom internal shadow*/ inset 0 1px 1px rgba(255, 255, 255, 1);
    text-align: center;
    line-height: 21px;
    color: transparent;
    font-size: 12px;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
}
.thischord.vertical .fretboard .string .fret.active { display:block; }
.thischord.vertical .fretboard .string .fret.fretx { background:transparent !important; }
.thischord.vertical .fretboard .string .fret.fretx:before {
    content: "\274c";
    font-size: 4px;
    color: #FFF;
    position: absolute;
    top: -6px;
    left: -0px;
}

.thischord.vertical.x2 { width: 80px; height: 100px; }
.thischord.vertical.x2 .fretboard .string { top: -4px; width:80px; height:100px; }
.thischord.vertical.x2 .fretboard .string .fret { width: 12px; height: 12px; }
.thischord.vertical.x2 .fretboard .string .fret.fretx:before { top:-2px; font-size: 16px; }
	
.thischord.vertical.x4 { width: 160px; height: 220px; }
.thischord.vertical.x4 .fretboard .string { top: -8px; width:160px; height:260px; }
.thischord.vertical.x4 .fretboard .string .fret { width: 24px; height: 24px; }
.thischord.vertical.x4 .fretboard .string .fret.fretx:before { top:0px; font-size: 20px; }

.thischord.vertical.x8 { width: 320px; height: 480px; }
.thischord.vertical.x8 .fretboard .string { top: -16px; width:320px; height:560px; }
.thischord.vertical.x8 .fretboard .string .fret { width: 48px; height: 48px; }
.thischord.vertical.x8 .fretboard .string .fret.fretx:before { top:2px; font-size: 25px; }


.thischord.vertical .fretboard .string.string0 { left: 19%; }
.thischord.vertical .fretboard .string.string1 { left: 34%; }
.thischord.vertical .fretboard .string.string2 { left: 49%; }
.thischord.vertical .fretboard .string.string3 { left: 66%; }
.thischord.vertical .fretboard .string.string4 { left: 86%; }
.thischord.vertical .fretboard .string.string5 { left: 96%; }

.thischord.vertical[data-instrument="guitar"] .fretboard .string.string0 { left: 4%; }
.thischord.vertical[data-instrument="guitar"] .fretboard .string.string1 { left: 20%; }
.thischord.vertical[data-instrument="guitar"] .fretboard .string.string2 { left: 35%; }
.thischord.vertical[data-instrument="guitar"] .fretboard .string.string3 { left: 51%; }
.thischord.vertical[data-instrument="guitar"] .fretboard .string.string4 { left: 66%; }
.thischord.vertical[data-instrument="guitar"] .fretboard .string.string5 { left: 82%; }

.thischord.vertical.lefthand .fretboard .string.string5 { left: 0%; }
.thischord.vertical.lefthand .fretboard .string.string4 { left: 8%; }
.thischord.vertical.lefthand .fretboard .string.string3 { left: 19%; }
.thischord.vertical.lefthand .fretboard .string.string2 { left: 34%; }
.thischord.vertical.lefthand .fretboard .string.string1 { left: 49%; }
.thischord.vertical.lefthand .fretboard .string.string0 { left: 66%; }

.thischord.vertical.lefthand[data-instrument="guitar"] .fretboard .string.string5 { left: 4%; }
.thischord.vertical.lefthand[data-instrument="guitar"] .fretboard .string.string4 { left: 20%; }
.thischord.vertical.lefthand[data-instrument="guitar"] .fretboard .string.string3 { left: 35%; }
.thischord.vertical.lefthand[data-instrument="guitar"] .fretboard .string.string2 { left: 51%; }
.thischord.vertical.lefthand[data-instrument="guitar"] .fretboard .string.string1 { left: 66%; }
.thischord.vertical.lefthand[data-instrument="guitar"] .fretboard .string.string0 { left: 82%; }

.thischord.vertical .fretboard .string .fret.fretx { top: 4%; }
.thischord.vertical .fretboard .string .fret.fret0 { top: 4%; display:none; }
.thischord.vertical .fretboard .string .fret.fret1 { top: 12%; }
.thischord.vertical .fretboard .string .fret.fret2 { top: 25%; }
.thischord.vertical .fretboard .string .fret.fret3 { top: 40%; }
.thischord.vertical .fretboard .string .fret.fret4 { top: 53%; }


.thischord.notext .fretboard .string { top:16px; }


.chorddisplay { white-space:normal; position:absolute; top:-40px; left:30px; width:310px; padding:6px; background: #FFF; border:1px solid #CCC; z-index:2;}
.chorddisplay .chordname { text-align: center; margin: 0 auto; width:100%; font-weight:bold;  }

/* Display a nice chord image anywhere: */
.chordimage { position:relative; width:310px; height:70px; overflow: hidden; }
.chordimage img { position: absolute; width:440px; max-width:1000% !important; left:-22px; top:8px;}

/* Chord List will use small size.  TODO: Let user decide size with a class */
.chordlist_title { 
	cursor: pointer;
	color: rgb(155, 51, 21);
	text-align:center;
	font-weight: 800;
	text-decoration: underline
}
.chordlist_title.visible {
	color:gray;
	opacity:0.7;
	text-decoration:none;
}


.chordsNiceList { padding:0px; text-align:left; display:block; }
.chordsNiceList li { display:inline-block; vertical-align:top; width:110px; padding:6px; margin:14px; background: #FFF; border:1px solid #CCC; }
.chordsNiceList li .chordname { text-align: center; margin: 0 auto; width:100%; font-weight:bold;  }
.chordsNiceList .chorddisplay { width:110px; }
.chordsNiceList .chordimage { width:110px; height:30px; }
.chordsNiceList .chordimage img { width:220px; left:-64px; top:-6px;}


@media screen and (max-width:480px) {
	
	.chordsNiceList { text-align:center; }
	.chordsNiceList li { width: 220px; overflow:hidden; box-sizing: border-box; }
	
	.chorddisplay { white-space:normal; position:fixed; top: 50%; left: 50%; margin-left: -110px; width:220px; padding:6px; background: #FFF; border:1px solid #CCC; z-index:2;}
	.chorddisplay .chordname { text-align: center; margin: 0 auto; width:100%; font-weight:bold;  }
	.chorddisplay .chordimage { width:100%; }
	.chorddisplay .chordimage img { left: -115px }
	
	.chordsNiceList .chordimage { width: 440px; height: 60px; }
	.chordsNiceList .chordimage img { width: 440px; max-width: 1000%; left: -112px; top: 0px; }
}
