@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html {
    background-color: #FFF;
}

body {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 18px;
    background-color: #FFF;
}

strong {
    font-weight: 600;
}

body p {
    line-height: 1.25
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Barlow Condensed", sans-serif;
}

.no-padding {
    padding: 0;
}



.no-margin-bottom {
    margin-bottom: 0;
}

.position-relative {
    position: relative;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2rem;
}

.card {
    border-radius: 6px;
    border: none;
}

.grid-container {
    max-width: 105rem;
}

a {
    font-weight: 600;
    color: #4655A2;
}

a:hover {
    color: #271E48;
}

.button {
    border-radius: 6px;
    text-transform: uppercase;
    font-size: 1em;
    font-weight: normal;
}

.button.right-arrow:after {
    font-family: "Font Awesome 6 Free";
    content: "\f0a9";
    font-weight: 900;
    padding-left: 8px;
}

.button.login-icon:after {
    font-family: "Font Awesome 6 Free";
    content: "\f2f6";
    font-weight: 900;
    padding-left: 8px;
}

.button.logout-icon:after {
    font-family: "Font Awesome 6 Free";
    content: "\f2f5";
    font-weight: 900;
    padding-left: 8px;
}

.button.download-icon:after {
    font-family: "Font Awesome 6 Free";
    content: "\f019";
    font-weight: 900;
    padding-left: 8px;
}

.button.refresh-icon:after {
    font-family: "Font Awesome 6 Free";
    content: "\f021";
    font-weight: 900;
    padding-left: 8px;
}

.button.search-icon:after {
    font-family: "Font Awesome 6 Free";
    content: "\f002"; /* Font Awesome search icon */
    font-weight: 900;
    padding-left: 8px;
}

.button.loading:after {
    font-family: "Font Awesome 6 Free";
    content: "\f110";
    font-weight: 900;
    animation: fa-spin 1s infinite linear;
    display: inline-block; /* Required for transform to apply */
    margin-left: 8px;
}

.button.space-above {
    margin-top: 1.5rem
}

.logo {
    max-width: 550px; /* Set the desired width for your logo */
    height: auto; /* Keep the aspect ratio */
    display: block; /* Ensure it behaves properly in the layout */
}

.partners {
    margin-bottom: 3rem;
}

.partners img {
    max-height: 40px;
    padding: 0 1rem;
}

.image-container {
    display: flex;
    align-items: center;
    flex-shrink: 1; /* Allow flex items to shrink if necessary */
    max-width: 100%; /* Ensure the image container doesn't exceed the parent width */
    height: 100%;
    width: 100%;
}

.full-height-image {
    width: 100%; /* Make the image fit the width of the container */
    height: 100%; /* Make the image fill the height of the container */
    object-fit: cover; /* Ensures the image maintains aspect ratio and fills the height */
}

.slick-carousel-container .slick-track {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
}

#main-website-header {
    padding-top: 2rem;
}

#latest-news .image-container {
    max-height: 200px;
    overflow: hidden;
}

#latest-news a:hover h3 {
    color: #4655A2
}

#case-studies .image-container {
    max-height: 350px;
    overflow: hidden;
}

.padded-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

section.smaller-padded-top {
    padding-top: 3rem;
}

section.no-padded-top {
    padding-top: 0;
}

section.larger-padded-top {
    padding-top: 8rem
}

section.smaller-padded-bottom {
    padding-bottom: 3rem;
}

section.no-padded-bottom {
    padding-bottom: 0;
}

section.larger-padded-bottom {
    padding-bottom: 8rem
}

.top-bar {
    border-radius: 6px;
}

.top-bar, .top-bar ul {
    background: transparent;
}

.top-bar nav {
    width: 100%;
    margin: .25rem 0;
}

.top-bar nav a, .top-bar nav .user-name {
    color: #FFF;
    text-transform: uppercase;
    padding: 0;
    font-weight: 500;
}

.top-bar nav a:hover {
    color: #E6EAF6;
}

.top-bar nav a.button {
    padding: 1rem;
    background-color: #FFF;
    color: #4655A2;
    font-size: 1em;
}

.top-bar nav a.button:hover {
    color: #FFF;
    background-color: #4655A2;
}

.top-bar nav a.button.secondary {
    background-color: #4655A2;
    color: #FFF;
}

.top-bar nav a.button.secondary:hover {
    color: #4655A2;
    background-color: #FFFFFF;
}

footer#main-website-footer {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

footer#main-website-footer a, .subfooter a {
    color: #FFF;
    text-decoration: underline;
}

footer#main-website-footer a:hover, .subfooter a:hover {
    color: #E6EAF6;
}

footer#main-website-footer ul {
    list-style: none;
    margin: 0
}

.subfooter {
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.subfooter p {
    margin: 0;
}

footer#main-website-footer .social-media-icons {
    font-size: 2em;
    margin: 0;
}

footer#main-website-footer .social-media-icons li {
    display: inline;
}

footer#main-website-footer .social-media-icons a {
    margin-right: .75rem;
}

#hero-section-content, #diagnostic-frame {
    border-radius: 6px;
    border: none;
    background-color: #E6EAF6;
    background-color: rgba(230, 234, 246, 0.9);
    padding: 3rem;
    color: #271E48;
    font-weight: 500;
}

#hero-section-content h1, .main-section-title {
    font-size: 4rem;
}

.main-section-title .title-icon {
    height: 5rem;
    vertical-align: bottom;
    margin-right: 1rem;
}

#hero-section-content.no-padding {
    padding: 0;
}

#hero-section-content.no-padding .card-section {
    padding: 3rem;
}

#hero-section-content.no-padding .full-height-image {
    border-radius: 0;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}

.button.drop-background {
    box-shadow: 7px 7px 0 #000;
}

.button.bg-darkblue:hover {
    background-color: #4655A2;
}

.button.bg-darkblue.drop-background {
    box-shadow: 7px 7px 0 #4655A2;
}

.button.bg-darkblue.drop-background:hover {
    box-shadow: 3px 3px 0 #271E48;
}

.button.bg-midblue:hover {
    background-color: #000;
}

.button.bg-midblue.drop-background {
    box-shadow: 7px 7px 0 #E6EAF6;
}

.button.bg-midblue.drop-background:hover {
    box-shadow: 3px 3px 0 #E6EAF6;
}


.button.bg-white:hover {
    background-color: #EEE;
    color: #000;
}

.button.bg-white.drop-background {
    box-shadow: 7px 7px 0 #4655A2;
}

.button.bg-white.drop-background:hover {
    box-shadow: 3px 3px 0 #4655A2;
}


.event-listing .button.bg-midblue:hover {
    background-color: #271E48;
}


.event-listing .button.bg-midblue.drop-background {
    box-shadow: 7px 7px 0 #271E48;
}

.event-listing .button.bg-midblue.drop-background:hover {
    box-shadow: 3px 3px 0 #4655A2;
}


.card.supporting-your-success-item {
    position: relative;
    overflow: visible;
    border-radius: 6px;
    border: none;
}

.card.supporting-your-success-item .card-section  {
    padding: 2rem
}

.supporting-your-success-icon-container {
    width: 90px;
    height: 90px;
    background-color: #EEE;
    position: absolute;
    top: -2rem;
    right: 2rem;
    z-index: 10;
    border-radius: 6px;
    display: flex;
    padding: 0.5rem;
}

.supporting-your-success-icon-container:after {
    width: 50px;
    height: 50px;
    background: url("../images/durhamstartups/durham-startups-arrow.png") no-repeat;
    background-size: contain;
    z-index: 10;
    position: absolute;
    display: block;
    content: "";
    bottom: -27px;
    left: -17px;
}

#supporting-your-success .main-section-title {
    background-color: #EB5C40;
    display: inline-block;
}

.supporting-your-success-item h3 {
    max-width: 70%;
}

.inclusion-section {
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 20%, white 20%);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.inclusion-section h2 {
    font-size: 4rem;
    color: #EB5C40;
    display: inline-block;
}

.inclusion-coming-soon {
    display: inline-block;
    background: #4655A2;
    color: #FFF;
    padding: .25rem 1rem;
    margin-left: 1rem;
    border-radius: 9999px;
    margin-top: -1.25rem;
    vertical-align: middle;
}

.inclusion-coming-soon-icon-container {
    display: inline-block;
    width: 1.6rem;
    height: 1.6rem;
    background-color: #271E48;
    text-align: center;
    line-height: 1.3em;
    border-radius: 50%;
    margin-left: -0.5rem;
    margin-right: 0.5rem;
    vertical-align: initial;
}

.inclusion-section .grid-x {
    flex-direction: row;
}

.inclusion-section:nth-child(even) .grid-x {
    flex-direction: row-reverse;
}

.inclusion-section .image-container {
    order: 1;
}

.inclusion-section:nth-child(odd) {
    background: linear-gradient(to left, rgba(255, 255, 255, 0) 20%, white 20%);
}

.inclusion-section:nth-child(even) .image-container {
    order: 2;
}

.body-cta-image {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 120%;
    max-width: inherit;
}

.body-cta-image-container {
    position: relative;
    height: 100%;
}

.body-cta-content-container {
    padding: 5rem 0 3rem;
}

.body-cta-image-container::after {
    width: 200px;
    height: 200px;
    background: url("../images/durhamstartups/durham-startups-arrow.png") no-repeat;
    background-size: contain;
    z-index: 10;
    position: absolute;
    display: block;
    content: "";
    bottom: -90px;
    right: 140px;
}

.event-listing h3 {
    font-size: 1.2em;
}

.event-date {
    margin-top: -1.5rem
}

.event-listing a.button {
    display: inline-block;
}

.event-listing .image-container img {
    border-radius: 6px;
}

#homepage-other-events .event-listing .card-section {
    padding-bottom: 2rem
}

#homepage-featured-event .image-container {
    min-height: 20rem;
}

#homepage-featured-event .image-container img {
    border-radius: 0;
}


#homepage-other-events li:last-child .card {
    margin-bottom: 0
}

.latest-news-item .image-container {
    border-radius: 6px;
}

.read-more-container {
    position: relative;
}

.read-more-container:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #EB5C40;
    transform: translateY(-50%); /* Center the line exactly */
    z-index: 0
}

.read-more-container .read-more-link {
    background-color: #FFF;
    display: inline-block;
    position: relative;
    z-index: 10;
    padding: 0 1rem;
    text-transform: uppercase;
    font-weight: 500;
}

.carousel-navigation {
    background-color: #E6EAF6;
    display: inline-block;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 2rem;
}

.carousel-navigation ul {
    list-style: none;
    display: flex;
    margin: 0;
}

