
/*
@font-face {
    font-family: 'Sora';
    src: url('./fonts/Sora-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Sora';
    src: url('./fonts/Sora-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Sora';
    src: url('./fonts/Sora-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Sora';
    src: url('./fonts/Sora-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

*/


:root{
    --chat--header--background: #071438 !important;
}


html, body {
    margin: 0;
    width: 100%;
    height: 100%;
     font-family: 'Sora';
     box-sizing: inherit;
}

*,
*:before,
*:after{
    margin: 0;
    padding: 0;
    box-sizing: content-box;
}


#idx-main{
    display: flex;
    justify-content: space-between;
}

.idx-hero {
    flex-basis: calc(30% - 1rem);
    padding: 5rem;
    border-radius: 0 50px 50px 0;
    
}

.idx-hero .pastillas-action{
    background-color: #E9EFFD;
    color:#071438;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 1rem;
    display: block;

    width: fit-content;
}

.idx-hero h1{
    font-family: 'Sora';
    font-weight: 800;
    color:#071438;
    line-height: 1em;
    font-size: 3rem;
    margin: 30px 0 30px 0;
}
.idx-hero h1 span{
    color:#144BF7;
    display: block;
}

.idx-hero .info-idx{
    margin-top: 50px;
}

.idx-hero .info-idx li{
    list-style: none;
    margin-bottom: 25px;
}

#n8n-chat {
    width: 100%;
    height: 90vh;
    flex-basis: calc(70% - 1rem);
    padding: 2rem;
}

#n8n-chat *{
font-family: 'Sora';
}


#n8n-chat .chat-window {
    width: 100%;
    height: 100%;
}
.chat-layout {
    border-radius: 28px;
    /* border: 5px solid #071438; */
    box-shadow: 0px 0px 12px 5px #071438;
}


.chat-message.chat-message-from-bot:not(.chat-message-transparent) {
    background-color: #071438;
    border: #071438;
    border-radius: 0 50px 50px 50px;
    color : #fff;
}

.chat-message.chat-message-from-bot:not(.chat-message-transparent) p,
.chat-message.chat-message-from-bot:not(.chat-message-transparent) h2,
.chat-message.chat-message-from-bot:not(.chat-message-transparent) h3,
.chat-message.chat-message-from-bot:not(.chat-message-transparent) h4
{
	font-size:1rem;
}

.chat-message.chat-message-from-bot+.chat-message.chat-message-from-user {
    background-color: #144BF7;
    border: #144BF7;
    border-radius: 50px 0px 50px 50px;
    color : #fff;
}

.chat-message-typing .chat-message-typing-circle {
    background-color: #fff;
}



@media screen and (max-width:1024px){

    .idx-hero h1 {
        font-size: 2rem;
    }

    .idx-hero {
    flex-basis: calc(50% - 1rem);
    padding: 2rem;
    border-radius: 0 50px 50px 0;
    }

}

@media screen and (max-width:768px){

	:root{
		    --chat--heading--font-size: 1.5em;
	}
	
    #idx-main {
        flex-direction: column;
    }

    .idx-hero {
        flex-basis: inherit;
        padding: 2rem;
        border-radius: 0;
    }

    .idx-hero h1 {
        font-family: 'Sora';
        font-weight: 800;
        color: #071438;
        font-size: 3rem;
        margin: 15px 0 15px 0;
    }

    .idx-hero .info-idx {
        margin-top: 20px;
    }

    .idx-hero {
    flex-basis: calc(50% - 1rem);
    padding: 2rem 1.5rem;
    border-radius: 0 50px 50px 0;
    }

    .info-idx h2{
        font-size: 1.5rem;
    }.info-idx p{
        font-size: 1.2rem;
    }

    #n8n-chat {
        width: 90%;
        margin: auto;
        height: 90vh;
        flex-basis: inherit;
        padding: 0 0 3rem 0;
    }

	
	.chat-layout .chat-header p {
		font-size: 1rem;
		line-height: 1.2em;
	}
	
	.chat-message p {
		line-height: 1.2rem;
		word-wrap: break-word;
	}
	
}