/* concatenation of: base_phone.css, dialog_phone.css, bubble_message.css */
/* ------------- BEGIN base_phone.css --------------- */
/*
 * Fundamental styles for the phone (narrow screen) layout.
 * CSS in this file should be very general: applicable to most or all pages.
 * Avoid pixel units! Use %, em, and rem instead.
 */

/***** Reset ************************************************/

body, h1, h2, h3, h4, h5, ul, ol, li, p  {
    font-size: 100%;
    font-weight: normal;
    margin: 0;
    padding: 0;
    color: #333;
}
li {
    list-style-type: none;
}
a {
    text-decoration: none;
}
img {
    border: none;
}
table {
    border-spacing: 0;
    border-collapse: collapse;
}
td, th {
    font-weight: normal;
    padding: 0;
    text-align: left;
    vertical-align: baseline;
}
button, input, select {
    max-width: 100%;
    font-size: 1rem;
}


/***** General styles ****************************************/

html {
    font-family: "Helvetica Neue",Arial,sans-serif;
    font-size: 100%; /* base font size: all other font sizes should be expressed in rems or ems */
    margin: 0;
    padding: 0;
}

body {
    background: url(../../img/bg-mobile-light-20120612.gif) #f0f0f0;
}

a {
    color: #0687F5;
}

p {
    margin: 1rem 0;
    font-size: 0.8125rem;
}

#pgBd {
    margin-bottom: 11rem; /* reserve space for the absolutely-positioned pgFt */
}

.leftMiddleColumns, .rightColumn, #pgBd > .content {
    /* Ideally we'd put this on #pgBd, but it makes a marginless customHeaderWrapper more difficult.
       Specified in rems instead of % so we can align with the left padding in #band-navbar > li a. */
    margin: 0.625rem;
}

.secondaryText {
    color: #777;
}

.notable {
    color: #c00;
}

.alert {
    color: #c00;
    font-weight: bold;
}

/* dark */

body.invertIconography {
    background: url(../../img/bg-mobile-dark-20120809.gif) #1a1a1a;
}

body.invertIconography, .invertIconography h1, .invertIconography h2, .invertIconography h3, .invertIconography h4, .invertIconography h5, .invertIconography ul, .invertIconography ol, .invertIconography li, .invertIconography p  {
    color: #777;
}

.invertIconography a {
    color: #1f64ae;
}

.invertIconography .secondaryText {
    color: #5e5e5e;
}

.invertIconography .notable {
    color: #a30b0b;
}

.invertIconography .alert {
    color: #a30b0b;
    font-weight: bold;
}


/***** Buttons **********************************************/

a.buttonLink {
    display: block;
    width: 80%;
    margin: 0.625rem auto;
    font-size: 0.8125rem;
    line-height: 2.25rem;
    text-align: center;
    font-weight: bold;
    border: none;
    border-radius: 0.4em;
    color: #fff;
    background: #4F8E25;
}

/* dark */
.invertIconography a.buttonLink {
    color: #919191;
    background: #323232;
}

/***** Footer ************************************************/

#propOpenWrapper {
    position: absolute;
    width: 100%;
    min-height: 100%;  /* allows us to pin the footer to the bottom of viewport on short pages; see pgFt below */
}

#pgFt {
    position: absolute;
    bottom: 0;  /* for pages shorter than the viewport, pin footer to the bottom */
    width: 100%;
    padding: 1.5em 4% 2em;
    font-size: 0.8rem;
    background: #333;
   -moz-box-sizing:    border-box;
   -webkit-box-sizing: border-box;
    box-sizing:        border-box;
}

#pgFt a {
    color: #999;
}

#pgFt-inner {
    position: relative; /* make this a positioning context for #legal */
}

#footer-logo-wrapper {
    padding-top: 3.5em; /* move this element below #legal */
    line-height: 2em;   /* breathing room, in case the text contents wrap */
    text-align: justify;
    text-align-last: justify; /* see hack below */
}

#footer-logo-wrapper > * {
    vertical-align: middle;
}

