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,
button, select,
input, input[type="reset"], input[type="button"], input[type="submit"], textarea {
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    outline: none;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    letter-spacing: inherit;
    word-spacing: inherit;
    color: inherit;
    vertical-align: baseline;
}

button, input[type="submit"] {
    cursor: pointer;
    background-color: inherit;
}

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

body {
    line-height: 1;
    word-wrap: break-word;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

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

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

@font-face {
    font-family: "roboto-condensed-light";
    src: url("/site/fonts/roboto-condensed-light.ttf") format("truetype"), url("/site/fonts/roboto-condensed-light.otf") format("opentype"), url("/site/fonts/roboto-condensed-light.woff") format("woff"), url("/site/fonts/roboto-condensed-light.eot") format("embedded-opentype"), url("/site/fonts/roboto-condensed-light.svg") format("svg");
}

html, body, .page, .noise {
    width: 100%;
    height: 100%;
} 

body {
    background-color: #54483e;
    background-image: url("/site/img/static/bg.jpg");
    background-repeat: repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    font-family: "roboto-condensed-light";
    font-size: 17px;
    line-height: 21px;
    letter-spacing: 1px;
    word-spacing: 1px;
    color: #fff4e8;
    text-shadow: 1px 1px 1px #000;
}

.hidden {
    display: none;
}

.hidden-logo {
    width: 1px;
    height: 1px;
    position:absolute;
    left:-9999px;
}

.header {
    background-color: rgba(47, 35, 20, 0.71);
    text-align: center;
}

.logo {
    display: block;
    height: 64px;
    background-repeat: no-repeat;
    width: 217px;
    margin: 5px 0;
    background-size: contain;
    background-image: url("/site/img/static/logo.png");
}

.page {
    position: relative;
    z-index: 2;
}

.padding-page {
    height: 10%;
}

.page-center {
    text-align: center;
    vertical-align: middle;
}

.content-table {
    width: 100%;
    table-layout: fixed;
}

.content-table td {

}

.page-padding-left, .page-padding-right {
    width: 50%;
}

.content-wrapper {
    text-align: left;
    width: 380px;
}

.content {
    display: inline-block;
    padding: 18px 11px 18px 7px;
    text-align: left;
}

.content-under {
    padding-top: 102px;
    padding-bottom: 10px;
}

.content-upper {
    padding-top: 6px;
    padding-bottom: 90px;
}

@media(max-width: 640px)
{
	.content-upper {
		padding-bottom: 110px;
	}
}

.title {
    padding-bottom: 12px;
    font-size: 19px;
    color: #f2c28c;
    line-height: 24px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px #000;
}

.title.big {
    font-size: 27px;
	padding-bottom: 37px;
	line-height: 31px;
	letter-spacing: 0;
}

.text {
    line-height: 21px;
}

.right {
    text-align: right;
}

.big {
    font-size: 19px;
}

/* Tiny Carousel */

#portfolio .viewport {
    overflow: hidden;
    position: relative;
    height: 179px;
    width: auto;
}

/* End Tiny Carousel */

.control-buttons {
    padding-bottom: 5px;
}

.buttons.prev, .buttons.next {
    background-image: url("/site/img/static/arrows.png");
    background-repeat: no-repeat;
    display: inline-block;
    height: 42px;
    opacity: 0.5;
    width: 59px;
    transition: opacity 0.3s ease;
    cursor: pointer;
    -webkit-animation-duration: 7s;
    animation-duration: 7s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

@-webkit-keyframes right {
    0% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.5;
    }
    70% {
        opacity: 1;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        opacity: 0.5;
    }
}

@keyframes right {
    0% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.5;
    }
    70% {
        opacity: 1;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        opacity: 0.5;
    }
}

@-webkit-keyframes left {
    0% {
        opacity: 0.5;
    }
    20% {
        opacity: 0.5;
    }
    40% {
        opacity: 1;
    }
    60% {
        opacity: 0.5;
    }
    100% {
        opacity: 0.5;
    }
}

