/**
 * Esny
 * Custom css for first-page with image slider
 */

body.first-page {
    overflow: hidden;
    background-attachment: scroll;
    background-clip: border-box;
    background-color: #F2F2F2;
    background-image: none!important;
    background-origin: padding-box;
    background-position: center bottom !important;
    background-repeat: repeat-x !important;
    background-size: auto auto;
}

body.first-page div#big-image-slider {
    background: none;
    width: 100%;
    height: 100%;
}

body.first-page div#big-image-slider img {
    width:  100%;
    height: 100%;
}

body.first-page .center-wrapper {
    width: 100%;
    position: absolute;
    z-index: 99;
    top: 0;
}

body.first-page .inner-wrapper {
    background: none;
}

/* Galleria */
body.first-page .galleria-stage {
    width: 100%;
    height: 100%;
}

body.first-page .galleria-image-nav,
body.first-page .galleria-counter,
body.first-page .galleria-thumbnails-list,
body.first-page .galleria-info,
body.first-page .galleria-thumbnails-container {
    display: none!important;
}

footer#bottom .logo {
    margin:     30px 0;
    background: url('/gfx/sprites_white.png') repeat scroll 0 -38px transparent;
    height:     21px;
    width:      573px;
}


/* Animation holder */
body.first-page div.animation-holder {
    position: absolute;
    top: 150px;
    width: 100%;
    z-index: 120;
}

body.first-page div.animation-holder div.center {
    width: 878px;
    margin: 0 auto;
}

div.center h1 {
    line-height: 0.85em;
    font-size:  9em;
    color:      #fff;
    text-transform: uppercase;
    font-family: 'HelveticaNeueW01-77BdCn 692722';
    font-stretch: condensed;
    letter-spacing: 4px;
    position: relative;
}

div.center h1.text-eklund {
    left: -50000px;
    -webkit-backface-visibility: hidden;
}

div.center h1.text-stockholm {
    left: 50000px;
    -webkit-backface-visibility: hidden;
}

div.center h1.text-newyork {
    left: -50000px;
    -webkit-backface-visibility: hidden;
}

div.first-page-footer-wrapper {
    position: absolute;
    z-index: 999;
    width: 100%;
    bottom: 30px;
}
div.first-page-footer {
    width: 950px;
    margin: 0 auto;
    color: #fff;
    font-size: 0.8125em;
    font-family: 'HelveticaNeueW01-55Roma';
}

div.first-page-footer ul {
    list-style: none;
}

div.first-page-footer ul li.first,
div.first-page-footer ul li.fb-like-count,
div.first-page-footer ul li.cities .citywrapper .city,
div.first-page-footer ul li .tel {
    float: left;
    display: block;
    border-right: 1px solid #fff;
    padding: 0 6px;
}

div.first-page-footer ul li.first {
    padding-left: 0;
}

div.first-page-footer ul li.fb-like-count {
    border: none;
    float: right;
}

div.first-page-footer ul li.fb-like-count img {
    margin-right: 5px;
    position: relative;
    top: -5px;
}

div.first-page-footer ul li.phone,
div.first-page-footer ul li.cities {
    float: left;
}

div.first-page-footer ul li span.tel {
    border: none;
}

div.first-page-footer ul li.fb-like-count span.like-count {
    position: relative;
    top: -10px;
}

div.first-page-footer ul li.tel a,
div.first-page-footer ul li span.tel a {
    text-decoration: none;
    color: #fff;
}


nav#top-menu li a, nav.sub-nav li a {
    color: #fff;
}

.navigation {
    margin: 0;
    position: relative;
    top: -10px;
}

nav#top-menu, nav.sub-nav  {
    border-bottom: none;
    top: 1px;
}

nav.sub-nav  {
    top: -12px;
}

header#top {
    border-bottom: none;
}

div.search-box .share a.locale,
nav#top-menu .search-box button#search-box {
    color: #fff;
}

a.fb-firstpage-like {
    color: #fff;
    text-decoration: none;
    margin-right: 2px;
}

.transparent-line-top {
    position: relative;
    top: -2px;
}

.transparent-line-bottom {
    position: relative;
    top: -12px;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {

    /*Chrome CSS here*/

    .transparent-line-bottom {
        position: relative;
        top: -14px;
    }
}

header#top .logo {
    display:    block;
    position:   absolute;
    top:        40px;

    background: url("/gfx/sprites_white.png") repeat scroll 0 -64px transparent;
    height:     31px;
    width:      100%;
}

a.share-button {
    height:     20px;
    width:      20px;
    display:    inline-block;
    background: url('/gfx/sprites_white.png') repeat scroll transparent;
}

a.share-button.facebook {
    background-position: 0 -101px;
}

a.share-button.facebook:hover {
    background-position: -22px -101px;
}

a.share-button.twitter {
    background-position: 0 -236px;
}

a.share-button.twitter:hover {
    background-position: -22px -236px;
}

a.share-button.mail {
    background-position: 0 -160px;
    margin-right: 10px;
}

a.share-button.mail:hover {
    background-position: -22px -160px;
}

a.share-button.instagram {
    background-position: -53px -160px;
}

a.share-button.instagram:hover {
    background-position: -75px -160px;
}


img.like-thumb {
    top: -8px!important;
}

.no-margin-right {
    margin-right: 2px!important;
}

/* Z-index position the free valuation form
 * on the first-page to avoid the form to be
 * placed behind the EKLUND text.
 */
.ui-widget {
    z-index: 99999;
}

@media only screen and (max-width: 767px) {
    body.first-page div.animation-holder {
        z-index: 80;
    }

    nav#top-menu div#main-menu-list-wrapper {
        padding-left: 10px;
        padding-right: 10px;
        background-color: #fff;
    }

    nav#top-menu ul.main-menu-list > li {
        border-color: #858585 !important;
    }

    nav#top-menu ul.main-menu-list > li:last-child {
        border: none !important;
    }

    nav.sub-nav ul.right li a {
        color: #fff;
    }

    div.first-page-footer-wrapper {
        z-index: 80;
    }

    nav#top-menu li a, nav.sub-nav li a {
        color: #858585;
        -webkit-text-size-adjust: 100%;
    }
}