/*
Theme Name: twentytwentythree-woollatt
Template: twentytwentythree
*/
/* Remove spaces from top and bottom of site */
.wp-site-blocks {
    padding-top: 0;
    padding-bottom: 0;
}
.wp-block-navigation a {
    font-weight: 500;
}
.wp-block-navigation a:where(:not(.wp-element-button)):active {
    font-weight: 500;
}
h2 {
	font-family: var(--wp--preset--font-family--exo) !important;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 2.2rem;
    letter-spacing: -0.03rem;
}
[class^="wp-block-"] figcaption {
    color: #686868;
    font-style: italic;
    line-height: 1.6153846154;
    padding-top: 0.5384615385em;
    text-align: left;
	font-size: var(--wp--preset--font-size--small) !important;
}
.wp-block-columns .wp-block-column:first-child {
	padding-right: 2rem;
}
/* === NAVIGATION === */
.hide-me, .hide-me > * {display: none !important;}
nav {
    font-family: 'Exo',sans-serif;
	text-transform: lowercase;
}
.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    border: solid 1px;
}
.wp-block-navigation-submenu li.wp-block-navigation-item.wp-block-navigation-link a {
    padding: 7px 10px;
    line-height: 1;
	font-size: 95%;
}
/* === HEADER === */
.call-number {
    padding-right: 0rem !important;
}
/* === HYPERLINKS === */
.wp-block-post-content a:where(:not(.wp-element-button)) {
    color: var(--wp--preset--color--vivid-cyan-blue);
}
/* === TYPOGRAPHY === */
h1.wp-block-post-title {
    font-size: clamp(1.875rem, 1.5rem + ((1vw - 0.48rem) * 1.202), 2.5rem) !important;
}
h2.wp-block-heading {
    font-size: 1.5rem;
}
.wp-block-post-title {
    border-bottom: 1px solid #0c2340;
    color: #0c2340;
    font-size: 2.5rem;
    line-height: 110%;
	border-bottom: none;
	text-transform: unset;
}
.wp-block-post-title {
    font-family: 'Exo', sans-serif;
}
/* === END TYPOGRAPHY === */

/* == PAGE SPECIFIC CODING == */
/* = Home page = */
html body.home main :where([style*=border-bottom-width]) {
    border-bottom-style: none;
}
.home .wp-block-post-title {
	display: none;
}
.home main {
	margin-top: 0 !important;
}
body.home .flex-1, body.home .flex-2, body.home .flex-3 {
    -webkit-border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
    border: 6px solid #0C2340;
    background-color: #0C2340;
}
/* body.home .wp-block-columns .wp-block-column:first-child {
    padding-right: var(--wp--preset--spacing--30) !important;
} */
body.home .is-layout-constrained > * + * {
    margin-block-start: 0;
    margin-block-end: 0;
}
body.home .flex-1, body.home .flex-2, body.home .flex-3 {
    overflow: hidden;
    display: inline-block;
}
/* === make images resize on hover === */
body.home .cards .flex-child:hover img {
   -ms-transform: scale(1.25);
   -webkit-transform: scale(1.25); 
   transform: scale(1.25);
}
body.home .cards span a img, body.home .cards img {
   -webkit-transition: all 1s ease 0s;
   -moz-transition: all 1s ease 0s;
   -o-transition: all 1s ease 0s;
   transition: all 1s ease 0s;
}
body.home .is-layout-flow > * + * {
    margin-block-start: 0;
}
body.home .left strong, body.home .middle strong, body.home .right strong {
    background-color: #0c2340;
    clear: both;
    color: #fff;
    display: block;
    font-size: 24px;
    line-height: 120%;
    margin-top: 5px;
    text-align: center;
    width: 100%;
}
body.home .flex-child a {
    color: white !important;
	text-decoration: none;
}

.career-button a {
	padding: .111em 0.666em !important;
	color: #C8102E !important;
	border: 2px black solid !important;
}

/* = END Home page = */
/* == IFRAME == */
.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}
/* = Search Sidebar = */
/* Search */
.search-submit::before {
    margin-top: -5px;
}
/* Styling for Search Sidebar */
.wp-block-search__inside-wrapper {
    height: 28px;
}
.wp-element-button, .wp-block-button__link {
    padding: calc(0em + -2px) calc(1.333em + 2px);
}
/* = END Search Sidebar = */
/* = Industry News = */
.wp-block-post {
    border-bottom: 3px solid #c8102e;
	padding-bottom: 1rem;
}
h2.wp-block-post-title, h2.wp-block-post-title>a {
    color: #0c2340;
    font-size: 1.75rem;
    line-height: 110%;
	font-weight: 700;
	text-decoration: none;
}
excerpt__more-text {
    display: inline;
}
ul.wp-block-latest-posts__list li {
    border-bottom: solid 1px;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}
