/**
 * Theme Name: UBC CLF Basic
 * Theme URI: http://cms.ubc.ca
 * Description:  with CLF 7.0.4 Implementation
 * Version: 1.0.2
 * Author: UBC
 * License: N/A
 * License URI: N/A
 *
 */


@font-face {
    font-family: FirstNationsUnicodeRegular;
    /*src: url("fonts/First Nations Unicode Regular.ttf");*/
    src: url("fonts/First Nations Unicode R OSx.ttf");
}

@media screen and (max-width: 979px) {
    #ubc7-unit .navbar .btn-navbar, #ubc7-unit .btn {margin-top:21px;display:none;}
}

#appname{font-size:larger;}
.content{background:transparent;}
#fancybox-overlay{background-attachment:fixed;background:url("images/overlay.png") repeat 0 0;}
#fancybox-outer{background-color:transparent!important;}
#fancybox-content{border-radius:10px;}
#fancybox-wrap #fancybox-right{right:30px!important;}
/** Logout Button **/
/*#######################################################*/
#ubc7-unit-name .navlogout{margin-top:-2px;}
#ubc7-unit-name .navlogout .logoutbtn{padding:3px;color:#002145!important;text-shadow:none;background-color:white;border-radius:4px;border:2px solid white;}
#ubc7-unit-name .navlogout .logoutbtn:hover{color:white!important;border:2px solid white;background-color:#002145;}
/** Search tabs **/
/*#######################################################*/
#search-tabs{border-bottom:1px solid #dddddd;}
#search-tabs {font-size:18px;}
#search-tabs p{font-weight:bold;}
#search-tabs span{font-weight:100;font-size:16px;display:inline-block;}
#search-tabs .search-tab{background-color:#aaaaaa;color:#ffffff;text-decoration:none;display:inline-block;margin-right:10px;margin-top:10px;padding:10px 20px}
#search-tabs .search-tab.active{background-color:#002145;}
#search-tabs .search-tab:hover{background-color:#002145;}
body.search .hentry{border-bottom:1px solid #dddddd; margin-bottom:25px; padding-bottom:15px;}
#search-tabs .order-tab{font-size:12px;font-weight:normal;background-color:#aaaaaa;color:#ffffff;text-decoration:none;display:inline-block;margin-left:4px;margin-top:10px;padding:0px 5px}
#search-tabs .order-tab.active{background-color:#002145;}
#search-tabs .order-tab:hover{background-color:#002145;}

/** Unit Bar background gradient and box shadow **/
/*#######################################################*/
#ubc7-unit {
   background: #264E6A;
}
#container{
	background: #FFF;
	padding-top: 15px;
}
#global-unit-footer{
	background: #FFF;
}
/* CUSTOMIZATIONS*/
/*#######################################################*/
#ubc7-logo, #ubc7-apom a, #ubc7-wordmark-block, #ubc7-global-utility button span, #ubc7-global-utility-no-script, #ubc7-okanagan-campus, #ubc7-vancouver-campus, #ubc7-signature a, .ubc7-carousel-control, #ubc7-ql-apom span, #ubc7-ql-mobile span, .ubc7-arrow{
  /*background-image: url(https://poli1.air.arts.ubc.ca/wp-content/uploads/sites/3/2017/02/ubc7-clf-sprite-blue.png);*/  
  background-image: url(https://air.arts.ubc.ca/wp-content/themes/clf-basic/images/ubc7-clf-sprite-blue.png)!important;  
}

