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

}

body {
    font-family: latolight, Lato, "Gill Sans Light", "Gill Sans", Helvetica, Arial, sans-serif;
    /*font-family: "Gill Sans Light", "Gill Sans", 'Lato', Helvetica, Arial, sans-serif;*/
}

.container-fluid {
    margin: 0;
    padding: 0;
}

.not-front #main-wrapper {
    margin-top: 1.5em;
}

.tabs {
    padding-bottom: 1.5em;
}

.tabs li a {
    color:#666;
}

#loader {
    position: absolute;
    padding-top: 24%;    
}

#loader-wrapper {
    margin: auto;
    width: 64px;
}

.flexslider img {
/*    bottom: 0;
    display: none;
    left: 0;
    margin: auto;
    min-height: 100%;
    min-width: 100%;
    right: 0;
    top: 0;*/
    /*display: block;*/
    margin: auto;
    min-width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.front .flexslider {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
}

#header {
    padding-top: 10px;
}

#site-name-and-logo, #site-name-and-logo a {
    display: block;
    width: 212px;
    height:70px;
    background: url(../logo-bathysphere.png) no-repeat;
    text-indent: -9999px;
    margin: 0;
    padding: 0;
}

/*Menu*/
#block-system-main-menu, #traduction, #nav-catalogue {
    float: right;
}

#nav-catalogue {
    clear: both;
}

#nav-catalogue a {
    color: black;
    background: url(../img/pastille-nav-films.png) no-repeat;
    display: block;
    height: 25px;
    padding: 3px 0 0 34px;

}

#block-system-main-menu ul {
    margin-top: 1.8em;
}

#block-system-main-menu ul li a {
    background: url(../img/sprite-menu.png) no-repeat;
}

#block-system-main-menu ul li {
    list-style-image: none;
}

#block-system-main-menu ul li a {
    text-indent: -9999px;
}

#block-system-main-menu ul li a {
    display: block;
    width: 25px;
    height: 25px;
}

#block-system-main-menu ul li.menu-item-532 a, #block-system-main-menu ul li.menu-item-562 a {
    background-position: 0 0;
}

#block-system-main-menu ul li.menu-item-533 a, #block-system-main-menu ul li.menu-item-563 a {
    background-position: -30px 0;
}

#block-system-main-menu ul li.menu-item-534 a, #block-system-main-menu ul li.menu-item-564 a {
    background-position: -60px 0;
}

.tooltip {
    font-size: 1em;
}

.tooltip.top {
    margin: 0;
}

.tooltip-inner {
    color: black;
    background: none;
}

.tooltip-arrow {
    border: none;
}

/*Traduction*/

#traduction a {
    display: block;
    margin: 25px 0 25px 15px;
    padding: 2.5px 0 0 0;
    width: 25px;
    height: 22.5px;
    text-transform: uppercase;
    background: #000000;
    color: white;
    border-radius: 12.5px;
    text-align: center;
    font-size: .7em;
}

.flexslider .caption {
    opacity: 0;
    position: absolute;
    width: 45%;
    right: 10%;
    bottom:40%;
    color: white;
    -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;
}

.flexslider:hover .caption {
    opacity: 1;
    -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;
}

.flexslider .caption a {
    color: white;
    text-decoration: none;
}

.front .caption h2, h1#page-title, .page-films .caption h2, .page-films-liste h2 {
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 4em;
}

.page-films-liste h2 {
    font-size: 2.3em;
}

.front .caption h2 {
    line-height: 110%;
    margin: 0;
    padding: 0;
}

h1#page-title {
    line-height: 130%;
}

.page-films .node-film {
    position: relative;
}

.page-films .caption {
    padding: .4em;
    background: white;
    position: absolute;
    bottom:0;
    right: 0;
}

.page-films .caption h2 {
    font-size: 1.1em;
    line-height: normal;
    margin:0;
}

.page-films .caption h2 a {
    color:black;
}

.field-name-field-auteurs {
    font-size: 1.4em;
    font-weight: 100;
}

.page-films .field-name-field-auteurs {
    font-size: .9em;
}

.field-name-body, .video-embed {
    margin-top: 1em;
}

.embed-container { 
    margin-top: 1em;
    position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; 
} 

.embed-container iframe, .embed-container object, .embed-container embed { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
}

.node-full .field-name-body {
    line-height: 160%;
}

.flex-control-nav {
    text-align: left;
}

.page-films .node .caption {
    opacity: 0;
    -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;
}

.page-films .node:hover .caption {
    opacity: 1;
    -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;
}

.page-films .row-fluid {
    margin-bottom: 2em;
}

.page-films-liste li {
    list-style-type: none;
}

.page-films-liste li ul.films li {
    padding: 0 0 .3em 0;
    margin:0;
}

.page-films-liste ul {
    margin:0;
    padding: 0
}

.page-films-liste ul li ul.films {
    margin: 1.5em 0 2.5em 10%;
}

.page-films-liste h3 {
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 1.2em;
    margin: 0;
    padding: 0;
    line-height: normal;
}

.page-films-liste h3 a {
    color: #857251;
    display: block;
}

.page-films-liste h3 a span {
    color:#000;
}

.page-films-liste h3 a:hover span {
    text-decoration: underline;
    color:#000;    
}

.page-films-liste h3 span.byline {
    text-transform: none;
    letter-spacing: normal;
    /*margin-left: .5em;*/
    float: right;
}

@media (min-width: 1200px) {
    .page-films-liste .container, .node-type-film  .container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {
        width: 720px;
    }
    /*
    .node-full .field-name-body {
        width: 60%;
    }*/
}

@media (min-width: 980px) {
    .page-node  .container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {
        width: 720px;
    }
             /*
    .node-full .field-name-body {
        width: 60%;
    }*/
}

@media (max-width: 767px) {
    .page-films .node {
        margin-bottom: 2em;
    }

    .flexslider .caption {
        width: 70%;
    }

    .front .caption h2, h1#page-title, .page-films .caption h2, .page-films-liste h2 {
        font-size: 1.4em;
    }

    .page-films-liste h3 span.byline {
        float: none;
        display: block;
    }

    #site-name-and-logo, #site-name-and-logo a {
        background-size: 70%;
        height: 50px;
    }

    .front .flexslider {
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
    }  
}