@font-face {
    font-family:"billo-dream";
    src: url("../../fonts/billo-dream/BILLD___.TTF") format("truetype");
}

h2 {
    font-size: 1.8em;
}

section p, section > div > li, section > div > div > div > li{
    margin: 0;
    line-height: 1.1em;
    font-size: 0.7em;
}

section p{
    margin-bottom: 10px;
}

.diaporama-button{
    margin-top: 20px;
}

/* Presentation */

#section-a{
    height: 100vh;
    margin: auto;
    text-align: center;
    overflow: hidden;
    background-color: darkslateblue;
}

    #section-a .bg-picture{
        width: 100vw;
        position: absolute;
        top: 0px;
        left:0px;
        margin:auto;
        overflow: hidden;;
    }

        #section-a .bg-picture img{
            width: 100%;
            height: auto;
        }



.bottomout {
    animation: bottomoutanimation 3.5s forwards;
        -webkit-animation: bottomoutanimation 3.5s forwards;
        -webkit-animation-delay: 3.5s;
    animation-delay: 3.5s;
}
@-webkit-keyframes bottomoutanimation {
    0% {  top: 0px;       opacity: 1; width: 100vw; height: 100vh; }
    99% { top: 100vh;     opacity: 0; width: 100vw; height: 100vh; }
    100% {                opacity: 0; width: 0px;   height: 0px; }
}
@keyframes bottomoutanimation {
    0% {  top: 0px;       opacity: 1; width: 100vw; height: 100vh; }
    99% { top: 100vh;     opacity: 0; width: 100vw; height: 100vh; }
    100% {                opacity: 0; width: 0px;   height: 0px; }
}

        #section-a header{
            /*padding-top: 20px;
            height: 14vh;*/
            padding-top: 50px;
            height: 20vh;
        }

        #section-a header h1#title{
            letter-spacing: 0.1em;
        }

        #section-a h1{
            color: silver;
            font-family: billo-dream;
            font-size: 2em;
            margin-bottom: 40px;
        }

    #section-a .nine-squares{
        /*position: absolute;
        top: 70px;
        right: 60px;*/
        position: relative;
        top: -10px;
    }

        .nine-squares .block{
            border: 0;
            margin: 0;
        }
        .nine-squares .row{
            border: 0;
            margin: 0 0 2vh 0;
            display: flex;
            text-align: center;
        }
        .nine-squares .row:first-child {
            margin-top: 1vw;
        }
        .nine-squares .block{
            position: relative;
            margin-left: auto;
            margin-right: auto;
            display: block;
            background: silver;
            height: 25vw;
            width: 30vw;
            /*border-radius: 10px;*/
            margin-top: 1vw;
            margin-bottom: 1vw;
            overflow: hidden;
            padding: 0;
            border: 2px solid white;
            text-decoration: none;
        }

        .nine-squares__description{
            background-color: rgba(72,61,139, 0.7);/* = darkslateblue /*rgba(0, 0, 255, 0.5);*/
            position: relative;
            top: -3vw;
            height: 2vw;
            line-height: 2vw;
            vertical-align: baseline;
        }

        .nine-squares .block img {
            width: 100%;
            object-fit: cover;
        }
/*
@media screen and (min-width: 400px) {
    /* @media screen and (min-width: 640px) { */



    header h1#title span {
        color: white;
        height: 2000px;
        position: absolute;
        width: 500px;
        left: 500px;
        top: 40px;
        transform-origin: bottom center;
    }

    #section-a .row {
        display: flex;
        align-items: stretch;
        flex-flow: row wrap;
        justify-content: space-evenly;
        width: 100%;
    }
    #section-a .block{
        width: 20vw;
        height: 9vw;
        display: inline-block;
        margin: 0.5vh 2vh;
    }
    #section-a .block:hover img {
        transform: scale(1.5);
    }
    #section-a .block img {
        transition: all .5s;
    }


    section .list__container{
        display: flex;
    }
    section .list__left{
        width: 45%;
    }


/*
    #section-h .content{
        width: 50%;
        left: 50%;
    }
*/



/*}*/

    /* Présentation */

    #section-a-presentation {
        background: url("../../images/intro.jpg");
        background-size: 150%;
        background-attachment: fixed;
        background-position: 0% center;
        background-repeat: no-repeat;
    }

    /* Animation Cirque */

    #section-b {
        background: url("../../images/apropos.jpg");
        background-size: cover;
        background-attachment: fixed;
        background-position: bottom center;
        background-repeat: no-repeat;
    }

    /* Spectacle "Le Barjo" */

    #section-c {
        background: url("../../images/atelier.jpg");
        background-size: cover;
        background-attachment: fixed;
        background-position: bottom center;
        background-repeat: no-repeat;
    }

    /* Sculptures sur ballons */

    #section-d {
        background: url("../../images/ballons.jpg");
        background-size: cover;
        background-attachment: fixed;
        background-position: bottom center;
        background-repeat: no-repeat;
    }

    /* Spectacle "Tout feu tout flammes" */

    #section-e {
        background: url("../../images/feu.jpg");
        background-size: cover;
        background-attachment: fixed;
        background-position: bottom center;
        background-repeat: no-repeat;
    }

    /* Déambulation de jongleurs */

    #section-f {
        background: url("../../images/deambulation.jpg");
        background-size: cover;
        background-attachment: fixed;
        background-position: bottom center;
        background-repeat: no-repeat;
    }

    /* Spectacle "Drôles de lutins" */

    #section-g {
        background: url("../../images/spectacles.jpg");
        background-size: cover;
        background-attachment: fixed;
        background-position: bottom center;
        background-repeat: no-repeat;
    }

    /* Stages de cirque */

    #section-h {
        background: url("../../images/animation.jpg");
        background-size: cover;
        background-attachment: fixed;
        background-position: bottom center;
        background-repeat: no-repeat;
    }

