@media screen and (max-width: 979px) {

}

/* Mobile devices */
@media (max-width: 768px) {
    .ubco-dpf #degree-program-table thead,
    .ubco-dpf #degree-program-table tbody {
        display: table;
        width: 100%;
        table-layout: fixed;
    }

    .dpf-tooltip div.dpf-tooltiptext {
        width: 350px;
        transform: translateX(-30%);
    }

    .dpf-tooltiptext div.row-fluid {
        margin-bottom: 25px;
    }
}

.ubco-dpf .filters-container .filter {
    width: 100%;
    height: 40px;
    border: 1px #c5c5c5 solid;
    box-sizing: border-box;
}

div.filters-container > div {
    margin-bottom: 2%;
}

.ubco-dpf .filters-container label {
    font-weight: bold;
}

.ubco-dpf input[type="text"],
.ubco-dpf select {
    font-family: "Whitney SSm A","Whitney SSm B","Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
    color: #0055b7;
    padding: 10px 15px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}


.ubco-dpf input::placeholder { 
    color: #0055b7;
}

.ubco-dpf .filters-container select {
    text-transform: uppercase;
}

.ubco-dpf .ok-btn-secondary {
    padding: 12px 36px 12px 25px;
}

.ubco-dpf tr.shown + tr td {
    border-top: 0;
}

.ubco-dpf ul {
    list-style-type: none;
    font-size: 14px;
    margin-left: 20px;
}

.ubco-dpf ul li {
    margin-bottom: 5px;
    list-style: disc;
}

.ubco-dpf ul li:before {
    margin-right: 5px;
}

.ubco-dpf table .faculty {
    font-style: italic;
}


#degree-program-table_wrapper {
    margin-top: 20px;
}

.ubco-dpf #degree-program-table {
    font-size: 14px;
}

.ubco-dpf #degree-program-table tr.odd {
    background-color: white;
}

.ubco-dpf #degree-program-table tr.even {
    background-color: #EEE;
}

.ubco-dpf #degree-program-table td {
    box-shadow: none;
    height: 80px;
}

.ubco-dpf #degree-program-table td .btn {
    font-size: 14px;
    margin-bottom: 20px;
}

.ubco-dpf #degree-program-table .detail {
    margin-top: 20px;
}


.ubco-dpf #degree-program-table .arrow-icon:before {
    font-family: "FontAwesome";
    color: #000;
    content: "\f054";
    display: inline-block;

    transition: transform 0.3s ease-in-out;
    margin-right: 10px;
    width: 9px;
    height: 20px;
}

.ubco-dpf #degree-program-table tr.shown .arrow-icon:before {
    transform: rotate(90deg);
}

/* Tooltip container */
.dpf-tooltip {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.dpf-tooltip .dpf-tooltiptext {
    visibility: hidden;
    width: 450px;
    background-color: #EEE;
    color: #000;
    border-radius: 6px;
    padding: 15px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;

    white-space: normal;
    max-height: calc(100vh - 10px);
    overflow-y: auto;
}

.dpf-tooltiptext .row-fluid {
    margin-bottom: 20px;
}

/* Tooltip arrow */
.dpf-tooltip .dpf-tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #000 transparent transparent transparent;
}

/* Show the tooltip on hover */
.dpf-tooltip:hover .dpf-tooltiptext {
    visibility: visible;
    opacity: 1;
}

.dpf-tooltip .dpf-tooltiptext .sub-heading {
    font-size: 16px;
    margin-bottom: 20px;
}

.dpf-tooltip .dpf-tooltiptext .program {
    font-size: 14px;
    font-weight: bold;
}

.dpf-tooltip .dpf-tooltiptext .detail {
    font-size: 14px;
    font-weight: 100;
}


.dpf-hover-icon {
    position: relative;
    display: inline-block;
}

.dpf-hover-icon::before {
    content: "?";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: black;
    color: white;
    text-align: center;
    line-height: 20px;
    border-radius: 50%;
    cursor: pointer;
}

.dpf-hover-icon:hover::before {
    background-color: white;
    color: black;
}