/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* VERSIONS
20140319 adjusted front page for mobile
20210611: added google drive link
20211015: mods for CD Baby 
20230607: new films page support
*/

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    background:#664; /* this site */
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    background:#664;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
    #cca        lt. warm gray. text.
    #664        med. warm gray. used in selection, borders and menu back.
    #333328     rgba(255, 255, 204, .2) in header
    #13130F     rgba(255, 255, 204, .075) in footer
            
   ========================================================================== */

:root {
    --bdr-default: #664;
    --bdr-light: #886;
    --bg-header: #333328;
    --bg-footer: #13130f;
    --bg-newText: #171717;
    --bg-menu: #664;
    --clr-text: #cca;
    --clr-text-light: #eec;  
}

* {
    margin: 0;
    padding: 0;
    outline: 0;
}    

body {
    background: black;
}

/* HEADER
************************************************/
#hdrMain {    
    width: 100%;
    height: 120px;
    border-bottom: 1px solid var(--bdr-default);
}

#hdrMainContent, #ftrMainContent, #contentMain {
    margin: 0 auto;
    width: 960px;
}

#hdrMainContent {
    position: relative;
    height: 120px;
    border-left: 1px solid var(--bdr-default);
    border-right: 1px solid var(--bdr-default);
    background: var(--bg-header);
}

#menu {
    position: absolute;
    width: 960px;
    top: 90px;
    right: 0;
    height: 30px;
    background: var(--bdr-default);
    text-align: center;
    overflow: hidden;
}

#menu li {
    display: inline;
    list-style-type: none;
    margin: 0 16px;
    font-size: .875em;
    font-weight: bold;
    line-height: 32px;
    text-transform: uppercase;
}

#menu a {
    color: var(--clr-text);
}

#menu li.sel a {
    color: #95957d;  /* too dark? */
    color: var(--clr-text-light);
}

#menu a:hover {
    color: white;
    border-bottom: none;
}

#menu li.sel a:hover {
    cursor: default;
}

#logo {
    position: absolute;
    top: 10px;
    left: 10px;
    height: 70px;
    width: 480px;
    background: url(../img/logo/main_logo_2.png) 0 0 no-repeat;
}

#logo:hover {
    background: url(../img/logo/main_logo_2.png) 0 -70px no-repeat;
}

#filmsong {
    position: absolute;
    top: 10px;
    left: 500px;
    height: 54px;
    width: 150px;
    background:url(../img/logo/filmSong.png) 0 0 no-repeat;
}

/* CONTENT
************************************************/
#contentMain {
    color: #cca;
    width: 920px;
    padding: 20px;
    min-height: 450px;
} 

/* FOOTER
************************************************/
#ftrMain {
    /* background: #13130F; */
    background: var(--bg-footer);
    font-size: .8125em;
    margin-bottom: 1em;
    border-top: 1px solid #664;
    border-bottom: 1px solid #664;
}

#ftrMainContent {
    padding: 10px 0;    
    text-align: center;
    color: #664;
}

#ftrMainContent a {
    color:#cca;
    margin:0 .5em;
}

#ftrMainContent a:hover {
    color:white;
    border:none;
}
 
/* HTML and PAGES (exceptions)
************************************************/
i {
    margin: 0 .5em;
}

p {
    margin: .5em 0;
}

.bi {
    font-weight: bold;
    font-style: italic;
}

a {
    text-decoration: none;
    font-weight: bold;
    color: white;
}

a:hover {
    border-bottom: 1px solid white;
}

ol, ul {
    margin: .5em 0 .5em 30px;
}

#menu ul, #mmenu ul {
    margin: 0;
}

blockquote {
	margin: .5em 30px;
}

h1, h2, h3 {
    color: var(--clr-text-light);
}

h1, h2.fullHeading {
    font-size: 1.6em;
    text-shadow: 4px 4px 4px black;
}

h2.fullHeading {
    margin-top: 4rem;
}

h1:hover, h2:hover h2.fullHeading:hover, h3:hover {
    color: white;
}

