/* fonts */
@import url(http://fonts.googleapis.com/css?family=Ubuntu:400,700|Roboto:400,700,700italic|Roboto+Condensed:400,700|Open+Sans+Condensed:300,700);

/* common */
html, body {
    width: 100%;
    height: 100%;
}
body {
    overflow: auto;
    overflow-x: hidden;
    background: #fff;
}
body.aside {
    overflow: hidden;
}
.container {
    max-width: 980px;
}
::selection {
    color: #fff !important;
    background: #000 !important;
}
::-moz-selection {
    color: #fff !important;
    background: #000 !important;
}
img {
    max-width: none;
}

/* typography */
p {
    font-family: 'Roboto';
    font-size: 15px;
    line-height: 22px;
    color: #aaa;
    margin-bottom: 22px;
}
em {
    font-weight: bold;
    font-style: italic;
    border-bottom: #000 1px dotted;
}
h1 {
    display: block;
    color: #000;
    font-size: 65px;
    line-height: 46px;
    font-family: 'Open Sans Condensed';
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    margin: -2px 0 80px 0;
}
h1 .hexy {
    display: inline-block;
    width: 93px;
    height: 68px;
    padding-top: 18px;
    background: url('../img/hexy.png') center center no-repeat #000;
    background-size: 93px 86px;
}
h2 {
    display: block;
    color: #000;
    font-size: 26px;
    line-height: 14px;
    font-family: 'Roboto';
    font-weight: normal;
    text-transform: lowercase;
    text-align: center;
    margin: -2px 0 102px 0;
}
h3 {
    display: block;
    color: #000;
    font-size: 28px;
    line-height: 30px;
    font-family: 'Open Sans Condensed';
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    margin: -6px 0 96px 0;
}
h1 + h2 {
    margin-top: -60px;
}
address {
    font-family: 'Roboto';
}

/* inversed styles */
.inverse, .inverse h1, .inverse h2, .inverse h3, .inverse em, .inverse p {
    color: #fff;
    border-color: #fff;
}
.inverse h1 .hexy {
    background-image: url('../img/hexy-inverse.png');
    background-color: transparent;
}

/* dividers */
.divider {
    width: 100%;
    height: 30px;
    position: relative;
    overflow: hidden;
}
.divider .left, .divider .right {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: #fff;
}
.divider-bottom .left, .divider-bottom .right {
    background: #fff;
}

/* slider */
#slider {
    width: 100%;
    height: 500px;
    position: relative;
    margin-bottom: 100px;
}
#slider > .background, #slider > .overlay {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    overflow: hidden;
}
#slider > .background > img {
    width: 100%;
}
#slider .overlay {
    background: #000;
}
#slider .container {
    position: relative;
    top: 141px;
    overflow: hidden;
    height: 218px;
    text-align: center;
}
#slider .heading {
    color: #fff;
    text-transform: lowercase;
    font-family: 'Ubuntu';
    font-size: 40px;
    line-height: 40px;
    padding-top: 17px;
    padding-bottom: 45px;
}
#slider .heading strong {
    display: block;
    text-transform: lowercase;
    font-size: 90px;
    line-height: 90px;
    font-weight: normal;
    margin-bottom: 26px;
}
#slider .bottom {
    width: 100%;
    height: 75px;
    position: absolute;
    bottom: -45px;
    left: 0;
    padding-top: 15px;
    text-align: center;
    background: url('../img/slider-bottom.png') center top no-repeat;
    background-size: 283px 90px;
}

/* buttons */
.button {
    position: relative;
    display: inline-block;
    width: 250px;
    height: 60px;
    font-family: 'Roboto';
    font-weight: normal;
    font-size: 22px;
    text-transform: uppercase;
    text-align: center;
    line-height: 62px;
    background: url('../img/button-light.png') center center no-repeat;
    background-size: 250px 60px;
    border: 0;
    overflow: hidden;
}
.button:hover, .button:focus {
    text-decoration: none;
}
.button > .text, .button > .background {
    display: block;
    width: 250px;
    height: 60px;
    position: absolute;
    top: 0;
    left: 0;
}
.button-light {
    color: #000;
    background-color: #000;
}
.button-light:hover, .button-light:focus {
    color: #000;
}
.button-light > .background {
    background: url('../img/button-light-background.png') center center no-repeat #000;
    background-size: 250px 60px;
}
.button-light.button-fade:hover, .button-light.button-scale:hover {
    color: #fff;
}
.button-dark {
    color: #fff;
    background: url('../img/button-dark.png') center center no-repeat;
    background-size: 250px 60px;
}
.button-dark:hover, .button-dark:focus {
    color: #fff;
}
.button-dark > .background {
    background: url('../img/button-dark-background.png') center center no-repeat;
    background-size: 250px 60px;
}

