/*
Theme Name: Oriel-Azure
Author:
Description:
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: full-site-editing
Text Domain: orielhigh
*/

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
	line-height: 1.1;
}

h1, h2, h3, title {
	color:#342874;
	margin-top: 5px;
	margin-bottom: 5px;
}

h4, h5, h6 {
    margin-top: 10px;
    margin-bottom: 10px;
	color:#342874;
}

h2 {
	font-size: 1.5rem;
}

h3 {
	font-size: 1.3rem;
}

h4 {
	font-size: 1.2rem;
}

h5 {
	font-size: 1.15rem;
}

h6 {
	font-size: 1rem;
}

a:link {
	text-decoration: none
}

p {
	margin: 0 0 10px;
}

.wp-block-file {
	font-size: 1rem !important;
	line-height: 200%;
}

.wp-block-file__button {
    background-color: #72699e !important;
}

:where(.wp-block-file__button) {
    border-radius: 2em !important;
    padding: .2em .6em !important;
}

/* Page Title */
#main .wp-block-post-title, title, .wp-block-query-title, #post-page .wp-block-post-title {
	display: block !important;
	text-transform: uppercase;
	margin-top: 10px;
	margin-bottom: 5px;
	border-bottom: 3px solid #febb5e;
	font-size: 2.25rem;
	font-weight: 475;
}

.is-layout-constrained>:where(:not(.alignleft):not(.alignright):not(.alignfull)).wp-block-columns {
	margin-left: 0px !important;
	margin-right: 0px !important;
}

.wp-block-separator {
	width: 100% !important;
	opacity: 1 !important;
}
/* ------------- Header --------------- */


/*.top-hidden {
      margin-top: var(--wp-admin--admin-bar--height,0);
}*/

/* The hidden menu */
.top-hidden {
	height: 0;
	width: 100%;
	position:absolute; 
	z-index: 2; /* to keep it on the top layer */
	top: 0;
	left: 0;
	right:0;
	background-image: linear-gradient(180deg, #72699e, white);
	overflow-y: hidden;
	overflow-x: hidden;
	transition: 0.5s; 
	color: #febb5e;
	line-height: 1.42857143;
	font-size: 1.05rem;
	font-weight: 470;
}

.top-hidden a {
  text-decoration: none;
  color: #342874;
  display: block;
  transition: 0.3s;
}

.top-hidden a:hover {
  color: #febb5e;
}

#hidden-height {
	display:flex;
	flex-wrap: wrap;
}

/* Position and style the close button (top right corner) */
.top-hidden .closebtn {
	position: absolute;
	top: 0;
	right: 25px;
	font-size: 36px;
	margin-left: 50px;
	display: none;
}

.header-search{
	height: 1.5rem;
	padding-right: 10px;
}

.wp-block-search__inside-wrapper {
	max-height: 1.5rem;
	background-color: transparent;
}

.wp-block-search__label{
	display: none;
}

.wp-block-search__button:before {
	font-family: "dashicons";
	content: "\f179";
}

.wp-block-search__button {
	padding: calc(0.6em + 2px) calc(0.5em + 2px) !important;
}

@media (min-width: 600px) {
	.wp-block-search__input {
		background: transparent;
	}
	.header-search{
		float: left;
	}
}

@media (max-width: 600px) {
	.wp-block-search__input {
		opacity: 0.6;
	}
	.header-search{
		float: none;
		padding-right: 0;
	}
	#web-resources {
		float: none !important;
	}
}

#top-bar button {
	text-decoration:none;
	border: none;
	background: none;
	color:#342874;
	font-size: 1.1rem;
	font-weight: 520;
	line-height: 0;
	margin: 0px;
	text-transform: uppercase;
}

.header-search button{
	max-height: 10px;
	font-size: 1rem;
}

#web-resources {
	float: right;
}
#web-resources:hover {
	color: #febb5e;
}

#resource-arrow:after {
	font-family: "dashicons";
	content: "\f343";;
}

#resource-arrow {
	padding: 0;
}

#top-bar button:hover {
	color:#febb5e;
	cursor:pointer;
}

#main, #front-main, #search-page, #post-page {
	transition: transform .5s;
	padding-top: 0px;
}