.carousel-navigation ul li {
    display: inline-block;
    margin: 0 1rem;
}

.case-study-item .image-container {
    position: relative;
}

.case-study-item .image-container:after {
    content: "";
    width: 100%;
    height: 100%;
    background: url("../images/durhamstartups/red-diagonal.png") no-repeat;
    position: absolute;
    background-size: 100% 100%;
}

.case-study-item .card .card-section {
    position: relative;
}


.case-study-item .card .read-more-container {
    position: absolute;
    bottom: 0.5rem;
    width: 50%;
    right: 0.5rem;
}

.case-study-item .card .read-more-container .read-more-link {
    background-color: #271E48;
    color: #FFF;
}

.case-study-portait-image-container {
    position: absolute;
    top: -6rem;
    right: 5rem;
    max-width: 10rem;
    max-height: 10rem;
}

.case-study-portait-image-container:before {
    content: "";
    width: 100%;
    height: 100%;
    background-color: #E6EAF6;
    top: -0.5rem;
    left: -0.5rem;
    position: absolute;
    z-index: 0;
    border-radius: 6px;
}

.case-study-portait-image-container img {
    position: relative;
    z-index: 10;
    border-radius: 6px;
}

.case-study-portait-image-container:after {
    width: 60px;
    height: 72px;
    background: url("../images/durhamstartups/durham-startups-arrow.png") no-repeat;
    background-size: contain;
    z-index: 10;
    position: absolute;
    display: block;
    content: "";
    bottom: -30px;
    left: -30px;
}

.case-study-item a h3 {
    min-height: 3.5rem;
}

#case-studies .carousel-navigation {
    background-color: #4655A2;
    color: #FFF;
}

#case-studies .carousel-navigation a {
    color: #FFF;
}

#case-studies .carousel-navigation a:hover {
    color: #271E48;
}

#faqs .grid-container .accordion {
    position: relative;
    z-index: 10;
}

#faqs .accordion .accordion-title {
    padding-left: 3rem;
    padding-right: 0.5rem;
    text-align: left;
    background-color: #4655A2;
    color: #FFF;
    font-size: 1em;
    border: none;
}

#faqs .accordion .accordion-item.is-active .accordion-title {
    background-color: #271E48;
}

#faqs .accordion .accordion-title::before {
    left: 0.5rem;
    right: auto;
    transform: none;
    font-size: 1.25em;
    font-family: "Font Awesome 6 Free";
    content: "\f055";
    font-weight: 900;
    margin-top: -.75rem;
}

#faqs .accordion .accordion-item.is-active .accordion-title::before {
    content: "\f056";
}

#faqs .accordion .accordion-item {
    margin-bottom: 1rem;
    border: solid 2px #4655A2;
    border-radius: 6px;
}

#faqs .accordion-item:last-child > :last-child {
    border-radius: inherit;
}

.partner-item .card {
    background-color: transparent;
    color: #FFF;
}

.case-study-portrait-image {
    background: url('../images/durhamstartups/partner-arrow.png') no-repeat;
    background-size: contain;
}

#partners .grid-container {
    position: relative;
}

#partners .grid-container:before {
    width: 20rem;
    height: 20rem;
    background: url("../images/durhamstartups/durham-startups-arrow.png") no-repeat;
    background-size: contain;
    z-index: 0;
    position: absolute;
    display: block;
    content: "";
    top: -15rem;
    left: -1rem;
}

#partners .grid-container:after {
    width: 20rem;
    height: 20rem;
    background: url("../images/durhamstartups/durham-startups-arrow.png") no-repeat;
    background-size: contain;
    z-index: 0;
    position: absolute;
    display: block;
    content: "";
    bottom: -15rem;
    right: 1rem;
}

#partners .slick-carousel-container {
    position: relative;
    z-index: 10;
}

#partners .carousel-navigation {
    background-color: #E6EAF6;
    color: #271E48;
}

#partners .carousel-navigation a {
    color: #271E48;
}

#partners .carousel-navigation a:hover {
    color: #4655A2;
}

.partner-role {
    margin-top: -0.75rem;
    color: #E6EAF6;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.programme-header {
    position: relative;
}

.programme-header .programme-featured-image img {
    width: 100%;
    height: auto;
}

.programme-header .programme-logo {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 150px;
    height: 150px;
    background-color: #FFF;
    display: flex;
    padding: 0.5rem;
    border-radius: 6px
}

.programme-logo img {
    align-self: center;
}

#programmes .card-section {
    padding-bottom: 2rem;
}

#start-your-journey h2.main-section-title {
    display: inline-block;
    position: relative;
    padding-left: 4rem;
}

#start-your-journey h2.main-section-title::before {
    width: 5rem;
    height: 5rem;
    background: url("../images/durhamstartups/durham-startups-arrow.png") no-repeat;
    background-size: contain;
    z-index: 10;
    position: absolute;
    display: block;
    content: "";
    left: -1rem;
}

#start-your-journey form input, #start-your-journey form textarea, .gh-form-wrapper input, .gh-form-wrapper select, .gh-form-wrapper textarea, #registration-form-container input, #registration-form-container textarea, .enhanced-profile-field input, .enhanced-profile-field textarea {
    border: solid 1px #271E48;
    border-radius: 6px;
    box-shadow: none;
}

.single-event .gh-form-column:has(#nature_of_your_enquiry) {
    display: none
}

.gh-form-wrapper select {
    padding-top: .5rem!important;
    padding-bottom: .5rem!important;
}

.back-to-top {
    margin-bottom: -9.5rem;
    margin-top: 9.5rem;
}

.start-your-journey-contact {
    margin-right: 1rem
}

.start-your-journey-contact a {
    color: #271E48;
    text-decoration: underline;
}

.start-your-journey-contact i {
    color: #4655A2;
    margin-right: 0.35rem
}

.posted-on {
    font-weight: 600;
    font-size: 1.2em;
    color: #4655A2
}

.blog-featured-image {
    border-radius: 6px;
    margin-bottom: 2rem;
    width: 100%;
}

.blog-content h2 {
    color: #4655A2;
    line-height: 2em;
    margin-bottom: 0;
}

#start-your-journey-left img {
    border-radius: 6px;
}

#contact-form .g-recaptcha {
    margin: 1rem 0 2rem;
}

#contact-form .callout {
    border-radius: 6px;
    border: none;
}

#contact-form .callout h3 {
    font-size: 1.1em;
    margin-bottom: 1rem;
}

.callout.formmessage {
    display: none;
    margin: 2rem 0;
}

.callout.formmessage.success, .gh-form-wrapper > .gh-success {
    background-color: #4655A2;
    color: #FFF;
}

.view-all-link {
    font-size: 1.75em;
    margin-top: .75em;
    margin-bottom: 0;
}

.view-all-link a {
    color: #4655A2;
}

.view-all-link a:hover {
    color: #271E48;
}

#events-news-bg #latest-news .view-all-link a {
    color: #FFF;
    background-color: #EB5C40;
    padding: 1rem 0 1rem 1rem;
}


#events-news-bg #latest-news .view-all-link a:hover {
    color: #000;
}


#partners .view-all-link a {
    color: #FFF;
}

#partners .view-all-link a:hover {
    color: #EEE;
}


.inclusions-list {
    margin: 2rem 0;
}

.inclusions-list li {
    display: flex;
    align-items: center;
    font-size: 1.2em;
    line-height: 1.2em;
    margin-bottom: 1rem;
}

.inclusions-list li i {
    margin-right: 1rem;
    flex-shrink: 0;
    font-size: 1.2em;
}

.terms-and-conditions-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.terms-and-conditions-list li input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.terms-and-conditions-list label {
    line-height: 1.2;
    font-size: 1em;
}

.events-filter-container {
    padding: 2rem;
}

.event-meta-dates {
    padding: 1rem;
}

.single-stage .event-meta-dates {
    padding: 0;
}

.event-meta-dates hr {
    margin: 0.75rem 0
}

#events-listing .event-listing .card-section {
    padding: 2rem 2rem 2rem 0;
}

.faq-section {
    margin-bottom: 3rem;
}

.event-featured-image-container {
    margin-bottom: 1rem;
}

.event-meta .button, .event-meta p {
    margin-bottom: 0;
}

ul.social-share-links {
    display: inline;
    list-style: none;
    margin: 0;
}

ul.social-share-links li {
    display: inline;
    font-size: 2em;
}

#events-register .social-share-links li {
    font-size: 3em;
    vertical-align: middle;
    margin: 0 .5rem;
}

#events-register .social-share-links li a {
    color: #FFF;
}

.gh-form-wrapper label.gh-checkbox-label input {
    margin-bottom: 0;
}

.gh-form-wrapper label.gh-checkbox-label {
    margin-bottom: .5rem;
}

.gh-form-wrapper .gh-form-fields button.gh-submit.drop-background {
    display: inline-block;
    width: auto;
}

.gh-form-wrapper .g-recaptcha, #registration-form-container .g-recaptcha {
    margin: 1rem 0;
}

#mobileMenu {
    background-color: #271E48;
    color: #FFF;
}

#mobile-menu ul li a {
    color: #FFF;
    display: block;
    padding: 1rem
}

#mobile-menu ul {
    margin-top: 2rem;
    padding: 1rem;
    font-size: 1.1em;
}

#mobile-menu ul li {
    display: block;
    width: 100%;
}

#mobile-menu ul li a.button {
    margin-top: 2rem;
}

#mobileMenu .close-button {
    color: #FFF;
}

#hub-manage-contact-preferences label {
    color: #FFF;
    font-size: 1em;
}

#hub-manage-contact-preferences .contact-form-fields {
    padding: 1rem 1rem 0.5rem;
    background-color: rgba(0,0,0,.4);
    border-radius: 6px;
}

#hub-manage-contact-preferences .callout.formmessage {
    margin: 0;
}

#events-listing .event-item {
    margin-bottom: 2rem;
}

#events-listing .event-item .card-section {
    margin: 1rem 2rem 1rem -4rem;
}

#hero-section-content .full-height-image {
    border-radius: 6px;
}

.event-item .image-container, .startup-academy-item .image-container {
    position: relative;
}

.event-item .image-container .event-icon-container, .startup-academy-item .image-container .startup-academy-icon-container {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 4rem;
    height: 4rem;
    background-color: #FFF;
    border-radius: 50%;
}

.event-item .image-container .event-icon-container i, .startup-academy-item .image-container .startup-academy-icon-container i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 1.5em;
}

.event-featured-image-container {
    border-radius: 6px;
    overflow: hidden;
}

