/*
Theme Name: Chic Lite Child
Template: chic-lite
*/

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

:root {
    --primary-font: 'Zen Old Mincho', sans-serif;
    --secondary-font: 'Nanum Myeongjo', serif;
    --primary-color: #c9c9c9;
}
body {
	background-color: #cdd4d7
}

h1 {
    font-size: 1.72em;
}
/*============================
COMMON CSS
============================*/
.archive .content-area .page-header {
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.content-area .page-header .page-title {
    font-size: 2.33em;
}
/*=============================
HEADER MAIN
=============================*/
.main-navigation ul li {
    font-size: 0.9222em;
}
/*=============================
SIDEBARS
=============================*/
.rightsidebar .content-area {
    width: calc(100%);
    padding-right: 0px;
    margin-top: 0
}
/*========================
SITE BANNER
========================*/
.site-banner .item {
	height: 300px; /* my add */
}
.site-banner .banner-caption {
    display: none
}
@media screen and (max-width: 767px) {
    .site-logo img {
        width: 90px !important;
    }
}
/*========================
BLOG POST LAYOUT ONE
========================*/
/* .post-layout-one .site-main {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    margin-left: -1.5%;
    margin-right: -1.5%;
}

.post-layout-one .site-main article {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(var(--primary-color-rgb), 0.2);
    width: 47%;
    margin-left: 1.5%;
    margin-right: 1.5%;
}

.full-width.post-layout-one .site-main article {
    width: 30.33%;
} */


/*
.post-layout-one .site-main article .entry-header {
    margin-bottom: 15px;
}
*/
figure.post-thumbnail { /* My add */
    text-align: center;
}
figure.post-thumbnail img { /* My add */
    max-width: 700px;
    max-width: 700px;
    width: 80%;
    height: auto;
}
.post-layout-one .site-main article:first-child .entry-title {
    font-size: 1.67em
}

.post-layout-one .site-main article figure.post-thumbnail {
    margin-bottom: 20px;
    height: 200px;
    overflow: hidden;
}

body[class*="post-layout-"] .site-main article figure.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-layout-one .site-main {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    margin-left: -1.5%;
    margin-right: -1.5%;

    margin-left: 0;
    margin-right: 0;
}
 
.post-layout-one .site-main article:first-child,
.full-width.post-layout-one .site-main article:first-child, 
.post-layout-one .site-main article {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 0px;
    width: 22%;
    margin-left: 1.5%;
    margin-right: 1.5%;
}
@media screen and (max-width: 767px) {
    .post-layout-one .site-main article figure.post-thumbnail {
        height: 140px;
    }
    .post-layout-one .site-main article:first-child .entry-title,
    body[class*="post-layout-"] .site-main article .entry-title {
        font-size: 1.3333em;
    }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .post-layout-one .site-main article figure.post-thumbnail {
        height: 160px;
    }
    .post-layout-one .site-main article:first-child .entry-title,
    body[class*="post-layout-"] .site-main article .entry-title {
        font-size: 1.3333em;
    }
}
/*==========================
AUTHOR SECTION
==========================*/
.author-section {
    padding: 30px 30px 0
}
.author-section .author-img {
    border-radius: 0;
}
.author-section .author-img img {
    border-radius: 0;
}
.author-section .author-name {
    font-family: var(--primary-font);
    margin-bottom: 0px;
    margin-top: 10px
}

/*===========================
MEMBER LIST
===========================*/
.members {
	display: flex;
	flex-wrap: wrap;
	column-gap: 5%;
}
.member-profile {
	width: 12%;
	margin-bottom: 30px;
    height: 100%
}
.member-profile p {
	margin: 0
}
.member-profile .nick-name {
	line-height: 1;
	color: #999;
    font-size: 0.7em;
}
.member-profile .description {
	font-size: 0.7888em;
	margin-top: 20px;
}
.member-profile a {
	color: var(--font-color);
}
.member-profile a:hover {
	text-decoration: none
}
.member-profile img {
	width: 100%;
    height: 100%;
    object-fit: cover;
}
@media screen and (max-width: 767px) {
    .member-profile {
        width: 30%;
    }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .members {
        column-gap: 5%;
    }
    .member-profile {
        width: 16%;
    }

}
/*===========================
RESPONSIVE STYLESHEET
===========================*/
    /*=========================
	SITE BANNER
	=========================*/
@media screen and (max-width: 1366px) {
    .rightsidebar .content-area,
    .leftsidebar .content-area {
        width: calc(100%);
    }
    /*=======================
	POST LAYOUT ONE
	=======================*/
    .post-layout-one .site-main article:first-child .entry-title {
        /*font-size: 1.67em;*/
    }
}
/* My add */
.content-area > .news {
    padding-top: 50px
}
.news ul {
	width: 80%;
	margin: 0 auto 30px;
    padding: 0
}
.news .news-date {
    background-color: #1c2c35;
    padding: 1px 15px;
	margin-right: 5px;
	color: #ededed
}
.news li {
    line-height: 30px;
	list-style-type: none;
	letter-spacing: 0.12em;
    padding-left: 0;
	padding-bottom: 30px;
    font-style: italic;
}
.news a {
	color: #121212;
	text-decoration: underline;
}
.news a:hover {
	color: var(--primary-color)
}

.gallery-block {
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
    justify-content: flex-start;
}
.gallery-thumbnail {
	width: 22%;
	margin: 1.5%;
	font-weight: bold;
	font-size: 5vh;
    position: relative;
}
.gallery-thumbnail figure {
	margin: 0;
	position: relative;
	overflow: hidden;
	padding-top: 100%;
}
.gallery-thumbnail img	{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	object-fit: cover;
	transition: 1s all;
}
.gallery-thumbnail img:hover {
	transform: scale(1.2) translate(-50%, -50%);
    transition: 1s all;
	transform-origin: left top;
}
.gallery-thumbnail .author {
    font-size: 16px;
    position: absolute;
    background-color: #386b87;
    bottom: 0;
    left: 0;
    z-index: 1;
    padding: 0 10px;
    color: #fff;
    opacity: 0.7;
}
@media screen and (max-width: 767px) {
    .content-area > .news {
        padding-top: 30px
    }
    .news li {
        line-height: 25px;
        padding-bottom: 20px;
        font-size: 14px;
    }
    .header-mid {
        padding: 20px 0;
    }
    .style-two .header-bottom {
        padding: 0;
    }
    h1 {
        font-size: 1.4em;
    }
    .site-banner .item {
        height: auto; /* my add */
    }
    .site-banner.style-eight .item img {/* my add */
        height: 230px;
        object-fit: cover;
    }
    .content-area,
    .widget-area {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .container {
        max-width: 100%;
        /*max-width: 420px;*/
    }
    .news ul {
        width: 90%;
        margin: 0 auto 30px;
    }
    .gallery-thumbnail {
        width: 45%;
        margin: 2.5%
    }
    .post-layout-one .site-main {
        display: flex;
        flex-direction: row;
    }
    .post-layout-one .site-main article:first-child,
    .full-width.post-layout-one .site-main article:first-child,
    .post-layout-one .site-main article {
        margin: 2%;
        width: 46%;
    }
}
.site-main article,
.news {
    font-family: var(--primary-font);
}
body[class*="post-layout-"] .site-main article .entry-title {
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho Pro", serif;
}
/* @media screen and (min-width: 768px) {
    .single.full-width-centered .site-main article:not(.has-article-meta) .content-wrap {
        flex-direction: column;
    }
} */

    /* @media screen and (min-width: 768px) and (max-width: 1024px) {
        .single.full-width-centered .site-content .content-area {
            max-width: 670px;
        }
    } */

    .owl-carousel .owl-item img {
        height: 100%;
        object-fit: cover;
    }
    /* .owl-carousel .owl-item {
        opacity: 0;
    } */
    /* .item{
        float: left;
        margin-right: 10px;
        padding: 10px;
        width: 60px;
        height: 60px;
        background: #EF5F5D;
        color: #fff;
        list-style: none;
        text-align: center;
        line-height: 60px;
        opacity: 0;    
      } */

      .owl-carousel .owl-item:nth-child(1) {
        -webkit-animation: delay-show 0.5s ease 0.5s 1 forwards;
        animation: delay-show 0.5s ease 0.5s 1 forwards;
      }
      .item:nth-child(2) {
        -webkit-animation: delay-show 0.5s ease 1s 1 forwards;
        animation: delay-show 0.5s ease 1s 1 forwards;
      }
      .item:nth-child(3) {
        -webkit-animation: delay-show 0.5s ease 1.5s 1 forwards;
        animation: delay-show 0.5s ease 1.5s 1 forwards;
      }
      @-webkit-keyframes delay-show {
        100% {
          opacity: 1;
        }
      }
      @keyframes delay-show {
        100% {
          opacity: 1;
        }
      }
    #member-post-wrap {
        display: flex;
        /* flex-wrap: wrap; */
        /* gap: 15px 1.3%; */
        gap: 4%;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        padding: 0 20px
    }
    #member-post-wrap article {
        width: 22%;
        margin: auto 0;
        padding: 0;
        position: relative;
        margin-bottom: 4%;
    }
    #member-post-wrap figure {
        margin: 0;
        /* padding: 0 */
        padding-top: 100%;
        overflow: hidden;
        position: relative;
    }
    #member-post-wrap article img {
        /* height: 200px; */
        object-fit: cover;
        height: 100%;
        width: 100%;

        width: 100%;
        height: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        object-fit: cover;
    }
    .history-link a {
        display:inline-block;
        width: 100%;
        text-align: center;
        border-radius: 5px;
        color: #fff;
        font-size: 1.4em;
        padding-bottom: 3px;
        box-shadow: 0px 3px 0px 0px #132228;
        /* background-color: #253b44; */
        background-color: #1c2c35
    }
    .history-link a:hover {
        opacity: 0.8
    }
    .history-link a:active {
        box-shadow: 0px 1px 0px 0px #9eb9cb;
    }
    @media screen and (max-width: 767px) {
        #member-post-wrap {
            display: flex;
            flex-wrap: wrap;
            gap: 3.5%;
        }
        #member-post-wrap article {
            width: 48%;
            margin: 0 auto 3.5%;
            padding: 0
        }
        #member-post-wrap figure {
            margin: 0;
            padding: 100% 0 0;
        }
        #member-post-wrap article img {
            height: 100%;
            width: 100%;
            object-fit: cover
        }
    }
    .single .top-bar {
        margin-bottom: 0
    }
    