/* form elements */
form {
    margin: 0;
}
input.text {
    display: inline-block;
    width: 320px;
    height: 60px;
    padding: 0;
    border-radius: 0;
    border: 0;
    padding: 0 35px 0 20px;
    margin: 0;
    font-family: 'Roboto';
    font-weight: normal;
    font-size: 22px;
    text-transform: uppercase;
    color: #fff;
    background: url('../img/text.png');
    background-size: 375px 60px;
}

/* services */
.services {
    text-align: center;
    margin-bottom: 92px;
}
.services .circle {
    position: relative;
    display: inline-block;
    width: 200px;
    height: 200px;
    border-radius: 100px;
    margin-bottom: 30px;
}
.services .circle i {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 80px;
    line-height: 200px;
    color: #000;
}
.services .circle > .background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 100px;
    background: #000;
}
.services .service:hover .circle-fade > i {
    color: #fff;
}
.services .service:hover .circle-scale > i {
    color: #fff;
}
.services p {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 240px;
}
.services h3 + p {
    margin-top: -70px;
}

/* subscribe box */
.subscribe {
    text-align: center;
    background: url('../img/icon-pattern.png') 0 0 repeat #1f1f1f;
    background-size: 480px 360px;
    margin-top: -50px;
}
.subscribe .divider {
    margin-bottom: 100px;
}
.subscribe .button {
    margin-left: -10px;
}
.subscribe form {
    margin-bottom: 70px;
}
.subscribe h2 {
    margin-bottom: 102px;
}

/* testimonials box */
.testimonials {
    background: #000;
    text-align: center;
}
.testimonials .divider {
    margin-bottom: 100px;
}
.testimonials h1 {
    margin-bottom: 24px;
}
.testimonials p {
    width: 50%;
    margin: 0 auto 22px auto;
}
.testimonials p + h3 {
    margin-top: 33px;
    margin-bottom: 71px;
}
.testimonials .container {
    position: relative;
}
.testimonials .heading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

/* gallery */
.gallery {
    text-align: center;
    margin-bottom: 25px;
}
.gallery .column {
    width: 221px;
    height: 204px;
    margin: 0 0 50px 0;
    padding: 0 12px;
    float: left;
}
.hex {
    display: inline-block;
    position: relative;
    width: 221px;
    height: 204px;
    background: url('../img/hex.png') center center no-repeat #000;
    background-size: 221px 204px;
    overflow: hidden;
}
.hex .inner, .hex .image, .hex .cover, .hex .hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 221px;
    height: 204px;
}
.hex .inner {
    background: url('../img/hex-inner.png') center center no-repeat;
    background-size: 221px 204px;
}
.hex .cover {
    background: url('../img/hex-cover.png') center center no-repeat;
    background-size: 221px 204px;
}
.hex .title {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 161px;
    height: 30px;
    margin-left: 30px;
    font-size: 15px;
    line-height: 30px;
    font-family: 'Roboto Condensed';
    text-decoration: none;
    text-align: center;
    color: #fff;
    background: #000;
}
.hex .hover {
    background: url('../img/hex-cover.png') center center no-repeat #000;
    background-size: 221px 204px;
}
.hex .zoom, .hex .link {
    display: block;
    position: absolute;
    width: 52px;
    height: 48px;
    top: 78px;
    left: 85px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 52px 48px;
}
.hex .zoom > img, .hex .link > img {
    width: 52px;
    height: 48px;
}
.hex .zoom {
    background-image: url('../img/hex-zoom.png');
}
.hex .link {
    background-image: url('../img/hex-link.png');
}
.hex:hover .zoom {
    left: 58px;
}
.hex:hover .link {
    left: 112px;
}

