/* ==========================================================================
   Fluid Studios defaults
   ========================================================================== */

html,
body {
    color: #333;
    font-family: "Lato";
}

.text-right {
    text-align: right;
}

.clear {
    clear: both;
    height: 1px;
}

.clear-cms {
    display: none;
}

.small {
    font-size: 9px;
}

.req {
    color: #F00;
}

a {
    text-decoration: none;
    transition: 0.4s
}

a:link,
a:visited {
    color: #ecf2f5;
}

a:hover,
a:active {
    color: #fff;
    text-decoration: none;
}

.row {
    margin-bottom: 10px;
}

.center {
    text-align: center
}

.btn-inverse {
    color: #ccc;
}

.mark,
.highlight {
    color: #F00;
    background: none;
}

.pad {
    padding: 20px;
}

.limiter {
    max-width: 1000px;
    margin: 0 auto;
}

h1 {
    font-size: 24px;
    line-height: 26px;
    font-weight: normal;
}

h2 {
    font-size: 16px;
    line-height: 18px;
    font-weight: normal;
}

.control-panel {
    z-index: 9999;
    width: 170px;
    min-height: 100px;
    border-radius: 10px;
    background: #fff;
    position: fixed;
    top: 100px;
    border: solid 1px #2a9bab;
    right: -140px;
    overflow: hidden;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.control-panel img {
    margin: 2px;
}

.control-panel a {
    float: right;
}

div,
article,
aside,
img,
h1,
h2 {}

main,
article,
aside,
header,
footer {
    display: block;
}

#home-bg {
    /* This image will be displayed fullscreen */
    background: url('../img/tattoo-studio-background.jpg') #fff no-repeat left top fixed;
    /* Ensure the html element always takes up the full height of the browser window */
    min-height: 100%;
    /* The Magic */
    background-size: cover;
}

#bg-404 {
    /* This image will be displayed fullscreen */
    background: url(../img/bg.jpg) #fff no-repeat left top fixed;
    /* Ensure the html element always takes up the full height of the browser window */
    min-height: 100%;
    /* The Magic */
    background-size: cover;
}

.header-social {
    margin-bottom: 20px;
    position: relative;
}

.header-social a img {
    max-width: 40px;
    margin: 0 5px;
    opacity: 0.7;
}

.header-social a:hover img {
    opacity: 1;
}


/* ==========================================================================
      div styles - modern desktops
      ========================================================================== */

#cookie-bar {
    height: auto !important;
}

header {
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
    position: relative;
}

#header-gen {
    background: #455660;
}

#logo {
    display: block;
    margin: 0 auto;
    padding: 10px;
}

#tel-num {
    color: #fff;
    background: #455660;
    font-size: 1em;
    position: absolute;
    top: 0;
    right: 0;
    padding: 3px 8px;
}

#tel-num-gen {
    color: #fff;
    font-size: 1em;
    padding: 3px 8px;
    margin-bottom: 10px;
}

.navbar-inner {
    background: none;
    border: none;
    max-width: 1000px;
    border-top: 1px solid #fff;
    display: inline-block;
    margin: 0 auto;
    float: none;
    border-radius: 0;
    filter: none;
}

.navbar {
    margin-bottom: 0;
}


/* left or right align menu */

.navbar .nav {
    float: none;
    display: inline-block;
}


/* change menu highglight (top level) */

.navbar .nav>.active>a,
.navbar .nav>.active>a:hover,
.navbar .nav>.active>a:focus {
    background: none;
    box-shadow: none;
    color: #fff;
}

.navbar .nav>li>a {
    text-shadow: none;
}

.navbar .nav>li>a:focus,
.navbar .nav>li>a:hover {
    color: #fff;
}

.navbar .nav li.dropdown.open>.dropdown-toggle,
.navbar .nav li.dropdown.active>.dropdown-toggle,
.navbar .nav li.dropdown.open.active>.dropdown-toggle {
    background: none;
    color: #fff;
}

.navbar .nav>li>a {
    color: #ddd;
}

.dropdown-menu {
    text-align: left;
}

.menu-left {
    float: left;
    padding-right: 8px;
    padding-top: 2px;
    font-size: 12px;
    line-height: 14px;
    color: #fff;
    text-shadow: none;
}

.menu-right {
    float: right
}

.blue-strip {
    background: rgba(69, 86, 96, 0.7);
    color: #fff;
    padding: 30px 0;
    text-align: center;
    font-size: 1.5em;
    font-family: "Times New Roman", Times, serif;
    line-height: 2em;
    font-style: italic;
}

.blue-strip-gen {
    background: #455660;
}

