/* Customizations 
------------------------- */

.nav-blue-med .yale-boxed-menu, .nav-blue-med .yale-wide-menu {
    background-color: #00356b;
}

h1.site-name, h2.site-name { font-size: 2.72em; }
@media (max-width: 1300px) {
    h1.site-name,
    h2.site-name {
    font-size: calc(1.625rem + 1.6vw);
    }s
}
@media (max-width: 979px) {
	.container-12 .grid-6.region-branding,
	.container-12 .grid-6.region-banner-menu {
    width: auto;
    clear: left;
	}
}
@media (min-width: 980px) {
	.region-banner-menu-inner {
	padding-top: 0;
	/* margin-top: 7.9%; */
	margin-top: 6.8%;
	}
}

.region-banner-menu .menu li.first a {
padding-left: 0;
}
.region-banner-menu .menu li.last a {
padding-right: 0;
}
.region-banner-menu .menu a {
color: #222;
}
.region-banner-menu .menu a:hover span {
border-color: #222;
}
.region-banner-menu .menu span {
font-feature-settings: "smcp" 1;
}
.region-banner-menu .menu a span {
margin-left: 4px;
}
.region-banner-menu .menu li:after {
content: none;
}
.region-banner-menu .fa:before {
font-size: 1.5em;
display: inline-block;
vertical-align: middle;
margin-top: -2px;
color: #222;
}

@media (max-width: 480px) {
	.region-banner-menu .menu li { float: none; }
	.region-banner-menu .menu li a { padding: 10px 0 !important; }
}

@media (max-width: 739px) {
	.region-topper-second .block-search {
	margin-bottom: 0; 
	}
	.zone-topper-wrapper {
	margin-bottom: 2em;
	}
}

/* Main Nav size adjustment
.nav-sans .zone-menu .menu > li {
font-size: 1.17em;
} */

/* Resized Main Nav */
.nav-sans .zone-menu .menu > li {
font-size: calc(1rem + 0.3vw);
}
.zone-menu ul.menu {
padding: 0;
white-space: nowrap;
display: flex !important;
justify-content: space-between;
}
@media (min-width: 980px) {
	.region-menu .menu > li a {
	padding: 0.3em 0;
	}
}
@media (min-width: 980px) {
	.region-menu .menu > li.first {
	margin-left: 0;
	}
}

/* Footer */
html, body, .section-footer {
background-color: #222;
}

.block-font-sans .collapsible h2.block-title {
font-size: 1.118em;
}

#region-content .more-link a {
border: 0;
background-color: #286dc0;
color: #fff !important;
text-decoration: none !important;
}

#region-content .more-link a:hover {
background-color: #00356b;
color: #fff;
}

.node ul > li, 
.block-main ul > li {
margin-bottom: 0.25em;
}

/* Show / Hide Sidebar block on homepage */
@media (min-width: 740px) {
    .show-mobile {
    display: none;
    }
}

@media (max-width: 739px) {
    .hide-mobile {
    display: none;
    }
    .show-mobile {
    display: block;
    }
}

.region-content .show-mobile {
border-bottom: 1px solid #dddddd;
padding-bottom: 0.5em;
margin-bottom: 2em;
}

.region-content .show-mobile .block-title {
color: #222;
}

.region-content .show-mobile .block-title:after {
content: "";
display: block;
width: 2.5em;
border-bottom: 1px solid #ccc;
margin-top: 0.75em;
margin-bottom: 1em;
}

p.more-link {
white-space: nowrap;
}

.poorvu-block p.more-link {
display: flex;
justify-content: center;
white-space: normal;
}

.poorvu-block p.more-link a {
    padding: 0.85em 0.75em 1em 0.75em;
    justify-content: center;
    text-align: center;
}

@media (max-width: 739px) {
	.front .sidebar .block-block .content p, 
	.front .sidebar .block-block .content ul, 
	.front .sidebar .block-block .content ol, 
	.front .sidebar .block-views .content {
	font-size: 1em;
	}
	/* .region-content {
	margin-bottom: 3em;
	} */
}

/* Returning to Yale page */
.related-info-block h2.block-title,
.phased-reopening-block h2.block-title,
.oncampus-guidelines-block h2.block-title {
margin-bottom: 0.5em;
font-size: 1.5em;
color: #222;
}
.related-info-block p,
.phased-reopening-block p,
.oncampus-guidelines-block p {
margin-bottom: 0.5em;
}
.related-info-block li {
margin-left: 3em;
}
.phased-reopening-block,
.oncampus-guidelines-block {
margin-bottom: 0;
}
.related-info-block,
.oncampus-guidelines-block {
margin-top: 2em;
}

/* Returning FAQ */
.topic h2 {
    margin-top: 1.25em;
    margin-bottom: -0.5em;
}

.top-topic h2 {
    margin-top: 0.25em;
    margin-bottom: -0.5em;
}

