﻿/*
 * StyleName: shared.css
 * Version: 1.6
 *
 * Project: FC-Blog
 *
 * FoodConnection
 * http://foodconnection.jp/
 * http://foodconnection.vn/
 *
 */


/*=============================================
 * body
 *=============================================*/

 body {
    color: #000;
    background: url('../img/bg.jpg');
    /* background: #f3f1ed; */
    background-repeat: repeat;
    background-position: center;
}

.fnt-mincho {
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "メイリオ", Meiryo, "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.fnt-meiryo {
    font-family: "メイリオ", Meiryo, "ヒラギノ角ゴシックPro", "ＭＳ ゴシック", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}


/*=============================================
 * #header
 *=============================================*/

#header {
    background: url('../img/key.jpg') no-repeat center/ cover;
    height: 800px;
}

#header h1 {
    color: #fff;
    font-size: .85em;
    line-height: 1.6em;
    letter-spacing: .1em;
    text-align: center;
    /* text-shadow: 2px 2px 2px #000000; */
    /*background: #967f49;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);*/
    padding: 10px 0;
}

body.col-x2 #header .col1 {
    background-color: rgba(0, 0, 0, .25);
    /* background-image: url(); */
}

body.col-x2 #header .col2 {
    background-color: rgba(0, 0, 0, .3);
    /* background-image: url(); */
}

#header .logo {
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 0;
    /* background: rgba(0, 0, 0, 0.5); */
    padding: 20px;
    /* padding-bottom: 15px; */
    /* background: #ffffff7a; */
}

#header .logo img {
    height: auto;
    width: 100%;
}


/*=============================================
 * #navbar
 *=============================================*/

#navbar {
    /* background: url('../img/ft_bg.jpg'); */
    /* background: #fff; */
}

body.col-x2 #navbar menu:before {
    background: #967f49;
}

body.col-x2 #navbar menuitem {
    color: #FFF;
}

#navbar nav {
    box-sizing: border-box;
    padding-top: 10px;
    padding-bottom: 15px;
    color: #d0d0d0;
    /* background: url('../img/bg2.jpg'); */
    /* background: #f3f1ed; */
    border-bottom: 1px solid;
}

body.col-x2 #navbar ul {
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}

#navbar li {
    color: #000;
    display: inline-block;
    margin: 0 25px;
    vertical-align: middle;
    font-size: 18px;
    /* font-weight: 900; */
    /* text-shadow: 2px 0 #fff, 0 2px #fff, -2px 0 #fff, 0 -2px #fff; */
    /* padding-bottom: 10px; */
    /* border-right: 2px solid; */
}

#navbar li:last-of-type {
    border-right: 0;
}

#navbar a {
    display: block;
    padding: 7px 0 0;
    position: relative;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    font-weight: 600;
    /* font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif; */
}

#navbar a:hover:before {
    content: '';
    position: absolute;
    top: 0;
    width: 10px;
    background: #fff;
    height: 10px;
    border-radius: 50%;
    transform: translateX(-50%);
    left: 50%;
    opacity: 0;
    display: none;
}

#navbar a:hover:before {
    opacity: 1;
}

#navbar a:hover {
    border-bottom: 1px solid;
    /* background: #ffffff69; */
    /* border-radius: 10px; */
    /* color: #e20027; */
}

#navbar .sub {
    background: url('../img/nav-child.png');
    width: 200px;
    left: 50%;
    padding: 10px;
    transform: translateX(-50%);
}

#navbar a small {
    display: block;
    font-size: 12px;
    opacity: 0;
}


/*=============================================
 * #container
 *=============================================*/

#container {}

#container .title {
    color: #795548;
}


/*=============================================
 * #sidebar
 *=============================================*/

#sidebar section {
    background: #fff;
    box-shadow: 0 0 3px rgba(0, 0, 0, .3);
    -moz-box-shadow: 0 0 3px rgba(0, 0, 0, .3);
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, .3);
}

#sidebar h2 {
    color: #000;
    background: #fff;
    border-bottom: 1px solid;
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "メイリオ", Meiryo, "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

#sidebar h2:before {
    border-top-color: #000;
}

#sidebar li a {
    color: #5c5040;
}

#sidebar li a:hover {
    color: #5c5040;
}

#sidebar li a:before {
    background: #2d1c16;
}

#sidebar li a:hover:before {
    background: #2c0e00;
}

#sidebar .calendar th {
    color: #A77834;
}

#sidebar .calendar td {
    background: #FEFEFE;
    border-color: #AFAFAF;
}

#sidebar .calendar tr:nth-of-type(odd) td {
    background: #EFEFEF;
}

#sidebar .calendar .header {
    color: #2c0e00;
    background: #F2EBE3;
    border-color: #AFAFAF;
}

#sidebar .calendar a {
    color: #2c0e00;
}

#sidebar .calendar .having_posts {
    color: #A63435;
    background: #F6E1E1 !important;
}


/*=============================================
 * #main
 *=============================================*/

#main article {
    background: #fff;
}

#main h2 {
    color: #000;
    background: #fff;
    border-bottom: 1px solid;
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "メイリオ", Meiryo, "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

#container.tpl-post #main figcaption {
    display: none;
}

