/*------------------------------------------------
[Table of contents]
1. Global CSS        	
2. Menu CSS
3. Home Page (index.html) CSS
4. About Page CSS
5. Single Post (single.html) CSS
6. Work Page CSS      
7. Footer CSS
8. Responsive CSS
------------------------------------------------*/

/* Saira Condensed-100 */
@font-face {
    font-family: Saira;
    font-weight: 100;
    font-style: normal;
	font-display: block;  
    src: local(''), 
         url('fonts/SairaCondensed-Thin.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/SairaCondensed-Thin.woff') format('woff'), /* Modern Browsers */ 
         url('fonts/SairaCondensed-Thin.ttf') format('truetype'); /* Safari, Android, iOS */
}

/* Saira Condensed-200 */
@font-face {
    font-family: Saira;
    font-weight: 200;
    font-style: normal;
	font-display: block;  
    src: local(''), 
         url('fonts/SairaCondensed-ExtraLight.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/SairaCondensed-ExtraLight.woff') format('woff'), /* Modern Browsers */ 
         url('fonts/SairaCondensed-ExtraLight.ttf') format('truetype'); /* Safari, Android, iOS */
}

/* Saira Condensed-300 */
@font-face {
    font-family: Saira;
    font-weight: 300;
    font-style: normal;
	font-display: block;  
    src: local(''), 
         url('fonts/SairaCondensed-Light.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/SairaCondensed-Light.woff') format('woff'), /* Modern Browsers */ 
         url('fonts/SairaCondensed-Light.ttf') format('truetype'); /* Safari, Android, iOS */
}

/* Saira Condensed-400 */
@font-face {
    font-family: Saira;
    font-weight: 400;
    font-style: normal;
	font-display: block;  
    src: local(''), 
         url('fonts/SairaCondensed-Regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/SairaCondensed-Regular.woff') format('woff'), /* Modern Browsers */ 
         url('fonts/SairaCondensed-Regular.ttf') format('truetype'); /* Safari, Android, iOS */
}

/* Saira Condensed-500 */
@font-face {
    font-family: Saira;
    font-weight: 500;
    font-style: normal;
	font-display: block;  
    src: local(''), 
         url('fonts/SairaCondensed-Medium.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/SairaCondensed-Medium.woff') format('woff'), /* Modern Browsers */ 
         url('fonts/SairaCondensed-Medium.ttf') format('truetype'); /* Safari, Android, iOS */
}

/* Montserrat */
@font-face {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 400;
	font-display: block;  
    src: local(''), 
         url('fonts/Montserrat-Regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/Montserrat-Regular.woff') format('woff'), /* Modern Browsers */ 
         url('fonts/Montserrat-Regular.ttf') format('truetype'); /* Safari, Android, iOS */
}


/* ===================================
    1. Global CSS
====================================== */

body
{
    font-family: 'Saira', sans-serif;
    font-size: 18px; 	
    font-weight: 300;	
    letter-spacing: 0.6px;    
    color: rgb(85, 85, 85);
    background-color: #fff;
    overflow-x: hidden;
}

body a
{
    text-decoration: none;
    color: #000000;    
    transition: color 0.2s linear, background-color 0.2s linear, border-color 0.2s linear;
}

body a:hover
{
    color: #acacac;
}

body img
{
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
}

::-moz-selection 
{ 
    color: #ff7b89; 
}

::selection 
{ 
    color: #ff7b89;
}

.doc-loader 
{
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 99999;	
    background-color: #fff;
}

