/*
Theme Name: OVC Theme - MIT Office of the First Year
Theme URI: https://zaydmedia.com/
Author: Zayd Media
Author URI: https://zaydmedia.com/
Template: ovctheme
Version: 2.0
*/

@import 'css/style.min.css';

/*** CUSTOM CSS ***/

body.ofytheme h2 {
    font-size: 22px;
    line-height: 26px;
    font-weight: 700;
    margin: 1.5em 0 .5em 0;
    color: #2b1f19;
}

body.ofytheme h3 {
    font-size: 18px;
    line-height: 22px;
    font-weight: 700;
    margin: 1.5em 0 .5em 0;
    color: #2b1f19;
}

body.ofytheme h2.is-style-introductory-text {
    font-size: 30px;
    line-height: 34px;
    color: #a31f34;
    font-weight: 300;
	margin-top: 0;
}

body.ofytheme #page-title-wrapper h1 {
    color: #fff;
    font-size: 40px;
    font-weight: 300;
	  margin-bottom: 4px;
}
/* change headings to Helvetica */
body.ofytheme h1, body.ofytheme h2, body.ofytheme h3, body.ofytheme h4, body.ofytheme h5, body.ofytheme h6 {
    font-family: Helvetica,Arial,sans-serif;
    color: #2b1f19;
}

body.ofytheme #main-nav li .dropdown-menu a {
    color: #204a88;
    font-size: 15px;
    font-weight: 400;
}

@media (max-width: 991px) {
	body.ofytheme #main-nav,
	body.ofytheme #main-nav > .navbar-toggler,
	body.ofytheme #main-nav > .navbar-toggler:focus,
	body.ofytheme #main-nav > .navbar-toggler:hover {
		background-color: #a31f34 !important;
		background: #a31f34 !important;
	}	
	body.ofytheme #main-nav li .dropdown-menu li a {
		color: #fff;
	}
	body.ofytheme #main-nav li a {
		color: #fff;
	}
	body.ofytheme #main-nav li .dropdown-menu li {
		border-bottom: 1px dashed #e7e8e8;
	}
	body.ofytheme #main-nav li .dropdown-menu {
		background: 0 0;
		box-shadow: none;
	}
	body.ofytheme #main-nav li a.dropdown-toggle.nav-link {
		color: #fff;
		top: 25px;
	}
	body.ofytheme #main-nav li a:after {
		background: #a31f34;
		height: 4px;
		width: 0;
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		transition: all .5s ease;
	}
	body.ofytheme #main-nav li:first-child {
		padding: 0 30px;
	}
	body.ofytheme .hero-image .hero-headline {
		min-height:175px;
		height:auto;
	}
}

@media (min-width: 768px) and (max-width:991px) {
	body.ofytheme .hero-image .hero-accordions {
		width: 35%;
	}
}

body.ofytheme .content-blocks .content-block #search-filter-results-154 h5 {
	color:#2b1f19;
}
body.ofytheme .content-blocks .content-block #search-filter-results-154 h5 a {
    font-size: 16px;
    font-weight: 600;
	color: #204a88;
	text-decoration:none;
}
body.ofytheme .content-blocks .content-block #search-filter-results-154 h5 a:hover {
	text-decoration:underline;
}

.wp-block-coblocks-accordion-item__title {
	color:#1C75BB;
	font-size:21px;
	line-height:24px;
	font-weight:bold;
	border:1px solid #BBBDBF;
	padding:15px;
	padding-left:60px;
	background:url(/wp-content/uploads/2024/02/Office-of-the-First-Year-logos-1.jpg) no-repeat 10px center !important;
	background-size:40px auto !important;
}
details summary.wp-block-coblocks-accordion-item__title::marker,
details summary.wp-block-coblocks-accordion-item__title::-webkit-details-marker {
  display:none;
}
details > summary {
  list-style: none;
}
details[open] > .wp-block-coblocks-accordion-item__title {
	background:url(/wp-content/uploads/2021/06/Asset-1-8.png) no-repeat 10px center !important;
	background-size:40px auto !important;
}
.wp-block-coblocks-accordion-item__content {
	padding:15px 0;
}
.wp-block-coblocks-accordion-item__title:focus, 
.wp-block-coblocks-accordion-item__title.has-background:focus,
summary:focus {
	outline:none;
}
body.ofytheme .wp-block-coblocks-accordion-item__content h1,
body.ofytheme .wp-block-coblocks-accordion-item__content h2,
body.ofytheme .wp-block-coblocks-accordion-item__content h3,
body.ofytheme .wp-block-coblocks-accordion-item__content h4,
body.ofytheme .wp-block-coblocks-accordion-item__content h5 {
	margin-top:0;
}

