/* =========================================================
   DISTCHOI — Global stylesheet
   Bootstrap 4.3.1 is loaded first; everything here overrides it.
   ========================================================= */

body {
    background: #fafafa !important;
    /* bounceInLeft starts off-canvas; without this the page scrolls sideways */
    overflow-x: hidden;
}

/* ---------- Navbar ---------- */

.navbar {
    background: #2D2D2D !important;
    color: white;
    padding: 10px 70px;
}

.navbar-brand {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-brand img {
    height: 40px;
}

.brand-label {
    color: white;
    font-size: 35px;
    font-weight: bold;
    letter-spacing: 3px;
    font-family: 'Nunito', sans-serif;
    margin-top: 10px;
    margin-bottom: 0;
    cursor: pointer;
}

.navbar-light .navbar-nav .nav-link {
    font-size: 18px !important;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav li a {
    margin-right: 20px;
    color: white !important;
}

/* hamburger icon: white strokes */
.navbar-light span.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important;
    color: white !important;
    font-size: 1.7rem !important;
}

button.navbar-toggler.navbar-toggler-right {
    border-color: yellow !important;
}

/* ---------- Dropdowns ---------- */

.navbar .dropdown-menu {
    background: #676767;
    border-radius: 0px;
    box-shadow: -10px 0px 0 0 rgba(0, 0, 0, 0.2);
}

.navbar .dropdown-item {
    border-bottom: 1px solid gray;
    padding-right: 5px;
    padding-left: 5px;
    cursor: pointer;
    text-align: left;
    color: white;
}

.navbar .dropdown-item:hover {
    background: #2D2D2D;
    color: white;
}

.sm-menu {
    padding: 10px;
    text-align: center;
}

/* open the dropdown on hover for pointer devices */
@media (hover: hover) and (min-width: 576px) {
    .navbar .dmenu:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* ---------- Page banner ---------- */

.main-img-holder {
    width: 100%;
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 20% 0%, #24405c 0%, transparent 60%),
        linear-gradient(160deg, #1b2733 0%, #141a21 60%, #0f1216 100%);
}

/* Present only when a real photograph is dropped back in. */
.main-img-holder .main_img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.main-img-holder__traces {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.22;
    pointer-events: none;
}

.main-img-holder__traces path {
    fill: none;
    stroke: #c6402f;
    stroke-width: 1.1;
    vector-effect: non-scaling-stroke;
}

.main-img-holder__traces path:nth-child(even) {
    stroke: #7f97ad;
}

.main-img-holder p {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    margin: 0;
    padding: 0 20px;
    text-align: center;
}

.main-img-holder p label {
    font-size: 76px;
    font-weight: bold;
    margin-bottom: 0;
}

/* ---------- Side menu ---------- */

.side_menu_div {
    border-right: 1px solid silver;
}

.side_menu {
    background: #f1f1f1;
    list-style: none;
    padding: 0px;
}

.side_menu li {
    transition: all 0.5s ease;
    border-bottom: 1px solid silver;
    margin: 0px 15px;
    padding: 10px 0px;
}

.side_menu li a {
    color: black;
    text-decoration: none;
}

.side_menu li:hover {
    padding-left: 5px;
}

.side_menu li:hover a {
    color: brown;
}

.side_menu_li--active {
    padding-left: 5px !important;
}

.side_menu_li--active a {
    color: brown !important;
    background: #F8F9FA !important;
}

/* ---------- Main content ---------- */

.main_content h1 {
    font-family: 'Didact Gothic', sans-serif;
    font-weight: bold;
}

.main_content h2 {
    font-family: 'Didact Gothic', sans-serif;
    font-weight: bold;
    font-size: 26px;
    padding: 0 20px;
}

.main_content p,
.main_content ul,
.main_content ol {
    padding: 20px;
    text-align: justify;
    padding-top: 0px;
}

.main_content ul,
.main_content ol {
    padding-left: 45px;
}

.main_content li {
    text-align: left;
    margin-bottom: 6px;
}

/* ---------- Contact ---------- */

.contact-info {
    font-family: 'Didact Gothic', sans-serif;
    line-height: 2;
}

.contact-card {
    background: #fff;
    border: 1px solid #e3e3e3;
    border-top: 3px solid #c6402f;
    padding: 34px 24px;
    text-align: center;
    height: 100%;
    transition: box-shadow 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.09);
}

.contact-card .fa {
    font-size: 30px;
    color: #c6402f;
    margin-bottom: 14px;
}

.contact-card h2 {
    padding: 0 !important;
    font-size: 22px !important;
    margin-bottom: 6px;
}

.contact-card p {
    padding: 0 !important;
    text-align: center !important;
    margin-bottom: 20px;
    word-break: break-word;
}

.contact-card p a {
    color: #2d2d2d;
    text-decoration: none;
}

.contact-card p a:hover {
    color: #c6402f;
}

.contact-card__cta {
    display: inline-block;
    padding: 10px 28px;
    border: 2px solid #c6402f;
    color: #c6402f;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.contact-card__cta:hover {
    background: #c6402f;
    color: #fff;
    text-decoration: none;
}

/* ---------- Footer ---------- */

.site-footer {
    background: #2D2D2D;
    color: white;
    padding: 10px;
    margin-top: 40px;
}

/* ---------- Helpers ---------- */

.m-t-40 {
    margin-top: 40px !important;
}

.m-b-40 {
    margin-bottom: 40px;
}

/* ---------- Expanded navbar (>= lg) ---------- */

/* The navbar is fixed and sits over the banner. Pad the banner by the navbar's height
   so its title centres in the *visible* part, not behind it. */
@media only screen and (min-width: 992px) {
    .main-img-holder {
        padding-top: 92px;
    }
}

/* ---------- Collapsed navbar (< lg) ---------- */

@media only screen and (max-width: 991.98px) {
    .navbar {
        padding: 10px 0px 0px 20px !important;
        /* brand + toggler must stay on one row, or the navbar grows past the
           75px the banner below is offset by and covers its title */
        flex-wrap: nowrap;
    }

    .navbar-toggler {
        margin-right: 7px !important;
        flex: 0 0 auto;
    }

    .brand-label {
        font-size: 26px !important;
        letter-spacing: 1px;
    }

    .navbar-brand img {
        height: 32px;
    }

    .main-img-holder {
        margin-top: 75px !important;
        min-height: 220px;
    }

    .main-img-holder__traces {
        opacity: 0.14;
    }

    .main-img-holder p label {
        font-size: 40px !important;
    }

    .side_menu_div {
        border-right: none;
        border-bottom: 1px solid silver;
        margin-bottom: 20px;
    }
}
