/*
Theme Name: Vandalia Drummer News Clone
Theme URI: http://vandaliadrummernews.com
Author: Theme Clone
Description: A WordPress theme cloned from the Vandalia Drummer News website design.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: vandalia-clone
*/

/* ========== RESET & BASE ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background-image: url('images/bg.jpg');
    background-position: left top;
    background-repeat: repeat;
    background-attachment: scroll;
}

a { color: #1c63b7; text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

.clearfix::after { content: ""; display: table; clear: both; }

/* ========== WRAPPER ========== */
#wrapper {
    max-width: 960px;
    margin: 0 auto;
    background: #fff;
}

/* ========== HEADER ========== */
#branding {
    background-color: #1c63b7;
    padding: 0 10px;
}

#inner-header {
    margin-bottom: 30px;
}

#masthead {
    float: left;
    margin-top: 26px;
}

#masthead a {
    color: white;
    font-family: 'Roboto', sans-serif;
}

#masthead img {
    max-width: 300px;
    max-height: 50px;
}

#tlclasswidget {
    width: 350px;
    padding-top: 10px;
}

#widgetcontent a {
    color: #ffffff;
    font-size: 15px;
    text-decoration: none;
    font-weight: 700;
    margin-right: 5px;
}

#widgetcontent a:hover {
    text-decoration: underline;
}

.header-ad {
    text-align: center;
    float: left;
    padding-top: 25px;
    padding-left: 10px;
}

/* ========== NAVIGATION ========== */
#access {
    clear: both;
    background: #0d4a8a;
    position: relative;
    z-index: 100;
}

#access .menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#access .menu > ul {
    display: flex;
    flex-wrap: wrap;
}

#access .menu > ul > li {
    position: relative;
}

#access .menu > ul > li > a {
    display: block;
    padding: 10px 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    border-right: 1px solid rgba(255,255,255,0.1);
}

#access .menu > ul > li > a:hover,
#access .menu > ul > li:hover > a {
    background: #1c63b7;
}

#access .menu > ul > li.current-menu-item > a {
    background: #1c63b7;
}

/* Submenus */
#access .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #0d4a8a;
    min-width: 220px;
    z-index: 200;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

#access .menu > ul > li:hover > .sub-menu {
    display: block;
}

#access .sub-menu li a {
    display: block;
    padding: 8px 14px;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

#access .sub-menu li a:hover {
    background: #1c63b7;
}

/* ========== CONTENT AREA ========== */
#container {
    background: #fff;
}

#content {
    padding: 0 10px;
    background-color: white;
}

#content::before {
    background-color: #1c63b7 !important;
}

/* ========== MAIN + SIDEBAR LAYOUT ========== */
#main {
    float: left;
    width: 620px;
    padding-top: 10px;
    background-color: white;
}

#sidebar {
    float: right;
    width: 300px;
    padding: 10px 0 10px 15px;
}

/* ========== FEATURED AREA (SLIDER + LIST) ========== */
#featured {
    margin-bottom: 15px;
}

#featured-latest {
    float: left;
    width: 480px;
    height: 450px;
    overflow: hidden;
}

#featured-latest .slider {
    background-color: #141414;
}

#imagebox {
    position: relative;
}

#imagebox img {
    display: block;
    margin: auto;
    width: 400px;
}

#imagebox a {
    text-decoration: none;
    color: white;
}

#textbox {
    margin: 2px;
    padding: 5px 10px;
}

#textbox h2 {
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    color: #fff;
}

#featured-list {
    float: right;
    width: 480px;
    margin-bottom: 5px;
    height: 400px;
    overflow: hidden;
}

#featured-list h1 {
    font: 700 18px/40px 'Roboto', Arial, sans-serif;
    color: #1c63b7;
    text-transform: uppercase;
    border-bottom: 2px solid #1c63b7;
    margin-bottom: 5px;
}

#boxscroll {
    max-height: 360px;
    overflow-y: auto;
}

#boxscroll ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