/* map */
.map {
    width: 100%;
    height: 500px;
    border: 0;
    overflow: hidden;
    margin: 0;
    margin-bottom: -5px;
}

/* footer */
footer {
    display: block;
    width: 100%;
    padding-top: 50px;
    background: #1f1f1f;
}
footer .span4 {
    width: 293px !important;
    margin-left: 50px !important;
}
footer .span4:first-child {
    margin-left: 0 !important;
}
footer h3 {
    margin-bottom: 51px;
}
footer p, footer address {
    font-size: 12px;
    line-height: 23px;
    text-align: justify;
}
footer .flickr-box {
    display: block;
    width: 91px;
    height: 83px;
    margin-left: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
    float: left;
}
footer .flickr-box:nth-child(3n+1) {
    margin-left: 0;
}
footer .flickr-box:last-child {
    margin-bottom: 50px;
}
footer .flickr-box img {
    width: 122px;
    height: 122px;
    margin-top: -24px;
    margin-left: -19px;
}
footer .flickr-box .overlay {
    display: block;
    width: 91px;
    height: 83px;
    position: absolute;
    top: 0;
    left: 0;
    background: url('../img/flickr-box.png') center center no-repeat;
    background-size: 91px 83px;
}
footer .tweet {
    display: block;
    margin-top: -5px;
    margin-bottom: 19px;
}
footer .tweet:last-child {
    margin-bottom: 42px;
}
footer .tweet p {
    margin-bottom: 12px;
}
footer .tweet.tweet-border {
    border-bottom: #252525 1px solid;
}
footer .infomap {
    min-height: 245px !important;
    background: url('../img/infomap.png') center 69px no-repeat;
    background-size: 304px 181px;
}
footer .infomap address {
    margin-top: -7px;
    margin-bottom: 23px;
}
footer .infomap p {
    margin-bottom: 28px;
}
footer .infomap .social {
    display: block;
    float: left;
    position: relative;
    margin-left: 5px;
    margin-bottom: 50px;
}
footer .infomap .social > img.hover {
    position: absolute;
    top: 0;
    left: 0;
}
footer .infomap .social.social-first {
    margin-left: 0;
}

/* Side & back to top toggles */
.side, .side:hover, .side:focus, .side:active, .totop, .totop:hover, .totop:focus, .totop:active {
    z-index: 5000;
    display: block;
    position: fixed;
    right: 10px;
    top: 10px;
    width: 40px;
    height: 40px;
    text-align: center;
    text-decoration: none;
    font-size: 15px;
    line-height: 40px;
    color: #fff;
    background: #1f1f1f;
    background: rgba(31, 31, 31, 0.5);
}
.side:hover, body.aside .side, .totop:hover {
    background: #1f1f1f;
}
.side .icon-remove, body.aside .side .icon-reorder {
    display: none;
}
body.aside .side .icon-remove {
    display: inline;
}
body.aside .side {
    right: 190px;
}
.totop, .totop:hover, .totop:focus, .totop:active {
    top: auto;
    bottom: 10px;
}

/* Aside section */
aside {
    z-index: 6000;
    display: block;
    position: fixed;
    top: 0;
    right: -180px;
    width: 180px;
    height: 100%;
    background: #1f1f1f;
    overflow: auto;
}
body.aside aside {
    right: 0;
}
aside h1 {
    font-size: 35px;
    line-height: 25px;
    text-align: right;
    margin: 19px 20px 51px 20px;
}
aside .menu, aside .menu li, aside .menu li a {
    list-style: none;
    display: block;
    margin: 0;
    padding: 0;
}
aside .menu li a {
    height: 40px;
    font-family: 'Open Sans Condensed';
    font-weight: bold;
    font-size: 15px;
    line-height: 38px;
    text-align: right;
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
    padding: 0 20px;
}
aside .menu li.active a, aside .menu li a:hover {
    color: #fff;
    background: #000;
    padding-right: 30px;
}
aside .menu li a:active {
    background: #000 !important;
}