/*!
 * Copyright 2016
 * Built by JA ~ Burn Media
 */
body, html {
    overflow-x: hidden;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    color: #404041;
}

p {

}

b {
    font-weight: 600;
}

.thin {
    font-weight: 300;
}

.normal {
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {

}

a {
    color: #46949f;
    -webkit-transition: all 150ms ease;
    transition: all 150ms ease;
}

a:hover,
a:focus {
    color: #307b85;
}

img {
    max-width: 100%;
}

@media (min-width: 1200px) {
    .container {
        width: 1028px;
    }
}

/* Header */
header#masthead {
    padding: 20px 0 15px;
}

header#masthead a.logo {
    display: inline-block;
}

header#masthead h4.slogan {
    font-weight: 300;
    font-size: 23px;
    text-transform: uppercase;
    line-height: 30px;
    margin: 15px 0 0 0;
}

header#masthead h4.slogan span {
    font-weight: 400;
}

header#masthead ul.social-links {
    display: block;
    list-style: none;
    padding: 0;
    margin: 11px 0 0 0;
}

header#masthead ul.social-links li {
    display: inline-block;
}

nav#mastnav ul li.nav-right {
    float: right;
}

header#masthead ul.social-links li a {
    display: block;
}

.instagram-widget-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
}

.instagram__item,
.instagram__item > * {
    width: 100%;
    object-fit: cover;
    height: 150px;
}

@media (max-width: 1200px) {
    header#masthead h4.slogan {
        font-size: 19px;
        line-height: 26px;
        margin-top: 20px;
    }
}

@media (max-width: 992px) {
    header#masthead ul.social-links {
        text-align: right;
    }

    .instagram-widget {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    header#masthead,
    header#masthead ul.social-links {
        text-align: center;
    }

    header#masthead ul.social-links li.twitter a img {
        width: 42px;
    }

    header#masthead ul.social-links li.instagram a img {
        width: 40px;
    }

    header#masthead ul.social-links li.cipr a img {
        width: 86px;
    }
}

/* Nav */
nav#mastnav {
    background: #46949f;
    color: #fff;
}

nav#mastnav .container {
    padding-left: 10px;
    padding-right: 10px;
}

nav#mastnav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav#mastnav ul li {
    display: inline-block;
}

nav#mastnav ul li a {
    display: block;
    padding: 7px 0;
    margin: 0 30px 0 0;
    font-size: 15px;
    font-weight: 300;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.8px;
}

nav#mastnav ul li.nav-right a {
    text-transform: none;
    line-height: 19px;
}

nav#mastnav ul li a:hover {
    opacity: 0.8;
}

button.nav-triger {
    display: none;
}

@media (max-width: 767px) {
    /* Mobile Nav */
    nav#mastnav ul li.nav-right {
        float: none;
    }

    button.nav-triger {
        display: block;
        float: right;
        background: transparent;
        padding: 5.5px 13px 6px;
        margin: 10px 0;
        border: 1px solid #fff;
        border-radius: 4px;
        font-weight: 600;
        outline: none;
        -webkit-transition: all 150ms ease;
        transition: all 150ms ease;
    }

    button.nav-triger:hover {
        background: #ffffff;
        color: #58595b;
    }

    button.nav-triger:focus {
        background: rgba(255,255,255,0.15);
        color: #ffffff;
    }

    button.nav-triger span.close {
        display: none;
    }

    button.nav-triger span.menu {
        display: block;
    }

    body.open-nav button.nav-triger span.close {
        display: block;
    }

    body.open-nav button.nav-triger span.menu {
        display: none;
    }

    nav#mastnav ul {
        margin: 15px 0;
        max-height: 0;
        overflow: hidden;
        -webkit-transition: max-height 350ms linear;
        transition: max-height 350ms linear;
    }

    body.open-nav nav#mastnav ul {
        max-height: 350px;
    }

    nav#mastnav ul li {
        display: block;
    }

    nav#mastnav ul li a {
        display: inline-block;
    }
}

/* Bubbles */
section#mainContent .bubble-graphics {}

section#mainContent .bubble-graphics .left {
    position: absolute;
    background: url('../img/bubbles.png') no-repeat;
    background-size: 100% 100%;
    width: 76px;
    height: 85px;
    left: -90px;
    top: 20px;
}

section#mainContent .bubble-graphics .right {
    position: absolute;
    background: url('../img/bubbles.png') no-repeat;
    background-size: 100% 100%;
    width: 76px;
    height: 85px;
    right: -90px;
    top: 20px;
}

/* Responsive */
.hidden-xs {
    display: none;
}

/* Small devices */
@media (min-width: 768px) {
    .hidden-xs {
        display: block;
    }

    .hidden-sm {
        display: none;
    }
}