li.featured-title {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

li.featured-title a {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #333;
    text-decoration: none;
}

li.featured-title a:hover {
    color: #1c63b7;
}

/* ========== SECTION HEADERS ========== */
.item-wrap h1 {
    font: 700 24px/50px 'Roboto', Arial, Helvetica, sans-serif;
    height: 25px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #444;
}

.item-wrap h1 a {
    color: #444;
}

.item-wrap h1 a:hover {
    color: #1c63b7;
}

.item-wrap hr {
    border: none;
    border-top: 2px solid #1c63b7;
    margin-bottom: 15px;
}

/* ========== ITEM CARDS (GRID) ========== */
.item.col300 {
    float: left;
    width: 290px;
    margin: 0 10px 15px 0;
    position: relative;
}

.item.col300:nth-child(2n) {
    margin-right: 0;
}

.item-cat {
    position: relative;
}

.item-cat .cat-links {
    display: block;
    background-color: #1c63b7;
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
}

.item-content h2 {
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    margin: 5px 0;
}

.item-content h2 a {
    color: #333;
}

.item-content h2 a:hover {
    color: #1c63b7;
}

.item.col300 img {
    display: block;
    margin: 0 auto;
    width: 235px;
}

/* ========== LIST STYLE ITEMS ========== */
.item-wrap > a {
    display: block;
    color: black;
    text-decoration: none;
    margin-bottom: 5px;
}

.item-wrap > a img {
    max-height: 75px;
    max-width: 75px;
    float: left;
    margin-right: 3px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.item-wrap > a h2 {
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #333;
}

.item-wrap > a:hover h2 {
    color: #1c63b7;
}

.item-wrap p {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.list-group-item-text {
    font-size: 10px !important;
    padding-left: 15px;
    color: #999;
}

/* ========== SIDEBAR WIDGETS ========== */
#sidebar .widget {
    margin-bottom: 20px;
}

#sidebar .widget-title {
    font: 700 18px/30px 'Roboto', sans-serif;
    color: #444;
    border-bottom: 2px solid #1c63b7;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

#sidebar .widget-title a {
    color: #444;
}

/* ========== SOCIAL MEDIA SECTION ========== */
.col480 {
    float: left;
    width: 48%;
    margin-right: 2%;
}

.col480:last-child {
    margin-right: 0;
}

/* ========== E-EDITION SECTION ========== */
.eedition-wrap {
    overflow: hidden;
}

.eedition-cover {
    float: left;
    width: 50%;
}

.eedition-cover img {
    box-shadow: 3px 3px 4px #000;
}

.special-section {
    float: left;
    width: 50%;
    height: 160px;
    text-align: center;
}

.special-section img {
    margin: 0 auto;
    box-shadow: 3px 3px 4px #000;
    max-width: 100px;
    max-height: 100px;
    padding: 5px;
}

/* ========== FOOTER ========== */
#colophon {
    background-color: #141414;
    padding: 30px 10px;
    color: #fff;
    min-height: 200px;
}

#colophon a {
    color: #fff;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
}

#colophon a:hover {
    text-decoration: underline;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    padding: 0 15px;
    min-width: 180px;
}

.footer-col p {
    font-family: 'Roboto', sans-serif;
    color: #fff;
    font-size: 13px;
    margin-bottom: 5px;
}

.btn-news-alerts {
    display: inline-block;
    background-color: #008CBA;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}

.btn-news-alerts:hover {
    background-color: #006d8e;
    text-decoration: none;
    color: #fff;
}

/* ========== STICKY FOOTER AD ========== */
.footer-ad {
    position: fixed;
    width: 100%;
    bottom: 0;
    min-width: 906px;
    background-color: #101010;
    text-align: center;
    z-index: 1000;
}

/* ========== PAGINATION ========== */
.pagination {
    text-align: center;
    padding: 20px 0;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 2px;
    border: 1px solid #ddd;
    color: #333;
}

.pagination .current {
    background: #1c63b7;
    color: #fff;
    border-color: #1c63b7;
}

/* ========== RESPONSIVE ========== */
@media only screen and (max-width: 960px) {
    #wrapper { width: 100%; }
    #main { width: 100%; float: none; }
    #sidebar { width: 100%; float: none; padding-left: 0; }
    #featured-latest, #featured-list { width: 100%; float: none; height: auto; }
    .item.col300 { width: 48%; }
    .col480 { width: 100%; margin-right: 0; }
    .footer-ad { display: none; }
}

@media only screen and (max-width: 600px) {
    .item.col300 { width: 100%; margin-right: 0; }
    #access .menu > ul { flex-direction: column; }
    #access .sub-menu { position: static; }
    #masthead { float: none; text-align: center; }
    .header-ad { float: none; }
    #tlclasswidget { width: 100%; }
}
