/*
Theme Name:     Child Theme for ok.ubc.ca
Theme URI:      http://cms.ok.ubc.ca
Description:    Child theme created for the main Okanagan Campus Website
Author:         UBC Okanagan IT Web Team
Author URI:     http://cms.ok.ubc.ca
Template:       clf-basic
Version:        1.1.0
*/
/** Begin Custom CSS Here **/

body {
    overflow-x: hidden;
    font-family: "Whitney SSm A","Whitney SSm B","Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body.full-width {
    background-color: #fff;
}
a:link, a:visited, button { 
    -webkit-transition: color .2s ease, background-color .2s ease;
    -moz-transition: color .2s ease, background-color .2s ease;
    -o-transition: color .2s ease, background-color .2s ease;
    transition: color .2s ease, background-color .2s ease;
}
a {
    color: #0055b7;
    text-decoration: none;
    background-color: transparent;
}
a:hover {
    text-decoration: underline;
} 

/* .ok-wysiwyg-wrapper a {
    text-decoration: underline;
} */

.ok-wysiwyg-wrapper {
    padding-top: 15px; 
    padding-bottom: 15px;
}

.ok-wysiwyg-wrapper img {
    padding-bottom: 18px;
}

/*  ======== TYPOGRAPHY ========  */

h1, h2, h3, h4, h5, h6, p {
    font-family: "Whitney SSm A","Whitney SSm B","Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    line-height: normal;
}

h1 {
    color: #002145;
    text-transform: uppercase;
    font-weight: 400;
}

h2 {
    color: #0055b7;
    text-transform: uppercase;
}

h3 {
    color: #002145;
}

h4 {
    color: #0055b7;
    text-transform: uppercase;
}

h5 {
    color: #00a7e1;
    text-transform: uppercase;
}

h6 {
    color: #0055b7;
    text-transform: uppercase;
}

p, ol, ul {
    line-height: 1.57;
}

blockquote {
    padding: 25px 10% 35px;
    margin: 20px 0;
    width: 85%;
    color: #0055b7;
    border: none;
}
blockquote p {
    margin-bottom: 0;
    font-size: 28px;
    font-weight: normal;
    line-height: 1.57;
}

blockquote small {
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
    padding-top: 15px;
    }

small {
    font-size: 80%;
    line-height: 1.3;
}   

strong {
    font-weight: 700;
}

.wp-caption-text {
    padding: 10px 0 0 0;
    text-align: left;
    color: #989898 !important;
    font-size: small;
}

/* hiding post byline - entry meta */
.byline{
    display:none;
}

.entry-meta{
    display:none;
}


/* ==== Desktop typography styles. Applies at 769px or above. Font sizes at 768px or under will continue to use default CLF7 font sizes. ==== */

@media (min-width: 769px) {
    h1 {
        font-size: 58px;
    }
    h2 {
        font-size: 45px;
    }
    h3 {
        font-size: 25px;
    }
    h4 {
        font-size: 17px;
    }
    h5 {
        font-size: 17px;
    }
    h6 {
        font-size: 15px;
    }
    p, ol, ul {
        font-size: 18px;
    }

    p {
        margin-bottom: 15px; 
    }

    li {
        line-height: 1.4;
    }

    h1, h2, h3, h4, h5, h6 {
        margin-top: 25px;
    }

    blockquote p {
        font-size: 30px;
    }
}

/* ===============  Utility Classes: Can be used in combination with standard heading elements. ================ */
/* ===============  Example: <h3 class="ok-reverse-text"> -SQ ================ */

/* Lead Paragraph  */

.ok-lead {
    font-size: 25px;
    line-height: 1.5;
    margin: 30px 0 0 0;
}

@media (min-width: 768px) {
    .ok-lead {
        font-size: 30px;
    }
}

@media (min-width: 980px) {
    .ok-lead {
        font-size: 36px;
    }
}

.ok-reverse-text {
    color: #fff !important;
}

.ok-brightblue-text {
    color: #00a7e1 !important;
}

.ok-primaryblue-text {
    color: #002145 !important;
}

.ok-secondaryblue-text {
    color: #0055B7 !important;
}

.alignright {
    float: right;
    margin: 10px 0px 10px 22px;
}

.alignleft {
    float: left;
    margin: 10px 22px 10px 0px;
}
.aligncenter, div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

/* ======= Utility Background Colour Classes ======= */

/* Primary Blue */
.ok-bg-primaryblue {
    background-color: #002145;
}

.ok-bg-primaryblue .ok-wysiwyg-wrapper * {
    color: #fff;
}

/*  Secondary Blue  */
.ok-bg-secondaryblue {
    background-color: #0055b7;
}

.ok-bg-secondaryblue .ok-wysiwyg-wrapper * {
    color: #fff;
}

/* Bright Blue */
.ok-bg-brightblue {
    background-color: #00a7e1;
}

.ok-bg-brightblue .ok-wysiwyg-wrapper * {
    color: #fff;
}

/* Light Blue */
.ok-bg-lightblue {
    background-color: #eff8fb;
}

/* Light Grey */
.ok-bg-lightgrey {
    background-color: #f7f5f4;
}

/* Striped Diagnostic Background */
.stripes {
    background: repeating-linear-gradient(45deg,#002145,#002145 3px,#184475 3px,#184475 6px);
        background-color: rgba(0, 0, 0, 0);
}

/* Underline links inside darker colour backgrounds and flip card back text. */
section.ok-bg-primaryblue a,
section.ok-bg-secondaryblue a,
section.ok-bg-brightblue a {
    text-decoration: underline;
}
    
/* ===== Rules ===== */

/* Horizontal rule */

hr {
    border-top: 1px solid #cbdcf0;
}

/* Directory rule */

.ok-drule{
    border-top: 1px solid #ccc;
}

/* Vertical rule */

.ok-vrule-left {
    border-left: 1.5px solid #cbdcf0;
    height: auto;
    padding-left: 15px;
}

.ok-vrule-right {
    border-right: 1.5px solid #cbdcf0;
    height:auto;
    padding-right: 15px;
}




/* ===============  Utility Classes End ================ */

div#container {
    background: #fff;
}  
.centerthis {
    text-align: center;
}

#container, .content, #ubc7-unit-menu, #ubc7-footer {
    font-family: "Whitney SSm A", "Whitney SSm B", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Hide Unit Bar for ok.ubc.ca design OK MAIN SITE ONLY*/
 #ubc7-unit {
    display: none;
} 
#ubc7-unit-menu .navbar-inner {
    background: #002145;
    font-weight: 400;
    font-family: "Whitney SSm A", "Whitney SSm B", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#ubc7-unit-menu .navbar-inner .expand{
    background: #002145;
    font-weight: 400;
    font-family: "Whitney SSm A", "Whitney SSm B", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
/* END Hide Unit Bar for ok.ubc.ca design */

#ubc7-unit-menu {
    font-weight: 400px;
}
#ubc7-unit {
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}
#ubc7-unit-name a, #ubc7-unit-name a:hover {
    text-shadow: none;
}
.dropdown-menu li.externallink>a:after {
    font-family: "FontAwesome";
    font-size: 80%;
    content: '\f08e';
    margin-left: 5px;
    color: #002145;
}
.dropdown-menu li.externallink>a:hover:after {
    color: #fff;
}
.navbar .nav>li.externallink>a:after {
    font-family: "FontAwesome";
    font-size: 80%;
    content: '\f08e';
    margin-left: 5px;
    color: #002145;
}
.navbar .nav>li.externallink>a:hover:after {
    color: #fff;
}

/* Gravity Forms Input Fields Styling */
.gform_wrapper input {
    font-size: 18px;
    height: 30px;
}
.gform_wrapper .gform_footer input.button,
.gform_wrapper .gform_footer input[type=submit] {
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 25px 28px!important;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0; 
    color: #0055b7;
    background: #fff;
    border: 1px solid #0055b7;
    font-family: "Whitney SSm A","Whitney SSm B","Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}


/* Mega Menu Styles - Extra styles to compliment the styles included in functions.php */

#mega-menu-wrap-primary .mega-menu-toggle {
    border-bottom: 1px solid #495a73;
}

.ok-sub-menu-eventnews{
    width:70vw!important;
    margin:0 auto!important;
    margin-top:20px!important;
    margin-bottom:20px!important;
    border:3px solid #495a73!important;
}

.hidden-menu-item > a.mega-menu-link {
    visibility: hidden!important;
}

.ok-italic-mega-menu-text-desc{
    margin-top: -20px;
    font-style: italic;
    font-size: 15px;
}

.related-head > a {
    color: #6699d4!important;
}

.related-link > a {
    color: #8691a1!important;
}

a.mega-menu-link{
    color:#fff!important;
    font-size:15px!important;
}

.ubcosub a.mega-menu-link:hover{
    color:#6699d4!important;
}

.related-head > a.mega-menu-link{
    color:#6699d4!important;
}

.related-link > a.mega-menu-link{
    color:#8691a1!important;
    font-size:13px!important;
}

.related-link > a.mega-menu-link:hover{
    color:#fff!important;
}

.mega-related-head{
    padding-left:5px;
    border-left:1px solid #304460 !important;
    min-height:300px;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
    display: block;
    background: #fff!important;
    color: #333!important;
    font-family: inherit;
    font-size: 14px;
    font-weight: normal;
    padding: 0px 10px 0px 10px;
    line-height: 35px;
    text-decoration: none;
    text-transform: none;
    vertical-align: baseline;
    width:164px;
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:hover {
    background: #002145!important;
    color: #fff!important;
}

#mega-menu-primary > li.mega-menu-item-has-children > a.mega-menu-link:after {
    content: '';
    display: inline-block;
    font-family: FontAwesome!important;
    margin: 0 0 0 10px!important;
    vertical-align: top;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
    color: inherit;
    content: "\f107"!important;
    font-size: 19px;
}

#mega-menu-primary > li#mega-menu-item-5414.mega-menu-item-has-children > a.mega-menu-link:after {
    font-family: FontAwesome!important;
    margin: 0 0 0 10px!important;
    vertical-align: top;
    color: inherit;
    content: "\f007"!important;
    font-size: 19px;
}

#mega-menu-primary > li#mega-menu-item-5414.mega-menu-item-has-children > a.mega-menu-link {
    background:#f5f5f5!important;
    color:#002145!important;
}

li#mega-menu-item-5412 {
    border-bottom: none!important;
}

@media (max-width: 979px) {
    #menu-audience-menu {
        font-size: 13px;
    }

    .navbar-apply {
        margin-right:0!important;
    }

    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
        padding: 0px 8px!important;
    }

    .front-flyout-div {
        margin-right: -20px;
    }

    #mega-menu-wrap-primary #mega-menu-primary .mega-navbar-apply > ul.mega-sub-menu {
        left: -39px;
    }
}

@media (max-width: 767px){
    .ok-sub-menu-eventnews{
        width:70wv!important;
        margin:0 auto!important;
        margin-top:20px!important;
        margin-bottom:20px!important;
        border:3px solid #495a73!important;
        border-bottom:3px solid #495a73!important;
    }

    .ok-sub-menu-eventnews a{
        text-align:center!important;
    }

    #mega-menu-wrap-primary,
    #mega-menu-wrap-primary #mega-menu-primary,
    #mega-menu-wrap-primary #mega-menu-primary ul.mega-sub-menu,
    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item,
    #mega-menu-wrap-primary #mega-menu-primary a.mega-menu-link {
        line-height:1.4;
    }

    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
        width:100%!important;
    }

    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column > ul.mega-sub-menu > li.mega-menu-item {
        padding: 0px;
        width: 100%;
    }

    #mega-menu-item-2621 a.mega-menu-link:before {
        display:none!important;
    }

    #mega-menu-item-2622 a.mega-menu-link:before {
        display:none!important;
    }

    #mega-menu-item-2623 a.mega-menu-link:before {
        display:none!important;
    }
    #mega-menu-item-3000, #mega-menu-item-3402{
        border-bottom: 0!important;
    }

    .mega-menu-item {
        border-bottom: 1px solid #495a73 !important;
    }

    .mega-menu-item a{
        padding-left:30px!important;
    }

    .ok-max-menu-mobile-head > a.mega-menu-link {
        display:none!important;
    }

    .ok-max-menu-mobile-item:last-of-type{
        border:none!important;
    }

    .ok-max-menu-mobile-item a {
        padding:10px 0!important;
        font-size:16px!important;
    }

    .ok-max-menu-mobile-item a:hover {
        color:#a4c2e4!important;
    }

    #mega-menu-wrap-primary .mega-menu-toggle + #mega-menu-primary li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu,
    #mega-menu-wrap-primary .mega-menu-toggle + #mega-menu-primary li.mega-menu-item.mega-menu-megamenu.mega-toggle-on ul.mega-sub-menu{
        background:#123963;
    }

    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu {
        padding: 0px;
    }

    #mega-menu-wrap-primary .mega-menu-toggle + #mega-menu-primary li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu, #mega-menu-wrap-primary .mega-menu-toggle + #mega-menu-primary li.mega-menu-item.mega-menu-megamenu.mega-toggle-on ul.mega-sub-menu {
        background: #123963;
        margin: -2px 0;
        padding: 0;
    }

    #mega-menu-item-5412 a.mega-menu-link {
        color: #002145!important;
    }

    #mega-menu-item-5414 ul.mega-sub-menu {
        background: #f8f8f8!important;
        margin-bottom: 10px!important;
    }

    #mega-menu-item-5414 a.mega-menu-link {
        color: #002145!important;
    }
}


@media screen and (min-width: 768px) and (max-width: 979px) {
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
        font-size: 14px !important;
    }
    #menu-audience-menu {
        font-size: 13px !important;
        }
    #mega-menu-primary > li.mega-menu-item-has-children > a.mega-menu-link::after {
        margin: 0 0 0 6px !important;
    }
}

/* Mega Menu 2.7.2 update fix - missing arrow */

#mega-menu-primary > li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator:after {
    content: '';
    display: inline-block;
    font-family: FontAwesome!important;
    margin: 0 0 0 10px!important;
    vertical-align: top;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
    color: inherit;
    content: "\f107"!important;
    font-size: 19px;
    }

/* ==== End Mega Menu Styles ==== */

/* Secondary Menu Styles */

.secondarymenuwrap {
    background: #f5f5f5;
}

#menu-audience-menu li.menu-item {
    float: right;
}

#menu-audience-menu {
    font-family: "Whitney SSm A", "Whitney SSm B", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
}

ul#menu-audience-menu {
    list-style-type: none;
    margin-top: -20px;
}

#menu-audience-menu li > a {
    color: #002145;
    padding: 10px 15px 11px;
    letter-spacing: -0.2px;
    font-weight: 600;
}

#menu-audience-menu li > a:hover {
    color: #fff;
    background-color: #002145;
}

#menu-audience-menu li > a:focus {
    color: #fff;
}

@media screen and (max-width: 767px) {
    .secondarymenuwrap {
        display: none;
    }

    #menu-audience-menu {
        margin-left: -15px;
        margin-right: -15px;
    }

    .expand#menu-audience-menu {
        padding: 0;
    }

    #menu-audience-menu > li {
        width: 100%;
        border-top: 1px solid #fff;
    }

    #menu-audience-menu li > a {
        color: #002145;
        padding: 6px 25px;
        letter-spacing: -0.2px;
        font-size: 13px;
    }
}

/* Three Column Footer Styles */
.ok-footer-icon-32{
    height:32px;
    width:auto;
    padding-right:5px;
}

@media (min-width: 768px) and (max-width: 911px){
    
.ok-footer-icon-32{
margin-bottom:5px;
}

}

