/* Custom CSS for Eddie Cochran Site */

/* Basic Resets restored from inline styles */
#Content {
    background: #FFFFFF;
}

.songs-page {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    background-image: none !important;
}

html.songs-html {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    background-image: none !important;
}

.copyrights {
    color: #969696;
}

a {
    color: #2D70CA;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#navigation ul>li a:hover,
#navigation ul>li.active a,
#navigation ul li.hover>a {
    background: #2D70CA;
}

/* Typography */
body,
a.button span {
    font-size: 14px;
    font-family: 'PT Sans', Arial, sans-serif;
    font-weight: normal;
    font-style: normal;
    color: #515E6C;
}

#navigation>ul>li>a {
    font-size: 15px;
    font-family: 'PT Sans', Arial, sans-serif;
    font-weight: normal;
    font-style: normal;
    color: #FFFFFF;
}

h1 {
    font-size: 30px;
    font-family: 'PT Sans', Arial, sans-serif;
    font-weight: bold;
    font-style: normal;
}

h2 {
    font-size: 40px;
    font-family: 'PT Sans', Arial, sans-serif;
    font-weight: bold;
    font-style: normal;
    color: #000000;
}

h3 {
    font-size: 34px;
    font-family: 'PT Sans', Arial, sans-serif;
    font-weight: bold;
    font-style: normal;
    color: #093869;
}

h4 {
    font-size: 20px;
    font-family: 'PT Sans', Arial, sans-serif;
    font-weight: normal;
    font-style: normal;
    color: #000000;
}

h5 {
    font-size: 17px;
    font-family: 'PT Sans', Arial, sans-serif;
    font-weight: normal;
    font-style: normal;
    color: #000000;
}

h6 {
    font-size: 14px;
    font-family: 'PT Sans', Arial, sans-serif;
    font-weight: bold;
    font-style: normal;
    color: #000000;
}

/* Song Info Specifics */
#song_video iframe {
    border: 1px solid #F7D674;
    margin: 20px 0;
}

#song_title {
    color: #1E77BA;
    font-size: 30px;
    font-style: italic;
    line-height: 1.1em;
    margin: 28px 0 6px;
}

#song_info {
    color: #AAA;
    font-size: .9em;
    font-style: italic;
    margin: 0 0 20px;
}

.light_title {
    color: #1E77BA;
    font-size: 30px;
    font-style: italic;
    line-height: 1.1em;
    margin: 28px 0 28px;
}

.col_2_1 {
    float: left;
    width: 45%;
}

.col_2_2 {
    float: right;
    margin-left: 10%;
    width: 45%;
}

.songs_col ul {
    margin: 5px 0 25px 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.songs_col ul li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    text-indent: 0 !important;
}

.pagenav {
    list-style: none;
}

/* =========================================
   Mobile Responsiveness
   ========================================= */

/* Ensure images never overflow */
img {
    max-width: 100% !important;
    height: auto !important;
}

/* Video iframes responsive */
iframe,
object,
embed {
    max-width: 100%;
}

@media only screen and (max-width: 960px) {

    /* Main Containers */
    .Wrapper,
    body .Wrapper {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }

    #Header .Wrapper {
        position: relative !important;
        padding-bottom: 70px !important;
    }

    #Content,
    .content,
    .with_aside .content {
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
        padding: 10px 0 !important;
        box-sizing: border-box !important;
    }

    /* Sidebars and Columns */
    .sidebar,
    .left_submenu .sidebar,
    .right_submenu .sidebar,
    .col,
    .one_sixth,
    .two_sixth,
    .three_sixth,
    .four_sixth,
    .five_sixth,
    .one_fourth,
    .two_fourth,
    .three_fourth,
    .one_third,
    .two_third,
    .one_second,
    .col_2_1,
    .col_2_2 {
        width: 100% !important;
        float: none !important;
        margin: 0 0 20px 0 !important;
        padding: 0 !important;
        height: auto !important;
    }

    /* Song page specific un-floating */
    #song_video iframe {
        float: none !important;
        margin: 10px 0 !important;
        width: 100% !important;
    }

    /* Header Elements */
    #Header {
        height: auto !important;
    }

    #Header .top {
        height: auto !important;
        padding: 10px 0;
        text-align: center;
    }

    #Header .top #logo {
        position: static !important;
        float: none !important;
        display: block !important;
        margin: 10px auto !important;
        line-height: 1.2;
    }

    /* YouTube Link - Bottom Left */
    #Header .top_options {
        position: absolute !important;
        float: none !important;
        width: auto !important;
        margin: 0 !important;
        text-align: left !important;
        bottom: 15px !important;
        left: 15px !important;
        z-index: 10;
        max-width: 45% !important;
        overflow: hidden !important;
    }

    /* Constrain Youtube Image Size */
    #Header .top_options img {
        height: auto !important;
        width: 300px !important;
        display: block !important;
    }

    #Header .top_options .call_us,
    #Header .top_options ul.top_links {
        float: none !important;
        display: inline-block !important;
        vertical-align: middle;
    }

    /* Navigation */
    #navigation {
        float: none !important;
        margin: 10px 0 !important;
        width: 100% !important;
        text-align: center;
    }

    #navigation ul {
        margin: 0;
        padding: 0;
    }

    #navigation ul>li {
        float: none !important;
        display: inline-block !important;
        margin: 5px 2px !important;
    }

    #navigation ul>li ul {
        left: 50% !important;
        margin-left: -95px !important;
        top: 100% !important;
    }

    /* Sliders - Hide to simplify mobile */
    #Offer_slider,
    #homepage-illustration,
    #Photo_slider {
        display: none !important;
    }

    /* Subpage Headers */
    .subpage_header {
        padding: 0 !important;
        height: 0 !important;
        margin: 0 !important;
    }

    .subpage_header h1 {
        display: none !important;
    }

    .subpage_header ul.breadcrumbs {
        display: none !important;
    }

    /* Fan Site Button - Bottom Right */
    .subpage_header a.call_to_action {
        position: absolute !important;
        display: block !important;
        /* Block to show dimensions */
        float: none !important;
        margin: 0 !important;
        width: 140px !important;
        /* Explicit width for bg image */
        height: 60px !important;
        /* Explicit height */
        bottom: 15px !important;
        right: 15px !important;
        top: auto !important;
        /* Reset desktop top */
        z-index: 10;
        background-size: contain !important;
        /* Ensure image fits */
        background-repeat: no-repeat !important;
        background-position: right bottom !important;
    }

    /* Tables */
    table {
        display: block;
        overflow-x: auto;
        width: 100%;
        border: 0;
    }
}

/* Memorial Comments Fix */
.commentlist {
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
}

.commentlist>li.comment {
    margin-bottom: 20px !important;
}

/* Song Sidebar Styling */
#songs_sidebar ul.pagenav,
#songs_sidebar li.pagenav {
    margin-bottom: 25px !important;
}

/* Desktop: Align with title */
@media only screen and (min-width: 960px) {
    #songs_sidebar {
        padding-top: 28px;
    }
}

/* Mobile: Separate from content below */
@media only screen and (max-width: 960px) {
    #songs_sidebar {
        margin-top: 30px;
        padding-top: 0;
    }
}