h2 {
    font-size: 1.4em;
    line-height: 2em;
}

h3 {
    font-size: 1.25em;
    line-height: 1.4em;
}

#pg_contact h3 {
	margin-top: 2em;
}

h3.subtitle {
    font-style: italic;
    margin-top: -.5em;
}

/* HOME PAGE (and .soundLink) */
#pg_index #content {
    /* padding-top:20px; */
}

#pg_index p.leadin {
    font-size: 1.1rem;
}

#portrait {
    margin: 0 2em .5em -15px;
    border: 1px solid #664;
    float: left;
}

/* removed in HTML */
#pg_index .col {
    max-width: 540px;
}

.soundLink {
    margin: 0 .2em;
    padding: 0 .2em;
    line-height: 16px;
    border-radius: 6px;
}

.soundLink:hover {
    border-bottom: none;
    background: #cca;
    color: black;  
}

.soundLink i {
    margin: 0;
}

#new2021 {
    clear: left;
    margin: 3rem 1rem 2rem 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, .2);
    border: 1px solid black;
    border-radius: .5rem;
}

#new2021 p {
    clear: left;
    padding-top: 3rem;
}

#new2021 p:nth-child(3) {
    padding-top: 1rem;
    text-align: center;
}

#new2021 img {
    float: left;
    /* match negative top margin to p padding */
    margin: -3rem 2rem 1rem 0;
    border: 1px solid var(--bdr-default);
}

/* FILMS PAGE */

.new2022 {
    margin: 0;
    margin-bottom: 2rem;
    padding-top: .5rem;
    font-size: 1.25rem;
}

span.title, .newText span {
    font-weight: bold;
    color: var(--clr-text-light);
}

em.title {
    color: var(--clr-text-light);
}

/* container for 6 newest films, replaces floating container... */
#nextNewest {
    display: grid;
    gap: 40px;
    grid-template-columns: 360px 210px;
    justify-content: center;
}

/* the image divs for latest 6 - formerly floats */
.tbNew {
    border: 1px solid var(--bdr-default);
}

/* padding 20px */
#nextNewest div.newText {
    height: 320px;
    /* overrides grid col setting */
    width: 200px;
    background: var(--bg-newText);
    padding: 20px;
    font-size: 1.08em; 
    border: 1px solid var(--bdr-default);  
}

#cmex { background: url(../img/cov/cmex.jpg); }
#smex { background: url(../img/cov/smex.jpg); } 
#boli { background: url(../img/cov/boli.jpg); }
#guat { background: url(../img/cov/guat.jpg); }
#peru { background: url(../img/cov/peru.jpg); }
#lati { background: url(../img/cov/lati.jpg); }

#cmex, #smex, #boli, #guat, #peru, #lati {
    background-size: 100%;
}

/* ON ORIGINAL PAGE BUT CHANGED SPACING */

.google {
    border: 1px solid gray;
}

#filmIntro {
    float: left;
    margin-bottom: 60px;
}

#filmIntro img {
    float: left;
    margin: 0 30px 4px 0;
    border: 1px solid #664;
}

#filmIntro p, .tbWideDbl p, .tbWide p  {
    margin: 1.5em 0;
}

.thumbs {
    margin: 0;
    margin-top: 30px;
}

/* 
    .tb is the first 7 thumbs and next 3
    .tbWide and .tbWideDbl - blurbs
*/

.tb {
    float: left;
    width: 143px;
    height: 203px;
    margin: 0 12px 20px 12px;
    border: 1px solid var(--bdr-default);
}

.tb:hover  {
    border: 1px solid var(--bdr-light);

}

.tbWide, .tbWideDbl{
    float: left;
    margin: 0 19px 20px 19px;
    width: 380px;
}

.tbWideDbl {
    width: 300px;
}

