/*
Theme Name: The General
Description: Custom WP theme for The General.
Version: 1.0
Author: Matt Heyes, Latitude Group
Author URI: http://latitudegroup.com.au
*/

/*--------------------------------
	CSS 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,img,ins,kbd,q,s,samp,small,strike,strong,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;margin:0;padding:0;}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}body{line-height:1;}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:none;}table{border-collapse:collapse;border-spacing:0;}

/*--------------------------------
	FONT FACE
----------------------------------*/

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

/*--------------------------------
	BASICS
----------------------------------*/

pre,code,tt{font:1em/1.5em 'Andale Mono', 'Lucida Console', monospace;} li ul,li ol{margin:0 1.5em;} ul{list-style-type:disc;} ol{list-style-type:decimal;} ol ol{list-style:upper-alpha;} ol ol ol{list-style:lower-roman;} ol ol ol ol{list-style:lower-alpha;} dd{margin-left:1.5em;} table{margin-bottom:1.4em;width:100%;} th,td,caption{padding:4px 10px 4px 5px;} sup,sub{line-height:0;} abbr,acronym{border-bottom:1px dotted;} address{font-style:italic;margin:0 0 1.0em;} del{text-decoration:line-through;} pre{white-space:pre;margin:1.5em 0;} .wp-caption{border:1px solid #ddd;text-align:center;background-color:#f3f3f3;padding-top:4px;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;margin:10px;} .wp-caption img{border:0 none;margin:0;padding:0;} .wp-caption p.wp-caption-text{font-size:11px;line-height:17px;margin:0;padding:0 4px 5px;} p img{max-width:100%;padding:0;} img.alignright{display:inline;margin:0 0 2px 7px;padding:4px;} img.alignleft{display:inline;margin:0 7px 2px 0;padding:4px;} .alignright{float:right;} .alignleft{float:left;} h1,h2,h3,h4,h5,h6,b,strong,dfn,dl dt,th{font-weight:700;} em,i,dfn,cite,tfoot{font-style:italic;} p,code,pre,kbd,dl{margin:0 0 1.5em;} blockquote,ul,ol{margin:0 1.5em 1.5em;} .aligncenter,div.aligncenter,img.centered{display:block;margin-left:auto;margin-right:auto;} .group:before,.group:after {content: "";display: table;} .group:after {clear: both;}.group {zoom: 1;}

a { color:#ababab; text-decoration:none; }
a:hover { color:#ababab; text-decoration:underline; }
a:focus { outline:none;}
a:hover,a:active {outline: 0;}

.fl { float:left; }
.fr { float:right; }
.clear { clear:both; }
.last { margin-right:0 !important; }
.hide { display: none; }


h1 { font-size:40px; margin-bottom:20px; }
h2 { font-size:36px; line-height: 40px; margin-bottom:5px; }
h3 { font-size:28px; margin-bottom:20px; }
h4 { font-size:18px; margin-bottom:20px; }
h5 { font-size:14px; margin-bottom:20px; }

h1, h2, h3, h4, h5 { font-weight:normal; font-family: 'bebas_neueregular'; color: #4c4c4c; }

p { margin-bottom: 20px; }

/*--------------------------------
	LAYOUT
----------------------------------*/

body {
    font-family: "Times New Roman", serif;
    line-height: 1.3em;
    text-align: center;
    font-size: 18px;
    color: #666666;
}

#wrapper {
    position: relative;
    -webkit-overflow-scrolling: touch;
}

#inner-wrapper {
    position: relative;
    background-color: #fff;
    z-index: 2;
}

.container {
    max-width: 1200px;
    padding:0 28px;
    margin:0 auto;
    position: relative;
}

#inner-wrapper > div {
    z-index: 2;
    position: relative;
}

.slicknav_menu {
    display:none;
}

.slicknav_menu li#menu-id-3 {
    display: none !important;
}

/*--------------------------------
    Header
----------------------------------*/