.hidden-menu-column-left{
	float:left;
	width:30%;
}

.hidden-menu-column{
	float:left;
	width:17.5%;
}

@media (max-width: 600px) {
	#hidden-height {
		justify-content: center;
	}
	.hidden-menu-column-left {
		float: none;
		text-align: center;
		width: 100%;
	}
	.hidden-menu-column {
		float: none;
		text-align: center;
		width: 100%;
	}
	.slideshow-container {
		display: none;
	}
	.responsive-container {
		display: block;
	}
	
	#top-bar {
		float: none;
		text-align: center;
		align-items: center;
	}
	.site-header {
		width: 100%;
	}
	#top-bar button {
		color: #ffffff;
	}
	.top-hidden .closebtn {
		display: block;
	}
}

/* Slideshow container */
.slideshow-container {
	position: relative;
	z-index: 1
}

.slider-dots {
	text-align: center;
	display: none;
}

/* Hide the images by default */
.mySlides, .alt-image {
	width: auto;
	height: auto;
	display: none;
	line-height: 0%
}

.alt-image-active {
	width: auto;
	height: auto;
	line-height: 0%
}

@media (min-width:600px){
	.responsive-container {
	display: none;
	}
}

.responsive-slide {
	background-color: #342874;
	height: 150px;
	width: 100%;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: none;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 8s;
}

@keyframes fade {
    0% {opacity: 0;}
    20% {opacity: 1;}
    33% {opacity: 1;}
    90% {opacity: 1;}
    100% {opacity: 0;}
}


/* Top of Header */

.top-container {
	width: 100%;
	position: absolute;
	z-index: 100;
	background-image: linear-gradient(180deg, white, transparent);
	padding-top: 10px;
	height: 140px;
}

.top-row {
	align-content: center;
	/*width: 62.5%;*/
	margin-left: auto;
	margin-right: auto;
	width: clamp(65%, 1200px, 80%);
	/*margin-left: 18.75%;
	margin-right: 18.75%;*/
}

.header-top {
	z-index: 100;
}

.header-top img {
	max-width: 30%;
	height: auto;
}

.split-left {
	width: 50%;
	float: left;
}

.split-right {
	width: 50%;
	float: right;
}

.wp-block-site-logo {
	max-width: 30%;
}

.ocs-trigger{
	padding: 0px 5px 0px 0px !important;
}

#ocs-hidden-menu-people {
	height: auto !important;
	padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 600px){
	#top-bar{
	float: right;
	}
}

/*---- Header Main Menu Bar ----*/

.nav-row {
	background-color: #342874;
	color: #ffffff;
	text-transform: uppercase;
	/*font-size: 1.05rem;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	padding-right: 10px;*/
	width: inherit;
	justify-content: center;
	font-weight: 510;
	font-size: clamp(0.8rem, 1.1vw, 1rem);
}

/*.wp-block-pages-list__item:has(.wp-block-navigation__submenu-container) a:active{
	pointer-events: none;
}*/

.wp-block-navigation__submenu-container>.wp-block-navigation-item a:active{
	pointer-events: all; 
}

/* Active page gets highlighted*/
.nav-row .wp-block-pages-list__item.current-menu-item:not(.wp-block-navigation__submenu-container) {
	background-color: #febb5e;
}
/*Top Menu Bar gets highlighted when submenu page is active. the :has selector is a relatively new addition to css and dreamweaver doesn't seem to recognise it, but it works on the website*/
.nav-row .wp-block-pages-list__item:has(.wp-block-pages-list__item.current-menu-item):not(.wp-block-navigation__submenu-container>.wp-block-navigation-item) {
	background-color: #febb5e;
}
.nav-row .wp-block-pages-list__item .wp-block-navigation__submenu-container>.wp-block-navigation-item:has(.wp-block-pages-list__item.current-menu-item) {
	color: #febb5e;
}
/*Submenu Items get highlighted when active*/
.wp-block-navigation__submenu-container>.wp-block-pages-list__item.current-menu-item {
	color: #febb5e;
}
/*Makes sure the background of the submenu items are correct*/
.nav-row .wp-block-navigation__submenu-container>.wp-block-pages-list__item.current-menu-item>.wp-block-navigation-item__content {
	background-color: #72699e !important; 
}
/*Menu items get highlighted when hovered over*/
.nav-row .wp-block-navigation-item:hover:not(.wp-block-navigation__submenu-container>.wp-block-navigation-item){
	background-color: #febb5e;
}