#footer-logo-wrapper a {
    color: #eee;
}

#footer-logo {
    /* image h/w ratio: 1/6.4 */
    display: inline-block;
    width: 0;
    height: 0;
    padding-top: 4.69%; /* height */ 
    padding-left: 30%;  /* width */
    background: url(../../img/logo-white.svg) no-repeat;
    background-size: 100% auto;
    background-position: left center;
}

.no-svg #footer-logo {
    background-image: url(../../img/logo-white-mobile.png);
}

#footer-logo .hiddenAccess {
    display: none;
}

#phone-view-switcher-wrapper {
    display: inline-block;
}

#legal {
    /* raise this element above #footer-logo-wrapper */
    position: absolute;
    top: 0;
    width: 100%;
    
    text-align: justify;
    text-align-last: justify; /* see hack below */
}

/* Hack: we want text-align-last, but it's not widely supported as of Feb 2012. Instead, force 
   text-align to act like text-align-last by adding an invisible, second "line". Thanks to 
   http://kristinlbradley.wordpress.com/2011/09/15/cross-browser-css-justify-last-line-paragraph-text */
#footer-logo-wrapper:after, 
#legal:after {
    content: " ";
    display: inline-block;
    width: 100%;
}

/* Cancel justification between words in child elements */
#footer-logo-wrapper > *, 
#legal > * {
    text-justify: none;    /* not yet supported as of Feb 2012 */
    display: inline-block; /* hack: same effect */
}

#pgFt .static-content,
#legal #login-artist,
#legal #site-status {
    display: none;
}

/* dark */

.invertIconography #pgFt {
    background: #000;
}

.invertIconography #pgFt a {
    color: #777;
}


/***** Custom header **************************************/

#customHeaderWrapper > * {
    display: none;
}

div#customHeader {
    display: block;  /* overrides previous */
}

#customHeader > * {
    display: none;  /* hide desktop and other headers */
}

#customHeader > .phone-header {
    display: block; /* overrides previous */
}

.phone-header img {
    width: 100%;
}


/***** Tab bar ********************************************/

#customHeaderWrapper > #band-navbar {
    display: block;
}

#customHeaderWrapper > #band-navbar.hide-phone {
    display: none;
}

#band-navbar {
    font-size: 0;
    background-color: rgba(0, 0, 0, 0.08);
}
#band-navbar > li {
    display: inline-block;
}
#band-navbar > li a {
    display: block;
    font-size: 0.875rem;    /* 14px */
    font-weight: bold;
    color: #333;
    line-height: 2.0625rem; /* 35px - 2px(padding-top) */
    padding: 0.125rem 0.625rem 0; /* Room on the top for active border, 20 pixels on left & right */
}
#band-navbar > li a.active {
    border-top: solid 0.125rem #333;
    padding-top: 0;
}
#band-navbar > li.edit {
    display: none;
}

/* dark */
.invertIconography #band-navbar {
    background-color: rgba(0, 0, 0, 1);
}

.invertIconography #band-navbar > li a {
    color: #777;
}

.invertIconography #band-navbar > li a.active {
    border-top: solid 0.125rem #777;
}

/***** Hide desktop elements ******************************/

.bandmember-only,
#navbar-wrapper
{
    display: none !important;
}

/***** Contact Form ******************************/

#contactForm .tableLayout dt {
    font-size: 0.75rem;
    font-weight: bold;
}

#contactForm dl.tableLayout dt {
    width: 25%;
    margin:0;
    display: inline-block;
    text-align:right;
    padding-right:2%;
    vertical-align: top;
    margin-top: 0.25rem;
}

#contactForm dl.tableLayout dd {
    width: 67%;
    margin: 0;
    display: inline-block;

}
#contactForm dl.tableLayout dd textarea {
    height: 3rem;
}

#contactForm dl.tableLayout dd textarea, 
#contactForm dl.tableLayout dd input,
#contactForm dl.tableLayout button {
    font-family: "Helvetica Neue",Arial,sans-serif;
    font-size: 0.875rem;
}

