body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    height: 98vh;
    margin: 0;
    display: flex;
    flex-direction: column;


    --color-success: #436426;
    --color-info: #006ab2;
    --color-warning: #E2CC44;
    --color-warning-light: #fff0ab;
    --color-error: #8B2B20;
    --color-error-light: #E9CDCF;
    --color-manual: #832dc9;
    --color-manual-light: #dbb3ff;
    --color-auto: #ad6109;
    --color-auto-light: #ffca8e;
}

.row{
    margin-right: 0 !important;
}

.topnav {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-bottom: 10px;
}

.topnav-logo {
    max-width: 250px;
}

.topnav-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    overflow: hidden;
}

.topnav-right {
    width: 60%;
    display: flex;
    justify-content: space-between;
    margin-left: auto;
    margin-right: 25px;
}

@media only screen and (max-width: 800px) {
    .topnav {
        flex-direction: column;
    }
    .topnav-right {
        justify-content: center;
        width: 100%;

        margin-left: 0;
        margin-right: 0;
    }

    .topnav a:nth-of-type(n+2) {
        margin-left: 1rem;
    }
}

.topnav a {
    text-decoration: none;
    font-size: large;
    color: #00013F67;
}

.topnav a.active {
    text-decoration: underline;
    color: #00013F;
}

footer {
    display: flex;
}

.footer-logos {
    width: 80%;
    padding-top: 10px;
}

.footer-logos img {
    max-width: 90px;
    max-height: 100%;
    object-fit: contain;
    overflow: hidden;
}

.footer-logos #logo-banner{
    max-width: fit-content;
    width: 100%;
}

.bottom-footer-logos {
    display: flex;
    align-items: center;
}

.bottom-footer-logos img {
    margin-left: 2%;
}

footer h3 {
    color: #00013F70;
    font-size: medium;
}

.footer-links {
    width: 50%;
    display: flex;
    justify-content: space-evenly;
    margin-top: 10px;
    border-left: 2px solid #00013F;
    border-right: 2px solid #00013F;
}

.footer-links ul {
    padding: 0;
    list-style-type: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    font-size: medium;
    color: #00013F;
}

.footer-links-col1 {
    margin-left: 40px;
    margin-right: 80px;
}

.footer-links-col2 {
    padding-right: 40px;
}

.footer-contact {
    margin-left: 20px;
    margin-top: 10px;
    margin-right: 25px;
}

.footer-contact a {
    text-decoration: none;
    font-size: medium;
    color: #00013F;
}

.main {
    background-color: #00013F10;
    border-top: 2px solid #00013F15;
    /*padding-bottom: 30px;*/
    padding-top: 50px;
    padding-bottom: 175px;
    flex-grow: 1;
    margin-bottom: 0px;

}

.main h1 {
    text-align: center;
    color: #00013F;
}

.main h2 {
    margin-left: 27%;
    margin-top: 20px;
    color: #00013F;
}

.main p {
    width: 46%;
    margin-left: 27%;
}

.main hr {
    width: 50%;
    text-align: center;
    border: 1px solid #00013F30;
    margin-top: 30px;
    margin-bottom: 25px;
}

.main ul.explanation-list {
    width: 46%;
    margin-left: 27%;
}

.main li {
    margin-bottom: 10px;
}

.main a {
    font-weight: 500;
    color: #00013F;
}

.mail-info {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 46%;
    margin-left: 27%;
}

.mail-info img {
    margin-right: 20px;
    width: 75px;
}

.mail-info a {
    text-decoration: none;
    font-weight: 500;
    color: #00013F;
}

.iframe-map {
    margin-left: 30%;
    width: 40%;
    margin-top: 20px;
}

.pic-and-name {
    display: flex;
    justify-content: start;
    align-items: center;
    width: 46%;
    margin-left: 27%;
}

.pic-and-name p {
    width: 100%;
    margin-left: 30px;
}

.profile-pic {
    max-width: 150px;
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid #00013F;
}

.tutorial-pic {
    max-width: 60%;
    margin-left: 20%;
}

.tutorial-pic-small {
    max-width: 35%;
    margin-left: 32.5%;
}

.iframe-video {
    margin-left: 35%;
}

.iframe-video iframe {
    width: 40%;
}

.options-wrapper {
    display: flex;
    align-items: center;
}

.button-card-identificar {
    font-family: inherit;
    background: #0a1281c9;
    border-radius: 10px;
    border: 2px solid #00013F15;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 260px;
    height: 60px;
    margin-top: 25px;
    margin-left: 50px;
}

