@font-face {
    font-family: "supersonic-web";
    src: url(../fonts/supersonic.woff2) format('woff2'),
         url(../fonts/supersonic.woff) format('woff'),
         url(../fonts/supersonic.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "gotham-book-web";
    font-weight: normal;
    font-style: normal;
    src: url(../fonts/gotham-book.woff) format('woff'),
         url(../fonts/gotham-book.ttf) format('truetype'),
         url(../fonts/gotham-book.svg#gotham_bookregular) format('svg');
}
@font-face {
    font-family: "gotham-book-web";
    font-weight: bold;
    font-style: normal;
    src: url(../fonts/gotham-bold.woff) format('woff'),
         url(../fonts/gotham-bold.ttf) format('truetype'),
         url(../fonts/gotham-bold.svg#gotham_boldregular) format('svg');
}


html, body {
    height: 100%;
    overflow: hidden;
}
body {
    font-family: "gotham-book-web", Helvetica;
    font-weight: normal;
    /*letter-spacing: -.05em;*/
    background: url(../img/background_md.jpg) no-repeat fixed center;
    background-size: cover;
    color: white;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "supersonic-web", Arial;
    font-weight: normal;
    /*letter-spacing: -.05em;*/
}
a,
a:visited {
    color: inherit;
}
a:hover,
a:active,
a:focus {
    text-decoration: none;
}

#wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    /*min-height: 600px;*/
}

#body {
    position: relative;
    height: 100%;
    border: 10px #7ebb5f solid;
    border-bottom-width: 50px;
}

#header,
#main,
#footer {
    position: absolute;
    left: 0;
    width: 100%;
}

#header {
    top: 0;
    height: 31px;
}
#main {
    top: 31px;
    bottom: 31px;
}

#center {
    height: 100%;
}
#center > .container {
    position: relative;
    padding: 30px 0;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

@media only screen and (max-width: 767px) {
    html, body {
        height: auto;
        min-height: 100%;
        overflow: visible;
    }
    #wrapper,
    #header,
    #main,
    #center > .container,
    #menu,
    #footer {
        position: static;
    }
    #header {
        height: 180px;
    }
    #body {
        border: none;
    }
    #center > .container {
        transform: none;
        -webkit-transform: none;
    }
}

body.merci #center > .container {
    background: url(../img/share.png) no-repeat center;
}
@media (max-width: 767px) {
    body.merci #center > .container {
        background: black;
    }
}    
/*body.merci #title:after {
    border: none;
    margin-bottom: 55px;
}*/
body.merci #title {
    margin-bottom: 40px;
}
body.merci #title h3 {
    font-size: 40px;
    line-height: 48px;
}
body.merci #sign {
    display: none;
}

#footer {
    bottom: 0;
    height: 31px;
}

#header h1 {
    margin: -40px 0 0 50px;
    width: 130px;
    height: 150px;
    background: url(../img/envol-vert.png) no-repeat center;
    text-indent: -9999px;
    position: relative;
    z-index: 100;
}
#header h2 {
    display: none;
}

#menu {
    min-height: 30px;
    position: absolute;
    bottom: -50px;
    width: 100%;
    text-align: center;
}
#menu .links {
    margin: 0;
    padding: 0;
    display: inline-block;
    padding: 15px 10px 10px;
    background: white;
    border-radius: 30px 30px 0 0;
}

#menu .links img {
    display: block;
    height: 90px;
    width: auto;
}

@media (max-width: 767px) {
    #menu .links img {
        height: 45px;
    }
}

#share {
    text-align: center;
    margin-bottom: 20px;
}
#share a {
    display: block;
    width: 70px;
    height: 70px;
    text-indent: -9999px;
    background: transparent no-repeat 0 0;
    transition: all 200ms ease-out 0ms;
    -moz-transition: all 200ms ease-out 0ms;
    -webkit-transition: all 200ms ease-out 0ms;
}
#share a:hover,
#share a:active,
#share a:focus {
    background-position: 2px 2px;
}
#share .facebook {
    background-image: url(../img/facebook.png);
    margin-left: 20px;
    position: relative;
    top: -15px;
}
#share .twitter {
    background-image: url(../img/twitter.png);
}
#share .mail {
    background-image: url(../img/mail.png);
    margin-left: 25px;
    margin-right: 30px;
}


