
#wrapper {

    max-width: 1024px;
    margin:auto;
    margin-top: 120px;
    z-index: 100;
}

#pwad {
    margin-bottom:20px;
}

.nopad {
    padding: 0;
}

.nopad>nav {
    margin-bottom: 0;
}

body {
    background-color: #ffffff;
}


.title {
    height:120px;
    width: 100%;
}



.title-right {
    background-image: url("/template/media/sgallacci-title.png");
    background-repeat: no-repeat;
    background-position: 376px;
    width:1024px;
    height: 120px;
    margin: auto;
    margin-top: 16px;
    margin-bottom: 16px;
}

.title a>h1 {
    font-family: Leto, sans-serif !important;
    font-weight: 900 !important;
}

#menu-block {
    position:absolute;
    left:0;
    top: 140px;
    width:100%;
    margin-bottom: 20px;
    padding-top: 8px;
    padding-bottom: 8px;
    border-top: 3px solid #a4dded;
    border-bottom: 2px solid #A4DDED;
    background-color: #ffffff;
    z-index: 999;
}


#center-menu {
    position: relative;
    text-align: right;
    width: 1024px;
    margin:auto;
}

#center-menu ul.navbar-nav {
    float: right;
    color: #000000;
    list-style: none;
    position:relative;
}

#center-menu li {
    float: left;
    position:relative;
}

#center-menu a {
    text-decoration: none;
    float: left;
    color: #000000;
    text-align: center;
    white-space:nowrap;
}

.navbar-default {
    background-color: inherit !important;
}

nav.navbar {
    border: 0;
    margin-top: 0 !important;
    border-radius: 0;
    min-height:0;
    margin-bottom: inherit !important;
}

.navbar-nav > li > a {
    padding-top: 2px;
    padding-bottom: 2px;
    color: #000000;
}

.open .navbar-nav > li > a {
    color: #000000 !important;
}

.dropdown-menu >li>a {
    color: #000000 !important;
}
.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
    background-color: #eee;
    color: #000000 !important;
}

.comic-block {
}

.top-block {
    max-width: 720px;
    background-color: #ffffff;
    border: solid 2px #A4DDED;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom: 0;
    padding: 16px;
    margin-bottom: 0;
}

.middle-block {
    max-width: 720px;
    background-color: #ffffff;
    border-left: solid 2px #A4DDED;
    border-right: solid 2px #A4DDED;
    padding: 8px;
}

.commentary-block {
    max-width: 720px;
    background-color: #ffffff;
    border: solid 2px #A4DDED;
    border-bottom: solid 3px #A4DDED;
    padding: 16px;
}

.bottom-block {
    max-width: 720px;
    background-color: #ffffff;
    border: solid 2px #A4DDED;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top: 0;
    padding: 16px;
    margin-bottom: 120px;
}


.sidebar-block {
    min-width: 186px;
    max-width: 250px;
    background: #ffffff;
    padding: 16px;
    padding-top: 0px;
    margin-bottom: 20px;
}

.sidebar-alt {
    background-color: #ffffff;
}

ul.noList>li {
    display: inline;
}

.sidebar-block ul, .footer-block ul, ul.noList {
    margin-left:0;
}

.sidebar-block ul>li, .footer-block ul>li, ul.noList>li {
    margin:3px;
    list-style: none;
}

.sidebar-block>.row.widget {
    border: 2px solid #a4dded;
    border-radius: 4px;
    margin-bottom: 16px;
    padding: 4px;
}

.sidebar-block ul>li>a, .footer-block ul>li>a, .widget a {
    font-family: Leto, sans-serif;
    color: #000000;
    font-weight:bold;
    font-size: .75em;
}

.planet-footer {
    position: fixed;
    left: 0;
    bottom: 0px;
    z-index: 0;
    width: 100%;
    height: 160px;
    background-image: url("/template/media/planet.png");
    background-repeat: no-repeat;
    background-position: center top;
}

.social-link {
    font-size: .75em;
    color: #000000;
}

.social-link:hover {
    color: #666666;
}


