/*

Kirby Starterkit

Author: Bastian Allgeier / Sascha Lack
URL:    http://getkirby.com
Email:  support@getkirby.com

*/




/* Reset
-------------------------------------------------- */
*, *:before, *:after {
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section, summary {
  display: block;
}


/* Pix
-------------------------------------------------- */
img,
video {
  display: block;
  max-width: 100%;
}


/* Links
-------------------------------------------------- */
a {
  color: #000;
  text-decoration: none;
  transition: color .3s, background .3s, border .3s;
}
a:hover {
  color: red;
}


/* Clearfix
-------------------------------------------------- */
.cf:after {
  content: "";
  display: table;
  clear: both;
}


/* Site
-------------------------------------------------- */
html {
  height: 101%;
  font-family: "futura-pt", sans-serif;
  font-style: normal;
  font-weight: 300;
  /*font-family: "Source Sans Pro", sans-serif;*/
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-size: 0.8em;
  line-height: 1.2em;
  /*padding: 1.5em;*/
  max-width: 80em;
}


/* Header
-------------------------------------------------- */
.header {

}

.logo {
  display: block;
  margin-bottom: 1.5em;
}

.logo img {
  width: 2em;
}


/* Navigation
-------------------------------------------------- */
nav {
  position: fixed;
  top: 4em;
  left: 4em;
}

.menu a {
  color: #333333;
  transition: color .3s, background .3s, border .3s;
  font-weight: 400;
}

.menu span {
  color: #333333;
}

.menu a:hover {
  color: black;
}
.menu .active {
  color: black;
}
.menu li {
  list-style: none;
}
.menu > li {
  position: relative;
}
.menu > li > a {
  /*padding: .35em 0;*/
  /*border-top: 1px solid #ddd;*/
}

.submenu {
  position: absolute;
  z-index: 1;
  display: none;
  left: 1em;
}
.submenu:before {
  position: absolute;
  z-index: -1;
  content: '';
  top: -.5em;
  left: 0;
  border-top: .5em solid transparent;
  border-bottom: .5em solid transparent;
  border-left: .5em solid #222;
}
.submenu li {
  border-bottom: 1px solid #444;
}
.submenu a {
  padding: .5em 1.5em;
  font-size: .9em;
  font-weight: 300;
  color: #fff;
  background: #222;
  white-space: nowrap;
}
.submenu a:hover {
  background: #333;
  color: #fff;
}

/*@media screen and (min-width: 40em) {
  body {
    padding: 3em;
  }
  .logo {
    float: left;
  }
  .menu {
    float: left;
    margin-right: -1em;
  }
  .menu > li {
    float: left;
  }
  .menu > li > a {
    padding: .35em 1em;
    border: 0;
  }
  .menu > li:hover .submenu {
    display: block;
  }
}*/


/* Headings
-------------------------------------------------- */
h1 {
  font-size: 1em;
  font-weight: 400;
  color: black;
}

h2 {
  font-size: 1em;
  font-weight: 300;
  color: black;
}

h1 a, h2 a, h3 a, h4 a {
  color: inherit;
  border: 0 !important;
}

p {
  font-weight: 400;
}



/* Main
-------------------------------------------------- */
main {
  position: relative;
  margin: 4em 4em 0em 15em;
  padding-bottom: 1.5em;
}

.main hr {
  margin: 3em 0;
  height: 2px;
  background: #ddd;
}
.main p,
.main figure,
.main ul,
.main ol {
  margin-bottom: .5em;
}
.main figcaption {
  margin-bottom: 3em;
}
.main a {
  /*border-bottom: 1px black dotted;*/
  /*text-decoration: underline;*/
}
.main a:hover {
  border-bottom: 1px black dotted;
  color: #000000;
}



/* ----------------------------------------------------------------- */
/* ----------------------------------------------------------------- */
/* ----------------------------------------------------------------- */
/* Lyn Winter Art -------------------------------------------------- */
/* ----------------------------------------------------------------- */
/* ----------------------------------------------------------------- */
/* ----------------------------------------------------------------- */

li {
  list-style: none;
  color: #333333;
}

.art-image {
  margin-bottom: 0.5rem;
  /*max-height: 700px;*/
}

/*Sizing of art images*/
.art-image img {
  width: 100%;
}

.art-image-photography.portrait {
  width: 60%;
}

.title {
  font-weight: 400;
}

.details {
  font-weight: 200;
  margin-bottom: 1.2rem;
}

/*kill margins of paragraphs auto-inserted by kirbytext in image captions*/
.no-para-margin p {
  margin-bottom: 0;
}

div.text {
  color: #333333;
  font-size: 0.7rem;
  max-width: 35rem;
  text-transform: uppercase;
  letter-spacing: 0.02rem;
}

div.text a {
  background-color: #EEEEEE;
}

div.arrow {
  position: fixed;
  bottom: 30px;
  right: 30px;
}

ul.artworks-list figure{
  height: 730px;
  background-color: red;
}

ul.artworks-list img {
  height: 100%;
  background-color: red;
}



@media only screen and (max-width: 40em) {
/*@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {*/
  nav {
    position: static;
    text-align: center;
    margin-top: 4em;
    padding: 0 auto;
  }

  body {
    margin: 0 auto;
    text-align: center;
  }

  main {
    position: relative;
    margin: 4em 4em 4em 4em;
    padding: 0 auto;
    padding-bottom: 1.5em;
  }

  div.text {
    text-align: left;
    text-transform: uppercase;
  }

  .hide-for-small {
    visibility: hidden;
    display: none;
  }

  .image-gallery {
    text-align: center;
  }

  .art-image {
    margin-left: auto;
    margin-right: auto;
  }

}
