html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}


audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}


fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}


textarea {
  resize: vertical;
}



a { color: #6f1a32; }






body {
  background: #fff url(../img/bg.png) top repeat-x;
	overflow: hidden;
	overflow-y: scroll;
}
body#hp {  background: #fff url(../img/bg2.png) top repeat-x; }
@media screen and (max-width: 1200px) {
body { overflow-x: scroll;  }
}

.wrap {
  position: relative;
  width: 1200px;
  margin: 0 auto;
}
@media screen and (max-width: 1200px) {
  .wrap { width: 100%; padding: 10px; }
}

header { overflow: hidden; margin-top: 40px; }
@media screen and (max-width: 920px) {
  header img#logo { margin: 0 auto; display: block; }
  header menu { display: block; clear: both; margin: 10px auto; float: none; }
  header menu li { display: inline-block; text-align: center; margin: 10px 0 0 10px; }
  header menu ul li a img { margin: 0; }
}
@media screen and (max-width: 676px) {
header img#logo { width: 100%; height: auto; }
}
@media screen and (max-width: 480px) {
  header img#logo { width: 240px; height: auto; margin: 0 auto; }
}
@media screen and (max-width: 676px) {
  header menu li { display: block; width: 50%; margin: 0; float: left; }
  header menu ul li a img { display: block; margin: 0 auto 10px auto; }
}
@media screen and (max-width: 436px) {
  header menu li { display: block; width: 50%; margin: 0; float: left; }
  header menu ul li a img { width: 100%; height: auto; }
}


header h2 {
  width: 300px;
	margin: 180px auto 0;
	display: block;
	font-size: 30px;
	font-weight: normal;
}


menu {
  padding: 0; 
  margin: 0; 
  float: right;
}
menu ul { 
  list-style: none; 
  margin: 0 0 0 0;
  padding: 0 0 0 0;
}
menu ul a { text-decoration: none; overflow: hidden; }
menu ul a img {
  display: block;
  margin: 20px 0 10px;
}
menu ul a img:hover { opacity: .8; }

header a.triggers {
  font-size: 62px;
  color: #762539;
  cursor: pointer;
}




h1 { color: #6f1a32; margin: 30px 0 0 0; }
h3 { 
  font-size: 62px;
  color: #762539; 
  margin: 20px 0 10px 30px;
  font-weight: normal;
}
h5 { 
  font-size: 20px;
  color: #762539; 
  margin: 20px 0 10px 0px;
  font-weight: normal;
} 
.page {
  margin: 10px 0 10px 0px;
  overflow: visible;
  clear: both;
  position: relative;

}
/*
@media screen and (max-width: 900px) {
  .page { 
      margin: 10px 0 10px 300px;
    }
  }
@media screen and (max-width: 640px) {
.page { 
    width: auto;
    margin: 10px 20px 10px 20px;
  }
}
*/

#scroller { width: 100%; overflow: hidden; height: 400px; margin: 100px 0; position: relative; }
@media screen and (max-width: 540px) {
  #scroller { margin-top: 20px; }
}
@media screen and (max-width: 540px) {
  #scroller { height: 320px; margin: 0; }
}
.innerScrollArea {
  overflow: hidden;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}


#scroller ul { list-style: none; padding: 0; width: 120%; margin: 0; position: relative; }
#scroller ul li { padding: 0;
  margin: 0;
  list-style-type: none;
  position: absolute; }
@media screen and (max-width: 400px) {
  #scroller ul li img { width: 300px; height: auto; }
}




.maincol {
  margin-right: 270px;
  float: left;
}


@media screen and (max-width: 640px) {
  .maincol  { 
      margin: 10px;
    }
  }


.sidecol {
  width: 220px;
  position: absolute;
  top: 0;
  right: 0;
}

@media screen and (max-width: 640px) {
  .sidecol { 
      width: auto;
      margin: 10px 0;
      position: relative;
      clear: both;
    }
  }


.sidecol span {
  font-size: 20px;
	color: #762539;
	margin: 20px 0 10px 20px;
  font-weight: normal;
}
@media screen and (max-width: 640px) {
  .sidecol span {
    margin: 20px 0 10px 10px;
  }
}

#work div {  
  margin: 0px 0 0px 0px;
  clear: both;
  line-height: 0;
  -webkit-column-count: 3;
  -webkit-column-gap:   10px;
  -moz-column-count:    3;
  -moz-column-gap:      10px;
  column-count:         3;
  column-gap:           10px;  
}
#work div.smaller {  
  margin: 0px 0 0px 0px;
  clear: both;
  line-height: 0;
  -webkit-column-count: 3;
  -webkit-column-gap:   25px;
  -moz-column-count:    3;
  -moz-column-gap:      25px;
  column-count:         3;
  column-gap:           25px;  
}
/*
@media screen and (max-width: 900px) {
#work {
  margin: 10px 0 10px 300px;
  }
}
@media screen and (max-width: 640px) {
  #work {
    margin: 10px 0 20px 0px;
    }
  }
*/
#work img {  
  width: 100% !important;
  height: auto !important;
  margin: 10px 0 0 0;
}
/*
#work img {
  display: block;
  float: left;
  width: 30%;
  max-width: 400px;
  margin: 0 3% 3% 0;
  height: auto;
} */

