/**
 * Fonts
 */

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/poppins/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 500;
}

/**
 * Navbar
 */

.navbar-expand>.container, .navbar-expand>.container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    letter-spacing: .05rem;
    padding: .75rem 0;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    letter-spacing: .05rem;
}

.navbar {
    padding: 15px 1rem;
}

@media (max-width: 592px) {
    .navbar {
        padding: 15px 0;
    }
}

/**
 * All elements
 */
* {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;
    outline: none !important;
}

/**
 * Body
 */

body {
    background: #eee;
    margin-bottom: 2rem;
}

/**
 * Homepage specific
 */

.homepage-container {
    padding-top: 10rem;
}

.homepage-search-form .input-group {
    max-width: 100%;
}

.homepage-search-form .form-control {
    border: 1px solid #ced4da;
}

.homepage-search-form .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.homepage-search-form .btn-primary {
    border-color: #0d6efd;
}

.homepage-search-form .autocomplete-dropdown {
    text-align: left;
}

/**
 * Headings
 */

h1 {
    font-size: 1.4rem;
}

h2 {
    font-size: 1.2rem;
}

h3 {
    font-size: 1.1rem;
}

/**
 * Text
 */

b,
strong,
.medium {
    font-weight: 500;
}

.text-black {
    color: #000;
}

/**
 * Inputs
 */

input, textarea, select {
    border-radius: 0 !important;
}

.form-control:focus {
    border-color: #ced4da;
    outline: 0;
    box-shadow: none;
}

/**
 * Buttons
 */

.btn {
    border-radius: 0 !important;
}

.btn-white {
    color: #000;
    background-color: #fcfcfc;
    border-color: #ddd;
}

.btn-white:hover {
    color: #000;
    background-color: #eee;
    border-color: #ccc;
}

/**
 * Helpers
 */

.py-25 {
    padding-top: .75rem;
    padding-bottom: .75rem;
}

.box {
    background: #fff;
    border-radius: .25rem;
    padding: 1rem;
    margin-bottom: .5rem;
}

.box.box-clickable {
    cursor: pointer;
    transition: box-shadow 0.2s ease;
}

.box.box-clickable:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

a.box-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

a.box-link:hover,
a.box-link:focus,
a.box-link:active,
a.box-link:visited {
    color: inherit;
    text-decoration: none;
}

.box > .label {
    margin-bottom: .25rem;
    font-weight: 500;
    color: #6c757d;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.box > p {
    font-weight: 500;
}

.box > *:nth-last-child(1) {
    margin-bottom: 0;
}

/**
 * Custom gutter sizes
 */

.row.gutters-xs {
    margin-right: -0.5rem !important;
    margin-left: -0.5rem !important;
}

.row.gutters-xs > [class*="col-"] {
    padding-right: 0.5rem !important;
    padding-left: 0.5rem !important;
}