/*
Theme Name: UM Advising
Author: Phire Group
Author URI: http://thephiregroup.com/
Version: 1.1
*/

@media screen {

	/* RESETS */

	html, body, div, span, applet, object, iframe,
	h1, h2, h3, h4, h5, h6, p, blockquote, pre,
	a, abbr, acronym, address, big, cite, code,
	del, dfn, em, img, ins, kbd, q, s, samp,
	small, strike, strong, sub, sup, tt, var,
	b, u, i, center,
	dl, dt, dd, ol, ul, li,
	fieldset, form, label, legend,
	table, caption, tbody, tfoot, thead, tr, th, td,
	article, aside, canvas, details, embed, 
	figure, figcaption, footer, header, hgroup, main,
	menu, nav, output, ruby, section, summary,
	time, mark, audio, video {
		margin: 0;
		padding: 0;
		border: 0;
		font-size: 100%;
		font: inherit;
		vertical-align: baseline;
	}
	article, aside, details, figcaption, figure, 
	footer, header, hgroup, main, menu, nav, section {
		display: block;
	}
	body {
		line-height: 1;
	}
	ol, ul {
		list-style: none;
	}
	blockquote, q {
		quotes: none;
	}
	blockquote:before, blockquote:after,
	q:before, q:after {
		content: '';
		content: none;
	}
	table {
		border-collapse: collapse;
		border-spacing: 0;
	}
	

	/* WORDPRESS CLASSES */

	.alignnone {
		margin: 5px 20px 20px 0;
	}

	.aligncenter,
	div.aligncenter {
		display: block;
		margin: 5px auto 5px auto;
	}

	.alignright {
		float:right;
		margin: 5px 0 20px 20px;
	}

	.alignleft {
		float: left;
		margin: 5px 20px 20px 0;
	}

	a img.alignright {
		float: right;
		margin: 5px 0 20px 20px;
	}

	a img.alignnone {
		margin: 0 20px 20px 0;
	}

	a img.alignleft {
		float: left;
		margin: 5px 20px 20px 0;
	}

	a img.aligncenter {
		display: block;
		margin-left: auto;
		margin-right: auto
	}

	.wp-caption {
		background-color: #fafafa;
		border: 1px #d9d9d9 dotted;
		max-width: 96%; /* Image does not overflow the content area */
		padding: 5px 5px 0 5px;
		text-align: center;
		border-radius: 3px;
	}

	.wp-caption.alignnone {
		margin: 5px 20px 20px 0;
	}

	.wp-caption.alignleft {
		margin: 5px 20px 20px 0;
	}

	.wp-caption.alignright {
		margin: 5px 0 20px 20px;
	}

	.wp-caption img {
		border: 0 none;
		height: auto;
		margin: 0;
		max-width: 98.5%;
		padding: 0;
		width: auto;
	}

	.wp-caption p.wp-caption-text {
		font-size: 14px;
		line-height: 18px;
		margin: 0 !important;
		padding: 0 0 10px 0;
	}
	
	.wp-caption p {
		margin: 0 !important;
	}

	/* Text meant only for screen readers. */
	.screen-reader-text {
		clip: rect(1px, 1px, 1px, 1px);
		position: absolute !important;
		height: 1px;
		width: 1px;
		overflow: hidden;
	}

	.screen-reader-text:focus {
		background-color: #f1f1f1;
		border-radius: 3px;
		box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
		clip: auto !important;
		color: #21759b;
		display: block;
		font-size: 14px;
		font-size: 0.875rem;
		font-weight: bold;
		height: auto;
		left: 5px;
		line-height: normal;
		padding: 15px 23px 14px;
		text-decoration: none;
		top: 5px;
		width: auto;
		z-index: 100000; /* Above WP toolbar. */
	}
	
	.skip-main:not(:focus) {
	  position: absolute;
	  left: -9999px;
	  z-index: 999;
	  padding: 3em;
	  opacity: 0;
	}
	.skip-main:focus {
	  left: 50%;
	  transform: translateX(-50%);
	  opacity: 1;
	}
	.skip-main {
	  color: #000000;
	  background-color: #FFCB05;
	}
	
	.visually-hidden {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
		border: 0;
	}


	/* GLOBAL */
	
	html {
		scroll-behavior: smooth;
	}
	
	body {
		font-family: "Instrument Sans", sans-serif;
		font-optical-sizing: auto;
		font-size: 16px;
		line-height: 140%;
		font-weight: 400;
		color: #131516;
		text-align: center;
		position: relative;
		overflow-x: hidden;
		background: linear-gradient(180deg,rgba(255, 255, 255, 1) 0%, rgba(228, 228, 228, 1) 100%);
	}
	

	:root {
		--blue: #00274C;
		--maize: #FFCB05; 
		--bright-blue: #0069CC;
		--amethyst: #702082;
		--orange: #D86018;
		--red: #9A3324;
		--teal: #00B2A9;
		--light-teal: #CCF0EE;
		--black: #000000;
		--white: #ffffff;
		--light-grey: #F2F2F2;
		--grey: #C1C1C1;
	}

	*, *:before, *:after {
		box-sizing: border-box;
	}
	
	.main_container {
		margin: 0 auto;
	}
	
	.row {
		margin: 0 auto;
		width: 1170px;
		max-width: 1360px;
		text-align: left;
		position: relative;
	}

	.row_1060 {
		margin: 0 auto;
		width: 1060px;
		max-width: 1360px;
		text-align: left;
		position: relative;
	}

	.clearfix::after {
		display: block;
		visibility: hidden;
		clear: both;
		height: 0;
		content: '';
	}
	
	p {
		margin-bottom: 1.5em;
	}
	
	a {
		text-decoration: none;
		color: inherit;
	}
	
	a:focus, button:focus, input:focus, select:focus, textarea:focus {
		/* outline: dotted 2px #253746; */
	}
	
	img {
		max-width: 100%;
	}
	
	.centered {
		text-align: center;
	}
	
	.hide_on_desktop {
		display: none;
	}
	
	button {
		font-family: "Instrument Sans", sans-serif;
		font-size: 1rem;
		border: 0;
		margin: 0;
		padding: 0;
		background-color: transparent;
		-webkit-appearance: none;
		appearance: none;	
		cursor: pointer;		
	}
	
	b, strong {
		font-weight: 600;
	}

	i, em {
		font-style: italic;
	}
	
	#main {

	}
	
	h1 {
		color: var(--blue);
		font-size: 3.75rem;
		font-weight: 400;
		line-height: 3.75rem;
	}
	
	h2 {
		color: var(--blue);
		font-size: 2.5rem;
		font-style: normal;
		font-weight: 400;
		line-height: 2.875rem;
		margin: 0 0 20px 0;
	}
	
	h3 {
		color: #000;
		font-size: 1rem;
		font-style: normal;
		font-weight: 500;
		line-height: 1.3125rem;
		letter-spacing: -0.01rem;
		margin: 0 0 10px 0;
	}
	
	.cta {
		display: inline-flex;
		justify-content: center;
		align-items: center;
		height: 50px;
		background-color: var(--maize);
		border: 1px solid var(--maize);
		border-radius: 10px;
		color: var(--blue);
		font-family: "Instrument Sans", sans-serif;
		font-weight: 500;
		padding: 0 20px;
		text-align: center;
		transition: all .1s linear;
		text-decoration: none !important;
		cursor: pointer;
	}
	.cta svg {
		margin: 0 0 0 12px;
	}
	.cta:hover {
		border-radius: 10px;
		background-color: var(--blue);
		color: var(--white) !important;
		border: 1px solid var(--blue);
	}

	.cta_teal {
		background-color: var(--teal);
		border: 1px solid var(--teal);
		color: var(--blue);
	}


	
	/* HEADER */

	.desktop_header .row_1 {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: space-between;
		align-items: center;
		padding: 20px 0;
	}
	
	.desktop_header .row_2 {
		padding: 10px 0;
	}
	
	.advising_heading {
		color: var(--blue);
		font-weight: 600;
		letter-spacing: 0.05rem;
	}
	
	.desktop_logo img {
		display: block;
	}

	
	#menu-primary-menu {
		display: flex;
		flex-wrap: nowrap;
	}
	
	.desktop_nav {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: space-between;
		align-items: center;
	}
	
	.desktop_nav li {
		margin: 0;
	}
	
	.desktop_nav a, .desktop_nav button {
		color: var(--blue);
		font-weight: 500;
		line-height: 1;
		transition: all .1s linear;
		display: flex;
		align-items: center;
		padding: 10px 20px;
		transition: all .1s linear;
	}
	
	.desktop_nav a:hover, .desktop_nav button:hover {
		border-radius: 50px;
		background-color: var(--light-grey);
	}
	
	.desktop_nav .cta {
		margin: 0 0 0 20px;
	}
	
	.desktop_nav .cta:hover {
		border-radius: 10px;
		background-color: var(--blue);
		color: var(--white);
	}
	
	.menu-item-has-children {
		position: relative;
	}

	.desktop_nav button svg {
		display: block;
		margin: 0 0 0 6px;
	}
	
	.menu-toggle[aria-expanded="true"] {
		border-radius: 50px;
		background-color: var(--light-grey);
	}
	
	.menu-toggle[aria-expanded="true"] svg {
		transition: all .1s linear;
		transform: rotate(180deg);
	}

	.sub-menu {
		display: none;
	}

	.desktop_nav ul.sub-menu {
		min-width: 270px;
		position: absolute;
		top: 45px;
		left: -50%;
		padding: 30px;
		border-radius: 10px;
		border: 1px solid var(--light-grey);
		background-color: var(--white);
		z-index: 3;
	}
	
	.sub-menu li a {
		white-space: nowrap;
	}
	
	

	
	#mm {
		display: none;
	}
	


	/* CONTENT BLOCKS */
	
		
		/* LEFT CONTENT / RIGHT IMAGE */
		
		.left_content_right_image_block {
			padding: 20px 0;
		}
		
		.left_content_right_image_block .row {
			display: grid;
			grid-template-columns: 1fr 1fr;
			column-gap: 30px;
		}
		
		.left_content {
			background-color: var(--bright-blue);
			border-radius: 16px;
			padding: 70px;
			display: flex;
			align-items: center;
			color: #ffffff;
		}
		
		.left_content.blue {
			background-color: var(--bright-blue);
			color: var(--white);
		}
		.left_content.maize {
			background-color: var(--maize);
			color: var(--blue);
		}
		.left_content.amethyst {
			background-color: var(--amethyst);
			color: var(--white);
		}
		.left_content.red {
			background-color: var(--red);
			color: var(--white);
		}
		
		.left_content.blue h2 {
			color: var(--white);
		}
		.left_content.maize h2 {
			color: var(--blue);
		}
		.left_content.amethyst h2 {
			color: var(--white);
		}
		.left_content.red h2 {
			color: var(--white);
		}
		
		.left_content h2 {
			color: var(--white);
			font-size: 3.75rem;
			font-style: normal;
			font-weight: 400;
			line-height: 3.75rem;
		}
	
		.right_image {
			border-radius: 16px;
		}
	
		.right_image img {
			display: block;
			border-radius: 16px;
		}
	
		
		
		
		/* CONTENT / IMAGE */
	
		.content_image_block {
			padding: 80px 0;
		}
		
		.content_image_block .row_1060 {
			display: flex;
			justify-content: space-between;
		}
		
		.image {
			border-radius: 16px;
			width: 500px;
			flex: 0 0 auto;
		}
	
		.image img {
			display: block;
			border-radius: 16px;
		}
		
		.content {
			width: 470px;
			flex: 0 0 auto;
			display: flex;
			align-items: center;
		}
		
		.content .cta {
			margin: 20px 0 0 0;
		}

		.lcri .image {
			order: 2;
		}
		
		.lcri .content {
			order: 1;
		}
		
		
		/* BACKGROUND IMAGE / CONTENT */
		
		.background_image_content_block {
			padding: 80px 0;
		}
		
		.background_image_content_block .row {
			border-radius: 16px;
			min-height: 700px;
			padding: 70px;
			display: flex;
		}
		
		.bicb_content {
			width: 400px;
			border-radius: 16px;
			background: rgba(0, 0, 0, 0.30);
			padding: 30px;
			color: #ffffff;
			margin: auto 0 0 0;
		}
		
		.bicb_content h2 {
			color: #ffffff;
		}
	
	

	/* ADVISING */
	
	.advising_header {
		padding: 20px 0 40px 0;
	}
	
	.advising_header .row {
		display: flex;
		justify-content: space-between;
	}
	
	.ah_left {
		width: 400px;
		flex: 0 0 auto;
	}
	
	.ah_right {
		width: 700px;
		flex: 0 0 auto;
	}

	.ah_right a {
		text-decoration: underline;
	}

	
	/* SEARCH RESULTS */
	
	.search_results li {
		border-bottom: 1px solid #F0F0EB;
		padding: 0 0 30px 0;
		margin: 0 0 40px 0;
	}
	
	.search_results li a {
		color: #000;
		font-size: 1.5rem;
		font-style: normal;
		font-weight: 400;
		line-height: normal;
		letter-spacing: -0.03rem;
		text-decoration-line: underline;
		text-decoration-style: solid;
		text-decoration-skip-ink: auto;
		text-decoration-thickness: auto;
		text-underline-offset: auto;
		text-underline-position: from-font;
	}
	
	.search_results li .desc {
		margin: 12px 0 0 0;
		color: #344451;
		font-size: 0.875rem;
		font-style: normal;
		font-weight: 300;
		line-height: 1.125rem;
		letter-spacing: -0.00875rem;
	}
	
	
	/* FOOTER */
	
	footer {
		padding: 80px 0;
		background-color: #ffffff;
	}
	
	footer .row {
		display: flex;
		justify-content: space-between;
	}
	
	.footer_logo img {
		display: block;
	}
	
	.footer_contact li {
		margin: 0 0 20px 0;
	}
	
	.footer_contact li a {
		color: var(--black);
		line-height: 1;
	}	

	.footer_contact li a.cta {
		color: var(--blue);
		font-weight: 500;
	}	

	.footer_nav li {
		margin: 0 0 20px 0;
	}
	
	.footer_nav li a {
		color: var(--black);
		font-weight: 500;
		line-height: 1;
	}
	
	.footer_nav a.cta {
		color: var(--blue);
		font-weight: 500;
	}	


}



