html, body {
  overflow-x: visible;
}

#container {
    overflow-x: hidden;
}


/* Put primary & secondary sidebar after content om mobile*/
@media only screen and (max-width: 768px){
#container .container.row-fluid {
    display: flex;
    flex-direction: column-reverse;
}

#content {
    order: 10
}
    
}

/* Adjust padding for menu on desktop */
#menu-top-nav a.btn
{
    padding-left: 10px;
}

/* TEMP - Override border radius for images from camps CSS */
img.wp-post-image {
    border-radius: 0px !important;
}

/* Styling to hide blank images generated from custom fields for Facebook & Instagram */

img[src=\"\"] {
    display: none;
}

/* End styling for hide blank images generated from custom fields for Facebook & Instagram*/

/* Styling for primary widget facility content*/
.primary_widget_facility
{
    font-size:12px;
    line-height:16px;
    padding-left:18px;
}

/* End styling for primary widget facility content*/

/* Styling for split dropdown menus*/
#ubc7-unit-menu .dropdown .dropdown-menu .nav-header:hover, #ubc7-unit-alternate-navigation .dropdown .dropdown-menu .nav-header:hover
{
    color:white;
    }

/* End styling for split dropdown menus*/

ul#menu-top-nav {
    font-size:11px;
}

.btn-group>.btn, .btn-group>.dropdown-menu, .btn-group>.popover {
    font-size:11px !important;
}

#dept-brand {
background:#2f5d7c;
max-height:144px;
position:relative;
}

ul.flex-direction-nav {
  margin-bottom:0px;
}

.row-fluid [class*=\"span\"] {
  min-height:0px;
}

.reg_subtext {
    font-size:10px; 
    font-style:italic; 
    line-height:10px;
}

.reg_button {
background-attachment: scroll;
background-clip: border-box;
background-color: rgb(0, 33, 69);
background-image: none;
background-origin: padding-box;
background-size: auto;
border-bottom-color: rgba(0, 0, 0, 0);
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
border-bottom-style: solid;
border-bottom-width: 1px;
border-left-color: rgb(0, 33, 69);
border-left-style: solid;
border-left-width: 1px;
border-right-color: rgb(0, 33, 69);
border-right-style: solid;
border-right-width: 1px;
border-top-color: rgb(0, 33, 69);
border-top-left-radius: 0px;
border-top-right-radius: 0px;
border-top-style: solid;
border-top-width: 1px;
color: rgb(255, 255, 255);
cursor: default;
display: block;
font-family: Arial, sans-serif;
font-size: 14px;
line-height: 20px;
list-style-image: none;
list-style-position: outside;
list-style-type: none;
margin-bottom: 2px;
outline-color: rgb(255, 255, 255);
outline-style: none;
outline-width: 0px;
padding-bottom: 8px;
padding-left: 12px;
padding-right: 12px;
padding-top: 8px;
text-align: left;
text-decoration: none;
text-shadow: none;
}

.obj-wrapper {
    position:relative;
    width:100%;
    padding-bottom:100%;
    height:0;
  }

.price
{
border-collapse:collapse;
border:1px solid black;
text-align:center;
vertical-align:middle;
padding: 5px;
}


.course
{
border-collapse:collapse;
border: 1px solid black;
vertical-align:middle;
}

table.course
{
    width: 100%;
}

th.course
{
font: bold;
text-align: left;
-moz-border-radius: 0px;
border-radius: 0px;
}

td.course
{
text-align: center;
}

img.test {
    width: 100%;
    height: auto;
}

.attachment-post-thumbnail {
    border: 5px solid #f3f3f3;
    float: left;
    margin: 10px;
}

.thumbnail {
    border:5px solid #f3f3f3;
    float: left;
    margin: 10px;
}


    
    /* Responsive iFrame */
 
.responsive-iframe-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
 
.responsive-iframe-container iframe,   
.vresponsive-iframe-container object,  
.vresponsive-iframe-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*Program table styling*/

table.programtable {
    border:0;
    padding:0;
    border-spacing:0;
    width:100%;
    margin-bottom:15px;
    overflow-x:auto;
    display:block;
    }

.programtable tr td {
    font-size: 11px !important;
    line-height: 1;
    border: none;
    margin: 0;
    padding: 10px;
	border-bottom: 1px solid #e3e3e3;
	border-top: 1px solid #fff;
	background-color: #f9f9f9;
	text-align: center;
    word-wrap: break-word;
    width: 10%;
}

.programtable thead td, .programtable thead td p, .programtable thead th {
	font-size: 11px !important;
	background: #002145;
	color: #fff;
	font-weight: bold;
	padding: 8px 11px;
	text-align: center;
	line-height: 1;
	margin: 0;
	font-size: 12px;
	vertical-align: middle;
}