.site-content
{
    width: calc(100% - 10px);
    margin-top: 150px;
    margin-left: 40px; /*로고 왼쪽 마진*/
    padding-bottom: 50px;
    position: relative;
    transition: margin 0.3s 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.open .site-content 
{
    margin-left: 300px;
}

.done .site-content 
{
    transition-delay: 0s !important;
}

.content-left
{
    float: left;
    width: 30%;
    position: relative;
}

.content-left-holder
{
    position: fixed;    
}

.content-right
{
    float: right;
    width: 80%;   /* 포폴 가로 길이 */
    position: relative;
}

.welcome-content
{
    width: 200px;   
    padding-left: 40px;
    position: relative;
}

.welcome-image
{
    position: absolute;
    top: -120px;
    left: -30px;
    z-index: -1;
    max-width: none;
    max-height: none;
    transition: all 0s ease;
}

.site-logo
{
    padding: 0;
}

.site-logo img
{
    width: 150px;
    height: 238px;
    margin-bottom: 60px;    
}

.site-description
{
    font-size: 17px;
    font-weight: 200;
    line-height: 22px;
}

.site-description a
{
    font-size: 16px;
}


/* ===================================
    2. Menu CSS
====================================== */

nav {
	position: absolute;
    font-family: 'Montserrat', sans-serif, Arial;
    font-weight: 400;
    font-size: 16px;
    top: 100px;
    right: 80px;
    color: black;
    text-align: center;
	z-index: 1000;
}
nav ul li {
	list-style: none;
    float: left;
    margin-left: 45px;
}
nav ul li a:hover {
	color: darkcyan;
}

footer {
    display: block;
	color: rgb(190, 190, 190);
	line-height: 1.3;
	font-weight: 200;
	font-size: 13px;
    text-align: right;
	padding: 40px 100px 20px 0; /*수정해야함*/
}

#scrolltotop {
    display: none;
    position: fixed; 
    width: 35px;
    right: 30px; 
    bottom: 20px; 
    opacity: 0.2; 
    z-index: 999; 
    overflow-x: auto;
}
  
#scrolltotop:hover {
    opacity: 0.8;
}


/* ===================================
    3. Home Page (index.html) CSS
====================================== */

.carousel-cell 
{
    margin-right: 30px; /*메인이미지 사이간격*/
}

.carousel-cell .post-num 
{
    color: gray;
    padding-top: 15px;
    font-size: 15px;
}

.carousel-cell h3.entry-title
{
    font-size: 19px;
    margin-bottom: 3px;
    padding: 0;
    font-weight: 500;
}

.carousel-cell .cat-links 
{
    color: rgb(85, 85, 85);
}

.carousel-cell .cat-links:before 
{
    content: "";
    display: inline-block;
    width: 25px;
    height: 1px;
    background-color: #000;
    vertical-align: 5px;
    margin-right: 5px;
}

.flickity-prev-next-button.next
{
    background-image: url('images/arrow_right.png');
    background-size: 35px 20px;
    width: 35px;
    height: 20px;
    transition: transform 0.3s ease;
}

.flickity-prev-next-button.previous
{
    background-image: url('images/arrow_left.png');
    background-size: 35px 20px;
    width: 35px;
    height: 20px;
    transition: transform 0.3s ease;
}

.flickity-prev-next-button.next:hover 
{
    transform: translateX(7px);
}

.flickity-prev-next-button.previous:hover 
{
    transform: translateX(-7px);
}

.carousel-slider img
{    
    max-width: none; 
    max-height: 640px; /*메인 페이지 이미지 최대 높이*/
}

.carousel-slider video
{    
    max-width: none; 
    max-height: 640px; /*메인 페이지 이미지 최대 높이*/
}

.flickity-prev-next-button.next
{
    right: auto;
    left: -65px;
    z-index: 2;
    bottom: 120px;
    top: calc(100% - 100px);
}

.flickity-prev-next-button.previous
{
    right: auto;
    left: -120px;
    z-index: 2;
    bottom: 120px;
    top: calc(100% - 100px);
}

.flickity-prev-next-button
{
    background-color: transparent !important;
}

.flickity-prev-next-button:focus 
{
    outline: none;
    box-shadow: none;
}

.flickity-prev-next-button svg
{
    display: none !important;
}

/* ===================================
    4. About Page CSS
====================================== */

.header-page-content
{
    float: left;
    max-width: 400px;
    margin-right: 80px;
}

.header-page-content img
{
    display: block;
    max-width: 380px;
    padding-bottom: 90px; /*아래 공간 만들어서 왼쪽 오른쪽 떼었는데 다시 수정해야 함*/
}

.overlay
{
    position: absolute;
    opacity: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transition: 0s ease;
}

.header-page-content:hover .overlay
{
    opacity: 1;
}

.page h1.entry-title  
{    
    font-weight: 400;
    font-size: 40px; /*about 제목 크기*/
    line-height: 38px;
    padding: 0;
    letter-spacing: 0.5px;
}

.entry-content
{
    font-size: 18px;
    line-height: 24px;
    padding-top: 0;
}

.reference h2.entry-title  
{    
    font-weight: 400;
    font-size: 25px; /*about reference 크기*/
    padding: 0;
    letter-spacing: 0.5px;
}

.entry-content .reference
{
    font-size: 17px;
    line-height: 22px;
}


.about-position
{
    letter-spacing: 4px;
}