.blue-strip h1 {
    font-size: 1.5em;
    font-family: "Lato";
    font-style: normal;
    font-weight: 300;
}

.index-bluestrip {
    padding: 15px 0px !important;
}

.white-strip {
    background: #fff;
    padding: 30px 0;
    text-align: center;
}

.table-strip {
    display: table;
    background: #fff;
    width: 100%;
    min-height: 300px;
}

.table-pic-1 {
    display: table-cell;
    width: 30%;
    background: url(../img/joinery-staircases.jpg) no-repeat center;
    background-size: cover;
}

.table-pic-2 {
    display: table-cell;
    width: 30%;
    background: url(../img/joinery-furniture.jpg) no-repeat center;
    background-size: cover;
}

.blue-cell {
    display: table-cell;
    width: 40%;
    background: #455660;
    color: #fff;
    text-align: center;
    padding: 40px;
    box-sizing: border-box;
    font-family: "Times New Roman", Times, serif;
    line-height: 1.5em;
    font-size: 1.2em;
    font-style: italic;
    min-height: 300px;
}

.blue-cell h2 {
    font-size: 1.6em;
    line-height: 1.2em;
    font-family: "Lato";
    font-style: normal;
    font-weight: 300;
}

.blue-cell strong {
    font-weight: 400;
}

footer {
    background: #eee;
    font-size: 12px;
}

.footer-main {
    padding: 20px;
}

address {
    padding: 20px 0;
    margin-bottom: 0;
    line-height: 22px;
    color: #000;
}

.social {
    padding: 20px 0;
    text-align: right;
    color: #333;
}

.social-text {
    text-align: left;
    float: left;
    font-size: 14px;
}

.social-img {
    text-align: right;
    float: right;
}

.top-link {
    float: right;
}

.copy {
    background: #383a3b;
    color: #fff;
    padding: 0;
    line-height: 40px;
    font-family: "Lato", Arial, Helvetica, sans-serif;
    font-size: 0.9em;
}

.copy a {
    color: #fff !important;
}

.content {
    padding: 30px 0;
    min-height: 500px;
}

.gen-content {
    padding: 30px;
    min-height: 500px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    box-sizing: border-box;
}

.gen-content-box {
    background: rgba(69, 86, 96, 0.7);
    color: #fff;
    padding: 30px;
    min-height: 380px;
}

.gen-content-quote {
    padding: 30px;
    min-height: 400px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    box-sizing: border-box;
}

.gen-content-box-quote {
    background: rgba(69, 86, 96, 0.7);
    color: #fff;
    padding: 30px;
    min-height: 280px;
}

.statement {
    background: #eee;
    font-size: 24px;
    line-height: 36px;
    padding: 40px;
    text-align: center;
}

article header {
    padding: 60px;
    margin-bottom: 30px;
    font-size: 18px;
    font-weight: 200;
    line-height: 30px;
    color: inherit;
    background-color: #eeeeee;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

article header h1 {
    margin-bottom: 0;
    font-size: 60px;
    line-height: 1;
    letter-spacing: -1px;
    color: inherit;
}

article header li {
    line-height: 30px;
}

form {
    margin: 0
}

.banner-other-content {
    text-align: center;
    color: #fff;
    width: 60%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    text-align: center;
    max-width: 700px;
    z-index: 1;
}

.index-blue-strip {
    font-family: "Times New Roman", Times, serif !important;
    font-size: 20px !important;
}

.banner-text-other {
    background: rgba(69, 86, 96, 0.7);
    padding: 10px;
    padding-bottom: 30px;
}

.banner-text-other em {
    font-family: "Times New Roman", Times, serif;
    font-size: 20px;
}

.banner-text-other h1 {
    display: block;
    text-align: center;
    font-weight: 300;
    font-size: 30px;
    line-height: 50px;
}

.banner-other-content a.button {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    padding: 10px 20px;
    background: rgba(69, 86, 96, 1);
    border: 1px solid #E7E7E7;
    margin-top: 20px;
    margin-bottom: 15px;
}

#bg-controls {
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.bg-control {
    background: #000;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    height: 51px;
    line-height: 60px;
    width: 27px;
    position: absolute;
    top: 200px;
    cursor: pointer;
    line-height: 23px;
    text-align: center;
    font-size: 15px;
    letter-spacing: 0;
    display: block;
}

.bg-control:hover {
    background: #000;
}

#bg-control-back {
    left: 0;
}

#bg-control-pause {
    left: 45px;
}

#bg-control-play {
    left: 45px;
    display: none;
}

#bg-control-forward {
    right: 0;
}

