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

html,
body {
  height: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

b,
strong {
  font-weight: bold;
}

img {
  color: transparent;
  font-size: 0;
  vertical-align: middle;
  -ms-interpolation-mode: bicubic;
}

ol,
ul {
  list-style: none;
}

li {
  display: list-item;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

th,
td,
caption {
  font-weight: normal;
  vertical-align: middle;
  text-align: left;
}

q {
  quotes: none;
}

q:before,
q:after {
  content: '';
  content: none;
}

sub,
sup,
small {
  font-size: 75%;
}

sub,
sup {
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

svg {
  overflow: hidden;
}

* { margin: 0; padding: 0; outline: 0; -webkit-appearance: none}

body, html { height: 100%; }
html { overflow-y:scroll;}
body {
    font-size: 12px;
    line-height: 18px;
    font-family: arial, sans-serif;
    color: #7a7777;
    background: url(images/body.png);
    min-width: 944px;
   
}

h2 { font-size: 0; line-height: 0; text-indent: -4000px; margin-left:auto; height:40px; margin-bottom:40px;   }
h3 { font-size:16px; line-height:26px; font-weight:normal; color:#696868; font-family: 'JosefinSlabBoldItalic'; padding:21px 0 30px;  }
h4 { font-family: 'JosefinSlabRegular'; font-size:14px; line-height:22px; color:#696868;  font-weight:normal;  }

a { color: #0252aa; text-decoration: none; cursor: pointer; }
a:hover { text-decoration: underline; }
a img { border: 0; }

input, textarea, select { font-size: 12px; font-family: arial, sans-serif; }
textarea { overflow: auto; }

.cl { display: block; height: 0; font-size: 0; line-height: 0; text-indent: -4000px; clear: both; }
.notext { font-size: 0; line-height: 0; text-indent: -4000px; }
.left, .alignleft { float: left; display: inline; }
.right, .alignright { float: right; display: inline; }

.shell { width:944px; margin:0 auto 0; position:relative;min-height:800px; z-index: 1; }

#main-nav { position:absolute; right:65px; top:84px; z-index: 3; width:30px;  }
#main-nav.behind { z-index: 1; }
#main-nav a { display:block; width:30px; height:100px; margin-bottom:5px; background-color:#ffebad; font-size: 0; line-height: 0; text-indent: -4000px; background-position:0 0;  background-repeat:no-repeat; }
#main-nav a { position:relative;  box-shadow:5px 0 13px rgba(0,0,0,0.1), 5px 0 5px rgba(0,0,0,0.1) inset;   }
#main-nav a.link1 { display:none;  }
#main-nav a.link2 { background-image:url(images/link2.png);  }
#main-nav a.link3 { background-image:url(images/link3.png);  }
#main-nav a.link4 { background-image:url(images/link4.png);  }
#main-nav a.link5 { background-image:url(images/link5.png);  }
#main-nav a.link6 { background-image:url(images/link6.png);  }
#main-nav a:hover,
#main-nav a.on { left:-4px; background-color:#ffe07f;  box-shadow:5px 0 13px rgba(0,0,0,0.1); }

#main-nav.behind a:hover,
#main-nav.behind a.on { left:4px;  }

#page-footer { position:absolute; top:660px; width:100%;  z-index: 3;  }
#page-footer a.flogo { display:block; margin-left:auto; font-size: 0; line-height: 0; text-indent: -4000px; width:183px; height:8px; background:url(images/flogo.png);margin-right:80px;    }


#book { width:1660px; height:630px;  z-index: 2; background:url(images/home2.png) no-repeat right 0 ; top:26px; right:83px; position:absolute;  }
#pages {  z-index: 3; width:1660px; height:630px; position:relative;  }
#pages .page { position:absolute;  background: url(images/page.png) repeat-y 0 0; z-index: 1; }
#pages .page.high-z { z-index: 100 !important; }
#pages .leftpage { background:url(images/leftpage.png);  }
#pages .secondpage { background:url(images/second-page.png);  }

#page-left { position:absolute; width:830px; height:630px; background:url(images/second-page.png); left:0; top:0; z-index: 2; display:none;  }
.turn-edges.hidden { display:none!important;  }
#spiral { position:absolute; right:830px;  height:100%; background:url(images/page1.png); width:29px; top:0;z-index: 1;    }

#pages #home { background:url(images/home2.png) no-repeat 0 0;  }
#home .center-box { background:url(images/home-center.png);width:365px; height:316px; padding-top:54px;  margin:125px auto 0;  position:relative;  }
#home .white-box {  background-color:#fff; width:244px; height:264px; margin:0 auto 0; padding:8px;  box-shadow:0 0 9px rgba(0,0,0,0.1); position:relative; z-index: 1;  }
#home .white-box header,
#home .white-box section,
#home .white-box footer { border:1px solid #5c5c5c; box-shadow:0 -1px 1px #7f7f7f inset; font-size:17px; line-height:22px;  color:#5f5e5e; text-align:center;  }
#home .white-box section { padding:1px 0;  }
#home .white-box footer { padding:20px 0 21px;  }
#home .white-box header { padding:15px 0 17px;  }
#home .white-box p { font-family: 'JosefinSlabRegular'; }
#home .white-box p em { font-family: 'JosefinSlabItalic'; font-style:normal; }
#home .white-box footer p { font-size:14px;  }
#home .white-box footer p a { color:#5f5e5e; }
#home .ducktape { background:url(images/ducktape-1.png); width:90px; height:38px;  position:absolute; z-index: 2;  top:36px; left:134px;  }

h1#logo { display:block; width:190px; margin:0 auto; }
h1#logo a { display:block; height:95px; background:url(images/logo.png); }

.page .wrapper { background:url(images/house.png) no-repeat 42px center; width:720px; height:582px;  padding:48px 0 0 51px; }
.page .wrapper.nobg { background: transparent;  }
.page .content  { background:url(images/content.jpg); margin:0 auto; width:538px; height:360px; padding:10px 8px 9px; position:relative; box-shadow: 0 0 5px rgba(0,0,0,0.2); }
.page .cnt-edge { background:url(images/content-edge.png); width:33px; height:30px; position:absolute; z-index: 10; }
.page .cnt-edge.tl { background-position:0 0; left:-5px; top:-5px; }
.page .cnt-edge.tr { background-position:right 0; right:-5px; top:-5px; }
.page .cnt-edge.br { background-position:right bottom; right:-5px; bottom:-5px; }
.page .cnt-edge.bl { background-position:0 bottom; left:-5px; bottom:-5px; }
.page .wrapper footer { background-color:#fff; width:285px; height:64px; position:absolute; bottom:26px; right:30px; padding:4px; box-shadow:-1px 1px 2px rgba(0,0,0,0.3)  }
.page .wrapper footer .footer-i { border:2px solid #b2b2b2;  height:60px;  }
.page .wrapper footer .left { width:143px; border-right:2px solid #b2b2b2; font-size:14px; color:#5f5e5e; font-family: 'JosefinSlabRegular'; text-align:center; }
.page .wrapper footer .left a { color:#5f5e5e; }
.page .wrapper footer .top { height:29px; line-height:29px; border-bottom:2px solid #b2b2b2;  }
.page .wrapper footer .bottom  { height:29px; line-height:29px;  }

.page .small-content { float:left; width:420px; height:276px; margin:37px 0 0; padding:6px 9px;  background:url(images/content2.jpg); }
.page .small-content .cnt-edge { width:47px; height:47px; background-image:url(images/ducktape-2.png); }
.page .small-content .cnt-edge.tl { top:-15px; left:-15px;   }
.page .small-content .cnt-edge.tr { top:-15px; right:-15px;  }
.page .small-content .cnt-edge.br { bottom:-15px; right:-15px;   }
.page .small-content .cnt-edge.bl { bottom:-15px; left:-15px;  }

.page aside { width:195px; padding:0 15px; min-height:370px; position:relative; background-color:#eff5f9;  box-shadow: 0 0 5px rgba(0,0,0,0.2);  text-align:center; float:right;  }
.page aside h3 { padding-top:14px;  }
.page aside.type2 h3 { padding-bottom:0;  }
.page aside.type2 h4 { padding-bottom:10px;  }

article { z-index: 2;  position:relative; background-color:#eff5f9; height:100%; box-shadow: 0 0 5px rgba(0,0,0,0.2);  text-align:center; }
article p+p { padding-top:18px;  }
article img.pic-br { position:absolute; bottom:-10px; right:-39px; }

#about h2 { background:url(images/h2-about.png); width:168px;  margin-right:48px;  }
#about .text { float:left; width:325px; padding:0 20px;}

#partners h2 { width:186px; background:url(images/h2-partners.png) no-repeat center center; margin:0 18px 42px auto; margin-right:20px;  }
#partners .text { padding:0 30px; }
#partners .text h3 { padding:27px 0 0; }
#partners .text h4 { padding-bottom:7px; }

#references h2 { width:190px; background:url(images/h2-references.png) no-repeat center center; margin:0 18px 42px auto; margin-right:20px;  }
#references .text { padding:0 30px; }
#references .text h3 { padding:27px 0 0; }
#references .text h4 { padding-bottom:7px; }

#services h2 { background:url(images/h2-services.png); width:177px; margin-right:20px; }
#services .text { padding:0 35px;  }
#services .text h3 { padding: 12px 0 34px; }

ul.services-menu { padding-top:5px; }
ul.services-menu li { padding-bottom:24px; line-height:24px;  }
ul.services-menu li a { color:#7a7777;  }

#gallery h2 { width:146px; height:47px; background:url(images/h2-gallery.png); margin:0 38px 0 auto; }
#gallery .tab { display:none;  }

#gallery-main nav { padding-left:50px; position:relative; overflow:hidden; width:690px; margin-right:-20px; padding-top:13px;  }
#gallery-main nav a { float:left; width:158px; height:158px; padding:11px; background:url(images/gal-item.png) no-repeat center center; position:relative; margin:0 50px 35px 0;  }
#gallery-main nav a img { width:100%; height:100%; position:relative; z-index: 1; } 
#gallery-main nav a span { position:absolute; z-index: 5; } 
#gallery-main nav a span.title { bottom:-19px; left:0; width:100%; text-align:center; font-size:14px; line-height:18px; color:#696868; font-family: 'JosefinSansLight';} 
#gallery-main nav a span.ducktape { top:-5px;  width:61px; height:24px; left:57px; background-image:url(images/ducktape-3.png);  } 

#gallery-main nav a.type2  { -webkit-transform: rotate(2deg); -moz-transform: rotate(2deg); } 
#gallery-main nav a.type2 span.ducktape { background:url(images/ducktape-4.png); width:73px; height:17px;   } 

#gallery-main nav a.type3  { -webkit-transform: rotate(-2deg); -moz-transform: rotate(-2deg); } 
#gallery-main nav a.type3 span.ducktape { background:url(images/ducktape-5.png); width:52px; height:19px;   } 
#gallery-main nav a:hover span, 
#gallery-main nav a:hover { text-decoration:none; } 

.fader { position:relative; width:420px; height:276px;   }
.fader .fader-i { position:relative; width:100%; height:100%; overflow:hidden; }
.fader .fader-i .item { position:absolute; left:0; top:0; width:100%; height:100%; overflow:hidden; }
.fader .fader-i .item img { width:100%; height:100%; position:relative; z-index: 1; }
.fader .fader-i .item .caption { position:absolute; z-index: 2; left:0; right:0; bottom:0; padding:10px; background:url(images/caption.png); color:#760d05;  font-size:11px;  }
.fader .fader-nav { position:absolute; top:293px; left:104px; width:230px; }
.fader .fader-nav a { float:left; width:69px; height:23px; background:url(images/prev.png); line-height:20px; font-size:14px; color:#656565; font-family: 'JosefinSlabRegular';  text-align:center;  }
.fader .fader-nav a.next {float:right; background-image:url(images/next.png);   }
.fader .fader-nav a:hover {  text-decoration:none; position:relative; top:2px;  }

#preload { position:fixed; z-index: 2; width:100%; height:100%; left:0; top:0; background-color:#fffcee;  }
#preload div { top:50%;  height:5px; background-color:#b39b6f; left:0; width:100%; left:-100%; position:absolute;  }


/* Image wrap fix */
.text .textwrap {text-align: left; text-indent: 5px; width: 280px; margin-left: 20px; line-height: 200%; margin-top: -20px; text-indent: 0px; }