/* Collapsiblocks
------------------------------------- */
@font-face {
    font-family: "Mallory-Medium";
    src: url("/sites/all/themes/yalenew_base/fonts/Mallory/Mallory/Mallory-Medium.woff") format("woff"), url("/sites/all/themes/yalenew_base/fonts/Mallory/Mallory/Mallory-Medium.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}

.collapsible h2.collapsiblock {
font-family: "Mallory-medium","Mallory",Verdana,Arial,Helvetica,sans-serif;
}

.collapsible h2.collapsiblock:before {
background-image: none;
height: auto;
width: auto;
margin-top: 7px;
border-style: solid;
border-width: 5px 0 5px 8px;
border-color: transparent transparent transparent #286dc0 !important;
transform: rotate(90deg);
-webkit-transition: -webkit-transform .25s ease;
transition: -webkit-transform .25s ease;
transition: transform .25s ease;
transition: transform .25s ease,-webkit-transform .25s ease;
}

.collapsible h2.collapsiblockCollapsed:before {
-webkit-transform: rotate(90deg);
transform: rotate(0deg);
}

/* Announcements page */
.date-display-single {
display: inline-block;
padding-bottom: .25em;
}

/* For Everyone UL, health-guidelines page */
#node-page-34 .nobullets-list {
font-size: 1.118em;
}
#node-page-34 .nobullets-list li {
margin-left: 0;
}

/* Contact Tracing page and Visitor Policy
use "collapsible contact" on block classes */
.collapsible.contact .block-inner {
padding: 0 20px;
border: none;
}

.collapsible.contact h2.collapsiblock:before {
content: " ";
position: absolute;
left: 0px;
margin-top: 15px;
border-style: solid;
border-width: 7px 0 7px 11px;
}

/* Poster Cards
------------------------------------
@media (min-width: 740px) {
	.card-wrapper {
	display: flex;
	flex-wrap: wrap;
	}
	.card {
	align-content: start;
	width: 50%;
	}
	.card:nth-child(even) {
	padding-left: 6%;
	}
	.card:nth-child(odd) {
	padding-right: 6%;
	}
}
@media (max-width: 739px) {
	.card {
	text-align: center;
	}
	.card img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}
}

.card-wrapper {
margin-top: 3em;
} */

/* Campus Life block */

/************* STRING LINKS KNOCKOUT HOMEPAGE *************/

.string-links-knockout {
    display: inline-block;
   /*  margin-top: 0.25em;*/
    margin-top: .5em !important;
    color: #ffffff !important;
    font-weight: bold !important;
    /* 4.8.22 updates */
}

.string-links-knockout a {
    margin-right: 1.5em;
    display: inline-block;
    color: #ffffff !important;
}

.string-links-knockout a:hover {
  color: #cef0fe !important;

}

.string-links-knockout a:last-child {
    margin-right: 0;
}

.string-links-knockout a:after {
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 3.5px 0 3.5px 5px;
    border-color: transparent transparent transparent /*#969696;*/ #49d8f5 !important;
    content: "";
    position: relative;
    top: -1px;
    margin-left: 6px;
    margin-right: -10px;
    transition: transform .25s ease, color .25s ease;
}

.string-links-knockout a:hover:after {
    border-color: transparent transparent transparent #aad0e5;
    transform: translate3d(2px, 0, 0);
}


/*STRING LINKS*/

.string-links {
    display: inline-block;
   /*  margin-top: 0.25em;*/
    margin-top: .5em !important;
    color: #286dc0 !important;
    /*font-weight: bold !important;*/
    /* 4.8.22 updates */
}

.string-links a {
    margin-right: 1.5em;
    display: inline-block;
    /*color: #ffffff !important;*/

}

.string-links a:hover {
  /* color: #cef0fe !important;*/

}


/************* STRING LINKS HOVER *************/

.string-links a:hover {
  /*  color: #cef0fe !important;*/

}

.string-links a:last-child {
    margin-right: 0;
}

.string-links a:after {
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 3.5px 0 3.5px 5px;
    border-color: transparent transparent transparent #969696; /*#49d8f5*/ !important;
    content: "";
    position: relative;
    top: -1px;
    margin-left: 6px;
    margin-right: -10px;
    transition: transform .25s ease, color .25s ease;
}

.string-links a:hover:after {
    border-color: transparent transparent transparent #aad0e5;
    transform: translate3d(2px, 0, 0);
}

/* 2-col links */
.columns-2 .string-links {
display: block;
columns: 2;
line-height: 1.6;
}
.columns-2 .string-links a {
margin: 0.3em 0;
}

/* Accessibility sub-head on Testing page */
.wheelchair {
margin: 0;
}

.wheelchair:after {
display: inline-block;
margin-left: 5px;
font: normal normal normal 1.2em/1 FontAwesome;
content: "\f29b";
}

/* Community Messages exposed form */
.views-exposed-form label {
text-indent: -999em;
position: absolute;
}
.views-exposed-form .views-exposed-widget {
padding-top: 0;
}
.views-exposed-form .views-exposed-widget select {
height: 56px;
}
.views-exposed-form .views-exposed-widget .form-submit {
margin-top: 0;
}
.views-exposed-form .views-reset-button {
padding-top: 0;
}
#block-views-exp-announcements-page h2 {
color: #222222;
font-size: 1em;
font-weight: bold;
margin-bottom: 1em;
margin-top: 2em;
}
#block-views-exp-announcements-page {
margin-bottom: 1.5em;
}

#block-views-exp-announcements-page-1 h2 {
color: #222222;
font-size: 1em;
font-weight: bold;
margin-bottom: 1em;
margin-top: 2em;
}
#block-views-exp-announcements-page-1 {
margin-bottom: 1.5em;
}

/* for adding focus to button links 
p.more-link a:focus {
box-shadow: #06f 0 0 7px;
} */

/* reduces space between form elements
.views-exposed-form .views-exposed-widget {
padding: 0.25em 0em 0 0;
} */

/** block on requirements page **/
#block-block-215 {
    padding-top: 50px;
}
