/*
Theme Name: Carvalho Architects
Theme URI: http://pushthebrand.com
Author: Team Push The Brand - Roberto Entringer
Author URI: http://pushthebrand.com
Description: Theme Carvalho Architects
Tags: Push The Brand, Carvalho Architects, Architects
Text Domain: twentyfourteen
*/


/* Base / reset
----------------------------------------------------------------------------- */
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, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}

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

audio,canvas,video {display: inline-block;max-width: 100%}

html {
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust:     100%;
}

body,button,input,select,textarea {    
    color: #2b2b2b;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.35
}

body {background-color: #000}

a {color: #a2a2a2;text-decoration: none}
a:focus {outline: thin dotted;}
a:hover,a:active {outline: 0}
a:active,a:hover {color: #b8b8b8}
.entry-content a:hover {text-decoration: underline}

h1,h2,h3,h4,h5,h6 {clear: both;font-weight: 300;margin: 0 0 10px}
h1 {font-size: 26px;line-height: 1.3846153846}
h2 {font-size: 24px;line-height: 1}
h3 {font-size: 22px;line-height: 1.0909090909}
h4 {font-size: 20px;line-height: 1.2}
h5 {font-size: 18px;line-height: 1.3333333333}
h6 {font-size: 16px;line-height: 1.5}

address {font-style: italic;margin-bottom: 10px}
abbr[title] {border-bottom: 1px dotted #2b2b2b;cursor: help}

b,strong {font-weight: 700}

cite,dfn,em,i {font-style: italic}
mark,ins {background: #fff9c0;text-decoration: none}

p {margin-bottom: 10px}

code,kbd,tt,var,samp,pre {
    font-family: monospace, serif;
    font-size: 15px;
    -webkit-hyphens: none;
    -moz-hyphens:    none;
    -ms-hyphens:     none;
    hyphens:         none;
    line-height: 1.6;
}

pre {
    border: 1px solid rgba(0, 0, 0, 0.1);
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
    margin-bottom: 10px;
    max-width: 100%;
    overflow: auto;
    padding: 12px;
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

blockquote,q {
    -webkit-hyphens: none;
    -moz-hyphens:    none;
    -ms-hyphens:     none;
    hyphens:         none;
    quotes: none;
}

blockquote:before,blockquote:after,q:before,q:after {content: "";content: none}
blockquote {
    color: #767676;
    font-size: 19px;
    font-style: italic;
    font-weight: 300;
    line-height: 1.2631578947;
    margin-bottom: 10px;
}
blockquote cite,blockquote small {
    color: #2b2b2b;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}
blockquote em,blockquote i,blockquote cite {font-style: normal}
blockquote strong,blockquote b {font-weight: 400}

small {font-size: smaller}
big {font-size: 125%}
sup,sub {
    font-size: 75%;
    height: 0;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sup {bottom: 1ex}
sub {top: .5ex}

dl {margin-bottom: 10px}
dt {font-weight: bold}
dd {margin-bottom: 10px}

ul,ol {list-style: none;margin: 0 0 10px 20px}
ul {list-style: disc}
ol {list-style: decimal}
li > ul,li > ol {margin: 0 0 0 20px}

img {
    -ms-interpolation-mode: bicubic;
    border: 0;
    vertical-align: middle;
}
figure {margin: 0}

fieldset {
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin: 0 0 10px;
    padding: 11px 12px 0;
}
legend {white-space: normal}
button,input,select,textarea {
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
    font-size: 100%;
    margin: 0;
    max-width: 100%;
    vertical-align: baseline;
}
button,input {line-height: normal}
input,textarea {
    background-image: -webkit-linear-gradient(hsla(0,0%,100%,0), hsla(0,0%,100%,0)); /* Removing the inner shadow, rounded corners on iOS inputs */
}
button,html input[type="button"],input[type="reset"],input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}
button[disabled],input[disabled] {cursor: default}
input[type="checkbox"],input[type="radio"] {padding: 0}
input[type="search"] {-webkit-appearance: textfield}
input[type="search"]::-webkit-search-decoration {-webkit-appearance: none}
button::-moz-focus-inner,input::-moz-focus-inner {border: 0;padding: 0}
textarea {overflow: auto;vertical-align: top}

table,th,td {border: 1px solid rgba(0, 0, 0, 0.1)}
table {
    border-collapse: separate;
    border-spacing: 0;
    border-width: 1px 0 0 1px;
    margin-bottom: 10px;
    width: 100%;
}
caption,th,td {font-weight: normal;text-align: left}
th {border-width: 0 1px 1px 0;font-weight: bold}
td {border-width: 0 1px 1px 0}

del {color: #767676}

hr {
    background-color: rgba(0, 0, 0, 0.1);
    border: 0;
    height: 1px;
    margin-bottom: 23px;
}

/* Support a widely-adopted but non-standard selector for text selection styles
 * to achieve a better experience. See http://core.trac.wordpress.org/ticket/25898.
 */
::selection {background: #eee;color: #fff;text-shadow: none}
::-moz-selection {background: #eee;color: #fff;text-shadow: none}


/* Repeatable Patterns
----------------------------------------------------------------------------- */
/* Input fields */
input,textarea {
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #2b2b2b;
    border-radius: 0;
    padding: 8px 10px 7px;
}
textarea {width: 100%}
input:focus,textarea:focus {border: 1px solid rgba(0, 0, 0, 0.3);outline: 0}

/* Buttons */
button,.button,input[type="button"],input[type="reset"],input[type="submit"] {
    background-color: #000;
    border: 0;
    border-radius: 0;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 10px 30px 11px;
    text-transform: uppercase;
    vertical-align: bottom;
}

button:hover,
button:focus,
.button:hover,
.button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {background-color: #a6a6a6;color: #fff}

button:active,
.button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {background-color: #bbb}

/* Placeholder text color -- selectors need to be separate to work. */
::-webkit-input-placeholder {color: #939393}
:-moz-placeholder {color: #939393}
::-moz-placeholder {color: #939393;opacity: 1; /* Since FF19 lowers the opacity of the placeholder by default */}
:-ms-input-placeholder {color: #939393}

/* Responsive images. Fluid images for posts, comments, and widgets */
.comment-content img,
.entry-content img,
.entry-summary img,
#site-header img,
.widget img,
.wp-caption {max-width: 100%}

/* Make sure images with WordPress-added height and width attributes are scaled correctly. */
.comment-content img[height],
.entry-content img,
.entry-summary img,
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"],
#site-header img {height: auto}

img.size-full,img.size-large,.wp-post-image,.post-thumbnail img {
    height: auto;max-width: 100%
}

/* Make sure embeds and iframes fit their containers */
embed,iframe,object,video {margin-bottom: 10px;max-width: 100%}

p > embed,p > iframe,p > object,span > embed,span > iframe,span > object {
    margin-bottom: 0;
}

/* Alignment */
.alignleft {float: left}
.alignright {float: right}
.aligncenter {display: block;margin-left: auto;margin-right: auto}

blockquote.alignleft,figure.wp-caption.alignleft,img.alignleft {
    margin: 7px 24px 7px 0;
}

.wp-caption.alignleft {margin: 7px 14px 7px 0}

blockquote.alignright,figure.wp-caption.alignright,img.alignright {
    margin: 7px 0 7px 24px;
}

.wp-caption.alignright {margin: 7px 0 7px 14px}

blockquote.aligncenter,img.aligncenter,.wp-caption.aligncenter {
    margin-top: 7px;
    margin-bottom: 7px;
}

.site-content blockquote.alignleft,.site-content blockquote.alignright {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 17px;
    width: 50%;
}

.site-content blockquote.alignleft p,.site-content blockquote.alignright p {
    margin-bottom: 17px;
}

.wp-caption {margin-bottom: 10px}
.wp-caption img[class*="wp-image-"] {display: block;margin: 0}
.wp-caption {color: #767676}

.wp-caption-text {
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
    font-size: 12px;
    font-style: italic;
    line-height: 1.5;
    margin: 9px 0;
}

div.wp-caption .wp-caption-text {padding-right: 10px}
div.wp-caption.alignright img[class*="wp-image-"],
div.wp-caption.alignright .wp-caption-text {
    padding-left: 10px;
    padding-right: 0;
}

.wp-smiley {border: 0;margin-bottom: 0;margin-top: 0;padding: 0}

/* Assistive text */
.screen-reader-text {clip: rect(1px, 1px, 1px, 1px);position: absolute}
.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    line-height: normal;
    padding: 15px 23px 14px;
    position: absolute;
    left: 5px;
    top: 5px;
    text-decoration: none;
    text-transform: none;
    width: auto;
    z-index: 100000; /* Above WP toolbar */
}

.hide, .no-js .hide-no-js {display: none!important}

/* Clearing floats */
.clear:before,
.clear:after,
.footer-sidebar:before,
.footer-sidebar:after,
.hentry:before,
.hentry:after,
.gallery:before,
.gallery:after,
.slider-direction-nav:before,
.slider-direction-nav:after,
.contributor-info:before,
.contributor-info:after,
.search-box:before,
.search-box:after,
[class*="content"]:before,
[class*="content"]:after,
[class*="site"]:before,
[class*="site"]:after {content: ""; display: table}

.clear:after,
.footer-sidebar:after,
.hentry:after,
.gallery:after,
.slider-direction-nav:after,
.contributor-info:after,
.search-box:after,
[class*="content"]:after,
[class*="site"]:after {clear: both}

/* Genericons */
.bypostauthor > article .fn:before,
.comment-edit-link:before,
.comment-reply-link:before,
.comment-reply-login:before,
.comment-reply-title small a:before,
.contributor-posts-link:before,
.menu-toggle:before,
.search-toggle:before,
.slider-direction-nav a:before,
.widget_twentyfourteen_ephemera .widget-title:before {
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font: normal 16px/1 Genericons;
    text-decoration: inherit;
    vertical-align: text-bottom;
}

/* Separators */
.site-content span + .entry-date:before,
.full-size-link:before,
.parent-post-link:before,
span + .byline:before,
span + .comments-link:before,
span + .edit-link:before,
.widget_twentyfourteen_ephemera .entry-title:after {content: "\0020\007c\0020"}


/* fit img background div
----------------------------------------------------------------------------- */
.fit-bg, body.custom-background {
    background-position: center center!important;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover!important;
}
.fit-bg {background-attachment: scroll!important}
body.custom-background {background-attachment: fixed!important}


/* ccs3 effects
----------------------------------------------------------------------------- */
/* grayscale effect */
img.grayscale, div.grayscale { 
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    filter: gray
}
img.grayscale:hover, div.grayscale:hover  {
    -webkit-filter: grayscale(0);
    -moz-filter: grayscale(0);
    -ms-filter: grayscale(0);
    -o-filter: grayscale(0);
    filter: none;
}

/* blur effect*/
img.blur, div.blur { 
    -webkit-filter:  blur(3px);
    -moz-filter:  blur(3px);;
    -ms-filter:  blur(3px);
    -o-filter:  blur(3px);
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'blur\'><feGaussianBlur in=\'SourceGraphic\' stdDeviation=\'4\'/></filter></svg>#blur");
    filter:  blur(3px);
}

.cover {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%
}
.cover.blur {display: none}


/* Struture
----------------------------------------------------------------------------- */
html, body, #page {height: 100%; min-height: 100%}
body.js.page-template-page-contact-php {background-image: none!important}

#page {
    max-width: 33.3333333333%;
    -webkit-box-sizing: border-box; 
    -moz-box-sizing: border-box;    
    box-sizing: border-box;
}

article, #primary-navigation {position: relative; z-index: 5}

article {width: 235px; float: right}

/* page single projet */
.single-projet article {width: 100%; float: none}
.single-projet article .entry-content {float: right; width: 215px}

.entry-content {background: #fff; padding: 10px; position: relative; margin-bottom: 5px}
.page-title {font-size: 16px; line-height: 1.35; margin-top: 50px}

/* page contact */
.google-map {
    position: fixed!important; 
    z-index: 1; 
    width: 100%; 
    height: 100%; 
    top: 0; 
    left: 0
}

.width-logo {width: 220px; display: block; float: right}

.bt-action {
    background: #000;
    color: #000;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    position: absolute;
    right: 0;
    top: 0;
    display: block;
    cursor: pointer;
    font-weight: 700 
}

li.nav-ajax {padding: 7px 10px; text-align: center}
li.nav-ajax img {display: none}
.nav-ajax .icon {width:50px; display: block; line-height: 1.7; outline: none; padding: 0}
.nav-ajax .icon:hover{cursor:pointer}
.nav-ajax .prev {float: left; text-align: left}
.nav-ajax .next {float: right; text-align: right}

/* loading */
.js .bg-loading {background: #000 url(./library/img/loading.gif) no-repeat center center!important}

/* edit link */
#page .edit-link a {
    background: #eee;
    font-size: 12px;
    padding: 0 5px;
    color: #000;
    text-transform: lowercase;
    position: absolute!important;
    bottom: 0;
    right: 0;
    font-family: arial;
    font-weight: 300;
    z-index: 1
}
#page .edit-link a:hover {background: #ccc}


/* navigation
----------------------------------------------------------------------------- */
#primary-navigation a {text-transform: uppercase}
.nav-menu, .nav-menu ul {list-style: none; margin: 0}

.tax-genre .control, 
article.page-slider .control, 
.single-projet .hentry .control {display: block}

.control {clear: both; display: none}
.control .bt-action {position: inherit}

.nav-menu li > a, .page-title, .nav-ajax {
    height: 21px;
    color:#000;
    display:block; 
    padding:7px 15px;
    margin: 0 0 5px;
    background: #fff;
    transition: opacity .25s, background .25s;
}
.nav-menu li a,
.term-design.tax-genre .nav-menu .bt-projet a { opacity: 0.65; font-weight: normal}

.page-title,
.tax-genre .nav-menu .bt-projet a,
.single-projet .nav-menu .bt-projet a,
.nav-menu li.current-menu-item a,
.nav-menu li.current_page_item a {font-weight: 700}

.page-title,
.tax-genre .nav-menu .bt-projet a,
.term-design .nav-menu .bt-design a,
.single-projet .nav-menu .bt-projet a,
.nav-menu li a:hover, 
.nav-menu li.current-menu-item a,
.nav-menu li.current_page_item a {opacity: 1}

.nav-menu li.menu-action .bt-action {position: inherit}

/* home */
.home #primary-navigation {background: #000; overflow-y: auto}
.home .nav-menu li:last-child > a {margin-bottom: 0}
.home .nav-menu li a {background: #a6a6a6}
.home .nav-menu li a:hover, 
.home .nav-menu li.current-menu-item a {background:#fff}

/* header */
.nav-menu #site-header a {opacity: 1}
.home #site-header {background: #000; position: absolute; top: 16.5%; width: 100%; margin: 0}
#site-header {text-align: right; margin: 1.2em 0 3.5em}
#site-header h1 a {
    padding: 5px 15px 8px;
    display: block;
    line-height: 0; 
    background: #000
}
#site-header h1 a img {width: 220px; height: auto}

/* nav social */
.nav-social {margin: -5px 0 0 0; text-align: left; padding-right: 15px; list-style: none}
.nav-social li {display: inline-block}
.nav-social li a {
    display: block; 
    background-color: rgba(255, 255, 255, 0.7); 
    color: #000; 
    width: 20px; 
    height: 20px; 
    line-height: 20px; 
    text-align: center
}
.home .nav-social {margin-top: -10px};
.home .nav-social li a:link {color: #a6a6a6; margin-top: -5px}
.nav-social li a:hover {background-color: #fff}

/* secondary menu */
#menu-projets {margin-top: 50px; position: relative}
#menu-projets .sub-menu, .control.width-logo {width: 235px; position: relative}
#menu-projets .sub-menu .description {
    padding: 20px;
    background: #000;
    color: #fff;
    position: absolute;
    top: -40px;
    left: 100%;
    margin: 0 0 5px 5px;
    width: 420px;
    display: none
}
#menu-projets .sub-menu a {position: relative; text-transform: none}
#menu-projets .sub-menu a .bt-action {display: none; color: #000; background: #fff}
#menu-projets .sub-menu li.active .bt-action {color: #fff; background: #000}
.no-js .sub-menu li.current-menu-item .description,
#menu-projets .sub-menu li.active .description,
#menu-projets .sub-menu li.current-menu-item .bt-action {display: block}
#menu-projets .sub-menu li.active .bt-action {right: -5px; padding-right: 5px}
#menu-projets .sub-menu .description h3 {
    border-bottom: 2px solid rgba(255, 255, 255, 0.5); 
    padding: 17px 0 15px
}


/* social share
----------------------------------------------------------------------------- */
.social-share {
    position: absolute; 
    right: 0; 
    bottom: 100px; 
    z-index: 999; 
    list-style: none; 
    background-color: rgba(255, 255, 255, 0.7);
    padding-right: 10px;
    margin: 0;
}
.social-share li {display: inline-block; text-align: center}
.social-share li.text {padding: 0 5px 0 10px}
.social-share li a {display: block; margin:0; padding: 2px; color: #000; width: 25px}
.social-share li a:hover {background-color: #fff}

/* sliders
----------------------------------------------------------------------------- */
#page .flexslider {padding: 0; margin: 0; border: 0; box-shadow: none; border-radius: 0; background: #000}

/* google seo fallback image */
#slider-post .slides img {opacity: 0}

.no-js #page .flexslider li {display: block; margin-bottom: 5px}

/* hide /shom button in slider load */
.js.slider-loaded .bt-action {color:#fff}

/* nav slides */
#page ul.flex-direction-nav a:before{
    font-family: "push-the-brand" !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    speak: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
#page ul.flex-direction-nav .flex-prev:before {content: "a"}
#page ul.flex-direction-nav .flex-next:before{content: "b"}

#page .flexslider:hover .flex-direction-nav a {opacity: 0.7} /* fix bug opacity safari */
#slider-post .flex-direction-nav a {width: 75px; height: 75px}
#slider-post .flex-direction-nav {opacity: 1}
#slider-post .flex-direction-nav .flex-next {right: 30px} 
#slider-post .flex-direction-nav .flex-prev {left: inherit; right: 120px} 
#slider-post .flex-direction-nav a:before {font-size: 70px}

#carousel .flex-direction-nav a {
    width: 25px;
    height: 75px;
    line-height: 95px;
    background: #fff;
    top: 20px;
}
#carousel .flex-direction-nav a:before {font-size: 25px}
#carousel a.flex-next {right: 0}
#carousel a.flex-prev {left: 0}

/* slides post */
#slider-post.flexslider { 
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    width: 100%;
}
.js #slider-post.flexslider {position: fixed}

.js #slider-post,
.js #slider-post .flexslider,
.js #slider-post .flex-viewport,
.js #slider-post .slides,
.js #slider-post .slides li {height: 100%}

/* slides carousel */
#carousel.flexslider {
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
    position: fixed;
    z-index: 3;
    left: 0;
    top: 100%;
    bottom: -80px;
    height: 80px;
    width: 100%;
    padding: 5px;
    background: #fff; 
    -webkit-transition: bottom ease 0.5s;
    -moz-transition: bottom ease 0.5s;
    transition: bottom ease 0.5s;
}
#carousel.flexslider.active {bottom: 0px}
#carousel .slides li {margin-right: 5px}
#carousel .slides li:last-child {margin-right: 0}
#carousel .slides li, #carousel .slides li img {width: 105px}
#carousel .slides img {height: auto; cursor: pointer}

#carousel .bt-action {position: absolute; top: -40px; left: 0}


/* home / grid
----------------------------------------------------------------------------- */
body.home {background: #000!important}
.home #page {max-width: 100%; padding: 2px}
.home .fit-bg {background-attachment: scroll}
.home .grid {
    float: left;
    width:33.3333333333%; 
    height:33.3333333333%;

    -webkit-box-sizing: border-box; 
    -moz-box-sizing: border-box;    
    box-sizing: border-box;

    border: 3px solid #000;
    background-color: #a6a6a6;

    overflow: hidden;
    position: relative;    
}

.home .grid .nav-menu {width: 100%}

.home .grid .nav-menu, .home .grid figcaption {
    position: absolute;
    left: 0;
    top: 50%;
}

/* grid label */
.home .grid figcaption {
    display:inline-block;
    padding:7px;
    background : #a6a6a6;
    color:#000;
    z-index:1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.home .grid a:hover figcaption, .home .grid a figcaption:hover {
    background:#fff;
    -webkit-animation-name: wobble-horizontal;
    animation-name: wobble-horizontal;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
}
/* img fit div */
.home .grid figure {height: 100%}
.home .grid figure img {opacity: 0}


/* form - plugin contact form 7
----------------------------------------------------------------------------- */
#page .wpcf7-form-control-wrap, .wpcf7-submit {margin-top: 5px; display: block}
#page .wpcf7-form-control-wrap textarea {height: 200px}
#page .wpcf7-form input {width: 100%}
#page div.wpcf7-response-output, 
#page span.wpcf7-not-valid-tip {font-size: 12px}
#page div.wpcf7-response-output {
    margin: 5px 0 0;
    padding: 5px 10px;
    background: #fff;
}
#page div.wpcf7 img.ajax-loader {
    margin: 0;
    float: right;
    position: absolute;
    right: 10px;
    bottom: 8.5px;
    background: #fff;
    border-radius: 10px;
    padding: 2px;
}
#page span.wpcf7-not-valid-tip {margin: 10px}


/* media queries
----------------------------------------------------------------------------- */
/* two columns */
@media only screen and (max-width : 1079px) {
    .home .grid {width:50%}
}

/* one column */
@media only screen and (max-width : 740px) {

    /* structure */
    body {background: #000!important}
    #page {padding: 5px; max-width: 100%} /* padding: 7.5px*/
    #site-header, .home #site-header {height: auto; text-align: center; position: inherit; margin: 1.2em 0 1.5em}
    .width-logo, article, .entry-content {float: none;  width: auto!important}
    
    .nav-social {padding: 0; text-align: center}
    
    .social-share {position: static; text-align: right; margin-bottom: 5px} 
    
    #page .blur {
        -webkit-filter:  none;
        -moz-filter:  none;
        -ms-filter: none;
        -o-filter:  none;
        filter:none
    }

    #slider-post.bg-loading {background: none!important}

    #form-contact .wpcf7-submit {background: #a6a6a6; color: #000}
    .google-map {height: 300px; top: inherit; position: relative!important; margin-top: 5px}

    /* home */
    .home .grid {width:100%; height: auto}
    .home .grid .nav-menu {position: inherit}
    .home .grid figcaption {top: 40%}

    /* menus */
    #primary-navigation .control, article.page-slider .control {display: none}
    #primary-navigation .nav-menu, article.page-slider .entry-content {display: block!important}
    #menu-projets .sub-menu .description {
        position: relative;
        top: 0;
        left: 0;
        margin: -5px 0 5px 0;
        width: auto;
    }
    #menu-projets .sub-menu li.active .bt-action {right: 0;padding-right: 0}

    /* slides */
    #page #slider-post.flexslider {height: auto; position: inherit; background: none}
    #page #slider-post .slides li {display: block!important; float: none!important; opacity: 1!important; margin-bottom: 5px}
    #carousel, #slider-post .flex-direction-nav {display: none}
}


/*  Print
----------------------------------------------------------------------------- */
@media print {
    body {
        background: none !important; /* Brute force since user agents all print differently. */
        color: #2b2b2b;
        font-size: 12pt;
    }
}


/* animations
----------------------------------------------------------------------------- */
@-webkit-keyframes wobble-horizontal {
    16.65% {
        -webkit-transform: translateX(8px);
        transform: translateX(8px);
    }
    33.3% {
        -webkit-transform: translateX(-6px);
        transform: translateX(-6px);
    }
    49.95% {
        -webkit-transform: translateX(4px);
        transform: translateX(4px);
    }
    66.6% {
        -webkit-transform: translateX(-2px);
        transform: translateX(-2px);
    }
    83.25% {
        -webkit-transform: translateX(1px);
        transform: translateX(1px);
    }
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}
@keyframes wobble-horizontal {
    16.65% {
        -webkit-transform: translateX(8px);
        transform: translateX(8px);
    }
    33.3% {
        -webkit-transform: translateX(-6px);
        transform: translateX(-6px);
    }
    49.95% {
        -webkit-transform: translateX(4px);
        transform: translateX(4px);
    }
    66.6% {
        -webkit-transform: translateX(-2px);
        transform: translateX(-2px);
    }
    83.25% {
        -webkit-transform: translateX(1px);
        transform: translateX(1px);
    }
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}