#pg_films #ethi { background: url(../img/cov/143_ethiopia.jpg); }
#pg_films #eafr { background: url(../img/cov/143_eafrica.jpg); }
#pg_films #wafr { background: url(../img/cov/143_wafrica.jpg); }
#pg_films #cuba { background: url(../img/cov/143_cuba.jpg); }
#pg_films #ecua { background: url(../img/cov/143_ecuador.jpg); }
#pg_films #colo { background: url(../img/cov/143_colombia.jpg); }
#pg_films #tibe { background: url(../img/cov/143_tibet.jpg); }
#pg_films #por1 { background: url(../img/cov/143_portrait1.jpg); }
#pg_films #por2 { background: url(../img/cov/143_portrait2.jpg); }
#pg_films #por3 { background: url(../img/cov/143_portrait3.jpg); }

.youtube iframe, .youtube p {
    float: left;
}
.youtube iframe {
    margin-right: 10px;
    margin-top: 20px;
    border: 1px solid black;
}

.youtube iframe:hover {
    border: 1px solid var(--bdr-light);
}

.youtube p {
    width: 360px;
    padding: 14px 20px;
    margin: 30px 10px 10px 20px;
    background: #16160f;
    border: 1px solid #664;
    border-radius: 6px;
}

.orders {
    padding-top: 36px;
}

h3.orders {
    margin-top: 30px;
    text-align: center;
}

div.orders img {
    float: left;
    margin: 0 20px 4px 0;
    border: 1px solid white;
}

div.orders p {
    padding-top: 30px;
}

/* MUSIC PAGE */
.album, .story  {
    border:1px solid #664;
    border-radius:6px;
    background:#13130f;
    padding:14px 20px;
    margin-bottom:20px;
}

.performers p {
    line-height:1.8;
    font-size:1.0625em;
}

.performers h3 {
    line-height:2em;
    padding-top:1em;
}

/* img displays for mobile */
.performers img {
    float:right;
    margin:0 0 0 10px;
    border:1px solid #333328;
    display:none;
}

/* bg img displays */

#songs {
    background:url(../img/alb/songs300.jpg) 600px 240px no-repeat;
}

#hunch {
    background: url(../img/alb/hunchback300.jpg) 600px 240px no-repeat;
}

.performers span {
    margin: 0 1.4em;
    font-style: italic;
}

.songList {
	margin-top: 2em;
}

.songList li span {
    margin-left: 1em;
    font-style: italic;
}

.stanza {
    margin: 1em 0
}

.stanza p {
    margin: 0;
    font-style: italic;
}

#havana {
    background:#13130f url(../img/bg/yellowShirt300.jpg) 600px 416px no-repeat;
}

/* REVIEWS */
.songTitle {
    font-style: italic;
}

.albumTitle {
    font-weight: bold;
}

p.review {
    margin:1.5em 30px;
    font-style: italic;
}

p.review .songTitle {
    color: #ffc;
}

p.source {
    font-style: normal;
    margin: -.5em 0 1.5em 50px;
}

p.source.last {
    margin-bottom: 1em;
}

p.source span {
    font-weight: bold;
}

p.source:before {
    content: '-';
    margin-right: .2em;
}

p.sourceHead {
    font-size: 1.3em;
    font-weight: bold;
    font-style: italic;
    color: #664;
    margin: 1em 0 -.7em 30px;
}

.nappa  {
    font-size: 1.2em;
}

.nappa img {
    float: left;
    margin-right: 30px;
}

/* TRAVEL */

#pg_travels #hdrMainContent {
    box-shadow:0 4px 4px #333328;
}

#pg_travels #contentMain {
    background:url(../img/bg/tibet960.jpg) no-repeat;
}

.js .story {
    float:left;
    width:240px;
    margin:0 20px 200px 0;
}

.story p {
    margin:1em 0;
}

.toggle {
    font-weight:bold;
    font-style:italic;
    margin-left:1em;
    color:#cc9;
    display:block;
}

.js .story  p, .no-js .toggle {
    display:none;
}

.js .story p.disp {
    display:block;
}

#pg_travels .toggle:hover {
    color:white;
    cursor:pointer
}

#botBlurb {
    clear:left;
}

/* CONTACT PAGE */

p.msg {
    font-size:1.2em;
    font-weight:bold;
    text-align:center;
    font-family:georgia serif;
    font-style:italic;
    margin:-10px 0 0 0;
}