/*End of program table styling*/

/*Looking for a match table styling*/

table.matchtable {
    border:0;
    padding:0;
    margin:20px 0;
    border-spacing:0;
    width:100%;
    table-layout:fixed;
    max-width:1500px;
    }
    

.matchtable tr td{
    font-size: 12px !important;
    line-height: 1.5;
    border: none;
    margin: 0;
	padding: 10px;
	border-bottom: 1px solid #e3e3e3;
	border-top: 1px solid #fff;
	background-color: #f9f9f9;
	text-align: center;
}

.matchtable thead td, .matchtable thead td p, .matchtable thead th{
	font-size: 12px !important;
	background: #CCC;
	color: #fff;
	font-weight: bold;
	padding: 8px 11px;
	text-align: center;
	line-height: 1;
	margin: 0;
	font-size: 13px;
	vertical-align: middle;
	align: center;
}

th {
    background: #CCC
}


/* Styling Recreation Icon Set*/
.icons
{
  display:block; 
  width:50%; 
  margin:auto;
  max-width: 75px;

}

.icons-inline
{
  display:block; 
  width:100%; 
  margin:auto;
  max-width: 60px;
  padding-right: 10px;
  float: left
}

/* Styling to fit schedules in sidebar or primary widget area */

.side-schedule td {
  border-top: 0;
  padding-top: 0;
  padding-bottom: 2px;
  padding-left:0;
}

/* Styling wrapper for responsive iframes */


.resp-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}

/* Styling for responsive iframes */
.resp-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}



/* This is for the padding of buttons on the top-nav menu */

@media screen and (min-width: 1200px) {
#ubc7-unit-menu .nav>li>a {
    padding: 10px 12px 11px;
}
}

/* This is for the UBC Rec Login button on the top-nav menu */

.ubc-rec-login>div>a, .ubc-rec-login, .ubc-rec-login>div>button {
    background-color:#00A7E1 !important;
    /*background-position: center center !important;*/
    color:white !important;
    /*display:block;*/
}

.ubc-rec-login>div>button>span.blue {
    background-position: -1178px -227px;
}

.ubc-rec-login>div>ul>li {
    background-color: white;
}

.reg-dropdown a {
 background-color: rgb(255, 255, 255) !important;
 color: rgb(0, 33, 69) !important;
}

#ubc7-unit-menu .nav-collapse .nav>li>a:hover, #ubc7-unit-menu .nav-collapse .dropdown-menu a:hover, #ubc7-unit-alternate-navigation .nav-collapse .nav>li>a:hover, #ubc7-unit-alternate-navigation .nav-collapse .dropdown-menu a:hover {
    background: #002145!important;
    color: #fff;
    filter: none;
}

/* Perfectmind Preloader Bar */
#pmlist-container {
    width:150px;
    text-align:center;
	margin:auto;
    margin-top:35px;
}
.pmlist div{
     height:20px;
     width:4px;
     display:inline-block;
     background-color: #e6e6e6;
     border:1px solid #072143;
     margin-right: 1px;
     -webkit-animation:pmlist_loader 1.3s linear infinite;
     -moz-animation:pmlist_loader 1.3s linear infinite;
     animation:pmlist_loader 1.3s linear infinite;
     -webkit-transform:scale(0.81);
     -moz-transform:scale(0.81);
     transform:scale(0.81);
}

.pmlist div:nth-child(1){
     -webkit-animation-delay:0.39s;
     -moz-animation-delay:0.39s;
     animation-delay:0.39s;
}
.pmlist div:nth-child(2){
     -webkit-animation-delay:0.52s;
     -moz-animation-delay:0.52s;
     animation-delay:0.52s;
}
.pmlist div:nth-child(3){
     -webkit-animation-delay:0.65s;
     -moz-animation-delay:0.65s;
     animation-delay:0.65s;
}

@-webkit-keyframes pmlist_loader{
     0%{
          -webkit-transform:scale(1.2);
          opacity:1
     }
     100%{
          -webkit-transform:scale(0.7);
          opacity:0.1
     }
}
@-moz-keyframes pmlist_loader{
     0%{
          -moz-transform:scale(1.2);
          opacity:1
     }
     100%{
          -moz-transform:scale(0.7);
          opacity:0.1
     }
}
@keyframes pmlist_loader{
     0%{
          transform:scale(1.2);
          opacity:1
     }
     100%{
          transform:scale(0.7);
          opacity:0.1
     }
}
.pmlist-title {
	font-weight:normal;
	margin-right:0px;
	float:left;
	color: #808080;
}
.pmlist-title:before {
	content: \"Fetching Programs\";
}

/*accordion icon
.accordion-toggle:before {
    content: \"+          \";
    font-weight: bold;
    font-size: large;
} */

