/**
Theme Name: QCES by Sara Rawlinson
Author: Sara Rawlinson
Author URI: https://sararawlinson.com
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: qces-by-sara-rawlinson
Template: astra
*/


/***************************
* DEFINING COLOURS RELATIVE TO WORDPRESS COLOURS
***************************/
:root {
 --border-color:var(--ast-global-color-0);
}




/***************************
* DEFINING FONTS
***************************/
h1.entry-title {
	font-size:2.8em !important;
}
.research-img figcaption strong {
  display:block;
  font-weight:900;
  font-size:18px;
}


/***************************
* HOMEPAGE TITLE BORDERS
***************************/
.page-id-2 h2 {border:0;}
.page-id-2 header.entry-header {border:0;}
.h2-front-1 {
  	margin-left:3%;
	min-height:2.5em;
	padding-left: .5em;
	padding-top: .5em;
	position: relative;
}
.h2-front-1::before {
	position: absolute;
	content:'';
	width: 1px;
	height: 100%;
	left:0;
	top:0;
	background-color: var(--border-color);
}
.h2-front-1::after {
	position: absolute;
	content:'';
	width: 80%;
	height: 1px;
	left:-1em;
	bottom:.5em;
	background-color: var(--border-color);
}
.h2-front-2 {
    height:2em;
	padding-left: .5em;
    float:right;
	padding-right:15%;
	position:relative;
}
.h2-front-2::before {
	position: absolute;
	content:'';
	width: 1px;
	height:calc(100% + .5em);
	left:0;
	top:-.75em;
	background-color: var(--border-color);
}
.h2-front-2::after {
	position: absolute;
	content:'';
	width: calc(100%);
	height: 1px;
	left:-1em;
	bottom:.5em;
	background-color: var(--border-color);
}
.h2-front-3 {
    padding-left:1em;
	margin-left:15%;
	height:2em;
	position:relative;
}
.h2-front-3::before {
	position: absolute;
	content:'';
	width: 1px;
	height: calc(100% + .5em);
	left:0;
	top:-.75em;
	background-color: var(--border-color);
}
.h2-front-3::after {
	position: absolute;
	content:'';
	width: calc(85%);
	height: 1px;
	left:-1em;
	bottom:.5em;
	background-color: var(--border-color);
}

.h2-front-4 {
	float:right;
	padding-left:.75em;
	padding-right:10%;
	height:2em;
	position:relative;
}
.h2-front-4::before {
	position: absolute;
	content:'';
	width: 1px;
	height: calc(100% + .5em);
	left:0;
	top:-.75em;
	background-color: var(--border-color);
}
.h2-front-4::after {
	position: absolute;
	content:'';
	width: calc(100% + 1em);
	height: 1px;
	left:-.5em;
	bottom:.5em;
	background-color: var(--border-color);
}

.p-front-1 {
	overflow:visible;
	min-height:3em;
	float:right;
	padding-right:10%;
	padding-left:20%;
	position:relative;
}
.p-front-1::after {
	position: absolute;
	content:'';
	width: 1px;
	height: calc(100% + 7em);
	right:1em;
	top:-7em;
	background-color: var(--border-color);
}





/***************************
* DEFINING BORDERS
***************************/
h1.entry-title {
	position:relative !important;
	padding: 0.2em;
	padding-left: 1em;
}

h1.entry-title::before {
	position: absolute;
	content:'';
	width: 1px;
	height: 100%;
	min-height:500px;
	left:20px;
	top:50px;
	background-color: var(--border-color);
}
h1.entry-title::after {
	position: absolute;
	content:'';
	width: 70%;
	height: 1px;
	left:0px;
	bottom:0px;
	background-color: var(--border-color);
}

