html{

    scroll-behavior: smooth;
}

body{
/* ZILT  colors */
 --logo: rgba(91, 111, 128, 1);
 --logo60: rgba(91, 111, 128, .6);
 --logo50: rgba(91, 111, 128, .5);
 --sidebar: rgba(255, 255, 255, 1);
 --body: rgba(244, 241, 236, 1);
font-family: nimbus-sans,sans-serif;
font-weight: 300;
font-style: normal;
color: var(--logo);
background-color: var(--body);
padding: 0;
margin: 0;
overflow-x: hidden;

}

*{box-sizing: border-box;}

h1, h2, h3, h4, a.sidenav, ul.tabs{font-family: 'TimesSansSerif', sans-serif; font-weight: normal; padding: 0; margin: 0; text-transform: uppercase; letter-spacing: 0.1em;}
h1{font-size: 1.125em; margin: 0; padding: 0; line-height: 1.5em; }
h2{font-size: 1.125em; margin-bottom: 32px;}


#sidebar{display: block; width: 100%; padding: 35px; padding-bottom: 194px; box-sizing: border-box; background: var(--sidebar);}
#sidebar #logo{width: 73px; height: auto; display: block; margin: 0 auto;}
#sidebar .content--bottom{display: none;}
#main #homeImage01{width: 100%; height: auto; display: block; margin-bottom: 80px; margin-top: -153px;}
#main{padding: 0 35px;  }

#main .main--content h1 span:first-child{display: block;}
#main .main--content h1{margin-bottom: 44px; width: 65%;}
#main .main--content p{width: 60%;}
#main p{font-size: 0.772em; line-height: 22px; letter-spacing: 0.065em;}
#main .main--content .main-content--bottom{position: relative;}

a.sidenav {
    font-size: 0.813em;
    color: var(--logo);
    text-decoration: none;
    
    justify-content: space-between;
    align-items: flex-start;
    position: absolute; top: 0; right: 0;
    width: 13px;
}

a.sidenav::after {
    content: "";
    width: 5px;
    height: 8px;
    position: absolute;
    left: 50%;
    bottom: 0;
    background: transparent url('../img/arrow.svg') no-repeat 0 0;
    background-size: cover;
    transform: translateX(-50%) rotate(90deg);
}

a.sidenav span.text {
    display: inline-block;
    transform: rotate(180deg);
    writing-mode: vertical-lr;
    position: relative;
    margin-bottom: 40px;
    width: 13px;
}



p{letter-spacing: 1px;}
p.light{color: var(--logo50);}
p a, p a:active, p a:visited, p a:link{color: var(--logo); text-decoration: none;}
p a:hover{text-decoration: underline;}

#footer{background: var(--sidebar); width: 100%; padding: 55px 35px 65px 35px; box-sizing: border-box; position: relative;}
#footer h3{font-size: 0.813em; margin-bottom: 22px; line-height: 1em;}
#footer p{margin: 0; padding: 0; margin-bottom: 0; font-size: 0.688em; letter-spacing: 0.06em; line-height: 100%;}
#footer p:last-child{margin-bottom: 0;     display: inline-block;
    transform: rotate(180deg);
    writing-mode: vertical-lr;
    position: absolute; right: 35px; top: 55px;
}
#footer p.light{font-size: 0.625em;}
#footer p:first-of-type{ line-height: 1.636em; margin-bottom: 27px;}

#section02{padding-top: 84px; padding-bottom: 63px}

ul.tabs{
    margin: 0px;
    padding: 0px;
    margin-bottom: 30px;
    margin-top: 30px;
    list-style: none;
    z-index: 800 !important;
    position: relative;
}
ul.tabs li{
    background: none;

    display: block;
    padding: .5rem 0;
    cursor: pointer;
    font-size: 0.875em;
    color: var(--logo60);
    /*margin-right: 2.688em;*/
}


ul.tabs li.current,  
ul.tabs li:hover{
    color: var(--logo);
}

.tab-content{
    display: none;  

}