/*Revert alert h4 to UBC Blue*/

.alert h4 {
    color:#002145;
}

/*Update font to Whitney*/
body {
    font-family: \"Whitney SSm A\", \"Whitney SSm B\", Arial, sans-serif;
}

/*Preserve Flexslider CSS*/

.carousel-caption a{
    color: #FFFFFF;
    font-weight: 700;
}
/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: \".\"; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
.flexslider {margin: 0 0 60px; background: #fff; position: relative; zoom: 1;}
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1;}

.carousel li {margin-right: 5px}

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: -40px; text-align: center;}
.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(0,0,0,0.3);}
.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}

/* FlexSlider Blank Sliding Theme
*********************************/
.blank_spotlight .flex-direction-nav, 
.blank_spotlight .carousel-caption,
.blank_spotlight .flex-pauseplay,
.blank_spotlight .flex-counter,
.transparent .flex-counter,
.basic-sliding .flex-counter{
    display:none;
}
.transparent .flex-direction-nav{
 border-left: none;   
}
.transparent .carousel-caption h4, 
.transparent .carousel-caption p, 
.transparent .ubc-carousel .carousel-caption h4, 
.transparent .ubc-carousel .carousel-caption p,
.basic-sliding .carousel-caption h4,
.basic-sliding .carousel-caption p {
    margin-right: 0px;
}
.transparent a{
    text-decoration: none;
}

.expanded-slider{
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: 15px;
}

.transparent .carousel-caption{
    color: #FFFFFF;
    max-width: 350px;
    position: absolute;
    height: 140px;
    left: auto;
    text-align: right;
    top: 40px;
    z-index: 21;
    padding: 10px;
    background-color: #111;
    filter: alpha(opacity=80);
    -moz-opacity: 0.8;
    -khtml-opacity: 0.8;
    opacity: 0.8;
}

/* Direction Nav for Basic Sliding */
.basic-sliding .flex-direction-nav a {width: 30px; height: 30px; margin: -20px 0 0; display: block; background: url(../../img/bg_direction_nav.png) no-repeat 0 0; position: absolute; top: 50%; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all .3s ease;}
.basic-sliding .flex-direction-nav .flex-next {background-position: 100% 0; right: -36px; }
.basic-sliding .flex-direction-nav .flex-prev {left: -36px;}
.basic-sliding .flexslider:hover .flex-next {opacity: 0.8; right: 5px;}
.basic-sliding .flexslider:hover .flex-prev {opacity: 0.8; left: 5px;}
.basic-sliding .flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {opacity: 1;}
.basic-sliding .flex-direction-nav .disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}

.basic-sliding .flex-direction-nav,
.basic-sliding .flex-pauseplay,
.basic-sliding .flex-counter{
	height: auto;
	position: inherit;
        bottom: auto;
}

.basic-sliding .flex-direction-nav{
	border-left: none;
	right:auto;
	width: auto;
}

.basic-sliding .carousel-caption{
    position: absolute;
    z-index: 21;
    padding: 20px;
    color: #FFFFFF;
    background-color: #111;
    filter: alpha(opacity=80);
    -moz-opacity: 0.8;
    -khtml-opacity: 0.8;
    opacity: 0.8;
}

.multi .flex-direction-nav a {
    width: 30px;
    height: 30px;
    margin: -20px 0 0;
    display: block;
    background: url(../../img/bg_direction_nav.png) no-repeat 0 0;
    position: absolute;
    top: 50%;
    cursor: pointer;
    text-indent: -9999px;
    opacity: 0;
    -webkit-transition: all .3s ease;
}

.multi .flex-direction-nav{
    border: none;
    right: auto;
    width: auto;
}
@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {opacity: 1; left: 0;}
  .flex-direction-nav .flex-next {opacity: 1; right: 0;}
  
          .transparent .carousel-caption{
            position: relative;
            max-width: 1200px;
            top: auto;
            left: auto;
            
        }
        .transparent .carousel-caption h4, 
        .transparent .carousel-caption p, 
        .transparent .ubc-carousel .carousel-caption h4, 
        .transparent .ubc-carousel .carousel-caption p {
            margin-right: 160px;
        }
        .transparent .carousel-caption{
            color: #FFFFFF;
            height: 100px;
            left: auto;
            z-index: 0;
            text-align: left;
            padding: 10px;
            background-color: #111;
            filter: alpha(opacity=80);
            -moz-opacity: 0.8;
            -khtml-opacity: 0.8;
            opacity: 0.8;
        }
        
        .expanded-slider {
            margin-left: -20px;
            margin-right: -20px;
        }
}

.flex-direction-nav,
.flex-pauseplay,
.flex-counter{
	height: 100px;
	position: absolute;
	bottom:0;
}

