/*
Theme Name: USYD Brand
Theme URI: https://sydney.edu.au
Author: USYD Wordpress Team
Author URI: http://sydney.edu.au
Description: University of Sydney branded theme
Requires at least: 6.0
Tested up to: 6.5.2
Requires PHP: 5.7
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: usydbrand
Tags: full-site-editing
*/

/* used on the border of the header */
.shadow-effect {
box-shadow: 0 4px 21px 0 rgba(0, 0, 0, 0.06);
}

/* stretches the header to full width of the device */
.fixed-header {
	position:fixed ;
	width:100%;
	z-index:2;	
}



/* sets the maximum width for the content of the page. not including the header and footer. */
.container-fluid {
	max-width: 1200px;
	margin-right: auto;
	margin-left:auto;
}

/* device size for the header */
@media screen and (max-width: 650px) {
    .desktop-header {
        display: none !important;
    }

}

@media screen and (min-width: 651px){
	.mobile-header {
        display: none !important;
    }

}
@media screen {
	.printed-header {
		display: none !important;
	}
}

@media print {
	.desktop-header {
		display: none !important;
	}
	.mobile-header {
		display: none !important;
	}
	.screen_display {
		display:none !important;
	}
}

/* device size for the footer */
@media screen and (max-width: 800px) {
		.footer-border {
		border-right: none;
		padding-right:0;
	}
	.footer-col-1-align {
		text-align: center;
	}
	.footer-col-2-align {
		text-align:center;
	} 
	.footer-button-align {
		margin:auto !important;
		
	}

	.footer-links {
		flex-direction: column;
		 gap: 3px;
		align-items: start !important;
	}
	.abn-dets {
		align-items: start !important;
	}
}

@media only screen and (min-width: 801px){

	.footer-border {
	border-right: 1px solid #141414;
	padding-right:10%;
	}
	
	.footer-col-2-align {
		text-align:right;
	}
	.align-logo {
		margin-right:5%;
	}
	.abn-dets {
		padding-left:35%;
	}
}


/* create a hover overlay on the blog post feature image */
.hover-opacity:hover{ 
	
	opacity:0.6;
	filter:alpha(opacity=60); /* For IE8 and earlier */
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-ms-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
}


/* remove the flex gap between the Site Title and the Site Tagline in the footer */
.no-gap{
	gap:3px !important
}

/* main menu navigation submenu styles */
.wp-block-navigation__submenu-container{
	background-color:#E7E7E8 !important;
	border:0px !important;
}

/* active menu item */
.current-menu-item {
	text-decoration: underline;
	text-decoration-color: #c63a1e;	
	text-underline-offset: 1rem;
	text-decoration-thickness: 2px;
}

li.wp-block-navigation-item {
		padding:15px !important;
}

li.wp-block-navigation-item:hover {
	background-color:#c63a1e ;
	color:white;
}
/* end menu css */


/* Page and post breadcrumbs.  Code in the functions.php */
.breadcrumbs {
	margin: 0;
	padding: 0;
	overflow: hidden;
	list-style-type: ">";
	background-color: #f3f3f3;
}
.breadcrumbs li {
	float:left;
	padding:10px;
    }
/* end breadcrumbs css */

.wp-block-separator {
    width: 50%;
    display: block;
}

/* controls the search field in the header */
.wp-block-search.wp-block-search__button-only .wp-block-search__button {  
    max-width: calc(100% - 0px) !important;
}
/* stops the browser user agent style for the outline when the search field has focus */
#wp-block-search__input-2, #wp-block-search__input-5{
	outline:0;
}