/*
    Document   : style
    Created on : 26-May-2025
    Author     : Snow
    Description:
        Purpose of the stylesheet follows.
*/

@font-face {
    font-family: 'FontAwesome';
    src: url('//cdn.ubc.ca/clf/7.0.4/font/font-v4/fontawesome-webfont-ubc-v4.eot');
    src: url('//cdn.ubc.ca/clf/7.0.4/font/font-v4/fontawesome-webfont-ubc-v4.eot?#iefix') format('embedded-opentype'), url('//cdn.ubc.ca/clf/7.0.4/font/font-v4/fontawesome-webfont-ubc-v4.ttf') format('truetype'), url('//cdn.ubc.ca/clf/7.0.4/font/font-v4/fontawesome-webfont-ubc-v4.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

/* TYPOGRAPHY */
/* TODO -- temporary hack until we can use whitney as a custom font within Elementor */
h1, h2, h3, h4, h5, h6, p, a, li, span {
    font-family: "Whitney SSm A", "Whitney SSm B", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

/* Full Width */
.full-width .full-width-container {
    margin: 0;
}

/* FrontPage */
.flexslider {
    display: none;
}

/* Menu */
.nav {
    width: 100%;
}

.nav .navbar-alt-blue:not(.active):not(.current-item-menu) a {
    color: white !important;
}

.navbar .nav .navbar-apply {
    display: block;
    position: relative;
    background: none repeat scroll 0% 0% #EB513A;
    float: right;
    margin-right: 3px;
}

.navbar .nav .navbar-apply .btn-group .btn {
    color: white !important;
    background: none repeat scroll 0% 0% #EB513A !important;
}

.navbar-apply .btn-group .ubc7-arrow {
    background-position: -1178px -227px !important;
}

.nav .navbar-alt-blue {
    display: block;
    position: relative;
    background: none repeat scroll 0% 0% #0055b7 !important;
    float: right !important;
}

.nav .navbar-apply.navbar-helpdesk {
    background: none repeat scroll 0% 0% #ffb200;
}

/* Primary Menu */
.btn-group:not(.open) .dropdown-menu {
    display: none;
}

.menu-item-29.active .btn-group:not(.open) .dropdown-menu {
    display: none;
}

/* Buttons */
.elementor-button-content-wrapper {
    align-items: center;
}

/* Sub-Nav bar */
.elementor-nav-menu--dropdown a {
    border-top: 1px solid #D7E0E7;
    padding: 6px 16px !important;
}

.current-menu-item .elementor-item-active {
    font-weight: bold !important;
}

.elementor-nav-menu--dropdown a:hover {
    font-weight: bold !important;
}

li.current-menu-parent ul,
li.current-menu-item.menu-item-has-children ul,
li.current_page_ancestor ul.sub-menu {
    display: block;
}



