/* Override stylesheet for Trevor.  To merge into main stylesheet in due course. */

/* Variables: DO NOT REMOVE  ________________________________________________________ */

:root {
  --darkgreen: #0a3b45;
  --midgreen: #248086;
  --white: #ffffff;
}

/* Globals  ________________________________________________________ */


a {
    color: #0a3b45;
}

a:hover {
    color: #248086;
    outline: none;
}
/* a.button:focus-visible {
    outline: 2px solid #ba2d0d;
} */

.wp-template {
    position: fixed;
    left: 10px;
    top: 100px;
    z-index: 11;
    font-weight: bold;
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: #000;
    color: #fff;
}

.wp-template span {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.callout {
    padding: 1em;
    background: #EEE;
    margin: 0 0 1rem;
}

.callout.sqe {
    border: solid 1px #d1453c;
}

.h1,
h1 {
    font-size: 2rem;
    line-height: 1.2;
}



.page-template-default .content > img.wp-post-image { width: 40%; float: right; margin: 0 0 1.5rem 1.5rem; }


/* Footer  ________________________________________________________ */

/**
 * .socials a i, .socials a svg
 */
.footer-contacts__social i, .footer-contacts__social svg, {
	
	background: white;
	color: var(--darkgreen);
	padding: 0.25rem;
	border-radius: 5px;
}

.barrister-socials .socials svg {
    height: 1.5rem;
    width: 1.5rem;
}
/* .barrister-socials .socials svg path { fill: var(--darkgreen); } */




/* Lists & grids  ________________________________________________________ */

/* Format counters on sub-items on numbered lists 

ol { counter-reset: item }
ol li { display: block }
ol li:before { content: counters(item, ".") " "; counter-increment: item }

*/


ul.plain {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

ul.twocol,
ul.threecol {
    text-align: left;
    column-rule: dotted 1px #CCC;
    list-style-type: none;
}

ul.twocol {
    column-count: 2;
}

ul.threecol {

    column-count: 3;

}

ul.threecol li,
ul.twocol li {
    text-align: left;
    display: inline-block;
    width: 100%;
    margin-bottom: 0.25rem;
}

ul.related li a {
    display: block;
    color: #0A3B45;
    text-decoration: none;
}

ul.related img {
    width: 32px;
    height: 32px;
    margin: 0 0.5rem 0 0;
}

ul.related img,
ul.related span {
    display: inline-block;
}

ul.related span.name,
ul.related span.title {
    color: #248086;
    text-decoration: underline;
    margin-right: 0.25rem;
}

ul.related span.date {
    color: #0A3B45;
    font-size: 0.8rem;
}


ul.accordion ul {
    margin-bottom: 1.5rem;
}

.related-barristers__item:last-child { margin-bottom: 0; }


/* Forms  ________________________________________________________ */

.content-calculator [type=radio]:checked,
.content-calculator [type=radio]:not(:checked) {
    position: relative;
    left: 0;
}


/* Accordion  ________________________________________________________ */

ul.accordion { clear: both; }

ul.accordion {
    /* scroll-margin-top: 10em; */
}

.accordion .accordion-item:first-of-type .accordion-title {
    border-bottom-width: 1px;
}

.barrister-content .accordion-content {
    padding: 0;
}

.accordion-title { font-weight: bold; }


.accordion-title:after {
    right: 0.75rem;
}

.page-template-contact ul.accordion li:last-child a {
    background: #EEE;
}





/* Header  ________________________________________________________ */


.nav--top .menu>li>a:before,
.nav--top .nav__phone:before {
    content: none;
}

/* header.sticky #logo svg { width: 270px;  height: 51px; } */


.is-dropdown-submenu {
    background: #002A30;
    border-radius: 0.2222222222rem;
}


/* Main content  ________________________________________________________ */

.breadcrumbs {
    margin-bottom: 1.5rem;
    font-size: 16px;
}

.content>img.wp-post-image,
.featured-image-wrapper {
    width: 100%;
    margin-bottom: 2rem;
}

.content:after,
.content:before {
    display: table;
    clear: both;
    content: '';
}

@media (min-width: 640px) {

    .content>img.wp-post-image,
    .featured-image-wrapper {
        float: right;
        width: 33%;
        margin: 0 0 2em 2em;
    }
}

.featured-image-caption {
    text-align: center;
    padding: 1em;
    font-style: italic;
    font-size: 90%;
}

.post-barristers {
    margin-bottom: 1.5rem;
}


/* Contact panel  ________________________________________________________ */


.contact-panel .info span {
    display: block;
}

.contact-panel .info .name {
    font-weight: bold;
}

.contact-panel .info .social {
    margin-top: 0.5rem;
}

.contact-panel .info svg {
    margin-right: 0.5rem;
}


/* Footer  ________________________________________________________ */

.footer .menu .is-active>a,
.footer-contacts__title a {
    color: #FBDB9E;
}


/* Disclaimer & contact panel  ________________________________________________________ */

.disclaimer {
    font-size: 0.9rem;
    font-style: italic;
    margin: 1.5rem 0;
    clear: both;
}



/* Home  ________________________________________________________ */

.home-twitter__title svg { color: var(--midgreen); }

#ctf.ctf-styles .ctf-screename-sep { display: none; }


/* Barrister & staff profiles  ________________________________________________________ */

p.subtitle {
	color: white; font-size: 1.4rem;
}

#contact-details {
    scroll-margin-top: 7em;
}

.barrister-contacts {
    margin-bottom: 1em;
}

.tabs-panel .posts-item {
    margin-bottom: 0.5rem;
}

.postid-1727 .tabs-panel ul li {
	padding: 0;
	margin-bottom: 10px;
}


/* Area profiles  ________________________________________________________ */

.single-area .area-section-title {
    font-weight: bold;
}


/* Focus on  ________________________________________________________ */

.content-focus-on .post-section {
    margin-bottom: 1rem;
    clear: both;

}

.content-focus-on .post-section.coloured {
    padding: 0.75rem 1.5rem;
    color: white;
}

.content-focus-on .post-section.coloured h2 {
    color: white;
    border-bottom-color: white;
}

.content-focus-on .post-section.coloured a {
    color: white;
    text-decoration: underline;
}


/* Podcasts  ________________________________________________________ */

.podcast-listen {
    padding: 1rem;
    background: #EEE;
    margin: 0 0 1.5rem;
}

#transcripts li a {
    float: left;
    margin-top: 0.5rem;
}