.tab-content.current{
    display: inherit; 
}

/*.owl-carousel.mobile{display: block !important;}
.owl-carousel.mobile .item, .owl-carousel.mobile .item img{width: 100%;}
.owl-carousel.mobile .item{margin-bottom: 30px;}
.owl-carousel.mobile .item:last-child{margin-bottom: 0;}*/
.owl-carousel .owl-item img {height: auto; width: 100%;}
.owl-carousel .owl-item{width: 100%; max-width: 100%;}

/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
	
	
	
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    html {
        height: 100%;
    }
    
    body {
        height: 100%;   
        margin: 0px;
        display: flex;
        box-sizing: border-box;
        background: var(--sidebar);
        
    }

    .column {
        height: 100%;  /*allows both columns to span the full height of the browser window*/
        
        
    }

    #footer{display: none;}
    
    #sidebar {
        width: 200px;
        min-width: 200px;
        background: var(--sidebar);
        box-sizing: border-box;
        padding: 82px 35px 68px 35px;
        display: flex; 
        flex-direction: column; 
        align-content: space-between;
        flex-flow: row wrap;
        position: fixed;
        top: 0;
        bottom: 0;

    }

    

    #sidebar #logo{width: 96px; height: auto; display: block; margin: 0 auto; text-align: center;}
    #sidebar h3{font-size: 0.813em; margin-bottom: 26px; line-height: 1em;}
    #sidebar .content--top{width: 96px; margin: 0 auto;}
    #sidebar .content--bottom{display: block;}
    #sidebar p{margin: 0; padding: 0; margin-bottom: 24px; font-size: 0.688em; letter-spacing: 0.06em; line-height: 100%;}
    #sidebar p:last-child{margin-top: 68px; margin-bottom: 0; }
    #sidebar p:first-of-type{ line-height: 1.636em;}

    a.sidenav {
        font-size: 0.813em;
        color: var(--logo);
        text-decoration: none;
        height: 100%;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        position: relative;
    }
    
    a.sidenav::after {
        content: "";
        width: 5px;
        height: 8px;
        position: absolute;
        left: 50%;
        bottom: 0;
        background: transparent url('../img/arrow.svg') no-repeat 0 0;
        background-size: cover;
        transform: translateX(-50%) rotate(90deg);
    }
    
    a.sidenav span.text {
        display: inline-block;
        transform: rotate(180deg);
        writing-mode: vertical-lr;
        position: relative;
    }
    

    #main{box-sizing: border-box; width: calc(100vw - 200px); margin-left: 200px; background: var(--body); padding: 0;}

    #main .main--content{
        box-sizing: border-box; 
        padding: 85px 88px 68px 95px;
        display: flex; 
        flex-direction: column; 
        align-content: space-between;
        flex-flow: row wrap;
        height: 100%;
    }


    #main .projects--content{
        box-sizing: border-box;
        padding: 85px 88px 68px 95px;
        height: 100%;
        display: flex; 
        flex-direction: column; 
        align-content: space-between;
        flex-flow: row wrap;
        overflow-x: hidden;
        
    }

    #main .projects--content .row{ width: 100%;}
    
    #main .main--content h1 span{display: inline-block;}
    #main .main--content h1{margin-bottom: 44px; width: 85%;}
    #main #homeImage01{width: 100%; height: auto;  margin-top: 0; margin-bottom: 2em;}
   




    #main .main--content .row, #main .projects--content .row{
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    #main .projects--content .row{flex-wrap: wrap; max-width: 1007px;}

    #main .main--content .row .main--content--col, #main .projects--content .row .col{
    width: 461px;
    position: relative;   
    
    }
    #main .main--content p{width: 85%;}

    #main .projects--content .row .col:not(:first-child){flex: none; width: 100%;}

    #main .projects--content .row .col:nth-child(1){width: 100%;}
    
    #main .main--content .row .main--content--col.alignright{text-align: right; width: auto;}

    .main--content--top .main--content--col:first-child{display: none;}
    
    #main .main--content p:last-child{margin-bottom: 0; margin-top: 40px;}
    #main .projects--content p{margin-top: 0;}
    #main .section{height: 100%; background: var(--body)}
    #main #section02{padding: 0;}


    ul.tabs{
        margin: 0px;
        padding: 0px;
        margin-bottom: 4em;
        margin-top: 0;
        list-style: none;
        width: 100%; max-width: 600px;
        position: relative;
        width: 100%;
    }
    ul.tabs li{
        background: none;
 
        display: inline-block;
        cursor: pointer;
        font-size: 0.875em;
        color: var(--logo60);
        margin-right: 2.688em;
        padding: 0;
 
    }


    ul.tabs li.current,  
    ul.tabs li:hover{
        color: var(--logo);
    }

    .tab-content{
        display: none; 
        /*z-index: 999;*/
        position: relative; 
  
    }

    .tab-content.current{
        display: inherit; 
    }

    .owl-nav, 
    .owl-nav1, 
    .owl-nav2{
        width: 100%; max-width: 400px;
        top: -5.5em;
        position: absolute;
        left: 0;
        text-align: right;
        z-index: 999 !important;
        
        
    }

    .owl-nav .owl-prev, .owl-nav .owl-next, 
    .owl-nav1 .owl-prev, .owl-nav1 .owl-next, 
    .owl-nav2 .owl-prev, .owl-nav2 .owl-next
    {position: relative; width: 6px; height: 9px; padding: 16px !important;  box-sizing: border-box; display: inline-block; background: url(../img/arrow.svg) no-repeat center center; background-size: 6px 9px; margin-left: 15px; box-sizing: border-box;}
   
    .owl-nav .owl-prev, 
    .owl-nav1 .owl-prev, 
    .owl-nav2 .owl-prev
    {margin-left: 0; background: url(../img/arrow_prev.svg) no-repeat center center; background-size: 6px 9px;}
    
    .owl-nav .owl-prev span, .owl-nav .owl-next span,
    .owl-nav1 .owl-prev span, .owl-nav1 .owl-next span,
    .owl-nav2 .owl-prev span, .owl-nav2 .owl-next span
    {	        width: 100%;
        display: inline-block;
        text-indent: -9999px;
        overflow: hidden;
        font-size: 0;
        line-height: 1em;
        height: 100%;
        z-index: 999;
        position: absolute;
        top: 0px;
        left: 0px;
        cursor: pointer;
        box-sizing: border-box;
        padding: 16px !important;}

    .owl-carousel .item{ object-fit:contain; }
    .owl-carousel{position: relative;}

    .owl-carousel .owl-item img {height: 311px; width: auto !important;}

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    #main #homeImage01{width: 200px; height: auto; margin-top: 0; margin-bottom: 0;}
    .main--content--top .main--content--col:first-child{display: block;}
    #main .main--content p{width: 100%;}
    #main .main--content h1 span{display: block;}
    #main .main--content h1{margin-bottom: 44px; width: 65%;}
    #sidebar {
        width: 250px;
        min-width: 250px;
        padding: 82px 60px 68px 60px;
    }
    #main{box-sizing: border-box; width: calc(100vw - 250px); margin-left: 250px; background: var(--body); padding: 0;}

    .owl-nav .owl-prev, .owl-nav .owl-next, 
    .owl-nav1 .owl-prev, .owl-nav1 .owl-next, 
    .owl-nav2 .owl-prev, .owl-nav2 .owl-next
    {margin-left: 65px;}

    .owl-nav, 
    .owl-nav1, 
    .owl-nav2{
        width: 100%; max-width: 600px;
    }

}
/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 

    #main #homeImage01{width: 260px; height: auto;  margin-top: 0; margin-bottom: 2em;}
    #main .projects--content .row .col:not(:first-child){flex: 1; max-width: 461px;}

    .owl-nav, 
    .owl-nav1, 
    .owl-nav2{
        max-width: 1007px;  
        width: 100%
    }
}