/* Medium devices */
@media (min-width: 992px) {
    .hidden-sm {
        display: block;
    }

    .hidden-md {
        display: none;
    }
}

/* Large devices */
@media (min-width: 1200px) {
    .hidden-md {
        display: block;
    }

    .hidden-lg {
        display: none;
    }
}

/* Homepage */
section#homepage-slider {
    background: #f8fbfd;
}

.owl-carousel .slide-item {
    height: 300px;
    width: 100%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}

.owl-theme .owl-controls {
    margin: 0;
}

.owl-theme .owl-controls .owl-pagination {
    position: absolute;
    width: 100%;
    bottom: 0;
}

.owl-theme .owl-controls .owl-buttons {
    display: none;
}

.owl-theme .owl-controls .owl-buttons div {
    position: absolute;
    top: 50%;
    background: #fff;
    border-radius: 0;
    margin: -26.5px 0 0 0;
    opacity: 1;
    color: #46949f;
    font-size: 45px;
    font-weight: 600;
    line-height: 0;
    padding: 22px 20px 31px 14px;
}

.owl-theme .owl-controls .owl-buttons div.owl-prev {
    left: 0;
}

.owl-theme .owl-controls .owl-buttons div.owl-next {
    right: 0;
    padding: 22px 14px 31px 20px;
}

.owl-theme .owl-controls .owl-page span {
    background: #ffffff;
    opacity: 1;
}

.owl-theme .owl-controls .owl-page.active span {
    background: #46949f;
    opacity: 1;
}

@media (min-width: 768px) {
    .owl-theme .owl-controls .owl-buttons {
        display: block;
    }

    .owl-carousel .slide-item {
        height: 415px;
    }
}

section#mainContent {
    margin: 20px 0;
}

section#mainContent.about .container {
    padding: 5px 0;
}

section#mainContent .container {
    position: relative;
    border-left: 1px dashed #404041;
    border-right: 1px dashed #404041;
    padding: 15px 35px;
}

section#mainContent .col-sm-8 {
    padding-right: 30px;
}

section#mainContent h1.main,
section#mainContent h3.main {
    text-transform: uppercase;
    font-size: 23px;
    margin: 0 0 20px;
    font-weight: 400;
}

section#mainContent h3.main {
    font-size: 27px;
    margin-top: -1px;
}

section#mainContent p {
    font-size: 16px;
    margin-bottom: 15px;
}

section#mainContent p:last-child {
    margin-bottom: 0;
}

.twitter-code {
    border: 1px solid #eee;
    padding: 0 1px 0 0;
}

@media (max-width: 767px) {
    section#mainContent .container {
        border-left: none;
        border-right: none;
    }

    section#mainContent h1.main,
    section#mainContent h3.main {
        font-size: 18px;
    }

    section#mainContent h3.main {
        margin-top: 30px;
    }

    section#mainContent .col-sm-8 {
        padding-right: 15px;
    }

    .twitter-code {
        margin-top: 30px;
    }
}

/* Service */
section#mainContent.services {
    font-size: 16px;
}

section#mainContent h2.main-title {
    font-size: 18px;
    color: #46949f;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0 0 20px;
}

section#mainContent ul.no-bullet {
    list-style: none;
    padding: 0;
    margin: 0;
}

section#mainContent.about ul.no-bullet {
    margin-bottom: 10px;
}

section#mainContent ul.no-bullet li {

}

section#mainContent .team-inner ul.no-bullet li {
    display: block;
    margin: 3px 0;
}

section#mainContent ul.no-bullet li span {
    padding: 0 20px 0 0;
    font-size: 25px;
    color: #46949f;
    line-height: 23px;
    display: block;
    float: left;
}

section#mainContent .team-inner ul.no-bullet li span {
    font-size: 20px;
    line-height: 21px;
}

section#mainContent.services p {
    font-size: 16px;
    margin-top: 20px;
}

/* Experience */
section#mainContent.experience p.lead-in {
    font-size: 16px;
}

section#mainContent.experience h2.main-title {
    margin: 0 0 5px;
}

section#mainContent.experience p {
    margin: 0 0 25px;
}

/* Contact */
section#mainContent.contact p {
    font-size: 16px;
    line-height: 25px;
}

section#mainContent.contact p img {
    margin-left: 15px;
}

section#mainContent .contact-icons {
    margin: 0 0 30px -6px;
}

section#mainContent .contact-icons p {
    margin: 0 0 2px 0;
}

section#mainContent .contact-icons p.telephone {
    line-height: 38px;
    margin: 0;
}

section#mainContent .contact-icons p.email {
    line-height: 30px;
}

section#mainContent .contact-icons p.coffee {
    line-height: 36px;
}

section#mainContent .contact-icons p.email {
    line-height: 30px;
}

section#mainContent .contact-icons p img {
    margin: 0 10px 0 0;
    vertical-align: middle;
    display: block;
    float: left;
}

