@font-face {
    font-family: 'Source Sans 3';
    src: url('../fonts/SourceSans3-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Source Sans 3';
    src: url('../fonts/SourceSans3-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Source Sans 3';
    src: url('../fonts/SourceSans3-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Source Sans 3';
    src: url('../fonts/SourceSans3-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Source Sans 3';
    src: url('/fonts/SourceSans3-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Source Sans 3';
    src: url('/fonts/SourceSans3-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
}

html {
    font-size: 16px;
}

@media (min-width: 768px) {
    html {
        font-size: 18px;
    }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.btn-min-width {
    min-width: 6em;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: "Source Sans 3";
}

.form-floating>.form-control-plaintext::placeholder,
.form-floating>.form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating>.form-control-plaintext:focus::placeholder,
.form-floating>.form-control:focus::placeholder {
    text-align: start;
}

p {
    margin-bottom: 0.8em;
    line-height: 1.2em;
}

textarea {
    line-height: 1.2em !important;
}



.brand-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-icon {
    width: 60px;
    height: 60px;
    background: url(../images/logo.svg);
    background-size: 60px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 24px;
}

.brand-name {
    font-weight: 700;
    color: #2d3436;
    font-size: 1.5rem;
    line-height: 1.5rem;
}


/* Banda con imagen de fondo */
.hero-banner {
    height: 300px;
    width: 100%;
    background-image: linear-gradient(rgba(247, 197, 30, 0.6), rgba(237, 239, 145, 0.551));
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    text-align: center;
    z-index: 1;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.color-band {
    width: 100%;
    background: #9b2a2a;
    background: linear-gradient(30deg, rgba(155, 42, 42, 1) 0%, rgba(66, 129, 165, 1) 25%, rgba(173, 87, 199, 1) 50%, rgba(88, 191, 114, 1) 75%, rgba(237, 221, 83, 1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    text-align: center;
    z-index: 1;
    position: relative;
}

.color-band-orange {
    background: linear-gradient(rgba(247, 197, 30, 0.6), rgba(237, 239, 145, 0.551));
}

.color-band-violet {
    background: linear-gradient(rgba(173, 87, 199, 0.6), rgba(66, 129, 165, 0.551));
}

main.main-block .main-container {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-white-rgb), var(--bs-bg-opacity)) !important;
    box-shadow: var(--bs-box-shadow-sm) !important;    
}

.table td.fit,
.table th.fit {
    white-space: nowrap;
    width: 1%;
}

.modal-icon-large {
    font-size: 3rem;
    margin-right: 1rem;
}

.needs-validation .form-control:invalid {
    border-color: #dc3545;
}

table tr {
    background-color: #F8F8F8;
}

table tr:nth-child(even) {
    background-color: #FFFFFF;
}

table td,
table th {
    border: solid 1px #DDDDDD;
    padding: 0.1em 0.3em;
}


table th {
    background-color: #EEEEEE;
    font-weight: bold;
}

article table {
    margin-bottom: 1rem;
}

blockquote {
    margin-left: 2em;
}


.main-padding {
    padding: 1rem 1rem;
}


@media (min-width: 768px) {
    .main-padding {
        padding: 1.5rem 2rem;
    }
}

@media (min-width: 992px) {
    .main-padding {
        padding: 1.5rem 3rem;
    }
}

@media (min-width: 1200px) {
    .main-padding {
        padding: 2rem 4rem;
    }
}