@keyframes left {
    0% {
        opacity: 0.5;
    }
    20% {
        opacity: 0.5;
    }
    40% {
        opacity: 1;
    }
    60% {
        opacity: 0.5;
    }
    100% {
        opacity: 0.5;
    }
}

.buttons.prev {
    background-position: center 0;
    margin-right: 61px;
    -webkit-animation-name: left;
    animation-name: left;
}

.buttons.next {
    background-position: center -35px;
    -webkit-animation-name: right;
    animation-name: right;
}

.buttons.prev:hover, .buttons.next:hover {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.buttons.prev:active, .buttons.next:active {
    opacity: 1;
    transition: opacity 0s ease;
}

.control-buttons:hover .buttons {
    -webkit-animation-name: none;
    animation-name: none;
}

#portfolio .overview {
    margin-left: 0;
    position: relative;
    width: 6420px;
    height: 179px;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 0 3px 2px #342d25 inset;
}

.portfolio:after {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: -2;
    content: " ";
}


.portfolio a {
    display: inline-block;
    width: 320px;
    height: 180px;
    position: relative;
    margin-right: 1px;
    float: left;
}

.portfolio a:after {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(92, 53, 10, 0.25);
    z-index: -1;
    content: " ";
    opacity: 1;
    transition: opacity 0.3s ease;
}

.portfolio a:hover:after {
    opacity: 0;
}

.portfolio img {
    z-index: -1;
    position: absolute;
    left: 0;
    top: 0;
    width: 320px;
    height: 180px;
}

strong, .bold {
    color: #f1cfad;
    font-weight: bold;
}

.padding-top {
    padding-top: 20px;
}

.padding-bottom {
    padding-bottom: 20px;
}

.padding-top-small {
    padding-top: 10px;
}

.padding-bottom-small {
    padding-bottom: 10px;
}

.no-padding-top {
    padding-top: 0;
}

.no-padding-bottom {
    padding-bottom: 0;
}

/*************** SCROLLBAR BASE CSS ***************/

.scroll-wrapper {
    overflow: hidden !important;
    padding: 0 !important;
    position: relative;
    border-radius: 3px;
}

.scroll-wrapper > .scroll-content {
    border: none !important;
    box-sizing: content-box !important;
    height: auto;
    left: 0;
    margin: 0;
    max-height: none;
    max-width: none !important;
    overflow: scroll !important;
    padding: 0;
    position: relative !important;
    top: 0;
    width: auto !important;
}

.scroll-wrapper > .scroll-content::-webkit-scrollbar {
    height: 0;
    width: 0;
}

.scroll-element {
    display: none;
}
.scroll-element, .scroll-element div {
    box-sizing: content-box;
}

.scroll-element.scroll-x.scroll-scrollx_visible,
.scroll-element.scroll-y.scroll-scrolly_visible {
    display: block;
}

.scroll-element .scroll-bar,
.scroll-element .scroll-arrow {
    cursor: default;
}

.scroll-textarea {
    width: 450px;
    height: 142px;
}
.scroll-textarea > .scroll-content {
    overflow: hidden !important;
}
.scroll-textarea > .scroll-content > textarea {
    border: none !important;
    box-sizing: border-box;
    height: 100% !important;
    margin: 0;
    max-height: none !important;
    max-width: none !important;
    overflow: scroll !important;
    outline: none;
    position: relative !important;
    top: 0;
    width: 100% !important;
}
.scroll-textarea > .scroll-content > textarea::-webkit-scrollbar {
    height: 0;
    width: 0;
}

/*************** SIMPLE INNER SCROLLBAR ***************/

.scrollbar-inner > .scroll-element,
.scrollbar-inner > .scroll-element div
{
    border: none;
    margin: 0;
    padding: 0;
    position: absolute;
    z-index: 10;
}

.scrollbar-inner > .scroll-element div {
    display: block;
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
}

.scrollbar-inner > .scroll-element.scroll-x {
    bottom: 0;
    height: 17px;
    left: 0;
    width: 100%;
}

.scrollbar-inner > .scroll-element.scroll-y {
    height: 100%;
    right: 0;
    top: 0;
    width: 17px;
}

