/*
Theme Name: Toast
Description: Lightweight, tasty and totally awesome.
Author: The Toast Development Team
Date: Octover 2022
Version: 13.7
Theme URI: http://www.toastwebsites.co.uk
Author URI: http://www.toastdesign.co.uk
Text Domain: toast
*/


/* Base Styles */
html { font-size: 62.5%; margin-top: 95px !important;}
body{font-size: 1.75rem;line-height: 1.6;font-family: "Open Sans", sans-serif;font-weight: 400;color: var(--text-color);margin: 0;padding: 0; }
#page:after { content:" "; display: block; clear: both; }
section{position: relative;}
.border { border: 2rem solid var(--brand-4); }
.visually-hidden {position: absolute;width: 1px;height: 1px;padding: 0;overflow: hidden;clip: rect(0, 0, 0, 0);white-space: nowrap;border: 0;}

@font-face {
	font-family: 'Messina Modern';
	src: url('/wp-content/themes/toast/assets/fonts/MessinaModern-Regular.otf') format('opentype');
	font-weight: normal;
	font-style: normal;
}

/* Header */
.site-header .container{max-width: 80%;}
.site-header .grid{grid-template-columns:200px 1fr;align-items:center;padding: 4rem 0;}
.site-header.has-site-banner { margin-top: 5rem; /* Adds margin to the site header if the site banner is switched on in Theme Options */ }
.col.logo-alt{display: none;}