/*Gets rid of the border on the last item in the bar*/
.wp-block-page-list .wp-block-navigation-item:last-child :not(.wp-block-navigation__submenu-container) {
	border-right: transparent !important;
}

.wp-block-page-list .wp-block-navigation-item:not(:first-child):not(:last-child):not(:has(.wp-block-navigation__submenu-container)):not(.wp-block-navigation__submenu-container>.wp-block-navigation-item)  {
	display: none !important;
}

/*Formatting for the drop down menu container*/
.nav-row .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
	background-color: #72699e !important; 
	color: #ffffff !important;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	white-space: nowrap;
}
/*Sets the padding to the left and right of the submenu items- nevermind this didn't seem to actually do anything, but i'm leaving it here just in case
.wp-block-navigation__submenu-container {
	padding: 10px 0px 10px 0px !important;
}*/
/*Sets the padding above and below submenu items*/
.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content {
	padding: 5px 0 !important;
}

.nav-row .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
	display: none !important;
}

/*Sets the border between the submenu items*/
@media (min-width: 600px){
	.wp-block-navigation__submenu-container>.wp-block-navigation-item {
		border-bottom: 1px solid #ffffff;
	}
/*Sets the padding and border stuff for the items in the bar*/
	.nav-row .wp-block-page-list .wp-block-navigation-item :not(.wp-block-navigation__submenu-container) {
		border-right: 2px solid #72699e;
	}
	.wp-block-page-list .wp-block-navigation-item :not(.wp-block-navigation__submenu-container) {
		box-sizing: border-box;
		padding: 10px 15px 10px 15px !important;
	}
	.wp-block-pages-list__item:has(.wp-block-navigation__submenu-container) a:active{
		pointer-events: none;
	}
	.wp-block-navigation__submenu-container>.wp-block-navigation-item a:active{
		pointer-events: all; 
	}}




/*Sets the last submenu item to not have a visible border*/
.wp-block-navigation__submenu-container>.wp-block-navigation-item:last-child {
	border-bottom: transparent !important; 
}
/*Sets the hover properties for the submenu items*/
.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content:hover {
	color: #febb5e;
}
/*Padding left and right of the submenu*/
.nav-row .wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container {
	padding: 0px 15px 0px 15px !important;
	text-transform: none;
	font-size: 1rem;
	z-index: 99;
}
/*Removes padding of the container that holds each submenu item*/
.wp-block-navigation__submenu-container>.wp-block-pages-list__item.wp-block-navigation-item.open-on-hover-click:not(.page-column-left .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container>li) {
	padding: 0 !important;
}
/*Hides the little down chevron arrow on bar menu items with submenu items*/
.wp-block-navigation .wp-block-navigation__submenu-icon {
	display:none !important;
}