#header {
    background: #fff;
    position: absolute;
    top:0;
    left:0;
    right:0;
    width: 100%;    
    z-index: 600;
    -webkit-box-shadow: 0 0 15px 0 rgba(0,0,0,0.7);
    box-shadow: 0 0 15px 0 rgba(0,0,0,0.7);
}

#header .container {
    padding:0 0;
    height: 132px;
}

#header nav {

}

#header nav span.icon {
    background: url(images/logo-stamp.png) 14px 13px no-repeat;
    float: left;
    display: block;
    width: 15%;
    height: 132px
}

#header nav ul {
    float: left;
    display: block;
    width: 23%;
    margin:0;
    padding:0;
    list-style: none;
    text-align: center;
}

#header nav ul li {
    margin:0;
    padding:69px 0 0 0;
    float: left;
    width: 33.33%;
    text-transform: uppercase;
    font-size: 15px;
    line-height: 1.2em;
    font-family: 'bebas_neueregular';
    letter-spacing: 2px;
    vertical-align: bottom;
}

#header nav ul li a {
    display: block;
    text-align: center;
    color: #000;
    padding:13px 3px 0 3px;
    margin:0;
    text-decoration: none;
}

#header nav ul li a:hover {
    text-decoration: none;
}

#header nav a#logo {
    float: left;
    display: block;
    width: 24%;
    padding-top: 30px;
}

#header nav a#logo img {
    display: block;
    width: 100%;
    max-width: 201px;
    height: auto;
    margin:0 auto;
}

#header #register {
    float: left;
    display: block;
    width: 15%;
    padding-top:69px;
}

#header #register a {
    float: right;
    right:28px;
    display: block;
    background-color: #212d61;
    font-size: 14px;
    line-height: 42px;
    font-family: 'bebas_neueregular';
    letter-spacing: 2px;
    color: #fff;
    padding:0;
    margin:0;
    width: 110px;
    position: relative;
}

#header #mobile-menu {
    display: none;
}

#header #mobile-menu a#mobile-logo img {
    display: block;
    float: left;
    width: 120px;
    height: auto;
    margin: 0 0 7px 17px;
}

#header #mobile-menu #mobile-actions {
    float: right;
    margin: 7px 15px 0 0;
}

#header #mobile-menu #mobile-actions a.blue-btn {
    display: block;
    width: 106px;
    height: 42px;
    line-height: 42px;
    margin-right: 2px;
    float: left;
    background: #152b61;
    color: #fff;
    font-family: 'bebas_neueregular';
    letter-spacing: 2px;
    font-size: 13px;
}

#header #mobile-menu #mobile-actions a.blue-btn:hover {
    text-decoration: none;
}

#header #mobile-menu #mobile-actions a#open-menu {
    display: block;
    width: 47px;
    height: 42px;
    float: left;
    background: url(images/ico-menu.png) 0 0 no-repeat;
    text-indent: -9999px;
}

#header #mobile-menu #menu-wrapper {
    display: none;
    position: fixed;
    top:0;
    right:0;
    bottom: 0;
    z-index: 800;
    height: 100%;
    width: 50%;
    min-width: 260px;

    margin-right: -100%;

    color: #fff;

    background: #dcc67c;
    background: -moz-linear-gradient(top,  #dcc67c 0%, #b7a15d 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dcc67c), color-stop(100%,#b7a15d));
    background: -webkit-linear-gradient(top,  #dcc67c 0%,#b7a15d 100%);
    background: -o-linear-gradient(top,  #dcc67c 0%,#b7a15d 100%);
    background: -ms-linear-gradient(top,  #dcc67c 0%,#b7a15d 100%);
    background: linear-gradient(to bottom,  #dcc67c 0%,#b7a15d 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dcc67c', endColorstr='#b7a15d',GradientType=0 );

    -webkit-box-shadow: 0 0 15px 0 rgba(0,0,0,0.7);
    box-shadow: 0 0 15px 0 rgba(0,0,0,0.7);

}

#header #mobile-menu #menu-wrapper > div {
    height: 100%;
    overflow: auto;
}

#header #mobile-menu #menu-wrapper ul {
    margin:30px 0 0 0;
    padding:0 0 0 23px;
    list-style: none;
}

#header #mobile-menu #menu-wrapper ul li {
    margin:0 0 7px 0;
    padding:0;
    text-align: left;
}

#header #mobile-menu #menu-wrapper ul li a {
    color: #fff;
    font-size: 15px;
    font-family: 'bebas_neueregular';
}