.about_content
{
    width: 15%;
    padding-right: 75px;
    color: rgb(110, 110, 110);
    margin-top: 0;
    float: left;
    font-family: 'Roboto', sans-serif; 
    font-size: 13px;
    line-height: 21px;
}

.about_content_title
{
    font-size: 15px;
    line-height: 22px;
    color: rgb(95, 95, 95);
}


/* ===================================
    5. Single Post (single.html) CSS
====================================== */

.single .entry-holder 
{
    float: left;
    width: calc(80% - 100px); 
}

.single-post h1.work-title
{
    margin-bottom: 30px;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    font-size: 40px;
    line-height: 38px;
    padding-top: 0;
}

.post-info
{
    float: left;
    width: 185px;
    font-size: 17px;
    padding-right: 80px;
}

.single-post .item-info
{
    line-height: 24px;
}

.single-post .item-info-text
{
    padding-bottom: 25px;
}

.single-nav img
{
    width: 25%;
    float: left;
    padding-top: 5px;
    padding-bottom: 35px;
    margin-bottom: 30px;
    padding-right: 30%;
}

.single-nav .nav-next img
{
    padding-right: 0;
}

.work-content
{
    color: rgb(124, 124, 124);
    font-size: 19px;
    font-weight: 200;
    line-height: 25px;
    padding-top: 0;
}

.work-content img
{
    display: block;
    /*max-height: 80%;*/
    width: 100%;
    margin: auto;
}

.work-content .work-question
{
    color: rgb(95, 95, 95);
    font-size: 22px;
    font-weight: 500;
    padding: 10px 0;
}

.work-small-question
{
    font-size: 21px;
    font-weight: 500;
    padding: 10px 0;
}

.work-motto 
{
    font-size: 30px;
    color: rgb(163, 163, 163);
    font-weight: 300;
    letter-spacing: 0.1px;
    line-height: 50px;
    text-align: center;
}

.work-video
{
    display: flex;
    align-items: center;
    margin: -120px 0;
}

.work-video.first, .work-video.last
{
    margin: 0 0;
}

.work-video.middle
{
    margin: -170px 0;
}

.work-video.insta
{
    align-items: center;
    margin: 0 80px;
}

.work-video-content
{
    max-width: 800px;
}

.work-video-content.left
{
    padding: 0 100px 0 0;
}

.work-video-content.right
{
    text-align: right;
    padding: 0 0 0 100px;
}

.work-video-left
{
    float: left;
    padding: 0 0 0 50px;
}

.work-video-right
{
    float: right;
    padding: 0 50px 0 0;
}


/* ===================================
    6. Work Page CSS
====================================== */

.category-filter 
{
    position: absolute;
    left: 5%;
    top: 0;
    z-index: 5;
    width: 25px;
    height: 15px;
    cursor: pointer;
}

.category-filter-icon 
{
    width: 20px;
    height: 3px;
    background-color: #000;
    float: left;
    transition: width 0.2s ease;
}

.category-filter:hover .category-filter-icon
{
    width: 24px;
}

.category-filter-icon:after 
{
    content: "";
    display: block;
    width: 10px;
    height: 3px;
    background-color: #000;
    transform: translate(-5px,8px);
    transition: transform 0.3s ease;
}

.category-filter:hover .category-filter-icon:after
{
    transform: translate(4px,8px);
}

.category-filter-icon:before 
{
    content: "";
    display: block;
    width: 10px;
    height: 3px;
    background-color: #000;
    transform: translate(10px,11px);
    transition: transform 0.2s ease;
}

.category-filter:hover .category-filter-icon:before
{
    transform: translate(14px,11px);
}

.category-filter-list 
{
    background-color: #000;
    padding: 24px 20px;
    width: 80px;
    display: none;
    position: absolute;
    float: left;
    left: -20px;
    top: 30px;
    font-size: 14px;
    text-align: right;
    line-height: 22px;
    color: #fff;
    z-index: 99;
    cursor: pointer;
}

.category-filter-list .button.is-checked
{
    color: rgba(138, 80, 131, 0.8);
}

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition 
{
    -webkit-transition-duration: 0s;
    -moz-transition-duration: 0s;
    -ms-transition-duration: 0s;
    -o-transition-duration: 0s;
    transition-duration: 0s;
}

.work-wrapper 
{
    width: 92%;
    margin: 0;
    position: relative;
}

.grid 
{
    width: 92%;
    margin: 0;    
    top: -16px; /*작업 폴더 높이 올림*/
    left: 115px;
    position: relative;
    display: block;
    overflow: hidden;
}