@media (max-width: 767px) {
    h1 {
        font-size: 2em;
    }

    div.comic-navigation>a {
        font-size: 2.5em;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    h1 {
        font-size: 2.5em;
    }
    div.comic-navigation>a {
        font-size: 2em;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    h1 {
        font-size: 3em;
    }
}

@media (min-width: 1200px) {
    h1 {
        font-size: 3.5em;
    }
}

a.nav-link {
    color: #000000 !important;
    font-weight: bold;
    margin-left: 10px;
}

a.nav-link:hover {
    color: #666666 !important;
}


#comic-container {
    margin-top: 8px;
    margin-bottom: 8px;
    min-width: 480px;
}

.comic-navigation:first-child('a.nav-link') {
    margin-left: 0px;
}

.comic-navigation:last-child('a.nav-link') {
    margin-right: 0px;
}


.border-bottom {
    border-bottom: 3px solid #000000 !important;
    border-radius: 0 !important;
}

.comic-comment {
    margin-bottom: .5em;
    border: 2px solid #ffffff;
    border-radius: 4px;
}

.comic-comment:nth-child(even) {
    background-color: #e0e0e0;

}

.comic-comment:nth-child(odd) {
    background-color: #ffffff;
}

.comment-level-0  { margin-left : 0; margin-right: 0;}
.comment-level-1  { margin-left : 16px;  width: calc(100% - 16px); }
.comment-level-2  { margin-left : 32px;  width: calc(100% - 32px); }
.comment-level-3  { margin-left : 48px;  width: calc(100% - 48px); }
.comment-level-4  { margin-left : 64px;  width: calc(100% - 64px); }
.comment-level-5  { margin-left : 80px;  width: calc(100% - 80px); }
.comment-level-6  { margin-left : 96px;  width: calc(100% - 96px); }
.comment-level-7  { margin-left : 112px; width: calc(100% - 112px); }
.comment-level-8  { margin-left : 128px; width: calc(100% - 128px); }
.comment-level-9  { margin-left : 144px; width: calc(100% - 144px); }
.comment-level-10 { margin-left : 160px; width: calc(100% - 160px); }
.comment-level-11 { margin-left : 176px; width: calc(100% - 176px); }
.comment-level-12 { margin-left : 192px; width: calc(100% - 192px); }

h1, .h1, h2, .h2, h3, .h3 {
    margin-bottom: 8px;
    margin-top: 8px;
}

.comment-admin {
    background-color: #ffffff !important;
    color: #000000 !important;
}

table.cast {
    border-spacing: 10px;
    border-collapse: separate;
}

table.cast td {
    vertical-align: top;
}
table.cast td>h4 {
    margin-top: 0px;
}

div.cast-block {
    border-radius: 4px;
    background-color: #e0e0e0;
    padding: 8px;
}

ul.menubar {
    display:block;
    background-color: #000000;
    text-align:center;
}

ul.menubar>li {
    display:inline-block;
    margin-left: 6px;
    margin-right: 6px;
    text-align:center;
}

ul.menubar>li>a {
    color: #ffffff;
    font-family: Leto, sans-serif;
    font-weight: bold;
}

.icon-small {
    max-width: 40px;
    max-height: 40px;
}

.icon-medium {
    max-width: 80px;
    max-height: 80px;
}

.icon-large {
    max-width: 160px;
    max-height: 160px;
}

.widget ul {
    margin-left: 0;
    padding-left: 0;
}

.widget {
    margin-bottom: 12px;
}

.widget ul li {
    list-style: none;
}

a.widget-cast {
    margin: 3px;
}


.widget img {
    max-width: 160px;
}

.footer-block .widget {
    max-width: 180px;
    margin-left: 8px;
    margin-right: 8px;
}

.footer-block .widget:first-child {
    margin-left: 0;
}

.footer-block .widget:last-child {
    margin-right: 0;
}

.widget-badge:before {
    content: none !important;
    font-family: Leto, sans-serif;
    font-size: 1em;
    right: 0;
    top: 0;
    position: relative;
    color: #000000;
    display: none;
}

.widget-badge {
    position: absolute !important;
    right: 8px;
    width: 60px;
    height: 60px;
    z-index:10;
    background-image: url("/template/media/new-comic-flag.png");
    background-repeat: no-repeat;
}

.widget-badge-star {
    color: #A4DDED !important;
}

.widget-badge-text {
    color: #000000;
    font-family: Leto, sans-serif !important;
    font-weight: 900 !important;
    font-size: .65em;
    margin-left: .65em;
}

.carousel-text a {
    color: #A4DDED !important;
}
