/* Variables
-------------------------------------------------- */

:root {
    --blue: #0d6efd;
    --main-color-brand: #05173f;
    --secondary-color-brand: #fff;
    --third-color-brand: #8a8282;
    --third-color-brand-hover: #a19b9b;
    --footer-color-brand: #2E2E2E;
    --button-color: #05173f;
    --button-color-hover: #8a8282;
    --light-blue-brand: #24407A;
    --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: "Alata", sans-serif;
}

.mainColor {
  color: var(--light-blue-brand);
}

p, input, ul, li {
  font-family: 'Open Sans', sans-serif;
}

h1 {
  color: var(--main-color-brand);
}

h2, h3, h5 {
  color: var(--black);
  font-weight: 600;
}

small.text-muted {
  font-size: 0.575em;
}

.field-validation-error {
  font-size: 11pt;
  color: var(--red);
}

a {
  color: var(--main-color-brand);
  text-decoration: none;
  transition: ease 0.4s;
  -webkit-transition: ease 0.4s;
}

a:hover {
  color: var(--third-color-brand);
  transition: ease 0.4s;
  -webkit-transition: ease 0.4s;
}

a.variantAnchor {
  color: var(--light-blue-brand);
}

a.variantAnchor:hover {
  color: var(--third-color-brand-hover);
}

i {
  color: var(--third-color-brand);
}

.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(--button-color) !important;
  font-size: 16px;
  font-weight: 600;
  border-radius: 3px;
  padding: 5px 20px;
}

.btn-outline-primary:hover {
  background-color: var(--button-color-hover) !important;
  border-color: var(--button-color-hover) !important;
  color: var(--secondary-color-brand) !important;;
}

.btn-primary {
  background-color: var(--button-color) !important;
  border-color: var(--button-color) !important;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  border-radius: 3px;
  padding: 5px 25px;
}

.btn-primary:hover {
  background-color: var(--button-color-hover) !important;
  border-color: var(--button-color-hover) !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: 3.5rem 0 3.5rem 0;
}

/* Datepicker
-------------------------------------------------- */

.daterangepicker td.active, .daterangepicker td.active:hover {
  background-color: var(--main-color-brand);
  border-color: transparent;
  color: #fff;
}

/* 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;
}

/* Footer
-------------------------------------------------- */

footer {
  padding: 40px 0;
  text-align: center;
  background-color: var(--footer-color-brand);
}

footer p {
  color: var(--secondary-color-brand);
  margin-bottom: 0;
}

footer a {
  color: var(--third-color-brand);
  transition: ease 0.4s;
  -webkit-transition: ease 0.4s;
}

footer a:hover {
  color: var(--third-color-brand-hover);
  transition: ease 0.4s;
  -webkit-transition: ease 0.4s;
}

/* Home
-------------------------------------------------- */

.products h5 {
  font-size: 17px;
  padding-top: 5px;
}

.products a.box {
  position: relative;
  width: 230px;
  border: solid 1px #f9f9f9;
  margin-top: 10px;
  display: inherit;
  justify-content: space-around;
  align-items: center;
  border-radius: 5px;
  padding: 20px 10px;
  cursor: pointer;
  box-shadow: 3px 3px 5px var(--gray);
  transition: transform 0.5s;
  -webkit-transition: transform 0.5s;
}

.products a.box:hover {
  transform: scale(1.03);
  transition: transform 0.5s;
  -webkit-transition: transform 0.5s;
}

.products div.line {
  width: 100px;
  height: 2px;
  right: 0;
  top: 0;
  position: absolute;
  background: linear-gradient(90deg, var(--secondary-color-brand) 0%, var(--third-color-brand) 100%);
  border-radius: 10px;
}

.products a img {
  width: 30%;
}

.products a.disabled img {
  filter: opacity(0.5);
}

/* NavBar
-------------------------------------------------- */

.navbar {
  box-shadow: 0 5px 10px var(--gray);
  padding: 15px 0 15px 0;
}

.navbar-nav .nav-item {
  margin-right: 15px;
}

.navbar-nav .nav-item .nav-link {
  padding-top: 1px;
  padding-bottom: 1px;
  font-size: 16px;
  font-weight: 600;
  color: var(--main-color-brand)!important;
}

.navbar-nav .nav-item .nav-link:hover {
  color: var(--third-color-brand)!important;
}

.navbar-nav .nav-item .nav-link.active {
  color: var(--third-color-brand)!important;
}

.navbar-collapse {
 
}

.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);
  padding: 12px 0 12px 0;
}

.user-active-bar b {
  font-weight: 600;
}

.user-active-bar p {
  margin: 0;
  font-weight: 400;
  font-size: 14px;
}

/* Cards
-------------------------------------------------- */

.card {
  transition: transform 0.5s;
  -webkit-transition: transform 0.5s;
}

.card:hover {
  transform: scale(1.03);
  transition: transform 0.5s;
  -webkit-transition: transform 0.5s;
}

.card .card-body ul li {
  font-size: 15px;
}

.card .card-header {
  border-top: 2px solid var(--third-color-brand)!important;
}

.card .card-header span {
  position: absolute;
  top: -10px;
  right: 12px;
  font-size: 12px;
  background-color: var(--third-color-brand-hover);
  border-radius: 10px;
  padding: 1px 15px;
  font-weight: 600;
}

/* 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(--light-blue-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-header {
  background-color: var(--main-color-brand) !important;
}

h5.modal-title {
  color: var(--secondary-color-brand) !important;
}

#declaracion-jurada-modal .modal-body p {
  font-size: 15px;
}

.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) {

  .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;
    align-items: end;
  }

  .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.box {
    width: 100%;
  }
  
  .products a img {
    width: 25%;
  }
}

/* Mobile
-------------------------------------------------- */
@media (max-width: 1366px) {
  .products {
    justify-content: center!important;
    gap: 20px;
  }

  .products div.box {
    width: 90%;
  }

  .user-active-bar p {
    text-align: center;
  }

  .navbar-collapse {
    text-align: center;
    margin-top: 10px;
  }
}