.middleton-wrap {
    width: 100%;
    display: table;
}

.middleton-32 {
    display: table-cell;
    width: 32%;
    box-sizing: border-box;
    background: #455660;
    padding: 20px;
}

.middleton-35 {
    display: table-cell;
    width: 35%;
    box-sizing: border-box;
    background: #455660;
    padding: 20px;
}

.middleton-60 {
    display: table-cell;
    width: 60%;
    box-sizing: border-box;
    background: #455660;
    padding: 20px;
    vertical-align: top;
}

.middleton-32-img {
    width: 32%;
    display: table-cell;
    box-sizing: border-box;
    background: #455660;
    padding: 10px;
}

.middleton-2 {
    display: table-cell;
    width: 2%;
    background: none;
}

.middleton-5 {
    display: table-cell;
    width: 5%;
    background: none;
}

.contact-us-btn-holder {
    text-align: center;
    margin-top: 15px;
}

.contact-us-btn {
    padding: 10px 40px;
    margin: auto;
    width: 200px;
    height: 40px;
    text-align: center;
    font-size: 20px;
    line-height: 38px;
    background: rgba(69, 86, 96, 1);
}

.get-a-quote-header {
    margin-bottom: 20px;
    text-align: center;
}

.logo-absolute {
    /*display: none;*/
    width: 150px;
    position: absolute;
    bottom: -5px;
    right: 100px;
}


/* ==========================================================================
      CMS styles
      ========================================================================== */


/* Blog Page */

.blog {
    margin-bottom: 20px;
}

#blog-submit,
#blog-search {
    box-sizing: border-box;
    width: 100% !important;
    margin-top: 2px;
}

.blog a:link,
.blog a:visited {
    color: #eee;
}

.blog a:hover,
.blog a:active {
    color: #fff;
    text-decoration: none;
}

#blog-menu {
    background: rgba(69, 86, 96, 0.7);
    padding: 20px;
    color: #fff;
    box-sizing: border-box;
}

.blog-post-preview {
    padding: 20px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
    display: table;
    background: #455660;
    color: #fff;
    border-bottom: 1px solid #455660;
}

.blog-post-preview:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.blog-post-preview header,
.blog header {
    padding: 0;
    margin: 0 0 10px 0;
    background: none;
    font-size: 20px;
    font-weight: 700;
}

.blog-post-preview-img {
    width: 25%;
    box-sizing: border-box;
    display: table-cell;
    vertical-align: middle;
}

.blog-post-preview-content {
    width: 72%;
    padding-left: 3%;
    box-sizing: border-box;
    display: table-cell;
}

.blog-post-preview-content header {
    text-align: left;
}

.blog-post-content {
    max-height: 128px;
    line-height: 18px;
    overflow: hidden;
}

.blog-post-more {
    float: right;
    background: none;
    color: #555;
    border-radius: 1px;
    padding: 5px 10px;
    margin-top: 20px;
}

.blog-year-title {
    padding: 5% 0;
    margin: 0 auto;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    border-bottom: 1px solid #999;
    margin-bottom: 10px;
}

.blog-month-title {
    width: 100%;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    margin: 5px 0;
}

.blog-cloud {
    width: 90%;
    padding: 5%;
    margin-top: 5%;
    border-radius: 2px;
    border: solid 1px #fff;
}

.blog-cloud a:link,
.blog-cloud a:visited {
    color: #fff !important;
    text-decoration: none;
}

.blog-cloud a:hover,
.blog-cloud a:active {
    color: #000 !important;
    text-decoration: none;
}

.blog-wc-smallest {
    font-size: 0.6em;
    padding: 3px;
}

.blog-wc-small {
    font-size: 0.8em;
    padding: 3px;
}

.blog-wc-medium {
    font-size: 1em;
    padding: 3px;
}

.blog-wc-large {
    font-size: 1.2em;
    padding: 5px;
}

.blog-wc-largest {
    font-size: 1.4em;
    padding: 5px;
}

.blog-post-date {
    font-size: 14px;
    float: right;
}

#blog-search {
    margin-bottom: 0;
}

.grey {
    color: #8f8f8f;
}


/* Contat Page */

.contact {
    background: rgba(69, 86, 96, 0.7);
    color: #fff;
    padding: 30px;
}

iframe {
    margin-bottom: -5px;
}

#contact-msg {
    margin-bottom: 10px;
    display: none;
}

#contact-form {
    margin-bottom: 10px;
}

.contact article {
    padding: 20px;
}

.contact aside {
    padding: 20px;
    background: #455660;
    color: #fff;
}

