/*
Theme Name:     Pascal Douillard
Description:    Sparkling theme child
Author:         Nathalie Croze
Author URI:     http://www.nathalie-croze.com/
Template:       sparkling                             
Version:        1.0.0
*/
@import url("../sparkling/style.css");

/* = FONTS
 ----------------------- */
@font-face {
    font-family: 'Allura';
    src: url('inc/fonts/allura-regular/allura-regular-webfont.eot');
    src: url('inc/fonts/allura-regular/allura-regular-webfont.eot#iefix') format('embedded-opentype'),
    url('inc/fonts/allura-regular/allura-regular-webfont.woff') format('woff2'),
    url('inc/fonts/allura-regular/allura-regular-webfont.woff') format('woff'),
    url('inc/fonts/allura-regular/allura-regular-webfont.ttf') format('truetype'),
    url('inc/fonts/allura-regular/allura-regular-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'cac_champagneregular';
    src: url('inc/fonts/CAC-Champagne/cac_champagne-webfont.eot');
    src: url('inc/fonts/CAC-Champagne/cac_champagne-webfont.eot#iefix') format('embedded-opentype'),
    url('inc/fonts/CAC-Champagne/cac_champagne-webfont.woff') format('woff'),
    url('inc/fonts/CAC-Champagne/cac_champagne-webfont.ttf') format('truetype'),
    url('inc/fonts/CAC-Champagne/cac_champagne-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* COMMON
 ----------------------- */
/* screan-reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
}

#logo a img{
    width: auto;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .entry-title {
    font-family: 'cac_champagneregular', "Times New Roman", serif;
    color: #b74d28;
    font-weight: 400;
}

h1, .h1 {
    font-size: 3.5em;
}
h2, .h2 {
    font-size: 3em;
}
h3, .h3 {
    font-size: 2.8em;
}
h4, .h4 {
    font-size: 2.4em;
}
h5, .h5 {
    font-size: 2em;
}
h6, .h6 {
    font-size: 1.8em;
}
.entry-title {
    text-align: center;
}

a {
    color: #b7785b;
}
a:hover,
a:active {
    color: #b74d28;
}

button {
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

address {
    margin-bottom: 0;
}

blockquote {
    border-left: 2px solid #B7785B;
    font-family: 'cac_champagneregular', "Times New Roman", serif;
    font-size: 1.8em;
    line-height: 1.2em;
}
pre {
    border-radius: 0;
}

::selection {
    background: #E8D8D1; /* WebKit/Blink Browsers */
}
::-moz-selection {
    background: #E8D8D1; /* Gecko Browsers */
}
a:focus,button:focus,input:focus,textarea:focus,.btn:focus,.wpcf7-form-control:focus {
    outline-color: #b74d28;
}

/* = HEADER
---------------------- */
/* navbar */
.navbar-default .navbar-collapse {
    border: 0;
    box-shadow: none;
}
.navbar-default .navbar-collapse ul {
    margin-top: 10px;
}
.navbar-toggle {
    margin-right: 0;
}
#masthead .navbar.navbar-default {
    padding: 10px;
}

.navbar-toggle {
    border: 0;
}
.navbar-toggle:hover {
    -webkit-transform: scale(1.2);
    -moz-transform:    scale(1.2);
    -ms-transform:     scale(1.2);
    -o-transform:      scale(1.2);
    transform:         scale(1.2);
}

.site-header {
    background: transparent;
    border-bottom: 2px solid #fff;
}

.navbar > .container .navbar-brand {
    font-family: 'cac_champagneregular', "Times New Roman", serif;
    font-size: 3em;
    color: #ffffff;
}

/* Menu */
#menu-main-menu a {
    font-size: 1em;
}

#menu-main-menu a:hover {
    color: #fff;
    background: #b74d28;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
    color: #fff;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .open > a {
    font-weight: 600;
}


/* Pages éléments généraux*/

.post-inner-content:first-child {
    border: none;
}

.site-content {
    background-color: #ffffff;
}

.post-inner-content {
    border: none;
    padding: 0;
    background: none;
}
.widgettitle {
    text-transform: none;
    font-size: 1.6em;
}

/* =Navigation
----------------------------------------------- */
.site-content [class*="navigation"] a {
    border-color: #f8f8f8;
    border-radius: 0;
}
.site-content [class*="navigation"] a:hover {
    background: #b74d28;
}