#title {
    text-align: center;
    margin-bottom: 20px;
}

#engage h3,
#title h3 {
    margin: 10px 0;
    font-size: 36px;
    line-height: 40px;
    font-weight: normal;
}
#engage h3 span,
#title h3 span {
    color: #f77e1b;
}

@media only screen and (max-width: 767px) {
    #title h3 {
        margin-top: 20px;
    }
}
#title .lead {
    font: normal 26px/32px "supersonic-web", Helvetica;
}

#section {
    text-align: center;
}

#section .lead {
    font-size: 18px;
    line-height: 22px;
    font-family: inherit;
    font-weight: normal;
    width: 640px;
    max-width: 100%;
    margin: 0 auto;
}
#section .lead:after {
    content: "";
    display: block;
    width: 320px;
    max-width: 100%;
    margin: 15px auto;
    border-bottom: 1px #f77e1b dashed;
}

@media (max-width: 1199px) {
    #section .lead {
        width: 520px;
        font-size: 17px;
        line-height: 21px;
    }
}
@media (max-width: 991px) {
    #section .lead {
        width: 420px;
        font-size: 16px;
        line-height: 19px;
    }
}
@media (min-width: 1540px) {
    #section .lead {
        width: 720px;
        font-size: 20px;
        line-height: 24px;
    }
}

#section .init {
    max-width: 240px;
    margin: 0 auto;
}

#section .start,
#section .bullets,
#section .done {
    overflow: hidden;
    max-height: 360px;
    transition: max-height 500ms linear;
    -moz-transition: max-height 500ms linear;
    -webkit-transition: max-height 500ms linear;
}
#section .off {
    max-height: 0;
}

#section .bullets ul {
    margin: 20px 0;
}
#section .bullets span {
    display: none;
}
#section .bullets li {
    width: 16px;
    height: 16px;
    margin: 0 8px;
    border-radius: 100%;
    opacity: .4;
    vertical-align: middle;
    transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -webkit-transition: all 200ms ease-out;
}
#section .bullets li.active {
    width: 24px;
    height: 24px;
    opacity: 1;
    border: 1px white solid;
}
#section .bullets li.condor {
    background: #9c0015;
}
#section .bullets li.rana {
    background: #e10019;
}
#section .bullets li.oso {
    background: #e75a17;
}
#section .bullets li.mono {
    background: #fced31;
}
#section .bullets li.jaguar {
    background: #95c02a;
}
#section .bullets li.tortuga {
    background: #46ae6c;
}

#species .thumb {
    display: block;
    position: absolute;
    margin-left: -90px;
    margin-top: -90px;
    width: 180px;
    opacity: 1;
    transition: opacity 500ms ease-out;
    -moz-transition: opacity 500ms ease-out;
    -webkit-transition: opacity 500ms ease-out;
    animation: swing 1s linear 0s 1;
    -moz-animation: swing 1s linear 0s 1;
    -webkit-animation: swing 1s linear 0s 1;
    outline: none;
}
#species .thumb.off {
    opacity: 0;
    animation: none;
    -moz-animation: none;
    -webkit-animation: none;
}
#species .thumb.condor {
    top: 15%;
    left: 50%;
}
#species .thumb.rana {
    top: 80%;
    left: 75%;
}
#species .thumb.oso {
    top: 22%;
    left: 28%;
}
#species .thumb.mono {
    top: 40%;
    left: 10%;
}
#species .thumb.jaguar {
    top: 45%;
    left: 85%;
}
#species .thumb.tortuga {
    top: 85%;
    left: 15%;
}
#species .thumb span.off {
    display: none;
}
#species .thumb span {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 11px;
    color: white;
}
#species .thumb .please {
    opacity: 0;
    transition: all 500ms ease-in;
    -moz-transition: all 500ms ease-in;
    -webkit-transition: all 500ms ease-in;
}
#species .thumb:hover .please,
#species .thumb:active .please,
#species .thumb:focus .please {
    opacity: 1;
}
#species .thumb img {
    display: block;
    width: 100%;
    height: auto;
    transition: all 500ms ease-in;
    -moz-transition: all 500ms ease-in;
    -webkit-transition: all 500ms ease-in;
}