@media (max-width: 600px){
	.wp-block-navigation:not(.has-text-color) .wp-block-navigation__responsive-container.is-menu-open{
		color: #ffffff !important;
		background-color: #72699e !important;
		border-radius: 15px;
		box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	}
	.wp-block-navigation__responsive-container-close {
		padding: 10px !important;
	}
	
	.menu-item-home {
		border-bottom: 1px solid #ffffff !important;
	}
	.wp-block-pages-list__item:has(.wp-block-navigation__submenu-container) {
		border-bottom: 1px solid #ffffff !important;
	}
	
	.wp-block-navigation__submenu-container > .wp-block-pages-list__item:has(.wp-block-navigation__submenu-container) {
		border-bottom: none !important;
	}
	
	.wp-block-navigation__submenu-container > .wp-block-pages-list__item:has(.wp-block-navigation__submenu-container) > .wp-block-pages-list__item__link {
		z-index:100;
	}
	
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
		padding-top: 0px !important;
		padding-bottom: 10px !important;
		text-transform: none !important;
	}
	.wp-block-navigation__responsive-container-content {
		padding-top: 24px !important;
		padding-bottom: 24px !important;
	}
	.wp-block-page-list .wp-block-navigation-item :not(.wp-block-navigation__submenu-container) {
		box-sizing: border-box;
		padding: 7px 15px 7px 15px !important;
	}
	.wp-block-page-list .wp-block-navigation-item:last-child :not(.wp-block-navigation__submenu-container) {
		border-bottom: none !important;
	}
	
	.wp-block-navigation__responsive-container {
		height: 95%;
		margin-top: 5% !important;
	}
	.wp-block-navigation__responsive-close {
		height: 100% !important;
		justify-content: center !important;
	}
	.wp-block-navigation__responsive-dialog {
		/*display: flex;
		flex-wrap: wrap;*/
		height: 100% !important;
		/*justify-content: center !important;
		align-content: space-around !important;*/
	}
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
		height: 100% !important;
	}
	.wp-block-navigation__responsive-container.is-menu-open {
		max-height: 700px !important;
	}
	.wp-block-page-list {
		font-size: 1.4rem;
		justify-content: center !important;
	}
	/* Hide submenu items on mobile menu */
	.wp-block-navigation-item.open-on-hover-click .wp-block-navigation-submenu__toggle[aria-expanded="false"] ~ ul.wp-block-navigation__submenu-container{
    	display:none;
	}
	.wp-block-navigation .wp-block-navigation__submenu-icon { height: 100% !important; width: 100% !important; position: absolute !important; opacity: 0%;  /*padding: 3px !important; right: 0 !important; top: 4px !important*/; 
	}
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-icon {
		display: block !important; 
	}
	.wp-block-navigation__submenu-container {
		font-size: 1.2rem !important;
		line-height: 1.4 !important;
		border: none !important;
	}
	
}

/*Latest News Formatting*/
@media (min-width:600px){
	#front-main .wp-block-latest-posts__list{
		display: flex;
		flex-wrap: nowrap; 
		justify-content: space-around;
	}
	#front-main .wp-block-latest-posts.wp-block-latest-posts__list li{
		width: 20%;
		text-align: left;
		background-color: #72699e;
		color: #febb5e !important;
		font-size: 1.1rem;
		font-weight: 450;
		/*padding: 0.5em;
		white-space: nowrap;
		text-overflow: ellipsis !important;*/
		overflow: hidden;
	}
	#front-main .wp-block-latest-posts__featured-image img{
		background-color: #ffffff;
		width: 100% !important;
		height: 230px !important;
		object-fit: cover;
	}
	#front-main .wp-block-latest-posts__featured-image {
		height: 230px !important;
	}
	#front-main .wp-block-latest-posts.wp-block-latest-posts__list a{
		color: #febb5e !important;
		padding: 0.5em !important;
		box-decoration-break: clone;
	}
	/*#front-main .wp-block-latest-posts__post-title {
		padding-left: 15px;
		padding-right: 15px;
	}*/
}
@media (max-width:600px){
	#front-main .wp-block-latest-posts.wp-block-latest-posts__list li {
		display: none;
	}
	#front-main .wp-block-latest-posts.wp-block-latest-posts__list li:first-child {
		width: 75%;
		display: block;
		text-align: center;
		background-color: #72699e;
		font-size: 1.1rem;
		font-weight: 450;
		padding-bottom: 10px;
	}
	#front-main .wp-block-latest-posts__list{
		display: flex;
		flex-wrap: nowrap; 
		justify-content: center;
	}
	#front-main .wp-block-latest-posts__featured-image img{
		background-color: #ffffff;
		width: 100% !important;
		height: 230px !important;
		object-fit: cover;
	}
	#front-main .wp-block-latest-posts.wp-block-latest-posts__list a{
		color: #febb5e !important;
	}
	
}

/* Footer */

.footer-row {
	border-top: 3px solid #febb5e;
	background-color: #342874;
	color: #ffffff;
	font-size: 0.90rem;
	padding-top: 10px;
	padding-bottom: 12px;
	padding-left: 10px;
	padding-right: 10px;
	z-index: 10;
	position: relative;
}

