﻿html, body {
    overflow-x: hidden;
}

html {
    height: 100%;
}

body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    color: #424242;
    background-color: #fff;
}

.f1 {
    flex: 1 !important;
}

.body-content {
    height: 100%;
    position: relative;
}

    .body-content div {
        flex: none;
    }

/* balise h1, h2, ...*/
h1 {
    font-size: 75px;
    font-weight: 700;
}

h2 {
    font-size: 50px;
    font-weight: 700;
}

/* anchor a */
a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

    a:hover,
    a:focus {
        text-decoration: none;
        color: inherit;
    }

/* input */
input {
    border-radius: 2em !important;
}

textarea {
    border-radius: .5rem !important;
    min-height: 146px;
}

/* dropdown */
.dropdown button {
    border: 1px solid #ced4da;
    border-radius: 2em !important;
    background-color: #f8f9fa !important;
    color: #6f7377 !important;
    text-align: left;
    position: relative;
    width: 100%;
}

    .dropdown button span {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        display: block;
        padding-right: 15px;
    }

        .dropdown button span.selected {
            color: #495057 !important;
        }

    .dropdown button::after {
        position: absolute;
        right: 11px;
        top: 15px;
    }

.dropdown .dropdown-item {
    cursor: pointer;
}

/* Background */
.background-blanc {
    background-color: #fff;
}

.background-gris-noir {
    background-color: #424242;
}

/* Backgroud Image*/
.background-image:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #000;
    background-size: cover;
    opacity: .4;
}

.background-image {
    position: relative;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    background-image: url(/Images/bg-fede-forains-france.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}

/* couleur libelle */
.blanc {
    color: #fff;
}

.gris-fonce {
    color: #969696;
}

.orange {
    color: #f57e09;
}

.color-error {
    color: #a94442;
}

/* style libellé */
.gras {
    font-weight: 600;
}

.majuscule {
    text-transform: uppercase;
}

.souligne {
    text-decoration: underline;
}

.italic {
    font-style: italic;
}

/* taille des libelles */
.size-13 {
    font-size: 13px;
}

.size-14 {
    font-size: 14px;
}

.size-15 {
    font-size: 15px;
}

.size-16 {
    font-size: 16px;
}

.size-17 {
    font-size: 17px;
}

.size-18 {
    font-size: 18px;
}

.size-19 {
    font-size: 19px;
}

.size-20 {
    font-size: 20px;
}

.size-21 {
    font-size: 21px;
}

.size-22 {
    font-size: 22px;
}

.size-26 {
    font-size: 26px;
}

.size-30 {
    font-size: 30px;
}

/* buttons */
.btn-circle {
    width: 1.875rem;
    height: 1.875rem;
    text-align: center;
    padding: 0.375rem 0;
    font-size: 0.75rem;
    line-height: 1.428571429;
    border-radius: 0.938rem;
}

    .btn-circle.btn-lg {
        width: 3.125rem;
        height: 3.125rem;
        padding: 0.625rem 1rem;
        font-size: 1.125rem;
        line-height: 1.33;
        border-radius: 1.563rem;
    }

.btn-fff, .btn-fff:focus {
    background-color: #f57e09;
    color: #fff !important;
    border-radius: 2rem;
}

    .btn-fff:hover {
        background-color: #fff;
        color: #f57e09 !important;
        border-radius: 2rem;
        border: solid 1px #f57e09;
    }

.btn-fff-connexion, .btn-fff-connexion:focus {
    background-color: #F69837;
    color: #fff !important;
}

    .btn-fff-connexion:hover {
        background-color: #fff;
        color: #F8931F !important;
        border: solid 1px #F69837;
    }


.btn-outline-fff, .btn-outline-fff:focus {
    color: #f57e09 !important;
    border-radius: 2rem;
    border: solid 2px #f57e09;
}

    .btn-outline-fff:hover {
        background-color: #f57e09;
        color: #fff !important;
        border-radius: 2rem;
    }

.btn-cancel-fff {
    color: #f57e09 !important;
    display: block;
}

@media (max-width: 992px) {

    .btn-fff:hover {
        background-color: #f57e09;
        color: #fff !important;
        border-radius: 2rem;
    }

    .btn-outline-fff:hover {
        color: #f57e09 !important;
        border-radius: 2rem;
        border: solid 2px #f57e09;
    }
}

/* Form */
form .field-validation-error {
    color: #ff3300;
    display: block;
    margin-top: 5px;
}

#form_participant .input-validation-error::placeholder {
    color: red;
    opacity: 1;
}

#form_participant .input-validation-error:-ms-input-placeholder {
    color: red;
}

#form_participant .input-validation-error::-ms-input-placeholder {
    color: red;
}

/* Logo & taille*/

.logo-fff {
    width: 250px;
    height: 177px;
}

.logo-fff-mobile {
    width: 170px;
    height: 120px;
}

/* Fiche election */
ul.treeview
{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul.treeview-child > li {
    cursor: pointer;
    user-select: none;
    list-style: none;
}

    ul.treeview-child > li > ul {
        list-style-type: none;
        height: 0;
        overflow: hidden;
    }

        ul.treeview-child > li > ul > li {
            cursor: default;
        }

.fiche-election-region {
    margin-bottom: 2rem;
}