.threecolfooter {
    background: #ecedf0;
    padding: 30px 0;
    line-height: 25px;
    border-top: 1px solid #c9c9c9;
    font-size: 14px;
    margin-top: 30px;
}

.threecolfooter p {
    font-size: 14px;
}

.threecolfooter h5 {
    color: #0055b7;
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 1px;
    font-weight: 600;
}

.threecolfooter .socialicon {
    color: #0055b7;
    font-size: 36px;
    padding: 0 3px;
    text-decoration: none;
    cursor: pointer;
}

.threecolfooter a {
    color: #002145;
}

.threecolfooter a:hover {
    color: #0055b7;
}

/* USED ONLY ON OK.UBC.CA */
#ubc7-unit-footer {
    display: none;
}
.ubc7-back-to-top {
    display: none;
}

/* END Three Column Footer Styles */

div.content {
    font-family: "Whitney SSm A", "Whitney SSm B", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.4em
}

/* ACF Flexible Row Styles */

.breakout {
    margin: 0px -100%;
    /* old browsers fallback */
    margin: 0px calc(50% - 50vw);
    position: relative;
}

.breakoutcontent {
    z-index: 100;
    height: 100%;
}

.breakout img.breakout-background-image {
    width: 100%;
}

section.breakout.image:after {
    display: block;
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, #000 100%);
    margin-top: -350px;
    height: 350px;
    width: 100%;
    content: '';
    z-index: 0;
}    

/* Reset breakout fixed width  */

#primary-secondary ~ #content .breakout { 
    margin-left: 0; 
    margin-right: 0;
}

#primary-secondary ~ #content .breakout .container { 
    width: 100%; 
}

/* Padding for breakout containers with background colors inside templates with sidebars */

#primary-secondary ~ #content section[class*='ok-bg-'].breakout .container div[class$='-wrapper'], 
#primary-secondary ~ #content section[class*='image'].breakout .container div[class$='-wrapper'] { 
    padding-left: 30px; 
    padding-right: 30px; 
}



@media (max-width: 979px) {
    .breakoutcontent {
        padding-left: 30px;
        padding-right: 30px;
     }

    #primary-secondary ~ #content .breakout .breakoutcontent{
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    section.breakout.image:after {
        display: block;
        position: relative;
        background-image: none;
        margin-top: 0;
        height: 0;
        width: 0;
        content: '';
        z-index: 0;
    }
}


/* -- Top Top Button -- */
.ok-to-top {
    margin-top: 60px;
    margin-bottom: 20px;
    text-align: center;
}

.ok-to-top a:hover {
    text-decoration: none;
}

.ok-to-top .icon-arrow-up:before {
    cursor: pointer;
}

.ok-to-top .icon-arrow-up {
    color: #002145;
    opacity: .6;
    transition: opacity .5s ease-in-out 0s;
    font-size: 25px;
    background-color: #E0E0E0;
    padding: 8px 9px;
    margin-bottom: 10px;
    display: inline-block;
}

.ok-to-top .icon-arrow-up:hover {
    opacity: 1;
}


/* Breakout Image Vertical location */

.breakout-content-top, .breakout-content-bottom, .breakout-content-middle {
    position: absolute;
}

.breakout-content-top {
    top: 30px;
    z-index: 2;
}

.breakout-content-bottom {
    bottom: 8%;
    z-index: 2;
}

.breakout-content-middle {
    top:50%;
    z-index: 2;
    transform: translateY(-50%);
}

@media (max-width: 979px) {
    .breakout-content-top,
    .breakout-content-bottom,
    .breakout-content-middle {
        position: static;
    }
}

.breakoutimage {
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: cover !important;
    margin-top: -0px;
    min-height: 250px;
    position: relative;
    background-position: center !important;
    margin-bottom: 0;
    overflow: hidden;
}

.breakoutimage::before {
    z-index: 1;
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.5));
    background: -o-linear-gradient(transparent, rgba(0, 0, 0, 0.5));
    background: -moz-linear-gradient(transparent, rgba(0, 0, 0, 0.5));
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
}

/* END ACF Flexible Row Styles */

a.linkicon {
    text-transform: uppercase;
    white-space: nowrap;
}
a.linkicon:after {
    content: '\F105';
    font-family: "FontAwesome";
    padding-left: 10px;
    font-weight: 800;
}


/* Top Featured Image Background Styles */

.page-header {
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: cover !important;
    margin-top: -0px;
    min-height: 550px;
    position: relative;
    background-position: center !important;
    margin-bottom: 0;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.5));
    background: -o-linear-gradient(transparent, rgba(0, 0, 0, 0.5));
    background: -moz-linear-gradient(transparent, rgba(0, 0, 0, 0.5));
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
}

#home.page-header {
    min-height: 700px;
}

.toptitle {
    position: absolute;
    top: 72%;
    font-family: "Whitney SSm A", "Whitney SSm B", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: normal;
    color: #fff;
}

#home .toptitle {
    top: 70%;
}

.toptitle h1 {
    font-size: 65px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
    line-height: 55px;
    text-shadow: 1px 1px 1px #999;
}

.toptitle p {
    line-height: 30px;
    font-size: 22px;
    color: #fff;
}
/* END Top Featured Image Background Styles */


/* Footable Styles */
.footable-row-detail td {
    border-top: 0px;
}

.footable.undergrad .topics li {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 5px;
}

.footable.undergrad .th-program {
    font-size: 18px;
}

.footable.undergrad .program {
    width: 50%;
    font-size: 17px;
}

.footable.undergrad .topics {
    width: 30%;
}

.footable.undergrad .faculty {
    width: 20%;
}

.footable.undergrad .footable-row-detail-cell {
    padding: 0 20px 20px 20px;
    border-top: 0px;
}

.footable.undergrad .footable-row-detail .footable-row-detail-value p {
    font-size: 16px;
}

.footable.undergrad.breakpoint.toggle-square > tbody > tr > td > span.footable-toggle:before {
    font-family: "FontAwesome";
    color: #000;
    content: "\f054";
    display: block;
    
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
    
    -webkit-transition: -webkit-transform 0.2s;
    transition: -webkit-transform 0.2s;
    -o-transition: transform 0.2s;
    transition: transform 0.2s;
    transition: transform 0.2s, -webkit-transform 0.2s;
}

.footable.undergrad.breakpoint.toggle-square > tbody > tr.footable-detail-show > td > span.footable-toggle:before {
    font-family: "FontAwesome";
    color: #000;
    content: "\f054";
    display: block;

    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    
    -webkit-transition: -webkit-transform 0.2s;
    transition: -webkit-transform 0.2s;
    -o-transition: transform 0.2s;
    transition: transform 0.2s;
    transition: transform 0.2s, -webkit-transform 0.2s;
}

.footable.undergrad td {
    background-color: #f6f6f6;
}

.ok-tab-accordion .footable.undergrad .footable-detail-show td, 
.ok-tab-accordion .footable.undergrad .footable-row-detail td {
    background-color: #FFF;
}

.footable-search-wrapper {
    padding-top: 15px;
    border-top: 1px solid #d9e0e6;
    background-color: #f6f6f6;
}

.footable.undergrad thead tr {
    background-color: #f6f6f6;
}

.footable.undergrad thead th {
    padding: 15px;
    font-size: 16px;
}

.footable.undergrad .footable-first-column {
    position: relative;
}

.footable.undergrad .footable-first-column .footable-toggle {
    float: left;
    display: block;
    height: 100%;
}

.footable.undergrad .footable-first-column .name {
    display: block;
    width: 88%;
}

/* === Web manager page ===*/
.footable.web-managers .th-website {
    width: 50%;
}

/* ==== Footable web managers ====*/
.ok-web-managers-search {
    position: relative;   
}

#web_managers_filter {
    padding: 10px 14px 10px 55px;
}

.ok-web-managers-search:after {
    font-family: FontAwesome;
    position: absolute;
    top: 8px;
    left: 10px;
    content: "\f002";
    color: #CCC;
    font-size: 24px;
}

.contentarea {
    margin-top: 60px;
    margin-bottom: 60px;
}

#content {
    font-family: "Whitney SSm A", "Whitney SSm B", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#container {
    font-family: "Whitney SSm A", "Whitney SSm B", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: #fff;
}

.introtext {
    font-size: 1.6em;
    line-height: 1.5;
    padding: 50px 0;
}

.subintrotext {
    font-size: 130%;
    line-height: 150%;
    padding: 15px 0 30px 0;
}

.person {
    background: #f4f4f4;
    margin: 15px;
    padding: 10px;
    border: 1px solid #96d6ea;
    display: block;
    display: flow-root;
}

@media (min-width: 1200px) {
    #home.page-header {
        min-height: 700px;
    }

    .toptitle {
        position: absolute;
    }

    .toptitle h1 {
        font-size: 85px;
        margin-bottom: 10px;
        line-height: 90%;
        white-space: nowrap;
    }

    .toptitle p {
        line-height: 30px;
        font-size: 24px;
    }
}

@media (max-width: 979px) {
    #home.page-header {
        min-height: 400px;
    }

    #home .toptitle {
        top: 58%;
    }

    .toptitle h1 {
        font-size: 55px;
        line-height: 47px;
    }

    .toptitle p {
        line-height: 20px;
        font-size: 18px;
    }

    .page-header {
        min-height: 400px;
    }

    .introtext {
        font-size: 1.4em;
        line-height: 1.3;
        padding: 40px 0;
    }
}

@media (max-width: 767px) {
    #home.page-header {
        min-height: 300px;
    }

    #home .toptitle {
        top: 65%;
    }

    .toptitle {
        top: 65%;
    }

    .toptitle h1 {
        font-size: 55px;
        line-height: 47px;
    }

    .toptitle p {
        line-height: 20px;
        font-size: 18px;
    }
   
    .page-header {
        min-height: 400px;
    }

    .featurebox {
        margin-bottom: 20px;
    }
}

@media (max-width: 375px) {
    #home.page-header {
        min-height: 150px;
    }

    #home .toptitle {
        top: 3%;
    }

    .toptitle h1 {
        font-size: 28px;
        margin-bottom: 5px;
        line-height: 28px;
    }

    .toptitle p {
        line-height: 14px;
        font-size: 14px;
    }

    .page-header {
        min-height: 370px;
    }
}




/* Front Page Side Flyouts */

.bne-flyout-wrapper input[type="submit"] {
    display: none;
}

.bne-flyout-wrapper input[type="text"] {
    display: block;
    margin: 31px 0 0 0px;
    width: 100%!important;
    font-size: 20px;
    appearance: none;
    box-shadow: none;
    border-radius: none;
    background-color: #b8bfd275;
    padding: 23px;
    color: #ffffff;
    border: 2px solid #8798bd;
    font-family: 'Whitney SSm A', 'Whitney SSm B', Arial, sans-serif;
}

.flyout-content a, .flyout-content a:hover, .flyout-content a:visited {
    color: #eeeeee;
    font-size: 16px;
    text-transform: none;
    line-height: 23px;
}

.flyout-content-body hr{
    border: none;
    height: 1px;
    background-color: #304460;
    margin:10px 0;
}

.flyout-content-body .ok-rss-news-feed li.feed-item, .flyout-content-body .ok-rss-events-feed li.feed-item{
    border-bottom: 1px solid #304460;
}

.flyout-content-body .ok-rss-news-feed li.feed-item:hover, .flyout-content-body .ok-rss-events-feed li.feed-item:hover{
    background-color: #304460;
}

.flyout-content-body small{
    color:#939393;
}

.front-flyout-div {
    margin-top: 80px;
}

@media (max-width: 767px) {
    .front-flyout-div {
        display: none;
    }
}

.front-flyout-btn {
    text-align: left;
}

.front-flyout-div i.icon-white {
    margin-right: 20px;
    font-size: 20px;
}

.front-flyout-div > .front-flyout-btn {
    display: block;
    font-family: "Whitney SSm A", "Whitney SSm B", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    float: right;
    width: 180px;
    padding: 16px 50px 16px 12px;
    color: #fff;
    font-weight: 200;
    font-size: 15px;
    text-transform: uppercase;
    opacity: 0.85;
    float: right;
    margin-bottom: 12px;
    background: rgba(0, 33, 69, 0.95);
    background: #002145;
    text-decoration: none;
    -webkit-transition: width .2s ease;
    transition: width .2s ease;
    clear: both;
}

.front-flyout-div > .front-flyout-btn:hover {
    width: 195px;
    color: #fff;
}
/* END Front Page Side Flyouts */

/* Orange Apply to UBC Button Styles Main Nav */

.navbar .nav {
    width: 100%;
}

.navbar-apply {
    display: block;
    position: relative;
    background: #EB513A!important;
    color: #FFF;
    float: right!important;
}

.navbar-apply a {
    color: #fff;
    text-transform: none!important;
}

.navbar-apply:hover {
    cursor: pointer;
}

@media (max-width: 767px) {
    .navbar-apply {
        width: 100%!important;
        float: left!important;
    }
}

/* END Orange Apply to UBC Button Styles Main Nav */


.nav-tabs {
    display: flex;
    font-size: 17px;
}

.nav-tabs li {
    flex-grow: 1;
}

.nav-tabs li i {
    float: right;
}

.nav-tabs > .active > a {
    background: #fff;
    color: #2059a9;
    font-weight: 600;
    border-top: 1px #2059a9 solid;
    border-left: 1px #2059a9 solid;
    border-right: 1px #2059a9 solid;
}

.nav-tabs > .active > a:hover {
    background: #fff;
    color: #002145;
    border-top: 1px #2059a9 solid;
    border-left: 1px #2059a9 solid;
    border-right: 1px #2059a9 solid;
}

.nav-tabs > li > a:hover {
    background: #fff;
    color: #002145;
    border-top: 1px #2059a9 solid;
    border-left: 1px #2059a9 solid;
    border-right: 1px #2059a9 solid;
    border-bottom: 0;
}

.nav-tabs > li > a {
    background: #2059a9;
}

.tab-content {
    font-size: 16px;
    border-left: 1px #2059a9 solid;
    padding: 10px;
    margin-top: -22px;
    border-right: 1px #2059a9 solid;
    border-bottom: 1px #2059a9 solid;
    border-top: 0;
    margin-right: 2px
}

.tab-content h4 {
    font-size: 20px;
    text-transform: uppercase;
    margin-top: 5px;
}

/* Accordion Shortcode Styles */

.accordions-shortcode {
    margin-top: 30px;
}

.accordions-shortcode h3 {
    margin-top: -8px;
}

.ui-state-default > a {
    display: block;
    background: #0680A6;
    padding: 10px;
    color: #fff;
}

.ui-state-default.ui-state-active a {
    display: block;
    background: #002145;
    padding: 10px;
    color: #fff;
}

.ui-state-default.ui-state-active a:after {
    content: '\F056';
    font-family: "FontAwesome";
    float: right;
    color: #fff;
}

.ui-state-default a:after {
    content: '\F055';
    font-family: "FontAwesome";
    float: right;
    color: #fff;
}

.accordian-shortcode-content {
    padding: 10px 10px 30px 10px;
    height: initial!important;
}

.ui-accordion {
    background: #f2f2f2;
}

/* Media query for iPhone 6/7 plus size */
@media (max-width: 425px) {
    .ui-state-default.ui-state-active a:after {
        font-size: 10px;
    }
    .ui-state-default a:after {
        display: none;
    }
    .ui-state-default > a {
        font-size: 20px;
    }
    .ui-state-default.ui-state-active a {
        font-size: 20px;
    }
}

/* User Menu Shortcode (TODO: These styles need to be moved out of here into the shortcode plugin) */
.iconuser-menu{
    display:flex;
    justify-content: center;
}

.iconuser-menu ul li {
    margin:25px;
    text-align: center;
    width:80px;
}