/*Alt Header */
.site-header.alt::before{display: none;}
.site-header.alt{background: #fff;}
.site-header.alt #site-logo.col{display: none;}
.site-header.alt .col.logo-alt{display: block;}
.site-header.alt ul li a{color: #000;}
.site-header.alt svg path{fill: #000;}
.site-header.alt .top-nav li.menu-item-has-children::after, .site-header.alt .top-nav li.mega-menu-parent::after{content: ''; width: 15px;height: 15px;background-image: url('/wp-content/themes/toast/assets/images/chevron-down-light.svg');background-size: 15px;background-position: center;background-repeat: no-repeat;display: block;position: absolute;right: 7.5px;top: 5px;transition: rotate ease-in-out .2s}
.site-header.alt .search-wrapper input::placeholder{color: #000;}

/*Homepage hero */
.site-header{background-position: center 40%;background-repeat: no-repeat;background-size: cover;}
.front-page-hero{padding: 40rem 0; padding-top: calc(15rem + 75px); color: #fff;}
.front-page-hero h1{margin-bottom: 2rem;}
.front-page-hero p{margin: 0 0 2rem;}
.front-page-hero .button{margin-top: 0;}

.front-page-hero::before{content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4);}
.front-page-hero{position: relative;}

@media(max-width: 1024px){
	html{margin-top: 48px !important;}
	body{padding-top: 0 !important;}
}

/* Menu */
.top-nav {display: flex; justify-content: end; align-items: end;}
.top-nav #menu-main-menu {display: flex;justify-content: end;}

/* Mega Menu */
.mega-menu .grid{grid-template-columns: 1fr 1fr 1fr;padding: 6rem 0 10rem;text-align: center;vertical-align: middle;}
.mega-menu{display: none;position: absolute;top: 100%;left: 0;width: 100%;z-index: 100;background: #fff;box-shadow: 0 12px 10px rgba(0, 0, 0, 0.2); border-top: 2px solid #efefef}
.mega-menu ul{display: grid; grid-template-columns: 1fr 1fr 1fr; grid-gap: 4rem; margin: 0 auto;}
.mega-menu ul.sub-menu{display: block; padding-left: 0; list-style: none;}
.mega-menu ul li{list-style: none; margin: 0 auto; margin-bottom: 2rem;}
.mega-menu ul li a{color: #000;}
.mega-menu ul li.menu-item-has-children a{color: #000;font-weight: bold; font-size: 2.25rem;}

.mega-menu ul li.menu-item-has-children ul{margin: 0 auto;}
.mega-menu ul li.menu-item-has-children ul li{margin: 1rem 0;}
.mega-menu ul li.menu-item-has-children ul li a{font-size: 1.75rem; font-weight: 400;}

.mega-menu-sub {position: relative; padding: 5rem 0;}
.mega-menu-sub::after{content: '';height: 100%;width: 2px;background: #EEEEEE;display: block;right:33.3%;top:0;position: absolute;}
.mega-menu-sub::before{content: '';height: 100%;width: 2px;background: #EEEEEE;display: block;left:33.3%;top:0;position: absolute;}

.site-nav-wrapper {position: fixed; top: 0; left: 0; width: 100%; z-index: 99999; background: #fff; color: #000000; box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); }
.site-nav-wrapper .container{padding: 2rem 0;}
.site-nav-wrapper #site-logo.col { display: none; }
.site-nav-wrapper #site-logo-alt.col.logo-alt { display: block; }

.site-nav-wrapper .top-nav ul li a { color: #000; }
.site-nav-wrapper .top-nav li.current-menu-item a { color: #000; }

.site-nav-wrapper .top-nav li#menu-item-1498::after { background-image: url('/wp-content/themes/toast/assets/images/chevron-down-light.svg'); }

.site-nav-wrapper .search-btn svg path { fill: #000; }
.site-nav-wrapper .search-wrapper.active input, .site-nav-wrapper.fixed .search-wrapper.active input { color: #000; }
.site-nav-wrapper .search-wrapper.active input::placeholder, .site-nav-wrapper.fixed .search-wrapper.active input::placeholder { color: #000; }

.site-nav-wrapper .site-nav-grid.grid { grid-template-columns: 180px 1fr; padding: 1rem 0; }

.site-nav-wrapper.active { box-shadow: unset; }
.site-nav-wrapper.active .mega-menu{display: block;}

/* Search */
.top-nav{display: flex;align-items: end; justify-content: end;}
.search-wrapper {width: 30px;height: 30px;display: flex;border-radius: 4rem;align-items: center;justify-content: center;outline: none;border: 2px solid var(--brand-3);position: relative;overflow: hidden;transition: 400ms ease-in-out;background: transparent;margin-bottom: 1rem;margin-left: 3rem;}
.search-wrapper input {width: 100%;height: 100%;padding: 5px;margin-left: 5px;outline: none;border: none;font-size: 1.5rem;position: absolute;top: 0;left: 0;background: transparent;color: #000;}
.search-wrapper input::placeholder {color: #fff;line-height: 1.5 !important;padding: 2px;text-decoration: none;font-size: 0; opacity: 0;}
.search-btn {display: flex;align-items: center;justify-content: center;font-size: 2rem;border-radius: 50%;padding: 4px;border: 0 solid transparent;width: 30px;cursor: pointer;height: 25px;margin-left: auto;z-index: 1; background: transparent;}
.search-btn svg{width: 15px;}
.search-btn svg path{fill: #fff;}
.search-btn svg{height:20px}

.top-nav .search-wrapper.active {width: 250px;}
.top-nav .search-wrapper.active input::placeholder {font-size: 1.5rem; opacity: 1; transition: opacity .6s;}

/* Navbar & Menus */
.top-nav {font-size: 1.5rem;text-align: right; height: 100%;}
.top-nav ul { margin: 0 auto; padding: 0rem;}
.top-nav li { display: inline-block; margin: 0;padding:0; position: relative;align-content: end; margin-bottom: 1.25rem;}
.top-nav li a { display: inline-block; padding: 0 3rem;line-height: 1; color:#fff;}
.top-nav li:hover > a, .top-nav li.current-menu-item a { color:#fff; }

/* Submenus Dropdowns*/
.top-nav li.mega-menu-parent{margin-right: 1.5rem;}
.top-nav li.mega-menu-parent::after{content: ''; width: 15px;height: 15px;background-image: url('/wp-content/themes/toast/assets/images/chevron-down-light-white.svg');background-size: 15px;background-position: center;background-repeat: no-repeat;display: block;position: absolute;right: 7.5px;top: 5px; rotate: 0deg; transition: rotate ease-in-out .2s;}
.top-nav .site-nav-wrapper.active li.menu-item-has-children::after {rotate:180deg; transition: all .5s;}

.top-nav ul.sub-menu li.menu-item-has-children::after{display: none;}

.top-nav .sub-menu{ position: absolute;padding: 0;bottom:0;left: 0; white-space: nowrap; background: var(--brand-2);text-align: left;z-index:5;opacity:0;pointer-events:none;transition:all .5s;transform:translatey(100%); display: none;}
.top-nav .sub-menu .sub-menu{position: absolute;top:0;right:0;transform:translatex(100%);white-space:nowrap;background: var(--brand-2); text-align: left; z-index:10; }
.top-nav .sub-menu li{ display: block; margin: 0;}
.top-nav .sub-menu li a{ padding: 1rem; display: block; margin: 0;color:#ffffff;}
.top-nav li:hover > .sub-menu{opacity: 1;pointer-events:all;}

/* Sort the hovers on the dropdowns 16/06/23 DF */
.top-nav li ul.sub-menu li a { background: var(--brand-2); color:#fff;}
.top-nav li ul.sub-menu li a:hover { background: var(--brand-1); color:#fff;}

/** Page Children Nav **/
.page-nav.nav{background: var(--brand-4); color: #fff; padding: 2rem 0; font-size: 1.85rem;}
.page-nav.nav ul{padding-left: 0; list-style: none; display: flex; column-gap: 4rem; flex-wrap: wrap;}
.page-nav.nav ul li{margin: 0; display: block;}
.page-nav.nav ul li:last-child{margin-right: 0;}
.page-nav.nav ul li a{color: #fff; text-decoration: none; font-weight: 400; display: flex; align-items: center; gap: .25rem; opacity: 0.95;}
.page-nav.nav ul li a::after{content: ''; width: 15px; height: 15px; background-image: url('/wp-content/themes/toast/assets/images/chevron-down-light-white.svg'); background-size: 15px; background-position: center; background-repeat: no-repeat; display: block; rotate: -90deg; transition: all .2s;}
.page-nav.nav ul li a:hover{color: #fff; text-decoration: underline;}
.page-nav.nav ul li a:hover::after{rotate: 0deg; transition: all .2s;}
.page-nav.nav ul li.active a::after{rotate: 0deg;}
.page-nav.nav ul li.active a{opacity: 1; text-decoration: underline; font-weight: 600;}

.page-nav.page-children.nav{background: var(--brand-4);}

.breadcrumbs{margin-top: 2rem;}
.breadcrumbs .breadcrumb_last{color: #fff;}
.breadcrumbs span a{text-decoration: none;}
.breadcrumbs span .breadcrumb_last{text-decoration: underline;}

@media(max-width: 1024px){
	.page-nav.nav ul{column-gap: 2rem;}
}

/* Typography & Lists */
iframe{width: 100%; height: 100%; aspect-ratio: 16 / 9;}
h1, h2, h3, h4, h5, h6 { margin-top: 0; line-height: 1.2; margin: 0 0 0 0; font-family: "Merriweather", serif;}
h1 { font-size: 6rem; }
h1 + p { margin-top: 4rem; }
h1 + h2 { margin-top: 3rem;}
h2 { font-size: 4rem; }
h2 + h3 { margin-top: 2.75rem; }
h2 + p { margin-top: 3rem; }
h3 { font-size: 3.5rem; margin-bottom: 3rem; }
h4 { font-size: 3.25rem; margin-bottom: 2.5rem; font-family: "Open Sans", sans-serif;}
h5 { font-size: 3rem; margin-bottom: 2rem; }
h6 { font-size: 2.5rem; margin-bottom: 1.75rem; }

.green-heading h3 {color: #0d5257;}
/* NEVER add top margins or padding to headings */

p { margin:0;margin-bottom:1.5rem; }

ul { margin:0; padding-left: 2rem; list-style: disc outside; }
li { margin:0;margin-bottom:1rem; }


/* Elements following paragraphs and other shiznit. Dave obsesses about this as he is from a print background, but it is required - this is subtle typography that adjusts margins based on sizes */
p + h1 { margin-top: 6rem; }
p + h2 { margin-top: 4rem; margin-bottom: 2rem; }
p + h3 { margin-top: 3rem; margin-bottom: 1.5rem; }
p + h4 { margin-top: 2.75rem; margin-bottom: 1.25rem; }
p + h5 { margin-top: 2.75rem; margin-bottom: 1rem; }
p + h6 { margin-top: 2.75rem; margin-bottom: 0.75rem; }
p + ul { margin-top: 4rem;}
p + ul + p { margin-top: 4rem;}
p > a.button { margin-top: 2rem; }
table + p { margin-top: 3rem;}
blockquote + h3, ul + h4 { margin-top: 6rem; }
p + blockquote, blockquote + p, blockquote + h2, blockquote + h3, blockquote + h3, blockquote + h4 { margin-top: 4rem; }
ol + h3 { margin-top: 4rem; }
ul{margin:0; padding-left: 2rem; list-style: disc outside; }
li.select2-results__option { margin-bottom: 0; }
ul + h3 { margin-top: 6rem;}
p + picture { margin-top: 6rem;} 
picture + p, picture + h4, h4 + picture, picture + h3, ul + picture { margin-top: 6rem; }
picture { display: block; }
p + .embed-wrap { margin-top: 6rem; }
.embed-wrap + p, .embed-wrap + h3 { margin-top: 6rem; }
figure{margin: 0;}

/* Sidebar */
.main-sidebar-widget { position: sticky; top: 12rem; }

/* Archive pages */
.archive-thumbnail img{width: 100%;}
.archive-tile-content { padding-bottom: 10rem;}
.archive-tile-content a.button { position: absolute; bottom: 3rem; left: 3rem; }
.archive-tile { position: relative; }

/**Head Injury Prognosis**/
.non-relative .container, .non-relative{position:static !important;}
.head-injury-prognosis #Frame{max-width:800px;margin:0 auto;font-size:1.5rem;padding:0 20px;}
.head-injury-prognosis #Frame .help-icon{display:inline-block;width:17px;vertical-align:middle;}
.head-injury-prognosis #Frame a{color:inherit !important;}
.head-injury-prognosis #Frame .banner{margin:0 auto 2rem !important;display:block;width:100%}
.head-injury-prognosis #Frame select{padding:.5rem 1rem;border-radius:4px !important;}
.head-injury-prognosis #Frame .small{font-size:1.25rem;margin-top:2rem;}
.head-injury-prognosis #Frame  .credit{font-size:1.25rem;}
.head-injury-prognosis #Frame form table, .head-injury-prognosis #Frame form th, .head-injury-prognosis #Frame form td, .head-injury-prognosis #Frame form tr{background:transparent !important;border:none !important;}
.head-injury-prognosis #Frame .prediction{background:var(--brand-4) !important;color:#ffffff;border-collapse:collapse;font-size:1.75rem;font-weight:bold;font-family:"Merriweather", serif;}
.head-injury-prognosis #Frame .prediction td{padding:1.5rem 1.5rem;}
.head-injury-prognosis #Frame input[type="reset"]{display:block;width:auto !important;padding:.5rem 1rem !important;margin:0 auto;cursor: pointer;}
.head-injury-prognosis #Frame #div1{padding:1.5rem;background:#f2f2f2;}
.head-injury-prognosis #Frame input[type="checkbox"]{cursor: pointer;}

.head-injury-prognosis #overDiv table{background:#ffffff !important;color:#000000 !important;}
.head-injury-prognosis #overDiv table font{color:#000000 !important;}

/*Links*/
a { text-decoration: none; color: var(--brand-1); }
a:hover { text-decoration: underline; color: var(--brand-2); }
p a { text-decoration:none;color:var(--brand-1); }
p a:hover { text-decoration:none;color:var(--brand-2); }
ul li a { text-decoration: none; }

/*Footer*/
.cta-next + .hear-from-us{margin-top: -15rem;}

.hear-from-us{background-color: var(--brand-4); color: #fff; padding: 10rem 0 5rem;}
.hear-from-us .grid{ grid-template-columns: 1fr 1fr; vertical-align: middle;}
.hear-from-us .col a.button{margin-top: 3rem;}

.site-footer, .site-footer a{color:#000000;}
.footer-main{background: #fff; clear: both;}
.site-footer .logo{margin-bottom:2rem;display:inline-block;max-width:120px;}
.footer-main .address { margin-bottom: 2rem; font-weight: bold;}
.footer-main .companyname{font-weight: bold;}

.social-icons a{width:3rem;height:3rem;display:inline-block;position:relative;border-radius:100rem;margin: 0 1rem;}
.social-icons a:first-of-type{margin-left:0rem}
.social-icons a:hover { scale: 1.1; }
.social-icons img { width: 100%; height: 100%; object-fit: cover; }

.phone-number a, .email a{color: var(--brand-4);}

.site-footer .footer-main .grid{ grid-template-columns: 1fr 1fr 2fr; }

/**Footer Widgets**/
.footer-widget-title { font-size: 2.25rem; margin-bottom: 2rem; font-weight: bold; }
.site-footer ul { padding: 0; margin: 0; list-style: none; }
.site-footer ul li { margin: 0; padding: 0; }
.site-footer ul li a { display: block; font-weight: bold; }

/* Sub footer */
.footer-sub-wrapper, .footer-sub-wrapper li { font-size: 1.5rem;}
.footer-sub-wrapper {padding:2rem 0; background: var(--brand-4);color: #fff; font-weight: bold;}
.footer-sub-wrapper .bottom-menu ul { text-align: right; }
.footer-sub-wrapper .bottom-menu ul li { display: inline-block;}
.footer-sub-wrapper .bottom-menu ul li a { display: inline-block; padding: 0 2rem; color: #fff; font-weight: 400;}

.footer-sub-wrapper .bottom-menu, .footer-sub-wrapper .col{display: inline-block;}

/*Forms*/
input, textarea, select { width:100%;outline:none;font-family:inherit;border:1px solid var(--brand-4); padding: 1rem; border-radius: 1.5rem !important;}
input[type="submit"] {background: var(--brand-4);padding:1.5rem 3rem;color:var(--brand-2);display:inline-block; border-radius: .75rem; text-decoration: none; text-transform: uppercase;font-weight: bold;width: auto;border: 0; cursor: pointer;}
input[type="submit"]:hover { background: var(--brand-3); color: #fff; }
input[type='checkbox'], input[type='radio'] { width: auto; height: auto; }

.ginput_container_fileupload input{border: 0; padding: 0; border-radius: 0 !important;}
.gfield_required{display: none !important;}

/* Gravity Forms */
body .gform_wrapper.gravity-theme input[type=color], body .gform_wrapper.gravity-theme input[type=date], body .gform_wrapper.gravity-theme input[type=datetime-local], body .gform_wrapper.gravity-theme input[type=datetime], body .gform_wrapper.gravity-theme input[type=email], body .gform_wrapper.gravity-theme input[type=month], body .gform_wrapper.gravity-theme input[type=number], body .gform_wrapper.gravity-theme input[type=password], body .gform_wrapper.gravity-theme input[type=search], body .gform_wrapper.gravity-theme input[type=tel], body .gform_wrapper.gravity-theme input[type=text], body .gform_wrapper.gravity-theme input[type=time], body .gform_wrapper.gravity-theme input[type=url], body .gform_wrapper.gravity-theme input[type=week], body .gform_wrapper.gravity-theme select, body .gform_wrapper.gravity-theme textarea { font-size: inherit; margin-bottom: 0; margin-top: 0; padding: 1rem; color: var(--brand-4);}

body .gform_wrapper.gravity-theme .gfield_label { font-size: 1.75rem; font-family: "Merriweather", serif; }
body .gform_wrapper.gravity-theme .gfield_checkbox label, body .gform_wrapper.gravity-theme .gfield_radio label { display: inline-block; font-size: inherit;}
body .gform_wrapper.gravity-theme .gform_fields { grid-row-gap: 2rem; }
h3.gsection_title { margin-bottom: 0; margin-top: 3rem; font-size: 2.25rem; font-weight: 600; color: var(--brand-1); }

.gfield input::placeholder, .gfield textarea::placeholder, .gfield select::placeholder{color: inherit !important;}

/* Search */
.search-form input.search-field { padding: 1rem; height: auto; font-family: inherit; font-size: 2rem; }
input.search-submit { padding: 1rem; display: block; width: 99.5%; margin-top: 1rem; color: #fff; }
input.search-submit:hover { background-color: var(--brand-2); }
footer input.search-submit:hover { background-color: var(--brand-3); color: var(--brand-2); }

.search .search-results > .grid{grid-template-columns: 1fr 1fr 1fr; grid-gap: 2rem;}
.search .search-result {box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);}
.search .search-result .col.thumbnail img{width: 100%; height: auto;}
.search .search-result .col.content{padding: 4rem; text-align: center;}

/**Back to top**/
.toast-back-to-top{position:fixed;bottom:2rem;right:2rem;background:var(--brand-1);width:50px;height:50px;border-radius:100px;background-image:url('/wp-content/themes/toast/assets/images/chevron-down-light-white.svg');background-size:20px;background-position:center;background-repeat:no-repeat;pointer-events:none;cursor: pointer;opacity:0;transform:translatey(-30px);transition:all 1s;}

.toast-back-to-top.show{opacity:1;transform:translatey(0px);pointer-events:all;}

/* Author Box */
.author-box{margin-top:4rem;margin-bottom:4rem;background-color: #fff;box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);border-radius: 10px;min-height:200px;}
.author-box.grid{grid-template-columns: 2fr 3fr; grid-gap:3rem;}
.author-box .author-image{background-size: cover;background-position: center;background-repeat: no-repeat;border-top-left-radius:10px;border-bottom-left-radius:10px;max-width: 100%;}
.author-box .author-text h3{font-weight:bold;margin-bottom:1.5rem;color:var(--brand-1)}
.author-box .author-text p{font-size:14px}
.author-box .author-text{padding:2rem;padding-right:15%;padding-left: 0rem;}

.author-socials-area .author-socials a{width:28px;height:28px;background:var(--brand-1);display:inline-block;padding:1rem;position: relative;border-radius:100px;}
.author-socials-area .author-socials a img{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:17px;height:auto;}

/* Sidebar */
.col.sidebar > div{background-color: #efefef; padding: 2rem;}
.col.sidebar > div h5{font-size: 2.35rem; margin-bottom: 1rem;}
.col.sidebar > div ul{list-style: none; margin: 0; padding: 0;}
.col.sidebar > div ul li{list-style: none; margin: 0; padding: 0 0 0.25rem; border-bottom: 1px solid rgba(165, 165, 165, 0.6);}
.col.sidebar > div ul li a{font-size: 1.5rem; padding: 0}
.col.sidebar > div ul li:last-of-type{border-bottom: none;}

/* Popups */ 
.popups{position: absolute; top: 14.5rem;display: none;}
.popup-overlay{height: 100%;width: 100%;background: rgba(0, 0, 0, 0.75);position: absolute;z-index: 100;}

.popup{max-width: 75%; margin: 0 auto;padding: 12rem 4rem 4rem;}
.popup:last-of-type{padding:4rem 4rem 12rem;}

.popup-wrapper{background-color: #fff;position: relative; z-index: 101;padding: 8rem 6rem;}
.popup-close{display: inline-block;height: 4rem;width: 4rem;position: absolute;top: 3rem;right: 3rem;}
.popup-close .bar{width: 4rem;height: .65rem;background-color: var(--brand-1);position: absolute;}
#a.bar{top: 50%; transform: translateY(-50%)rotate(45deg);}
#b.bar{bottom: 50%; transform: translateY(50%)rotate(-45deg);}

/* Pagination */
.search-results .pagination{display: flex; gap: 1rem; justify-content: center; align-items: center;}
.search-results .page-numbers{border: 1px solid #3c3c3b; color: #3c3c3b; border-radius: 100%; display: flex; justify-content: center; align-items: center; width: 30px; height: 30px; aspect-ratio: 1; font-size: 1.5rem;}
.search-results .page-numbers:hover{border-color: var(--brand-1); color: #fff; background-color: var(--brand-1);}
.search-results .page-numbers.current{border-color: var(--brand-1); color: #fff; background-color: var(--brand-1);}

@media (max-width: 1200px) {
	.site-nav-wrapper .site-nav-grid.grid {grid-gap: 1rem;}
	.site-nav-wrapper .site-nav-grid.grid .top-nav ul li a{padding: 0 1rem;}
	.site-nav-wrapper .site-nav-grid.grid .search-wrapper{margin-left: 1rem;}
	.site-nav-wrapper .site-nav-grid.grid .top-nav ul li.menu-item-has-children{padding: 0 .75rem 0 0;}
}

@media (max-width: 1024px) {
	.site-nav-wrapper .site-nav-grid.grid {grid-template-columns: 180px 1fr;}
	.block-post-listings .grid.post-listings { grid-template-columns: 1fr !important; } 
	.site-footer .grid { grid-template-columns: 1fr !important;}
	.site-footer, .site-footer .align-right{text-align:center;}
	.site-nav-wrapper {display: none;}
	.front-page-hero{padding: 15rem 0 20rem;}
	#page.scrolled .front-page-hero{padding: 15rem 0 20rem;}
	.footer-sub-wrapper .bottom-menu ul{text-align: center;}
}

@media (max-width: 900px) {
	.top-nav .search-wrapper.active{width: 17.5%;}
}

@media (max-width: 768px) { 
	.site-footer .grid{grid-template-columns:1fr !important;}
	.author-box.grid{grid-gap:1rem;}
	.author-box .author-text{text-align:center;padding:0rem 2rem 2rem 2rem;}
	.author-box .author-image{width:120px;height: 120px;border-radius: 50%;margin:0 auto;box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);margin-top:2rem;}
	section .grid.fr-1-1-1, section.fr-4-1 .grid, section.fr-3-2 .grid, section.fr-3-1 .grid, .fr-1-2 .grid, .grid.fr-1-2  { grid-template-columns: 1fr !important; }
	.main-sidebar-widget{position: static;}
}

@media (max-width: 576px) {
	.social-icons a{width:2rem;height:2rem;}
    .footer-sub-wrapper .bottom-menu ul { text-align: center; }
	h1 { font-size: 6rem; margin-bottom: 4rem; }
	h2 { font-size: 4.5rem; margin-bottom: 3.5rem; }
	h3 { font-size: 3.5rem; margin-bottom: 3rem; }
	h4 { font-size: 3rem; margin-bottom: 2.5rem; }
	h5 { font-size: 2.75rem; margin-bottom: 2rem; }
	h6 { font-size: 2.5rem; margin-bottom: 1.75rem; }
	p {   	 /* Break long URLS and words on mobile */
	overflow-wrap: break-word;
	word-wrap: break-word;
  	-ms-word-break: break-all;
	word-break: break-all;
	word-break: break-word;
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;}
}