.contact a:link,
.contact a:visited {
    color: #eee;
}

.contact a:hover,
.contact a:active {
    color: #fff;
    text-decoration: none;
}


/* Gallery */

#galleria {
    width: 100%;
    height: 400px;
}

.galleria-container {
    background: rgba(69, 86, 96, 0.7);
    border-radius: 0;
}

.gallery-wrap {
    overflow: hidden;
}

.gallery-wrap>article,
.gallery-wrap>aside {
    margin-bottom: -9999px;
    padding-bottom: 9999px;
}

.gallery-holder {
    max-width: 95%;
    margin-top: 25px;
    margin-bottom: 25px;
}


/* ==========================================================================
      Responsive tweaks overrides
      ========================================================================== */


/* iPads (landscape) 768x1024 ----------- */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {}


/* iPads (portrait) 768x1024 ----------- */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {}


/* Large desktop */

@media (min-width: 1200px) {}


/* Small desktop */

@media (min-width: 980px) and (max-width: 1199px) {
    .table-pic-1,
    .table-pic-2 {
        width: 20%;
    }
    .blue-cell {
        width: 60%;
    }
    .banner-other-content {
        top: 80%;
    }
}


/* Portrait tablet to landscape and desktop */

@media (min-width: 768px) and (max-width: 979px) {
    .nav {
        text-align: left;
    }
    .navbar {
        display: block;
        float: left;
        width: 100%;
        background: rgba(0, 0, 0, 0.1);
        text-align: left;
    }
    #tel-num {
        position: relative;
        margin: 0 auto;
        display: inline-block;
        margin-bottom: 5px;
    }
    .navbar .btn-navbar {
        width: 100%;
        color: #fff;
        margin-left: 0;
        background: none;
        border: none;
        filter: none;
        box-shadow: none;
    }
    .navbar .btn-navbar:hover,
    .navbar .btn-navbar:focus,
    .navbar .btn-navbar:active,
    .navbar .btn-navbar.active,
    .navbar .btn-navbar.disabled,
    .navbar .btn-navbar[disabled] {
        color: #fff;
        background: none;
    }
    .nav-collapse .nav>li>a:hover,
    .nav-collapse .nav>li>a:focus,
    .nav-collapse .dropdown-menu a:hover,
    .nav-collapse .dropdown-menu a:focus {
        background: none;
        color: #fff;
    }
    .dropdown-menu>.active>a,
    .dropdown-menu>.active>a:hover,
    .dropdown-menu>.active>a:focus {
        background: none;
        color: #fff;
    }
    .navbar-inner {
        background: none;
        border: none;
        box-shadow: none;
        width: 100%;
        box-sizing: border-box;
    }
    .navbar .nav>.active>a,
    .navbar .nav>.active>a:hover,
    .navbar .nav>.active>a:focus {
        background: none;
        color: #fff;
        box-shadow: none;
    }
    .navbar .nav li.dropdown.open>.dropdown-toggle,
    .navbar .nav li.dropdown.active>.dropdown-toggle,
    .navbar .nav li.dropdown.open.active>.dropdown-toggle {
        background: none;
        color: #fff;
    }
    .header-main {
        padding: 10px;
    }
    .table-pic-1,
    .table-pic-2 {
        width: 20%;
    }
    .blue-cell {
        width: 60%;
    }
    .blue-cell h2 {
        font-size: 1.4em;
    }
    .logo-absolute {
        bottom: 0;
        right: 20px;
        width: 120px;
    }
}


/* Landscape phone to portrait tablet */