.iconuser-menu ul li a {
    font-family: "Whitney SSm A", "Whitney SSm B", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-decoration:none;
    font-size:13px;
}

.iconuser-menu ul li a:hover {
    text-decoration:underline;
    color:#5a83ad;
}

.iconuser-menu [class^="icon-"]:before {
    display:block;
    font-size:50px;
    color:#002145;
    margin-bottom:5px;
}

/* END User Menu Shortcode */


/* Maps - List Style */
ul.ok-map-list {
    list-style: none;
    margin: 20px 0 10px 20px;
}

ul.ok-map-list li{
    line-height: 30px;
}

ul.ok-map-list li::before {
    content: "\25AA";
    color: #0354b8;
    font-size: 18px;
    display: inline-block; 
    width: 1em;
    margin-left: -1em
}

/* ==== Common Button Properties ==== */

.ok-btn-primary,
.ok-btn-secondary,
.ok-btn-reversed {
    display: inline-block;
    font-weight: 600;
    text-decoration: none !important;
    padding: 14px 30px 14px 20px;
    margin: 6px 0;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 1.25;
    letter-spacing: 1px;
    position: relative;
    border-radius: 0;
} 

@media (min-width: 979px) {
    .ok-btn-primary, .ok-btn-secondary, .ok-btn-reversed {
        font-size: 15px;
        padding: 16px 36px 16px 25px;
    }
}

.ok-btn-arrow::after {
    content: "\f105";  /* This is class fa-angle-right arrow from FontAwesome */
    font-family: FontAwesome;
    top: 50%;
    margin-top: -9px !important;
    right: 22px;
}

/* Arrows on every button */

.ok-btn-primary::after,
.ok-btn-secondary::after,
.ok-btn-reversed::after {
    content: "\f105";
    font-family: FontAwesome;
    top: 50%;
    margin-top: -10px !important;
    right: 15px;
    position: absolute;
}

/* Aligns arrow to right of button container*/

.ok-btn-bar .ok-btn-arrow::after {
    position: absolute;
    top: 50%;
}

@media (max-width: 979px) and (min-width: 768px) {
    .ok-btn-primary::after,
    .ok-btn-secondary::after,
    .ok-btn-reversed::after {
        margin-top: -9px !important;
        right: 10px;
        position: absolute;
    }
}

/* ==== Primary Blue Button ==== */

.ok-btn-primary {
    color: #002145 !important;
    background: none !important;
    border: 1px solid #002145;
}

.ok-btn-primary:focus,
.ok-btn-primary:hover {
    color: #FFF!important;
    background: #002145 !important;
    border: 1px solid #002145;
}

.ok-bg-primaryblue a.ok-btn-primary, 
.ok-bg-secondaryblue a.ok-btn-primary, 
.ok-bg-brightblue a.ok-btn-primary {
    color: #FFF!important;
    background: none !important;
    border: 1px solid #fff;
}

.ok-bg-primaryblue a.ok-btn-primary:focus, 
.ok-bg-primaryblue a.ok-btn-primary:hover {
    color: #002145!important;
    background: #fff !important;
    border: 1px solid #fff;
}

.ok-bg-secondaryblue a.ok-btn-primary:focus, 
.ok-bg-secondaryblue a.ok-btn-primary:hover {
    background: #002145 !important;
}

.ok-bg-brightblue a.ok-btn-primary:focus, 
.ok-bg-brightblue a.ok-btn-primary:hover {
    background: #002145 !important;
}


/* ==== Secondary Blue Button ==== */

.ok-btn-secondary {
    color: #0055b7!important;
    background: none !important;
    border: 1px solid #0055b7;
}

.ok-btn-secondary:focus, .ok-btn-secondary:hover {
    color: #FFF!important;
    background: #0055b7 !important;
    border: 1px solid #0055b7;
}

.ok-bg-primaryblue a.ok-btn-secondary, 
.ok-bg-secondaryblue a.ok-btn-secondary, 
.ok-bg-brightblue a.ok-btn-secondary {
    color: #FFF!important;
    background: none !important;
    border: 1px solid #fff;
}

.ok-bg-primaryblue a.ok-btn-secondary:focus, 
.ok-bg-secondaryblue a.ok-btn-secondary:focus, 
.ok-bg-brightblue a.ok-btn-secondary:focus, 
.ok-bg-primaryblue a.ok-btn-secondary:hover, 
.ok-bg-secondaryblue a.ok-btn-secondary:hover, 
.ok-bg-brightblue a.ok-btn-secondary:hover {
    color: #fff!important;
    background: #0055b7 !important;
    border: 1px solid #fff;
}

.ok-bg-secondaryblue a.ok-btn-secondary:focus, 
.ok-bg-secondaryblue a.ok-btn-secondary:hover {
    color: #0055b7!important;
    background: #fff !important;
}

/* ==== Reversed Button ==== */

.ok-btn-reversed {
    color: #fff!important;
    background: none !important;
    border: 1px solid #fff;
}

.ok-btn-reversed:focus, .ok-btn-reversed:hover {
    color: #0055b7!important;
    background: #fff !important;
}

.ok-bg-primaryblue a.ok-btn-reversed,
.ok-bg-secondaryblue a.ok-btn-reversed, 
.ok-bg-brightblue a.ok-btn-reversed {
    background: #fff !important;
    border: 1px solid #fff;
}

.ok-bg-primaryblue a.ok-btn-reversed{
    color: #002145 !important;
}

.ok-bg-secondaryblue a.ok-btn-reversed{
    color: #0055b7 !important;
}

.ok-bg-brightblue a.ok-btn-reversed{
    color: #00a7e1 !important;
}

.ok-bg-primaryblue a.ok-btn-reversed:focus, 
.ok-bg-primaryblue a.ok-btn-reversed:hover {
    color: #fff!important;
    background: rgba(0,0,0,0.4) !important;
}

.ok-bg-secondaryblue a.ok-btn-reversed:focus, 
.ok-bg-secondaryblue a.ok-btn-reversed:hover {
    color: #fff!important;
    background: rgba(0,0,0,0.4) !important;
}

.ok-bg-brightblue a.ok-btn-reversed:focus, 
.ok-bg-brightblue a.ok-btn-reversed:hover {
    color: #fff!important;
    background: rgba(0,0,0,0.7) !important;
    border: 1px solid #fff;
}

img.breakout-background-image ~ .breakoutcontent a.ok-btn-reversed {
    background: rgba(0,0,0, 0.36) !important;
    color: #fff!important;
    border: 1px solid #fff!important;
}

img.breakout-background-image ~ .breakoutcontent a.ok-btn-reversed:focus, 
img.breakout-background-image ~ .breakoutcontent a.ok-btn-reversed:hover  {
    color: #0055b7!important;
    background: #fff !important;
    border: 1px solid #f7f5f4!important;
}

/* Applies to reversed buttons inside breakout sections with image backgrounds. 
If img.breakout-background-image is a sibling to .breakoutcontent, 
then turn ok-btn-reversed button to primary button styles */

@media (max-width: 979px) {
    img.breakout-background-image ~ .breakoutcontent a.ok-btn-reversed {
        color: #002145 !important;
        background: #fff !important;
        border: 1px solid #002145;
    }
    
    img.breakout-background-image ~ .breakoutcontent a.ok-btn-reversed:focus, img.breakout-background-image ~ .breakoutcontent a.ok-btn-reversed:hover {
        color: #FFF !important;
        background: #002145 !important;
        border: 1px solid #002145;
    }
}

/* ==== Button Bar ==== */

.ok-btn-bar {
  text-align: center;
}

.ok-btn-bar-wrapper {
    margin-bottom: 20px;
    margin-top: 20px;
}
/* ==== Mega Buttons ==== */


/* ==== Mega Buttons ==== */




.ok-btn-mega-primary,
.ok-btn-mega-secondary-1,
.ok-btn-mega-secondary-2,
.ok-btn-mega-lightblue,
.ok-btn-mega-img-bg {
    min-height: 155px !important;
    padding: 20px;
    text-decoration: none;
    margin: 10px 0;
}

.ok-btn-mega-primary,
.ok-btn-mega-secondary-1,
.ok-btn-mega-secondary-2,
.ok-btn-mega-lightblue,
.ok-btn-mega-img-bg{
    text-decoration: none!important;
}

.ok-btn-mega-thumb {
    position: relative;
    height:100%;
}

.ok-btn-mega-text-bottom {
    position: absolute;
    bottom: 0;
}

.ok-btn-mega-text-top {
    position: absolute;
    top: 0;
}


.ok-btn-mega-primary h3,
.ok-btn-mega-primary p,
.ok-btn-mega-secondary-1 h3,
.ok-btn-mega-secondary-1 p,
.ok-btn-mega-secondary-2 h3,
.ok-btn-mega-secondary-2 p,
.ok-btn-mega-img-bg h3,
.ok-btn-mega-img-bg p  {
    color: #fff;
    margin-top:0;
}

.ok-btn-mega-lightblue h3,
.ok-btn-mega-lightblue p {
    color: #002145;
    margin-top:0;
}

.ok-btn-mega-lightblue {
    border: 1px solid #eaf0f5;
}