/* HOMEPAGE
--------------------------- */
/* Slider */
/* dot pagination */
.flex-control-paging li a {
    height: 10px;
    width: 10px;
    border-radius: 50%;
}

.flex-control-paging li a.flex-active {
    -webkit-transform: scale(2);
    -moz-transform: scale(2);
    -ms-transform: scale(2);
    -o-transform: scale(2);
    transform: scale(2);
}

.flex-control-paging li a,
.flex-control-paging li a:hover,
.flex-control-paging li a.flex-active {
    background-color: #fff;
    box-shadow: none;
}

/* prev/next pagination */
.flex-direction-nav a {
    background: url('inc/img/sprite.png') -106px 0;
    width: 30px;
    height: 84px;
    top: 50%;
    margin: auto 40px;
    margin-top: -42px;
}
.flex-direction-nav a.flex-prev {
    background-position: -70px 0;
}
.flex-direction-nav a:before {
    display: none;
}
.ie8 .flex-direction-nav .flex-prev {
    left: 0;
}
.ie8 .flex-direction-nav .flex-next {
    right: 0;
}

.flex-caption .excerpt {
    background: transparent;
    color: #fff;
    font-family: 'Allura', "Times new roman", serif;
    font-size: 2em;
    line-height: 1.2em;
    max-width: 100%;
    padding: 0 100px;
    text-align: center;
    /* @todo gmi mieux voir */
/*
    box-shadow: 0 0 40px 40px rgba(3, 3, 3, 0.5);
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 30%;
*/
}
.excerpt {
    margin: 0;
}

/* Title */
.home #main .entry-title {
    /* screan-reader only */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
}
/* Content */
.home #main .entry-content {
    text-align: center;
}

.home #main .entry-content h2 {
    position: relative;
    padding-top: 20px;
}
.home #main .entry-content h2:after {
    background: url('inc/img/sprite.png') -8px -160px;
    content: "";
    display: block;
    width: 130px;
    height: 66px;
    margin: auto;
    position: absolute;
    top: 86px;
    left: 50%;
    margin-left: -65px;
}
.home #main .entry-content h2:first-child:after {
    background-position: -33px -230px;
    width: 80px;
    height: 80px;
    top: -60px;
    margin-left: -40px;
}

.home #main .entry-content h2:before {
    content: "";
    display: block;
    margin: 20px auto 110px;
    background: #bbb;
    width: 50%;
    height: 1px;
}
.home #main .entry-content h2:first-child:before {
    display: none;
}
.home #main .entry-content ul {
    list-style: none;
    padding: 0;
}
.home #main .entry-content li:before {
    content: "";
    display: block;
    margin: 10px auto;
    background: #B74D28;
    width: 4px;
    height: 4px;
    border-radius: 50%;
}
.home #main .entry-content li:first-child:before {
    display: none;
}

/* Page Galerie
 ------------------ */

figure.effect-bubba h2 {
    font-family: 'OpenSans', Arial, sans-serif;
    font-size: 1em;
    color: #fff;
}
.mfp-image-holder .mfp-close:hover,
.mfp-image-holder .mfp-close:focus,
.mfp-iframe-holder .mfp-close:hover,
.mfp-iframe-holder .mfp-close:focus,
.mfp-arrow:hover,
.mfp-arrow:focus {
    background-color: transparent;
}

/* Page Contact
 ------------------ */
.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 4px;
}

input[type="text"], input[type="email"], textarea {
    border: 1px solid #b7785b;
    border-radius: 0;
    padding: 16px;
    width: 100%;
}

input.wpcf7-submit {
    background-color: #b7785b;
    border: none;
    border-radius: 0;
    font-family: 'cac_champagneregular', "Times New Roman", serif;
    font-size: 3em;
    font-weight: normal;
    text-transform: capitalize!important;
    width: 100%;
}

input.wpcf7-submit:hover {
    background-color: #b74d28;
}

/* form validation */
span.wpcf7-not-valid-tip,
div.wpcf7-response-output,
div.wpcf7-validation-errors {
    color: #fff;
    background: rgb(194, 54, 5);
    padding: 4px 8px;
}
div.wpcf7-response-output {
    border: 0;
    clear: both;
    margin: auto 15px;
    padding: 14px 18px;
}
div.wpcf7-mail-sent-ok {
    background: rgb(36, 207, 136);
}