/* Two */

    #two {
        background: url("../../images/two.jpg");
        background-repeat:repeat;
        background-attachment: fixed;
    }

/* Work */

    #work .row.images .image {
        -moz-transition: all 1s ease;
        -webkit-transition: all 1s ease;
        -ms-transition: all 1s ease;
        transition: all 1s ease;
        -moz-transform: translateZ(0);
        -webkit-transform: translateZ(0);
        -ms-transform: translateZ(0);
        transform: translateZ(0);
        position: relative;
        top: 0;
        left: 0;
        opacity: 1.0;
    }

    #work .row.images.inactive .image {
        opacity: 0;
    }

        #work .row.images.inactive .image.from-left {
            left: -14em;
        }

        #work .row.images.inactive .image.from-right {
            left: 14em;
        }

        #work .row.images.inactive .image.from-top {
            top: -7em;
        }

        #work .row.images.inactive .image.from-bottom {
            top: 7em;
        }

/* Contact */

    #section-i {
        padding-bottom: 0;
        overflow: hidden;
    }

        #section-i .box {
            -moz-transition: all 1s ease;
            -webkit-transition: all 1s ease;
            -ms-transition: all 1s ease;
            transition: all 1s ease;
            -moz-transform: translateZ(0);
            -webkit-transform: translateZ(0);
            -ms-transform: translateZ(0);
            transform: translateZ(0);
            position: relative;
            bottom: 0;
        }

        #section-i.inactive .box {
            bottom: -30em;
        }

/*******************************************************************************************
**************************************** Mobile ********************************************
********************************************************************************************/

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

    header{
        padding-top: 0px;
    }

    h2 {
        font-size: 1em;
    }

    section p, section > div > li, section > div > div > div > li{
        margin: 0;
        line-height: 1.2em;
        font-size: 0.5em;
    }
    
    section p{
        margin-bottom: 5px;
    }

    .main.style2 .content{
        text-align: left;
    }

    #section-a{
        height: 100vh;
        margin: auto;
        text-align: center;
        overflow: hidden;
        background-color: darkslateblue;
    }

    /* Accueil */

    #section-a h1{
        color: silver;
        font-size: 1.3em;
        margin-bottom: 40px;
    }

    #section-a header {
        padding-top: 0;
        height: 20vh;
    }

        header h1#title span {
            color: white;
            height: auto;
            position: relative;
            width: auto;
            left: auto;
            top: 40px;
            transform-origin:center;
        }

        #section-a .bg-picture{
            width: 350vw;
            position: absolute;
            top: 0px;
            left:-120%;
            margin:auto;
            overflow: hidden;;
        }

    #section-a .nine-squares{
        position: relative;
        top: -30px;
    }
        #section-a .block {
            width: 30vw;
            height: 30vw;
            display: inline-block;
            margin: 0.5vh 0.5vh;
        }

        .nine-squares__description{
            top: -40px;
            height: 40px;
            line-height: 1.1em;
            vertical-align: middle;
            font-size: 0.47em;
            padding-top: 3px;
        }

        #section-a-presentation {
            background-size: 350%;
        }

        .main.style1 {
            /* padding: 4em 15px 4em 15px; */
        }
/*
            .main.style1 h2 {
                font-size: 3em;
                letter-spacing: -3px;
            }
*/
        .main.style2 {
            padding: 6em 15px 6em 15px;
        }

            .main.style2:before, .main.style2:after {
                display: none !important;
            }

            .main.style2 .button.anchored {
                display: none;
            }

            .main.style2 .content {
                width: 100%;
                left: 0% !important;
                text-align: left;
            }

            .main.style2 .tmp {
                width: 100%;
                height: 10em;
                background-size: cover;
            }

        .main.style3 {
            text-align: left;
            padding: 3em 10px 3em 10px;
        }

    }

            /* Footer */

                #footer {
                    height: auto;
                    line-height: inherit;
                    text-align: center;
                    padding: 2em 1em 2em 1em;
                }

                    #footer .actions {
                        position: relative;
                        left: 0;
                        top: 0;
                        height: auto;
                        line-height: inherit;
                        margin: 0 0 1em 0;
                    }

                    #footer .menu {
                        position: relative;
                        right: 0;
                        top: 0;
                        height: auto;
                        line-height: inherit;
                    }

        }

            /* Basic */

                body {
                    min-width: 320px;
                    font-size: 12pt;
                    line-height: 1.5em;
                }

                input, textarea, select {
                    font-size: 12pt;
                    line-height: 1.5em;
                }


            /* Box */

                .box {
                    padding: 1em;
                }

                    .box.style2 {
                        padding: 1.5em 1.25em 1.5em 1.25em;
                        background-color: rgba(255, 255, 255, 0.9);
                    }


form input[type="text"], form input[type="email"], form input[type="password"], form select, form textarea {
    border: solid 1px rgba(185, 186, 187, 0.50);
}

.trick{
    display:none;
}
#top{
    width: 0;
    height: 0;
}

#link-to-top{
    position: fixed;
    right: 20px;
    top: 10px;
    display: none;
    text-decoration: none;
}

#rc-anchor-container{
    width: 300px;
}