#species .animal {
    display: none;
}

#pane {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    padding: 10px 10px 0;
    transition: right 500ms ease-out;
    -moz-transition: right 500ms ease-out;
    -webkit-transition: right 500ms ease-out;
}
#pane .zone {
    background: rgba(126, 186, 95, .9); /*#7ebb5f;*/
    text-align: center;
    height: 100%;
}
#pane .x,
#popup .x {
    font: normal 36px/36px "gotham-book-web", Helvetica;
    background: transparent;
    color: inherit;
    position: absolute;
    z-index: 2;
    border: none;
    opacity: .5;
}
#pane .x {
    left: 15px;
    top: 0;
}
#popup .x {
    top: 10px;
    right: 10px;
}
#pane.active {
    right: 0;
}

#pane .animal {
    height: 100%;
    position: relative;
}
#pane .top,
#pane .bottom {
    position: absolute;
    left: 0;
    width: 100%;
    padding: 15px;
}
#pane .top {
    top: 0;
    bottom: 188px;
    overflow: auto;
}
#pane .bottom {
    bottom: 0;
    height: 188px;
}

#pane .photo {
    display: block;
    width: 240px;
    max-width: 100%;
    height: auto;
}
#pane .title {
    font-size: 20px;
    line-height: 24px;
    margin: 0 0 15px;
}
#pane .cta {
    font-size: 14px;
    line-height: 19px;
    margin-bottom: 25px;
}
.btn-primary,
#pane .cta button {
    display: inline-block;
    background: #f9800b;
    border: 1px #f9800b solid;
    padding: 0 20px;
    margin: 5px 5px 0;
    border-radius: 13px;
    height: 28px;
    line-height: 24px;
    color: white;
    transition: all 200ms ease-out 0ms;
    -moz-transition: all 200ms ease-out 0ms;
    -webkit-transition: all 200ms ease-out 0ms;
}
#pane .cta button.on {
    background: white;
    color: #f9800b;
}
#pane .cta button strong {
    font-weight: normal;
    text-transform: uppercase;
}
#pane .desc,
#pane .bottom p {
    font-size: 12px;
    line-height: 16px;
}
#pane .details {
    /*display: none;*/
    margin-bottom: 15px;
}
#pane .bottom > div {
    position: relative;
}
#pane .place,
#pane .count {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px #f77e1b dashed;
}
#pane h5 {
    text-align: left;
    min-height: 36px;
    margin: 0;
    cursor: pointer;
}
#pane h5 + p {
    display: none;
    position: absolute;
    bottom: 40px;
    right: 50px;
    background: black;
    color: white;
    width: 320px;
    padding: 15px;
    border-radius: 15px;
    text-align: left;
}
@media (max-width: 767px) {
    #pane h5 + p {
        right: 5%;
        max-width: 90%;
    }
}
#pane h5:hover + p,
#pane h5:active + p {
    display: block;
}
#pane h5 i {
    float: left;
    vertical-align: middle;
    text-align: center;
    font-style: normal;
    width: 90px;
}
#pane h5 span {
    display: block;
}
#pane .count i {
    font-size: 36px;
    line-height: 36px;
}
#pane .place i {
    font-size: 48px;
}
#pane .place span {
    padding: 20px 0;
}
#pane .sources h5 {
    text-align: right;
    min-height: 24px;
}
#pane .sources i {
    background: url(../img/sources.png) no-repeat center;
    background-size: 24px 24px;
    width: 24px;
    height: 24px;
    float: right;
}
#pane .sources span {
    display: none;
}

@media (max-width: 991px) {
    #species .thumb {
        margin-left: -60px;
        margin-top: -60px;
        width: 120px;
    }
}
@media (max-width: 767px) {
    #species .thumb {
        width: 180px;
        position: static;
        margin: 10px auto;
    }
}
@media (max-width: 480px) {
    #pane {
        right: -100%;
        width: 100%;
        padding: 0;
    }
}
@media (min-width: 1540px) {
    #species .thumb {
        margin-left: -120px;
        margin-top: -120px;
        width: 240px;
    }
}