.grid-item 
{
    float: left;
    font-size: 0;
    line-height: 0;
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    border: 15px solid white;
    overflow: hidden;
}

.grid-item img 
{
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    max-width: none;
    border-radius: 2px;
    transition: transform 0.2s ease-in-out;
}

.grid-item a:first-of-type:hover img
{
    transform: translateY(20px);
}

.grid-sizer, .grid-item 
{    
    width: 33.333%;
    width: calc(100%/3);
}

.grid-item.p_two_third
{ 
    width: 66.666%;
    width: calc(100%/3*2);
}

.grid-item.p_one
{
    width: 100%;
}

.work-text-holder
{
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
    background-color: white;    
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.2s ease;
}

.grid-item a:first-of-type:hover .work-text-holder 
{
    transform: translateY(0);
}

.work-text
{
    font-size: 18px;
    line-height: 21px;
    font-weight: 600;
}
.grid-item a:hover
{
    color: #000;
}

.work-cat
{
    line-height: 25px;
    font-size: 15px;
    color: #000;
}

/* ===================================
    7. Footer CSS
====================================== */

.footer-info
{
    margin-top: 100px;
    padding-left: 50px;
    padding-right: 30px;
    color: #494949;
    font-size: 12px;
    line-height: 25px;
}

.footer-info a
{
    color: #494949;
}

.footer-text 
{
    margin-top: 10px;
}


/* ===================================
    8. Responsive CSS
====================================== */

@media screen and (max-width: 1440px) {
    nav {
        font-size: 15px;
        top: 35px;
        right: 50px;
    }
    #toggle
    {
        margin-top: 44px;
    }

    .site-content
    {
        margin-top: 100px;
    }

    .home .site-content
    {
        padding-bottom: 0;
    }

    .content-right
    {
        width:78%; /*포폴 가로 길이*/
    }  
    .carousel-cell img
    {
        max-height: 550px;
    }

    .carousel-cell video
    {
        max-height: 550px;
    }      
}

@media screen and (max-width: 1366px) {
    nav {
        font-size: 15px;
        top: 35px;
        right: 50px;
    }
    .carousel-cell img
    {
        max-height: 460px;
    }

    .carousel-cell video
    {
        max-height: 460px;
    }
}

@media screen and (max-width: 1024px)
{    
    .site-content
    {     
        padding-bottom: 50px;
        margin-left: 0;
        width: 100%;
    }

    .site-content
    {
        padding-bottom: 50px !important;
    }

    .content-left
    {
        float: none;
        text-align: center;
        width: 100%;
    }

    .content-left-holder
    {
        position: relative;
    }

    .content-right 
    {        
        width: 95%;
        float: none;
        margin: 0 auto;        
    }

    .content-right-holder
    {            
        margin: 0 auto;
        max-width: 100%;
    }

    .welcome-content
    {
        width: 100%;
        padding: 0;
    }

    .welcome-image
    {
        display: none;
    }

    .site-logo
    {
        display: inline-block;
    }

    .site-description
    {
        display: inline-block;
        vertical-align: top;
        padding-top: 40px;
        text-align: left;
        padding-left: 80px;
        max-width: 200px;
    }   

    .flickity-prev-next-button.next
    {
        right: 20px;
        left: auto;    
        top: -40px;
    }

    .flickity-prev-next-button.previous
    {
        right: 75px;
        left: auto;     
        top: -40px;
    }

    .progress_bar_field_holder
    {
        max-width: 100%;
    }
}