.ok-btn-mega-primary {
    background: linear-gradient(to left, #002145, #425b75);
    background: -webkit-linear-gradient(to left, #002145, #425b75);
    background: -o-linear-gradient(to left,#002145, #425b75);
    background: -moz-linear-gradient(to left, #002145, #425b75);
}
.ok-btn-mega-primary:hover {
    background: linear-gradient(to right, #002145, #425b75);
    background: -webkit-linear-gradient(to right, #002145, #425b75);
    background: -o-linear-gradient(to right,#002145, #425b75);
    background: -moz-linear-gradient(to right, #002145, #425b75);
}
.ok-btn-mega-secondary-1 {
    background: linear-gradient(to left, #0055b7, #2e6eb6);
    background: -webkit-linear-gradient(to left,#0055b7, #2e6eb6);
    background: -o-linear-gradient(to left,#0055b7, #2e6eb6);
    background: -moz-linear-gradient(to left,#0055b7, #2e6eb6);
}
.ok-btn-mega-secondary-1:hover {
    background: linear-gradient(to right, #0055b7, #2e6eb6);
    background: -webkit-linear-gradient(to right,#0055b7, #2e6eb6);
    background: -o-linear-gradient(to right,#0055b7, #2e6eb6);
    background: -moz-linear-gradient(to right,#0055b7, #2e6eb6);
}
.ok-btn-mega-secondary-2 {
    background: linear-gradient(to left, #00a7e1, #2bb3e2);
    background: -webkit-linear-gradient(to left, #00a7e1, #2bb3e2);
    background: -o-linear-gradient(to left, #00a7e1, #2bb3e2);
    background: -moz-linear-gradient(to left, #00a7e1, #2bb3e2);
}
.ok-btn-mega-secondary-2:hover {
    background: linear-gradient(to right, #00a7e1, #2bb3e2);
    background: -webkit-linear-gradient(to right, #00a7e1, #2bb3e2);
    background: -o-linear-gradient(to right, #00a7e1, #2bb3e2);
    background: -moz-linear-gradient(to right, #00a7e1, #2bb3e2);
}

.ok-btn-mega-lightblue {
    background: linear-gradient(to left, #e6f6fb, #eff8fb);
    background: -webkit-linear-gradient(to left, #e6f6fb, #eff8fb);
    background: -o-linear-gradient(to left, #e6f6fb, #eff8fb);
    background: -moz-linear-gradient(to left, #e6f6fb, #eff8fb);
}
.ok-btn-mega-lightblue:hover {
    background: linear-gradient(to right, #e6f6fb, #eff8fb);
    background: -webkit-linear-gradient(to right, #e6f6fb, #eff8fb);
    background: -o-linear-gradient(to right, #e6f6fb, #eff8fb);
    background: -moz-linear-gradient(to right, #e6f6fb, #eff8fb);
}




/* ==== Mega Icons ==== */
.ok-btn-mega-icon {
    border: 1px solid #cbcbcb;
    padding: 25px;
    color: #002145;
    position: relative;
    margin-bottom: 30px;
    background-color: #fff;
}

a.ok-btn-mega-icon:hover, a.ok-btn-mega-icon:focus {
    text-decoration: none;
    background-color: #eff8fb;
}

.ok-btn-mega-icon img {
    height: 100px;
    width: auto;
    padding-top:40px;
    padding-bottom: 10px;
    padding-right: 20px;
}

.ok-btn-mega-icon.span12 img {
    padding-bottom: 0;
}

.ok-btn-mega-icon.span12 .ok-btn-mega-icon-textbox {
    display: inline;
    vertical-align: bottom;
    position: absolute;
    bottom: 30px;
    min-height: initial;
}

@media (max-width: 768px) {
    .ok-btn-mega-icon.span12 .ok-btn-mega-icon-textbox {
        position: static;
    }
}

.ok-btn-mega-icon-textbox {
    min-height: 115px;
}

.ok-btn-mega-icon-textbox * {
    color: #002145;
}


.ok-btn-mega-icon-text {
    line-height: 1.5;
}

.ok-btn-mega-icon-heading {
    text-transform: uppercase;
    word-wrap: break-word;
}

a.ok-btn-mega-icon:hover {
    text-decoration: none;
}

/* ==== Mega Boxes ==== */
.ok-mega-box{
    min-height: 155px !important;
    padding: 40px;
    text-decoration: none;
    margin: 10px 0;
    font-size:16px;
    border: 1px solid #d9d9d9;
    text-decoration: none;
}

.ok-box-mega-primary *,
.ok-box-mega-secondary * {
    color: #fff;
}

.ok-box-mega-primary a,
.ok-box-mega-secondary a {
    color: #40b4e5;
}
.ok-box-mega-primary a:hover,
.ok-box-mega-secondary a:hover {
    color: #e6f6fb;
}

.ok-box-mega-lightblue h3,
.ok-box-mega-lightblue p {
    color: #002145;
}

.ok-box-mega-primary {
    background: #002145;
}
.ok-box-mega-secondary {
    background: #0055b7;
}
.ok-box-mega-lightblue {
    background: #e6f6fb;
}
.ok-box-mega-white{
    background: #fff;
}

/* ==== Alert Boxes ==== */
.ok-alert-box{
    padding: 40px;
    margin: 30px 15px;
    font-size:16px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);
}
.ok-alert-box * {
    display: contents;
}
.ok-alert-box:before{
    font-family: FontAwesome;
    float:left;
    margin-right:20px;
    font-size:46px;
}
.ok-alert-box-error{
    background-color: #ff7c7c;
}
.ok-alert-box-error:before{
    content: "\f071";
}
.ok-alert-box-warning{
    background-color: #f8e605;
}
.ok-alert-box-warning:before{
    content: "\f06a";
}
.ok-alert-box-success{
    background-color: #57edae;
}
.ok-alert-box-success:before{
    content: "\f05a";
}
.ok-alert-box-status{
    background-color: #40b4e5;
}
.ok-alert-box-status:before{
    content: "\f069";
}
.ok-alert-box-white{
    background: #fff;
    color: #000;
}
.ok-alert-box-grey{
    background: #e0e0e0;
    color: #000;
    display: block;
}
.ok-alert-box-lightblue{
    background: #e6f6fb;
    color: #000;
    display: block;
}
.ok-alert-box-primary{
    background: #002145;
    color: #fff;
    display: block;
}
.ok-alert-box-secondary{
    background: #0055b7;
    color: #fff;
    display: block;
}
.ok-alert-box-secondary a{
    color: #fff;
    text-decoration:underline;
}
.ok-alert-box-primary a{
    color: #eff8fb;
    text-decoration:underline;
}

/* ==== Ok Text Background color ==== */
.ok-text-background-blue > * {
    color: #FFF;
    background-color: #14203c;
    display:inline;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding: 0 10px;
}

.page-template-home .breakout .ok-text-background-blue {
    margin-bottom: 20px;
}

h1.study-here {
    font-size: 45px;
}

h2.study-here {
    font-size: 25px;
}

@media (min-width: 768px) {
    h2.study-here {
        font-size: 35px;
    }
}

/* ==== Tabs to Accordion ==== */
.ok-tab-accordion {
    position: relative;
    padding-top: 50px;
    border: 1px solid #CBCBCA;
    margin-bottom: 20px;
    background: #fff;
}

.ok-tab-accordion .active > div {
    display: block;
}

.ok-tab-accordion .title {
    width: 33.33%;
    background: #002145; /* opt2: #0055B7 */
    color: #FFF;
    text-transform: capitalize;
    position: absolute;
    top: 0;
    border-bottom: 1px solid #CBCBCA;
    border-left: 1px solid #CBCBCA;
    padding: 8px 0;
    cursor: pointer;
    text-indent: 15px;
    font-size: 18px;
    font-weight: bold;
}

@media (min-width: 768px) and (max-width: 979px){
    .ok-tab-accordion .title {
        font-size: 14px;
    }
}


.ok-tab-accordion.tabs2 .title {
    width: 50%;
}

.ok-tab-accordion.tabs2 .ok-tab-accordion-item:nth-of-type(2) .title {
    left: 49.85%;
}

.ok-tab-accordion.tabs3 .title {
    width: 33.2%;
}

.ok-tab-accordion.tabs3 .ok-tab-accordion-item:nth-of-type(2) .title {
    left: 33.33%;
}

.ok-tab-accordion.tabs3 .ok-tab-accordion-item:nth-of-type(3) .title {
    left: 66.66%;
}

.ok-tab-accordion.tabs4 .title {
    width: 25%;
}

.ok-tab-accordion.tabs4 .ok-tab-accordion-item:nth-of-type(2) .title {
    left: 25%;
}

.ok-tab-accordion.tabs4 .ok-tab-accordion-item:nth-of-type(3) .title {
    left: 50%;
}

.ok-tab-accordion.tabs4 .ok-tab-accordion-item:nth-of-type(4) .title {
    left: 74.95%;
}

.ok-tab-accordion .ok-tab-accordion-item:first-child .title {
    border-left: 0;
}

.ok-tab-accordion .active .title {
    background: #FFF;
    color: #002145;
    border-bottom: 0;
}

.ok-tab-accordion .content {
    display: none;
    padding: 15px;
    color: #222;
}

.ok-tab-accordion .table-hover tbody tr:hover td, 
.ok-tab-accordion .table-hover tbody tr:hover th {
    background-color: initial;
}

.ok-tab-accordion .active .title::after {
    content: "\f106";
}

.ok-tab-accordion .title::after {
    font-family: FontAwesome;
    position: absolute;
    content: "\f107";
    font-size: 130%;
    right: 10px;

}

.ok-tab-accordion .footable .footable-row-detail-cell {
    padding: 0 15px 30px 15px;
}

.ok-tab-accordion .footable .footable-first-column {
    font-size: 16px;
    font-weight: 600; 
 }

.ok-tab-accordion .searchwrapper {
    position: relative;   
}
.ok-tab-accordion .searchwrapper:after {
    font-family: FontAwesome;
    position: absolute;
    top: 8px;
    left: 30px;
    content: "\f002";
    color: #CCC;
    font-size: 24px;
}

.ok-tab-accordion .footable .footable-detail-show,
.ok-tab-accordion .footable .footable-row-detail {
    background-color: #eff8fb;
}

.ok-tab-accordion .footable-row-detail .footable-row-detail-row .footable-row-detail-name {
    display: none;
}

#undergrad_filter {
    padding: 10px 14px 10px 55px;
    margin-left: 15px;
}

@media (max-width: 767px) {
    .ok-tab-accordion {
        padding-top: 0px;
    }

    .ok-tab-accordion .active .title {
        border-bottom: 1px solid #CBCBCA;
        width: 100%;
        background-color: #002145;
        color: #FFF;
    }

    .ok-tab-accordion .ok-tab-accordion-item {
        border: 1px solid #CBCBCA;
    }

    .ok-tab-accordion .ok-tab-accordion-item:nth-of-type(1) .title,
    .ok-tab-accordion .ok-tab-accordion-item:nth-of-type(2) .title,
    .ok-tab-accordion .ok-tab-accordion-item:nth-of-type(3) .title,
    .ok-tab-accordion .ok-tab-accordion-item:nth-of-type(4) .title {
        left: 0 !important;
    }

    .ok-tab-accordion .ok-tab-accordion-item .title {
        position: relative;
        width: 100%;
        border-left: 0;
        border-bottom: 0;
        padding: 15px 0;
    }
}


/* =============== RSS AGGREGATOR STYLES -SQ ==============  */

/* Feed Items */

.ok-rss-news-feed p, 
.ok-rss-events-feed p{
    padding: 10px 5px;
} 

.ok-rss-news-feed ul,
.ok-rss-events-feed ul {
    list-style-type: none;
    margin: 0;
}
.ok-rss-news-feed .feed-item a,
.ok-rss-events-feed .feed-item a {
    color: #002145;
    display: block;
    text-decoration: none;
    font-size: 16px;
}

.ok-rss-news-feed.span12 .feed-item a,
.ok-rss-events-feed.span12 .feed-item a {
    font-size: 24px;
    line-height: 1.2;
    font-weight: bold;
}

.ok-rss-news-feed li.feed-item,
.ok-rss-events-feed li.feed-item {
    border-bottom: 1px solid #eee;
    position: relative;
    margin-bottom: 0;
    padding: 10px 0; 
}

.ok-rss-news-feed.span12 li.feed-item,
.ok-rss-events-feed.span12 li.feed-item {
    padding: 20px 20px;
}

.ok-rss-news-feed li.feed-item:hover, 
.ok-rss-events-feed li.feed-item:hover {
    background-color: #eff8fb;
}

.ok-rss-events-feed li.feed-item a {
    margin-left: 80px
}

.ok-rss-events-feed.span12 li.feed-item a {
    margin-left: 160px
}

.ok-rss-news-feed li a,
.ok-rss-events-feed li a, 
.ok-rss-events-feed span.feed-date{
    padding: 0 8px; 
}

/* Feed Meta */

.ok-rss-events-feed div.wprss-feed-meta {
    margin-right: 10px;
    width: 90px;
    position: absolute;
    top:10px;
}

.ok-rss-events-feed.span12 div.wprss-feed-meta,
.ok-rss-news-feed.span12 div.wprss-feed-meta {
    width: 150px;
    top: 22px
}

.ok-rss-news-feed div.wprss-feed-meta {
    display: none;
}

/* Feed Date */

.ok-rss-events-feed span.feed-date {    
    font-size: 20px;
    display: inline-block;
    text-align: center;
    line-height: 1;
}

.ok-rss-events-feed.span12 span.feed-date {    
    font-size: 30px;
    line-height: 1;
}

.ok-rss-events-feed div.wprss-feed-meta > span {
    clear: none;
}

.ok-rss-news-feed .nav-links, .ok-rss-events-feed .nav-links {
    display: none;
}

@media (max-width: 768px){
    .ok-rss-news-feed.span12 .feed-item a,
    .ok-rss-events-feed.span12 .feed-item a {
        font-size: initial;
    }

    .ok-rss-events-feed.span12 span.feed-date {
        font-size: initial;
    }

    .ok-rss-events-feed.span12 li.feed-item a {
        margin-left: 80px;
    }
}
/* Reset styling for RSS feeds.. inherit reversed white when on a coloured background.  */

.ok-bg-primaryblue .ok-rss-news-feed .feed-item a, .ok-bg-primaryblue .ok-rss-events-feed .feed-item a,
.ok-bg-secondaryblue .ok-rss-news-feed .feed-item a, .ok-bg-secondaryblue .ok-rss-events-feed .feed-item a,
.ok-bg-brightblue .ok-rss-news-feed .feed-item a, .ok-bg-brightblue .ok-rss-events-feed .feed-item a {
    color: inherit;
    }

.ok-bg-primaryblue .ok-rss-news-feed li.feed-item:hover, .ok-bg-primaryblue .ok-rss-events-feed li.feed-item:hover{
    background-color: #304460;
    }

.ok-bg-primaryblue .ok-rss-news-feed li.feed-item, .ok-bg-primaryblue .ok-rss-events-feed li.feed-item {
    border-bottom: 1px solid #304460;
    }

/* ======== Timeline Page Template Styles ========= */
.ok-timeline-container *, .ok-timeline-container *:after, .ok-timeline-container *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.ok-timeline-container {
    /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
    /*width: 90%;*/
    max-width: 1170px;
    margin: 0 auto;
}

.ok-timeline-container::after {
    /* clearfix */
    content: '';
    display: table;
    clear: both;
}

/* ok-timeline section */
#ok-timeline {
    position: relative;
    padding: 15px 0;
    margin-top: 30px;
    margin-bottom: 30px;
    padding-top: 30px;
}

#ok-timeline::before {
    /* this is the vertical line */
    content: '';
    position: absolute;
    top: 0;
    left: 18px;
    height: 100%;
    width: 3px;
    background: #00A7E1;
}

@media only screen and (min-width: 1170px) {
    #ok-timeline::before {
    left: 50%;
    }
}

.ok-timeline-block {
    position: relative;
    margin: 15px 0;
}

.ok-timeline-block::after {
    clear: both;
    content: "";
    display: table;
}

.ok-timeline-block:last-child {
    margin-bottom: 0;
}

@media only screen and (min-width: 1170px) {
    .ok-timeline-block {
        margin: 30px 0;
    }

    .ok-timeline-block:first-child {
        margin-top: 0;
    }

    .ok-timeline-block:last-child {
        margin-bottom: 0;
    }
}

.ok-timeline-marker {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /*
    box-shadow: 0 0 0 4px #ffffff, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);
    */
    border: 3px solid #00A7E1;
    background-color: #fff;
}

@media only screen and (min-width: 1170px) {
    /* bounce effect on odd markers */
    .ok-timeline-marker {
        width: 60px;
        height: 60px;
        left: 50%;
        margin-left: -30px;
        /* Force Hardware Acceleration in WebKit */
        -webkit-transform: translateZ(0);
        -webkit-backface-visibility: hidden;
    }

    .cssanimations .ok-timeline-marker.is-hidden {
        visibility: hidden;
    }

    .cssanimations .ok-timeline-marker.bounce-in {
        visibility: visible;
        -webkit-animation: cd-bounce-1 0.6s;
        -moz-animation: cd-bounce-1 0.6s;
        animation: cd-bounce-1 0.6s;
    }
}

@-webkit-keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
  }
  60% {
    opacity: 1;
    -webkit-transform: scale(1.2);
  }
  100% {
    -webkit-transform: scale(1);
  }
}

@-moz-keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -moz-transform: scale(0.5);
  }
  60% {
    opacity: 1;
    -moz-transform: scale(1.2);
  }
  100% {
    -moz-transform: scale(1);
  }
}

@keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
    -moz-transform: scale(0.5);
    -ms-transform: scale(0.5);
    -o-transform: scale(0.5);
    transform: scale(0.5);
  }
  60% {
    opacity: 1;
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
  }
  100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
}

.ok-timeline-content {
    position: relative;
    margin-left: 60px;
}

.ok-timeline-content::after {
    clear: both;
    content: "";
    display: table;
}

.ok-timeline-content h2 {
    color: #000245;
    font-size: 36px;
    text-transform: initial;
    font-weight: normal;
    margin-top: 5px;
}

.ok-timeline-content .ok-timeline-img {
    overflow: hidden;    
}

.ok-timeline-content .ok-timeline-img img {
    transition: transform 0.5s linear;
}    

.ok-timeline-content .ok-timeline-img:hover img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
    transition: transform 0.5s linear;
}

.ok-timeline-content .ok-timeline-read-more {
    margin-top: 15px;
}

.ok-timeline-content .ok-timeline-summary {
    margin-top: 15px;
}

.ok-timeline-content .ok-timeline-date {
    font-size: 26px;
    margin-top: 15px;
    padding: 10px 0;
}
 
@media only screen and (max-width:768px) {
    .ok-timeline-content h2{
        font-size: 24px;
    }

    .ok-timeline-content .ok-timeline-date {
        font-size: 15px;
    }

    .ok-timeline-block {
        margin: 50px 0;
    }
}

@media only screen and (min-width: 1170px) {
    .ok-timeline-content {
        margin-left: 0;
        padding: 10px 0;
        width: 45%;
    }

    .ok-timeline-content::before {
        top: 24px;
        left: 100%;
        border-color: transparent;
        border-left-color: #ffffff;
    } 

    .ok-timeline-content .ok-timeline-date {
        position: absolute;
        width: 100%;
        left: 122%;
        top: 0px;
        padding: 0;
    }
  
    .ok-timeline-block:nth-child(even) .ok-timeline-content {
        float: right;
    }
  
    .ok-timeline-block:nth-child(even) .ok-timeline-content::before {
        top: 24px;
        left: auto;
        right: 100%;
        border-color: transparent;
        border-right-color: #ffffff;
    }

    .ok-timeline-block:nth-child(even) .ok-timeline-content .ok-timeline-date {
        left: auto;
        right: 122%;
        text-align: right;
    }

    .cssanimations .ok-timeline-content.is-hidden {
        visibility: hidden;
    }

    .cssanimations .ok-timeline-content.bounce-in {
        visibility: visible;
        -webkit-animation: cd-bounce-2 0.6s;
        -moz-animation: cd-bounce-2 0.6s;
        animation: cd-bounce-2 0.6s;
    }
}

@media only screen and (min-width: 1170px) {
    /* inverse bounce effect on even content blocks */
    .cssanimations .ok-timeline-block:nth-child(even) .ok-timeline-content.bounce-in {
        -webkit-animation: cd-bounce-2-inverse 0.6s;
        -moz-animation: cd-bounce-2-inverse 0.6s;
        animation: cd-bounce-2-inverse 0.6s;
    }
}

@-webkit-keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(10px);
  }
  100% {
    -webkit-transform: translateX(0);
  }
}

@-moz-keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -moz-transform: translateX(-100px);
  }
  60% {
    opacity: 1;
    -moz-transform: translateX(10px);
  }
  100% {
    -moz-transform: translateX(0);
  }
}

@keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100px);
    -moz-transform: translateX(-100px);
    -ms-transform: translateX(-100px);
    -o-transform: translateX(-100px);
    transform: translateX(-100px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(10px);
    -moz-transform: translateX(10px);
    -ms-transform: translateX(10px);
    -o-transform: translateX(10px);
    transform: translateX(10px);
  }
  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}

@-webkit-keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(-10px);
  }
  100% {
    -webkit-transform: translateX(0);
  }
}

@-moz-keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -moz-transform: translateX(100px);
  }
  60% {
    opacity: 1;
    -moz-transform: translateX(-10px);
  }
  100% {
    -moz-transform: translateX(0);
  }
}

@keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100px);
    -moz-transform: translateX(100px);
    -ms-transform: translateX(100px);
    -o-transform: translateX(100px);
    transform: translateX(100px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(-10px);
    -moz-transform: translateX(-10px);
    -ms-transform: translateX(-10px);
    -o-transform: translateX(-10px);
    transform: translateX(-10px);
  }
  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}    

/* ======== Story Box Styles ========= */

.ok-storybox {
    padding: 25px;
    margin-bottom: 25px;
}

.ok-storybox .ok-tab {
    border: 0;
    list-style: none;
    margin: 0;
    margin-bottom: 15px;
}
.ok-storybox .ok-tab .active a {
    color: #0055B7;
    font-weight: 600;
}

.ok-storybox .ok-tab li {
    padding: 15px;
    float: left;
    padding-right: 0;
}

.ok-storybox .ok-tab li a {
    background-color: transparent;
    border: 0;
    color: #000;
    line-height: 10px;
    padding: 0 15px;
}

.ok-storybox .ok-tab li,
.ok-storybox .ok-tab li:first-child a {
    padding-left: 0;
}

.ok-storybox .ok-tab li:nth-child(n+2) a {
    /** Not first child **/
    border-left: 1px solid #000;
}


/*.ok-storybox .nav-tabs>.active>a,*/
/*.ok-storybox .nav-tabs>.active>a:hover,*/
/*.ok-storybox .nav-tabs>.active>a:focus {*/
/*background-color: transparent;*/
/*border: 0;*/
/*color: #0055B7;*/
/*}*/

.ok-storybox .tab-content {
    border: 0;
    margin: 0;
    padding: 0;
    clear: both;
}

@media (max-width: 979px) {
    .ok-storybox .ok-tab {
        font-weight: bold;
    }

    .ok-storybox .ok-tab li {
        width: 100%;
        padding: 8px 0;
        border-bottom: 1px solid #000;
        float: none;
    }

    .ok-storybox .ok-tab li a {
        padding: 0;
    }

    .ok-storybox .ok-tab li:nth-child(n+2) a {
        /** Not first child **/
        border-left: 0;
    }

    .ok-storybox .tab-content {
        margin-top: 15px;
    }
}

/* ======== Photo Bar Styles ========= */

/* Removes gutter from any span4 */
@media (min-width: 768px) {
  .row-fluid .span4.nogutteritem { 
      width:33.33%!important;
      margin-left:0!important;
  }
}

@media (max-width: 979px){
  .ok-photo-bar.breakoutcontent {
      padding-left: 0!important;
      padding-right: 0!important;
  }
}    


/* ======== Image Slider Styles ========= */

.ok-image-slider {
    margin: 0;
    /*-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";*/
    /*filter: alpha(opacity=0);*/
    background: rgba(255, 255, 255, 0);
    border: 0px;
}

/* Make arrows show up as standard on image slider component */

.ok-image-slider .flex-direction-nav .flex-prev {
    opacity: 0.7;
    left: 10px;
    margin-top: -10px;
}

.ok-image-slider .flex-direction-nav .flex-next {
    opacity: 0.7;
    right: 10px;
    margin-top: -10px;
    }

.ok-image-slider .flex-caption {
    font-size: 13px;
    color: #fff;
    width: 96.1%;
    padding: 2%;
    left: 0;
    bottom: 0;
    background-color: #0054B7;
    text-shadow: 0 -1px 0 rgba(0,0,0,.3);
    font-size: 14px;
    line-height: 18px;
    opacity: 0.85;
    margin-bottom: 0;

    /* make caption on top of the gradian */
    z-index: 2;
    position: absolute;
    bottom: 0;
    left: 0;
}

.ok-image-slider .slides li {
    position: relative;
}

.ok-image-slider .flex-direction-nav a {
    line-height: 30px; /* fix nav icon half covered issue with clf */
}

.ok-image-slider .flex-direction-nav a:before {
    color: #FFF;
    font-family: "FontAwesome";
    font-size: 26px;
    display: inline-block;
    content: '\f053';
}

.ok-image-slider .flex-direction-nav a.flex-next::before {
    content: '\f054';
}

.ok-image-slider .flex-direction-nav a:before {
    color: #FFF;
}

.ok-image-slider .flex-viewport li {
    position:relative;
}

.ok-image-slider .flex-viewport li:before {
    content: '';
    position: absolute;
    top:0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,1);
    background: -moz-linear-gradient(left, rgba(0,0,0,1) 0%, rgba(255,255,255,0.57) 30%, rgba(109,109,109,0) 70%, rgba(0,0,0,1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(0,0,0,1)), color-stop(30%, rgba(255,255,255,0.57)), color-stop(70%, rgba(109,109,109,0)), color-stop(100%, rgba(0,0,0,1)));
    background: -webkit-linear-gradient(left, rgba(0,0,0,1) 0%, rgba(255,255,255,0.57) 30%, rgba(109,109,109,0) 70%, rgba(0,0,0,1) 100%);
    background: -o-linear-gradient(left, rgba(0,0,0,1) 0%, rgba(255,255,255,0.57) 30%, rgba(109,109,109,0) 70%, rgba(0,0,0,1) 100%);
    background: -ms-linear-gradient(left, rgba(0,0,0,1) 0%, rgba(255,255,255,0.57) 30%, rgba(109,109,109,0) 70%, rgba(0,0,0,1) 100%);
    background: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(255,255,255,0.57) 30%, rgba(109,109,109,0) 70%, rgba(0,0,0,1) 100%);
    z-index: 1;
    opacity: 0.25;
}

.ok-image-slider .flex-caption h1,
.ok-image-slider .flex-caption h2,
.ok-image-slider .flex-caption h3,
.ok-image-slider .flex-caption h4,
.ok-image-slider .flex-caption h5 {
    color: #FFF;
    margin-top: 0;
}

@media (min-width: 768px) {
    .span3 .ok-image-slider .flex-caption p,
    .span3 .ok-image-slider.alt-style .flex-caption p,
    .span4 .ok-image-slider .flex-caption p,
    .span4 .ok-image-slider.alt-style .flex-caption p,
    .span6 .ok-image-slider .flex-caption p,
    .span6 .ok-image-slider.alt-style .flex-caption p {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .ok-image-slider .flex-caption p,
    .ok-image-slider.alt-style .flex-caption p {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .ok-image-slider .flex-caption {
        position: static;

    }
}


.ok-image-slider.alt-style .flex-caption {
    font-size: 13px;
    color: #fff;
    width: 80%;
    padding: 20px 10%;
    left: 0;
    bottom: 0;
    background-color: #0054B7;
    text-shadow: 0 -1px 0 rgba(0,0,0,.3);
    font-size: 14px;
    line-height: 18px;
    opacity: 0.85;
    margin-bottom: 0;

    /* make caption on top of the gradient */
    z-index: 2;
    position: absolute;
    bottom: 0;
    left: 0;
}



.ok-image-slider.alt-style .flex-caption h1,
.ok-image-slider.alt-style .flex-caption h2,
.ok-image-slider.alt-style .flex-caption h3,
.ok-image-slider.alt-style .flex-caption h4,
.ok-image-slider.alt-style .flex-caption h5 {
    color: #FFF;
    margin-top: 0;
}

.ok-image-slider.alt-style .flex-direction-nav {
    position: relative;
    bottom: 60px;
}

.ok-image-slider.alt-style .flex-direction-nav a {
    line-height: 30px; /* fix nav icon half covered issue with clf */
}

.ok-image-slider.alt-style .flex-direction-nav a:before {
    color: #FFF;
    font-family: "FontAwesome";
    font-size: 26px;
    display: inline-block;
    content: '\f053';
}

.ok-image-slider.alt-style .flex-direction-nav a.flex-next::before {
    content: '\f054';
}

.ok-image-slider.alt-style .flex-viewport li {
    position:relative;
}

.ok-image-slider.alt-style .flex-viewport li:before {
    content: '';
    position: absolute;
    top:0;
    left: 0;
    right: 0;
    bottom: 0;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#000000', GradientType=0 );
    background: -webkit-linear-gradient(transparent 70%, #000 100%);
    background: -o-linear-gradient(transparent 70%, #000 100%);
    background: -moz-linear-gradient(transparent 70%, #000 100%);
    background: linear-gradient(transparent 70%, #000 100%);
    z-index: 1;
    opacity: 0.8;
}

.ok-image-slider.alt-style .flex-caption {
    background-color: transparent;
}

@media screen and (max-width: 767px) {
    .ok-image-slider.alt-style .flex-caption {
        position: static !important;
        text-shadow: none !important; 
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .ok-image-slider.alt-style .flex-caption * {
        color: #222 !important;
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .ok-image-slider.alt-style .flex-viewport {
        float: right: !important;
    }
    
    .ok-image-slider.alt-style .flex-viewport li::before {
        opacity: 0 !important;
        background: none !important;
    }
    
    .ok-image-slider.alt-style .flex-direction-nav a:before {
        color: #bababa !important;
    }
    
    .ok-image-slider.alt-style .flex-direction-nav {
        bottom: initial !important;
        margin-bottom: 20px;
    }

    .ok-image-slider.alt-style .flex-direction-nav .flex-prev {
        left: initial !important;
        right: 50px !important;
    }
    .ok-image-slider.alt-style .flex-direction-nav .flex-prev, 
    .ok-image-slider.alt-style .flex-direction-nav .flex-next  {
        background-color: rgba(0, 0, 0, 0.05);
        text-align: center;
        padding: 10px 0px 0 0;
        border: 1px solid white;
    }

}


/* ======== ACF Accordion Styles ========= */

.ok-accordion {
    margin-bottom: 10px;
}

.ok-accordion .accordion-group {
    margin-bottom: 0;
    border: 1px solid #CBCBCA;
    border-bottom: 0;
}

.ok-accordion .accordion-group:last-child {
    border-bottom: 1px solid #CBCBCA;
}

.ok-accordion .accordion-inner {
    background-color: #FFF;
    padding: 20px 15px;
    border-top: 1px solid #e5e5e5;
}

.ok-accordion.ok-accordion-blue .accordion-group {
    background-color: #fff;
    }

.ok-accordion.ok-accordion-blue .accordion-group .accordion-heading {
    background-color: #EFF8FB;
    }
    
    
.ok-accordion.ok-accordion-grey .accordion-group {
    background-color: #fff;
    }

.ok-accordion.ok-accordion-grey .accordion-group .accordion-heading {
    background-color: #f6f6f6;
    }

.ok-accordion .accordion-heading {
    position: relative;
    font-size: 18px;
}

.ok-accordion .accordion-heading a {
    padding-right: 30px;
    font-weight: 600;
}

.ok-accordion .accordion-heading:hover a:after {
    color: #FFF;
}

.ok-accordion .accordion-heading a:after {
    position: absolute;
    right: 10px;
    top: 5px;
    content: "\f106";
    font-family: FontAwesome;
}

.ok-accordion .accordion-heading a.collapsed:after {
    position: absolute;
    right: 10px;
    top: 5px;
    content: "\f107";
    font-family: FontAwesome;
}

/* Larger Accordion heading  */
.ok-accordion .accordion-heading.accordion-heading-large {
    font-size:22px; 
    line-height: normal;
}

.ok-accordion .accordion-heading {
    font-size: 18px;
}

.ok-accordion .accordion-heading.accordion-heading-large {
    font-size: 22px;
}

.ok-accordion .accordion-heading a.collapsed::after {
    top: 25%;
    }

.ok-accordion .accordion-heading a::after {
    top: 25%;
}

.ok-accordion .accordion-heading .accordion-toggle {
    padding: 12px 25px;
}

.ok-accordion .accordion-heading.accordion-heading-large .accordion-toggle {
    padding: 12px 25px;
}
.ok-accordion .accordion-inner a {
    color: #0055b7;
    text-decoration: none;
}
.ok-accordion .accordion-inner a:hover {
    color: #2f5d7c;
    text-decoration: underline;
}


/* ======== Story Tile Styles ========= */

.ok-story-tile .tile-wrapper {
    position: relative;
    height: 0;
    margin-bottom: 30px;
    overflow: hidden;
    padding-bottom: 100%;
}

.ok-story-tile .tile-wrapper.ratio1to1 {
    padding-bottom: 55%;
}

.ok-story-tile .tile-wrapper.ratio2to1 {
    padding-bottom: 48%;
}

.ok-story-tile .tile-wrapper.ratio3to1 {
    padding-bottom: 31%;
}

.ok-story-tile .tile-wrapper .tile {
    display: block;
}

.ok-story-tile .content {
    position: absolute;
    margin: 20px;
    bottom: 0;
    background: none;
    color: #FFF;
}

.ok-story-title .content a {
    color: #00A7E1;
}

.ok-story-tile .tile img {
    width: 100%;
    -webkit-transition: -webkit-transform 0.5s ease;
    -moz-transition: transform 0.5s ease;
    -o-transition: transform 0.5s ease;
    -ms-transition: transform 0.5s ease;
    transition: transform 0.5s ease;
}

.ok-story-tile .tile-wrapper:hover .tile img {
    -webkit-transform: scale(1.15);
    -moz-transform: scale(1.15);
    -ms-transform: scale(1.15);
    -o-transform: scale(1.15);
    transform: scale(1.15);
    -webkit-transition: -webkit-transform 5s ease;
    -moz-transition: transform 5s ease;
    -o-transition: transform 5s ease;
    -ms-transition: transform 5s ease;
    transition: transform 5s ease;
}

.ok-story-tile .bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    max-width: 1920px;
    background: -webkit-linear-gradient(transparent 30%, #000 100%);
    background: -o-linear-gradient(transparent 30%, #000 100%);
    background: -moz-linear-gradient(transparent 30%, #000 100%);
    background: linear-gradient(transparent 30%, #000 100%);
    opacity: 0.8;
}

.ok-story-tile .tile-wrapper.no-img .bg {
    background-color: rgba(8, 33, 66, 1);
}

.ok-story-tile .content h2,
.ok-story-tile .content h3,
.ok-story-tile .content h4,
.ok-story-tile .content h5 {
    color: #FFF;
    text-transform: initial;
}

.ok-story-tile .content p {
    color: #FFF;
}

@media (max-width: 979px) and (min-width: 768px) {
    .ok-story-tile .content {
        margin-bottom: 0;
    }
}


/* ======== WP Caption ========= */

.wp-caption img {
    display: block;
    margin: 0 !important;
    max-width: 100%;
    width: 100%;
    padding: 0 !important;
}

.wp-caption {
    border: none;
    max-width: 100%;
}

.wp-caption .wp-caption-text {
    padding: 10px 0 0 0;
    text-align: left;
    color: #989898 !important;
    font-size:small;
}

/* ======== WP Caption - Image with link bar ========= */

.ok-image-link-bar.wp-caption img {
    display: block;
    margin: 0 !important;
    max-width: 100%;
    width: 100%;
}

.ok-image-link-bar.wp-caption {
    border: none;
}

.ok-image-link-bar.wp-caption .wp-caption-text {
    margin:0;
    padding: 15px 15px 15px 20px;
    background:#002145;
    text-align: left;
    color: #f1f1f1 !important;
    font-size:small;
    text-decoration:none;
    text-transform:uppercase;
}

.ok-image-link-bar.wp-caption .wp-caption-text a {
    color: #f1f1f1 !important;
    font-size:medium;
    text-decoration:none;
    text-transform:uppercase;
}

.ok-image-link-bar.wp-caption .wp-caption-text a:after {
    content: "\F105";
    font-family: "FontAwesome";
    font-size: 26px;
    float: right;
    margin-right: 7%;
    line-height: 24px;
}

@media (max-width: 988px) {
 .ok-image-link-bar.wp-caption a img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 979px) {
    .ok-image-link-bar.wp-caption .wp-caption-text a{
        font-size: small;
    }    
    .ok-image-link-bar.wp-caption .wp-caption-text a:after {
        font-size: 20px;
        line-height: 20px;
    }
}


/* ======== Text Carousel ========= */
.ok-text-carousel-wrapper {
    margin-bottom: 30px;
}

.ok-text-carousel {
    color: #00A7E1;
}

.ok-text-carousel.flexslider {
    margin: -16px 34px 0;
    position: relative;
    width: 90%;
    margin: 0 auto;
}

.ok-text-carousel li {
    text-align: center;
    display: block;
}

.ok-text-carousel li a {
    color: #00A7E1;
    text-decoration: none;
    font-size: 18px;
    display: inline;
}

.ok-text-carousel li span {
    display: block;
    margin-top: -10px;
}

.ok-text-carousel .flex-viewport {
    margin: 0 auto;
}

.ok-text-carousel .slides li img {
    border: 1px solid #00A7E1;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    vertical-align: middle;
    display: inline-block;
}

.ok-text-carousel .flex-direction-nav a {
    line-height: 40px;
    display: block;
    position: absolute;
    top: 0;
    height: 39px;
    text-align: center;
    z-index: 20;
    font-size: 16px;
    padding-top: 100px;
}

.ok-text-carousel .flex-direction-nav a.flex-prev,
.ok-text-carousel .flex-direction-nav a.flex-next {
    -moz-transition: none;
    -webkit-transition: none;
    transition: none;
}

.ok-text-carousel .flex-direction-nav a.flex-next,
.ok-text-carousel:hover .flex-direction-nav a.flex-next {
    right: 0;
    margin-right: -40px;
    opacity: 1;
}

.ok-text-carousel .flex-direction-nav a.flex-prev,
.ok-text-carousel:hover .flex-direction-nav a.flex-prev {
    left: 0;
    margin-left: -40px;
    opacity: 1;
}

.ok-text-carousel .flex-direction-nav a:before {
    font-family: "FontAwesome";
    font-size: 22px;
    color: #002040;
}

.ok-text-carousel .flex-direction-nav a.flex-next:before {
    content: '\f054';
}

.ok-text-carousel .flex-direction-nav a.flex-prev:before {
    content: '\f053';
}

.ok-text-carousel .box {
    background-color: #002145;
    color: #FFF;
    padding: 15px;
    text-align: left;
    height: 168px;
    overflow: hidden;
}

.ok-text-carousel .box h4,
.ok-text-carousel .box h5 {
    color: #FFF;
    margin-top: 10px;
}

.ok-text-carousel.lightblue .box {
    background-color: #eff8fb;
    }
    
.ok-text-carousel.lightblue .box p {
    color: #002145;
    }
    
.ok-text-carousel.lightblue .box h4 {
    color: #0055a7;
    }
    
.ok-text-carousel.lightblue .box:hover, 
.ok-text-carousel.lightblue .box:focus, 
.ok-text-carousel.lightblue .box:active {
    background-color: #e9eff2;
    }    

.ok-text-carousel.darkblue .box:hover, 
.ok-text-carousel.darkblue .box:focus, 
.ok-text-carousel.darkblue .box:active {
    background-color: #0055a7;
    }    

@media (max-width: 767px) {
    .ok-text-carousel .box h3,
    .ok-text-carousel .box h4,
    .ok-text-carousel .box h5 {
        font-size: 18px;
    }

    .ok-text-carousel .box p {
        font-size: 13px;
    }
}

@media (min-width: 768px) {
    .ok-text-carousel .box h3,
    .ok-text-carousel .box h4,
    .ok-text-carousel .box h5 {
        font-size: 18px;
    }

    .ok-text-carousel .box p {
        font-size: 13px;
    }
}

@media (min-width: 768px) {
    .ok-text-carousel.center-cells .slides {
        width: 100% !important;
        text-align: center;
    }

    .ok-text-carousel.center-cells .slides li {
        display: inline-block !important;
        float: none !important;
        vertical-align: top;
    }
}


/* Ok Animated Numbers */
.ok-bg-primaryblue .ok-ani-numbers-wrapper * {
    color: #fff;
}
.ok-bg-secondaryblue .ok-ani-numbers-wrapper * {
    color: #fff;
}
.ok-bg-brightblue .ok-ani-numbers-wrapper * {
    color: #fff;
}

.ok-ani-numbers-wrapper{
    margin-top:30px;
}

.ani-number{
    font-size:50px;
    font-weight:700;
    color:#0055b7;
    display:block;
    padding:30px 0;
}

.ok-ani-center{
    text-align:center;
}

.ok-ani-center img{
    display: block;
    margin: 0 auto;
    height:100px;
}

.ok-ani-center span{
    display:inline-block;
    color:#0055b7;
}

.ok-ani-center .ok-ani-pref{
    font-size:50px;
}

.ok-ani-center .ok-ani-suff{
    font-size:50px;
}

.ok-ani-center h4{
    margin-top:-5px;
    margin-bottom:40px;
}
/* END Animated Numbers */


/* ======== Subpages Navigation ========= */
.sidenav .single {
    border:none;
}

.sidenav .single a {
    padding:2px 16px;
    font-size: 15px;
    color: #002145;
    line-height: 30px;
    text-transform: none;
    font-weight:normal;
} 

.sidenav .single a:hover, 
.sidenav .single a:active, 
.sidenav .single a:focus {
    font-weight: bold;
    background: none;
    color: #002145;
}

.sidenav .opened {
    font-weight: 700;
    color:#0055b7 !important;
}


/* ==== Hide sub pages navigation items for pages under Academics/Degrees Programs ==== */
div#accordion-olt-subpages-navigation-widget-22620 {
    display: none;
}

@media only screen and (max-width: 767px){
    .widget-widget_subpages_navigation{
        display:none;
    }
}

.sidenav.accordion {
    background-color: rgba(255, 255, 255, 0);
    border: none;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    margin-bottom: 10px;
}

.sidenav.accordion a {
    border-top: 1px solid #D7E0E7;
}

.accordion-group {
  border:none;
}
  
.sidenav .accordion-heading {
  border-bottom:none;
}

.sidenav .accordion-heading .accordion-toggle {
  border-left:none;
  padding: 0px 20px;
}

.ubc7-arrow {
  display: none;
}

.sidenav .accordion-inner a {
    border-bottom: none;
}

.sidenav .accordion-group .accordion-group .accordion-inner>a:last-child {
    border-bottom: none;
}

.sidenav .accordion-group .accordion-heading.opened a {
    font-weight: bold;
}

.sidenav .accordion-heading:hover, 
.sidenav .accordion-heading a:hover, 
.sidenav .accordion-heading:hover a:focus, 
.sidenav .accordion-heading:hover a:active, 
.sidenav .accordion-heading:hover .accordion-toggle {
    background:none !important;
    color: initial;
}

.sidenav .accordion-inner a {
    font-size: 14px;
    color: #002145;
    line-height: 30px;
    text-transform: none;
    font-weight:600;
}

.sidenav .accordion-inner a:hover {
    background: none !important;
    color: #000;
}

.sidenav .accordion-inner a:active {
    font-size: 14px;
    color: #0055B7;
    font-weight:600;
}

.sidenav .accordion-inner a:focus {
    font-size: 14px;
    color: #0055B7;
    font-weight:600;
}

.sidenav .accordion-heading a {
    font-size: 15px;
    font-weight: normal;
    color: #002145;
}

.sidenav .accordion-inner a {
    padding-top: 3px;
    padding-bottom: 3px;
}

.sidenav .accordion-group a {
    font-weight: normal;
}

.sidenav .accordion-group a:hover, 
.sidenav .accordion-group a:active, 
.sidenav .accordion-group a:focus {
    font-weight: bold;
}

.sidenav a.opened {
    font-weight: bold;
}

.sidenav .accordion-group .accordion-heading.subpages-navi-node.opened .link.opened {
    font-weight: bold;
    }

.sidenav .accordion-group .accordion-heading.subpages-navi-node.opened .link {
    font-weight: normal;
    }

.sidenav .accordion-group .accordion-heading.subpages-navi-node.opened .link:hover {
    font-weight: bold;
}

/* table #1 */

.ok-table.table-striped thead {
    background: #e9eef7;
}

.ok-table.table-striped tbody tr:nth-child(odd) td {
    background: none;
}

.ok-table.table-striped tbody tr:nth-child(even) td {
    background-color: rgba(0, 85, 183, .1);
}

.ok-table.table th,
.ok-table.table td {
    padding:12px;
    border-top: none;
}

.ok-table.table td:nth-child(2),
.ok-table.table td:nth-child(3) {
    color: #0f57c9;
}

.ok-table.table  td:first-child { 
    color: #1d1a09;
}

.ok-table.table td:nth-child(2) a,
.ok-table.table td:nth-child(3) a {
    text-decoration:none;
    color:#0f57c9;
}

/* table #2 */

.ok-smtable.table-striped thead {
    background: #0c2244;
    color: #fff;
    text-transform: uppercase;
}

.ok-smtable.table th {
  padding: 8px 8px 8px 20px;
}

.ok-smtable.table-striped tbody tr:nth-child(odd) td {
    background: none;
}
.ok-smtable.table-striped tbody tr:nth-child(even) td,
.ok-smtable.table-striped tbody tr:nth-child(even) th {
    background-color: #eff8fb;
}

.table-striped tbody tr:nth-child(odd) td,
.table-striped tbody tr:nth-child(odd) th {
    background-color: #eff8fb;
}

.ok-smtable.table th,
.ok-smtable.table td {
  border-top: none;
}

.table th,
.table td {
    border-top: 1px solid #eff8fb;
}

.ok-smtable.table-striped [class^="icon-"],
.ok-smtable.table-striped [class*=" icon-"]{
  display:inline;
  font-size: 34px !important;
}

.ok-smtable.table-striped tr td:nth-child(2){
    text-align:right !important;
    padding: 10px 30px 10px 20px;
}

.ok-smtable.table-striped td:first-child { 
    color: #000000;
    text-align:left; 
    vertical-align:middle;
    padding: 0px 20px;
    font-size: 16px;
    font-weight: 500;
}

/* table #2 - s icons */ 

.ok-smtable ul {
    margin-left: 0;
    padding: 0;
    list-style-type: none;
    color: #2895f1;
}

.ok-smtable li {
    cursor: pointer;
    display: inline-block;
    float: none;
    margin-left: 10px;
}

.ok-smtable li a {
    text-decoration:none;
}

/*.ok-smtable li img{width:32px;height:auto;}*/
@media (max-width: 653px) {
  .ok-smtable.table-striped tr td:nth-child(2) {
    padding:10px 10px;
  }
}

.ok-smtable.table-striped thead th{
    padding: 8px 8px 8px 20px;
}

.ok-smtable tbody td a {
    float: right;
    text-align: right;
}

@media (max-width: 922px) {

    .ok-smtable.table-striped tr td:nth-child(2){
        padding: 10px 10px 10px 0px;
    }

    img.ok-social-icon {
    margin: 6px 4px !important;
}

}

/* ==== On page filter ==== */
.searchwrapper input {
    font-size: 20px;
    padding: 13px;
    font-family: "Whitney SSm A","Whitney SSm B","Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    width: 300px;
    border-radius: 8px;
} 

.ok-web-managers-search.searchwrapper input, 
.ok-tab-accordion .searchwrapper input {
    font-size: 18px;
    padding: 13px;
    font-family: "Whitney SSm A","Whitney SSm B","Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    width: 70%;
    border-radius: 8px;
} 

@media (max-width: 767px) {
    .ok-web-managers-search.searchwrapper input, 
    .ok-tab-accordion .searchwrapper input {
        font-size: 18px;
        width: 70%;
    }
}

.ok-on-page-filter-content {
    float: none;
}

.ok-on-page-filter-content .element-item {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    float: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    transform: none !important;
}

.ok-on-page-filter-content {
    height: auto !important;
    margin-bottom: 50px;
}

.ok-on-page-filter-content .group {
    float: left;
    width: 100%;
}

.ok-on-page-filter-content .group ul {
    position: relative;
}

.ok-on-page-filter-content .noresult {
    float: left;
}

.ok-search-wrapper {
    position: relative;
}

.ok-search-wrapper:after {
    font-family: FontAwesome;
    position: absolute;
    top: 3px;
    left: 10px;
    content: "\f002";
    color: #CCC;
    font-size: 24px;
}

.ok-search-wrapper .quicksearch {
    padding: 10px 14px 10px 55px;
    border: 1px solid #a7a7a7;
    border-radius: 8px;
    line-height: 30px;
    font-size: 20px;
    width: 50%;
    color: #808080;
}


/* ======== Flip Cards ========= */
.ok-flip-cards .card {
    display: inline-block;
    margin: 0;
    width: 99%;
    margin: 0.5%;
    float: left;
    /** Reduce perspective give more 3d flip effect, set value between 800 to 3000 **/
    -webkit-perspective: 3000px;
    -moz-perspective: 3000px;
    -ms-perspective: 3000px;
    perspective: 3000px;
    -ms-transform: perspective(3000px);
    -moz-transform: perspective(3000px);
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    margin-bottom: 20px;
}

.ok-flip-cards .card img {
    max-width: none;
    width: 100%;
}

.ok-flip-cards .card-wrapper {
    position: relative;
    padding-bottom: 100%;
    width: 100%;
}

.ok-flip-cards .back {
    background: #002145;
    color: #FFF;
    font-size: 107%;
    line-height: 160%;
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    -o-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
}

.ok-flip-cards .front,
.ok-flip-cards .back {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    position: absolute;
    height: 100%;
    width: 100%;
    transform-style: preserve-3d;
    transition: 0.6s;
}

.ok-flip-cards .back a {
    text-decoration: underline;
}

.ok-flip-cards .back .card-margin {
    margin: 20px;
}

@media screen and (min-width: 768px) {
.ok-flip-cards .back * {
    color: #fff;
    }
}

@media screen and (min-width: 768px) and (max-width: 979px) {
.ok-flip-cards .span4 .back .card-margin {
    margin: 12px;
    }

.ok-flip-cards .span4 .back * {
    font-size: 11px;
    line-height: 1.5;
    }
.ok-flip-cards .span4 .back ul {
    margin-left: 1em;
    }      
}

@media (min-width: 980px) and (max-width: 1200px) {
    .ok-flip-cards .span4 .back * {
        font-size: 14.5px;
    }
}


/*  --- Flip Cards Basic ---  */
.ok-flip-cards-basic .back {
    background: #97d4e9;
    color: #000;
    font-size: 107%;
    line-height: 160%;
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    -o-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
}

.ok-flip-cards-basic .back a {
    text-decoration: underline;
}

.ok-flip-cards-basic .back .card-margin {
    margin: 50px;
}

.ok-flip-cards-basic .image-gradient {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    max-width: 1920px;
    background: #002145;
}
.ok-flip-cards-basic .image-content {
    position: absolute;
    margin: 40px;
    top: 0;
}

/** Flip effects **/
.ok-flip-cards .card:hover .card-wrapper .front {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.ok-flip-cards .card:hover .card-wrapper .back {
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    transform: rotateY(0deg);
}

.ok-flip-cards .image-gradient {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    max-width: 1920px;
    background: none;
    background: -webkit-linear-gradient(transparent,rgba(0,0,0,0.5));
    background: -o-linear-gradient(transparent,rgba(0,0,0,0.5));
    background: -moz-linear-gradient(transparent,rgba(0,0,0,0.5));
    background: linear-gradient(transparent,rgba(0,0,0,0.5));
}

.ok-flip-cards .image-content {
    position: absolute;
    margin: 20px;
    bottom: 0;
}

.ok-flip-cards .image-content span {
    font-size: 860%;
    font-weight: 600;
    color: #FFF;
}

.ok-flip-cards .image-content h3 {
    color: #FFF;
    font-size: 107%;
    letter-spacing: 1px;
    line-height: 173%;
    margin-bottom: 0;
    text-transform: uppercase;
}

@media (min-width: 1200px) {
    .ok-flip-cards .image-content h3 {
        font-size: 170%;
        line-height: 125%;
    }
}

@media (min-width: 768px) {
    ul.slides {
        line-height: inherit;
    }
}

@media (max-width: 767px) {
    .ok-flip-cards .card {
        width: 100%;
        margin: 0 0 1px 0;
    }

    .ok-flip-cards .card-wrapper {
        padding: 0;
    }

    .ok-flip-cards .front,
    .ok-flip-cards .card:hover .card-wrapper .front,
    .ok-flip-cards .back,
    .ok-flip-cards .card:hover .card-wrapper .back,
    .ok-flip-cards .card .image-content {
        position: relative;
        bottom: auto;
        -webkit-transform: none;
        -moz-transform: none;
        -o-transform: none;
        -ms-transform: none;
        transform: none;
        transition: none;
        -webkit-backface-visibility: initial;
        backface-visibility: initial;
    }

    .ok-flip-cards .front {
        background: #002145;
    }

    .ok-flip-cards .front,
    .ok-flip-cards .card:hover .card-wrapper .front,
    .ok-flip-cards .back,
    .ok-flip-cards .card:hover .card-wrapper .back,
    .ok-flip-cards .card .image-content {
        position: relative;
        bottom: auto;
        -webkit-transform: none;
        -moz-transform: none;
        -o-transform: none;
        -ms-transform: none;
        transform: none;
        transition: none;
        -webkit-backface-visibility: initial;
        backface-visibility: initial;
    }

    .ok-flip-cards .back {
        background: #FFF;
        color: #002145;
        border: 1px solid #002145;
        box-sizing: border-box;
        display: none;
    }

    .ok-flip-cards .back .card-margin {
        margin: 0;
        padding: 20px;
    }

    .ok-flip-cards .card .image-gradient {
        display: none;
    }

    .ok-flip-cards .front,
    .ok-flip-cards .card:hover .card-wrapper.front,
    .ok-flip-cards .back,
    .ok-flip-cards .card:hover .card-wrapper .back,
    .ok-flip-cards .card .image-content {
        position: relative;
        bottom: auto;
        -webkit-transform: none;
        -moz-transform: none;
        -o-transform: none;
        -ms-transform: none;
        transform: none;
        transition: none;
        -webkit-backface-visibility: initial;
        backface-visibility: initial;
    }

    .ok-flip-cards .front img {
        display: none;
    }

    .ok-flip-cards .image-content {
        margin: 0;
        padding: 10px 35px 10px 20px;
    }

    .ok-flip-cards .image-content span {
        color: #0680A6;
        padding: 0 5px 0 0;
    }

    .ok-flip-cards .image-content span,
    .ok-flip-cards .image-content h3 {
        font-size: 107%;
        display: inline;
        vertical-align: top;
    }

    .ok-flip-cards .image-content span:after {
        content: ".";
    }

    .ok-flip-cards .image-content h3 {
        margin: 0;
    }

    .ok-flip-cards .image-content span,
    .ok-flip-cards .image-content h3 {
        font-size: 107%;
        display: inline;
        vertical-align: top;
    }

    .ok-flip-cards .card .image-content:after {
        content: "\f107";
        color: #FFF;
        font-family: FontAwesome;
        position: absolute;
        right: 0;
        top: 0;
        border-left: 1px solid #FFF;
        display: block;
        font-size: 150%;
        line-height: 130%;
        padding: 10px;
        height: 100%;
        cursor: pointer;
        vertical-align: middle;
    }

    .ok-flip-cards .card .image-content.open:after {
        content: "\f106";
    }
}

/*  --- Flip Cards Basic ---  */
.ok-flip-cards-basic .back {
    background: #97d4e9;
    color: #000;
    font-size: 107%;
    line-height: 160%;
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    -o-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
}
.ok-flip-cards-basic .back .card-margin {
    margin: 50px;
}

.ok-flip-cards-basic .image-gradient {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    max-width: 1920px;
    background: #002145;
}
.ok-flip-cards-basic .image-content {
    position: absolute;
    margin: 40px;
    top: 0;
}
@media (max-width: 767px) {
    .ok-flip-cards-basic .card {
        width: 100%;
        margin: 0 0 1px 0;
    }

    .ok-flip-cards-basic .card-wrapper {
        padding: 0;
    }

    .ok-flip-cards-basic .front,
    .ok-flip-cards-basic .card:hover .card-wrapper .front,
    .ok-flip-cards-basic .back,
    .ok-flip-cards-basic .card:hover .card-wrapper .back,
    .ok-flip-cards-basic .card .image-content {
        position: relative;
        bottom: auto;
        -webkit-transform: none;
        -moz-transform: none;
        -o-transform: none;
        -ms-transform: none;
        transform: none;
        transition: none;
        -webkit-backface-visibility: initial;
        backface-visibility: initial;
    }

    .ok-flip-cards-basic .front {
        background: #002145;
    }

    .ok-flip-cards-basic .front,
    .ok-flip-cards-basic .card:hover .card-wrapper .front,
    .ok-flip-cards-basic .back,
    .ok-flip-cards-basic .card:hover .card-wrapper .back,
    .ok-flip-cards-basic .card .image-content {
        position: relative;
        bottom: auto;
        -webkit-transform: none;
        -moz-transform: none;
        -o-transform: none;
        -ms-transform: none;
        transform: none;
        transition: none;
        -webkit-backface-visibility: initial;
        backface-visibility: initial;
    }

    .ok-flip-cards-basic .back {
        background: #FFF;
        color: #002145;
        border: 1px solid #002145;
        box-sizing: border-box;
        display: none;
    }

    .ok-flip-cards-basic .back .card-margin {
        margin: 0;
        padding: 20px;
    }

    .ok-flip-cards-basic .card .image-gradient {
        display: none;
    }

    .ok-flip-cards-basic .front,
    .ok-flip-cards-basic .card:hover .card-wrapper.front,
    .ok-flip-cards-basic .back,
    .ok-flip-cards-basic .card:hover .card-wrapper .back,
    .ok-flip-cards-basic .card .image-content {
        position: relative;
        bottom: auto;
        -webkit-transform: none;
        -moz-transform: none;
        -o-transform: none;
        -ms-transform: none;
        transform: none;
        transition: none;
        -webkit-backface-visibility: initial;
        backface-visibility: initial;
    }

    .ok-flip-cards-basic .front img {
        display: none;
    }

    .ok-flip-cards-basic .image-content {
        margin: 0;
        padding: 10px 35px 10px 20px;
    }

    .ok-flip-cards-basic .image-content span {
        color: #0680A6;
        padding: 0 5px 0 0;
    }

    .ok-flip-cards-basic .image-content span,
    .ok-flip-cards-basic .image-content h3 {
        font-size: 107%;
        display: inline;
        vertical-align: top;
    }

    .ok-flip-cards-basic .image-content span:after {
        content: ".";
    }

    .ok-flip-cards-basic .image-content h3 {
        margin: 0;
    }

    .ok-flip-cards-basic .image-content span,
    .ok-flip-cards-basic .image-content h3 {
        font-size: 107%;
        display: inline;
        vertical-align: top;
    }

    .ok-flip-cards-basic .card .image-content:after {
        content: "\f107";
        color: #FFF;
        font-family: FontAwesome;
        position: absolute;
        right: 0;
        top: 0;
        border-left: 1px solid #FFF;
        display: block;
        font-size: 150%;
        line-height: 130%;
        padding: 10px;
        height: 100%;
        cursor: pointer;
        vertical-align: middle;
    }

    .ok-flip-cards-basic .card .image-content.open:after {
        content: "\f106";
    }
}

/* Animated Infographics */

#ok-animated-infographics {
    margin-top: 80px;   
}

#ok-animated-infographics .ai-item img {
    float: left;
    padding-right: 35px;
    margin-top: -10px;
}

#ok-animated-infographics .ai-item {
    margin-bottom: 60px;
}

#ok-animated-infographics .ai-counter {
    font-size: 65px;
    font-weight: 600;
    color: #0055b7;
    letter-spacing: 0px;
    float: left;
    width: 20%;
}


#ok-animated-infographics .text {
    font-size: 20px;
    color: #0055b7;
    font-weight: 600;
    letter-spacing: 0px;
    float: left;
    width: 45%;
    padding-left: 17px;
}

#ok-animated-infographics #ai-item1 img {
    width: 14.6%;
    padding-right: 8.3%;
}

#ok-animated-infographics #ai-item1 .ai-counter {
    width: 14.7%;
}

#ok-animated-infographics #ai-item1 .text {
    width: 57.6%;
    padding-left: 4.8%;
}


#ok-animated-infographics #ai-item2 img {
    width: 17.9%;
    padding-right: 6.4%;
}

#ok-animated-infographics #ai-item2 .ai-counter {
    width: 12.8%;
}

#ok-animated-infographics #ai-item2 .text {
    width: 57.4%;
    padding-left: 5.5%;
}



#ok-animated-infographics #ai-item3 img {
    width: 10.6%;
    padding-right: 6.2%;
}

#ok-animated-infographics #ai-item3 .ai-counter {
    width: 15%;
}

#ok-animated-infographics #ai-item3 .text {
    width: 62.2%;
    padding-left: 6%;
}


#ok-animated-infographics #ai-item4 img {
    width: 11.5%;
    padding-right: 6.2%;
    margin-top: -34px;
}

#ok-animated-infographics #ai-item4 .ai-counter {
    width: 31.6%;
}

#ok-animated-infographics #ai-item4 .text {
    width: 47.7%;
    padding-left: 3%;
}



