/* ── Override Soft Design System primary (pink/red) → blue ─── */
:root {
  --bs-primary: #2563eb;
  --bs-primary-rgb: 37, 99, 235;
}

.bg-primary         { background-color: #2563eb !important; }
.text-primary       { color: #2563eb !important; }
.border-primary     { border-color: #2563eb !important; }
.badge.bg-primary   { background: #2563eb !important; }

.bg-gradient-primary,
.btn.bg-gradient-primary {
  background-image: linear-gradient(135deg, #1740c0 0%, #2563eb 60%, #4285f4 100%) !important;
  background-color: #2563eb !important;
  color: #fff !important;
}
.bg-gradient-primary:hover,
.btn.bg-gradient-primary:hover {
  background-image: linear-gradient(135deg, #1234a0 0%, #1d4ed8 60%, #2563eb 100%) !important;
  color: #fff !important;
}

.btn-primary {
  background-color: #2563eb !important;
  border-color: #2563eb !important;
  color: #fff !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
  background-color: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  color: #fff !important;
}
.btn-primary:focus,
.btn-primary.focus {
  box-shadow: 0 0 0 0.2rem rgba(37,99,235,0.4) !important;
}

body {
	font-family: "lato" !important;
    font-size: 1.2rem !important;
    line-height: initial !important;
    color: #374d63 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    background-color: #eff4fb !important;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 400;
    line-height: 1.2;
    color: #374d63;
}

hr {
    opacity: .1;
}

label, .form-label {
	font-size: 1rem;
	margin-top: 0;
    margin-bottom: 0.5rem;

    line-height: 1.2;
    color: #374d63;
}

.help-block {
  font-size:14px;
  font-weight:600;
  color: #880000;
  margin-left:10px;
}

.text-gradient.text-primary {
  background-image: linear-gradient(310deg, #004c96, #0375e5);
}

.form-control, .form-select {
    border-radius: 0.25rem;
}
.form-control:focus, .form-select:focus {
    border-color: #a3a7aa;
    box-shadow: none;
}

.input-group .form-control:focus {
    border-left: 1px solid #a3a7aa !important;
    border-right: 1px solid #a3a7aa !important;
}

.bg-gradient-dark {
	background-image: linear-gradient(0deg, #131a22 0%, #374d63 100%);
}

.header-text {
	font-family: 'Sorts Mill Goudy';
}

.card {
	border-radius: 0.25rem;
	border: 1px solid #d0d4da;
}

.card.card-plain {
  border: none !important;
}

.btn {
	border-radius: 0.25rem;
}

.btn-info, .btn.bg-gradient-info {
    background: linear-gradient(to top, #004c96, #0375e5);
    color: #ffffff;
    font-size: 1rem;
}

.btn-info:hover, .btn.bg-gradient-info:hover {
    background: #0165c7;
    background: linear-gradient(to top, #0375e5, #004c96);
    color: #ffffff;
}

a {
	color: #0165c7;
}

a:hover {
	color: #374d63;
}

.modal-header {
    border-bottom: 0;
}

.modal-content {
    background-color: #ffffff;
    border-radius: .25rem;
}

.btn-close {
  box-sizing: content-box;
  width: 1em;
  height: 1em;
  padding: 0.25em 0.25em;
  color: #fff;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%33000' viewBox='0 0 16 16'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
  border: 0;
  border-radius: 0.25rem;
  opacity: 0.5;
}

/* Do not blur .container when a modal is open: locker modals (e.g. delete cellar)
   live inside .container, and filter on an ancestor blurs descendants too — including
   the dialog, making it unreadable and breaking hit-testing. */

.accordion div button[aria-expanded='false'] .collapse-close {
  display:inline-block !important;
}

.accordion div button[aria-expanded='true'] .collapse-open {
  display:inline-block !important;
}

.paddings {
  padding-left:1rem !important;
  padding-right:1rem !important;
  
}
@media screen and (max-width: 480px) {
  
  .col-md-3 {
    padding-right: 5px !important;
    padding-left: 5px !important;
  }
  
  .container {
    padding-right: 5px !important;
    padding-left: 5px !important;
  }
  
  h5 {
    font-size:1.0rem !important;
  }
  
  .paddings {
    
    padding-left:5px !important;
    padding-right:5px !important;
    
  }
}