body.single h1.wp-block-post-title {
	border-bottom: 1px solid #0c2340;
}
.wp-block-post-excerpt__more-text {
    margin-bottom: 0;
    margin-top: 0;
}
/* = END Industry News = */

footer .wp-block-columns .wp-block-column:first-child {
	padding-right: 0 !important;
}
/* === SIDEBAR === */
ul.sidebar-menu {
    font-family: 'Exo', sans-serif;
    color: black;
    list-style: outside none none;
    margin-left: -40px;
}
ul.sidebar-menu li a {
    text-decoration: none;
    font-weight: 500;
}
ul.sidebar-menu li {
    list-style: outside none none;
    background-color: #e9eaed;
    border-bottom: 3px solid #fff;
    color: #0c2340;
    margin: 2px;
    padding: 2px 2px 2px 10px;
    width: 90%;
    font-family: 'Exo',san-serif;
    letter-spacing: 0.025em;
    text-transform: lowercase;
}
/* === FOOTER === */
footer .wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container {
    visibility: hidden; /* -- hide submenu in FOOTER only -- */
}

footer .wp-block-navigation .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within>.wp-block-navigation__submenu-container {
	display: none;
	visibility: hidden;
}
footer nav.wp-block-navigation  {
    column-gap: 0.5rem;
}
.nowrap {white-space: nowrap;}
div.cursor-arrow .wp-element-button {
    cursor: default;
} 
.lowercase a {text-transform: lowercase;}
.no-decoration li a, .no-decoration li a {
    text-decoration: none;
}
footer .wp-block-navigation__container .wp-block-navigation-item {
    border-right: solid 1px white;
    padding-right: 0.5rem;
}
footer .wp-block-navigation__container .wp-block-navigation-item:last-child {
    border-right: solid 0px white;
    padding-right: 0;
}
/* == CELLULAR MENU == */
#rmp_menu_trigger-2216 {
    position: absolute;

}
/* == MENU == */
.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
    border: 1px solid black;
    left: -5px;
}
header > div.wp-block-group {
    padding-bottom: 0 !important;
}
body .is-layout-flex {
    column-gap: 0.25rem;
    row-gap: 0;
}
header img.custom-logo {
    padding-bottom: 1.5rem;
}

nav[aria-label='main-menu'] a:hover.wp-block-navigation-item__content {
    border-bottom: 8px solid rgb(0, 0, 0);
    border-bottom: 8px solid rgba(0, 0, 0, 1.0);
}

nav[aria-label='main-menu'] a.wp-block-navigation-item__content {
    -webkit-transition: border-bottom 0.5s ease-in-out 0s;
    -moz-transition: border-bottom 0.5s ease-in-out 0s;
    -ms-transition: border-bottom 0.5s ease-in-out 0s;
    -o-transition: border-bottom 0.5s ease-in-out 0s;
    transition: border-bottom 0.5s ease-in-out 0s;
}

nav[aria-label='main-menu'] a.wp-block-navigation-item__content {
    padding: 0.84375em 0.75em 0.75em;
    border-bottom: 8px solid rgb(0, 0, 0);
    border-bottom: 8px solid rgba(0, 0, 0, .0);
    /* margin-right: 1em; */
	margin-left: 1rem;
} 
nav[aria-label='main-menu'] .wp-block-navigation__submenu-container a.wp-block-navigation-item__content {
    padding: 0.84375em 0.75em 0.75em;
    border-bottom: 0px solid rgb(0, 0, 0);
    border-bottom: 0px solid rgba(0, 0, 0, .0);
    margin-right: 0;
	margin-bottom:1px;
} 
@media screen and (max-width: 900px) {
.wp-block-site-logo img {
    height: auto;
    max-width: 80% !important;
}
}
@media screen and (max-width: 782px) {
.wp-block-site-logo img {
    height: auto;
    max-width: 80%;
}
.wp-block-columns .wp-block-column:first-child {
	padding-right: 0 !important;
}
page.home .wp-block-columns.left .wp-block-column:first-child {
    padding-right: unset !important;
}
.need-a-quote-block {padding-bottom: 1rem !important;}
/* = SUB-MENU = */
.menu-item {
    border-top: 1px solid;
}
.rmp-menu-wrap {
    border-bottom: 1px solid;
}
main .wp-block-columns .sticky-sidebar:last-child {
    border-top: 3px solid #c8102e;
    padding-top: 1rem;
    margin-top: 1rem;
}
.sticky-sidebar .menu-item {
    border-top: unset;
}
}
.hide-me {display: none;}