.footer-row a{
	color: #ffffff;
}
a:hover{
	color: #febb5e;
}

.container {
	width: auto;
}

.footer-right {
	text-align: right;
	float: right;
	width: 50%;
	padding-top: 14.4px;
	/*margin-bottom: 20px;*/
	line-height: 1.42857143;
	}
	
.footer-left{
	text-align: left;
	padding-top: 14.4px;
	width: 50%;
	line-height: 1.42857143;
	}
.footer-left img{
	/*position: absolute;*/
	bottom: 0;
}
#footer-socials{
	padding-top: 14.4px;
	display: flex;
}
#footer-socials a{
	padding-right: 15px;
}


@media (max-width: 768px) {
.footer-right {
	text-align: center;
	float: none;
	padding: 0px;
	width:100%;
	margin-bottom:0px;
	}
.footer-left {
	text-align: center;
	clear: none;
	padding: 0px;
	width:100%;
	}
#footer-socials{
	flex-direction: column;
	padding: 0 !important;
	}
#footer-socials a{
	padding: 0px;
}
}

/* Search Results Page
-------------------------------------------------- */

.wp-block-query a {
	border-bottom: none;
	color: #342874
}


/* Page Template 
-------------------------------------------------- */
.page-card{
	padding: 15px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	border-radius: 5px;
}

.wp-block-post-content {
	padding: 5px;
}

@media(min-width:600px){
.page-column-left {
	float: left;
	width: clamp(15%, 20vw, 27%);
	/*width: 25vw;*/
	height: 100%;
	display: block;
}
	
.page-column-left .wp-block-pages-list__item:has(.wp-block-pages-list__item.current-menu-item){
	background-color: #342874 !important;
}
	
.page-column-left a.wp-block-pages-list__item__link.wp-block-navigation-item__content:not(.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content){
	color: #ffffff !important;
	border-bottom: 2px solid #febb5e;
	font-size: 1.3rem;
	font-weight: 500;
	text-transform: uppercase;
}

.page-column-left .wp-block-pages-list__item:not(:has(.wp-block-pages-list__item.current-menu-item)):not(.wp-block-navigation__submenu-container>.wp-block-navigation-item) {
	display:none;
}
.page-column-left .wp-block-pages-list__item{
	width: 100% !important;
}
.page-column-left .wp-block-navigation .wp-block-navigation-item__content{
	width: 100% !important;
}
.wp-block-navigation.items-justified-center {
	width: 100% !important;
}

.page-column-left .wp-block-navigation__submenu-container {
	height: auto !important;
	opacity: 1 !important;
	width: 100% !important;
	visibility: visible !important;
	padding-left: 15px;
	padding-right: 15px;
	position: static !important;
	background-color: #342874 !important;
	color: #ffffff !important;
	border-right: transparent !important;
	font-size: 1.05rem;
	font-weight: 500;
}

.page-column-left .wp-block-navigation .wp-block-navigation-item {
	flex-direction: column;
}
.page-column-left .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{
	border: transparent !important;
}
.page-column-left .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container>li {
	padding: 0px 0px 0px 30px !important;
	border-bottom: transparent !important;
}

.page-column-left .wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]~.wp-block-navigation__submenu-container {
	min-width: 100% !important;
}
/*.twitter-timeline {
	justify-content: center;
	margin-left: auto;
	margin-right: auto;
}*/
}

@media (max-width:600px){
	.page-column-left{
		display: none;
	}
}

.tablepress {
	table-layout: auto !important;
}

#cookie-notice {
	display: none;
	position: fixed; bottom:0px;
    min-width: 100%;
    height: auto;
    z-index: 100000;
	text-align: center;
	justify-content: center;
	width: 100%;
	background: #342874;
	color: #ffffff;
	padding-top: 10px;
	padding-bottom: 10px;
}

#cn-buttons {
	display: flex;
	justify-content: center;
}
#cn-buttons a{
	width: 20%;
}

embed, iframe, object {
	margin-bottom: 1rem;
	max-width:100%;
}


/*@media (max-width: 600px){
	.twitter-timeline, .page-column-left {
		display: none !important;
	}
}*/
/*.page-column-left .wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container {
	display: none !important;
}/*