#header #mobile-menu a#close-menu {
    display: block;
    float: right;
    position: relative;
    top:4px;
    right:3px;
    height: 30px;
    width:30px;
    background: url(images/ico-close.png) center center no-repeat;
    text-indent: -9999px;
}

/*--------------------------------
    Scrolled menu
----------------------------------*/

#header nav#scrolled-menu {
    background: #fff;
    position: fixed;
    top:-100px;
    left:0;
    right:0;
    width: 100%;    
    z-index: 601;
    -webkit-box-shadow: 0 0 15px 0 rgba(0,0,0,0.7);
    box-shadow: 0 0 15px 0 rgba(0,0,0,0.7);   
    height: 75px; 
    display: none;
     -webkit-transition: all 300ms ease-in-out;
     -moz-transition: all 300ms ease-in-out;
     -o-transition: all 300ms ease-in-out;
     -ms-transition: all 300ms ease-in-out;
     transition: all 300ms ease-in-out;
}

#header nav#scrolled-menu  a#logo {
    width: 130px;
    padding-top: 10px;
    padding-left: 38px;
}

#header nav#scrolled-menu a#logo img {
    max-width: 122px;
    margin:0 0 0 0;
}

#header nav#scrolled-menu ul { width: auto; float: right; padding:18px 28px 0 0; }
#header nav#scrolled-menu ul li { float: left; width: auto; line-height: 42px; padding:0; margin:0 30px 0 0; }
#header nav#scrolled-menu ul li a { padding:0; }
#header nav#scrolled-menu ul li#register-link { margin:0; }
#header nav#scrolled-menu ul li#register-link a { background-color: #212d61; color: #fff; padding:0 23px; margin:0 !important; }


/*--------------------------------
    Slider
----------------------------------*/

#slider-wrapper {
    position: fixed;
    background: #fff;
    top: 0;
    right:0;
    left:0;
    width: 100%;
    z-index: 1 !important;
}

#slider {
    width: 100%;
    opacity: 0;
}

#slider-wrapper  {
    background: url(images/loading.gif) center center no-repeat;
    min-height: 500px;
}

#slider.rsDefault .rsBullets {
    display: none;
}

a#more-link {
    display: block;
    height: 138px;
    width: 45px;
    position: absolute;
    background: url(images/find-out-more.png) center center no-repeat;
    text-indent: -9999px;
    float: left;
    left:28px;
    top: -88px;
    z-index: 2;
}

#bar {
    height: 50px;
    z-index: 1;
    background-color: #fff;
    position: relative;
}

#bar .container {

}

ul.social-links {
    margin: 0;
    padding:0;
    top: 12px;
    position: relative;
    list-style: none;
    float: right;
}

ul.social-links li {
    margin: 0 0 0 2px;
    padding:0;
    float: left;
}

ul.social-links li a {
    display: block;
    float: left;
    width: 27px;
    height: 0;
    padding-top: 25px;
    overflow: hidden;
    opacity: 0.3;
    background: url(images/sprite-social.png) 0 0 no-repeat;
     -webkit-transition: all 300ms ease-in-out;
     -moz-transition: all 300ms ease-in-out;
     -o-transition: all 300ms ease-in-out;
     -ms-transition: all 300ms ease-in-out;
     transition: all 300ms ease-in-out;
}

ul.social-links li.li-fb a { background-position: 0 0; }
ul.social-links li.li-in a { background-position: 0 -25px; }
ul.social-links li.li-pi a { background-position: 0 -50px; }
ul.social-links li.li-tw a { background-position: 0 -75px; }

ul.social-links li a:hover {
    opacity: 0.5;
}

/*--------------------------------
    Content
----------------------------------*/