@media (max-width: 1200px) {
    #ok-animated-infographics .ai-counter {
        font-size: 42px;
    }

    #ok-animated-infographics .text {
        font-size: 16px;
        font-weight: 600;
    }
    
    #ok-animated-infographics #ai-item4 .ai-counter {
        width: 31%;
    }
    
    #ok-animated-infographics #ai-item1 img {
        margin-top: 0px;
    }
    
    #ok-animated-infographics #ai-item2 img {
        margin-top: -5px;
    }
    
    #ok-animated-infographics #ai-item3 img {
        margin-top: 0px;
    }
    
    #ok-animated-infographics #ai-item4 img {
        margin-top: -20px;
    }
}

@media (max-width: 767px) {
    #ok-animated-infographics {
        margin-top: 40px;
    }

    #ok-animated-infographics .ai-item {
        margin-bottom: 0px;
        display: block;
        height: 100px;
    }
    
    #ok-animated-infographics .ai-item > * {
        position: relative;
        top: 50%;
        transform: translateY(-50%);
        float: left;
    }
    
    #ok-animated-infographics #ai-item1 img,
    #ok-animated-infographics #ai-item2 img,
    #ok-animated-infographics #ai-item3 img,
    #ok-animated-infographics #ai-item4 img {
        width: 15%;
        padding-right: 5%;
        margin-top: 0;
        padding-bottom: 0;
    }
     
    #ok-animated-infographics #ai-item1 .ai-counter,
    #ok-animated-infographics #ai-item2 .ai-counter,
    #ok-animated-infographics #ai-item3 .ai-counter,
    #ok-animated-infographics #ai-item4 .ai-counter {
        width: 20%;
        font-size: 35px;
    }
    
    #ok-animated-infographics #ai-item1 .text,
    #ok-animated-infographics #ai-item2 .text,
    #ok-animated-infographics #ai-item3 .text,
    #ok-animated-infographics #ai-item4 .text {
        width: 60%;
        float: right;
        padding-left: 0;
    }
      
    
    #ok-animated-infographics #ai-item4 .text {
        width: 45%;
    }
}