.scrollbar-inner > .scroll-element .scroll-element_outer {
    overflow: hidden;
}

.scrollbar-inner > .scroll-element .scroll-element_outer,
.scrollbar-inner > .scroll-element .scroll-element_track,
.scrollbar-inner > .scroll-element .scroll-bar {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    cursor: pointer;
}

.scrollbar-inner > .scroll-element .scroll-element_track {background-color: rgba(69, 57, 41, 0.5);}
.scrollbar-inner > .scroll-element .scroll-bar {background-color: rgba(255, 223, 183, 0.25); transition: background-color 0.2s ease 0s;}
.scrollbar-inner > .scroll-element:hover .scroll-bar {background-color: rgba(255, 223, 183, 0.5);}
.scrollbar-inner > .scroll-element.scroll-draggable .scroll-bar {background-color: rgba(255, 223, 183, 0.5);}


/* update scrollbar offset if both scrolls are visible */

.scrollbar-inner > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track { left: -12px; }
.scrollbar-inner > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track { top: -12px; }


.scrollbar-inner > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size { left: -12px; }
.scrollbar-inner > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size { top: -12px; }

/*************** SCROLLBAR END ***************/

.viewport {
    overflow-x: hidden;
    width: 450px;
}

#form .overview {
    width: 1440px;
    margin-left: -480px;
    transition: margin-left 0.25s ease;
}

.frame {
    width: 450px;
    padding-right: 30px;
    vertical-align: top;
    display: inline-block;
}

.form {
    padding: 17px 0 0;
}

#form {
    padding: 0 0 37px;
}

.row {
    display: block;
    padding: 3px 0 2px;
}

textarea {
    background-color: rgba(41, 32, 19, 0.67);
    color: #f1cfad;
    height: 106px;
    padding: 17px 48px 19px 14px;
    resize: none;
    width: 388px;
    border-radius: 3px;
    transition: background-color 0.2s ease;
}

input {
    border-radius: 3px;
    background-color: rgba(41, 32, 19, 0.67);
    width: 388px;
    color: #f1cfad;
    padding: 9px 48px 11px 14px;
    transition: background-color 0.2s ease;
}

.button {
    background-color: rgba(128, 111, 91, 0.45);
    border-radius: 3px;
    color: #f1cfad;
    cursor: pointer;
    display: inline-block;
    font-size: 15px;
    margin: 8px auto;
    padding: 10px 0;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
    transition: background-color 0.2s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.button:hover,
.button:focus
{
    background-color: rgba(128, 111, 91, 0.8);
}

.button.half {
    width: 210px;
}

.button.half:first-of-type {
    margin-right: 30px;
}

textarea:focus,
.input:focus{
    background-color: rgba(41, 32, 19, 0.83);
}

textarea::-webkit-input-placeholder,
input::-webkit-input-placeholder{
    color: rgba(241, 207, 173, 0.55); opacity: 1;
}
textarea::-moz-placeholder,
input::-moz-placeholder{
    color: rgba(241, 207, 173, 0.55); opacity: 1;
}
textarea:-ms-input-placeholder,
input:-ms-input-placeholder{
    color: rgba(241, 207, 173, 0.55); opacity: 1;
}
textarea:-moz-placeholder,
input:-moz-placeholder {
    color: rgba(241, 207, 173, 0.55); opacity: 1;
}

.center {
    text-align: center;
}

ul {
    margin-left: 23px;
    padding: 20px 0;
}

ul.left, ul.right {
    display: inline-block;
    vertical-align: top;
    margin-left: 0;
    text-align: left;
}
ul.left {
    width: 227px;
}

li {
    list-style: disc;
    line-height: 21px;
}

.link {
    color: #84c5e8;
    font-weight: bold;
}

.link:hover {
    text-decoration: underline;
}

.noise {
    position: fixed;
    top: 0;
    z-index: 1;
    background-image: url("/site/img/static/noise.gif");
    background-repeat: repeat;
    background-position: top center;
    opacity: 0.02;
}