/* Default for desktop */
.skip-to-main-content-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 1em;
  background-color: black;
  color: white;
  opacity: 0;
}
.skip-to-main-content-link:focus {
  left: 50%;
  transform: translateX(-50%);
  opacity: 1;
}

h2, h3, h4{
	font-family: Impact;
	letter-spacing: 1px;
}

.trumbowyg-textarea{
	height: 100% !important;	
}

a.active{
	background-color: #00204e;
	color: white;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.container-fluid{
	padding-right: 34px;	
	padding-left: 34px;	
}

.accessible-hidden{
	position: absolute;	
	left: -9999px;
	height: 0;
}


.full-width {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/********************************
 *
 * --- SITE HEADER STYLES --- 
 * 
 */
header{
	background-color:#00204e;
	padding-bottom: 10px;
	padding-right: 0;
	padding-top: 10px;
}

header .studentlife-logo-box{
	display: flex;	
	flex-direction: row;	
	align-items: center;
	padding-right: 10px;
	padding-left: 10px;
}

header .studentlife-logo-box .logo img{
	height: 70px; 
	background:white;
	padding-right: 10px;	
}

header .studentlife-logo-box .site-title{
	padding-left: 10px;	
	line-height: 1;
	font-size: 1.75rem;	
	font-weight: bold;
	margin-bottom: 0;
	border-left: 1px solid #00204e;
}

header .studentlife-logo-box .site-title a{
	color: #00204e;
}

.alert-news-block a{
	color: black;	
}

/* News items css */
.news-item-type-tags-container{
	display: flex;
}

.news-item-type-tag{
	background-color: rgb(254, 218, 23, 0.3); 
	display: flex;
	align-items: center;
	margin-right: 10px;
	margin-bottom: 5px;
	padding-right: 10px;
	padding-left: 10px;
	border-radius: 20px;
}

.news-item-type-tag img{
	height: 30px; 
	margin-right: 10px;
}

.news-item-type-tag div{
	margin-right: 10px;
}

.news-item-title{
	margin-top: 1rem;
}

/* News item css end */



/* When shrinking browser */
@media screen and (max-width: 992px) {

	.sl-border-top-mobile{
		border-top: 10px solid #00204e !important;	
	}

	.hide-on-mobiles{
		display: none;	
	}

	.alert-news-block {
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
		margin-top: 10px !important;
		margin-bottom: 10px !important;
	}

	.container-fluid{
		padding-right: 5px;	
		padding-left: 5px;	
	}

	header{
		
		padding-top: 0;
		padding-bottom:0; 
	}

	header .studentlife-logo-box{
		padding-right: 5px;
		padding-left: 5px;
	}

	header .studentlife-logo-box .logo img{
		height: 50px;	
		padding-right: 5px;	
	}

	header .studentlife-logo-box .site-title{
		font-size: 18px;	
		padding-left: 5px;	
	}

}

header .navbar .container-fluid{
	justify-content: end;
}

header .navbar-nav li.nav-item a{
	text-align: center;
	padding: 2px 10px;
}

header .mainmenu .navbar-brand{
	display: none;	
}

header .navbar-nav li a{
	color: white;	
	font-weight: bold;
	margin-right: 10px;
}

header .navbar-nav li a:hover, .navbar-nav li a.active{
	color: black;	
	background-color: white;
	border-radius: 15px;	
	font-weight: bold;
}

.page-header{
	background-image: url("/img/studentlife-branding-wide-cropped-1.png");
	background-repeat: no-repeat;
	background-position: bottom;
	background-size: cover;
	min-height: 230px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.page-header .search-types li{
	padding: 5px;	
}

.page-header .search-types li.checked{
	border-bottom: 3px solid #00204e;		
}

.section-title{
	font-weight: 700;
}

.displayHeader {
	background-color: #00204e;	
	color: white;
	font-weight: bold;
	margin: 0;
	padding:10px;
	align-items: center;
}


.navbar1 {
	overflow: hidden;
	font-family: Arial, Helvetica, sans-serif;
	color: #00204e;
	display: flex;
}

.navbar1 a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.navbar1 h3{
	padding: 0;
	font-family: Impact;
	font-size: 25px;
	letter-spacing: 1px;
}

.navbar1 ul{
	padding: 0;
}

.navbar1 li{
	list-style-type: none
}

.navbar1 a.nav-link {
	padding: 2px 0;
}

.dropdown1, .dropdown2 {
  float: left;
  overflow: hidden;
}

.dropdown1 .dropbtn,
.dropdown2 .dropbtn {
  font-size: 1.2rem;  
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  margin: 0;
}

.navbar1 a:hover, .navbar1 a:focus, 
.dropdown1:hover .dropbtn, .dropdown1 .dropbtn:focus,
.dropdown2:hover .dropbtn, .dropdown2 .dropbtn:focus {
	text-decoration: underline;
}

.dropdown-content {
	visibility: hidden;
	opacity: 0;
	transition: visibility 0s, opacity 0.5s linear;
	position: absolute;
	background-color: #e9e9ea;
	width: 100%;
	left: 0;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
	padding: 20px;
	border-top: 3px solid yellow;
}

.dropdown1:hover .dropdown-content,
.dropdown1.active .dropdown-content,
.dropdown2:hover .dropdown-content,
.dropdown2.active .dropdown-content{
	/* display: block; */
	visibility: visible;
	opacity: 1;
	transition: visibility 0s, opacity 0.5s linear;
}


.navbar1 .column .col-section{
	padding-left: 20px;
} 

/* Create three equal columns that floats next to each other */
.navbar1 .column {
  float: left;
  width: 33.33%;
  padding: 10px;
}

.navbar1 .column a{
  float: none;
  color: black;
  text-decoration: none;
  display: block;
  text-align: left;
}

.navbar1 .column a:hover {
	font-weight: bold;
	text-decoration: underline;
}

.navbar1 .column a:hover:before {
	content: "\2794";
	display:inline-block;
	margin-left: -17px;	
	padding-right: 2px;
	font-weight: bold;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

.mobile-level-1-menu{
	display: none;
}

.arr{
	background: #00204e;
	height: 30px;
	width: 30px;
	border-radius: 50%;
}

.arr div{
	position: absolute;
	height: 15px;
	width: 15px;
	border-top: 5px solid black;
	border-left: 5px solid black;
	border-color: white;
	transform: rotate(135deg);
	left: 5px;
	top: 8px;
}
	
.arr-down{
	transform: rotate(90deg);	
	transition: 0.75s transform;
}

.col-section .open .arr-down{
	transform: rotate(-90deg);
	left: 9px;
	top: 8px;	
	transition: 0.75s transform;
}

#user-profile-block button.mobile-button{			
	color: white;
	background-color: #00204e;
	border: none;	
	width: 100%;
	display: none;
}

#user-profile-block a{			
	width: 100%;
	background-color: white; 	
	padding-left: 6px;	
	padding-right: 6px;	
	display: block;
}
.editions-select,
.polls-select{
	width: 100%;
	background: #636466;
	padding: 20px;
	color: white;
	font-family: Impact;
	font-size: 30px;
	margin-top: 10px;
}

.editions-select option, optgroup,
.polls-select option, optgroup{
	background: grey;
	font-family: var(--bs-font-sans-serif);
	font-size: 1rem;
	padding: 0;
}

.editions-select optgroup,
.polls-select optgroup{
	font-weight: bold;
} 

/* When expanding browser */
@media screen and (min-width: 992px) {

	.arr{
		display: none;
	}

	.mobile-level-1-menu{
		display:none;	
	}

	.navbar1{
		display: flex !important;	
	}

	#site-search-mobile-toggle{
		display:none;	
	}

	#site-search-form{
		display:block !important;	
	}

	.navbar1 .column .col-section .cs-content{
		display: block !important;
	}

	#user-profile-block .profile-links{
		display: block !important;	
	}
}