#events-register .button {
    font-size: 1.25em;
    padding: 2rem 4rem;
}

#events-register .button:hover {
    background-color: #000;
}

#stories-introduction #hero-section-content {
    background-color: rgba(39, 30, 72, 0.9);
    color: #FFF;
}

.faq-section:last-of-type {
    margin-bottom: 0;
    padding-bottom: 6rem;
}

.case-study-item a:hover {
    color: #DDD;
}

#hub-get-support .card-section {
    padding: 2rem;
}

.ds-help-tip {
    color: #4655A2;
}

.ds-tooltip {
    display: none;
    position: absolute;
    background-color: #4655A2;
    padding: 10px;
    color: #fff;
    margin-right: 2rem;
    z-index: 10;
    max-width: 350px;
}

.below-partners {
padding-top: 10rem;
}

#homepage-start-your-journey-container {
    margin-top: -1.75rem;
}

#homepage-start-your-journey-container .card-section {
    padding: 2rem;
}

#start-your-journey #homepage-start-your-journey-container h2.main-section-title {
    padding-left: 0;
}


#start-your-journey #homepage-start-your-journey-container h2.main-section-title:before {
    display: none;
    content: "";
}

#event-categories {
    margin-top: 3rem
}

.gh-form .terms label, .gh-form .consent label {
    font-size: inherit;
}

.gh-form-wrapper .terms label.gh-checkbox-label, .gh-form-wrapper .consent label.gh-checkbox-label {
    align-items: baseline;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

form .req {
    color: #b32d2e;
}

.single-event #hero-section-content {
    background-color: rgba(250,250,250,.95);
}

.bg-lightblue p a, .bg-lightblue li a, .bg-lightblue label a {
    color: #271E48;
}

.bg-lightblue p a:hover, .bg-lightblue li a:hover, .bg-lightblue label a:hover {
    color: #190f40;
}

#faqs-introduction a {
    color: #000000;
}

#faqs-introduction a:hover {
    color: #1B1B1B;
}

.bg-lightblue a.button, .bg-lightblue a.button:hover {
    color: #FFF;
}

.durhamstartups-pagination {
    text-align: right;
    margin: 2rem 0;
    clear: both;
    display: block;
    width: 100%;
}

.durhamstartups-pagination .page-numbers {
    display: inline-block;
    padding: .5rem 1rem;
    background-color: #E6EAF6;
    border-radius: 6px;
    color: #271E48;
}

.durhamstartups-pagination .page-numbers:hover, .durhamstartups-pagination span.page-numbers.current {
    background-color: #271E48;
    color: #FFF;
}

.pagination-page-count {
    text-align: right;
}

.pagination-page-count p {
    display: inline-block;
    background-color: #FFF;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.profile-photo-container {
    width: 75px;
    height: 75px;
    overflow: hidden;
    border-radius: 50%;
    display: inline-block;
    background-color: #FFF;
    border: solid 3px #FFF;
    vertical-align: middle;
    margin: 0 1rem;
}


#enhanced_profile_avatar {
    margin: 1rem 0;
}

.enhanced-profile-field {
    padding: 1rem 0;
}

.enhanced-profile-edit .card .card-section {
    padding: 2rem;
}

body.logged-in .top-bar {
    float: right;
}

body.logged-in .top-bar .my-account-menu {
    display: none;
}

body.logged-in .top-bar .my-account-menu.js-dropdown-active {
    display: inherit;
}


body.logged-in #main-menu a {
    display: inline-block;
    margin: 0 1rem;
}

body.logged-in #main-menu i.fa-circle-user {
    font-size: 3em;
    vertical-align: middle;
    margin: 0 1rem;
}

body.logged-in #main-menu i.fa-bars {
    font-size: 1.75em;
    vertical-align: middle;
    margin: 0 1rem;
}

body.logged-in #main-menu i {
    font-size: 1.35em
}

#main-menu .fa-bookmark {
    text-shadow:
            -1px -1px 0 #EB5C40,
            1px -1px 0 #EB5C40,
            -1px  1px 0 #EB5C40,
            1px  1px 0 #EB5C40;
}

#main-menu .submenu {
    border: none;
    background-color: #4655A2;
    text-align: left;
    top: 4rem;
    padding: 1rem 0;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    box-shadow: 0 3px 3px rgba(0,0,0,.3);
}

@-moz-document url-prefix() {
    #main-menu .submenu {
        top: 4.25rem; /* Firefox-specific positioning */
    }
}

#main-menu .submenu a {
    margin: 0!important;
}

#main-menu .submenu a:hover {
    color: #271E48;
}

#main-menu .dropdown.menu > li.is-active > a {
    color: #4655A2;
}


body.logged-in #main-menu .profile-photo-container {
    width: 65px;
    height: 65px;
    border: solid 3px #FFF;
}

body.logged-in .dropdown.menu > li.is-dropdown-submenu-parent > a::after {
    display: none;
}

.event-meta.bg-midblue.fg-white a {
    color: #ebecf4;
    font-weight: bold
}

.event-meta.bg-midblue.fg-white a:hover {
    color: #d5d8e8;
}

.external-link {
    position: relative;
}

.external-link::before {
    content: "";
    position: absolute;
    top: -5rem;
    right: 1rem;
    width: 7rem;
    height: 9rem;
    background: #EB5C40;
    transform: rotate(-45deg);
    transform-origin: top right;
    z-index: 1;
}

.external-link::after {
    font-family: "Font Awesome 6 Free";
    content: "\f35d";
    font-weight: 900;
    position: absolute;
    top: 1rem; /* Adjust as needed */
    right: 1.5rem; /* Adjust as needed */
    z-index: 2; /* Ensure it appears on top */
    color: #FFF;
}

.external-link:hover {
    background-color: #EEE;
}

#durham-startups-recommends ul {
    list-style: none;
    margin: 0;
}

.resource-or-template-item a {
    display: block;
    padding: 0.5rem 0;
}

ul.task-resource-list {
    margin: 0;
    list-style: none;
}

.resource-or-template-item {
    padding-bottom: 1rem;
    border-bottom: solid 2px #E6EAF6;
}

.resource-or-template-item:last-of-type {
    border-bottom: none;
}

.resource-or-template-item div.small {
    font-size: 0.9em;
    margin-top: -.5rem;
}

.resource-or-template-item div.small p:last-child {
    margin-bottom: 0;
}

#task-page-business-stage-details {
    font-size: 1.5em;
    margin-bottom: .75rem;
    color: #FFF;
    display: block;
}

#task-page-business-stage-details:hover {
    color: #EB5C40;
}

#task-page-business-stage-details .business-stage-icon {
    height: 3rem;
    margin-left: 1rem;
    background-color: #FFF;
    border-radius: 50%;
    padding: 0.5rem;
}

.sj_action {
    display: block;
    background: linear-gradient(300deg, #E6EAF6 85%, #EB5C40 85%);
    color: #271E48;
    margin-bottom: 0.5rem;
    padding: 0.5rem 1.5rem 0.5rem 1rem;
    font-weight: 600;
    border-radius: 6px;
}

.sj_action .toggle-action {
    display: inline-block;
    background-color: #FFF;
    width: 2rem;
    height: 2rem;
    text-align: center;
    vertical-align: middle;
    border-radius: 6px;
    overflow: hidden;
}

.not-relevant-instruction {
    margin-top: -1.5rem;
    margin-bottom: 2rem;
    color: #444;
    font-size: .9em;
}

#tldr-section .responsive-embed {
    margin-bottom: 2rem;
}

.other-task .card-image {
    height: 10rem;
}

.startup-journey-graphic {
    margin-bottom: 2rem;
    box-shadow: 0 0 1rem rgba(0,0,0,.4);
    z-index: 10;
}

.startup-journey-download-link {
    width: 100px;
    height: 100px;
    position: absolute;
    background-color: #FFF;
    bottom: 8%;
    right: 5%;
    border-radius: 50%;
    box-shadow: 0 0 10px #271E48;
}

.startup-journey-download-link i {
    font-size: 3em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

#learn-and-do .menu .button {
    display: inline-block;
}

#diagnostic-reminder {
    border-radius: 6px;
    border: none;
    padding: 1rem 2rem 1rem 0;
    box-shadow: 0 0 1rem rgba(0,0,0,.4);
    position: relative;
}

#diagnostic-reminder .image-container {
    max-height: 14rem;
    overflow: hidden;
    border-radius: 6px;
    margin-right: 2rem;
}

#diagnostic-frame {
    overflow: visible;
}

#diagnostic-frame .full-height-image {
    object-fit: contain;
    margin-top: -8rem;
    margin-bottom: -8rem;
    height: 40rem;
}

#diagnostic-frame.diagnostic-arrow-bg {
    position: relative;
}

#diagnostic-frame.diagnostic-arrow-bg::after {
    width: 10rem;
    height: 10rem;
    background: url("../images/durhamstartups/durham-startups-arrow.png") no-repeat;
    background-size: contain;
    z-index: 10;
    position: absolute;
    display: block;
    content: "";
    top: -2rem;
    right: 0rem;
}

section#diagnostic-section {
    overflow: visible;
}

#diagnostic-results-container {
    background: linear-gradient(275deg, #EB5C40 50%, #271E48  50%);
    padding: 1rem 2rem 1rem 0;
    margin-top: -1rem;
}

.last-diagnostic-taken {
    margin-bottom: -1rem;
    display: inline-block;
    color: #FFF;
    background-color: #EB5C40;
    padding: 0.25rem 1rem;
    border-radius:6px;
}

#diagnostic-frame hr {
    border-bottom-color: #EB5C40;
    margin: 2rem 0;
}

#diagnostic-results-container .button {
    margin-top: 2rem;
}

#previous-diagnostic-results {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

#previous-diagnostic-results .previous-diagnostic-result p, #previous-diagnostic-results .previous-diagnostic-result .button {
    margin-bottom: 0;
}


.callout.bg-midblue .close-button {
    color: #FFF;
}

.callout.bg-midblue .close-button {
    color: #EEE;
}

#diagnostic-reminder .button {
    margin-bottom: 0;
}

.button.bg-darkblue:hover {
    background-color: #1c1539;
}

#search-modal {
    top: 0 !important; /* Ensure it's at the top */
    height: 100vh !important; /* Full viewport height */
    margin: 0 !important; /* Remove any margin */
    left: 0 !important; /* Ensure it's aligned to the left */
    background-size: 50% !important;
    background: rgba(39, 30, 72, 0.96) url('../images/durhamstartups/bg-body-cta.png') no-repeat 160% 200%;
    background-size: auto;
}

