/* reset */
html, body {
    border: 0;
    margin: 0;
    padding: 0;
}

/* global */
* {
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif;
}

h1, h2 {
    color: #ec3201;
    font-variant: petite-caps;
    margin-top: 0;
}

div.center,
p.center {
    text-align: center;
}
.highlight {
    color: #ec3201;
}

.section {
    position: relative;
    overflow: visible;
}

.section .content {
    padding: 0 2em;
}

.section.swoopy {
    padding: 4em 0;
    overflow-x: hidden;
}

.swoop {
    width: 50%;
    transition-property: margin;
    transition-duration: 2s;
    transition-timing-function: cubic-bezier(0.3, 0, 0.3, 1);
}
.swoop.left {
    float: left;
}
.swoop.right {
    float: right;
}
.swoopy.in .swoop.left {
    margin-left: 0;
}
.swoopy.in .swoop.right {
    margin-right: 0;
}
.swoopy.out .swoop.left {
    margin-left: -50%
}
.swoopy.out .swoop.right {
    margin-right: -50%
}

.swoop > * {
    width: 75%;
    margin: 0 auto;
    display: block;
}

.section.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    min-height: 400px;
}

.parallax .content {
    background-color: rgba(255, 255, 255, 0.4);
}

.maple {
    color: #ec3201;
    font-size: 2.5em;
    font-family: 'CalligraphyFLF', 'Goudy Old Style', serif;
}

.a-n-t {
    white-space: nowrap;
    color: #808080;
}

/* global-end */
/* header */
@font-face {
    font-family: "CalligraphyFLF";
    src: url(fonts/CalligraphyFLF.woff) format("woff"), url(fonts/CalligraphyFLF.eot) format("embedded-opentype"), url(fonts/CalligraphyFLF.ttf) format("truetype"), url(fonts/CalligraphyFLF.svg) format("svg");
}

#header {
    color: #808080;
    overflow: auto;
    min-height: 200px;
    min-width: 1000px;
}

#header .h-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
}

#header .h-left img {
    width: 200px;
    height: 200px;
}

#header .h-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    padding-top: 2em;
}

#header .h-center {
    margin-left: 200px;
    margin-right: 150px;
}

#heading {
    width: 100%;
}

#heading {
    font-size: 3em;
}

#nav {
    width: 100%;
    text-align: center;
}

#nav ul {
    display: inline-block;
    margin: 0 auto;
    padding: 0;
    text-align: left;
}

#nav li {
    display: inline-block;
    border: 1px #808080;
    list-style-type: none;
    padding: 0 1em;
    font-variant: all-petite-caps;
    font-size: 1.2em;
}

#nav li a {
    text-decoration: none;
    color: #808080;
}

/* Main */
#main {
    font-size: 0; /* So the images will butt up nicely */
}

#main img {
    width: 100%;
    margin-right: -100%;
    display: none;
    position: relative;
    top: 0;
    left: 0;
    z-index: 0;
}

#main img.current {
    display: inline-block;
}

#main img.next {
    z-index: 1;
    display: inline-block;
    animation-name: slideHead;
    animation-duration: 3s;
    animation-timing-function: cubic-bezier(0.3, 0, 0.3, 1);
    /* http://cubic-bezier.com/#.3,0,.3,1 */
}

@keyframes slideHead {
    from {
        left: -100%
    }
    to {
        left: 0
    }
}

/* book keeping */
#book-keeping {
    background-image: url('../images/sections/book-keeping.jpg');
}

#book-keeping .content {
    position: absolute;
    width: 400px;
    top: 2em;
    right: 2em;
}

/* migration */
#migration {
    background-image: url('../images/sections/migration.jpg');
}

#migration .content {
    position: absolute;
    width: 400px;
    top: 2em;
    right: 2em;
}

/* contact-us */
#contact-us h2 {
    font-variant: normal;
}

#contact-us .f-left {
    position: absolute;
    left: 0;
    top: 0;
    width: 300px;
}

#contact-us .f-left div {
    text-align: center;
}

#contact-us .f-center {
    position: absolute;
    left: 400px;
    top: 0;
    width: 200px;
}

#contact-us .f-right {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    margin-left: 600px;
}

#contact-us .f-right .row div {
    margin-left: 1em;
    float: left;
}

#contact-logo {
    width: 200px;
    height: 200px;
}

#contact-us .f-center ul {
    margin: 0;
    padding: 0;
}

#contact-us .f-center li {
    border: 1px #808080;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#contact-us .f-center li a {
    text-decoration: none;
    color: #808080;
}