body.ofytheme .main-content-well .blog-main ul li:before {
    height: 8px;
    width: 8px;
    top: 7px;
}
@media (min-width: 768px) {
	body.ofytheme .main-content-well .blog-main.col-md-9 {
		padding-top: 65px;
	}	
}
@media (max-width: 768px) {
	body.ofytheme .main-content-well .blog-main {
		padding-left: 20px;
		padding-right: 20px;
	}
}
body.ofytheme .hero-image .hero-accordions button:hover,
body.ofytheme .hero-image .hero-accordions button:focus{
    background-color: transparent !important;
    text-decoration: underline;
}

.wp-block-embed__wrapper {
	  position: relative;
	  padding-bottom: 56.25%; /* 16:9 */
	  height: 0;
}
.wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
 body.ofytheme.single-profiles .main-content-well .blog-sidebar #sidebarmenu>ul>li.menu-item-92 .sub-menu .menu-item-96 a {
    color: #2b1f19;
}
body.ofytheme.single-profiles .main-content-well .blog-sidebar #sidebarmenu>ul>li.menu-item-92 .sub-menu .menu-item-96 > a,
body.ofytheme.single-profiles .main-content-well .blog-sidebar #sidebarmenu>ul>li.menu-item-92 .sub-menu .menu-item-96 li.current-menu-item > a {
    color: #a31f34;
}
body.ofytheme .main-content-well .blog-main li {
	list-style:unset;
}
.wp-pagenavi span,
.wp-pagenavi a {
	padding:5px 10px;
}
.wp-pagenavi span.current {
    background: #eee;
}

body.ofytheme.single-fgp_story .main-content-well .blog-sidebar #sidebarmenu li#menu-item-106,
body.ofytheme.single-fgp_story .main-content-well .blog-sidebar #sidebarmenu li#menu-item-106 > .sub-menu,
body.ofytheme.single-fgp_story .main-content-well .blog-sidebar #sidebarmenu li#menu-item-106 li#menu-item-383 > .sub-menu {
	display:block;
}
body.ofytheme.single-fgp_story .main-content-well .blog-sidebar #sidebarmenu li#menu-item-106 > a {
	display:none;
}
body.ofytheme.single-fgp_story .main-content-well .blog-sidebar #sidebarmenu li#menu-item-106 li#menu-item-383 > a,
body.ofytheme.single-fgp_story.tax_faculty .main-content-well .blog-sidebar #sidebarmenu li#menu-item-106 li#menu-item-383 > .sub-menu #menu-item-925 > a,
body.ofytheme.single-fgp_story.tax_student .main-content-well .blog-sidebar #sidebarmenu li#menu-item-106 li#menu-item-383 > .sub-menu #menu-item-924 > a,
body.ofytheme.single-fgp_story.tax_alumni .main-content-well .blog-sidebar #sidebarmenu li#menu-item-106 li#menu-item-383 > .sub-menu #menu-item-929 > a {
	color:#a31f34;
}
body.ofytheme.single-fgp_story .main-content-well .blog-sidebar #sidebarmenu li#menu-item-106 li#menu-item-383 > .sub-menu a {
    font-size: 14px;
    font-weight: 400;
}

#search-filter-results-922 h3,
#search-filter-results-926 h3,
#search-filter-results-927 h3 {
	margin-top:0;
}

#skip-nav {
	width: 100%;
    background: #227ab4;
    color: #fff;
	padding:5px 0;
	position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
	opacity:0;
}
#skip-nav:focus {
	outline:none;
	background:#a31f34;
	opacity:1;
	z-index:1;
}
body.logged-in #skip-nav:focus {
    top: 32px;
}

@media (max-width:992px) {
	body.ofytheme #main-nav li .dropdown-menu a:hover {
		color: #ffffff;
	}
	body.ofytheme #main-nav li:first-child {
		padding: 0;
	}
	body.ofytheme #main-nav ul.dropdown-menu > li:first-child {
		padding: 0 15px;
	}
}

body.ofytheme #logo-wrapper img {
	width:100%;
}
body.ofytheme #logo-wrapper img {
  min-width: 300px;
}
@media (min-width:992px) {
	body.ofytheme #logo-wrapper img {
	  min-width: 454px;
	}
}