/* About */
section#mainContent .team-inner {}

section#mainContent .team-inner .col-sm-5 {
    padding-right: 0;
}

section#mainContent .team-inner h3 {
    margin: -2px 0 10px;
    text-transform: uppercase;
    color: #000;
    font-weight: 600;
    font-size: 19px;
    letter-spacing: 0.5px;
}

section#mainContent .team-inner h5 {
    text-transform: uppercase;
    color: #00a9b4;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    margin: 0 0 5px 0;
}

section#mainContent .team-inner p {
    font-size: 14px;
    line-height: 18px;
}

section#mainContent.about .about-upper {
    border-bottom: 1px dashed #404041;
    margin: 0 30px;
    padding: 0 0 45px;
}

section#mainContent.about .about-upper .col-sm-6 {
    padding-right: 0;
    padding-left: 0;
}

@media (max-width: 767px) {
    section#mainContent .team-inner img {
        margin-bottom: 15px;
    }

    section#mainContent .team-inner {
        margin: 0 0 25px 0;
    }

    section#mainContent p {
        font-size: 15px;
    }
}

@media (max-width: 385px) {
    section#mainContent .team-inner .col-sm-5.col-xs-3 {
        display: none;
    }

    section#mainContent .team-inner .col-sm-7.col-xs-9 {
        width: 100%;
    }
}

ul.polaroids {
    position: relative;
    padding: 20px;
    margin: 0;
    list-style: none;
}

ul.polaroids li {
    display: inline-block;
    width: 49%;
}

/* Small devices */
@media (min-width: 768px) and (max-width: 992px) {
    ul.polaroids {
        height: 535px;
        padding: 0;
    }

    ul.polaroids li {
        display: block;
        position: absolute;
        width: auto;
    }

    ul.polaroids li.coffee {
        top: -35px;
        left: -30px;
        z-index: 10;
    }

    ul.polaroids li.skiing {
        top: 10px;
        left: 225px;
        z-index: 5;
    }

    ul.polaroids li.holiday {
        top: -30px;
        left: 465px;
        z-index: 6;
    }

    ul.polaroids li.chocolate {
        top: 185px;
        left: -15px;
        z-index: 11;
    }

    ul.polaroids li.running {
        top: 240px;
        left: 227px;
        z-index: 12;
    }

    ul.polaroids li.kids {
        top: 215px;
        right: -30px;
        z-index: 14;
    }
}

/* Medium devices */
@media (min-width: 992px) {
    ul.polaroids {
        height: 500px;
        padding: 0;
    }

    ul.polaroids li {
        display: block;
        position: absolute;
        width: auto;
    }

    ul.polaroids li.coffee {
        top: -35px;
        left: -30px;
        z-index: 10;
    }

    ul.polaroids li.skiing {
        top: 10px;
        left: 225px;
        z-index: 5;
    }

    ul.polaroids li.holiday {
        top: -30px;
        left: 465px;
        z-index: 6;
    }

    ul.polaroids li.chocolate {
        top: 30px;
        right: -15px;
        z-index: 7
    }

    ul.polaroids li.running {
        top: 210px;
        left: 160px;
        z-index: 12
    }

    ul.polaroids li.kids {
        top: 182px;
        left: 465px;
        z-index: 14
    }
}

/* Footer */
footer#mainfooter {
    position: relative;
    border-top: 1px dashed #404041;
    margin: 0;
    padding: 35px 0;
    text-align: center;
}

footer#mainfooter .container {
    position: relative;
}

footer#mainfooter .bubble-graphics .left {
    position: absolute;
    background: url('../img/bubbles.png') no-repeat;
    background-size: 100%;
    width: 115px;
    height: 125px;
    left: -160px;
    top: -205px;
}

footer#mainfooter .bubble-graphics .right {
    position: absolute;
    background: url('../img/bubbles.png') no-repeat;
    background-size: 100%;
    width: 115px;
    height: 125px;
    right: -160px;
    top: -205px;
}

footer#mainfooter ul {
    list-style: none;
    padding: 0;
    margin: 0 0 5px;
}

footer#mainfooter ul li {
    display: inline-block;
}

footer#mainfooter ul li a {
    text-transform: uppercase;
    font-size: 15px;
    color: #404041;
    margin-right: 25px;
    text-decoration: none;
    letter-spacing: 0.8px;
}

footer#mainfooter ul li a:hover {
    color: #46949f;
}

footer#mainfooter ul li:first-child a,
footer#mainfooter ul li:last-child a {
    cursor: default;
    color: #46949f;
    font-weight: 600;
    letter-spacing: 0.5px;
}

footer#mainfooter ul li:last-child a {
    cursor: pointer;
    text-transform: lowercase;
    margin-right: 0;
    font-size: 16px;
}