#transcripts li form {
    float: right;
}


/* Landing page  ________________________________________________________ */

.block-text {
    background-color: rgb(255, 255, 255, 0.9);
    padding: 2rem;
}

/* Twitter feed  ________________________________________________________ */


.ctf-tweet-meta a {
    text-decoration: none;
}

#ctf.ctf-narrow .ctf-author-box, #ctf.ctf-super-narrow .ctf-author-box { padding-left: 0; }

.home-events__title {
   display: flex;
   align-items: center;
   justify-content: space-between;
}


.row-separator {
    @media (min-width: 1024px) {
    clear: both;
    width: 100%;
    height: 0;
    margin: 0;
    padding: 0;
    }
}



.orbit {
    will-change: transform, height;
}

.single-barrister .orbit-container {
    height: auto !important;
    min-height: 17rem; 
  }
  
  .orbit-slide {
    min-height: 100%; /* Ensures all slides are the same height */
    display: flex;
    align-items: center; /* Centers text inside */
    justify-content: center; /* Optional: centers text horizontally */
  }

  .footer a {
    font-weight: bold;
  }

  .pagination a {
    padding: .15rem .5rem;
  }
  .pagination .current,
  .pagination a:hover {
    color: #ffffff;
    background-color: #0a3b45;
    padding: .15rem .5rem;
  }


  .button {
    display: inline-block;
    vertical-align: middle;
    margin: 0 0 1rem 0;
    padding: 1em 2em;
    border: 1px solid transparent;
    border-radius: 0.2222222222rem;
    font-family: inherit;
    font-size: 0.9rem;
    -webkit-appearance: none;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.4s, background-color 0.4s, color 0.4s;
    text-decoration: none;
}

.button:focus, .button:hover {
    background-color: #248086;
    color: #ffffff;
}


.gform_wrapper #gform_submit_button_1.gform_button.button {
    background-color: #0a3b45;
    color: #ffffff;
    display: inline-block;
    vertical-align: middle;
    margin: 0 0 1rem 0;
    padding: 1em 2em;
    border: 1px solid transparent;
    border-radius: 0.2222222222rem;
    font-family: inherit;
    font-size: 0.9rem;
    -webkit-appearance: none;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.4s, background-color 0.4s, color 0.4s;
    text-decoration: none;
}

.gform_wrapper #gform_submit_button_1.gform_button.button:focus, .gform_wrapper #gform_submit_button_1.gform_button.button:hover {
    background-color: #248086;
    color: #ffffff;
}


.meta {
    justify-content: flex-start;
}


.tax-region .related-list{
    margin-bottom: 1rem;
}