/* book view subtitle styling */
#content .sub-title {
    margin-bottom: 0.5em !important;
    margin-top: -0.6em !important;
    font-size: 1.5em;
    color: #333;
    font-weight: bolder;
    text-transform: uppercase;
    font-family: "Open Sans", Helvetica, Arial, sans-serif !important;
}

/* tweaks for home page */
.mosaic .feature-column,
body.section-home-page #main {
	margin-bottom: 0 !important;
}

/* hide lock icon that appears above twitter feed, hide external link icon too */
i.glyphicon.link-https,
i.glyphicon.link-external {
    display: none;
}

/* Fix the login screen input that were overflowing out of the modal */
#login-form input[type="text"],
#login-form input[type="password"], 
#login-form input[type="email"],
#login-form textarea {
    width: 320px !important;
}

/* fix for header background line obscuring summary text (if present) */
#content header {
    background: none;
}

/* manually enable header background in some specific locations */
body.portaltype-book #content header,
body.portaltype-journal #content header,
.post-content#content-core header {
    background: transparent url(../images/bkgs/stripes_tiny_08.png) bottom left repeat-x;
}

/* increase size of cart contents indicator to allow space for longer journal text */
.jaz-shop-cart {
    width: 330px !important;
}

/* ---------------------------------- */
/* Jazkarta shop checkout view tweaks */
/* ---------------------------------- */

/* compact the form */
.fieldset-contact-info.jaz-shop-half-form .field.field-address input[type="text"],
.fieldset-contact-info.jaz-shop-half-form .field.field-address input[type="email"],
.fieldset-contact-info.jaz-shop-half-form .field.field-address select,
.fieldset-payment-info.jaz-shop-half-form .field.subfield-notes,
.fieldset-payment-info.jaz-shop-half-form {
    margin-bottom: 0px !important;
}

.fieldset-payment-info.jaz-shop-half-form .field-inputs label {
    display: inline-block;
}

/* Credit card and CVC fields */
.fieldset-payment-info.jaz-shop-half-form .field-credit-card .subfield-card-number input[type="text"] {
    width: 150px !important;
}
.fieldset-payment-info.jaz-shop-half-form .field-credit-card .subfield-card-cvc label {
    margin-left: 10px !important;
}
.fieldset-payment-info.jaz-shop-half-form .field-credit-card .subfield-card-cvc input[type="text"] {
    width: 60px !important;
}

/* card expirtation fields */
.card-expiration-month,
.card-expiration-year {
    width: 135px !important;
    margin-bottom: 0px !important;
}
.field.field-expiration .expiration-date {
    display: block !important;
    margin-top: 45px;
}
select.card-expiration-month,
select.card-expiration-year {
    display: inline-block !important;
}

/* configure size and layout of each form input on checkout form */
/* with the exception of country select2 dropdown - left as is */
.field.subfield-first-name,
.field.subfield-last-name,
.field.subfield-state,
.field.subfield-city,
.field.subfield-zip,
.field.subfield-email,
.field.subfield-phone {
    display: inline-block;
}
.field.subfield-first-name input[type="text"] {
    width: 215px !important;
}
.field.subfield-last-name input[type="text"] {
    width: 215px !important;
}
.field.subfield-address input[type="text"] {
    width: 215px !important;
}
.field.subfield-city input[type="text"] {
    width: 215px !important;
}
.field.subfield-state input[type="text"] {
    width: 215px !important;
}
.field.subfield-zip input[type="text"] {
    width: 100px !important;
}
.field.subfield-email input[type="email"] {
    width: 215px !important;
}
.field.subfield-phone input[type="text"] {
    width: 215px !important;
}

/* Copyright footer notice */
#footer-base a {
    color: #efefef;
    text-decoration: none;
}
#footer-base a:hover {
    text-decoration: underline;
}
#newsletter-signup #email-input-text {
    width: 70%;
    float: left;
}

#newsletter-signup button.newsletter-submit {
    background-color: #1e3944;
    color: #efefef;
    margin-left: 0.75em;
}

#newsletter-signup button.newsletter-submit:hover {
    background-color: #9c6d37;
}

.jaz-shop-cart-trigger-label {
    display: none;
}

a.jaz-shop-cart-trigger:before {
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    display: inline-block;
    text-decoration: inherit;
    content: "\f07a";
    font-size: 1.25em;
    vertical-align: middle;
    line-height: 1.25em;
    padding: 4px 5px 0 5px;
    color: #222;
}

a.jaz-shop-cart-trigger:hover:before {
    background-color: #222;
    color: #d7d7d7;
}

.jaz-shop-cart-wrapper a.jaz-shop-cart-trigger .items {
    display: inline-block;
    vertical-align: bottom;
}

.drop-bar a#personaltools-login {
    vertical-align: top;
    margin-right: 10px;
    line-height: 2.25em;
}