@media screen and (min-width: 990px) and (max-width: 1329px) {

	.row, .row_1060 {
		width: 970px;
		margin: 0 auto;
	}
	
	
	
}


@media screen and (max-width: 989px) {


	.hide_on_desktop {
		display: block;
	}
	
	.hide_on_mobile {
		display: none !important;
	}
	
	.row, .row_1060 {
		width: calc(100vw - 30px);
		margin: 0 auto;
	}
	
	h1 {
		font-size: 1.75rem;
		font-weight: 400;
		line-height: 2.1875rem;
		letter-spacing: -0.035rem;		
	}
	
	h2 {
		font-size: 1.25rem;
		font-weight: 400;
		line-height: 1.625rem;
		letter-spacing: -0.0125rem;
	}


	
	/* HEADER */
	
	.mobile_header {
		padding: 15px 0;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 5;
	}
	
	.mobile_header .row {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: space-between;
	}
	
	.mobile_logo {
		border-radius: 6px;
		background: rgba(52, 68, 81, 0.60);
		backdrop-filter: blur(7.2413787841796875px);
		padding: 5px 10px;
		display: flex;
		align-items: center;
	}

	.mobile_logo img {
		display: block;
	}
	
	#burger {
		border-radius: 6px;
		background: rgba(52, 68, 81, 0.60);
		backdrop-filter: blur(10px);
		padding: 12px 20px;
		display: flex;
		align-items: center;
		color: #FFF;
		font-size: 0.875rem;
		font-style: normal;
		font-weight: 300;
		line-height: 1.125rem;
		letter-spacing: -0.00875rem;
	}
	
	#burger svg {
		margin: 0 12px 0 0;
		display: block;
	}
	
	#burger.active .burger_closed {
		display: none;
	}
	
	#burger.active .burger_open {
		display: block;
	}
	
	#burger .burger_open {
		display: none;
	}
	
	#mm {
		display: none;
		z-index: 3;
		background-color: #ffffff;
		width: 100%;
		min-height: 100vh;
	}
	
	#mm.dropped {
		display: block;
	}
	
	.mobile_header_bkg {
		height: 72px;
		background-color: #344451;
	}
	
	#mm .row {
		min-height: calc(100vh - 72px);
	}

	.mm_inner {
		min-height: calc(100vh - 72px);
		padding: 15px 0 30px 0;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}
	
	#mm	.menu-toggle, #mm li a {
		width: 100%;
		padding: 12px 0;
		display: flex;
		justify-content: space-between;
		align-items: center;
		font-size: 0.875rem;
		font-style: normal;
		font-weight: 500;
		line-height: 1.125rem;
		letter-spacing: -0.00875rem;
	}
	
	#mm	.menu-toggle svg {
		filter: invert(180);
	}
	
	#mm .submenu {
		border-radius: 8px;
		border: 1px solid #E1E1DB;
		background-color: #F9F9F7;
		padding: 8px 0 12px 0;	
	}
	
	#mm .submenu li {
		padding: 0 20px;
	}
	
	#mm .submenu li a {
		font-size: 0.875rem;
		font-style: normal;
		font-weight: 300;
		line-height: 1.125rem;
		letter-spacing: -0.00875rem;
	}
	
	#mm .sub-menu li:last-of-type {
		border-top: 1px solid #E1E1DB;
		margin: 8px 0 0 0;
		padding: 12px 12px 0 12px;
	}
	
	#mm .sub-menu li:last-of-type a {
		display: inline-flex;
		width: auto;
		color: #ffffff;
		padding: 0 20px;
	}
	
	#mm .btn_contact {
		display: block;
		width: 100%;
		text-align: center;
		color: #ffffff;
		border-radius: 32px;
		background-color: #318FDA;
		font-size: 0.875rem;
		font-style: normal;
		font-weight: 300;
		line-height: 42px;
		letter-spacing: -0.00875rem;
		height: 42px;
		padding: 0 20px;
	}
	
	
	/* FOOTER */
	
	footer {
		padding: 0;
	}


}

