﻿@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    font-size: 100%;
    font-family: "Lato",sans-serif !important
}

body {
    margin: 0;
    background: #fafafa;
}

input {
    outline-color: #1e88e5 !important;
}

textarea {
    outline: #1e88e5 !important;
}

.swagger-ui .topbar {
    background-color: white;
    position: sticky !important;
    top: 0 !important;
    z-index: 100;
}

.swagger-ui .info {
    margin: 25px 0;
}

.swagger-ui .wrapper {
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0 20px;
    max-width: unset !important;
    width: 100%;
}

.swagger-ui .topbar .download-url-wrapper .select-label span {
    visibility: hidden;
}

.swagger-ui .topbar .download-url-wrapper .select-label select {
    border-color: #ff7415;
}

.swagger-ui .info .title {
    color: #ff7415 !important;
}

    .swagger-ui .info .title small:last-child {
        background-color: #ff7415;
    }

.swagger-ui .auth-wrapper .authorize {
    margin-right: 0 !important;
    padding-right: 20px;
}

.swagger-ui .scheme-container {
    margin: 0 !important;
    padding: 30px 0;
}

.swagger-ui .scheme-container {
    background: inherit !important;
    box-shadow: none !important;
    margin: 0 0 20px;
    padding: 30px 0;
}

.swagger-ui .btn.authorize {
    background-color: transparent;
    border-color: #ff7415;
    color: #ff7415;
    display: inline;
    line-height: 1;
}


.swagger-ui .info .title small {
    background: #374952;
    border-radius: 57px;
    display: inline-block;
    font-size: 10px;
    margin: 0 0 0 5px;
    padding: 2px 4px;
    position: relative;
    top: -5px;
    vertical-align: super;
}

.swagger-ui .filter .operation-filter-input {
    outline-color:#ff7415!important; 
    border: 2px solid #d8dde7;
    margin: 20px 0;
    padding: 10px;
    width: 100%;
}

.swagger-ui .info a {
    color: #374952 !important;
    font-family: sans-serif;
    font-size: 14px;
    transition: all .4s;
}

.swagger-ui .btn.authorize svg {
    fill: #ff7415;
}

/* Gestione colori blocchi post */
.swagger-ui .opblock.opblock-post {
    background: #ffd70026;
    border-color: gold;
}

    .swagger-ui .opblock.opblock-post .opblock-summary {
        border-color: gold;
    }

    .swagger-ui .opblock.opblock-post .opblock-summary-method {
        background: gold;
    }

    .swagger-ui .opblock.opblock-post .tab-header .tab-item.active h4 span:after {
        background: gold;
    }

/* Gestione colori blocchi get */
.swagger-ui .opblock.opblock-get {
    background: #1e88e524;
    border-color: #1e88e5;
}

    .swagger-ui .opblock.opblock-get .opblock-summary {
        border-color: #1e88e5;
    }

    .swagger-ui .opblock.opblock-get .opblock-summary-method {
        background: #1e88e5;
    }

    .swagger-ui .opblock.opblock-get .tab-header .tab-item.active h4 span:after {
        background: #1e88e5;
    }

.swagger-ui textarea {
    background: hsla(0,0%,100%,.8);
    border: 2px solid #d8dde7 !important;
    border-radius: 4px;
    color: #3b4151;
    font-family: monospace;
    font-size: 12px;
    font-weight: 600;
    min-height: 280px;
    padding: 10px;
    width: 100%;
}


.topbar-wrapper img[alt="Swagger UI"] {
    content: url("/swagger/images/logo.png");
    height: 100%;
    width: 80%;
}