.entry {
    width: 100%;
    max-width: 690px;
    margin:0 auto;
    position: relative;
    padding:30px 0 100px;
}

#the-development .entry {
    padding:30px 0 100px;
}

#the-development .entry:before {
    content: ' ';
    height:106px;
    width: 1px;
    position: absolute;
    top: -107px;
    left:50%;
    background-color: #bfae67;
}

#the-development .entry:after {
    content: ' ';
    height:50px;
    width: 50px;
    position: absolute;
    bottom: 45px;
    left:50%;
    margin-left: -25px;
    background: url(images/icon.png) center center no-repeat;
}

#interiors {
    background-color: #e5e5e5;
}

#interiors .entry {
    padding:40px 0 55px;
}

#gallery-wrapper {
    position: relative;
    background-color: #fff;
    border-bottom: 2px solid #fff;
}

#gallery-wrapper #slider-gallery {
    width:100%;
}

#gallery-wrapper:before {
    content: ' ';
    height:106px;
    width: 1px;
    position: absolute;
    top: -53px;
    left:50%;
    background-color: #bfae67;
    z-index: 5;
}

#blockquote {
    background-color: #212d61;
}

#blockquote .entry {
    padding:30px 0;
    font-size: 23px;
    line-height: 1.4em;
    color: #fff; 
    color: rgba(255,255,255,0.85);
}

#blockquote .entry p {
    font-size: 24px;
    line-height: 1.4em;
    margin-bottom: 15px;
}

#blockquote .entry h5 {
    font-size: 20px;
    letter-spacing: 1px;
    margin:0;
    padding: 0;
    color: #bdc0d0;
}

#the-lifestyle .entry {
    padding:125px 0 50px;
}

#the-lifestyle .entry:after {
    content: ' ';
    height:50px;
    width: 50px;
    position: absolute;
    top: 57px;
    left:50%;
    margin-left: -25px;
    background: url(images/icon.png) center center no-repeat;
}

#location-gallery .flexslider-wrapper {
    width: 14.285%;
    opacity: 0;
    float: left;
}

#the-location:before {
    content: ' ';
    height:106px;
    width: 1px;
    position: absolute;
    top: -53px;
    left:50%;
    background-color: #bfae67;
    z-index: 5;
}

#the-location .entry {
    padding:90px 0 40px;
}

#map {
    height: 540px;
    width: 100%;
    border-bottom: 4px solid #fff;
}

#the-team {
    background-color: #e5e5e5;
    padding:0 0 41px 0;
}

#the-team .entry {
    padding:50px 0 36px;
}

#the-team .team-item {
    max-width: 790px;
    margin: 0 auto;
}

#the-team .team-item .thumb {
    display: block;
    float: left;
    width: 28%;
    padding-right: 2%;
}

#the-team .team-item .thumb img {
    display: block;
    max-width: 100%;
}

#the-team .team-item .team-entry {
    margin:0 auto;
    width: 70%;
    text-align: left;
    margin-bottom: 33px;
    text-align: center;
}

#the-team .team-item .team-entry h4 {
    font-size: 18px;
    margin:8px 0 4px 0;
    padding:0;
    color: #7f7f7f;
    letter-spacing: 1px;
}

#the-team .team-item .team-entry p {
    color: #6f6f64;
    font-size: 14px;
    line-height: 1.1em;
    margin-bottom: 15px;
    margin:0 0 10px 0;
}

#the-team .team-item .team-entry a.more {
    color: #727272;
    font-family: 'bebas_neueregular';
    display: inline-block;
    *display: inline;
    padding:0 0 0 14px;
    letter-spacing: 1px;
    font-size: 14px;
    background: url(images/ico-arrow.png) left center no-repeat;
}

#the-team .team-item #team-entry-1 a.more {
    display: none;
}

#contact {
    background-color: #212d61;
    border-top: 4px solid #fff;
    padding:48px 0 20px;
    text-align: center;
}

#contact #contact-form {
    padding:0 0 0 0;    
}

