@charset "UTF-8";
/* Custom Styles for Lausanne - Extended CSS after the master file */

/* Table of Contents

1. GENERAL UI FIXES
2. CUSTOM STYLES
3. MOBILE DISPLAY ONLY

*/

/******************************************************************/
/* GENERAL UI FIXES
*******************************************************************/

/* Typography *************************************************/

/* Change Yellow to Blue on the headings for better readibility */
h1, h3 {
	color: #00274c
}

/* Tabbed Content *************************************************/

/* Remove thin border around the first tab in Tab Widget */
.nav-tabs > li.active > a {
	border-color: transparent;
	background-color: transparent;
}

/* Make the Tab Content Padding Smaller (For better mobile view) */
div.tab-pane {
	padding: 2rem 1rem;
}

/* Style lists inside tabs**********************************************/
.tabbedcontent-content ul li {
	margin-bottom: .25rem;
	margin-top: .25rem;
}


/* Admission Page *************************************************/

/* Admission Page - Remove extra spacing in page banner */

.page-admission .hero-container .slider h3 {
	padding-left: 1rem;
	padding-right: 1rem;
}

.page-admission .hero-container .slider .carousel-item h4 {
	margin-top: 0!important;
}

/* Curriculum Guide Page ******************************************/ 


/* Move Filter Options to the bottom for each individual subject*/
body.curriculum-guide#post .templatecontent{
	order:2;
}

/* Remove page title*/
body.curriculum-guide#post h1.page-title {
	display: none;
}

/* Hide Archives Title
body.curriculum-guide#post .side-container > div[id$="_pnlSideMenu"] > h2:nth-child(1) {
    display: none;
}*/

/* Add border and spacing to the filters */
body#news.curriculum-guide #ctl00_cphSideMenu_swSiblingMenu_pnlSideMenu {
	margin-bottom: 1rem;
}

/* Hide Archives Filter Heading */
body.curriculum-guide aside:first-child {
	display: none;
}

/* Hide Archives Filter 
body.curriculum-guide #ctl00_cphSideMenu_swSiblingMenu_pnlSideMenu #subnav.archives {
	display: none!important;
}*/

/* Hide Post Nav */
body#post.curriculum-guide .blog-entry-details .sw-blog-entry-nav {
	display: none;
}

/* Adjust spacing on Post Tags */
body#post.curriculum-guide .blog-entry-details .post-tags {
	margin-bottom: 2rem;
}

/* Adjust spacing on Post Title */
body.curriculum-guide .blog-entry .post-title {
	margin-top: 1rem!important;
}

/* Hide Category Post Date */
body.curriculum-guide .blog-entry .post-date {
	display: none;
}


/* NEWS Page Display Fixes ****************************************/ 

/* Tweak post spacing*/

body.default div.recent-blog-posts-wrapper ul li {
	padding-left: 0;
	padding-right: 0;
}

div.blog .blog-entry {
    padding: 0;
}

#news h1.pb4 {
	padding-bottom: 0;
}

body#news.page-news aside {
	border-top: 0;
	margin-bottom: 2rem;
}

/* Add logo to page title*/

body#news.page-news h1.page-title, body.page-news#post h1.page-title {
	position: absolute;
	left: 30px;
	top: -270px;
	background-image:url('logo-lausanne-news-2023.png');
	background-repeat: no-repeat;
	background-size: 100%;
	display: block;
	width: 280px;
	height: 140px;
	text-indent: -2000px;
	color: transparent;
}

/* Remove line after title */

body#news.page-news h1.page-title::after, body.page-news#post h1.page-title::after {
	height: 0;
}

/* Remove extra space above blog entries */
body#news .blog {
	margin-top: 0;
}

/* Remove extra space above Category/Current Page title */
body#news div[id*="blogEntriesRendered"] h3 {
	margin-top: 0;
}

/* Reset default space around the image to 0px within the blog post */
.post-body img {
	margin: 0!important;
}

/* Add space on the right for images floated to the left of text */
.blog .post-body img.sw-image-left-aligned {
	margin-right: 1.719125rem!important;
	margin-bottom: 1.719125rem!important;
}

/* Add space on the left for images floated to the right of text */
.blog .post-body img.sw-image-right-aligned {
	margin-left: 1.719125rem!important;
	margin-bottom: 1.719125rem!important;
}

/* Convert blog title to Title Case for better scannability/readability */
.blog .post-title {
    letter-spacing: normal!important;
    text-transform: initial!important;
	line-height: 1.3;
}

/* Convert blog title to Title Case for better scannability/readability */
body.default div.recent-blog-posts-wrapper ul li a.recent-blog-posts-title {
	text-transform:none!important;
	letter-spacing: normal!important;
	font-size: 1.6rem;
}


/* EXPLORE Widget *************************************************/ 

/* Fix horiz spacing in Section 1 Only */ 


#section-one #matrixContent .explore_title {
	padding-left: 0;
}

#section-one #matrixContent .explore_portals {
	padding-left: 0;
}


/* General list item styling */ 
.templatecontent ul li {
	margin-bottom: .25rem;
	margin-top: .25rem;
}

/******************************************************************/
/* CUSTOM STYLES
*******************************************************************/

/* Button *********************************************************/

