body {
    font-size: 13px !important;
}

.w3-titlecase {
    display: inline-block;
}

    .w3-titlecase::first-letter, label::first-letter {
        text-transform: uppercase;
    }

.w3-title {
    display: block
}

    .w3-title span {
        display: block
    }

        .w3-title span::first-letter {
            text-transform: uppercase;
        }

    .w3-title::first-letter {
        text-transform: uppercase;
    }

th span::first-letter {
    text-transform: uppercase;
}

@media (max-width:600px) {
    .w3-main {
        margin-top: 40px;
        
    }
    .w3-xlarge{
       font-size: 15px !important

    }
    .w3-large{
       font-size: 12px !important

    }
    .w3-medium {
        font-size: 10px !important
    }
}

@media (max-width:400px) {
    #timer {
        font-size: 24px;
    }
}

body, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, body, input, select, textarea {
    font-family: 'Roboto', 'Segoe UI' !important;
}

a {
    cursor: pointer;
    text-decoration: none;
}

.w3-input, .w3-select {
    padding: 4px 6px;
}

.w3-select {
    padding: 5px 6px;
}

.w3-bold {
    font-weight: bold;
}

.w3-uppercase {
    text-transform: uppercase
}

img {
    width: 100%;
    height: auto,
}

.w3-pointer {
    cursor: pointer;
}

#colorNav > ul {
    margin: 0 auto;
}

@media (min-width:992px) {
    #colorNav > ul {
        width: 450px;
        margin: 0 auto;
    }
}

#colorNav > ul > li {
    list-style: none;
    display: inline-block;
    line-height: 1;
    margin: 1px;
    border-radius: 3px;
    position: relative;
}


#colorNav li ul {
    text-align: left !important;
    margin-right: 50px;
    position: absolute;
    list-style: none;
    margin-left: -50px;
    font: bold 12px 'Open Sans Condensed', sans-serif;
    max-height: 0px;
    overflow: hidden;
    -webkit-transition: max-height 0.4s linear;
    -moz-transition: max-height 0.4s linear;
    transition: max-height 0.4s linear;
}

    #colorNav li ul li {
    }

        #colorNav li ul li a {
            padding: 12px;
            color: #fff !important;
            text-decoration: none !important;
        }

        #colorNav li ul li:nth-child(odd) {
            background-color: #363636;
        }

        #colorNav li ul li:hover {
            background-color: #444;
        }

        #colorNav li ul li:first-child {
            border-radius: 3px 3px 0 0;
            margin-top: 25px;
            position: relative;
        }

            #colorNav li ul li:first-child:before {
                content: '';
                position: absolute;
                width: 1px;
                height: 1px;
                border: 5px solid transparent;
                border-bottom-color: #313131;
                left: 50%;
                top: -10px;
                margin-left: -5px;
            }

        #colorNav li ul li:last-child {
            border-bottom-left-radius: 3px;
            border-bottom-right-radius: 3px;
        }

#colorNav li:hover ul {
    max-height: 200px;
}

.w3-padding-trash {
    padding: 8px;
    border-radius: 3px;
    color: white;
    background: red
}

.buttonright2:hover i {
    transition: 0.5s;
    margin-left: -10px !important;
    font-size: 20px !important;
    color: green !important
}

.buttonright span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

    .buttonright span:after {
        font-size: 20px;
        content: '\00bb';
        position: absolute;
        opacity: 0;
        top: -6px;
        left: -5px;
        transition: 0.5s;
    }

.buttonright:hover span {
    padding-left: 15px;
}

    .buttonright:hover span:after {
        opacity: 1;
        right: 0;
    }

.w3-btn-trash2 {
    margin: 2px;
    width: 100%;
    height: 25px;
    border-radius: 3px;
    color: red;
    border: solid 0.5px red;
    text-align: center;
    vertical-align: central;
    padding-top: 1px
}
.w3-btn-trash {
    margin: 2px;
    width: 25px;
    height: 25px;
    border-radius: 3px;
    color: red;
    border: solid 0.5px red;
    text-align: center;
    vertical-align: central;
    padding-top: 1px
}

.w3-btn-edit {
    margin: 2px;
    border-radius: 3px;
    color: orange;
    border: solid 0.5px orange;
    width: 25px;
    height: 25px;
    text-align: center;
    padding-top: 1px
}

.w3-btn-create {
    color: green;
    border: solid 0.5px green;
    text-align: center;
}

    .w3-btn-create:hover {
        color: white;
        border: solid 0.5px green;
        background: green;
        text-align: center;
        transition: all 0.4s
    }

.w3-btn-edit:hover {
    color: white;
    background-color: orange !important;
    transition: all 0.4s
}

.w3-btn-trash:hover {
    color: white;
    background-color: red !important;
    transition: all 0.4s
}

.w3-hover-red {
    transition: all 0.4s
}