@media (max-width: 979px) and (min-width: 768px) {
    #ok-animated-infographics #ai-item2,
    #ok-animated-infographics #ai-item4 {
        margin-bottom: 0;
    }

    #ok-animated-infographics .ai-counter {
        font-size: 38px;
    }

    #ok-animated-infographics #counter1 {
        margin-top: 10px;
    }

    #ok-animated-infographics #counter3 {
        margin-top: 15px;
    }

    #ok-animated-infographics #counter4 {
        margin-top: 5px;
    }

    #ok-animated-infographics #ai-item2 {
        margin-top: 10px;
    }
}

/* ANIMATED INFOGRAPHICS SAFARI FIX */

@media (min-width: 979px) {
    #ok-animated-infographics .ai-counter {
        line-height: 65px;
        margin-top:-20px;
    }
}


/*== style for social icon pngs - removing margin ==*/ 

img.ok-social-icon {
    padding-bottom: 0px;
    margin: 6px 10px;}
    
img.dvc-twitter-icon{
    padding-bottom: 0px;
    margin: 8px 0px;}
    
img.ubcv-social-icons {
    margin: 0 5px;
    vertical-align: middle;
    padding-bottom: 5px;
}

/*== header feature section for home page and landing page ==*/
.ok-feature-section {
    position: relative;
    overflow: hidden;
}