.btn-outline {
	text-transform: uppercase;
	padding: 8px 26px;
	font-family: "Open Sans", sans-serif;
	border: 2px solid #00274c;
	letter-spacing: 0.1em;
	font-size: 0.675em;
	font-weight: 600;
	color: #00274c;
	margin-bottom: 20px;
	display: inline-block;
	text-align: center;
}

/* Staff Bio ******************************************************/

.lau-staff-bio {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	margin-bottom: 1rem;
}

.lau-staff-bio img {
	border-radius: 50%;
	width: 100%;
	padding: 1rem;
}

.lau-staff-bio p {
	padding: 1rem;
	padding-bottom: 0;
}

/* Icon************************************************************/

.lau-icon {
	border-radius: 50%; 
	width: 120px; 
	height: 120px; 
	text-align: center; 
	display: flex; 
	align-items: center;
}

.lau-icon img {
	margin: 0 auto;
	max-width: 90px;
	width: 80%;
}

/* Basic Card *****************************************************/

.lau-card {
	padding: 1rem;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
	height: 100%;
}

.lau-card h5 {
	margin-top: .5rem;
	margin-bottom: .5rem;
	line-height: 1;
}

.lau-card p {
	margin-bottom: 1rem;
}

body .lau-card .btn {
	margin-bottom: 0!important;
}

/* Custom Table ***************************************************/

.lau-table {
	border: 0;
}

.lau-table td {
	padding: .5rem 1rem;
	border-left: 0;
	border-right: 0;
	vertical-align: top;
}

.lau-table thead tr {
	background-color: #ededed;
	font-weight: bold;
	line-height: 130%;
}
	
.lau-table tr:nth-child(even) {
  background-color: #f8f8f8;
}



/* Reference Box (Used on Middle School Subject > Placement Reqs) 
*******************************************************************/

.lau-reference-box {
	font-size: 85%;
	background-color: #daf2f9;
	border-radius: .5em;
	padding: 1em;
	font-family: "Open Sans", sans-serif;
	margin-bottom: 1.719125rem;
}

.lau-reference-box  p, .lau-reference-box ul {
	margin-bottom: .5rem;
}

/* Visual Separator Line*******************************************/

.lau-separator {
	border-top: 8px solid #00274c; 
	width: 100px; 
	margin: 0 auto; 
	display: block; 
	height: 10px;
}

/******************************************************************/
/* MOBILE DISPLAY ONLY
*******************************************************************/

/* Medium Screen Size**********************************************/

@media screen and (max-width: 60em) {
	
/* Calendar - Adjust spacing for event date and time */		
	.swCalEvents .CalendarEvent__meta.ph4 {
		padding-left: 0!important;
		padding-right: 0!important;
	}
	
/* Calendar - Hide event date on the main list only*/	
	.swCalEvents .CalendarListEvent__date {
		display: none;
	}
}

/* Mobile Phone Size***********************************************/

@media screen and (max-width: 30em) {

/* Reduce white space below sidebar */	
	body .side-section .side-container.mb4{
		margin-bottom: 0!important;
	}
	
/* Reduce white space in page title */
	body .main-section h1.mt5-ns {
		margin-top: 2rem!important;
	}
	
/* News - Move filters below the article on mobile only */
	
	body#news.page-news .main-section {
		display: flex;
		flex-direction: column;
	}
	
	body#news.page-news .main-section aside {
		order: 2;
	}
	
/* Move sidebar below news content on Single News Post page */
	
	body.news#post .main-section {
		order: 1;
	}

	body.news#post .side-section {
		order: 2;
	}

	
/* Remove extra space from Tags filter */	
	body#news aside {
		padding-top: 20px;
	}
	
/* Make filter buttons full-width */		
	body.news aside #filter-tags.btn, body.news aside #reset-filter.btn {
		max-width: 100%!important;
	}
	
/* Adjust page title logo placement */
	body#news.page-news h1.page-title, body.page-news#post h1.page-title {
	position: absolute;
	left: 10px;
	top: -240px;
	width: 230px;
	height: 115px;
	}

/* Remove space on the right for images floated to the left of text; Set image to 100% */	
	.blog .post-body img.sw-image-left-aligned {
	margin-right: 0!important;
	width: 100%;
	height: auto;
	}
	
/* Remove space on the left for images floated to the right of text; Set image to 100% */		
	.blog .post-body img.sw-image-right-aligned {
	margin-left: 0!important;
	width: 100%;
	height: auto;
	}
	
/* Remove Section Menu and Archives Menu*/
	
	
	body#post.curriculum-guide .mobile-sidemenu-toggle {
		display: none;
	}
	
	body#post.curriculum-guide .mobile-sidemenu-toggle + p {
		display: none;
	}
	
	body#news.curriculum-guide #ctl00_cphSideMenu_swSiblingMenu_pnlSideMenu h2:nth-child(5) {
		margin-top: 0;
	}
	
	body#post.curriculum-guide .main-section h1.mt5-ns {
    	margin-top: 0rem!important;
	}
	
/* Adjust Close button spacing in the top menu */
	body #sidecar .close-drawer {
		max-width: 230px!important;
	}
	
/* Make Custom Card button 100% width */	
	body .templatecontent .lau-card .btn {
		width: 100%;
		max-width: 100%!important;
	}
	
/* Remove text from Admissions page header image area*/
	
	body.page-admission .hero-container #matrixContent {
		display: none;
	}
}