#contact .contact-entry {
    color: #fff;
    font-size: 20px;
    line-height: 1.3em;
}
#contact .contact-entry p {
    margin:0 0 30px 0;
    font-size: 19px;
}
#contact .contact-entry a {
    color: #fff;
}

#contact #contact-content {
    margin:0;
    padding:0;
}
#contact .gform_wrapper {
    padding:0 0 30px 0;
    max-width: 565px;
    margin: 0 auto;
    text-align: center;
}

#contact .gform_description {
    display: block;
    text-align: center;
    padding:0 30px;
    color: #fff;
    font-size: 19px;
}

#contact .gform_description h4 {
    font-size: 22px;
    color: #d3d5df;
    margin:20px 0 10px;
}

#contact .gform_wrapper .gform_footer {
    margin:0 !important;
    padding:0 !important;
    text-align: center;
}

#contact h3.gform_title {
    color: #d3d5df;
    letter-spacing: 1px !important;
    margin:0 0 2px 0;
    font-size: 20px;
    font-weight: normal !important;
}
#contact-form form,
#contact-form form * {
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box; 
}
#contact-form form label {
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    display: none;
}
#contact-form form ul,
#contact-form form ul li {

    list-style: none;
}
#contact-form form input[type="text"],
#contact-form form input[type="email"] {
    border:none;
    background-color: #fff; 
    width: 100% !important;
    padding:8px 6px;
    font-size: 12px;
    font-weight: bold;
    color: #212d61;
    margin:0 0 5px 0;
    font-family: "Times New Roman", serif;
}
#contact-form form textarea {
    border:none;
    background-color: #fff; 
    width: 100% !important;
    padding:8px 6px;
    font-size: 12px;
    font-weight: bold;
    color: #212d61;
    margin:0 0 5px 0;
    font-family: "Times New Roman", serif;
}

#contact-form form input[type="submit"] {
    background: none;
    background-color: #c8b972;
    border: none;
    padding:10px 0;
    margin:0 auto;
    margin-top: 20px;
    width: 210px;
    text-align: center;
    display: inline-block;
    *display: inline;
    zoom:1;
    font-family: 'bebas_neueregular';
    color: #fff;
    letter-spacing: 1px !important;
    font-size: 18px;
    font-weight: normal !important;
    cursor: pointer;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

#contact .gform_wrapper .top_label li.gfield.gf_left_half,
#contact .gform_wrapper .top_label li.gfield.gf_right_half,
#contact .gform_wrapper .ginput_complex .ginput_right,
#contact .gform_wrapper .ginput_complex .ginput_left {
    width: 50%;
}

#contact .gform_wrapper .top_label li.gfield.gf_left_half,
#contact .gform_wrapper .ginput_complex .ginput_left {
    padding-right: 10px;
}

#contact .validation_error {
    font-weight: normal;
    text-align: center;
    color: #FFDFE0;
}

#contact .validation_message {
    font-size: 13px;
}

#footer {
    background-color: #0e1641;
    font-size: 11px;
    line-height: 15px;
    padding:10px 0;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: #7d8abe;
}

#footer .container {
    text-align: center;
}

#footer a {
    color: #7d8abe;
    text-decoration: none;
}

#footer a:hover {
    text-decoration: underline;
}

.popup {
    position: relative;
    background: #FFF;
    padding: 45px 30px;
    width: auto;
    max-width: 500px;
    margin: 20px auto;
}

#gforms_confirmation_message {
    font-family: "Times New Roman",serif;
    font-size: 18px;
    line-height: 1.3em;
    text-align: center;
    color: #fff;
    margin-bottom: 60px;
}


#gforms_confirmation_message a {
    display: block;
    background-color: #c8b972;
    padding:10px 0;
    margin:0 auto;
    margin-top: 20px;
    width: 210px;
    text-align: center;
    font-family: 'bebas_neueregular';
    color: #fff;
    letter-spacing: 1px !important;
    font-size: 18px;
    font-weight: normal !important;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

.home #gforms_confirmation_message a {
    display: none;
}

/*** Landing Page ***/