.button-card-identificar:hover {
    font-family: inherit;
    background: #2f37a5c9;
    border-radius: 10px;
    border: 2px solid #00013F15;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 260px;
    height: 60px;
    margin-top: 25px;
    margin-left: 50px;
}

.button-card-sugerencias {
    font-family: inherit;
    background: #0e531dd0;
    border-radius: 10px;
    border: 2px solid #00013F15;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 260px;
    height: 60px;
    margin-top: 25px;
    margin-left: 50px;
}

.button-card-sugerencias:hover {
    font-family: inherit;
    background: #378b4cd0;
    border-radius: 10px;
    border: 2px solid #00013F15;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 260px;
    height: 60px;
    margin-top: 25px;
    margin-left: 50px;
}

.button-card-active {
    border: 3px solid #021531;
}

.button-icon {
    width: 40px;
    margin-left: 0;
}

.button-content {
    margin-left: 10px;
    width: 100%;
}

.button-title {
    font-size: 15px;  /*  Está en 13 px por defecto */
    font-weight: 500;
    color: #ffffff;
    margin: 0 !important;
    width: max-content !important;
}

.button-subtitle {
    font-size: 15px;
    color: #ececf1cc;
    margin: 0 !important;
    width: max-content !important;
}

.home-h1 {
    font-size: 18px; /*  Está en 16 px por defecto */
    text-align: left !important;
    margin-bottom: 0 !important;
    margin-left: 50px;
    margin-top: 25px;
}
.flex{
    display: flex;
}

.progress-explanation {
    margin-left: 50px !important;
    font-size: 15px;  /*  Está en 13 px por defecto */
    margin-top: 0;
}

.pautas ul {
    padding: 0;
    list-style-type: none;
    margin-left: 50px !important;
}

.pautas li {
    font-size: small !important;
    font-weight: 500 !important;
}

.pautas input {
    accent-color: #000000;
}

.pautas-sublist {
    width: 85% !important;
    margin-top: 10px;
}

.pautas-sublist li label{
    font-size: 15px;
}

.input-fields {
    display: flex;
    justify-content: space-between;
}



.input-original-text {
    font-family: inherit;
    margin-right: 50px;
    /*width: 50%;*/
    width: 100%;
    border-radius: 10px;
    border: 2px solid #00013F15;
    padding: 10px;
}

.col-5 .ql-toolbar {
    background: #6d73ce73;
}

.col-6 .ql-toolbar {
    background: #4bdb6a6c;    
}

#refresh-button .button-text,
#identify-button .button-text{
    width: 100%;
    margin-top: 1em;
}







.actions-response {
    display: flex;
    flex-direction: row;
    justify-content: end;
    margin-right: 50px;
    margin-top: 1rem;
}
.actions-response.adapt {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 1rem;
    margin-left: 50px;
}
.actions-text {
    border-radius: 0.7rem;
    background: white;
    padding: 1rem;
}
.actions-text.success {
    border: 1px solid var(--color-success);
    background: var(--color-success);
    color: white;
}
.actions-text.info {
    border: 1px solid var(--color-info);
    background: var(--color-info);
    color: white;
}
.actions-text.warning {
    border: 1px solid var(--color-warning);
    background: var(--color-warning);
}
.actions-text.error {
    border: 1px solid var(--color-error);
    background: var(--color-error);
    color: white;
}

.actions-wrapper {
    display: flex;
    align-items: center;
    justify-content: right;
    margin-right: 50px;
}


.button-secondary {
    font-family: inherit;
    background-color: #FFFFFF;
    color: #00013F;
    border-radius: 50px;
    border: 2px solid #00013F15;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 160px;
    height: 55px;
    margin-top: 25px;
    margin-right: 50px;
}

.button-secondary:hover {
    font-family: inherit;
    background-color: #dbd8d8;
    color: #00013F;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 160px;
    height: 55px;
    margin-top: 25px;
    margin-right: 50px;
}

.button-secondary:active {
    border: 2px solid #00013F;
}

.button-text {
    font-weight: 500;
    margin-left: 10px !important;
}

.button-secondary-icon {
    width: 30px;
}

.button-primary {
    font-family: inherit;
    background-color: #00013F;
    color: #FFFFFF;
    border-radius: 50px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 150px;
    height: 51px;
    margin-top: 25px;
}

.button-primary:hover {
    font-family: inherit;
    background-color: #020464d0;
    color: #FFFFFF;
    border-radius: 50px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 150px;
    height: 51px;
    margin-top: 25px;
}