/* LOGGED OUT*/
/*#######################################################
body.logged-out .full-width-container #container{padding-top:0;margin-bottom:0;}
body.logged-out .content .hentry{margin-bottom:0px}
[class*="span"] {min-height:0px;}
body.logged-out .breadcrumb,
body.logged-out .cwllogin{
    display:none;
}*/
html{background-color:#ffffff;}

/* SITES MENU*/
/*#######################################################*/
	#wrap{float:left;border:2px solid #cecece;border-radius:4px;position:absolute;z-index:100;}
	#wrap .adropdown-menu:last-child a {border-bottom:1px solid #cecece;}
	#wrap li{list-style:none;margin:0;padding:0}
	#wrap > a:after{content:"\f078";float:right;font-family:fontawesome;color:#cecece;}
	#wrap > a{background-color:#002145!important;/*border-top:1px solid #cecece!important;border-bottom:1px solid #cecece!important;*/}
	
	#ubc7-unit-name > a{margin-top:12px;float:left;width:30%;}


    .airmenu-wrap{float:right;margin: 5px 25px 0 0;}
    .adropdown-menu{padding:0;margin:0;display:none;}
    .airmenu{float:right;}
    .airmenu a{margin:0!important;}
    .airmenu > ul > li{margin-left:10px;float:left;list-style:none;}
	.airmenu > ul a{width:150px;color:white!important;border-color:#cecece!important;margin-right:10px;}
	.airmenu  ul li #wrap  a{margin:0;}
	.airmenu > ul a:hover{background-color:#002145!important;}
	.airmenu > ul > li > a{border:2px solid; border-radius:4px;}
    .airmenu > ul a,#wrap a {color:white;float:left;line-height: 20px;padding: 4px 12px;text-decoration: none;}
    

    #airli {display:block;margin-right:175px;}
/*#######################################################*/


/*#######MENU ALSO PART OF CLF NOW######*/
.cwllink:after,.logoutbtn img,.loginbtn img{border:1px solid #cecece; border-radius:5px;}
#ubc7-unit-menu .dropdown .btn-group:hover .dropdown-toggle,
#ubc7-unit-menu .nav-collapse .nav > li > a:hover, #ubc7-unit-menu .nav-collapse .dropdown-menu a:hover,
.dropdown-menu > li > a,
#ubc7-unit-menu .nav > li > a{color: #fff;}
#ubc7-unit-menu .dropdown .btn-group button {border-left-color: white!important;}
#ubc7-unit-menu .nav  > li.current-page-parent > .btn-group > a,#ubc7-unit-menu .nav  > li.current-page-ancestor > .btn-group > a{font-weight:bold;}
#ubc7-unit-menu .nav-collapse .nav > li:first-child{margin-left:-10px;}
@media (min-width: 1200px) {#ubc7-unit-menu .nav-collapse .nav > li:first-child{margin-left:-15px;}}
/*#######################################################*/

/*#######################################################*/
/*air-search*/
/*#######################################################*/
.search-container {position: relative;background: red;overflow: hidden;}
.search-container:before {content: ' ';display: block;position: absolute;left: 0;top: 0; width: 100%;height: 100%;z-index: 1;opacity: .6;background-repeat: no-repeat;background-position: 50% 0;-ms-background-size: cover;-o-background-size: cover;-moz-background-size: cover;-webkit-background-size: cover;background-size: cover;
    background-image: url('https://poli1.air.arts.ubc.ca/wp-content/uploads/sites/3/2017/01/buchanan-e1484777965388.jpg'); background-position:bottom;;
}
.search-container.logged-in:before {opacity: 1.0;}
.search-container input{text-align:center;width:60%;font-size:25px;} 
.search-container h1,.search-container form {padding:50px; padding-bottom:0; z-index: 2; position: relative;color: #fff; margin:0;
    text-align: center;
} 

@media (max-width: 768px) {
  .search-container h1{font-size:20px;line-height:22px;}
}

.search-container:before{background-position:center}
.search-container h1{padding-top:7%}
.search-container .cwlwrap{padding-bottom:7%;}
.search-container form{
   padding-top:9%;
   padding-bottom:8%;
}

.search-container .cwlwrap{display:block;text-align:center;z-index: 2;position: relative;color: #fff;margin:0;margin-top:15px;}

.search-container .wrapout a:hover{background-color:#002145;color:white;}
.search-container .wrapout a{background-color: white;border:1px solid #cecece;border-radius: 5px;display:inline-block;color:#002145;text-decoration:none;padding:10px 20px;}
.search-container .loginbtn img{border:2px solid #cecece;border-radius:6px;height:20px;margin-left:10px;}
/*#######################################################*/

/*#######################################################*/
/*				New changes to login / logout           #*/
/*#######################################################*/
.search-container .wrapout a:after{font-family:fontawesome;content:"\f090";}
.search-container .wrapout a{background-color:#002145;color:white;border-color:#cecece;}
.search-container .wrapout a:hover{background-color:white;color:#002145;}
#ubc7-unit-name .navlogout .logoutbtn{background-color:#002145;color:white!important;padding-right:5px;padding-left:5px;border-color:#cecece;}
#ubc7-unit-name .navlogout .logoutbtn:hover{background-color:white;color:#002145!important;}
#ubc7-unit-name .navlogout .logoutbtn:after{padding-left:8px;font-family:fontawesome;content:"\f08b";}
#menu-item-7777 .logoutbtn:after{float:right;padding-left:8px;font-family:fontawesome;content:"\f08b";}
.navbar.expand{padding:0}
#ubc7-unit-menu .navbar-inner{min-height:0;}
/*#######################################################*/

.utility.span12{min-height:0}
#ubc7-unit{width:auto;}
.full-width #ubc7-header .container{margin-left:20px;}
#menu-item-7777{display:none;}
@media (min-width: 1200px) {
    .span9{width:810px}
    .span6{width:510px}
}

@media (max-width: 1199px){
    .span9{width:640px}
    .span6{width:400px}
}

@media (max-width: 980px) {
	#menu-item-7777{display:block;}
  	.cwllogin{display:none;}
}

@media (max-width: 880px) {
    .span9{width:488px}
    .span6{width:292px}
}

@media (max-width: 768px) {
    .span9{/*width:488px*/width:100%}
    .span6{/*width:292px*/width:100%}
}

.full-width #body-container{background-color:#ffffff;}
.full-width #ubc7-header .container{margin-left:20px;}
.full-width .expand, .full-width .full-width-container .expand{margin-left:0!important;margin-right:0!important;}
body.full-width{padding:0;}
select, textarea, input[type="text"], input[type="password"], 
input[type="datetime"], input[type="datetime-local"], input[type="date"], 
input[type="month"], input[type="time"], input[type="week"], input[type="number"], 
input[type="email"], input[type="url"], input[type="search"], 
input[type="tel"], input[type="color"], .uneditable-input{
  height:30px;
}

.form_saved_message_emailform input[type="text"]{
  height:2.7em!important;
  font-size: 2em;
}  

div.form_saved_message div.form_saved_message_emailform form input[type="text"]{height:2.7em;}

/**
 * WordPress Styles
 * Clearing of the entry-content 
 */
/* =Entry Content
-------------------------------------------------------------- */
.entry-content:after {
	visibility: hidden;
	display: block;
	content: "";
	clear: both;
	height: 0;
	}

* html .entry-content            { transform: scale(1);transform-origin: 0 0; } /* IE6 */
*:first-child+html  .entry-content { transform: scale(1);transform-origin: 0 0; } /* IE7 */


/* =Entry
-------------------------------------------------------------- */
.hentry{
	margin-bottom: 50px;margin-top: 40px;
}
.byline,
.entry-meta{
	font-size: 13px;
	color:#757575;
}
.byline a,
.entry-meta a{
	color:#757575;
}
.byline a:hover,
.entry-meta a:hover{
	color:#2F5D7C;
	text-decoration: underline;
}
/* =Alignment
-------------------------------------------------------------- */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/* =Caption
-------------------------------------------------------------- */
.wp-caption {
	border: 1px solid #ccc;
	max-width: 100%;
}
.wp-caption.aligncenter,
.wp-caption.alignleft,
.wp-caption.alignright {
	margin-bottom: 1.5em;
}
.wp-caption img {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

/* =Gallery
-------------------------------------------------------------- */
.gallery {
	display: block;
	clear: both;
	overflow: hidden;
	margin: 0 auto;
	}
.gallery .gallery-row {
	display: block;
	clear: both;
	overflow: hidden;
	margin: 0;
	}
.gallery .gallery-item {
	overflow: hidden;
	float: left;
	margin: 0;
	text-align: center;
	list-style: none;
	padding: 0;
	}
.gallery .gallery-item .gallery-icon img {
	width: auto;
	max-width: 89%;
	height: auto;
	padding: 1%;
	margin: 0 auto;
	}
.gallery-caption {
	margin-left: 0;
	}

/* Image sizes depending on the number of columns */
.gallery .col-0 { width: 100%; }
.gallery .col-1 { width: 100%; }
.gallery .col-2 { width: 50%; }
.gallery .col-3 { width: 33.33%; }
.gallery .col-4 { width: 25%; }
.gallery .col-5 { width: 20%; }
.gallery .col-6 { width: 16.66%; }
.gallery .col-7 { width: 14.28%; }
.gallery .col-8 { width: 12.5%; }
.gallery .col-9 { width: 11.11%; }
.gallery .col-10 { width: 10%; }
.gallery .col-11 { width: 9.09%; }
.gallery .col-12 { width: 8.33%; }
.gallery .col-13 { width: 7.69%; }
.gallery .col-14 { width: 7.14%; }
.gallery .col-15 { width: 6.66%; }
.gallery .col-16 { width: 6.25%; }
.gallery .col-17 { width: 5.88%; }
.gallery .col-18 { width: 5.55%; }
.gallery .col-19 { width: 5.26%; }
.gallery .col-20 { width: 5%; }
.gallery .col-21 { width: 4.76%; }
.gallery .col-22 { width: 4.54%; }
.gallery .col-23 { width: 4.34%; }
.gallery .col-24 { width: 4.16%; }
.gallery .col-25 { width: 4%; }
.gallery .col-26 { width: 3.84%; }
.gallery .col-27 { width: 3.7%; }
.gallery .col-28 { width: 3.57%; }
.gallery .col-29 { width: 3.44%; }
.gallery .col-30 { width: 3.33%; }

/* =Header-widget area
-------------------------------------------------------------- */
.header-widget {
	background: #FFF;
	margin-top: -10px;
	margin-bottom: -20px;
}

/* =Comments 
-------------------------------------------------------------- */
#comments-template{
	clear: both;
}
/* Comment headers */
#comments-number,
#reply-title{
	font-size: 20px; /* reduce the font size */
}
/* Comment list */
.comment-list {
	list-style: none;
	margin: 0;
}
/* Comment */
.ping,
.comment {
	list-style: none;
	margin-bottom: 10px;
	padding: 10px;
	border:1px solid #E6E6E6;
}
.comment-list #respond,
.comment-wrap{
	margin-left: 60px;
}
/* Comment Meta Data */
.comment-meta-data{
	position: relative;
}
.comment-wrap .avatar{
	margin-left: -60px;
	width: 40px;
	height: 40px;
	padding: 2px;
	float: left;
	background: #FFF;
	border-bottom:1px solid #D7D7D7;
	border-left:1px solid #F2F2F2;
	border-right:1px solid #F2F2F2;
	overflow: hidden;
	font-size: 9px;
	line-height: 11px;
}
.comment-list .comment-author{
	display: block;
	font-size: 1.1em;	
}
.comment-action{
	position: absolute;
	top:0;
	right: 0;
	font-size: 0.9em;
}


/* Comments are closed */
.comments-closed {
	font-style: italic;
}

/* Comments Children */
.comment .children{
	margin-left: 50px;
}
.children .comment {
	margin-right: -10px;
	border-right:0;
}


.comment-text blockquote {
	margin-bottom: 21px;
}
.comment-text blockquote p{
	display: inline;
}

/* comments form */
#respond{
	padding-right: 30px;
	
}
#cancel-comment-reply-link{
	margin:-3em 10px 0 0;	
}
#respond #submit {
	border:1px solid rgba(38, 78, 106, 0.5);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
    color: #333333;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 0;
    padding: 4px 12px;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    vertical-align: middle;
    background-color: #2F5D7C;
    /* background-image: -moz-linear-gradient(center top , #2F5D7C, #264E6A); */
    background-repeat: repeat-x;
    color: #FFFFFF;
    text-shadow: none;
}
#respond #submit:hover, 
#respond #submit:active, 
#respond #submit.active {
    background-color: #98B2C3;
    border: 1px solid #98B2C3;
    color: #002145;
}
#respond #submit:active, 
#respond #submit.active {
    background-color: #C3D0DB;
    border-color: #C3D0DB;
}

#respond .form-author,
#respond .form-email{
	float: left;
	width: 48%;
}
#respond .form-author{
	margin-right: 4%;
}
#respond input[type=text],
#respond #comment{
	width: 100%;
}
.no-padding{
	padding: 0;
}

body.archive h2.post-title {
	margin-top: 0px;
	line-height: 30px;
}

body.archive h1.archive-title {
	margin-bottom: 20px;
}

body.archive img.medium {
	border: 1px solid #d7e0e7; padding: 5px;
}

/*#######feature links######*/
a.feature {
    font-weight: normal;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    border: 1px solid #002145;
    padding: 8px 15px 8px 15px;
    margin-top: 5px;
    margin-bottom: 5px;
    width: auto;
    display: block;
    
}
.cwllink:after{
  line-height: 0;
  margin-top:-2px;
}
a.feature:hover {
    background-color: #002145;
    color: #ffffff;
    border: 1px solid #002145;
}
#content .entry-content .feature:after{
    content: '\f08e';
    float: right;
    font-family: FontAwesome;
    font-size: 20px;
}
#content .entry-content .feature.cwllink:after{
    content: url('https://air.arts.ubc.ca/wp-content/themes/clf-basic/images/LoginBtn.png');
    float: right;
    //font-family: FontAwesome;
    //font-size: 20px;
}
.feature[href$=".pdf"]:after, 
#content .entry-content .feature[href$='.pdf']:after,
#content .entry-content .feature[href$='.doc']:after,
#content .entry-content .feature[href$='.docx']:after,
#content .entry-content .feature[href$='.xls']:after,
#content .entry-content .feature[href$='.xlsx']:after {
    content: '\f019';
    float: right;
    font-family: FontAwesome;
    font-size: 20px;
}
.feature{background-color: #ffffff;color: #002145;}
.white-colour{color:#ffffff}
.bg-white{background-color:#ffffff}
body.page-template-fe-logged-in .content .hentry{padding:20px 0;}
.loop-meta.search-info{padding-top:10px;}