.form-group {
    margin: 0;
}

label {
    color: #6B6B6B;
    font-weight: normal;
    text-transform: uppercase;
    margin-top: 2.5%;

}

/* Page Services
 ---------------------- */
.page-services h2 {
    margin-top: 40px;
}
.page-services h1:before {
    background: url('inc/img/sprite.png') -33px -230px;
    content: "";
    display: block;
    width: 80px;
    height: 80px;
    margin: auto;
}

/* top-left */
.page-services .entry-content .row > div h2:before{
    background-position: -242px -110px;
}
/* top-right */
.page-services .entry-content .row > div + div h2:before {
    background-position: -140px -110px;
}
/* bottom-left */
.page-services .entry-content .row + .row > div h2:before {
    background-position: -350px -110px;
}
/* bottom-right */
.page-services .entry-content .row + .row > div + div h2:before {
    background-position: -448px -110px;
}


/* Page Actualités
 ---------------------- */
.entry-title a {
    color: #b7785b;
}

.entry-title a:hover {
    color: #b74d28;
}

.read-more {
    border-radius: 0;
    background-color: #b7785b;
    border: none;
}

.read-more:hover {
    background-color: #b74d28;
}

/* = Sidebar / Widgets
 --------------------------- */
.well {
    background-color: #F8F8F8;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.form-search .search-query {
    padding: 24px;
    border: 0;
    box-shadow: 0 2px 0 #b7785b;
    font-size: 1.4em;
    font-weight: 100;
}
.form-search .search-query:hover,
.form-search .search-query:focus {
    box-shadow: 0 2px 0 #b74d28;
}

button#searchsubmit {
    background-color: #b7785b;
    border-color: #b7785b;
    border-radius: 0;
    padding: 14px 0;
    margin-left: 10px;
    width: 50px;
}

button#searchsubmit:hover,
button#searchsubmit:focus {
    background-color: #b74d28;
    border-color: #b74d28;
}

#secondary .widget {
    position: relative;
}
#secondary .widget > h3 {
    color: #b7785b;
    font-size: 2.4em;
    text-align: center;
    text-transform: none;
}

#menu-liens, .widget_recent_entries, .widget_archive {
    text-align: center;
}

#secondary .widget ul li {
    text-align: center;
}
#secondary .widget ul li a {
    padding: 10px;
}

#secondary .widget a:hover {
    color: #C4522B;
}

.widget_archive ul li:before {
    display: none;
}

/* = Footer
---------------------------- */
#colophon {
    background-color: #ffffff;
    border-top: 2px solid #b74d28;

}
.site-info {
    margin-top: 10px;
}

#footer-area .address {
    text-align: right;
}
#footer-area address strong {
    font-size: 1.1em;
    padding-top: 1.5%;
}
#footer-area, #footer-area address {
    line-height: 1.6em;
}
#footer-area address:before {
    background: url('inc/img/sprite.png') 0 -10px;
    content: "";
    display: block;
    float: left;
    height: 60px;
    width: 70px;
    padding-right: 20px;
}
#footer-area a {
    color: #8e8e8e;
}
#footer-area a:hover {
    color: #b74d28;
}

/* social */
.social-icons {
    text-align: center;
    margin: 10px auto;
}
#footer-area .social-icons a {
    background-color: #b74d28;
    border-radius: 50%;
    font-size: 30px;
    line-height: 50px;
    height: 50px;
    margin: 0 0 0 10px;
    width: 50px;
}
#footer-area .social-icons a:hover {
    color: #fff;
}

/* nav & copyright */
#footer-area .copyright ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#footer-area .copyright li {
    margin-top: 10px;
}
#footer-area .nav>li>a {
    text-transform: none;
    padding: 0;
    position: relative;
}

/**
 * = Slider (Homepage)
 * ==============================
 */
.global-featured {
    max-height: 400px;
    overflow: hidden;
}
.page-contact .no-featured {
    min-height: 0!important;
}

/* =Gallery
-------------------------------------------------------------- */
.gallery {
    margin-bottom: 0;
}
.page-galerie h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
}

.tiled-gallery {
    margin-top: 60px!important;
}