#main time {
    color: #7E7E7E;
}

#main .more a {
    color: #000;
    background: #fff;
    border-color: #000;
}

#main .more a:hover {
    opacity: 0.8;
    background: #5c5040;
    color: #fff;
    border-color: #5c5040;
}

#main .more a:before,
#main .more a:after {
    background: #000;
}

#main .more a:hover:before,
#main .more a:hover:after {
    background: #fff;
}

#main .pagination {
    color: #909090;
}

#main .pagination li {
    background: #F6F6F6;
    /* box-shadow: 0 -1px #FEFEFE, 0 1px 1px rgba(0, 0, 0, .3); */
    -moz-box-shadow: 0 -1px #fff, 0 1px 1px rgba(0, 0, 0, .3);
    /* -webkit-box-shadow: 0 -1px #fff, 0 1px 1px rgba(0, 0, 0, .3); */
}

#main .pagination li:hover {
    color: #FEFEFE;
    background: #242220;
    box-shadow: 0 -1px #242220, 0 1px 1px rgba(0, 0, 0, .3);
    -moz-box-shadow: 0 -1px #241f1b, 0 1px 1px rgba(0, 0, 0, .3);
    -webkit-box-shadow: 0 -1px #242220, 0 1px 1px rgba(0, 0, 0, .3);
}

#main .pagination .active,
#main .pagination .active:hover {
    color: #FEFEFE;
    background: #242220;
    box-shadow: 0 -1px #242220, 0 1px 1px rgba(0, 0, 0, .3);
    -moz-box-shadow: 0 -1px #bd550e, 0 1px 1px rgba(0, 0, 0, .3);
    -webkit-box-shadow: 0 -1px #242220, 0 1px 1px rgba(0, 0, 0, .3);
}

#main .pagination .first,
#main .pagination .last {
    color: #000;
    font-weight: 600;
}

#main .pagination .more-point-right:hover {
    color: inherit;
    background: #F6F6F6;
    box-shadow: 0 -1px #FEFEFE, 0 1px 1px rgba(0, 0, 0, .3);
    -moz-box-shadow: 0 -1px #FEFEFE, 0 1px 1px rgba(0, 0, 0, .3);
    -webkit-box-shadow: 0 -1px #FEFEFE, 0 1px 1px rgba(0, 0, 0, .3);
}

#navbar li a:hover small {
    /* color: #af0303; */
    /* border-bottom: 1px solid; */
    /* opacity: 0.4; */
}

#navbar .sub li {
    width: 100%;
    margin: 0;
    color: #d8c5b4;
    background: url('../img/bg_nav_fixed.jpg');
    margin-bottom: 1px;
    /* padding: 10px 0; */
}

#navbar .sub li:hover {
    background: #a8461a;
}

#navbar a .flex {
    display: flex;
}

#navbar a span.flex span {
    width: 100%;
    text-align: center;
}


/*=============================================
 * #footer
 *=============================================*/

#footer {
    color: #fff;
    background: url('../img/bg2.jpg') repeat center;
    /* background: #facd5c; */
}


/*=============================================
 * copyright
 *=============================================*/

address {}


/*=============================================
 * #calendar
 *=============================================*/

#calendar {
    display: none;
}


/*=============================================
 * RESPONSIVE
 *=============================================*/

@media screen and (max-width: 1024px) {
    #header {
        min-height: 400px;
    }
}

@media screen and (max-width: 960px) {
    #navbar li {
        min-width: initial;
        background: none!important;
    }
    #navbar .sub {
        width: 100%;
        transform: none;
        left: 0;
    }
}

@media screen and (max-width: 768px) {
    #header {
        width: 100%;
        height: auto;
        min-height: 300px;
    }
    #header h1 {
        position: static;
    }
    body.col-x2 #header section {
        min-height: 150px;
    }
    #header .logo {
        /* padding: 0; */
        width: 200px;
    }
    #header .logo img {
        /* width: 160px; */
        min-width: auto;
    }
    #navbar {
        background: none;
    }
    #navbar.active .toggle {
        right: 230px;
    }
    body.col-x2 #navbar menuitem {
        background: #757575;
    }
    #navbar nav {
        background: #FEFEFE;
        width: 230px;
        right: -230px;
        padding-top: 0;
    }
    body.col-x2 #navbar nav {
        width: 230px;
    }
    #navbar li {
        display: block;
        border-top: 1px solid #DFDFDF;
        border-bottom: 1px solid #DFDFDF;
        margin: 0;
        transform: none;
        left: 0;
    }
    #navbar a {
        background: none;
        box-shadow: none;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        color: #000;
        padding: 20px;
        font-size: 14px;
    }
    #navbar a span {
        font-size: 15px;
    }
    #navbar a:hover:after {
        display: none;
    }
    #navbar .sub {
        background: none;
    }
    #navbar .sub a:before {
        background: #606060;
    }
}

@media screen and (max-width: 640px) {
    #header {
        display: block;
        min-height: 90vh;
    }
    #header h1 {
        display: block;
    }
}

#navbar a span {
    width: 100%;
    display: block;
    font-size: 10px;
    color: #c4b9b1!important;
}