/* When shrinking browser */
@media screen and (max-width: 992px) {

	#user-profile-block button.mobile-button{			
		display: block;
	}
	
	
	#user-profile-block .profile-links{
		display: none;;
		position: absolute;
		right: 0;
	}

	header{
		padding-right: 35px;	
	}

	.arr{
		display: block;
	}

	#site-search-mobile-toggle{
		display:inline-block;	
	}

	#site-search-form{
		display:none;
		position: absolute;
		width: 100%;
		left: 0;
		background: #feda17;
	}

	#site-search-form .input-group{
		width: 100% !important;	
	}

	.mobile-level-1-menu{
		display:block;	
	}

	.navbar1{
		display: none;	
		position: absolute;
		left: 0;
		background-color: grey;
		width: 100%;
		color:#00204e;
		overflow: visible;
	}

	.navbar1 .column {
		width: 100%;
		height: auto;
		padding: 0px;
	}

	.navbar1 .column .col-section h3{
		padding-bottom: 10px;			
		cursor: pointer;
	} 

	.navbar1 .column .col-section .cs-content{
		display: none;
	}

	.navbar1 .col-section h3{
		display: flex;
		justify-content: space-between;	
	}

}

/*
 *
 * HEADER STYLES END
 *
 ***********************************/

.form-label{
	font-weight: bold;	
}

.inline-form-field{
	display: flex;	
	align-items: center;
}

.error{
	font-weight: bold;
	color: red;	
}

footer{
	background-color: #00204e;
	padding-top: 50px;
	padding-bottom: 50px;
	min-height: 400px;
}

footer .studentlife-img{
	height: 120px; 
	background-color: white;
}

footer .responsive-footer{
	display:flex; 
	align-items: center;
	justify-content: space-between;
}

@media (max-width:992px) { 
	/* smaller devices */

	footer .responsive-footer{
		display: initial ;	
	}

	footer .responsive-footer .uoft-logo{
		margin-top: 10px;
	}
}

.newsitem-page .main-content{
	min-height: 400px;
}

.featured-profile-image{
	width: 100%;
}

@media (max-width:992px) { 
	/* smaller devices */

	header .mainmenu .navbar-brand{
		display: initial ;	
	}

}

.footer-social-media-icon{
	text-decoration: none;
}

img.social-media{
	width: 50px;	
}

.fa-external-link{
	display: inline !important;
}