@keyframes swing {
    0% { transform: scale(.8) rotate(30deg); }
    20% { transform: scale(.9) rotate(-20deg); }
    40% { transform: scale(1.1) rotate(12deg); }
    60% { transform: scale(1) rotate(-6deg); }
    80% { transform: scale(.95) rotate(2deg); }
    100% { transform: none; }
}
@-webkit-keyframes swing {
    0% { -webkit-transform: scale(.8) rotate(30deg); }
    20% { -webkit-transform: scale(.9) rotate(-20deg); }
    40% { -webkit-transform: scale(1.1) rotate(12deg); }
    60% { -webkit-transform: scale(1) rotate(-6deg); }
    80% { -webkit-transform: scale(.95) rotate(2deg); }
    100% { -webkit-transform: none; }
}


#popup {
    position: fixed;
    opacity: 0;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transition: opacity 500ms ease-out 0ms;
    -moz-transition: opacity 500ms ease-out 0ms;
    -webkit-transition: opacity 500ms ease-out 0ms;
}
#popup .inner {
    width: 70%;
    margin: 0 auto;
    background: black;
    padding: 30px;
    text-align: center;
    position: relative;
}
#popup.off {
    z-index: -1;
}
#popup.on {
    opacity: 1;
    z-index: 50;
}

#popup .actions {
    text-align: left;
    font-size: 14px;
    line-height: 20px;
    margin: 30px 0 15px;
}
#popup .actions .checkbox {
    margin: 0;
    padding: 0;
    min-height: 50px;
}
#popup .actions input {
    visibility: hidden;
    width: 1px;
    overflow: hidden;
}
#popup .actions label:before {
    content: "";
    float: left;
    vertical-align: middle;
    width: 40px;
    height: 40px;
    background: url(../img/engage.png) no-repeat center;
    margin-right: 10px;
}
#popup .actions label {
    font-weight: normal;
    opacity: .2;
    display: block;
    transition: opacity 500ms ease-out 0ms;
    -moz-transition: opacity 500ms ease-out 0ms;
    -webkit-transition: opacity 500ms ease-out 0ms;
}
#popup .actions input:checked + label {
    opacity: 1;
}

#popup .profile {
    margin: 15px 0;
    padding: 15px 0;
    border: 1px #f77e1b dashed;
    border-width: 1px 0;
}
#popup .profile label {
    display: none;
}
@media (max-width: 767px) {
    #popup .profile label {
        display: block;
        padding-top: 10px;
    }
}
#popup .profile input {
    display: block;
    background: white;
    color: black;
    border: 1px #f77e1b solid;
    margin: 0;
    padding: 8px;
    width: 100%;
    height: 35px;
    font-size: 17px;
    text-align: center;
}

#popup .news {
    text-align: left;
    font-size: 12px;
    line-height: 15px;
}

#sign,
#popup button {
    display: inline-block;
    background: #f9800b;
    border: 0;
    padding: 0 20px;
    margin-top: 5px;
    border-radius: 13px;
    min-height: 42px;
    color: white;
    border: 2px white solid;
    font: normal 22px/42px "supersonic-web", Helvetica;
    margin-bottom: 10px;
}
#popup .mandatory {
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 8px;
    margin: 0;
}

#sign {
    opacity: 0;
    transition: opacity 500ms ease-out;
    -moz-transition: opacity 500ms ease-out;
    -webkit-transition: opacity 500ms ease-out;
}
#sign.off {
    display: none;
}
#sign.on {
    opacity: 1;
}

@media only screen and (max-width: 767px) {
    #popup {
        height: 100%;
        overflow: auto;
    }
    #popup .inner {
        width: 100%;
        padding-top: 150px;
    }
}

#credits {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    opacity: .4;
}
#credits p {
    margin: 0;
    font-size: 7px;
    text-transform: uppercase;
    color: white;
}
#credits a,
#credits a:visited,
#credits a:hover,
#credits a:active,
#credits a:focus {
    color: white;
}

@media (max-width: 767px) {
    #credits {
        position: static;
        text-align: right;
        margin: 20px 0 10px;
    }
}

.user-profile {
    margin-bottom: 15px;
}