.gallery-row figure {
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

/* Filtering items */
/*-----------------*/
.tiled-gallery-item {
    transition: all 0.6s ease-in-out;
}
.page-galerie #main .entry-content {
    text-align: center;
}
.page-galerie #main .entry-content input,
.ie8 .page-galerie #main .entry-content label {
    display: none;
}
.page-galerie #main .entry-content label {
    background: #fff;
    border: 2px solid #b74d28;
    color: #b74d28; /*#b7785b;*/
    cursor: pointer;
    padding: 10px 30px;
    margin: -2px -6px 0 0;
}
.page-galerie #main .entry-content label:hover {
    background: #b74d28;
    color: #fff; /*#b7785b;*/
}
input.ff-selector-type-all:checked + label,
input.ff-selector-type-image:checked + label,
input.ff-selector-type-video:checked + label {
    background: #b74d28!important;
    color: #fff!important;
}

input.ff-selector-type-image:checked ~ .tiled-gallery .tiled-gallery-item:not(.media-image),
input.ff-selector-type-video:checked ~ .tiled-gallery .tiled-gallery-item:not(.media-video) {
    opacity: 0.1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=10)";
    filter: alpha(opacity=10);
    transform: scale(0.8);
}
input.ff-selector-type-image:checked ~ .tiled-gallery .tiled-gallery-item:not(.media-image):after,
input.ff-selector-type-video:checked ~ .tiled-gallery .tiled-gallery-item:not(.media-video):after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 99;
}

/**
 * = News page
 * ==============================
 */
.category-actualites .page-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
}
.category-actualites #main article {
    border-top: 2px solid #eee;
    padding-top: 30px;
}
.category-actualites #main header + article {
    border-top: 0;
    padding-top: 0;
}

/* = Services page
 -------------------------- */

.panel-group .panel {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.panel-group .panel+.panel {
    margin-top: 4px;
}

#accordion-services-fabrication-restauration-instruments .panel-heading,
#accordion-services-fabrication-restauration-instruments h2 {
    margin: 0;
    padding: 0;
    text-align: right;
    background-color: transparent;
    display: block;
}
#accordion-services-fabrication-restauration-instruments h2 a {
    background-color: rgba(0, 0, 0, .4);
    display: block;
    padding: 40px 60px;
    position: relative;
    width: 100%;
    height: 100%;
}
#accordion-services-fabrication-restauration-instruments h2 a:hover {
    background-color: rgba(0,0,0, 0);
}
.ie8 #accordion-services-fabrication-restauration-instruments h2 a:hover {
    text-decoration: underline;
}
#accordion-services-fabrication-restauration-instruments h2 a.collapsed {
    text-align: right;
}
#accordion-services-fabrication-restauration-instruments .panel {
    background-color: #303030;
    background-position: center;
    background-size: cover;
    -webkit-background-size: cover;
}
#accordion-services-fabrication-restauration-instruments h2 a,
#accordion-services-fabrication-restauration-instruments p {
    color: #fff;
}
#accordion-services-fabrication-restauration-instruments .panel-body {
    border-top: 2px solid #fff;
    padding: 60px 0;
    margin: 0 60px;
}

/* Inner elements animations */

@-webkit-keyframes anim-open {
    0% { opacity: 0; -webkit-transform: translate3d(0, -100px, 0); }
    100% { opacity: 1; -webkit-transform: translate3d(0, 0, 0); }
}

@keyframes anim-open {
    0% { opacity: 0; -webkit-transform: translate3d(0, -100px, 0); transform: translate3d(0, -100px, 0); }
    100% { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
}

@-webkit-keyframes anim-close {
    0% { opacity: 1; -webkit-transform: translate3d(0, 0, 0); }
    100% { opacity: 0; -webkit-transform: translate3d(0, -40px, 0); }
}

@keyframes anim-close {
    0% { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
    100% { opacity: 0; -webkit-transform: translate3d(0, -40px, 0); transform: translate3d(0, -40px, 0); }
}

#accordion-services-fabrication-restauration-instruments .panel-collapse[aria-expanded="false"] {
    -webkit-animation: anim-close 0.6s both;
    animation: anim-close 0.6s both;
}
#accordion-services-fabrication-restauration-instruments .panel-collapse[aria-expanded="true"] {
    -webkit-animation: anim-open 0.4s both;
    animation: anim-open 0.4s both;
}

/* = Contact page
 -------------------------- */