.cols {
	margin-left:3em !important;
	margin-right:3em !important;
}
.group-2cols {
	position:relative;
	margin-top: 1.5em;
	margin-bottom:4em !important;
	margin-left: 5em !important;
	margin-right:3em !important;
	border-right-width:0px;
	padding:0 !important;
}
.group-2cols::before {
	position: absolute;
	content:'';
	width: 1px;
	height: 95%;
	left:-20px;
	top:35px;
	background-color: var(--border-color);
}
.group-2cols h2::after {
	position: absolute;
	content:'';
	width: 90%;
	height: 1px;
	left:-35px;
	top:60px;
	background-color: var(--border-color);
}

.group-2cols p.upper {
  padding-left:25px;
}

.group-2cols h3 {
  position:relative;
	display:inline;
	text-decoration:underline solid 1px var(--border-color);
	text-underline-offset: 18px;
}
.group-2cols h3::before {
	position: absolute;
	content:'';
	width: 1px;
	height: 170%;
	right:-.5em;
	top:.5em;
	background-color: var(--border-color);
}
.group-2cols h3::after {
	position: absolute;
	content:'';
	width: 100%;
	height: 1px;
	right:-100%;
	bottom:-1em;
	background-color: var(--border-color);
	overflow:hidden;
}

.group-2cols .wp-block-columns .h3-separator {
	position:relative;
    margin-left:30%;
	height:130px;
	margin-top:-4em;
}
.group-2cols .wp-block-columns .h3-separator::after {
}


@media screen and (max-width: 1250px) {
	h1.entry-title {
		padding-left:0em;
	}
	h1.entry-title::before {
		top:70px !important;
		margin-left:-.25em !important;
	}
  .group-2cols, .cols {
	  margin-left:1em !important;
	  margin-right:1em !important;
		padding-left:0 !important;
		padding-right:0 !important;
  }
	h2, .entry-content h2 {
		line-height:em;
	}
}
@media screen and (max-width: 750px) {
	.group-2cols h2::after {
		top:3em;
	}
	.group-2cols h2.sasha::after {
		top:3em;
	}
	.group-2cols h2 {
		margin-left:0em !important;
	}
}
@media screen and (max-width: 350px) {
	.group-2cols h2.sasha::after {
		top:4em;
	}
}


/***************************
* IMAGES WITHIN COLUMNS
***************************/
.group-2cols img {
	width:80%;
	margin:1em 1em;
}
.research-img img {
	margin-left:0 !important;
}
@media screen and (max-width: 1250px) {
	.group-2cols img {
		width:100%;
		margin-right:0;
	}
}



/***************************
* FOOTER BUTTONS
***************************/
.ast-footer-button-1 .ast-builder-button-wrap, .ast-footer-button-2 .ast-builder-button-wrap {
	width:100% !important;
	text-align:center;
	text-transform:uppercase;
}
.site-below-footer-wrap {
	/*position:fixed;*/
	bottom:0;
	margin-top:5em;
}



/***************************
* OFF-CANVAS (MOBILE) MENU
***************************/
.ast-mobile-popup-drawer .ast-mobile-popup-overlay {
	background-color: var(--ast-global-color-2);
	opacity:.7 !important;
}





/******************************
 * 
 *  UNIV HEADER
 * 
******************************/
.ast-header-button-1 {
	padding-right:0;
	height:32px;
	width:164px;
	background-color:#343434;
	text-align:left;
}
.header-widget-area {
	padding-right:0 !important;
	max-width:250px;
}
.header-widget-area input {
	padding: 7px;
	margin: 0;
	background-color:#343434;
	height:100% !important;
	width:100%;
	max-width:250px;
	border:0px;
	color: #fff;
	font-size: 13px;
	font-family:inherit;
}
.header-widget-area input[type=text] {
	background-color:#343434;
	color:#fff;
}
.ast-header-html-3 {
	padding-left:0;
}