#search-modal h2 {
    position: relative;
    display: inline-block;
}

#search-modal h2:after {
    width: 25px;
    height: 25px;
    background: url("../images/durhamstartups/durham-startups-arrow.png") no-repeat;
    background-size: contain;
    position: absolute;
    display: block;
    content: "";
    top: 0;
    right: -2.5rem;
}

.reveal.full {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    margin: 0;
    padding: 2rem;
    background: rgba(39, 30, 72, 0.95);
    color: #FFF;
}

/* Center content when modal is active */
.reveal.full.is-active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Larger search input and button */
.reveal.full form, #searched-term form {
    display: flex; /* Align input and button on the same line */
    justify-content: center;
    gap: 1rem; /* Add spacing between input and button */
    width: 100%; /* Ensure full width for form container */
}

.reveal.full form input[type="search"], #searched-term form input[type="search"] {
    flex: 1; /* Input expands to take available space */
    padding: 1.5rem; /* Larger padding for height */
    font-size: 1.5rem; /* Larger text */
    border: 2px solid #ccc;
    border-radius: 6px;
    max-width: 800px; /* Limit width for better appearance */
}

.reveal.full form button, #searched-term form button {
    font-size: 1.5rem; /* Larger text */
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: .8rem 2rem;
}

/* Adjust the title styling */
.reveal.full h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Close button adjustments */
.reveal.full .close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: white;
}

#searched-term input, #searched-term .button {
    margin-bottom: 0;
}

.insight-primary-stage {
    font-weight: bold;
    margin-top: 2rem;
    font-size: 1.2em;
    color: #4655A2;
}

/* Container styles */
.profile-completion-ring {
    position: relative;
    width: 120px;
    height: 120px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
}

/* Profile Ring (SVG) */
.profile-completion-ring .profile-ring {
    overflow: visible;
}

.profile-completion-ring .profile-ring__circle-bg {
    stroke: #e6e6e6; /* Background circle color */
    stroke-width: 8;
}

.profile-completion-ring .profile-ring__circle {
    stroke: #4655A2; /* Foreground circle color (Foundation's primary color) */
    stroke-width: 8;
    stroke-linecap: round; /* Rounded edges */
    fill: transparent;
    transition: stroke-dashoffset 1s ease-in-out; /* Smooth animation */
}

body.logged-in #main-menu .profile-photo-container a {
    margin: 0;
}

#learn-and-do .card h3 {
    border-bottom: solid 2px #EB5C40;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

#learn-and-do .image-container {
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}

#durham-startups-enhanced-profile-business-form label, #durham-startups-enhanced-profile-user-form label {
    font-size: 1em;
}

#durham-startups-enhanced-profile-business-form label.checkbox-label input, #durham-startups-enhanced-profile-user-form label.checkbox-label input {
    margin: 0 .5rem 0 1rem
}

#durham-startups-enhanced-profile-business-form label.property-label, #durham-startups-enhanced-profile-user-form label.property-label {
    font-weight: 600;
    margin-bottom: .5rem;
    color: #271E48
}

#durham-startups-enhanced-profile-business-form h3, #durham-startups-enhanced-profile-user-form h3 {
    font-size: 1.3em;
    margin-bottom: 1rem;
    margin-top: 2rem;
    border-bottom: solid 3px #EB5C40;
    padding-bottom: 1rem;
}

#durham-startups-enhanced-profile-business-form label i, #durham-startups-enhanced-profile-user-form label i {
    font-size: 2em;
}

#enhanced_profile .card {
    overflow: visible;
    margin-bottom: 3rem;
}

#enhanced_profile h2 {
    background: linear-gradient(300deg, #271E48 25%, #4655A2 25%);
    color: #FFF;
    padding: 2rem;
    margin: -2rem -2rem 2rem;
    position: relative;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

#enhanced_profile #durham-startups-enhanced-profile-user-form h2 {
    background: linear-gradient(300deg, #271E48 25%, #4655A2 25%);
}

#enhanced_profile #durham-startups-enhanced-profile-business-form h2 {
    background: linear-gradient(300deg, #271E48 25%, #EB5C40 25%);
}

#enhanced_profile h2:before {
    width: 10rem;
    height: 10rem;
    background: url("../images/durhamstartups/durham-startups-arrow.png") no-repeat;
    background-size: contain;
    z-index: 0;
    position: absolute;
    display: block;
    content: "";
    top: -2rem;
    right: 0;
}

.bg-split .card-section.card-section-left {
    padding: 2rem 2rem 2rem 3rem
}

.bg-split .card-section.card-section-right {
    padding: 2rem 3rem 2rem 2rem
}

#post-registration .card-section.card-section-left img {
    border-radius: 6px;
}

#post-registration .card-section-left .image-container {
    position: relative;
    display: block;

}

#post-registration .slider {
    background-color: #919bb5;
    margin-right: -1rem;
    border-radius: 6px;
    background-image:
            repeating-linear-gradient(
                    to right,
                    #E6EAF6,
                    #E6EAF6 1px,
                    #919bb5 1px,
                    #919bb5 calc(10%)
            );
}

#post-registration .card-section-left .image-container:before {
    width: 5rem;
    height: 5rem;
    background: url("../images/durhamstartups/durham-startups-arrow.png") no-repeat;
    background-size: contain;
    z-index: 0;
    position: absolute;
    display: block;
    content: "";
    top: -3rem;
    right: 0;
}

#post-registration .slider-handle {
    background-color: transparent;
    background: #FFF url("../images/durhamstartups/durham-startups-arrow.png") no-repeat;
    background-size: 76%;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 6px;
    background-position: 30% center;
}

#post-registration .slider-handle:hover {
    background-color: #EEE;
    border-radius: 6px;
}

#post-registration .slider-fill {
    background-color: rgba(235, 92, 64, 0.8);
    border-radius: 6px;
}

#post-registration .fa-face-frown, #post-registration .fa-face-smile {
    color: #4655A2;
    font-size: 1.5em;
    margin-top: -.5rem;
    vertical-align: super;
}

#post-registration .fa-face-frown {
    color: #b6381f;
}

#post-registration .fa-face-smile {
    color: #1a9511;
}

.confidence-full-question {
    display: block;
    clear: both;
    margin-top: -1rem;
    margin-bottom: 2rem;
    font-size: 0.9em
}

.confidence-slider {
    margin-top: -1rem;
    margin-bottom: 1.5rem;
}

#your-profile-completion .button {
    margin-bottom: 0;
}

.profile-completion-ring::before {
    width: 75px;
    height: 75px;
    background: url("../images/durhamstartups/durham-startups-arrow.png") no-repeat;
    background-size: contain;
    z-index: 0;
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}


.my-profile-item .card {
    overflow: visible;
    position: relative;
}

.my-profile-item .card .card-section {
    padding: 2rem;
}

.my-profile-item .button {
    margin-bottom: 0;
}

.my-account-icon-container {
    position: absolute;
    top: -1rem;
    left: 2rem;
    width: 150px;
    height: 150px;
    background-color: #EEE;
    border-radius: 6px;
    display: flex;
    padding: 0.5rem;
}

.my-account-icon-container:after {
    width: 50px;
    height: 50px;
    background: url("../images/durhamstartups/durham-startups-arrow.png") no-repeat;
    background-size: contain;
    z-index: 10;
    position: absolute;
    display: block;
    content: "";
    bottom: -27px;
    left: -17px;
}

#searched-term-search-box {
    background-size: 40% !important;
    background: #271E48 url('../images/durhamstartups/bg-body-cta.png') no-repeat right top;
}

.content-listing-item {
    margin-bottom: 2rem;
    background-size: 30% !important;
    background: #271E48 url('../images/durhamstartups/bg-body-cta.png') no-repeat 128% 150%;
    position: relative;
    overflow: visible;
}

.content-listing-item:last-of-type {
    margin-bottom: 0;
}

.content-listing-item .image-container {
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
    background-color: #546994;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    overflow: hidden;
}


.business-stage-listing .image-container {
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
    background-color: #546994;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    overflow: hidden;
    max-height: 440px;
    position: relative;
}

.stage-icon-container {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 100px;
    height: 100px;
}

.stage-icon-container .stage-icon {

    position: absolute;
    top: 50%;
    left: 50%;
    width: 75%;
    transform: translate(-50%,-50%);

}

.stage-name-container {
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 2.5em;
    background-color: rgba(0,0,0,.7);
    padding: 1rem 3rem 1rem;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
}

.stage-name-container p {
    margin-bottom: 0;
}

.stage-name-container .stage-number {
    color: #EB5C40;
}

.business-stage-listing {
    overflow: visible;
    position: relative;
}

.business-stage-listing:after {
    width: 75px;
    height: 75px;
    background: url("../images/durhamstartups/durham-startups-arrow.png") no-repeat;
    background-size: contain;
    z-index: 10;
    position: absolute;
    display: block;
    content: "";
    top: -25px;
    right: -5px;
}


.bookmark-content {
    font-size: 1.5em;
    color: #271E48;
}

/* General styles remain the same */
.bookmark-container {
    background-color: #FFF;
    width: 5rem;
    height: 5rem;
    position: absolute;
    top: -1rem;
    right: -1rem;
    border-radius: 50%;
}

.bookmark-container .bookmark-content, .bookmark-container .bookmark-content-not-logged-in {
    font-size: 2.5em;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
}

/* Not bookmarked state */
.bookmark-container .bookmark-content.not-bookmarked, .bookmark-container .bookmark-content-not-logged-in {
    color: #EB5C40;
    position: relative;
}

.bookmark-container .bookmark-content.not-bookmarked::after, .bookmark-container .bookmark-content-not-logged-in::after {
    font-family: "Font Awesome 6 Free";
    content: "\2b"; /* Add the tick icon */
    font-size: .4em; /* Adjust size as needed */
    color: #EB5C40;
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    display: block;
}

/* Bookmarked state */
.bookmark-container .bookmark-content.bookmarked {
    color: #25c32c;
    position: relative;
}

.bookmark-container .bookmark-content.bookmarked::after {
    font-family: "Font Awesome 6 Free";
    content: "\f00c"; /* Add the tick icon */
    font-size: .4em; /* Adjust size as needed */
    color: #FFF;
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    display: block;
}

.single-post .bookmark-container, .single-story .bookmark-container, .single-startup_academy .bookmark-container {
    position: relative;
    margin: auto;
    right: inherit;
}

#task-introduction-container .bookmark-container {
    background-color: #E6EAF6;
}


#task-introduction-container .bookmark-container .bookmark-content {
    display: inline-block;
}