@media screen and (max-width: 640px)
{    

    body.done
    {
        overflow: hidden;
    }

    #toggle 
    {
        margin-top: 5px;
    }
/* 
    nav 
    {
        position: absolute;
        top: 380px; 
    }
    nav ul li 
    {
        list-style: none;
        float: left;
        margin-left: 20px;
        margin-right: 20px;
    }
*/

    nav 
    {
        list-style-type: none;
        text-align: center;
        margin: 0;
        padding: 0;
        top: 390px; 
    }

    nav li 
    {
        display: inline-block;
        padding: 0;
    }

    .site-content
    {
        margin-top: 45px;
    }

    .open .site-content
    {
        margin-left: 0;
    }

    .carousel-cell
    {
        margin-right: 15px;
        height: auto;
    }

    .carousel-cell h3.entry-title
    {
        font-size: 18px;
        font-weight: 400;
    }

    .carousel-cell p.cat-links
    {
        font-size: 16px;
    }

    .footer-info
    {
        padding-left: 0;
    }

    .menu-right-part
    {
        margin-left: -25px;
    }

    menu-right-part.open.done 
    {
        left: -25px;
    }

    .menu-left-part
    {
        width: 100%;
        left: -120%;
        left: calc(-100% - 100px);
    }

    .site-logo 
    {
        display: block;
    }

    .site-logo img
    {
        margin: 0 auto;
        width: 100px;
        height: auto;
    }

    .site-description
    {
        display: block;
        font-size: 16px;
        line-height: 20px;
        padding-bottom: 45px;
        padding-left: 0;
        text-align: center;
        margin: 0 auto;
    }

    .home .site-description
    {
        padding-bottom: 140px;
    }

    .carousel-cell img
    {
        max-height: 230px;
    }

    .carousel-cell video
    {
        max-height: 230px;
    }

    .one_half, .one_third, .two_third, .three_fourth
    {
        width: 100%;
        float: none;
        margin-right: 0;
        margin-left: 0;
        text-align: center;
    }

    .member-wrapper .text-right
    {
        text-align: center;
    }

    .services-wrapper 
    {
        float: none;
        width: 100%;
        text-align: center;
        display: block;
    }

    .services-content
    {
        float: none;
        display: block;
        width: 100%;
        text-align: center;
    }

    .services-line
    {
        margin-right: auto;    
        padding-bottom: 25px;
    }

    .category-filter-list 
    {
        line-height: 30px;
    }

    .grid-sizer, .grid-item, .grid-item.p_two_third
    {
        width: 50%;
    }

    .header-page-content
    {
        padding-bottom: 20px;
    }

    .single-post .post-info 
    {
        text-align: center;
        float: none;
        width: 100%;
        padding-right: 0;
        font-size: 16px;
        line-height: 21px;
    }

    .single-post .item-info {
        line-height: 23px;
    }

    .single-post .item-info-text
    {
        padding-bottom: 10px;
    }

    .single-nav 
    {
        display: flex;
        justify-content: center;
        padding-bottom: 0;
        padding-top: 70px;
        position: relative;
    }

    .single-nav img
    {
        width: 40px;
        margin-left: 70px;
        margin-right: 70px;
        padding-top: 0;
        padding-bottom: 10px;
    }

    .single .entry-holder 
    {
        text-align: center;
        float: none;
        width: 100%;
        margin-top: 30px;
    }

    .single .work-content
    {
        text-align: justify;
        font-size: 16px;
        line-height: 23px;
        letter-spacing: 0.4px;
    }

    footer {
        line-height: 1.3;
        font-size: 12px;
        text-align: center;
        padding: 50px 0 10px 0;
    }

    /*work*/
    .category-filter {
        display: none;
    }

    .work-wrapper {
        width: 100%;
    }

    .grid {
        width: 100%;
        margin: 0;
        top: 50px;
        left: 0;
    }

    .grid-item {
        border: 10px solid white;
    }

    /*about*/
    nav.about
    {
        list-style-type: none;
        text-align: center;
        margin: 0;
        padding: 0;
        top: 250px; 
    }

    .three_fourth.last 
    {
        margin-bottom: 60px;
    }

    .header-page-content 
    {
        padding-bottom: 0;
        margin-right: 0;
    }

    .header-page-content img
    {
        width: 80%;
        display: block;
        margin: 0 auto;
        padding-top: 90px;
        padding-bottom: 50px;
    }

    .header-page-content .overlay
    {
        display: none;
    }

    .page h1.entry-title {
        font-size: 30px;
        line-height: 20px;
    }

    .entry-content
    {
        font-size: 16px;
        line-height: 22px;
        font-weight: 300;
    }

    .reference h2.entry-title  
    {    
        font-weight: 400;
        font-size: 27px; /*about reference 크기*/
        padding: 0;
        letter-spacing: 0.5px;
    }

    .entry-content .reference
    {
        font-size: 16px;
        line-height: 22px;
    }

    .about_content_title 
    {
        font-size: 16px;
        line-height: 20px;
        font-weight: 300;
    }

    .about_content 
    {
        width: 48%;
        height: 330px;
        padding-right: 0;
        margin-top: 30px;
        font-size: 12px;
        color: rgb(90, 90, 90);
        line-height: 20px;
        text-align: center;
    }
}

@media screen and (max-width: 630px)
{    
    .grid-sizer, .grid-item, .grid-item.p_two_third
    {
        width: 100%;
    }
}