/* Removing outline on links for IE*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  border: 0;
}

/* ---------- */
/* TYPOGRAPHY */
/* ---------- */

/* first for IE 4–8 */
@font-face {
  font-family: ErnestineWebPro;
  src: url("ErnestineWebPro.eot");select
}
@font-face {
  font-family: ErnestineScWebPro-Bold;
  src: url("ErnestineScWebPro-Bold.eot");
}
@font-face {
  font-family: ErnestineScWebPro;
  src: url("ErnestineScWebPro.eot");
}
@font-face {
  font-family: ErnestineWebPro-Italic;
  src: url("ErnestineWebPro-Italic.eot");
}

/* then for WOcapable browsers */
@font-face {
  font-family: ErnestineWebPro;
  src: url("ErnestineWebPro.woff") format("woff");
}
@font-face {
  font-family: ErnestineScWebPro-Bold;
  src: url("ErnestineScWebPro-Bold.woff") format("woff");
}
@font-face {
  font-family: ErnestineScWebPro;
  src: url("ErnestineScWebPro.woff") format("woff");
}
@font-face {
  font-family: ErnestineWebPro-Italic;
  src: url("ErnestineWebPro-Italic.woff") format("woff");
}

/* go on with normal style definitions */
body { 
  font-family: ErnestineWebPro, serif;
  font-size: 18px;
  background-image: url(../images/bg.jpg);
  background-repeat: no-repeat;
  background-position: fixed;
  background-color: #fff;
  margin: 0 7% 20px 7%;
}

h2 {
  margin: 0 auto;
  font-family: ErnestineScWebPro, serif;
  font-size: 2em;
  letter-spacing: .05em;
  line-height: 1.2em;
  text-align: center;
  color: #caa659;
  padding-top: 25px;
}

h3 {
  margin: 0 auto;
  font-family: ErnestineWebPro-Italic, serif;
  font-size: 2.3em;
  line-height: 1.2em;
  text-align: center;
  color: #334759;
  max-width: 1200px;
}

h3 a{
  font-family: ErnestineWebPro, serif;
  color: #caa659;
  padding: 0 4px 0 4px;
  background-color: rgba(228, 230, 229, .5);
  text-decoration: none;
  border-bottom: 1px dotted #caa659;
}

h3 a:hover{
  background-color: rgba(211,91,90, .2);
  border-bottom: 1px solid #caa659;
  text-decoration: none;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  -ms-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

h4 {
  margin: 0 auto;
  font-family: ErnestineScWebPro, serif;
  font-size: 1em;
  line-height: 1.1em;
  letter-spacing: .03em;
  text-align: left;
  color: #000;
  padding-bottom: .2em;
  max-width: 1200px;
}

p {
  margin: 0 auto;
  text-align:left;
  max-width: 1200px;
  font-size: 1em;
  line-height: 1.2em;
  padding-bottom: 1em;
}

p a{
  color: #caa659;
  padding: 0 4px 0 4px;
  background-color: rgba(228, 230, 229, .5);
  text-decoration: none;
  border-bottom: 1px dotted #caa659;
}
p a:hover{
  background-color: rgba(252,233,192, .2);
  border-bottom: 1px solid #caa659;
  text-decoration: none;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  -ms-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

/* ------ */
/* HEADER */
/* ------ */

::selection {
  background: #334759;
  color: #fff;
  text-shadow: none; }

::-moz-selection {
  background: #334759;
  color: #fff;
  text-shadow: none; }

#logo {
  margin: 25px auto;
  background-image: url(../images/logo.png);
  background-repeat: no-repeat;
  width: 233px;
  height: 56px;
  display: block;
}

#logo :hover {
  opacity: .4;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.tagline {
  margin: 0 auto;
  margin-left: 20px;
  margin-right: 20px;
  padding: 0px 0px 10px 0px;
  font-family: ErnestineScWebPro-Bold, serif;
  font-size: 3em;
  letter-spacing: .05em;
  line-height: .9em;
  color: #334759;
  text-align: center;
  width: auto;
  text-shadow:1px 1px 0px #f2f2f2, 2px 2px 0px #d1d9db;*/
}

ul.nav{
  text-align:center;
  font-size: 1.3em;
  margin: 0 auto;
  line-height: 2.4em;
  list-style-type: none;
  padding-bottom: 15px;
  margin-left: -40px;
}

ul.nav li {
  display: inline;
}

ul.nav a{
  margin-left: 10px;
  margin-right: 10px;
  padding: 6px;
  color: #940522;
  background-color: rgb(234, 234, 234);
  text-decoration: none;
  border-bottom: 1px dotted #940522;
}
ul.nav a:hover{
  background-color: rgb(225, 193, 200);
  text-decoration: none;
  border-bottom: 1px solid #940522;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  -ms-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

ul.nav li.current a:link, ul.nav li.current a:visited {
  color:#fff;
  background-color: rgb(148,5,34);
}

/* ---- */
/* WORK */
/* ---- */

.hideflash{
}

ul.filter{
  font-size: 1em;
  text-align:center;
  list-style: none;
  margin: 0 auto;
  margin-left: -40px;
}
ul.filter li{
    display: inline;
}
ul.filter a{
  line-height: 2.4em;
  color: #caa659;
  padding: 4px;
  margin-left: 10px;
  margin-right: 10px;
  background-color: rgb(234, 234, 234);
  text-decoration: none;
  border-bottom: 1px dotted #caa659;
}
ul.filter a:hover{
  background-color: rgb(252,233,192);
  border-bottom: 1px solid #caa659;
  text-decoration: none;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  -ms-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}
ul.filter a.current{
  background-color: rgb(202,166,89);
  color: #fff;
  text-decoration: none;
}

ul#gallery-items {
  padding-top: 5px;
  margin: 0 auto;
  text-align: center;
  margin-left: -40px;
}

ul#gallery-items li{
  padding-top: 5px;
  display:inline-block;
  margin: 20px 20px;
  cursor: pointer;
}

#gallery-items span {
  width: 280px;
  height: 0px;
  background: rgba(51,71,89, 0.9);
  z-index: 100;
  position: absolute;
  background-image:url(../images/zoom.png);
  background-position:50% 50%;
  background-repeat:no-repeat;
  background-color:#f7de1c;
  opacity: 0;
  cursor: pointer;
}

#gallery-items :hover span {
  opacity: .9;
  height: 200px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.box {
}

