body {
    background-image: url('../images/bg.jpg');
    background-repeat: repeat;
    color: #3e1a00;
    line-height: 1.5;
    font-size: 16px;
    font-family: "Ryumin Medium KL", serif;
}

a {
    color: #67553d;
}

.serif {
    font-family: "Ryumin Medium KL", serif;
}

.cursive {
    font-family: 'Parisienne', cursive;
    font-weight: normal;
}

#main {
    padding-bottom: 60px;
}

#header {
    padding-top: 60px;
    background-color: #000;
    background-image: url('../images/header-bg.jpg');
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

#footer {
    background: #542d0a;
    background: -moz-linear-gradient(top, #542d0a 0%, #2b1400 100%);
    background: -webkit-linear-gradient(top, #542d0a 0%, #2b1400 100%);
    background: linear-gradient(to bottom, #542d0a 0%, #2b1400 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#542d0a', endColorstr='#2b1400', GradientType=0);

    min-height: 50px;
}

hr {
    border-style: dotted;
    border-color: #666;
}

.navbar-dark {
    background: #2b1400;
    background: -moz-linear-gradient(top, #2b1400 0%, #542d0a 100%);
    background: -webkit-linear-gradient(top, #2b1400 0%, #542d0a 100%);
    background: linear-gradient(to bottom, #2b1400 0%, #542d0a 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2b1400', endColorstr='#542d0a', GradientType=0);

    color: #fff !important;
    border-width: 2px 0;
    border-color: #aa6825;
    border-style: solid;
}

.navbar-dark a {
    color: #fff !important;
}

.heading {
    text-transform: uppercase;
    border-bottom: 2px solid #76654e;
    font-size: 24px;
    height: 40px;
    line-height: 40px;
    margin: 15px 0px;
}

.sub-header-img {
    margin: 15px 0;
}

.no-padding {
    padding: 0 !important;
}

/* home */

.information {
    border: 6px solid rgba(54, 31, 12, 0.5);
    padding: 15px;
    height: 480px;
    overflow: hidden;
    overflow-y: scroll;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,fffae5+100 */
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #fffae5 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffffff 0%, #fffae5 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffffff 0%, #fffae5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#fffae5', GradientType=0); /* IE6-9 */

}

.information dd {
    color: #888;
    font-size: 14px;
}

.home-blog .blog-box {
    border-bottom: 2px solid #76654e;
    margin-bottom: 15px;
    background-color: #FFF;
    border: 1px solid #CCC;
    padding: 5px;
}

.blog-box .media {
    align-items: stretch;
}

.blog-box .media-body {
    position: relative;
}

.home-blog .blog-box p {
    margin-top: 10px;
    color: #bcb2a4;
}

.home-blog .blog-box dl {
    margin-bottom: 10px;
}

.home-blog .blog-box dt {
    color: #f6a03c;
    font-size: 0.9em;
    font-weight: normal;
}

.home-blog .blog-box dd {
    font-weight: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}

.home-blog-author {
    position: absolute;
    bottom: 0px;
    left: 0px;
    font-size: 18px;
    color: #eb5932;
}

.home-blog-link {
    text-align: center;
    color: #666;
    margin: 15px 0;
}

.home-blog-link a {
    color: #666;
    padding: 5px;
    display: block;
    border: 1px solid #666;
}

.home-footer {
    padding: 0 10px;
    overflow: hidden;
}

.shop-photo-list {
    margin: 1em 0;
}

.shop-photo-list .shop-photo {
    margin-bottom: 15px;
}

.banner {
    margin-bottom: 10px;
}

.banner img {
    border: 1px solid #ccc;
}

#header-carousel {
    z-index: 1;
    width: 100%;
}

.slider-for,
.slider-nav {
    margin: 0px;
}

.slick-slider {
    margin: 0px auto !important;
}

.carousel-thumbs {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    z-index: 100;
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0px;
}

.carousel-thumbs img {
    width: 120px;
    height: 60px;
    margin: 10px 5px;
}

.navbar-nav li:hover {
    background-color: rgba(128, 0, 0, 0.8);
}

.home-footer {
    box-shadow: 0 0 30px rgba(62, 25, 0, 0.2);
    margin-top: 15px;
    padding: 15px 0;
}

.page-head {
    margin: 20px 0px;
}

a.instagram-item {
    display: block;
    background-size: cover;
    background-position: center;
}

iframe.twitter-timeline-rendered {
    min-height: 220px !important;
}

.shop-overview {
    text-align: center;
    margin: 15px auto;
}

.shop-overview .overview-logo {
    margin-bottom: 15px;
}

.shop-overview .overview-logo img {
    max-width: 240px;
    height: auto;
}

.shop-overview h4 {
    font-size: 18px;
    font-weight: 600;
}

.shop-overview .overview-body {

}

/* CAST */

.cast-box {
    margin-bottom: 30px;
    position: relative;
}

.cast-name {
    height: 40px;
    width: 100%;
    line-height: 40px;
    text-align: center;
    bottom: 0;
    background-color: #301e0a;
    color: #EEE;
}

.cast-name a {
    color: #FFF;
}

.profile th,
.profile td {
    padding: 5px;
}

.profile-name {
    font-size: 24px;
    margin: 1em 0;
}

.profile-container {
    margin-bottom: 15px;
}

.profile-container h4 {
    text-align: center;
    background-color: #422e12;
    color: #fff;
    margin: 0 0 15px 0;
    padding: 5px;
}

.other-casts {
    background-color: #422e12;
    overflow: hidden;
    padding: 10px 30px;
    margin: 15px 0;
}

.gallery-cell {
    background-position: center;
    background-size: cover;
}

/* SYSTEM */

.system-heading {
    text-align: center;
    margin: 15px auto;
    background-color: rgba(152, 134, 100, 0.3);
    padding: 5px 0;
}

.system-heading > img {
    max-width: 100%;
    height: auto;
}

.system-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 5px;

}

.system-table-head {
    background-color: #837056;
    color: #fff;
}

.system-xs-head {
    background-color: #837056;
    color: #fff;
    text-align: center;
    margin: 0 5px 0 5px;
    padding: 5px;
    font-weight: bold;
}

.system-table th,
.system-table td {
    padding: 10px;
    vertical-align: middle;
    text-align: center;
}

.free-drink {
    color: #5b0b23;
}

.photo-container {
    background-image: url('../images/cast/photo-bg.png');
    background-size: cover;
    padding: 15px;
}

.photo-inner {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 20px;
}

.photo-more {
    display: block;
    background-color: #ea487d;
    color: #fff;
    font-weight: bold;
    padding: 10px;
    margin-top: 10px;
    text-align: center;
}

/* Blog */
.blog-container {
    padding: 15px;
}

.blog-right {
    vertical-align: top;
    text-align: center;
    padding: 10px;
}

.blog-author {
    text-align: center;
    margin-bottom: 10px;
    font-size: 18px;
}

.blog-headline {
    padding: 10px;
}

.blog-publish-date {
    font-size: 12px;
    color: #846e3e;
}

.blog-post-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

/* Recruit */

.recruit-panel {
    border: 1px solid #beaa9a;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    background-color: rgba(255, 255, 255, 0.5);
}

.recruit-row {
    border-bottom: 1px solid #e02160;
}

.recruit-head,
.recruit-data {
    padding: 15px;
}

.recruit-head {
    font-weight: bold;
    color: #e02160;
    text-align: center;
}

.recruit-panel-body {
    overflow: hidden;
}

.content{
    margin: 0 auto;
}

.tainyu img{
    max-width: 320px;
}

.modal{
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
    width: 100%;
}
.modal__bg{
    background: rgba(0,0,0,0.8);
    height: 100vh;
    position: absolute;
    width: 100%;
}
.modal__content{
    background: #fff;
    left: 50%;
    padding: 40px;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 80%;
}

/* PROFILE */

.profile-blog {
    margin-bottom: 15px;
}

a.profile-blog-more {
    border: 1px solid #837056;
    padding: 5px;
    text-align: center;
    margin-top: 15px;
    display: block;
    color: #837056;
    border-radius: 5px;
}

.main-profile-frame {
    border: 1px solid #DDD;
    padding: 15px;
    background-color: #FFF;
}

#main-profile-img {
    max-width: 600px;
    max-height: 800px;
    width: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* ACCESS */
.access-map {
    height: 480px;
    margin: 30px 15px;
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.1);
}

.access-info {
    text-align: center;
    background-color: #cdc7b7;
    padding: 15px;
    margin: 15px 0;
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.1);
}

/* LINK */

.link-item {
    font-size: 12px;
    color: #444;
    margin-bottom: 15px;
}

.link-group {
    margin-bottom: 30px;
}

.link-group-head {
    background-color: #837056;
    color: #fff;
    text-align: center;
    padding: 5px;
    font-size: 18px;
}

/* Media Query */

/* Home */

@media (max-width: 991px) {
    .information {
        height: 180px;
    }
}

@media (min-width: 768px) {
    .shop-overview {
        display: flex;
    }

    .shop-overview .overview-logo {
        margin-right: 30px;
    }

    .shop-overview .overview-body {
        text-align: left;
    }
}

/* Cast Profile */

@media (max-width: 767px) {
    #main-profile-img {
        height: 400px;
    }
}

@media (min-width: 768px) {
    #main-profile-img {
        height: 400px;
    }
}

@media (min-width: 992px) {
    #main-profile-img {
        height: 600px;
    }
}

@media (min-width: 1200px) {
    #main-profile-img {
        height: 600px;
    }
}