﻿/* Reset */
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900&display=swap');


.btn {
    border: 0 !important;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-outline-info {
    border: 1px solid #17a2b8 !important;
}

.btn-primary:hover {
    background: #90A8CC !important;
}

button:focus {
    outline: 0;
}

html, body {
    -webkit-text-size-adjust: none;
    font-family: Roboto, sans-serif !important;
}

html, body, #page-wrapper {
    height: 100%;
}

/*Objets Specifiques*/

.global--title {
    text-align: center;
    padding: 20px 0;
    text-transform: uppercase;
    font-size: 25px;
    margin: 0;
}

.warningMessage {
    width: 80vw;
    font-size: 1em;
    text-align: start;
    color: red;
}

.preformatedCode {
    margin: 0 0 0em 0;
    padding: 0 !important;
}

    .preformatedCode code {
        display: block;
        line-height: 1.75em;
        padding: 1em 1.5em;
        font-family: "Consolas", sans-serif;
        font-size: 0.8em;
        text-align: left;
        max-width: 80vw;
    }

@media only screen and (max-width: 1024px) {
    .preformatedCode code {
        display: block;
        line-height: 1.75em;
        padding: 1em 1.5em;
        font-family: "Consolas", sans-serif;
        font-size: 0.8em;
        text-align: left;
        border-radius: 4px;
        max-width: 100%;
    }
}


#requete {
    display: grid;
    margin: initial !important;
    margin-left: 0px;
    max-width: 100%;
}

#reponse {
    display: grid;
    margin: initial !important;
    margin-left: 0px;
    max-width: 100%;
    margin-top: 2em;
}

#four .content {
    top: 15vh;
}

.top-header {
    top: 3.6em !important;
}


#imgWorkflow {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

    #imgWorkflow:hover {
        opacity: 0.7;
    }

#imgModalZoom {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

/* Modal Content (Image) */
#img {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 100%;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
#img, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.close {
    position: absolute;
    top: 10px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

    .close:hover,
    .close:focus {
        color: red !important;
        text-decoration: none;
        cursor: pointer;
    }

#divLoader {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

#img-loader {
    position: fixed;
    top: 50%;
    left: 50%;
    display: block;
    width: 50px;
    max-width: 50px;
}

#captionLoader {
    position: fixed;
    top: 60%;
    left: 49.9%;
    display: block;
    width: 100px;
    max-width: 100px;
    color: #ccc;
}

.question-generation, .answer-generation {
    font-size: 20px;
    margin: 0;
}

h4.question-generation, h4.answer-generation {
    font-size: 15px;
}

.xml {
    overflow-x: scroll;
}

.btn-primary, .bg-primary {
    background-color: #205098 !important;
}

#CheckRecette, #CheckProd {
    width: 50px;
    height: 50px;
    background: #eee;
    line-height: 50px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0px 0px 6px 1px #999;
    margin: 0 auto;
    font-size: 30px;
}

    #CheckRecette.ok, #CheckProd.ok {
        color: white;
        background: #00B067;
    }

    #CheckRecette.ko, #CheckProd.ko {
        color: white;
        background: #C0392B;
    }

.w-80 {
    width: 80%;
}

.mb-45 {
    margin-bottom: 2.5rem !important;
}

.mb-05 {
    margin-bottom: .10rem !important;
}

#navbarSupportedContent {
    min-height: 47px;
}

    #navbarSupportedContent .nav-link {
        margin-right: 10px;
        padding: 5px 10px;
        transition: all 0.5s ease;
        text-transform: uppercase;
        font-size: 13px;
    }

        #navbarSupportedContent .nav-link:hover, #navbarSupportedContent .nav-link.active {
            background: rgba(255,255,255,.5);
            border-radius: 2px;
            color: #FFFFFF;
        }



/* Code generation */
.generatecode .card-header, .faq .card-header {
    border: 0;
    border-bottom: 1px solid rgba(0,0,0,.125);
    background: #eee;
}

.faq .card-body {
    border-bottom: 1px solid rgba(0,0,0,.125);
}

#optionsChoice button.choicebtn {
    min-height: 130px;
}

.divs .api-request-header {
    background: #F8F9FA;
    padding: 10px 12px;
    letter-spacing: .01em;
    color: #697386;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 8px 8px 0 0;
    margin: 1px 0 0 0;
    border: 1px solid #dee2e6 !important;
}

    .divs .api-request-header .api-request-header-title {
        color: #697386;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
    }