@media (max-width: 767px) {
    #bg-controls {
        display: none;
    }
    .content {
        min-height: 300px;
    }
    .nav {
        text-align: left;
    }
    body,
    html {
        margin: 0;
        padding: 0;
    }
    .navbar .btn-navbar {
        width: 100%;
        color: #000;
        margin-left: 0;
        background: none;
        border: none;
        filter: none;
        box-shadow: none;
    }
    .navbar .btn-navbar:hover,
    .navbar .btn-navbar:focus,
    .navbar .btn-navbar:active,
    .navbar .btn-navbar.active,
    .navbar .btn-navbar.disabled,
    .navbar .btn-navbar[disabled] {
        color: #fff;
        background: none;
    }
    .nav-collapse .nav>li>a:hover,
    .nav-collapse .nav>li>a:focus,
    .nav-collapse .dropdown-menu a:hover,
    .nav-collapse .dropdown-menu a:focus {
        background: none;
        color: #fff;
    }
    .navbar-inner {
        background: none;
        border: none;
        box-shadow: none;
    }
    .dropdown-menu>.active>a,
    .dropdown-menu>.active>a:hover,
    .dropdown-menu>.active>a:focus {
        background: none;
        color: #000;
    }
    .content {
        margin: 0 10px;
    }
    address,
    .footer-form,
    .copy {
        text-align: center;
        line-height: 20px;
    }
    address {
        padding-bottom: 0;
    }
    .top-link {
        float: none;
    }
    .social-text {
        float: none;
        text-align: center;
    }
    .social-img {
        float: none;
        text-align: center;
    }
    .header-main .span6 {
        width: 50%;
        float: left;
    }
    .header-main {
        padding: 10px;
    }
    .index-two {
        padding: 20px;
    }
    .footer-main {
        text-align: center;
    }
    .general-content {
        padding: 20px;
    }
    #blog-menu input {
        width: 75%;
    }
    #blogs {
        width: 100%;
        float: left;
    }
    #blog-menu {
        width: 100%;
        float: left;
        margin-top: 30px;
    }
    .banner-text-other h1 {
        margin: 2.5% auto 10px auto;
        font-size: 22px;
        line-height: 30px;
    }
    .banner-other-content {
        top: 100%;
        transform: translate(-50%, 0);
    }
    .logo-absolute {
        top: 130%;
        right: 20px;
        width: 120px;
        bottom: unset;
    }
}


/* Landscape phones and down iphone 320x480 */

@media (max-width: 480px) {
    .banner,
    .general-banner {
        display: none;
    }
    .dropdown-menu>.active>a,
    .dropdown-menu>.active>a:hover,
    .dropdown-menu>.active>a:focus {
        background: none;
        color: #000;
    }
    .general-content {
        padding: 20px;
    }
    #cookie-bar {
        font-size: 12px;
    }
    .mobile-banner {
        display: block;
    }
    header {
        text-align: center;
    }
    nav {
        text-align: left;
    }
    #header-info {
        float: none;
        text-align: center;
    }
    #logo {
        float: none;
    }
    footer {
        text-align: center;
        font-size: 10px;
    }
    .copy {
        padding: 0;
        line-height: 20px;
    }
    .index-two {
        padding: 20px;
    }
    #blog-menu input {
        width: 75%;
    }
    .blog header {
        text-align: left;
    }
    .blog-post-date {
        font-size: 10px;
    }
    .middleton-wrap {
        display: block;
    }
    .middleton-32,
    .middleton-32-img {
        display: block;
        width: 100%;
    }
    .gallery-holder {
        margin-left: 8px;
    }
    .banner-other-content {
        top: 78%;
        transform: translate(-50%, -50%);
    }
}


/* ==========================================================================
      Icon Slider Styles
      ========================================================================== */

.iconSlider-content {
    width: 100%;
    display: flex;
}

.iconSlider-cover {
    width: 100%;
    height: 80px;
    overflow: hidden;
    position: relative;
}

.iconSlider {
    width: 100%;
    height: 80px;
    overflow: hidden;
    position: absolute;
}

.iconSlider ul {
    list-style-type: none;
    position: absolute;
    width: max-content;
    height: 100%;
    margin: 0;
    display: flex;
    text-align: center;
    /* Starting position */
    /* -moz-transform: translateX(100%);
       -webkit-transform: translateX(100%);
       transform: translateX(100%); */
    /* Apply animation to this element */
    -moz-animation: iconSlider 15s linear infinite;
    -webkit-animation: iconSlider 15s linear infinite;
    animation: iconSlider 15s linear infinite;
}

.iconSlider2 {
    animation: showMe 0s 7.5s forwards;
    visibility: hidden;
}

.iconSlider2 ul {
    animation-delay: 7.5s;
}

.iconSlider li {
    align-self: center;
}


/* Move it (define the animation) */

@-moz-keyframes iconSlider {
    0% {
        -moz-transform: translateX(100%);
    }
    100% {
        -moz-transform: translateX(-100%);
    }
}

@-webkit-keyframes iconSlider {
    0% {
        -webkit-transform: translateX(100%);
    }
    100% {
        -webkit-transform: translateX(-100%);
    }
}

@keyframes iconSlider {
    0% {
        -moz-transform: translateX(100%);
        /* Firefox bug fix */
        -webkit-transform: translateX(100%);
        /* Firefox bug fix */
        transform: translateX(100%);
    }
    100% {
        -moz-transform: translateX(-100%);
        /* Firefox bug fix */
        -webkit-transform: translateX(-100%);
        /* Firefox bug fix */
        transform: translateX(-100%);
    }
}

@keyframes showMe {
    to {
        visibility: visible;
    }
}