.button-primary:active {
    border: 2px solid #FFFFFF;
}

.button-primary-icon {
    width: 40px;
}

.pautas-horizontal {
    display: flex;
}

.pautas-horizontal li {
    margin-right: 25px;
}

.background-icon {
    width: 20px;
    height: 20px;
    margin-left: 15px;
    margin-right: 15px;
}

.textfields-area {
    margin-left: 50px;
    margin-right: 50px;
    display: flex;
    align-items: center;
}

.adapt-text {
    font-family: inherit;
    border-radius: 10px;
    /*width: 50%;*/
    width: 100%;
    border: 2px solid #00013F15;
    padding: 10px;
    height: 10rem;
    background: white;
    font-size: 14.8px;
}

#simplified-output.adapt-text {
    margin-top: 2em;
}

#simplified-output.adapt-text {
    margin-top: 35px;
    display: table;      /* To adapt box size to text lenght */ 
    
}

.adaptation-row{
    padding: 30px;
}

.col-1 .background-icon{
    margin-top: 60%;
    margin-left: 35%;
}

.hint-text {
    font-size: 14.8px;
    color: #7a7a7a;
}

.actions-wrapper-adapt {
    display: flex;
    align-items: center;
    justify-content: center;
}

.expand-btn {
    font-family: inherit;
    font-size: 15px;
    border: none;
    display: inline-flex;
    flex-direction: row;
    justify-content: space-between;
    width: 15rem;
}

.hidden {
    display: none !important;
}

.identifications-wrapper {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background-color: #00013F10;
    padding-top: 15px;
}

.identification-issue.succeeded {
    --status-color: var(--color-success);
}

.identification-issue.failed {
    --status-color: var(--color-error);
}

.identification-issue.warning {
    --status-color: var(--color-warning);
}

.identification-issue {
    border-radius: 0.7rem;
    background: white;
    border: 1px solid var(--status-color);
    margin: 1rem;
}

.outcome-icon {
    width: 2rem;
    height: 2rem;
    color: var(--status-color);
    background: white;
    margin-right: 1rem;
}

.outcome-icon .svg-inline--fa {
    height: 2rem;
}

.issue-title {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--status-color);
    color: var(--status-color);
}

.issue-text {
    padding: 1rem;
}

.adapted {
    padding-left: 5px;
    padding-right: 5px;
}
.has-suggestions {
    border: 1px solid var(--color-manual);
    background: var(--color-manual-light);
}
.auto-adapted {
    border: 1px solid green;
    background: rgba(30, 194, 30, 0.562); /*var(--color-auto-light);*/
    font-size: 14.8px;
}
.auto-not-adapted {
    border: 1px solid orange;
    background: rgba(255, 165, 0, 0.562); /*var(--color-auto-light);*/
    font-size: 14.8px;
}

.legend {
    display: flex;
    flex-direction: column;
    align-items: end;
    margin-right: 50px;
    margin-top: 1rem;

    font-size: 0.8rem;
}

.legend-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 14.8px;

}
.legend-color {
    width: 1rem;
    height: 0.5rem;
    margin-left: 0.5rem;
}




.editor-container #original-input p{
    width: 100% !important;
    font-size: 14.8px;



}

.ql-editor ul li{
    font-size: 14.8px;
}

.select-button{
    font-family: inherit;
    background: #ffffffc9;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 30px;
    margin-top: 10px;
    margin-left: 5px;
}


.select-button-text, .remove-button-text, .deselect-button-text{
    font-size: 15px;  /*  Está en 13 px por defecto */
    font-weight: 500;
    color: #000000;
    margin: 0 !important;
    width: max-content !important;
}
.deselect-button{
    font-family: inherit;
    background: #ffffffc9;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 30px;
    margin-top: 10px;
    margin-left: 5px;
}
.remove-button{
    font-family: inherit;
    background: #ffffffc9;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 30px;
    margin-bottom: 10px;
    margin-left: 5px;
}


.col-5 .ql-editor{
    border-width: 3px;
    border-style: solid;
    border-color: #4d55b8c9;
    border-top: none;
}

.col-6 .ql-editor{
    border-width: 3px;
    border-style: solid;
    border-color: #2e9945d0;
    border-top: none; 

}

.piloto{
    font-size: 25px;  /*  Está en 13 px por defecto */
    font-weight: 500;
    margin-left: 15px;
    margin-top: 20px;
    color: #00013F;
}