.content-type-excerpt {
    margin: 1rem 0 2rem;
}

.content-type-title i {
    color: #EB5C40;
    font-size: 1.5em;
    vertical-align: middle;
    margin-right: .5rem;
}

hr.fg-red {
    border-bottom: solid 2px #EB5C40;
}

.durhamstartups-filter-container {
    background-color: #4655A2;
    padding: .5rem 1rem 0;
    border-radius: 6px;
    color: #FFF;
    position: relative;
}

.durhamstartups-filter-container:before {
    width: 4rem;
    height: 4rem;
    background: url("../images/durhamstartups/durham-startups-arrow.png") no-repeat;
    background-size: contain;
    z-index: 0;
    position: absolute;
    display: block;
    content: "";
    top: -2rem;
    right: 0;
}

.durhamstartups-filter-container label {
    color: #FFF;
    font-size: 1em;
    margin-bottom: 0.5rem;
}

.durhamstartups-filter-container select {
    border: solid 1px #271E48;
    border-radius: 6px;
    box-shadow: none;
}

#post-author-details a.fg-lightblue:hover {
    color: #838ec3;
}

#durham-startups-share-this-post {
    margin-top: 4rem;
    background-size: 50% auto !important;
    background: #E6EAF6 url('../images/durhamstartups/bg-start-journey.png') no-repeat left center;
}

#author-info-box {
    margin-top: 4rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

#stage-content.padded-section {
    min-height: 150vh;
}

.single-task #stage-content.padded-section {
    min-height: inherit;
}

#stage-content-container {
    background: rgba(255,255,255,.95);
    padding-right: 2rem;
}

#questions-to-ask ol {
    list-style-type: decimal;
}

#questions-to-ask ol li::marker {
    color: #EB5C40;
    font-weight: bold;
    font-size: 1.2em;
}


#questions-to-ask, #pitfalls-to-avoid {
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 2rem;
}

#questions-to-ask .card-section, #pitfalls-to-avoid .card-section {
    padding: 2rem;
}

#questions-to-ask h2, #pitfalls-to-avoid h2 {
    border-bottom: solid 1px #EB5C40;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

#pitfalls-to-avoid h2 {
    border-bottom: solid 1px #E6EAF6;
}

#questions-to-ask:after, #pitfalls-to-avoid:after {
    content: "?";
    position: absolute;
    bottom: -75px;
    right: -75px;
    font-size: 58px;
    width: 150px;
    height: 150px;
    background-color: #EB5C40;
    border-radius: 50%;
    text-indent: 35px
}

#pitfalls-to-avoid:after {
    content: "!";
    background-color: #271E48;
}

ul.ticks {
    list-style: none;
    margin: 0;
}

ul.ticks li {
    position: relative;
    padding-left: 1.8em;
}

ul.ticks li::before {
    content: "\f00d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #EB5C40;
    font-size: 1.2em;
}

#tldr-section > .card-section {
    padding: 2rem;
}

.card#tldr-section {
    margin-bottom: 4rem;
}

.card#tldr-section hr {
    border-color: #EB5C40
}


.card#tldr-section {
    margin-bottom: 4rem;
}

.card#tldr-section hr {
    border-color: #EB5C40
}


#stage-content-container h2, #task-content-container h2 {
    color: #4655A2;
    display: block;
    margin-top: 2rem;
}

#stage-content blockquote {
    background: #E6EAF6;
    border-left: 10px solid #EB5C40;
    margin: 2rem 0 2rem 2rem;
    padding: 1rem;
    color: #271E48;
    font-size: 1.2em;
    font-weight: 600;
}

#stage-content blockquote::before {
    font-family: "Font Awesome 6 Free";
    color: #b2b8cd;
    content: "\f10d";
    font-size: 2em;
    line-height: 0.1em;
    margin-right: 1.25em;
    font-weight: 900;
    margin-left: 1rem;
}

#stage-content blockquote p {
    display: inline;
    color: #271E48;
}

#stage-content hr {
    margin: 4rem 2rem!important;
    border-bottom: 2px solid #EB5C40;
}

#stage-content table {
    margin: 2rem 0;
}

#stage-content table tbody tr {
    width: 100%;
    border-radius: 6px;
    background-color: #F5F5F5;
}

#stage-content tbody tr:nth-child(2n) {
    border-bottom: 0;
    background-color: #EEE;
}

#stage-content td, #stage-content th {
    padding: 2rem;
}

#stage-content #stage-content-container ul {
    margin-left: 2rem;
}

#stage-content-container h2:first-of-type, #task-content-container h2:first-of-type {
    margin-top: 0
}


#stage-content-audio audio {
    width: 100%;
}

#stage-content-audio .fa-volume-high {
    font-size: 2.75em;
}

#task-content-container {
    padding: 2rem;
}

#task-content-container.tabs-content {
    border: none;
}

.tabs#task-tabs {
    background: transparent;
    border: none;
}

.tabs#task-tabs .tabs-title {
    background-color: #F6F6F6;
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
    margin-right: 1rem;
}

.tabs#task-tabs .tabs-title > a {
    display: block;
    padding: 1rem 2.5rem 1rem 1rem;
    font-size: 1.2rem;
    line-height: 1;
    color: #271E48;
}

.tabs#task-tabs .tabs-title > a:hover {
    border-radius: 6px;
}


.tabs#task-tabs .tabs-title > a:focus, .tabs#task-tabs .tabs-title > a[aria-selected="true"] {
    background: #FFF;
    color: inherit;
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
}

img.task-tab-icon {
    height: 1.5rem;
    margin-right: .5rem;
}

#task-tabs .accordion-title {
    font-size: inherit;
    color: #271E48
}

#business-stage-call-to-action {
    background-image: url("../images/durhamstartups/stage-cta-arrow.png");
    background-repeat: no-repeat;
    background-position: 10px bottom;
}

#business-stage-call-to-action .card-section {
    padding-bottom: 6rem;
}

#task-content-container .card#tldr-section {
    margin-bottom: 2rem;
    padding: 2rem 2rem 1rem;
}



#startup-journey-graphic-container {
    position: relative;
}

.startup-journey-graphic-link {
    position: absolute;
    display: block;
    width: 22.5%;
    height: 15%;
    transition: background-color 0.5s ease;
    z-index: 20;
}


.startup-journey-graphic-link#sjg-idea-link {
    top: 15%;
    left: .5%;
}

.startup-journey-graphic-link#sjg-exploration-link {
    top: 25%;
    left: 42%;
}

.startup-journey-graphic-link#sjg-prepare-plan-link {
    top: 40%;
    left: 73.5%;
}

.startup-journey-graphic-link#sjg-legal-ip-link{
    top: 52%;
    left: 10%;
}

.startup-journey-graphic-link#sjg-pre-launch-link{
    top: 72%;
    left: 2%;
}

.startup-journey-graphic-link#sjg-launching-link{
    top: 74.5%;
    left: 47.5%;
}

.startup-journey-graphic-link:hover {
    background-color: rgba(0,0,0,.15)
}



body.single-stage #latest-news {
    padding-bottom: 4rem;
}

#stage-featured-case-study .image-container img {
    max-height: 25rem;
}

.small-event h3 {
    font-size: 1em;
    margin-bottom: 1rem
}

.small-event .event-meta {
    padding: 0.75rem;
}

.external-link h3 {
    font-size: 1em;
    border-bottom: solid 2px #EB5C40;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.external-link {
    font-weight: normal;
}

.external-link .image-container {
    border-radius: 6px;
    overflow: hidden;
}

#task-introduction-container {
    position: relative;
    overflow: visible;
}


#task-introduction-container .image-container {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    overflow: hidden;
    max-height: 440px;
}

#task-introduction-container h1 {
    border-bottom: solid 2px #EB5C40;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

#task-actions .card-section {
    padding: 2rem;
}

.single-task-link .image-container, #task-introduction-container .image-container {
    position: relative;
}

.single-task-link .image-container::after, #task-introduction-container .image-container::after {
    content: "";
    width: 100%;
    height: 100%;
    background: url("../images/durhamstartups/red-diagonal.png") no-repeat;
    background-size: auto;
    position: absolute;
    background-size: 100% 100%;
}

.single-task-link h3 {
    font-size: 1.5em;
    border-bottom: solid 2px #EB5C40;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

#other-tasks .full-height-image {
    max-height: 200px;
}

#tldr-section {
    margin-bottom: 2rem;
}

#tldr-section ul:last-of-type {
    margin-bottom: 0;
}

#tldr-section h2 {
    font-size: 1.2em;
    color: #271E48!important;;
    margin-bottom: 1em;
}

.sj_action .toggle-action i {
    vertical-align: middle;
    line-height: 2rem;
}

.sj_action .success-icon {
    color: #EEE;
}

.sj_action .success-icon.checked, .action-completion-status-container .fa-circle-check {
    color: #25c32c
}

.action-completion-status-container .fa-circle-check {
    color: #25c32c;
    position: relative;
    z-index: 10;
}

.action-completion-status-container .fa-circle-check:after {
    position: absolute;
    width: 80%;
    height: 80%;
    content: "";
    background-color: #FFF;
    top: 10%;
    left: 10%;
    z-index: -1;
    border-radius: 50%;
}

.sj_action.greyed-out {
    opacity: 0.5;
    text-decoration: line-through;
}

.not-relevant-icon {
    color: #999;
    cursor: pointer;
}

.not-relevant-action.has-tip {
    border-bottom: none;
}

.not-relevant-icon:hover {
    color: #666;
}

#hub-welcome-bg #welcome-introduction {
    position: relative;
}

#hub-welcome-bg #welcome-introduction::after, #diagnostic-reminder:before {
    background: url('../images/durhamstartups/down-arrow-lightblue-transparent.png');
    display: block;
    width: 7rem;
    height: 7rem;
    position: absolute;
    content: "";
    bottom: -7rem;
    left: 50%;
    background-size: contain;
    transform: translateX(-50%);
    background-repeat: no-repeat;
    z-index: 1;
}

#diagnostic-reminder {
    position: relative;
    overflow: visible;
}

#diagnostic-reminder:before {
    bottom: inherit;
    top: -8rem;
}



#cookie-notice, #cookie-notice .cn-button:not(.cn-button-custom) {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 16px;
}

h1 i.fa-bookmark {
    margin-left: 1rem;
}

#post-registration h2.main-section-title {
    font-size: 2.5em
}

.my-profile-intro {
    margin-bottom: 4rem;
}


.stage-latest-news .read-more-container .read-more-link {
    background-color: #E6EAF6;
}

#stage-stories-events .case-study-item .image-container {
    height: 225px;
}