/*
@media screen and (max-width: 1100px) {
 #work img {
   width: 44%;
 } 
}

@media screen and (max-width: 800px) {
  #work img {
    width: 94%;
  } 
 }
*/
 @media screen and (max-width: 640px) {
  #work div {
    -moz-column-count:    2;
    -webkit-column-count: 2;
    column-count:         2;
  } 
 }
#work h4 { text-transform: uppercase; font-size: 24px; margin: 40px 0 10px 0; display: block; clear: both;}

#work img#mainImg {
  width: 600px;
  height: auto;
  transform: rotate(-5deg);
  max-width: none;
  margin: 20px 0 40px 60px;
  border: 1px solid #000;
  box-shadow: 20px 20px 20px rgba(0,0,0,.3);
  cursor: pointer;
  /* transition: .3s; */
}

#portrait { display: block; float: right; width: 340px; height: auto; margin: 15px 0 10px 30px; }
@media screen and (max-width: 520px) {
  #portrait {
    float: none; margin: 15px auto 10px;
    }
}
@media screen and (max-width: 360px) {
  #portrait {
    width: 100%;
    }
}
.prevImg {
  height: 40px;
  width: 40px; 
  display: block;
  background: url(../img/previous.png) top center no-repeat;
  float: left;
  margin-top: -5px;
}

.nextImg {
  height: 40px;
  width: 40px; 
  display: block;
  background: url(../img/next.png) top center no-repeat;
  float: right;
  margin-top: -5px;
}
.prevImg:hover, 
.nextImg:hover {
  opacity: .7;
}


.slick-slide img { margin: 20px auto; }



span.copy { 
  display: block; 
  clear: both; 
  font-style: italic; 
  text-align: center;
  width: 100%;
  margin: 40px 0 0 0;
}
@media screen and (max-width: 360px) {
  span.copy { margin: 20px 0 0 0; }
}

* {
  box-sizing: border-box;
}

[class^="grid-"] {
  display: inline-block;
  vertical-align: top;
  margin-right: -4px;
}

.grid-4 {
  width: 50%;
}

.image-slider-wrap {
	position: absolute;
	width: 100%;
	margin: auto;
	z-index: 0;
	top: 0;
	right: 0;
	bottom: 0;
  left: 0;
  background: rgba(0,0,0,.7)
}

.image-slider {
	padding-bottom: 0;
	position: relative;
	overflow: hidden;
}
.image-slider .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 0;
  opacity: 0;
  filter: alpha(opacity=0);
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  z-index: -10;
  transition: all 0.2s ease-in-out 0.1s;
}
.image-slider .slide.current-slide {
  opacity: 1;
  filter: alpha(opacity=100);
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  z-index: 1;
  transition: all 0.2s ease-in-out 0.1s;
}
.image-slider .slide img {
  width: 400px;
  height: 400px;
  display: block;
  margin: 20px auto;
}
.image-slider .slide .info {
  position: absolute;
  bottom: -100%;
  width: 100%;
  padding: 13px 10px;
  text-align: center;
  transition: all 0.2s ease-in-out 0.1s;
}
.image-slider .slide .info.show {
  bottom: 0;
  transition: all 0.2s ease-in-out 0.1s;
}

.slider-nav {
	top: 0;
	padding: 6px 10px;
	overflow: hidden;
	clear: both;
	width: 100%;
	position: relative;
	position: absolute;
  margin-top: 200px;
  z-index: 40;
}
.slider-nav > a {
  text-decoration: none;
  position: relative;
  margin-top: 3px;
  height: 150px;
  padding: 100px 10px 100px 0;
}
.slider-nav > a i {
  padding: 0 5px;
}

.slider-nav #next {
	text-align: right;
	padding-right: 10px;
	right: 0;
  position: absolute;
  height: 100px;
  text-shadow: 1px 1px 1px #000;
  cursor: pointer;
  padding: 100px 10px 100px 0;
}
.slider-nav #previous {
	text-align: right;
	padding-right: 10px;
	right: 0;
  position: absolute;
  margin: -5px 10px 0 0;
  padding-left: 10px;
  overflow: visible;
  height: 100px;
  text-shadow: 1px 1px 1px #000;
  cursor: pointer;
}
.slider-nav #next:hover,
.slider-nav #prev:hover {
  opacity: .7;
}

.slider-nav span a {
  text-align: center;
  display: block;
}
.slider-nav span a.no-strap {
  color: #ccc;
}
.modal {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.1);
  transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}
.modal-content {
	background-color: #fff;
	border-radius: 0.5rem;
	width: auto;
	height: auto;
	max-width: 500px;
	max-height: 500px;
	min-height: 450px;
  margin: 100px auto;
  position: relative;
}
.close-button {
  position: absolute;
  font-size: 22px;
  top: 0;
  right: 0;
  width: 1.5rem;
  line-height: 1.5rem;
  text-align: center;
  cursor: pointer;
  border-radius: 0.25rem;
  background-color: #fff;
  z-index: 999;
}
.close-button:hover {
  
}
.show-modal {
  opacity: 1;
  visibility: visible;
  transform: scale(1.0);
  transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}
a.trigger { cursor: pointer; }

.portnav {
  list-style: none;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
}
.portnav li { display: inline; padding-right: 20px; }


.top { position: fixed; bottom: 10px; right: 10px; }

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
 
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}

