@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css");

@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    font-family: "Fira Sans", sans-serif;
    background-color: #f2f4f7;
}

.footer {
    background-color: #ffffff;
    font-size: .9em;
}

.footer>.container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li>form>button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li>form>button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav>li>form>button.logout:focus,
.nav>li>form>button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav>li>form>button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

.invalid-feedback {
    display: block !important;
}

#mapid {
    height: 400px;
    margin-bottom: 25px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .mapbox-gl-draw_ctrl-draw-btn {
        top: auto !important;
        bottom: 10px !important;
        left: 10px !important;
        transform: translateX(0%);
        width: auto;
    }
}

.text-xs {
    font-size: 14px;
}

.hero {
    background-color: #27429b;
    color: #fff;
}

.bg-cta {
    background-color: #27429b;
    color: #fff;
}

.btn-hero,
.btn-hero:hover {
    background-color: var(--bs-primary) !important;
    color: #fff;
}

.bg-homeaccess-dark {
    background-color: #27429b;
}

.btn-white,
.btn-white:hover {
    background-color: #fff;
    color: #27429b;
}

.faq-container {
    max-width: 980px;
}

.img-flag {
    max-height: 10px;
    margin-right: 5px;
}

.min-h-100 {
    min-height: 100%;
}

.yii-alert {
    position: absolute;
    top: 80px;
    right: 0;
    left: 0;
    width: fit-content;
    z-index: 9999;
    margin: auto;
    border-radius: 5px;
    padding: 10px;
    background: #f2f4f7;
    color: #000;
    border-color: #dadada;
    transition: opacity 0.5s ease-out;
    opacity: 0;
}

.yii-alert.fade-in {
    opacity: 1;
}

.yii-alert.fade-out {
    opacity: 0;
}

.yii-alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.yii-alert-success {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.yii-alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border-color: #bee5eb;
}

.yii-alert-warning {
    background: #fff3cd;
    color: #856404;
    border-color: #ffeeba;
}

.yii-alert-primary {
    background: #cce5ff;
    color: #004085;
    border-color: #b8daff;
}

.search-input {
    border: none;
}

.search-input:focus {
    outline: none;
    border: none;
    background-color: transparent;
}

.btn-nostyle {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

/* keep dropdown on right side fit within the screen */
.right-dropdown {
  max-width: 100vw;
  overflow-x: hidden;
  left: auto !important;
  right: 0 !important;
}
