/*!
 * Start Bootstrap - Stylish Portfolio (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */


/* Global Styles */

html, body {
    width: 100%;
    height: 100%;
    color: #363736;
}

body {
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {
    color: #ebba16;
    text-decoration: underline;
}

a:hover {
    color: #87cbe7;
}

.text-vertical-center {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    padding: 30px;
}

.text-vertical-center h1 {
    /*display: inline-block;*/
    margin: 0 0 30px 0;
    padding: 0;
    font-size: 4.5em;
    font-weight: 700;
    color: #363736;
}

.text-vertical-center h3 {
    /*display: inline-block;*/
    font-size: 3.5em;
    color: #363736;
}


/* Custom Button Styles */

.btn-dark {
    border-radius: 0;
    color: #fff;
    background-color: rgba(235, 186, 22, 1);
}

.btn-dark:hover, .btn-dark:focus, .btn-dark:active {
    color: #fff;
    background-color: rgba(54, 55, 54, 1);
}

.btn-light {
    border-radius: 0;
    color: #333;
    background-color: rgb(255, 255, 255);
}

.btn-light:hover, .btn-light:focus, .btn-light:active {
    color: #333;
    background-color: rgba(255, 255, 255, 0.8);
}


/* Custom Horizontal Rule */

hr.small {
    max-width: 100px;
}


/* Side Menu */

#sidebar-wrapper {
    z-index: 1000;
    border-left: 1px solid #e8e8e9;
    box-sizing: border-box;
    position: fixed;
    right: 0;
    width: 250px;
    height: 100%;
    transform: translateX(250px);
    overflow-y: auto;
    background: #363736;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 250px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-nav li {
    text-indent: 20px;
    line-height: 40px;
}

.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #999;
}

.sidebar-nav li a:hover {
    text-decoration: none;
    color: #fff;
    background: #87cbe7;
}

.sidebar-nav li a:active, .sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav>.sidebar-brand {
    height: 55px;
    font-size: 18px;
    line-height: 55px;
}

.sidebar-nav>.sidebar-brand a {
    color: #999;
}

.sidebar-nav>.sidebar-brand a:hover {
    color: #fff;
    background: none;
}

#menu-toggle {
    z-index: 1;
    position: fixed;
    top: 0;
    right: 0;
}

#sidebar-wrapper.active {
    right: 250px;
    width: 250px;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

.toggle {
    margin: 5px 5px 0 0;
}


/* Header */

.header {
    display: table;
    position: relative;
    max-width: 100vw;
    width: 100%;
    height: 100%;
    background: url(../img/bg.jpg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.header-section {
    margin: auto;
    /*width: 750px;*/
    /*background-color: rgba(255, 255, 255, 0.6);*/
    padding: 3% 0;
}


/* About */

.about {
    padding: 50px 0;
}


/* logos */

.services {
    padding: 50px 0;
}

.service-item {
    margin-bottom: 30px;
}

.div-logo {
    display: table-cell;
    /* comportement visuel de cellule */
    vertical-align: middle;
}

.logo {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 100%;
    height: 300px;
}

.logo-evolix {
    background-image: url('../img/logo-evolix.png');
}

.logo-debconf {
    background-image: url('../img/debconf-logo.png');
}


/* Callout */

.callout {
    display: table;
    width: 100%;
    height: 400px;
    color: #fff;
    background-color: #363736;
    /*background: url(../img/callout.jpg) no-repeat center center scroll;*/
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}
.callout h1 {
    color: #ffffff;
}
.callout h3 {
    color: #87cbe7;
}

/* Portfolio */

.portfolio {
    padding: 50px 0;
}

.portfolio-item {
    margin-bottom: 30px;
}

.img-portfolio {
    margin: 0 auto;
}

.img-portfolio:hover {
    opacity: 0.8;
}


/* Call to Action */

.call-to-action {
    padding: 50px 0;
}

.call-to-action .btn {
    margin: 10px;
}

/* Map */

.map {
    height: 500px;
}

@media(max-width:768px) {
    .map {
        height: 75%;
    }
}

.map iframe {
    pointer-events: none;
}


/* Footer */

footer {
    padding: 100px 0;
    background-color: #87cbe7;
}
footer a {
    color:#ffffff;
}
footer a:hover {
    color:#ebba16;
}

#to-top {
    display: none;
    position: fixed;
    bottom: 5px;
    right: 5px;
}

.bg-primary {
    background-color: #87cbe7;
    color: #363736;
}

.bg-primary a {
    color: #363736;
}

.bg-primary a:hover {
    color: #fff;
}

.toots {
    max-height:80vh;
    max-width: 520px;
    margin: auto;
    border-radius:5px;
    color:#000000;
    background-color:#363736;
    overflow-x: hidden;
￼    overflow-y: scroll;
    background-color:#ffffff;
}
.singleToot {
    padding:10px;
    border-bottom: 1px solid #e8e8e9;
}
.singleToot:hover {
    background-color: #F4F9Fb !important;
}
.singleToot:first-child {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.singleToot:last-child {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
.singleToot h4 {
    font-size: 14px;
    line-height: 18px;
    font-weight: bold;
}
.singleToot h5 {
    color: #8899A6;
}
.singleToot p {
    font-size: 18px;
}
.singleToot a {
    color: #87cbe7;
}
.singleToot a:hover {
    color: #9fd5ec;
}

#instafeed {
    padding: 0;
    margin-bottom: 50px;
}

@media all and (max-width: 800px){
    .header-section {
    background-color: rgba(255, 255, 255, 0.6);
    }
    #mastodon .text-vertical-center h1 {
        font-size: 30px;
    }
}