#stage-stories-events .case-study-item a h3 {
    min-height: inherit;
}

#stage-stories-events .case-study-item a.fg-darkblue:hover {
    color: #4655A2;
}

#stage-stories-events .case-study-item .card-section {
    padding-bottom: 2rem;
}

#stage-stories-events .case-study-item .card .read-more-container .read-more-link {
    color: #271E48;
    background-color: #E6EAF6;
}

#stage-stories-events .case-study-item .card .read-more-container .read-more-link:hover {
    color: #4655A2;
}

#achievements .achievement img {
    height: 150px;
    margin-bottom: 1rem;
    opacity: 0.25;
}

#achievements .achievement.achieved img {
    opacity: 1;
}

.action-list-section h2 img {
    height: 4.75rem;
    vertical-align: middle;
    margin-right: .5rem;
}

.action-list-item p {
    margin-bottom: 0;
    line-height: 25px;
}

.action-completion-status-container i {
    font-size: 25px;
    color: #FFF;
}

.card.action-list-item {
    background-color: #271E48;
    color: #FFF;
}

.card.action-list-item:hover {
    background-color: #17112c;
}

.startup-journey-breadcrumb {
    padding: 1rem;
    background-color: #E6EAF6;
    display: inline-block;
    border-radius: 6px;
}

.startup-journey-breadcrumb .breadcrumbs {
    margin-bottom: 0;
}

.startup-journey-breadcrumb .breadcrumbs li {
    font-size: 0.9em;
}

.startup-journey-breadcrumb .breadcrumbs li a {
    color: #271E48;
}

.startup-journey-breadcrumb .breadcrumbs li:last-child a {
    color: #EB5C40;
}

.stage-progress-container {
    position: absolute;
    left: 9rem;
    top: 3.5rem;
    font-size: 1.2em;
    padding: 0.25rem 1rem;
    border-radius: 6px;
    background-color: #EB5C40;
    text-transform: uppercase;
    font-weight: bold;
}

.stage-progress-container.stage-progress-completed {
    background-color: #4cac26;
}

.stage-progress-container.stage-progress-in-progress {
    background-color: #eb8740;
}

#startup-journey-scorecard-box {
    overflow: visible;
    background-size: 60% auto !important;
    background: #271E48 url('../images/durhamstartups/bg-body-cta.png') repeat-y -85% 67%;
    background-size: auto;
    margin-bottom: 4rem;
    margin-top: 4rem;
}

#startup-journey-scorecard-box .full-height-image {
    object-fit: contain;
    margin-top: -5rem;
    margin-bottom: -5rem;
    height: 25rem;
}

.previous-diagnostic-result {
    overflow: visible;
    position: relative;
}

.previous-diagnostic-result .full-height-image {
    object-fit: contain;
    margin-top: -1.2rem;
    margin-bottom: -1.2rem;
    height: 8rem;
}

.hidden {
    display: none;
}

.card.action-list-section, .card.achievement-container {
    padding: 2rem;
position: relative;
    overflow: visible;
    background-size: 100% auto !important;
    background: #FFF url('../images/durhamstartups/bg-programmes-2.png') no-repeat bottom;

}

.card.action-list-section:after {
    width: 100px;
    height: 100px;
    background: url("../images/durhamstartups/durham-startups-arrow.png") no-repeat;
    background-size: contain;
    z-index: 10;
    position: absolute;
    display: block;
    content: "";
    top: -11px;
    right: 35px;
}

.achievement-container {
    position: relative;
}

.achievement-container .achievement-progress-container {
    position: absolute;
    top: 2rem;
    right: 2rem;
}

.reports-sidebar {
    border-radius: 6px;
    background-color: #E6EAF6;
    padding: 2rem;
    margin-bottom: 2rem;
}

.reports-sidebar a {
    color: #271E48;
}

.reports-sidebar ul {
    list-style: none;
    margin: 0;
}

.reports-sidebar-link a {
    display: block;
    padding: .5rem
}

.reports-sidebar-link.active a {
    background-color: rgba(0,0,0,.1);
    border-radius: 6px;
}

#report-show-by-month {
    display: inline-block;
    width: auto;
    margin-left: 0.5rem;
}


.show-by-month-item {
    padding: 1rem;
    background-color:  #f4f6fa;
}

.show-by-month-item p {
    display: block;
    margin-bottom: 0;
}

.show-by-month-item p span {
    display: inline-block;
    margin-right: 4rem;
}

.report-section table tbody tr {
    background-color: #f4f6fa;
}

.report-section table tbody tr:nth-child(2n) {
    background-color: #eef0fa;
}

.report-month-comparison {
    font-size: 0.7em;
    vertical-align: super;
    margin-left: 0.5rem;
}

.report-month-comparison.up {
    color: #1a9511
}

.show-by-month-item {
    display: none;
}

#report-user-graph svg > rect {
    stroke: #EEE;
}

.report-section table td {
    width: 80%
}

.report-section.confidence-check-report-section table td {
    width: inherit;
}

.report-section.confidence-check-report-section .report-month-comparison {
    font-size: inherit;
}

.report-index-item i {
    font-size: 2em;
    padding: 1rem 0;
}

.report-index-item {
    padding: 1rem 2rem 2rem
}

.report-index-item:hover {
    background-color: #ced1dc;
}

.achievement-badge img {
    width: 75%;
    margin: 1rem auto 1rem;
    max-width: 296px;
}


.superbadge {
    position: relative;
    background: linear-gradient(135deg, #515151 50%, #777777 50%);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    color: #ffffff;
    margin: 2rem auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.superbadge-outer-container {
    margin-bottom: 4rem;
}


.superbadge-container.achieved .superbadge {
    background: linear-gradient(135deg, #322951 50%, #271e48 50%);
}

.superbadge::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    border: 2px solid #CCC;
    border-radius: 12px;
    pointer-events: none;
    z-index: 1;
}

.superbadge-container.achieved .superbadge {
    border: 2px solid #ff5c5c;
}

.superbadge h2 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.superbadge p {
  text-transform: uppercase;
}

.superbadge-download-button {
    margin-bottom: 0;
}

.button.superbadge-download-button {
    margin-top: 1rem;
}

.button.superbadge-download-button img {
    height: 100px;
    margin-top: -25px;
    margin-bottom: -25px;
    margin-left: 1rem;
}

.side-menu-account-link .profile-photo-container {
    margin: 0;
    width: 1.5rem;
    height: 1.5rem;
}

.side-menu-account-link .profile-photo-container img {
    vertical-align: top;
}


section.startup-academy-feature {
    background-color: #E6EAF6;
}

section.startup-academy-feature:nth-last-child(odd) {
    background-color: #FFF;
}

section.startup-academy-feature:nth-last-child(even) .read-more-container .read-more-link {
    color: #271E48;
    background-color: #E6EAF6
}

.startup-academy-item {
    position: relative;
}

.startup-academy-item:after {
    font-family: "Font Awesome 6 Free";
    content: "\f054"; /* Add the tick icon */
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    font-size: 2em;
    color: #4655A2;
    font-weight: 900;
}

.startup-academy-item .card-section {
    padding: 2rem 4rem 2rem 2rem;
}

.padded-section#startup_academy_signposting {
    padding-top: 14rem
}

.padded-section#startup_academy_signposting .startup-academy-item:after {
    content: "";
}

.startup-academy-signposting-items {
    margin-top: 3rem;
    margin-right: 2rem;
}

.startup-academy-signposting-items .startup-academy-item .card-section {
    padding-right: 2rem;
}

.startup-academy-signposting-items .startup-academy-item h3 {
    margin-bottom: 1rem;
}

.event-meta-business-stages {
    width: 100%;
    padding: 1rem .5rem;
}

ul.event-relevant-business-stages {
    margin-bottom: 0;
    width: 100%;
}

ul.event-relevant-business-stages li {
    display: block;
    position: relative;
    width: 100%;
    border-bottom: solid 1px rgba(255,255,255,.3);
}

ul.event-relevant-business-stages li:last-child {
    border-bottom: none;
}

ul.event-relevant-business-stages li.dimmed {
    color: #838ec3
}

.transcript-container {
    clear: both;
    overflow: hidden;
    padding-top: 1rem;
    margin-top: -2rem;
    margin-bottom: 2rem;
}

.accordion.transcript .accordion-item .accordion-title {
    background-color: #E6EAF6;
    color: #1a1a1a;
    text-align: right;
    font-size: 1em;
    border: none;
    padding-right: 2rem;
    display: inline-block;
    float: right;
    border-radius: 6px;
    padding: 1rem 2rem 1rem 1rem;
}

.accordion.transcript br {
    display: none;
}

.accordion.transcript ul, .accordion.transcript ol {
    margin: 1rem 2rem;
}

.accordion.transcript .accordion-item .accordion-title:hover, .accordion.transcript .accordion-item .accordion-title:active {
    background-color: #DDD !important;
}
.accordion.transcript .accordion-content {
    clear: both;
    border-radius: 6px !important;
    background-color: #E6EAF6;
    border: none;
    border-top-right-radius: 0 !important;
}
.accordion.transcript li.is-active .accordion-title {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.accordion.transcript .accordion-closer {
    margin-top: 2rem;
    margin-bottom: 0;
}

/* Backgrounds */

#introduction-bg {
    background-size: 100% auto !important;
    background: #EB5C40 url('../images/durhamstartups/bg-homepage-introduction.png') no-repeat top;
    overflow: hidden;
}

#introduction {
    padding-top: 3rem;
    padding-bottom: 0;
}

#supporting-your-success, #my-account-sections {
    background-size: 100% auto !important;
    background: url('../images/durhamstartups/bg-supporting-success-introduction.png') no-repeat bottom;
    padding-bottom: 8rem;
}

#inclusions, #task-list {
    background-size: 100% auto !important;
    background: #E6EAF6 url('../images/durhamstartups/bg-toolkit.png') repeat-y bottom;
}

#coming-soon-inclusions {
    background-size: 100% auto !important;
    background: #271E48 url('../images/durhamstartups/bg-toolkit.png') repeat-y bottom;
}

#body-cta {
    background-size: contain !important;
    background: #271E48 url('../images/durhamstartups/bg-body-cta.png') repeat-y bottom left;
}

#events-news-bg {
    background-size: 100% auto !important;
    background: url('../images/durhamstartups/bg-events-news.png') no-repeat top;
}

#events {
    padding-top: 10rem
}

#latest-news {
    padding-bottom: 0;
}

#story-faq-bg {
    background-size: 100% auto !important;
    background: url('../images/durhamstartups/bg-stories.png') no-repeat top;
}

