/* 	screen.css

 	Screen stylesheet for lisakereszi.com

	Created in December 2008
 	Last updated May 2012

This design created by this stylesheet and associated images
are (c) James Muspratt and Pamela Hovland, 2008-2009. Website images
and content are (c) Lisa Kereszi. No reproduction of site content
(text or images) is permitted without explicit permission of the
copyright holders.
------------------------------------------------------------*/
/* 	ZERO BROWSER DEFAULTS
------------------------------------*/
body * {
    margin: 0;
    padding: 0;
    border: none;
    text-indent: 0;
    text-decoration: none;
    line-height: 18px;
    font-weight: normal;
    font-size: 12px;
}

/* 	BASICS
------------------------------------*/
body {
    margin: 0;
    padding: 0;
    font-family: georgia, serif;
    font-size: 12px;
}

a {
    font-weight: normal;
    color: #000;
    outline: none;
}

a:hover {
    color: #2e2e2e;
}

acronym {
    padding-bottom: 1px;
    border-bottom: 1px dotted #2e2e2e;
}

.caps {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 10px;
}

.hide {
    display: none;
}

.clear {
    clear: both;
}

h2, h2 a {
    font-weight: bold;
}

.text h2 {
    margin-bottom: 18px;
}

.posted, .return, .return a, .credit, .credit a, #news-and-events #nav-sub li, #news-and-events #nav-sub li a {
    font-size: 10px;
}

.return {
    margin-top: 18px;
}

.posted {
    float: left;
}

#news-and-events #nav-sub {
    height: 18px;
}

/* 	BACKGROUND IMAGES
------------------------------------*/
body {
    background-color: #555;
    background-position: 0 0;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

/* 	NAV (Modified Suckerfish)
------------------------------------*/
#nav {
    max-width: 760px;
    list-style: none;
    height: 55px;
    float: left;
    align-items: center;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    width: 100%;
}

#nav * {
    font-size: 14px;
}

/* First-level lists */
#nav>li {
    position: relative;
    align-items: center;
    padding: 10px;
}

#nav li:last-child {
    padding-right: 0;
}

#nav li a.primary-link {
}

/* Dropdowns */
#nav ul.secondary-list {
    background: transparent url(75pc-white.png) no-repeat 0 20px;
    left: -9999px;
    padding: 40px 20px 20px 20px;
    position: absolute;
    top: 28px;
    min-width: 175px;
    list-style: none;
    z-index: 100;
    pointer-events: none;
}

#nav ul.secondary-list li {
    display: block;
    float: none;
    height: 18px;
}

#nav ul.secondary-list li a {
    display: block;
}

/* Don't know why I have to declare this again */
#nav ul.secondary-list li a:hover {
    color: #2e2e2e;
}

/* Show secondary lists (dropdowns) on hover over primary links */
#nav li:hover ul#n-projects-list, #nav li.sfhover ul#n-projects-list {
    left: 0;
    pointer-events: all;
}

#nav li:hover ul#n-commissions-list, #nav li.sfhover ul#n-commissions-list {
    left: 0;
    pointer-events: all;
}

/* On home page, no transparent bg under dropdowns, and realign them */
#home .secondary-list {
    padding-top: 20px;
    background: none;
}

#home li:hover #n-projects-list, #home li.sfhover #n-projects-list {
    left: 0;
}

#home li:hover #n-commissions-list, #home li.sfhover #n-commissions-list {
    left: 0;
}

/* 	Content
------------------------------------*/
#content {
    width: auto;
    float: left;
    padding: 85px 20px 20px 20px;
}

/* 	H1
------------------------------------*/
h1#home-name {
    margin-top: 300px;
    text-indent: -9999px;
    width: 760px;
    height: 350px;
    display: block;
    background: transparent url(lisa-kereszi.png) no-repeat -20px 0;
}

ul.thumbs {
    list-style: none;
    float: left;
    max-width: 1150px;
}

ul.thumbs li {
    width: 200px;
    height: 160px;
}

ul.thumbs li {
    float: left;
    margin: 0 20px 20px 0;
}

ul.thumbs li.title-card {
    padding: 20px;
    box-sizing: border-box;
    background: transparent url(50pc-white.png) repeat 0 0;
}

ul.thumbs li.title-card.wide {
    width: 420px;
}

ul.thumbs li.title-card a {
    border-bottom: 1px dotted black;
}

/* 	GALLERY
------------------------------------*/
#gallery-group {
    width: 700px;
}

ul#gallery {
    list-style: none;
    position: relative;
    min-height: 600px;
    float: left;
}

