﻿/* swagger ui customization */
.swagger-ui .topbar {
    background-size: cover;
    background-color: rgba(0,0,0,0);
    position: absolute;
    z-index: 10000 !;
    width: 100%;
    top: 0;
    right: 0;
}

.img_Cass {
    padding: 10px 0px 0px 0px;
    height: 80px;
    transform: translate(0px, 10px);
}

.content_logo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: start;
    height: 137px;
    position: absolute;
    /* background-color: white; */
    /* margin-left: 7.9%; */
    z-index: 1 !important;
    /* box-shadow: 0px 10px 1em rgba(0, 0, 0, 0.1); */
}


body {
    background-color: #e6e6e6 !important;
    box-sizing: border-box;
    width: 100%;
    overflow-x: hidden;
    margin: 0;
}

header div {
    width: 100vw;
    margin: 0;
}
.buttonwithlogo {
    background-color: white;
    display: flex !important;
    width: 1280px;
    gap: 21px !important;
    height: 100%;
    margin-left: 0% !important;
    box-shadow: 0px 10px 1em rgba(0, 0, 0, 0.1);
}

.mobileLogo {
    display: none;
}

.desktopLogo {
    display: initial;
}

    @media (max-width: 1024px) {
        .desktopLogo{
            display: none;
        }
        .mobileLogo {
            display: initial;
        }
    }

.btnArea {
    height: 101px !important;
    width: 75px !important;
    z-index: 99999;
    position: relative;
    margin: unset !important;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: blue; */
}

.go-back-button {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 99px;
    border: 2px solid #292f45;
    text-decoration: none;
    color: #292f45;
    position: relative;
    transition: 0.3s;
    background-color: rgba(0, 0, 0, 0);
    z-index: 999;
}


    .go-back-button a {
        width: 40px;
        height: 40px;
        border-radius: 99px;
        display: flex;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #3b4151;
        background: white;
        box-shadow: 0 0 1em rgba(0,0,0,0.1);
    }

        .go-back-button a:hover {
            color: white;
            border: 2px solid #888a8f;
            background: #888a8f;
        }


.swagger-ui .topbar a {
    width: 100% !important;
    display: flex;
}

.swagger-ui .topbar .topbar-wrapper {
    align-items: center !important;
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row-reverse !important;
    gap: 42px !important;
    width: 114% !important;
}

button.attached.authorize.btn.unlocked.attached {
    position: fixed;
    top: 65px;
    right: 15px;
    background-color: #fff;
}

h1 {
    background-position: left;
    background-size: 42px;
    padding-left: 47px;
    font-size: 36px;
    margin: 0;
}

h2 {
    width: 100%;
    background: url("./img/Icon-Dafitech.png") no-repeat;
    background-position: bottom left;
    background-size: 42px;
    padding-left: 47px;
    padding-top: 40px;
}

h6 {
    font-size: 12px;
    font-weight: 100;
    padding: 0;
    margin: 0;
}

    h6 a {
        text-decoration: none;
    }

        h6 a:hover {
            text-decoration: underline;
            cursor: pointer;
        }

.white-background {
    width: 1280px;
    height: 100vh;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    
    z-index: -1;
    background: white;
}


.swagger-ui:nth-child(2) {
    width: 100%;
    max-width: 1280px;
    min-height: 100vh;
    position: relative;
    z-index: 10000;
    /* margin: 137px auto; */
    padding: 0px 12px 12px 12px;
    background: white;
    box-shadow: 0px 12px 1em rgba(0, 0, 0, 0.1);
}


.swagger-ui .info {
    margin: 40px 0px 0px 0px !important;
}

.renderedMarkdown ul {
    width: auto;
    height: auto;
    padding: 0 !important;
}

    .renderedMarkdown ul li {
        padding-left: 20px;
        list-style: inside;
    }

.modal-ux-inner, modal-ux, .swagger-ui .dialog-ux .modal-ux-content {
    height: 100%;
    max-height: 80% !important;
}


footer {
    max-width: 1280px;
    width: 100%;
    min-height: 40px;
    height: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    position: relative;
    justify-content: space-between;
    background-color: #3b4151;
    flex-direction: column;
    padding: 2% 0% 1% 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.versao-aplicacao {
    font-size: 12px;
    color: #fff;
    padding-left: 50px;
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
 
}

    .versao-aplicacao a {
        font-size: 12px;
        color: #fff;
        text-decoration: none;
        font-weight: 900;
    }

.copyright {
    font-size: 12px;
    color: #fff;
   
}

    .copyright img {
        height: 15px;
    }

    .copyright a {
        font-size: 12px;
        color: #fff;
        text-decoration: none;
    }

#collapse {
    position: relative;
}

#title-instruction {
    width: 250px;
    height: 20px;
    justify-content: space-between;
    align-items: center;
    display: flex;
}


#check {
    width: 100%;
    height: 20px;
    position: absolute;
    top: 0;
    z-index: 2;
    opacity: 0;
    cursor: pointer;
}



#collapse-arrow {
    width: 16px;
    height: 8px;
    position: relative;
    display: flex;
    align-items: center;
    transition: 0.3s;
}



    #collapse-arrow span {
        width: 10px;
        height: 2px;
        background: black;
        position: absolute;
        transform: rotate(-45deg);
        transition: 0.3s;
        right: 0;
    }




        #collapse-arrow span:nth-child(2) {
            transform: rotate(45deg);
            left: 0;
        }


#list-1, #list-2-1, #list-2, #list-3, #list-4, #list-5, #list-3-1 {
    width: 100%;
    height: 0px;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    transition: 0.3s;
}

#check:checked ~ #list-1 {
    height: 70px;
    opacity: 1;
    pointer-events: unset;
}

#check:checked ~ #list-2-1 {
    height: auto;
    opacity: 1;
    pointer-events: unset;
}

#check:checked ~ #list-2 {
    height: 445px;
    opacity: 1;
    pointer-events: unset;
}

#check:checked ~ #list-3 {
    height: 200px;
    opacity: 1;
    pointer-events: unset;
}

#check:checked ~ #list-4 {
    height: 85px;
    opacity: 1;
    pointer-events: unset;
}

#check:checked ~ #list-5 {
    height: 110px;
    opacity: 1;
    pointer-events: unset;
}


#check:checked ~ #title-instruction #collapse-arrow span {
    top: 0;
    right: unset;
}

    #check:checked ~ #title-instruction #collapse-arrow span:nth-child(2) {
        left: unset;
        top: unset;
        right: unset;
        bottom: 0;
    }



#button-open-diagram {
    width: 150px;
    height: 50px;
    border-radius: 99px;
    position: relative;
    margin: 0 10px;
}


    #button-open-diagram #diagram-select {
        width: 100%;
        height: 100%;
        position: absolute;
        opacity: 0;
    }


#show-modal {
    width: 0px;
    height: 0px;
    background: white;
    z-index: 99;
    box-shadow: 0 0 1em rgba(0,0,0,0.3);
    pointer-events: none;
    position: absolute;
    transition: 0.2s;
}


#diagram-select:checked ~ #show-modal {
    width: 500px;
    height: 500px;
    opacity: 1;
    pointer-events: unset;
}

#diagrams {
    display: flex;
}
