/* TODO: sass-ify all this */

body {
    font-family: Roboto, sans-serif;
    font-size: 14px;
    background-color: #f5f5f5;
}

/* reset headers */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
}

.clickable {
    cursor: pointer;
}

.margin-top-10 {
    margin-top: 10px;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-top-40 {
    margin-top: 40px;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

.margin-bottom-40 {
    margin-bottom: 40px;
}

.center {
    text-align: center;
}

#gb-main-container {
    display: flex;
}

#gb-left-main-panel {
    display: inline-block;
    width: 240px;
    background-color: #003663;
    transition: .3s;
}

#gb-left-main-panel.closed {
    width: 40px;
}

#gb-right-main-panel {
    display: inline-block;
    width: calc(100% - 248px);
    padding: 20px 40px;
}

#gb-right-main-panel.expanded {
    width: calc(100% - 40px);
}

#gb-content-wrap {
    padding: 60px 20px 40px 20px;
    min-height: 600px;
    width: 100%;
}

#gb-content-wrap.admin {
    background-color: #efefff;
}

.gb-icon-left-panel {
    color: #ffffff;
    background-color: #66baff;
    font-size: 28px;
    top: 60px;
    left: 210px;
    padding: 10px;
    border-radius: 24px;
    transition: .3s;
}

.gb-icon-left-panel.closed {
    left: 6px;
}

.gb-media-wrap {
    text-align: center;
    margin-bottom: 24px;
}

.gb-feed-img {
    width: 100%;
    max-width: 640px;
}

.gb-feed-img.card {
    max-width: 450px;
}

.gb-media-wrap.feed {
    background-color: #ffffff;
    border-radius: 5px;
    padding: 0;
    box-shadow: 0 2px 2px 2px rgba(0,0,0,0.20);
    margin-bottom: 48px;
}

.gb-media-title {
    font-family: Bangers, Roboto, sans-serif;
    font-size: 20px;
}

.gb-media-wrap.feed .gb-media-title {
    color: #ffffff;
    background-color: #66baff;
    padding: 4px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.gb-media-wrap.feed .gb-media-title a {
    color: #ffffff;
}

.gb-media-type {
    text-align: left;
    margin-left: 5px;
    position: relative;
    top: -28px;
}

.gb-media-date {
    text-align: right;
    margin-right: 5px;
}

.gb-media {
    padding: 10px 40px 4px 40px;
    margin-bottom: 10px;
}

.gb-media.blog {
    text-align: left;
}

.gb-media-tags {
    font-family: Bangers, Roboto, sans-serif;
    font-size: 16px;
}

.gb-media-wrap.feed .gb-media-tags {
    padding-bottom: 10px;
}

.gb-media-wrap.grid .gb-media-tags {
    padding-top: 4px;
}

.gb-grid-img-wrap {
    border: 1px solid #003663;
    box-shadow: 0 2px 2px 2px rgba(0,0,0,0.20);
}

.gb-grid-img {
    width: 100%;
    max-width: 300px;
}

.gb-paginator {
	display: block;
	width: 100%;
	padding: 6px;
	min-height: 30px;
    text-align: center;
}

.gb-pg-info-wrap {
	float: left;
	width: 30%;
}

.gb-left-section-wrap {
    color: #ffffff;
    padding: 20px;
    margin-bottom: 120px;
}

.gb-left-section-wrap a {
    color: #ffffff;
    cursor: pointer;
    font-size: 12px;
}

.gb-left-section-title {
    font-family: Bangers, Roboto, sans-serif;
    font-size: 24px;
}

.gb-left-section {
    margin-bottom: 20px;
}

.gb-email-signup {
    float: right;
    margin-top: 6px;
}

.gb-email-signup-feedback {
    margin-top: 6px;
}

#gb-footer {
    height: 200px;
    background-color: #000000;
}

.gb-admin-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 12px;
    text-align: center;
}

.gb-table {
    background-color: #fff;
}

.gb-table-condensed>tbody>tr>th {
    text-transform: uppercase;
    padding: 3px;
    font-size: 11px;
}

.gb-table-condensed>tbody>tr>td {
    padding: 3px;
    font-size: 11px;
}

.split {
    display: inline-block;
    width: 49%;
}

.dk-blue-label {
    background-color: #003663;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    font-family: Bangers, Roboto, sans-serif;
    font-size: 16px;
}

/* overriding left and right margins */
.container-fluid>.navbar-header {
    margin: 0;
}

.navbar-header, .navbar-nav, .navbar-brand {
    font-family: Bangers, Roboto, sans-serif;
    font-size: 24px;
}

.page-title {
    font-family: Bangers, Roboto, sans-serif;
}

.opt-label {
    display: block;
    font-weight: normal;
}


/* TODO: break these up into individual images so they can scale to fit the space available */
#gbCastImg {
    display: inline-block;
    width: 320px;
    height: 320px;
    background: url('/static/img/grumplebunny-cast.png') no-repeat;
    background-position: 0 0;
}

#sbCastImg {
    display: inline-block;
    width: 250px;
    height: 320px;
    background: url('/static/img/grumplebunny-cast.png') no-repeat;
    background-position: -320px 0;
}

#lCastImg {
    display: inline-block;
    width: 200px;
    height: 320px;
    background: url('/static/img/grumplebunny-cast.png') no-repeat;
    background-position: -760px 0;
    margin-left: 50px;
}

#rCastImg {
    display: inline-block;
    width: 190px;
    height: 320px;
    background: url('/static/img/grumplebunny-cast.png') no-repeat;
    background-position: -570px 0;
    margin-left: 15px;
}

.cast-img-wrap {
    margin-bottom: 20px;
}

.cast-img-panel {
    border: 1px #cccccc solid;
    border-radius: 5px;
    padding: 10px;
    min-height: 510px;
}

.gb-datatable a.edit-icon {
    float: right;
}

.gb-remove-media-tag {
    margin: 3px;
}

.gb-daterange-wrap {
    text-align: right;
}

.gb-daterange-wrap .gb-daterange {
    margin: 4px 0;
}


/************************************************ mobile/small screens ************************************************/
@media (max-width: 768px) {
    #gb-left-main-panel {
        display: none;
    }

    #gb-right-main-panel {
        width: 100%;
        padding: 10px;
    }

    #gb-right-main-panel.expanded {
        width: 100%;
    }

    .gb-media-title {
        font-size: 16px;
    }

    .gb-media-date {
        font-size: 12px;
    }

    .gb-media-type {
        top: -24px;
    }

    .dk-blue-label {
        font-size: 14px;
    }
}

@media (max-width: 540px) {

    .gb-media-wrap img {
        max-width: 506px;
    }

}

@media (max-width: 480px) {

    .gb-media-wrap img {
        max-width: 450px;
    }

}

@media (max-width: 360px) {

    .gb-media-wrap img {
        max-width: 320px;
    }

}

@media (max-width: 320px) {

    .gb-media-wrap img {
        max-width: 300px;
    }

}

