/* Variables
-------------------------------------------------- */

:root {
    --blue: #0d6efd;
    --main-color-brand: #202d7b;
    --red: #dc3545;
    --white: #f1f1f1;
    --black: #333333;
    --gray: #ededed;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.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;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-family: "Roboto", sans-serif;
}

h1, h2, h3, h5 {
    color: var(--black);
    font-weight: 300;
}

.field-validation-error {
    font-size: 11pt;
    color: var(--red);
}

.mainColor {
    color: var(--main-color-brand);
}

a {
    color: var(--main-color-brand);
    text-decoration: none;
}

.bg-primary {
    background-color: var(--main-color-brand) !important;
}

.border-primary {
    border-color: var(--main-color-brand) !important;
}

.text-primary {
    color: var(--main-color-brand) !important;
}

.btn-outline-primary {
    color: var(--main-color-brand) !important;
    border-color: var(--main-color-brand) !important;
}

.btn-outline-primary:hover {
    background-color: var(--main-color-brand) !important;
    color: var(--white) !important;
}

.btn-primary {
    background-color: var(--main-color-brand) !important;
    border-color: var(--main-color-brand) !important;
}

.btn-primary:hover {
    background-color: var(--blue) !important;
    border-color: var(--blue) !important;
}

/* Paddings
-------------------------------------------------- */

.pl-0 {
    padding-left: 0 !important;
}

.pl-10 {
    padding-left: 10px !important;
}

.pr-0 {
    padding-right: 0 !important;
}

.pr-10 {
    padding-right: 10px !important;
}

.pt-10 {
    padding-top: 10px;
}

.tool-padding {
    padding: 1.5rem 0 1.5rem 0;
}

/* Margins
-------------------------------------------------- */

.ml-0 {
    margin-left: 0 !important;
}

.ml-10 {
    margin-left: 10px !important;
}

.mr-0 {
    margin-right: 0 !important;
}

.mr-10 {
    margin-right: 10px !important;
}


/* Spinner
-------------------------------------------------- */

.small-spinner {
    width: 1.5rem;
    height: 1.5rem;
}

/* Home
-------------------------------------------------- */

.products a {
    padding: 5px 0;
}

.products a img {
    width: 250px;
    border-radius: 10px;
    box-shadow: 3px 3px 5px var(--gray);
    transition: transform 0.5s;
    -webkit-transition: transform 0.5s;
}

.products a img:hover {
    transform: scale(1.03);
    transition: transform 0.5s;
    -webkit-transition: transform 0.5s;
}

.products a.disabled {
    pointer-events: none;
}

.products a.disabled img {
    filter: opacity(0.5);
}

/* NavBar
-------------------------------------------------- */

.navbar {
    box-shadow: 0 5px 10px var(--gray);
}

.navbar-nav .nav-item {
    border-right: 1px solid lightgray;
}

.navbar-nav .nav-item .nav-link {
    padding-top: 1px;
    padding-bottom: 1px;
    color: var(--black);
}

.navbar-nav .nav-item .nav-link.active {
    font-weight: 500;
}

.navbar-nav .nav-item:hover {
    font-weight: 500;
}

.navbar-nav .nav-item:last-child {
    border-right: none;
}

.user-active-bar {
    background-color: var(--main-color-brand);
    color: var(--white)
}

.user-active-bar b {
    font-weight: 400;
}

.user-active-bar p {
    margin: 5px 0;
    font-weight: 300;
}

/* Grid Containers
-------------------------------------------------- */

.grid-container {
    display: grid;
    grid-template-columns: 33% 33% auto;
    grid-gap: 10px;
}

.grid-container-2 {
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 10px;
}

.grid-container .first-two-columns {
    grid-column: 1 / 3;
}

.grid-container .last-two-columns {
    grid-column: 2 / 4;
}

.pricing .grid-container {
    grid-template-columns: auto auto;
    grid-gap: 3px;
    padding: 0 20px;
    font-size: 15px;
}

.pricing .grid-container-head {
    padding-top: 10px;
}

.pricing .grid-container-head h5 {
    font-size: 16px;
    font-weight: 400;
    padding-bottom: 5px;
}

#formTarjeta .grid-container {
    grid-template-columns: auto auto;
}

/* FileUpload
-------------------------------------------------- */

#Factura{
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
    z-index: -1;
}

.file-upload-wrapper {
    position: relative;
    display: block;
}

.file-icon {
    transition: color 0.2s ease;
}

.file-icon:hover {
    color: #0d6efd; /* Primary color for hover */
}

.file-icon.bi-file-earmark-fill {
    color: var(--main-color-brand);
}

.custom-file-label {
    display: block;
    padding: .375rem .75rem;
    border-radius: .25rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    background-color: var(--gray);
    border: 1px solid #ced4da;
    cursor: pointer;
    text-align: center;
}

.custom-file-label:hover {
    background-color: var(--main-color-brand);
    color: var(--white);
}

#fileNameDisplay {
    font-size: 14px;
    color: #333;
    display: block;
}

#fileError {
    color: var(--red);
    font-size: 11pt;
    display: block;
}

/* Forms
-------------------------------------------------- */
#formAsegurado .prima span {
    color: var(--main-color-brand);
}

#formPermisoDeConducir .prima span {
    color: var(--main-color-brand);
}

/* Form Pago
-------------------------------------------------- */

.product-summary ul {
    padding-left: 0;
    list-style: none;
}

.product-summary ul li {
    line-height: 29px;
}

.product-summary .prima b {
    color: var(--main-color-brand);
    font-size: 27pt;
}

.box-cc {
    box-shadow: 0 0 15px #dedede;
    border-radius: 10px;
}

/* Modals
-------------------------------------------------- */

.modal-content-custom {
    background: none;
    border: none;
}

.modal-content-custom p {
    color: var(--white);
    font-size: 13pt;
    font-weight: 300;
}

/* Mobile
-------------------------------------------------- */
@media (max-width: 768px) {

    .text-xs-center{
        text-align: center !important;
    }
    
    .pt-xs-1 {
        padding-top: 10px !important;
    }

    .pt-xs-2 {
        padding-top: 20px !important;
    }

    .pt-xs-3 {
        padding-top: 30px !important;
    }

    .pt-xs-4 {
        padding-top: 40px !important;
    }

    .pt-xs-5 {
        padding-top: 50px !important;
    }

    .pt-xs-10 {
        padding-top: 100px !important;
    }

    .pt-xs-15 {
        padding-top: 150px !important;
    }

    .navbar-brand {
        gap: 15px;
    }

    .navbar-expand-sm {
        padding-bottom: 20px;
    }

    .navbar-brand img.firstLogo {
        width: 90px;
    }

    .navbar-brand img.secondLogo {
        width: 190px;
    }

    .grid-container, .grid-container-2 {
        display: grid;
        grid-template-columns: auto;
        grid-gap: 10px;
    }

    .grid-container .last-two-columns {
        grid-column: auto;
    }

    .grid-container .first-two-columns {
        grid-column: 1 / 2;
    }

    .pricing .grid-container {
        grid-template-columns: auto auto;
    }
    
    .products {
        justify-content: center!important;
        gap: 10px;
    }

    .products a img {
        width: 100%;
    }
}

/* Tablet
-------------------------------------------------- */
@media (max-width: 1366px) {
    .products {
        justify-content: center!important;
        gap: 20px;
    }

    .products a img {
        width: 400px;
    }
}