#case-studies .main-section-title {
    text-indent: 33%;
}

#faqs {
    background-size: 100% auto !important;
    background: url('../images/durhamstartups/bg-faq.png') no-repeat bottom;
    min-height: 80vh
}

#stage-content {
    background-size: 101% auto !important;
    background: url('../images/durhamstartups/bg-faq.png') no-repeat bottom;
    min-height: 80vh;
    margin-bottom: -1px;
}

#stage-content hr {
    margin: 4rem 2rem!important;
    border-bottom: 2px solid #EB5C40;
}

#achievements hr {
    margin: 3rem auto 2rem;
    border-bottom: 2px solid #EB5C40;
}

#partners {
    padding-top: 0;
    padding-bottom: 0;
}

#partners .main-section-title {
    text-indent: 25%;
}

#programmes-bg, .below-partners, #other-tasks {
    background-size: 100% auto !important;
    background: url('../images/durhamstartups/bg-programmes.png') no-repeat top;
}

#programmes {
    background-size: 100% auto !important;
    background: url('../images/durhamstartups/bg-programmes-2.png') no-repeat bottom;
}

#start-your-journey {
    background-size: 100% auto !important;
    background: #E6EAF6 url('../images/durhamstartups/bg-start-journey.png') no-repeat left center;
}

#main-website-footer {
    background-size: 25% !important;
    background: #271E48 url('../images/durhamstartups/bg-body-cta.png') repeat-y bottom right;
}

#page-section, .single-event #events-introduction, #startup-journey-stages {
    background-size: 60% auto !important;
    background: url('../images/durhamstartups/bg-body-cta.png') repeat-y -130% 67%;
    background-size: auto;
    padding-top: 4rem;
    padding-bottom: 5rem;
}

#events-page-bg {
    background-size: 100% auto !important;
    background: url('../images/durhamstartups/bg-events-news.png') no-repeat top;
}

.events-filter-container {
    background-size: 45% !important;
    background: #E6EAF6 url('../images/durhamstartups/bg-body-cta.png') repeat-y 145% bottom;
}

#create-your-account {
    background-size: 75% auto !important;
    background: #E6EAF6 url('../images/durhamstartups/bg-toolkit.png') repeat-y 100% bottom;
}

body.page-template-durham-startups-register #start-your-journey-right #registration-form-container {
    padding: 2rem;
    background-color: #FFF;
    border-radius: 6px;
}

#partners-listing {
    padding-top: 2rem;
    padding-bottom: 2rem;
}


#hub-welcome-bg, #diagnostic-section {
    background-size: 100% auto !important;
    background: #546994 url('../images/durhamstartups/bg-hub-introduction.png') no-repeat top;
    overflow: hidden;
}

#learn-and-do {
    background-size: 70% auto !important;
    background: #E6EAF6 url('../images/durhamstartups/bg-learn-and-do.png') repeat-y right bottom;
    background-size: auto;
}

.stage-latest-news {
    background-size: 70% auto !important;
    background: #E6EAF6 url('../images/durhamstartups/bg-learn-and-do.png') no-repeat right -200%;
}

#stage-featured-case-study {
    background-size: 70% auto !important;
    background: #E6EAF6 url('../images/durhamstartups/bg-learn-and-do.png') no-repeat right bottom;
    background-size: auto;
}

#learn-items .button, #do-items .button {
    margin-top: 1rem;
    margin-bottom: .5rem;
}

#news-events-bg {
    background-size: 100% auto !important;
    background: #FFF url('../images/durhamstartups/bg-start-journey.png') no-repeat left 25%;
    background-size: auto;
}

#post-registration {
    background-size: 80% auto !important;
    background: url('../images/durhamstartups/bg-body-cta.png') repeat-y -60% top;
    background-size: auto;
    padding-top: 4rem;
    padding-bottom: 5rem;
}

#page-listing-bg {
    background-size: 60% auto !important;
    background: url('../images/durhamstartups/bg-body-cta.png') repeat-y -130% 67%;
}

#page-listing-container > .card-section {
    padding: 2rem;
}

#startup-journey-introduction .card.bg-darkblue {
    background: #271E48 url("../images/durhamstartups/startup-journey-graphic.png") no-repeat right;
    background-size: 40%;
    position: relative;
    overflow: visible;
}

#startup-journey-introduction .card.bg-darkblue:after {
    background: url('../images/durhamstartups/down-arrow-darkblue.png');
    display: block;
    width: 7rem;
    height: 7rem;
    position: absolute;
    content: "";
    bottom: -7rem;
    left: 50%;
    background-size: contain;
    transform: translateX(-50%);
    background-repeat: no-repeat;
}

#startup-journey-link.bg-darkblue {
    background-size: 100% auto !important;
    background: #271E48 url('../images/durhamstartups/bg-toolkit.png') repeat-y bottom;
    background-size: auto;
}

#task-actions {
    background-size: contain !important;
    background: #271E48 url('../images/durhamstartups/bg-body-cta.png') repeat-y bottom left;
}

#achievements {
    background-size: 100% auto !important;
    background: #f6f6fa url('../images/durhamstartups/bg-achievements.png') no-repeat top;
    overflow: hidden;
}

/* End of Backgrounds */


/* Colours */

.bg-white {
    background-color: #FFF;
}

.bg-black {
    background-color: #000;
}

.bg-darkblue {
    background-color: #271E48;
}

.bg-midblue {
    background-color: #4655A2;
}

.bg-lightblue {
    background-color: #E6EAF6;
}

.bg-red {
    background-color: #EB5C40;
}

.bg-reset {
    background-color: inherit;
}

.bg-transparent {
    background-color: transparent;
}

.bg-darkblue-transparent {
    background-color: rgba(39, 30, 72, 0.95);
}

.bg-darkblue-lightblue {
    background: linear-gradient(90deg, #271E48 50%, #E6EAF6 50%);
}

.fg-white {
    color: #FFF;
}

.fg-black {
    color: #000;
}

.fg-darkblue {
    color: #271E48;
}

.fg-midblue {
    color: #4655A2;
}

.fg-lightblue {
    color: #E6EAF6;
}

.fg-red {
    color: #EB5C40;
}

.fg-reset {
    color: inherit;
}

.fg-lightblue a {
    color: #E6EAF6;
}

.fg-lightblue a:hover {
    color: #838ec3;
}

.fg-darkgrey {
    color: #444;
}

.fg-green {
    color: #25c32c;
}

/* End of colours */

/* Tablets */
@media only screen and (min-width: 64em) and (max-width: 77.4375em) {

    .logo {
        max-width: 90%;
    }

    .supporting-your-success-icon-container {
        width: 70px;
        height: 70px;
    }

    .supporting-your-success-icon-container::after {
        width: 40px;
        height: 62px;
        bottom: -31px;
        left: -22px;
    }

    .card.supporting-your-success-item {
        margin-top: 1.5rem;
        padding-top: 2rem;
    }

    .supporting-your-success-item h3 {
        max-width: 100%;
    }

    .top-bar nav a {
        padding: .5rem!important;
        margin-bottom: 1rem;
    }

    .top-bar nav li:last-child a {
        margin-bottom: 0;
    }

    .body-cta-image {
        left: -25%;
        height: 100%;
    }

    #events-news-bg {
        background-size: 200% auto !important;
    }

    #main-menu .user-name {
        display: none;
    }

}
/* End of tablets */

/* Medium screens */
@media only screen and (min-width: 40em) and (max-width: 63.9375em) {

    h1, h2 {
        margin-bottom: 1.25rem;
    }

    .padded-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .padded-section.larger-padded-bottom {
        padding-bottom: 4rem;
    }

    #hero-section-content h1, .main-section-title, .inclusion-section h2 {
        font-size: 2.5rem;
    }

    #main-website-header {
        padding-top: 1rem;
    }

    .logo {
        max-width: 100%;
    }

    .partners {
        margin-bottom: 1.5rem;
    }

    .top-bar nav a {
        padding: 1rem!important;
        margin-bottom: 1rem;
    }


    #mobile-nav-opener {
        font-size: 1.75em;
        margin-right: 1.5rem;
        margin-top: -2rem;
        display: block;
        float: right;
    }

    #introduction {
        padding-top: 0;
    }

    #hero-section-content {
        padding: 1.5rem;
    }

    #introduction-bg {
        background-size: 200% auto !important;
    }

    #introduction .responsive-embed {
        margin-top: 2rem;
    }

    #supporting-your-success, #my-account-sections {
        padding-bottom: 3rem;
    }

    .supporting-your-success-icon-container {
        width: 70px;
        height: 70px;
    }

    .supporting-your-success-icon-container::after {
        width: 40px;
        height: 62px;
        bottom: -31px;
        left: -22px;
    }

    .supporting-your-success-item h3 {
        max-width: 100%;
    }

    .card.supporting-your-success-item {
        margin-top: 1.5rem;
        padding-top: 2rem;
    }

    #inclusions, #task-list {
        background-size: 60% auto !important;
        background: #E6EAF6 url('../images/durhamstartups/bg-toolkit.png') repeat-y right bottom;
    }

    .inclusion-section, .inclusion-section:nth-child(odd) {
        background: #FFF;
    }

    #inclusions .full-height-image {
        margin-bottom: 1.5rem
    }

    #body-cta {
        background: #271E48 url('../images/durhamstartups/bg-body-cta.png') no-repeat 210% 215%;
        background-size: auto;
    }

    .body-cta-content-container {
        padding: 3rem 1rem 3rem;
    }

    #events {
        padding-top: 2rem;
    }

    #events .image-container {
        max-height: 10rem;
        overflow: hidden;
    }

    #homepage-other-events .image-container {
        display: none;
    }

    #homepage-other-events .event-description {
        display: none;
    }

    #homepage-other-events .event-listing h3 {
        font-size: 1em;
    }

    #homepage-other-events .event-listing .card-section {
        padding-bottom: 1rem;
    }

    #case-studies .main-section-title {
        text-indent: 20%;
    }

    #faqs {
        min-height: 50vh;
    }

    #story-faq-bg {
        background-size: 200% auto !important;
    }

    #case-studies .main-section-title, #partners .main-section-title {
        text-indent: initial;
    }

    .case-study-portait-image-container {
        position: absolute;
        top: -9rem;
        left: 50%;
        right: inherit;
        transform: translate(-50%,-50%);
    }

    #partners {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    #partners .grid-container:before, #partners .grid-container:after {
        display: none;
    }

    .partner-item .card-section {
        padding: 0 0 2rem;
    }

    #programmes {
        padding-top: 4rem;
    }

    #start-your-journey h2.main-section-title {
        padding-left: 0;
    }

    #start-your-journey h2.main-section-title::before {
        display: none;
    }

    #start-your-journey {
        background: #E6EAF6;
    }

    .back-to-top {
        margin-bottom: -5.5rem;
        margin-top: 5.5rem;
    }

    #main-website-footer {
        background-size: 65% !important;
        background: #271E48 url('../images/durhamstartups/bg-body-cta.png') repeat-y 215% bottom;
    }

    #main-menu .user-name {
        display: none;
    }

    body.logged-in #main-menu a {
        margin: 0 .5rem;
    }

    body.logged-in #main-menu .profile-photo-container {
        width: 50px;
        height: 50px;
        margin: 0 .5rem;
    }

    .logged-in .top-bar nav a {
        padding: .5rem !important;
    }

}
/* End of medium screens */