.ok-feature-section.nopadding {
    padding: 0;
}

.ok-feature-section .ok-feature-background-media {
    pointer-events: none;
}

.ok-feature-section .ok-feature-background-media video,
.ok-feature-section .ok-feature-background-media img {
    width: 100%;
}

.ok-feature-section .ok-feature-overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.ok-feature-section .ok-feature-overlay-content::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: none;
    opacity: 0.8;
}

.ok-feature-section .ok-feature-overlay-content.ok-gradient-black::before {
    background: -webkit-linear-gradient(transparent 70%, #000 100%);
    background: -o-linear-gradient(transparent 70%, #000 100%);
    background: -moz-linear-gradient(transparent 70%, #000 100%);
    background: linear-gradient(transparent 70%, #000 100%);
}

.ok-feature-section .ok-feature-overlay-content.ok-gradient-blue::before {
    background: -webkit-linear-gradient(transparent 70%, #002145 100%);
    background: -o-linear-gradient(transparent 70%, #002145 100%);
    background: -moz-linear-gradient(transparent 70%, #002145 100%);
    background: linear-gradient(transparent 70%, #002145 100%);
}

.ok-feature-content h1 {
    text-transform: none;
}

.ok-feature-section .ok-feature-content {
    position: absolute;
    bottom: 5%;
    width: 100%
}
.ok-feature-section .ok-feature-content.top {
    top: 5%;
}
.ok-feature-section .ok-feature-content.mid {
    top: 35%;
}
.ok-feature-section .ok-feature-content.btm {
    bottom: 5%;
}

.ok-feature-section .ok-feature-content.top h1,
.ok-feature-section .ok-feature-content.top p,
.ok-feature-section .ok-feature-content.mid h1,
.ok-feature-section .ok-feature-content.mid p,
.ok-feature-section .ok-feature-content.btm h1,
.ok-feature-section .ok-feature-content.btm p {
    display: inline-block;
    background-color: #14203c;
}

.ok-feature-section .ok-feature-content .msg p{
    padding: 2px 10px;
    display: inline;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.ok-feature-section .ok-feature-content .container {
    padding: 20px;
}

.ok-feature-section .ok-feature-content h1,
.ok-feature-section .ok-feature-content p {
    color: #fff;
    /*text-shadow: 1px 1px 1px #888;*/
}                       

.ok-feature-section .ok-feature-content h1 {
    font-size: 65px;
    font-weight: 600;
}

.ok-feature-section .ok-feature-content.mid .container > a,
.ok-feature-section .ok-feature-content.top .container > a,
.ok-feature-section .ok-feature-content.btm .container > a {
    display: inline-block;
    line-height: 48px;
    width: 100%;
}

.ok-feature-section .ok-feature-content.mid .container a:hover,
.ok-feature-section .ok-feature-content.top .container a:hover,
.ok-feature-section .ok-feature-content.btm .container a:hover {
    text-decoration: none;
}

.ok-feature-section .ok-feature-content h1.large,
.ok-feature-section .ok-feature-content h1.medium,
.ok-feature-section .ok-feature-content h1.small {
    padding: 0 10px;
    display: inline;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.ok-feature-section .ok-feature-content h1.large {
    font-size: 40px;
}

.ok-feature-section .ok-feature-content h1.medium {
    font-size: 32px;
}

.ok-feature-section .ok-feature-content h1.small {
    font-size: 26px;
}

.ok-feature-section .ok-feature-content p {
    font-size: 22px;
}

.ok-feature-section-mobile {
    background-color: #14203c;
}

.ok-feature-overlay-content .ok-feature-content .container a {
    width: 100%;
}

.ok-feature-overlay-content .ok-feature-content .container .ok-video-content-link .btn {
    width: auto;
}

.ok-feature-section .msg,
.ok-feature-section .msg a,
.ok-feature-section-mobile .msg,
.ok-feature-section-mobile .msg a {
    color: white;
}

.ok-feature-section .msg {
    margin-top: 10px;
    margin-bottom: 15px;
}

.ok-feature-section-mobile .msg {
    padding: 20px 10px;
}

.page-template-home .breadcrumb {
    display: none;
}

@media (min-width: 1200px) {
    .ok-feature-section .ok-feature-content h1 {
        font-size: 85px;
    }
    .ok-feature-section .ok-feature-content p {
        font-size: 24px;
    }

    .ok-feature-section .ok-feature-content h1.large {
        font-size: 50px;
    }

    .ok-feature-section .ok-feature-content h1.medium {
        font-size: 40px;
    }

    .ok-feature-section .ok-feature-content h1.small {
        font-size: 30px;
    }

    .ok-feature-section .ok-feature-content .large p {
        font-size: 18px;
    }
    .ok-feature-section .ok-feature-content .medium p {
        font-size: 16px;
    }
    .ok-feature-section .ok-feature-content .small p {
        font-size: 15px;
    }
}

@media (max-width: 979px) {
    .ok-feature-section .ok-feature-content h1 {
        font-size: 55px;
    }
    .ok-feature-section .ok-feature-content p {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .ok-feature-section .ok-video-content-link a {
        font-size: 1em;
        padding: 8px 30px 8px 16px;
    }
}

@media (max-width: 479px) {
    .ok-feature-section .ok-feature-content h1 {
        font-size: 30px;
    }
    .ok-feature-section .ok-feature-content p {
        font-size: 12px;
    }
    .ok-feature-section .ok-feature-content .container {
        padding: 0 20px;
    }
}

.ok-feature-section .ok-feature-content > .ok-video-content-link {
    text-align: center;
    margin-bottom: 10%;
}

.ok-feature-section .ok-feature-arrow {
    position: absolute;
    left: 0;
    bottom: 0;
    color: #fff;
    width: 100%;
    text-align: center;
    font-size: 300%;
    margin-bottom: 10px;
    -webkit-animation: bounce 1s infinite alternate;
    animation: bounce 1s infinite alternate;
}

/* Homepage Feature Overlay */
.home .ok-feature-overlay-content p{
    font-size: 40px;
    line-height: 1;
    margin-bottom: 20px;
    margin-top: 0;
    font-weight: bold;
    text-transform: uppercase;
    }
.home .ok-feature-overlay-content h1 {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    }
    
@media (min-width: 414px) and (max-width: 767px) {
    .home .ok-feature-overlay-content p{
        font-size: 65px;
    }
    
    .home .ok-feature-overlay-content h1 {
        font-size: 20px;
    }
}

@media (min-width: 768px) {
    .home .ok-feature-overlay-content p{
        font-size: 80px;
    }
    
    .home .ok-feature-overlay-content h1 {
        font-size: 24px;
    }
}


@media (min-width: 1025px) {
.home .ok-feature-overlay-content p{
    font-size: 120px;
    }
.home .ok-feature-overlay-content h1 {
    font-size: 37px;
    }
}

/* animation helper - bounce and fade*/
@-webkit-keyframes bounce {
    0% {
        bottom: 5px;
    }
    100% {
        bottom: 20px;
    }
}

@keyframes bounce {
    0% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

.delay p, .delay a {
    opacity: 0
}

.delay p.fade, .delay a.fade {
    animation: fade 1s linear;
    -webkit-animation: fade 1s linear;
    opacity: 0.6;
}

.delay a.fade {
    opacity: 1;
}

.delay p.fade:last-child {
    animation: none;
    -webkit-animation: none;
    transition: opacity 0.8s linear;
    -webkit-transition: opacity 0.8s linear;
    opacity: 1;
}

@-webkit-keyframes fade {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0.6;
    }
}

@keyframes fade {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0.6;
    }
}

/* ====== Community Engagement =======*/
.arts-offcampus hr {
    clear: both;
}

@media (max-width: 979px) and (min-width: 768px) {
    .arts-offcampus img {
        width: 100%;
    }
}

/* ====== Degrees-and-programs =======*/
@media (max-width: 425px) {
    .singular-page-2620 .ok-tab-accordion .content {
        padding: 0;
    }

    .singular-page-2620 .ok-tab-accordion .content > p,
    .singular-page-2620 .ok-tab-accordion .content .why-section {
        padding: 15px;
    }
}


/* RESPONSIVE VIDEO SHORTCODE CLASSES */

/* Makes the video shortcode responsive */
.wp-video, .mejs-container, video.wp-video-shortcode,  .mejs-overlay.load {
    width: 100% !important;
    height: 100% !important;
}

.mejs-container {
    padding-top: 56.25%;
}
.wp-video, video.wp-video-shortcode {
    max-width: 120% !important;
}
video.wp-video-shortcode {
    position: relative;
}
.mejs-mediaelement {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

@media (max-width: 768px) {
    .ok-oinubc-page section.breakout .breakoutcontent .container .ok-wysiwyg-wrapper .mejs-mediaelement {
        height: 100%;
        width: 100%;
        z-index: 100;
        margin: -10px -10% 0 0;
        }
    }

.mejs-controls {
    display: none;
}
.mejs-overlay-play {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto !important;
    height: auto !important;
}
 
/* Hide Video Shortcode Controls */
.wp-video .mejs-container .mejs-controls {
    visibility: hidden;
}

/* ====== O IN UBC / OKANAGAN STORIES  =======*/

.page-template-oinubc-landing .ok-video-playbtn area {
    padding-left: 55px;
    padding-right: 60px;
    font-size: 18px;
    }
@media (max-width: 767px) {
    .page-template-oinubc-landing .ok-video-playbtn a {
        font-size: 10px;
    }
}

.page-template-oinubc-landing .ok-video-playbtn .ok-btn-reversed {
    padding-left: 55px;
    padding-right: 60px;
    font-size: 18px;
    }
    
@media (max-width: 576px) {
    .page-template-oinubc-landing .ok-video-playbtn .ok-btn-reversed {
    padding-left: 35px;
    padding-right: 40px;
    font-size: 14px;
    }
}

.page-template-oinubc-landing .ok-video-header .ok-video-control p{
    color: #fff;
    font-weight: normal;
}

@media (max-width: 767px) {
    .page-template-oinubc-landing .ok-video-header .ok-video-control p{
       margin-bottom: 5px;
       }
   }

.page-template-oinubc-landing .ok-text-carousel li a {
    color: initial;
    }

.page-template-oinubc-landing .ok-text-carousel .box {
    background-color: #eff8fb;
    min-height: 168px;
    }

@media (min-width: 576px) and (max-width: 768px) {
    .page-template-oinubc-landing .ok-text-carousel .box {
        height: initial;
        min-height: 220px;
    }
}
.page-template-oinubc-landing .ok-text-carousel .box h4 {
    color: #0055a7;
    }

@media (min-width: 576px) and (max-width: 768px) {
    .page-template-oinubc-landing .ok-text-carousel .box h4 {
        font-size: 15px;
        margin-top:0;
    }
}

.page-template-oinubc-landing .ok-text-carousel .box p  {
    color: #002145;
    }

@media (min-width: 576px) and (max-width: 768px) {
    .page-template-oinubc-landing .ok-text-carousel .box p  {
        font-size: 12px;
    }
}
.page-template-oinubc-landing .ok-text-carousel .box:hover, 
.page-template-oinubc-landing .ok-text-carousel .box:focus, 
.page-template-oinubc-landing .ok-text-carousel .box:active {
    background-color: #0055a71a;
    }

.ok-oinubc-page section.breakout .breakoutcontent .container > .ok-wysiwyg-wrapper ~ .row-fluid [class*="span"], 
.ok-oinubc-page section.ok-lead {
    padding-left: 5%;
    padding-right: 5%;
    }
.ok-oinubc-page section.breakout .breakoutcontent .container > [class$="-wrapper"], 
.ok-oinubc-page section.ok-lead {
    padding-left: 5%;
    padding-right: 5%;
}

@media (min-width: 768px) {
    .ok-oinubc-page section.breakout .breakoutcontent .container > [class$="-wrapper"], 
    .ok-oinubc-page section.ok-lead {
        padding-left: 10%;
        padding-right: 10%;
    }
}

.ok-oinubc-page section.breakout .breakoutcontent .container .row-fluid [class*="span"] {
    padding-left: 0;
    padding-right: 0;
}

@media (min-width: 768px) {
    .ok-oinubc-page section.breakout .breakoutcontent .container .row-fluid > .span3:nth-of-type(2) {
        width: 13% ;
    }
    .ok-oinubc-page section.breakout .breakoutcontent .container .row-fluid > .span3:nth-of-type(3) {
        width: 13% ;
    }
    .ok-oinubc-page section.breakout .breakoutcontent .container .row-fluid > [class*="span"]:first-of-type {
        padding-left: 10%;
    }
    .ok-oinubc-page section.breakout .breakoutcontent .container .row-fluid > [class*="span"]:last-of-type {
        padding-right: 10%;
    }
}

@media (min-width: 768px) {
    .ok-oinubc-page section.breakout .breakoutcontent .container .row-fluid.ok-btn-bar > [class*="span"]:first-of-type {
        padding-left: inherit;
    }
    .ok-oinubc-page section.breakout .breakoutcontent .container .row-fluid.ok-btn-bar > [class*="span"]:nth-of-type(2) {
        padding-left: initial;
    }
    .ok-oinubc-page section.breakout .breakoutcontent .container .row-fluid.ok-btn-bar > [class*="span"]:nth-last-of-type(2) {
        padding-right: initial;
    }
    .ok-oinubc-page section.breakout .breakoutcontent .container .row-fluid.ok-btn-bar > [class*="span"]:last-of-type {
        padding-right: inherit;
    }
}

.ok-oinubc-page section.breakout.image {
    text-align: center;
}

.ok-oinubc-page section.breakout.image::after {
    background-image: none;
}

.ok-oinubc-page section.breakout.image img {
    max-width: 1170px;
}

/* Breaks out an embedded video from the container */
.ok-oinubc-page section.breakout.inherit.image .breakoutcontent .container .ok-wysiwyg-wrapper .responsive-media {
    position: relative;
    padding-bottom: 69.25%;
    height: 0;
    overflow: hidden;
    margin: 0px -12%;
}

.ok-oinubc-page h1  {
    font-weight: 600;
    color: #0055b7;
}

@media (max-width: 479px) {
    .ok-oinubc-page h1 {
        font-size: 30px;
    }
}

@media (max-width: 979px) {
    .ok-oinubc-page h1 {
        font-size: 55px;
    }
}

@media (min-width: 768px) {
    .ok-oninubc-page h1 {
        font-size: 65px;
    }
}

@media (min-width: 1200px) {
    .ok-oinubc-page h1  {
    font-size: 85px;
    }
}

/* Makes the video shortcode responsive */
.ok-oinubc-page section.breakout.inherit.image .breakoutcontent .container .ok-wysiwyg-wrapper .wp-video, 
.ok-oinubc-page section.breakout.inherit.image .breakoutcontent .container .ok-wysiwyg-wrapper .mejs-container, 
.ok-oinubc-page section.breakout.inherit.image .breakoutcontent .container .ok-wysiwyg-wrapper video.wp-video-shortcode, 
.ok-oinubc-page section.breakout.inherit.image .breakoutcontent .container .ok-wysiwyg-wrapper .mejs-overlay.load {
    width: 112% !important;
    height: 112% !important;
    margin: 0 0 50px -4%;
}

/* Centre embedded tweets by default */
.twitter-tweet {
    margin:0 auto;
}

/* Invisible Skip Link classes for screen readers */

a.skip-link {
    font-weight: bold;
    color: black;
    padding: 8px 0;
    background-color: yellow;
    display: block;
    box-sizing: border-box;
    text-align: center;
    font-size: 16px;
    outline: 0;
}

a.skip-link:hover {
    background-color: #fffacd;
}

a.skip-link:focus {
    position:static;
    width:auto;
    height:auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
} 

/* Utility Classes for Screen Readers. Copied from Bootstrap 4.3 */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only-focusable:active, .sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* OK Carousel CTA */


.ok-carousel-cta .slides li {
    position: relative;
}

.ok-carousel-cta .flex-direction-nav a:before {
    color: #6EC4E8;
    font-size: 65px;
}

.ok-carousel-cta .flex-viewport li {
    position:relative;
}

.ok-carousel-cta .flex-control-nav {
    margin-bottom:0;
    margin-top:30px;
    position: static;
}

.ok-carousel-cta .flex-control-nav li a {
    background-color: #0055B7;
    border: 2px solid #FFF;
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

.ok-carousel-cta .flex-control-nav li a.flex-active {
    background-color: #6EC4E8;
}

.ok-carousel-cta .flex-direction-nav .flex-next {
    right: 0 !important;
    margin-right: -70px;
    opacity: 1 !important;
}

.ok-carousel-cta .flex-direction-nav .flex-prev {
    left: 0 !important;
    opacity: 1 !important;
    margin-left: -70px;
}

.ok-carousel-cta .title {
    margin-bottom: 50px;
    word-wrap: break-word;
}

@media (max-width: 979px) {
    .ok-carousel-cta .flex-direction-nav .flex-next,
    .ok-carousel-cta .flex-direction-nav .flex-prev {
        display: none;
    }
    .ok-carousel-cta .content {
        padding: 0 15px;
    }
}

.flexslider.ok-carousel-cta { 
    border: none;
    min-height: 400px; 
    margin-bottom: 0;
    background: none;
    }
.ok-carousel-cta .flex-direction-nav a:before { 
    font-family: "FontAwesome";
    display: inline-block;
    content: '\f053'; 
    }
.ok-carousel-cta .flex-direction-nav a.flex-next:before { 
    content: '\f054'; 
}

.ok-carousel-cta ul {
    line-height: 1.57;
}
.ok-carousel-cta .flex-direction-nav a {
    width: 46px;
    height: 96px;
}

.ok-carousel-cta h2.title:empty{
    display: none;
}


/* Showcase component */
.ok-showcases-wrapper .ok-showcase h4 {
    color: #0055b7;
}

.ok-showcases-wrapper .ok-showcase a:hover {
    text-decoration: none;
}

.ok-showcase h3 {
    color: #0055b7;
}

.ok-showcase {
    padding: 15px 0;
}

.top-ranked {
    margin-top: 20px;
}

.top-ranked:nth-of-type(2) {
    margin-top: 0;
}

.top-ranked img {
    margin-top: 0;
}

.top-ranked .span6 {
    height: 130px;
}

.top-ranked a {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .top-ranked .span6 {
        height: 130px;
    }
}

.v-align-center {
    display: flex;
    align-items: center;
}

.row-fluid div.m-span3 {
    width: 23.404255319148934%;
}

.row-fluid div.m-span9 {
    width: 74.46808510638297%;
    margin-left: 20px;
}

/* Fit tables to any size of platforms */
@media (max-width: 979px) {
    #body-container .hfeed section.breakout .container table {
        height: auto !important;
    }
}