/** mega menu header **/
#mega-menu-wrap-menu_3 #mega-menu-menu_3 > li.mega-menu-item.mega-toggle-on > a.mega-menu-link, #mega-menu-wrap-menu_3 #mega-menu-menu_3 > li.mega-menu-item > a.mega-menu-link:hover {
	border-bottom: 4px solid #fff !important;
}
li.mega-menu-column {
	border-left: 1px solid #323232 !important;
	border-top: 1px solid #323232 !important;
}
li.mega-menu-column#mega-menu-810-1-2, li.mega-menu-column#mega-menu-826-1-2 {
	border-right: 1px solid #323232 !important;
}
li.mega-menu-row#mega-menu-810-1 .mega-menu-column, li.mega-menu-row#mega-menu-826-1 .mega-menu-column {
	height:250px !important;
}
.upper-column {
	padding:20px 0px !important;
}
.upper-column a {padding:0 !important;}

#mega-menu-wrap-menu_3 #mega-menu-menu_3 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
	border-bottom:1px solid #323232;
}
li#mega-menu-item-827 a.mega-menu-link, li#mega-menu-item-825 a.mega-menu-link, li#mega-menu-item-811 a.mega-menu-link, li#mega-menu-item-816 a.mega-menu-link {
	border-bottom:0 !important;
}
div.mega-menu-toggle {
	background-color:#000 !important;
}
div.mega-menu-toggle .mega-toggle-block-1 {
	background-color: #343434 !important;
}

.univ-submenu-toprow li {
	margin:10px 0px !important;
}
.univ-submenu-toprow a {
	border-bottom:0 !important;
}
li .univ-submenu-column-close {
	margin:0px !important;
	padding:20px 0px !important;
	border-top:0 !important;
	background-color:#000 !important;
	border-right:1px solid #343434 !important;
}
p.univ-submenu-close {
  border-top:0 !important;
	margin-bottom:0 !important;
}
p.univ-submenu-close::after {
	content:'\f345';
}
ul .mega-sub-menu.right {
	border-right:1px solid #343434 !important;
}

/** search Univ menu **/
.container-inline {
	display: flex !important;
}
form#site-search-btn {
}
.cam-site-search input {
	background-color: #343434 !important;
	color:#fff;
	border:none;
	height:19px;
	font-size:14px;
}
.cam-site-search {
}

/******************************
 * 
 *  SECONDARY MENU (UNIV QUICK LINKS)
 * 
******************************/
#mega-menu-wrap-secondary_menu #mega-menu-secondary_menu > li.mega-menu-item > a.mega-menu-link {
	width:196px;
}
#mega-menu-wrap-secondary_menu #mega-menu-secondary_menu li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator {
  height:100%;
  width:32px;
	float:right;
	font-size:0;
	background-image:url("https://www.postgraduate.study.cam.ac.uk/sites/all/themes/cambridge_theme/images/interface/btn-quicklinks-sprite.png");
}
ul#mega-menu-secondary_menu ul.mega-sub-menu li.mega-menu-item a::before {
	content:'\f345';
}


/******************************
 * 
 *  UNIV MOBILE MENU
 * 
******************************/
@media (max-width:1200px){
	.mega-menu-toggle {
		width:50px;
	}
	ul.mega-sub-menu {
		max-width:350px !important;
	}
  ul#mega-menu-menu_3 {
		background:#000 !important;
		width:350px !important;
	}
	#mega-menu-wrap-menu_3 #mega-menu-menu_3 > li.mega-menu-item.mega-toggle-on > a.mega-menu-link, #mega-menu-wrap-menu_3 #mega-menu-menu_3 > li.mega-menu-item > a.mega-menu-link:active {
	border-bottom: 4px solid #555 !important;
}
}


/******************************
 * 
 *  UNIV FOOTER
 * 
******************************/
.campl-unstyled-list{
	list-style:none;
	margin:10px;
	font-family:myriad, verdana, arial, sans-serif;
	font-size:90%;
	line-height: ;
}
.footer-widget-area figure.wp-block-image {
	width:100%;
}
.footer-widget-area figure.wp-block-image img {
	width:200px !important;
}
h3.uni-foot {
	font-family:myriad, verdana, arial, sans-serif;
	font-weight:600;
	font-size:120%;
	text-transform:none;
	margin-bottom:11px;
}