#instr p {
    float:left;
    font-size:.875em;
    margin-left:50px;
    max-width:250px;
}

#instr i {
    margin-left:0;
}

#instr #ordering {
    width:320px;
}

#gmail img{
    margin-left:-3px;
}

.js #gmail {
    /* display:none; */
}

#mbox {
    font-family:georgia, serif;
    font-size:1.125em;
    font-style:italic;
}

#pg_contact i {
    color:white;
}

fieldset {
    margin:0 20px 10px 20px;
    padding:340px 2em 1em 2em;
    border:1px solid #664;
    border-radius:6px;
    background:black url(../img/bg/wafrica920.jpg) no-repeat;
    font-size:.875em;	
}

input, label, textarea {
    margin:.5em 0;
}

.req:after {
	content:'*';
	font-weight:bold;
}

input {
    margin-left:1em;
    padding-left:.3em;
    padding-right:.3em;
}

input.short {
    width:2em;
}

input.long {
    width:24em;
}

input[type="text"]:focus {
    background-color:#cca;
    outline:none;    
}

input[type="submit"]:focus  {
    outline:none;

}

p.order {
	margin:.5em 2em 1em 2em;
}

/* MISC & TEST
************************************************/
#slider {
    position:absolute;
    top:140px;
    left:0;
    height:42px;
    width:44px;
    background:#665 url(../img/bg/expandWhite.png) no-repeat;
    border-top-right-radius:10px;
    border-bottom-right-radius:10px;
    box-shadow:0 4px 4px black;
    display:none;
}

#mmenu {
    position:absolute;
    top:20px;
    left:10px;
    min-width:80px;
    display:none;
    font-size:.75em;
    border:1px solid black;
    background:white;
    padding:3px 6px;
    border-radius:4px;
}

#mmenu a  {
    color:black;
}

#closeIt {
    display:none;
    position:absolute;
    top:-1px;
    right:-1px;
    border:1px solid black;
    border-bottom-left-radius:4px;
    width:12px;
    height:12px;
}

#closeIt:hover {
    background:red;
    color:white;
}

#closeIt p {
    margin:0;
    font-size:10px;
    font-weight:bold;
    line-height:12px;
    text-align:center;
}

#mmenu li {
    list-style-type:none;
}

#slider:hover  {
    cursor:pointer;
}

#slider:hover #mmenu {
    display:block;
}

.no-js #slider {
    display:none;
}

.col {
    float:left;
    margin-bottom: 3rem;
}

.newRow {
    clear:left;
}

#horiz {
    position:absolute;
    width:100%;
    height:1px;
    top:64px;
    background:orange;
}

#horiz2 {
    position:absolute;
    width:100%;
    height:1px;
    top:44px;
    background:orange;
}

#horiz3 {
    position:absolute;
    width:100%;
    height:1px;
    top:24px;
    background:orange;
}

.no-js .scripting {
   display:none; 
}

.js .noScripting {
    display:none;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
    
    At 320: Contact & Orders has disappeared from the main menu
    
    TO DO:
	final small logo, 360 px centered 
   ========================================================================== */


@media only screen and (max-width:480px) {
    #logo {
	background:url(../img/logo/main_logo_2small.png) -10px 4px no-repeat;
	width:90%;
    }
    #logo:hover {
	background:url(../img/logo/main_logo_2small.png) -10px -66px no-repeat;
    }
}

@media only screen and (max-width:580px) {
    #menu {
	height:34px;
    }
    #menu li {
	line-height:16px;
    }
}

@media only screen and (max-width:680px) {
    #filmsong {
	display:none;
    }
}

@media only screen and (max-width:960px) {
    
    #contentMain, #hdrMainContent, #ftrMainContent {
        width:99%;
	padding-left:0;
	padding-right:0;
    }

    #menu {
        position:relative;
        width:100%;
        font-size:12px;
    }

    #menu li {
        margin:0 6px;
    }
    
    #filmIntro img {
	max-width:50%;
    }
    
    .album {
        width:95%;
    }
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