#image-nav {
    float: right;
    list-style: none;
    margin-top: -25px;
    height: 25px;
    width: 300px;
}

#image-nav li {
    float: right;
    text-align: right;
    height: 18px;
    margin: 0 0 7px 0;
    padding: 0 5px;
    color: #7f7f7f;
}

#image-nav li a {
    color: #000;
    display: block;
}

#image-nav li#n-prev {
    border-right: 1px dotted #000;
    border-left: 1px dotted #000;
}

#image-nav li#n-next {
    padding-right: 0;
}

span.caption {
    position: absolute;
    top: -25px;
    display: block;
    width: 400px;
}

/* 	TITLE AND SUB-NAV
------------------------------------*/
#title-sub-nav {
    width: 700px;
    /*	float:left;*/
    margin-top: -25px;
}

h2.image-title {
    float: left;
    height: 25px;
    width: 440px;
    font-weight: normal;
}

#nav-sub {
    float: right;
    list-style: none;
    height: 25px;
    width: 250px;
}

#nav-sub li {
    float: right;
    text-align: right;
    height: 18px;
    margin: 0 0 7px 0;
    padding: 0 5px;
    color: #7f7f7f;
}

#nav-sub li a {
    color: #000;
    display: block;
}

#nav-sub li#n-prev {
    border-right: 1px dotted #000;
    border-left: 1px dotted #000;
}

#nav-sub li#n-next {
    padding-right: 0;
}

.text #nav-sub li#n-prev {
    border-left: none;
}

.text #nav-sub li a {
    border-bottom: none;
}

/* MOBILE NAV TOGGLE */
#nav #nav-toggle {
    display: none;
    background: none;
    font-family: inherit;
    font-size: 16px;
    border: none;
    margin-bottom: 10px;
}

.dark #nav #nav-toggle {
    color: white;
}

#nav #nav-toggle:before {
    content: 'Menu'
}

#nav #nav-toggle:focus {
    font-style: italic;
    outline: none;
}

#nav.nav-open #nav-toggle:before {
    content: 'Close';
    font-style: italic;
}

/* 	TEXTS
------------------------------------*/
#content.texts {
    width: 860px;
    float: left;
}

#content.texts p {
    margin-bottom: 18px;
}

#content.texts a {
    padding-bottom: 1px;
    border-bottom: 1px dotted #2e2e2e;
}

/* 	TEXTS-LIST
------------------------------------*/
.texts-list {
    padding: 20px;
    float: left;
    width: 160px;
    min-height: 120px;
    background: transparent url(50pc-white.png) repeat 0 0;
}

.texts-list ul {
    list-style: none;
}

.texts-list ul li {
    margin-bottom: 6px;
}

body.landing .texts-list ul li:first-child a, .texts-list ul li.current a {
    font-weight: bold;
}

body#news-and-events .texts-list ul li:first-child a {
    font-weight: normal;
}

body#news-and-events .texts-list ul li.current a {
    font-weight: bold;
}

#publications.landing .texts-list ul li:first-child a {
    font-weight: normal;
}

/* 	POST-WRAP
------------------------------------*/
.post-wrap {
    float: right;
    width: 640px;
    margin-bottom: 20px;
}

.post-wrap img {
    float: right;
}

/* 	TEXT
------------------------------------*/
.text {
    float: left;
    width: 380px;
    padding: 20px 20px 0 20px;
    background: transparent url(50pc-white.png) repeat 0 0;
}

.text table {
    margin-bottom: 18px;
}

.text blockquote {
    padding: 0 20px;
}

.text p.highlight {
    padding: 2px;
    background: transparent url(75pc-white.png) repeat 0 0;
}

.text p strong {
    font-weight: bold;
}

.text h3 {
    font-size: 12px;
    /*	margin-bottom:18px;*/
}

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

/* 	ABOUT
------------------------------------*/
/*hang strong tags*/
#about .post-wrap ul {
    list-style: none;
    margin: 0px 0 0 60px;
}

#about .post-wrap li {
    margin: 0 0 8px 9px;
    padding: 0;
}

#about .post-wrap h2 {
    margin: 18px 0 0 0;
}

#about .post-wrap h3 {
    margin: 9px 0 0 70px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 10px;
}

#about .post-wrap h4 {
    float: left;
    margin: 0;
    width: 50px;
    clear: both;
}

/* 	NEWS + EVENTS
------------------------------------*/
#news-and-events-archive .post-wrap ul {
    list-style: none;
    padding-bottom: 20px;
}