.w3-hover-green {
    transition: all 0.4s
}

input {
    display: initial !important
}

select:required:invalid {
    border-color: red !important;
}

select:required:valid {
    border-color: green !important;
}

input:required:invalid {
    border-color: red !important;
}

input:required:valid {
    border-color: green !important;
}


input:required:invalid.noticon + span:after {
    display: none
}

input:required:valid.noticon + span:after {
    display: none
}


input {
    width: 100% !important
}


    input:required.noticon {
        width: 100% !important
    }

    input:focus {
        border: solid 1px var(--w3-theme) !important
    }

form:invalid button[submit] {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: lightgray !important;
    border: solid 0.5px lightgray !important;
    color: white !important
}

    form:invalid button[submit]:hover {
        opacity: 0.6;
        cursor: not-allowed;
        background-color: lightgray !important;
        border: solid 0.5px lightgray !important;
        color: white
    }

.titrecard {
    border-bottom: solid 0.1px #e0e0e0;
    padding-bottom: 10px
}

.encart {
    border-radius: 5px;
    border: solid 0.1px #e0e0e0
}

.buttonicon {
    padding: 6px 10px; /* Some padding */
    font-size: 16px; /* Set a font size */
    cursor: pointer; /* Mouse pointer on hover */
}

.buttoniconpetit {
    padding: 6px 12px; /* Some padding */
    font-size: 16px; /* Set a font size */
    cursor: pointer; /* Mouse pointer on hover */
}

.w3-bar-block .w3-bar-item .w3-reduction {
    width: 100%;
    display: block;
    padding-top: 4px;
    text-align: center !important;
    border: none;
    white-space: normal;
    outline: 0;
    height: 30px
}

.dataTables_filter {
    display: none !important
}

.buttonright {
    color: #2196F3 !important;
    font-weight: bold
}

.ant-alert-info {
    background-color: #f0f7ff;
    border: 1px solid #bad7ff;
}

.ant-alert-success {
    background-color: #e6fff1;
    border: 1px solid #7cf7bc;
}

.ant-alert-error {
    background-color: #fff1f0;
    border: 1px solid #ffe7e6;
}

.page {
    float: none;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}

progress, progress[value] {
    /*appearance: none;*/
    background-color: #eee;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset;
    display: block;
    margin: .5em 0 0.5em 6.5em;
    /*-webkit-appearance: none;*/
}

rogress[value='25']::-webkit-progress-value {
    background-color: #f00;
}

progress[value='25']::-moz-progress-bar {
    background-color: #f00;
}

.progress {
    width: 90%;
    height: 10px;
    overflow: hidden;
    background-color: #282828;
    border-radius: 90px;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
}

.progress-bar-success {
    background-color: #5cb85c;
}

.progress-bar {
    float: left;
    width: 0;
    height: 100%;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    background-color: green;
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
    -webkit-transition: width .6s ease;
    -o-transition: width .6s ease;
    transition: width .6s ease;
}

.progress-bar-warning {
    background-color: #f0ad4e;
}

.progress-striped .progress-bar, .progress-bar-striped {
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    -webkit-background-size: 40px 40px;
    background-size: 40px 40px;
}

.progress-bar {
    float: left;
    width: 0;
    height: 100%;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
    -webkit-transition: width .6s ease;
    -o-transition: width .6s ease;
    transition: width .6s ease;
}

.progress-bar-danger {
    background-color: #d9534f;
}

.progress-bar {
    float: left;
    width: 0;
    height: 100%;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
    -webkit-transition: width .6s ease;
    -o-transition: width .6s ease;
    transition: width .6s ease;
}

.w3-large_em {
    font-size: 1em
}

.w3-xlarge_em {
    font-size: 2vw
}

.w3-xxlarge_em {
    font-size: 3.5vw
}

.w3-xxxlarge_em {
    font-size: 1em
}

.hoverborder:hover {
    border: solid 2px gray !important
}
.classformation {
    margin-right:25%
}
.classtopnavb {
    margin-right: 25%
}
.classmySidebar {
    width: 25%
}

@media (max-width:900px) {
    .classformation {
        margin-right: 0%
    }

    .classtopnavb {
        margin-right: 0%
    }

    .classmySidebar {
        width: 100%

    }
    .logoheader {
        margin-top:10%;
        width: 100px !important;
    }
    .flex-container {
        display: flex;
        align-items: stretch;
        flex-direction:column-reverse !important
    }
    .flex-container>div {
        width:100% !important
    }
}
.logoheader {
    margin-top: 0%;
    width: 200px;
}
.nbligne {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 200;
    -webkit-box-orient: vertical;
    height:80px
}
.flex-container {
    display: flex;
    align-items: stretch;
    flex-direction: row
}
.encartimg img {
    width: auto !important;
    height: auto,;
}