.page-contact .col-lg-4 {
    text-align: center;
}
.page-contact .contact-info li {
    border: 0;
    padding: 4px 0;
}
.page-contact .contact-info li strong {
    color: #b74d28;
    font-family: 'cac_champagneregular', "Times New Roman", serif;
    font-size: 3em;
    font-weight: normal;
}

/** Google Maps */
.page-contact #map-canvas {
    width: 100%;
    height: 200px;
}
.page-contact #map-canvas img {
    max-width: inherit;
}

.gallery-row figure figcaption {
    display: none;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
    /* HEADER */
    .navbar-header {
        float: none;
        text-align: center;
    }
    .nav.navbar-nav {
        float: none;
        text-align: center;
        margin: 20px auto 0;
    }
    .navbar-nav>li {
        display: inline-block;
        float: none;
    }
    .social-icons {
        text-align: right;
        margin: 0;
    }

    /* Footer */
    #footer-area .address {
        text-align: left;
    }

    /**
     * = mediagallery / Tiled gallery
     * ==============================
     */
    /**
     * @see http://tympanus.net/codrops/2014/06/19/ideas-for-subtle-hover-effects/ Codrops hover effects
     *
     * Common effects
     -----------------*/
    .gallery-row figure img {
        position: relative;
        display: block;
        min-height: 100%;
        max-width: 100%;
        opacity: 0.8;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
        filter: alpha(opacity=80);
        z-index: 10;
    }

    .gallery-row figure figcaption {
        display: block;
        padding: 2em;
        color: #fff;
        text-transform: uppercase;
        font-size: 1.25em;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        text-align: center;
        z-index: 30;
    }
    .gallery-row figure figcaption > div {
         display: table;
        height: 100%;
        width: 100%;
     }
    .gallery-row figure figcaption > div > div{
        display: table-cell;
        vertical-align: middle;
    }

    .gallery-row figure h2 {
        font-weight: 300;
    }

    .gallery-row figure h2 span {
        font-weight: 800;
    }

    .gallery-row figure h2,
    .gallery-row figure i {
        margin: 0;
        padding: 0;
    }

    /* MEDIAS */
    /* media-image : as default */
    .gallery-row figure i {
        background: transparent url('inc/img/sprite.png');
        display: block;
        width: 56px;
        height: 56px;
        background-position: 0 -95px;
        margin: auto;
    }
    .gallery-row .media-video figure i {
        background-position: -45px -95px;
    }

    /***** Bubba *****/
    /*---------------*/

    figure.effect-bubba {
        /*background: #9e5406;*/
    }

    figure.effect-bubba:before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        margin: 2px;
        background: rgb(54, 54, 54);
        background: rgba(0,0,0,0.6);
        z-index: 20;
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        filter: alpha(opacity=0);
    }
    figure.effect-bubba:hover:before {
        opacity: 1;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
        filter: alpha(opacity=100);
        -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
        transition: opacity 0.35s, transform 0.35s;
    }

    figure.effect-bubba img {
        opacity: 0.9;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
        filter: alpha(opacity=90);
        -webkit-transition: opacity 0.35s;
        transition: opacity 0.35s;
    }

    figure.effect-bubba figcaption:before,
    figure.effect-bubba figcaption:after {
        position: absolute;
        top: 10px;
        right: 10px;
        bottom: 10px;
        left: 10px;
        content: '';
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        filter: alpha(opacity=0);
        -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
        transition: opacity 0.35s, transform 0.35s;
    }

    figure.effect-bubba figcaption:before {
        border-top: 1px solid #fff;
        border-bottom: 1px solid #fff;
        -webkit-transform: scale(0, 1);
        transform: scale(0, 1);
    }

    figure.effect-bubba figcaption:after {
        border-right: 1px solid #fff;
        border-left: 1px solid #fff;
        -webkit-transform: scale(1, 0);
        transform: scale(1, 0);
    }

    .ie8 figure.effect-bubba figcaption:before,
    .ie8 figure.effect-bubba figcaption:after {
        display: none;
    }

    figure.effect-bubba h2 {
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        filter: alpha(opacity=0);
        -webkit-transition: -webkit-transform 0.35s;
        transition: transform 0.35s;
        -webkit-transform: translate3d(0, -20px, 0);
        transform: translate3d(0, -20px, 0);
    }

    figure.effect-bubba i {
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        filter: alpha(opacity=0);
        -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
        transition: opacity 0.35s, transform 0.35s;
        -webkit-transform: translate3d(0, 20px, 0);
        transform: translate3d(0, 20px, 0);
    }

    figure.effect-bubba:hover figcaption:before,
    figure.effect-bubba:hover figcaption:after {
        opacity: 1;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
        filter: alpha(opacity=100);
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    .ie8 figure.effect-bubba:hover figcaption:before,
    .ie8 figure.effect-bubba:hover figcaption:after {
        display: block;
    }

    figure.effect-bubba:hover h2,
    figure.effect-bubba:hover i {
        opacity: 1;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
        filter: alpha(opacity=100);
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    /* Page contact */
    .page-contact label.col-sm-2.control-label {
        padding: 0;
    }
    .page-contact #map-canvas {
        height: 500px;
    }

    /* footer */
    #footer-area .copyright {
        width: 100%;
    }
    #footer-area .copyright ul {
        float: none;
        display: inline-block;
    }
    #footer-area .copyright li {
        display: inline;
    }
    #footer-area .copyright li:before {
        content: " | ";
    }
    #menu-footer li:first-child:before {
        content: "";
    }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
    /* admin bar */
    .admin-bar #masthead {
        top: 32px;
    }


    /* = COMMON */
    #page .col-md-8 {
        width: 66.66666667%;
    }
    .page-template-page-fullwidth-php #content.col-md-8 {
        width: 100%;
    }

    .no-featured {
        min-height: 110px;
        background: #b7785b;
    }
    .home .no-featured {
        min-height: 0!important;
    }

    .flex-caption .excerpt {
        font-size: 2.4em;
    }

    /* = HEADER */
    #masthead {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 20;
        width: 100%;
        background-color: rgb(54, 54, 54);
        background-color: rgba(0, 0, 0, 0.4);
    }

    #masthead .navbar.navbar-default {
        display: block;
        width: 100%;
        height: 100%;
        background: transparent;
    }
    .navbar-default .navbar-collapse ul {
        margin-top: 0;
    }


    .navbar-header {
        float: left;
    }
    .nav.navbar-nav {
        float: right;
        margin: 0;
    }

    /* = Main menu */
    #menu-main-menu a:hover {
        color: #fff;
        background: none;
    }
    /* Effect 3: bottom line slides/fades in */
    .navbar-default .navbar-nav > li > a span {
        position: relative;
    }

    .navbar-default .navbar-nav > li > a span:before {
        position: absolute;
        bottom: 160%;
        left: 0;
        width: 100%;
        height: 4px;
        padding: 0;
        background: rgb(230, 230, 230);
        background: rgba(255, 255, 255, 0.6);
        content: '';
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        filter: alpha(opacity=0);
        -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
        -moz-transition: opacity 0.3s, -moz-transform 0.3s;
        transition: opacity 0.3s, transform 0.3s;
        -webkit-transform: translateY(10px);
        -moz-transform: translateY(10px);
        transform: translateY(10px);
    }
    .ie8 .navbar-default .navbar-nav > li > a span:before {
        display: none;
    }
    .navbar-default .navbar-nav > li.active > a span:before {
        background: rgb(255, 255, 255);
        background: rgba(255, 255, 255, 0.8);
    }
    .navbar-default .navbar-nav > li > a:hover span:before,
    .navbar-default .navbar-nav > li > a:focus span:before,
    .navbar-default .navbar-nav > li.active > a span:before {
        opacity: 1;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
        filter: alpha(opacity=100);
        -webkit-transform: translateY(0px);
        -moz-transform: translateY(0px);
        transform: translateY(0px);
    }
    .ie8 .navbar-default .navbar-nav > li > a:hover span:before,
    .ie8 .navbar-default .navbar-nav > li > a:focus span:before,
    .ie8 .navbar-default .navbar-nav > li.active > a span:before {
        display: block;
    }

    /* = Slider
     ----------------------------- */
    /* prev/next pagination */
    .flex-direction-nav a {
        margin-top: 0;
    }

    /* = Media gallery
     ----------------------------- */

    .gallery-row figure h2 {
        font-size: 1.4em;
    }
    figure.effect-bubba figcaption:before,
    figure.effect-bubba figcaption:after {
        top: 30px;
        right: 30px;
        bottom: 30px;
        left: 30px;
    }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

    /* Page Services
     ----------------- */
    .page-services h2:before {
        margin-top: -20px;
    }
}