/* Small and Medium screens */
@media only screen and (max-width: 86em) {

    #main-menu .user-name {
        display: none;
    }

}

/* Small screens */
@media only screen and (max-width: 39.9375em) {

    h1, h2 {
        margin-bottom: 1.25rem;
    }

    .padded-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .padded-section.larger-padded-bottom {
        padding-bottom: 4rem;
    }

    #hero-section-content h1, .main-section-title, .inclusion-section h2 {
        font-size: 2.5rem;
    }

    #main-website-header {
        padding-top: 1rem;
    }

    .logo {
        max-width: 100%;
    }

    .partners {
        margin-bottom: 1.5rem;
    }

    #mobile-nav-opener {
        font-size: 1.75em;
        margin-right: 1.5rem;
        margin-top: -2rem;
        display: block;
        float: right;
    }

    #introduction {
        padding-top: 0;
    }

    #hero-section-content {
        padding: 1.5rem;
    }

    #introduction-bg {
        background-size: 200% auto !important;
    }

    #introduction .responsive-embed {
        margin-top: 2rem;
    }

    #supporting-your-success, #my-account-sections {
        padding-bottom: 3rem;
    }

    .supporting-your-success-icon-container {
        width: 70px;
        height: 70px;
    }

    .supporting-your-success-icon-container::after {
        width: 40px;
        height: 62px;
        bottom: -31px;
        left: -22px;
    }

    .supporting-your-success-item h3 {
        max-width: 100%;
    }

    .card.supporting-your-success-item {
        margin-top: 1.5rem
    }

    #inclusions, #task-list {
        background-size: 60% auto !important;
        background: #E6EAF6 url('../images/durhamstartups/bg-toolkit.png') repeat-y right bottom;
    }

    .inclusion-section, .inclusion-section:nth-child(odd) {
        background: #FFF;
    }

    #inclusions .full-height-image {
        margin-bottom: 1.5rem
    }

    #body-cta {
        background: #271E48 url('../images/durhamstartups/bg-body-cta.png') repeat-x right 300%;
    }

    .body-cta-content-container {
        padding: 3rem 1rem 3rem;
    }

    #events {
        padding-top: 3rem;
    }

    #events .image-container {
        max-height: 10rem;
        overflow: hidden;
    }

    #events-news-bg {
        background: url('../images/durhamstartups/bg-events-news.png') no-repeat center;
    }

    #homepage-other-events .image-container {
        display: none;
    }

    #homepage-other-events .event-description {
        display: none;
    }

    #homepage-other-events .event-listing h3 {
        font-size: 1em;
    }

    #homepage-other-events .event-listing .card-section {
        padding-bottom: 1rem;
    }

    #case-studies .main-section-title {
        text-indent: 20%;
    }

    .slick-carousel-container .slick-track {
        gap: 0;
    }

    #story-faq-bg {
        background-size: 200% auto !important;
    }

    #case-studies .main-section-title, #partners .main-section-title {
        text-indent: initial;
    }

    .case-study-portait-image-container {
        position: absolute;
        top: -9rem;
        left: 50%;
        right: inherit;
        transform: translate(-50%,-50%);
    }

    #partners {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    #partners .grid-container:before, #partners .grid-container:after {
        display: none;
    }

    .partner-item .card-section {
        padding: 0 0 2rem;
    }

    #programmes {
        padding-top: 4rem;
    }

    .programme-header .programme-logo {
        top: 1rem;
        right: 1rem;
        width: 75px;
        height: 75px;
    }

    #start-your-journey h2.main-section-title {
        padding-left: 0;
    }

    #start-your-journey h2.main-section-title::before {
        display: none;
    }

    #start-your-journey {
        background: #E6EAF6;
    }

    .back-to-top {
        margin-bottom: -5.5rem;
        margin-top: 5.5rem;
    }

    .small-text-left {
        text-align: left;
    }

    #main-website-footer {
        background-size: 65% !important;
        background: #271E48 url('../images/durhamstartups/bg-body-cta.png') repeat-y 215% bottom;
    }

    #page-section {
        background: none;
        padding-top: 0;
    }

    .start-your-journey-contact {
        margin-right: 0;
        margin-top: 0.25rem;
        display: block;
    }

    #create-your-account {
        background-size: 100%!important;
        background: #E6EAF6;
    }

    #events-listing .event-item .card-section {
        margin: 0;
    }

    .event-meta .text-right {
        text-align: left;
        margin-top: 0.5rem;
    }

    #homepage-featured-event .image-container {
        min-height: inherit;
    }

    .view-all-link {
        font-size: 1em;
        margin-bottom: 1rem;
        margin-top: 0;
    }

    #case-studies .grid-container > .align-center {
        justify-content: left;
    }

    .inclusion-coming-soon {
        margin-left: 0;
        font-size: 0.9em;
    }

    #events-news-bg #latest-news .view-all-link a {
        background-color: transparent;
        padding: 0;
        color: #4655A2;
    }

    #events-news-bg #latest-news .view-all-link a:hover {
        color: #271E48;
    }

    .single-post .bookmark-container, .single-story .bookmark-container, .single-startup_academy .bookmark-container {
        position: relative;
        margin: 0 0 -1.5rem;
        right: inherit;
        width: inherit;
        height: inherit;
        top: inherit;
        float: left;
        width: auto;
    }

    .insight-primary-stage {
        margin-top: -1rem;
        display: block;
        float: left;
        margin-left: 1rem;
    }

    #post-registration {
        padding-top: inherit;
    }

    .skip-section-link {
        background-color: #FFF;
        padding: 0.5rem;
    }

    .bg-darkblue-lightblue {
        background: transparent;
    }

    #post-registration .fa-face-frown, #post-registration .fa-face-smile {
        font-size: .8em;
        margin-top: -.9rem;
        display: block;
    }

    #post-registration .slider {
        margin-right: -.5rem;
    }

    #hub-welcome-bg #welcome-introduction::after {
        width: 3rem;
        height: 3rem;
        bottom: -3rem;
    }

    #hero-section-content.no-padding .card-section {
        padding: 1rem;
    }

    .main-section-title .title-icon {
        height: 3rem;
    }

    .reveal.full h2 {
        font-size: 1.5rem;
    }

    .reveal.full form button, #searched-term form button {
        padding: .8rem 1rem;
    }

    .reveal.full form input[type="search"], #searched-term form input[type="search"] {
        font-size: 1rem;
    }

    .bookmark-container {
        width: 4rem;
        height: 4rem;
    }

    .bookmark-container .bookmark-content, .bookmark-container .bookmark-content-not-logged-in {
        font-size: 1.5em;
    }

    .content-listing-item .image-container {
        clip-path: none;
    }

    .durhamstartups-filter-container {
        margin-top: 1rem;
    }

    #enhanced_profile h2::before {
        width: 6rem;
        height: 6rem;
        top: -1rem;
    }

    #startup-journey-introduction .card.bg-darkblue::after {
        width: 3rem;
        height: 3rem;
        bottom: -3rem;
    }

    #startup-journey-introduction .card.bg-darkblue {
        background: #271E48 url("../images/durhamstartups/startup-journey-graphic.png") no-repeat center 95%;
        background-size: auto 8rem;
        padding-bottom: 10rem;
    }

    .business-stage-listing .image-container {
        clip-path: none;
    }

    .business-stage-listing .image-container, #task-introduction-container .image-container {
        border-top-right-radius: 6px;
        border-bottom-right-radius: 6px;
    }

    #mobileMenu hr {
        border-bottom: solid 1px #EB5C40;
    }

    #task-introduction-container .bookmark-container {
        right: 0.5rem;
        z-index: 1;
    }

    #task-page-business-stage-details {
        font-size: 1em;
        margin-top: 2rem;
        text-align: center;
    }

    #task-page-business-stage-details .business-stage-icon {
        height: 2rem;
    }

    .sj_action {
        background: #E6EAF6;
    }

    #stage-content-container, #task-content-container {
        padding-right: 0;
    }

    #stage-content blockquote {
        font-size: 1em;
    }

    #stage-content blockquote::before {
        font-size: 1em;
        margin-right: .5em;
    }

    .inclusions-list li {
        font-size: inherit;
    }

    #durham-startups-enhanced-profile-business-form label.checkbox-label input, #durham-startups-enhanced-profile-user-form label.checkbox-label input {
        margin: 0 .5rem 0 0;
    }

    .stage-name-container {
        font-size: 1em;
        width: 100%
    }

    #business-stage-call-to-action {
        background-size: 70%
    }


    #business-stage-call-to-action .card-section {
        padding-bottom: 3rem;
    }

    #page-listing-container > .card-section {
        padding: 2rem 1rem 0!important;
    }

    .my-profile-item .card {
        margin-bottom: 2rem;
    }

    .superbadge {
        margin: 2rem;
    }

    .button.superbadge-download-button img {
        margin-top: 1rem;
        margin-bottom: 0;
        margin-left: 0;
    }

    .card.action-list-section, .card.achievement-container {
        padding: inherit;
    }


    #diagnostic-frame, #diagnostic-results-container {
        padding: 0;
    }

    #diagnostic-results-container {
        background: #271E48;
    }

    #diagnostic-frame .full-height-image {
        object-fit: contain;
        margin-top: 0;
        margin-bottom: 2rem;
        height: 20rem;
    }

    .question-text h2 {
        font-size: 1.5em!important;
    }

    .answer-text {
        padding-top: 0!important;
    }

    #question_container {
        margin-top: 2rem;
    }

    #diagnostic-frame.diagnostic-arrow-bg::after {
        width: 5rem;
        height: 5rem;
    }

}
/* End of small screens */

@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (prefers-color-scheme: dark) {
    html, body {
        background-color: #ffffff;
        color: #000000;
    }
}