.flex-direction-nav{
	border-left:1px solid #FFF;
	right:66px;
	width: 89px;
	padding-left: 9px
}
.flex-pauseplay{
	right:97px;
	width: 26px;
}
.flex-counter{
	right: 25px;
	color: #FFF;
	height: 62px;
	font-size: 85%;
    font-weight: 700;
}
/* links */
.flex-direction-nav a,
.flex-pauseplay a{
	margin-top:37px;
}
.flex-direction-nav a,
.flex-pauseplay a{
	color: #002145;
	border: 0 none;
    cursor: pointer;
    float: left;
    height: 26px;
    width: 26px;
    background-image: url(//cdn.ubc.ca/clf/7.0.2/img/ubc7-clf-sprite-white.png);
    background-color: #FFF;
    text-indent: -999em;
}

.flex-direction-nav a:hover,
.flex-pauseplay a:hover{ background-color: #002145; }

.flex-pauseplay .flex-pause{ background-position: -1074px -255px; }
.flex-pauseplay .flex-pause:hover{ background-position: -1074px -221px; }

.flex-pauseplay .flex-play{ background-position: -1142px -255px; }
.flex-pauseplay .flex-play:hover{ background-position: -1142px -221px; }

.flex-direction-nav .flex-prev{ background-position: -1040px -255px; }
.flex-direction-nav .flex-prev:hover{ background-position: -1040px -221px; }

.flex-direction-nav .flex-next{ background-position: -1108px -255px; float: right;}
.flex-direction-nav .flex-next:hover{ background-position: -1108px -221px;}


@media (max-width: 979px) { 
	.flex-direction-nav{
		padding-top: 20px;
	}
	.flex-direction-nav a,
	.flex-pauseplay a{
		margin-top:27px;
	}
        .expanded-slider {
            margin-left: -20px;
            margin-right: -20px;
        }
}
@media (max-width: 520px) {
	.flex-direction-nav,
	.flex-pauseplay{
		height: 40px;
		
		bottom:0;
	}
	.flex-direction-nav{
		border:none;
	}
	.flex-direction-nav a,
	.flex-pauseplay a{
		margin-top:0px;
	}
	.flex-counter{
		height: 37px;
	}
        .transparent .carousel-caption{
            position: relative;
            width: auto;
            top: auto;
            left: auto;
            
        }
}

/* ie7 fix & ie10 comatibility mode */
.ie7 .flex-next{
	margin-top:13px;
}


.new-rec-slider {
    min-height: 350px;
    background-image: linear-gradient(to top, rgba(12, 35, 68, 1.0), rgba(12, 35, 68, 0.0));
    background-position: center;
    background-size: cover;
    text-align: left;  
}

/* default separator width adjustment */
.wp-block-separator:not(.is-style-wide) {
    width: 25%;
    margin: auto;
}


/*in-page navigation menu to anchor links*/

#anchorMenuContainer {
    display:inline-block;
    width: 100%;
}

#anchorMenu {
    float:right;
    position:relative;
    left:-50%;
    text-align:left;
    display:inline-block;
}
#anchorMenu ul{
        list-style:none;
        position: relative;
        left: 50%;
}
#anchorMenu li {
    display:block;
	float:left;
	margin-left:10px;
}

#anchorMenu a {
	padding:3px;
	text-decoration:none;
	background-color:#fff;
	color:#009;
}

#anchorMenu a:hover {
	background-color:#009;
	color:#fff;
}

#anchorMenu li:not(:first-child):before {
    content: \" | \";
    left: 3px;
    right: 3px;
}

/*add horizontal scrollbar to table-responsive class*/
.table-responsive {
    overflow-x: auto;
}

/*match su-spoiler title style to H4*/
.su-spoiler-title {
    font-size:18px !important;
    line-height:30px !important;
}

/*remove borders from fc styles*/

.gravity .ui-datepicker-calendar {
    display: table;
}

@media (min-width: 768px) {
#primary-secondary {
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
}
}


/*flexbox auto-center for buttons*/
.button-center {
  display: flex;
  justify-content: center; /* center horizontally */
  align-items: center; /* center vertically */
}

/*back to top button for whole site*/
.back-to-top {
    position:fixed; 
    background-color: #002145;   
    display: flex;
    align-items: center;
    justify-content: center; 
    bottom: 36px; 
    right:36px; 
    width: 42px; 
    height: 42px;\"
}

.back-to-top:hover {
    background-color:white;
}

.back-to-top i {
    color: white;
    font-size:x-large;
}

.back-to-top i:hover {
    color:#002145;
}

.alert {
    margin-top:15px;
}

.ls-layer {
    text-transform: uppercase !important;
}