.page-id-507 #header {
    position: relative;
    padding:18px 0;
}

.page-id-507 #header .container {
    height: auto;
    text-align: center;
}

.page-id-507 #header nav a#logo {
    float: none;
    padding-top:0;
    margin:0 auto;
}

.page-id-507 #header nav span.icon {
    background: url("images/logo-stamp-2.png") no-repeat 0 0;
    display: block;
    float: right;
    height: 109px;
    width: 109px;
    position: absolute;
    bottom: -44px;
    right: 15%;
}

.page-id-507 #contact {
    border-top: none;
}

.page-id-507 #contact #contact-form > p,
.page-id-507 #contact #contact-form > p a {
    color: #fff;
    margin-bottom: 30px;
}


@media only screen and (max-width : 480px) {

    #header #mobile-menu a#mobile-logo img {
        margin: 0 0 7px 12px;
    }

    #header #mobile-menu #mobile-actions {
        margin: 7px 10px 0 0;
    }

    #header #mobile-menu #mobile-actions a.blue-btn {
        width: 80px;
    }

    h2 { font-size:32px; }
    p { margin-bottom: 15px; }
    body {
        font-size: 16px;
    }

    #blockquote .entry {
        padding:20px 0;
        font-size: 20px;
        line-height: 1.3em;
    }

    #blockquote .entry p {
        font-size: 20px;
        line-height: 1.3em;
    }
    .container {
        padding-left:10px;
        padding-right:10px;
    }
    #contact #contact-content {
        margin-bottom: 20px;
    }
    #contact #contact-content,
    #contact #contact-form {
        float: none;
        width: auto;
    }
    #contact .gform_wrapper {
        padding:5px 0 0 5px;
        border-left: none;
        max-width: none;
    }

    #the-team .team-item .thumb {
        float: none;
        width: auto;
        padding-right: 0;
    }

    #the-team .team-item .thumb img {
        width: 100%;
    }

    #the-team .team-item .team-entry {
        float: none;
        width: auto;
        margin-bottom: 33px;
    }

}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
    body {
        padding-top: 0 !important
    }
    #slider-wrapper {
        position: relative;
    }
}

@media only screen and (max-width : 768px) {

    .page-id-507 #header nav span.icon {
        display: none;
    }

    body {
        padding-top: 0 !important
    }
    #slider-wrapper {
        position: relative;
    }

    #slider-wrapper  {
        min-height: 100px;
    }
    .home #header {    
        position: fixed;
    }
    .home #header nav {
        display: none !important;
    }
    #header #mobile-menu {
        display: block;
    }
    a#more-link {
        display: none;
    }
    .container {
        padding-left:10px;
        padding-right:10px;
    }
    .home #header .container {
        background: none;
        padding-top: 10px;
        padding-bottom: 10px;
        height: auto;
        min-height: 60px;
    }
    #contact .contact-entry {
        padding-right: 80px; 
    }
    #contact .container {
        background: none;
    }
    #header nav ul li#register a {
        background-color: #fff;
        color: #000;
    }
    .home #main-menu {
        display:none;
    }
    .slicknav_menu {
        display:block;
    }
    /*
    #open-menu {
        display: block;
    }
    #header nav {
        border-top: 4px solid #000;
        border-bottom: 4px solid #000;
    }
    #header nav ul li {
        display: block;
    }
    */
.home  #header a#logo img {
    display: block;
    height: auto;
    width: 136px;
    margin:0 auto;
    display: none;
    position: absolute;
    top:15px;
    left: 50%;
    margin-left: -68px;
}
    #header li a#logo-link {
        display: none;
    }
    #header a#mobile-logo img {
        display: block;
    }
}

@media only screen and (max-width : 1040px) {
    #header nav ul {
        width: 25%;
    }
    .home #header nav a#logo {
        width: 20%;
    }
    #header nav ul li a {
        padding: 13px 0 0;
    }
}
@media only screen and (max-width : 1024px) {
    .hide-medium-down {
        display: none;
    }
    #location-gallery .flexslider-wrapper {
        width: 20%;
    }
}