
/*
 * UWinnipeg Bootstrap 3 Stylesheet
 * This stylesheet is designed to be included AFTER the main Bootstrap 3 CSS file.
 * It overrides Bootstrap's default styles to match the official branding
 * of the University of Winnipeg, based on their branding guide.
 *
 * NOTE: The official fonts (Avenir Next LT Pro, Tiempos) are licensed and
 * cannot be distributed. We will use suitable alternatives.
 */

/* ========================================================================
   Primary Brand Colors
   ======================================================================== */
.navbar-logo{height:75px;}
.navbar-logo img{height:100%; object-fit:cover;}
p img, figure img, row img{max-width:100%;height:auto;}
figure{margin-bottom:1em; margin-top:1em;}
figcaption{padding:0.4em;font-style:italic;}
figure:empty, figcaption:empty{display:none;}

.btn-default,
.text-primary,
.btn-primary,
.label-primary,
.progress-bar-primary {
  background-color: #E71C31;
  color: #fff;
  border-color: #a60e87;
}

.btn-primary, .btn-default {
  border-radius: 4px;
  padding:1em;
}

.btn-default:hover,
.btn-default:focus,
.btn-primary:hover,
.btn-primary:focus {
  background-color: #9B172E;
  border-color: #7d0b67;
}

.btn-primary.active,
.btn-primary.active:hover {
  background-color: #9B172E;
}

.bg-primary {
  background-color: #E71C31;
}

/* UWinnipeg secondary colors for accents */
.text-secondary {
    color: #0073B2;
}
.btn-secondary {
    background-color: #A3338A;
    border-color: #82286e;
    color: #fff;
}
.btn-secondary:hover {
    background-color: #82286e;
    border-color: #611e52;
}

/* ========================================================================
   Typography
   ======================================================================== */

/* Font family changed to proxima-nova */

body{font-family: proxima-nova, sans-serif;}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6, p {
  /*font-family: proxima-nova, sans-serif;*/
  /*color: "#E71C31";*/
}

h1, .h1{
  font-size:240%;
  font-weight:800;
  text-transform:none;
}

body{
  font-size:180%;
  line-height: 1.8;
}

/* Using Georgia as a substitute for Tiempos */
.serif-font {
  font-family: Georgia, "Times New Roman", Times, serif;
}

.jumbotron {
  background-color: #eee;
  padding-top: 30px;
  padding-bottom: 30px;
  color: #333;
}

/* ========================================================================
   Navigation and Layout
   ======================================================================== */

/* Top navbar styles */
.navbar-default {
  background-color: #fff;
  border-bottom: 2px solid #E71C31;
  color: #333;
}

.navbar-default .navbar-brand {
  color: #E71C31;
}

.navbar-default .navbar-nav > li > a {
  color: #E71C31;
}

.navbar-default .navbar-nav > li > a:hover {
  color: #a60e87;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #fff;
  background-color: #E71C31;
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: #E71C31;
}

.navbar {
  box-shadow:none;
}

/* Panels */
.panel-default {
  border-color: #e0e0e0;
}
.panel-default > .panel-heading {
  background-color: #f7f7f7;
  color: #333;
  border-color: #e0e0e0;
}

/* Links */
a, #footer ul a {
  color: #E71C31;
}
a:hover, #footer ul a:hover {
  color: #E71C31;
}

.caption{
font-size: 150%;
}

.detail {
font-size: 16px !important;
}


/* ------------------------------------------*/
/* gallery */
/*------------------------------------------*/
.gallery, .gallery .setDescription {
	font-size:18px;
	font-weight:normal;
}
.gallery H2, .gallery H2 a, .gallery H4, .gallery H4 a {
	padding-top:5px;
	color:#000;
	font-size: 120% !important;
}
.gallery H5, .gallery H3 {
	text-transform:uppercase;
	color:#000;
	font-size:100%;
	margin-top:10px;
}
.gallery label {
	text-transform:uppercase;
	color:#000;
	font-size:100%;
	display:block;
	margin-bottom:0px;
}
.gallery #gallerySetInfo{
	font-size:100%;
	padding-bottom:20px;
	line-height:1.8em;
}
.gallery #gallerySetInfo img{
	max-width:400px;
	width:100%;
	height:auto;
}
@media (min-width: 768px) {	
	.gallery #gallerySetInfo img{
		max-width:auto;	
	}
}
.gallery #gallerySetInfo a{
	color:#454545;
	text-transform:uppercase;
	font-size:12px;
}
.gallery #gallerySetInfo a.btn {
	color: #FFF;
}
.gallery .galleryItem{
	padding:10px;
	-webkit-box-shadow:0 1px 3px rgba(0, 0, 0, 0.3);
  	box-shadow:0 1px 3px rgba(0, 0, 0, 0.3);
  	margin:5px 10px 15px 5px;
}
@media (max-width: 767px) {
	.gallery .galleryItem{
  		max-width:550px;
  	}
  }
.gallery .galleryItem a{
	text-decoration:none;
	color:#454545;
}
.gallery .galleryItem a.btn-default{
	color:#FFF;
	font-size:11px;
	display:none;
}
@media(max-width:767px){
	/* don't show preview for mobile - only the list and show a view gallery button */
	#gallerySetInfo{
		display:block;
	}
	.galleryItemSetInfoLink{
		cursor:auto;
	}
	.gallery .galleryItem a.btn-default{
		display:inline;
	}
	
}

.gallery .galleryItem .galleryItemImg{
	float:left;
	width:25%;
	margin-right:10px;
}
.gallery .galleryItem .galleryItemImg img{
	width:100%;
	height:auto;
}
.gallery .galleryNext, .gallery .galleryPrevious{
	background-color: #EFEFEF;
    color: #666666;
    font: 33px/1em Arial,sans-serif;
    padding: 5px 12px 5px 12px;
    text-align: center;
    text-decoration: none;
}
.gallery .galleryNext{
	padding-left:14px;
	float:right;
	margin-right:10px;
}
.gallery .galleryPrevious{
	padding-right:14px;
	float:left;
	margin-left:5px;
}
.gallery .galleryNext.inactive, .gallery .galleryPrevious.inactive{
	opacity: .5;
    cursor: default;
    display:inline;
}
.gallery #galleryDetailImageArea{
	margin-bottom:10px;
	text-align:center;
	padding:10px 0px 10px 0px;
	position:relative;
}
.gallery #galleryDetailImageArea #galleryDetailImageWrapper{
	position:relative;
	display:inline-block;
	margin:0px auto 0px auto;
	height:auto;
}
.gallery #galleryDetailImageArea #galleryDetailImageWrapper:hover .detailMediaToolbar{
	display:block;
	left:0px;
}
.gallery #galleryDetailImageArea img{
	height:auto;
	width:100%;
}

#footer .container{
	font-size: 16px;
} 

#footer{
	height:auto;
	position:relative;
	margin: 2em 0 0 0;
	background:#eee;

}

body{	margin-bottom:0;}