#news-and-events-archive .post-wrap li {
    margin-top: 9px;
}

/*li.archive a {font-weight:bold;}*/
/* 	ALTERNATE COLORS
------------------------------------*/
.dark #nav ul.secondary-list {
    background-image: url(75pc-black.png) ;
}

#about .texts-list, #about .text, #contact .texts-list, #news-and-events .texts-list, #news-and-events .text {
    background-image: url(35pc-white.png) ;
}

.dark .texts-list, .dark .text, .dark ul.thumbs li.title-card {
    background-image: url(50pc-black.png) ;
}

.dark #nav ul.secondary-list li a, .dark h2.image-title, .dark, .dark a, .dark #nav-sub a, .dark #image-nav a {
    color: #fff;
}

.dark a:hover, .dark #nav ul.secondary-list li a:hover {
    color: #d4d4d4;
}

.dark #nav-sub li#n-prev, .dark #content.texts a, .dark acronym, .dark #image-nav li#n-prev, .dark ul.thumbs li.title-card a {
    border-color: #fff;
}

/* 	FOOTER
------------------------------------*/
p.footer {
    margin: 17px 0 0px 0;
    clear: both;
    font-size: 10px;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

#home p.footer {
    margin-top: 5px;
}

/*  	SOME RESPONSIVENESS AND MOBILE PATCHES 2019
------------------------------------*/
html {
    height: 100%;
}

body {
    height: 99%;
}

#home #top {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

h1#home-name {
    background-size: contain;
    background-position-y: bottom;
    max-width: 760px;
    width: 100%;
    margin-top: 0;
}

@media (max-width: 740px) {
    body * {
        font-size: 10px;
    }

    #nav {
        padding: 10px;
        flex-direction: column;
        align-items: flex-start;
        height: initial;
    }

    #nav #nav-toggle {
        display: block;
    }

    #nav>li {
        visibility: hidden;
        pointer-events: none;
        position: absolute;
        height: initial;
        margin-bottom: 5px;
        padding: 0;
    }

    #nav.nav-open>li {
        visibility: visible;
        pointer-events: all;
        position: relative;
    }

    #nav ul.secondary-list {
        padding: 30px 10px 10px 10px;
    }

    h1#home-name {
        background-position-x: -10px;
    }

    #content, #content.texts {
        width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        align-items: flex-start;
        padding: 60px 10px 10px 10px;
    }

    .post-wrap {
        float: none;
        margin-left: 10px;
        display: flex;
        flex: 4 0 20px;
        flex-flow: column-reverse nowrap;
    }

    #contact .post-wrap {
        margin: 0;
    }

    .post-wrap>img {
        margin-bottom: 10px;
    }

    .post-wrap>.text {
        padding: 10px 10px 0 10px;
        width: initial;
    }

    #image-nav {
        margin-bottom: 25px;
    }

    #gallery-group {
        width: 100%;
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
    }

    #image-nav li {
        text-align: left;
        float: left;
    }

    #image-nav li#n-next {
        padding-left: 0;
        padding-right: 5px;
    }

    #gallery-group>* {
        width: 100%;
        float: left;
        text-align: left;
    }

    ul#gallery {
        width: 100%;
        padding-top: 80%;
        min-height: 0;
    }

    ul#gallery li, ul#gallery li img {
        max-width: 100%;
    }

    ul.thumbs li {
        width: 33.33333%;
        margin: 0 0 10px 0;
        padding: 0 10px;
        box-sizing: border-box;
        height: initial;
    }

    ul.thumbs {
        margin: 0 -10px;
    }

    ul.thumbs li img {
        width: 100%;
        display: block;
    }

    ul.thumbs li.title-card, ul.thumbs li.title-card.wide {
        width: 100%;
        width: calc(100% - 20px);
        height: inherit;
        margin: 0 0 10px 10px;
        padding: 10px;
    }

    .texts-list {
        flex: 1 2 10px;
        float: none;
        padding: 10px;
    }

    #nav li:not(.list-open):hover ul#n-projects-list, #nav li.sfhover:not(.list-open) ul#n-projects-list {
        left: -9999px;
        pointer-events: none;
    }

    #nav li:not(.list-open):hover ul#n-commissions-list, #nav li.sfhover:not(.list-open) ul#n-commissions-list {
        left: -9999px;
        pointer-events: none;
    }

    #nav li.drop-down.list-open ul.secondary-list {
        position: relative;
        left: 0;
        top: 0;
        background: none;
        padding: 5px 10px;
        pointer-events: all;
        visibility: visible;
    }
}