#contactForm dl.tableLayout dd textarea, 
#contactForm dl.tableLayout dd input {
    width: 100%;
}

#contactForm dl.tableLayout dd p {
    margin: 0.3125rem 0 1rem;
    width: 100%;
    font-size: 0.75rem;
}

#contactForm button#contact\.send {
    background: none repeat scroll 0 0 #0687F5;
    border: thin solid #2072B8;
    color: #fff;
    font-size: 0.875rem;
    padding: 0.4rem 1.5rem;
    margin-right: 0.5rem;
    margin-top: -1ex; /* to remove inline style of parent*/
    -webkit-border-radius: 5px;
    border-radius: 5px;

}

#contactForm button#contact\.cancel {
    border: thin solid #fff;
    color: #0687f5;
    padding: 0.4rem 0rem;
    background: #fff;
    margin-top: -1ex; /* to remove inline style of parent */
}
/* ------------- BEGIN dialog_phone.css --------------- */
/*
 * Dialog CSS: phone view.
 *
 * This file is for the base dialog CSS only: don't put rules for specific dialogs here.
 */

.yui-dialog {
    position: absolute;
    /* the top coord is set by YUI Dialog */
    left: 2.5% !important; /* override YUI Dialog's horizontal centering */
    right: 2.5%;
    overflow-x: hidden;
    z-index: 10;
    background: #fff;
    -webkit-box-shadow: 0 0 1rem 0 #404040;
    box-shadow:         0 0 1rem 0 #404040;
}

.yui-dialog .hd {
    padding: 0.625rem 0.625rem;
    background: #5e5e5e;
}

.yui-dialog .hd .content {
    margin-right: 3.5rem; /* make room for the Close button, which for some reason isn't inside the .hd */
    letter-spacing: 0.02rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: bold;
}

.yui-dialog .bd {
    padding: 0.625rem;
}

.yui-dialog .ft {
    padding: 0 0.625rem 0.625rem;
    text-align: right;
}

.yui-dialog .ft button {
    display: inline-block;
    min-width: 5rem;
    min-height: 2rem;
    margin-right: 0.5rem;
    border: none;
    background: #999;
    color: #fff;
    border-radius: 0.3rem;
}

.yui-dialog .ft .button-group > :last-child button {
    margin-right: 0;
}

.yui-dialog .ft button[disabled] {
    opacity: 0.5;
}

.yui-dialog .container-close {
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    background: #717171;
    color: #bfbfbf;
    border-radius: 0.2rem;
}

.yui-dialog .container-close:before {
    content: "";
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    margin-right: 0.5em;
    background: url(../../img/mobile-sprites-light-20120822.svg) no-repeat;
    background-size: 100% auto;
    background-position: 0 23.87%; 
    vertical-align: text-bottom;
}

.no-svg .yui-dialog .container-close:before {
    background-image: url(../../img/mobile-sprites-light-20120822.png);
}

.yui-dialog .compound-button {
    margin-top: 1em;
    margin-bottom: 1em;
}

body.nouveau-masked {
    position: relative;
}

.masked .mask, .nouveau-masked .nouveau-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0.6;
    /* disable tap highlight on the mask itself */
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    z-index: 2;
}

/* ------------- BEGIN bubble_message.css --------------- */
/*
 * Bubble message base.
 *
 * Currently used for mobile only, but could be used for desktop.
 *
 * This file is for the base bubble CSS only: don't put rules for specific message instances here.
 */

.bubble-msg {
    display: none;
    position: fixed;
    top: 45%;
    left: 50%;
    z-index: 5;
}

.bubble-msg-inner {
    position: relative;
    left: -50%;
    padding: 0.5em 1em;
    color: #000;
    font-size: 1rem;
    font-weight: bold;
    white-space: nowrap;
    background: #fff;
    border-radius: 0.5em;
    border: solid thin #000;
    -webkit-box-shadow: 0 0.2rem 0.6rem 0 rgba(0,0,0,0.4);
    box-shadow:         0 0.2rem 0.6rem 0 rgba(0,0,0,0.4);
}